diff options
| author | Mark Hatle <mark.hatle@kernel.crashing.org> | 2022-07-28 21:58:26 -0500 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@kernel.crashing.org> | 2022-09-01 09:53:21 -0500 |
| commit | 8ea75cc272182dbda8c3ac9daaed2d85f0546030 (patch) | |
| tree | f4c5ea1906fb202fe6998a93309b313cf91fb596 /meta-microblaze/recipes-devtools/gcc/gcc-12/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch | |
| parent | 989c29f50ed005c5b6de0e3f57f0037460563ae8 (diff) | |
| download | meta-xilinx-8ea75cc272182dbda8c3ac9daaed2d85f0546030.tar.gz | |
meta-microblaze: Move to gcc-12 to match OE-Core
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-12/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch')
| -rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-12/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-12/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch b/meta-microblaze/recipes-devtools/gcc/gcc-12/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch new file mode 100644 index 00000000..1714c142 --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc-12/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | From 5576c4ca7641833a91b19b36d105a6b852c1a0cc 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 05/53] [Patch, testsuite]: Update MicroBlaze strings test for | ||
| 5 | new scan-assembly output resulting in use of $LC label | ||
| 6 | |||
| 7 | ChangeLog/testsuite | ||
| 8 | |||
| 9 | 2014-02-14 David Holsgrove <david.holsgrove@xilinx.com> | ||
| 10 | |||
| 11 | * gcc/testsuite/gcc.target/microblaze/others/strings1.c: Update | ||
| 12 | to include $LC label. | ||
| 13 | |||
| 14 | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> | ||
| 15 | --- | ||
| 16 | gcc/testsuite/gcc.target/microblaze/others/strings1.c | 4 ++++ | ||
| 17 | 1 file changed, 4 insertions(+) | ||
| 18 | |||
| 19 | diff --git a/gcc/testsuite/gcc.target/microblaze/others/strings1.c b/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
| 20 | index efaf3c660ea..347872360d3 100644 | ||
| 21 | --- a/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
| 22 | +++ b/gcc/testsuite/gcc.target/microblaze/others/strings1.c | ||
| 23 | @@ -3,6 +3,10 @@ | ||
| 24 | /* { 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.*" } } */ | ||
| 25 | /* { 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]),*" } } */ | ||
| 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 | extern void somefunc (char *); | ||
| 34 | -- | ||
| 35 | 2.17.1 | ||
| 36 | |||
