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 bcca220..2189b2f 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 ce7a879..96957a5 100644 (file)
@@ -6408,6 +6408,14 @@ arm_canonicalize_symbol_name (name)
 }
 
 boolean
+arm_fix_adjustable(fixP)
+  fixS *fixP;
+{
+  return 1;
+}
+
+
+boolean
 arm_validate_fix (fixP)
      fixS * fixP;
 {
index 06a0beb..055d1ae 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 */