Commit Graph

6966 Commits

Author SHA1 Message Date
mrg d811d78ead mp.h was removed a while ago. update the README to note this, and
remove the note about trialdivtab.h which was done.
2017-08-17 23:00:38 +00:00
christos 28e539bcbb - since we use log_it for cron_pclose() use log_it for cron_popen() too
so we can see the reason it failed.
- add log_itx() that takes a format and use it.
- simplify with asprintf()
2017-08-17 08:53:00 +00:00
mrg 9e521bb10f remove file that died 4 years ago... 2017-08-17 02:17:00 +00:00
mrg 99e4cd68f2 merge MPFR 3.1.5. 2017-08-17 01:12:41 +00:00
mrg efdec83b9e initial import of MPFR 3.1.5 package. changes since 3.1.2:
Changes from version 3.1.4 to version 3.1.5:
- C++11 compatibility.
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.4/#fixed> and ChangeLog file).
- More tests.

Changes from version 3.1.3 to version 3.1.4:
- Improved MPFR manual.
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.3/#fixed> and ChangeLog file).
- MinGW (MS Windows): Added support for thread-safe DLL (shared library).

Changes from version 3.1.2 to version 3.1.3:
- Better support for Automake 1.13+ (now used to generate the tarball).
- Improved MPFR manual.
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.2/#fixed> and ChangeLog file).
2017-08-17 01:09:22 +00:00
mrg 062d2d48d3 initial import of MPC 1.0.3 package. changes since 1.0.1:
Changes in version 1.0.3:
  - Fixed mpc_pow, see
    http://lists.gforge.inria.fr/pipermail/mpc-discuss/2014-October/001315.html
  - #18257: Switched to libtool 2.4.5.

Changes in version 1.0.2:
  - Fixed mpc_atan, mpc_atanh for (+-0, +-1), see
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57994#c7
  - Fixed mpc_log10 for purely imaginary argument, see
    http://lists.gforge.inria.fr/pipermail/mpc-discuss/2012-September/001208.html
2017-08-17 00:08:03 +00:00
ginsbach 7ab23dde59 PR lib/51952: Brad Harder: Apply upstream ada959c9
[From upstream tcpdump]
 In pcap_compile(), first check whether the pcap_t is activated.

 Before we allocate or otherwise set up anything, check whether the
 pcap_t is activated, and set the error message string and return -1 if
 it's not.

 That way, we don't go through the cleanup code in that code path -
 there's nothing to clean up.

 Fixes the issue in GitHub pull request #552.

XXX: pullup-8
2017-08-12 00:43:25 +00:00
jakllsch 136f040412 Fix up bcm43xx bluetooth firmware addition. Including mtree directory
addition, and using the correct spelling of the license file name.
2017-08-10 19:42:53 +00:00
nat d3425666e1 Add bcm43xx bluetooth controller firmware to the lists and update relevant
makefiles.
2017-08-10 15:31:49 +00:00
nat 88a08a05ec Add firmware and license for bcm43430 bluetooth uart interface.
This firmware is used by the Raspberry Pi 3 on-board bluetooth controller.

For additional licensing information, see:
https://github.com/raspberrypi/linux/issues/1325#issuecomment-195560582
2017-08-10 15:15:48 +00:00
mrg 6247ed7a27 don't build apm, ark or glint on cats for xorg-server 1.18. 2017-08-07 06:51:13 +00:00
mrg bbf2be38c0 put the location of gmp/mpc/mpfr in a variable so we can .old them. 2017-08-04 01:18:39 +00:00
mrg 56cd2f0399 pass the target specific CPUFLAGS and CPPFLAGS for the .c.o rule.
should fix a problem rjs@ reported.
2017-08-03 22:01:29 +00:00
mrg 79ce5b417f remove unused files 2017-08-03 22:00:38 +00:00
mbalmer efe7e63653 Apply a bug fix from lua.org/bugs.html: Lua does not check GC when creating
error messages.
2017-08-03 13:40:07 +00:00
joerg 201c4626ec Fix linking for the optional llvm-ar tool. 2017-08-01 21:40:03 +00:00
joerg 7c192b2a5e Update LLVM build glue for 5.0RC1. 2017-08-01 20:07:37 +00:00
joerg ae9e4753b7 Mark files not present in 309604 as dead. 2017-08-01 19:58:33 +00:00
joerg db05eb1cc8 Import clang r309604 from branches/release_50 2017-08-01 19:34:09 +00:00
joerg 51efcbbd66 Import LLVM r309604 from branches/release_50 2017-08-01 19:24:44 +00:00
joerg 3dd3c1d9cd Inline storage size in one place to avoid depending on DCE for removing
the USE_FORT=yes warning.
2017-08-01 18:08:48 +00:00
joerg 1f3522a5b4 Mark files not present in 309604 as dead. 2017-08-01 10:54:01 +00:00
maya 8340d18be5 Apply upstream patch:
Incorrect codegen from rdseed intrinsic use (CVE-2017-11671)

We should not expand call arguments in between flags reg setting and
flags reg using instructions, as it may expand with flags reg
clobbering insn (ADD in this case).

Attached patch moves expansion out of the link. Also, change
zero-extension to non-flags reg clobbering sequence in case we perform
zero-extension with and.

2017-03-25  Uros Bizjak
2017-07-28 22:24:27 +00:00
maya 317c1f1a2e Apply upstream patch:
Incorrect codegen from rdseed intrinsic use (CVE-2017-11671)

We should not expand call arguments in between flags reg setting and
flags reg using instructions, as it may expand with flags reg
clobbering insn (ADD in this case).

