summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
AgeCommit message (Collapse)Author
2014-09-10Add cpuid.h from clang r197399 with additional feature bits,Jonathan Gray
and defines for compatibility with the equivalent gcc header. cpuid.h was introduced in gcc 4.3 and a compatible header has been included with recent versions of clang. Earlier version ok miod@. Tested in a ports bulk build by landry@.
2014-04-08Build libgcc without SSP. With the new SSP-strong heuristics,Martynas Venckus
_moddi3.o gets protected and landisk bootblocks got broken. Fundamentally this causes a link dependency on libc that we'll not always be able to satisfy. Spotted by deraadt@. OK matthew@, kettenis@, guenther@.
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-07-01Unbreak "make includes" with an empty /usr/include by creating the 'objc'Martin Pieuchot
directory if it doesn't exist. ok sthen@, espie@
2013-05-18Put libgcov.a in the same directory as libgcc.a rather than /usr/lib (unlikeMiod Vallat
FreeBSD).
2013-05-18Build and install libgcov on gcc 4 platforms. Build machinery from FreeBSD.Miod Vallat
This makes gcc -fprofile-arcs work again. Regression reported by Azwaw OUSADOU on tech@, thanks for noticing and sorry for the delay fixing this.
2009-10-15Import a BSD make based infrastructure for building gcc, based on theRobert Nagy
same solution from FreeBSD. Don't even try to build it at the moment. This is commited so people can work on it in tree.
2013-05-08A port of the current gcc 3.3.6 m88k backend to gcc 4.2.1.Miod Vallat
Main features: - md constraints rewritten in RTL - md predicaties rewritten in RTL - md va_arg switched to gimple - abort() calls replaced with gcc_assert() or gcc_unreachable() for better diagnostics - support for non-ELF systems completely removed Missing: - conversion of the pipeline information from define_function_unit to define_automata not done yet (thus pipeline information currently removed) Known regressions against 3.3.6 so far: - no stack protector support yet - __builtin_setjmp doesn't restore the frame pointer correctly upon return from __builtin_longjmp - at least one case of optimization error when delay slots are not disabled. - libgcc is only built -fPIC, instead of static/fpic/fPIC.
2013-03-30Don't create a c++filt.1->gcc.1 manpage link at install time, the c++filtMiod Vallat
manpage comes from binutils.
2012-10-13fix typo, keyword is exists, not existMarc Espie
2012-09-16Build gcc as non-PIE. PIE breaks precompiled headers and causes a seriousMark Kettenis
performance hit on some architectures (almost 20% on hppa, more than 25% on sparc64). And there are no real benefits associated with ASLR for a compiler. ok deraadt@
2012-09-01Clean up the correct file to fix parallel make failuresPhilip Guenthe
ok deraadt@
2012-08-28Add support for PIE-by-default in both ld and gcc. This is a completelyPascal Stumpf
different approach than the one taken in kurt@'s original diff, but deemed better after discussion and diff exchange with kettenis@ and matthew@. Lots of feedback by kettenis@ and matthew@, prodding and encouragement by deraadt@. ok kettenis@ matthew@
2012-05-04Add __ic_invalidate_array to libgcc on sh.Mark Kettenis
ok miod@, jsg@
2012-04-17Explicitely request -fno-stack-protector on sh when building the unwinder,Miod Vallat
for unwind-dw2.c fails to build otherwise.
2012-04-12the fpu control symbol on sh (__fpscr_values) suddenly becomes localJonathan Gray
instead of global with gcc4 and this ends up breaking things in hard to debug ways. So move the definition to csu instead of libgcc. ok miod@
2012-04-12backout gcc revision 112331 "optimized integer divide for SH4"Jonathan Gray
so we can use the existing sh libkern functions. ok miod@
2011-11-09openbsd will never support __ARMEB__, so remove it hereJasper Lievisse Adriaanse
ok deraadt@
2011-09-22Add missing ia64 bits.Mark Kettenis
2011-09-18Override LIB2ADDEH on ia64. Probably not quite right, but at least this makesMark Kettenis
it possible to build a cross compiler, and we don't really care about exception handling until we have a kernel to run C++ code on anyway.
2011-09-15Port the -Wbounded extension from gcc3 to gcc4. Based on work started byNicholas Marriott
jasper@. This omits the sizeof(pointer) tracking which is very difficult to implement for gcc4 due to internal changes. Thanks to landry@ for running through a ports bulk build and both landry@ and jasper@ for fixing a few issues. ok deraadt millert jasper
2011-08-04Add support for hppa64.Mark Kettenis
ok deraadt@
2011-07-04Add ia64 target.Paul Irofti
2011-06-25Remove ueberold a.out configuration leftovers.Miod Vallat
2011-04-06Put in the infrastructure for OpenBSD/arm gcc4 support. Not working, but workDale Rahn
on this in-tree not diffs floating around for > 1 year. ok miod@
2011-03-06Tweak definition and some uses of PREFIX macro to avoid includingPhilip Guenthe
doubled slashes in compiled in paths. ok deraadt@, cross-compilation testing and ok drahn@
2010-10-23Pick correct ranlib to operate on libgcc.a when cross-compilingMiod Vallat
2010-09-25GCC4 cross compilation support under OpenBSD.Dale Rahn
2010-09-11Make sure we build all the required integer-to-float and float-to-integerMark Kettenis
functions that are needed on mips64. ok miod@
2010-09-10Add infrastructure to build GCC 4.2.1 for OpenBSD/mips64. Only tested onMark Kettenis
loongson (mips64el). ok miod@
2010-09-09let gcc4 build on landiskJonathan Gray
initial diff from jasper, finished by me with help from miod ok jasper@ miod@ kettenis@
2010-08-01Add infrastructure to buil GCC 4.2.1 on OpenBSD/sparc.Mark Kettenis
2010-05-17always provide "includes" targetChristian Weisgerber
2010-05-16install unwind.h, like for gcc3.Marc Espie
problem spotted by matthieu/naddy okay kettenis@, matthieu@
2010-05-10Switch to using COMPILER_VERSION instead of USE_GCC3, allows for more flexibleDale Rahn
complier picking, eg supporting gcc2, gcc3, and gcc4. based on diff by Marco, with fixes from espie@. ok espie@ general mumbling of approval of others.
2010-05-10Fix tags targetMarco Peereboom
ok oga kettenis committed in the skys over the continental us :-)
2010-05-09Set TARGET_CPU_DEFAULT to MASK_PA_11 on hppa to match what we had for gcc3.Mark Kettenis
2010-05-09Makefile for libobjc for gcc4Robert Nagy
2010-05-07Add some missing HAVE_AS_SPARC defines necessary to make exception handlingMark Kettenis
work on sparc64.
2010-05-07Bring over changes from gcc3 (and gcc4 in ports) to make C++ exceptionMark Kettenis
handling work with shared libraries.
2010-05-06Don't try to create /usr/bin; mtree will have taken care of that.Christian Weisgerber
ok kettenis@
2010-05-06Add missing cleandir targetRobert Nagy
2010-05-06Our libc provides ssp, so use that.Robert Nagy
2010-05-05Compile the additional sources to handle exceptionsRobert Nagy
2010-05-04fix .asm handling on powerpc and unify with alpha; ok drahn@Christian Weisgerber
2010-05-04add infrastructure to build GCC 4.2.1 for OpenBSD/alpha; ok kettenis@Christian Weisgerber
2010-05-03install cpp at /usr/libexec/ as with gcc2/3Dale Rahn
2010-05-02Use the newly built compiler for bootstrap purposes, more is needed forDale Rahn
actual cross support.
2010-05-02Add missing -fPIC or hppa.Mark Kettenis
2010-04-29Ignore file info on nm output when looking for global functions to hide.Dale Rahn
'looks reasonable' kettenis@