about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-03-28 15:39:32 -0700
committerRoland McGrath <roland@hack.frob.com>2013-03-28 15:39:32 -0700
commitdc0a02638583d8e7f7e1cc72643d1b26ec6042fd (patch)
tree86ec6fdccabc839223424322719e2f9eebae13c3 /csu
parent3d3436ae68a907f656a07604eb7e10a50e1c8f85 (diff)
downloadglibc-dc0a02638583d8e7f7e1cc72643d1b26ec6042fd.tar.gz
glibc-dc0a02638583d8e7f7e1cc72643d1b26ec6042fd.tar.xz
glibc-dc0a02638583d8e7f7e1cc72643d1b26ec6042fd.zip
Make _dl_phdr pointer to const.
Diffstat (limited to 'csu')
-rw-r--r--csu/libc-tls.c2
1 files changed, 1 insertions, 1 deletions
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)