Commit Graph

27 Commits

Author SHA1 Message Date
lukem
6bf85c9ba3 * use CPPFLAGS instead of CFLAGS for -D and -I options
* use COPTS instead of CFLAGS for -fPIC et al
* use ${COMPILE.c} instead of ${CC} ${CFLAGS} -c
* use FILES and FILESDIR to install pc532 objects (instead of install: rule) -
  this makes it consistent with the other a.out ports (arm32, i386, m68k, sparc)
1997-10-22 16:00:39 +00:00
jonathan
338a11a3e7 RCSid police. Add __RCSID while we're here.
Add alternate label '_start' in front of __start() for installs with
DESTDIR or programs that assume '_start'.
1997-10-20 03:24:49 +00:00
lukem
6fffd559bd WARNSify (not yet tested on all platforms yet) 1997-10-09 12:29:21 +00:00
thorpej
eb382f8e2b Make sure we're passed a valid obj_entry. 1997-08-24 18:11:23 +00:00
jonathan
a1601b522b Fix include path: use $(CURDIR). Kindly pointed out by <cgd@pa.dec.com> 1997-06-28 08:21:52 +00:00
jonathan
9b5e38ce15 Un-comment-out "CFLAGS+= -I/usr/src/libexec/ld.elf_so" for new crt0.c 1997-06-24 20:00:45 +00:00
jonathan
f4aee0fcbb New, Alpha-derived crt0.c with ld.elf_so support.
Expects additional register-passed arguments from the kernel on
exec().  If no such args ($a0 is zero), fall back to the old hack of
adjusting the current $sp with a hard-coded frame offset for __start's
local frame(!).

Suggested by Jason Thorpe (thorpej@nas.nasa.gov), debugged and
stackframe offsets updated by Jonathan Stone.
1997-06-23 22:04:34 +00:00
cjs
7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs
5241c2a923 These makefiles need to include bsd.own.mk early-on so that they
know BUILDDIR and OBJDIR.
1997-05-29 15:13:00 +00:00
cjs
5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
phil
ae7e730366 Force the link. 1997-05-19 23:24:21 +00:00
phil
10a830a931 Add to install to link scrt0.o to crt0.o. 1997-05-15 15:56:08 +00:00
mycroft
cc4a1553a1 Eliminate bogus redefinitions of standard targets. 1997-05-09 07:50:03 +00:00
jonathan
2ba4510cdc C versions of crt0 for mips. 1997-03-05 03:45:05 +00:00
thorpej
5042faf816 RCS id police. 1996-10-18 05:36:42 +00:00
thorpej
25f2d6465d Use ${INSTALL}. 1996-10-18 05:27:38 +00:00
cgd
2a3b48cdaf CFLAGS+=, not CFLAGS= 1995-12-12 01:53:50 +00:00
mellon
af776e8143 Correctly build gcrt0.o 1995-06-15 21:59:25 +00:00
mellon
0cfebbe02b start -> __start in END macro as well 1995-06-15 21:58:44 +00:00
mellon
96ba717024 start -> __start to avoid namespace bugs 1995-06-15 21:56:58 +00:00
mellon
139d140728 Ensure that __progname is in .data, not in .sdata 1995-05-03 22:13:15 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft
fb7161aa7e Use ${COMPILE.S}, not ${CPP} directly. 1995-01-07 23:21:41 +00:00
mycroft
d8f841190c .s -> .S 1994-12-16 10:01:23 +00:00
mycroft
c32023e792 More underscores... 1994-12-15 17:02:08 +00:00
dean
add2031dcf Prepended underscores 1994-11-14 23:33:46 +00:00
glass
f518ec51c9 crt0 support for mips..no shared library support 1994-05-24 07:33:47 +00:00