Displaying 3 results from an estimated 3 matches for "__start_c".
Did you mean:
__start_
2017 Jun 06
4
LLD support for ld64 mach-o linker synthesised symbols
...*/
.align 3
__image_base:
.quad segment$start$__TEXT
__start_static:
.quad start
.text
.align 3
.global start
start:
xor %rbp,%rbp
mov %rsp,%rdi
andq $-16,%rsp
movq __image_base(%rip), %rsi
leaq start(%rip), %rdx
subq __start_static(%rip), %rdx
call __start_c
In C:
/* run C++ constructors in __libc_start_main for x86_64-xnu-musl */
typedef void (*__init_fn)(int, char **, char **, char **);
extern __init_fn __init_start __asm("section$start$__DATA$__mod_init_func");
extern __init_fn __init_end __asm("section$end$__DATA$__mod_init_...
2017 Jun 06
2
LLD support for ld64 mach-o linker synthesised symbols
...t_static:
> .quad start
> .text
> .align 3
> .global start
> start:
> xor %rbp,%rbp
> mov %rsp,%rdi
> andq $-16,%rsp
> movq __image_base(%rip), %rsi
> leaq start(%rip), %rdx
> subq __start_static(%rip), %rdx
> call __start_c
>
> In C:
>
> /* run C++ constructors in __libc_start_main for x86_64-xnu-musl */
>
> typedef void (*__init_fn)(int, char **, char **, char **);
> extern __init_fn __init_start __asm("section$start$__DATA$__mod_init_func");
> extern __init_fn __init_end __...
2017 Jun 07
3
LLD support for ld64 mach-o linker synthesised symbols
...t;> .align 3
>> .global start
>> start:
>> xor %rbp,%rbp
>> mov %rsp,%rdi
>> andq $-16,%rsp
>> movq __image_base(%rip), %rsi
>> leaq start(%rip), %rdx
>> subq __start_static(%rip), %rdx
>> call __start_c
>>
>>
>> In C:
>>
>> /* run C++ constructors in __libc_start_main for x86_64-xnu-musl */
>>
>> typedef void (*__init_fn)(int, char **, char **, char **);
>> extern __init_fn __init_start __asm("section$start$__DATA$__mod_
>> init_func&quo...