[PATCH] ELF: Updated comments for ET_EXEC and ET_DYN
H.J. Lu
hjl.tools@gmail.com
Sat May 30 01:10:55 GMT 2020
On Fri, May 29, 2020 at 6:06 PM Fangrui Song <i@maskray.me> wrote:
>
> Does https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d871d478061f10b0879c688e2fa941407e9137aa
> start to set DF_1_PIE on non-Solaris platforms (e.g. Linux) as well?
[hjl@gnu-cfl-2 x86-gcc]$ readelf -h /bin/ld | grep Type
Type: DYN (Shared object file)
[hjl@gnu-cfl-2 x86-gcc]$ readelf -d /bin/ld | grep PIE
0x000000006ffffffb (FLAGS_1) Flags: NOW PIE
[hjl@gnu-cfl-2 x86-gcc]$
--
H.J.
More information about the Binutils
mailing list