From dc0a02638583d8e7f7e1cc72643d1b26ec6042fd Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 28 Mar 2013 15:39:32 -0700 Subject: Make _dl_phdr pointer to const. --- csu/libc-tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csu') diff --git a/csu/libc-tls.c b/csu/libc-tls.c index 2a195019cc..c37df67e6c 100644 --- a/csu/libc-tls.c +++ b/csu/libc-tls.c @@ -114,7 +114,7 @@ __libc_setup_tls (size_t tcbsize, size_t tcbalign) size_t align = 0; size_t max_align = tcbalign; size_t tcb_offset; - ElfW(Phdr) *phdr; + const ElfW(Phdr) *phdr; /* Look through the TLS segment if there is any. */ if (_dl_phdr != NULL) -- cgit v1.2.3