aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-11-02 14:53:04 +0000
committerJan Beulich <jbeulich@novell.com>2011-11-02 14:53:04 +0000
commite7ebb214834628b2b0d9d3233febc9fef2912515 (patch)
tree6547575e5850f8d7afc4455a0c3089ed8ef77863 /config
parent207d428dce7dc9169fd5a59f10593f88c3a55f17 (diff)
downloadgdb-e7ebb214834628b2b0d9d3233febc9fef2912515.zip
gdb-e7ebb214834628b2b0d9d3233febc9fef2912515.tar.gz
gdb-e7ebb214834628b2b0d9d3233febc9fef2912515.tar.bz2
Building EFI binaries, particularly larger ones (like e.g. Xen does), on Linux
(where relocatable objects are in ELF format) so far led to all local (aka static) symbols to be discarded, making debugging quite a bit more difficult (like Linux, Xen builds an internal symbol lookup table from nm output generated on the binary produced by an earlier linking pass). Therefore, this patch arranges to insert all (relevant) local symbols from non-COFF objects into the final executable's symbol table between those coming from COFF input files and the global ones. bfd/ 2011-11-02 Jan Beulich <jbeulich@suse.com> * coffgen.c (coff_write_alien_symbol): Make public. Add 'struct internal_syment *' parameter. Extend 'dummy' to an array with two elements. Set n_numaux early. Handle BSF_FILE. (coff_write_symbols): Pass NULL as new third argument to coff_write_alien_symbol(). * cofflink.c (_bfd_coff_final_link): Don't use COFF-specific obj_raw_syment_count() on non-COFF input BFD. Insert local symbols from non-COFF input BFDs. * libcoff-in.h (coff_write_alien_symbol): Declare. * libcoff.h (coff_write_alien_symbol): Re-generate.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions