summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2014-01-24 10:01:56 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-01-24 10:01:56 -0800
commita5262f834a754dcc37db768c1ee24d7ae52247e5 (patch)
treea1fadc0b128569d6fbb9714ebea604da0b5f2f8b
parenta78ad74bbfbe2bee6b2909e9574892d38082e4ea (diff)
downloadbinutils-gdb-a5262f834a754dcc37db768c1ee24d7ae52247e5.tar.gz
Replace .align with .p2align
* ld-elf/pr16498a.s: Replace .align with .p2align.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/pr16498a.s6
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 9e8553a730c..39cc0fb6c03 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
+ * ld-elf/pr16498a.s: Replace .align with .p2align.
+
+2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
+
PR ld/16498
* ld-elf/pr16498b.d: New file.
* ld-elf/pr16498b.t: Likewise.
diff --git a/ld/testsuite/ld-elf/pr16498a.s b/ld/testsuite/ld-elf/pr16498a.s
index 77f80e6848f..be503a28413 100644
--- a/ld/testsuite/ld-elf/pr16498a.s
+++ b/ld/testsuite/ld-elf/pr16498a.s
@@ -1,6 +1,6 @@
.globl data
.data
- .align 32
+ .p2align 5
.type data, %object
.size data, 120
data:
@@ -8,14 +8,14 @@ data:
.zero 116
.globl foo
.section .tbss,"awT",%nobits
- .align 4
+ .p2align 2
.type foo, %object
.size foo, 4
foo:
.zero 4
.globl bar
.section .tdata,"awT",%progbits
- .align 16
+ .p2align 4
.type bar, %object
.size bar, 80
bar: