aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-11-06 03:20:31 +0000
committerAlan Modra <amodra@gmail.com>2012-11-06 03:20:31 +0000
commit1ec2d25ebf75dc6efc4a57e9e62565cf3ad13d87 (patch)
treec1a9751a735228a1121f119165e43b4776313adf /gas/config
parent9798e45d7ea5a1f702e7af18db9d3ee5a1d7b96d (diff)
downloadgdb-1ec2d25ebf75dc6efc4a57e9e62565cf3ad13d87.zip
gdb-1ec2d25ebf75dc6efc4a57e9e62565cf3ad13d87.tar.gz
gdb-1ec2d25ebf75dc6efc4a57e9e62565cf3ad13d87.tar.bz2
* config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
last patch.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 2dc2f59..c72a863 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;