aboutsummaryrefslogtreecommitdiff
path: root/gas
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
parent18452d405c0f9471da1043446c5691f3fab0d889 (diff)
downloadfsf-binutils-gdb-7f2f689c83164eb7d75193710065ed963c7fa06b.zip
fsf-binutils-gdb-7f2f689c83164eb7d75193710065ed963c7fa06b.tar.gz
fsf-binutils-gdb-7f2f689c83164eb7d75193710065ed963c7fa06b.tar.bz2
* symbols.c (copy_symbol_attributes): Convert local symbols to
regular symbols.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/symbols.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c52cb47..30fbfb5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-10 Ian Lance Taylor <ian@zembu.com>
+
+ * symbols.c (copy_symbol_attributes): Convert local symbols to
+ regular symbols.
+
1999-06-10 Nick Clifton <nickc@cygnus.com>
* config/tc-arm.c (md_parse_option): Add support for ARM920 and
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.