862a23dfdf
crt_pad_segment provides a note of type NT_ANDROID_TYPE_PAD_SEGMENT. It's intended when present is for the loader to pad segment gaps to reduce kernel slab memory usage (due to additional vm_area_struct's for gaps). crt_pad_segment.o retains control to the static linker so that app developers can opt out (build with different flags) it there are undesireable side effects. Section Headers: [Nr] Name Type Address Off Size ES Flg Lk Inf Al [ 0] NULL 0000000000000000 000000 000000 00 0 0 0 [ 1] .strtab STRTAB 0000000000000000 0000f8 000066 00 0 0 1 [ 2] .text PROGBITS 0000000000000000 000040 000000 00 AX 0 0 4 [ 3] .note.GNU-stack PROGBITS 0000000000000000 000040 000000 00 0 0 1 [ 4] .note.android.pad_segment NOTE 0000000000000000 000040 00001c 00 A 0 0 4 [ 5] .rela.note.android.pad_segment RELA 0000000000000000 0000e0 000018 18 I 7 4 8 [ 6] .debug_line PROGBITS 0000000000000000 00005c 000052 00 0 0 1 [ 7] .symtab SYMTAB 0000000000000000 0000b0 000030 18 1 1 8 Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings), I (info), L (link order), O (extra OS processing required), G (group), T (TLS), C (compressed), x (unknown), o (OS specific), E (exclude), D (mbind), l (large), p (processor specific) Bug: 316403210 Test: m -j50 ndk Test: find out/soong/ndk -name 'crt_pad_segment.o' Test: readelf -SW crt_pag_segment.o Change-Id: I94af5e85fd602e7ba5fd56788ae39277368229d8 Signed-off-by: Kalesh Singh <kaleshsingh@google.com> |
||
---|---|---|
.. | ||
__bionic_get_shell_path.h | ||
bionic_allocator.h | ||
bionic_arc4random.h | ||
bionic_asm.h | ||
bionic_asm_arm.h | ||
bionic_asm_arm64.h | ||
bionic_asm_dwarf_exprs.h | ||
bionic_asm_note.h | ||
bionic_asm_offsets.h | ||
bionic_asm_riscv64.h | ||
bionic_asm_x86.h | ||
bionic_asm_x86_64.h | ||
bionic_auxv.h | ||
bionic_call_ifunc_resolver.h | ||
bionic_config.h | ||
bionic_constants.h | ||
bionic_defs.h | ||
bionic_elf_tls.h | ||
bionic_errdefs.h | ||
bionic_fdsan.h | ||
bionic_fdtrack.h | ||
bionic_fortify.h | ||
bionic_futex.h | ||
bionic_globals.h | ||
bionic_ieee.h | ||
bionic_ifuncs.h | ||
bionic_inline_raise.h | ||
bionic_lock.h | ||
bionic_malloc_dispatch.h | ||
bionic_mbstate.h | ||
bionic_sigdefs.h | ||
bionic_ssp.h | ||
bionic_systrace.h | ||
bionic_time_conversions.h | ||
bionic_tls.h | ||
bionic_vdso.h | ||
bsd_sys_param.h | ||
CachedProperty.h | ||
CFIShadow.h | ||
ErrnoRestorer.h | ||
FdPath.h | ||
get_cpu_count_from_string.h | ||
grp_pwd.h | ||
icu.h | ||
KernelArgumentBlock.h | ||
linker_native_bridge.h | ||
MallocXmlElem.h | ||
NetdClientDispatch.h | ||
ScopedFd.h | ||
ScopedPthreadMutexLocker.h | ||
ScopedReaddir.h | ||
ScopedRWLock.h | ||
ScopedSignalBlocker.h | ||
ScopedSignalHandler.h | ||
SigSetConverter.h | ||
thread_private.h | ||
WriteProtected.h |