From: simonmar Date: Tue, 22 Oct 2002 13:36:56 +0000 (+0000) Subject: [project @ 2002-10-22 13:36:56 by simonmar] X-Git-Tag: Approx_11550_changesets_converted~1524 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=56acbeacdb1fef6d7f51cd6d85d7ed51c65e419a;p=ghc-hetmet.git [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. --- 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