Commit Graph

242 Commits

Author SHA1 Message Date
thorpej 547d71b6c7 Use ${PRINTOBJDIR}. 2002-03-05 21:53:56 +00:00
matt 0ce5ca145f Change to use a register prefix. 2002-02-24 01:06:18 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
thorpej 886eff9ae7 Rename to reflect the MACHINE_ARCH that will be used on ARM ELF
platforms.
2002-02-06 20:39:00 +00:00
thorpej 535e775dd5 MACHINE_ARCH for ELF ARM platforms is "arm", not "arm32". 2002-02-06 20:36:18 +00:00
tv 805ab35e68 Make it possible for uudecode to be a host tool. 2002-01-31 19:15:23 +00:00
skrll 43a1bb37fd Add a uuencoded binary of a.out arm32 ld.so and update Makefile to extract
on ELF platforms.

This file was created using the following revisions:

	ld.h,v 1.2 1998/12/17 23:36:38 pk
	malloc.c,v 1.7 2000/11/28 06:01:34 mycroft
	rtld.c,v 1.82 2001/09/20 20:55:29 wiz
	shlib.c,v 1.18 2000/05/27 06:53:30 matt
	shlib.h,v 1.1 1998/12/15 23:16:14 pk

arm32 specific files:

	md-static-funcs.c,v 1.1 1997/10/17 21:25:42 mark
	md.c,v 1.11 1999/02/27 03:34:05 tv
	md.h,v 1.4 2000/05/28 01:53:05 matt
	mdprologue.S,v 1.1 1997/10/17 21:25:59 mark
