mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-23 13:21:43 +08:00
as the value of a symbol. * struc-symbol.h (struct symbol): Removed sy_forward field. Added sy_resolved and sy_resolving single bit fields. * symbols.c (symbol_new): Don't initialize sy_forward field. (resolve_symbol_value): New function to adjust symbol value by fragment address, using recursion to resolve forward symbols. * symbols.h: Added prototype for new function. * read.c (pseudo_set): Set symbolP->sy_value to an undefined expression rather than setting symbolP->sy_forward. * write.c (write_object_file): Use resolve_symbol_value on symbols, keeping the common case (the old behaviour) inline. * config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward handling (subsumed by write.c change). * config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set sy_value rather than sy_forward. * config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check expression segment rather than sy_forward. (yank_symbols): Use resolve_symbol_value. (crawl_symbols): Removed extra pass over symbols. * config/obj-aout.c, config/obj-bout.c, config/obj-coff.c, config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over symbols which handled sy_forward; use resolve_symbol_value instead. * config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol): Define. * config/obj-elf.c (obj_elf_stab_generic): Check expression segment rather than sy_forward. * config/obj-vms.c (VMS_Check_For_Main): Don't initialize sy_forward; do initialize sy_resolved and sy_resolving. * config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward. |
||
---|---|---|
.. | ||
.Sanitize | ||
aout_gnu.h | ||
atof-ieee.c | ||
atof-ns32k.c | ||
atof-tahoe.c | ||
atof-vax.c | ||
coff_gnu.h | ||
cplus-dem.c | ||
ebmon29k.mt | ||
h8300.mt | ||
h8300hds.mt | ||
h8500.mt | ||
ho-ansi.h | ||
ho-decstatn.h | ||
ho-generic.h | ||
ho-go32.h | ||
ho-hppabsd.h | ||
ho-hpux.h | ||
ho-i386.h | ||
ho-i386aix.h | ||
ho-irix.h | ||
ho-mipsbsd.h | ||
ho-rs6000.h | ||
ho-sun3.h | ||
ho-sun4.h | ||
ho-sun386.h | ||
ho-sunos.h | ||
ho-sysv.h | ||
ho-vax.h | ||
ho-vms.h | ||
i386coff.mt | ||
m68k.mt | ||
m68kcoff.mt | ||
m88k-opcode.h | ||
mips-big.mt | ||
mips-lit.mt | ||
obj-aout.c | ||
obj-aout.h | ||
obj-bout.c | ||
obj-bout.h | ||
obj-coff.c | ||
obj-coff.h | ||
obj-coffbfd.c | ||
obj-coffbfd.h | ||
obj-ecoff.c | ||
obj-elf.c | ||
obj-elf.h | ||
obj-generic.c | ||
obj-generic.h | ||
obj-hp300.c | ||
obj-hp300.h | ||
obj-ieee.c | ||
obj-ieee.h | ||
obj-vms.c | ||
obj-vms.h | ||
sh.mt | ||
sparc.mt | ||
tc-a29k.c | ||
tc-a29k.h | ||
tc-generic.c | ||
tc-generic.h | ||
tc-h8300.c | ||
tc-h8300.h | ||
tc-h8500.c | ||
tc-h8500.h | ||
tc-hppa.c | ||
tc-hppa.h | ||
tc-i386.c | ||
tc-i386.h | ||
tc-i860.c | ||
tc-i860.h | ||
tc-i960.c | ||
tc-i960.h | ||
tc-m68k.c | ||
tc-m68k.h | ||
tc-m88k.c | ||
tc-m88k.h | ||
tc-m68851.h | ||
tc-mips.c | ||
tc-mips.h | ||
tc-ns32k.c | ||
tc-ns32k.h | ||
tc-sh.c | ||
tc-sparc64.c | ||
tc-sparc64.h | ||
tc-sparc.c | ||
tc-sparc.h | ||
tc-tahoe.c | ||
tc-tahoe.h | ||
tc-vax.c | ||
tc-vax.h | ||
tc-z8k.c | ||
tc-z8k.h | ||
te-dpx2.h | ||
te-generic.h | ||
te-hp300.h | ||
te-hppa.h | ||
te-i386aix.h | ||
te-ic960.h | ||
te-sco386.h | ||
te-sun3.h | ||
te-sysv32.h | ||
vax-inst.h | ||
z8k.mt |