diff options
| author | Mark Hatle <mark.hatle@xilinx.com> | 2021-03-29 07:18:15 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-07-14 14:52:07 -0700 |
| commit | ddcb03b1b2a93f4dff113912f90e0e929d1f4e65 (patch) | |
| tree | def4e45ac0a0a0d1af5d51f08a52573a3b8e4fa3 /meta-microblaze/recipes-devtools/binutils | |
| parent | d79349a978db0344f732045c144c183ef8bff03f (diff) | |
| download | meta-xilinx-ddcb03b1b2a93f4dff113912f90e0e929d1f4e65.tar.gz | |
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 <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Diffstat (limited to 'meta-microblaze/recipes-devtools/binutils')
| -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 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 | |||
| 21 | input_bfd); | 21 | input_bfd); |
| 22 | bfd_set_error (bfd_error_bad_value); | 22 | bfd_set_error (bfd_error_bad_value); |
| 23 | return FALSE; | 23 | return FALSE; |
| 24 | @@ -2691,7 +2691,7 @@ microblaze_elf_check_relocs (bfd * abfd, | ||
| 25 | /* If this is a global symbol, we count the number of | ||
| 26 | relocations we need for this symbol. */ | ||
| 27 | if (h != NULL) | ||
| 28 | - head = &h->dyn_relocs; | ||
| 29 | + head = &((struct elf64_mb_link_hash_entry *) h)->dyn_relocs; | ||
| 30 | else | ||
| 31 | { | ||
| 32 | /* Track dynamic relocs needed for local syms too. | ||
| 33 | @@ -2911,7 +2911,7 @@ microblaze_elf_adjust_dynamic_symbol (struct bfd_link_info *info, | 24 | @@ -2911,7 +2911,7 @@ microblaze_elf_adjust_dynamic_symbol (struct bfd_link_info *info, |
| 34 | 25 | ||
| 35 | /* If we didn't find any dynamic relocs in read-only sections, then | 26 | /* If we didn't find any dynamic relocs in read-only sections, then |
