aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-02 09:28:53 +0000
committerAlan Modra <amodra@gmail.com>2001-10-02 09:28:53 +0000
commit32a5aae29419fc939c4552928cd44e16e18a43bd (patch)
treecdfd680ba8291802014e3c9e6e0a1ef4e1001134 /gas/config
parenta33d1f7775cb7659c8be053dd41651e503c5aa22 (diff)
downloadgdb-32a5aae29419fc939c4552928cd44e16e18a43bd.zip
gdb-32a5aae29419fc939c4552928cd44e16e18a43bd.tar.gz
gdb-32a5aae29419fc939c4552928cd44e16e18a43bd.tar.bz2
* config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
bits if target is 64 bit.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ppc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 945e6dc..a9a7e22 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -5207,8 +5207,9 @@ md_apply_fix3 (fixp, valuep, seg)
#endif
switch (fixp->fx_r_type)
{
+#if BFD_DEFAULT_TARGET_SIZE != 64
case BFD_RELOC_CTOR:
- /* FIXME: 32 bits even for 64-bit targets? */
+#endif
case BFD_RELOC_32:
if (fixp->fx_pcrel)
fixp->fx_r_type = BFD_RELOC_32_PCREL;
@@ -5222,6 +5223,9 @@ md_apply_fix3 (fixp, valuep, seg)
value, 4);
break;
+#if BFD_DEFAULT_TARGET_SIZE == 64
+ case BFD_RELOC_CTOR:
+#endif
case BFD_RELOC_64:
if (fixp->fx_pcrel)
fixp->fx_r_type = BFD_RELOC_64_PCREL;