diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2014-12-06 16:45:22 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2014-12-06 16:45:22 +0100 |
commit | c18392d87d22191584d76f7b4a850eb9508a8f04 (patch) | |
tree | a31b29449dd6f68dd41d55932f4ec1c3d8c51a1c /ld/testsuite/ld-elf | |
parent | b6605dddac58805d735211f0d38805bf87b6db04 (diff) | |
download | fsf-binutils-gdb-c18392d87d22191584d76f7b4a850eb9508a8f04.zip fsf-binutils-gdb-c18392d87d22191584d76f7b4a850eb9508a8f04.tar.gz fsf-binutils-gdb-c18392d87d22191584d76f7b4a850eb9508a8f04.tar.bz2 |
Add Visium support to ld
ld/
* configure.tgt: Add Visium support.
* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32visium.c.
(eelf32visium.c): New rule.
* Makefile.in: Regenerate.
* emulparams/elf32visium.sh: New file.
* scripttempl/visium.sc: Likewise.
ld/testsuite/
* lib/ld-lib.exp (check_shared_lib_support): Return 0 for Visium.
* ld-visium/: New directory.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r-- | ld/testsuite/ld-elf/eh-frame-hdr.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/eh5.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/flags1.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr14926.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/sec-to-seg.exp | 1 |
5 files changed, 6 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elf/eh-frame-hdr.d b/ld/testsuite/ld-elf/eh-frame-hdr.d index 45a890d..4214ed5 100644 --- a/ld/testsuite/ld-elf/eh-frame-hdr.d +++ b/ld/testsuite/ld-elf/eh-frame-hdr.d @@ -2,7 +2,7 @@ #ld: -e _start --eh-frame-hdr #objdump: -hw #target: cfi -#xfail: avr*-*-* or1k-*-* +#xfail: avr*-*-* or1k-*-* visium-*-* # avr doesn't support shared libraries. #... [0-9] .eh_frame_hdr 0*[12][048c] .* diff --git a/ld/testsuite/ld-elf/eh5.d b/ld/testsuite/ld-elf/eh5.d index 29dcdf9..1a5148c 100644 --- a/ld/testsuite/ld-elf/eh5.d +++ b/ld/testsuite/ld-elf/eh5.d @@ -4,7 +4,7 @@ #ld: #readelf: -wf #target: cfi -#notarget: alpha* hppa64* tile* +#notarget: alpha* hppa64* tile* visium* Contents of the .eh_frame section: diff --git a/ld/testsuite/ld-elf/flags1.d b/ld/testsuite/ld-elf/flags1.d index 63c2e3a..e7c6b4f 100644 --- a/ld/testsuite/ld-elf/flags1.d +++ b/ld/testsuite/ld-elf/flags1.d @@ -3,9 +3,9 @@ #objcopy_linked_file: --set-section-flags .post_text_reserve=contents,alloc,load,readonly,code #readelf: -l --wide #xfail: "avr-*-*" "dlx-*-*" "h8300-*-*" "i960-*-*" "ip2k-*-*" "m32r-*-*" -#xfail: "moxie-*-*" "mt-*-*" "*-*-nacl*" +#xfail: "moxie-*-*" "mt-*-*" "visium-*-*" "*-*-nacl*" #xfail: "*-*-hpux*" "hppa*64*-*-*" -# Fails on the AVR, DLX, H8300, I960, IP2K, M32R, MOXIE, MT, +# Fails on the AVR, DLX, H8300, I960, IP2K, M32R, MOXIE, MT, VISIUM # and all NaCl targets, # because the two sections are not merged into one segment. # (There is no good reason why they have to be). diff --git a/ld/testsuite/ld-elf/pr14926.d b/ld/testsuite/ld-elf/pr14926.d index 148c8b4..4f7fef4 100644 --- a/ld/testsuite/ld-elf/pr14926.d +++ b/ld/testsuite/ld-elf/pr14926.d @@ -1,6 +1,6 @@ #ld: -Ttext=0x60 #readelf: -S --wide -#notarget: d10v-*-* msp*-*-* xstormy*-*-* +#notarget: d10v-*-* msp*-*-* visium-*-* xstormy*-*-* # the above targets use memory regions that don't allow 0x60 for .text #... diff --git a/ld/testsuite/ld-elf/sec-to-seg.exp b/ld/testsuite/ld-elf/sec-to-seg.exp index 612dd0c..30bf756 100644 --- a/ld/testsuite/ld-elf/sec-to-seg.exp +++ b/ld/testsuite/ld-elf/sec-to-seg.exp @@ -86,6 +86,7 @@ if { [istarget avr-*-*] || [istarget moxie-*-*] || [istarget msp430-*-*] || [istarget mt-*-*] + || [istarget visium-*-*] } { set B_test_same_seg 0 } else { |