From ac62c3468da474862067776e9cda6fb291aa53cf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 23 Jul 2001 13:03:40 +0000 Subject: * symbols.c (S_GET_VALUE): Don't treat O_constant and local symbols specially. Always resolve, adding fr_address to value. * write.c (write_object_file): Don't add fr_address to sym values. (relax_frag): Likewise. (relax_segment): Likewise. * config/obj-ieee.c (do_symbols): Likewise. * config/tc-cris.c (md_convert_frag): Likewise. * config/tc-fr30.c (md_convert_frag): Likewise. * config/tc-i386.c (md_convert_frag): Likewise. * config/tc-m32r.c (md_convert_frag): Likewise. * config/tc-m68hc11.c (md_convert_frag): Likewise. * config/tc-mcore.c (md_convert_frag): Likewise. * config/tc-mips.c (mips16_extended_frag): Likewise. * config/tc-ns32k.c (md_convert_frag): Likewise. * config/tc-m68k.c (md_convert_frag_1): Likewise. (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR, DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement. (md_relax_table): Remove first four entries. Format. (md_estimate_size_before_relax): Remove old_fix. Don't bother setting fr_var. Simplify byte branch checks. --- gas/config/tc-fr30.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gas/config/tc-fr30.c') diff --git a/gas/config/tc-fr30.c b/gas/config/tc-fr30.c index 1acebb8..98f5729 100644 --- a/gas/config/tc-fr30.c +++ b/gas/config/tc-fr30.c @@ -387,7 +387,6 @@ md_convert_frag (abfd, sec, fragP) { /* Address we want to reach in file space. */ target_address = S_GET_VALUE (fragP->fr_symbol) + fragP->fr_offset; - target_address += symbol_get_frag (fragP->fr_symbol)->fr_address; addend = (target_address - (opcode_address & -4)) >> 2; } -- cgit v1.1