From: dias@eecs.harvard.edu Date: Wed, 28 May 2008 12:14:50 +0000 (+0000) Subject: when linking, ignore unknown .reloc section that appeared in gcc 3.4.5(?) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=b27381f4e20a96aafc3402c925557090f9f2ac2e;hp=20d0ce2f990864da1a8330c363c9bfd7afa69dbd when linking, ignore unknown .reloc section that appeared in gcc 3.4.5(?) --- diff --git a/rts/Linker.c b/rts/Linker.c index 04f272c..bca6026 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -2306,6 +2306,8 @@ ocGetNames_PEi386 ( ObjectCode* oc ) && 0 != strcmp(".ctors", sectab_i->Name) /* ignore section generated from .ident */ && 0!= strcmp("/4", sectab_i->Name) + /* ignore unknown section that appeared in gcc 3.4.5(?) */ + && 0!= strcmp(".reloc", sectab_i->Name) ) { errorBelch("Unknown PEi386 section name `%s' (while processing: %s)", sectab_i->Name, oc->fileName); return 0;