aboutsummaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-10 14:45:58 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-10 14:45:58 +0000
commit7f2f689c83164eb7d75193710065ed963c7fa06b (patch)
treef7e71cb6bf6b5c961177ff54c0d66d022a9c03ca /gas/symbols.c
parent18452d405c0f9471da1043446c5691f3fab0d889 (diff)
downloadgdb-7f2f689c83164eb7d75193710065ed963c7fa06b.zip
gdb-7f2f689c83164eb7d75193710065ed963c7fa06b.tar.gz
gdb-7f2f689c83164eb7d75193710065ed963c7fa06b.tar.bz2
* symbols.c (copy_symbol_attributes): Convert local symbols to
regular symbols.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 8e18632..71b8df6 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1611,9 +1611,9 @@ copy_symbol_attributes (dest, src)
symbolS *dest, *src;
{
if (LOCAL_SYMBOL_CHECK (dest))
- abort ();
+ dest = local_symbol_convert ((struct local_symbol *) dest);
if (LOCAL_SYMBOL_CHECK (src))
- abort ();
+ src = local_symbol_convert ((struct local_symbol *) src);
#ifdef BFD_ASSEMBLER
/* In an expression, transfer the settings of these flags.