summaryrefslogtreecommitdiffstats
path: root/lib/libc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Disable RPC exponential back-off for FreeBSD.org systems (IE. hiddensimon2007-03-041-0/+3
| | | | | | | | | | | | | behind _FREEFALL_CONFIG). This is done mainly to make NIS even more resistant to packet loss. This is not enabled by default for "normal" FreeBSD since it might cause the server providing the RPC service to be hit heavily with RPC traffic in case of problems. freefall.FreeBSD.org and hub.FreeBSD.org have been running with a patch similar to this for a couple of weeks. MFC after: 1 week Discussed with: peter
* Remove alpha left-overs.ru2006-08-221-2/+1
|
* Remove pending actions asked in comments for SHLIB_MAJOR bump, done.ache2006-05-221-2/+0
| | | | Reviewed by: ume
* Bump library majro version for gethostbyaddr(3).ume2006-05-211-1/+1
|
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-281-0/+3
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Update the resolver in libc to BIND9's one.ume2006-03-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | Since, res_sendsigned(3) and the friends use MD5 functions, it is hard to include them without having MD5 functions in libc. So, res_sendsigned(3) is not merged into libc. Since, res_update(3) in BIND9 is not binary compatible with our res_update(3), res_update(3) is leaved as is, except some necessary modifications. The res_update(3) and the friends are not essential part of the resolver. They are not defined in resolv.h but defined in res_update.h separately in BIND9. Further, they are not called from our tree. So, I hide them from our resolv.h, but leave them only for binary backward compatibility (perhaps, no one calls them). Since, struct __res_state_ext is not exposed in BIND9, I hide it from our resolv.h. And, global variable _res_ext is removed. It breaks binary backward compatibility. But, since it is not used from outside of our libc, I think it is safe. Reviewed by: arch@ (no objection)
* Provide alternate default for SHLIBDIR before bsd.own.mk does this.ru2006-03-181-1/+2
| | | | Reported by: phk
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-4/+6
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Allow bsd.lib.mk to generate the symbol version map.deischen2006-03-161-14/+6
|
* Desupport the undocumented NO_QUAD option, just don't compileru2006-03-161-1/+4
| | | | the quad support on 64-bit platforms.
* Add hooks to build libc with symbol versioning. This isdeischen2006-03-131-0/+14
| | | | | | | | disabled by default; add SYMVER_ENABLED=true to /etc/make.conf to enable it. libc should get a version bump before this is enabled by default. Reviewed by: davidxu
* gmon now supported on powerpcgrehan2005-12-291-2/+0
|
* Respect the YES_HESIOD build variable.phk2005-08-061-1/+1
|
* Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.das2005-01-151-6/+0
| | | | | The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc.
* Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.bz2004-11-131-1/+1
| | | | | | | | | | | If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss <danny at cs.huji.ac.il> PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks
* For variables that are only checked with defined(), don't provideru2004-10-241-2/+2
| | | | any fake value.
* Bump the libc major version number to 6.tjr2004-10-171-1/+1
|
* Import the FreeBSD/arm libc bits.cognet2004-05-141-0/+3
| | | | Obtained from: NetBSD
* Add option NO_FP_LIBC, which disables floating-point support indas2004-05-021-0/+3
| | | | | | | | *printf() and *scanf(). Currently, this reduces the size of libc.so by 9K on i386. But the real savings are for static binaries that use *printf() or *scanf() but not strtod(); with an FP-disabled libc, these binaries will not depend on the gdtoa routines, making each binary about 22K smaller.
* libc is now WARNS=2 clean with the exception of the gdtoa bits (whichnectar2004-01-191-1/+1
| | | | are now not built with warnings enabled at all).
* Add and document ffsl(), fls() and flsl().des2004-01-131-2/+2
|
* Replaced an ugly hack to selectively disable warningsru2004-01-111-0/+3
| | | | | | | in contributed sources with just a hack made possible by bsd.sys.mk,v 1.33. This is better because it just nulls out the warning flags rather than adding gcc(1) specific -w option to CFLAGS.
* Fixed English error in previous commit. Fixed some older English errors.bde2003-12-111-6/+5
| | | | Removed a redundant clause.
* Add reference to standards/55112 for next time SHLIB_MAJOR is bumped.mikeh2003-12-101-0/+1
| | | | Suggested by: wollman
* Baby steps. Set WARNS=1 for libc.nectar2003-11-171-0/+1
|
* Add a kluge suggested by Marcel to paper over the difference betweenwollman2003-08-191-0/+1
| | | | | | | | | | | | gethostname()'s old and new signatures without requiring a library bump. Note that programs which called gethostname() with a negative argument were already broken, since the same type conversion was done by the old implementation. Add a note in the Makefile so that whoever next bumps the libc revision will delete the kluge at the same time (as it will no longer be necessary). This is only operative on 64-bit platforms. Submitted by: marcel
* style.Makefile(5)obrien2003-08-181-1/+1
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* Axe AINC.ru2003-07-011-2/+2
| | | | Submitted by: bde
* Clean up the way gdtoa sources are found.obrien2003-03-131-7/+1
| | | | OK'ed by: das
* Replace our ancient dtoa/strtod implementation with the gdtoadas2003-03-121-0/+7
| | | | | | | | | | | | | | | | | | package, a more recent, generalized set of routines. Among the changes: - Declare strtof() and strtold() in stdlib.h. - Add glue to libc to support these routines for all kinds of ``long double''. - Update printf() to reflect the fact that dtoa works slightly differently now. As soon as I see that nothing has blown up, I will kill src/lib/libc/stdlib/strtod.c. Soon printf() will be able to use the new routines to output long doubles without loss of precision, but numerous bugs in the existing code must be addressed first. Reviewed by: bde (briefly), mike (mentor), obrien
* Implement fpclassify():mike2003-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | o Add a MD header private to libc called _fpmath.h; this header contains bitfield layouts of MD floating-point types. o Add a MI header private to libc called fpmath.h; this header contains bitfield layouts of MI floating-point types. o Add private libc variables to lib/libc/$arch/gen/infinity.c for storing NaN values. o Add __double_t and __float_t to <machine/_types.h>, and provide double_t and float_t typedefs in <math.h>. o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF, HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via <machine/float.h>. o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based on the size of its argument. __fpclassifyl() is never called on alpha because (sizeof(long double) == sizeof(double)), which is good since __fpclassifyl() can't deal with such a small `long double'. This was developed by David Schultz and myself with input from bde and fenner. PR: 23103 Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU> (significant portions) Reviewed by: bde, fenner (earlier versions)
* libc_r wasn't so tied to libc for 22 months.ru2002-11-181-2/+57
|
* Zap the early-adopter transition aid before we get into seriouspeter2002-10-111-1/+0
| | | | | 5.0-R territory, as threatened. This only affects antique 5.0 systems that have not had a 'make world' done for well over a year.
* Zap now-unused SHLIB_MINORpeter2002-09-281-1/+0
|
* Embellish more.obrien2002-03-261-1/+1
|
* Embellish the comment.obrien2002-03-261-2/+4
|
* Update comments. We uniformly use __FBSDID in libc now.obrien2002-03-231-5/+5
|
* Rip out the old __stdin/out/err stuff. It was completely 100% useless. :-(peter2001-08-131-1/+2
| | | | | | | | | | | | | | | | It was foiled because of dynamic copy relocations that caused compile-time space to be reserved in .bss and at run time a blob of data was copied to that space and everything used the .bss version.. The problem is that the space is reserved at compile time, not runtime... So we *still* could not change the size of FILE. Sigh. :-( Replace it with something that does actually work and really does let us make 'FILE' extendable. It also happens to be the same as Linux does in glibc, but has the slight cost of a pointer. Note that this is the same cost that 'fp = fopen(), fprintf(fp, ...); fclose(fp);' has. Fortunately, actual references to stdin/out/err are not all that common since we have implicit stdin/out/err-using versions of functions (printf() vs. fprintf()).
* Fix the current libc breakage in current:imp2001-02-161-1/+1
| | | | | | | | | | | | | o Back out the __std* stuff. Can't figure out how to do this right now, so we'll save it for late. o use _up as a pointer for extra fields that we need to access. o back out the libc major version bump. Submitted by: green reviewed by: peter, imp, green, obrien (to varying degrees). We'll fix the "how do we stop encoding sizeof(FILE) in binaries" part later.
* Commit a libc fix going by the current state of the version numberingpeter2001-02-141-1/+1
| | | | | | | | | | | | | | | | bikeshed in -arch. It isn't quite over, but it has been well established that this can be adjusted or refined. But we do seem to have consensis on a major bump of some sort. After this, it should reasonably safe to build world again. This change is to get rid of __sF[] and use seperate __stdin/out/err handles. This means we can pad on extra bits onto the end of FILE at will without going through this all over again. __sF[] was evil because it compiled the sizeof(FILE) into every stdio using program. Asbestos suit on: check! Peril sensitive sunglasses on: check! *gulp!*
* Clean up syscall generation in libc by removing HIDDEN_SYSCALLSdeischen2001-01-291-18/+0
| | | | | | | | | | | | | | and treating (almost) all system calls the same way: __sys_foo - actual syscall foo, _foo - weak definitions to __sys_foo Change PSEUDO syscalls (currently only _exit and _getlogin) to be __sys_foo (T) and _foo (W). Add $FreeBSD$ to a few files to satisfy commitprep. Suggested by: bde
* Comment change only; s/_thread_sys_/__sys_/deischen2001-01-261-1/+1
|
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* Bump the shared lib version. There seems to have been an incompatibleobrien2000-11-141-1/+1
| | | | | change committed to RELENG_4 where a bump there is now necessary. We've got to go before RELENG_4 does.
* sigset_t change (part 5 of 5)marcel1999-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.kato1998-09-091-5/+5
|
* Add an include path to private linc/libc_r/libpthread header files.jb1998-03-091-2/+7
| | | | | | | | | Define the HIDDEN_SYSCALLS macro as empty because libc doesn't have renamed syscalls. This avoids an undefined macro error when libc/sys/Makefile.inc goes to look though it. HIDDEN_SYSCALLS is used by the equivalent makefile to this one in lib/libc_r to list those syscalls that it needs to rename so that libc_r can provide replacement functions.
* - Bump the minor # due to the addition of the stringlist functions.nate1998-02-121-2/+2
| | | | Reviewed by: asami
OpenPOWER on IntegriCloud