Age | Commit message (Collapse) | Author |
|
|
|
"moui" landry@
|
|
too early to assume that everyone has updated their compiler
toolchains, and it seems to cause problems at least on armish when an
out-of-date binutils is used.
|
|
Reported by Brad, thanks!
|
|
ENOSYS themselves. ok guenther
|
|
|
|
|
|
|
|
we should actually check for _DYNAMIC at run-time rather than checking
for __PIC__ at compile time, since the two are actually independent.
Problem and solution identified by guenther; minor tweaks by me.
ok guenther
|
|
profiling does not work well along with PIE.
ok deraadt@ guenther@
|
|
from bsd.lib.mk for C source files.
ok deraadt, pascal
|
|
|
|
|
|
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
ok matthew@, conceptually ok kurt@
|
|
initializing their __guard values. For the time being, we're leaving
libc's constructor method as a backup to make sure __guard actually
gets initialized and to emit syslog warnings when it's not.
Not really an ABI change, so no shlib bump... "hold on to your butts"
ok deraadt, kettenis
|
|
and __PIC__ defines. Makes things easier for PIE.
ok djm@
|
|
- update rfc references
- make the Rs/Re blocks more consistent
|
|
|
|
ok deraadt@ kettenis@
|
|
rfc 5321 replaces 974 and 2821;
|
|
|
|
ok espie@
|
|
broken way. Make it almost trivial to implement gethostby*_r() family
of functions when needed.
|
|
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While there, ensure that the constructed
addr and alias lists are really NULL terminated.
|
|
|
|
|
|
5322 obsoletes 2822
5321 obsoletes 821 and 2821
6409 obsoletes 2476 and 4409
|
|
|
|
make sure to save and restore errno properly.
|
|
|
|
They do not have to deal with h_errno at all. Also, errno is only kept
for EAI_SYSTEM. Small code cleanup while there.
Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno
and overwrite it in the EAI_SYSTEM case.
General errno handling issue reported by mikeb@.
|
|
variants) for URLs, allowing mandoc -Thtml to properly generate links;
(sendmail.8 changes are simply using Lk, which i somehow missed in previous)
ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not,
but 1.21 does;
|
|
|
|
- Link libpthread.so with -znodlopen. Because libpthread overrides
the weak symbols in libc, we can't allow it to be dynamically
loaded or else libc's weak symbols might have already been
resolved by ld.so. (Also, major bump because this is technically
a backwards incompat change in behavior, although dlopen()ing
libpthread never really worked.)
- Link libc.so with -nodefaultlibs -lgcc. This ensures that libc
doesn't try to link against itself (which ld.so wouldn't like).
- Change GCC 4 to link shared objects with -lpthread and -lc as
appropriate, now that there's no issues with doing so. This means
that it's no longer necessary to patch software to use -pthread
instead of -lpthread. (Ports tree rejoice!)
Also, to preemptively answer this question: No, this does not
eliminate the need for LD_PRELOAD=libpthread.so. That's a separate
issue that won't be resolved until we eliminate libc's weak symbols.
Discussed extensively on email and icb over the past few months.
ok deraadt
|
|
accordingly so vax can build again.
ok deraadt
|
|
ok matthew@
|
|
overrides provided by libpthread.a. This ensures that statically
linked threaded programs use (e.g.) __cerror() from libpthread.a
instead of libc.a. (Same idea previously used by libuthread.)
Thanks to fgsch@ for pointing out libuthread's solution to the static
linking problem.
ok guenther@, tedu@;
|
|
mask of zero (because of flawed logic assuming finding zero in the sigjmp_buf
signal mask means sigsetjmp was invoked with a zero `savemask' argument).
While there, clean comments of all *{set,long}jmp routines, and shave a few
instructions by using bcnd insead of cmp + bb to test for zero values.
Passes the regress tests, and now devel/libsigsegv configure siglongjmp test
will not spin (this test is however flawed as it expects a signal handler
declared as running on the sigaltstack and `returning' through siglongjmp to
be invoked on the signal stack the next time the signal is raised).
|
|
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>.
jmc@ agrees in principle that .Lk is the right macro to use.
While here, update a few broken links,
and add missing markup at a few places.
|
|
based on a diff from Christian Schulte (cs at schulte.it)
|
|
ok guenther@
|
|
|
|
ok deraadt@ tedu@, wording tweaks jmc@
|
|
text was removed from symlink.7 over 16 years ago.
|
|
From Brad, with tweaks by me.
|
|
close to release.
as discussed with and ok mpi@ deraadt@
|
|
help from lteo@, claudio, jmc@
ok jmc@
|
|
the given protocol.
|
|
ifa_broadaddr. i.e. make it make clear that this field is only
valid for P2P. (Hint: one's a field, and one's a #define giving a
new name to said field)
ok guenther@
|
|
jmc@ noticed this in the manpage while updating it, but it applies here too.
|