diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-12-13 16:58:34 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2018-01-12 15:47:59 -0800 |
commit | 7935ef724cd7359ed97e6ae3d90ebc8f07dd7e1f (patch) | |
tree | 7c6faff836ccec34825a97fa7b7c49936e2bc4e2 /meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-dejagnu-static-testing-on-qemu-suppress-warnings.patch | |
parent | fb15f2e401ed07f774ea89e0c91ecd927bf09235 (diff) | |
download | meta-xilinx-7935ef724cd7359ed97e6ae3d90ebc8f07dd7e1f.tar.gz |
gcc-source: Add all Xilinx MicroBlaze GCC 7.2 patchesrocko
Add all the Xilinx patches for MicroBlaze, this includes a number of
bug fixes, testsuite fixes, feature improvements and additional feature
support.
Important changes:
* v10.0 - CPU support
* v10.0 - Bit-field instruction support
* v10.0 - 8-stage pipeline aka 'frequency' optimized
* Size optimized implementations for shift instructions
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-dejagnu-static-testing-on-qemu-suppress-warnings.patch')
-rw-r--r-- | meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-dejagnu-static-testing-on-qemu-suppress-warnings.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-dejagnu-static-testing-on-qemu-suppress-warnings.patch b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-dejagnu-static-testing-on-qemu-suppress-warnings.patch new file mode 100644 index 00000000..c0a427ea --- /dev/null +++ b/meta-xilinx-bsp/recipes-microblaze/gcc/gcc-7/0004-dejagnu-static-testing-on-qemu-suppress-warnings.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From ab2cb6320138c173b20fee8ce6e8d4afa4696384 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
3 | Date: Sat, 26 Aug 2017 19:21:16 -0700 | ||
4 | Subject: [PATCH] dejagnu static testing on qemu, suppress warnings | ||
5 | |||
6 | For dejagnu static testing on qemu, suppress warnings about multiple | ||
7 | definitions from the test function and libc in line with method used by | ||
8 | powerpc. Dynamic linking and using a qemu binary which understands | ||
9 | sysroot resolves all test failures with builtins | ||
10 | |||
11 | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> | ||
12 | Signed-off-by: Mahesh Bodapati <mbodapat@xilinx.com> | ||
13 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | ||
14 | Upstream-Status: Pending | ||
15 | --- | ||
16 | gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp | 4 ++++ | ||
17 | 1 file changed, 4 insertions(+) | ||
18 | |||
19 | diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp | ||
20 | index ba16b09c41..ada149912b 100644 | ||
21 | --- a/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp | ||
22 | +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/builtins.exp | ||
23 | @@ -48,6 +48,10 @@ if { [istarget *-*-eabi*] | ||
24 | lappend additional_flags "-Wl,--allow-multiple-definition" | ||
25 | } | ||
26 | |||
27 | +if [istarget "microblaze*-*-linux*"] { | ||
28 | + lappend additional_flags "-Wl,-zmuldefs" | ||
29 | +} | ||
30 | + | ||
31 | foreach src [lsort [find $srcdir/$subdir *.c]] { | ||
32 | if {![string match *-lib.c $src] && [runtest_file_p $runtests $src]} { | ||
33 | c-torture-execute [list $src \ | ||
34 | -- | ||
35 | 2.14.2 | ||
36 | |||