Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e4de0a19149980a2e624c311778995f86e372bd7

>---------------------------------------------------------------

commit e4de0a19149980a2e624c311778995f86e372bd7
Author: Ian Lynagh <[email protected]>
Date:   Sat Oct 13 15:43:08 2012 +0100

    Fix memcpy when -fPIC is on
    
    We get a reference to memcpy@plt rather than memcpy

>---------------------------------------------------------------

 driver/testlib.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/driver/testlib.py b/driver/testlib.py
index 25b550a..c9dcc17 100644
--- a/driver/testlib.py
+++ b/driver/testlib.py
@@ -1753,6 +1753,7 @@ def normalise_asm( str ):
     for line in lines:
       # Drop metadata directives (e.g. ".type")
       if not metadata.match(line):
+        line = re.sub('@plt', '', line)
         instr = line.lstrip().split()
         # Drop empty lines.
         if not instr:



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to