Merged in the changes from the armT-970328-branch.
authorNick Clifton <nickc@redhat.com>
Tue, 3 Jun 1997 23:25:43 +0000 (23:25 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 3 Jun 1997 23:25:43 +0000 (23:25 +0000)
gas/ChangeLog
gas/config/tc-arm.h

index 8f1a87c38d19e2d4e00ac0c3c22e34e6ce131289..f04f27c66d01f023bf28c8671e2d15cc5a1b84b1 100644 (file)
@@ -1,5 +1,7 @@
 Tue Jun  3 16:15:13 1997  Nick Clifton  <nickc@cygnus.com>
 
+       * config/tc-arm.h: Merged in changes from armT-970328-branch.
+
        * configure.in (emulations): Added Thumb architecture support from
        armT-9703-28-branch.
 
index 0214d68f08d17b9c893ed4d386ca0a591e70ad04..588d3f0caaf5c5ce70bbefba05a8d0dd14389ac7 100644 (file)
 
 #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
 
 
 #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 */
This page took 0.030965 seconds and 4 git commands to generate.