diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2021-03-29 07:18:15 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@kernel.crashing.org> | 2021-04-06 08:44:05 -0500 |
commit | cd493f6796afb622be466e58a3f88fdf54f53c8b (patch) | |
tree | 13d270932ab81ef4d7fc1f8bf0ce6ac1d1081fbf | |
parent | fb9f47953ffff82a7ceb5fc9d6beebb9116786be (diff) | |
download | meta-xilinx-gatesgarth.tar.gz meta-xilinx-gatesgarth.tar.bz2 meta-xilinx-gatesgarth.zip |
binutils: Workaround for Microblaze 64 linking failuregatesgarth
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 <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
-rw-r--r-- | meta-microblaze/recipes-devtools/binutils/binutils/0047-bfd-elf64-microblaze.c-Fix-build-failures.patch | 9 |
1 files changed, 0 insertions, 9 deletions
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 3bc5f04..423b224 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 |