sync stubs

modified:   ../misc/testsuite/upx_testsuite_1-expected_sha256sums.sh
	modified:   stub/amd64-linux.elf-fold.h
	modified:   stub/arm.v4a-linux.elf-fold.h
	modified:   stub/arm.v5a-linux.elf-fold.h
	modified:   stub/arm64-linux.elf-fold.h
	modified:   stub/armeb.v4a-linux.elf-fold.h
	modified:   stub/mips.r3000-linux.elf-fold.h
	modified:   stub/mipsel.r3000-linux.elf-fold.h
	modified:   stub/powerpc-linux.elf-fold.h
	modified:   stub/powerpc64-linux.elf-fold.h
	modified:   stub/powerpc64le-linux.elf-fold.h
	modified:   stub/tmp/amd64-linux.elf-fold.map
	modified:   stub/tmp/arm.v4a-linux.elf-fold.map
	modified:   stub/tmp/arm.v5a-linux.elf-fold.map
	modified:   stub/tmp/arm64-linux.elf-fold.map
	modified:   stub/tmp/armeb.v4a-linux.elf-fold.map
	modified:   stub/tmp/mips.r3000-linux.elf-fold.map
	modified:   stub/tmp/mipsel.r3000-linux.elf-fold.map
	modified:   stub/tmp/powerpc-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:
