aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1998-08-18 17:03:48 +0000
committerCatherine Moore <clm@redhat.com>1998-08-18 17:03:48 +0000
commitaae39e3784300c28d52452c0c75b2d9d0dfd57fd (patch)
tree3adf8478841eb2c63de62e7dee3593959833f262 /gas
parent2c3c46ad0ca5d006a00a3688f8e2012eccc0618d (diff)
downloadgdb-aae39e3784300c28d52452c0c75b2d9d0dfd57fd.zip
gdb-aae39e3784300c28d52452c0c75b2d9d0dfd57fd.tar.gz
gdb-aae39e3784300c28d52452c0c75b2d9d0dfd57fd.tar.bz2
tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-arm.c8
-rw-r--r--gas/config/tc-arm.h10
3 files changed, 25 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index bcca220..2189b2f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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,
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index ce7a879..96957a5 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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;
{
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 06a0beb..055d1ae 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -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 */