summaryrefslogtreecommitdiff
path: root/gnu/egcs
AgeCommit message (Collapse)Author
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.
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@