projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
20d0ce2
)
when linking, ignore unknown .reloc section that appeared in gcc 3.4.5(?)
author
dias@eecs.harvard.edu
<unknown>
Wed, 28 May 2008 12:14:50 +0000
(12:14 +0000)
committer
dias@eecs.harvard.edu
<unknown>
Wed, 28 May 2008 12:14:50 +0000
(12:14 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
04f272c
..
bca6026
100644
(file)
--- 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)
&& 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;
) {
errorBelch("Unknown PEi386 section name `%s' (while processing: %s)", sectab_i->Name, oc->fileName);
return 0;