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

Re: [patch 08/15] PIE: Base functionality


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> gdb/
Jan> 	* solib-svr4.c (svr4_relocate_main_executable): Move the static exec
Jan> 	code part to ...
Jan> 	(svr4_static_exec_displacement): ... a new function.
Jan> 	(svr4_exec_displacement): New function.
Jan> 	(svr4_relocate_main_executable): Call svr4_exec_displacement.  Allocate
Jan> 	new_offsets using alloca now.  Remove variable old_chain and changed.
Jan> 	Call objfile_relocate unconditionally now.
Jan> 	* symfile.c (syms_from_objfile): Relocate even MAINLINE objfiles.

Ok.

Tom


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