From 794ba86ab2c3af917bb30776338526a18ea74880 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 15 Mar 2007 12:11:50 +0000 Subject: 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. --- gas/config/tc-arm.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gas/config/tc-arm.c') 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); +} -- cgit v1.1