Age | Commit message (Collapse) | Author |
|
The IRIX-specific extension of the PT_DYNAMIC segment is not needed
by the dynamic linker on OpenBSD/mips64. Disable it so that the .dynamic
section stays at the start of the PT_DYNAMIC segment even when .dynstr,
.dynsym or .hash precedes .dynamic in the ELF file. This enables
Binutils 2.17 tools, such as strip(1), rewrite executables and shared
libraries that have been produced by LLD.
OK kettenis@
|
|
"go for it" kettenis@
|
|
Fixes at least ports/devel/libffi as used by ports/lang/python/2.
ok kettenis@
|
|
Not linking it to the build yet.
"go for it" mortimer@
|
|
functions
ok deraadt@
different versions tested by jca@ naddy@ sthen@
|
|
With this change, passing -fprofile-instr-generate -fcoverage-mapping
when building programs will attempt linking against libclang_rt.profile.a.
Please note that we do not ship the library yet.
OK jca@
|
|
Recommended by AMD white paper Software Techniques for Managing
Speculation on AMD Processors (9.17.20) mitigation V2-1.
Pointed out by bluhm@. ok bluhm@ kettenis@
|
|
|
|
Clang uses runtime libraries for some advanced features like
sanitizers. Different systems have different preferences about file
placement. OpenBSD with this change would use this name for ASan:
/usr/lib/clang/11.1.0/lib/libclang_rt.asan.a
So far, no libraries are shipped, only their eventual location is chosen.
Discussed with deraadt@ and kettenis@, OK mortimer@
|
|
Suggested by jca@ that kettenis@ looks at it first.
|
|
Tested by doing a full system build locally. Will work with brad@ for
upstream-ing.
OK patrick & mortimer
|
|
Add powerpc to LLD_ARCH. Remove -Wl,-relax flag; ld.bfd needed it,
but ld.lld can't take this flag.
To avoid linker errors on macppc, you need a snapshot where
/usr/bin/ld is LLD.
ok kettenis@ deraadt@
|
|
This is upstream commit
https://github.com/Perl/perl5/commit/c1a937fef07c061600a0078f4cb53fe9c2136bb9
Quoting upstream:
Without this fix, Encode::ConfigLocal can be loaded from a path
relative to the current directory, because the || operator will
evaluate @inc in scalar context, putting an integer as the only
value in @inc.
Addresses CVE-2021-36770
|
|
tools, and it also provides command line options and thus pollutes the name
space. This fixes duplicate command line options in llvm-objdump.
Discussed with jsg@
|
|
ok kettenis@ sthen@
|
|
GCC versions will sometimes emit it, and we have stumbled upon it a few times
in ports.
Upstream commit: https://reviews.llvm.org/D95994
GCC bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98946
ok kettenis@
|
|
Instead of "<unknown>: f3". ok kettenis@
|
|
Instead of swapping registers around, we can just use the REV version of
the same instruction, which has the same effect but encodes differently and
does not result in return bytes in the binary. This reduces the number
of xchg instructions resulting from gadget fixing.
Prompted by ratchov@, with input from millert@ and sthen@.
ok sthen@
|
|
base-gcc always errored out when -Werror was passed and -Wuninitialized
triggered, even when -Wno-error=uninitialized was passed.
Deemed correct by Miod
|
|
|
|
defines because we need it now
from https://reviews.llvm.org/D91784
ok mlarkin kettenis
|
|
ok hackroom
tested by plenty
|
|
ok deraadt@ drahn@
|
|
ok jsg drahn
|
|
and Readline.
feedback and okay afresh1@
|
|
discussion with espie kettenis jsg
|
|
|
|
ok mortimer@
|
|
ok mortimer@
|
|
ok mortimer@
|
|
Pointed out by deraadt@, this is not what that that incomplete table is for.
While the code has been there for several years, I haven't found a use for it,
which is good because it would have been wrong.
While here, update my name.
|
|
With some build plumbing help from jsg@
ok kettenis@ sthen@
|
|
Based on NetBSD implementation, without the libelf dependency. Architectures
which have libunwind use libunwind, and others use a stub implementation
that does nothing since __builtin methods are unreliable.
Much feedback and help from jca@.
ok kettenis@ sthen@
|
|
This 'requirement' was due to a bug in dtors which has been corrected.
reminded by jsg@
|
|
libc++abi: Pure virtual function called!
By statically linking clang (and *-tblgen) this problem is worked around
at least for now.
|
|
Uncertain if this is 100% correct, however this enables self hosting
using clang.
|
|
ok hackroom
tested by plenty
|
|
default to -no-relax.
ok drahn@
|
|
ok hackroom
tested by plenty
|
|
Enable just enough of binutils to be a functional compilation system
with llvm doing the heavy lifting.
With corrections suggested by reviewers.
ok jsg@ kettenis@
|
|
ok mpi@
|
|
licence mere mortals can understand the terms of); will be connected to the
build on an arch-by-arch basis.
Testsuites and generated files have been intentionnaly omitted from this import.
Peer pressure and ok from at least drahn@ pirofti@ deraadt@
|
|
ok kettenis@
|
|
|
|
cd /usr/src/gnu/llvm/llvm/docs
gmake -f Makefile.sphinx man
cd /usr/src/gnu/llvm/clang/docs
gmake -f Makefile.sphinx man
cmake -DLLVM_ENABLE_SPHINX=ON -DLLDB_INCLUDE_TESTS=OFF /usr/src/gnu/llvm/lldb/
make docs-lldb-man
|
|
|
|
ok hackroom
tested by plenty
|
|
|
|
|
|
With several fixes from review integrated.
ok patrick@
|