Fix ECOFF objcopy to actually copy debugging information.
authorIan Lance Taylor <ian@airs.com>
Fri, 22 Apr 1994 20:32:51 +0000 (20:32 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 22 Apr 1994 20:32:51 +0000 (20:32 +0000)
commit1bb42b1f2b4ef2c4487d63884511727e569f90c3
treeb4ab35dcf9a5e29da457e9f99b6aa2609183b85c
parent45f82cf72a57247a9368466802e5c4477c445900
Fix ECOFF objcopy to actually copy debugging information.
* ecoff.c (ecoff_bfd_copy_private_bfd_data): New function.
(ecoff_get_extr): Assume that any ECOFF symbol with local clear is
an external symbol, rather than checking the symbol flags.  Only
check the flags for non-ECOFF symbols.
* ecofflink.c (bfd_ecoff_debug_externals): Don't crash if the
output_section field of the symbol section is NULL.
* libecoff.h (ecoff_bfd_copy_private_bfd_data): Declare as
function rather than defining as macro.
bfd/ChangeLog
bfd/ecoff.c