]> git.pld-linux.org Git - packages/crossalpha-binutils.git/commitdiff
- fix PR ld/815. auto/th/binutils-2_16_90_0_1-0_3 auto/th/binutils-2_16_90_0_1-1
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 15 Apr 2005 11:33:57 +0000 (11:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    binutils-pr815.patch -> 1.1

binutils-pr815.patch [new file with mode: 0644]

diff --git a/binutils-pr815.patch b/binutils-pr815.patch
new file mode 100644 (file)
index 0000000..1e513fe
--- /dev/null
@@ -0,0 +1,19 @@
+    PR ld/815
+    * elflink.c (elf_smash_syms): Clear undef.next if it's not being
+      used as a list pointer.
+
+--- bfd/elflink.c      2005/03/22 14:49:54     1.136.2.1
++++ bfd/elflink.c      2005/04/15 03:52:53     1.136.2.2
+@@ -2932,8 +2932,11 @@
+   if (h->ref_regular)
+     abort ();
+-  /* Set sym back to newly created state, but keep undefs list pointer.  */
++  /* Set sym back to newly created state, but keep undef.next if it is
++     being used as a list pointer.  */
+   bh = h->root.u.undef.next;
++  if (bh == &h->root)
++    bh = NULL;
+   if (bh != NULL || inf->htab->root.undefs_tail == &h->root)
+     inf->twiddled = TRUE;
+   (*inf->htab->root.table.newfunc) (&h->root.root,
This page took 0.110578 seconds and 4 git commands to generate.