aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-10-27 07:40:07 +0000
committerJan Beulich <jbeulich@novell.com>2005-10-27 07:40:07 +0000
commit6a2b6326c21eb3e45d366676e81935ad660a7101 (patch)
treee4b9e2834db9605456d62788952e5b4efbd194ba /gas/read.c
parent95560129db4891eb3341c02aedb2087e99176a76 (diff)
downloadgdb-6a2b6326c21eb3e45d366676e81935ad660a7101.zip
gdb-6a2b6326c21eb3e45d366676e81935ad660a7101.tar.gz
gdb-6a2b6326c21eb3e45d366676e81935ad660a7101.tar.bz2
gas/
2005-10-27 Jan Beulich <jbeulich@novell.com> * 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 <jbeulich@novell.com> * gas/all/gas.exp: Don't xfail equiv1 test anymore.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 1 insertions, 1 deletions
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))