diff options
author | Alan Modra <amodra@gmail.com> | 2016-04-21 11:05:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-04-21 11:17:37 +0930 |
commit | 96bf8cb07d2cc8d6f7b509c4430be9966fff1fdd (patch) | |
tree | 194c7a372493e0ebb4f3139ede70677af0a107d3 /ld/testsuite/ld-scripts/cross3.t | |
parent | e66cdd681f47dc51beaeee3d813f1c9cba27dedf (diff) | |
download | gdb-96bf8cb07d2cc8d6f7b509c4430be9966fff1fdd.zip gdb-96bf8cb07d2cc8d6f7b509c4430be9966fff1fdd.tar.gz gdb-96bf8cb07d2cc8d6f7b509c4430be9966fff1fdd.tar.bz2 |
New NOCROSSREFS_TO tests
Fixes failures on hppa-linux and alpha-linux due to not merging
.data.* and .sdata into .data. cross3.t modified too since it is the
template for the NOCROSSREFS_TO scripts.
* testsuite/ld-scripts/cross3.t: Add commonly used data
and text section names to output section statements.
* testsuite/ld-scripts/cross4.t: Likewise.
* testsuite/ld-scripts/cross5.t: Likewise.
* testsuite/ld-scripts/cross6.t: Likewise.
* testsuite/ld-scripts/cross7.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/cross3.t')
-rw-r--r-- | ld/testsuite/ld-scripts/cross3.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/cross3.t b/ld/testsuite/ld-scripts/cross3.t index 5e32bb2..e48b947 100644 --- a/ld/testsuite/ld-scripts/cross3.t +++ b/ld/testsuite/ld-scripts/cross3.t @@ -2,9 +2,9 @@ NOCROSSREFS(.nocrossrefs .text) SECTIONS { - .text : { *(.text) } + .text : { *(.text) *(.text.*) } .nocrossrefs : { *(.nocrossrefs) } - .data : { *(.data) *(.opd) } + .data : { *(.data) *(.data.*) *(.sdata) *(.opd) } .bss : { *(.bss) *(COMMON) } /DISCARD/ : { *(*) } } |