OSDN Git Service

libc_init_static: apply relro earlier.
authorNick Kralevich <nnk@google.com>
Sat, 12 Jan 2013 02:38:26 +0000 (18:38 -0800)
committerNick Kralevich <nnk@google.com>
Sat, 12 Jan 2013 02:38:26 +0000 (18:38 -0800)
commit9fb48ac257d9a01ba99c6c9ced497b24512a86b7
tree888f9f35fe741a0e59beaa599ada10aff2b74bd5
parent2c5153b043b44e9935a334ae9b2d5a4bc5258b40
libc_init_static: apply relro earlier.

The dynamic linker applies relro before the preinit and init
arrays are executed, so we should be consistent for statically
linked executables.

Change-Id: Ia0a49d0e981a6e8791f74eed00280edf576ba139
libc/bionic/libc_init_static.c