aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-07-09 08:16:21 +0000
committerAlan Modra <amodra@gmail.com>2000-07-09 08:16:21 +0000
commitad1079af05c5820e0f4e9d1ba24d30c03bff98f6 (patch)
tree07c14228eb322baa6dc5ec37b3587e3b4d549c0b /gas/config/tc-hppa.h
parent6e09abd4bd401c9fba09c18c6f9252ae057e0e14 (diff)
downloadgdb-ad1079af05c5820e0f4e9d1ba24d30c03bff98f6.zip
gdb-ad1079af05c5820e0f4e9d1ba24d30c03bff98f6.tar.gz
gdb-ad1079af05c5820e0f4e9d1ba24d30c03bff98f6.tar.bz2
Add linux-elf flavour to pseudos in tc-hppa.c and some tidying
and bug fixes. Handle wide mode relocs. Don't select target size based on BFD64.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index fce147c..69de41a 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -47,7 +47,7 @@
#define WORKING_DOT_WORD
#ifdef OBJ_ELF
-#if BFD_ARCH_SIZE == 64
+#if TARGET_ARCH_SIZE == 64
#include "bfd/elf64-hppa.h"
#define TARGET_FORMAT "elf64-hppa"
#else
@@ -69,18 +69,12 @@
#define ASEC_NULL (asection *)0
-/* Labels are not required to have a colon for a suffix. */
-#define LABELS_WITHOUT_COLONS 1
+/* pa_define_label gets used outside of tc-hppa.c via tc_frob_label. */
+extern void pa_define_label PARAMS ((symbolS *));
-/* FIXME. This should be static and declared in tc-hppa.c, but
- pa_define_label gets used outside of tc-hppa.c via tc_frob_label.
- Should also be PARAMized, but symbolS isn't available here. */
-extern void pa_define_label ();
-
-/* FIXME. Types not available here, so they can't be PARAMized. */
-extern void parse_cons_expression_hppa ();
-extern void cons_fix_new_hppa ();
-extern int hppa_force_relocation ();
+extern void parse_cons_expression_hppa PARAMS ((expressionS *));
+extern void cons_fix_new_hppa PARAMS ((fragS *, int, int, expressionS *));
+extern int hppa_force_relocation PARAMS ((struct fix *));
/* This gets called before writing the object file to make sure
things like entry/exit and proc/procend pairs match. */
@@ -101,6 +95,7 @@ extern void pa_check_eof PARAMS ((void));
#ifdef OBJ_ELF
#define elf_tc_final_processing elf_hppa_final_processing
void elf_hppa_final_processing PARAMS ((void));
+void pa_end_of_source PARAMS ((void));
#endif
/* The PA needs to parse field selectors in .byte, etc. */
@@ -120,6 +115,7 @@ void elf_hppa_final_processing PARAMS ((void));
it will always follow a comma. */
#define TC_EOL_IN_INSN(PTR) (*(PTR) == '!' && (PTR)[-1] == ',')
+int hppa_fix_adjustable PARAMS((struct fix *));
#define tc_fix_adjustable hppa_fix_adjustable
/* Because of the strange PA calling conventions, it is sometimes