fix x86 bootstrap
Richard Henderson
rth@redhat.com
Mon Oct 8 21:47:00 GMT 2001
Robert's recent patch forgot to actually initialize the new
field, which resulted in .ctors not being marked "allocate",
which means that the linker didn't load the data from the
object file.
r~
* varasm.c (set_named_section_flags): Initialize "declared".
Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.213
diff -u -p -r1.213 varasm.c
--- varasm.c 2001/10/08 22:41:55 1.213
+++ varasm.c 2001/10/09 04:44:15
@@ -387,6 +387,7 @@ set_named_section_flags (section, flags)
*slot = entry;
entry->name = ggc_strdup (section);
entry->flags = flags;
+ entry->declared = false;
}
else if (entry->flags != flags)
return false;
More information about the Gcc-patches
mailing list