diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-01-22 18:00:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-01-22 18:00:01 +0000 |
commit | 16ce20d4d7521572e66008b814ba86ed5be59e4f (patch) | |
tree | fd52cc5b3c002570497b5ede1f6ef09e92317fe0 /gas/ChangeLog | |
parent | 6df07e7f7e7a5e01a9c17b439334f99f51723af6 (diff) | |
download | gdb-16ce20d4d7521572e66008b814ba86ed5be59e4f.zip gdb-16ce20d4d7521572e66008b814ba86ed5be59e4f.tar.gz gdb-16ce20d4d7521572e66008b814ba86ed5be59e4f.tar.bz2 |
* symbols.c (resolve_symbol_value): If a symbol is equated to an
undefined symbol, preserve the X_op of O_symbol.
(S_GET_VALUE): Fix check to permit this case.
* write.c (write_relocs): If a reloc is against an undefined
symbol equated to another symbol, change the reloc to be against
the latter symbol.
* config/obj-coff.c (do_relocs_for): Likewise.
If the MRI assembler sees
foo EQU bar
call foo
where bar is not defined, it generates a reloc against bar rather than
against foo. Since the gas documentation does not define this case,
this change makes gas compatible.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 12315d2..67bb29b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -25,9 +25,17 @@ Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk> * config/tc-mips.c (load_register): Optimise "dli" loads. (md_show_usage): add "-mcpu=vr4100" to help text. - + Mon Jan 22 11:53:00 1996 Ian Lance Taylor <ian@cygnus.com> + * symbols.c (resolve_symbol_value): If a symbol is equated to an + undefined symbol, preserve the X_op of O_symbol. + (S_GET_VALUE): Fix check to permit this case. + * write.c (write_relocs): If a reloc is against an undefined + symbol equated to another symbol, change the reloc to be against + the latter symbol. + * config/obj-coff.c (do_relocs_for): Likewise. + * config/tc-ppc.c (ppc_csect): An unnamed csect is storage class XMC_PR. |