https://sourceware.org/bugzilla/show_bug.cgi?id=32459
--- Comment #3 from Nick Clifton <nickc at redhat dot com> --- Created attachment 15874 --> https://sourceware.org/bugzilla/attachment.cgi?id=15874&action=edit Proposed patch Hi Maskray, OK, what do you think of this patch ? With the patch applied, if you try to dump the relocs in a dynamic executable you get something like this: $ objdump -r /usr/bin/ls /usr/bin/ls: file format elf64-x86-64 /usr/bin/ls: This file does not contain any ordinary relocations. /usr/bin/ls: It does however contain dynamic relocations. These can be displayed with the -R option /usr/bin/ls: It does however contain RELR relocations. These can be displayed by the readelf program I was not sure what should happen if -R is used instead, since that is documented as only dumping "dynamic" relocs. So this patch does not change the behaviour for -R. Maybe we should detect if RELR relocs are present however and, after dumping the dynamic relocs, also mention that the RELR relocs are present but not displayed. What do you think ? Cheers Nick -- You are receiving this mail because: You are on the CC list for the bug.