diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-04 23:22:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-07-04 23:23:04 +0200 |
commit | f1fbc971e786acdb48e030c97344299f3ace9eb9 (patch) | |
tree | c3698332d27c30ea6903577427d1e64bb0f12298 /toolchain/binutils/patches/2.26.1 | |
parent | 7f794b241661290776b2df594b93cb4e854e0081 (diff) |
fixes for sh/bfin
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Diffstat (limited to 'toolchain/binutils/patches/2.26.1')
-rw-r--r-- | toolchain/binutils/patches/2.26.1/bfin.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/binutils/patches/2.26.1/bfin.patch b/toolchain/binutils/patches/2.26.1/bfin.patch new file mode 100644 index 000000000..1f287518a --- /dev/null +++ b/toolchain/binutils/patches/2.26.1/bfin.patch @@ -0,0 +1,13 @@ +diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c +index 7cc8b6d..12f0add 100644 +--- a/bfd/elf32-bfin.c ++++ b/bfd/elf32-bfin.c +@@ -4457,7 +4457,7 @@ elf32_bfinfdpic_finish_dynamic_sections (bfd *output_bfd, + if (bfinfdpic_got_section (info)) + { + BFD_ASSERT (bfinfdpic_gotrel_section (info)->size +- == (bfinfdpic_gotrel_section (info)->reloc_count ++ >= (bfinfdpic_gotrel_section (info)->reloc_count + * sizeof (Elf32_External_Rel))); + + if (bfinfdpic_gotfixup_section (info)) |