diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-11-02 14:53:04 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-11-02 14:53:04 +0000 |
commit | e7ebb214834628b2b0d9d3233febc9fef2912515 (patch) | |
tree | 6547575e5850f8d7afc4455a0c3089ed8ef77863 /Makefile.tpl | |
parent | 207d428dce7dc9169fd5a59f10593f88c3a55f17 (diff) | |
download | gdb-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 'Makefile.tpl')
0 files changed, 0 insertions, 0 deletions