Searched refs:segment (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/bionic/ |
D | bionic_elf_tls.cpp | 194 if (module.segment.init_size == 0) { in __init_static_tls() 200 module.segment.init_ptr, in __init_static_tls() 201 module.segment.init_size); in __init_static_tls() 294 const TlsSegment& segment = modules.module_table[module_idx].segment; in tls_get_addr_slow_path() local 295 mod_ptr = __libc_shared_globals()->tls_allocator.memalign(segment.alignment, segment.size); in tls_get_addr_slow_path() 296 if (segment.init_size > 0) { in tls_get_addr_slow_path() 297 memcpy(mod_ptr, segment.init_ptr, segment.init_size); in tls_get_addr_slow_path()
|
D | libc_init_static.cpp | 141 if (__bionic_get_tls_segment(phdr_start, phdr_ct, 0, &mod.segment)) { in layout_static_tls() 142 if (!__bionic_check_tls_alignment(&mod.segment.alignment)) { in layout_static_tls() 144 progname, mod.segment.alignment); in layout_static_tls() 146 mod.static_offset = layout.reserve_exe_segment_and_tcb(&mod.segment, progname); in layout_static_tls()
|
/bionic/libc/private/ |
D | bionic_elf_tls.h | 74 size_t reserve_solib_segment(const TlsSegment& segment) { in reserve_solib_segment() 75 return reserve(segment.size, segment.alignment); in reserve_solib_segment() 101 TlsSegment segment; member
|
/bionic/linker/ |
D | linker_tls.cpp | 78 .segment = si_tls->segment, in register_tls_module() 115 …register_tls_module(somain, layout.reserve_exe_segment_and_tcb(&somain->get_tls()->segment, progna… in linker_setup_exe_static_tls() 141 static_offset = layout.reserve_solib_segment(si_tls->segment); in register_soinfo_tls()
|
D | linker_soinfo.h | 149 TlsSegment segment; member
|
D | linker.cpp | 2816 tls_->segment = tls_segment; in prelink_image()
|
/bionic/tests/libs/ |
D | segment_gap_outer.lds | 14 # Now create the gap. We need a text segment first to prevent the linker from
|
/bionic/docs/ |
D | elf-tls.md | 40 an executable, the linker needs to know where an executable's TLS segment is relative to the TP so 45 if it hasn't been allocated yet). If the executable has a TLS segment, then it will always be module 102 segment. 482 XXX: A dynamic executable using ELF TLS would have a PT_TLS segment and no other distinguishing 733 * Add a `PT_ANDROID_TLS_TPOFF` segment? 750 TP-to-TLS-segment offset. 780 The layout conflict is apparently only a problem because an executable assumes that its TLS segment 782 shared object can still use the efficient IE access model, but its TLS segment offset is known at 784 LE, then the Bionic loader can place the executable's TLS segment at any offset from the TP, leaving 825 AOSP hikey960 build, only `/system/bin/netd` has a TLS segment, and it's only 32 bytes. As long as [all …]
|
/bionic/libc/kernel/uapi/linux/ |
D | vfio.h | 192 __u16 segment; member
|
/bionic/ |
D | android-changes-for-ndk-developers.md | 371 Each segment in an ELF file has associated flags that tell the
|