aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-02-26 04:57:57 +0000
committerJeff Law <law@redhat.com>1994-02-26 04:57:57 +0000
commite03095c9bb70a8fa0fcf9e9e74cfd381e2f8ae73 (patch)
treeffc984fe6572b8a13996c7f1811e937bf79681f1 /gas/config/tc-hppa.h
parent43ebdfcf4ed8ea1dfa1bebce5c7d20e753411a28 (diff)
downloadgdb-e03095c9bb70a8fa0fcf9e9e74cfd381e2f8ae73.zip
gdb-e03095c9bb70a8fa0fcf9e9e74cfd381e2f8ae73.tar.gz
gdb-e03095c9bb70a8fa0fcf9e9e74cfd381e2f8ae73.tar.bz2
* config/tc-hppa.c (hppa_tc_symbol): Call PA ELF BFD version.
(hppa_tc_make_sections): Likewise. (pa_build_symextn_section): Delete unused function. (hppa_tc_make_symextn_section): Likewise. (pa_export): Delete call to pa_build_symextn_section. * config/tc-hppa.h (hppa_tc_symbol): Add extern decl. (elf_hppa_final_processing): Delete extern decl. (hppa_tc_symbol): Delete extern decl.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index ab7a056..c29fa1c 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -67,13 +67,8 @@
/* Labels are not required to have a colon for a suffix. */
#define LABELS_WITHOUT_COLONS
-/* FIXME. */
-#ifdef OBJ_ELF
-extern void elf_hppa_final_processing PARAMS ((void));
-extern void hppa_tc_symbol PARAMS ((bfd *, elf_symbol_type *, int));
-#endif
-
extern void hppa_tc_make_sections PARAMS ((bfd *));
+extern void hppa_tc_symbol PARAMS ((bfd *, elf_symbol_type *, int));
/* 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.
@@ -83,6 +78,7 @@ 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 ();
#define tc_frob_label(sym) pa_define_label (sym)
@@ -120,6 +116,11 @@ extern void cons_fix_new_hppa ();
#define tc_fix_adjustable hppa_fix_adjustable
+/* Because of the strange PA calling conventions, it is sometimes
+ necessary to emit a relocation for a call even though it would
+ normally appear safe to handle it completely within GAS. */
+#define TC_FORCE_RELOCATION(FIXP) hppa_force_relocation (FIXP)
+
/* If a symbol is imported, but never used, then the symbol should
*not* end up in the symbol table. Likewise for absolute symbols
with local scope. */