[Bug ld/27923] ld: Support DT_RELR relative relocation format

2021-10-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27923

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27923] ld: Support DT_RELR relative relocation format

2021-10-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27923

--- Comment #2 from H.J. Lu  ---
[hjl@gnu-cfl-2 tmp]$ gcc -pie -fPIE -O2 tst-relr.c
-Wl,--pack-dyn-relocs=relr -fuse-ld=lld
[hjl@gnu-cfl-2 tmp]$ ./a.out
Segmentation fault (core dumped)
[hjl@gnu-cfl-2 tmp]$

Given that the current lld implementation generates broken
binaries for existing glibc without any warning at run-time,
we need a different linker command line option to implement
it properly so that the new binary will fail to run on glibc
without DT_RELR support at run-time.

We can do "-z relr=glibc" which generates DT_RELR and adds a
glibc version dependency against the first version of glibc
with DT_RELR support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug ld/27923] ld: Support DT_RELR relative relocation format

2021-10-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27923

H.J. Lu  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/28447] [AIX] .file pseudo-op should accept multiple parameters

2021-10-18 Thread dje at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28447

David Edelsohn  changed:

   What|Removed |Added

   Target Milestone|--- |2.38

--- Comment #1 from David Edelsohn  ---
https://sourceware.org/pipermail/binutils/2021-October/118187.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.