Age | Commit message (Collapse) | Author |
|
ok patrick@
|
|
|
|
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@.
|
|
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
|
|
spotted by deraadt@, fix turns out to be identical to more recent binutils.
|
|
ok guenther@ deraadt@ giovanni@
|
|
OK afresh1@ sthen@
|
|
host name. Adapted from a MirBSD diff by Thorsten Glaser.
|
|
old patch, belated test by aoyama@, okay aoyama@
|
|
ok mortimer@
|
|
|
|
- only the binutils package (no gdb here)
- don't import libiberty and texinfo, they are elsewhere
- remove all .info* generated files
|
|
|
|
OK bluhm@, Reads ok sthen@
|
|
OK bluhm@, Reads ok sthen@
|
|
OK bluhm@, Reads ok sthen@
|
|
|
|
From upstream commits by Niko Tyni <ntyni AT debian.org>
* dd6885360b15e763e0706dc28555eea328de432d
* 6b2c7479d6d33249c2385d8a36d8ee9e61e1a519
ok aja@
|
|
ok aoyama@
|
|
other similar makefiles define POST_INSTALL = :
so even the GNU guys are aware this might be non standard.
fix it.
okay krw@ kettenis@
|
|
to a different decision later)
ok espie
|
|
to get out of these makefiles!
okay kettenis@
|
|
clang will not error out on unknown flags)
okay millert@, deraadt@
|
|
ok naddy@
|
|
to the latter on non-clang architectures and make sure we build gcc
with itself because clang won't be able to build it
ok naddy@
|
|
same solution from FreeBSD.
Don't even try to build it at the moment. This is commited so people can
work on it in tree.
|
|
in a shared library, even for commons. This is what the current generation
of linkers (current bfd, gold, lld) do. This fixes the
relocation R_X86_64_PC32 against `xxx' can not be used when making a
shared object; recompile with -fPIC
warnings that we have seen in ports with clang.
This change is somewhat suspect as a similar change was reverted in upstream
binutils at some point. However that was for another corner case on an
architecture (s390) that we do not run on.
Tested by naddy@, sthen@
|
|
okay millert@
|
|
fucks up make recognition of generated vs pre-existing file.
also zap .PATH.1 thingy that's no longer needed at all.
|
|
okay millert@
|
|
okay millert@
|
|
can run normally
|
|
- mix-up between .ALLSRC and .IMPSRC, compile the right gc.c file
- add explicit targets for pre-generated stuff
|
|
elf.sc to FILL .text segment with TRAP. .init/.fini remain NOP FILL.
It is possible that some of these TRAP values aren't perfect yet, but
they can be changed. When doing so also change the ld.script and gap.o
TRAP value.
discussions with mortimer, ok kettenis
|
|
the man parts.
just leave Configure and forwarding targets in Makefile.bsd-wrapper,
this allows bsd.lib.mk to function normally without depend, because all
the puzzle is here.
okay millert@ afresh1@
|
|
existence of a .depend file can lead to various problems.
The logic before rev 1.15 resulted in Makefile.dep always being
included as DEPENDSFILE was never set so this returns to the old
behaviour.
ok espie@
|
|
which we cannot TRAPSLED FILL. This needs to be done a different way.
diagnosis with kettenis
|
|
plt entry. Since previous effective instruction is a a jmp, this can be
a sequence of traps.
ok mlarkin
|
|
reduction in nopsleds in code and data segments (if those data segments
ever become X, that is)
ok mlarkin
|
|
Convert these to "trapsleds' instead. Since these can occur inside
fall-through blocks of code (and gcc sure isn't helping us by identifying
those), convert most to "short jump over" followed a sequence of int3.
This works for sled sizes 3-15, for i386 and amd64. Work by Todd Mortimer
ok mlarkin
|
|
value .depend, so that the conditional is really used.
okay guenther@
|
|
programs will build even without a make depend first.
okay tb@ millert@
|
|
okay millert@ deraadt@
|
|
cause a shift overflow on a 32-bit arch (i386). ok kettenis@
|
|
Reccomended by upstream - jkeenan AT pobox.com
OK sthen@
|
|
For C++, gcc has to make use of comdat sections instead
of .gnu.linkonce sections for this because
switch tables and functions would now end up
in different .gnu.linkonce sections. This can cause ld
to sometimes incorrectly discard the switch tables, which causes
linker errors. With comdat sections, making the switch table
and function sections belong together is more reliable.
ok deraadt@
|
|
spotted by espie@
|
|
properly sorted.
pointed out by espie@
|
|
HAVE_TERMINFO in our local config.h. Some of the lower levels of LLVM
don't seem to respect our default setting.
As a result, delete the -ltermlib dependency.
Note that this breaks -fcolor-diagnostics=auto. However, fixing the whole
codebase is out of scope for now ...
Prompted by an instance found in the AsmParser by deraadt@
ok kettenis@ patrick@
|
|
doesn't actually flip the switch yet, so aarch64 continues to be the only
architecture for which we build clang.
ok jsg@, deraadt@
|