aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-06-03 23:25:43 +0000
committerNick Clifton <nickc@redhat.com>1997-06-03 23:25:43 +0000
commitf8a2144336ac5017ded4c1580e8f482e60232b66 (patch)
treeca17f8e8b365bf77a1d3b05e26735f3c3437e79c /gas/config
parentd0badeab7cb5d664c9e43d1dbd14a53607e8cbed (diff)
downloadgdb-f8a2144336ac5017ded4c1580e8f482e60232b66.zip
gdb-f8a2144336ac5017ded4c1580e8f482e60232b66.tar.gz
gdb-f8a2144336ac5017ded4c1580e8f482e60232b66.tar.bz2
Merged in the changes from the armT-970328-branch.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.h31
1 files changed, 23 insertions, 8 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 0214d68..588d3f0 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -33,6 +33,13 @@
#define DIFF_EXPR_OK
+#ifdef LITTLE_ENDIAN
+#undef LITTLE_ENDIAN
+#endif
+#ifdef BIG_ENDIAN
+#undef BIG_ENDIAN
+#endif
+
#define LITTLE_ENDIAN 1234
#define BIG_ENDIAN 4321
@@ -67,10 +74,21 @@
#define md_after_pass_hook() arm_after_pass_hook ()
#define md_start_line_hook() arm_start_line_hook ()
-#define tc_frob_label(S) arm_frob_label (S)
+#define tc_frob_label(S) arm_frob_label (S)
+/* We also need to mark assembler created symbols: */
+#define tc_frob_fake_label(S) arm_frob_label (S)
+/* NOTE: The fake label creation in stabs.c:s_stab_generic() has
+ deliberately not been updated to mark assembler created stabs
+ symbols as Thumb. */
#define obj_fix_adjustable(fixP) 0
+/* We need to keep some local information on symbols. At the moment
+ this is 0 for ARM symbols, non-zero for Thumb symbols. */
+#define TC_SYMFIELD_TYPE unsigned int
+#define ARM_GET_TYPE(S) ((S)->sy_tc)
+#define ARM_SET_TYPE(S,V) ((S)->sy_tc = (V))
+
#define TC_FIX_TYPE PTR
#define TC_INIT_FIX_DATA(FIXP) ((FIXP)->tc_fix_data = NULL)
@@ -91,6 +109,10 @@ char *arm_canonicalize_symbol_name PARAMS ((char *));
}}
#endif
+/* Finish processing the entire symbol table: */
+#define tc_adjust_symtab() arm_adjust_symtab ()
+extern void arm_adjust_symtab PARAMS ((void));
+
#if 0
#define tc_crawl_symbol_chain(a) {;} /* not used */
#define tc_headers_hook(a) {;} /* not used */
@@ -110,11 +132,4 @@ char *arm_canonicalize_symbol_name PARAMS ((char *));
#define LOCAL_LABELS_FB 1
-/* Use defaults for OBJ_AOUT. */
-#ifndef BFD_ASSEMBLER
-#ifndef OBJ_AOUT
-#define LOCAL_LABEL(name) ((name)[0] == '.' && (name)[1] == 'L')
-#endif
-#endif
-
/* end of tc-arm.h */