Merge branch 'devel' into jreiser

Conflicts:
	src/p_lx_elf.cpp
	src/stub/src/amd64-linux.elf-entry.S
	src/stub/src/amd64-linux.elf-main.c
	src/stub/src/arm.v4a-linux.elf-entry.S
	src/stub/src/arm.v4a-linux.elf-fold.S
	src/stub/src/arm64-linux.elf-entry.S
	src/stub/src/arm64-linux.elf-fold.S
	src/stub/src/i386-linux.elf-fold.S
	src/stub/src/powerpc-darwin.macho-entry.S
	src/stub/src/powerpc-linux.elf-fold.S
	src/stub/src/powerpc64le-darwin.macho-entry.S
	src/stub/src/powerpc64le-linux.elf-entry.S
	src/stub/src/powerpc64le-linux.elf-fold.S
	src/stub/src/powerpc64le-linux.elf-main.c

 Changes to be committed:
	modified:   ../.github/ISSUE_TEMPLATE.md
	modified:   ../.github/travis_build.sh
	modified:   ../.github/travis_deploy.sh
	modified:   ../.github/travis_init.sh
	modified:   ../.github/travis_testsuite_1.sh
	modified:   ../.gitignore
	modified:   ../.travis.yml
	modified:   ../NEWS
	modified:   c_screen.cpp
	modified:   file.cpp
	modified:   help.cpp
	modified:   linker.cpp
	modified:   main.cpp
	modified:   p_lx_elf.cpp
	modified:   packer.cpp
	modified:   s_djgpp2.cpp
	modified:   stub/src/amd64-linux.elf-main.c
	modified:   stub/src/arm.v4a-linux.elf-entry.S
	modified:   stub/src/arm.v4a-linux.elf-fold.S
	modified:   stub/src/arm64-linux.elf-entry.S
	modified:   stub/src/arm64-linux.elf-fold.S
	modified:   stub/src/i386-linux.elf-main.c
	modified:   stub/src/powerpc-darwin.dylib-entry.S
	modified:   stub/src/powerpc-darwin.macho-entry.S
	modified:   stub/src/powerpc-darwin.macho-fold.S
	modified:   stub/src/powerpc-linux.elf-fold.S
	modified:   stub/src/powerpc64le-darwin.dylib-entry.S
	modified:   stub/src/powerpc64le-darwin.macho-entry.S
	modified:   stub/src/powerpc64le-darwin.macho-fold.S
	modified:   stub/src/powerpc64le-linux.elf-entry.S
	modified:   stub/src/powerpc64le-linux.elf-fold.S
	modified:   stub/src/powerpc64le-linux.elf-main.c
	modified:   ui.cpp
	modified:   util.cpp
	modified:   work.cpp
	[plus *.h, *.dump, *.map]
