1. 02 Oct, 2012 1 commit
  2. 10 Sep, 2012 1 commit
  3. 03 Sep, 2012 3 commits
  4. 23 Aug, 2012 1 commit
  5. 13 Aug, 2012 1 commit
  6. 05 Aug, 2012 3 commits
  7. 16 Jul, 2012 2 commits
    • Ian Lynagh's avatar
      Make -fPIC a dynamic flag · cdf946e4
      Ian Lynagh authored
      Hopefully I've kept the logic the same, and we now generate warnings if
      the user does -fno-PIC but we ignore them (e.g. because they're on OS X
      amd64).
      cdf946e4
    • Ian Lynagh's avatar
      Make a picPOpts function · 5d0fce85
      Ian Lynagh authored
      We now handle the preprocessor options the same way as the gcc options
      (picCCOpts).
      5d0fce85
  8. 14 Jun, 2012 1 commit
  9. 12 Jun, 2012 2 commits
  10. 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
  11. 29 May, 2012 1 commit
  12. 27 Apr, 2012 1 commit
    • kgardas's avatar
      add support for ARM hard-float ABI (fixes #5914) · 3144f856
      kgardas authored and Simon Marlow's avatar Simon Marlow committed
      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
  13. 06 Mar, 2012 1 commit
  14. 27 Feb, 2012 1 commit
  15. 16 Feb, 2012 1 commit
  16. 17 Jan, 2012 1 commit
  17. 14 Jan, 2012 1 commit
  18. 13 Jan, 2012 1 commit
  19. 19 Dec, 2011 2 commits
  20. 25 Nov, 2011 1 commit
  21. 24 Nov, 2011 1 commit
  22. 22 Nov, 2011 6 commits
  23. 21 Nov, 2011 1 commit
  24. 18 Nov, 2011 1 commit
  25. 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
  26. 11 Nov, 2011 1 commit