summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/absvdi2.c4
-rw-r--r--lib/absvsi2.c4
-rw-r--r--lib/absvti2.c4
-rw-r--r--lib/adddf3.c4
-rw-r--r--lib/addsf3.c4
-rw-r--r--lib/addvdi3.c4
-rw-r--r--lib/addvsi3.c4
-rw-r--r--lib/addvti3.c4
-rw-r--r--lib/apple_versioning.c4
-rw-r--r--lib/arm/adddf3vfp.S4
-rw-r--r--lib/arm/addsf3vfp.S4
-rw-r--r--lib/arm/bswapdi2.S4
-rw-r--r--lib/arm/bswapsi2.S4
-rw-r--r--lib/arm/comparesf2.S4
-rw-r--r--lib/arm/divdf3vfp.S4
-rw-r--r--lib/arm/divsf3vfp.S4
-rw-r--r--lib/arm/eqdf2vfp.S4
-rw-r--r--lib/arm/eqsf2vfp.S4
-rw-r--r--lib/arm/extendsfdf2vfp.S4
-rw-r--r--lib/arm/fixdfsivfp.S4
-rw-r--r--lib/arm/fixsfsivfp.S4
-rw-r--r--lib/arm/fixunsdfsivfp.S4
-rw-r--r--lib/arm/fixunssfsivfp.S4
-rw-r--r--lib/arm/floatsidfvfp.S4
-rw-r--r--lib/arm/floatsisfvfp.S4
-rw-r--r--lib/arm/floatunssidfvfp.S4
-rw-r--r--lib/arm/floatunssisfvfp.S4
-rw-r--r--lib/arm/gedf2vfp.S4
-rw-r--r--lib/arm/gesf2vfp.S4
-rw-r--r--lib/arm/gtdf2vfp.S4
-rw-r--r--lib/arm/gtsf2vfp.S4
-rw-r--r--lib/arm/ledf2vfp.S4
-rw-r--r--lib/arm/lesf2vfp.S4
-rw-r--r--lib/arm/ltdf2vfp.S4
-rw-r--r--lib/arm/ltsf2vfp.S4
-rw-r--r--lib/arm/modsi3.S4
-rw-r--r--lib/arm/muldf3vfp.S4
-rw-r--r--lib/arm/mulsf3vfp.S4
-rw-r--r--lib/arm/nedf2vfp.S4
-rw-r--r--lib/arm/negdf2vfp.S4
-rw-r--r--lib/arm/negsf2vfp.S4
-rw-r--r--lib/arm/nesf2vfp.S4
-rw-r--r--lib/arm/restore_vfp_d8_d15_regs.S4
-rw-r--r--lib/arm/save_vfp_d8_d15_regs.S4
-rw-r--r--lib/arm/softfloat-alias.list21
-rw-r--r--lib/arm/subdf3vfp.S4
-rw-r--r--lib/arm/subsf3vfp.S4
-rw-r--r--lib/arm/switch16.S4
-rw-r--r--lib/arm/switch32.S4
-rw-r--r--lib/arm/switch8.S4
-rw-r--r--lib/arm/switchu8.S4
-rw-r--r--lib/arm/sync_synchronize.S4
-rw-r--r--lib/arm/truncdfsf2vfp.S4
-rw-r--r--lib/arm/unorddf2vfp.S4
-rw-r--r--lib/arm/unordsf2vfp.S4
-rw-r--r--lib/ashldi3.c4
-rw-r--r--lib/ashlti3.c4
-rw-r--r--lib/ashrdi3.c4
-rw-r--r--lib/ashrti3.c4
-rw-r--r--lib/assembly.h4
-rw-r--r--lib/clear_cache.c4
-rw-r--r--lib/clzdi2.c4
-rw-r--r--lib/clzsi2.c4
-rw-r--r--lib/clzti2.c4
-rw-r--r--lib/cmpdi2.c4
-rw-r--r--lib/cmpti2.c4
-rw-r--r--lib/comparedf2.c4
-rw-r--r--lib/comparesf2.c4
-rw-r--r--lib/ctzdi2.c4
-rw-r--r--lib/ctzsi2.c4
-rw-r--r--lib/ctzti2.c4
-rw-r--r--lib/divdc3.c4
-rw-r--r--lib/divdf3.c4
-rw-r--r--lib/divdi3.c4
-rw-r--r--lib/divmodsi4.c30
-rw-r--r--lib/divsc3.c4
-rw-r--r--lib/divsf3.c4
-rw-r--r--lib/divsi3.c4
-rw-r--r--lib/divti3.c4
-rw-r--r--lib/divxc3.c4
-rw-r--r--lib/enable_execute_stack.c4
-rw-r--r--lib/endianness.h4
-rw-r--r--lib/eprintf.c4
-rw-r--r--lib/extendsfdf2.c4
-rw-r--r--lib/ffsdi2.c4
-rw-r--r--lib/ffsti2.c4
-rw-r--r--lib/fixdfdi.c4
-rw-r--r--lib/fixdfsi.c4
-rw-r--r--lib/fixdfti.c4
-rw-r--r--lib/fixsfdi.c4
-rw-r--r--lib/fixsfsi.c4
-rw-r--r--lib/fixsfti.c4
-rw-r--r--lib/fixunsdfdi.c4
-rw-r--r--lib/fixunsdfsi.c4
-rw-r--r--lib/fixunsdfti.c4
-rw-r--r--lib/fixunssfdi.c4
-rw-r--r--lib/fixunssfsi.c4
-rw-r--r--lib/fixunssfti.c4
-rw-r--r--lib/fixunsxfdi.c4
-rw-r--r--lib/fixunsxfsi.c4
-rw-r--r--lib/fixunsxfti.c4
-rw-r--r--lib/fixxfdi.c4
-rw-r--r--lib/fixxfti.c4
-rw-r--r--lib/floatdidf.c4
-rw-r--r--lib/floatdisf.c4
-rw-r--r--lib/floatdixf.c4
-rw-r--r--lib/floatsidf.c4
-rw-r--r--lib/floatsisf.c4
-rw-r--r--lib/floattidf.c4
-rw-r--r--lib/floattisf.c4
-rw-r--r--lib/floattixf.c4
-rw-r--r--lib/floatundidf.c4
-rw-r--r--lib/floatundisf.c4
-rw-r--r--lib/floatundixf.c4
-rw-r--r--lib/floatunsidf.c4
-rw-r--r--lib/floatunsisf.c4
-rw-r--r--lib/floatuntidf.c4
-rw-r--r--lib/floatuntisf.c4
-rw-r--r--lib/floatuntixf.c4
-rw-r--r--lib/fp_lib.h4
-rw-r--r--lib/gcc_personality_v0.c4
-rw-r--r--lib/i386/ashldi3.S4
-rw-r--r--lib/i386/ashrdi3.S4
-rw-r--r--lib/i386/divdi3.S4
-rw-r--r--lib/i386/floatdidf.S4
-rw-r--r--lib/i386/floatdisf.S4
-rw-r--r--lib/i386/floatdixf.S4
-rw-r--r--lib/i386/floatundidf.S4
-rw-r--r--lib/i386/floatundisf.S4
-rw-r--r--lib/i386/floatundixf.S4
-rw-r--r--lib/i386/lshrdi3.S4
-rw-r--r--lib/i386/moddi3.S4
-rw-r--r--lib/i386/muldi3.S4
-rw-r--r--lib/i386/udivdi3.S4
-rw-r--r--lib/i386/umoddi3.S4
-rw-r--r--lib/int_lib.h5
-rw-r--r--lib/lshrdi3.c4
-rw-r--r--lib/lshrti3.c4
-rw-r--r--lib/moddi3.c4
-rw-r--r--lib/modsi3.c8
-rw-r--r--lib/modti3.c4
-rw-r--r--lib/muldc3.c4
-rw-r--r--lib/muldf3.c4
-rw-r--r--lib/muldi3.c4
-rw-r--r--lib/mulsc3.c4
-rw-r--r--lib/mulsf3.c4
-rw-r--r--lib/multi3.c4
-rw-r--r--lib/mulvdi3.c4
-rw-r--r--lib/mulvsi3.c4
-rw-r--r--lib/mulvti3.c4
-rw-r--r--lib/mulxc3.c4
-rw-r--r--lib/negdf2.c4
-rw-r--r--lib/negdi2.c4
-rw-r--r--lib/negsf2.c4
-rw-r--r--lib/negti2.c4
-rw-r--r--lib/negvdi2.c4
-rw-r--r--lib/negvsi2.c4
-rw-r--r--lib/negvti2.c4
-rw-r--r--lib/paritydi2.c4
-rw-r--r--lib/paritysi2.c4
-rw-r--r--lib/parityti2.c4
-rw-r--r--lib/popcountdi2.c4
-rw-r--r--lib/popcountsi2.c4
-rw-r--r--lib/popcountti2.c4
-rw-r--r--lib/powidf2.c4
-rw-r--r--lib/powisf2.c4
-rw-r--r--lib/powitf2.c4
-rw-r--r--lib/powixf2.c4
-rw-r--r--lib/ppc/restFP.S4
-rw-r--r--lib/ppc/saveFP.S4
-rw-r--r--lib/subvdi3.c4
-rw-r--r--lib/subvsi3.c4
-rw-r--r--lib/subvti3.c4
-rw-r--r--lib/trampoline_setup.c4
-rw-r--r--lib/truncdfsf2.c4
-rw-r--r--lib/ucmpdi2.c4
-rw-r--r--lib/ucmpti2.c4
-rw-r--r--lib/udivdi3.c4
-rw-r--r--lib/udivmoddi4.c4
-rw-r--r--lib/udivmodsi4.c30
-rw-r--r--lib/udivmodti4.c4
-rw-r--r--lib/udivsi3.c4
-rw-r--r--lib/udivti3.c4
-rw-r--r--lib/umoddi3.c4
-rw-r--r--lib/umodsi3.c4
-rw-r--r--lib/umodti3.c4
-rw-r--r--lib/x86_64/floatundidf.S4
-rw-r--r--lib/x86_64/floatundisf.S4
-rw-r--r--lib/x86_64/floatundixf.S4
189 files changed, 457 insertions, 373 deletions
diff --git a/lib/absvdi2.c b/lib/absvdi2.c
index 919afd1351d34..2ba6687daa85f 100644
--- a/lib/absvdi2.c
+++ b/lib/absvdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
*===----------------------------------------------------------------------===
*
diff --git a/lib/absvsi2.c b/lib/absvsi2.c
index a2c8e3f190529..ec5cf69e878de 100644
--- a/lib/absvsi2.c
+++ b/lib/absvsi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/absvti2.c b/lib/absvti2.c
index 0978122dceef3..9e73a26b68ea9 100644
--- a/lib/absvti2.c
+++ b/lib/absvti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/adddf3.c b/lib/adddf3.c
index 1ec43dcf58e2f..c40135613dd6c 100644
--- a/lib/adddf3.c
+++ b/lib/adddf3.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/addsf3.c b/lib/addsf3.c
index fec14e838518e..c0e8d8e70dc8c 100644
--- a/lib/addsf3.c
+++ b/lib/addsf3.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/addvdi3.c b/lib/addvdi3.c
index 53ab1024bd6fe..ded023e07296a 100644
--- a/lib/addvdi3.c
+++ b/lib/addvdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/addvsi3.c b/lib/addvsi3.c
index 22cd3154ce6c5..7bdb39b97fe56 100644
--- a/lib/addvsi3.c
+++ b/lib/addvsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/addvti3.c b/lib/addvti3.c
index 3df1a742ce337..ba220f548096a 100644
--- a/lib/addvti3.c
+++ b/lib/addvti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/apple_versioning.c b/lib/apple_versioning.c
index 0360026bceed3..bb6302fbb4d04 100644
--- a/lib/apple_versioning.c
+++ b/lib/apple_versioning.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/lib/arm/adddf3vfp.S b/lib/arm/adddf3vfp.S
index 5e705e3c57965..cced1e09a3e0a 100644
--- a/lib/arm/adddf3vfp.S
+++ b/lib/arm/adddf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/addsf3vfp.S b/lib/arm/addsf3vfp.S
index 36d509c1f52b5..b747528de52bf 100644
--- a/lib/arm/addsf3vfp.S
+++ b/lib/arm/addsf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/bswapdi2.S b/lib/arm/bswapdi2.S
index d3ca33a341c7d..a0283e14e1e08 100644
--- a/lib/arm/bswapdi2.S
+++ b/lib/arm/bswapdi2.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/bswapsi2.S b/lib/arm/bswapsi2.S
index 0a0c073706cec..4c3af1f6d04df 100644
--- a/lib/arm/bswapsi2.S
+++ b/lib/arm/bswapsi2.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/comparesf2.S b/lib/arm/comparesf2.S
index f21e0bcd13f6e..ee18203392dcb 100644
--- a/lib/arm/comparesf2.S
+++ b/lib/arm/comparesf2.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/arm/divdf3vfp.S b/lib/arm/divdf3vfp.S
index e43baa3732747..74ef0eabff739 100644
--- a/lib/arm/divdf3vfp.S
+++ b/lib/arm/divdf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/divsf3vfp.S b/lib/arm/divsf3vfp.S
index d96c930f83527..9eefcf31eba81 100644
--- a/lib/arm/divsf3vfp.S
+++ b/lib/arm/divsf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/eqdf2vfp.S b/lib/arm/eqdf2vfp.S
index d4384ec0e5ea2..2998a76e021c6 100644
--- a/lib/arm/eqdf2vfp.S
+++ b/lib/arm/eqdf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/eqsf2vfp.S b/lib/arm/eqsf2vfp.S
index 07355a3c22396..927566edd7af6 100644
--- a/lib/arm/eqsf2vfp.S
+++ b/lib/arm/eqsf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/extendsfdf2vfp.S b/lib/arm/extendsfdf2vfp.S
index 4343a7ef1ed43..b1aa88e2ae972 100644
--- a/lib/arm/extendsfdf2vfp.S
+++ b/lib/arm/extendsfdf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/fixdfsivfp.S b/lib/arm/fixdfsivfp.S
index 30458ccd59b32..0285a17e418bc 100644
--- a/lib/arm/fixdfsivfp.S
+++ b/lib/arm/fixdfsivfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/fixsfsivfp.S b/lib/arm/fixsfsivfp.S
index ce6f18e1b90c9..d05ba740aff7a 100644
--- a/lib/arm/fixsfsivfp.S
+++ b/lib/arm/fixsfsivfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/fixunsdfsivfp.S b/lib/arm/fixunsdfsivfp.S
index 7e766c02a5e89..ddb703cdd6081 100644
--- a/lib/arm/fixunsdfsivfp.S
+++ b/lib/arm/fixunsdfsivfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/fixunssfsivfp.S b/lib/arm/fixunssfsivfp.S
index ba2344f587e7e..afbb64f395ec1 100644
--- a/lib/arm/fixunssfsivfp.S
+++ b/lib/arm/fixunssfsivfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/floatsidfvfp.S b/lib/arm/floatsidfvfp.S
index 5ed4ace9b2c05..fe3366a904ddb 100644
--- a/lib/arm/floatsidfvfp.S
+++ b/lib/arm/floatsidfvfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/floatsisfvfp.S b/lib/arm/floatsisfvfp.S
index 0114c789358a2..5b416100a4948 100644
--- a/lib/arm/floatsisfvfp.S
+++ b/lib/arm/floatsisfvfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/floatunssidfvfp.S b/lib/arm/floatunssidfvfp.S
index d1bfe3af58419..9b22a6f760d8e 100644
--- a/lib/arm/floatunssidfvfp.S
+++ b/lib/arm/floatunssidfvfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/floatunssisfvfp.S b/lib/arm/floatunssisfvfp.S
index 0b73577b10674..44d5e938054a2 100644
--- a/lib/arm/floatunssisfvfp.S
+++ b/lib/arm/floatunssisfvfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/gedf2vfp.S b/lib/arm/gedf2vfp.S
index 6ab856fe6f340..9993f52fb49d1 100644
--- a/lib/arm/gedf2vfp.S
+++ b/lib/arm/gedf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/gesf2vfp.S b/lib/arm/gesf2vfp.S
index b00d82107dc36..9ce168259bbe7 100644
--- a/lib/arm/gesf2vfp.S
+++ b/lib/arm/gesf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/gtdf2vfp.S b/lib/arm/gtdf2vfp.S
index 65594c7d3f92e..8a049c8896fed 100644
--- a/lib/arm/gtdf2vfp.S
+++ b/lib/arm/gtdf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/gtsf2vfp.S b/lib/arm/gtsf2vfp.S
index 53ef2a00f804d..1ffe1ec52acc0 100644
--- a/lib/arm/gtsf2vfp.S
+++ b/lib/arm/gtsf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/ledf2vfp.S b/lib/arm/ledf2vfp.S
index 327a7d5159f7c..a04d0f2a4ad3a 100644
--- a/lib/arm/ledf2vfp.S
+++ b/lib/arm/ledf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/lesf2vfp.S b/lib/arm/lesf2vfp.S
index b7e05da9b42b9..301120047a713 100644
--- a/lib/arm/lesf2vfp.S
+++ b/lib/arm/lesf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/ltdf2vfp.S b/lib/arm/ltdf2vfp.S
index 55dfd808a3b8f..87144a8c81529 100644
--- a/lib/arm/ltdf2vfp.S
+++ b/lib/arm/ltdf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/ltsf2vfp.S b/lib/arm/ltsf2vfp.S
index 3816a7123a640..ca06ae2089853 100644
--- a/lib/arm/ltsf2vfp.S
+++ b/lib/arm/ltsf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/modsi3.S b/lib/arm/modsi3.S
index 64a3afd9aa06c..40ba856e35510 100644
--- a/lib/arm/modsi3.S
+++ b/lib/arm/modsi3.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/muldf3vfp.S b/lib/arm/muldf3vfp.S
index cb503d3091211..96bba06c118d0 100644
--- a/lib/arm/muldf3vfp.S
+++ b/lib/arm/muldf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/mulsf3vfp.S b/lib/arm/mulsf3vfp.S
index 49b4d1df94687..c56991d62e700 100644
--- a/lib/arm/mulsf3vfp.S
+++ b/lib/arm/mulsf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/nedf2vfp.S b/lib/arm/nedf2vfp.S
index 813864e883024..a02b09cc80791 100644
--- a/lib/arm/nedf2vfp.S
+++ b/lib/arm/nedf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/negdf2vfp.S b/lib/arm/negdf2vfp.S
index 8013975445ad3..100f4fd5c8295 100644
--- a/lib/arm/negdf2vfp.S
+++ b/lib/arm/negdf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/negsf2vfp.S b/lib/arm/negsf2vfp.S
index 243c0865c8cc4..f96c8ad2b561f 100644
--- a/lib/arm/negsf2vfp.S
+++ b/lib/arm/negsf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/nesf2vfp.S b/lib/arm/nesf2vfp.S
index d470afa0ef7e1..d6205497ae63a 100644
--- a/lib/arm/nesf2vfp.S
+++ b/lib/arm/nesf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/restore_vfp_d8_d15_regs.S b/lib/arm/restore_vfp_d8_d15_regs.S
index 25404cd25076d..7f441db5383ba 100644
--- a/lib/arm/restore_vfp_d8_d15_regs.S
+++ b/lib/arm/restore_vfp_d8_d15_regs.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/save_vfp_d8_d15_regs.S b/lib/arm/save_vfp_d8_d15_regs.S
index 92de61bc6e8f2..fbd21ba383582 100644
--- a/lib/arm/save_vfp_d8_d15_regs.S
+++ b/lib/arm/save_vfp_d8_d15_regs.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/softfloat-alias.list b/lib/arm/softfloat-alias.list
new file mode 100644
index 0000000000000..cc6a4b3cdd2e4
--- /dev/null
+++ b/lib/arm/softfloat-alias.list
@@ -0,0 +1,21 @@
+#
+# These are soft float functions which can be
+# aliased to the *vfp functions on arm processors
+# that support floating point instructions.
+#
+___adddf3vfp ___adddf3
+___addsf3vfp ___addsf3
+___divdf3vfp ___divdf3
+___divsf3vfp ___divsf3
+___extendsfdf2vfp ___extendsfdf2
+___fixdfsivfp ___fixdfsi
+___fixsfsivfp ___fixsfsi
+___floatsidfvfp ___floatsidf
+___floatsisfvfp ___floatsisf
+___muldf3vfp ___muldf3
+___mulsf3vfp ___mulsf3
+___subdf3vfp ___subdf3
+___subsf3vfp ___subsf3
+___truncdfsf2vfp ___truncdfsf2
+___floatunssidfvfp ___floatunsidf
+___floatunssisfvfp ___floatunsisf
diff --git a/lib/arm/subdf3vfp.S b/lib/arm/subdf3vfp.S
index 88416006a0619..ff53b3000d138 100644
--- a/lib/arm/subdf3vfp.S
+++ b/lib/arm/subdf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/subsf3vfp.S b/lib/arm/subsf3vfp.S
index 4ead9c23e712d..238f3f0474501 100644
--- a/lib/arm/subsf3vfp.S
+++ b/lib/arm/subsf3vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/switch16.S b/lib/arm/switch16.S
index 05c7b98b01ab3..e8f08c49c5df1 100644
--- a/lib/arm/switch16.S
+++ b/lib/arm/switch16.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/switch32.S b/lib/arm/switch32.S
index a127cb79f5349..7008fccb18ee7 100644
--- a/lib/arm/switch32.S
+++ b/lib/arm/switch32.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/switch8.S b/lib/arm/switch8.S
index d05f6ac7f0683..e784b4082e1fc 100644
--- a/lib/arm/switch8.S
+++ b/lib/arm/switch8.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/switchu8.S b/lib/arm/switchu8.S
index faffddb50c1ef..19bed2f664d71 100644
--- a/lib/arm/switchu8.S
+++ b/lib/arm/switchu8.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/sync_synchronize.S b/lib/arm/sync_synchronize.S
index 76fdab1fbdb2a..06dade9647280 100644
--- a/lib/arm/sync_synchronize.S
+++ b/lib/arm/sync_synchronize.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/truncdfsf2vfp.S b/lib/arm/truncdfsf2vfp.S
index 5725e25c76a7e..6e55c7ffb52cd 100644
--- a/lib/arm/truncdfsf2vfp.S
+++ b/lib/arm/truncdfsf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/unorddf2vfp.S b/lib/arm/unorddf2vfp.S
index de00b07feef93..9b52131e4bcc8 100644
--- a/lib/arm/unorddf2vfp.S
+++ b/lib/arm/unorddf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/arm/unordsf2vfp.S b/lib/arm/unordsf2vfp.S
index ab291a858dab3..e486533e2ad99 100644
--- a/lib/arm/unordsf2vfp.S
+++ b/lib/arm/unordsf2vfp.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/ashldi3.c b/lib/ashldi3.c
index 993f71ca9724a..1067e6fc61c09 100644
--- a/lib/ashldi3.c
+++ b/lib/ashldi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ashlti3.c b/lib/ashlti3.c
index 317de66559561..7042b53b95620 100644
--- a/lib/ashlti3.c
+++ b/lib/ashlti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ashrdi3.c b/lib/ashrdi3.c
index 8e27a11a7523b..94d46f1b46226 100644
--- a/lib/ashrdi3.c
+++ b/lib/ashrdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ashrti3.c b/lib/ashrti3.c
index 4eab2475c1338..4d16230273d9a 100644
--- a/lib/ashrti3.c
+++ b/lib/ashrti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/assembly.h b/lib/assembly.h
index c2d5a34fffb0d..41c24d74ead35 100644
--- a/lib/assembly.h
+++ b/lib/assembly.h
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/clear_cache.c b/lib/clear_cache.c
index ddc48bcc56e3d..099b76ea4e30d 100644
--- a/lib/clear_cache.c
+++ b/lib/clear_cache.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/lib/clzdi2.c b/lib/clzdi2.c
index ea953961de09c..213277712accf 100644
--- a/lib/clzdi2.c
+++ b/lib/clzdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/clzsi2.c b/lib/clzsi2.c
index 7e14af2937012..d99047dec485e 100644
--- a/lib/clzsi2.c
+++ b/lib/clzsi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/clzti2.c b/lib/clzti2.c
index 805688fbe2235..7a650eb425447 100644
--- a/lib/clzti2.c
+++ b/lib/clzti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/cmpdi2.c b/lib/cmpdi2.c
index 0b8735244ca68..04bd7cf624613 100644
--- a/lib/cmpdi2.c
+++ b/lib/cmpdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/cmpti2.c b/lib/cmpti2.c
index 90b3b75638b73..b156fce90bfaa 100644
--- a/lib/cmpti2.c
+++ b/lib/cmpti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/comparedf2.c b/lib/comparedf2.c
index 5c5ee9d65bf27..fe35fd80aadd6 100644
--- a/lib/comparedf2.c
+++ b/lib/comparedf2.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/comparesf2.c b/lib/comparesf2.c
index fd05724011170..3f2e358addb5d 100644
--- a/lib/comparesf2.c
+++ b/lib/comparesf2.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/ctzdi2.c b/lib/ctzdi2.c
index b49f2c713534a..f7ae50fdf09e6 100644
--- a/lib/ctzdi2.c
+++ b/lib/ctzdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ctzsi2.c b/lib/ctzsi2.c
index 30d34c8625097..0c738fa591cc1 100644
--- a/lib/ctzsi2.c
+++ b/lib/ctzsi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ctzti2.c b/lib/ctzti2.c
index f2d41fee1cb8e..1c9508fd5524d 100644
--- a/lib/ctzti2.c
+++ b/lib/ctzti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/divdc3.c b/lib/divdc3.c
index c96aefd0e49d5..5f6329856bf30 100644
--- a/lib/divdc3.c
+++ b/lib/divdc3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/divdf3.c b/lib/divdf3.c
index 21b8f09bacb06..217d284bf8147 100644
--- a/lib/divdf3.c
+++ b/lib/divdf3.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/divdi3.c b/lib/divdi3.c
index fccfb8b09a09b..a1b83ea3ecec0 100644
--- a/lib/divdi3.c
+++ b/lib/divdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/divmodsi4.c b/lib/divmodsi4.c
new file mode 100644
index 0000000000000..2ec3dd4a7e5a7
--- /dev/null
+++ b/lib/divmodsi4.c
@@ -0,0 +1,30 @@
+/*===-- divmodsi4.c - Implement __divmodsi4 --------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __divmodsi4 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
+
+#include "int_lib.h"
+
+extern si_int __divsi3(si_int a, si_int b);
+
+
+/* Returns: a / b, *rem = a % b */
+
+si_int
+__divmodsi4(si_int a, si_int b, si_int* rem)
+{
+ si_int d = __divsi3(a,b);
+ *rem = a - (d*b);
+ return d;
+}
+
+
diff --git a/lib/divsc3.c b/lib/divsc3.c
index c38c8638efb09..a05f42902c0e4 100644
--- a/lib/divsc3.c
+++ b/lib/divsc3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/divsf3.c b/lib/divsf3.c
index 03b7311788bc5..b798cfb03c0d5 100644
--- a/lib/divsf3.c
+++ b/lib/divsf3.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/divsi3.c b/lib/divsi3.c
index 0eff6ef0d735e..c48ecf45dbc11 100644
--- a/lib/divsi3.c
+++ b/lib/divsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/divti3.c b/lib/divti3.c
index c752f6cfbe9d1..4ec3fa35ec588 100644
--- a/lib/divti3.c
+++ b/lib/divti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/divxc3.c b/lib/divxc3.c
index 03357ae552c34..f054d4028392d 100644
--- a/lib/divxc3.c
+++ b/lib/divxc3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/enable_execute_stack.c b/lib/enable_execute_stack.c
index 193e7dbc23bc7..7ab8e8d4155c0 100644
--- a/lib/enable_execute_stack.c
+++ b/lib/enable_execute_stack.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/lib/endianness.h b/lib/endianness.h
index 6d2587d022e33..9b7e7c1f09c47 100644
--- a/lib/endianness.h
+++ b/lib/endianness.h
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/eprintf.c b/lib/eprintf.c
index 786fe6aaa672a..7c79174fcb572 100644
--- a/lib/eprintf.c
+++ b/lib/eprintf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/lib/extendsfdf2.c b/lib/extendsfdf2.c
index 025eb95724469..db65acf97b285 100644
--- a/lib/extendsfdf2.c
+++ b/lib/extendsfdf2.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/ffsdi2.c b/lib/ffsdi2.c
index 8c03d19afcc62..8a1c68cb3234e 100644
--- a/lib/ffsdi2.c
+++ b/lib/ffsdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ffsti2.c b/lib/ffsti2.c
index 0139eb1f75760..948c696b6a10b 100644
--- a/lib/ffsti2.c
+++ b/lib/ffsti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixdfdi.c b/lib/fixdfdi.c
index 3d3116c1811b9..3a760ff249770 100644
--- a/lib/fixdfdi.c
+++ b/lib/fixdfdi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixdfsi.c b/lib/fixdfsi.c
index 7d17aeddeb483..98062abce4bb7 100644
--- a/lib/fixdfsi.c
+++ b/lib/fixdfsi.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/fixdfti.c b/lib/fixdfti.c
index 359b84eaecefe..4140d144618ad 100644
--- a/lib/fixdfti.c
+++ b/lib/fixdfti.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixsfdi.c b/lib/fixsfdi.c
index 08f1524e152aa..1a85306520b25 100644
--- a/lib/fixsfdi.c
+++ b/lib/fixsfdi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixsfsi.c b/lib/fixsfsi.c
index ff79377198f46..b68471d7c6ba8 100644
--- a/lib/fixsfsi.c
+++ b/lib/fixsfsi.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/fixsfti.c b/lib/fixsfti.c
index 95992fe3f48e4..c64e5aea5845b 100644
--- a/lib/fixsfti.c
+++ b/lib/fixsfti.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunsdfdi.c b/lib/fixunsdfdi.c
index bdcee13e80baf..1c78e2bb136a3 100644
--- a/lib/fixunsdfdi.c
+++ b/lib/fixunsdfdi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunsdfsi.c b/lib/fixunsdfsi.c
index a0cba79aabb98..e0298915660f1 100644
--- a/lib/fixunsdfsi.c
+++ b/lib/fixunsdfsi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunsdfti.c b/lib/fixunsdfti.c
index c1cd72deca2fd..524a2078fa462 100644
--- a/lib/fixunsdfti.c
+++ b/lib/fixunsdfti.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunssfdi.c b/lib/fixunssfdi.c
index 3837bd890e695..3b1bc4af948f5 100644
--- a/lib/fixunssfdi.c
+++ b/lib/fixunssfdi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunssfsi.c b/lib/fixunssfsi.c
index a001cd48196be..023d7b2445d55 100644
--- a/lib/fixunssfsi.c
+++ b/lib/fixunssfsi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunssfti.c b/lib/fixunssfti.c
index 20b7e760547ab..b807910177a08 100644
--- a/lib/fixunssfti.c
+++ b/lib/fixunssfti.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunsxfdi.c b/lib/fixunsxfdi.c
index 872727bcd3df5..6c817d8e1289b 100644
--- a/lib/fixunsxfdi.c
+++ b/lib/fixunsxfdi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunsxfsi.c b/lib/fixunsxfsi.c
index c9a607ace6d0a..b9da86c4f8ea0 100644
--- a/lib/fixunsxfsi.c
+++ b/lib/fixunsxfsi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixunsxfti.c b/lib/fixunsxfti.c
index d0bd512c4d416..f0e16dbfe4dda 100644
--- a/lib/fixunsxfti.c
+++ b/lib/fixunsxfti.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixxfdi.c b/lib/fixxfdi.c
index de6f818b8cda0..9592ce43025bd 100644
--- a/lib/fixxfdi.c
+++ b/lib/fixxfdi.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fixxfti.c b/lib/fixxfti.c
index c2248016c85c2..1022770f11476 100644
--- a/lib/fixxfti.c
+++ b/lib/fixxfti.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatdidf.c b/lib/floatdidf.c
index a0f501b60fffe..cad354a57fc96 100644
--- a/lib/floatdidf.c
+++ b/lib/floatdidf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
*===----------------------------------------------------------------------===
*
diff --git a/lib/floatdisf.c b/lib/floatdisf.c
index 1925f1588c5d6..71d603b568f71 100644
--- a/lib/floatdisf.c
+++ b/lib/floatdisf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
*===----------------------------------------------------------------------===
*
diff --git a/lib/floatdixf.c b/lib/floatdixf.c
index bfda367dfeca0..ebf62dba05841 100644
--- a/lib/floatdixf.c
+++ b/lib/floatdixf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatsidf.c b/lib/floatsidf.c
index a13ab8fbcfb54..85facea1632c9 100644
--- a/lib/floatsidf.c
+++ b/lib/floatsidf.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/floatsisf.c b/lib/floatsisf.c
index 4a629755e7833..d1bb460764773 100644
--- a/lib/floatsisf.c
+++ b/lib/floatsisf.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/floattidf.c b/lib/floattidf.c
index 274f58517c4e5..f61844d5e59e4 100644
--- a/lib/floattidf.c
+++ b/lib/floattidf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floattisf.c b/lib/floattisf.c
index 72f37481b3a2a..7eb761d7ab2a1 100644
--- a/lib/floattisf.c
+++ b/lib/floattisf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floattixf.c b/lib/floattixf.c
index 77d906049be6f..e4bcb5ff00920 100644
--- a/lib/floattixf.c
+++ b/lib/floattixf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatundidf.c b/lib/floatundidf.c
index 1f304c5c35354..506fc3c4be7bb 100644
--- a/lib/floatundidf.c
+++ b/lib/floatundidf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatundisf.c b/lib/floatundisf.c
index 79b4b82e3a03c..55e40230ecb31 100644
--- a/lib/floatundisf.c
+++ b/lib/floatundisf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatundixf.c b/lib/floatundixf.c
index bc9582f7604f9..64f7662d95258 100644
--- a/lib/floatundixf.c
+++ b/lib/floatundixf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatunsidf.c b/lib/floatunsidf.c
index 05242c18ab371..0f473aa1aadd6 100644
--- a/lib/floatunsidf.c
+++ b/lib/floatunsidf.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/floatunsisf.c b/lib/floatunsisf.c
index 31c064432908e..48eff93a2fc32 100644
--- a/lib/floatunsisf.c
+++ b/lib/floatunsisf.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/floatuntidf.c b/lib/floatuntidf.c
index 51d8b2827a367..bab7483d99e01 100644
--- a/lib/floatuntidf.c
+++ b/lib/floatuntidf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatuntisf.c b/lib/floatuntisf.c
index 328f39bbef78b..0ab6d7e56f58a 100644
--- a/lib/floatuntisf.c
+++ b/lib/floatuntisf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/floatuntixf.c b/lib/floatuntixf.c
index e82d0c1e6ff43..a84709aef60b6 100644
--- a/lib/floatuntixf.c
+++ b/lib/floatuntixf.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/fp_lib.h b/lib/fp_lib.h
index eac670d7f2363..6c9455ace0e61 100644
--- a/lib/fp_lib.h
+++ b/lib/fp_lib.h
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/gcc_personality_v0.c b/lib/gcc_personality_v0.c
index 59401900ef85b..c840eef4842a1 100644
--- a/lib/gcc_personality_v0.c
+++ b/lib/gcc_personality_v0.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/i386/ashldi3.S b/lib/i386/ashldi3.S
index af6f98bc7cf86..5488ad6e52be4 100644
--- a/lib/i386/ashldi3.S
+++ b/lib/i386/ashldi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/ashrdi3.S b/lib/i386/ashrdi3.S
index 346f9b1adc16c..b1445ddb99c1b 100644
--- a/lib/i386/ashrdi3.S
+++ b/lib/i386/ashrdi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/divdi3.S b/lib/i386/divdi3.S
index 5ad530c34a4fe..69593e32e9e39 100644
--- a/lib/i386/divdi3.S
+++ b/lib/i386/divdi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/floatdidf.S b/lib/i386/floatdidf.S
index 3a526eab9f960..a953d26cec06b 100644
--- a/lib/i386/floatdidf.S
+++ b/lib/i386/floatdidf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/floatdisf.S b/lib/i386/floatdisf.S
index 741e4a6607fc8..a98a46ee33abb 100644
--- a/lib/i386/floatdisf.S
+++ b/lib/i386/floatdisf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/floatdixf.S b/lib/i386/floatdixf.S
index f0271abcbdc24..412976fb41b17 100644
--- a/lib/i386/floatdixf.S
+++ b/lib/i386/floatdixf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/floatundidf.S b/lib/i386/floatundidf.S
index 7186a355d96cc..6bba7e1cf72aa 100644
--- a/lib/i386/floatundidf.S
+++ b/lib/i386/floatundidf.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/i386/floatundisf.S b/lib/i386/floatundisf.S
index 070820c9d4d20..1afd1d4d05b3b 100644
--- a/lib/i386/floatundisf.S
+++ b/lib/i386/floatundisf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/floatundixf.S b/lib/i386/floatundixf.S
index 2cf6d5c2a6ee0..6e6710bd4ac67 100644
--- a/lib/i386/floatundixf.S
+++ b/lib/i386/floatundixf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/lshrdi3.S b/lib/i386/lshrdi3.S
index 74937d2d8c163..cf411f22e0bed 100644
--- a/lib/i386/lshrdi3.S
+++ b/lib/i386/lshrdi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/moddi3.S b/lib/i386/moddi3.S
index 85f5b3811d5cb..8839cfc51d957 100644
--- a/lib/i386/moddi3.S
+++ b/lib/i386/moddi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/muldi3.S b/lib/i386/muldi3.S
index 5f99f6a9ea826..e56a3553bd31c 100644
--- a/lib/i386/muldi3.S
+++ b/lib/i386/muldi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/udivdi3.S b/lib/i386/udivdi3.S
index 77936f858ac6c..5abeaeaaf4760 100644
--- a/lib/i386/udivdi3.S
+++ b/lib/i386/udivdi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/i386/umoddi3.S b/lib/i386/umoddi3.S
index 3cf8aeb62b281..7fd84853b5b29 100644
--- a/lib/i386/umoddi3.S
+++ b/lib/i386/umoddi3.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/int_lib.h b/lib/int_lib.h
index 912a12f5937c2..e1fd6b73dc7fc 100644
--- a/lib/int_lib.h
+++ b/lib/int_lib.h
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
@@ -20,6 +20,7 @@
/* Assumption: right shift of signed negative is arithmetic shift */
#include <limits.h>
+#include <stdint.h>
#include "endianness.h"
#include <math.h>
diff --git a/lib/lshrdi3.c b/lib/lshrdi3.c
index 57484ee750afc..84525b78a1a83 100644
--- a/lib/lshrdi3.c
+++ b/lib/lshrdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/lshrti3.c b/lib/lshrti3.c
index 3272c9ca831a7..5fdd99eb7703c 100644
--- a/lib/lshrti3.c
+++ b/lib/lshrti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/moddi3.c b/lib/moddi3.c
index 453355596825f..3b350ddc3fb93 100644
--- a/lib/moddi3.c
+++ b/lib/moddi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/modsi3.c b/lib/modsi3.c
index c9214a24f39be..70d38a6b5d59e 100644
--- a/lib/modsi3.c
+++ b/lib/modsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
@@ -14,10 +14,12 @@
#include "int_lib.h"
+su_int __divsi3(si_int a, si_int b);
+
/* Returns: a % b */
si_int
__modsi3(si_int a, si_int b)
{
- return a - (a / b) * b;
+ return a - __divsi3(a, b) * b;
}
diff --git a/lib/modti3.c b/lib/modti3.c
index 75d688ef0a639..dbe5e949b9daf 100644
--- a/lib/modti3.c
+++ b/lib/modti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/muldc3.c b/lib/muldc3.c
index c048d84faa1f3..9f9bd2aaa2bb5 100644
--- a/lib/muldc3.c
+++ b/lib/muldc3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/muldf3.c b/lib/muldf3.c
index 63a473e88d214..85672e584436b 100644
--- a/lib/muldf3.c
+++ b/lib/muldf3.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/muldi3.c b/lib/muldi3.c
index 38963b72630d8..43637324bae84 100644
--- a/lib/muldi3.c
+++ b/lib/muldi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/mulsc3.c b/lib/mulsc3.c
index c7b9f6417269e..a878ba1f39b26 100644
--- a/lib/mulsc3.c
+++ b/lib/mulsc3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/mulsf3.c b/lib/mulsf3.c
index 6bd2f9dcae504..dd4ce11a08973 100644
--- a/lib/mulsf3.c
+++ b/lib/mulsf3.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/multi3.c b/lib/multi3.c
index 13a386781a9ae..ad8ab3fcbcb40 100644
--- a/lib/multi3.c
+++ b/lib/multi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
diff --git a/lib/mulvdi3.c b/lib/mulvdi3.c
index 295ae18d3c853..fcbb5b3f6eef3 100644
--- a/lib/mulvdi3.c
+++ b/lib/mulvdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/mulvsi3.c b/lib/mulvsi3.c
index b4a509be2093a..6271cd44a3c20 100644
--- a/lib/mulvsi3.c
+++ b/lib/mulvsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/mulvti3.c b/lib/mulvti3.c
index 778222ee6c960..7da9187ffc7dd 100644
--- a/lib/mulvti3.c
+++ b/lib/mulvti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/mulxc3.c b/lib/mulxc3.c
index 94895f2551fdf..b5ae865548055 100644
--- a/lib/mulxc3.c
+++ b/lib/mulxc3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/negdf2.c b/lib/negdf2.c
index 527b068a17a85..aeae2e8a344c4 100644
--- a/lib/negdf2.c
+++ b/lib/negdf2.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/negdi2.c b/lib/negdi2.c
index 707b0dd782557..b000dda3b83da 100644
--- a/lib/negdi2.c
+++ b/lib/negdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/negsf2.c b/lib/negsf2.c
index 5e91e87e98884..d211f7cc89b28 100644
--- a/lib/negsf2.c
+++ b/lib/negsf2.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/negti2.c b/lib/negti2.c
index 6ce6a0403acc8..774e808294544 100644
--- a/lib/negti2.c
+++ b/lib/negti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/negvdi2.c b/lib/negvdi2.c
index 0baf377400e65..2851d26f47980 100644
--- a/lib/negvdi2.c
+++ b/lib/negvdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/negvsi2.c b/lib/negvsi2.c
index e5a36a5dacf56..1a83347605957 100644
--- a/lib/negvsi2.c
+++ b/lib/negvsi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/negvti2.c b/lib/negvti2.c
index d56e1e32ade18..d93130542b0c5 100644
--- a/lib/negvti2.c
+++ b/lib/negvti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
*===----------------------------------------------------------------------===
*
diff --git a/lib/paritydi2.c b/lib/paritydi2.c
index 90e5559bc7990..9d349b8c24160 100644
--- a/lib/paritydi2.c
+++ b/lib/paritydi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/paritysi2.c b/lib/paritysi2.c
index ba05782a2a7e3..76de328e1eabb 100644
--- a/lib/paritysi2.c
+++ b/lib/paritysi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/parityti2.c b/lib/parityti2.c
index 650d417936af7..8f857455a7b2f 100644
--- a/lib/parityti2.c
+++ b/lib/parityti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/popcountdi2.c b/lib/popcountdi2.c
index 78b6d88d73112..0778a66c81df7 100644
--- a/lib/popcountdi2.c
+++ b/lib/popcountdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/popcountsi2.c b/lib/popcountsi2.c
index 4f092ee4017c5..e425b0b863881 100644
--- a/lib/popcountsi2.c
+++ b/lib/popcountsi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/popcountti2.c b/lib/popcountti2.c
index 16f89b7abab8b..68d94270792f3 100644
--- a/lib/popcountti2.c
+++ b/lib/popcountti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/powidf2.c b/lib/powidf2.c
index 37972b68b6eac..0200e1eab0b5b 100644
--- a/lib/powidf2.c
+++ b/lib/powidf2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/powisf2.c b/lib/powisf2.c
index ace08c2667525..c834b96969548 100644
--- a/lib/powisf2.c
+++ b/lib/powisf2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/powitf2.c b/lib/powitf2.c
index 3dacbf6bfc2ac..189632cf63043 100644
--- a/lib/powitf2.c
+++ b/lib/powitf2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/powixf2.c b/lib/powixf2.c
index 1a816e9131cb3..f050964d35976 100644
--- a/lib/powixf2.c
+++ b/lib/powixf2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ppc/restFP.S b/lib/ppc/restFP.S
index 00919c8cdce40..95032897c0daf 100644
--- a/lib/ppc/restFP.S
+++ b/lib/ppc/restFP.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/ppc/saveFP.S b/lib/ppc/saveFP.S
index 302da6e9c595b..72bd459f4cc01 100644
--- a/lib/ppc/saveFP.S
+++ b/lib/ppc/saveFP.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/subvdi3.c b/lib/subvdi3.c
index e4926b8164607..17f55d00059e3 100644
--- a/lib/subvdi3.c
+++ b/lib/subvdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/subvsi3.c b/lib/subvsi3.c
index ce39c815b86e2..51bb454475aa6 100644
--- a/lib/subvsi3.c
+++ b/lib/subvsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/subvti3.c b/lib/subvti3.c
index 55b7925a14b31..5d693dc9aba4b 100644
--- a/lib/subvti3.c
+++ b/lib/subvti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/trampoline_setup.c b/lib/trampoline_setup.c
index 8254e362a7d71..ced119fb58337 100644
--- a/lib/trampoline_setup.c
+++ b/lib/trampoline_setup.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*/
diff --git a/lib/truncdfsf2.c b/lib/truncdfsf2.c
index d289cb9891861..92609fb784c91 100644
--- a/lib/truncdfsf2.c
+++ b/lib/truncdfsf2.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/ucmpdi2.c b/lib/ucmpdi2.c
index d2900cae4368a..ead726723aa5a 100644
--- a/lib/ucmpdi2.c
+++ b/lib/ucmpdi2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/ucmpti2.c b/lib/ucmpti2.c
index 0e7eea3e3d1c3..11137c5a5ee0c 100644
--- a/lib/ucmpti2.c
+++ b/lib/ucmpti2.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/udivdi3.c b/lib/udivdi3.c
index 25d1df643c91b..642f2fb9c2516 100644
--- a/lib/udivdi3.c
+++ b/lib/udivdi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/udivmoddi4.c b/lib/udivmoddi4.c
index 92742302cf689..693736fb8cd21 100644
--- a/lib/udivmoddi4.c
+++ b/lib/udivmoddi4.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/udivmodsi4.c b/lib/udivmodsi4.c
new file mode 100644
index 0000000000000..38b5bd43de673
--- /dev/null
+++ b/lib/udivmodsi4.c
@@ -0,0 +1,30 @@
+/*===-- udivmodsi4.c - Implement __udivmodsi4 ------------------------------===
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
+ *
+ * ===----------------------------------------------------------------------===
+ *
+ * This file implements __udivmodsi4 for the compiler_rt library.
+ *
+ * ===----------------------------------------------------------------------===
+ */
+
+#include "int_lib.h"
+
+extern su_int __udivsi3(su_int n, su_int d);
+
+
+/* Returns: a / b, *rem = a % b */
+
+su_int
+__udivmodsi4(su_int a, su_int b, su_int* rem)
+{
+ si_int d = __udivsi3(a,b);
+ *rem = a - (d*b);
+ return d;
+}
+
+
diff --git a/lib/udivmodti4.c b/lib/udivmodti4.c
index 53b407256e679..d1e19edd4c3ba 100644
--- a/lib/udivmodti4.c
+++ b/lib/udivmodti4.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/udivsi3.c b/lib/udivsi3.c
index 70528b66e2b4f..476f2bc310b91 100644
--- a/lib/udivsi3.c
+++ b/lib/udivsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/udivti3.c b/lib/udivti3.c
index fb810fda5faee..7405a0f986562 100644
--- a/lib/udivti3.c
+++ b/lib/udivti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/umoddi3.c b/lib/umoddi3.c
index 807bb5cec622a..adb4b0e75dff2 100644
--- a/lib/umoddi3.c
+++ b/lib/umoddi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/umodsi3.c b/lib/umodsi3.c
index ead7737587a8a..d3aaaeae00088 100644
--- a/lib/umodsi3.c
+++ b/lib/umodsi3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/umodti3.c b/lib/umodti3.c
index 6c8a7581aeead..8f20c5fe35b99 100644
--- a/lib/umodti3.c
+++ b/lib/umodti3.c
@@ -2,8 +2,8 @@
*
* The LLVM Compiler Infrastructure
*
- * This file is distributed under the University of Illinois Open Source
- * License. See LICENSE.TXT for details.
+ * This file is dual licensed under the MIT and the University of Illinois Open
+ * Source Licenses. See LICENSE.TXT for details.
*
* ===----------------------------------------------------------------------===
*
diff --git a/lib/x86_64/floatundidf.S b/lib/x86_64/floatundidf.S
index 6e684b2a4cabb..1be553b7d1e0d 100644
--- a/lib/x86_64/floatundidf.S
+++ b/lib/x86_64/floatundidf.S
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
diff --git a/lib/x86_64/floatundisf.S b/lib/x86_64/floatundisf.S
index fe209632a38e5..89d3f07dfcc66 100644
--- a/lib/x86_64/floatundisf.S
+++ b/lib/x86_64/floatundisf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"
diff --git a/lib/x86_64/floatundixf.S b/lib/x86_64/floatundixf.S
index 246f0266c8a15..a7243f2c545ad 100644
--- a/lib/x86_64/floatundixf.S
+++ b/lib/x86_64/floatundixf.S
@@ -1,5 +1,5 @@
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
#include "../assembly.h"