Ignore sections generated from .ident
authorEsa Ilari Vuokko <ei@vuokko.info>
Wed, 23 Aug 2006 15:50:23 +0000 (15:50 +0000)
committerEsa Ilari Vuokko <ei@vuokko.info>
Wed, 23 Aug 2006 15:50:23 +0000 (15:50 +0000)
rts/Linker.c

index 1919618..2c9b07e 100644 (file)
@@ -2282,6 +2282,8 @@ ocGetNames_PEi386 ( ObjectCode* oc )
           && 0 != strcmp(".stabstr", sectab_i->Name)
           /* ignore constructor section for now */
           && 0 != strcmp(".ctors", sectab_i->Name)
+          /* ignore section generated from .ident */
+          && 0!= strcmp("/4", sectab_i->Name)
          ) {
          errorBelch("Unknown PEi386 section name `%s' (while processing: %s)", sectab_i->Name, oc->fileName);
          return 0;