aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-06-21 15:48:51 +0000
committerJeff Law <law@redhat.com>1999-06-21 15:48:51 +0000
commitb388df87545c0be95b41dd90eb46c453aae406d8 (patch)
treec2cb81fc4d90e8624859760f8f427111fa274c2f /gas/config/tc-hppa.h
parent9cb8e75e6c0c4428435966a3786a1ba53558863c (diff)
downloadgdb-b388df87545c0be95b41dd90eb46c453aae406d8.zip
gdb-b388df87545c0be95b41dd90eb46c453aae406d8.tar.gz
gdb-b388df87545c0be95b41dd90eb46c453aae406d8.tar.bz2
d
* tc-hppa.c (elf_hppa_reloc_type): Renamed from elf32_hppa_reloc_type. (hppa_gen_reloc_type): Conditionalize on BFD64. (tc_gen_reloc): Re-enable ELF relocations. * tc-hppa.h (TARGET_FORMAT): Handle elf64-hppa format.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 764275a..139daed 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -49,9 +49,14 @@
/* FIXME. The lack of a place to put things which are both target cpu
and target format dependent makes hacks like this necessary. */
#ifdef OBJ_ELF
+#ifdef BFD64
+#include "bfd/elf64-hppa.h"
+#define TARGET_FORMAT "elf64-hppa"
+#else
#include "bfd/elf32-hppa.h"
#define TARGET_FORMAT "elf32-hppa"
#endif
+#endif
#ifdef OBJ_SOM
#include "bfd/som.h"