Commit graph

745 commits

Author SHA1 Message Date
Johan Engelen
4d06d168eb Update druntime (fixes a Windows issue). 2016-03-29 19:58:05 +02:00
Johan Engelen
15aebef5be Merge branch 'master' into merge-2.070 2016-03-29 11:48:14 +02:00
Johan Engelen
823a9efe26 Merge branch 'ltsmaster'
Solved merge conflicts in:
	gen/abi.cpp
	gen/toir.cpp
	runtime/druntime
	tests/d2/dmd-testsuite
	tests/lit.site.cfg.in
2016-03-29 11:40:20 +02:00
Martin
c02f4e7d08 Merge branch 'master' into merge-2.070
Conflicts:
	CMakeLists.txt
	runtime/druntime
	runtime/phobos
	tests/d2/dmd-testsuite
2016-03-28 22:28:01 +02:00
Johan Engelen
dda3fdae8d [cmake] Re-add dependency of druntime/phobos on the LDC custom target. Perhaps there is a difference in behavior between CMake versions regarding this. Hopefully fixes Travis builds. 2016-03-27 22:46:51 +02:00
kinke
df9694bf82 Merge pull request #1390 from kinke/ltsMerge
Merge ltsmaster incl. submodules
2016-03-27 22:37:35 +02:00
Johan Engelen
69825a6fb9 Add the @ldc.attributes.weak linkage attributes for global symbols. 2016-03-27 22:08:23 +02:00
Johan Engelen
02965d7653 Change build dependency on LDC to druntime/phobos. This should now correctly trigger a druntime/phobos rebuild upon an LDC change. 2016-03-27 21:47:28 +02:00
Martin
5693942e6e Merge branch 'ltsmaster'
Conflicts:
	gen/runtime.cpp
	runtime/druntime
	runtime/phobos
	tests/d2/dmd-testsuite
2016-03-27 19:51:44 +02:00
Kai Nacke
041e07be4b core.math: Add unit test for ldexp()
Required for Linux/PPC with IBM extended doubles.
2016-03-27 10:13:23 -04:00
David Nadlinger
e50d6b91a3 Merge pull request #1368 from JohanEngelen/dmdlink
Instead of using the C++-linker, use the D compiler to link LDC2 and LDMD
2016-03-26 21:50:11 +00:00
Martin
b2f6480dac MSVC: Link stdlibs against libcmt.lib (static) by default again
That's the default setting for the MS compiler.
CMake defaults to using the dynamic runtime for the MS compiler though,
hence the confusion (it sets '/MD' etc. in CMAKE_C[XX]_FLAGS_*).

So the AppVeyor jobs will now link the D runtimes against the static MSVC
runtimes. This works around some dmd-testsuite issues (duplicate symbols)
when linking C++ objects (compiled with implicit `/MD` flag for cl.exe)
and D objects.
2016-03-26 20:18:13 +01:00
Kai Nacke
32415699b1 std.math: Fix NaN payload unittest in errorfunction
Cherry-picked from upstream.
2016-03-25 19:32:35 +01:00
Johan Engelen
72b5ab7642 Instead of using the C++-linker, use the D compiler to link LDC2 and LDMD.
This removes the need for the CMake logic to figure out what linker flags to pass the C++linker to link D code (50 lines of flaky cmake script).
2016-03-25 12:31:01 +01:00
Kai Nacke
763b196a72 Merge remote-tracking branch 'origin/master' into merge-2.070 2016-03-24 22:40:31 +01:00
Kai Nacke
88f3de8bea Merge branch 'ltsmaster' 2016-03-22 19:05:07 +01:00
Kai Nacke
b9958d87b7 std.math: Do not use inline assembly for expi().
This fixes an assertion failure seen on FreeBSD, Solaris and Circle-CI.
2016-03-22 18:22:26 +01:00
Kai Nacke
a2b74aad0b Merge branch 'ltsmaster' 2016-03-21 18:09:17 +01:00
Martin
be17ae430b druntime: Mergefix for core.thread 2016-03-21 00:16:09 +01:00
Martin
fc93fc7802 Merge branch 'master' into merge-2.070
Conflicts:
	runtime/druntime
	runtime/phobos
	tests/d2/dmd-testsuite
