summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2020-08-03Remove LLVM 8.0.1 files.Patrick Wildt
2020-08-03Update build infrastructure for LLVM 10.0.0.Patrick Wildt
ok hackroom@ tested by plenty
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
2020-08-03Import LLVM 10.0.0 release including clang, lld and lldb.Patrick Wildt
ok hackroom tested by plenty
2019-06-23Import LLVM 8.0.0 release including clang, lld and lldb.Patrick Wildt
2019-01-27Import LLVM 7.0.1 release including clang, lld and lldb.Patrick Wildt
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2017-12-24Import LLVM 5.0.1 release including clang, lld and lldb.Patrick Wildt
2017-10-04Import LLVM 5.0.0 release including clang, lld and lldb.Patrick Wildt
2017-03-14Import LLVM 4.0.0 release including clang and lld.Patrick Wildt
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@
2020-07-31Use consistent types in comparison to fix build with clang 10.Visa Hankala
Instead of just checking if *namep is NULL, also check if the string pointed by *namep is empty. This is probably the original intent of the code. OK kettenis@ jsg@ deraadt@
2020-07-23change bfd amd64 ELF_MAXPAGESIZE from 1M to 4KJonathan Gray
An amd64 clang 10 binary built with lld 10 would abort after calling execve(2) if it had been stripped. PT_LOAD segment aligment being changed by strip was the cause. Changing to 4K matches lld and results in a working binary after strip. Introducing ELF_MINPAGESIZE of 4K (which is ELF_MAXPAGESIZE if not defined by the arch) would have also worked but we don't support large pages in userland. ok kettenis@
2020-07-22Add a few missing elocations.Mark Kettenis
ok jasper@
2020-07-18int64_t and intmax_t are always (signed) long long on OpenBSD.Mark Kettenis
ok deraadt@
2020-07-11Set the default ABI for OpenBSD to ELFv2 in the clang frontend as well.Mark Kettenis
This makes sure the compiler defines the _CALL_ELF pre-processor symbol correctly. ok mortimer@
2020-07-10base tree had only two uses of the printf %n format string, in this file.Theo de Raadt
Appending "%n" to the format string to capture the output-length in bytes (into an uninitialized variable) is exactly the same as using the printf return value. Why did they do this so unnaturally? (normally we don't change gcc import code, but I'm doing a study of %n prevelance) ok millert
2020-07-04Don't build gdb on powerpc64.Mark Kettenis
2020-07-02We need the same header files on powerpc64 as we have on powerpc.Mark Kettenis
ok deraadt@
2020-07-01Re-enable silent mode in perl ConfigureAndrew Fresh
Lost in the cleanup. Noticed by deraadt@
2020-06-28Make long double the same as double for now on powerpc64 like we do onMark Kettenis
powerpc. This matched what FreeBSD does. ok patrick@
2020-06-27Remove some customizations from the perl buildAndrew Fresh
This was originally done so that other things in-tree such as vi could link to libperl and to support non-shared vax. This brings us more in-line with upstream and makes things more understandable. It now links libperl.so to libm, which some software needs, and stops building and installing libperl.a. OK bluhm@
2020-06-18avoid -Wpointer-compare warning which broke build with clang 10Jonathan Gray
2020-06-04Set max atomic size for PowerPC.gkoehler
32-bit PowerPC doesn't have instructions for lock-free atomic ops on 8-byte values, and needs libcalls like __atomic_fetch_add_8(). In code like "_Atomic long long a; a++;", clang doesn't emit a libcall. This was causing linker errors on symbols like __sync_fetch_and_add_8. Now that LLVM knows the max atomic size, its AtomicExpandPass changes these 8-byte ops into libcalls. ok mortimer@
2020-06-04Sync to perl 5.30.3Andrew Fresh
All functional changes were committed already, this updates the version number, Module::Corelist, and documentation.
2010-09-24Perl 5.12.2 from CPANTodd C. Miller
2020-06-01Fix various overflows and state corruption in perlAndrew Fresh
Found by: ManhND of The Tarantula Team, VinCSS (a member of Vingroup), Hugo van der Sanden, Slaven Rezic, and Sergey Aleynikov Fixed by: John Lightsey, Hugo van der Sanden, and Karl Williamson Addresses: * CVE-2020-10543 * CVE-2020-10878 * CVE-2020-12723
2020-05-31Don't build the rs6000coff_vec and rs6000coff64_vec targets. TheseMark Kettenis
generate fatal compiler warnings at least when cross-compiling and fixing the code isn't trivial. ok patrick@, drahn@
2020-05-30Switch Powerpc64 Big Endian to ELFv2 on OpenBSD, as least for now.Dale Rahn
This should simplify bringup and make it easier to support Big Endian and Little Endian with the same code. May be reconsidered if it causes too many problems with Ports. ok kettenis@
2020-05-30Powerpc64 should use same _mcount profiling as powerpc 32bit.Dale Rahn
ok kettenis@
2020-05-30Initial set of changes to build powerpc64 toolchain.Dale Rahn
Disable PIC/PIE for powerpc64 for now.
2018-04-06Import LLVM 6.0.1 release including clang, lld and lldb.Patrick Wildt
"where is the kaboom?" deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2020-05-29Adjust some PPC ELF code to return -1 instead of doing pointerPatrick Wildt
arithmetics on NULL, like we did in r1.21 on elflink.c, to stop clang from complaining when setting up a cross-toolchain. ok kettenis@
2020-05-25PowerPC: optimize away the frame pointer.gkoehler
clang defaulted to -fomit-frame-pointer when optimizing PowerPC code for Linux and NetBSD. Now do it for all systems, including OpenBSD. This affects both 32-bit and powerpc64 code. ok kettenis@
2020-05-23Use a distinct trap code with retguard on mips64.Visa Hankala
This lets the kernel detect retguard traps and send SIGABRT instead of SIGEMT. SIGEMT does not indicate correctly the nature of the error (stack overflow, violation of control flow). It can confuse the user to restart the program without further investigation. Prompted by and OK deraadt@ OK mortimer@
2020-05-20Make sure that we add our OpenBSD specific defines on PowerPC64 targets.Patrick Wildt
Prompted and tested by drahn@ ok deraadt@ drahn@ kettenis@ visa@
2020-05-02Don't make an illegal adde. Avoids fatal error on PowerPC.gkoehler
When the DAG truncates an ISD::ADDE node, DAGCombiner may optimize it by making an adde with smaller operands. PowerPC has i1 registers, and may truncate an i32 adde to i1, but an i1 adde is not legal for PowerPC, and the legalize-ops phase can't fix it. This was causing "fatal error: error in backend: Cannot select..." cwen@ reported the error ok mortimer@ kettenis@ deraadt@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2020-04-25Note extra Term-ReadKey build dependency on CwdAndrew Fresh
Avoids using the installed Cwd module while building perl
2020-04-09Make sure that we really don't emut quad-precision unless theMark Kettenis
"hard-quad-float" feature is available. Add missing replacement instruction patterns that are needed to emit alternative code for conditional moves of quad-precision floats. ok mortimer@
2016-09-03Use the space freed up by sparc and zaurus to import LLVM.Pascal Stumpf
ok hackroom@
2020-04-09Make sure that we generate a PLT when a plabel is required even forMark Kettenis
symbols that were hidden. Fixes building Mesa on hppa. ok deraadt@
2020-04-09Update perl manpage listAndrew Fresh
Missed somehow in perl update
2020-04-09Update perl to 5.30.2Andrew Fresh
https://metacpan.org/pod/release/SHAY/perl-5.30.2/pod/perldelta.pod Incompatible Changes There are no changes intentionally incompatible with 5.30.0. Updated Modules and Pragmata * Compress::Raw::Bzip2 has been upgraded from version 2.084 to 2.089. * Module::CoreList has been upgraded from version 5.20191110 to 5.20200314. Selected Bug Fixes * printf() or sprintf() with the %n format no longer cause a panic on debugging builds, or report an incorrectly cached length value when producing SVfUTF8 flagged strings. * A memory leak in regular expression patterns has been fixed. * A read beyond buffer in grok_infnan has been fixed. * An assertion failure in the regular expression engine has been fixed. * (?{...}) eval groups in regular expressions no longer unintentionally trigger "EVAL without pos change exceeded limit in regex". Proceed when you feel comfortable. deraadt@
2006-03-28perl 5.8.8 importTodd C. Miller
2002-10-27stock perl 5.8.0 from CPANTodd C. Miller
2020-04-05Define the appropriate __GCC_HAVE_SYNC_COMPARE_AND_SWAP_* symbols like allMark Kettenis
other clang platforms do. ok jca@