This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6839] New: Remove CHECK_STATIC_TLS to prevent redefinition warning
- From: "rsa at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Aug 2008 16:17:00 -0000
- Subject: [Bug libc/6839] New: Remove CHECK_STATIC_TLS to prevent redefinition warning
- Reply-to: sourceware-bugzilla at sourceware dot org
The CHECK_STATIC_TLS macro in sysdeps/powerpc/powerpc32/dl-machine.c is now
redundant and unnecessary since this macro has been provided in common code
elf/dynamic-link.h.
2008-08-12 Ryan S. Arnold <rsa@us.ibm.com>
* sysdeps/powerpc/powerpc32/dl-machine.c (CHECK_STATIC_TLS): Remove
macro since it is now available in elf/dynamic-link.h.
--- glibc/sysdeps/powerpc/powerpc32/dl-machine.c 2008-08-12 11:04:40.000000000 -0500
+++ glibc.new/sysdeps/powerpc/powerpc32/dl-machine.c 2008-08-12
11:07:40.000000000 -0500
@@ -557,11 +557,6 @@
}
break;
-#define CHECK_STATIC_TLS(map, sym_map) \
- do { \
- if (__builtin_expect ((sym_map)->l_tls_offset == NO_TLS_OFFSET, 0)) \
- _dl_allocate_static_tls (sym_map); \
- } while (0)
#define DO_TLS_RELOC(suffix) \
case R_PPC_DTPREL##suffix: \
/* During relocation all TLS symbols are defined and used. \
--
Summary: Remove CHECK_STATIC_TLS to prevent redefinition warning
Product: glibc
Version: 2.8
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: rsa at us dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: powerpc64-linux
GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux
http://sourceware.org/bugzilla/show_bug.cgi?id=6839
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.