search for: __stdio_exit

Displaying 4 results from an estimated 4 matches for "__stdio_exit".

2013 Jan 09
0
[LLVMdev] [lld] ELF weak aliases
...ing else defines bar, use foo in place of bar. -Nick On Jan 8, 2013, at 4:50 PM, Michael Spencer wrote: > So I just got lua to link and run and work on x86-64 Linux with musl > and lld. It did require one change to hack around incorrect handling > of ELF weak aliases. > > In musl __stdio_exit.c > <http://git.musl-libc.org/cgit/musl/tree/src/stdio/__stdio_exit.c> we > have: > > static FILE *const dummy_file = 0; > weak_alias(dummy_file, __stdin_used); > weak_alias(dummy_file, __stdout_used); > weak_alias(dummy_file, __stderr_used); > > weak_alias(old, n...
2013 Jan 09
4
[LLVMdev] [lld] ELF weak aliases
So I just got lua to link and run and work on x86-64 Linux with musl and lld. It did require one change to hack around incorrect handling of ELF weak aliases. In musl __stdio_exit.c <http://git.musl-libc.org/cgit/musl/tree/src/stdio/__stdio_exit.c> we have: static FILE *const dummy_file = 0; weak_alias(dummy_file, __stdin_used); weak_alias(dummy_file, __stdout_used); weak_alias(dummy_file, __stderr_used); weak_alias(old, new) is defined as: extern __typeof(old) new _...
2013 Jan 09
0
[LLVMdev] [lld] ELF weak aliases
> On Tue, Jan 8, 2013 at 8:56 PM, <shankare at codeaurora.org> wrote: >> Hi Michael, >> >> Does ELF support aliasing ? >> >> How is the relationship captured in ELF symbol table, that one symbol is >> a >> alias of another symbol ? > > It is not explicitly captured. It's an implicit relationship due to > the symbols having the same
2013 Jan 09
2
[LLVMdev] [lld] ELF weak aliases
On Tue, Jan 8, 2013 at 8:56 PM, <shankare at codeaurora.org> wrote: > Hi Michael, > > Does ELF support aliasing ? > > How is the relationship captured in ELF symbol table, that one symbol is a > alias of another symbol ? It is not explicitly captured. It's an implicit relationship due to the symbols having the same address. > >> Note that __stdout_used is