- Jul 09, 2008
-
-
Ian Lynagh authored
We shouldn't need it, as we don't call cygwin's gcc, and it was causing problems with the nightly builders passing it to GHC.
-
- Jun 11, 2008
-
-
Ian Lynagh authored
-
- Jun 06, 2008
-
-
Ian Lynagh authored
-
- May 11, 2008
-
-
Ian Lynagh authored
-
- Feb 05, 2008
-
-
Simon Marlow authored
Perhaps in the past '.align 2' meant align to 4 bytes, but nowadays it means align to 2 bytes. The compacting collector requires info tables to be aligned to 4 bytes, because it stores tag bits in the low 2 bits. This only affects -fvia-C - the native code generator was already emitting the correct alignment. The incorrect alignment might well have been adversely affecting performance with -fvia-C on Windows.
-
- Jan 16, 2008
-
-
Ian Lynagh authored
We were generating a label ".LnLC7", which the splitter was confusing with a literal constant (LC). The end result was the assembler tripping up on ".Ln.text".
-
- Dec 17, 2007
-
-
Ian Lynagh authored
-
- Nov 10, 2007
-
-
Ian Lynagh authored
-
- Oct 31, 2007
-
-
Simon Marlow authored
-
- Oct 08, 2007
-
-
Simon Marlow authored
-
- Sep 14, 2007
-
-
Ian Lynagh authored
-
- Sep 05, 2007
-
-
Ian Lynagh authored
-
- Aug 28, 2007
-
-
Ian Lynagh authored
-
- Aug 21, 2007
-
-
Ian Lynagh authored
I'm not sure why this was here, but it makes ghci.o get built twice on Windows, which can cause the build to fail if it tries to link it in the middle.
-
- Jul 03, 2007
-
-
Clemens Fruhwirth authored
-
- Jul 30, 2007
-
-
audreyt@audreyt.org authored
* ghc-asm: Finally did away with $* in a way that works with Perl 5.6~5.10+, by appending /m to all regexes.
-
- Jul 06, 2007
-
-
Clemens Fruhwirth authored
The problem of the splitter was that it re-emitted section directives for every dynamic label found. The following was torn apart .symbol_stubs .indirect <symbol> L_<symbol>$stub: jmp *... L_<symbol>$stub_binder: ..somebinding code.. into .symbol_stubs .indirect_symbol <symbol> L_<symbol>$stub: jmp *... .symbol_stubs <--- NEW L_<symbol>$stub_binder: ..somebinding code.. This is incorrect as the Mac OS assembler enforces that every new code section that goes into .symbol_stubs is associated with the linker directive .indirect_symbol. This sanity check is obviously violated when we reemit .symbol_stub in the splitter. The solution is to ignore everything that ends with $stub_binder as new label, and chuck it into a single label for $stub. Also the splitter has to recognize .section __DATA... for the lazy_ptr indirection symbol. Adds a reminder to PositionIndependentCode.hs to take care of the splitter when the code generation is changed. This should not affect -fvia-c as the code generated by the C compiler is entirely different.
-
- Jul 12, 2007
-
-
audreyt@audreyt.org authored
-
- Jul 11, 2007
-
-
audreyt@audreyt.org authored
-
audreyt@audreyt.org authored
Perl 4's special variable $* controls multi-line matching; it's been deprecated from Perl 5's inception, and is finally removed in Perl versions 5.9 (soon to be 5.10). Since GHC depends on Perl 5.6+ anyway, this patch introduces an equivalent effect to $* without using that special variable, by hooking into Perl's regex parsing process to add the /m flag.
-
- Jun 14, 2007
-
-
Simon Marlow authored
-
- Jun 02, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Jun 01, 2007
-
-
Ian Lynagh authored
Bindists should now work again, when doing "make install" at least. "make in-place" is probably still broken.
-
- May 31, 2007
-
-
Ian Lynagh authored
Key changes: * Always build as if BIN_DIST is 1. BIN_DIST is thus removed. * Libraries are configured with prefix set to $$topdir rather than $(prefix)
-
- May 10, 2007
-
-
Simon Marlow authored
-
Simon Marlow authored
-
- Mar 27, 2007
-
-
red5_2@hotmail.com authored
Save/restore two more registers in StgCRun(). The extra registers are used by ffi009.hs, when compiling with gcc 4.1.2.
-
- Mar 18, 2007
-
-
red5_2@hotmail.com authored
Gcc 4 is doing more clever optimizations than earlier gccs. These changes let ghc compile and run on ia64 with gcc 4.0.3. Register stack frames are enlarged so that all functions use the same size stack frame. The code to mangle tail calls has been cleaned up and made more general. Additional floating-point and special-purpose registers used by GCC are saved upon entering the STG runtime. More general handling of NOP instructions. Handling of functions with multiple epilogues or no epilogue.
-
- Mar 08, 2007
-
-
wolfgang authored
Info tables, like everything else in the text section, MUST NOT contain pointers. A pointer is, by definition, position dependent and is therefore fundamentally incompatible with generating position independent code. Therefore, we have to store an offset from the info label to the string instead of the pointer, just as we already did for other things referred to by the info table (SRTs, large bitmaps, etc.)
-
- Feb 27, 2007
-
-
Ian Lynagh authored
From heatsink, in trac #1150.
-
- Jan 08, 2007
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- Dec 12, 2006
-
-
Simon Marlow authored
This has the undesitrable effect that stg_gc_gen_hp in the RTS was caught as an HPC symbol and put in the data segment.
-
- Oct 06, 2006
-
-
Simon Marlow authored
Patch by Ferris McCormick <fmccor@gentoo.org> This patch has been tested with GHC-6.4.2 where it fixes a huge number of testsuite failures (down from 406 to 17)
-
- Nov 27, 2006
-
-
wolfgang authored
Basic -fvia-C code generation is there, not much testing.
-
- Nov 20, 2006
-
-
wolfgang authored
-
- Oct 24, 2006
-
-
AndyGill authored
This large checkin is the new ghc version of Haskell Program Coverage, an expression-level coverage tool for Haskell. Parts: - Hpc.[ch] - small runtime support for Hpc; reading/writing *.tix files. - Coverage.lhs - Annotates the HsSyn with coverage tickboxes. - New Note's in Core, - TickBox -- ticked on entry to sub-expression - BinaryTickBox -- ticked on exit to sub-expression, depending -- on the boolean result. - New Stg level TickBox (no BinaryTickBoxes, though) You can run the coverage tool with -fhpc at compile time. Main must be compiled with -fhpc.
-
- Jun 22, 2006
-
-
Simon Marlow authored
-
- Jun 02, 2006
-
-
Neil Mitchell authored
-