210-mips_use_pic_crt1.patch 285 B

1234567891011
  1. --- a/libc/sysdeps/linux/mips/Makefile.arch
  2. +++ b/libc/sysdeps/linux/mips/Makefile.arch
  3. @@ -20,6 +20,8 @@ ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y)
  4. SSRC += vfork.S clone.S
  5. endif
  6. +CFLAGS-crt1.S += $(PICFLAG)
  7. +
  8. ASFLAGS-syscall_error.S += -D_LIBC_REENTRANT
  9. ARCH_HEADERS := sgidefs.h