* emultempl/elf32.em (_place_orphan): If an input section doesn't
authorDJ Delorie <dj@redhat.com>
Thu, 14 Jan 2010 04:56:12 +0000 (04:56 +0000)
committerDJ Delorie <dj@redhat.com>
Thu, 14 Jan 2010 04:56:12 +0000 (04:56 +0000)
commitb5f14a6dffb53245e454ebeb1a353a42d02dfc04
treee1b66d5c9a817b328932a970ecb305ce71d3b3fc
parent62fb9fe1fcde9fd534fdc4f284257212804bb1fe
* emultempl/elf32.em (_place_orphan): If an input section doesn't
match an existing output section, but an unused output section
statement does match, use it.
* emultempl/pe.em (_place_orphan): Likewise.
* emultempl/pep.em (_place_orphan): Likewise.

* ld-elf/orphan4.d: New.
* ld-elf/orphan4.ld: New.
* ld-elf/orphan4.s: New.
ld/ChangeLog
ld/emultempl/elf32.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/orphan4.d [new file with mode: 0644]
ld/testsuite/ld-elf/orphan4.ld [new file with mode: 0644]
ld/testsuite/ld-elf/orphan4.s [new file with mode: 0644]