aboutsummaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-03-15 12:11:50 +0000
committerDaniel Jacobowitz <drow@false.org>2007-03-15 12:11:50 +0000
commit794ba86ab2c3af917bb30776338526a18ea74880 (patch)
tree283048e86c4b4da985dffe496b65f2b989fc4b31 /gas/symbols.c
parent4cbdee8aa5213d415babb7bc528d188066b4dfb1 (diff)
downloadgdb-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/symbols.c')
-rw-r--r--gas/symbols.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 5cad5c8..2e098f1 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1947,6 +1947,10 @@ copy_symbol_attributes (symbolS *dest, symbolS *src)
#ifdef OBJ_COPY_SYMBOL_ATTRIBUTES
OBJ_COPY_SYMBOL_ATTRIBUTES (dest, src);
#endif
+
+#ifdef TC_COPY_SYMBOL_ATTRIBUTES
+ TC_COPY_SYMBOL_ATTRIBUTES (dest, src);
+#endif
}
int