2004-04-26 19:48:50 -04:00
|
|
|
$OpenBSD: patch-ghc_driver_mangler_ghc-asm_lprl,v 1.5 2004/04/26 23:48:50 dons Exp $
|
|
|
|
How to pattern match amd64 asm.
|
|
|
|
--- ghc/driver/mangler/ghc-asm.lprl.orig Sun Apr 18 05:37:46 2004
|
|
|
|
+++ ghc/driver/mangler/ghc-asm.lprl Sun Apr 18 05:39:39 2004
|
|
|
|
@@ -230,7 +230,7 @@
|
|
|
|
$T_HDR_direct = "\.text\n\t\.align 8\n";
|
initial import of ghc-5.04.3, which takes the "longest compilation
time" award from mozilla and gcc3
From Don Stewart <dons@cse.unsw.edu.au> with tweaks from me
(i386 only for the moment)
--
The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98.
GHC compiles Haskell to either native code or C. It implements
numerous experimental language extensions to Haskell, including
concurrency, a foreign language interface, several type-system
extensions, exceptions, and so on. GHC comes with a generational
garbage collector, a space and time profiler, and a comprehensive
set of libraries.
2003-05-29 12:38:31 -04:00
|
|
|
|
|
|
|
#--------------------------------------------------------#
|
2004-04-26 19:48:50 -04:00
|
|
|
- } elsif ( $TargetPlatform =~ /^x86_64-.*-linux$/ ) {
|
|
|
|
+ } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd)$/ ) {
|
initial import of ghc-5.04.3, which takes the "longest compilation
time" award from mozilla and gcc3
From Don Stewart <dons@cse.unsw.edu.au> with tweaks from me
(i386 only for the moment)
--
The Glasgow Haskell Compiler is a robust, fully-featured, optimising
compiler for the functional programming language Haskell 98.
GHC compiles Haskell to either native code or C. It implements
numerous experimental language extensions to Haskell, including
concurrency, a foreign language interface, several type-system
extensions, exceptions, and so on. GHC comes with a generational
garbage collector, a space and time profiler, and a comprehensive
set of libraries.
2003-05-29 12:38:31 -04:00
|
|
|
|
2004-04-26 19:48:50 -04:00
|
|
|
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
|
|
|
|
$T_US = ''; # _ if symbols have an underscore on the front
|