123456789101112 |
- diff -Nur binutils-2.35.orig/bfd/elf32-cris.c binutils-2.35/bfd/elf32-cris.c
- @@ -3358,7 +3358,7 @@
-
- /* No need to do anything if we're not creating a shared object. */
- if (! bfd_link_pic (info)
- - || UNDEFWEAK_NO_DYNAMIC_RELOC (info, h))
- + || (h != NULL && UNDEFWEAK_NO_DYNAMIC_RELOC (info, h)))
- break;
-
- /* We may need to create a reloc section in the dynobj and made room
|