[uClibc-cvs] CVS uClibc/libc/sysdeps/linux/mips

CVS User andersen andersen at codepoet.org
Wed Dec 22 21:40:45 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/mips
In directory nail:/tmp/cvs-serv22429/libc/sysdeps/linux/mips

Modified Files:
	Makefile 
Log Message:
Patch from Peter S. Mazinger:
Add pie support for mips


--- /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile	2004/12/22 18:51:59	1.43
+++ /var/cvs/uClibc/libc/sysdeps/linux/mips/Makefile	2004/12/22 21:40:45	1.44
@@ -20,7 +20,7 @@
 include $(TOPDIR)Rules.mak
 
 CRT0_SRC = crt0.S
-CRT0_OBJ = crt0.o crt1.o
+CRT0_OBJ = crt1.o
 CTOR_TARGETS=$(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o
 
 SSRC=bsd-_setjmp.S bsd-setjmp.S setjmp.S clone.S syscall.S pipe.S
@@ -39,6 +39,8 @@
 ar-target: $(OBJS) $(CRT0_OBJ) $(CTOR_TARGETS)
 	$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
 	cp $(CRT0_OBJ) $(TOPDIR)lib/
+	$(LN) -fs $(CRT0_OBJ) $(TOPDIR)/lib/crt0.o
+	$(LN) -fs $(CRT0_OBJ) $(TOPDIR)/lib/Scrt1.o
 
 $(CRT0_OBJ): $(CRT0_SRC)
 	$(CC) $(ASFLAGS) -DL_$* $< -c -o $*.o



More information about the uClibc-cvs mailing list