aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2005-11-17 13:32:27 +0000
committerAlexandre Oliva <aoliva@redhat.com>2005-11-17 13:32:27 +0000
commit461b725f29e97e9270f3136b19df3513e8798b15 (patch)
treed38c96f5420e04f190fc5d996fa949908df85fec /gas/config/tc-ppc.c
parentb57d375bdea3e29a7636cc9f786b55733f0bb9f2 (diff)
downloadgdb-461b725f29e97e9270f3136b19df3513e8798b15.zip
gdb-461b725f29e97e9270f3136b19df3513e8798b15.tar.gz
gdb-461b725f29e97e9270f3136b19df3513e8798b15.tar.bz2
* config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
dotname. * write.c (write_object_file): Do not remove used weakrefd.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 35a5c2b..d5bdb9e 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1931,7 +1931,7 @@ ppc_frob_file_before_adjust ()
dotname = xmalloc (len + 1);
dotname[0] = '.';
memcpy (dotname + 1, name, len);
- dotsym = symbol_find (dotname);
+ dotsym = symbol_find_noref (dotname, 1);
free (dotname);
if (dotsym != NULL && (symbol_used_p (dotsym)
|| symbol_used_in_reloc_p (dotsym)))