summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2018-04-21more undos from the mistake this morningTheo de Raadt
2018-04-20revert to 2018/04/20 10:00:00, before oopsChristian Weisgerber
2018-04-20oops, snapshot tests not ready yetTheo de Raadt
2018-04-20syncTheo de Raadt
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2018-04-14Correct heap overflow bugs in perlAndrew Fresh
* RT #131844: [CVE-2018-6913] heap-buffer-overflow in S_pack_rec Reported by GwanYeong Kim, fixed by Tony Cook. * RT #132063: [CVE-2018-6798] Heap-buffer-overflow in Perl__byte_dump_string (utf8.c) Reported by Nguyen Duc Manh, fixed by Karl Williamson, Yves Orton, and Tony Cook. * RT #132227: [CVE-2018-6797] heap-buffer-overflow (WRITE of size 1) in S_regatom (regcomp.c) Reported by Brian Carpenter, fixed by Yves Orton, Karl Williamson, and Tony Cook. Many thanks to deraadt@ tj@ bluhm@ tb@ robert@
2018-04-12keep the STT_FILE symbol in the table so that we know what fileRobert Nagy
was used to compile and object ok kettenis@
2018-04-07Install a bunch more headers included by intrin.h, fixes at least libvpxLandry Breuil
and probably firefox on amd64/i386. ok patrick@
2018-04-07add back ld.lld 6.0 changesJonathan Gray
2018-04-07regenJonathan Gray
2018-04-06Install clwbintrin.h as it is needed by immintrin.h.Patrick Wildt
Noticed by sthen@
2018-04-06Move Version.inc to the correct folder.Patrick Wildt
Noticed by sthen@
2018-04-06Tedu files that got removed in LLVM 6.0.0.Patrick Wildt
2018-04-06Patch binutils 2.17 so that it passes option -Wno-null-pointer-arithmeticPatrick Wildt
when compiling with LLVM 6.0.0. This is a good enough temporary fix. "where's the kaboom?" deraadt@
2018-04-06Update clang build infrastructure for LLVM 6.0.0.Patrick Wildt
2018-04-06Merge LLVM 6.0.0 release.Patrick Wildt
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2017-01-24Import LLVM 4.0.0 rc1 including clang and lld to help the currentPatrick Wildt
development effort on OpenBSD/arm64.
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2018-04-01LLVM 6.0.0's -Wextra warnings now complain if you do arithmetics on NULLPatrick Wildt
pointers. Since binutils 2.17 is compiled with -Werror, this breaks the build. Change the function to return -1 as suggested by the comment in said function. ok kettenis@
2018-03-02Add a manual page for lld from lld svn rev 326463 with options notJonathan Gray
present in lld 5.0.1 removed (--build-id=fast, -z muldefs, -z retpolineplt). This includes a bunch of mdoc changes suggested by schwarze@ that were recently committed upstream. ok jmc@ schwarze@ kettenis@ deraadt@
2018-01-25Fix perl build not to install libperl* twice. This has caused anYASUOKA Masahiko
actual error if "install" was done parallelly. ok espie todd andrew1, input andrew1
2018-01-23Revise 'struct fpreg' such that it can actually represent the full VFPv3-D32Mark Kettenis
state. ok patrick@
2018-01-22regenJonathan Gray
2018-01-22add clang-local(1) to SEE ALSOJonathan Gray
suggested by jmc@ ok patrick@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2018-01-04Add ARM EABI aliases and remove functions that are also provided by our libc.Mark Kettenis
This allows linking code compiled by clang with the gcc compiler driver and makes sure we always use the softfloat implementation in libc. The libc softfloat implementation is preferred over the one in libgcc as it implements rounding modes and floating point exceptions. ok patrick@
2018-01-01Make lld respect ALIGN directives on output sections even with -r. FixesMark Kettenis
the generation of gap.o. ok patrick@
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2017-12-26Cherry-pick a change from LLD to make the behavior of the -v optionPatrick Wildt
more closer to GNU linkers. This should help with autoconf/libtool compatibility in ports. Requested by Brad "no objection" kettenis@
2017-12-26Cherry-pick a change from LLVM that marks specific pseudo memoryPatrick Wildt
instructions to have side effects so the optimizer does not reorder them across fnstcw/fldcw sequences. Fixes a bug seen in sqlite3 on i386. ok kettenis@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-12-25Tedu files that got removed in LLVM 5.0.1.Patrick Wildt
2017-12-24Update to LLVM 5.0.1 which apparently includes plenty of bugfixes.Patrick Wildt
Requested by Brad Tested by me on amd64 Tested by bluhm on i386 Tested by kettenis on arm64, armv7 and sparc64
2017-12-24Merge LLVM 5.0.1 release.Patrick Wildt
2017-12-24Import LLVM 5.0.1 release including clang, lld and lldb.Patrick Wildt
2017-12-12Avoid undefined behaviour in rorate_left() macro. From NetBSD via FreeBSD.Mark Kettenis
Makes gas work when compiled with clang. ok patrick@, millert@
2017-11-21The compiler is generally free to allocate general purpose registers in whatevermortimer
order it chooses. Reasons for choosing one register before another usually incl ude compiled instruction size (avoidance of REX prefixes, etc.) or usage convent ions, but somehow haven't included security implications in the compiled bytecod e. Some bytecode is more useful in polymorphic ROP sequences than others, so it seems prudent to try to avoid that bytecode when possible. This patch moves EBX/RBX towards the end of the allocation preference for 32 and 64 bit general purpose registers. Some instructions using RBX/EBX/BX/BL as a de stination register end up with a ModR/M byte of C3 or CB, which is often useful in ROP gadgets. Because these gadgets often occur in the middle of functions, th ey exhibit somewhat higher diversity than some other C3/CB terminated gadgets. T his change removes about 3% of total gadgets from the kernel, but about 6% of un ique gadgets. There are other possible changes in this direction. BX/BL are obvious next targe ts for avoidance, and MM3/XMM3 may also be useful to try to avoid if possible. ok deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-11-20Support Time::HiRes::utime in File::CopyAndrew Fresh
Fixes issues with cross-device moves, noticed with autoconf
2017-11-09Use the proper macros in AUTHORS, and delete the bogus BUGS section.Ingo Schwarze
Reporting OpenBSD bugs to GNU makes no sense...
2017-11-07Format string fix from upstream.Kevin Lo
ok millert@
2017-11-04Revert recent changes to unbreak ports/net/sambaJeremie Courreges-Anglas
While it is not clear (to me) why that ports ends up with corrupted shared libs, reverting those changes fixes the issue and should allow us to close p2k17 more smoothly. Discussed with a bunch, ok ajacoutot@ guenther@
2017-10-31Make -zdefs and --no-undefined no-ops for now, to unblock ports devs at p2k17.Philip Guenther
We don't link libc into shared-libraries by default to avoid binding libraries to specific libc majors, so those options have always suffered false positives for us, but with the move of functions from libpthread to libc the problem has gotten even worse. A version-agnostic binding to libc would solve this better but it's on back-order behind the pony I requested. tweak and ok deraadt@
2017-10-29Apply pre-built unicore patch, remove excess files - perl-5.24.3Andrew Fresh
ok bluhm@
2017-10-29Apply local patches, remove excess files - perl-5.24.3Andrew Fresh
OK bluhm@
2017-10-29Fix merge issues, remove excess files - match perl-5.24.3 distAndrew Fresh
ok bluhm@
2017-10-29Import perl-5.24.3Andrew Fresh
ok bluhm@
2017-10-29Unify protoize.1 install process on gcc3 arch (luna88k).Kenji Aoyama
ok guenther@