Find and use AT_PAGESZ; forward from -entry to -fold.
Cleanup the runtime choice of PAGE_SIZE 4K or 64K modified: stub/powerpc-linux.elf-entry.h modified: stub/powerpc-linux.elf-fold.h modified: stub/src/arch/powerpc/32/ppc_regs.h modified: stub/src/powerpc-linux.elf-entry.S modified: stub/src/powerpc-linux.elf-fold.S modified: stub/tmp/powerpc-linux.elf-entry.bin.dump modified: stub/tmp/powerpc-linux.elf-fold.map
This commit is contained in:
@@ -14,7 +14,7 @@ Idx Name Size VMA LMA File off Algn Flags
|
||||
9 NRV_TAIL 0000001c 00000000 00000000 00001780 2**0 CONTENTS, READONLY
|
||||
10 CFLUSH 00000024 00000000 00000000 0000179c 2**0 CONTENTS, READONLY
|
||||
11 ELFMAINY 00000022 00000000 00000000 000017c0 2**0 CONTENTS, RELOC, READONLY
|
||||
12 ELFMAINZ 0000013c 00000000 00000000 000017e2 2**0 CONTENTS, RELOC, READONLY
|
||||
12 ELFMAINZ 000000e8 00000000 00000000 000017e2 2**0 CONTENTS, RELOC, READONLY
|
||||
SYMBOL TABLE:
|
||||
00000000 l d LZMA_DEC30 00000000 LZMA_DEC30
|
||||
00000000 l d NRV_TAIL 00000000 NRV_TAIL
|
||||
@@ -33,7 +33,7 @@ SYMBOL TABLE:
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINX]:
|
||||
OFFSET TYPE VALUE
|
||||
00000000 R_PPC_REL24 ELFMAINZ+0x0000012c
|
||||
00000000 R_PPC_REL24 ELFMAINZ+0x000000d8
|
||||
|
||||
RELOCATION RECORDS FOR [NRV2E]:
|
||||
OFFSET TYPE VALUE
|
||||
@@ -57,5 +57,4 @@ OFFSET TYPE VALUE
|
||||
|
||||
RELOCATION RECORDS FOR [ELFMAINZ]:
|
||||
OFFSET TYPE VALUE
|
||||
000000b0 R_PPC_REL24 ELFMAINY
|
||||
000000f8 R_PPC_REL14 ELFMAINY
|
||||
000000a8 R_PPC_REL14 ELFMAINY
|
||||
|
||||
@@ -9,30 +9,30 @@ Linker script and memory map
|
||||
TARGET(elf32-powerpc)
|
||||
0x0000000000100080 . = ((0x100000 + SIZEOF_HEADERS) + 0xc)
|
||||
|
||||
.text 0x0000000000100080 0xc84
|
||||
.text 0x0000000000100080 0xc6c
|
||||
*(.text)
|
||||
.text 0x0000000000100080 0x12c tmp/powerpc-linux.elf-fold.o
|
||||
0x000000000010019c munmap
|
||||
0x0000000000100160 mmap
|
||||
0x000000000010017c read
|
||||
0x0000000000100174 exit
|
||||
0x00000000001001a4 brk
|
||||
0x0000000000100184 open
|
||||
0x0000000000100194 mprotect
|
||||
0x000000000010018c close
|
||||
.text 0x00000000001001ac 0xb58 tmp/powerpc-linux.elf-main.o
|
||||
0x0000000000100ad0 upx_main
|
||||
.text 0x0000000000100080 0x114 tmp/powerpc-linux.elf-fold.o
|
||||
0x0000000000100184 munmap
|
||||
0x0000000000100144 mmap
|
||||
0x0000000000100164 read
|
||||
0x000000000010015c exit
|
||||
0x000000000010018c brk
|
||||
0x000000000010016c open
|
||||
0x000000000010017c mprotect
|
||||
0x0000000000100174 close
|
||||
.text 0x0000000000100194 0xb58 tmp/powerpc-linux.elf-main.o
|
||||
0x0000000000100ab8 upx_main
|
||||
*(.data)
|
||||
.data 0x0000000000100d04 0x0 tmp/powerpc-linux.elf-fold.o
|
||||
.data 0x0000000000100d04 0x0 tmp/powerpc-linux.elf-main.o
|
||||
.data 0x0000000000100cec 0x0 tmp/powerpc-linux.elf-fold.o
|
||||
.data 0x0000000000100cec 0x0 tmp/powerpc-linux.elf-main.o
|
||||
|
||||
.data
|
||||
|
||||
.bss 0x0000000000100d04 0x0
|
||||
.bss 0x0000000000100d04 0x0 tmp/powerpc-linux.elf-fold.o
|
||||
.bss 0x0000000000100d04 0x0 tmp/powerpc-linux.elf-main.o
|
||||
.bss 0x0000000000100cec 0x0
|
||||
.bss 0x0000000000100cec 0x0 tmp/powerpc-linux.elf-fold.o
|
||||
.bss 0x0000000000100cec 0x0 tmp/powerpc-linux.elf-main.o
|
||||
|
||||
.rela.dyn 0x0000000000100d04 0x0
|
||||
.rela.dyn 0x0000000000100cec 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
|
||||
|
||||
Reference in New Issue
Block a user