diff options
Diffstat (limited to 'recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch')
-rw-r--r-- | recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch new file mode 100644 index 00000000..875d7866 --- /dev/null +++ b/recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch @@ -0,0 +1,25 @@ +From 1df6aeea82957cab8094043e458cd1ca0741eaef Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko <denys@ti.com> +Date: Fri, 10 Nov 2017 20:25:40 -0500 +Subject: [PATCH] elflink.c: fix implicit fallthrough error in gcc7 + +Signed-off-by: Denys Dmytriyenko <denys@ti.com> +--- + gdbc6x/bfd/elflink.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gdbc6x/bfd/elflink.c b/gdbc6x/bfd/elflink.c +index 7dcafd6..e173399 100644 +--- a/gdbc6x/bfd/elflink.c ++++ b/gdbc6x/bfd/elflink.c +@@ -7698,6 +7698,7 @@ eval_symbol (bfd_vma *result, + + case 'S': + symbol_is_section = TRUE; ++ /* FALLTHRU */ + case 's': + ++sym; + symlen = strtol (sym, (char **) symp, 10); +-- +2.7.4 + |