Nick Kralevich 9ec0f03a0d Add relro support
Add support for PT_GNU_RELRO. This allows the static linker to
indicate that certain regions of memory should be marked as
"read-only" after dynamic linking is complete.

See:
  * http://www.akkadia.org/drepper/nonselsec.pdf (section 6)
  * http://tk-blog.blogspot.com/2009/02/relro-not-so-well-known-memory.html

Note that this change has no effect on Android right now, because
we don't compile our code with relro enabled.

Change-Id: I6541f8775367e8558b4388f7d105b1ae6e8f046b
2012-03-05 16:44:42 -08:00
..
2011-05-13 10:54:34 -07:00
2009-11-05 15:50:05 -08:00
2012-03-05 16:44:42 -08:00
2009-03-03 19:28:35 -08:00
2012-02-01 09:46:08 -08:00
2011-05-26 02:46:41 +02:00
2010-01-15 15:57:02 -08:00
2010-01-15 15:57:02 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2009-03-03 19:28:35 -08:00
2010-10-13 15:46:55 +02:00