diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/gcc/gcc-13/0005-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch')
-rw-r--r-- | meta-microblaze/recipes-devtools/gcc/gcc-13/0005-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-microblaze/recipes-devtools/gcc/gcc-13/0005-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch b/meta-microblaze/recipes-devtools/gcc/gcc-13/0005-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch new file mode 100644 index 00000000..9a8d0a86 --- /dev/null +++ b/meta-microblaze/recipes-devtools/gcc/gcc-13/0005-Update-MicroBlaze-strings-test-for-new-scan-assembly.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 68bc05ae258334f591c336dbed6dc907969e90fc 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/54] Update MicroBlaze strings test for new scan-assembly | ||
5 | 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.34.1 | ||
36 | |||