tile: use _dl_static_init to set GLRO(gl_pagesize)
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 3 Jul 2013 18:48:39 +0000 (14:48 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Sun, 7 Jul 2013 15:33:25 +0000 (11:33 -0400)
commit95a4e1ea3b019e60bb260d6e70b1657ea27770e8
tree3df1eb87dc89ceaf0e22cf6d152eeb63d2a67bbf
parentb68c2231254e47245352af23b1f9b93f68149bda
tile: use _dl_static_init to set GLRO(gl_pagesize)

A recently-added test (dlfcn/tststatic5) pointed out that tile was not
properly initializing the variable pagesize in certain cases.  This
change just copies the existing code from MIPS.
ports/ChangeLog.tile
ports/sysdeps/unix/sysv/linux/tile/Makefile
ports/sysdeps/unix/sysv/linux/tile/Versions
ports/sysdeps/unix/sysv/linux/tile/dl-static.c [new file with mode: 0644]
ports/sysdeps/unix/sysv/linux/tile/ldsodefs.h [new file with mode: 0644]