From 8b4568eb029afb98bc7ef6d0b3ef28d573908f14 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Tue, 17 Jan 2006 02:13:16 +0000 Subject: [PATCH] [project @ 2006-01-17 02:13:16 by wolfgang] Linux/PPC64: remove some dead code that accidentally slipped in. MERGE TO STABLE --- ghc/driver/mangler/ghc-asm.lprl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index 760175a..19c3012 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -953,16 +953,6 @@ sub mangle_asm { $p =~ s/^\tstdu 1,-\d+\(1\)\n//; $p =~ s/^\tstd \d+,-?\d+\(1\)\n//g; - # GCC's "large-model" PIC (-fPIC) - $pcrel_label = $p; - $pcrel_label =~ s/(.|\n)*^.LCF(\d+):\n(.|\n)*/$2/ or $pcrel_label = ""; - - $p =~ s/^\tbcl 20,31,.LCF\d+\n//; - $p =~ s/^.LCF\d+:\n//; - $p =~ s/^\tmflr 30\n//; - $p =~ s/^\tlwz 0,\.LCL\d+-\.LCF\d+\(30\)\n//; - $p =~ s/^\tadd 30,0,30\n//; - # This is bad: GCC 3 seems to zero-fill some local variables in the prologue # under some circumstances, only when generating position dependent code. # I have no idea why, and I don't think it is necessary, so let's toss it. -- 1.7.10.4