From 6a2b6326c21eb3e45d366676e81935ad660a7101 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 27 Oct 2005 07:40:07 +0000 Subject: gas/ 2005-10-27 Jan Beulich * read.c (assign_symbol): Also consider equates already defined. * symbols.c (symbol_clone): Also clone the underlying BFD symbol. * config/obj-coff.h (obj_symbol_clone_hook): New. (coff_obj_symbol_clone_hook): Declare. * config/obj-coff.c (coff_obj_symbol_clone_hook): New. gas/testsuite/ 2005-10-27 Jan Beulich * gas/all/gas.exp: Don't xfail equiv1 test anymore. --- gas/read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/read.c') diff --git a/gas/read.c b/gas/read.c index 9381735..c85ca5f 100644 --- a/gas/read.c +++ b/gas/read.c @@ -2794,7 +2794,7 @@ assign_symbol (char *name, int mode) #endif } - if (S_IS_DEFINED (symbolP)) + if (S_IS_DEFINED (symbolP) || symbol_equated_p (symbolP)) { /* Permit register names to be redefined. */ if ((mode != 0 || !S_IS_VOLATILE (symbolP)) -- cgit v1.1