summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2008-09-29Use large pic asm for access to errno (needed for pie). Originally fromKurt Miller
drahn@ but tweaked to use same scratch reg as PIC_PROLOGUE. okay miod@ drahn@
2008-09-26Remove PICFLAG= setting, it is overridden in bsd.prog.mk. tested on landisk.Dale Rahn
Caught and ok kurt@
2008-09-19fix some cause of bad TEXTREL on i386 and amd64Otto Moerbeek
- global function calls in .init sections (diff makes them via PLT) - calls to global functions in aes-586.S (made static or local) - global variable accesses in rc4-x86_64.S (now made via GOT) from djm@large; ok miod@
2008-09-16remove d_cbrt, dcbrt, d_sqrt. ok millert@Martynas Venckus
2008-09-16typo: is -> if. ok millert@Martynas Venckus
2008-09-16gc unused files, the functions are in libc. ok millert@Martynas Venckus
2008-09-16Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).Mark Kettenis
ok miod@
2008-09-15add missing header needed by strlen().Charles Longeau
ok millert@
2008-09-15- describe how printf(1) and printf(3) %e, %E, %g, %G, %a, %A behaveMartynas Venckus
when the argument is infinity/not-a-number ok millert@, jmc@
2008-09-14describe %a/%A. from freebsdMartynas Venckus
tweaks/ok millert@, jmc@
2008-09-13document strtold. ok millert@Martynas Venckus
2008-09-13strtof has been introduced in c99Martynas Venckus
from Thomas Pfaff. ok millert@
2008-09-13remove z_abs. ok millert@Martynas Venckus
2008-09-12the last example doesn't need a ctx variable;Damien Miller
from Loic Tortay via jmc@
2008-09-12as we did for reboot(8), do not attempt to list architecturesJason McIntyre
which do or do not support certain options: it just goes horribly out of date;
2008-09-11since these got no ieee-specific code anymore, add fmin, fmax, fdim,Martynas Venckus
fminf, fmaxf, fdimf, fdiml for VAX. looks good to millert@
2008-09-11- make much more readable: don't reimplement isnan, signbit eachMartynas Venckus
time we need them ok millert@
2008-09-10use one call to arc4random_buf() instead of lots of arc4random()Damien Miller
2008-09-09sigh, gamma got lostMartynas Venckus
2008-09-08turn off CAST assembler code (i.e. use C implementation) as it has badDamien Miller
relocations that lead to libcrypto.so being marked TEXTREL; linker-fu from drahn@ "go ahead" deraadt@
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15Martynas Venckus
- provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
2008-09-07sparc now requires this bloated library to be -fPICTheo de Raadt
2008-09-07Fix merge botch.Mark Kettenis
ok miod@
2008-09-07Fix param list for xdrrec_eof. Found during coding some stuff that usesMarco Peereboom
xdr goo.
2008-09-06remove duplicate definition of OPENSSL_DSA_MAX_MODULUS_BITS spottedDamien Miller
by dtucker@
2008-09-06remerge local tweaks, update per-arch configuration headers, updateDamien Miller
Makefiles, crank shlib_version
2008-09-06resolve conflictsDamien Miller
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2008-09-06crank for sha2 changesDamien Miller
2008-09-06Rename SHA256/384/512 API to avoid namespace collisions withDamien Miller
forthcoming OpenSSL update. Function names lose their underscore (SHA256_Init => SHA256Init) and the various SHA256_CTX, SHA512_CTX are merged into a single SHA2_CTX that is used for all these hashes. ok millert@ manpage bits jmc@ "please commit" deraadt@
2008-09-03remove now obsolete calloc implementation; prompted by miodOtto Moerbeek
2008-09-01do not overflow for large prefix len (e.g. 2147483649)Markus Friedl
report Maksymilian Arciemowicz; ok djm, deraadt
2008-08-27comment fixesMartynas Venckus
2008-08-26- add FMartynas Venckus
- make inf INF nan NAN comply to standards (eEfFgG) - extend man page bits ok millert@. w/ a man page tweak and ok jmc@
2008-08-26don't zero-pad special values. ok millert@Martynas Venckus
2008-08-25correct +name handling; schwarze@usta.deTheo de Raadt
2008-08-25Make all combinations of G, P, J and zero-fill work with as littleOtto Moerbeek
effort as possible in most cases; ok djm@
2008-08-23add missing header needed by asprintf().Charles Longeau
ok otto@ deraadt@
2008-08-23make mbstowcs(NULL, string, 0) correctly return the length of theDamien Miller
wchar_t string needed to represent "string", which in our case is just strlen(string); feedback & "looks right" deraadt@
2008-08-23unbreak MALLOC_OPTIONS=G that I broke in my last commit;Damien Miller
slightly kludgey solution for until otto fixes it properly; ok otto@
2008-08-23fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled intoDamien Miller
the freshly mmaped pages disrupting their pure zeroness; ok otto@ deraadt@
2008-08-23unbreak wcschr(string, L'\0') which was incorrectly returning NULLDamien Miller
rather than a pointer to the terminating nul; ok deraadt@
2008-08-22make sure we always map and unmap multiples of MALLOC_PAGESIZE;Otto Moerbeek
case spotted by beck, one by me; ok deraadt@ beck@
2008-08-22Smarter implementation of calloc(3), which uses the fact that mmap(2)Otto Moerbeek
returns zero filled pages; remember to replace this function as well if you provide your own malloc implementation; ok djm@ deraadt@
2008-08-22mention machine/cpu.h for the CPU identifiers.Brad Smith
2008-08-22After spotting a + record, continue scanning and pick up later groupsTheo de Raadt
in the file. Problem spotted by drahn. ok millert
2008-08-22Replace the old algorithm that included the process id as part of theTodd C. Miller
temporary file name with one that only uses random data. OK deraadt@
2008-08-21Remove useless code, the kernel will set errno appropriately if anTodd C. Miller
element in the path does not exist. OK deraadt@ pvalchev@
2008-08-15Add resolv.conf(5) option to force lookups by TCP: "options tcp"Damien Miller
Also Extend "nameserver" declaration syntax to support port numbers. To avoid ambiguity these are only parsed when the address is enclosed in square brackets, e.g. "nameserver [127.0.0.1]:5353" Together these changes make forwarding DNS over a SSH tunnel very easy, but unfortunately some programs in ports/ implement their own resolvers (e.g. firefox). These will need to be modified to support these options separately. fixes jsing@ reyk@ ok deraadt@ millert@ krw@ + "I like it" from lots
2008-08-14Match libpthread's behavior and make pthread_join(NULL, whatever) failPhilip Guenthe
instead of crashing ok kurt@ first observed by Jung <moorang at gmail.com>