diff options
author | Daniel Jacobowitz <drow@false.org> | 2007-03-15 12:11:50 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2007-03-15 12:11:50 +0000 |
commit | 794ba86ab2c3af917bb30776338526a18ea74880 (patch) | |
tree | 283048e86c4b4da985dffe496b65f2b989fc4b31 /gas/config/tc-arm.h | |
parent | 4cbdee8aa5213d415babb7bc528d188066b4dfb1 (diff) | |
download | gdb-794ba86ab2c3af917bb30776338526a18ea74880.zip gdb-794ba86ab2c3af917bb30776338526a18ea74880.tar.gz gdb-794ba86ab2c3af917bb30776338526a18ea74880.tar.bz2 |
gas/
* config/tc-arm.c (arm_copy_symbol_attributes): New.
* config/tc-arm.h (arm_copy_symbol_attributes): Declare.
(TC_COPY_SYMBOL_ATTRIBUTES): Define.
* gas/symbols.c (copy_symbol_attributes): Use
TC_COPY_SYMBOL_ATTRIBUTES.
gas/testsuite/
* gas/arm/thumbver.d, gas/arm/thumbver.s: New test.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index d7df213..d6dee9b 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -141,6 +141,12 @@ bfd_boolean arm_is_eabi (void); #define ARM_SET_INTERWORK(s,t) ((t) ? ARM_SET_FLAG (s, ARM_FLAG_INTERWORK) : ARM_RESET_FLAG (s, ARM_FLAG_INTERWORK)) #define THUMB_SET_FUNC(s,t) ((t) ? ARM_SET_FLAG (s, THUMB_FLAG_FUNC) : ARM_RESET_FLAG (s, THUMB_FLAG_FUNC)) +void arm_copy_symbol_attributes (symbolS *, symbolS *); +#ifndef TC_COPY_SYMBOL_ATTRIBUTES +#define TC_COPY_SYMBOL_ATTRIBUTES(DEST, SRC) \ + (arm_copy_symbol_attributes (DEST, SRC)) +#endif + #define TC_START_LABEL(C,STR) (c == ':' || (c == '/' && arm_data_in_code ())) #define tc_canonicalize_symbol_name(str) arm_canonicalize_symbol_name (str); #define obj_adjust_symtab() arm_adjust_symtab () |