Remove dynamically generated code from LRMI.
commit1119ffe7afa9787910e1b12c6d47b33ea3465d7a
authorMichał Januszewski <spock@gentoo.org>
Mon, 22 Sep 2008 22:56:59 +0000 (23 00:56 +0200)
committerMichał Januszewski <spock@gentoo.org>
Mon, 22 Sep 2008 22:56:59 +0000 (23 00:56 +0200)
tree7df83e5e014d1c453bbf1d45f5375acc2a10c6b5
parent7ded0c607f1b0c9f2fc1f1282438bac6138b9f46
Remove dynamically generated code from LRMI.

LRMI dynamically generated the return to 32-bit code (int 0xff), which
causes problem with systems using PaX, where memory pages are either
executable or writable, but never both at once.  Fix this by including
this code in a separate section in the object file and mapping it
to the absolute address 0x9000.

Thanks to the PaX team for useful suggestions and discussions in
http://bugs.gentoo.org/show_bug.cgi?id=226107
Makefile
libs/lrmi-0.10/Makefile
libs/lrmi-0.10/lrmi.c