x86_64: include .type and .size directives in the output, for valgrind
authorSimon Marlow <simonmar@microsoft.com>
Mon, 27 Feb 2006 15:28:22 +0000 (15:28 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 27 Feb 2006 15:28:22 +0000 (15:28 +0000)
ghc/driver/mangler/ghc-asm.lprl

index 19c3012..d4f06e0 100644 (file)
@@ -219,7 +219,7 @@ sub init_TARGET_STUFF {
     $T_POST_LBL     = ':';
 
     $T_MOVE_DIRVS   = '^(\s*\.(globl|text|data|section|align|size|type|ident|local)\s+.*\n)';
-    $T_COPY_DIRVS   = '\.(globl|local)';
+    $T_COPY_DIRVS   = '\.(globl|type|size|local)';
 
     $T_DOT_WORD     = '\.(quad|long|value|byte|zero)';
     $T_DOT_GLOBAL   = '\.global';