Update PR ld/14962 testcase
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Dec 2012 15:37:40 +0000 (15:37 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Dec 2012 15:37:40 +0000 (15:37 +0000)
ld/testsuite/ld-elf/var1.d
ld/testsuite/ld-elf/var1.s

index 4ddfec3c887cfaf9beafaa5d882d1453d5902b7c..f0999f6e6ea3563cbafa0d07995367e0d6dfe9a9 100644 (file)
@@ -4,7 +4,7 @@
 #...
 0[0-9a-f]* D var1
 #...
-0[0-9a-f]* A var2
+0[0-9a-f]*3 A var2
 #...
 0[0-9a-f]* D var3
 #pass
index 6e2258beaad7ca233ae1abd7c68c458de36aa36b..58bc931cdaf8fbbfa2e30d619e11761fff56ef22 100644 (file)
@@ -10,21 +10,21 @@ __start:
        .byte 0
        .globl  var3
        .section        .data.var3,"aw",%progbits
-       .align 4
+       .p2align 2
        .type   var3, %object
        .size   var3, 4
 var3:
        .zero   4
        .globl  var2
        .section        .data.var2,"aw",%progbits
-       .align 16
+       .p2align 4
        .type   var2, %object
        .size   var2, 16
 var2:
        .zero   16
        .globl  var1
        .section        .data.var1,"aw",%progbits
-       .align 4
+       .p2align 2
        .type   var1, %object
        .size   var1, 4
 var1: