ELF layout for page holes when runtime PAGE_SIZE < .p_align
amd64 works modified: p_lx_elf.cpp modified: stub/src/amd64-linux.elf-entry.S modified: stub/src/amd64-linux.elf-fold.S modified: stub/src/amd64-linux.elf-main.c modified: Makefile modified: stub/amd64-linux.elf-entry.h modified: stub/amd64-linux.elf-fold.h modified: stub/amd64-linux.shlib-init.h modified: stub/arm64-linux.elf-fold.h modified: stub/powerpc64-linux.elf-fold.h modified: stub/powerpc64le-linux.elf-fold.h modified: stub/src/amd64-linux.shlib-init.S modified: stub/tmp/amd64-linux.elf-entry.bin.dump modified: stub/tmp/amd64-linux.elf-fold.map modified: stub/tmp/amd64-linux.shlib-init.bin.dump modified: stub/tmp/arm64-linux.elf-fold.map modified: stub/tmp/powerpc64-linux.elf-fold.map modified: stub/tmp/powerpc64le-linux.elf-fold.map
This commit is contained in:
committed by
Markus F.X.J. Oberhumer
parent
a3b2cde58d
commit
926481dace
@@ -9,7 +9,7 @@ Linker script and memory map
|
||||
TARGET(elf64-powerpcle)
|
||||
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
|
||||
|
||||
.text 0x00000000001000bc 0xb00
|
||||
.text 0x00000000001000bc 0xb48
|
||||
*(.text)
|
||||
.text 0x00000000001000bc 0x30c tmp/powerpc64le-linux.elf-fold.o
|
||||
0x00000000001000bc get_page_mask
|
||||
@@ -23,47 +23,47 @@ TARGET(elf64-powerpcle)
|
||||
0x00000000001003b0 mprotect
|
||||
0x00000000001003b8 munmap
|
||||
0x00000000001003c0 my_bkpt
|
||||
.text 0x00000000001003c8 0x7f4 tmp/powerpc64le-linux.elf-main.o
|
||||
.text 0x00000000001003c8 0x83c tmp/powerpc64le-linux.elf-main.o
|
||||
*(.data)
|
||||
.data 0x0000000000100bbc 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.data 0x0000000000100bbc 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
.data 0x0000000000100c04 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.data 0x0000000000100c04 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
|
||||
.sfpr 0x0000000000100bbc 0xa4
|
||||
.sfpr 0x0000000000100bbc 0xa4 linker stubs
|
||||
0x0000000000100bbc _savegpr0_14
|
||||
0x0000000000100be4 _savegpr0_24
|
||||
0x0000000000100bf4 _savegpr0_28
|
||||
0x0000000000100c0c _restgpr0_14
|
||||
0x0000000000100c34 _restgpr0_24
|
||||
0x0000000000100c44 _restgpr0_28
|
||||
.sfpr 0x0000000000100c04 0xa4
|
||||
.sfpr 0x0000000000100c04 0xa4 linker stubs
|
||||
0x0000000000100c04 _savegpr0_14
|
||||
0x0000000000100c2c _savegpr0_24
|
||||
0x0000000000100c3c _savegpr0_28
|
||||
0x0000000000100c54 _restgpr0_14
|
||||
0x0000000000100c7c _restgpr0_24
|
||||
0x0000000000100c8c _restgpr0_28
|
||||
|
||||
.glink 0x0000000000100c60 0x0
|
||||
.glink 0x0000000000100c60 0x0 linker stubs
|
||||
.glink 0x0000000000100ca8 0x0
|
||||
.glink 0x0000000000100ca8 0x0 linker stubs
|
||||
|
||||
.eh_frame 0x0000000000100c60 0x0
|
||||
.eh_frame 0x0000000000100c60 0x0 linker stubs
|
||||
.eh_frame 0x0000000000100ca8 0x0
|
||||
.eh_frame 0x0000000000100ca8 0x0 linker stubs
|
||||
|
||||
.rela.dyn 0x0000000000100c60 0x0
|
||||
.rela.iplt 0x0000000000100c60 0x0 linker stubs
|
||||
.rela.dyn 0x0000000000100ca8 0x0
|
||||
.rela.iplt 0x0000000000100ca8 0x0 linker stubs
|
||||
|
||||
.data
|
||||
LOAD tmp/powerpc64le-linux.elf-fold.o
|
||||
LOAD tmp/powerpc64le-linux.elf-main.o
|
||||
OUTPUT(tmp/powerpc64le-linux.elf-fold.bin elf64-powerpcle)
|
||||
|
||||
.branch_lt 0x0000000000100c60 0x0
|
||||
.branch_lt 0x0000000000100c60 0x0 linker stubs
|
||||
.branch_lt 0x0000000000100ca8 0x0
|
||||
.branch_lt 0x0000000000100ca8 0x0 linker stubs
|
||||
|
||||
.toc 0x0000000000100c60 0x0
|
||||
.toc 0x0000000000100c60 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
.toc 0x0000000000100ca8 0x0
|
||||
.toc 0x0000000000100ca8 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
|
||||
.opd 0x0000000000100c60 0x58
|
||||
.opd 0x0000000000100c60 0x58 tmp/powerpc64le-linux.elf-main.o
|
||||
0x0000000000100ca0 upx_main
|
||||
.opd 0x0000000000100ca8 0x58
|
||||
.opd 0x0000000000100ca8 0x58 tmp/powerpc64le-linux.elf-main.o
|
||||
0x0000000000100ce8 upx_main
|
||||
|
||||
.iplt 0x0000000000100cb8 0x0
|
||||
.iplt 0x0000000000100cb8 0x0 linker stubs
|
||||
.iplt 0x0000000000100d00 0x0
|
||||
.iplt 0x0000000000100d00 0x0 linker stubs
|
||||
|
||||
.bss 0x0000000000100cb8 0x0
|
||||
.bss 0x0000000000100cb8 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.bss 0x0000000000100cb8 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
.bss 0x0000000000100d00 0x0
|
||||
.bss 0x0000000000100d00 0x0 tmp/powerpc64le-linux.elf-fold.o
|
||||
.bss 0x0000000000100d00 0x0 tmp/powerpc64le-linux.elf-main.o
|
||||
|
||||
Reference in New Issue
Block a user