aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-05 21:32:13 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-05 21:32:13 +0000
commit55636aa78906597ba20d54759247aa100334369d (patch)
tree21edf1c0eab3479d2d1aecb6c631625e9798c1fd /ld
parent86fd58bf533db067529a54edd78b8ed97c1cfb7a (diff)
downloadgdb-55636aa78906597ba20d54759247aa100334369d.zip
gdb-55636aa78906597ba20d54759247aa100334369d.tar.gz
gdb-55636aa78906597ba20d54759247aa100334369d.tar.bz2
* ldlang.c (lang_relocate_globals): Skip indirect symbols, which
now have a non NULL srefs_chain.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/ldlang.c4
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index adf4faf..62a1a46 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,11 @@
+Mon Jul 5 14:29:48 1993 Ian Lance Taylor (ian@cygnus.com)
+
+ * ldlang.c (lang_relocate_globals): Skip indirect symbols, which
+ now have a non NULL srefs_chain.
+
+ * config/hp300hpux.mt: Use emulation hp3hpux rather than
+ hp300hpux, since the latter does not exist.
+
Fri Jul 2 18:06:05 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* genscripts.sh: Put the scripts in the ldscripts directory, not
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 0fa4158..95580eb 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -1896,6 +1896,10 @@ lang_relocate_globals ()
{
asymbol *it;
+ /* Skip indirect symbols. */
+ if (lgs->flags & SYM_INDIRECT)
+ continue;
+
if (lgs->sdefs_chain)
{
it = *(lgs->sdefs_chain);