rpms/binutils/F-13 binutils-2.20.51.0.2-do-not-bind-unique-symbols-locally.patch, NONE, 1.1
Nicholas Clifton
nickc at fedoraproject.org
Thu Apr 8 12:11:28 UTC 2010
Author: nickc
Update of /cvs/pkgs/rpms/binutils/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20971
Added Files:
binutils-2.20.51.0.2-do-not-bind-unique-symbols-locally.patch
Log Message:
oops - add patch for:
Do not allow unique symbols to be bound locally. (PR ld/11434)
binutils-2.20.51.0.2-do-not-bind-unique-symbols-locally.patch:
ChangeLog | 9 +++++++++
elf-bfd.h | 5 !!!!!
2 files changed, 9 insertions(+), 5 modifications(!)
--- NEW FILE binutils-2.20.51.0.2-do-not-bind-unique-symbols-locally.patch ---
diff -rcp ../binutils-2.20.51.0.2.original/bfd/ChangeLog bfd/ChangeLog
*** ../binutils-2.20.51.0.2.original/bfd/ChangeLog 2010-04-08 11:27:14.000000000 +0100
--- bfd/ChangeLog 2010-04-08 11:28:18.000000000 +0100
***************
*** 1,3 ****
--- 1,12 ----
+ 2010-04-07 Nick Clifton <nickc at redhat.com>
+
+ Import this patch from the mainline:
+
+ 2010-03-26 H.J. Lu <hongjiu.lu at intel.com>
+
+ PR ld/11434
+ * elf-bfd.h (SYMBOLIC_BIND): Don't bind unique symbols locally.
+
2010-02-18 H.J. Lu <hongjiu.lu at intel.com>
* elf32-i386.c (elf_i386_add_symbol_hook): Don't set
diff -rcp ../binutils-2.20.51.0.2.original/bfd/elf-bfd.h bfd/elf-bfd.h
*** ../binutils-2.20.51.0.2.original/bfd/elf-bfd.h 2010-04-08 11:27:13.000000000 +0100
--- bfd/elf-bfd.h 2010-04-08 11:27:35.000000000 +0100
*************** extern asection _bfd_elf_large_com_secti
*** 2313,2320 ****
while (0)
/* Will a symbol be bound to the the definition within the shared
! library, if any. */
#define SYMBOLIC_BIND(INFO, H) \
! ((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic))
#endif /* _LIBELF_H_ */
--- 2313,2321 ----
while (0)
/* Will a symbol be bound to the the definition within the shared
! library, if any. A unique symbol can never be bound locally. */
#define SYMBOLIC_BIND(INFO, H) \
! (! (H)->unique_global \
! && ((INFO)->symbolic || ((INFO)->dynamic && !(H)->dynamic)))
#endif /* _LIBELF_H_ */
More information about the scm-commits
mailing list