summaryrefslogtreecommitdiff
path: root/gnu/egcs
AgeCommit message (Collapse)Author
2003-07-22now that gcc generates "correct" calls to the quad emulation library andJason Wright
the libc functions are in place, remove HARD_QUAD from sparc64. (If you actually want it, for some demented reason, look at -mhard-quad-float, void where prohibited).
2003-07-22the version of gcc in the tree doesn't generate the correct callingJason Wright
convention for the _Qp_* functions. Rather than fix it, rely on the fact that it does produce correct calls to the _Q_* functions and provide a shim in libc (already committed) to deal with it.
2003-07-11don't hardcode the default linker emulation type.Brad Smith
ok drahn@
2003-06-28remove a superfulous argument to a sorry() callAnil Madhavapeddy
deraadt@ ok
2003-06-26document the new attribute __bounded__Anil Madhavapeddy
with mdoc help from jmc@, deraadt@ ok
2003-06-26Introduce a simple static checker for making sure that the boundsAnil Madhavapeddy
length passed to common functions such as strlcpy/strlcat match the real length of the buffer. It also checks to make sure that the bound length was not incorrectly derived from a sizeof(pointer) operation. Functions must be marked with the new attribute __bounded__, and warnings are turned on by -Wbounded. Specifying -Wformat also enables bounds checking for scanf(3) bounds to '%s' format variables. -Wall now turns on -Wbounded also. The checking is pretty limited right now to constant parameters, and the buffers must be statically declared, and not inside a record type. This simple checking still found hundreds of bugs around the ports tree though, and there have been no false positive warnings. 10x to niklas@, Richard Sharp and David Scott {rich,dave}@recoil.org for compiler advice. deraadt@ ok, miod@ tested on his collection of hardware You need to recompile gcc now if source upgrading in -current before doing a make world.
2003-06-20To keep the frame pointer addressing for stack_protection,Hiroaki Etoh
skip the canonicalization; (minus A (plus B C)) to (minus (minus A B) C) where B is frame pointer and C is frame offset. ok pvalchev@
2003-06-20To keep the frame pointer addressing for stack_protection, skip the ↵Hiroaki Etoh
following RTL conversion; (plus (plus fp offset) const) to (plus (plus fp const) offset). ok pvalchev@
2003-06-15fix last O_CREAT without mode; otto@drijf.netTheo de Raadt
2003-06-14remove some trailing whitespace;Jason McIntyre
2003-06-13add __LP64__ and _LP64 CPP predefines for systems using LP64.Brad Smith
pvalchev@ fgsch@ millert@ ok
2003-06-11support to arm. ok deraadt@Kevin Lo
2003-06-04Clearer explanation of -fno-builtin-<function>; espie@ OKTodd C. Miller
2003-06-04document -fno-builtin-<function>, ok miod@Marc Espie
2003-06-04Recgonize -fno-builtin-<function>Marc Espie
okay tdeval, fries, tdeval, millert...
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-08Don't inline strcpy. since it's evil anyway. This makes itBob Beck
easier to find in object files without worrying about whether or not -fno-builtin was used in building. ok itojun@, tedu@, anil@, henning@, etc...
2003-04-28work around XOPEN declTheo de Raadt
2003-04-28pull in string.hTheo de Raadt
2003-04-17Change gcc to generate ELF code for i386.Dale Rahn
2003-04-14standalone/stand alone -> stand-alone;Jason McIntyre
from NetBSD (Igor Sobrado); httpd stuff passed to apache people; ok millert@
2003-04-09fix the readonly objects placement into thee .rodata proper; espie@ okMichael Shalayeff
2003-04-09xmalloc called with the wrong sizeof in sentinel attribute setupAnil Madhavapeddy
espie@ ok
2003-04-08fix another non-POSIX chownTodd C. Miller
2003-03-28PIC does not mix well w/ nopic (yet); espie@ okMichael Shalayeff
2003-03-24Recognize -soname foo, so that ld can properly ignore it.Marc Espie
ok millert@, pval@.
2003-03-18spelling typos/errorsDavid Krause
ok miod@ jmc@
2003-03-15New frame addressing (plus (subreg (reg fp)) const) is supported by ↵Hiroaki Etoh
push_frame_in_operand.
2003-03-12typo; Ross.Richardson@utas.edu.auTheo de Raadt
2003-03-11The variable cse_not_expected must be initialized.Hiroaki Etoh
2003-03-11The loop optimization using frame pointer is omitted.Hiroaki Etoh
2003-03-11not to combine the register related to frame addressing for the case ↵Hiroaki Etoh
FRAME_GROWS upward
2003-03-09Originally from gcc:Henric Jungheim
2002-06-14 Jeff Sturm <jsturm@one-point.com> * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS): Add SPARC_STACK_BIAS. 2002-03-12 Andrew MacLeod <amacleod@redhat.com> * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in address calculation. through Hiroaki Etoh (thanks). This gets "__builtin_return_address()" to work on sparc64. ok deraadt@
2003-03-06broken .Xr's;Jason McIntyre
typos, rather than dead references ok deraadt@
2003-02-28changes to fold the frame address of a setjmp insnHiroaki Etoh
2003-02-27add -trace-ctors-dtors option to collect2.Marc Espie
Very useful for figuring out what's wrong with C++ shared libraries on a.out platforms.
2003-02-27typo; Sebastian StarkTodd C. Miller
2003-02-26preserve the addressing using frame pointer at the cse2 phase.Hiroaki Etoh
2003-02-26fix the bison problem on alpha, it uses the pointer that initialzes the ↵Hiroaki Etoh
outside address of a character array.
2003-02-21push_frame_in_operand: add the setup and restore code for setjmp on powerpc ↵Hiroaki Etoh
and alpha
2003-02-21sweep_string_in_operand: properly sweep inline function frame.Hiroaki Etoh
2003-02-21mark the top address of inline function frame with integrated flag for the ↵Hiroaki Etoh
propolice protection
2003-02-21In the case of no optimization, fix the problem that the first argument ↵Hiroaki Etoh
doesn't copy to the region of local variables.
2003-02-19oopsMarc Espie
2003-02-17fix trampoline support on hppa. Tested by mickey@Marc Espie
(does not solve the C++ ctor problem, sorry)
2003-02-16place ro data into .rodata and not .text (now that it's handled special. 10x ↵Michael Shalayeff
to dale); espie@ ok
2003-02-16a few missing man pages converted from info documents; work done by jmcTheo de Raadt
2003-02-16typoTheo de Raadt
2003-02-15use real registers to propagete frame offset for powerpc.Hiroaki Etoh
2003-02-09cosmetic clean-up: use ${.TARGET} extensively, instead of hard-codingMarc Espie
target names.