id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:7 | pushl %ecx
cfi_adjust_cfa_offset (4)
pushl %edx
cfi_adjust_cfa_offset (4)
movl $1f - 0b, %ecx
movl 4(%ebx), %edx
call _dl_tlsdesc_resolve_rela_fixup
1:
popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/dl-tlsdesc.S | 241 | 296 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:8 | cfi_adjust_cfa_offset (4)
pushl %edx
cfi_adjust_cfa_offset (4)
movl $1f - 0b, %ecx
movl 4(%ebx), %edx
call _dl_tlsdesc_resolve_hold_fixup
1:
popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_hold... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/dl-tlsdesc.S | 281 | 296 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 562837c002e42f7f0a95764e3883898f05a59327 | github | libc | https://github.com/bminor/glibc/blob/562837c002e42f7f0a95764e3883898f05a59327/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 | github | libc | https://github.com/bminor/glibc/blob/4a5ce6e908c6b45d976fb78b65434b489dc570b6/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:3 | C code, hand-optimized a little bit.
ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + DTV_OFFSET);
if (__builtin_expect (td->gen_count <= dtv[0].counter
&& (dtv[td->tlsinfo.ti_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 | github | libc | https://github.com/bminor/glibc/blob/4a5ce6e908c6b45d976fb78b65434b489dc570b6/sysdeps/i386/dl-tlsdesc.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:4 | subl %gs:0, %eax
movl 24(%esp), %edx
addl $28, %esp
cfi_adjust_cfa_offset (-28)
ret
.p2align 4,,7
.Lslow:
cfi_adjust_cfa_offset (28)
#ifdef NO_RTLD_HIDDEN
call JUMPTARGET (___tls_get_addr)
#else
call HIDDEN_JUMPTARGET (___tls_get_addr)
#endif
jmp .Lret
cfi_endproc
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dyn... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 | github | libc | https://github.com/bminor/glibc/blob/4a5ce6e908c6b45d976fb78b65434b489dc570b6/sysdeps/i386/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:5 | pushl %edx
cfi_adjust_cfa_offset (4)
movl $1f - 0b, %ecx
movl 4(%ebx), %edx
call _dl_tlsdesc_resolve_abs_plus_addend_fixup
1:
popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_abs_plus_addend, .-_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 | github | libc | https://github.com/bminor/glibc/blob/4a5ce6e908c6b45d976fb78b65434b489dc570b6/sysdeps/i386/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:6 | movl $1f - 0b, %ecx
movl 4(%ebx), %edx
call _dl_tlsdesc_resolve_rel_fixup
1:
popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_rel, .-_dl_tlsdesc_resolve_rel
/* This function is a wrapper for ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 | github | libc | https://github.com/bminor/glibc/blob/4a5ce6e908c6b45d976fb78b65434b489dc570b6/sysdeps/i386/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:7 | call _dl_tlsdesc_resolve_rela_fixup
1:
popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_rela, .-_dl_tlsdesc_resolve_rela
/* This function is a placeholder for lazy resolving of TLS
relocations... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 4a5ce6e908c6b45d976fb78b65434b489dc570b6 | github | libc | https://github.com/bminor/glibc/blob/4a5ce6e908c6b45d976fb78b65434b489dc570b6/sysdeps/i386/dl-tlsdesc.S | 241 | 289 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:3 | C code, hand-optimized a little bit.
ptrdiff_t
__attribute__ ((__regparm__ (1)))
_dl_tlsdesc_dynamic (struct tlsdesc *tdp)
{
struct tlsdesc_dynamic_arg *td = tdp->arg;
dtv_t *dtv = *(dtv_t **)((char *)__thread_pointer + DTV_OFFSET);
if (__builtin_expect (td->gen_count <= dtv[0].counter
&& (dtv[td->tlsinfo.ti_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-tlsdesc.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:4 | subl %gs:0, %eax
movl 24(%esp), %edx
addl $28, %esp
cfi_adjust_cfa_offset (-28)
ret
.p2align 4,,7
.Lslow:
cfi_adjust_cfa_offset (28)
call HIDDEN_JUMPTARGET (___tls_get_addr)
jmp .Lret
cfi_endproc
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic
#endif /* SHARED */
/* This function is a wrapper for a laz... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-tlsdesc.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:5 | call _dl_tlsdesc_resolve_abs_plus_addend_fixup
1:
popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_abs_plus_addend, .-_dl_tlsdesc_resolve_abs_plus_addend
/* This function is a wrapper for a laz... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-tlsdesc.S | 161 | 220 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:6 | popl %edx
cfi_adjust_cfa_offset (-4)
popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_rel, .-_dl_tlsdesc_resolve_rel
/* This function is a wrapper for a lazy resolver for TLS_DESC
RELA relocations. %ebx points to the caller's GOT... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-tlsdesc.S | 201 | 260 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:7 | popl %ecx
cfi_adjust_cfa_offset (-4)
popl %eax
cfi_adjust_cfa_offset (-4)
jmp *(%eax)
cfi_endproc
.size _dl_tlsdesc_resolve_rela, .-_dl_tlsdesc_resolve_rela
/* This function is a placeholder for lazy resolving of TLS
relocations. Once some thread starts resolving a TLS
relocation, it sets up the TLS desc... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-tlsdesc.S | 241 | 285 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-tlsdesc.S:1 | /* Thread-local storage handling in the ELF dynamic linker. i386 version.
Copyright (C) 2004-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-tlsdesc.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/dl-tlsdesc.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $12 # Jump to function address.
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#if !defined PROF && defined SHARED
.globl _dl_runtime_profile
.type _dl_runtime_profile, @function
cfi_startproc
.align 16
_dl_runtime_profile:
... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:3 | popl %edx
cfi_adjust_cfa_offset (-4)
popl %edx # Get register content back.
cfi_adjust_cfa_offset (-4)
movl (%esp), %ecx
movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $20 # Jump to function address.
/*
+32 return address
+28 PLT1
+24 PLT2
+20 %esp... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:4 | shrl $2, %ecx
rep
movsl
movl (%ebx), %esi
cfi_restore (esi)
movl 4(%ebx), %edi
cfi_restore (edi)
/*
%ebx+40 return address
%ebx+36 PLT1
%ebx+32 PLT2
%ebx+28 %esp
%ebx+24 %ebp
%ebx+20 %eax
%ebx+16 %ecx
%ebx+12 %edx
%ebx+8 %ebx
%ebx+4 free
%ebx free
%... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:5 | +4 free
%esp free
*/
#if LONG_DOUBLE_SIZE != 12
# error "long double size must be 12 bytes"
#endif
# Allocate space for La_i86_retval and subtract 12 free bytes.
subl $(LRV_SIZE - 12), %esp
cfi_adjust_cfa_offset (LRV_SIZE - 12)
movl %eax, LRV_EAX_OFFSET(%esp)
movl %edx, LRV_EDX_OFFSET(%esp)
fstpt LR... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/dl-trampoline.S | 161 | 193 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 874214db624a8e6c5d2dbe47419fab126f330d68 | github | libc | https://github.com/bminor/glibc/blob/874214db624a8e6c5d2dbe47419fab126f330d68/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $12 # Jump to function address.
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
# The SHSTK compatible version.
.text
.globl _dl_runtime_resolve_shstk
.type _dl_runtime_resolve_shstk, @function
cfi_startproc
.align 16
_dl_ru... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:3 | addl $8, (%esp) # Account for the pushed PLT data
pushl %ebp
cfi_adjust_cfa_offset (4)
pushl %eax # Preserve registers otherwise clobbered.
cfi_adjust_cfa_offset (4)
pushl %ecx
cfi_adjust_cfa_offset (4)
pushl %edx
cfi_adjust_cfa_offset (4)
movl %esp, %ecx
subl $8, %esp
cfi_adjust_cfa_offset (8)
movl $-1, ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:4 | _dl_runtime_profile:
cfi_adjust_cfa_offset (8)
pushl %esp
cfi_adjust_cfa_offset (4)
addl $8, (%esp) # Account for the pushed PLT data
pushl %ebp
cfi_adjust_cfa_offset (4)
pushl %eax # Preserve registers otherwise clobbered.
cfi_adjust_cfa_offset (4)
pushl %ecx
cfi_adjust_cfa_offset (4)
pushl %edx
cfi_adju... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:5 | +28 PLT1
+24 PLT2
+20 %esp
+16 %ebp
+12 %eax
+8 %ecx
+4 %edx
%esp free
*/
cfi_adjust_cfa_offset (8)
1: movl %ebx, (%esp)
cfi_rel_offset (ebx, 0)
movl %edx, %ebx # This is the frame buffer size
pushl %edi
cfi_adjust_cfa_offset (4)
cfi_rel_offset... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:6 | %ebx+28 %esp
%ebx+24 %ebp
%ebx+20 %eax
%ebx+16 %ecx
%ebx+12 %edx
%ebx+8 %ebx
%ebx+4 free
%ebx free
%esp copied stack frame
*/
movl %eax, (%ebx)
movl 12(%ebx), %edx
movl 16(%ebx), %ecx
movl 20(%ebx), %eax
call *(%ebx)
movl %ebx, %esp
cfi_def_cfa_register (esp)
mo... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:7 | fstpt LRV_ST0_OFFSET(%esp)
fstpt LRV_ST1_OFFSET(%esp)
pushl %esp
cfi_adjust_cfa_offset (4)
# Address of La_i86_regs area.
leal (LRV_SIZE + 4)(%esp), %ecx
# PLT2
movl (LRV_SIZE + 4 + LR_SIZE)(%esp), %eax
# PLT1
movl (LRV_SIZE + 4 + LR_SIZE + 4)(%esp), %edx
call _dl_audit_pltexit
movl LRV_EAX_OFFSET(%esp), %ea... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 25f1e16ef03a6a8fb1701c4647d46c564480d88c | github | libc | https://github.com/bminor/glibc/blob/25f1e16ef03a6a8fb1701c4647d46c564480d88c/sysdeps/i386/dl-trampoline.S | 241 | 262 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | movl (%esp), %ecx
movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $12 # Jump to function address.
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
# The SHSTK compatible version.
.text
.globl _dl_runtime_resolve_shstk
.type _dl_runtime_resolve_shstk, @function
cfi_startpro... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:3 | _CET_ENDBR
pushl %esp
cfi_adjust_cfa_offset (4)
addl $8, (%esp) # Account for the pushed PLT data
pushl %ebp
cfi_adjust_cfa_offset (4)
pushl %eax # Preserve registers otherwise clobbered.
cfi_adjust_cfa_offset (4)
pushl %ecx
cfi_adjust_cfa_offset (4)
pushl %edx
cfi_adjust_cfa_offset (4)
movl %esp, %ecx
s... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:4 | .type _dl_runtime_profile, @function
cfi_startproc
.align 16
_dl_runtime_profile:
cfi_adjust_cfa_offset (8)
_CET_ENDBR
pushl %esp
cfi_adjust_cfa_offset (4)
addl $8, (%esp) # Account for the pushed PLT data
pushl %ebp
cfi_adjust_cfa_offset (4)
pushl %eax # Preserve registers otherwise clobbered.
cfi_adjust_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:5 | ret $20 # Jump to function address.
/*
+32 return address
+28 PLT1
+24 PLT2
+20 %esp
+16 %ebp
+12 %eax
+8 %ecx
+4 %edx
%esp free
*/
cfi_adjust_cfa_offset (8)
1: movl %ebx, (%esp)
cfi_rel_offset (ebx, 0)
movl %edx, %ebx # This is ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:6 | /*
%ebx+40 return address
%ebx+36 PLT1
%ebx+32 PLT2
%ebx+28 %esp
%ebx+24 %ebp
%ebx+20 %eax
%ebx+16 %ecx
%ebx+12 %edx
%ebx+8 %ebx
%ebx+4 free
%ebx free
%esp copied stack frame
*/
movl %eax, (%ebx)
movl 12(%ebx), %edx
movl 16(%ebx), %ecx
movl 20(%eb... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:7 | subl $(LRV_SIZE - 12), %esp
cfi_adjust_cfa_offset (LRV_SIZE - 12)
movl %eax, LRV_EAX_OFFSET(%esp)
movl %edx, LRV_EDX_OFFSET(%esp)
fstpt LRV_ST0_OFFSET(%esp)
fstpt LRV_ST1_OFFSET(%esp)
pushl %esp
cfi_adjust_cfa_offset (4)
# Address of La_i86_regs area.
leal (LRV_SIZE + 4)(%esp), %ecx
# PLT2
movl (LRV_SIZE + 4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/dl-trampoline.S | 241 | 266 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 55f41ef8de4a4d0c5762d78659e11202d3c765d4 | github | libc | https://github.com/bminor/glibc/blob/55f41ef8de4a4d0c5762d78659e11202d3c765d4/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | movl (%esp), %ecx
movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $12 # Jump to function address.
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
# The SHSTK compatible version.
.text
.globl _dl_runtime_resolve_shstk
.type _dl_runtime_resolve_shstk, @function
cfi_startpro... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 8c0664e2b861fd3789602cc0b0b1922b0e20cb3a | github | libc | https://github.com/bminor/glibc/blob/8c0664e2b861fd3789602cc0b0b1922b0e20cb3a/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:6 | /*
%ebx+40 return address
%ebx+36 PLT1
%ebx+32 PLT2
%ebx+28 %esp
%ebx+24 %ebp
%ebx+20 %eax
%ebx+16 %ecx
%ebx+12 %edx
%ebx+8 %ebx
%ebx+4 free
%ebx free
%esp copied stack frame
*/
movl %eax, (%ebx)
movl 12(%ebx), %edx
movl 16(%ebx), %ecx
movl 20(%eb... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | bf433b849ae6f0cacf566a458c918bfd492ee732 | github | libc | https://github.com/bminor/glibc/blob/bf433b849ae6f0cacf566a458c918bfd492ee732/sysdeps/i386/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:7 | subl $(LRV_SIZE - 12), %esp
cfi_adjust_cfa_offset (LRV_SIZE - 12)
movl %eax, LRV_EAX_OFFSET(%esp)
movl %edx, LRV_EDX_OFFSET(%esp)
fstpt LRV_ST0_OFFSET(%esp)
fstpt LRV_ST1_OFFSET(%esp)
pushl %esp
cfi_adjust_cfa_offset (4)
# Address of La_i86_regs area.
leal (LRV_SIZE + 4)(%esp), %ecx
# PLT2
movl (LRV_SIZE + 4... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | bf433b849ae6f0cacf566a458c918bfd492ee732 | github | libc | https://github.com/bminor/glibc/blob/bf433b849ae6f0cacf566a458c918bfd492ee732/sysdeps/i386/dl-trampoline.S | 241 | 266 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | cfi_adjust_cfa_offset (4)
movl 16(%esp), %edx # Copy args pushed by PLT in register. Note
movl 12(%esp), %eax # that `fixup' takes its parameters in regs.
call _dl_fixup # Call resolver.
popl %edx # Get register content back.
cfi_adjust_cfa_offset (-4)
movl (%esp), %ecx
movl %eax, (%esp) # Store the function ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:3 | .globl _dl_runtime_profile_shstk
.type _dl_runtime_profile_shstk, @function
cfi_startproc
.align 16
_dl_runtime_profile_shstk:
cfi_adjust_cfa_offset (8)
_CET_ENDBR
pushl %esp
cfi_adjust_cfa_offset (4)
addl $8, (%esp) # Account for the pushed PLT data
pushl %ebp
cfi_adjust_cfa_offset (4)
pushl %eax # Preser... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:4 | cfi_adjust_cfa_offset (-32)
jmp *%ecx # Jump to function address.
cfi_endproc
.size _dl_runtime_profile_shstk, .-_dl_runtime_profile_shstk
.globl _dl_runtime_profile
.type _dl_runtime_profile, @function
cfi_startproc
.align 16
_dl_runtime_profile:
cfi_adjust_cfa_offset (8)
_CET_ENDBR
pushl %esp
cfi_adjust_... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:5 | cfi_adjust_cfa_offset (-4)
popl %edx # Get register content back.
cfi_adjust_cfa_offset (-4)
movl (%esp), %ecx
movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $20 # Jump to function address.
/*
+32 return address
+28 PLT1
+24 PLT2
+20 %esp
+16 ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 161 | 220 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:6 | rep
movsl
movl (%ebx), %esi
cfi_restore (esi)
movl 4(%ebx), %edi
cfi_restore (edi)
/*
%ebx+40 return address
%ebx+36 PLT1
%ebx+32 PLT2
%ebx+28 %esp
%ebx+24 %ebp
%ebx+20 %eax
%ebx+16 %ecx
%ebx+12 %edx
%ebx+8 %ebx
%ebx+4 free
%ebx free
%esp copied ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 201 | 260 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:7 | %esp free
*/
#if LONG_DOUBLE_SIZE != 12
# error "long double size must be 12 bytes"
#endif
# Allocate space for La_i86_retval and subtract 12 free bytes.
subl $(LRV_SIZE - 12), %esp
cfi_adjust_cfa_offset (LRV_SIZE - 12)
movl %eax, LRV_EAX_OFFSET(%esp)
movl %edx, LRV_EDX_OFFSET(%esp)
fstpt LRV_ST0_OFFSET(%esp... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/dl-trampoline.S | 241 | 287 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | f753fa7dea3367bd3eb7b543103ff8cda182a3fa | github | libc | https://github.com/bminor/glibc/blob/f753fa7dea3367bd3eb7b543103ff8cda182a3fa/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | movl 16(%esp), %edx # Copy args pushed by PLT in register. Note
movl 12(%esp), %eax # that `fixup' takes its parameters in regs.
call _dl_fixup # Call resolver.
popl %edx # Get register content back.
cfi_adjust_cfa_offset (-4)
movl (%esp), %ecx
movl %eax, (%esp) # Store the function address.
movl 4(%esp), %ea... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:3 | movl 36(%esp), %edx # Copy args pushed by PLT in register. Note
movl 32(%esp), %eax # that `fixup' takes its parameters in regs.
call _dl_profile_fixup # Call resolver.
cfi_adjust_cfa_offset (-8)
movl (%esp), %edx
testl %edx, %edx
jns 1f
popl %edx
cfi_adjust_cfa_offset (-4)
popl %edx # Get register content b... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:4 | # stack for the function call
andl $~3, %ebx
movl %esp, %edi
subl %ebx, %edi
movl %esp, %ebx
cfi_def_cfa_register (ebx)
movl %edi, %esp
shrl $2, %ecx
rep
movsl
movl (%ebx), %esi
cfi_restore (esi)
movl 4(%ebx), %edi
cfi_restore (edi)
/*
%ebx+40 return address
%ebx+36 PLT1
%ebx+32 PLT2
%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:5 | +32 PLT2
+28 %esp
+24 %ebp
+20 %eax
+16 %ecx
+12 %edx
+8 free
+4 free
%esp free
*/
#if LONG_DOUBLE_SIZE != 12
# error "long double size must be 12 bytes"
#endif
# Allocate space for La_i86_retval and subtract 12 free bytes.
subl $(LRV_SIZE ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-trampoline.S | 161 | 215 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:6 | #ifdef HAVE_MPX_SUPPORT
bndmov LRV_BND0_OFFSET(%esp), %bnd0
bndmov LRV_BND1_OFFSET(%esp), %bnd1
#else
.byte 0x66,0x0f,0x1a,0x44,0x24,LRV_BND0_OFFSET
.byte 0x66,0x0f,0x1a,0x4c,0x24,LRV_BND1_OFFSET
#endif
# Restore stack before return.
addl $(LRV_SIZE + 4 + LR_SIZE + 4), %esp
cfi_adjust_cfa_offset (-(LRV_SIZE + 4 ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/dl-trampoline.S | 201 | 215 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 14c5cbabc2d11004ab223ae5eae761ddf83ef99e | github | libc | https://github.com/bminor/glibc/blob/14c5cbabc2d11004ab223ae5eae761ddf83ef99e/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:1 | /* PLT trampolines. i386 version.
Copyright (C) 2004-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/dl-trampoline.S | 1 | 60 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:2 | movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $12 # Jump to function address.
cfi_endproc
.size _dl_runtime_resolve, .-_dl_runtime_resolve
#ifndef PROF
.globl _dl_runtime_profile
.type _dl_runtime_profile, @function
cfi_startproc
.align 16
_dl_runtime_profile:
cfi_adjust_cfa_offset... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/dl-trampoline.S | 41 | 100 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:3 | jns 1f
popl %edx
cfi_adjust_cfa_offset (-4)
popl %edx # Get register content back.
cfi_adjust_cfa_offset (-4)
movl (%esp), %ecx
movl %eax, (%esp) # Store the function address.
movl 4(%esp), %eax
ret $20 # Jump to function address.
/*
+32 return address
+28 PLT1
+24 PLT2
+20 ... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/dl-trampoline.S | 81 | 140 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:4 | movl %edi, %esp
shrl $2, %ecx
rep
movsl
movl (%ebx), %esi
cfi_restore (esi)
movl 4(%ebx), %edi
cfi_restore (edi)
/*
%ebx+40 return address
%ebx+36 PLT1
%ebx+32 PLT2
%ebx+28 %esp
%ebx+24 %ebp
%ebx+20 %eax
%ebx+16 %ecx
%ebx+12 %edx
%ebx+8 %ebx
%ebx+4 free
%e... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/dl-trampoline.S | 121 | 180 |
bminor/glibc:sysdeps/i386/dl-trampoline.S:5 | +8 free
+4 free
%esp free
*/
#if LONG_DOUBLE_SIZE != 12
# error "long double size must be 12 bytes"
#endif
# Allocate space for La_i86_retval and subtract 12 free bytes.
subl $(LRV_SIZE - 12), %esp
cfi_adjust_cfa_offset (LRV_SIZE - 12)
movl %eax, LRV_EAX_OFFSET(%esp)
movl %edx, LRV_EDX_OFFS... | x86 | gas-att | handwritten | bminor/glibc | sysdeps/i386/dl-trampoline.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/dl-trampoline.S | 161 | 194 |
bminor/glibc:sysdeps/i386/fpu/e_acos.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
RCSID("$NetBSD: e_acos.S,v 1.4 1995/05/08 23:44:37 jtc Exp $")
/* acos = atan (sqrt((1-x) (1+x)) / x) */
ENTRY(__ieee754_acos)
fldl 4(%esp) /* x */
fld %st /* x : x */
fld1 /* 1 : x : x */
fsubp /* 1 - x : x */
fld1 /*... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acos.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_acos.S | 1 | 25 |
bminor/glibc:sysdeps/i386/fpu/e_acos.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
RCSID("$NetBSD: e_acos.S,v 1.4 1995/05/08 23:44:37 jtc Exp $")
/* acos = atan (sqrt((1-x) (1+x)) / x) */
ENTRY(__ieee754_acos)
fldl 4(%esp) /* x */
fld %st /* x : x */
fld1 /* 1 : x... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acos.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_acos.S | 1 | 26 |
bminor/glibc:sysdeps/i386/fpu/e_acos.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: e_acos.S,v 1.4 1995/05/08 23:44:37 jtc Exp $")
/* acos = atan (sqrt((1-x) (1+x)) / x) */
ENTRY(__ieee754_acos)
fldl 4(%esp) /* x */
fld %st /* x : x */
fld1 /* 1 : x : x */
fsubp /* 1 - x : x ... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acos.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_acos.S | 1 | 25 |
bminor/glibc:sysdeps/i386/fpu/e_acosf.S:1 | /*
* Public domain.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
RCSID("$NetBSD: $")
/* acos = atan (sqrt(1 - x^2) / x) */
ENTRY(__ieee754_acosf)
flds 4(%esp) /* x */
fld %st
fmul %st(0) /* x^2 */
fld1
fsubp /* 1 - x^2 */
fsqrt /* sqrt (1 - x^2) */
fabs
fxch %st(1)
fpatan
ret
END ... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosf.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/e_acosf.S | 1 | 23 |
bminor/glibc:sysdeps/i386/fpu/e_acosf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for float type by Ulrich Drepper <drepper@cygnus.com>.
*/
#include <machine/asm.h>
#include <libm-alias-finite.h>
RCSID("$NetBSD: $")
/* acos = atan (sqrt(1 - x^2) / x) */
ENTRY(__ieee754_acosf)
flds 4(%esp) /* x */
fld %st
fmul %st(0... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosf.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_acosf.S | 1 | 25 |
bminor/glibc:sysdeps/i386/fpu/e_acosf.S:1 | /*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
* Adapted for float type by Ulrich Drepper <drepper@cygnus.com>.
*/
#include <machine/asm.h>
RCSID("$NetBSD: $")
/* acos = atan (sqrt(1 - x^2) / x) */
ENTRY(__ieee754_acosf)
flds 4(%esp) /* x */
fld %st
fmul %st(0) /* x^2 */
fld1
fsubp /... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosf.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_acosf.S | 1 | 24 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2026 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:2 | cmpl $0x3ff00000, %ecx
jl 5f // < 1 => invalid
fldln2 // log(2)
fldl 4(%esp) // x : log(2)
cmpl $0x41b00000, %ecx
ja 3f // x > 2^28
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
cmpl $0x40000000, %ecx
ja 4f // x > 2
// 1 <= x <= 2 => y = log1p(x-1+sqrt(2*(x-1)+(x-1)^2))
fsubl MO(one) // x-1 : log(2)
fabs... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_acosh.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:3 | .align ALIGNARG(4)
4: fld %st // x : x : log(2)
fadd %st, %st(1) // x : 2*x : log(2)
fld %st // x : x : 2*x : log(2)
fmul %st(1) // x^2 : x : 2*x : log(2)
fsubl MO(one) // x^2-1 : x : 2*x : log(2)
fsqrt // sqrt(x^2-1) : x : 2*x : log(2)
faddp // x+sqrt(x^2-1) : 2*x : log(2)
fdivrl MO(one) // 1/(... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 04e750e75b73957cf1c791535a3f4319534a52fc | github | libc | https://github.com/bminor/glibc/blob/04e750e75b73957cf1c791535a3f4319534a52fc/sysdeps/i386/fpu/e_acosh.S | 81 | 101 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2025 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 2642002380aafb71a1d3b569b6d7ebeab3284816 | github | libc | https://github.com/bminor/glibc/blob/2642002380aafb71a1d3b569b6d7ebeab3284816/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 6d7e8eda9b85b08f207a6dc6f187e94e4817270f | github | libc | https://github.com/bminor/glibc/blob/6d7e8eda9b85b08f207a6dc6f187e94e4817270f/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 581c785bf31bc74430320c7856bbfa3875d025fe | github | libc | https://github.com/bminor/glibc/blob/581c785bf31bc74430320c7856bbfa3875d025fe/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 30891f35fa7da832b66d80d0807610df361851f3 | github | libc | https://github.com/bminor/glibc/blob/30891f35fa7da832b66d80d0807610df361851f3/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2021 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:2 | movl 8(%esp), %ecx
cmpl $0x3ff00000, %ecx
jl 5f // < 1 => invalid
fldln2 // log(2)
fldl 4(%esp) // x : log(2)
cmpl $0x41b00000, %ecx
ja 3f // x > 2^28
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
cmpl $0x40000000, %ecx
ja 4f // x > 2
// 1 <= x <= 2 => y = log1p(x-1+sqrt(2*(x-1)+(x-1)^2))
fsubl MO(one) /... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_acosh.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:3 | // 2^28 > x > 2 => y = log(2*x - 1/(x+sqrt(x*x-1)))
.align ALIGNARG(4)
4: fld %st // x : x : log(2)
fadd %st, %st(1) // x : 2*x : log(2)
fld %st // x : x : 2*x : log(2)
fmul %st(1) // x^2 : x : 2*x : log(2)
fsubl MO(one) // x^2-1 : x : 2*x : log(2)
fsqrt // sqrt(x^2-1) : x : 2*x : log(2)
faddp // ... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 2b778ceb4010c28d70de9b8eab20e8d88eed586b | github | libc | https://github.com/bminor/glibc/blob/2b778ceb4010c28d70de9b8eab20e8d88eed586b/sysdeps/i386/fpu/e_acosh.S | 81 | 102 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 220622dde5704c95a100c2792a280f18f3deba73 | github | libc | https://github.com/bminor/glibc/blob/220622dde5704c95a100c2792a280f18f3deba73/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:3 | .align ALIGNARG(4)
4: fld %st // x : x : log(2)
fadd %st, %st(1) // x : 2*x : log(2)
fld %st // x : x : 2*x : log(2)
fmul %st(1) // x^2 : x : 2*x : log(2)
fsubl MO(one) // x^2-1 : x : 2*x : log(2)
fsqrt // sqrt(x^2-1) : x : 2*x : log(2)
faddp // x+sqrt(x^2-1) : 2*x : log(2)
fdivrl MO(one) // 1/(... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | d614a7539657941a9201c236b2f15afac18e1213 | github | libc | https://github.com/bminor/glibc/blob/d614a7539657941a9201c236b2f15afac18e1213/sysdeps/i386/fpu/e_acosh.S | 81 | 101 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 5a82c74822d3272df2f5929133680478c0cfb4bd | github | libc | https://github.com/bminor/glibc/blob/5a82c74822d3272df2f5929133680478c0cfb4bd/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 04277e02d7f54d3582bebcf8386b317018cd5e1d | github | libc | https://github.com/bminor/glibc/blob/04277e02d7f54d3582bebcf8386b317018cd5e1d/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 688903eb3ef01301d239ab753d309d45720610a7 | github | libc | https://github.com/bminor/glibc/blob/688903eb3ef01301d239ab753d309d45720610a7/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2017 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | bfff8b1becd7d01c074177df7196ab327cd8c844 | github | libc | https://github.com/bminor/glibc/blob/bfff8b1becd7d01c074177df7196ab327cd8c844/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | f7a9f785e547bd599dee496fd906a28bcb4ec7fe | github | libc | https://github.com/bminor/glibc/blob/f7a9f785e547bd599dee496fd906a28bcb4ec7fe/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Les... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 8c6c9236361fbc077769673c259828216403bc33 | github | libc | https://github.com/bminor/glibc/blob/8c6c9236361fbc077769673c259828216403bc33/sysdeps/i386/fpu/e_acosh.S | 1 | 60 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:2 | cmpl $0x3ff00000, %ecx
jl 5f // < 1 => invalid
fldln2 // log(2)
fldl 4(%esp) // x : log(2)
cmpl $0x41b00000, %ecx
ja 3f // x > 2^28
#ifdef PIC
LOAD_PIC_REG (dx)
#endif
cmpl $0x40000000, %ecx
ja 4f // x > 2
// 1 <= x <= 2 => y = log1p(x-1+sqrt(2*(x-1)+(x-1)^2))
fsubl MO(one) // x-1 : log(2)
fabs... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_acosh.S | 41 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_acosh.S:3 | .align ALIGNARG(4)
4: fld %st // x : x : log(2)
fadd %st, %st(1) // x : 2*x : log(2)
fld %st // x : x : 2*x : log(2)
fmul %st(1) // x^2 : x : 2*x : log(2)
fsubl MO(one) // x^2-1 : x : 2*x : log(2)
fsqrt // sqrt(x^2-1) : x : 2*x : log(2)
faddp // x+sqrt(x^2-1) : 2*x : log(2)
fdivrl MO(one) // 1/(... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acosh.S | LGPL-2.1 | 890b7a4b33d482b5c768ab47d70758b80227e9bc | github | libc | https://github.com/bminor/glibc/blob/890b7a4b33d482b5c768ab47d70758b80227e9bc/sysdeps/i386/fpu/e_acosh.S | 81 | 100 |
bminor/glibc:sysdeps/i386/fpu/e_acoshf.S:1 | /* ix87 specific implementation of arcsinh.
Copyright (C) 1996-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Softwa... | x86 | gas-like | handwritten | bminor/glibc | sysdeps/i386/fpu/e_acoshf.S | LGPL-2.1 | dff8da6b3e89b986bb7f6b1ec18cf65d5972e307 | github | libc | https://github.com/bminor/glibc/blob/dff8da6b3e89b986bb7f6b1ec18cf65d5972e307/sysdeps/i386/fpu/e_acoshf.S | 1 | 60 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.