Update AT_BASE for musl-libc

https://github.com/upx/upx/issues/93
	modified:   stub/src/amd64-linux.elf-main.c
	modified:   stub/src/i386-linux.elf-main.c
	modified:   stub/src/powerpc64le-linux.elf-main.c

	modified:   stub/amd64-linux.elf-fold.h
	modified:   stub/powerpc64le-linux.elf-fold.h
	modified:   stub/tmp/amd64-linux.elf-fold.map
	modified:   stub/tmp/powerpc64le-linux.elf-fold.map
	modified:   ../.github/travis_testsuite_1.sh
This commit is contained in:
John Reiser
2017-04-27 20:55:02 -07:00
parent 24c924d668
commit cd11bb1606
8 changed files with 134 additions and 130 deletions
+30 -30
View File
@@ -9,7 +9,7 @@ Linker script and memory map
TARGET(elf64-powerpcle)
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
.text 0x00000000001000bc 0x81c
.text 0x00000000001000bc 0x82c
*(.text)
.text 0x00000000001000bc 0x1b0 tmp/powerpc64le-linux.elf-fold.o
0x0000000000100220 mmap
@@ -20,47 +20,47 @@ TARGET(elf64-powerpcle)
0x0000000000100254 mprotect
0x000000000010025c munmap
0x0000000000100264 brk
.text 0x000000000010026c 0x66c tmp/powerpc64le-linux.elf-main.o
.text 0x000000000010026c 0x67c tmp/powerpc64le-linux.elf-main.o
*(.data)
.data 0x00000000001008d8 0x0 tmp/powerpc64le-linux.elf-fold.o
.data 0x00000000001008d8 0x0 tmp/powerpc64le-linux.elf-main.o
.data 0x00000000001008e8 0x0 tmp/powerpc64le-linux.elf-fold.o
.data 0x00000000001008e8 0x0 tmp/powerpc64le-linux.elf-main.o
.sfpr 0x00000000001008d8 0xa4
.sfpr 0x00000000001008d8 0xa4 linker stubs
0x00000000001008d8 _savegpr0_14
0x000000000010090c _savegpr0_27
0x0000000000100910 _savegpr0_28
0x0000000000100928 _restgpr0_14
0x000000000010095c _restgpr0_27
0x0000000000100960 _restgpr0_28
.sfpr 0x00000000001008e8 0xa4
.sfpr 0x00000000001008e8 0xa4 linker stubs
0x00000000001008e8 _savegpr0_14
0x0000000000100914 _savegpr0_25
0x0000000000100920 _savegpr0_28
0x0000000000100938 _restgpr0_14
0x0000000000100964 _restgpr0_25
0x0000000000100970 _restgpr0_28
.glink 0x0000000000100980 0x0
.glink 0x0000000000100980 0x0 linker stubs
.glink 0x0000000000100990 0x0
.glink 0x0000000000100990 0x0 linker stubs
.eh_frame 0x000000000010097c 0x0
.eh_frame 0x000000000010097c 0x0 linker stubs
.eh_frame 0x000000000010098c 0x0
.eh_frame 0x000000000010098c 0x0 linker stubs
.rela.dyn 0x0000000000100980 0x0
.rela.iplt 0x0000000000100980 0x0 linker stubs
.rela.dyn 0x0000000000100990 0x0
.rela.iplt 0x0000000000100990 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 0x0000000000100980 0x0
.branch_lt 0x0000000000100980 0x0 linker stubs
.branch_lt 0x0000000000100990 0x0
.branch_lt 0x0000000000100990 0x0 linker stubs
.toc 0x0000000000100980 0x0
.toc 0x0000000000100980 0x0 tmp/powerpc64le-linux.elf-main.o
.toc 0x0000000000100990 0x0
.toc 0x0000000000100990 0x0 tmp/powerpc64le-linux.elf-main.o
.opd 0x0000000000100980 0x58
.opd 0x0000000000100980 0x58 tmp/powerpc64le-linux.elf-main.o
0x00000000001009c0 upx_main
.opd 0x0000000000100990 0x58
.opd 0x0000000000100990 0x58 tmp/powerpc64le-linux.elf-main.o
0x00000000001009d0 upx_main
.iplt 0x00000000001009d8 0x0
.iplt 0x00000000001009d8 0x0 linker stubs
.iplt 0x00000000001009e8 0x0
.iplt 0x00000000001009e8 0x0 linker stubs
.bss 0x00000000001009d8 0x0
.bss 0x00000000001009d8 0x0 tmp/powerpc64le-linux.elf-fold.o
.bss 0x00000000001009d8 0x0 tmp/powerpc64le-linux.elf-main.o
.bss 0x00000000001009e8 0x0
.bss 0x00000000001009e8 0x0 tmp/powerpc64le-linux.elf-fold.o
.bss 0x00000000001009e8 0x0 tmp/powerpc64le-linux.elf-main.o