summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
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@
2017-10-24R_AARCH64_NONE should be zero, not 256. The latter was a deprecatedPhilip Guenther
assignment and isn't used by clang/lld. ok jsg@
2017-10-24kbind(2) for the win: we can always put .got.plt in RELROPhilip Guenther
ok kettenis@ deraadt@
2017-01-14Import LLVM 3.9.1 including clang and lld.Patrick Wildt
2017-10-23Extend support for DWARF2 CFI expressions. Needed to support llvm/clang onMark Kettenis
sparc64 where it doesn't use the integrated assembler (yet). ok mpi@, patrick@, guenther@
2017-10-23Teach readelf the arm64 dynamic relocation we use, as well as thePhilip Guenther
m88k-specific dynamic tags ok deraadt@ jsg@
2017-10-11Add missing file.Mark Kettenis
ok patrick@
2017-10-04Tedu files that got removed in LLVM 5.0.0.Patrick Wildt
2017-10-04Tedu files that got removed in LLVM 5.0.0.Patrick Wildt
2017-10-04Update clang build infrastructure for LLVM 5.0.0.Patrick Wildt
2017-10-04Merge LLVM 5.0.0 release.Patrick Wildt
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
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@
2017-09-29Rev. 1.2 enabled UTF-8 by default.Ingo Schwarze
During subsequent Perl updates, all the documentation changes etc. got carried along, but the actual code change was deleted in Rev. 1.3 and never restored. Restore it now. Bug found by bentley@; OK afresh1@ bentley@.
2017-09-28make clang include a FILE symbol for .(s|S) filesRobert Nagy
This is mostly needed by syspatch at the moment to be to be able to re-link in the same order as the original libraries were linked with by relying on the readelf(1) and without this .(s|S) assembly files were not getting a file directive. A bug reports has been filed as well: https://bugs.llvm.org/show_bug.cgi?id=34019 ok deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2017-09-22A buffer over-read and heap overflow in perl's regexp may result inAndrew Fresh
a crash or memory leak. Fixes * CVE-2017-12883 (Buffer over-read) * CVE-2017-12837 (Heap overflow when compiling case-insensitive regexp) Patches by Karl Williamson
2017-09-11missing parts for arm64, dependencies needed.Marc Espie
spotted by deraadt@, fix turns out to be identical to more recent binutils.
2017-09-09Remove path support from perl OpenBSD::PledgeAndrew Fresh
ok guenther@ deraadt@ giovanni@
2017-08-23Update IO-Socket-IP to 0.39, bug fix needed for p5-Net-DNS 1.12.Alexander Bluhm
OK afresh1@ sthen@