summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-11-11 07:45:01 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-11-13 11:48:58 -0500
commit226b93581c8322df38ad794f443d497105a2d3de (patch)
tree01ab1d51470fb9638639a43292a3cb0467e66e97 /recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch
parent7bdd54b55b75cf0a495e5d07838e4e499892dd9a (diff)
downloadmeta-ti-226b93581c8322df38ad794f443d497105a2d3de.tar.gz
gdbc6x: fix gcc7 implicit fallthrough, format overflow and format truncation errors
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch')
-rw-r--r--recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch
new file mode 100644
index 00000000..5591f83a
--- /dev/null
+++ b/recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch
@@ -0,0 +1,26 @@
1From fed1d4701b8442c613e7ebc0bb94b251844d3b1c Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Fri, 10 Nov 2017 20:16:20 -0500
4Subject: [PATCH] elf32-tic6x.c: fix implicit fallthrough error in gcc7
5
6Signed-off-by: Denys Dmytriyenko <denys@ti.com>
7---
8 gdbc6x/bfd/elf32-tic6x.c | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/gdbc6x/bfd/elf32-tic6x.c b/gdbc6x/bfd/elf32-tic6x.c
12index fe82c8f..b046566 100644
13--- a/gdbc6x/bfd/elf32-tic6x.c
14+++ b/gdbc6x/bfd/elf32-tic6x.c
15@@ -2365,7 +2365,7 @@ elf32_tic6x_relocate_section (bfd *output_bfd,
16 goto done_reloc;
17 }
18 }
19-
20+ /* FALLTHRU */
21 case R_C6000_PCR_S12:
22 case R_C6000_PCR_S10:
23 case R_C6000_PCR_S7:
24--
252.7.4
26