From: Thiemo Seufer Date: Sat, 26 Apr 2003 20:57:14 +0000 (+0000) Subject: * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a38b42ab8e066820b951fdee1be2e8f4a7bc4ff2;p=binutils-gdb.git * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 7063a2ab929..aff78afc248 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2003-04-26 Thiemo Seufer + + * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again. + 2003-04-25 Chris Demetriou * NEWS: Belatedly mention support for MIPS32 Release 2. diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index 17993b92c27..16a2a4e827d 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -140,6 +140,9 @@ extern int mips_fix_adjustable PARAMS ((struct fix *)); #define TC_FORCE_RELOCATION(FIX) mips_force_relocation (FIX) extern int mips_force_relocation PARAMS ((struct fix *)); +#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \ + (! SEG_NORMAL (SEG) || mips_force_relocation (FIX)) + /* We use this to turn branches to global symbols into branches to local symbols, so that they can be simplified. */ #define TC_VALIDATE_FIX(fixp, this_segment, skip_label) \