summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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@
2016-10-16Move libcrypto, librpcsvc and gnu/usr.bin/cc/include from RDIRS to PRDIRS,Theo Buehler
and add prereq targets, so some header files are generated by BUILDUSER during 'make prereq' instead of by root during 'make includes'. Switch the order of 'make cleandir' and 'make includes' during 'make build' so we don't generate many files twice. Except for some machine@ symlinks from ${MACHINE}/stand, /usr/obj is now clean from files generated by root during 'make build'. Those will be cleaned up in a second step. help, testing & ok deraadt, input from natano, further testing rpe
2016-10-03Fix ownership for install on a noperm filesystem.Martin Natano
joint work with tb
2016-09-29Set correct owner for installed files. Required for noperm release.Martin Natano
ok tb
2016-09-27Set owner for /usr/lib/gcc-lib and /usr/include/g++ on install.Martin Natano
initial diff and ok tb
2016-09-27Disable -fstrict-aliasing per default on OpenBSD.Pascal Stumpf
cluebat & ok kettenis@
2016-09-24Build install Config_heavy.pl during build not installAndrew Fresh
Needed for noperm builds OK natano@
2016-09-20Revert previous, I didn't intend to commit this (yet).Martin Natano
2016-09-20Set correct owner for installed files. One step closer to nopermMartin Natano
builds. initial diff and ok millert
2009-10-12import perl 5.10.1Todd C. Miller
1995-12-19raw import of cvs-1.6Theo de Raadt
2016-09-20Support a few more relocations, most notably R_ARM_MOVW_ABS_NC andMark Kettenis
R_ARM_MOVT_ABS that clang creates in its default configuration. From FreeBSD. ok jsg@
2016-09-19Add PowerPC backend build infrastructure.Pascal Stumpf
ok kettenis@
2016-09-18On arm, set the "triple" to armv7-unknown-openbsdX.Y-gnueabi. This makes theMark Kettenis
compiler generate code for armv7 by default (giving us proper atomic operations) and selects the right default ABI. ok patrick@, tom@
2016-09-18Use ${INSTALL} instead of install, like in all the other Makefile's.Martin Natano
ok guenther
2016-09-17For now, force soft-float; our kernel doesn't support saving the FPU state yet.Mark Kettenis
ok patrick@
2016-09-17Fix types for OpenBSD/arm.Mark Kettenis
ok stefan@, jsg@, patrick@
2016-09-17Add missing build infrastructure for arm.Mark Kettenis
ok patrick@, jsg@, pascal@
2016-09-16Hardcode STRIP=/usr/bin/strip so that install -s worksPhilip Guenther
ok natano@
2016-09-16Don't check if target directory is writeable. This gets in the way ofMartin Natano
noperm builds. ok deraadt some time ago
2016-09-14Disable --gc-sections on powerpc, for it is broken.Jeremie Courreges-Anglas
Some ports try to use it and fail, let's make Landry's life easier. ok guenther@
2016-09-11Install binaries, scripts and documentation with the usual owner/group/mode.Martin Natano
ok deraadt
2016-09-11Install programs with ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}Philip Guenther
Install info and data files with -o ${DOCOWN} -g ${DOCGRP} -m ${NONBINMODE} Prompted by natano@ Tweaks and oks deraadt@ natano@
2016-09-10Bring in FreeBSD changes to prevent clang triggeringJonathan Gray
-Wstring-plus-int -Wempty-body and -Wshift-negative-value warnings as binutils is built with -Werror. ok guenther@ millert@
2016-09-10use an unused attribute on a function argument to avoid -Wself-assignJonathan Gray
with clang ok guenther@
2016-09-09Handle -p as an alias of -pg. From the ports patch.Jonathan Gray
ok patrick@
2016-09-08Use rcrt0.o instead of crt0.o for -static -pie executables.Mark Kettenis
ok guenther@, jsg@
2016-09-08Have "make cleandir" work everywhere in the clang tree.Pascal Stumpf
noticed by and ok jsg@
2016-09-07Backport https://reviews.llvm.org/rL279449 from upstreamStefan Kempf
ok pascal@ Original commit message: [SSP] Do not set __guard_local to hidden for OpenBSD SSP guard_local is defined as long on OpenBSD. If the source file contains a definition of guard_local, it mismatches with the int8 pointer type used in LLVM. In that case, Module::getOrInsertGlobal() returns a cast operation instead of a GlobalVariable. Trying to set the visibility on the cast operation leads to random segfaults (seen when compiling the OpenBSD kernel, which also runs with stack protection). In the kernel, the hidden attribute does not matter. For userspace code, guard_local is defined as hidden in the startup code. If a program re-defines guard_local, the definition from the startup code will either win or the linker complains about multiple definitions (depending on whether the re-defined __guard_local is placed in the common segment or not). It also matches what gcc on OpenBSD does.
2016-09-06Link to -lcompiler_rt instead of -lgcc.Pascal Stumpf
looks good to stefan@
2016-09-05libunwind relies on the EH frame header. Our OpenBSD frontend codePatrick Wildt
does not tell our linker to produce that header for statically linked binaries. Just create that header for all binaries and we are fine. ok guenther@
2016-09-05Fix "make depend".Pascal Stumpf
ok jsg@
2016-09-05Let clang use libc++/libc++abi and its header files per default. You can stillPascal Stumpf
use the old libstdc++ by specifying -stdlib=libstdc++. with hints from/looks good to patrick@, ok kettenis@
2016-09-05Link static PIEs with the correct C runtime (rcrt0.o).Pascal Stumpf
ok kettenis@
2016-09-05I was bound to forget some files ...Pascal Stumpf
2016-09-05LLVM/Clang build system. This only builds the bare minimum of what is neededPascal Stumpf
to get a working "clang" binary. Note that you need GCC from ports to bootstrap clang. looks good to patrick@, ok jsg@ kettenis@
2016-09-04httpS://www.openbsd.org/Theo Buehler
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2016-09-03clarify purpose of src/gnu/ directory.Sebastian Benoit
ok hackroom@
2016-09-03Tests about TLS relocations that should only apply when building aPhilip Guenther
shared library need to test for 'shared && !executable' so that PIE files can optimize to initial-exec and local-exec models ok kettenis@
2016-09-03Revert rev 1.15: RELRO is working so we no longer need special handlingPhilip Guenther
for __{got,plt}_{start,end} symbols ok kettenis@
2016-09-03RELRO Just Works on m88k so remove the #if: RELRO everywhere!Philip Guenther
ok and testing aoyama@
2016-09-03Mark the PLT as RWX so that ld.so's generic RWX->RW->RX logic can bePhilip Guenther
used and the m88k-specific logic can be retired ok and testing aoyama@
2016-09-02Make build deterministic by removing a line that records the date ofTheo Buehler
generation. From daniel, ok tb
2016-09-01Re-enable libobjc on arm.Mark Kettenis
2016-09-01Implement exception handling for ARM EABI. Cobbled together from bits ofMark Kettenis
libsupc++. Passes the (limited) tests in the gcc 4.2.1 testsuite. ok patrick@, tom@
2016-09-01Really stop linking perl to pthreadAndrew Fresh
ok guenther@
2016-09-01Switch OpenBSD/armv7 to ARM EABI (soft-float). This is a complete ABIPatrick Wildt
break which cannot be easily crossed. ok kettenis@ jsg@
2016-09-01remove three more sparc references noticed by jsgTed Unangst
1999-05-26So long, and thanks for all the bugs.Marc Espie