Update PR ld/14156 tests
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Jul 2012 20:45:01 +0000 (20:45 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Jul 2012 20:45:01 +0000 (20:45 +0000)
* ld-elf/fini0.s: Indent global directive.
* ld-elf/foo0.s: Likewise.
* ld-elf/init0.s: Likewise.

* ld-elf/pr14156c.t: Keep text section.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/fini0.s
ld/testsuite/ld-elf/foo0.s
ld/testsuite/ld-elf/init0.s
ld/testsuite/ld-elf/pr14156c.t

index 410143e..fde582a 100644 (file)
@@ -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
index f2ccfb7..3bb53f0 100644 (file)
@@ -11,6 +11,6 @@ main:
 
        .section .fini
        .p2align 2
-.globl foo
+       .global foo
        .type   foo,%function
 foo:
index df71662..8104970 100644 (file)
@@ -11,6 +11,6 @@ main:
 
        .section .foo,"ax",%progbits
        .p2align 2
-.globl foo
+       .global foo
        .type   foo,%function
 foo:
index 3c8cf8c..68281d2 100644 (file)
@@ -11,6 +11,6 @@ main:
 
        .section .init
        .p2align 2
-.globl foo
+       .global foo
        .type   foo,%function
 foo:
index 97ad77d..c8be2c5 100644 (file)
@@ -1,4 +1,5 @@
 SECTIONS {
+  .text : { *(.text) }
   .foo : { *(SORT_NONE(.foo)) }
   /DISCARD/ : { *(.*) }
 }