summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/libmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Description from Dan:mdodd2005-02-041-10/+75
| | | | | | | | | | | | | | | Another handy libmap patch. Lets you do stuff like this: LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp If you already have a program-specific override in libmap.conf, note that you must use a program-specific override in LD_LIBMAP: LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp PR: bin/74471 Submitted by: Dan Nelson <dnelson AT allantgroup.com> MFC after: 2 weeks
* style(9)mdodd2005-02-041-4/+3
|
* Support basename and path based constrained matches.mdodd2004-05-241-1/+29
| | | | | | | | | | | | | | | | | | eg: [foo] ... matches any executable 'foo' [/usr/bin/foo/] ... matches any executable under the directory /usr/bin/foo/ Exact matches continue to function as before. PR: bin/66769 Submitted-by: Dan Nelson
* Add initial support for compiling a special 32 bit version ofpeter2004-03-211-4/+28
| | | | | | | ld-elf.so.1 on 64 bit systems. Most of this involves using alternate paths, environment variables and diagnostic messages. The build glue is seperate.
* Fix "warning: value computed is not used".fjoe2004-02-031-1/+1
| | | | Found by: gcc 2.95.4 [FreeBSD]
* Change libmap.c:lm_init() to return a status value; 0 for successmdodd2003-09-131-3/+3
| | | | | | | | (libmap available) and 1 for failure. Assign this return to the global 'libmap_disable' variable in rtld.c. This totally prevents any libmap functions from being called after lm_init() if no config file is present.
* Include libmap.h for prototypes.mdodd2003-06-181-0/+1
|
* Provide function entry debugging messages.mdodd2003-05-311-1/+16
|
* Don't post-increment pointers inside a loop conditional.mdodd2003-05-301-11/+11
| | | | | | | | | | | While I'm here: - Let lm_add() call strdup() on its own behalf. - Use a temporary pointer when parsing constraints; only set the constraint pointer on a totally successful match. PR: bin/52783 Submitted by: David P. Reese Jr. <daver@gomerbud.com> Approved by: re (rwatson)
* Allow threading libraries to register their own lockingkan2003-05-291-6/+3
| | | | | | | | | | implementation in case default one provided by rtld is not suitable. Consolidate various identical MD lock implementation into a single file using appropriate machine/atomic.h. Approved by: re (scottl)
* - Use xmalloc() and xstrdup() instead of malloc() and strdup().mdodd2003-05-191-5/+14
| | | | | | - Add a global mapping if we have a successful constrained match. Approved by: re
* Remove redundant strlen checks, do not check the samekan2003-04-301-23/+24
| | | | symbol twice.
* Code cleanups and sanity checking for config file parser.mdodd2003-04-101-19/+52
|
* Dynamic object dependency mapping: libmap.mdodd2003-04-071-0/+199
This is an optional feature, disabled by default. This will be useful to people testing the various POSIX threading libraries under -CURRENT but can easily serve other needs.
OpenPOWER on IntegriCloud