commit dfda04e16fa0cb3929c799d3fdec6b2c1bcc7e51 Author: Chris Dearman Date: Wed Apr 15 10:26:38 2009 -0700 [MIPS] Generate non-PIC object file when building mcount helper code Signed-off-by: Chris Dearman diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 8f6118e..ccf4043 100755 --- a/scripts/recordmcount.pl +++ b/scripts/recordmcount.pl @@ -213,7 +213,7 @@ if ($arch eq "x86_64") { $ld .= " -melf".$bits."ltsmip"; } - $cc .= " -mno-abicalls -mabi=" . $bits . $endian; + $cc .= " -mno-abicalls -fno-pic -mabi=" . $bits . $endian; $ld .= $endian; if ($bits == 64) {