musl/arch/mips
Rich Felker 5e396fb996 adjust mips crt_arch entry point asm to avoid assembler bugs
apparently the .gpword directive does not work reliably with local
text labels; values produced were offset by 64k from the correct
value, resulting in incorrect computation of the got pointer at
runtime. instead, use an external label so that the assembler does not
munge the relocation; the linker will then get it right.

commit 6fef8cafbd exposed this issue by
removing the old, non-PIE-compatible handwritten crt1.s, which was not
affected. presumably mips PIE executables (using Scrt1.o produced from
crt_arch.h) were already affected at the time.
2015-12-29 13:01:29 -05:00
..
bits socket.h: cleanup/reorder mips and powerpc bits/socket.h 2015-07-21 19:14:58 -04:00
atomic.h add explicit barrier operation to internal atomic.h API 2014-10-10 18:17:09 -04:00
crt_arch.h adjust mips crt_arch entry point asm to avoid assembler bugs 2015-12-29 13:01:29 -05:00
ksigaction.h fix signal return for sh/fdpic 2015-09-23 18:33:49 +00:00
pthread_arch.h properly access mcontext_t program counter in cancellation handler 2015-11-02 12:41:49 -05:00
reloc.h new dlstart stage-2 chaining for mips 2015-09-17 07:20:43 +00:00
syscall_arch.h remove visibility suppression by SHARED macro in mips and x32 arch files 2015-12-15 23:18:38 -05:00