Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/binutils/2.20.1: 09_all_binutils-2.20-ld-internal-error-link-order.patch README.history
Date: Sun, 09 May 2010 08:29:59
Message-Id: 20100509082957.68C4329646@corvid.gentoo.org
1 vapier 10/05/09 08:29:57
2
3 Modified: README.history
4 Added:
5 09_all_binutils-2.20-ld-internal-error-link-order.patch
6 Log:
7 add patch from upstream for ld internal error #317549
8
9 Revision Changes Path
10 1.5 src/patchsets/binutils/2.20.1/README.history
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/README.history?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/README.history?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/README.history?r1=1.4&r2=1.5
15
16 Index: README.history
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.20.1/README.history,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- README.history 9 May 2010 08:09:06 -0000 1.4
23 +++ README.history 9 May 2010 08:29:57 -0000 1.5
24 @@ -1,5 +1,6 @@
25 -1.1 [pending]
26 +1.1 09.05.2010
27 + 07_all_binutils-2.20-export-dynamic-pie.patch
28 + + 09_all_binutils-2.20-ld-internal-error-link-order.patch
29 + 75_all_binutils-default-test-flags.patch
30 U 76_all_use-new-ld-dtags.patch
31 - 77_all_document-new-dtags-behaviour.patch
32
33
34
35 1.1 src/patchsets/binutils/2.20.1/09_all_binutils-2.20-ld-internal-error-link-order.patch
36
37 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/09_all_binutils-2.20-ld-internal-error-link-order.patch?rev=1.1&view=markup
38 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/binutils/2.20.1/09_all_binutils-2.20-ld-internal-error-link-order.patch?rev=1.1&content-type=text/plain
39
40 Index: 09_all_binutils-2.20-ld-internal-error-link-order.patch
41 ===================================================================
42 https://bugs.gentoo.org/317549
43 http://sourceware.org/bugzilla/show_bug.cgi?id=11138
44
45 2010-01-07 H.J. Lu <hongjiu.lu@×××××.com>
46
47 PR ld/11138
48 * elflink.c (elf_link_check_versioned_symbol): Don't abort if
49 a symbol referenced by DSO is is defined in a non-shared object
50 and forced local.
51
52 ===================================================================
53 RCS file: /cvs/src/src/bfd/elflink.c,v
54 retrieving revision 1.364
55 retrieving revision 1.365
56 diff -u -r1.364 -r1.365
57 --- src/bfd/elflink.c 2010/01/08 01:43:22 1.364
58 +++ src/bfd/elflink.c 2010/01/08 03:03:16 1.365
59 @@ -8492,10 +8492,14 @@
60
61 _bfd_elf_swap_versym_in (input, ever, &iver);
62
63 - if ((iver.vs_vers & VERSYM_HIDDEN) == 0)
64 + if ((iver.vs_vers & VERSYM_HIDDEN) == 0
65 + && !(h->def_regular
66 + && h->forced_local))
67 {
68 /* If we have a non-hidden versioned sym, then it should
69 - have provided a definition for the undefined sym. */
70 + have provided a definition for the undefined sym unless
71 + it is defined in a non-shared object and forced local.
72 + */
73 abort ();
74 }