This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
minor fix to previous Xtensa GAS change
- From: Bob Wilson <bwilson at tensilica dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 21 Mar 2005 11:47:41 -0800
- Subject: minor fix to previous Xtensa GAS change
- Organization: Tensilica, Inc.
My recent change to the Xtensa port of GAS broke -fpic builds because
md_apply_fix3 didn't recognize XTENSA_PLT relocations. I've committed this
patch on mainline and 2.16 branch to fix it.
2005-03-21 Bob Wilson <bob.wilson@acm.org>
* config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
Index: config/tc-xtensa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-xtensa.c,v
retrieving revision 1.24
diff -u -p -r1.24 tc-xtensa.c
--- config/tc-xtensa.c 17 Mar 2005 21:49:47 -0000 1.24
+++ config/tc-xtensa.c 21 Mar 2005 19:43:57 -0000
@@ -5711,6 +5711,7 @@ md_apply_fix3 (fixS *fixP, valueT *valP,
}
break;
+ case BFD_RELOC_XTENSA_PLT:
case BFD_RELOC_XTENSA_ASM_EXPAND:
case BFD_RELOC_XTENSA_SLOT0_ALT:
case BFD_RELOC_XTENSA_SLOT1_ALT: