Fix lots of linker testsuite failures for the FT32 target.
authorNick Clifton <nickc@redhat.com>
Wed, 18 May 2016 09:11:47 +0000 (10:11 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 18 May 2016 09:11:47 +0000 (10:11 +0100)
commitd1f70bdcab6cffce423617c6e081a5128d9dabe0
tree730248b9de4669940b019f29f6fb71a1fb9c07ac
parent7f9919700d0023db7d66fee9f437251a263f5d53
Fix lots of linker testsuite failures for the FT32 target.

* scripttempl/ft32.sc: Use fixed constants for memory region
lengths.  Include DWARF debug sections.
(.data .bss): Do not assign locations during relocatable links.
* testsuite/ld-elf/compressed1d.d: Skip for FT32.
* testsuite/ld-elf/sec-to-seg.exp: Likewise.
* testsuite/ld-elf/sec64k.exp: Likewise.
* testsuite/ld-elf/init-fini-array.d: XFail for FT32.
* testsuite/ld-elf/merge.d: Likewise.
* testsuite/ld-elf/orphan-region.d: Likewise.
* testsuite/ld-elf/orphan.s: Likewise.
* testsuite/ld-elf/orphan3.d: Likewise.
* testsuite/ld-elf/pr349.d: Likewise.
* testsuite/ld-elf/warn2.d: Likewise.
* testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
that the FT32 does not support shared libraries.
14 files changed:
ld/ChangeLog
ld/scripttempl/elf32msp430.sc
ld/scripttempl/ft32.sc
ld/testsuite/ld-elf/compressed1d.d
ld/testsuite/ld-elf/init-fini-arrays.d
ld/testsuite/ld-elf/merge.d
ld/testsuite/ld-elf/orphan-region.d
ld/testsuite/ld-elf/orphan.d
ld/testsuite/ld-elf/orphan3.d
ld/testsuite/ld-elf/pr349.d
ld/testsuite/ld-elf/sec-to-seg.exp
ld/testsuite/ld-elf/sec64k.exp
ld/testsuite/ld-elf/warn2.d
ld/testsuite/lib/ld-lib.exp