Attached patch moves expansion out of the link. Also, change
zero-extension to non-flags reg clobbering sequence in case we perform
zero-extension with and.

2017-03-25  Uros Bizjak  <ubizjak@gmail.com>
2017-07-28 22:23:05 +00:00
he f52ac36319 For alpha, generating alpha.d first needs pass-instances.def re-generated. 2017-07-27 16:05:15 +00:00
joerg 7c8897217a TLS relocations for PIE and non-PIE main executable work the same, so
apply the same relaxation rules and the same static binding rules.
2017-07-25 19:44:25 +00:00
mrg be7137046e initialise some stack variables to zero so that later checking ensures
they are considered "unfound" instead of some random value.

part 1 in fixing the CI20 kernel build.  this one actually will cause
the build to fail, but it's outputting broken objects right now anyway.
part 2 coming up in the CI20 configuration itself.
2017-07-25 06:43:03 +00:00
mrg 7a0caf96a5 merge GCC 5.4 into gcc.old. 2017-07-23 01:10:50 +00:00
mrg 7d9adb1cf1 import the GCC 5.4 srcs from -current as gcc.old in preparation for GCC 6. 2017-07-23 01:04:23 +00:00
joerg fc278ede3a One more missing check for DECL_INITIAL being non-NULL. 2017-07-22 20:52:52 +00:00
joerg c974d38c4e Fix format strings to reflect exactly the types used. 2017-07-21 08:49:05 +00:00
joerg 688d934e56 PR 51266, PR 52326: Fix GCC specs to always default to -shared-libgcc,
except on Sun2, which just uses plain -lgcc.
2017-07-19 13:10:28 +00:00
joerg 4df4cd4e92 Fix encoding of LSDA entries. .eh_frame references in non-PIC mode can
use plain pointers. For PIC, any references to global objects must be
indirect, but the .eh_frame entries themselve should be pcrel.
2017-07-18 18:02:37 +00:00
joerg 846a441fa1 Detect advance_loc support with readelf, not objdump. The latter is
broken in some situations before binutils 2.28.
2017-07-17 19:55:13 +00:00
joerg 8a8cb2911c Use read-only .eh_frame. 2017-07-17 19:53:50 +00:00
joerg ef39c7e610 A const declaration with explicit section attribute should create a
read-only section, whether it is initialized or not.
2017-07-17 19:53:10 +00:00
joerg 05cc9c0cb6 Create references as absolute pointers internally for .cfi*.
Do not warn for anonymous relocations in read-only .eh_frame,
they will be turned into relative entries afterwards.
2017-07-17 19:50:23 +00:00
christos 6c406925bb fix the powerpc build, by undefining the EH_SPEC entry first. 2017-07-15 23:52:30 +00:00
riastradh d36bab8179 Missed a MKCRYPTO spot.
...although if nobody noticed, maybe that means this doesn't actually
use libcrypto?
2017-07-15 13:54:07 +00:00
joerg c1a5bf052c Restore --eh-frame-hdr for static binaries. 2017-07-14 23:05:27 +00:00
christos f0c0aaa76f Oops, support IPv6 if not disabled.
XXX: pullup-8
2017-07-12 12:55:41 +00:00
joerg a5c3ba3e65 Allocate enough memory. 2017-07-11 21:19:42 +00:00
joerg e5678be828 Implement __cxa_thread_atexit and __cxa_thread_atexit_impl. This
functions are used for destructors of thread_local objects.

If a pending destructor exists, prevent unloading of shared objects.
Introduce __dl_cxa_refcount interface for this purpose. When the last
reference is gone and the object has been dlclose'd before, the
unloading is finalized.

Ideally, __cxa_thread_atexit_impl wouldn't exist, but libstdc++ insists
on providing __cxa_thread_atexit as direct wrapper without further
patching.
2017-07-11 15:21:31 +00:00
chs 3c2bb6eab4 copy the CTF section too, if there is one. 2017-07-06 02:34:00 +00:00
wiz e8c03fc557 Add 3lua and 9lua. 2017-07-03 13:18:31 +00:00
christos 328d17d7f4 merge conflicts 2017-06-30 11:32:33 +00:00
christos c168d3a21f --- 9.10.5-P2 released ---
4643.   [security]      An error in TSIG handling could permit unauthorized
                        zone transfers or zone updates. (CVE-2017-3142)
                        (CVE-2017-3143) [RT #45383]

4633.   [maint]         Updated AAAA (2001:500:200::b) for B.ROOT-SERVERS.NET.
2017-06-30 11:21:53 +00:00
joerg f2faadd888 Mark a few more things as not-for-clang. While the sanitizers would
likely build, there are ordering issues relative to the libc++ build
right now.
2017-06-29 18:52:23 +00:00
manu de828cbdf9 Make DHCP programs compatible with crunchgen(1)
DHCP programs are incompatible with crunchgen(1) so far, because
libdhcp uses callbacks with the same function names for dhclient,
dhcrelay, dhcpd, and omshell. As a result, it is impossible to
link correctly in a single binary.

The offending symbols are classify, check_collection, dhcp, dhcpv6,
bootp, find_class, parse_allow_deny, and dhcp_set_control_state, and
the local_port and remote_port variables.

This change make each program register an array of callbacks at
main() start. libdhcp then uses callbacks through registered
function and variable pointers, and DHCP programs can now go
trough crunchgen(1).

Submitted upstream as ISC-Bugs #45330 with a patch against latest ISC git.
The soon to be released 4.3.6 will not include the change, but it is
likely to be included in 4.3.7
2017-06-28 02:46:30 +00:00
joerg ff6447e3f3 Honor HOST_CXX. 2017-06-26 17:38:10 +00:00