mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
d06004cb3a
_bfd_coff_get_external_symbols, not coff_link_get_symbols. Call _bfd_coff_free_symbols, not coff_link_free_symbols. Call _bfd_coff_read_string_table, not coff_read_string_table. (coff_link_check_archive_element): Likewise. (coff_link_input_bfd): Likewise. (coff_link_get_symbols): Move to coffgen.c. (coff_read_string_table): Likewise. (coff_link_free_symbols): Likewise. (_bfd_coff_internal_syment_name): New static function. (coff_link_check_ar_symbols): Use _bfd_coff_internal_syment_name. (coff_link_add_symbols): Likewise. (coff_link_input_bfd): Likewise. (_bfd_coff_generic_relocate_section): Likewise. (_bfd_coff_read_internal_relocs): New function. (coff_link_input_bfd): Use cached section contents if available. Use _bfd_coff_read_internal_relocs. * coffcode.h (coff_slurp_symbol_table): Don't call bfd_seek. (coff_bfd_get_relocated_section_contents): Only define if not already defined. (coff_bfd_relax_section): Likewise. * coffgen.c (build_string_table): Remove. (_bfd_coff_get_external_symbols): New function, moved in from old coff_link_get_symbols in cofflink.c. (_bfd_coff_read_string_table): New function, moved in from old coff_read_string_table in cofflink.c. (_bfd_coff_free_symbols): New function, moved in frmo old coff_link_free_symbols in cofflink.c. (coff_get_normalized_symtab): Use _bfd_coff_get_external_symbols rather than reading the symbols directly. To free them, call _bfd_coff_free_symbols. Use _bfd_coff_read_string_table rather than build_string_table. * libcoff-in.h (obj_coff_keep_syms): Define. (obj_coff_keep_strings): Define. (coff_data_type): Add fields keep_syms and keep_strings. (coff_section_tdata): Define new structure. (coff_section_data): Define. (_bfd_coff_get_external_symbols): Declare. (_bfd_coff_read_string_table): Declare. (_bfd_coff_free_symbols): Declare. (_bfd_coff_read_internal_relocs): Declare. * libcoff.h: Rebuild. |
||
---|---|---|
.. | ||
doc | ||
hosts | ||
.Sanitize | ||
aix386-core.c | ||
aout0.c | ||
aout32.c | ||
aout64.c | ||
aout-adobe.c | ||
aout-encap.c | ||
aout-ns32k.c | ||
aout-rce.c | ||
aout-target.h | ||
aoutf1.h | ||
aoutx.h | ||
archive.c | ||
archures.c | ||
bfd-in2.h | ||
bfd-in.h | ||
bfd.c | ||
binary.c | ||
bout.c | ||
cache.c | ||
cf-i386lynx.c | ||
cf-m68klynx.c | ||
cf-sparclynx.c | ||
ChangeLog | ||
ChangeLog.1 | ||
cisco-core.c | ||
coff-a29k.c | ||
coff-alpha.c | ||
coff-apollo.c | ||
coff-arm.c | ||
coff-go32.c | ||
coff-h8300.c | ||
coff-h8500.c | ||
coff-i386.c | ||
coff-i960.c | ||
coff-m68k.c | ||
coff-m88k.c | ||
coff-mips.c | ||
coff-rs6000.c | ||
coff-sh.c | ||
coff-sparc.c | ||
coff-u68k.c | ||
coff-we32k.c | ||
coff-z8k.c | ||
coffcode.h | ||
coffgen.c | ||
cofflink.c | ||
coffswap.h | ||
config.bfd | ||
configure | ||
configure.bat | ||
configure.host | ||
configure.in | ||
COPYING | ||
core.c | ||
cpu-a29k.c | ||
cpu-alpha.c | ||
cpu-h8300.c | ||
cpu-h8500.c | ||
cpu-hppa.c | ||
cpu-i386.c | ||
cpu-i960.c | ||
cpu-m88k.c | ||
cpu-rce.c | ||
cpu-rs6000.c | ||
cpu-vax.c | ||
cpu-w65.c | ||
cpu-we32k.c | ||
cpu-z8k.c | ||
demo64.c | ||
dep-in.sed | ||
ecoff.c | ||
ecofflink.c | ||
ecoffswap.h | ||
elf32-arc.c | ||
elf32-gen.c | ||
elf32-hppa.c | ||
elf32-hppa.h | ||
elf32-i386.c | ||
elf32-i860.c | ||
elf32-m68k.c | ||
elf32-m88k.c | ||
elf32-mips.c | ||
elf32-ppc.c | ||
elf32-sparc.c | ||
elf32.c | ||
elf64-gen.c | ||
elf64-sparc.c | ||
elf64.c | ||
elf.c | ||
elfcode.h | ||
elfcore.h | ||
elflink.c | ||
elflink.h | ||
elfxx-target.h | ||
filemode.c | ||
format.c | ||
gen-aout.c | ||
genlink.h | ||
hash.c | ||
host-aout.c | ||
hp300bsd.c | ||
hp300hpux.c | ||
hppa_stubs.h | ||
hppabsd-core.c | ||
hpux-core.c | ||
i386aout.c | ||
i386bsd.c | ||
i386dynix.c | ||
i386linux.c | ||
i386lynx.c | ||
i386mach3.c | ||
i386netbsd.c | ||
i386os9k.c | ||
ieee.c | ||
init.c | ||
irix-core.c | ||
libaout.h | ||
libbfd-in.h | ||
libbfd.c | ||
libbfd.h | ||
libcoff-in.h | ||
libcoff.h | ||
libecoff.h | ||
libelf.h | ||
libhppa.h | ||
libieee.h | ||
libnlm.h | ||
liboasys.h | ||
linker.c | ||
lynx-core.c | ||
m68klynx.c | ||
m68knetbsd.c | ||
m88kmach3.c | ||
makefile.dos | ||
Makefile.in | ||
mipsbsd.c | ||
mpw-config.in | ||
mpw-make.in | ||
netbsd.h | ||
newsos3.c | ||
nlm32-alpha.c | ||
nlm32-i386.c | ||
nlm32-ppc.c | ||
nlm32-sparc.c | ||
nlm32.c | ||
nlm64.c | ||
nlm-target.h | ||
nlm.c | ||
nlmcode.h | ||
nlmswap.h | ||
ns32knetbsd.c | ||
oasys.c | ||
opncls.c | ||
osf-core.c | ||
pc532-mach.c | ||
pe-i386.c | ||
PORTING | ||
ptrace-core.c | ||
reloc16.c | ||
reloc.c | ||
rs6000-core.c | ||
section.c | ||
som.c | ||
som.h | ||
sparclynx.c | ||
sparcnetbsd.c | ||
srec.c | ||
stab-syms.c | ||
sunos.c | ||
syms.c | ||
targets.c | ||
tekhex.c | ||
TODO | ||
trad-core.c | ||
versados.c | ||
VERSION |