From a78ad74bbfbe2bee6b2909e9574892d38082e4ea Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 24 Jan 2014 09:03:21 -0800 Subject: [PATCH] Add another testcase for PR ld/16498 PR ld/16498 * ld-elf/pr16498b.d: New file. * ld-elf/pr16498b.t: Likewise. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-elf/pr16498b.d | 10 ++++++++++ ld/testsuite/ld-elf/pr16498b.t | 6 ++++++ 3 files changed, 22 insertions(+) create mode 100644 ld/testsuite/ld-elf/pr16498b.d create mode 100644 ld/testsuite/ld-elf/pr16498b.t diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 4f0a75bbe85..9e8553a730c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2014-01-24 H.J. Lu + + PR ld/16498 + * ld-elf/pr16498b.d: New file. + * ld-elf/pr16498b.t: Likewise. + 2014-01-24 H.J. Lu PR ld/16498 diff --git a/ld/testsuite/ld-elf/pr16498b.d b/ld/testsuite/ld-elf/pr16498b.d new file mode 100644 index 00000000000..c70c2393e94 --- /dev/null +++ b/ld/testsuite/ld-elf/pr16498b.d @@ -0,0 +1,10 @@ +#source: pr16498a.s +#ld: -shared -T pr16498b.t +#readelf: -l --wide +#target: *-*-linux* *-*-gnu* *-*-nacl* + +#... + TLS .* +#... +[ ]+[0-9]+[ ]+tls_data_init .tbss[ ]* +#pass diff --git a/ld/testsuite/ld-elf/pr16498b.t b/ld/testsuite/ld-elf/pr16498b.t new file mode 100644 index 00000000000..b88f9b8e78a --- /dev/null +++ b/ld/testsuite/ld-elf/pr16498b.t @@ -0,0 +1,6 @@ +SECTIONS +{ + tls_data_init : { *(.tdata) } + .data : { *(.data) + } +} -- 2.30.2