diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2013-12-03 06:21:42 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2013-12-03 06:21:42 +0000 |
commit | d2691ac140877e978fb1760a3b8839703bec2157 (patch) | |
tree | 1eb3ea9b962bb8302d7906e09e3f99eda594ab9a /lib/csu/sh/Makefile | |
parent | 6999064a0775fb0dba819e0c6b3d16259508940e (diff) |
Merge the per-arch crt0.c files into common_elf/crt0.c, with MD macros in
the md_init.h files.
Worked out with and ok miod@; ok matthew@
Diffstat (limited to 'lib/csu/sh/Makefile')
-rw-r--r-- | lib/csu/sh/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/csu/sh/Makefile b/lib/csu/sh/Makefile index d5e2faa724c..2e59cd613c1 100644 --- a/lib/csu/sh/Makefile +++ b/lib/csu/sh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2011/11/08 10:37:09 guenther Exp $ +# $OpenBSD: Makefile,v 1.6 2013/12/03 06:21:41 guenther Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/1/93 OBJS= crt0.o gcrt0.o crtbegin.o crtend.o crtbeginS.o crtendS.o @@ -11,14 +11,14 @@ CFLAGS+= -I${ELFDIR} -I${.CURDIR} all: ${OBJS} crt0.o: crt0.c - @echo ${COMPILE.c} -DCRT0 -fpie -DPIC ${.CURDIR}/crt0.c -o ${.TARGET} - @${COMPILE.c} -DCRT0 -fpie -DPIC ${.CURDIR}/crt0.c -o ${.TARGET}.o + @echo ${COMPILE.c} -DCRT0 -fpie -DPIC ${ELFDIR}/crt0.c -o ${.TARGET} + @${COMPILE.c} -DCRT0 -fpie -DPIC ${ELFDIR}/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 + @echo ${COMPILE.c} -DMCRT0 ${ELFDIR}/crt0.c -o ${.TARGET} + @${COMPILE.c} -DMCRT0 ${ELFDIR}/crt0.c -o ${.TARGET}.o @${LD} -x -r -o ${.TARGET} ${.TARGET}.o @rm -f ${.TARGET}.o |