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.
This commit is contained in:
H.J. Lu 2012-07-31 20:45:01 +00:00
parent f782ad9ba5
commit 4b7e639504
5 changed files with 12 additions and 3 deletions

View 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

View File

@ -11,6 +11,6 @@ main:
.section .fini
.p2align 2
.globl foo
.global foo
.type foo,%function
foo:

View File

@ -11,6 +11,6 @@ main:
.section .foo,"ax",%progbits
.p2align 2
.globl foo
.global foo
.type foo,%function
foo:

View File

@ -11,6 +11,6 @@ main:
.section .init
.p2align 2
.globl foo
.global foo
.type foo,%function
foo:

View File

@ -1,4 +1,5 @@
SECTIONS {
.text : { *(.text) }
.foo : { *(SORT_NONE(.foo)) }
/DISCARD/ : { *(.*) }
}