This commit is contained in:
John Reiser
2017-05-08 14:21:31 -07:00
71 changed files with 5478 additions and 5396 deletions
+15 -15
View File
@@ -2,19 +2,19 @@ file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 ELFMAINX 0000003c 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 00000090 00000000 00000000 00000070 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 00000000 00000000 00000100 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 00000000 00000000 00000100 2**0 CONTENTS, READONLY
4 NRV2E 0000012c 00000000 00000000 00000100 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 00000118 00000000 00000000 0000022c 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000dc 00000000 00000000 00000344 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 000000a8 00000000 00000000 00000420 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000938 00000000 00000000 000004c8 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC10 00000478 00000000 00000000 00000e00 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC30 00000000 00000000 00000000 00001278 2**0 CONTENTS, READONLY
11 ELFMAINY 00000036 00000000 00000000 00001278 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 00000000 00000000 000012ae 2**0 CONTENTS, RELOC, READONLY
0 ELFMAINX 00000044 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 00000094 00000000 00000000 00000078 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 00000000 00000000 0000010c 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 00000000 00000000 0000010c 2**0 CONTENTS, READONLY
4 NRV2E 0000012c 00000000 00000000 0000010c 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 00000118 00000000 00000000 00000238 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000dc 00000000 00000000 00000350 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 000000a8 00000000 00000000 0000042c 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000938 00000000 00000000 000004d4 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC10 00000478 00000000 00000000 00000e0c 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC30 00000000 00000000 00000000 00001284 2**0 CONTENTS, READONLY
11 ELFMAINY 00000036 00000000 00000000 00001284 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 00000000 00000000 000012ba 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
00000000 l d ELFMAINXu 00000000 ELFMAINXu
00000000 l d NRV2E 00000000 NRV2E
@@ -51,8 +51,8 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [ELFMAINXu]:
OFFSET TYPE VALUE
00000020 R_ARM_PC24 ELFMAINY
00000030 R_ARM_PC24 ELFMAINXu
00000024 R_ARM_PC24 ELFMAINY
00000034 R_ARM_PC24 ELFMAINXu
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
+24 -24
View File
@@ -9,35 +9,35 @@ Linker script and memory map
TARGET(elf32-littlearm)
0x0000000000008080 . = ((0x8000 + SIZEOF_HEADERS) + 0xc)
.text 0x0000000000008080 0x998
.text 0x0000000000008080 0x980
*(.text)
.text 0x0000000000008080 0x2a4 tmp/arm.v4a-linux.elf-fold.o
0x00000000000082c8 munmap
0x00000000000082b0 getpid
0x00000000000082c0 readlink
0x00000000000082e4 mmap
0x00000000000082d8 __clear_cache
0x0000000000008308 mmap_privanon
0x0000000000008290 write
0x0000000000008288 read
0x00000000000082a8 unlink
0x000000000000827c my_bkpt
0x0000000000008284 exit
0x00000000000082b8 brk
0x0000000000008298 open
0x00000000000082d0 mprotect
0x00000000000082a0 close
.text 0x0000000000008324 0x6f4 tmp/arm.v4a-linux.elf-main.o
0x0000000000008898 upx_main
.text 0x0000000000008080 0x28c tmp/arm.v4a-linux.elf-fold.o
0x00000000000082b0 munmap
0x0000000000008298 getpid
0x00000000000082a8 readlink
0x00000000000082cc mmap
0x00000000000082c0 __clear_cache
0x00000000000082f0 mmap_privanon
0x0000000000008278 write
0x0000000000008270 read
0x0000000000008290 unlink
0x0000000000008264 my_bkpt
0x000000000000826c exit
0x00000000000082a0 brk
0x0000000000008280 open
0x00000000000082b8 mprotect
0x0000000000008288 close
.text 0x000000000000830c 0x6f4 tmp/arm.v4a-linux.elf-main.o
0x0000000000008880 upx_main
*(.data)
.data 0x0000000000008a18 0x0 tmp/arm.v4a-linux.elf-fold.o
.data 0x0000000000008a18 0x0 tmp/arm.v4a-linux.elf-main.o
.data 0x0000000000008a00 0x0 tmp/arm.v4a-linux.elf-fold.o
.data 0x0000000000008a00 0x0 tmp/arm.v4a-linux.elf-main.o
.data
.bss 0x0000000000008a18 0x0
.bss 0x0000000000008a18 0x0 tmp/arm.v4a-linux.elf-fold.o
.bss 0x0000000000008a18 0x0 tmp/arm.v4a-linux.elf-main.o
.bss 0x0000000000008a00 0x0
.bss 0x0000000000008a00 0x0 tmp/arm.v4a-linux.elf-fold.o
.bss 0x0000000000008a00 0x0 tmp/arm.v4a-linux.elf-main.o
LOAD tmp/arm.v4a-linux.elf-fold.o
LOAD tmp/arm.v4a-linux.elf-main.o
OUTPUT(tmp/arm.v4a-linux.elf-fold.bin elf32-littlearm)
+15 -15
View File
@@ -2,19 +2,19 @@ file format elf32-littlearm
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 ELFMAINX 0000003c 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 0000009c 00000000 00000000 00000070 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 00000000 00000000 0000010c 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 00000000 00000000 0000010c 2**0 CONTENTS, READONLY
4 NRV2E 0000013c 00000000 00000000 0000010c 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 00000128 00000000 00000000 00000248 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000ec 00000000 00000000 00000370 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 000000b8 00000000 00000000 0000045c 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000938 00000000 00000000 00000514 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC10 00000478 00000000 00000000 00000e4c 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC30 00000000 00000000 00000000 000012c4 2**0 CONTENTS, READONLY
11 ELFMAINY 0000003e 00000000 00000000 000012c4 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 00000000 00000000 00001302 2**0 CONTENTS, RELOC, READONLY
0 ELFMAINX 00000044 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 000000a0 00000000 00000000 00000078 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 00000000 00000000 00000118 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 00000000 00000000 00000118 2**0 CONTENTS, READONLY
4 NRV2E 0000013c 00000000 00000000 00000118 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 00000128 00000000 00000000 00000254 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000ec 00000000 00000000 0000037c 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 000000b8 00000000 00000000 00000468 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000938 00000000 00000000 00000520 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC10 00000478 00000000 00000000 00000e58 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC30 00000000 00000000 00000000 000012d0 2**0 CONTENTS, READONLY
11 ELFMAINY 0000003e 00000000 00000000 000012d0 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 00000000 00000000 0000130e 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
00000000 l d ELFMAINXu 00000000 ELFMAINXu
00000000 l d NRV2E 00000000 NRV2E
@@ -51,8 +51,8 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [ELFMAINXu]:
OFFSET TYPE VALUE
00000024 R_ARM_PC24 ELFMAINY
00000034 R_ARM_PC24 ELFMAINXu
00000028 R_ARM_PC24 ELFMAINY
00000038 R_ARM_PC24 ELFMAINXu
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
+24 -24
View File
@@ -9,35 +9,35 @@ Linker script and memory map
TARGET(elf32-littlearm)
0x0000000000008080 . = ((0x8000 + SIZEOF_HEADERS) + 0xc)
.text 0x0000000000008080 0xa30
.text 0x0000000000008080 0xa18
*(.text)
.text 0x0000000000008080 0x344 tmp/arm.v5a-linux.elf-fold.o
0x0000000000008334 munmap
0x00000000000082f8 getpid
0x0000000000008320 readlink
0x0000000000008378 mmap
0x000000000000835c __clear_cache
0x00000000000083a8 mmap_privanon
0x00000000000082a8 write
0x0000000000008294 read
0x00000000000082e4 unlink
0x000000000000827c my_bkpt
0x0000000000008284 exit
0x000000000000830c brk
0x00000000000082bc open
0x0000000000008348 mprotect
0x00000000000082d0 close
.text 0x00000000000083c4 0x6ec tmp/armel-linux.elf-main.o
0x0000000000008930 upx_main
.text 0x0000000000008080 0x32c tmp/arm.v5a-linux.elf-fold.o
0x000000000000831c munmap
0x00000000000082e0 getpid
0x0000000000008308 readlink
0x0000000000008360 mmap
0x0000000000008344 __clear_cache
0x0000000000008390 mmap_privanon
0x0000000000008290 write
0x000000000000827c read
0x00000000000082cc unlink
0x0000000000008264 my_bkpt
0x000000000000826c exit
0x00000000000082f4 brk
0x00000000000082a4 open
0x0000000000008330 mprotect
0x00000000000082b8 close
.text 0x00000000000083ac 0x6ec tmp/armel-linux.elf-main.o
0x0000000000008918 upx_main
*(.data)
.data 0x0000000000008ab0 0x0 tmp/arm.v5a-linux.elf-fold.o
.data 0x0000000000008ab0 0x0 tmp/armel-linux.elf-main.o
.data 0x0000000000008a98 0x0 tmp/arm.v5a-linux.elf-fold.o
.data 0x0000000000008a98 0x0 tmp/armel-linux.elf-main.o
.data
.bss 0x0000000000008ab0 0x0
.bss 0x0000000000008ab0 0x0 tmp/arm.v5a-linux.elf-fold.o
.bss 0x0000000000008ab0 0x0 tmp/armel-linux.elf-main.o
.bss 0x0000000000008a98 0x0
.bss 0x0000000000008a98 0x0 tmp/arm.v5a-linux.elf-fold.o
.bss 0x0000000000008a98 0x0 tmp/armel-linux.elf-main.o
LOAD tmp/arm.v5a-linux.elf-fold.o
LOAD tmp/armel-linux.elf-main.o
OUTPUT(tmp/arm.v5a-linux.elf-fold.bin elf32-littlearm)
+18 -14
View File
@@ -2,23 +2,27 @@ file format elf64-littleaarch64
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 ELFMAINX 00000044 0000000000000000 0000000000000000 00000040 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 00000098 0000000000000000 0000000000000000 00000084 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 0000000000000000 0000000000000000 0000011c 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 0000000000000000 0000000000000000 0000011c 2**0 CONTENTS, READONLY
4 NRV2E 00000128 0000000000000000 0000000000000000 0000011c 2**0 CONTENTS, READONLY
5 NRV2D 0000011c 0000000000000000 0000000000000000 00000244 2**0 CONTENTS, READONLY
6 NRV2B 000000f0 0000000000000000 0000000000000000 00000360 2**0 CONTENTS, READONLY
7 LZMA_ELF00 000000d0 0000000000000000 0000000000000000 00000450 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000968 0000000000000000 0000000000000000 00000520 2**0 CONTENTS, READONLY
9 LZMA_DEC10 0000049c 0000000000000000 0000000000000000 00000e88 2**0 CONTENTS, READONLY
10 LZMA_DEC30 00000000 0000000000000000 0000000000000000 00001324 2**0 CONTENTS, READONLY
11 ELFMAINY 0000003e 0000000000000000 0000000000000000 00001324 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 0000000000000000 0000000000000000 00001362 2**0 CONTENTS, RELOC, READONLY
0 ELFMAINX 0000003c 0000000000000000 0000000000000000 00000040 2**0 CONTENTS, RELOC, READONLY
1 LUNMP000 00000000 0000000000000000 0000000000000000 0000007c 2**0 CONTENTS, READONLY
2 LUNMP001 00000000 0000000000000000 0000000000000000 0000007c 2**0 CONTENTS, READONLY
3 ELFMAINXu 000000a0 0000000000000000 0000000000000000 0000007c 2**0 CONTENTS, RELOC, READONLY
4 NRV_HEAD 00000000 0000000000000000 0000000000000000 0000011c 2**0 CONTENTS, READONLY
5 NRV_TAIL 00000000 0000000000000000 0000000000000000 0000011c 2**0 CONTENTS, READONLY
6 NRV2E 00000128 0000000000000000 0000000000000000 0000011c 2**0 CONTENTS, READONLY
7 NRV2D 0000011c 0000000000000000 0000000000000000 00000244 2**0 CONTENTS, READONLY
8 NRV2B 000000f0 0000000000000000 0000000000000000 00000360 2**0 CONTENTS, READONLY
9 LZMA_ELF00 000000d0 0000000000000000 0000000000000000 00000450 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC20 00000968 0000000000000000 0000000000000000 00000520 2**0 CONTENTS, READONLY
11 LZMA_DEC10 0000049c 0000000000000000 0000000000000000 00000e88 2**0 CONTENTS, READONLY
12 LZMA_DEC30 00000000 0000000000000000 0000000000000000 00001324 2**0 CONTENTS, READONLY
13 ELFMAINY 0000003e 0000000000000000 0000000000000000 00001324 2**0 CONTENTS, READONLY
14 ELFMAINZ 00000004 0000000000000000 0000000000000000 00001362 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0000000000000000 LZMA_DEC30
0000000000000000 l d ELFMAINY 0000000000000000 ELFMAINY
0000000000000000 l d ELFMAINX 0000000000000000 ELFMAINX
0000000000000000 l d LUNMP000 0000000000000000 LUNMP000
0000000000000000 l d LUNMP001 0000000000000000 LUNMP001
0000000000000000 l d ELFMAINXu 0000000000000000 ELFMAINXu
0000000000000000 l d NRV_HEAD 0000000000000000 NRV_HEAD
0000000000000000 l d NRV_TAIL 0000000000000000 NRV_TAIL
@@ -34,13 +38,13 @@ SYMBOL TABLE:
0000000000000000 *UND* 0000000000000000 MFLG
0000000000000000 *UND* 0000000000000000 ADRM
0000000000000014 g ELFMAINX 0000000000000000 _start
0000000000000004 g ELFMAINZ 0000000000000000 cpr0
0000000000000000 g F NRV2E 0000000000000128 ucl_nrv2e_decompress_32
0000000000000000 g F NRV2D 000000000000011c ucl_nrv2d_decompress_32
0000000000000000 g F NRV2B 00000000000000f0 ucl_nrv2b_decompress_32
0000000000000000 g LZMA_DEC10 0000000000000000 LzmaDecode
0000000000000000 g ELFMAINY 0000000000000000 end_decompress
0000000000000000 *UND* 0000000000000000 O_BINFO
0000000000000004 g ELFMAINZ 0000000000000000 cpr0
RELOCATION RECORDS FOR [ELFMAINX]:
OFFSET TYPE VALUE
+30 -30
View File
@@ -8,44 +8,44 @@ Linker script and memory map
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
.text 0x00000000001000bc 0x8a0
.text 0x00000000001000bc 0x880
*(.text)
.text 0x00000000001000bc 0x258 tmp/arm64-linux.elf-fold.o
0x000000000010022c my_bkpt
0x0000000000100234 exit
0x000000000010023c read
0x0000000000100248 write
0x0000000000100254 close
0x0000000000100260 getpid
0x000000000010026c brk
0x0000000000100278 munmap
0x0000000000100284 mprotect
0x0000000000100290 mmap_privanon
0x00000000001002a0 mmap
0x00000000001002ac unlink
0x00000000001002b8 open
0x00000000001002d4 readlink
0x0000000000100300 __clear_cache
.text 0x0000000000100314 0x648 tmp/arm64-linux.elf-main.o
0x00000000001007e4 upx_main
.text 0x00000000001000bc 0x238 tmp/arm64-linux.elf-fold.o
0x0000000000100230 my_bkpt
0x0000000000100238 exit
0x0000000000100240 read
0x000000000010024c write
0x0000000000100258 close
0x0000000000100264 getpid
0x0000000000100270 brk
0x000000000010027c munmap
0x0000000000100288 mprotect
0x0000000000100294 mmap_privanon
0x00000000001002a4 mmap
0x00000000001002b0 unlink
0x00000000001002bc readlink
0x00000000001002c4 open
0x00000000001002e0 __clear_cache
.text 0x00000000001002f4 0x648 tmp/arm64-linux.elf-main.o
0x00000000001007c4 upx_main
*(.data)
.data 0x000000000010095c 0x0 tmp/arm64-linux.elf-fold.o
.data 0x000000000010095c 0x0 tmp/arm64-linux.elf-main.o
.data 0x000000000010093c 0x0 tmp/arm64-linux.elf-fold.o
.data 0x000000000010093c 0x0 tmp/arm64-linux.elf-main.o
.iplt 0x000000000010095c 0x0
.iplt 0x000000000010095c 0x0 tmp/arm64-linux.elf-fold.o
.iplt 0x000000000010093c 0x0
.iplt 0x000000000010093c 0x0 tmp/arm64-linux.elf-fold.o
.rela.dyn 0x0000000000100960 0x0
.rela.iplt 0x0000000000100960 0x0 tmp/arm64-linux.elf-fold.o
.rela.dyn 0x0000000000100940 0x0
.rela.iplt 0x0000000000100940 0x0 tmp/arm64-linux.elf-fold.o
.data
LOAD tmp/arm64-linux.elf-fold.o
LOAD tmp/arm64-linux.elf-main.o
OUTPUT(tmp/arm64-linux.elf-fold.bin elf64-littleaarch64)
.igot.plt 0x0000000000100960 0x0
.igot.plt 0x0000000000100960 0x0 tmp/arm64-linux.elf-fold.o
.igot.plt 0x0000000000100940 0x0
.igot.plt 0x0000000000100940 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x000000000010095c 0x0
.bss 0x000000000010095c 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x000000000010095c 0x0 tmp/arm64-linux.elf-main.o
.bss 0x000000000010093c 0x0
.bss 0x000000000010093c 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x000000000010093c 0x0 tmp/arm64-linux.elf-main.o
+15 -15
View File
@@ -2,19 +2,19 @@ file format elf32-bigarm
Sections:
Idx Name Size VMA LMA File off Algn Flags
0 ELFMAINX 0000003c 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 00000090 00000000 00000000 00000070 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 00000000 00000000 00000100 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 00000000 00000000 00000100 2**0 CONTENTS, READONLY
4 NRV2E 0000012c 00000000 00000000 00000100 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 00000118 00000000 00000000 0000022c 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000dc 00000000 00000000 00000344 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 000000a8 00000000 00000000 00000420 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000938 00000000 00000000 000004c8 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC10 00000478 00000000 00000000 00000e00 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC30 00000000 00000000 00000000 00001278 2**0 CONTENTS, READONLY
11 ELFMAINY 00000036 00000000 00000000 00001278 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 00000000 00000000 000012ae 2**0 CONTENTS, RELOC, READONLY
0 ELFMAINX 00000044 00000000 00000000 00000034 2**0 CONTENTS, RELOC, READONLY
1 ELFMAINXu 00000094 00000000 00000000 00000078 2**0 CONTENTS, RELOC, READONLY
2 NRV_HEAD 00000000 00000000 00000000 0000010c 2**0 CONTENTS, READONLY
3 NRV_TAIL 00000000 00000000 00000000 0000010c 2**0 CONTENTS, READONLY
4 NRV2E 0000012c 00000000 00000000 0000010c 2**0 CONTENTS, RELOC, READONLY
5 NRV2D 00000118 00000000 00000000 00000238 2**0 CONTENTS, RELOC, READONLY
6 NRV2B 000000dc 00000000 00000000 00000350 2**0 CONTENTS, RELOC, READONLY
7 LZMA_ELF00 000000a8 00000000 00000000 0000042c 2**0 CONTENTS, RELOC, READONLY
8 LZMA_DEC20 00000938 00000000 00000000 000004d4 2**0 CONTENTS, RELOC, READONLY
9 LZMA_DEC10 00000478 00000000 00000000 00000e0c 2**0 CONTENTS, RELOC, READONLY
10 LZMA_DEC30 00000000 00000000 00000000 00001284 2**0 CONTENTS, READONLY
11 ELFMAINY 00000036 00000000 00000000 00001284 2**0 CONTENTS, READONLY
12 ELFMAINZ 00000004 00000000 00000000 000012ba 2**0 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
00000000 l d ELFMAINXu 00000000 ELFMAINXu
00000000 l d NRV2E 00000000 NRV2E
@@ -51,8 +51,8 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [ELFMAINXu]:
OFFSET TYPE VALUE
00000020 R_ARM_PC24 ELFMAINY
00000030 R_ARM_PC24 ELFMAINXu
00000024 R_ARM_PC24 ELFMAINY
00000034 R_ARM_PC24 ELFMAINXu
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
+24 -24
View File
@@ -9,35 +9,35 @@ Linker script and memory map
TARGET(elf32-bigarm)
0x0000000000008080 . = ((0x8000 + SIZEOF_HEADERS) + 0xc)
.text 0x0000000000008080 0x998
.text 0x0000000000008080 0x980
*(.text)
.text 0x0000000000008080 0x2a4 tmp/armeb.v4a-linux.elf-fold.o
0x00000000000082c8 munmap
0x00000000000082b0 getpid
0x00000000000082c0 readlink
0x00000000000082e4 mmap
0x00000000000082d8 __clear_cache
0x0000000000008308 mmap_privanon
0x0000000000008290 write
0x0000000000008288 read
0x00000000000082a8 unlink
0x000000000000827c my_bkpt
0x0000000000008284 exit
0x00000000000082b8 brk
0x0000000000008298 open
0x00000000000082d0 mprotect
0x00000000000082a0 close
.text 0x0000000000008324 0x6f4 tmp/armeb.v4a-linux.elf-main.o
0x0000000000008898 upx_main
.text 0x0000000000008080 0x28c tmp/armeb.v4a-linux.elf-fold.o
0x00000000000082b0 munmap
0x0000000000008298 getpid
0x00000000000082a8 readlink
0x00000000000082cc mmap
0x00000000000082c0 __clear_cache
0x00000000000082f0 mmap_privanon
0x0000000000008278 write
0x0000000000008270 read
0x0000000000008290 unlink
0x0000000000008264 my_bkpt
0x000000000000826c exit
0x00000000000082a0 brk
0x0000000000008280 open
0x00000000000082b8 mprotect
0x0000000000008288 close
.text 0x000000000000830c 0x6f4 tmp/armeb.v4a-linux.elf-main.o
0x0000000000008880 upx_main
*(.data)
.data 0x0000000000008a18 0x0 tmp/armeb.v4a-linux.elf-fold.o
.data 0x0000000000008a18 0x0 tmp/armeb.v4a-linux.elf-main.o
.data 0x0000000000008a00 0x0 tmp/armeb.v4a-linux.elf-fold.o
.data 0x0000000000008a00 0x0 tmp/armeb.v4a-linux.elf-main.o
.data
.bss 0x0000000000008a18 0x0
.bss 0x0000000000008a18 0x0 tmp/armeb.v4a-linux.elf-fold.o
.bss 0x0000000000008a18 0x0 tmp/armeb.v4a-linux.elf-main.o
.bss 0x0000000000008a00 0x0
.bss 0x0000000000008a00 0x0 tmp/armeb.v4a-linux.elf-fold.o
.bss 0x0000000000008a00 0x0 tmp/armeb.v4a-linux.elf-main.o
LOAD tmp/armeb.v4a-linux.elf-fold.o
LOAD tmp/armeb.v4a-linux.elf-main.o
OUTPUT(tmp/armeb.v4a-linux.elf-fold.bin elf32-bigarm)
+18 -18
View File
@@ -9,30 +9,30 @@ Linker script and memory map
TARGET(elf32-powerpc)
0x0000000000100080 . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
.text 0x0000000000100080 0xe74
.text 0x0000000000100080 0xe78
*(.text)
.text 0x0000000000100080 0x250 tmp/powerpc-linux.elf-fold.o
0x00000000001002c0 munmap
0x0000000000100284 mmap
0x00000000001002a0 read
0x0000000000100298 exit
0x00000000001002c8 brk
0x00000000001002a8 open
0x00000000001002b8 mprotect
0x00000000001002b0 close
.text 0x00000000001002d0 0xc24 tmp/powerpc-linux.elf-main.o
0x0000000000100bf8 upx_main
.text 0x0000000000100080 0x254 tmp/powerpc-linux.elf-fold.o
0x00000000001002c4 munmap
0x0000000000100288 mmap
0x00000000001002a4 read
0x000000000010029c exit
0x00000000001002cc brk
0x00000000001002ac open
0x00000000001002bc mprotect
0x00000000001002b4 close
.text 0x00000000001002d4 0xc24 tmp/powerpc-linux.elf-main.o
0x0000000000100bfc upx_main
*(.data)
.data 0x0000000000100ef4 0x0 tmp/powerpc-linux.elf-fold.o
.data 0x0000000000100ef4 0x0 tmp/powerpc-linux.elf-main.o
.data 0x0000000000100ef8 0x0 tmp/powerpc-linux.elf-fold.o
.data 0x0000000000100ef8 0x0 tmp/powerpc-linux.elf-main.o
.data
.bss 0x0000000000100ef4 0x0
.bss 0x0000000000100ef4 0x0 tmp/powerpc-linux.elf-fold.o
.bss 0x0000000000100ef4 0x0 tmp/powerpc-linux.elf-main.o
.bss 0x0000000000100ef8 0x0
.bss 0x0000000000100ef8 0x0 tmp/powerpc-linux.elf-fold.o
.bss 0x0000000000100ef8 0x0 tmp/powerpc-linux.elf-main.o
.rela.dyn 0x0000000000100ef4 0x0
.rela.dyn 0x0000000000100ef8 0x0
.rela.text 0x0000000000000000 0x0 tmp/powerpc-linux.elf-fold.o
LOAD tmp/powerpc-linux.elf-fold.o
LOAD tmp/powerpc-linux.elf-main.o
+68 -68
View File
@@ -70,54 +70,54 @@ LOAD tmp/powerpc64le-darwin.macho-main.o
.plt.got
*(.plt.got)
.text 0x0000000008048000 0x928
.text 0x0000000008048000 0x92c
*(.text.unlikely .text.*_unlikely .text.unlikely.*)
*(.text.exit .text.exit.*)
*(.text.startup .text.startup.*)
*(.text.hot .text.hot.*)
*(.text .stub .text.* .gnu.linkonce.t.*)
.text 0x0000000008048000 0x1d8 tmp/powerpc64le-darwin.macho-fold.o
.text 0x0000000008048000 0x1dc tmp/powerpc64le-darwin.macho-fold.o
0x0000000008048000 _start
0x00000000080480e4 pread
0x00000000080480f4 mmap
0x000000000804810c exit
0x0000000008048114 read
0x000000000804811c open
0x0000000008048124 close
0x000000000804812c mprotect
0x0000000008048134 _savegpr0_14
0x0000000008048138 _savegpr0_15
0x000000000804813c _savegpr0_16
0x0000000008048140 _savegpr0_17
0x0000000008048144 _savegpr0_18
0x0000000008048148 _savegpr0_19
0x000000000804814c _savegpr0_20
0x0000000008048150 _savegpr0_21
0x0000000008048154 _savegpr0_22
0x0000000008048158 _savegpr0_23
0x000000000804815c _savegpr0_24
0x0000000008048160 _savegpr0_25
0x0000000008048164 _savegpr0_26
0x0000000008048168 _savegpr0_27
0x000000000804816c _savegpr0_28
0x0000000008048170 _savegpr0_29
0x0000000008048184 _restgpr0_14
0x0000000008048188 _restgpr0_15
0x000000000804818c _restgpr0_16
0x0000000008048190 _restgpr0_17
0x0000000008048194 _restgpr0_18
0x0000000008048198 _restgpr0_19
0x000000000804819c _restgpr0_20
0x00000000080481a0 _restgpr0_21
0x00000000080481a4 _restgpr0_22
0x00000000080481a8 _restgpr0_23
0x00000000080481ac _restgpr0_24
0x00000000080481b0 _restgpr0_25
0x00000000080481b4 _restgpr0_26
0x00000000080481b8 _restgpr0_27
0x00000000080481bc _restgpr0_28
0x00000000080481c0 _restgpr0_29
.text 0x00000000080481d8 0x750 tmp/powerpc64le-darwin.macho-main.o
0x00000000080480e8 pread
0x00000000080480f8 mmap
0x0000000008048110 exit
0x0000000008048118 read
0x0000000008048120 open
0x0000000008048128 close
0x0000000008048130 mprotect
0x0000000008048138 _savegpr0_14
0x000000000804813c _savegpr0_15
0x0000000008048140 _savegpr0_16
0x0000000008048144 _savegpr0_17
0x0000000008048148 _savegpr0_18
0x000000000804814c _savegpr0_19
0x0000000008048150 _savegpr0_20
0x0000000008048154 _savegpr0_21
0x0000000008048158 _savegpr0_22
0x000000000804815c _savegpr0_23
0x0000000008048160 _savegpr0_24
0x0000000008048164 _savegpr0_25
0x0000000008048168 _savegpr0_26
0x000000000804816c _savegpr0_27
0x0000000008048170 _savegpr0_28
0x0000000008048174 _savegpr0_29
0x0000000008048188 _restgpr0_14
0x000000000804818c _restgpr0_15
0x0000000008048190 _restgpr0_16
0x0000000008048194 _restgpr0_17
0x0000000008048198 _restgpr0_18
0x000000000804819c _restgpr0_19
0x00000000080481a0 _restgpr0_20
0x00000000080481a4 _restgpr0_21
0x00000000080481a8 _restgpr0_22
0x00000000080481ac _restgpr0_23
0x00000000080481b0 _restgpr0_24
0x00000000080481b4 _restgpr0_25
0x00000000080481b8 _restgpr0_26
0x00000000080481bc _restgpr0_27
0x00000000080481c0 _restgpr0_28
0x00000000080481c4 _restgpr0_29
.text 0x00000000080481dc 0x750 tmp/powerpc64le-darwin.macho-main.o
*(.gnu.warning)
.fini
@@ -148,7 +148,7 @@ LOAD tmp/powerpc64le-darwin.macho-main.o
.exception_ranges
*(.exception_ranges .exception_ranges*)
0x0000000008049928 . = DATA_SEGMENT_ALIGN (0x1000, 0x1000)
0x000000000804992c . = DATA_SEGMENT_ALIGN (0x1000, 0x1000)
.eh_frame
*(.eh_frame)
@@ -170,18 +170,18 @@ LOAD tmp/powerpc64le-darwin.macho-main.o
*(.tbss .tbss.* .gnu.linkonce.tb.*)
*(.tcommon)
.preinit_array 0x0000000008049928 0x0
.preinit_array 0x000000000804992c 0x0
[!provide] PROVIDE (__preinit_array_start, .)
*(.preinit_array)
[!provide] PROVIDE (__preinit_array_end, .)
.init_array 0x0000000008049928 0x0
.init_array 0x000000000804992c 0x0
[!provide] PROVIDE (__init_array_start, .)
*(SORT(.init_array.*) SORT(.ctors.*))
*(.init_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .ctors)
[!provide] PROVIDE (__init_array_end, .)
.fini_array 0x0000000008049928 0x0
.fini_array 0x000000000804992c 0x0
[!provide] PROVIDE (__fini_array_start, .)
*(SORT(.fini_array.*) SORT(.dtors.*))
*(.fini_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .dtors)
@@ -214,44 +214,44 @@ LOAD tmp/powerpc64le-darwin.macho-main.o
.got
*(.got)
*(.igot)
0x0000000008049928 . = DATA_SEGMENT_RELRO_END (., (SIZEOF (.got.plt) >= 0xc)?0xc:0x0)
0x000000000804992c . = DATA_SEGMENT_RELRO_END (., (SIZEOF (.got.plt) >= 0xc)?0xc:0x0)
.got.plt 0x0000000008049928 0x0
.got.plt 0x000000000804992c 0x0
*(.got.plt)
*(.igot.plt)
.data 0x0000000008049928 0x0
.data 0x000000000804992c 0x0
*(.data .data.* .gnu.linkonce.d.*)
.data 0x0000000008049928 0x0 tmp/powerpc64le-darwin.macho-fold.o
.data 0x0000000008049928 0x0 tmp/powerpc64le-darwin.macho-main.o
.data 0x000000000804992c 0x0 tmp/powerpc64le-darwin.macho-fold.o
.data 0x000000000804992c 0x0 tmp/powerpc64le-darwin.macho-main.o
.toc 0x0000000008049928 0x0
.toc 0x0000000008049928 0x0 tmp/powerpc64le-darwin.macho-main.o
.toc 0x000000000804992c 0x0
.toc 0x000000000804992c 0x0 tmp/powerpc64le-darwin.macho-main.o
.opd 0x0000000008049928 0x40
.opd 0x0000000008049928 0x40 tmp/powerpc64le-darwin.macho-main.o
0x0000000008049958 upx_main
.opd 0x0000000008049930 0x40
.opd 0x0000000008049930 0x40 tmp/powerpc64le-darwin.macho-main.o
0x0000000008049960 upx_main
.data1
*(.data1)
0x0000000008049968 _edata = .
0x0000000008049970 _edata = .
[!provide] PROVIDE (edata, .)
0x0000000008049968 . = .
0x0000000008049968 __bss_start = .
0x0000000008049970 . = .
0x0000000008049970 __bss_start = .
.bss 0x0000000008049968 0x0
.bss 0x0000000008049970 0x0
*(.dynbss)
*(.bss .bss.* .gnu.linkonce.b.*)
.bss 0x0000000008049968 0x0 tmp/powerpc64le-darwin.macho-fold.o
.bss 0x0000000008049968 0x0 tmp/powerpc64le-darwin.macho-main.o
.bss 0x0000000008049970 0x0 tmp/powerpc64le-darwin.macho-fold.o
.bss 0x0000000008049970 0x0 tmp/powerpc64le-darwin.macho-main.o
*(COMMON)
0x0000000008049968 . = ALIGN ((. != 0x0)?0x4:0x1)
0x0000000008049968 . = ALIGN (0x4)
0x0000000008049968 . = SEGMENT_START ("ldata-segment", .)
0x0000000008049968 . = ALIGN (0x4)
0x0000000008049968 _end = .
0x0000000008049970 . = ALIGN ((. != 0x0)?0x4:0x1)
0x0000000008049970 . = ALIGN (0x4)
0x0000000008049970 . = SEGMENT_START ("ldata-segment", .)
0x0000000008049970 . = ALIGN (0x4)
0x0000000008049970 _end = .
[!provide] PROVIDE (end, .)
0x0000000008049968 . = DATA_SEGMENT_END (.)
0x0000000008049970 . = DATA_SEGMENT_END (.)
.stab
*(.stab)
@@ -14,7 +14,7 @@ Idx Name Size VMA LMA File off Algn
9 NRV_TAIL 0000001c 0000000000000000 0000000000000000 0000215c 2**0 CONTENTS, READONLY
10 CFLUSH 00000024 0000000000000000 0000000000000000 00002178 2**0 CONTENTS, READONLY
11 ELFMAINY 00000022 0000000000000000 0000000000000000 0000219c 2**0 CONTENTS, RELOC, READONLY
12 ELFMAINZ 0000010c 0000000000000000 0000000000000000 000021c0 2**2 CONTENTS, RELOC, READONLY
12 ELFMAINZ 00000110 0000000000000000 0000000000000000 000021c0 2**2 CONTENTS, RELOC, READONLY
SYMBOL TABLE:
0000000000000000 l d LZMA_DEC30 0000000000000000 LZMA_DEC30
0000000000000000 l d NRV_TAIL 0000000000000000 NRV_TAIL
@@ -34,7 +34,7 @@ SYMBOL TABLE:
RELOCATION RECORDS FOR [ELFMAINX]:
OFFSET TYPE VALUE
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x0000000000000084
0000000000000000 R_PPC64_REL24 ELFMAINZ+0x0000000000000088
RELOCATION RECORDS FOR [NRV2E]:
OFFSET TYPE VALUE
@@ -59,4 +59,4 @@ OFFSET TYPE VALUE
RELOCATION RECORDS FOR [ELFMAINZ]:
OFFSET TYPE VALUE
0000000000000058 R_PPC64_REL14 ELFMAINY
0000000000000108 R_PPC64_ADDR32 O_BINFO
000000000000010c R_PPC64_ADDR32 O_BINFO
+39 -39
View File
@@ -9,58 +9,58 @@ Linker script and memory map
TARGET(elf64-powerpcle)
0x00000000001000bc . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
.text 0x00000000001000bc 0x810
.text 0x00000000001000bc 0x824
*(.text)
.text 0x00000000001000bc 0x1b0 tmp/powerpc64le-linux.elf-fold.o
0x0000000000100220 exit
0x0000000000100228 brk
0x0000000000100230 close
0x0000000000100238 open
0x0000000000100240 munmap
0x0000000000100248 mprotect
0x0000000000100250 read
0x0000000000100258 mmap
.text 0x000000000010026c 0x660 tmp/powerpc64le-linux.elf-main.o
.text 0x00000000001000bc 0x1b4 tmp/powerpc64le-linux.elf-fold.o
0x0000000000100224 exit
0x000000000010022c brk
0x0000000000100234 close
0x000000000010023c open
0x0000000000100244 munmap
0x000000000010024c mprotect
0x0000000000100254 read
0x000000000010025c mmap
.text 0x0000000000100270 0x670 tmp/powerpc64le-linux.elf-main.o
*(.data)
.data 0x00000000001008cc 0x0 tmp/powerpc64le-linux.elf-fold.o
.data 0x00000000001008cc 0x0 tmp/powerpc64le-linux.elf-main.o
.data 0x00000000001008e0 0x0 tmp/powerpc64le-linux.elf-fold.o
.data 0x00000000001008e0 0x0 tmp/powerpc64le-linux.elf-main.o
.sfpr 0x00000000001008cc 0xa4
.sfpr 0x00000000001008cc 0xa4 linker stubs
0x00000000001008cc _savegpr0_14
0x00000000001008fc _savegpr0_26
0x0000000000100904 _savegpr0_28
0x000000000010091c _restgpr0_14
0x000000000010094c _restgpr0_26
0x0000000000100954 _restgpr0_28
.sfpr 0x00000000001008e0 0xa4
.sfpr 0x00000000001008e0 0xa4 linker stubs
0x00000000001008e0 _savegpr0_14
0x000000000010090c _savegpr0_25
0x0000000000100918 _savegpr0_28
0x0000000000100930 _restgpr0_14
0x000000000010095c _restgpr0_25
0x0000000000100968 _restgpr0_28
.glink 0x0000000000100970 0x0
.glink 0x0000000000100970 0x0 linker stubs
.glink 0x0000000000100988 0x0
.glink 0x0000000000100988 0x0 linker stubs
.eh_frame 0x0000000000100970 0x0
.eh_frame 0x0000000000100970 0x0 linker stubs
.eh_frame 0x0000000000100984 0x0
.eh_frame 0x0000000000100984 0x0 linker stubs
.rela.dyn 0x0000000000100970 0x0
.rela.iplt 0x0000000000100970 0x0 linker stubs
.rela.dyn 0x0000000000100988 0x0
.rela.iplt 0x0000000000100988 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 0x0000000000100970 0x0
.branch_lt 0x0000000000100970 0x0 linker stubs
.branch_lt 0x0000000000100988 0x0
.branch_lt 0x0000000000100988 0x0 linker stubs
.toc 0x0000000000100970 0x0
.toc 0x0000000000100970 0x0 tmp/powerpc64le-linux.elf-main.o
.toc 0x0000000000100988 0x0
.toc 0x0000000000100988 0x0 tmp/powerpc64le-linux.elf-main.o
.opd 0x0000000000100970 0x58
.opd 0x0000000000100970 0x58 tmp/powerpc64le-linux.elf-main.o
0x00000000001009b0 upx_main
.opd 0x0000000000100988 0x58
.opd 0x0000000000100988 0x58 tmp/powerpc64le-linux.elf-main.o
0x00000000001009c8 upx_main
.iplt 0x00000000001009c8 0x0
.iplt 0x00000000001009c8 0x0 linker stubs
.iplt 0x00000000001009e0 0x0
.iplt 0x00000000001009e0 0x0 linker stubs
.bss 0x00000000001009c8 0x0
.bss 0x00000000001009c8 0x0 tmp/powerpc64le-linux.elf-fold.o
.bss 0x00000000001009c8 0x0 tmp/powerpc64le-linux.elf-main.o
.bss 0x00000000001009e0 0x0
.bss 0x00000000001009e0 0x0 tmp/powerpc64le-linux.elf-fold.o
.bss 0x00000000001009e0 0x0 tmp/powerpc64le-linux.elf-main.o