diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-02-01 23:54:59 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-02-01 23:54:59 +0000 |
commit | 63a7429b8b4b47f7b2c2caffbdd6d25add3cdce0 (patch) | |
tree | cd0c924cb678de6cefdd7c19c6d74fff9d2d2f1e /gas/config/tc-xtensa.c | |
parent | 900235cd3162c0f89983c93abb68a6a1fdee1d36 (diff) | |
download | gdb-63a7429b8b4b47f7b2c2caffbdd6d25add3cdce0.zip gdb-63a7429b8b4b47f7b2c2caffbdd6d25add3cdce0.tar.gz gdb-63a7429b8b4b47f7b2c2caffbdd6d25add3cdce0.tar.bz2 |
* config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
fx_tcbit.
* config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
Diffstat (limited to 'gas/config/tc-xtensa.c')
-rw-r--r-- | gas/config/tc-xtensa.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index 1facdc5..f83339a 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -1,5 +1,5 @@ /* tc-xtensa.c -- Assemble Xtensa instructions. - Copyright 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + Copyright 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -4114,12 +4114,6 @@ xg_add_opcode_fix (TInsn *tinsn, the_fix = fix_new_exp (fragP, offset, fmt_length, expr, howto->pc_relative, reloc); the_fix->fx_no_overflow = 1; - - if (expr->X_add_symbol - && (S_IS_EXTERNAL (expr->X_add_symbol) - || S_IS_WEAK (expr->X_add_symbol))) - the_fix->fx_tcbit = TRUE; - the_fix->tc_fix_data.X_add_symbol = expr->X_add_symbol; the_fix->tc_fix_data.X_add_number = expr->X_add_number; the_fix->tc_fix_data.slot = slot; @@ -5567,7 +5561,6 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg) assert (fixP->fx_addsy); if (S_GET_SEGMENT (fixP->fx_addsy) == seg - && !fixP->fx_tcbit && !S_FORCE_RELOC (fixP->fx_addsy, 1)) { val = (S_GET_VALUE (fixP->fx_addsy) + fixP->fx_offset |