Age | Commit message (Collapse) | Author |
|
variable and fall back to what stty(1) reports, and it does so with
nroff(1), but it didn't with mandoc(1) because it didn't know how
to pass the desired width to mandoc. Teach it to use "-O width=".
OK afresh1@.
I noticed the unimplemented feature when Andrew Daugherity asked
on tech@ what the point of a certain patch in FreeBSD is (which it
turns out we don't need).
|
|
output in UTF-8 encoding on OpenBSD. The consumer is always mandoc(1)
on OpenBSD, which can always handle UTF-8 input (no matter what LC_CTYPE
is) and which always produces useful output: UTF-8 for LC_CTYPE=*.UTF-8
or ASCII otherwise, in particular for LC_CTYPE=C.
Patch written after afresh1@ reported that "perldoc -oman" output
looked bad in both output modes.
OK afresh1@.
|
|
From Andrew Daugherity <andrew.daugherity () gmail ! com>
Corrections to fix and OK millert@, suggestions and OK schwarze@
|
|
|
|
|
|
specified; suggested by and ok kettenis@
|
|
stack protector. Fixes 'unused arguments' warning when this argument is
given.
Noticed by robert@, ok robert@
|
|
genassym.sh on sparc64 when using clang as the compiler.
ok claudio@, deraadt@
|
|
ok hackroom@
|
|
the .text section in use after the file header, improving compatibility
with gcc. Without this change, module-level inline assembly blocks could
end up into wrong section.
OK kettenis@ guenther@
|
|
ok hackroom@
|
|
maximum reachability of the PowerPC branch instructions.
Also override NOPIE_FLAGS to avoid building code with -fno-pie as doing so
is incompatible with secure-plt when using clang as the compiler.
ok visa@, guenther@
|
|
disable it in upcoming 6.5 release.
(phessler and mortimer have the details)
|
|
OK deraadt@ millert@ kettenis@
|
|
from unsigned long to int.
OK deraadt@ millert@ kettenis@
|
|
are close to release, so punt the change till after-release
easier for everyoned and especially naddy
ok tedu
|
|
I don't know much about compilers, but what I do have are a very particular
set of skills. Skills I have acquired over a very long career.
|
|
|
|
optimization flags.
ok kettenis@ visa@
|
|
static-linked against private copy, or dynamic tools against the *.so,
or ports use independent componented versions. Saves ~85MB in /usr.
ok jsg
|
|
This adds more trap padding before the return while ensuring that the
return is still in the same cache line.
ok deraadt@
|
|
ok millert@
|
|
ok deraadt@
|
|
Makes things slightly faster and also improves security in these functions,
since the retguard cookie can't leak via the stack.
ok deraadt@
|
|
|
|
ld --start-group --end-group block. bfd ld seems to need this where
lld doesn't.
|
|
build so external users of Support/TargetSelect.h will work correctly.
Previously these were defined via -D in CPPFLAGS.
Fixes llvmpipe erroring out due to no targets being registered.
ok patrick@
|
|
making sure LLVM_ARCH is set before including architecture-specific
Makefiles.
ok deraadt@
|
|
Generated with gmake and py-sphinx installed via
cd /usr/src/gnu/llvm/docs && gmake -f Makefile.sphinx man
|
|
This is required to build the radeonsi Mesa driver.
ok patrick@
|
|
|
|
symlink for libLLVM-7.so or libLLVM.so. Adjust llvm-config to cope and
force llvm-config DyLibExists to true.
This is specific to LLVM in base this patch should not be used in ports.
|
|
A build time dependency on python is avoided by generating the arch
specific list of library components in advance. A 'reconf' target
is included to regenerate them. Approach discussed with patrick@
|
|
ok hackroom@
|
|
ld(1) would try to free uninitialized memory when used with -r -b binary
<fontfile> by ports/textproc/mupdf. Perform the same bfd type check
as bfd_elf_match_symbols_in_sections(). Fix found the hard way,
cheese and wine sponsor: miod. Almost identical fix already present
upstream.
Also set the freed pointer to NULL, just in case.
ok tb@ sthen@
|
|
libLLVM from a single directory avoid reused filenames by symlinking
duplicated names with a prefix of the component library name so object
file names will be unique.
symlink approach suggested by deraadt@ ok patrick@
|
|
matches the result of building with cmake
ok patrick@
|
|
|
|
ok patrick@
|
|
As of usr.bin/xinstall/install.c revision 1.68, -S is a no-op and
install(1) will always create files safely, thus clean the option usage
from the tree.
Diff from Lauri Tirkkonen <lotheac at iki dot fi>, thanks.
|
|
- Target all four kinds of return bytes (c2, c3, ca, cb)
- Fix up instructions using both ModR/M and SIB bytes
- Force alignment before instructions with return bytes in immediates
- Force alignment before instructions that have return bytes in their encoding
- Add a command line switch to toggle the functionality.
ok deraadt@
|
|
load and store instructions. The vast majority of PowerPC CPUs that
OpenBSD runs on don't implement those and will generate an alignment
exceptions. While we do emulate lfd and stfd (to work around GCC bugs),
we don't emulate lfs and stfs. It is way more efficient to have the
compiler generate code that only uses aligned load and store instructions.
Based on a diff from Georg Koehler.
ok patrick@, visa@
|
|
ok hackroom@
|
|
ok patrick@
|
|
|
|
causes problems in the following files which use PIC as a variable name.
Undefine PIC in llvm-config.h to minimise the diff to upstream LLVM.
include/llvm/MC/MCObjectFileInfo.h
lib/MC/MCObjectFileInfo.cpp
lib/Transforms/Scalar/LICM.cpp
lib/Transforms/Utils/PredicateInfo.cpp
These are the files that would be built as part of a shared libLLVM.
There are other files with PIC variable names in clang code.
#undef PIC approach suggested by kettenis@
|
|
looking good sthen@, Great! bluhm@
|
|
looking good sthen@, Great! bluhm@
|
|
looking good sthen@, Great! bluhm@
|
|
looking good sthen@, Great! bluhm@
|