Don't allow text relocations on 64-bit.

I've also updated our <sys/exec_elf.h> to match upstream.

Change-Id: I52f9fce3167541811208d273ff23ceaa112f7135
This commit is contained in:
Elliott Hughes
2013-10-28 14:19:05 -07:00
parent 3ec5d8954b
commit e4d792adb8
4 changed files with 65 additions and 27 deletions

View File

@@ -295,6 +295,8 @@ soinfo libdl_info = {
{ .l_addr = 0, .l_name = 0, .l_ld = 0, .l_next = 0, .l_prev = 0, },
.constructors_called = false,
.load_bias = 0,
#if !defined(__LP64__)
.has_text_relocations = false,
#endif
.has_DT_SYMBOLIC = true,
};