This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [patch/rfc;rfa:symtab] Deprecate inside_entry_file



In particular note that the function:
symfile.c:init_entry_point_info() which sets up all the
objfile->ei.deprecated_entry_file* is seriously screwed up for PIE
files anyway.

In such a case we need to figure out where the program got loaded,
just like a shlib, the main executable is not marked as EXEC in the
elf header anymore, and lots of other fun stuff. Anyway, the way the
entry file/entry point stuff is handled now won't work for PIE.

Hmm, yes. Since this one is deprecated, you can at least cross it off your list of PIE problems :-)


I am currently working on PIE support, BTW. I'll post something as
soon as I have some coherent story.

ok, committed, thanks, Andrew



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