b3c56c6d98
ok avsm@ pvalchev@
14 lines
653 B
Plaintext
14 lines
653 B
Plaintext
$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";
|
|
|
|
#--------------------------------------------------------#
|
|
- } elsif ( $TargetPlatform =~ /^x86_64-.*-linux$/ ) {
|
|
+ } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd)$/ ) {
|
|
|
|
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
|
|
$T_US = ''; # _ if symbols have an underscore on the front
|