gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] fasloading


From: Camm Maguire
Subject: [Gcl-devel] fasloading
Date: 06 Sep 2003 13:40:54 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings!  Some time ago there was a sparc user reporting undefined
symbols on relocating/loading object files.  We put in a fix at that
time, which now proves to be a bit too aggressive on some (ppc)
platforms.  We have to backoff a bit, but I think the change will not
affect said user, whose name I've unfortunately forgotten.

Here is the patch:

Index: o/sfasli.c
===================================================================
RCS file: /cvsroot/gcl/gcl/o/sfasli.c,v
retrieving revision 1.12
diff -u -r1.12 sfasli.c
--- o/sfasli.c  21 Aug 2003 18:44:25 -0000      1.12
+++ o/sfasli.c  6 Sep 2003 17:30:30 -0000
@@ -59,6 +59,9 @@
     if (!*q[u]->name)
       continue;
 
+    if (strncmp(q[u]->section->name,"*UND*",5))
+      continue;
+
     if ((c=(char *)strstr(q[u]->name,"@@"))) {
       *c=0;
       if 
(!(h=bfd_link_hash_lookup(link_info.hash,q[u]->name,MY_BFD_TRUE,MY_BFD_TRUE,MY_BFD_TRUE)))

Please let me know if you have a problem with this.  If anyone can
forward this to the party in question, I'd be most appreciative.

Take care,


-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]