[PATCH 0/2] Fixes for linking libncursesw in GHCi on Fedora

2011-04-17 Thread CJ van den Berg
this? -- CJ van den Berg mailto:c...@vdbonline.com xmpp:c...@vdbonline.com ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc

[PATCH 2/2] Attempt to parse as linker script when dlopen returns 'file too short'

2011-04-17 Thread CJ van den Berg
From: CJ van den Berg For very short linker scripts dlopen may return 'file too short' instead of 'invalid ELF header'. --- rts/Linker.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rts/Linker.c b/rts/Linker.c index f39112f..c1310b0 100644 ---

[PATCH 1/2] Parse INPUT linker commands as equivalent to GROUP commands

2011-04-17 Thread CJ van den Berg
From: CJ van den Berg This is required to successfully load terminfo into GHCi in current versions of Fedora. The INPUT command is use by libncursesw.so in Fedora. --- rts/Linker.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rts/Linker.c b/rts/Linker.c index