diff options
Diffstat (limited to 'recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch')
-rw-r--r-- | recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch new file mode 100644 index 00000000..de5f1ca1 --- /dev/null +++ b/recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From b77515953ba72728a10a46381d8b1dd73b89825d Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Fri, 10 Nov 2017 20:19:51 -0500 | ||
4 | Subject: [PATCH] elf.c: correct fallthrough comment to recognize by gcc7 | ||
5 | |||
6 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
7 | --- | ||
8 | gdbc6x/bfd/elf.c | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/gdbc6x/bfd/elf.c b/gdbc6x/bfd/elf.c | ||
12 | index ede51e9..80bac08 100644 | ||
13 | --- a/gdbc6x/bfd/elf.c | ||
14 | +++ b/gdbc6x/bfd/elf.c | ||
15 | @@ -1595,7 +1595,7 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex) | ||
16 | if (hdr->sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ | ||
17 | || hdr->sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */) | ||
18 | break; | ||
19 | - /* Otherwise fall through. */ | ||
20 | + /* Else fall through. */ | ||
21 | default: | ||
22 | return FALSE; | ||
23 | } | ||
24 | -- | ||
25 | 2.7.4 | ||
26 | |||