#
bfc90735 |
| 23-Jan-2017 |
guenther <guenther@openbsd.org> |
Mark a bunch of stuff static
ok kettenis@
|
#
82c4222e |
| 22-Jan-2017 |
guenther <guenther@openbsd.org> |
Add support for DT_RUNPATH and DT_FLAGS
ok kettenis@
|
#
86fa57a2 |
| 23-Aug-2016 |
kettenis <kettenis@openbsd.org> |
Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY. Don't skip DT_INIT and DT_FINI for the main executable. This matches what Linux and Solaris do.
ok guenther@
|
#
660c432f |
| 08-Aug-2016 |
guenther <guenther@openbsd.org> |
Look for a PT_GNU_RELRO section per object and, if present, mprotect that range instead of the [__got_start, __got_end) range. On many archs this will cover _DYNAMIC too, so move up the DT_DEBUG hand
Look for a PT_GNU_RELRO section per object and, if present, mprotect that range instead of the [__got_start, __got_end) range. On many archs this will cover _DYNAMIC too, so move up the DT_DEBUG handling to before relocations and the mprotect are done.
ok kettenis@
show more ...
|
#
0ed60380 |
| 04-Jul-2016 |
guenther <guenther@openbsd.org> |
Remove prebind support: binding to symbol table indices is too fragile for our development process.
ok kettenis@ deraadt@
|
#
702424ca |
| 20-Mar-2016 |
guenther <guenther@openbsd.org> |
Export environ and __progname, making the latter a copy of just the filename portion like crt0 does. This is prep for eliminating _dl_fixup_user_env() Mark almost everything in resolve.h as hidden,
Export environ and __progname, making the latter a copy of just the filename portion like crt0 does. This is prep for eliminating _dl_fixup_user_env() Mark almost everything in resolve.h as hidden, to improve code generation.
ok kettenis@ mpi@ "good time" deraadt@
show more ...
|
#
b6decd50 |
| 24-Jan-2016 |
guenther <guenther@openbsd.org> |
Delete remnants of grpsym cache setting during symbol search: it's done at load time only nwo. Rename _dl_searchnum and lastlookup to _dl_grpsym_gen and grpsym_gen as they are generation numbers. M
Delete remnants of grpsym cache setting during symbol search: it's done at load time only nwo. Rename _dl_searchnum and lastlookup to _dl_grpsym_gen and grpsym_gen as they are generation numbers. Merge _dl_newsymsearch() into _dl_cache_grpsym_list_setup().
ok millert@
show more ...
|
#
2f744062 |
| 24-Jan-2016 |
guenther <guenther@openbsd.org> |
Lacking precise dependency-from-relocation tracking, a nodelete object needs to lock down the entire load group, not just the specific object.
problem report and ok sthen@ been in snaps for a week
|
#
e23a26ff |
| 02-Nov-2015 |
guenther <guenther@openbsd.org> |
Factor out the logic for mprotecting the memory between two symbols into a new MI routine _dl_protect_segment(), and use that for protecting the GOT and--on some archs--the PLT.
Amazing testing turn
Factor out the logic for mprotecting the memory between two symbols into a new MI routine _dl_protect_segment(), and use that for protecting the GOT and--on some archs--the PLT.
Amazing testing turnaround by miod@, who apparently violated relativity to get back results on some archs as fast as he did
show more ...
|
#
3334752f |
| 22-Jan-2015 |
deraadt <deraadt@openbsd.org> |
delete annoying white space that annoy
|
#
67b06ea7 |
| 10-Jul-2014 |
otto <otto@openbsd.org> |
check all memory allocations; ok miod@ guenther@
|
#
c827e20b |
| 21-Jun-2014 |
otto <otto@openbsd.org> |
Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry and fix _dl_strdup to return NULL instead of crash; ok deraadt@
|
#
4207a9b6 |
| 27-Nov-2013 |
deraadt <deraadt@openbsd.org> |
unsigned char for ctype ok okan kettenis
|
#
2f86c0ef |
| 13-Nov-2013 |
deraadt <deraadt@openbsd.org> |
prototype & void * math cleanup ok guenther
|
#
ae398163 |
| 01-Jun-2013 |
miod <miod@openbsd.org> |
Introduce ltrace(1). This tool works with ld.so to inject utrace record for each plt call, allowing to trace a binary linked against shared library at the public function call level.
To do so, ltrac
Introduce ltrace(1). This tool works with ld.so to inject utrace record for each plt call, allowing to trace a binary linked against shared library at the public function call level.
To do so, ltrace(1) sets up some environment variables to enable plt tracing in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy binding and will send an utrace record in the plt resolver, without updating the plt.
Minimal filtering capabilities are provided, inspired by Solaris' truss -u, to limit tracing to libraries and/or symbol names. Non-traced libraries and symbols will have the regular resolver processing, with the expected plt update.
"Get it in" deraadt
show more ...
|
#
88098a4d |
| 08-May-2013 |
guenther <guenther@openbsd.org> |
Implement symbol caching and RELACOUNT/RELCOUNT optimizations. Much assistance and testing by miod
ok miod@
|
#
337bd349 |
| 05-Apr-2013 |
kurt <kurt@openbsd.org> |
- Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths. Improvements and okay matthew@, millert@, guenther@
|
#
c8dfd7a0 |
| 20-Mar-2013 |
kurt <kurt@openbsd.org> |
- Parse colon separated paths into NULL terminated arrays of string pointers to prepare for adding rpath ORIGIN support. okay matthew@ millert@
|
#
9652c184 |
| 06-Jul-2012 |
matthew <matthew@openbsd.org> |
Fix LD_DEBUG=1 regression introduced by previous commit.
ok kurt
|
#
2880af04 |
| 14-Jun-2012 |
kettenis <kettenis@openbsd.org> |
Add support for DF_1_NOOPEN. Based on an origional diff from matthew@.
ok matthew@
|
#
0fdecfd0 |
| 28-Nov-2011 |
guenther <guenther@openbsd.org> |
Add support for getting some flags from DT_FLAGS_1: new flags DF_1_NODELETE and DF_1_INITFIRST, as well as DF_1_NOW and DF_1_GLOBAL.
Committing for kurt@ who worked out the final version; ok guenthe
Add support for getting some flags from DT_FLAGS_1: new flags DF_1_NODELETE and DF_1_INITFIRST, as well as DF_1_NOW and DF_1_GLOBAL.
Committing for kurt@ who worked out the final version; ok guenther@ drahn@
show more ...
|
#
91de9d58 |
| 27-Jun-2011 |
sthen <sthen@openbsd.org> |
Backout the dynamic linker speed improvement diff for now, it still has some issues. Discussed with various, ok drahn@
|
#
5ce296df |
| 26-May-2011 |
otto <otto@openbsd.org> |
No need to call _dl_newsymsearch() twice; ok drahn@
|
#
cce76cd5 |
| 22-May-2011 |
drahn <drahn@openbsd.org> |
Dynamic linker speed improvement diff. tested by several sinc k2k11. get it in tree now deraadt@, ok by several ports folks. Thanks for the testing.
|
#
76ff5b71 |
| 10-May-2011 |
otto <otto@openbsd.org> |
Fix previous. On i386, library.c isn't compiled
|