Commit Graph

9496 Commits

Author SHA1 Message Date
lukem
124613b27e Implement DEPLIBS (in Makefile.inc for now), which adds all the listed
libraries to LDADD & DPADD for the current library, using -L OBJDIR-of-DEPLIB
so that the current library can link with the DEPLIB library built but
not installed.

Set DEPLIBS appropriately, rather than explictly adding LDADD/DPADD
for various libraries.

Reorder library build order so that libraries that depend upon any
other library are built at the end.


Whilst this change could be done in a more generic manner (and I
intend to work on that), it does remove the need to implement
top-level build targets such as "do-lib-des" (etc).
2004-07-30 07:02:53 +00:00
lukem
e1d3cfe331 LDADD libcrypto libasn1 libcom_err libroken 2004-07-30 06:13:00 +00:00
lukem
ebad1d2bfc LDADD libcurses 2004-07-30 04:44:54 +00:00
lukem
005a51cac0 LDADD libcrypto 2004-07-30 04:22:33 +00:00
nathanw
8bf7374bcf In cond_wait() and cond_timedwait(), do the ERRORCHECK testing of the
waiters list in all cases, not just on cancellation; there are other
sources of spurious wakeups, such as single-stepping in the debugger.

regress/lib/libpthread/conddestroy1 now passes.
2004-07-27 21:44:48 +00:00
wiz
e9abe80526 Use \*[Lt]\*[Gt] or Aq instead of <>; sort SEE ALSO. 2004-07-27 14:35:56 +00:00
enami
0520e17087 - Honor the HN_NOSPACE flag (i.e., don't put a space if specified,
and put space if not specified).
- There was a test which didn't count the suffixlen.  Fix it.
- Make the code a bit easier to read.
2004-07-27 01:56:24 +00:00
drochner
0ca4ad479d fix alignment check for source
should fix PR port-amd64/26416 by Nicolas Joly
2004-07-26 18:51:21 +00:00
chs
503ca60040 in pthread__initmain(), don't reuse the part of the initial stack that
is occupied by the argv and environment (and MD stuff like the page-table
mapping on x86).  fixes PR 26392.
2004-07-25 23:22:43 +00:00
chs
95a63d48f2 add missing FP functions, from openbsd. 2004-07-24 19:09:29 +00:00
thorpej
43d6d8d887 Add support for dynamically loading nsswitch modules on ELF platforms.
Adapted from FreeBSD.  Maintains full backward API / ABI compatbility
with built-in-only nsdispatch().

While here, also make nsdispatch() itself thread-safe.
2004-07-24 18:42:51 +00:00
blymn
6b3a44ef27 Remove _cursesi_genbuf, it was not being set and caused a SIGSEGV
in getcap().  Fixed getcap() to use screen->cursesi_genbuf.
Thanks to Peter Bex for spotting this.  This closes pr lib/26404.
2004-07-24 13:10:47 +00:00
wiz
a24a61f205 getcurx, getcury, getparx, and getpary also seem to be extensions. 2004-07-23 13:42:16 +00:00
wiz
f849435424 Note that getbegx, getbegy, getmaxx, and getmaxy are extensions
to X/Open Curses. From Peter Bex in PR 26352.
2004-07-23 13:38:48 +00:00
drochner
458288a626 pull in an accuracy fix for corner cases from FDLIBM 5.3
(affects large arguments which are close to N*Pi+Pi/2):
    2. k_tan.c error was > 1 ulp target for FDLIBM
        5.2: Worst error at least 1.45 ulp at
        tan(1.7765241907548024E+269) = 1.7733884462610958E+16
        5.3: Worst error 0.96 ulp
2004-07-22 18:24:09 +00:00
tshiozak
09e09c2c2c make sure CITRUS=no to work. 2004-07-21 20:27:46 +00:00
tshiozak
f1849eeaba - add support for "/force" symbol on locale.alias.
- a bit clean-up.
2004-07-21 18:51:30 +00:00
tshiozak
7b7f96b642 add prototype for load_locale_sub(). 2004-07-21 17:49:49 +00:00
tshiozak
335bc6323f add support for locale.alias file. 2004-07-21 14:18:16 +00:00
tshiozak
8ad8061809 use _citrus_lookup_alias() instead of __unalias(). 2004-07-21 14:17:22 +00:00
tshiozak
23affd3c41 make sure that _citrus_lookup family functions can be specified their case
sensitivity.
2004-07-21 14:16:34 +00:00
itojun
588f60ad8b now that e.f.f.3.ip6.arpa is ready, we no longer need to query ip6.int 2004-07-21 03:16:29 +00:00
he
b17ac49bb1 Cast result of pthread__uc_pc() via intptr_t before using as a pointer.
Fixes compile problem for evbsh5.
2004-07-20 12:40:53 +00:00
chs
6c4049f2ff fix some stack-pointer math in the previous revision. 2004-07-20 01:51:49 +00:00
drochner
07d87c5c6e replace the str*() functions by speed optimized versions, submitted by
J.T. Conklin per PR port-amd64/25411
2004-07-19 20:04:41 +00:00
chs
e348d7e175 add hppa MD libpthread bits. translated from MIPS. 2004-07-19 03:39:02 +00:00
chs
c27bdd3547 added new files for context, LWP and siginfo support. 2004-07-18 22:41:23 +00:00
chs
1e1499c776 split __longjmp14() into a separate file and make it use setcontext()
instead of __sigreturn14().  translated from MIPS.
2004-07-18 22:38:33 +00:00
chs
61b506f0a2 add a siginfo signal trampoline and always use it. 2004-07-18 22:38:07 +00:00
chs
56371a56c7 add *context and LWP support for hppa. translated from MIPS. 2004-07-18 22:37:32 +00:00
chs
94a458cedd enhance MI pthreads code to support hppa:
- statically initialize all global spin locks.  on hppa, 0 means
   the lock is held, so leaving them with the default value doesn't work.
 - compare functions pointers using a function-pointer type rather than
   an integral type.  on hppa, function pointers may be indirect,
   so we need to trigger gcc to emit calls to the function-pointer
   canonicalization routines in the millicode.
 - on hppa the stack grows up, so handle that using the STACK_* macros.
