Don't make the DT_TEXTREL warning fatal. Hopefully this will be temporary,
authorkettenis <kettenis@openbsd.org>
Wed, 22 Jun 2016 13:29:14 +0000 (13:29 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 22 Jun 2016 13:29:14 +0000 (13:29 +0000)
but we first have to make sure that our tree is clean.

ok deraadt@

gnu/usr.bin/binutils-2.17/bfd/elflink.c

index 677fd5b..baa6e59 100644 (file)
@@ -8700,8 +8700,10 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
                    {
                      _bfd_error_handler
                        (_("warning: creating a DT_TEXTREL in a shared object."));
+#if 0
                      if (!info->allow_textrel)
                        goto error_return;
+#endif
                      break;
                    }
                }