From 55636aa78906597ba20d54759247aa100334369d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 5 Jul 1993 21:32:13 +0000 Subject: [PATCH] * ldlang.c (lang_relocate_globals): Skip indirect symbols, which now have a non NULL srefs_chain. --- ld/ChangeLog | 8 ++++++++ ld/ldlang.c | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index adf4faf18fa..62a1a464305 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 0fa415831fe..95580ebab5c 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); -- 2.30.2