[project @ 1998-04-17 10:13:36 by simonm]
authorsimonm <unknown>
Fri, 17 Apr 1998 10:13:36 +0000 (10:13 +0000)
committersimonm <unknown>
Fri, 17 Apr 1998 10:13:36 +0000 (10:13 +0000)
- support the .p2align directive on x86 a.out architectures.  This
  might be required for others, too.

ghc/driver/ghc-asm.lprl

index 6c6ac74..58f77ec 100644 (file)
@@ -117,7 +117,7 @@ sub init_TARGET_STUFF {
     $T_X86_PRE_LLBL        = 'L';
     $T_X86_BADJMP   = '^\tjmp [^L\*]';
 
-    $T_MOVE_DIRVS   = '^(\s*(\.align\s+\d+(,0x90)?|\.globl\s+\S+|\.text|\.data|\.stab[^n].*|\.type\s+.*|\.size\s+.*)\n)';
+    $T_MOVE_DIRVS   = '^(\s*(\.(p2)?align\s+\d+(,0x90)?|\.globl\s+\S+|\.text|\.data|\.stab[^n].*|\.type\s+.*|\.size\s+.*)\n)';
     $T_COPY_DIRVS   = '\.(globl|stab)';
     $T_hsc_cc_PAT   = '\.ascii.*\)(hsc|cc) (.*)\\\\11"\n\t\.ascii\s+"(.*)\\\\0"';
     $T_DOT_WORD            = '\.long';