Allow self-assignment for absolute symbols defined in a linker script
[deliverable/binutils-gdb.git] / ld / testsuite / ld-scripts / empty-orphan.exp
CommitLineData
de7f8cc8
BW
1# Make sure orphan sections do not lead to huge output files.
2# By David Heine, Tensilica, Inc.
aa820537 3# Copyright 2005, 2006, 2007, 2009
de7f8cc8
BW
4# Free Software Foundation, Inc.
5#
f96b4a7b
NC
6# This file is part of the GNU Binutils.
7#
8# This program is free software; you can redistribute it and/or modify
de7f8cc8 9# it under the terms of the GNU General Public License as published by
f96b4a7b 10# the Free Software Foundation; either version 3 of the License, or
de7f8cc8 11# (at your option) any later version.
f96b4a7b 12#
de7f8cc8
BW
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16# GNU General Public License for more details.
f96b4a7b 17#
de7f8cc8
BW
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
f96b4a7b
NC
20# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21# MA 02110-1301, USA.
de7f8cc8
BW
22
23# PHDRS is only meaningful for ELF.
24if ![is_elf_format] {
25 return
26}
27
e4970690 28set old_ldflags $LDFLAGS
e9f53129 29if { [istarget spu*-*-*] } {
e4970690 30 set LDFLAGS "$LDFLAGS --local-store 0:0"
e9f53129
AM
31}
32
de7f8cc8
BW
33set testname "empty-orphan"
34
35run_dump_test empty-orphan
e4970690
AM
36
37set LDFLAGS $old_ldflags
This page took 0.389167 seconds and 4 git commands to generate.