Commit Graph

52 Commits

Author SHA1 Message Date
ws
79b6fe9805 Add machine dependent code for NetBSD/powerpc 1996-11-03 18:02:42 +00:00
mark
48d30b1294 Fixed NetBSD tag. 1996-08-21 18:43:29 +00:00
phil
cc13fe98cb Fix for dynamically linked functions returning structs. PR#2586/Pfaller 1996-07-31 06:22:41 +00:00
mark
060e1bc8f1 Initial commit of arm32 machine dependant code for ld.
Currently only supports static linking.
1996-05-17 21:51:07 +00:00
pk
05105a9150 Define RELOC_INIT_SEGMENT_RELOC for the ns32k (Matthias Pfaller; PR#2103). 1996-02-22 00:19:57 +00:00
pk
4162cf6459 Simplify update of r_addend field in relocation record if `-r' is on.
The old quirky code did strange things.
1995-12-28 18:04:59 +00:00
pk
35c8aad7b3 Flush after diddling text, so we get predictable results on machines
with separate I & D caches.
1995-11-28 19:29:45 +00:00
ragge
6ac54c7a78 Vax support for ld, so we (at least) can link static binaries. 1995-10-19 13:10:17 +00:00
pk
b19a7d87e2 Pass on return value. 1995-09-23 22:48:18 +00:00
pk
72acb4fe30 Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option). 1995-08-04 21:32:15 +00:00
phil
46466fb2d7 Correct copyright. 1995-05-29 18:11:35 +00:00
briggs
ad2b81e4f0 jbsr takes one argument, not two. Apparently the assembler quietly
ignores the second...
Pointed out by uhenric@mcl.ucsb.edu (Henric Jungheim).
1995-05-07 13:22:12 +00:00
mycroft
ae92c26c4c Several consistency nits, and fix a byte order problem in md_swapout_reloc(). 1995-01-17 06:44:38 +00:00
mycroft
2c64d3be89 Several consistency nits, and don't define the get_*() macros twice. 1995-01-17 06:41:43 +00:00
mycroft
9ea7c211d9 Fix some other broken comments. 1994-12-04 08:26:22 +00:00
mycroft
ffadc8821a Remove silly comment that was causing `make depend' to barf. 1994-12-04 07:42:44 +00:00
pk
7df5d3ecf2 Another md macro to initialize a home-made struct reloc needed
for N_SET* type relocations in shared objects.
1994-11-30 18:24:56 +00:00
phil
0a13ae3ba2 patches from Matthias
new RCS id format
1994-11-30 06:20:42 +00:00
mycroft
e23e2b1219 Remove two unused functions. 1994-10-26 20:03:31 +00:00
mycroft
c1a45e7763 Clean this up a bit, and use the trap gate to enter the kernel. 1994-10-26 19:41:13 +00:00
pk
41671de8e6 Define Global Offset Table range. 1994-08-21 15:15:43 +00:00
phil
7297407d7b fix from Matthias Pfaller. 1994-08-16 23:18:20 +00:00
pk
9e0ddbbe6f Remove some unnecessary code. 1994-08-03 15:57:58 +00:00
chopps
b6d669a07c binder_entry() must save all scratch registers to make the process
of binding functions completely transparent.
1994-08-03 15:57:54 +00:00
cgd
775b690718 fix typo; from phil 1994-07-04 19:46:37 +00:00
pk
1cf6a27eef error => warnx 1994-06-29 11:15:34 +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
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
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
9b345fd6e5 Define an adjustment for {TEXT,DAT}_ADDRs.
Hide some things from rtld with #ifdef RTLD.
1994-02-10 21:21:27 +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
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
fb781361ed Small nits. 1993-12-08 10:28:56 +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
paulus
5b59119fbb Machine-dependent part of ld for the m68k architecture,
allowing ld to support shared libraries on m68k-based machines.
1993-11-25 00:57:35 +00:00
pk
4a64975120 Make `-Z' actually do something different again (old style ZMAGICs). 1993-11-14 16:51:17 +00:00
pk
c6cb826f23 Call breakpoint BPT' in stead of TRAP'. 1993-11-13 11:20:17 +00:00
pk
a2d3040ffb Added function `md_set_breakpoint()'.
Define for TRAP. NOTE: THIS IS DEFINED AS `ta 1'!. This may need to be
changed for NetBSD.
1993-11-10 21:46:03 +00:00
pk
47aca600bd Added function `md_set_breakpoint()'. 1993-11-10 21:40:50 +00:00
pk
9446d24503 md_init_header: our exec header differs from SunOS's. 1993-11-06 19:15:31 +00:00
pk
abbf20b6e1 use SHAREABLE in init_header() in stead of `entry_symbol'. 1993-10-27 00:56:17 +00:00
pk
762354917d use SHAREABLE in init_header() in stead of `entry_symbol'. 1993-10-27 00:54:58 +00:00
pk
ecd08c7591 Make that #ifdef NetBSD, not __NetBSD__ 1993-10-24 00:52:40 +00:00
pk
f385d97564 Use MID_MACHINE.
#ifdef NetBSD in stead of #ifdef sun
1993-10-24 00:48:20 +00:00
pk
0d1097aaf9 Use MID_MACHINE in stead of MID_I386 1993-10-24 00:47:05 +00:00
pk
01f65b81e3 Make better distinction between SunOS and BSD. 1993-10-19 21:42:38 +00:00