summaryrefslogtreecommitdiff
path: root/gnu/egcs
AgeCommit message (Collapse)Author
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.
2003-02-03disable a stack protection when the arch doesn't have stack_grows_downward.Hiroaki Etoh
2003-02-03add contains_fp declaration to examine whether the input contains frame ↵Hiroaki Etoh
pointer addressing.
2003-02-03prepare_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 to use powerpc specific addressing and alpha specific addressing.
2003-02-03modify general_induction_var not to generate the address of frame pointer ↵Hiroaki Etoh
plus minus constant as an induction variable.
2003-02-03delete unused "protector.h" inclusion.Hiroaki Etoh
2003-02-03modify assign_stack_local to move the addressing of frame pointer plus zero ↵Hiroaki Etoh
to the function plus_constant_wide. modify assign_stack_temp_for_type for allocating a space to return a structure.
2003-02-03modify expand_expr not to modify the addressing form of local variables: ↵Hiroaki Etoh
frame pointer plus constant.
2003-02-03modify plus_constant_wide to provide the address of frame pointer plus zero ↵Hiroaki Etoh
constant.
2003-02-03modify simplify_plus_minus not to assign the address of frame pointer plus ↵Hiroaki Etoh
no constant.
2003-02-03allocate a space (keep=5) to return a structure, not protecting it as a ↵Hiroaki Etoh
character string.
2003-02-02I've been guaranteed that guaranteed is better than guarenteed.Miod Vallat
2003-01-18protoize(1) man page, cobbled from various places by jmc@prioris.mini.pw.edu.plTheo de Raadt
2003-01-14Bye-bye libc_r. libc_r and libnpthread go away. libpthreadMarco S Hyman
takes their place. The -pthread option to gcc uses libpthread. ppc portion of patch from drahn@ (thanks). gcc portions of patch OK espie@. Ports testing (no bad effects!) by naddy@ best build sequence is: build gcc, build system, build ports remove /usr/lib/lib{c_r,npthread}.*. Note, once libc_r and libnpthread is removed threaded ports will stop working until they have been re-built using the libpthread and the updated gcc. That's why the above build sequence is recommended.
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@