2016-03-20 23:28:22 +01:00
Johan Engelen
21999b7a84 Update Phobos to fix std.math unittest assert with ldc -O2. 2016-03-20 19:23:11 +01:00
Kai Nacke
a48d3e5242 AArch64: Add unit test for 128-bit reals in core.math. 2016-03-19 10:45:22 +01:00
Martin
155017e422 druntime: fix TLS alignment for Windows 8.0 or below 2016-03-19 09:56:13 +01:00
Martin
49b530e04f Phobos: Tiny fix for std.experimental.allocator.building_blocks.bitmapped_block 2016-03-16 22:07:06 +01:00
Martin
9109075b5f Enable MSVC EH for Win64 2016-03-16 19:45:35 +01:00
Johan Engelen
7526de529d Update druntime. 2016-03-16 11:35:20 +01:00
Johan Engelen
8ed4b51d54 Merge branch 'master' into merge-2.070
(no merge conflicts)
2016-03-15 20:21:17 +01:00
Kai Nacke
6e0badadf1 Merge remote-tracking branch 'origin/ltsmaster' 2016-03-13 16:44:07 +01:00
Kai Nacke
f7af985f75 Linux/PPC: Really fix the import for md.d/ripemd.d. 2016-03-13 13:24:28 +00:00
Kai Nacke
2ee4df2c9b Linux/PPC: Add errno constants. 2016-03-12 20:43:51 +00:00
Kai Nacke
cfab5b6b04 non-Intel: Add definitions for rt.backtrace.elf. 2016-03-09 20:31:47 +01:00
Kai Nacke
eb394bf221 Merge remote-tracking branch 'origin/ltsmaster' into mastertest 2016-03-08 20:20:24 +01:00
Kai Nacke
dafaef7381 Fix errors introduced with merge. 2016-03-08 19:55:04 +01:00
Kai Nacke
4cd095e59c druntime: Support ARM AAPCS style va_list for C++ mangling
AAPCS defines va_list as a std::__va_list struct, which is needed to
interface with C++.
2016-03-07 22:38:33 +01:00
Kai Nacke
332b7dbfcf Phobos: Fix big endian version of std.digest.md and std.digest.ripemd 2016-03-05 18:31:43 +01:00
Kai Nacke
24adf155ff Revert "Revert "Merge branch 'ltsmaster'""
This reverts commit 1653911600.
2016-03-03 21:12:53 +01:00
Kai Nacke
1653911600 Revert "Merge branch 'ltsmaster'"
This reverts commit dcb781004b, reversing
changes made to 3c6f09faf0.
2016-03-03 13:14:39 +01:00
Kai Nacke
dcb781004b Merge branch 'ltsmaster' 2016-03-03 07:50:17 +01:00
Kai Nacke
f4c7a2ef88 Change implementation for detecting memory sections on Windows 2016-03-02 18:09:08 +01:00
Kai Nacke
ee677073cc Add ldc/eh_asm.S to runtime/CMakeLists.txt 2016-02-29 21:49:20 +01:00
Kai Nacke
9d46afe82d druntime: Really fix ARM EABI Exception Handling 2016-02-29 20:30:20 +00:00
Kai Nacke
815b13be38 Run semantic on Type::tvalist.
This is required to resolve the type for AAPCS/AAPCS64.
Up to now it was not necessary because only char* was used.
AAPCS/AAPCS64 use a special extern(C++) struct __va_list.
2016-02-29 08:38:08 +00:00
Kai Nacke
66300964d6 PPC64: 128bit CAS is not supported. 2016-02-25 02:50:27 -05:00
Kai Nacke
483e2710fc Add Android changes to druntime/Phobos. 2016-02-25 02:44:10 -05:00
Kai Nacke
dccbe96c00 Merge branch 'master' into merge-2.070 2016-02-23 06:57:30 +01:00
Kai Nacke
016433ae5d Add latest druntime/Phobos changes 2016-02-20 21:03:48 +01:00
David Nadlinger
d013ec3890 Update druntime/Phobos/dmd-testsuite to 2.070.0 2016-02-14 19:43:17 +01:00
David Nadlinger
0ee28f3f58 druntime: Exclude DMD-only rt.dwarfeh from build 2016-02-14 19:42:45 +01:00
David Nadlinger
e782c7a5a6 phobos: Merge another test suite fix 2016-02-14 17:54:42 +01:00
Kai Nacke
4cf60017cf Adjust phobos module reference. 2016-02-14 17:16:01 +01:00