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.c | |
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.c')
-rw-r--r-- | gas/config/tc-arm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 9822ab5..b463d96 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -20527,3 +20527,9 @@ s_arm_fpu (int ignored ATTRIBUTE_UNUSED) ignore_rest_of_line (); } +/* Copy symbol information. */ +void +arm_copy_symbol_attributes (symbolS *dest, symbolS *src) +{ + ARM_GET_FLAG (dest) = ARM_GET_FLAG (src); +} |