diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2020-12-03 16:37:39 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-12-04 16:24:49 -0800 |
| commit | b0973557c0938c72bc0045ecacd5aad716c69874 (patch) | |
| tree | 5a0b4cc90da989fcb85e068d2df022812c80fabd /meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Update-MicroBlaze-strings-test.patch | |
| parent | c9bf136ef42d5672a645c3caed23e1f99ac75a20 (diff) | |
| download | meta-xilinx-b0973557c0938c72bc0045ecacd5aad716c69874.tar.gz | |
gcc: update to early gatesgarth version
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Update-MicroBlaze-strings-test.patch')
| -rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Update-MicroBlaze-strings-test.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Update-MicroBlaze-strings-test.patch b/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Update-MicroBlaze-strings-test.patch deleted file mode 100644 index 9c8cce92..00000000 --- a/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Update-MicroBlaze-strings-test.patch +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | From 8c24cb4f95f46793ac7500a5d6181d93f2b0d2c5 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mahesh Bodapati <mbodapat@xilinx.com> | ||
| 3 | Date: Wed, 11 Jan 2017 16:20:01 +0530 | ||
| 4 | Subject: [PATCH 06/58] [Patch, testsuite]: Update MicroBlaze strings test | ||
| 5 | |||
| 6 | for new scan-assembly output resulting in use of $LC label | ||
| 7 | |||
| 8 | ChangeLog/testsuite | ||
| 9 | |||
| 10 | 2014-02-14 David Holsgrove <david.holsgrove@xilinx.com> | ||
| 11 | |||
| 12 | * gcc/testsuite/gcc.target/microblaze/others/strings1.c: Update | ||
| 13 | to include $LC label. | ||
| 14 | |||
| 15 | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> | ||
| 16 | --- | ||
| 17 | gcc/testsuite/gcc.target/microblaze/others/strings1.c | 6 ++++-- | ||
| 18 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/gcc/testsuite/gcc.target/microblaze/others/strings1.c b/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
| 21 | index 7a63faf79f2..0403b7bdca9 100644 | ||
| 22 | --- a/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
| 23 | +++ b/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
| 24 | @@ -1,13 +1,15 @@ | ||
| 25 | /* { dg-options "-O3" } */ | ||
| 26 | |||
| 27 | +/* { dg-final { scan-assembler "\.rodata*" } } */ | ||
| 28 | +/* { dg-final { scan-assembler "addik\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),\\\$LC.*" } } */ | ||
| 29 | +/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),*" } } */ | ||
| 30 | + | ||
| 31 | #include <string.h> | ||
| 32 | |||
| 33 | -/* { dg-final { scan-assembler "\.rodata*" } } */ | ||
| 34 | extern void somefunc (char *); | ||
| 35 | int testfunc () | ||
| 36 | { | ||
| 37 | char string2[80]; | ||
| 38 | -/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r0,.LC*" } } */ | ||
| 39 | strcpy (string2, "hello"); | ||
| 40 | somefunc (string2); | ||
| 41 | } | ||
| 42 | -- | ||
| 43 | 2.17.1 | ||
| 44 | |||
