diff options
author | Ed Maste <emaste@freebsd.org> | 2015-05-25 12:12:12 -0400 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-05-26 22:52:39 +0930 |
commit | 7e16ef34742d853239608fadde4a19f3a105b0a2 (patch) | |
tree | 4121d7059833c7d0a8541b527bd4577b0cae41cd /binutils | |
parent | f6bb7db35da7b1d150a467f97c41d5bf72c3baf5 (diff) | |
download | gdb-7e16ef34742d853239608fadde4a19f3a105b0a2.zip gdb-7e16ef34742d853239608fadde4a19f3a105b0a2.tar.gz gdb-7e16ef34742d853239608fadde4a19f3a105b0a2.tar.bz2 |
All FreeBSD targets are ELF except i?86-*-freebsd\[12\].*.
FreeBSD has used ELF for all targets for more than 15 years. Add
*-*-freebsd* except i?86-*-freebsd\[12\].* to is_elf_format. Update
is_aout_format to include a trailing dot, so that it does not match
freebsd-10.0 and later.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/lib/binutils-common.exp | 7 |
2 files changed, 12 insertions, 1 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index 7d0b551..a572d42 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-05-20 Ed Maste <emaste@freebsd.org> + + * lib/binutils-common.exp (is_elf_format): Include *-*-freebsd* except + i?86-*-freebsd\[12\].*. + * (is_aout_format): Update FreeBSD to i?86-*-freebsd\[12\].*. + 2015-05-18 Nick Clifton <nickc@redhat.com> * binutils-all/dw2-3.S: Replace .int with .4byte. diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index 5dadc42..c01b493 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -36,12 +36,17 @@ proc is_elf_format {} { && ![istarget tic6x*-*-uclinux*] && ![istarget *-*-irix5*] && ![istarget *-*-irix6*] + && ![istarget *-*-freebsd*] && ![istarget *-*-netbsd*] && ![istarget *-*-openbsd*] && ![istarget *-*-solaris2*] } { return 0 } + if { [istarget i?86-*-freebsd\[12\].*] } { + return 0 + } + if { [istarget *-*-linux*aout*] || [istarget *-*-linux*ecoff*] || [istarget *-*-linux*oldld*] @@ -92,7 +97,7 @@ proc is_aout_format {} { || [istarget arm-*-netbsd*] || [istarget arm-*-openbsd*] || [istarget arm-*-riscix*] - || [istarget i?86-*-freebsd\[12\]*] + || [istarget i?86-*-freebsd\[12\].*] || [istarget i?86-*-netbsd*] || [istarget i?86-*-openbsd\[0-2\]*] || [istarget i?86-*-openbsd3.\[0-2\]*] |