summaryrefslogtreecommitdiff
path: root/patches/binutils/2.20/180-only-use-new-ld-dtags.patch.disabled
diff options
context:
space:
mode:
Diffstat (limited to 'patches/binutils/2.20/180-only-use-new-ld-dtags.patch.disabled')
-rw-r--r--patches/binutils/2.20/180-only-use-new-ld-dtags.patch.disabled25
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/binutils/2.20/180-only-use-new-ld-dtags.patch.disabled b/patches/binutils/2.20/180-only-use-new-ld-dtags.patch.disabled
deleted file mode 100644
index 8989579..0000000
--- a/patches/binutils/2.20/180-only-use-new-ld-dtags.patch.disabled
+++ /dev/null
@@ -1,25 +0,0 @@
-Don't generate RPATH if we're going to be generating RUNPATH.
-
-need to ponder what ramifications this has before enabling it
-
---- binutils/bfd/elflink.c
-+++ binutils/bfd/elflink.c
-@@ -5382,11 +5382,15 @@
-
- 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))