summaryrefslogtreecommitdiffstats
path: root/toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-05-01 00:52:31 +0000
committerEric Andersen <andersen@codepoet.org>2005-05-01 00:52:31 +0000
commit47fc1c4a1640e9191bc6b4775b88492cbc0dd87f (patch)
tree406ffa8bcfe8762e0a9f622cb4452ec593f76eb1 /toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch
parentcee3371c5f808806adc9ee148362d46e7fd28ced (diff)
downloadbuildroot-novena-47fc1c4a1640e9191bc6b4775b88492cbc0dd87f.tar.gz
buildroot-novena-47fc1c4a1640e9191bc6b4775b88492cbc0dd87f.zip
Prune out a bunch of binutils versions that are no longer
the latest and greatest in their respective binutils series
Diffstat (limited to 'toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch')
-rw-r--r--toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch b/toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch
deleted file mode 100644
index d23418160..000000000
--- a/toolchain/binutils/2.15.92.0.2/600-arm-textrel.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-http://sources.redhat.com/ml/binutils/2004-06/msg00010.html
---- binutils-2.15.90.0.3-old/bfd/elf32-arm.h 2004-04-12 14:56:33.000000000 -0500
-+++ binutils-2.15.90.0.3/bfd/elf32-arm.h 2004-09-03 06:56:40.000000000 -0500
-@@ -3531,6 +3533,37 @@
- return TRUE;
- }
-
-+/* Find any dynamic relocs that apply to read-only sections. */
-+
-+static bfd_boolean
-+elf32_arm_readonly_dynrelocs (h, inf)
-+ struct elf_link_hash_entry *h;
-+ PTR inf;
-+{
-+ struct elf32_arm_link_hash_entry *eh;
-+ struct elf32_arm_relocs_copied *p;
-+
-+ if (h->root.type == bfd_link_hash_warning)
-+ h = (struct elf_link_hash_entry *) h->root.u.i.link;
-+
-+ eh = (struct elf32_arm_link_hash_entry *) h;
-+ for (p = eh->relocs_copied; p != NULL; p = p->next)
-+ {
-+ asection *s = p->section;
-+
-+ if (s != NULL && (s->flags & SEC_READONLY) != 0)
-+ {
-+ struct bfd_link_info *info = (struct bfd_link_info *) inf;
-+
-+ info->flags |= DF_TEXTREL;
-+
-+ /* Not an error, just cut short the traversal. */
-+ return FALSE;
-+ }
-+ }
-+ return TRUE;
-+}
-+
- /* Set the sizes of the dynamic sections. */
-
- static bfd_boolean
-@@ -3740,6 +3773,12 @@
- return FALSE;
- }
-
-+ /* If any dynamic relocs apply to a read-only section,
-+ then we need a DT_TEXTREL entry. */
-+ if ((info->flags & DF_TEXTREL) == 0)
-+ elf_link_hash_traverse (&htab->root, elf32_arm_readonly_dynrelocs,
-+ (PTR) info);
-+
- if ((info->flags & DF_TEXTREL) != 0)
- {
- if (!add_dynamic_entry (DT_TEXTREL, 0))