2004-07-18 21:24:52 +00:00
chs
32c9e25b89 call abort() if longjmperror() returns. 2004-07-18 20:51:24 +00:00
chs
2f80fec241 replace these placeholders with real implementations.
translated from the mips version.
2004-07-18 20:48:04 +00:00
chs
c2f33bd76d save and restore %t1 around calling __errno, it's a caller-saved register. 2004-07-18 20:44:05 +00:00
chs
7d976824e9 add a missing return instruction. 2004-07-18 20:30:04 +00:00
thorpej
2a63e04007 - Change the strong dlfcn names in libc to ___name, and make the __name
versions used by others in libc weak, so that we have:
	name: weak
	__name: weak
	___name: strong
- Add __name strong aliases of the dlfcn names in ld.elf_so, so that we have:
	name: strong
	__name: strong

This allows ld.elf_so to self-resolve both the name and __name variants
of the dlfcn functions, the former being required for dlfcn support in
applications, the latter being required for dlfcn support in libc.

Fixes the problem described in:

    http://mail-index.netbsd.org/tech-toolchain/2004/07/17/0000.html

Reviewed by Nick.
2004-07-18 17:26:19 +00:00
drochner
c351eda960 amd64: stack sanity, leave the return PC alone 2004-07-16 18:40:24 +00:00
thorpej
b8b64b05f9 Use ANSI function decls. 2004-07-16 16:11:43 +00:00
skrll
7bdf35d6e3 Add a copyright message. 2004-07-15 19:58:00 +00:00
junyoung
ffb3101064 round(3) and roundf(3) appeared in 2.0.
Bump date.
2004-07-15 12:12:39 +00:00
wiz
5102b97303 Bump date for previous. 2004-07-14 20:10:14 +00:00
kleink
ea50e13fa9 Add a STANDARDS section; noted by Peter Bex in PR standards/25957. 2004-07-14 19:12:26 +00:00
jonathan
98b92eb4a5 Commit manpage for krb5_set_password(3), based on Heimdal-20040606,
with small revisions by myself, reviewed/approved by Love.
2004-07-14 07:02:07 +00:00
seb
ebe2c02564 Bump libc minor for wordexp(3) addition. 2004-07-13 15:45:18 +00:00
seb
2f8bbc118e Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.
2004-07-13 15:42:03 +00:00
jonathan
e5f57f3a70 Commit changes from Heimdal-current, as per discussion with Love
(lha@NetBSD.ORG), to incorporate contemporary (last-year-ish)
set-password and change-password extensions derived RFC-3244
(Microsoft set-password/change-password extensions), and the
subsequent MIT-KRB5 APIs for changing and setting passwords.

Required for compatibility with recent (2002/2003-ish) open-source
code which uses the MIT KRB5 APIs for setting passwords, or for
joining Microsoft domains as a  "computer account".

Modified files (for pullup tracking purposes):
	lib/libasn1/Makefile
	crypto/dist/heimdal/lib/asn1/k5.asn1
 	crypto/dist/heimdal/lib/krb5/changepw.c
 	crypto/dist/heimdal/lib/krb5/krb5-protos.h
 	crypto/dist/heimdal/lib/krb5/krb5.h
2004-07-12 20:44:56 +00:00
enami
c991543af7 Print 10450000 as 10M instead of 10.0M (more greater value such as
10500000 is printed as 10M).
2004-07-12 09:21:20 +00:00
enami
1b94ae7df7 No need to set divisor twice. 2004-07-12 09:14:07 +00:00
nathanw
cb111b5e34 When _SOFT_FLOAT is defined, don't save or restore user FP context.
(note: still needs some mk rules tweaking for MKSOFTFLOAT=yes to pass
-msoft-float to asm builds).
2004-07-10 20:57:00 +00:00
wiz
f46be40b71 Move RCS Id to top of file; comment out reference to trunc(3),
which we do not have.
2004-07-10 14:11:18 +00:00