From 56acbeacdb1fef6d7f51cd6d85d7ed51c65e419a Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 22 Oct 2002 13:36:56 +0000 Subject: [PATCH] [project @ 2002-10-22 13:36:56 by simonmar] Fix recent FreeBSD breakage in the mangler: the "Prologue Junk" test was a little bit too strict about whitespace. --- ghc/driver/mangler/ghc-asm.lprl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index 6d227df..92feae1 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -779,7 +779,7 @@ sub mangle_asm { # HWL HACK: dont die, just print a warning #print stderr "HWL: this should die! Prologue junk?: $p\n" if $p =~ /^\t[^\.]/; - die "Prologue junk?: $p\n" if $p =~ /^\t[^\.]/; + die "Prologue junk?: $p\n" if $p =~ /^\s+[^\s\.]/; if ($TargetPlatform =~ /^powerpc-apple-.*/ && $pcrel_label ne "") { # on PowerPC, we have to keep a part of the prologue -- 1.7.10.4