Mail Archives: cygwin/1999/02/10/17:16:49
On Wed, Feb 10, 1999 at 03:46:30PM +0100, Juergen Lock wrote:
> Bingo! thats it, build went through. Now i seriously wonder why it
> didn't happen with b17... :( so sorry for the false alarm, boy do i
> feel stupid...
This was the offending patch, now i have to find out how to fix it...
Regards,
Juergen
Index: ../ld/ldlang.c
@@ -661,6 +661,8 @@
static struct sec_link_once *sec_link_once_list;
flagword flags;
const char *name;
+ off_t off;
+ bfd *sowner;
struct sec_link_once *l;
/* If we are only reading symbols from this object, then we want to
@@ -677,10 +679,18 @@
return;
name = bfd_get_section_name (abfd, sec);
+ /* XXX private.. */
+ sowner = (sec)->owner; /* unique? */
+ off = (sec)->filepos;
for (l = sec_link_once_list; l != NULL; l = l->next)
{
+#if 1
+ if (strcmp (name, bfd_get_section_name (l->sec->owner, l->sec)) == 0
+ && l->sec->owner == sowner && l->sec->filepos == off)
+#else
if (strcmp (name, bfd_get_section_name (l->sec->owner, l->sec)) == 0)
+#endif
{
/* The section has already been linked. See if we should
issue a warning. */
Index: ../ld/ldlang.c
@@ -687,7 +687,9 @@
{
#if 1
if (strcmp (name, bfd_get_section_name (l->sec->owner, l->sec)) == 0
- && l->sec->owner == sowner && l->sec->filepos == off)
+ /*&& (l->sec->owner != sowner || l->sec->filepos == off)*/
+ && (!l->sec->pe_comdat_sym_name || !sec->pe_comdat_sym_name
+ || strcmp (l->sec->pe_comdat_sym_name, sec->pe_comdat_sym_name) == 0))
#else
if (strcmp (name, bfd_get_section_name (l->sec->owner, l->sec)) == 0)
#endif
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -