1. 16 Jul, 2012 1 commit
  2. 14 Jun, 2012 1 commit
  3. 12 Jun, 2012 2 commits
  4. 11 Jun, 2012 1 commit
    • Ian Lynagh's avatar
      Pass DynFlags to the LogAction · 5716a2f8
      Ian Lynagh authored
      A side-effect is that we can no longer use the LogAction in
      defaultErrorHandler, as we don't have DynFlags at that point.
      But all that defaultErrorHandler did is to print Strings as
      SevFatal, so now it takes a 'FatalMessager' instead.
      5716a2f8
  5. 29 May, 2012 1 commit
  6. 27 Apr, 2012 1 commit
    • kgardas's avatar
      add support for ARM hard-float ABI (fixes #5914) · 3144f856
      kgardas authored
      This patch enhances Platform's ArchARM to include ARM ABI value. It also
      tweaks configure machinery to detect hard-float ABI and to set it wherever
      needed. Finally when hard-float ABI is in use, pass appropriate compiler
      option to the LLVM's llc. Fixes #5914.
      3144f856
  7. 06 Mar, 2012 1 commit
  8. 27 Feb, 2012 1 commit
  9. 16 Feb, 2012 1 commit
  10. 17 Jan, 2012 1 commit
  11. 14 Jan, 2012 1 commit
  12. 13 Jan, 2012 1 commit
  13. 19 Dec, 2011 2 commits
  14. 25 Nov, 2011 1 commit
  15. 24 Nov, 2011 1 commit
  16. 22 Nov, 2011 6 commits
  17. 21 Nov, 2011 1 commit
  18. 18 Nov, 2011 1 commit
  19. 16 Nov, 2011 3 commits
    • Simon Marlow's avatar
    • Simon Marlow's avatar
    • Simon Marlow's avatar
      Generate the C main() function when linking a binary (fixes #5373) · 1df28a80
      Simon Marlow authored
      Rather than have main() be statically compiled as part of the RTS, we
      now generate it into the tiny C file that we compile when linking a
      binary.
      
      The main motivation is that we want to pass the settings for the
      -rtsotps and -with-rtsopts flags into the RTS, rather than relying on
      fragile linking semantics to override the defaults, which don't work
      with DLLs on Windows (#5373).  In order to do this, we need to extend
      the API for initialising the RTS, so now we have:
      
      void hs_init_ghc (int *argc, char **argv[],   // program arguments
                        RtsConfig rts_config);      // RTS configuration
      
      hs_init_ghc() can optionally be used instead of hs_init(), and allows
      passing in configuration options for the RTS.  RtsConfig is a struct,
      which currently has two fields:
      
      typedef struct {
          RtsOptsEnabledEnum rts_opts_enabled;
          const char *rts_opts;
      } RtsConfig;
      
      but might have more in the future.  There is a default value for the
      struct, defaultRtsConfig, the idea being that you start with this and
      override individual fields as necessary.
      
      In fact, main() was in a separate static library, libHSrtsmain.a.
      That's now gone.
      1df28a80
  20. 11 Nov, 2011 1 commit
  21. 20 Oct, 2011 1 commit
  22. 19 Oct, 2011 1 commit
  23. 13 Oct, 2011 1 commit
  24. 11 Oct, 2011 1 commit
  25. 06 Oct, 2011 2 commits
    • Ian Lynagh's avatar
      Use -no_compact_unwind on OS X x86 (as well as x86_64) · be6e231c
      Ian Lynagh authored
      Without it we get warnings like:
          ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
      be6e231c
    • Ian Lynagh's avatar
      Silence "text reloc" warnings on OS X / x86 · 20705dff
      Ian Lynagh authored
      ld gives loads of warnings like:
          ld: warning: text reloc in _base_GHCziArr_unsafeArray_info to _base_GHCziArr_unsafeArray_closure
      when linking any program. We're not sure whether this is something we
      ought to fix, but for now we use the -Wl,-read_only_relocs,suppress flag
      to silence them.
      20705dff
  26. 21 Aug, 2011 1 commit
  27. 10 Aug, 2011 2 commits
  28. 06 Aug, 2011 1 commit
  29. 03 Aug, 2011 1 commit