PowerPC Psync flush datacache before msync

This commit is contained in:
Markus F.X.J. Oberhumer
2025-04-20 15:06:58 +02:00
parent ddf0b50c6d
commit a468b92e3a
7 changed files with 3888 additions and 3880 deletions
+1258 -1255
View File
File diff suppressed because it is too large Load Diff
+1292 -1289
View File
File diff suppressed because it is too large Load Diff
+1291 -1289
View File
File diff suppressed because it is too large Load Diff
+14 -14
View File
@@ -7,18 +7,18 @@ Name Origin Length Attributes
Linker script and memory map
.text 0x0000000000000000 0x1320
.text 0x0000000000000000 0x2b8 tmp/powerpc-linux.elf-fold.o
0x000000000000006c Pmap
.text 0x0000000000000000 0x1348
.text 0x0000000000000000 0x2e0 tmp/powerpc-linux.elf-fold.o
0x0000000000000094 Pmap
0x000000000000000c get_page_mask
0x0000000000000048 Psync
0x0000000000000024 Pprotect
0x0000000000000090 Punmap
.text 0x00000000000002b8 0x0 tmp/powerpc-linux.elf-help_umf.o
.text 0x00000000000002b8 0x0 tmp/powerpc-expand.o
.text 0x00000000000002b8 0x1068 tmp/powerpc-linux.elf-main2.o
0x00000000000007d0 underlay
0x000000000000110c upx_main
0x00000000000000b8 Punmap
.text 0x00000000000002e0 0x0 tmp/powerpc-linux.elf-help_umf.o
.text 0x00000000000002e0 0x0 tmp/powerpc-expand.o
.text 0x00000000000002e0 0x1068 tmp/powerpc-linux.elf-main2.o
0x00000000000007f8 underlay
0x0000000000001134 upx_main
HUMF_A 0x0000000000000000 0x4
HUMF_A 0x0000000000000000 0x4 tmp/powerpc-linux.elf-help_umf.o
@@ -50,19 +50,19 @@ LOAD tmp/powerpc-expand.o
LOAD tmp/powerpc-linux.elf-main2.o
OUTPUT(tmp/powerpc-linux.elf-fold.bin elf32-powerpc)
SYSCALLS 0x0000000000000000 0x100
SYSCALLS 0x0000000000000000 0x100 tmp/powerpc-linux.elf-fold.o
SYSCALLS 0x0000000000000000 0x110
SYSCALLS 0x0000000000000000 0x110 tmp/powerpc-linux.elf-fold.o
0x0000000000000058 munmap
0x00000000000000b8 memcpy
0x00000000000000c8 memcpy
0x0000000000000010 readlink
0x0000000000000018 ftruncate
0x0000000000000060 mmap
0x0000000000000028 write
0x0000000000000074 memfd_create
0x0000000000000030 read
0x00000000000000dc memset
0x00000000000000ec memset
0x0000000000000050 msync
0x00000000000000f8 my_bkpt
0x0000000000000108 my_bkpt
0x0000000000000000 exit
0x0000000000000008 brk
0x0000000000000040 openat
+6 -6
View File
@@ -11,15 +11,15 @@ TARGET(elf64-powerpc)
LOAD tmp/powerpc64-linux.elf-fold.o
OUTPUT(tmp/powerpc64-linux.elf-fold.bin elf64-powerpc)
.text 0x0000000000000000 0xeb0
.text 0x0000000000000000 0xeb0 tmp/powerpc64-linux.elf-fold.o
.text 0x0000000000000000 0xed8
.text 0x0000000000000000 0xed8 tmp/powerpc64-linux.elf-fold.o
0x0000000000000014 get_page_mask
0x000000000000002c Pprotect
0x0000000000000050 Psync
0x0000000000000074 Pmap
0x0000000000000098 Punmap
0x0000000000000c8c underlay
0x0000000000000d18 upx_main2
0x000000000000009c Pmap
0x00000000000000c0 Punmap
0x0000000000000cb4 underlay
0x0000000000000d40 upx_main2
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/powerpc64-linux.elf-fold.o
+6 -6
View File
@@ -11,15 +11,15 @@ TARGET(elf64-powerpcle)
LOAD tmp/powerpc64le-linux.elf-fold.o
OUTPUT(tmp/powerpc64le-linux.elf-fold.bin elf64-powerpcle)
.text 0x0000000000000000 0xedc
.text 0x0000000000000000 0xedc tmp/powerpc64le-linux.elf-fold.o
.text 0x0000000000000000 0xf04
.text 0x0000000000000000 0xf04 tmp/powerpc64le-linux.elf-fold.o
0x0000000000000014 get_page_mask
0x000000000000002c Pprotect
0x0000000000000050 Psync
0x0000000000000074 Pmap
0x0000000000000098 Punmap
0x0000000000000cb8 underlay
0x0000000000000d44 upx_main2
0x000000000000009c Pmap
0x00000000000000c0 Punmap
0x0000000000000ce0 underlay
0x0000000000000d6c upx_main2
.data 0x0000000000000000 0x0
.data 0x0000000000000000 0x0 tmp/powerpc64le-linux.elf-fold.o