Home
last modified time | relevance | path

Searched refs:TP_OFFSET (Results 1 – 7 of 7) sorted by relevance

/freebsd-12.1/lib/libthr/arch/powerpc/include/
H A Dpthread_md.h45 #define TP_OFFSET 0x7010 macro
47 #define TP_OFFSET 0x7008 macro
65 "r"((uint8_t *)tcb + TP_OFFSET)); in _tcb_set()
68 "r"((uint8_t *)tcb + TP_OFFSET)); in _tcb_set()
82 return ((struct tcb *)(_tp - TP_OFFSET)); in _tcb_get()
/freebsd-12.1/lib/libthr/arch/riscv/include/
H A Dpthread_md.h49 #define TP_OFFSET sizeof(struct tcb) macro
65 __asm __volatile("mv tp, %0" :: "r"((uint8_t *)tcb + TP_OFFSET)); in _tcb_set()
78 return ((struct tcb *)(_tp - TP_OFFSET)); in _tcb_get()
/freebsd-12.1/sys/riscv/riscv/
H A Dvm_machdep.c59 #define TP_OFFSET 16 /* sizeof(struct tcb) */ macro
205 td->td_frame->tf_tp = (register_t)tls_base + TP_OFFSET; in cpu_set_user_tls()
/freebsd-12.1/contrib/binutils/bfd/
H A Delf32-ppc.c157 #define TP_OFFSET 0x7000 macro
6389 value += DTP_OFFSET - TP_OFFSET; in ppc_elf_relocate_section()
6484 addend -= htab->elf.tls_sec->vma + TP_OFFSET; in ppc_elf_relocate_section()
6491 addend -= htab->elf.tls_sec->vma + TP_OFFSET; in ppc_elf_relocate_section()
H A Delf64-ppc.c128 #define TP_OFFSET 0x7000 macro
6983 ok_tprel = (value + TP_OFFSET + ((bfd_vma) 1 << 31) in ppc64_elf_tls_optimize()
11013 relocation += DTP_OFFSET - TP_OFFSET; in ppc64_elf_relocate_section()
11123 addend -= htab->elf.tls_sec->vma + TP_OFFSET; in ppc64_elf_relocate_section()
11150 addend -= htab->elf.tls_sec->vma + TP_OFFSET; in ppc64_elf_relocate_section()
H A Delfxx-mips.c782 #define TP_OFFSET 0x7000 macro
800 return elf_hash_table (info)->tls_sec->vma + TP_OFFSET; in tprel_base()
H A DChangeLog-02034283 (NOP, CROR_151515, CROR_313131, TP_OFFSET, DTP_OFFSET): Define.
4529 * elf64-ppc.c (TP_OFFSET, DTP_OFFSET): Declare.