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:
parent
f782ad9ba5
commit
4b7e639504
5 changed files with 12 additions and 3 deletions
|
@ -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>
|
2012-07-26 Meador Inge <meadori@codesourcery.com>
|
||||||
|
|
||||||
PR ld/14397
|
PR ld/14397
|
||||||
|
|
|
@ -11,6 +11,6 @@ main:
|
||||||
|
|
||||||
.section .fini
|
.section .fini
|
||||||
.p2align 2
|
.p2align 2
|
||||||
.globl foo
|
.global foo
|
||||||
.type foo,%function
|
.type foo,%function
|
||||||
foo:
|
foo:
|
||||||
|
|
|
@ -11,6 +11,6 @@ main:
|
||||||
|
|
||||||
.section .foo,"ax",%progbits
|
.section .foo,"ax",%progbits
|
||||||
.p2align 2
|
.p2align 2
|
||||||
.globl foo
|
.global foo
|
||||||
.type foo,%function
|
.type foo,%function
|
||||||
foo:
|
foo:
|
||||||
|
|
|
@ -11,6 +11,6 @@ main:
|
||||||
|
|
||||||
.section .init
|
.section .init
|
||||||
.p2align 2
|
.p2align 2
|
||||||
.globl foo
|
.global foo
|
||||||
.type foo,%function
|
.type foo,%function
|
||||||
foo:
|
foo:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
SECTIONS {
|
SECTIONS {
|
||||||
|
.text : { *(.text) }
|
||||||
.foo : { *(SORT_NONE(.foo)) }
|
.foo : { *(SORT_NONE(.foo)) }
|
||||||
/DISCARD/ : { *(.*) }
|
/DISCARD/ : { *(.*) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue