This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/11786] PIE support may not work for some PIEs


https://sourceware.org/bugzilla/show_bug.cgi?id=11786

dje at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccoutant at google dot com,
                   |                            |dje at google dot com

--- Comment #1 from dje at google dot com ---
Another variant that needs to be handled:
Gold sets PF_W for the GNU_RELRO segment and strip removes it.
This causes the following to fail:

bash$ gdb binary.unstripped core.from.stripped

svr4_exec_displacement thinks the core doesn't match the binary
(because of a program segment header mismatch in the flags field)
and the addresses from the core file are not applied.

I think it's reasonable to ignore the flags field for the purposes of this
test,
but maybe I'm missing something.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]