summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config
AgeCommit message (Collapse)Author
2004-07-17Minor cleanups (remove duplicated extern lines, useMiod Vallat
current_function_{stdarg,varargs} instead of homegrown implementation, etc. No functional change.
2004-07-13switch sparc to setjmp/longjmp exceptions as DWARF2 handling is not present.Peter Valchev
fixes C++ exceptions. this relies on an earlier libstdc++ bump
2004-07-12Oops, adjust for __va_list size increase.Miod Vallat
2004-07-04Disable optimize_reg_copy_3() on m68k platforms.Miod Vallat
This is a workaround for lines 1055-1057 of tcp_input.c being miscompiled, though the problem looks like missing use/clobber qualifiers in the extendplussidi insn, rather than a specific optimize_reg_copy_3() issue. A proper fix may be devised in the future, in the meantime this allows m68k platforms to be back in track.
2004-06-15Use gen_rtx_REG and gen_rtx_MEM instead of gen_rtx(REG,..) and gen_rtx(MEM,..).Miod Vallat
No functional change, it's just faster.
2004-06-12Revert 1.10 - there are still bad interactions between block_move_no_loop()Miod Vallat
and the reload phase when compiling complex code, and the fix is non-trivial.
2004-06-09The GO_IF_LEGITIMATE_ADDRESS fix in m88k.h, as well as all the FUNCTION_ARGMiod Vallat
and FUNCTION_ARG_ADVANCE fixes in m88k.c, allow the optimized bcopy sequences to be reliable again, so enable them back.
2004-06-09In FUNCTION_ARG_ADVANCE(), do not pad the register position counter if theMiod Vallat
parameter is going to hit the stack.
2004-06-09More meaningful formulation of the __va_stk initialization inMiod Vallat
__builtin_saveregs(); no functional change.
2004-05-19When passing a variable of 32 bytes or larger, as argument to a function,Miod Vallat
pass all the subsequent arguments on the stack. This is necessary for proper varargs operation, if used.
2004-05-19In __builtin_saveregs(), initialize __va_stk to a correct value.Miod Vallat
2004-05-17Make FUNCTION_ARG_ADVANCE() really match FUNCTION_ARG() register usage.Miod Vallat
2004-05-04Do not disable -fcaller-saves anymore.Miod Vallat
2004-04-08In GO_IF_LREGITIMATE_ADDRESS(), use RTX_OK_FOR_BASE_P() to check for aMiod Vallat
valid base register for indexed addressing, rather than providing an incomplete inline version. This allows constructs such as (plus:SI (reg:SI (subreg:SI (reg:DI 1)))) to properly pass through the reload phase if optimization is enabled. Such a construct can be generated with buf[index + index2] = value; if either index or index2 are long long. Fixes the ICE in zsh Src/Zle/computil.c.
2004-04-06When optimizing a logical arithmetic operation, which operands are bothMiod Vallat
comparisons using different operators, make sure to generate an insn with the correct mode. This means that constructs like if (c != -1 & i < 9999) and if ((i<=7) | (value != 0)) as found in transfig and teTeX, respectively, will now compile with optimization. Note the single & or | in these constructs - this kind is rare enough for this bug to have remained unnoticed until now...
2004-03-19Disable caller-save (which is enabled at -O2 or -Os) as it suffers from aMiod Vallat
few bugs in the 2.95 codebase, one of them being fatal to m88k. A real fix will come after 3.5. ok deraadt@
2004-02-27Teach gcc the proper "set" syntax for __attribute__ ((alias)) to workMiod Vallat
on mvme88k. ok deraadt@ espie@
2003-11-24Switch to using libiberty in new location.Marc Espie
Disable building of cxxfilt in gcc, build it from its own directory.
2003-10-01Introduce a new target switch, -mmemcpy (and -mno-memcpy).Miod Vallat
This switch forces block copy operations to always fallback to memcpy() when it is not done by inline load and stores, rather than using the m88k movstr* functions found in libgcc. The name of this option has been choosen after the mips back end, which has a similar option. Right now, this is a no-op since these functions are disabled due to (yet) another gcc bug; but this will help building standalone code, such as the kernel and boot blocks, without having to link against libgcc.
2003-08-21fix symbol name error in mcount functionality in a.out->ELF transition.Dale Rahn
This changes the real definition to __mcount, but with a weak mcount for compat. On the next major bump the weak alias should be removed. Without this diff the compiler symbol mcount conflicts with the user mcount() function.
2003-08-19typo in comment, compiler vs. complierBrad Smith
2003-08-09fix for mcount call to allow .text sizes larger than 512k; epsie@ okMichael Shalayeff
2003-08-08On some architectures, being too optimistic in preserve_subexpressions_p(),Miod Vallat
for example when -fexpensive-optimizations is used, sometimes causes incorrect code sequences to be generated. As -fexpensive-optimizations is implied by -O2, this means we are potentially affected by this in numerous places... so add a specific workaround to nullify expensizve-optimizations in preserve_subexpressions_p() on a known-to-be-affected basis. So far, only alpha, powerpc, m88k, sparc and sparc64 are affected. Problem tracked down by henning@ - analysis by etoh@ and I - ugly workaround by me - ok deraadt@
2003-08-07Disable the so-called optimized memcpy functions for small (less than a fewMiod Vallat
hundred bytes) block copies. While the functions themselves are probably optimal or not far from it, the code responsible for their invocation is not, and has a bad tendency of miscomputing the destination buffer address, especially when optimization is used. This is a temporary measure, these functions will be reenabled once a good fix is ready. ok deraadt@ espie@
2003-08-01A working gcc 2.95/m88k compiler, for some low standard value of working.Miod Vallat
Configuration settings mostly borrowed from the former gcc 2.8 configuration. A few typos and fixes backported from gcc 3.3, and a hell lot of fixes from my fingertips. This is enough to yield a compiler which will produce correct code at -O0. Optimization is slightly broken for some constructs, and more fixes are in the pipeline. ok deraadt@
2003-07-22openbsd64 is a 64 BIT (not but) v9 processor; pointed out by millert.Jason Wright
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-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-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-17Change gcc to generate ELF code for i386.Dale Rahn
2003-04-09fix the readonly objects placement into thee .rodata proper; espie@ okMichael Shalayeff
2003-03-28PIC does not mix well w/ nopic (yet); espie@ okMichael Shalayeff
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-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-02I've been guaranteed that guaranteed is better than guarenteed.Miod Vallat
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.
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-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-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-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.