2002-01-22 16:27:51 +00:00
wiz 3b66e5c46d Drop some unnecessary .Pps. 2002-01-15 02:22:54 +00:00
wiz 1fd7eeefcd "than" instead of "then". 2001-11-21 19:14:19 +00:00
wiz f34496a7b0 Use vsnprintf instead of vsprintf.
[XXX: not compiled, since I'm on ELF -- .uue should probably be rebuilt]
2001-09-20 20:55:29 +00:00
aymeric 336e1d4aa6 Add hack bits to be able to compile a cross-linker for 8K-pages m68k targets 2001-07-25 12:21:33 +00:00
christos 97184638db make sure we remove all the global references refering to a shared object
when we remove it. Similar to the fix I applied a while ago to ld.elf_so
2001-06-21 21:19:25 +00:00
he 9c2e1d2339 Newly built binaries from netbsd-1-4 sources, including fix for
PR#10940.
2001-05-06 20:38:52 +00:00
wiz 7351fa07a1 Rename rtld.1 to ld.aout_so.1, since it only describes ld.so for a.out. 2001-05-06 13:54:04 +00:00
wiz 404935d15a This man page only documents behaviour on a.out. ld.aout_so uses
a colon separated LD_PRELOAD (in contrast to ld.elf_so), so undo last
commit.
2001-05-06 13:49:03 +00:00
wiz aca9dfff7c LD_PRELOAD wants a space (not colon) separated list of libraries.
misc/11961 by Masao Uebayashi.
2001-05-06 12:41:19 +00:00
tsutsui 0f85b9ab99 Add a uuencoded binary of a.out m68k ld.so.
Created using following revisions in 1.5.1_BETA source tree:
 ld.h,v 1.2 1998/12/17 23:36:38 pk
 malloc.c,v 1.6.8.1 2001/04/06 09:39:23 he
 rtld.c,v 1.76.4.2 2001/04/06 09:39:43 he
 shlib.c,v 1.18 2000/05/27 06:53:30 matt
 shlib.h,v 1.1 1998/12/15 23:16:14 pk
m68k specific files:
 md-static-funcs.c,v 1.4 1998/01/05 22:00:38 cgd
 md.c,v 1.16 1999/04/12 00:52:44 gwr
 md.h,v 1.9 2000/05/28 01:53:09 matt
 mdprologue.S,v 1.8 1998/01/05 22:00:40 cgd
2001-04-18 11:48:21 +00:00
itohy 71a78d90a9 Common symbol is not a member of particular shlib have particular shlib,
so avoid adding the base address of a shlib to the common symbol.
Fix PR #10940, hopefully.
2001-03-19 03:54:22 +00:00
pk 872b464997 Deal with an empty hints file. 2000-12-17 21:41:15 +00:00
mycroft e496c5f86f Add another debugging message. 2000-11-28 06:01:46 +00:00
mycroft 6025f99517 Make this compile with -DDEBUG. 2000-11-28 06:01:34 +00:00
mycroft 9ee3432bb9 In dlopen(), use the main program's library search path, to match semantics of
other systems (and our ELF).
2000-10-29 13:11:38 +00:00
tron 23bf98f535 - Add "dependall" target so that "make build" will really uudecode the
"ld.so" binaries for i386 and sparc.
- Remove bogus "${DESTDIR}/" from "FILESDIR".
2000-09-12 16:39:51 +00:00
fvdl 3b36dc8408 Add uuencoded binaries for a.out dynamic loaders on i386 and sparc,
who are ELF now. Needed because cross-building them is still a
problem. These loaders will try /emul/aout first, but do not
have the baggage that COMPAT_AOUT has.
2000-09-11 23:23:21 +00:00
matt d7e8330189 Remove RELOC_SYMBOLICS_THROUGH_JMPSLOT as it's always the case 2000-05-28 01:53:05 +00:00
matt 03e56c691e Changes to put the COMPAT_AOUT code into ld.aout_so. Search <dir> for <lib>
then search /emul/aout/<dir> for <lib>.  To make sure we don't get false
postives on ELF libraries we make the .so is a ZMAGIC dynamic library.
2000-05-27 06:53:29 +00:00
kleink 6138ff83d9 Document LD_PRELOAD, fixing PR lib/9663, and note that (and why) neither
this nor LD_LIBRARY_PATH are honored when executing set[ug]id.
2000-03-24 20:10:28 +00:00
thorpej f8b76eb0fd Const poison dladdr(). 2000-02-11 00:07:36 +00:00
itohy aae2a80e54 Use <link_aout.h> instead of <link.h>
for the benefit of building a.out (cross) ld on ELF platforms.
Suggested by Minoura Makoto.
1999-11-29 08:27:07 +00:00
kristerw b224e66b3a Spelling 1999-11-18 19:07:48 +00:00
ragge f4d411a4a4 Make longjmp work with dynamic linking. From Matt Thomas.
Fixes PR#7671.
1999-06-28 17:28:56 +00:00
thorpej 3787c5c3d8 MAP_COPY -> MAP_PRIVATE 1999-06-17 21:09:47 +00:00
tv eb66267d81 Allow rpaths in setuid binaries, noticed by tron. This is already done
for ELF systems; make it uniform for a.out.
1999-04-23 19:29:30 +00:00
gwr f9a07c51b8 Allow reading SunOS/4.1.1 object files. Fixes pr/7363 1999-04-12 00:52:44 +00:00
garbled f124765044 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:25:43 +00:00
thorpej e278587d62 Move the link.h files for the different shlib formats via repository copy,
and rename them to match the executable format.  Introduce a new link.h
file which automatically picks the correct header based on the target of
the toolchain.
1999-03-19 22:06:36 +00:00
ragge f285208477 Need a small prototype. (Where did it go?) 1999-03-13 22:15:25 +00:00
ragge 6831afc23a unbalanced `#endif', pointed out by Ken Wellsch. 1999-03-13 17:09:51 +00:00
tv ff6c8ce557 Add ld.so hacks for arm32, and reenable ld.aout_so on arm32. As is well
known, XXX this needs a real fix.
1999-02-27 03:34:05 +00:00
christos e8ae49d4af Build depending on OBJECT_FMT not a list of MACHINE_ARCH's 1999-02-09 20:27:04 +00:00
fvdl 0810c73a0e Move the ldentry initialization up so that dl*() from init sections
works.
1999-01-28 23:58:49 +00:00
matthias 655a41ea73 Fix from Phil Budne (add missing prototypes) to make ld.so compile again
on the pc532.
1999-01-15 07:48:07 +00:00
itohy 85da239ef8 Fix byte order swapping for cross linker. 1999-01-05 10:02:20 +00:00
is 7871bc1564 Add a prototype for the _cachectl() trap call stup in mdprologue.S. 1998-12-21 12:16:16 +00:00
veego 4bf0cd6592 Include err.h to fix compile warnings. 1998-12-20 17:43:37 +00:00
pk e35b4d9b30 Duh! Hang on to SUN_COMPAT.. something is bust. 1998-12-17 23:36:38 +00:00
pk 259f05dc84 Re-arrange to hide unneeded functions when building the run-time linker.
Pick up ld(1) implementation definitions.
1998-12-17 20:14:44 +00:00
pk 76ae27e1f8 Pick up ld(1) implementation definitions. 1998-12-17 14:29:50 +00:00
pk d2db1ca59a * Add header file containing definitions shared among all a.out
linker related utilities.
* Adjust makefile to new location in `src/libexec'
* Have rtld.c use the new shlib.h and ld.h headers.
1998-12-17 11:34:10 +00:00
pk 5f5db2f16f Re-arrange to hide unneeded functions when building the run-time linker. 1998-12-17 10:54:34 +00:00