From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1625 invoked by alias); 30 Dec 2011 21:07:43 -0000 Received: (qmail 1617 invoked by uid 22791); 30 Dec 2011 21:07:42 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from c2beaomr10.btconnect.com (HELO mail.btconnect.com) (213.123.26.188) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 30 Dec 2011 21:07:28 +0000 Received: from host81-138-1-83.in-addr.btopenworld.com (EHLO thor.office) ([81.138.1.83]) by c2beaomr10.btconnect.com with ESMTP id FQO79044; Fri, 30 Dec 2011 21:07:27 +0000 (GMT) Message-Id: <91B188DC-F39A-4AE5-9B23-8F0ECF1EF160@sandoe-acoustics.co.uk> From: Iain Sandoe To: binutils Development Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: [Patch Darwin/testsuite/objcopy] Do not try to run the copy-2/3.d tests for darwin. Date: Fri, 30 Dec 2011 21:07:00 -0000 Cc: Tristan Gingold X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0303.4EFE280F.0012, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.12.30.202123:17:7.586, ip=81.138.1.83, rules=__HAS_MSGID, __SANE_MSGID, __MSGID_APPLEMAIL, __TO_MALFORMED_2, __CT, __CT_TEXT_PLAIN, __CTE, __MIME_VERSION, __MIME_VERSION_APPLEMAIL, __HAS_X_MAILER, __X_MAILER_APPLEMAIL, __STOCK_PHRASE_24, __FRAUD_CONTACT_NAME, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, __USER_AGENT_APPLEMAIL, RDNS_SUSP, BODY_SIZE_7000_LESS, NO_URI_FOUND X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0203.4EFE280F.00AE,ss=1,re=0.000,fgs=0, ip=0.0.0.0, so=2011-07-25 19:15:43, dmn=2011-05-27 18:58:46, mode=multiengine X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00323.txt.bz2 trying to work through the test-suite to find which fails represent stuff we still need to implement (and which are noise). AFAICS, these two tests are not applicable to mach-o, certainly as they stand (they would require a different .s file to work). OK? Iain binutils/testsuite: * binutils-all/copy-2.d: Do not run for Darwin. * binutils-all/copy-3.d: Likewise. binutils/testsuite/binutils-all/copy-2.d | 2 +- binutils/testsuite/binutils-all/copy-3.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/binutils/testsuite/binutils-all/copy-2.d b/binutils/ testsuite/binutils-all/copy-2.d index 5636ff6..4640709 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 *-*- darwin* # 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 551517c..2d42ce8 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 hppa*-*-hpux* 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* *-*-darwin* # The .text # section in PE/COFF has a fixed set of flags and these # cannot be changed. We skip it for them.