Commit Graph

2659 Commits

Author SHA1 Message Date
joerg
9eba1e423c Use __dead 2011-08-29 20:41:06 +00:00
elric
95bd2d4a1e Remove crypto/dist/heimdal and its associated build infrastructure as
it has been replaced by crypto/external/bsd/heimdal.
2011-08-28 16:21:57 +00:00
joerg
0c18f61e04 Use static. Don't manipulate environ directly, just reset it and use
setenv.
2011-08-27 17:46:34 +00:00
joerg
17941b2b14 staticfy. Use __dead. 2011-08-27 15:46:59 +00:00
joerg
c59117b957 ANSIfy. staticfy. Bail out on command line error. Use __dead. 2011-08-27 15:45:52 +00:00
joerg
973abb9784 De-__P. staticfy. Use __dead, __printflike. 2011-08-27 15:40:31 +00:00
joerg
43d0646972 Don't check for __attribute__ being defined, it won't. Check for GCC 3.x
or compatible and define BOZO_PRINTFLIKE / BOZO_DEAD. Fix fallout.
2011-08-27 15:33:59 +00:00
joerg
6839411995 Rename err() to avoid overlap with libc. Mark it dead. 2011-08-27 15:08:58 +00:00
hannken
0456a9b514 Fix typo. 2011-08-21 10:45:33 +00:00
christos
2ead252a82 use const char [] for format. 2011-08-21 09:03:20 +00:00
christos
5353040f23 document non-literal format strings 2011-08-16 10:35:03 +00:00
christos
41592955fd remove gcc-4.5 hack 2011-08-14 11:46:28 +00:00
christos
a96758e4b9 XXX: gcc avoid non-literal strings 2011-08-14 11:38:11 +00:00
christos
c5e4118a6b consistent debugging info for program headers 2011-08-13 22:25:20 +00:00
christos
9813f2c42a printing the pathname of the shared object is much more useful than the
object's address.
2011-08-13 22:24:57 +00:00
christos
89c8b6528a disable debugging that makes us core dump 2011-08-13 22:24:24 +00:00
mbalmer
631d5867a0 According to the Oxford Dictionary of Etymology, a wether is a male sheep
or ram.
2011-08-01 12:28:53 +00:00
joerg
017dd250ef Fix memset usage. 2011-07-01 02:46:24 +00:00
joerg
30dc9201bb Fix memcpy usage. 2011-07-01 02:46:15 +00:00
uwe
d1a523b49d sh3 also needs libgcc_pic for millicode (cf. revision 1.107) 2011-06-27 14:27:56 +00:00
nonaka
c52f9a5df2 PR/45015: ld.elf_so: support ELF symbol versioning
Applied latest patch.
2011-06-25 05:45:10 +00:00
mrg
c111245a78 apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not
very trivial.
2011-06-22 02:49:41 +00:00
mrg
75e42fa7da remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
2011-06-20 07:43:56 +00:00
christos
94e4c3614b Add libgcc_pic for millicode. 2011-06-05 23:08:17 +00:00
joerg
9ad3c16b3a Use -Wl,-Bsymbolic directly for clang 2011-05-30 16:30:01 +00:00
christos
b9972d39ce Don't use division since we are only dealing with powers of 2. 2011-05-25 14:41:46 +00:00
joerg
6c5e962381 Disable use of various X86 extensions since _rtld_bind_start doesn't
save the necessary registers.
2011-05-20 22:22:44 +00:00
joerg
5a156c51e2 Explicitly disable linking against libgcc and friends. 2011-05-20 22:21:32 +00:00
elric
07b0c75a48 We no longer need -I/usr/include/krb5. 2011-04-24 21:42:06 +00:00
elric
5e6c3b7a0c #include <com_err.h> -> #include <krb5/com_err.h>. 2011-04-24 21:18:24 +00:00
jmmv
9ef6767558 List myself as a contributor. 2011-04-24 07:18:59 +00:00
jmmv
94a4f45f78 Remove the "This option..." sentence prefix for all option definitions.
Adjust some sentences so that the new text makes sense.  OK mrg@.
2011-04-24 07:17:02 +00:00
joerg
c5f8d1393d Fix a Freudian slip found by rmind 2011-04-23 16:40:08 +00:00
elric
98fbe74f8c Upgrade Heimdal to 1.5pre1 by switching the build from crypto/dist/heimdal
to crypto/external/bsd/heimdal.  The latter was just imported as the head
of the Heimdal tree as of a few days ago.
2011-04-15 18:05:42 +00:00
matt
f126fa1c9a Add support for TLS relocations.
From Joerg Sonnenberger
2011-04-12 16:40:04 +00:00
matt
14d704c9e9 Add a workaround for older crt0.o that overwrite r2 (tcb pointer).
(save tcb pointer using _lwp_setprivate in ld.elf_so and retrieve the tcb
via _lwp_getprivate in libc and use it to restore the value in r2).
2011-04-07 02:19:28 +00:00
joerg
278d108904 Revert pthread_atfork related change not intended for commit yet. 2011-04-02 16:49:49 +00:00
joerg
241421a0db Unbreak HPPA 2011-04-02 12:30:41 +00:00
mbalmer
17ab36f183 fix typo, bump date 2011-04-02 07:44:15 +00:00
skrll
45f37e968c Enable TLS for alpha - a 2nd class^Wtier system in pookaBSD^WNetBSD
alpha_reloc.c diff from joerg on port-alpha.
2011-03-31 15:30:31 +00:00
nakayama
dbbd50a95f Add missing comma. 2011-03-31 12:47:01 +00:00
mrg
a45221975c add .mp4 as video/mp4. 2011-03-31 01:19:37 +00:00
martin
9f905ee41c Add support for TLS relocations 2011-03-30 09:22:29 +00:00
martin
3a4af49105 Add support for 64 bit TLS relocations. 2011-03-30 08:37:52 +00:00
joerg
8fa6585514 Block signals when using the exclusive lock. 2011-03-29 20:56:35 +00:00
jmmv
83bb438905 Add pid file support: if the new -P option is provided, it specifies the
location of the pid file to create.

OKed by mrg@.
2011-03-29 07:22:31 +00:00
joerg
e49f915c10 Refine locking scheme around init/fini to not hold the exclusive lock.
Use a simple generation count instead and restart looking for work if it
changed (e.g. due to an dlopen call from an init function).
Leave the possible dlclose() race for now.
2011-03-28 00:37:40 +00:00
joerg
7435c9ba49 exit, not enter 2011-03-27 22:20:51 +00:00
joerg
23a805d314 Handle _rtld_exit as full entry point since other threads may still be
running at the time.
2011-03-27 21:58:50 +00:00
joerg
2feaef06e3 Add some debug messages for explicit rtld entry points 2011-03-27 13:15:34 +00:00