(fix_new_exp): Handle O_add by creating an expression-valued symbol, and
authorKen Raeburn <raeburn@cygnus>
Wed, 28 Sep 1994 19:20:11 +0000 (19:20 +0000)
committerKen Raeburn <raeburn@cygnus>
Wed, 28 Sep 1994 19:20:11 +0000 (19:20 +0000)
commit4acf8c78e659833be8be047ba2f8561386a11d4b
treece05f1293027e5803305ec74c71e239ad70b9306
parent648acaa0c0427463876773336c87af4d18be8a76
(fix_new_exp): Handle O_add by creating an expression-valued symbol, and
calling fix_new_exp recursively.
(adjust_reloc_syms): If a fixup's symbol value is a sum of an undefined symbol
and a constant, fold the constant into the fixup, and refer to the undefined
symbol directly.  Then process the fixup again from scratch.
(write_object_file): Before calling adjust_reloc_syms, make a pass through the
symbol list trying to resolve values.

(print_fixup): New routine, for debugging.
(write_relocs): Call bfd_install_relocation.  Deleted various hacks for working
around problems with bfd_perform_relocation.
gas/write.c