40df28eb7b
Changes in 6.8.3: * The arguments to ghc-pkg now understand lists and wildcards, and there is a new command ghc-pkg find-module. * The filename completion in ghci is now more intelligent. * We now look for GHCi config files in these locations: ./.ghci $HOME/.ghc/ghci.conf $HOME/.ghci * You can now give multiple -e options to GHC. * You can now use the -prof and -threaded flags together, although you cannot also use +RTS -N2. * SCC names are no longer allowed to contain spaces, as some of the profiling tools break if they do. * Various changes have been made to GHC's internals, so there are some differences in the API exposed by the ghc package. Most notably, checkAndLoadModule has now been implemented.
22 lines
577 B
Text
22 lines
577 B
Text
$NetBSD: patch-ar,v 1.3 2008/07/20 00:26:52 kristerw Exp $
|
|
|
|
--- rts/Linker.c.orig 2008-07-19 19:54:17.000000000 +0200
|
|
+++ rts/Linker.c 2008-07-19 19:55:39.000000000 +0200
|
|
@@ -2612,10 +2612,16 @@
|
|
#define Elf_Sym Elf64_Sym
|
|
#define Elf_Rel Elf64_Rel
|
|
#define Elf_Rela Elf64_Rela
|
|
-#if !defined(freebsd_HOST_OS)
|
|
+#ifndef ELF_ST_TYPE
|
|
#define ELF_ST_TYPE ELF64_ST_TYPE
|
|
+#endif
|
|
+#ifndef ELF_ST_BIND
|
|
#define ELF_ST_BIND ELF64_ST_BIND
|
|
+#endif
|
|
+#ifndef ELF_R_TYPE
|
|
#define ELF_R_TYPE ELF64_R_TYPE
|
|
+#endif
|
|
+#ifndef ELF_R_SYM
|
|
#define ELF_R_SYM ELF64_R_SYM
|
|
#endif
|
|
#else
|