(except r1, r2, and input args!) So, r12 .e_entry for musl must copy from a saved register. [qemu-ppc64 doesn't trash registers!] modified: ../.github/travis_testsuite_1.sh modified: p_lx_elf.cpp modified: stub/src/amd64-linux.elf-main.c modified: stub/src/powerpc64le-linux.elf-fold.S also .h .fold.map
70 lines
2.9 KiB
Plaintext
70 lines
2.9 KiB
Plaintext
|
|
Memory Configuration
|
|
|
|
Name Origin Length Attributes
|
|
*default* 0x0000000000000000 0xffffffffffffffff
|
|
|
|
Linker script and memory map
|
|
|
|
TARGET(elf64-powerpc)
|
|
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
|
|
|
|
.text 0x00000000001000bc 0xaa8
|
|
*(.text)
|
|
.text 0x00000000001000bc 0x30c tmp/powerpc64-linux.elf-fold.o
|
|
0x00000000001000bc get_page_mask
|
|
0x0000000000100368 mmap
|
|
0x0000000000100380 exit
|
|
0x0000000000100388 brk
|
|
0x0000000000100390 readlink
|
|
0x0000000000100398 read
|
|
0x00000000001003a0 open
|
|
0x00000000001003a8 close
|
|
0x00000000001003b0 mprotect
|
|
0x00000000001003b8 munmap
|
|
0x00000000001003c0 my_bkpt
|
|
.text 0x00000000001003c8 0x79c tmp/powerpc64-linux.elf-main.o
|
|
*(.data)
|
|
.data 0x0000000000100b64 0x0 tmp/powerpc64-linux.elf-fold.o
|
|
.data 0x0000000000100b64 0x0 tmp/powerpc64-linux.elf-main.o
|
|
|
|
.sfpr 0x0000000000100b64 0xa4
|
|
.sfpr 0x0000000000100b64 0xa4 linker stubs
|
|
0x0000000000100b64 _savegpr0_14
|
|
0x0000000000100b8c _savegpr0_24
|
|
0x0000000000100b9c _savegpr0_28
|
|
0x0000000000100bb4 _restgpr0_14
|
|
0x0000000000100bdc _restgpr0_24
|
|
0x0000000000100bec _restgpr0_28
|
|
|
|
.glink 0x0000000000100c08 0x0
|
|
.glink 0x0000000000100c08 0x0 linker stubs
|
|
|
|
.eh_frame 0x0000000000100c08 0x0
|
|
.eh_frame 0x0000000000100c08 0x0 linker stubs
|
|
|
|
.rela.dyn 0x0000000000100c08 0x0
|
|
.rela.iplt 0x0000000000100c08 0x0 linker stubs
|
|
|
|
.data
|
|
LOAD tmp/powerpc64-linux.elf-fold.o
|
|
LOAD tmp/powerpc64-linux.elf-main.o
|
|
OUTPUT(tmp/powerpc64-linux.elf-fold.bin elf64-powerpc)
|
|
|
|
.branch_lt 0x0000000000100c08 0x0
|
|
.branch_lt 0x0000000000100c08 0x0 linker stubs
|
|
|
|
.toc 0x0000000000100c08 0x0
|
|
.toc 0x0000000000100c08 0x0 tmp/powerpc64-linux.elf-main.o
|
|
|
|
.opd 0x0000000000100c08 0x58
|
|
.opd 0x0000000000100c08 0x58 tmp/powerpc64-linux.elf-main.o
|
|
0x0000000000100c48 upx_main
|
|
|
|
.iplt 0x0000000000100c60 0x0
|
|
.iplt 0x0000000000100c60 0x0 linker stubs
|
|
|
|
.bss 0x0000000000100c60 0x0
|
|
.bss 0x0000000000100c60 0x0 tmp/powerpc64-linux.elf-fold.o
|
|
.bss 0x0000000000100c60 0x0 tmp/powerpc64-linux.elf-main.o
|