diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-11-06 03:20:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-11-06 03:20:31 +0000 |
commit | 61194af8f3a12e365aa0c39e68cc7eeb69ec8ba2 (patch) | |
tree | b7c0a0fb6ca818dc9eac4fa01f23a3238f3e822b | |
parent | 0f459deab62fded50fb57dfa2f52299ab649ae03 (diff) | |
download | binutils-61194af8f3a12e365aa0c39e68cc7eeb69ec8ba2.tar.gz |
* config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
last patch.
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index f8d84d536..474b617c2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-11-06 Alan Modra <amodra@gmail.com> + + * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from + last patch. + 2012-11-05 Sean Keys <skeys@ipdatasys.com> * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 2dc2f59af..c72a8632b 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -6360,10 +6360,12 @@ md_apply_fix (fixS *fixP, valueT *valP, segT seg ATTRIBUTE_UNUSED) fieldval = value; switch (fixP->fx_r_type) { +#ifdef OBJ_ELF case BFD_RELOC_PPC64_ADDR16_LO_DS: if (fixP->fx_pcrel) goto bad_pcrel; /* fall through */ +#endif case BFD_RELOC_LO16: if (fixP->fx_pcrel) fixP->fx_r_type = BFD_RELOC_LO16_PCREL; |