Commit Graph

120 Commits

Author SHA1 Message Date
cgd 775b690718 fix typo; from phil 1994-07-04 19:46:37 +00:00
pk 1d1aa8ff38 Some refinement in resolving symbols from shared objects. 1994-06-29 11:18:45 +00:00
pk 1cf6a27eef error => warnx 1994-06-29 11:15:34 +00:00
pk 6f591a0e01 copyright notice. 1994-06-24 13:34:04 +00:00
pk 278342f622 N_WARNING symbols handling. 1994-06-24 13:33:50 +00:00
pk af393037b0 N_WARNING symbols handling. 1994-06-24 13:33:40 +00:00
pk 009be1653a strdup() doesn't grok NULL pointers 1994-06-24 13:31:34 +00:00
pk 3f8aad55bf Fix false assumption about external (N_EXT) symbols always being
in the global symbol table (reported by Geoff Rehmet).
Some misc. reformatting.
1994-06-16 13:41:52 +00:00
pk d64d286b35 Update man page.
Use `__progname'.
1994-06-16 13:38:27 +00:00
chopps 6a0e2061ce some changes for new style cachectl. remains compat for <= 030 1994-06-13 05:28:39 +00:00
pk a43fd7b3a2 Conversion to err()/warn() for error reports. 1994-06-10 15:16:32 +00:00
pk a6bf4f8176 Conversion to err()/warn() for error reports.
Minor bug fixes:
	a case of free()ing in the wrong order. (from Rick Murphey).
	processing alias symbol twice (sometimes).
Some miscellaneous cleanup.
1994-06-10 15:16:04 +00:00
pk 6082493356 `-A' implies `-Bstatic'
`-d' implies `-dc'
1994-05-25 16:09:40 +00:00
pk ca0065ab75 Another move to .data to please gdb. 1994-05-25 10:14:37 +00:00
pk 4369371ef0 Enable dl*() prototypes. 1994-05-24 10:47:48 +00:00
pk f28b14e8b3 Force some string constants into the data segment (for core-dump reading).
Rename internal dl_*() functions.
Do run-time symbol alias processing.
1994-05-24 10:44:06 +00:00
pk 72b85788e5 function parse() has moved to ld.c, thus avoiding scanf() code to be
included in ld.so.
1994-04-22 07:57:54 +00:00
pk b1392e7c17 Properly round the allocated set vector space; reduces by one the number
of ways in which C++ programs will dump core.
1994-04-22 07:55:19 +00:00
pk c83756b171 Careful when claiming jump slots in the "force alias" case.
Taking the address of a function must not cause it to be relocated to
a possibly already allocated jump slot. C++ virtual function tables are
an example of this.
1994-04-15 10:05:39 +00:00
pk b6d3849691 Don't core dump on shared objects. We need an a.out flag really.
Some misc cleanup.
1994-04-10 08:54:30 +00:00
mycroft 31cfe023f3 Remove extra `\n' in message. 1994-04-10 01:52:02 +00:00
pk f8af116033 dlopen() should make a copy of argument (Thomas Eberhardt). 1994-04-07 19:46:30 +00:00
pk a426b2b937 ns32k support by Matthias Pfaller. 1994-04-07 19:44:46 +00:00
pk afc89926d8 Use machine architecture when examining object files for compatibility. 1994-04-07 19:43:37 +00:00
pk 12f28a9ba6 PC relative segment relocations don't need to be looked at at run-time (such
relocations occur on the ns32k).
Dump <strings.h> from header files.
1994-04-07 19:41:17 +00:00
pk 158618112b Terminate comment at a reasonable place. 1994-04-03 18:38:02 +00:00
pk b120bb4e37 Suck in lseek() prototype. 1994-03-31 14:17:29 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
cgd abe52e6608 fix section typo; from Luke Mewburn <lm@rmit.edu.au> 1994-03-19 08:02:14 +00:00
chopps 8e6af40327 oops 1994-03-08 23:50:14 +00:00
chopps 3fcebc3096 flush instruction cache. 1994-03-08 06:52:33 +00:00
pk 1bb4f06e2a Libraries which are in the hints file but not in one's LD_LIBRARY_PATH (if
set) were not found.
1994-02-15 22:51:23 +00:00
pk 9b345fd6e5 Define an adjustment for {TEXT,DAT}_ADDRs.
Hide some things from rtld with #ifdef RTLD.
1994-02-10 21:21:27 +00:00
pk 637c349300 Update relocation addend correctly (affects Sparc only). 1994-02-10 20:58:50 +00:00
jtc fc1d8f3bac Fix spelling error in Copyright notice 1994-01-29 01:54:01 +00:00
pk bc9bb1a343 Like others, allow for SunOS .o files. 1994-01-28 21:02:21 +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 90cfba21cb Use `.type' directives generated by gcc.
Numerous internal changes & bug fixes.
NOTE: must re-compile & re-link shared libraries before used to link programs.
1994-01-28 20:56:09 +00:00
pk 64075b6a06 Remove reference to `mywrite()'. 1994-01-28 20:53:25 +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 14c0d3cb5e Don't barf if builtin directories happen to be non-existent. 1994-01-13 19:35:38 +00:00
pk 954ef13a90 Fill in gdb hook. 1994-01-12 19:19:09 +00:00
pk 1d9da4ac9e Must look at relocation before classifying local symbols (affects `ld -r -x'). 1994-01-06 00:20:47 +00:00
pk ebba6fe548 Fix bug with `-A' symbol-file handling. 1994-01-05 16:24:53 +00:00
pk a71feb52bb Remove some debris, causing "multiple defined" messages to be missed. 1993-12-23 09:37:43 +00:00
pk 0cc050772f Hooks for for shared C++ objects with static contructors/destructors. 1993-12-20 22:44:35 +00:00
pk a6aa50489e Add fflush(stdout) to get output in a intuitive order. 1993-12-16 08:33:36 +00:00
pk e6ec7ca3da Whoops, a couple of lines at the wrong place. 1993-12-15 13:26:46 +00:00