diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /external/poky/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'external/poky/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch')
-rw-r--r-- | external/poky/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/external/poky/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch b/external/poky/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch deleted file mode 100644 index 29c0d48f..00000000 --- a/external/poky/meta/recipes-devtools/binutils/binutils/clang-bfd-fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -Fix compiler error seen with clang, The return value of this -function is not checked anywhere so in a way its useless but -still technically correct to return a value here - -Fixes - -../../bfd/reloc.c:1638:7: error: non-void function '_bfd_clear_contents' should return a value [-Wreturn-type] - return; - ^ -1 error generated. - -It has been fixed in master along with a larger cleanup and fix for relocations - -https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=1dc9e2d63e37839ff1768346b2e3f52e338baba5 - -Upstream-Status: Backport [Fixes differently] - -Signed-off-by: Khem Raj <raj.khem@gmail.com> - ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -1629,7 +1629,7 @@ _bfd_clear_contents (reloc_howto_type *h - default: - abort (); - case 0: -- return; -+ return 0; - case 1: - x = bfd_get_8 (input_bfd, location); - break; |