Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-18 | Use ${INSTALL} instead of install, like in all the other Makefile's. | Martin Natano | |
ok guenther | |||
2016-09-17 | For now, force soft-float; our kernel doesn't support saving the FPU state yet. | Mark Kettenis | |
ok patrick@ | |||
2016-09-17 | Fix types for OpenBSD/arm. | Mark Kettenis | |
ok stefan@, jsg@, patrick@ | |||
2016-09-17 | Add missing build infrastructure for arm. | Mark Kettenis | |
ok patrick@, jsg@, pascal@ | |||
2016-09-16 | Hardcode STRIP=/usr/bin/strip so that install -s works | Philip Guenther | |
ok natano@ | |||
2016-09-16 | Don't check if target directory is writeable. This gets in the way of | Martin Natano | |
noperm builds. ok deraadt some time ago | |||
2016-09-14 | Disable --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-11 | Install binaries, scripts and documentation with the usual owner/group/mode. | Martin Natano | |
ok deraadt | |||
2016-09-11 | Install 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-10 | Bring in FreeBSD changes to prevent clang triggering | Jonathan Gray | |
-Wstring-plus-int -Wempty-body and -Wshift-negative-value warnings as binutils is built with -Werror. ok guenther@ millert@ | |||
2016-09-10 | use an unused attribute on a function argument to avoid -Wself-assign | Jonathan Gray | |
with clang ok guenther@ | |||
2016-09-09 | Handle -p as an alias of -pg. From the ports patch. | Jonathan Gray | |
ok patrick@ | |||
2016-09-08 | Use rcrt0.o instead of crt0.o for -static -pie executables. | Mark Kettenis | |
ok guenther@, jsg@ | |||
2016-09-08 | Have "make cleandir" work everywhere in the clang tree. | Pascal Stumpf | |
noticed by and ok jsg@ | |||
2016-09-07 | Backport https://reviews.llvm.org/rL279449 from upstream | Stefan 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-06 | Link to -lcompiler_rt instead of -lgcc. | Pascal Stumpf | |
looks good to stefan@ | |||
2016-09-05 | libunwind relies on the EH frame header. Our OpenBSD frontend code | Patrick 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-05 | Fix "make depend". | Pascal Stumpf | |
ok jsg@ | |||
2016-09-05 | Let clang use libc++/libc++abi and its header files per default. You can still | Pascal Stumpf | |
use the old libstdc++ by specifying -stdlib=libstdc++. with hints from/looks good to patrick@, ok kettenis@ | |||
2016-09-05 | Link static PIEs with the correct C runtime (rcrt0.o). | Pascal Stumpf | |
ok kettenis@ | |||
2016-09-05 | I was bound to forget some files ... | Pascal Stumpf | |
2016-09-05 | LLVM/Clang build system. This only builds the bare minimum of what is needed | Pascal 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-04 | httpS://www.openbsd.org/ | Theo Buehler | |
2016-09-03 | Use the space freed up by sparc and zaurus to import LLVM. | Pascal Stumpf | |
ok hackroom@ | |||
2016-09-03 | clarify purpose of src/gnu/ directory. | Sebastian Benoit | |
ok hackroom@ | |||
2016-09-03 | Tests about TLS relocations that should only apply when building a | Philip 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-03 | Revert rev 1.15: RELRO is working so we no longer need special handling | Philip Guenther | |
for __{got,plt}_{start,end} symbols ok kettenis@ | |||
2016-09-03 | RELRO Just Works on m88k so remove the #if: RELRO everywhere! | Philip Guenther | |
ok and testing aoyama@ | |||
2016-09-03 | Mark the PLT as RWX so that ld.so's generic RWX->RW->RX logic can be | Philip Guenther | |
used and the m88k-specific logic can be retired ok and testing aoyama@ | |||
2016-09-02 | Make build deterministic by removing a line that records the date of | Theo Buehler | |
generation. From daniel, ok tb | |||
2016-09-01 | Re-enable libobjc on arm. | Mark Kettenis | |
2016-09-01 | Implement exception handling for ARM EABI. Cobbled together from bits of | Mark Kettenis | |
libsupc++. Passes the (limited) tests in the gcc 4.2.1 testsuite. ok patrick@, tom@ | |||
2016-09-01 | Really stop linking perl to pthread | Andrew Fresh | |
ok guenther@ | |||
2016-09-01 | Switch OpenBSD/armv7 to ARM EABI (soft-float). This is a complete ABI | Patrick Wildt | |
break which cannot be easily crossed. ok kettenis@ jsg@ | |||
2016-09-01 | remove three more sparc references noticed by jsg | Ted Unangst | |
1999-05-26 | So long, and thanks for all the bugs. | Marc Espie | |
1998-03-08 | update to gcc 2.8.1 | Todd C. Miller | |
1998-03-03 | GCC 2.8.0 merge | Niklas Hallqvist | |
1996-08-15 | Merge of GCC 2.7.2.1 | Niklas Hallqvist | |
1995-12-20 | FSF GCC version 2.7.2 | Niklas Hallqvist | |
2016-08-31 | admin: add -C option to set a revision's commitid | Joshua Stein | |
this version bails out if the revision has a commitid already ok guenther deraadt tom | |||
2016-08-16 | When the commit message is empty, don't default to c)ontinue | Theo Buehler | |
(committing without log message), but to a)bort. ok jcs, natano; millert and tj agree | |||
2016-08-14 | Turning off relro shouldn't insert padding into the middle of the relro | Philip Guenther | |
section; remove the PAD_GOT0 use that I should have deleted before. This caused ld.so crashes on arm when building binutils. critical debugging observations by kettenis@ | |||
2016-08-10 | auto-dope-slap: mips64 has 16K pages, not 4K. With that fixed, enable RELRO | Philip Guenther | |
Per feedback from kettenis@, Miod, and deraadt@, the padding between text and rodata will be retained for consistency with other archs, to minimize reliance on the R4000 EOP bug workaround, and to enable possible future work. ok deraadt@ | |||
2016-08-10 | Teach readelf and objdump about the PT_OPENBSD_BOOTDATA section value. | Philip Guenther | |
Teach ld to access that and PT_GNU_RELRO in linker scripts. ok deraadt@ | |||
2016-08-10 | Cover your kid's remaining eye and lock up the pets for the great old ones | Philip Guenther | |
have been disturbed: rework the linker script and then enable RELRO support on all but mips64 (something something padding) and m88k (untested). This extends the RO coverage from just .got and .cdtors to also include .openbsd.randomdata, .jcr, .dynamic, and .data.rel.ro., and moves more segments from the text section to the rodata section. Depends on the previous csu and ld.so work; reinstall those *before* rebuilding ld, or just get a snapshot. clues from kettenis assistance testing and ok deraadt@ | |||
2016-08-07 | Since we have kbind(2), we don't need -znow to use -zrelro | Philip Guenther | |
ok kettenis@ | |||
2016-08-07 | If an output section is skipped because of a constraint, then skip it | Philip Guenther | |
when generating the link map output (-M) too ok kettenis@ | |||
2016-08-01 | Make sure variables are initialized before using them | Stefan Kempf | |
In elf.c, do not increment `s' before it is initialized. At the time of the increment, `s' is otherwise unused anyway. In elflink.c, initialize sec_contents and l_sec_contents to make sure that the free(sec_contents) and free(l_sec_contents) are called on valid pointers. ok jca@ guenther@ | |||
2016-07-30 | Revert unneeded version bump for perl modules | Andrew Fresh | |
OK sthen@ |