John Reiser
2024-11-21 11:20:32 -08:00
parent 65c3195b39
commit 566c1eebd2
21 changed files with 10436 additions and 10365 deletions
+1 -1
View File
@@ -13,8 +13,8 @@ Linker script and memory map
0x000000000000015c get_page_mask
.text 0x0000000000000164 0x0 tmp/amd64-expand.o
.text 0x0000000000000164 0x83e tmp/amd64-linux.elf-main2.o
0x000000000000086d upx_main2
0x00000000000002b9 underlay
0x000000000000086d upx_main
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/amd64-linux.elf-fold.o
+4 -4
View File
@@ -7,7 +7,7 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0xc34
.text 0x0000000000000000 0xc38
.text 0x0000000000000000 0x348 tmp/arm.v4a-linux.elf-fold.o
0x0000000000000004 get_page_mask
0x00000000000002e8 memcpy
@@ -20,9 +20,9 @@ Linker script and memory map
0x0000000000000024 Pprotect
0x0000000000000024 mprotect
.text 0x0000000000000348 0x0 tmp/arm.v4a-expand.o
.text 0x0000000000000348 0x8ec tmp/arm.v4a-linux.elf-main2.o
0x0000000000000bd0 underlay
0x0000000000000aa0 upx_main
.text 0x0000000000000348 0x8f0 tmp/arm.v4a-linux.elf-main2.o
0x0000000000000bd4 underlay
0x0000000000000aa4 upx_main
SYSCALLS 0x0000000000000000 0x214
SYSCALLS 0x0000000000000000 0x214 tmp/arm.v4a-linux.elf-fold.o
+4 -4
View File
@@ -7,7 +7,7 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0xc34
.text 0x0000000000000000 0xc38
.text 0x0000000000000000 0x348 tmp/arm.v5a-linux.elf-fold.o
0x0000000000000004 get_page_mask
0x00000000000002e8 memcpy
@@ -20,9 +20,9 @@ Linker script and memory map
0x0000000000000024 Pprotect
0x0000000000000024 mprotect
.text 0x0000000000000348 0x0 tmp/arm.v5a-expand.o
.text 0x0000000000000348 0x8ec tmp/arm.v5a-linux.elf-main2.o
0x0000000000000bd0 underlay
0x0000000000000aa0 upx_main
.text 0x0000000000000348 0x8f0 tmp/arm.v5a-linux.elf-main2.o
0x0000000000000bd4 underlay
0x0000000000000aa4 upx_main
SYSCALLS 0x0000000000000000 0x214
SYSCALLS 0x0000000000000000 0x214 tmp/arm.v5a-linux.elf-fold.o
+17 -19
View File
@@ -7,30 +7,28 @@ Name Origin Length Attributes
Linker script and memory map
0x0000000000000040 . = SIZEOF_HEADERS
.text 0x0000000000000040 0xaf4
*(.text)
.text 0x0000000000000040 0x248 tmp/arm64-linux.elf-fold.o
0x0000000000000048 get_page_mask
0x0000000000000058 mmap_privanon
0x0000000000000068 mmap
0x0000000000000084 Pprotect
0x0000000000000084 mprotect
.text 0x0000000000000288 0x0 tmp/arm64-expand.o
.text 0x0000000000000288 0x8ac tmp/arm64-linux.elf-main2.o
0x0000000000000990 underlay
0x00000000000009fc upx_main
*(.data)
.data 0x0000000000000b34 0x0 tmp/arm64-linux.elf-fold.o
.data 0x0000000000000b34 0x0 tmp/arm64-expand.o
.data 0x0000000000000b34 0x0 tmp/arm64-linux.elf-main2.o
.data
LOAD tmp/arm64-linux.elf-fold.o
LOAD tmp/arm64-expand.o
LOAD tmp/arm64-linux.elf-main2.o
OUTPUT(tmp/arm64-linux.elf-fold.bin elf64-littleaarch64)
.text 0x0000000000000000 0xaf4
.text 0x0000000000000000 0x248 tmp/arm64-linux.elf-fold.o
0x0000000000000008 get_page_mask
0x0000000000000018 mmap_privanon
0x0000000000000028 mmap
0x0000000000000044 Pprotect
0x0000000000000044 mprotect
.text 0x0000000000000248 0x0 tmp/arm64-expand.o
.text 0x0000000000000248 0x8ac tmp/arm64-linux.elf-main2.o
0x0000000000000950 underlay
0x00000000000009bc upx_main2
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/arm64-linux.elf-fold.o
.data 0x0000000000000000 0x0 tmp/arm64-expand.o
.data 0x0000000000000000 0x0 tmp/arm64-linux.elf-main2.o
.bss 0x0000000000000000 0x0
.bss 0x0000000000000000 0x0 tmp/arm64-linux.elf-fold.o
.bss 0x0000000000000000 0x0 tmp/arm64-expand.o
+4 -4
View File
@@ -7,7 +7,7 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0xc48
.text 0x0000000000000000 0xc4c
.text 0x0000000000000000 0x348 tmp/armeb.v4a-linux.elf-fold.o
0x0000000000000004 get_page_mask
0x00000000000002e8 memcpy
@@ -20,9 +20,9 @@ Linker script and memory map
0x0000000000000024 Pprotect
0x0000000000000024 mprotect
.text 0x0000000000000348 0x0 tmp/armeb.v4a-expand.o
.text 0x0000000000000348 0x900 tmp/armeb.v4a-linux.elf-main2.o
0x0000000000000be4 underlay
0x0000000000000ab0 upx_main
.text 0x0000000000000348 0x904 tmp/armeb.v4a-linux.elf-main2.o
0x0000000000000be8 underlay
0x0000000000000ab4 upx_main
SYSCALLS 0x0000000000000000 0x214
SYSCALLS 0x0000000000000000 0x214 tmp/armeb.v4a-linux.elf-fold.o
+19 -18
View File
@@ -6,21 +6,15 @@ Name Origin Length Attributes
Linker script and memory map
TARGET(elf32-bigmips)
0x0000000000000034 . = SIZEOF_HEADERS
.text 0x0000000000000034 0xe50
*(.text)
.text 0x0000000000000034 0xe50 tmp/mips.r3000-linux.elf-fold.o
0x0000000000000104 get_page_mask
0x0000000000000d64 upx_mmap_and_fd_android
0x0000000000000124 get_upxfn_path
0x0000000000000cf8 underlay
0x0000000000000b60 upx_main
0x0000000000000044 get4unal
0x000000000000015c close
*(.data)
.data 0x0000000000000e84 0x0 tmp/mips.r3000-linux.elf-fold.o
.text 0x0000000000000000 0xd30
.text 0x0000000000000000 0xd30 tmp/mips.r3000-linux.elf-fold.o
0x00000000000000d0 get_page_mask
0x00000000000000f0 get_upxfn_path
0x0000000000000cc4 underlay
0x0000000000000b2c upx_main
0x0000000000000010 get4unal
0x0000000000000128 close
SYSCALLS 0x0000000000000000 0x178
SYSCALLS 0x0000000000000000 0x178 tmp/mips.r3000-linux.elf-fold.o
@@ -53,13 +47,13 @@ EXP_HEAD 0x0000000000000000 0xfc
0x00000000000000b4 eof_n2e
0x0000000000000000 f_expand
0x00000000000000b4 eof_n2b
0x00000000000000fc upx_mmap_and_fd
0x00000000000000b4 eof_nrv
0x00000000000000b4 eof_n2d
0x00000000000000ac ret_decompr
EXP_TAIL 0x0000000000000000 0x0
EXP_TAIL 0x0000000000000000 0x0 tmp/mips.r3000-linux.elf-fold.o
0x0000000000000000 upx_mmap_and_fd
NRV2E 0x0000000000000000 0x15c
NRV2E 0x0000000000000000 0x15c tmp/mips.r3000-linux.elf-fold.o
@@ -85,10 +79,13 @@ LZMA_DEC20 0x0000000000000000 0xad8
LZMA_DEC30 0x0000000000000000 0x8
LZMA_DEC30 0x0000000000000000 0x8 tmp/mips.r3000-linux.elf-fold.o
.data
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/mips.r3000-linux.elf-fold.o
.bss 0x0000000000000000 0x0
.bss 0x0000000000000000 0x0 tmp/mips.r3000-linux.elf-fold.o
TARGET(elf32-bigmips)
0x0000000000000034 . = SIZEOF_HEADERS
LOAD tmp/mips.r3000-linux.elf-fold.o
OUTPUT(tmp/mips.r3000-linux.elf-fold.bin elf32-bigmips)
@@ -104,5 +101,9 @@ OUTPUT(tmp/mips.r3000-linux.elf-fold.bin elf32-bigmips)
.gcc_compiled_long32
0x0000000000000000 0x0 tmp/mips.r3000-linux.elf-fold.o
.comment 0x0000000000000000 0x34
.comment 0x0000000000000000 0x34 tmp/mips.r3000-linux.elf-fold.o
.comment 0x0000000000000000 0x23
.comment 0x0000000000000000 0x23 tmp/mips.r3000-linux.elf-fold.o
UMF_LINUX 0x0000000000000000 0x10c
UMF_LINUX 0x0000000000000000 0x10c tmp/mips.r3000-linux.elf-fold.o
0x0000000000000000 upx_mmap_and_fd_linux
+18 -16
View File
@@ -6,21 +6,16 @@ Name Origin Length Attributes
Linker script and memory map
TARGET(elf32-littlemips)
0x0000000000000034 . = SIZEOF_HEADERS
.text 0x0000000000000034 0xe40
*(.text)
.text 0x0000000000000034 0xe40 tmp/mipsel.r3000-linux.elf-fold.o
0x0000000000000104 get_page_mask
0x0000000000000d54 upx_mmap_and_fd_android
0x0000000000000124 get_upxfn_path
0x0000000000000ce8 underlay
0x0000000000000b50 upx_main
0x0000000000000044 get4unal
0x000000000000015c close
*(.data)
.data 0x0000000000000e74 0x0 tmp/mipsel.r3000-linux.elf-fold.o
.text 0x0000000000000000 0xe40
.text 0x0000000000000000 0xe40 tmp/mipsel.r3000-linux.elf-fold.o
0x00000000000000d0 get_page_mask
0x0000000000000d20 upx_mmap_and_fd_android
0x00000000000000f0 get_upxfn_path
0x0000000000000cb4 underlay
0x0000000000000b1c upx_main
0x0000000000000010 get4unal
0x0000000000000128 close
SYSCALLS 0x0000000000000000 0x178
SYSCALLS 0x0000000000000000 0x178 tmp/mipsel.r3000-linux.elf-fold.o
@@ -53,13 +48,13 @@ EXP_HEAD 0x0000000000000000 0xfc
0x00000000000000b4 eof_n2e
0x0000000000000000 f_expand
0x00000000000000b4 eof_n2b
0x00000000000000fc upx_mmap_and_fd
0x00000000000000b4 eof_nrv
0x00000000000000b4 eof_n2d
0x00000000000000ac ret_decompr
EXP_TAIL 0x0000000000000000 0x0
EXP_TAIL 0x0000000000000000 0x0 tmp/mipsel.r3000-linux.elf-fold.o
0x0000000000000000 upx_mmap_and_fd
NRV2E 0x0000000000000000 0x134
NRV2E 0x0000000000000000 0x134 tmp/mipsel.r3000-linux.elf-fold.o
@@ -85,10 +80,13 @@ LZMA_DEC20 0x0000000000000000 0xad8
LZMA_DEC30 0x0000000000000000 0x8
LZMA_DEC30 0x0000000000000000 0x8 tmp/mipsel.r3000-linux.elf-fold.o
.data
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/mipsel.r3000-linux.elf-fold.o
.bss 0x0000000000000000 0x0
.bss 0x0000000000000000 0x0 tmp/mipsel.r3000-linux.elf-fold.o
TARGET(elf32-littlemips)
0x0000000000000034 . = SIZEOF_HEADERS
LOAD tmp/mipsel.r3000-linux.elf-fold.o
OUTPUT(tmp/mipsel.r3000-linux.elf-fold.bin elf32-littlemips)
@@ -106,3 +104,7 @@ OUTPUT(tmp/mipsel.r3000-linux.elf-fold.bin elf32-littlemips)
.comment 0x0000000000000000 0x34
.comment 0x0000000000000000 0x34 tmp/mipsel.r3000-linux.elf-fold.o
UMF_LINUX 0x0000000000000000 0x10c
UMF_LINUX 0x0000000000000000 0x10c tmp/mipsel.r3000-linux.elf-fold.o
0x0000000000000000 upx_mmap_and_fd_linux
+38 -38
View File
@@ -6,57 +6,56 @@ Name Origin Length Attributes
Linker script and memory map
TARGET(elf32-powerpc)
0x0000000000000034 . = SIZEOF_HEADERS
.text 0x0000000000000034 0x13e0
*(.text)
.text 0x0000000000000034 0x294 tmp/powerpc-linux.elf-fold.o
0x000000000000007c Pmap
0x0000000000000040 get_page_mask
0x0000000000000058 Pprotect
0x00000000000000a0 Punmap
.text 0x00000000000002c8 0x108 tmp/powerpc-linux.elf-upxfd_linux.o
0x00000000000002c8 upx_mmap_and_fd_linux
.text 0x00000000000003d0 0x0 tmp/powerpc-expand.o
.text 0x00000000000003d0 0x1044 tmp/powerpc-linux.elf-main2.o
0x00000000000008c8 underlay
0x0000000000001200 upx_main
*(.data)
.data 0x0000000000001414 0x0 tmp/powerpc-linux.elf-fold.o
.data 0x0000000000001414 0x0 tmp/powerpc-expand.o
.data 0x0000000000001414 0x0 tmp/powerpc-linux.elf-main2.o
.text 0x0000000000000000 0x12d4
.text 0x0000000000000000 0x294 tmp/powerpc-linux.elf-fold.o
0x0000000000000048 Pmap
0x000000000000000c get_page_mask
0x0000000000000024 Pprotect
0x000000000000006c Punmap
.text 0x0000000000000294 0x0 tmp/powerpc-expand.o
.text 0x0000000000000294 0x1040 tmp/powerpc-linux.elf-main2.o
0x000000000000078c underlay
0x00000000000010c0 upx_main
.data
UMF_LINUX 0x0000000000000000 0x108
UMF_LINUX 0x0000000000000000 0x108 tmp/powerpc-linux.elf-upxfd_linux.o
0x0000000000000000 upx_mmap_and_fd_linux
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/powerpc-linux.elf-fold.o
.data 0x0000000000000000 0x0 tmp/powerpc-expand.o
.data 0x0000000000000000 0x0 tmp/powerpc-linux.elf-main2.o
.bss 0x0000000000000000 0x0
.bss 0x0000000000000000 0x0 tmp/powerpc-linux.elf-fold.o
.bss 0x0000000000000000 0x0 tmp/powerpc-expand.o
.bss 0x0000000000000000 0x0 tmp/powerpc-linux.elf-main2.o
TARGET(elf32-powerpc)
0x0000000000000034 . = SIZEOF_HEADERS
LOAD tmp/powerpc-linux.elf-fold.o
LOAD tmp/powerpc-linux.elf-upxfd_linux.o
LOAD tmp/powerpc-expand.o
LOAD tmp/powerpc-linux.elf-main2.o
OUTPUT(tmp/powerpc-linux.elf-fold.bin elf32-powerpc)
SYSCALLS 0x0000000000000000 0xb8
SYSCALLS 0x0000000000000000 0xb8 tmp/powerpc-linux.elf-fold.o
0x0000000000000054 munmap
0x0000000000000000 upx_mmap_and_fd
0x0000000000000070 memcpy
0x0000000000000014 readlink
0x0000000000000024 ftruncate
0x000000000000005c mmap
0x0000000000000034 write
0x000000000000001c memfd_create
0x000000000000003c read
0x0000000000000094 memset
0x00000000000000b0 my_bkpt
0x0000000000000004 exit
0x000000000000000c brk
0x0000000000000044 open
0x000000000000004c mprotect
0x000000000000002c close
SYSCALLS 0x0000000000000000 0xb4
SYSCALLS 0x0000000000000000 0xb4 tmp/powerpc-linux.elf-fold.o
0x0000000000000050 munmap
0x000000000000006c memcpy
0x0000000000000010 readlink
0x0000000000000020 ftruncate
0x0000000000000058 mmap
0x0000000000000030 write
0x0000000000000018 memfd_create
0x0000000000000038 read
0x0000000000000090 memset
0x00000000000000ac my_bkpt
0x0000000000000000 exit
0x0000000000000008 brk
0x0000000000000040 open
0x0000000000000048 mprotect
0x0000000000000028 close
EXP_HEAD 0x0000000000000000 0xa8
EXP_HEAD 0x0000000000000000 0xa8 tmp/powerpc-expand.o
@@ -64,6 +63,7 @@ EXP_HEAD 0x0000000000000000 0xa8
EXP_TAIL 0x0000000000000000 0x8c
EXP_TAIL 0x0000000000000000 0x8c tmp/powerpc-expand.o
0x000000000000008c upx_mmap_and_fd
0x0000000000000008 eof_nrv
NRV2E 0x0000000000000000 0x154
+12 -14
View File
@@ -8,23 +8,21 @@ Linker script and memory map
TARGET(elf64-powerpc)
0x0000000000000040 . = SIZEOF_HEADERS
.text 0x0000000000000040 0xe6c
*(.text)
.text 0x0000000000000040 0xe6c tmp/powerpc64-linux.elf-fold.o
0x0000000000000054 get_page_mask
0x000000000000006c Pprotect
0x0000000000000090 Pmap
0x00000000000000b4 Punmap
0x0000000000000c88 underlay
0x0000000000000d14 upx_main
*(.data)
.data 0x0000000000000eac 0x0 tmp/powerpc64-linux.elf-fold.o
.data
LOAD tmp/powerpc64-linux.elf-fold.o
OUTPUT(tmp/powerpc64-linux.elf-fold.bin elf64-powerpc)
.text 0x0000000000000000 0xe6c
.text 0x0000000000000000 0xe6c tmp/powerpc64-linux.elf-fold.o
0x0000000000000014 get_page_mask
0x000000000000002c Pprotect
0x0000000000000050 Pmap
0x0000000000000074 Punmap
0x0000000000000c48 underlay
0x0000000000000cd4 upx_main2
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/powerpc64-linux.elf-fold.o
.bss 0x0000000000000000 0x0
.bss 0x0000000000000000 0x0 tmp/powerpc64-linux.elf-fold.o
+12 -14
View File
@@ -8,23 +8,21 @@ Linker script and memory map
TARGET(elf64-powerpcle)
0x0000000000000040 . = SIZEOF_HEADERS
.text 0x0000000000000040 0xe98
*(.text)
.text 0x0000000000000040 0xe98 tmp/powerpc64le-linux.elf-fold.o
0x0000000000000054 get_page_mask
0x000000000000006c Pprotect
0x0000000000000090 Pmap
0x00000000000000b4 Punmap
0x0000000000000cb4 underlay
0x0000000000000d40 upx_main
*(.data)
.data 0x0000000000000ed8 0x0 tmp/powerpc64le-linux.elf-fold.o
.data
LOAD tmp/powerpc64le-linux.elf-fold.o
OUTPUT(tmp/powerpc64le-linux.elf-fold.bin elf64-powerpcle)
.text 0x0000000000000000 0xe98
.text 0x0000000000000000 0xe98 tmp/powerpc64le-linux.elf-fold.o
0x0000000000000014 get_page_mask
0x000000000000002c Pprotect
0x0000000000000050 Pmap
0x0000000000000074 Punmap
0x0000000000000c74 underlay
0x0000000000000d00 upx_main2
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/powerpc64le-linux.elf-fold.o
.bss 0x0000000000000000 0x0
.bss 0x0000000000000000 0x0 tmp/powerpc64le-linux.elf-fold.o