Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the 16kb paging #68

Closed
250king opened this issue Nov 21, 2024 · 1 comment
Closed

Support the 16kb paging #68

250king opened this issue Nov 21, 2024 · 1 comment

Comments

@250king
Copy link

250king commented Nov 21, 2024

As we know, Android 15 has supported 16kb paging. I get the source code and try to build. But after checkting the readelf align it still is 4kb (

Elf 文件类型为 DYN (共享目标文件)
Entry point 0x0
There are 10 program headers, starting at offset 64

程序头:
  Type           Offset             VirtAddr           PhysAddr
                 FileSiz            MemSiz              Flags  Align
  PHDR           0x0000000000000040 0x0000000000000040 0x0000000000000040
                 0x0000000000000230 0x0000000000000230  R      0x8
  LOAD           0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x00000000004c6088 0x00000000004c6088  R      0x1000
  LOAD           0x00000000004c6090 0x00000000004c7090 0x00000000004c7090
                 0x0000000000aa0720 0x0000000000aa0720  R E    0x1000
  LOAD           0x0000000000f667c0 0x0000000000f687c0 0x0000000000f687c0
                 0x0000000000b2f2a8 0x0000000000b2f840  RW     0x1000
  LOAD           0x0000000001a95a70 0x0000000001a98a70 0x0000000001a98a70
                 0x00000000000b6568 0x0000000000139000  RW     0x1000
  DYNAMIC        0x0000000001a95558 0x0000000001a97558 0x0000000001a97558
                 0x00000000000001c0 0x00000000000001c0  RW     0x8
  GNU_RELRO      0x0000000000f667c0 0x0000000000f687c0 0x0000000000f687c0
                 0x0000000000b2f2a8 0x0000000000b2f840  R      0x1
  GNU_EH_FRAME   0x00000000004c3f50 0x00000000004c3f50 0x00000000004c3f50
                 0x000000000000053c 0x000000000000053c  R      0x4
  GNU_STACK      0x0000000000000000 0x0000000000000000 0x0000000000000000
                 0x0000000000000000 0x0000000000000000  RW     0x0
  NOTE           0x0000000000000270 0x0000000000000270 0x0000000000000270
                 0x00000000000000fc 0x00000000000000fc  R      0x4

 Section to Segment mapping:
  段节...
   00     
   01     .note.android.ident .note.go.buildid .dynsym .gnu.version .gnu.version_r .gnu.hash .hash .dynstr .rela.dyn .rela.plt .rodata .eh_frame_hdr .eh_frame 
   02     .text .plt 
   03     .data.rel.ro .fini_array .init_array .dynamic .got .got.plt .relro_padding 
   04     .go.buildinfo .noptrdata .data .bss .noptrbss 
   05     .dynamic 
   06     .data.rel.ro .fini_array .init_array .dynamic .got .got.plt .relro_padding 
   07     .eh_frame_hdr 
   08     
   09     .note.android.ident .note.go.buildid
@250king
Copy link
Author

250king commented Nov 27, 2024

@250king 250king closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant