From cd493f6796afb622be466e58a3f88fdf54f53c8b Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 29 Mar 2021 07:18:15 -0700 Subject: binutils: Workaround for Microblaze 64 linking failure The typecast is causing linking to not work properly, however it does cause a compilation warning to return that a typecast is likely needed. Signed-off-by: Mark Hatle Signed-off-by: Mark Hatle --- .../0047-bfd-elf64-microblaze.c-Fix-build-failures.patch | 9 --------- 1 file changed, 9 deletions(-) (limited to 'meta-microblaze/recipes-devtools') diff --git a/meta-microblaze/recipes-devtools/binutils/binutils/0047-bfd-elf64-microblaze.c-Fix-build-failures.patch b/meta-microblaze/recipes-devtools/binutils/binutils/0047-bfd-elf64-microblaze.c-Fix-build-failures.patch index 3bc5f04d..423b224b 100644 --- a/meta-microblaze/recipes-devtools/binutils/binutils/0047-bfd-elf64-microblaze.c-Fix-build-failures.patch +++ b/meta-microblaze/recipes-devtools/binutils/binutils/0047-bfd-elf64-microblaze.c-Fix-build-failures.patch @@ -21,15 +21,6 @@ index 338f16eeee..cf84e0db4e 100644 input_bfd); bfd_set_error (bfd_error_bad_value); return FALSE; -@@ -2691,7 +2691,7 @@ microblaze_elf_check_relocs (bfd * abfd, - /* If this is a global symbol, we count the number of - relocations we need for this symbol. */ - if (h != NULL) -- head = &h->dyn_relocs; -+ head = &((struct elf64_mb_link_hash_entry *) h)->dyn_relocs; - else - { - /* Track dynamic relocs needed for local syms too. @@ -2911,7 +2911,7 @@ microblaze_elf_adjust_dynamic_symbol (struct bfd_link_info *info, /* If we didn't find any dynamic relocs in read-only sections, then -- cgit v1.2.3-54-g00ecf