Andrew Geissler | 10fa149 | 2020-12-11 16:25:29 -0600 | [diff] [blame] | 1 | From a063597f875142af49003e2f28b6c0f56e3b914d Mon Sep 17 00:00:00 2001 |
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> |
| 3 | Date: Wed, 11 Jan 2017 15:46:28 +0530 |
| 4 | Subject: [PATCH 03/54] [LOCAL]: For dejagnu static testing on qemu, suppress |
| 5 | warnings about multiple definitions from the test function and libc in line |
| 6 | with method used by powerpc. Dynamic linking and using a qemu binary which |
| 7 | understands sysroot resolves all test failures with builtins |
| 8 | |
| 9 | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> |
| 10 | --- |
| 11 | gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp | 4 ---- |
| 12 | 1 file changed, 4 deletions(-) |
| 13 | |
| 14 | diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp |
| 15 | index 8350d9401d2..d7c9b281d01 100644 |
| 16 | --- a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp |
| 17 | +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp |
| 18 | @@ -48,14 +48,10 @@ if { [istarget *-*-eabi*] |
| 19 | lappend additional_flags "-Wl,--allow-multiple-definition" |
| 20 | } |
| 21 | |
| 22 | -<<<<<<< HEAD |
| 23 | -======= |
| 24 | if [istarget "microblaze*-*-linux*"] { |
| 25 | lappend additional_flags "-Wl,-zmuldefs" |
| 26 | - lappend additional_flags "-fPIC" |
| 27 | } |
| 28 | |
| 29 | ->>>>>>> 6ef6e5b... [LOCAL]: Testsuite - builtins tests require fpic |
| 30 | foreach src [lsort [find $srcdir/$subdir *.c]] { |
| 31 | if {![string match *-lib.c $src] && [runtest_file_p $runtests $src]} { |
| 32 | c-torture-execute [list $src \ |
| 33 | -- |
| 34 | 2.17.1 |
| 35 | |