Commit Graph

74 Commits

Author SHA1 Message Date
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
mycroft 89583c18ac Clean up deleted files. 1994-01-28 21:01:29 +00:00
pk d27581fb4b Use somewhat customized version of malloc, in stead of relying on a
crummy sbrk() backend; proper aligment must be guaranteed on all archs.
Drafting dlopen, dlsym, et.al.
1994-01-28 21:01:20 +00:00
pk ad127b0a0a Redone from scratch, but maintain SunOS compatibility. 1994-01-28 20:26:52 +00:00
cgd 2f6038ba19 switch a define to move things down a page. seems to work fine. 1994-01-21 18:59:19 +00:00
pk 954ef13a90 Fill in gdb hook. 1994-01-12 19:19:09 +00:00
pk 0cc050772f Hooks for for shared C++ objects with static contructors/destructors. 1993-12-20 22:44:35 +00:00
mycroft a09abb4d2b Minor cleanup. 1993-12-10 05:10:22 +00:00
mycroft 8363f8736d Use MACHINE_ARCH. 1993-12-08 11:47:17 +00:00
pk 36a801eebd Isolate the tricky bits.. 1993-12-08 10:33:45 +00:00
pk a711901191 Parcelled out the heap allocator into separate file.
Changes prototype for findshlib() (corrected library search order for ld).
1993-12-08 10:28:05 +00:00
cgd 1bd5116d82 MACHINE_ARCH support 1993-12-05 00:55:26 +00:00
pk 2d6241585d Do the debugger hooks.
Revised algorithm for finding symbols using `nz_other' (auxialiary type info).
1993-11-10 21:37:39 +00:00
pk 168c91b813 Use strsep() in stead of strtok() and restore colons in eg. env. vars. 1993-11-08 13:20:39 +00:00
pk 6e2bed1cac Print symbol name in "undefined" error msg. 1993-11-03 21:35:54 +00:00
mycroft 25d572fb12 This warning is fucking annoying, and ld already told us about it when we
linked the executable.  Make it #ifdef DEBUG.
1993-11-03 04:58:57 +00:00
pk b817714018 -Bshareable added to CFLAGS. 1993-10-27 00:55:24 +00:00
pk 8ea3d67031 Search for top-of-stack blew up if program had no environment strings. 1993-10-26 19:30:13 +00:00
pk 843df2403a Support for `ld.so.hints'.
Handle set[ug]id programs.
No longer use the `lm_lob' field to access parent objects, add private
link map `parent' field in stead (SUN_COMPAT weirdness).
1993-10-22 21:18:58 +00:00
pk 8846fa47e1 Some definitions for the `ld.so.hints' file. 1993-10-22 21:04:19 +00:00
pk 7f6cef25a6 Renamed confusingly named macro.
Fixed bug that was the result of said confusion.
1993-10-21 00:00:09 +00:00
pk 1dff6d7850 Define our copy of `errno', as it is no longer defined in libc. 1993-10-17 15:40:11 +00:00
pk 2dfde2bc39 Moved <link.h> here from usr.bin/ld as it is needed by other modules
and utilities (eg. crt0, libc, nm).
1993-10-17 00:51:30 +00:00
pk 3d68d0acae A linker supporting shared libraries (run-time part). 1993-10-16 21:54:08 +00:00