From: H.J. Lu Date: Tue, 31 Jul 2012 20:45:01 +0000 (+0000) Subject: Update PR ld/14156 tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b7e639504c9f2a60bed500f96ede38d50e1a1e9;p=binutils-gdb.git 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. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 410143eed0f..fde582a2605 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2012-07-31 H.J. Lu + + * 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 PR ld/14397 diff --git a/ld/testsuite/ld-elf/fini0.s b/ld/testsuite/ld-elf/fini0.s index f2ccfb7596e..3bb53f013e5 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 df716626fc7..81049704fe2 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 3c8cf8ccfd4..68281d226ad 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 97ad77da775..c8be2c57bfb 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/ : { *(.*) } }