1
0

microblaze.patch 714 B

1234567891011121314
  1. diff -Nur binutils-2.26.1.orig/bfd/elf32-microblaze.c binutils-2.26.1/bfd/elf32-microblaze.c
  2. --- binutils-2.26.1.orig/bfd/elf32-microblaze.c 2015-11-13 09:27:40.000000000 +0100
  3. +++ binutils-2.26.1/bfd/elf32-microblaze.c 2016-10-20 19:06:58.655565765 +0200
  4. @@ -3296,8 +3296,8 @@
  5. The entry in the global offset table will already have been
  6. initialized in the relocate_section function. */
  7. if (bfd_link_pic (info)
  8. - && (info->symbolic || h->dynindx == -1)
  9. - && h->def_regular)
  10. + && ((info->symbolic && h->def_regular)
  11. + || h->dynindx == -1))
  12. {
  13. asection *sec = h->root.u.def.section;
  14. microblaze_elf_output_dynamic_relocation (output_bfd,