Variable page size: spread the word by using 'page_' instead of 'PAGE_'

modified:   stub/src/arm.v4a-linux.elf-fold.S
	modified:   stub/src/arm64-linux.elf-entry.S
	modified:   stub/src/i386-linux.elf-entry.S
	modified:   stub/src/i386-linux.elf-fold.S
	modified:   stub/src/i386-linux.elf-main2.c
	modified:   stub/src/mipsel.r3000-linux.elf-entry.S
	modified:   stub/src/mipsel.r3000-linux.elf-fold.S
	modified:   stub/src/powerpc-linux.elf-entry.S
	modified:   stub/src/powerpc-linux.elf-fold.S
	modified:   stub/src/powerpc64-linux.elf-entry.S
           plus genereated *.h *.map
This commit is contained in:
John Reiser
2024-08-19 14:18:55 -07:00
parent 0adad4a053
commit 7f062c7ca5
24 changed files with 10514 additions and 10384 deletions
+12 -12
View File
@@ -7,24 +7,24 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0x1078
.text 0x0000000000000000 0x344 tmp/arm.v4a-linux.elf-fold.o
.text 0x0000000000000000 0x10cc
.text 0x0000000000000000 0x348 tmp/arm.v4a-linux.elf-fold.o
0x0000000000000004 get_page_mask
0x00000000000002e4 memcpy
0x0000000000000328 mempcpy
0x00000000000002e8 memcpy
0x000000000000032c mempcpy
0x0000000000000060 mmap
0x0000000000000048 mmap_privanon
0x000000000000000c get_upxfn_path
0x0000000000000308 memset
0x000000000000030c memset
0x00000000fffffff4 page_mask
0x0000000000000024 Pprotect
0x00000000fffffff4 PAGE_MASK
0x0000000000000024 mprotect
.text 0x0000000000000344 0x498 tmp/arm.v4a-linux.elf-upxfd_android.o
0x0000000000000594 upx_mmap_and_fd
.text 0x00000000000007dc 0x0 tmp/arm.v4a-expand.o
.text 0x00000000000007dc 0x89c tmp/arm.v4a-linux.elf-main2.o
0x0000000000001014 underlay
0x0000000000000ee4 upx_main
.text 0x0000000000000348 0x498 tmp/arm.v4a-linux.elf-upxfd_android.o
0x0000000000000598 upx_mmap_and_fd
.text 0x00000000000007e0 0x0 tmp/arm.v4a-expand.o
.text 0x00000000000007e0 0x8ec tmp/arm.v4a-linux.elf-main2.o
0x0000000000001068 underlay
0x0000000000000f38 upx_main
SYSCALLS 0x0000000000000000 0x214
SYSCALLS 0x0000000000000000 0x214 tmp/arm.v4a-linux.elf-fold.o
+16 -16
View File
@@ -8,30 +8,30 @@ Linker script and memory map
TARGET(elf32-littlearm)
.text 0x0000000000000000 0x1078
.text 0x0000000000000000 0x10d0
*(.text)
.text 0x0000000000000000 0x344 tmp/arm.v5a-linux.elf-fold.o
.text 0x0000000000000000 0x348 tmp/arm.v5a-linux.elf-fold.o
0x0000000000000004 get_page_mask
0x00000000000002e4 memcpy
0x0000000000000328 mempcpy
0x00000000000002e8 memcpy
0x000000000000032c mempcpy
0x0000000000000060 mmap
0x0000000000000048 mmap_privanon
0x000000000000000c get_upxfn_path
0x0000000000000308 memset
0x000000000000030c memset
0x00000000fffffff4 page_mask
0x0000000000000024 Pprotect
0x00000000fffffff4 PAGE_MASK
0x0000000000000024 mprotect
.text 0x0000000000000344 0x49c tmp/arm.v5a-linux.elf-upxfd_android.o
0x0000000000000594 upx_mmap_and_fd
.text 0x00000000000007e0 0x0 tmp/arm.v5a-expand.o
.text 0x00000000000007e0 0x898 tmp/arm.v5a-linux.elf-main2.o
0x0000000000001014 underlay
0x0000000000000ee4 upx_main
.text 0x0000000000000348 0x49c tmp/arm.v5a-linux.elf-upxfd_android.o
0x0000000000000598 upx_mmap_and_fd
.text 0x00000000000007e4 0x0 tmp/arm.v5a-expand.o
.text 0x00000000000007e4 0x8ec tmp/arm.v5a-linux.elf-main2.o
0x000000000000106c underlay
0x0000000000000f3c upx_main
*(.data)
.data 0x0000000000001078 0x0 tmp/arm.v5a-linux.elf-fold.o
.data 0x0000000000001078 0x0 tmp/arm.v5a-linux.elf-upxfd_android.o
.data 0x0000000000001078 0x0 tmp/arm.v5a-expand.o
.data 0x0000000000001078 0x0 tmp/arm.v5a-linux.elf-main2.o
.data 0x00000000000010d0 0x0 tmp/arm.v5a-linux.elf-fold.o
.data 0x00000000000010d0 0x0 tmp/arm.v5a-linux.elf-upxfd_android.o
.data 0x00000000000010d0 0x0 tmp/arm.v5a-expand.o
.data 0x00000000000010d0 0x0 tmp/arm.v5a-linux.elf-main2.o
SYSCALLS 0x0000000000000000 0x214
SYSCALLS 0x0000000000000000 0x214 tmp/arm.v5a-linux.elf-fold.o
+12 -12
View File
@@ -7,24 +7,24 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0x108c
.text 0x0000000000000000 0x344 tmp/armeb.v4a-linux.elf-fold.o
.text 0x0000000000000000 0x10e0
.text 0x0000000000000000 0x348 tmp/armeb.v4a-linux.elf-fold.o
0x0000000000000004 get_page_mask
0x00000000000002e4 memcpy
0x0000000000000328 mempcpy
0x00000000000002e8 memcpy
0x000000000000032c mempcpy
0x0000000000000060 mmap
0x0000000000000048 mmap_privanon
0x000000000000000c get_upxfn_path
0x0000000000000308 memset
0x000000000000030c memset
0x00000000fffffff4 page_mask
0x0000000000000024 Pprotect
0x00000000fffffff4 PAGE_MASK
0x0000000000000024 mprotect
.text 0x0000000000000344 0x498 tmp/armeb.v4a-linux.elf-upxfd_android.o
0x0000000000000594 upx_mmap_and_fd
.text 0x00000000000007dc 0x0 tmp/armeb.v4a-expand.o
.text 0x00000000000007dc 0x8b0 tmp/armeb.v4a-linux.elf-main2.o
0x0000000000001028 underlay
0x0000000000000ef4 upx_main
.text 0x0000000000000348 0x498 tmp/armeb.v4a-linux.elf-upxfd_android.o
0x0000000000000598 upx_mmap_and_fd
.text 0x00000000000007e0 0x0 tmp/armeb.v4a-expand.o
.text 0x00000000000007e0 0x900 tmp/armeb.v4a-linux.elf-main2.o
0x000000000000107c underlay
0x0000000000000f48 upx_main
SYSCALLS 0x0000000000000000 0x214
SYSCALLS 0x0000000000000000 0x214 tmp/armeb.v4a-linux.elf-fold.o
+17 -17
View File
@@ -7,17 +7,17 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0xdbc
.text 0x0000000000000000 0x18c tmp/i386-linux.elf-fold.o
.text 0x0000000000000000 0xdf6
.text 0x0000000000000000 0x190 tmp/i386-linux.elf-fold.o
0x0000000000000008 get_page_mask
0x0000000000000015 get_upxfn_path
.text 0x000000000000018c 0x46f tmp/i386-linux.elf-upxfd_android.o
0x00000000000003a3 upx_mmap_and_fd
*fill* 0x00000000000005fb 0x1 00
.text 0x00000000000005fc 0x0 tmp/i386-expand.o
.text 0x00000000000005fc 0x7c0 tmp/i386-linux.elf-main2.o
0x0000000000000751 underlay
0x0000000000000c68 upx_main
.text 0x0000000000000190 0x46f tmp/i386-linux.elf-upxfd_android.o
0x00000000000003a7 upx_mmap_and_fd
*fill* 0x00000000000005ff 0x1 00
.text 0x0000000000000600 0x0 tmp/i386-expand.o
.text 0x0000000000000600 0x7f6 tmp/i386-linux.elf-main2.o
0x0000000000000755 underlay
0x0000000000000ca2 upx_main
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/i386-linux.elf-fold.o
@@ -40,15 +40,15 @@ OUTPUT(tmp/i386-linux.elf-fold.bin elf32-i386)
SYSCALLS 0x0000000000000000 0xc0
SYSCALLS 0x0000000000000000 0xc0 tmp/i386-linux.elf-fold.o
0x000000000000008f memcpy
0x00000000000000a5 mempcpy
0x000000000000002a mmap
0x000000000000005a uname
0x000000000000007b memset
0x00000000000000bb my_bkpt
0x0000000000000090 memcpy
0x00000000000000a6 mempcpy
0x000000000000002b mmap
0x000000000000005b uname
0x000000000000007c memset
0x00000000000000bc my_bkpt
0x0000000000000000 Pprotect
0x0000000000000048 stat
0x0000000000000069 mkdir
0x0000000000000049 stat
0x000000000000006a mkdir
.note.GNU-stack
0x0000000000000000 0x0
+6 -6
View File
@@ -8,18 +8,18 @@ Linker script and memory map
TARGET(elf32-bigmips)
.text 0x0000000000000000 0xdcc
.text 0x0000000000000000 0xe68
*(.text)
.text 0x0000000000000000 0xdcc tmp/mips.r3000-linux.elf-fold.o
.text 0x0000000000000000 0xe68 tmp/mips.r3000-linux.elf-fold.o
0x00000000000000d0 get_page_mask
0x0000000000000cac upx_mmap_and_fd
0x0000000000000d48 upx_mmap_and_fd
0x00000000000000f0 get_upxfn_path
0x0000000000000c40 underlay
0x0000000000000aa8 upx_main
0x0000000000000cdc underlay
0x0000000000000b44 upx_main
0x0000000000000010 get4unal
0x0000000000000128 close
*(.data)
.data 0x0000000000000dcc 0x0 tmp/mips.r3000-linux.elf-fold.o
.data 0x0000000000000e68 0x0 tmp/mips.r3000-linux.elf-fold.o
SYSCALLS 0x0000000000000000 0x178
SYSCALLS 0x0000000000000000 0x178 tmp/mips.r3000-linux.elf-fold.o
+6 -6
View File
@@ -8,18 +8,18 @@ Linker script and memory map
TARGET(elf32-littlemips)
.text 0x0000000000000000 0xdbc
.text 0x0000000000000000 0xe58
*(.text)
.text 0x0000000000000000 0xdbc tmp/mipsel.r3000-linux.elf-fold.o
.text 0x0000000000000000 0xe58 tmp/mipsel.r3000-linux.elf-fold.o
0x00000000000000d0 get_page_mask
0x0000000000000c9c upx_mmap_and_fd
0x0000000000000d38 upx_mmap_and_fd
0x00000000000000f0 get_upxfn_path
0x0000000000000c30 underlay
0x0000000000000a98 upx_main
0x0000000000000ccc underlay
0x0000000000000b34 upx_main
0x0000000000000010 get4unal
0x0000000000000128 close
*(.data)
.data 0x0000000000000dbc 0x0 tmp/mipsel.r3000-linux.elf-fold.o
.data 0x0000000000000e58 0x0 tmp/mipsel.r3000-linux.elf-fold.o
SYSCALLS 0x0000000000000000 0x178
SYSCALLS 0x0000000000000000 0x178 tmp/mipsel.r3000-linux.elf-fold.o
+7 -7
View File
@@ -8,7 +8,7 @@ Linker script and memory map
TARGET(elf32-powerpc)
.text 0x0000000000000000 0x1350
.text 0x0000000000000000 0x1408
*(.text)
.text 0x0000000000000000 0x294 tmp/powerpc-linux.elf-fold.o
0x0000000000000048 Pmap
@@ -18,14 +18,14 @@ TARGET(elf32-powerpc)
.text 0x0000000000000294 0x130 tmp/powerpc-linux.elf-upxfd_android.o
0x0000000000000294 upx_mmap_and_fd
.text 0x00000000000003c4 0x0 tmp/powerpc-expand.o
.text 0x00000000000003c4 0xf8c tmp/powerpc-linux.elf-main2.o
.text 0x00000000000003c4 0x1044 tmp/powerpc-linux.elf-main2.o
0x00000000000008bc underlay
0x000000000000113c upx_main
0x00000000000011f4 upx_main
*(.data)
.data 0x0000000000001350 0x0 tmp/powerpc-linux.elf-fold.o
.data 0x0000000000001350 0x0 tmp/powerpc-linux.elf-upxfd_android.o
.data 0x0000000000001350 0x0 tmp/powerpc-expand.o
.data 0x0000000000001350 0x0 tmp/powerpc-linux.elf-main2.o
.data 0x0000000000001408 0x0 tmp/powerpc-linux.elf-fold.o
.data 0x0000000000001408 0x0 tmp/powerpc-linux.elf-upxfd_android.o
.data 0x0000000000001408 0x0 tmp/powerpc-expand.o
.data 0x0000000000001408 0x0 tmp/powerpc-linux.elf-main2.o
.data