diff options
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32_x86_64_nacl.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/elf_i386_nacl.sh | 3 | ||||
-rw-r--r-- | ld/emulparams/elf_nacl.sh | 6 | ||||
-rw-r--r-- | ld/emulparams/elf_x86_64_nacl.sh | 3 |
4 files changed, 15 insertions, 0 deletions
diff --git a/ld/emulparams/elf32_x86_64_nacl.sh b/ld/emulparams/elf32_x86_64_nacl.sh new file mode 100644 index 0000000..4570ef9 --- /dev/null +++ b/ld/emulparams/elf32_x86_64_nacl.sh @@ -0,0 +1,3 @@ +. ${srcdir}/emulparams/elf32_x86_64.sh +. ${srcdir}/emulparams/elf_nacl.sh +OUTPUT_FORMAT="elf32-x86-64-nacl" diff --git a/ld/emulparams/elf_i386_nacl.sh b/ld/emulparams/elf_i386_nacl.sh new file mode 100644 index 0000000..81992d7 --- /dev/null +++ b/ld/emulparams/elf_i386_nacl.sh @@ -0,0 +1,3 @@ +. ${srcdir}/emulparams/elf_i386.sh +. ${srcdir}/emulparams/elf_nacl.sh +OUTPUT_FORMAT="elf32-i386-nacl" diff --git a/ld/emulparams/elf_nacl.sh b/ld/emulparams/elf_nacl.sh new file mode 100644 index 0000000..0073c0f --- /dev/null +++ b/ld/emulparams/elf_nacl.sh @@ -0,0 +1,6 @@ +ENABLE_INITFINI_ARRAY=yes +SEPARATE_CODE=yes +TEXT_START_ADDR=0x20000 +NACL_RODATA_DISTANCE=0x10000000 +RODATA_ADDR="${TEXT_START_ADDR} + ${NACL_RODATA_DISTANCE} + SIZEOF_HEADERS" +SHLIB_RODATA_ADDR="${NACL_RODATA_DISTANCE} + SIZEOF_HEADERS" diff --git a/ld/emulparams/elf_x86_64_nacl.sh b/ld/emulparams/elf_x86_64_nacl.sh new file mode 100644 index 0000000..7c79eee --- /dev/null +++ b/ld/emulparams/elf_x86_64_nacl.sh @@ -0,0 +1,3 @@ +. ${srcdir}/emulparams/elf_x86_64.sh +. ${srcdir}/emulparams/elf_nacl.sh +OUTPUT_FORMAT="elf64-x86-64-nacl" |