96bf8cb07d
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.
10 lines
226 B
Perl
10 lines
226 B
Perl
NOCROSSREFS_TO(.data .nocrossrefs)
|
|
|
|
SECTIONS
|
|
{
|
|
.text : { *(.text) *(.text.*) }
|
|
.nocrossrefs : { *(.nocrossrefs) }
|
|
.data : { *(.data) *(.data.*) *(.sdata) *(.opd) }
|
|
.bss : { *(.bss) *(COMMON) }
|
|
/DISCARD/ : { *(*) }
|
|
}
|