summaryrefslogtreecommitdiff
path: root/bfd/cpu-tic80.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2011-11-02 14:53:01 +0000
committerJan Beulich <jbeulich@novell.com>2011-11-02 14:53:01 +0000
commit1287bd5fda5816a3f2e1f69b05fea2a60127d4c8 (patch)
tree6d30c5d40929dbc6e5f1b8ee4de317b5bca79c72 /bfd/cpu-tic80.c
parentcfd2b27535575d722290f410e7cf4839fcdab55f (diff)
downloadbinutils-redhat-1287bd5fda5816a3f2e1f69b05fea2a60127d4c8.tar.gz
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 'bfd/cpu-tic80.c')
0 files changed, 0 insertions, 0 deletions