summaryrefslogtreecommitdiffstats
path: root/patches/binutils-2.18/generic/gentoo/76_all_only-use-new-ld-dtags.patch.disabled
diff options
context:
space:
mode:
Diffstat (limited to 'patches/binutils-2.18/generic/gentoo/76_all_only-use-new-ld-dtags.patch.disabled')
-rw-r--r--patches/binutils-2.18/generic/gentoo/76_all_only-use-new-ld-dtags.patch.disabled31
1 files changed, 0 insertions, 31 deletions
diff --git a/patches/binutils-2.18/generic/gentoo/76_all_only-use-new-ld-dtags.patch.disabled b/patches/binutils-2.18/generic/gentoo/76_all_only-use-new-ld-dtags.patch.disabled
deleted file mode 100644
index f7db0c5..0000000
--- a/patches/binutils-2.18/generic/gentoo/76_all_only-use-new-ld-dtags.patch.disabled
+++ /dev/null
@@ -1,31 +0,0 @@
-Don't generate RPATH if we're going to be generating RUNPATH.
-
-need to ponder what ramifications this has before enabling it
-
----
- bfd/elflink.c | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
-Index: binutils-2.18/bfd/elflink.c
-===================================================================
---- binutils-2.18.orig/bfd/elflink.c
-+++ binutils-2.18/bfd/elflink.c
-@@ -5422,11 +5422,15 @@ bfd_elf_size_dynamic_sections (bfd *outp
-
- indx = _bfd_elf_strtab_add (elf_hash_table (info)->dynstr, rpath,
- TRUE);
-- if (indx == (bfd_size_type) -1
-- || !_bfd_elf_add_dynamic_entry (info, DT_RPATH, indx))
-+ if (indx == (bfd_size_type) -1)
- return FALSE;
-
-- if (info->new_dtags)
-+ if (!info->new_dtags)
-+ {
-+ if (!_bfd_elf_add_dynamic_entry (info, DT_RPATH, indx))
-+ return FALSE;
-+ }
-+ else
- {
- _bfd_elf_strtab_addref (elf_hash_table (info)->dynstr, indx);
- if (!_bfd_elf_add_dynamic_entry (info, DT_RUNPATH, indx))