Commit Graph

94 Commits

Author SHA1 Message Date
pk
a9c6e6dfa1 Make `make depend' work. For this, it was necessary to remove ${.ALLSRC}
from the build rules; it has been replaced with `${.CURDIR}/${SRCS}'.
Also, avoid "a.out" like <mk/bsd.lib.mk>.
1995-09-29 11:23:15 +00:00
pk
dae6393cae atexit() cannot reliably be used in this context. Introduce `.fini' which
is called from rtld through _dlexit() or when this object is unloaded
(from Doug Rabson).
1995-09-23 22:38:22 +00:00
pk
3994f31209 Activate interface version 4: call dlexit() at exit. 1995-09-23 22:34:20 +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
pk
ef3ad469b6 Private strrchr() not needed for scrt0.o 1995-06-15 21:41:41 +00:00
pk
f087571372 First arg. of syscall2() is a quad_t. 1995-06-06 09:04:51 +00:00
pk
69ae425298 Build run-time code for use in static executables, called `scrt0.o'. 1995-06-05 01:57:04 +00:00
pk
275fc2ee0d #include <dlfcn.h>, and <string.h> too. 1995-06-05 00:13:05 +00:00
pk
25b9fa86e4 one more prototype 1995-06-05 00:10:44 +00:00
pk
6226310a31 add dlerror() stub 1995-06-04 23:29:14 +00:00
pk
846beea318 Factor out common code. 1995-06-03 13:16:03 +00:00
pk
c64cecc457 Protoize (from Thorsten Lockert, PR #1070).
Some other cleanup.
1995-06-02 21:30:47 +00:00
pk
fd77fcfc4c Make this compile warning-free (from Thorsten Lockert, PR 1071). 1995-06-02 15:55:27 +00:00
phil
f722fd7346 Update to -DDYNAMIC as I thought I had a long time ago. 1995-05-29 06:18:12 +00:00
mycroft
6ee8835631 Keep argv[0] in a register. 1995-05-17 15:55:26 +00:00
mycroft
3ad209c804 Calculate environ directly from argc and argv, rather than searcing down
the argument list.
1995-05-16 16:25:04 +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
cgd
9fac9bc0af initial alpha support. no profiling support. 1995-02-10 17:53:00 +00:00
mycroft
d11034718e Don't map the data segment with PROT_EXEC. 1995-01-17 06:10:31 +00:00
mycroft
6d9a99f698 Use the new syscall method. 1995-01-17 06:09:43 +00:00
mycroft
fb7161aa7e Use ${COMPILE.S}, not ${CPP} directly. 1995-01-07 23:21:41 +00:00
mycroft
3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +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
mycroft
f3a089395b Kill historical cruft. 1994-07-31 19:57:46 +00:00
pk
63027d510b `LDSO' is for debugging only. 1994-07-26 19:53:46 +00:00
phil
f4bddced4a update mmap call. 1994-06-09 05:50:34 +00:00
glass
f518ec51c9 crt0 support for mips..no shared library support 1994-05-24 07:33:47 +00:00
mycroft
93ac2f912e Clean up deleted files. 1994-05-14 06:33:26 +00:00
cgd
0c3c9c68ab kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:22 +00:00
mycroft
91cd8bafa5 Clean up deleted files. 1994-05-14 06:33:20 +00:00
cgd
8cb13545d3 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:17 +00:00
mycroft
9177dd175a Clean up deleted files. 1994-05-14 06:33:16 +00:00
cgd
bc03451854 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:14 +00:00
mycroft
49f9da4a97 Clean up deleted files. 1994-05-14 06:33:11 +00:00
cgd
b22a4fbae6 kill all gprof-related stuff; it's now in libc, and the header is elsewhere 1994-05-14 06:33:05 +00:00
phil
9d4fe61ad7 changes to support shared libs. 1994-05-03 07:35:28 +00:00
pk
ae9be14d68 Fix that SYS___syscall business. 1994-04-18 20:02:58 +00:00
cgd
79b8b4562d new way of invoking mmap. 1994-04-05 02:26:13 +00:00
cgd
00ae28f054 explicit cast off mmap offset to off_t 1994-03-28 05:26:00 +00:00
cgd
95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
pk
fa491c1bc9 Remove some leftover SunOS dialect. 1994-03-10 21:09:49 +00:00
pk
140eeb543a Use atexit(), not on_exit(). 1994-03-10 21:02:01 +00:00
pk
8aee50b714 add -DDYNAMIC 1994-03-03 14:27:34 +00:00
pk
938f8ffda8 Set __progname; update to current <link.h> 1994-02-25 15:02:58 +00:00
mycroft
11f187b6a3 Clean up deleted files. 1994-02-25 03:40:12 +00:00