NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/59360 CVS commit: src



The following reply was made to PR bin/59360; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59360 CVS commit: src
Date: Fri, 2 May 2025 23:03:16 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Fri May  2 23:03:16 UTC 2025
 
 Modified Files:
 	src/libexec/ld.elf_so: headers.c reloc.c rtld.h
 	src/tests/libexec/ld.elf_so: t_r_rel.sh
 
 Log Message:
 ld.elf_so: Implement RELR relocations.
 
 The SHT_RELR-type .relr.dyn section, pointed to by the DT_RELR
 dynamic tag, holds compressed R_*_RELATIVE-type relocations,
 substantially reducing the disk space occupied by many programs.
 
 This commit adds support in ld.elf_so for relocating dynamically
 linked executables with RELR relocations.
 
 Reference:
 
 Rahul Chaudhry, `Re: Proposal for a new section type SHT_RELR',
 generic-abi mailing list, 2018-02-07.
 
 https://groups.google.com/g/generic-abi/c/bX460iggiKg/m/Jnz1lgLJAgAJ
 https://web.archive.org/web/20241213012330/https://groups.google.com/g/generic-abi/c/bX460iggiKg/m/Jnz1lgLJAgAJ
 
 Proposed on tech-userlevel:
 https://mail-index.NetBSD.org/tech-userlevel/2025/04/27/msg014727.html
 
 PR bin/59360: ld.elf_so(8): missing RELR support
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.74 -r1.75 src/libexec/ld.elf_so/headers.c
 cvs rdiff -u -r1.119 -r1.120 src/libexec/ld.elf_so/reloc.c
 cvs rdiff -u -r1.148 -r1.149 src/libexec/ld.elf_so/rtld.h
 cvs rdiff -u -r1.1 -r1.2 src/tests/libexec/ld.elf_so/t_r_rel.sh
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index