summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2017-01-31Fix creation of the library name, as assigning a string to a StringRefPatrick Wildt
seems to cause bad behaviour. Instead call toStringRef() and use its return value. ok tom@
2017-01-29descend into clang when building obj or when COMPILER_VERSION is clangJonathan Gray
ok patrick@ kettenis@
2017-01-25Add infrastructure to build LLVM for mips64.Patrick Wildt
"check with visa@" kettenis@ "go ahead" visa@
2017-01-25Stub out aarch64 support and avoid building gas and ld on this architecture.Mark Kettenis
ok mpi@, patrick@
2017-01-25Descend into the arch specific subdirectory for every arch onPatrick Wildt
make obj. This will enable us to add clang to the build. "if it works" kettenis@ ok jsg@
2017-01-24Prevent too much reordering in the instruction prologue, in order to fulfillMiod Vallat
the expectations of the DWARF code... and in order to get correct information. Tested by aoyama@
2017-01-24PIE-by-default. Probably not suitable for upsttreaming in its current form.Mark Kettenis
2017-01-24Avoid allocating space for commons with ld -r. Already pushed upstream.Mark Kettenis
2017-01-24Handle the OpenBSD-style major/minor shared library version scheme.Mark Kettenis
Don't try to upstream this; we are considering moving to a more standard way that uses symbolic links to point the linker at the right version of shared libraries.
2017-01-24Update clang build infrastructure for LLVM 4.0.0Patrick Wildt
Discussed with kettenis@
2017-01-24Merge LLVM 4.0.0 rc1Patrick Wildt
2017-01-24Import LLVM 4.0.0 rc1 including clang and lld to help the currentPatrick Wildt
development effort on OpenBSD/arm64.
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-01-22Always provide clang as cc, c++ and cpp, and lld as ld.Patrick Wildt
Per discussion with deraadt@
2017-01-22On clang architectures cc, c++ and cpp are provided by clang. Also,Patrick Wildt
ld is provided by lld.
2017-01-22Compile and install lld as ld.lld, since that's what the ecosystemPatrick Wildt
is expecting. Prompted and ok by kettenis@
2017-01-22Include bsd.own.mk in a few more places to pick up mk.conf overrides.Jonathan Gray
ok patrick@ tb@ kettenis@ phessler@
2017-01-22Disable COFF and Mach-O for OpenBSD to reduce build dependencies.Patrick Wildt
Only having ELF is perfectly fine for us. ok kettenis@
2017-01-22Add build infrastructure for lld.Patrick Wildt
ok kettenis@
2017-01-21Only build gcc4 libs if COMPILER_VERSION is gcc4.Jonathan Gray
ok kettenis@ patrick@
2017-01-21Nuke whitespace foolish enough to expose itself during the greatKenneth R Westerback
"warning:" rectification.
2001-03-18GNU readline-4.1Todd C. Miller
2017-01-21Make LLVM create strict aligned code for OpenBSD/arm64. We currentlyPatrick Wildt
don't enforce it yet, but we want to go down that road. Additionally the Pine64 seems to boot up with strict alignment on by default, so this also implicitly fixes efiboot on that hardware. ok kettenis@ phessler@ visa@
2017-01-20Restore setting the visibility of __guard_local to hidden for betterPhilip Guenther
code generation. Use dyn_case_or_null instead of a static cast to solve the crashes in the previous code. ok stefan@ kettenis@
2017-01-20Take gcc's suggestions about parenthesis around assignments usedKenneth R Westerback
as truth values. Change a parameter to 'const'. All without making promises about any further cleanup in /gnu/. ok deraadt@
2017-01-20Nuke some excess whitespace.Kenneth R Westerback
2017-01-14Disable the Load Stack Guard for OpenBSD on AArch64. We don't use itPatrick Wildt
on any other platform and it causes a segfault in combination with our IR Stack Guard. "looks reasonable" kettenis@ "looks good to me" stefan@
2017-01-14Update clang build infrastructure for LLVM 3.9.1Patrick Wildt
"go ahead" kettenis@ "just go ahead" deraadt@ "sounds good to me" stefan@
2017-01-14Merge LLVM 3.9.1Patrick Wildt
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2017-01-08Revert the addition of PROMOTE_MODE. This breaks libobjc; I guess theMiod Vallat
true reason of objc still being in-tree is to expose compiler issues.
2017-01-07Only install header files relevant for the architecture we're targeting.Mark Kettenis
ok patrick@, jsg@
2017-01-06Don't install standard C headers for which we already have a proper systemMark Kettenis
version. Also don't install vadefs.h which is a microsoft invention. ok patrick@
2017-01-04With clang as cross-compiler we need to make it pass the library pathPatrick Wildt
to our linker. Additionally, we need to make sure the library path is prefixed with the cross directory, which is sysroot. ok kettenis@
2017-01-01Switch the arm default config from arm9e (armv5te) to mpcore (armv6k).Jonathan Gray
The same change was made in ports gcc 4.9 already. This is is most recent arm architecture version base gcc has support for. This changes builtin defines from __ARM_ARCH_5TE__ to __ARM_ARCH_6K__. These defines are often used to select between inline assembly paths. Note that base gcc still lacks support for atomic builtins available in ports gcc and clang however. ok patrick@ kettenis@
2016-12-30Prevent scheduling from interfering with the epilogue instructions, as soonMiod Vallat
as any of the stack or frame pointers are modified. Allow narrower-than-register types to be kept in registers in wider modes, as was the case with gcc 3. This now seems to produce reliable code with -O1. -O2 is not safe yet.
2016-12-20Compile clang with clang by default instead of egcc. This allows ourPatrick Wildt
build system to selfhost itself after the initial clang bootstrap without relying on an external compiler. Setting BOOTSTRAP_CLANG allows bootstrapping clang with egcc. ok kettenis@
2016-12-19Convert the gcc 3 scheduling information to the gcc 4 model.Miod Vallat
2016-12-19A couple more unused variables.Kenneth R Westerback
tweak & ok kettenis@
2016-12-11Create perl directories 0775 in OBJDIRAndrew Fresh
Allows user to clean up after a noperm build requested and makes sense to tb@
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2016-11-28Setup clang to use OpenBSD settings and defines for our AArch64Patrick Wildt
(little-endian) target. ok phessler@
2016-11-27Add Octeon coprocessor 2 instructions.Visa Hankala
No objection from kettenis@
2016-11-24Add AArch64 backend build infrastructure.Patrick Wildt
ok pascal@
2016-11-16Set permissions of /usr/share/info/dir explicitly, so they don't depend onTheo Buehler
the umask. ok millert
2016-11-09Remove /usr/libdata/perl5/site_perl from sitelib and sitearch, nowTodd C. Miller
that we don't install .ph files we only want to search for these under /usr/local/libdata/perl5/site_perl. OK afresh1@
2016-11-09Stop installing perl .ph filesAndrew Fresh
It's finally time
2016-11-08Set the permissions of the specs file explicitly so that they don'tTheo Buehler
depend on the umask. Install headers and info files with group bin like all the other headers and info files. ok stefan
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.
2016-10-19Don't warn about shadowing a global function unless the localPhilip Guenther
variable or parameter is a pointer to a function. ok kettenis@