From aae39e3784300c28d52452c0c75b2d9d0dfd57fd Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Tue, 18 Aug 1998 17:03:48 +0000 Subject: [PATCH] tc-arm.h: Define obj_fix_adjustable for OBJ_ELF. tc-arm.c (arm_fix_adjustable): New routine. --- gas/ChangeLog | 7 +++++++ gas/config/tc-arm.c | 8 ++++++++ gas/config/tc-arm.h | 10 ++++++++++ 3 files changed, 25 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index bcca2203bd4..2189b2fe03c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +start-sanitize-armelf +Tue Aug 18 11:59:43 1998 Catherine Moore + + * 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 * 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 ce7a8794b27..96957a57046 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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; diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 06a0beb7387..055d1ae80fc 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 */ -- 2.30.2