]> git.pld-linux.org Git - packages/crosssparc-binutils.git/blame - binutils-pr815.patch
- disable nls.
[packages/crosssparc-binutils.git] / binutils-pr815.patch
CommitLineData
0622d655
PS
1 PR ld/815
2 * elflink.c (elf_smash_syms): Clear undef.next if it's not being
3 used as a list pointer.
4
5--- bfd/elflink.c 2005/03/22 14:49:54 1.136.2.1
6+++ bfd/elflink.c 2005/04/15 03:52:53 1.136.2.2
7@@ -2932,8 +2932,11 @@
8 if (h->ref_regular)
9 abort ();
10
11- /* Set sym back to newly created state, but keep undefs list pointer. */
12+ /* Set sym back to newly created state, but keep undef.next if it is
13+ being used as a list pointer. */
14 bh = h->root.u.undef.next;
15+ if (bh == &h->root)
16+ bh = NULL;
17 if (bh != NULL || inf->htab->root.undefs_tail == &h->root)
18 inf->twiddled = TRUE;
19 (*inf->htab->root.table.newfunc) (&h->root.root,
This page took 0.04991 seconds and 4 git commands to generate.