Commit Graph

18 Commits

Author SHA1 Message Date
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 0cc050772f Hooks for for shared C++ objects with static contructors/destructors. 1993-12-20 22:44:35 +00:00
pk fa099af1f6 Many internal changes, most notably in the symbol counting stuff.
`ld -r -x'  now supported on all object files.
Support for long archive member names (AR_EFMT1 format),
	thanks to Bill Sommerfeld/Mark Eichin
Do the right(?) thing with symbol aliases (N_INDR) for POSIX lover, especially
when equiping shared libraries with these (this was *not* fun).
Handle silly archives (.sa) for people who needs them; turn on by `-Bsilly'.
1993-12-08 10:13:47 +00:00
pk ee0245d52d "ld -X -r": debug symbols starting with 'L' didn't make it to the symbol table.
Precursor to more massive changes in local symbol handling.
1993-11-14 19:01:40 +00:00
pk 4a64975120 Make `-Z' actually do something different again (old style ZMAGICs). 1993-11-14 16:51:17 +00:00
pk e5b3eedefb Eleminate duplicate inclusion of shared objects (libgcc!).
Start using auxiliary information (using `n_other') to tackle aliasing of
function addresses and direct function calls in shared objects.
NOTE: currently protected by `#ifdef EXPERIMENTAL'.
1993-11-10 21:53:30 +00:00
pk 2fb1bba1ae Do a better job of recognising data in text segments, eg. `const char []'. 1993-11-05 12:47:11 +00:00
pk 94aab0b5fc The N_SET* symbols are back in. C++ object files can now be linked again.
(not yet fit for *shared* C++ libraries).
1993-11-01 16:26:13 +00:00
pk 4aa8c26f37 Improved handling of PIC code in "main stream" .o files.
Don't touch __DYNAMIC when `-r' is on.
Now must use `-Bshareable' to make shared libraries.
1993-10-27 00:53:39 +00:00
pk 05d16c3379 relocation for non-RRS shared library symbols wasn't always set correctly. 1993-10-22 21:00:08 +00:00
pk 69af39d0a8 No rounding of bss size to page boundary in ZMAGIC a.out's, the kernel
chokes on it.
Some other minor changes.
1993-10-21 00:52:52 +00:00
pk 97ca10e374 A linker supporting shared libraries. 1993-10-16 21:52:27 +00:00
mycroft d8e126d18b Don't barf if two file names are the same. 1993-09-05 18:19:31 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd c8bdad0560 convert magic numbers to network byte order, and attendent changes 1993-06-18 06:49:30 +00:00
mycroft 47ec3b0c74 Pick up QMAGIC stuff from BSDI and remove -screwballmode. 1993-04-16 13:33:02 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00