summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc
AgeCommit message (Collapse)Author
2006-04-18Backport fix for gcc bug #10692. Fixes code generation for htons()Otto Moerbeek
on i386 with -march=i686 -O2. Problem report and nice test program by chefren at pi dot net. Note that the fix is in non-target specific code, even while the gcc people classified this as a m68k bug. ok deraadt@
2006-01-13Adapt to the machine/_types.h changes; size_t and ptrdiff_t are nowTodd C. Miller
defined in terms of long, not int on all architectures.
2006-01-06Include <sys/types.h> and don't define away __size_tTodd C. Miller
Based on existing bits for FreeBSD 5
2005-12-22Install header files for MMX/SSE intrinsics on amd64 too.Mark Kettenis
ok pval@
2005-12-13Don't define _BIG_ENDIAN on macpcc, only __BIG_ENDIAN__.Todd C. Miller
Adapted from netbsd.h. OK drahn@ deraadt@
2005-10-19Teach unwinder about StackGhost.Mark Kettenis
ok deraadt@
2005-08-01Change the compilers default scheduling settings from PA-8000 (4 instructionsMiod Vallat
in parallel) to PA-700 (no parallel instructions) on 32-bit hppa. This causes gcc to produce slightly faster code on most supported hppa, no change in code size. Tested by marcop@, mickey@, I and a few others; ok mickey@
2005-05-25spelling fixesDavid Krause
2005-04-23fix WCHAR_TYPE*Marc Espie
okay drahn@, tested alek@
2005-04-16Tell gcc -Wformat that our kprintf implementation understands %q and %llChad Loder
for quads. OK deraadt@, some comments millert@
2005-04-15pedantic fix for wchar type inside gcc.Marc Espie
checked through a make release by drahn@
2005-04-08amd64 canonicalization.Mark Kettenis
ok deraadt@, pvalchev@
2005-03-29Switch i386 over to DWARF-based exception handling.Mark Kettenis
ok deraadt@
2005-03-29Plug a memory leak. From gcc 3.4 branch.Miod Vallat
2005-02-10-ftrampolines, not -ftrampoline;Jason McIntyre
from moritz grimm; ok espie@
2005-02-07zap sp64elf.h, get the only config part really used (PREFERRED_DEBUGGING_TYPE)Marc Espie
into openbsd64.h. Keep the other stuff in #if 0 for now. okay miod@, brad@, pval@...
2005-02-06disallow trampolines by default. okay miod@, jmc@Marc Espie
2005-02-05-dynamic-linker ld.so is NOT a normal object file. Fixes issues in tryingMarc Espie
to build a gcc3 sparc. (reviewed and accepted upstream)
2005-02-04unfuck amd64Peter Valchev
2005-01-25hppa64-unknown-openbsd build support; espie@ miod@ brad@ okMichael Shalayeff
2005-01-25simplify OpenBSD case by using arch(1) and sed to grabBrad Smith
the machine architecture. We now output amd64 instead of x86_64 as it should be. ok deraadt@ pvalchev@
2005-01-24get rid of i386elf.h which is an embedded platform include.Marc Espie
Get the only define we want, namely the debugger registers. with this, i386 emits dwarf2 by default. Considering how well stabs are tested in recent gcc (not), this is a good thing. Sleuthing work by kettenis@ and me. Tried out by lots of people, including me, naddy, pvalchev, kettenis, henning, hshoexer...
2005-01-24add the availability check of reg_renumber array.Hiroaki Etoh
ok pvalchev@
2005-01-14handle sentinel for real. Code, taken from gcc 4.0, which was based onMarc Espie
my design. okay millert@, otto@.
2005-01-02add zaurus, fix cats entry. ok jakob@ pvalchev@ deraadt@Dale Rahn
2005-01-02-fzero-initialized-in-bss is wrong, meaning code thatTed Unangst
depends on zero initialized variables showing up in data fails. turn it off by default. ok deraadt@ miod@
2004-12-30gcc 3.3.5 loop optimization will produce incorrect output on powerpc; aMiod Vallat
victim of this being awk(1), which in turn caused some manual pages to be generated without dates at the bottom. Since this is fixed by the (invasive) loop optimization rewrite done for 3.4, we can not expect a 3.3 fix anytime soon, and the fix is non-trivial, so disable the failing section of code on powerpc only. This has the net effect of magically turning -O1 and -O2 into -Os as far as -floop-optimize is concerned. Problem spotted by deraadt@, researched by otto@ and yours truly; this workaround agreed by many.
2004-12-26Remove duplicate definition of LONG_DOUBLE_TYPE_SIZE, and shrink WINT_TYPEMiod Vallat
to 32 bits, as done on all other OpenBSD platforms. ok espie@
2004-12-25zap this tooMarc Espie
2004-12-25solve remaining conflictsMarc Espie
2004-12-25update those manually, since cvs got confused.Marc Espie
2004-12-25propolice markerMarc Espie
2004-12-25new stacknote.s can't depend on stmp-dirs either or our make will rebuild stuffMarc Espie
during install.
2004-12-25revert to cast-as-lvalues being pedantic warnings for now.Marc Espie
2004-12-25some new i386-specific include files. Adjust directory name.Marc Espie
2004-12-24gcc 3.3.5Marc Espie
2004-11-02Do not enable -fdelete-null-pointer-checks at -O2 by default on OpenBSD.Miod Vallat
This optimizations is really cool, but it does not work for complex code; we had to disable it for Perl 5.8 to run correctly, now it turns out it broke Bind 9 on powerpc, so neuter it for good. ok deraadt@ henning@ millert@ others@
2004-11-02Prevent gcc from generating bogus constructs such asMiod Vallat
fdtox %f8, %f7 which are incorrect, and caused wrong code to be generated by gas 2.14; now gas 2.15 will reject such code. Obtained from gcc PR #10904.
2004-10-27Add support to find DWARF call fame info in shared libraries.Mark Kettenis
This makes DWARF-based exception handling work for shared libraries and dynamic executables. ok drahn@, millert@, pval@
2004-10-21Move the cross glue from the root makefile to the toolchain's,Alexander Yurchenko
allowing bulding cross-tools with new binutils and gcc3. ok drahn@ brad@ espie@
2004-09-15better check for ro/data section allocationMichael Shalayeff
2004-09-06Add t-openbsd64 to handle some libgcc.a build issues (needed functions)Per Fogelstrom
Change configuration to mips64 with default ABI = N64 (enhanced 64 bit ABI) we also support the older O32 and N32 abi for building boot stuff.
2004-08-28we don't need this filePer Fogelstrom
2004-08-12Avoid dereferencing outside the bounds of an array. Found by mmapTodd C. Miller
malloc and reproducible via guard pages. OK deraadt@ miod@ tdeval@
2004-08-11Pick common code for trampoline mprotect() code. This did not work at allMiod Vallat
on amd64 and was working on sparc64 by sheer luck (because we are not Solaris).
2004-08-04Fix propolice merge error in options list.Miod Vallat
2004-07-27Don't override PREFERRED_DEBUGGING_TYPE. This makes DWARF2 the defaultMark Kettenis
again; stabs doesn't work for 64-bit code. ok miod@, espie@
2004-07-20Do not provide builtins for strcpy() and strcat(), as done with gcc 2, onMiod Vallat
the sole purpose of making these easier to spot and exterminate. tested by various people on amd64 and I on arm&sparc64, ok deraadt@
2004-06-20ICE with gcc3/propolice -O on macppc fixes:Hiroaki Etoh
- INSN_CODE and LOG_LINKS attributes should be copied from the first insn of splitted insns. ok pvalchev@ and sturm@
2004-05-26neede for dhared libsMichael Shalayeff