summaryrefslogtreecommitdiff
path: root/gnu/egcs
AgeCommit message (Collapse)Author
2003-01-12Revert last change, causes issues on macppc and alpha.Miod Vallat
2003-01-07attribute(sentinel) improvements:Marc Espie
- move __null node to c-common.c so that sentinel can check for it (since g++ __null is `special') - rework diagnostics to be more clear. In particular, distinguish `not terminated' from `terminated with a 0 of the wrong type' ok miod@, millert@
2003-01-07prepare_stack_protection: add validate_insns_of_varrefs to validate insns of ↵Hiroaki Etoh
inline function for processors, which doesn't have long integer addition push_frame_of_insns: validate insns not to use long integer addition for powerpc
2002-12-25set variables of inline function with DECL_INLINEHiroaki Etoh
2002-12-25In order to determine an inlinable function, pass the condition to ↵Hiroaki Etoh
prepare_stack_protection.
2002-12-25search_string_def is declared as public.Hiroaki Etoh
2002-12-25arrange_var_order: not to weep the string of inlined function.Hiroaki Etoh
2002-12-25assign_stack_temp_for_type: fix to find an already-allocated temporal string ↵Hiroaki Etoh
for local variables of an inline function
2002-12-09fix the problem of bison generated codes on alphaHiroaki Etoh
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-12-04Put GNU getopt back in until some issues are resolved.Todd C. Miller
2002-12-03No need to include getopt_long and friends here as we have them in libc.Todd C. Miller
Suggested by espie@
2002-12-03Talk about -fno-stack-protector and -Wstack-protector options; miod@ andFederico G. Schwindt
deraadt@ ok.
2002-12-03Crank all library major numbers. Needed due to the fact that weTodd C. Miller
now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
2002-12-02mention propolice in version string. idea from margarida; ok millert espiePeter Valchev
2002-12-02spellingTheo de Raadt
2002-12-02Document the lovely propolice changes.Miod Vallat
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-24wrong word. Thx theoMarc Espie
2002-11-24Some documentation for local gcc changes.Marc Espie
Insights and grumblings from Theo, Todd, Miod.
2002-11-22specs for -lnpthread.Marco S Hyman
Put WANT_LIBPTHREAD=yes in /etc/mk.conf and re-build gcc to use libnpthread instead of libc_r ok espie@
2002-11-10produce proper canonical version name, support static constructors, enable ↵Michael Shalayeff
exec-stack.h; espie@ ok
2002-10-04powerpc support for stack trampoline mprotect.Dale Rahn
2002-09-23Activate exec-stack.h on m68k. This is not really necessary on this arch,Miod Vallat
but being consistent with the other arches is a plus, and by replacing the existing - and bogus - m68k trampoline code, this makes nested functions usable on m68k, should that become ever necessary.
2002-09-23Undefine TRANSFER_FROM_TRAMPOLINE, in case it has been defined earlier.Miod Vallat
ok deraadt@
2002-09-19build sparc64 like sparc is built. includes config/xm-openbsd.hDale Rahn
ok miod@ tested by building gcc and building trampoline exec test.
2002-09-18Fix trampoline issues, by making sure the right stack portion is PROT_EXEC.Marc Espie
tested by miod@, millert@ With comments from theo and mickey. ok miod@
2002-09-16__syslog__ format attribute: same as printf, except for -pedantic, as %m isMarc Espie
leggit. there will be a commit soon that uses this, so update your compiler now, or risk having problems compiling soon. ok millert@, deraadt@
2002-08-11Switch sparc to ELF.Artur Grabowski
XXX - we might want to improve the logic of selection of ELF vs. a.out when we bump our version to 3.2, before feeding those changes to FSF.
2002-06-20need stdio.h for some prototypes; espie okTheo de Raadt
2002-05-30__attribute__((sentinel))Marc Espie
for now, just check that a function with an ellipsis is always called with the last parameter a null pointer (sentinel may take parameters in the future, if I figure out how to check a specific value and its type). okay millert@
2002-05-30move build/host/target fragment to a separate file.Marc Espie
Idea taken from recent gcc's. - unobfuscate the code, since config.gcc does not go through m4. - no synch problems, since config.gcc is the file that changes the most, and configure no longer needs to be re-gen'ed. ok millert@
2002-05-30separate main.c into a separate libfrtbegin.a.Marc Espie
Handle that in g77spec. Taken from gcc 3.1 (apart from the Makefile.bsd-wrapper changes). This allows one to link fortran code with other languages on ELF platforms: putting main.c in libg2c.so would make libg2c insist it got a MAIN__ symbol. Okay fgs@, pval@.
2002-05-28Fix *.texinfo warnings in gnu/.Mike Pechkin
espie@ request and OK
2002-05-11bump minor version.Federico G. Schwindt
2002-05-11funcs and declarations needed by recent changes to cplus-dem.c; espie@ okFederico G. Schwindt
2002-05-11pull a few demangler functions needed by new binutils. enable getpwd asFederico G. Schwindt
well; espie@ ok.
2002-05-11don't pull these yet.Federico G. Schwindt
2002-05-11libiberty version bundled with binutils 2.11.Federico G. Schwindt
2002-05-11Add missing libraries to bsd.prog.mk (mostly kerberosV)Marc Espie
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@
2002-03-26Change the memory model from some home-grown thing that looks to have beenArtur Grabowski
designed for mmu-less systems to something more decent that doesn't conflict with how gcc sometimes generates code. WARNING! This breaks binary compatibility. Reinstall from snapshots. Upgrades won't work! I repeat, upgrades won't work! Reinstall.
2002-03-21predefine __sparc_v9__ on sparc64; ok art, espiePeter Valchev
2002-03-19tweak gcc inliner. More weight for leaf functions. Less depth for otherMarc Espie
inlining. Speeds up compilation of heavily inlined code, such as most C++ code, and loses almost no runtime speed. ok art, miod, millert, niklas.
2002-03-19Remove blatant advertizement. We don't give a fuck if it's NU/LixMarc Espie
or some other penguin name.
2002-03-16semi-current config from gcc, seems to work better for us too; espie@ okMichael Shalayeff
2002-03-07From NetBSD: Fix evil bitfield bug; hugh@ okFederico G. Schwindt
2002-02-17Define an epilogue for vax to protect function ends from gcc'sHugh Graham
optimizer. Debugging and implementation by bjc@.
2002-01-27Make f77(1) work on sparc64. ok espiePeter Valchev
2002-01-21Switch last workaround to a form easier for espie to maintain.Hugh Graham
2002-01-21Use HOST_CFLAGS to force gcc to build its helper tools withoutHugh Graham
optimization on vax. This is part of what's needed to get gcc through a double bootstrap with optimization turned on.