diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2011-01-01 01:56:59 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2011-01-01 01:56:59 +0000 |
commit | 8941d5e8f113c6c00e3dd4eb506cf5d3ac194ce8 (patch) | |
tree | 186e39fa98abeb8b61d7b49a5442f38e016876fd | |
parent | d26f9b639ca26393914ded010217bc527c1dc5b3 (diff) | |
download | gdb-8941d5e8f113c6c00e3dd4eb506cf5d3ac194ce8.zip gdb-8941d5e8f113c6c00e3dd4eb506cf5d3ac194ce8.tar.gz gdb-8941d5e8f113c6c00e3dd4eb506cf5d3ac194ce8.tar.bz2 |
* binutils-all/copy-2.d: Change "hppa" to "hppa*" in not-target list.
* binutils-all/copy-3.d: Add hppa*-*-hpux* to not-target list.
* binutils-all/objcopy.exp (reverse-bytes): xfail on 32-bit hpux.
-rw-r--r-- | binutils/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/copy-2.d | 2 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/copy-3.d | 2 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/objcopy.exp | 4 |
4 files changed, 12 insertions, 2 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index ca7f826..4b65fcf 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * binutils-all/copy-2.d: Change "hppa" to "hppa*" in not-target list. + * binutils-all/copy-3.d: Add hppa*-*-hpux* to not-target list. + * binutils-all/objcopy.exp (reverse-bytes): xfail on 32-bit hpux. + 2010-12-31 Richard Sandiford <rdsandiford@googlemail.com> * binutils-all/readelf.exp: Handle MIPS FreeBSD targets. diff --git a/binutils/testsuite/binutils-all/copy-2.d b/binutils/testsuite/binutils-all/copy-2.d index 2640824..5636ff6 100644 --- a/binutils/testsuite/binutils-all/copy-2.d +++ b/binutils/testsuite/binutils-all/copy-2.d @@ -3,7 +3,7 @@ #objcopy: --set-section-flags foo=contents,alloc,load,code #name: copy with setting section flags 2 #source: copytest.s -#not-target: *-*-*aout *-*-aix* h8300-*-* hppa-*-hpux* m68k-*-netbsd m68k-*-openbsd* mips-sony-bsd* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-netbsd +#not-target: *-*-*aout *-*-aix* h8300-*-* hppa*-*-hpux* m68k-*-netbsd m68k-*-openbsd* mips-sony-bsd* mips-*-ultrix* mips-*-osf* mips-*-ecoff* mips-*-irix mips-*-irix[2-4] mips-*-riscos* ns32k-*-netbsd # Note - we use copytest.s and a section named "foo" rather # than .text because for some file formats (eg PE) the .text # section has a fixed set of flags and these cannot be changed. diff --git a/binutils/testsuite/binutils-all/copy-3.d b/binutils/testsuite/binutils-all/copy-3.d index cc2ac4c..551517c 100644 --- a/binutils/testsuite/binutils-all/copy-3.d +++ b/binutils/testsuite/binutils-all/copy-3.d @@ -3,7 +3,7 @@ #objcopy: --set-section-flags .text=alloc,data #name: copy with setting section flags 3 #source: bintest.s -#not-target: *-*-*aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* m68k-*-netbsd m68k-*-openbsd* ns32k-*-netbsd x86_64-*-mingw* +#not-target: *-*-*aout *-*-*pe *-*-*coff hppa*-*-hpux* i*86-*-cygwin* i*86-*-mingw32* m68k-*-netbsd m68k-*-openbsd* ns32k-*-netbsd x86_64-*-mingw* # The .text # section in PE/COFF has a fixed set of flags and these # cannot be changed. We skip it for them. diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index 0e2345e..7eb9ee3 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -131,6 +131,10 @@ if ![string match "" $got] then { set found_rev [regexp -lineanchor $want $revdata -> revdata] if {$found_orig == 0 || $found_rev == 0} then { + # som doesn't have a .data section + setup_xfail "hppa*-*-hpux*" + clear_xfail "hppa*64*-*-hpux*" + fail "objcopy --reverse-bytes" } else { scan $origdata "%2x%2x%2x%2x" b1 b2 b3 b4 |