summaryrefslogtreecommitdiff
path: root/lib/csu/powerpc
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2008-07-28 14:17:01 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2008-07-28 14:17:01 +0000
commitba0ae2baba78ebb0e831d5c744fab11f133ca5ce (patch)
tree373198d4617d534f775cb9305e87ea0fcdc0db41 /lib/csu/powerpc
parenteffb58fbc1e874896b43e42839386673a6c11d18 (diff)
Remove separate pic versions of crt0, crtbegin, crtend. Next
release we are taking a different approach. Idea from kettenis@. okay kettenis@ weingart@
Diffstat (limited to 'lib/csu/powerpc')
-rw-r--r--lib/csu/powerpc/Makefile21
1 files changed, 1 insertions, 20 deletions
diff --git a/lib/csu/powerpc/Makefile b/lib/csu/powerpc/Makefile
index 595d4a7d12e..a1cd94e1809 100644
--- a/lib/csu/powerpc/Makefile
+++ b/lib/csu/powerpc/Makefile
@@ -2,10 +2,9 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/1/93
CFLAGS+= -DLIBC_SCCS
-OBJS= crt0.o pcrt0.o gcrt0.o
+OBJS= crt0.o gcrt0.o
OBJS+= crtbegin.o crtend.o
OBJS+= crtbeginS.o crtendS.o
-OBJS+= crtbeginP.o crtendP.o
SRCS= crt0.c crtbegin.c crtbeginS.c crtend.c crtendS.c
ELFDIR= ${.CURDIR}/../common_elf
@@ -22,12 +21,6 @@ crt0.o: crt0.c
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
-pcrt0.o: crt0.c
- @echo ${COMPILE.c} ${PICFLAG} -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}
- @${COMPILE.c} ${PICFLAG} -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
- @rm -f ${.TARGET}.o
-
gcrt0.o: crt0.c
@echo ${COMPILE.c} -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}
@${COMPILE.c} -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}.o
@@ -40,12 +33,6 @@ crtbegin.o: crtbegin.c
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
-crtbeginP.o: crtbegin.c
- @echo ${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtbegin.c -o ${.TARGET}
- @${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtbegin.c -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
- @rm -f ${.TARGET}.o
-
crtbeginS.o: crtbeginS.c
@echo ${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtbeginS.c -o ${.TARGET}
@${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtbeginS.c -o ${.TARGET}.o
@@ -58,12 +45,6 @@ crtend.o: crtend.c
@${LD} -x -r -o ${.TARGET} ${.TARGET}.o
@rm -f ${.TARGET}.o
-crtendP.o: crtend.c
- @echo ${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtend.c -o ${.TARGET}
- @${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtend.c -o ${.TARGET}.o
- @${LD} -x -r -o ${.TARGET} ${.TARGET}.o
- @rm -f ${.TARGET}.o
-
crtendS.o: crtendS.c
@echo ${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtendS.c -o ${.TARGET}
@${COMPILE.c} ${PICFLAG} ${ELFDIR}/crtendS.c -o ${.TARGET}.o