* gas/i386/float.s, gas/i386/float.l: Modify to work correctly
authorIan Lance Taylor <ian@airs.com>
Mon, 9 Aug 1999 04:41:00 +0000 (04:41 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 9 Aug 1999 04:41:00 +0000 (04:41 +0000)
when gas uses 2**4 alignment for .text.
* gas/i386/general.s, gas/i386/general.l: Likewise.
* gas/i386/katmai.s, gas/i386/katmai.d: Likewise.
* gas/i386/modrm.s, gas/i386/modrm.l: Likewise.
* gas/i386/prefix.s, gas/i386/prefix.d: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/float.l
gas/testsuite/gas/i386/float.s
gas/testsuite/gas/i386/general.l
gas/testsuite/gas/i386/general.s
gas/testsuite/gas/i386/katmai.d
gas/testsuite/gas/i386/katmai.s
gas/testsuite/gas/i386/modrm.l
gas/testsuite/gas/i386/modrm.s
gas/testsuite/gas/i386/prefix.d
gas/testsuite/gas/i386/prefix.s

index 7164ed37c4ff54276ce01776d9b0689d13e29ed2..5197d73b0af9638b17a8faf0bf731db89d80975a 100644 (file)
@@ -1,3 +1,12 @@
+1999-08-09  Ian Lance Taylor  <ian@zembu.com>
+
+       * gas/i386/float.s, gas/i386/float.l: Modify to work correctly
+       when gas uses 2**4 alignment for .text.
+       * gas/i386/general.s, gas/i386/general.l: Likewise.
+       * gas/i386/katmai.s, gas/i386/katmai.d: Likewise.
+       * gas/i386/modrm.s, gas/i386/modrm.l: Likewise.
+       * gas/i386/prefix.s, gas/i386/prefix.d: Likewise.
+
 1999-07-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
 
        * gas/i386/reloc.d: Fix so that test passes when enable-targets
index 6d6cadd740f6a7f18e51f875f265afd870395cc7..ec56f555d36a2f11a9c1f658cd2b94c5e32896fb 100644 (file)
@@ -79,3 +79,7 @@
   66 007e DEF9 [       ]*fdivrp
   67 0080 DEFB [       ]*fdivrp        %st\(3\)
   68 0082 DEFB [       ]*fdivrp        %st,%st\(3\)
+  69 [         ]*
+  70 0084 00000000 [   ]*.p2align      4,0
+  70      00000000 
+  70      00000000 
index 6bb09f8b8912d35be5f54ba2b83a73ad25d65c0a..03d30b7ed74935f95135d4e9a611752f041f7db0 100644 (file)
@@ -66,3 +66,5 @@
        fdivrp
        fdivrp  %st(3)
        fdivrp  %st,%st(3)
+
+       .p2align        4,0
index a4034471ea59870210170d6cb363116ce2ea4616..68f660030ccf33ab2372343bc654df2a6d1fd9f1 100644 (file)
  148 013e 80250000 00007F              andb    \$~0x80,foo
  149                           
  150                                   # Force a good alignment.
- 151 0145 0000                         .word   0
- 152 0147 00                           .byte   0
+ 151 0145 00000000 00000000[   ]*.p2align      4,0
+ 151      000000
+
index d73f489cfdc7712cf0b1c181451b7c1d4d99d893..cbe037300d812a3b04d03dc3fe6601be62b84d61 100644 (file)
        andb    $~0x80,foo
 
        # Force a good alignment.
-       .word   0
-       .byte   0
+       .p2align        4,0
index 4215498cf185202b9bd53c99f5b70fb27c02d6b3..7d08581766be149accf1c465a94b54f3d59a00fc 100644 (file)
@@ -167,11 +167,6 @@ Disassembly of section .text:
  248:  65 [    ]*gs
  249:  0f [    ]*sfence.*\(bad\).*
  24a:  ae [    ]*scas   %es:\(%edi\),%al
- 24b:  ff 90 90 90 90 90 [     ]*call   \*0x90909090\(%eax\)
- 251:  90 [    ]*nop    
- 252:  90 [    ]*nop    
- 253:  90 [    ]*nop    
- 254:  90 [    ]*nop    
- 255:  90 [    ]*nop    
- 256:  90 [    ]*nop    
- 257:  90 [    ]*nop    
+ 24b:  ff 00 [         ]*incl   \(%eax\)
+ 24d:  00 00 [         ]*add    %al,\(%eax\)
+       ...
index d42a74ded1efe4bbbaca66ecd52671cfced47a3c..534d15d1b4ca964ad2136838b019c53d75465f8f 100644 (file)
@@ -163,5 +163,5 @@ foo:
  nop
 # A bad sfence modrm byte
 .byte 0x65,0x0F,0xAE,0xff
-# Pad out to goo alignment
-.byte 0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90
+# Pad out to good alignment
+ .p2align 4,0
index 8a1bc7912f3aa013ae4e39b13d76962136183c89..3e3b09659391fbf901470ba23d5f812b9ce5cf63 100644 (file)
 .*Warning:.*
  1669 [        ]*
  1670 [        ]*              # Force a good alignment.
- 1671 217b 00 [        ]*      .byte   0
+ 1671 217b 00000000 00[        ]*.p2align      4,0
index a6fc689aa6c3af378632808cf5165e649d71ede1..dbd446c50a609ea411ff957085949171c563ca63 100644 (file)
        mov     %ds,%ds:0x12(,8)
 
        # Force a good alignment.
-       .byte   0
+       .p2align        4,0
index 61eba812a4170eaab73e1b34bd36cd44ab99d2fb..054b658a3cf8958092beab5e071da7c2ebe68bf2 100644 (file)
@@ -12,4 +12,4 @@ Disassembly of section .text:
    b:  9b df e0 [      ]*fstsw  %ax
    e:  9b 67 df e0 [   ]*addr16 fstsw %ax
   12:  f3 67 66 36 a7 [        ]*repz addr16 cmpsw %es:\(%di\),%ss:\(%si\)
-  17:  90 [    ]*nop    
+       ...
index a998b415b1ffb5db41f4fb8f393628ab22101659..8f5dffdbf16e5ebca82dcca27abe6b3e4e16506c 100644 (file)
@@ -8,4 +8,4 @@ foo:
  addr16 rep cmpsw %es:(%di),%ss:(%si)
 
 # Get a good alignment.
- nop
+ .p2align      4,0