Add section .note.GNU-stack for assembly files used by 386 and amd64.
Remove hand-written labs/abs implementations. GCC is smart enough.It turns out GCC generates code that's a couple of bytes big bigger, butperforms no branching whatsoever.Submitted by: Christoph
Remove hand-written labs/abs implementations. GCC is smart enough.It turns out GCC generates code that's a couple of bytes big bigger, butperforms no branching whatsoever.Submitted by: Christoph Mallon
show more ...
Remove unneeded stores back into the function arguments.Submitted by: Christoph Mallon
Add missing END() macros, as per rev 184547 for amd64. The lack of theseis mostly harmless, but it does upset some of valgrind's functionality.
Per Regents of the University of Calfornia letter, remove advertisingclause.# If I've done so improperly on a file, please let me know.
Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.The purpose of having a separate file involved an abandoned scheme thatwould have kept contrib/gdtoa out of the include path
Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.The purpose of having a separate file involved an abandoned scheme thatwould have kept contrib/gdtoa out of the include path for the rest of libc.
Replace our ancient dtoa/strtod implementation with the gdtoapackage, a more recent, generalized set of routines. Among thechanges:- Declare strtof() and strtold() in stdlib.h.- Add glue to libc
Replace our ancient dtoa/strtod implementation with the gdtoapackage, a more recent, generalized set of routines. Among thechanges:- 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 killsrc/lib/libc/stdlib/strtod.c. Soon printf() will be ableto use the new routines to output long doubles without lossof precision, but numerous bugs in the existing code mustbe addressed first.Reviewed by: bde (briefly), mike (mentor), obrien
Back out the -fpcc-struct-return fixes.Approved by: re (rwatson)
Import newer versions of div() and ldiv() from NetBSD which handlethe -fpcc-struct-return calling convention properly instead ofreturning garbage. This may break backwards compatibility with some o
Import newer versions of div() and ldiv() from NetBSD which handlethe -fpcc-struct-return calling convention properly instead ofreturning garbage. This may break backwards compatibility with some oldbinaries that were compiled when -fno-pcc-struct-return was the default.
Fix typo in the BSD copyright: s/withough/without/Spotted and suggested by: desMFC after: 3 weeks
Standardize on our SCM ID style.
Restore CSRG ID's lost in January 1995.
De-orbit DEFS.h - the other arches do not use it, and it got replacedwith <machine/asm.h>.Reviewed by: bde
Removed duplicate VCS ID tags, as per style(9).
$Id$ -> $FreeBSD$
Handle machine-dependent (stdlib) sources more automatically.This fixes bugs in the manual handling. abs.[cS] was handled toospecially and the wrong (.c) variant for each of div.[cS], labs.[cS]a
Handle machine-dependent (stdlib) sources more automatically.This fixes bugs in the manual handling. abs.[cS] was handled toospecially and the wrong (.c) variant for each of div.[cS], labs.[cS]and ldiv.[cS] was added to SRCS. This caused the .c variant to beused if `depend' was made and the .S version to be used otherwise.
kill the undead
Import Lite2's src/lib, except for non-i386 machine-dependent directories,libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3unimportant ones have already left the vendor branch.
Have another go at the malloc-sysv initialization.PR: 4002Pointed out by: bde
Import CSRG 4.4BSD-Lite2 lib/libc onto vendor branch