diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-02 10:04:14 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-02 10:04:14 +0000 |
commit | 3f2cd90cfdd9d6df077afe48523b9a16e4346d5b (patch) | |
tree | 660b36e4570583e4f5c06ad48175ab46ca085df2 | |
parent | a57cb65c8bbc4124eca98f8632c528c90553ddfe (diff) |
Create crtn.o. Right now it's an empty file...
-rw-r--r-- | lib/csu/mips/Makefile | 10 | ||||
-rw-r--r-- | lib/csu/mips/crtn.c | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/lib/csu/mips/Makefile b/lib/csu/mips/Makefile index 8a914c23db1..3966a5e6d4d 100644 --- a/lib/csu/mips/Makefile +++ b/lib/csu/mips/Makefile @@ -1,8 +1,8 @@ # from: @(#)Makefile 8.1 (Berkeley) 6/1/93 -# $Id: Makefile,v 1.4 1996/05/25 09:11:44 pefo Exp $ +# $Id: Makefile,v 1.5 1996/09/02 10:04:11 pefo Exp $ CFLAGS+= -DLIBC_SCCS -I${.CURDIR} -OBJS= crt0.o gcrt0.o scrt0.o +OBJS= crt0.o gcrt0.o scrt0.o crtn.o CLEANFILES+= core a.out SRCS= crt0.c DEPS= @@ -15,6 +15,12 @@ crt0.o: ${SRCS} ${DEPS} @${LD} -x -r ${.TARGET}.o -o ${.TARGET} @rm -f ${.TARGET}.o +crtn.o: ${SRCS} ${DEPS} + @echo "${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}" + @${COMPILE.c} -DCRT0 -DDYNAMIC ${.CURDIR}/${SRCS} -o ${.TARGET}.o + @${LD} -x -r ${.TARGET}.o -o ${.TARGET} + @rm -f ${.TARGET}.o + gcrt0.o: ${SRCS} ${DEPS} @echo "${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}" @${COMPILE.c} -DMCRT0 ${.CURDIR}/${SRCS} -o ${.TARGET}.o diff --git a/lib/csu/mips/crtn.c b/lib/csu/mips/crtn.c new file mode 100644 index 00000000000..9617679e801 --- /dev/null +++ b/lib/csu/mips/crtn.c @@ -0,0 +1,8 @@ +/* + * Empty file to create crtn.o. + * This is something constructors/destructors + * later will depend on... + */ + +__crtn() +{} |