diff options
author | Alan Modra <amodra@gmail.com> | 2022-12-23 17:43:21 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-01-02 14:03:22 +1030 |
commit | 3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e (patch) | |
tree | 63a1b394aac8e6785ce103500e119fb2fcc19830 /ld | |
parent | e2a3b3256f5c9da1f9731d24d3d32da6c9719b99 (diff) | |
download | binutils-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.zip binutils-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.tar.gz binutils-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.tar.bz2 |
obsolete target tidy
Delete a few files only used for obsolete targets, and tidy config,
xfails and other pieces of support specific to those targets. And
since I was editing target triplets in test files, fix the nm
alpha-linuxecoff fails.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/configure.tgt | 15 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/merge.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvers/vers.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfweak/elfweak.exp | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/expr2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/fill.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/fill16.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/phdrs2.exp | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/segment-start.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/shared.exp | 2 |
10 files changed, 6 insertions, 31 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index de04a44..eeaad47 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -374,23 +374,14 @@ i[3-7]86-*-linux-*) targ_emul=elf_i386 i[3-7]86-*-redox*) targ_emul=elf_i386 targ_extra_emuls=elf_x86_64 ;; -i[3-7]86-*-sysv[45]*) targ_emul=elf_i386 - targ_extra_emuls=elf_iamcu - ;; i[3-7]86-*-solaris2*) targ_emul=elf_i386_sol2 targ_extra_emuls="elf_i386_ldso elf_i386 elf_iamcu elf_x86_64_sol2 elf_x86_64" targ_extra_libpath=$targ_extra_emuls ;; -i[3-7]86-*-unixware) targ_emul=elf_i386 - targ_extra_emuls=elf_iamcu - ;; i[3-7]86-*-solaris*) targ_emul=elf_i386_ldso targ_extra_emuls="elf_i386" targ_extra_libpath=$targ_extra_emuls ;; -i[3-7]86-*-netbsdpe*) targ_emul=i386pe - targ_extra_ofiles="deffilep.o pe-dll.o" - ;; i[3-7]86-*-netbsd* | \ i[3-7]86-*-netbsd*-gnu* | \ i[3-7]86-*-knetbsd*-gnu | \ @@ -869,12 +860,6 @@ sh*eb-*-linux*) targ_emul=shelf_linux sh*-*-linux*) targ_emul=shlelf_linux targ_extra_emuls="shlelf_fd" ;; -sh*l*-*-netbsdaout*) targ_emul=shl - targ_extra_emuls=sh - ;; -sh*-*-netbsdaout*) targ_emul=sh - targ_extra_emuls=shl - ;; sh*l*-*-netbsd*) targ_emul=shlelf_nbsd targ_extra_emuls=shelf_nbsd ;; diff --git a/ld/testsuite/ld-elf/merge.d b/ld/testsuite/ld-elf/merge.d index 9a1ddfc..a62711c 100644 --- a/ld/testsuite/ld-elf/merge.d +++ b/ld/testsuite/ld-elf/merge.d @@ -4,7 +4,7 @@ #xfail: bfin-*-* cr16-*-* cris*-*-* crx-*-* d10v-*-* d30v-*-* dlx-*-* #xfail: fr30-*-* frv-*-* ft32-*-* h8300-*-* hppa*64*-*-* ip2k-*-* iq2000-*-* #xfail: lm32-*-* m68hc11-*-* mcore-*-* mep-*-* metag-*-* mn102*-*-* moxie-*-* -#xfail: mt-*-* nds32*-*-* nios2-*-* or32-*-* pj-*-* pru-*-* s12z-*-* score-*-* +#xfail: mt-*-* nds32*-*-* nios2-*-* pj-*-* pru-*-* s12z-*-* score-*-* #xfail: tic6x-*-* vax-*-* xgate-*-* xstormy16-*-* xtensa*-*-* .*: file format .*elf.* diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index 7f0fd08..236ebbc 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -37,8 +37,6 @@ if { ![check_shared_lib_support] } { # This is similar to the test that is used in ld-shared, BTW. if { ![istarget hppa*64*-*-hpux*] && ![istarget hppa*-*-linux*] - && ![istarget i?86-*-sysv4*] - && ![istarget i?86-*-unixware] && ![istarget i?86-*-elf*] && ![istarget i?86-*-linux*] && ![istarget i?86-*-gnu*] diff --git a/ld/testsuite/ld-elfweak/elfweak.exp b/ld/testsuite/ld-elfweak/elfweak.exp index 63ec38c..b5db770 100644 --- a/ld/testsuite/ld-elfweak/elfweak.exp +++ b/ld/testsuite/ld-elfweak/elfweak.exp @@ -39,8 +39,6 @@ if { ![istarget alpha*-*-linux*] && ![istarget arm*-*-linux*] && ![istarget hppa*64*-*-hpux*] && ![istarget hppa*-*-linux*] - && ![istarget i?86-*-sysv4*] - && ![istarget i?86-*-unixware] && ![istarget i?86-*-elf*] && ![istarget i?86-*-linux*] && ![istarget i?86-*-gnu*] diff --git a/ld/testsuite/ld-scripts/expr2.d b/ld/testsuite/ld-scripts/expr2.d index 94fb5d3..d1dac5d 100644 --- a/ld/testsuite/ld-scripts/expr2.d +++ b/ld/testsuite/ld-scripts/expr2.d @@ -1,6 +1,6 @@ # ld: -T expr2.t #nm: -B -#xfail: arm-*-*aout [is_xcoff_format] +#xfail: [is_xcoff_format] #... .* D defined diff --git a/ld/testsuite/ld-scripts/fill.d b/ld/testsuite/ld-scripts/fill.d index cfe1e52..a341e78 100644 --- a/ld/testsuite/ld-scripts/fill.d +++ b/ld/testsuite/ld-scripts/fill.d @@ -7,7 +7,7 @@ #skip: ia64-*-* mips*-*-freebsd* mips*-*-gnu* mips*-*-irix* mips*-*-kfreebsd* #skip: mips*-*-linux* mips*-*-netbsd* mips*-*-openbsd* mips*-*-sysv4* sh-*-pe #skip: tilegx*-*-* tilepro-*-* x86_64-*-cygwin x86_64-*-mingw* x86_64-*-pe* -#xfail: alpha*-*-*ecoff sparc*-*-coff +#xfail: alpha*-*-*ecoff #xfail: tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-* # # See also fill16.d. We use `skip' for configurations unsupported @@ -19,7 +19,6 @@ # ia64 aligns code to minimum 16 bytes. # mips aligns to minimum 16 bytes (except for bare-metal ELF and VxWorks). # sh-pe pads out code sections to 16 bytes -# sparc-coff aligns to 8 bytes # tic30-coff aligns to 2 bytes # tic4x has 4 octet bytes # tic54x doesn't support .p2align diff --git a/ld/testsuite/ld-scripts/fill16.d b/ld/testsuite/ld-scripts/fill16.d index e5819df..8df7c81 100644 --- a/ld/testsuite/ld-scripts/fill16.d +++ b/ld/testsuite/ld-scripts/fill16.d @@ -4,8 +4,8 @@ #ld: -T fill.t #objdump: -s -j .text #notarget: [is_aout_format] -#skip: arm-*-coff i[3-7]86-*-coff [is_xcoff_format] -#xfail: alpha*-*-*ecoff sparc*-*-coff +#skip: [is_xcoff_format] +#xfail: alpha*-*-*ecoff #xfail: tic30-*-coff tic4x-*-* tic54x-*-* z8k-*-* #xfail: z80-*-coff # @@ -17,8 +17,6 @@ # alpha-linuxecoff pads out code to 16 bytes. # arm-coff always aligns code to 4 bytes. # i386-coff always aligns code to 4 bytes. -# sh-pe pads out code sections to 16 bytes -# sparc-coff aligns to 8 bytes # tic30-coff aligns to 2 bytes # tic4x has 4 octet bytes # tic54x doesn't support .p2align diff --git a/ld/testsuite/ld-scripts/phdrs2.exp b/ld/testsuite/ld-scripts/phdrs2.exp index ea93d47..504c927 100644 --- a/ld/testsuite/ld-scripts/phdrs2.exp +++ b/ld/testsuite/ld-scripts/phdrs2.exp @@ -20,7 +20,6 @@ # PHDRS2 is only meaningful for ELF. if { !([istarget *-*-sysv4*] - || [istarget *-*-unixware*] || [istarget *-*-elf*] || [istarget *-*-eabi*] || [istarget hppa*64*-*-hpux*] diff --git a/ld/testsuite/ld-scripts/segment-start.d b/ld/testsuite/ld-scripts/segment-start.d index b96b44c..c589597 100644 --- a/ld/testsuite/ld-scripts/segment-start.d +++ b/ld/testsuite/ld-scripts/segment-start.d @@ -3,7 +3,7 @@ #ld: -e 0 -u __executable_start -T segment-start.ld #nm: -B #xfail: mmix-*-* pdp11-*-* -#xfail: tic30-*-*aout* c54x*-*-*coff* tic54x-*-*coff* +#xfail: c54x*-*-*coff* tic54x-*-*coff* # XFAIL targets that are not expected to handle SEGMENT_START correctly. # Make sure `__executable_start' is regular: diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp index 62ac1ee..f56e42f 100644 --- a/ld/testsuite/ld-shared/shared.exp +++ b/ld/testsuite/ld-shared/shared.exp @@ -39,8 +39,6 @@ if { ![check_shared_lib_support] } { # Square bracket expressions seem to confuse istarget. if { ![istarget hppa*64*-*-hpux*] \ && ![istarget hppa*-*-linux*] \ - && ![istarget i?86-*-sysv4*] \ - && ![istarget i?86-*-unixware] \ && ![istarget i?86-*-elf*] \ && ![istarget i?86-*-linux*] \ && ![istarget i?86-*-gnu*] \ |