From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14494 invoked by alias); 21 Oct 2007 12:35:09 -0000 Received: (qmail 14483 invoked by uid 22791); 21 Oct 2007 12:35:08 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate5.de.ibm.com (HELO mtagate5.de.ibm.com) (195.212.29.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 21 Oct 2007 12:35:06 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate5.de.ibm.com (8.13.8/8.13.8) with ESMTP id l9LCZ2Ae093704 for ; Sun, 21 Oct 2007 12:35:02 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l9LCZ2Mp1921090 for ; Sun, 21 Oct 2007 14:35:02 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l9LCZ2RF002701 for ; Sun, 21 Oct 2007 14:35:02 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l9LCZ2Mk002698 for ; Sun, 21 Oct 2007 14:35:02 +0200 Message-Id: <200710211235.l9LCZ2Mk002698@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Sun, 21 Oct 2007 14:35:02 +0200 Subject: [commit] Use -mabi=altivec for AltiVec tests To: gdb-patches@sourceware.org Date: Sun, 21 Oct 2007 13:05:00 -0000 From: "Ulrich Weigand" X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-10/txt/msg00472.txt.bz2 Hello, both altivec-abi.exp and altivec-regs.exp had a number of test cases failing because the test case source code was compiled without using the -mabi=altivec flag. As GDB expects the inferior to use the AltiVec ABI, we need to compile the test case accordingly ... Committed to mainline. Bye, Ulrich ChangeLog: * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when compiling test case with GCC. * gdb.arch/altivec-regs.exp (compile_flags): Likewise. diff -urNp gdb-orig/gdb/testsuite/gdb.arch/altivec-abi.exp gdb-head/gdb/testsuite/gdb.arch/altivec-abi.exp --- gdb-orig/gdb/testsuite/gdb.arch/altivec-abi.exp 2007-10-21 01:24:25.000000000 +0200 +++ gdb-head/gdb/testsuite/gdb.arch/altivec-abi.exp 2007-10-21 14:25:12.820540991 +0200 @@ -48,7 +48,7 @@ if [get_compiler_info $binfile] { } if [test_compiler_info gcc*] { - set compile_flags "$compile_flags additional_flags=-maltivec" + set compile_flags "$compile_flags additional_flags=-maltivec additional_flags=-mabi=altivec" } elseif [test_compiler_info xlc*] { set compile_flags "$compile_flags additional_flags=-qaltivec" } else { diff -urNp gdb-orig/gdb/testsuite/gdb.arch/altivec-regs.exp gdb-head/gdb/testsuite/gdb.arch/altivec-regs.exp --- gdb-orig/gdb/testsuite/gdb.arch/altivec-regs.exp 2007-10-21 14:24:45.702324095 +0200 +++ gdb-head/gdb/testsuite/gdb.arch/altivec-regs.exp 2007-10-21 14:25:12.824540415 +0200 @@ -48,7 +48,7 @@ if [get_compiler_info $binfile] { } if [test_compiler_info gcc*] { - set compile_flags "$compile_flags additional_flags=-maltivec" + set compile_flags "$compile_flags additional_flags=-maltivec additional_flags=-mabi=altivec" } elseif [test_compiler_info xlc*] { set compile_flags "$compile_flags additional_flags=-qaltivec" } else { -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com