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.
This commit is contained in:
parent
e66cdd681f
commit
96bf8cb07d
|
@ -1,3 +1,12 @@
|
|||
2016-04-21 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ldlang.c (lang_check_relocs): New function.
|
||||
|
|
|
@ -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/ : { *(*) }
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@ NOCROSSREFS_TO(.data .nocrossrefs)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text) }
|
||||
.text : { *(.text) *(.text.*) }
|
||||
.nocrossrefs : { *(.nocrossrefs) }
|
||||
.data : { *(.data) *(.opd) }
|
||||
.data : { *(.data) *(.data.*) *(.sdata) *(.opd) }
|
||||
.bss : { *(.bss) *(COMMON) }
|
||||
/DISCARD/ : { *(*) }
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@ NOCROSSREFS_TO(.nocrossrefs .data)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text) }
|
||||
.text : { *(.text) *(.text.*) }
|
||||
.nocrossrefs : { *(.nocrossrefs) }
|
||||
.data : { *(.data) *(.opd) }
|
||||
.data : { *(.data) *(.data.*) *(.sdata) *(.opd) }
|
||||
.bss : { *(.bss) *(COMMON) }
|
||||
/DISCARD/ : { *(*) }
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@ NOCROSSREFS_TO(.text .data)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text) }
|
||||
.data : { *(.data) *(.opd) }
|
||||
.text : { *(.text) *(.text.*) }
|
||||
.data : { *(.data) *(.data.*) *(.sdata) *(.opd) }
|
||||
.bss : { *(.bss) *(COMMON) }
|
||||
/DISCARD/ : { *(*) }
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@ NOCROSSREFS_TO(.data .text)
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
.text : { *(.text) }
|
||||
.data : { *(.data) *(.opd) }
|
||||
.text : { *(.text) *(.text.*) }
|
||||
.data : { *(.data) *(.data.*) *(.sdata) *(.opd) }
|
||||
.bss : { *(.bss) *(COMMON) }
|
||||
/DISCARD/ : { *(*) }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue