Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 32FB6E0097C; Tue, 21 Aug 2018 14:28:49 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [198.47.23.248 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8A305E008D9 for ; Tue, 21 Aug 2018 14:28:47 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id w7LLSkW4075379 for ; Tue, 21 Aug 2018 16:28:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1534886926; bh=DhNLoq0TeiBFJ8SGdkiwbPCPD/0iGQIgVkztZlkFAlo=; h=From:To:CC:Subject:Date; b=dHzrLaaDPg950rltdJ6jR1oBj8nNjVGkLHTweXepdSVpKJcGGp59/75tBW1WkeAGm BctBvtplMaZksiATiPARZTDWQxaT0qoLLiorC9e0xDNqzYo/veOFDuZTiHnFXhwMj1 gEOR+12LTBQ9WF8Mjle4OvKyLK1BLEv0ERAhfHxk= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7LLSkgu019895 for ; Tue, 21 Aug 2018 16:28:46 -0500 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 21 Aug 2018 16:28:46 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 21 Aug 2018 16:28:46 -0500 Received: from puget.gt.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w7LLSkeg003298; Tue, 21 Aug 2018 16:28:46 -0500 From: Denys Dmytriyenko To: Date: Tue, 21 Aug 2018 21:25:58 +0000 Message-ID: <20180821212558.11225-1-denys@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Subject: [rocko/master][PATCH] gdbc6x: gcc7 related fixes got accepted upstream, remove X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2018 21:28:49 -0000 Content-Type: text/plain Signed-off-by: Denys Dmytriyenko --- recipes-devtools/gdbc6x/gdbc6x.inc | 4 +- ...-fall-through-comment-to-work-with-g.patch | 35 ---------------- ...llthrough-comment-to-recognize-by-gc.patch | 26 ------------ ...x-implicit-fallthrough-error-in-gcc7.patch | 26 ------------ ...x-implicit-fallthrough-error-in-gcc7.patch | 25 ------------ ....c-fix-format-overflow-error-in-gcc7.patch | 26 ------------ ...ents-for-implicit-fallthrough-error-.patch | 38 ------------------ ...cit-fallthrough-and-format-overflow-.patch | 40 ------------------- ...format-truncation-and-implicit-fallt.patch | 35 ---------------- recipes-devtools/gdbc6x/gdbc6x_git.bb | 8 ---- 10 files changed, 2 insertions(+), 261 deletions(-) delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-coffgen.c-adjust-fall-through-comment-to-work-with-g.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-ihex.c-fix-format-overflow-error-in-gcc7.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-reloc.c-add-comments-for-implicit-fallthrough-error-.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-srec.c-fix-implicit-fallthrough-and-format-overflow-.patch delete mode 100644 recipes-devtools/gdbc6x/gdbc6x/0001-tic6x-dis.c-fix-format-truncation-and-implicit-fallt.patch diff --git a/recipes-devtools/gdbc6x/gdbc6x.inc b/recipes-devtools/gdbc6x/gdbc6x.inc index df08ee5c..9fc2f1dd 100644 --- a/recipes-devtools/gdbc6x/gdbc6x.inc +++ b/recipes-devtools/gdbc6x/gdbc6x.inc @@ -1,8 +1,8 @@ # This corresponds to version 1.1.0 -SRCREV = "df0b8f6f4e9ba5b9c94ea8c17c6dfeae37c1c9d1" +SRCREV = "d136542bbcad9489b8391550d8a8bee41076f080" PV = "1.1.0" -INC_PR = "r3" +INC_PR = "r4" SRC_URI = "git://git.ti.com/sdo-emu/gdbc6x.git;protocol=git;branch=${BRANCH}" diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-coffgen.c-adjust-fall-through-comment-to-work-with-g.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-coffgen.c-adjust-fall-through-comment-to-work-with-g.patch deleted file mode 100644 index eb72db9e..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-coffgen.c-adjust-fall-through-comment-to-work-with-g.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 043a40fdc396118e099180b0ce0578ead24cf312 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 19:12:28 -0500 -Subject: [PATCH] coffgen.c: adjust fall through comment to work with gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/coffgen.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gdbc6x/bfd/coffgen.c b/gdbc6x/bfd/coffgen.c -index 07a527d..665df95 100644 ---- a/gdbc6x/bfd/coffgen.c -+++ b/gdbc6x/bfd/coffgen.c -@@ -2116,7 +2116,7 @@ coff_print_symbol (bfd *abfd, - auxp->u.auxent.x_scn.x_comdat); - break; - } -- /* Otherwise fall through. */ -+ /* Else fall through. */ - case C_EXT: - case C_AIX_WEAKEXT: - if (ISFCN (combined->u.syment.n_type)) -@@ -2136,7 +2136,7 @@ coff_print_symbol (bfd *abfd, - llnos, next); - break; - } -- /* Otherwise fall through. */ -+ /* Else fall through. */ - default: - fprintf (file, "AUX lnno %d size 0x%x tagndx %ld", - auxp->u.auxent.x_sym.x_misc.x_lnsz.x_lnno, --- -2.7.4 - 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 deleted file mode 100644 index de5f1ca1..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch +++ /dev/null @@ -1,26 +0,0 @@ -From b77515953ba72728a10a46381d8b1dd73b89825d Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 20:19:51 -0500 -Subject: [PATCH] elf.c: correct fallthrough comment to recognize by gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/elf.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gdbc6x/bfd/elf.c b/gdbc6x/bfd/elf.c -index ede51e9..80bac08 100644 ---- a/gdbc6x/bfd/elf.c -+++ b/gdbc6x/bfd/elf.c -@@ -1595,7 +1595,7 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex) - if (hdr->sh_link == (SHN_LORESERVE & 0xffff) /* SHN_BEFORE */ - || hdr->sh_link == ((SHN_LORESERVE + 1) & 0xffff) /* SHN_AFTER */) - break; -- /* Otherwise fall through. */ -+ /* Else fall through. */ - default: - return FALSE; - } --- -2.7.4 - 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 deleted file mode 100644 index 5591f83a..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch +++ /dev/null @@ -1,26 +0,0 @@ -From fed1d4701b8442c613e7ebc0bb94b251844d3b1c Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 20:16:20 -0500 -Subject: [PATCH] elf32-tic6x.c: fix implicit fallthrough error in gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/elf32-tic6x.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gdbc6x/bfd/elf32-tic6x.c b/gdbc6x/bfd/elf32-tic6x.c -index fe82c8f..b046566 100644 ---- a/gdbc6x/bfd/elf32-tic6x.c -+++ b/gdbc6x/bfd/elf32-tic6x.c -@@ -2365,7 +2365,7 @@ elf32_tic6x_relocate_section (bfd *output_bfd, - goto done_reloc; - } - } -- -+ /* FALLTHRU */ - case R_C6000_PCR_S12: - case R_C6000_PCR_S10: - case R_C6000_PCR_S7: --- -2.7.4 - 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 deleted file mode 100644 index 875d7866..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 1df6aeea82957cab8094043e458cd1ca0741eaef Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 20:25:40 -0500 -Subject: [PATCH] elflink.c: fix implicit fallthrough error in gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - 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 - diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-ihex.c-fix-format-overflow-error-in-gcc7.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-ihex.c-fix-format-overflow-error-in-gcc7.patch deleted file mode 100644 index 95b6e449..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-ihex.c-fix-format-overflow-error-in-gcc7.patch +++ /dev/null @@ -1,26 +0,0 @@ -From daca80121b92504c4a21e7420765a91d9625f2a4 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 20:11:45 -0500 -Subject: [PATCH] ihex.c: fix format overflow error in gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/ihex.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gdbc6x/bfd/ihex.c b/gdbc6x/bfd/ihex.c -index 09f756a..abe7398 100644 ---- a/gdbc6x/bfd/ihex.c -+++ b/gdbc6x/bfd/ihex.c -@@ -217,7 +217,7 @@ ihex_bad_byte (bfd *abfd, unsigned int lineno, int c, bfd_boolean error) - } - else - { -- char buf[10]; -+ char buf[13]; - - if (! ISPRINT (c)) - sprintf (buf, "\\%03o", (unsigned int) c); --- -2.7.4 - diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-reloc.c-add-comments-for-implicit-fallthrough-error-.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-reloc.c-add-comments-for-implicit-fallthrough-error-.patch deleted file mode 100644 index a21d4212..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-reloc.c-add-comments-for-implicit-fallthrough-error-.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e4708813cc0d08b75a8db49dcde0722f3d3add5c Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 19:30:22 -0500 -Subject: [PATCH] reloc.c: add comments for implicit fallthrough error in gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/reloc.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/gdbc6x/bfd/reloc.c b/gdbc6x/bfd/reloc.c -index 0d191f1..a6e0e12 100644 ---- a/gdbc6x/bfd/reloc.c -+++ b/gdbc6x/bfd/reloc.c -@@ -7254,15 +7254,20 @@ bfd_default_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code) - { - case 64: - BFD_FAIL (); -+ /* FALLTHRU */ - case 32: - return &bfd_howto_32; - case 16: - BFD_FAIL (); -+ /* FALLTHRU */ - default: - BFD_FAIL (); -+ /* FALLTHRU */ - } -+ /* FALLTHRU */ - default: - BFD_FAIL (); -+ /* FALLTHRU */ - } - return NULL; - } --- -2.7.4 - diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-srec.c-fix-implicit-fallthrough-and-format-overflow-.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-srec.c-fix-implicit-fallthrough-and-format-overflow-.patch deleted file mode 100644 index 9ecb5a4a..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-srec.c-fix-implicit-fallthrough-and-format-overflow-.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 36293cf669de453207ce38cd8ac296df4a34e6b5 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 19:40:41 -0500 -Subject: [PATCH] srec.c: fix implicit fallthrough and format overflow errors - in gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/bfd/srec.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/gdbc6x/bfd/srec.c b/gdbc6x/bfd/srec.c -index ded9e76..076e152 100644 ---- a/gdbc6x/bfd/srec.c -+++ b/gdbc6x/bfd/srec.c -@@ -248,7 +248,7 @@ srec_bad_byte (bfd *abfd, - } - else - { -- char buf[10]; -+ char buf[13]; - - if (! ISPRINT (c)) - sprintf (buf, "\\%03o", (unsigned int) c); -@@ -961,10 +961,12 @@ srec_write_record (bfd *abfd, - case 7: - TOHEX (dst, (address >> 24), check_sum); - dst += 2; -+ /* FALLTHRU */ - case 8: - case 2: - TOHEX (dst, (address >> 16), check_sum); - dst += 2; -+ /* FALLTHRU */ - case 9: - case 1: - case 0: --- -2.7.4 - diff --git a/recipes-devtools/gdbc6x/gdbc6x/0001-tic6x-dis.c-fix-format-truncation-and-implicit-fallt.patch b/recipes-devtools/gdbc6x/gdbc6x/0001-tic6x-dis.c-fix-format-truncation-and-implicit-fallt.patch deleted file mode 100644 index e7c7d655..00000000 --- a/recipes-devtools/gdbc6x/gdbc6x/0001-tic6x-dis.c-fix-format-truncation-and-implicit-fallt.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b14e8814c467e8cea03725d2e7c937f352449ab6 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Fri, 10 Nov 2017 20:33:26 -0500 -Subject: [PATCH] tic6x-dis.c: fix format truncation and implicit fallthrough - errors in gcc7 - -Signed-off-by: Denys Dmytriyenko ---- - gdbc6x/opcodes/tic6x-dis.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/gdbc6x/opcodes/tic6x-dis.c b/gdbc6x/opcodes/tic6x-dis.c -index d926d09..69ba999 100644 ---- a/gdbc6x/opcodes/tic6x-dis.c -+++ b/gdbc6x/opcodes/tic6x-dis.c -@@ -691,7 +691,7 @@ print_insn_tic6x (bfd_vma addr, struct disassemble_info *info) - if (opc->flags & TIC6X_FLAG_INSN16_BSIDE && func_unit_side == 1) - func_unit_cross = 1; - -- snprintf (func_unit_buf, 7, " .%c%u%s%s", func_unit_char, -+ snprintf (func_unit_buf, 8, " .%c%u%s%s", func_unit_char, - func_unit_side, (func_unit_cross ? "X" : ""), data_str); - func_unit = func_unit_buf; - } -@@ -1085,6 +1085,7 @@ print_insn_tic6x (bfd_vma addr, struct disassemble_info *info) - case tic6x_coding_mem_offset_minus_one_noscale: - case tic6x_coding_mem_offset_minus_one: - fld_val += 1; -+ /* FALLTHRU */ - case tic6x_coding_mem_offset_noscale: - case tic6x_coding_mem_offset: - mem_offset = fld_val; --- -2.7.4 - diff --git a/recipes-devtools/gdbc6x/gdbc6x_git.bb b/recipes-devtools/gdbc6x/gdbc6x_git.bb index be6f5066..8ab9cf90 100644 --- a/recipes-devtools/gdbc6x/gdbc6x_git.bb +++ b/recipes-devtools/gdbc6x/gdbc6x_git.bb @@ -11,14 +11,6 @@ PR = "${INC_PR}.1" SRC_URI_append = " \ file://init \ - file://0001-coffgen.c-adjust-fall-through-comment-to-work-with-g.patch;striplevel=2 \ - file://0001-reloc.c-add-comments-for-implicit-fallthrough-error-.patch;striplevel=2 \ - file://0001-srec.c-fix-implicit-fallthrough-and-format-overflow-.patch;striplevel=2 \ - file://0001-ihex.c-fix-format-overflow-error-in-gcc7.patch;striplevel=2 \ - file://0001-elf32-tic6x.c-fix-implicit-fallthrough-error-in-gcc7.patch;striplevel=2 \ - file://0001-elf.c-correct-fallthrough-comment-to-recognize-by-gc.patch;striplevel=2 \ - file://0001-elflink.c-fix-implicit-fallthrough-error-in-gcc7.patch;striplevel=2 \ - file://0001-tic6x-dis.c-fix-format-truncation-and-implicit-fallt.patch;striplevel=2 \ " S = "${WORKDIR}/git/gdbc6x" -- 2.17.1