[uClibc-cvs] CVS uClibc/libc/sysdeps/linux/powerpc
CVS User andersen
andersen at codepoet.org
Wed Dec 22 18:58:14 UTC 2004
Update of /var/cvs/uClibc/libc/sysdeps/linux/powerpc
In directory nail:/tmp/cvs-serv20464/libc/sysdeps/linux/powerpc
Modified Files:
Makefile
Log Message:
Patch from Peter S. Mazinger to simplify PIE handling
--- /var/cvs/uClibc/libc/sysdeps/linux/powerpc/Makefile 2004/12/22 18:52:04 1.34
+++ /var/cvs/uClibc/libc/sysdeps/linux/powerpc/Makefile 2004/12/22 18:58:12 1.35
@@ -21,9 +21,7 @@
CRT0_SRC = crt0.S
CRT0_OBJ = crt0.o crt1.o
-ifeq ($(strip $(UCLIBC_PIE_SUPPORT)),y)
SCRT0_OBJ = $(patsubst %,S%, $(CRT0_OBJ))
-endif
CRT0_DEPS=gmon-start.S
CTOR_TARGETS=$(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o
@@ -43,13 +41,11 @@
ar-target: $(OBJS) $(CRT0_OBJ) $(SCRT0_OBJ) $(CTOR_TARGETS)
$(AR) $(ARFLAGS) $(LIBC) $(OBJS)
cp $(CRT0_OBJ) $(SCRT0_OBJ) $(TOPDIR)lib/
-ifeq ($(strip $(UCLIBC_PIE_SUPPORT)),y)
ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
$(RM) $(TOPDIR)lib/Scrt0.o
else
mv $(TOPDIR)lib/Scrt0.o $(TOPDIR)lib/Scrt1.o
endif
-endif
$(CRT0_OBJ): $(CRT0_SRC)
$(CC) $(ASFLAGS) -DL_$* $< -c -o $*.o
More information about the uClibc-cvs
mailing list