tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
authorCatherine Moore <clm@redhat.com>
Tue, 18 Aug 1998 17:03:48 +0000 (17:03 +0000)
committerCatherine Moore <clm@redhat.com>
Tue, 18 Aug 1998 17:03:48 +0000 (17:03 +0000)
tc-arm.c (arm_fix_adjustable): New routine.

gas/ChangeLog
gas/config/tc-arm.c
gas/config/tc-arm.h

index bcca2203bd44af7802a41a56efc47f9dc726e7f3..2189b2fe03c2a7678416ff4aa82b075fed98b024 100644 (file)
@@ -1,3 +1,10 @@
+start-sanitize-armelf
+Tue Aug 18 11:59:43 1998  Catherine Moore  <clm@cygnus.com>
+
+       * tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
+       * tc-arm.c (arm_fix_adjustable): New routine.
+
+end-sanitize-armelf
 1998-08-13  Vladimir N. Makarov  <vmakarov@cygnus.com>
 
        * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
index ce7a8794b2758288a345b064c0eedacfb1d3bad3..96957a570460f8b24571b415d1ce041285b3aaae 100644 (file)
@@ -6407,6 +6407,14 @@ arm_canonicalize_symbol_name (name)
   return name;
 }
 
+boolean
+arm_fix_adjustable(fixP)
+  fixS *fixP;
+{
+  return 1;
+}
+
+
 boolean
 arm_validate_fix (fixP)
      fixS * fixP;
index 06a0beb7387fa55e81ad8f655970543742661d33..055d1ae80fc3057c6be3507b3e23cff946b7d149 100644 (file)
@@ -95,7 +95,11 @@ extern void arm_frob_label PARAMS ((struct symbol *));
    deliberately not been updated to mark assembler created stabs
    symbols as Thumb.  */
 
+#ifdef OBJ_ELF
+#define obj_fix_adjustable(fixP) arm_fix_adjustable(fixP)
+#else
 #define obj_fix_adjustable(fixP) 0
+#endif
 
 /* We need to keep some local information on symbols.  */
 
@@ -137,6 +141,10 @@ char *arm_canonicalize_symbol_name PARAMS ((char *));
          }}
 #endif 
 
+#ifdef OBJ_ELF
+#define obj_frob_symbol(sym, punt)  armelf_frob_symbol (sym, punt)
+#endif
+
 /* Finish processing the entire symbol table:  */
 #define tc_adjust_symtab() arm_adjust_symtab ()
 extern void arm_adjust_symtab PARAMS ((void));
@@ -158,6 +166,8 @@ extern void arm_adjust_symtab PARAMS ((void));
 
 #define MD_APPLY_FIX3
 
+#define LOCAL_LABEL(name) (name[0] == '.' \
+                           && (name[1] == 'L'))
 #define LOCAL_LABELS_FB  1
 
 /* end of tc-arm.h */