2ffc628448
- Patch 0100-elf32-arm-no-data-fix.patch is upstream as of commit 6342be709e8749d0a44c02e1876ddca360bfd52f, so it is removed. - Patch 0130-tc-xtensa.c-fixup-xg_reverse_shift_count-typo.patch is upstream as of commit 78fb7e37eb8bb08ae537d6c487996ff17c810332, so it is removed. - Patch 0900-Revert-part-Set-dynamic-tag-VMA-and-size-from-dynami.patch is upstream as of commit c646b02fdcae5f37bd88f33a0c4683ef13ad5c82, so it is removed. - All other patches are kept, just refreshed to apply cleanly on the new binutils version. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> [Thomas: improve commit log.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
742 B
Diff
22 lines
742 B
Diff
Fixes: LINKER BUG: .rofixup section size mismatch
|
|
|
|
Workaround from adi-toolchain commit:
|
|
af414ec1fb628ddb1562f062f3db49823ca14ca2
|
|
[#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors.
|
|
|
|
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
|
|
|
diff -Nur binutils-2.26.1.orig/bfd/elf32-bfin.c binutils-2.26.1/bfd/elf32-bfin.c
|
|
--- binutils-2.26.1.orig/bfd/elf32-bfin.c 2015-11-13 09:27:40.000000000 +0100
|
|
+++ binutils-2.26.1/bfd/elf32-bfin.c 2016-07-31 00:50:48.357995132 +0200
|
|
@@ -4845,7 +4845,8 @@
|
|
|
|
case R_BFIN_FUNCDESC:
|
|
picrel->fd++;
|
|
- picrel->relocsfd++;
|
|
+ if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC)
|
|
+ picrel->relocsfd++;
|
|
break;
|
|
|
|
/* This relocation describes the C++ object vtable hierarchy.
|