aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-07-31 20:45:01 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-07-31 20:45:01 +0000
commit4b7e639504c9f2a60bed500f96ede38d50e1a1e9 (patch)
treec12c47a6987d5c712e94d64a4dff05b7d9406bc3 /ld
parentf782ad9ba53672b4ae6151b1cfa514f5f97b33eb (diff)
downloadgdb-4b7e639504c9f2a60bed500f96ede38d50e1a1e9.zip
gdb-4b7e639504c9f2a60bed500f96ede38d50e1a1e9.tar.gz
gdb-4b7e639504c9f2a60bed500f96ede38d50e1a1e9.tar.bz2
Update PR ld/14156 tests
* ld-elf/fini0.s: Indent global directive. * ld-elf/foo0.s: Likewise. * ld-elf/init0.s: Likewise. * ld-elf/pr14156c.t: Keep text section.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog8
-rw-r--r--ld/testsuite/ld-elf/fini0.s2
-rw-r--r--ld/testsuite/ld-elf/foo0.s2
-rw-r--r--ld/testsuite/ld-elf/init0.s2
-rw-r--r--ld/testsuite/ld-elf/pr14156c.t1
5 files changed, 12 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 410143e..fde582a 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2012-07-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-elf/fini0.s: Indent global directive.
+ * ld-elf/foo0.s: Likewise.
+ * ld-elf/init0.s: Likewise.
+
+ * ld-elf/pr14156c.t: Keep text section.
+
2012-07-26 Meador Inge <meadori@codesourcery.com>
PR ld/14397
diff --git a/ld/testsuite/ld-elf/fini0.s b/ld/testsuite/ld-elf/fini0.s
index f2ccfb7..3bb53f0 100644
--- a/ld/testsuite/ld-elf/fini0.s
+++ b/ld/testsuite/ld-elf/fini0.s
@@ -11,6 +11,6 @@ main:
.section .fini
.p2align 2
-.globl foo
+ .global foo
.type foo,%function
foo:
diff --git a/ld/testsuite/ld-elf/foo0.s b/ld/testsuite/ld-elf/foo0.s
index df71662..8104970 100644
--- a/ld/testsuite/ld-elf/foo0.s
+++ b/ld/testsuite/ld-elf/foo0.s
@@ -11,6 +11,6 @@ main:
.section .foo,"ax",%progbits
.p2align 2
-.globl foo
+ .global foo
.type foo,%function
foo:
diff --git a/ld/testsuite/ld-elf/init0.s b/ld/testsuite/ld-elf/init0.s
index 3c8cf8c..68281d2 100644
--- a/ld/testsuite/ld-elf/init0.s
+++ b/ld/testsuite/ld-elf/init0.s
@@ -11,6 +11,6 @@ main:
.section .init
.p2align 2
-.globl foo
+ .global foo
.type foo,%function
foo:
diff --git a/ld/testsuite/ld-elf/pr14156c.t b/ld/testsuite/ld-elf/pr14156c.t
index 97ad77d..c8be2c5 100644
--- a/ld/testsuite/ld-elf/pr14156c.t
+++ b/ld/testsuite/ld-elf/pr14156c.t
@@ -1,4 +1,5 @@
SECTIONS {
+ .text : { *(.text) }
.foo : { *(SORT_NONE(.foo)) }
/DISCARD/ : { *(.*) }
}