summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2016-03-30Fix optimization for alphas without the ``precise arithmetic trap'' extensionAndrew Fresh
From Miod Vallat I trust miod deraadt@
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-29Fix fallout from the switch to binutils 2.17: the binaries created by 2.17Mark Kettenis
aren't recognized by the in-tree gdb because it's built with the bfd code from 2.15. From miod@.
2016-03-29remove unused variableCharles Longeau
ok otto@
2016-03-28Cleanup duplicate filenames in SRCSTheo de Raadt
2016-03-24Change the default gcc arm arch target from strongarm (armv4) toJonathan Gray
arm9e (armv5te w/o xscale extensions). We no longer support anything less than armv5te and this allows some additional instructions. -mthumb-interwork remains off by default. ok patrick@
2016-03-07regentb
2016-03-07There is a mknod(2) call hidden deep in the guts of cvs(1) thattb
could in principle be called at any point during runtime. Instead of adding "dpath" to the relevant pledges, disable the code path itself. Now instead of hitting a brutal abort(3), you will just get an error message. autoconf handholding + ok jca@
2016-02-28In emit_insxl() force the first operand of the insbl or inswl patternJonathan Gray
into a register. Fixes an ICE when building Mesa with __sync builtins. From Roger Sayle in gcc svn rev 121779 in Feb 2007 before the license change. Tested by miod and matthieu.
2016-02-24Cope with ambiguous environmentsAndrew Fresh
from Ricardo Signes ok deraadt@
2016-02-21In alpha_expand_block_clear(), cope with the offset being negative;Theo de Raadt
this can happen due to the frame layout change introduced in order to support the stack protector. Fix from miod. Bug originally observed by jca and condensed to a 3-liner by myself, basically local [] arrays being initialized with shorter strings.
2016-02-18Disable the stack protector when building libstdc++ on arm. Fixes testJonathan Gray
cases from dcoppa@ where incorrect behaviour was trigged when using std::ifstream and linking libpthread. Further investigation and patch from miod. ok deraadt@
2016-01-20quote ${CC} expansion, from andreas.kahari at icm uu se, ok mpi@Stuart Henderson
2016-01-14fix typommcc
from Jan Schreiber, ok deraadt@
2016-01-11Fix perl CVE-2015-8607 - XS File::Spec::canonpath loses taintAndrew Fresh
https://rt.perl.org/Ticket/Display.html?id=126862
2014-11-17Import perl-5.20.1Andrew Fresh
2015-12-27add missing header needed for pledge(2)Charles Longeau
ok deraadt@
2015-12-26Fix branch delay slots. Found while making test builds of ports.Visa Hankala
2015-12-21Recognise the rdseed instruction introduced with Broadwell.Jonathan Gray
Similar to changes made in FreeBSD. ok kettenis@
2015-12-18Add library-based __sync functions for mips64.Visa Hankala
Help with testing and ok kettenis@
2015-12-17Implement a memory barrier for mips. Basically this makes __sync_synchronize()Mark Kettenis
emit a "sync" instruction. ok visa@
2015-12-10Actually install OpenBSD::Pledge perl moduleAndrew Fresh
2015-12-05Implement the .inst assembler directive for arm.Tobias Ulmer
Required for building gcc 4.9 ok jsg@
2015-12-01Fix __sync_val_compare_and_swap_8() on i386 for code compiled with -fPIC.Mark Kettenis
In some cases GCC would generate a cmpxchg8b instruction with a memory reference that used %ebx. This is wrong (and will almost certainly result in SIGSEGV). This fix uses a new memory constraint "W" to prevent the use of %ebx in this case. This differs from the approach taken by upstream so there are no GPLv3 issues here. Fixes the Mesa i965 dri module on i386. ok jsg@
2015-11-29OpenBSD::Pledge - perl interface to pledge(2)Andrew Fresh
okay espie@ "we should be wary" deraadt@
2015-11-28Back out previous commit. Not emitting DT_RPATH isn't helpful if our ld.soMark Kettenis
doesn't grok DT_RUNPATH yet.
2015-11-26Fix "Bad value" error seen when building Mesa 11.0.6 which uses -Bsymbolic.Mark Kettenis
Inspired by https://sourceware.org/ml/binutils/2010-08/msg00333.html, but expressed differently so there are no GPLv3 issues.
2015-11-26change the name "as" in the NAME section of the as(1) manuals to lowercase;Ingo Schwarze
requested by and OK jmc@
2015-11-22Use yy_size_t instead of int in yy_input(). Makes things work on BE 64-bitMark Kettenis
architectures when yy_size_t becomes size_t instead of unsigned int. ok millert@, tedu@
2015-11-20Regen.Jeremie Courreges-Anglas
2015-11-20Server-side pserver support is broken, and we don't plan to support it.Jeremie Courreges-Anglas
ok sthen@ semarie@
2015-11-20Unbreak, tcflow and its underlying ioctls aren't allowed by pledge(2).Jeremie Courreges-Anglas
Just delete the tcflow(3) calls, the use case for tcflow(3) here is a bit far-fetched. looks good to deraadt@, ok espie@
1995-12-19raw import of cvs-1.6Theo de Raadt
2015-11-17Pledge cvs(1).Jeremie Courreges-Anglas
The initial pledge(2) call is broad, we can refine later when we know whether we run in server, pserver client mode or regular client mode. pserver server mode is likely broken, it will either be fixed or removed. With and ok semarie@, "let's proceed." deraadt@
2015-11-15Same as in binutils-2.17, only restore regular permission bits.Jeremie Courreges-Anglas
But don't restore ownership/setuid/etc bits. ok deraadt@
2015-11-15In smart_rename, restore at least the regular permissions bits.Jeremie Courreges-Anglas
But don't try to chown or set special bits. This fixes several ports. ok deraadt@
2000-09-12Import binutils-2.10Marc Espie
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
2015-11-15Now that the (setuid bit related) bad-practice audit and repair is complete,Theo de Raadt
ar/ranlib and objcopy/strip can pledge "stdio rpath wpath cpath fattr" ok guenther
2015-11-15In most cases binutils strips off setuid/setgid bits when creating copiesTheo de Raadt
of files. In two cases however they were not being masked. These are build tools -- therefore they should not encourage further propogation of such unsafe bits. ok guenther
2015-11-15Using #ifndef __OpenBSD__, disable the really dangerous and sillyTheo de Raadt
setuid-preserving code in the so-called smart_rename() function. I don't want my tools (ar, ranlib, objcopy, strip) going through the effort to preserve setuid bits on ``build-directory'' files when they sense a symbolic link, thank you very much. The modern way is to build code, then set such modes at install-time. Our kernel goes through the effort to clear setuid flags, and this was neutering that attempt. Also has atrocious error handling. (Identified as an issue of concern while doing the audit for pledge) ok guenther
2015-11-14info - pledge stdio rpath wpath cpath getpw tty proc execTheo de Raadt
infokey - stdio rpath wpath cpath tty makeinfo - stdio rpath wpath cpath getpw install-info - stdio rpath wpath cpath proc exec texindex - stdio rpath wpath cpath tmppath ok schwarze
2015-11-14Betting pledge "stdio rpath wpath cpath" works for this. Let's get it intoTheo de Raadt
the ports build cycle to find out for sure.
2015-11-14pledge 'stdio rpath wpath cpath", since that is all large program does.Theo de Raadt
NOTE: cc1 uses brk/sbrk, which was only enabled in pledge a few hours ago. So this requires a fairly new kernel if compiling monster c++ programs..
2002-06-10TeXinfo 4.2, much more robust html (and other formats) output, and a few Marc Espie
features that new FSF programs will need (e.g., gcc snapshots). looked at by fgs@, thanks.
2015-11-13Both gcc & collect2 can pledge "stdio rpath wpath cpath proc exec".Theo de Raadt
(cc1 "toplev.c" uses brk/sbrk, so it is on hold to figure out the right direction...) ok semarie pascal
2015-11-13pledge "stdio rpath wpath cpath fattr" for both as & ldTheo de Raadt
ok semarie
2015-11-12With --enable-new-dtags, only generate DT_RUNPATH and no DT_RPATHPhilip Guenther
ok kettenis@
2015-11-11update NAME;Jason McIntyre
kettenis ok'd me poking around in here; ingo ok'd the diff
2004-05-17import binutils 2.14 (excluding testsuites, .info files, and .po files)Dale Rahn
2015-11-11Correct several DT_foo (tag id) vs DF_* (flag bit) errorsPhilip Guenther
ok deraadt@ kettenis@