diff --git a/compiler-rt/lib/CMakeLists.txt b/compiler-rt/lib/CMakeLists.txt index 506f88d0b8a1..9c4e29894a1a 100644 --- a/compiler-rt/lib/CMakeLists.txt +++ b/compiler-rt/lib/CMakeLists.txt @@ -33,240 +33,7 @@ if(LLVM_USE_SANITIZER STREQUAL "") endif() endif() -# The top-level lib directory contains a large amount of C code which provides -# generic implementations of the core runtime library along with optimized -# architecture-specific code in various subdirectories. - -set(GENERIC_SOURCES - absvdi2.c - absvsi2.c - absvti2.c - adddf3.c - addsf3.c - addvdi3.c - addvsi3.c - addvti3.c - apple_versioning.c - ashldi3.c - ashlti3.c - ashrdi3.c - ashrti3.c - # FIXME: atomic.c may only be compiled if host compiler understands _Atomic - # atomic.c - clear_cache.c - clzdi2.c - clzsi2.c - clzti2.c - cmpdi2.c - cmpti2.c - comparedf2.c - comparesf2.c - ctzdi2.c - ctzsi2.c - ctzti2.c - divdc3.c - divdf3.c - divdi3.c - divmoddi4.c - divmodsi4.c - divsc3.c - divsf3.c - divsi3.c - divti3.c - divxc3.c - enable_execute_stack.c - eprintf.c - extendsfdf2.c - ffsdi2.c - ffsti2.c - fixdfdi.c - fixdfsi.c - fixdfti.c - fixsfdi.c - fixsfsi.c - fixsfti.c - fixunsdfdi.c - fixunsdfsi.c - fixunsdfti.c - fixunssfdi.c - fixunssfsi.c - fixunssfti.c - fixunsxfdi.c - fixunsxfsi.c - fixunsxfti.c - fixxfdi.c - fixxfti.c - floatdidf.c - floatdisf.c - floatdixf.c - floatsidf.c - floatsisf.c - floattidf.c - floattisf.c - floattixf.c - floatundidf.c - floatundisf.c - floatundixf.c - floatunsidf.c - floatunsisf.c - floatuntidf.c - floatuntisf.c - floatuntixf.c - gcc_personality_v0.c - int_util.c - lshrdi3.c - lshrti3.c - moddi3.c - modsi3.c - modti3.c - muldc3.c - muldf3.c - muldi3.c - mulodi4.c - mulosi4.c - muloti4.c - mulsc3.c - mulsf3.c - multi3.c - mulvdi3.c - mulvsi3.c - mulvti3.c - mulxc3.c - negdf2.c - negdi2.c - negsf2.c - negti2.c - negvdi2.c - negvsi2.c - negvti2.c - paritydi2.c - paritysi2.c - parityti2.c - popcountdi2.c - popcountsi2.c - popcountti2.c - powidf2.c - powisf2.c - powitf2.c - powixf2.c - subdf3.c - subsf3.c - subvdi3.c - subvsi3.c - subvti3.c - trampoline_setup.c - truncdfsf2.c - ucmpdi2.c - ucmpti2.c - udivdi3.c - udivmoddi4.c - udivmodsi4.c - udivmodti4.c - udivsi3.c - udivti3.c - umoddi3.c - umodsi3.c - umodti3.c - ) - -set(x86_64_SOURCES - x86_64/floatdidf.c - x86_64/floatdisf.c - x86_64/floatdixf.c - x86_64/floatundidf.S - x86_64/floatundisf.S - x86_64/floatundixf.S - ${GENERIC_SOURCES}) - -set(i386_SOURCES - i386/ashldi3.S - i386/ashrdi3.S - i386/divdi3.S - i386/floatdidf.S - i386/floatdisf.S - i386/floatdixf.S - i386/floatundidf.S - i386/floatundisf.S - i386/floatundixf.S - i386/lshrdi3.S - i386/moddi3.S - i386/muldi3.S - i386/udivdi3.S - i386/umoddi3.S - ${GENERIC_SOURCES}) - -set(arm_SOURCES - arm/adddf3vfp.S - arm/addsf3vfp.S - arm/aeabi_dcmp.S - arm/aeabi_fcmp.S - arm/aeabi_idivmod.S - arm/aeabi_ldivmod.S - arm/aeabi_memcmp.S - arm/aeabi_memcpy.S - arm/aeabi_memmove.S - arm/aeabi_memset.S - arm/aeabi_uidivmod.S - arm/aeabi_uldivmod.S - arm/bswapdi2.S - arm/bswapsi2.S - arm/comparesf2.S - arm/divdf3vfp.S - arm/divmodsi4.S - arm/divsf3vfp.S - arm/divsi3.S - arm/eqdf2vfp.S - arm/eqsf2vfp.S - arm/extendsfdf2vfp.S - arm/fixdfsivfp.S - arm/fixsfsivfp.S - arm/fixunsdfsivfp.S - arm/fixunssfsivfp.S - arm/floatsidfvfp.S - arm/floatsisfvfp.S - arm/floatunssidfvfp.S - arm/floatunssisfvfp.S - arm/gedf2vfp.S - arm/gesf2vfp.S - arm/gtdf2vfp.S - arm/gtsf2vfp.S - arm/ledf2vfp.S - arm/lesf2vfp.S - arm/ltdf2vfp.S - arm/ltsf2vfp.S - arm/modsi3.S - arm/muldf3vfp.S - arm/mulsf3vfp.S - arm/nedf2vfp.S - arm/negdf2vfp.S - arm/negsf2vfp.S - arm/nesf2vfp.S - arm/restore_vfp_d8_d15_regs.S - arm/save_vfp_d8_d15_regs.S - arm/subdf3vfp.S - arm/subsf3vfp.S - arm/switch16.S - arm/switch32.S - arm/switch8.S - arm/switchu8.S - arm/sync_synchronize.S - arm/truncdfsf2vfp.S - arm/udivmodsi4.S - arm/udivsi3.S - arm/umodsi3.S - arm/unorddf2vfp.S - arm/unordsf2vfp.S - ${GENERIC_SOURCES}) - -if (NOT WIN32) - foreach(arch x86_64 i386 arm) - if(CAN_TARGET_${arch}) - add_compiler_rt_static_runtime(clang_rt.${arch} ${arch} - SOURCES ${${arch}_SOURCES} - CFLAGS "-std=c99") - endif() - endforeach() -endif() +add_subdirectory(builtins) # Generate configs for running lit and unit tests. configure_lit_site_cfg( diff --git a/compiler-rt/lib/Makefile.mk b/compiler-rt/lib/Makefile.mk index f9d7800cc4c4..ed9690d467aa 100644 --- a/compiler-rt/lib/Makefile.mk +++ b/compiler-rt/lib/Makefile.mk @@ -7,27 +7,16 @@ # #===------------------------------------------------------------------------===# -ModuleName := builtins SubDirs := -# Add arch specific optimized implementations. -SubDirs += i386 ppc x86_64 arm - -# Add other submodules. +# Add submodules. SubDirs += asan +SubDirs += builtins +SubDirs += dfsan SubDirs += interception +SubDirs += lsan +SubDirs += msan SubDirs += profile SubDirs += sanitizer_common SubDirs += tsan -SubDirs += msan SubDirs += ubsan -SubDirs += lsan -SubDirs += dfsan - -# Define the variables for this specific directory. -Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) -ObjNames := $(Sources:%.c=%.o) -Implementation := Generic - -# FIXME: use automatic dependencies? -Dependencies := $(wildcard $(Dir)/*.h) diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt new file mode 100644 index 000000000000..81ae21f7d8fe --- /dev/null +++ b/compiler-rt/lib/builtins/CMakeLists.txt @@ -0,0 +1,233 @@ +# This directory contains a large amount of C code which provides +# generic implementations of the core runtime library along with optimized +# architecture-specific code in various subdirectories. + +set(GENERIC_SOURCES + absvdi2.c + absvsi2.c + absvti2.c + adddf3.c + addsf3.c + addvdi3.c + addvsi3.c + addvti3.c + apple_versioning.c + ashldi3.c + ashlti3.c + ashrdi3.c + ashrti3.c + # FIXME: atomic.c may only be compiled if host compiler understands _Atomic + # atomic.c + clear_cache.c + clzdi2.c + clzsi2.c + clzti2.c + cmpdi2.c + cmpti2.c + comparedf2.c + comparesf2.c + ctzdi2.c + ctzsi2.c + ctzti2.c + divdc3.c + divdf3.c + divdi3.c + divmoddi4.c + divmodsi4.c + divsc3.c + divsf3.c + divsi3.c + divti3.c + divxc3.c + enable_execute_stack.c + eprintf.c + extendsfdf2.c + ffsdi2.c + ffsti2.c + fixdfdi.c + fixdfsi.c + fixdfti.c + fixsfdi.c + fixsfsi.c + fixsfti.c + fixunsdfdi.c + fixunsdfsi.c + fixunsdfti.c + fixunssfdi.c + fixunssfsi.c + fixunssfti.c + fixunsxfdi.c + fixunsxfsi.c + fixunsxfti.c + fixxfdi.c + fixxfti.c + floatdidf.c + floatdisf.c + floatdixf.c + floatsidf.c + floatsisf.c + floattidf.c + floattisf.c + floattixf.c + floatundidf.c + floatundisf.c + floatundixf.c + floatunsidf.c + floatunsisf.c + floatuntidf.c + floatuntisf.c + floatuntixf.c + gcc_personality_v0.c + int_util.c + lshrdi3.c + lshrti3.c + moddi3.c + modsi3.c + modti3.c + muldc3.c + muldf3.c + muldi3.c + mulodi4.c + mulosi4.c + muloti4.c + mulsc3.c + mulsf3.c + multi3.c + mulvdi3.c + mulvsi3.c + mulvti3.c + mulxc3.c + negdf2.c + negdi2.c + negsf2.c + negti2.c + negvdi2.c + negvsi2.c + negvti2.c + paritydi2.c + paritysi2.c + parityti2.c + popcountdi2.c + popcountsi2.c + popcountti2.c + powidf2.c + powisf2.c + powitf2.c + powixf2.c + subdf3.c + subsf3.c + subvdi3.c + subvsi3.c + subvti3.c + trampoline_setup.c + truncdfsf2.c + ucmpdi2.c + ucmpti2.c + udivdi3.c + udivmoddi4.c + udivmodsi4.c + udivmodti4.c + udivsi3.c + udivti3.c + umoddi3.c + umodsi3.c + umodti3.c) + +set(x86_64_SOURCES + x86_64/floatdidf.c + x86_64/floatdisf.c + x86_64/floatdixf.c + x86_64/floatundidf.S + x86_64/floatundisf.S + x86_64/floatundixf.S + ${GENERIC_SOURCES}) + +set(i386_SOURCES + i386/ashldi3.S + i386/ashrdi3.S + i386/divdi3.S + i386/floatdidf.S + i386/floatdisf.S + i386/floatdixf.S + i386/floatundidf.S + i386/floatundisf.S + i386/floatundixf.S + i386/lshrdi3.S + i386/moddi3.S + i386/muldi3.S + i386/udivdi3.S + i386/umoddi3.S + ${GENERIC_SOURCES}) + +set(arm_SOURCES + arm/adddf3vfp.S + arm/addsf3vfp.S + arm/aeabi_dcmp.S + arm/aeabi_fcmp.S + arm/aeabi_idivmod.S + arm/aeabi_ldivmod.S + arm/aeabi_memcmp.S + arm/aeabi_memcpy.S + arm/aeabi_memmove.S + arm/aeabi_memset.S + arm/aeabi_uidivmod.S + arm/aeabi_uldivmod.S + arm/bswapdi2.S + arm/bswapsi2.S + arm/comparesf2.S + arm/divdf3vfp.S + arm/divmodsi4.S + arm/divsf3vfp.S + arm/divsi3.S + arm/eqdf2vfp.S + arm/eqsf2vfp.S + arm/extendsfdf2vfp.S + arm/fixdfsivfp.S + arm/fixsfsivfp.S + arm/fixunsdfsivfp.S + arm/fixunssfsivfp.S + arm/floatsidfvfp.S + arm/floatsisfvfp.S + arm/floatunssidfvfp.S + arm/floatunssisfvfp.S + arm/gedf2vfp.S + arm/gesf2vfp.S + arm/gtdf2vfp.S + arm/gtsf2vfp.S + arm/ledf2vfp.S + arm/lesf2vfp.S + arm/ltdf2vfp.S + arm/ltsf2vfp.S + arm/modsi3.S + arm/muldf3vfp.S + arm/mulsf3vfp.S + arm/nedf2vfp.S + arm/negdf2vfp.S + arm/negsf2vfp.S + arm/nesf2vfp.S + arm/restore_vfp_d8_d15_regs.S + arm/save_vfp_d8_d15_regs.S + arm/subdf3vfp.S + arm/subsf3vfp.S + arm/switch16.S + arm/switch32.S + arm/switch8.S + arm/switchu8.S + arm/sync_synchronize.S + arm/truncdfsf2vfp.S + arm/udivmodsi4.S + arm/udivsi3.S + arm/umodsi3.S + arm/unorddf2vfp.S + arm/unordsf2vfp.S + ${GENERIC_SOURCES}) + +if (NOT WIN32) + foreach(arch x86_64 i386 arm) + if(CAN_TARGET_${arch}) + add_compiler_rt_static_runtime(clang_rt.${arch} ${arch} + SOURCES ${${arch}_SOURCES} + CFLAGS "-std=c99") + endif() + endforeach() +endif() diff --git a/compiler-rt/lib/builtins/Makefile.mk b/compiler-rt/lib/builtins/Makefile.mk new file mode 100644 index 000000000000..3143d91f070a --- /dev/null +++ b/compiler-rt/lib/builtins/Makefile.mk @@ -0,0 +1,22 @@ +#===- lib/builtins/Makefile.mk -----------------------------*- Makefile -*--===# +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +#===------------------------------------------------------------------------===# + +ModuleName := builtins +SubDirs := + +# Add arch specific optimized implementations. +SubDirs += i386 ppc x86_64 arm + +# Define the variables for this specific directory. +Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) +ObjNames := $(Sources:%.c=%.o) +Implementation := Generic + +# FIXME: use automatic dependencies? +Dependencies := $(wildcard $(Dir)/*.h) diff --git a/compiler-rt/lib/absvdi2.c b/compiler-rt/lib/builtins/absvdi2.c similarity index 100% rename from compiler-rt/lib/absvdi2.c rename to compiler-rt/lib/builtins/absvdi2.c diff --git a/compiler-rt/lib/absvsi2.c b/compiler-rt/lib/builtins/absvsi2.c similarity index 100% rename from compiler-rt/lib/absvsi2.c rename to compiler-rt/lib/builtins/absvsi2.c diff --git a/compiler-rt/lib/absvti2.c b/compiler-rt/lib/builtins/absvti2.c similarity index 100% rename from compiler-rt/lib/absvti2.c rename to compiler-rt/lib/builtins/absvti2.c diff --git a/compiler-rt/lib/adddf3.c b/compiler-rt/lib/builtins/adddf3.c similarity index 100% rename from compiler-rt/lib/adddf3.c rename to compiler-rt/lib/builtins/adddf3.c diff --git a/compiler-rt/lib/addsf3.c b/compiler-rt/lib/builtins/addsf3.c similarity index 100% rename from compiler-rt/lib/addsf3.c rename to compiler-rt/lib/builtins/addsf3.c diff --git a/compiler-rt/lib/addvdi3.c b/compiler-rt/lib/builtins/addvdi3.c similarity index 100% rename from compiler-rt/lib/addvdi3.c rename to compiler-rt/lib/builtins/addvdi3.c diff --git a/compiler-rt/lib/addvsi3.c b/compiler-rt/lib/builtins/addvsi3.c similarity index 100% rename from compiler-rt/lib/addvsi3.c rename to compiler-rt/lib/builtins/addvsi3.c diff --git a/compiler-rt/lib/addvti3.c b/compiler-rt/lib/builtins/addvti3.c similarity index 100% rename from compiler-rt/lib/addvti3.c rename to compiler-rt/lib/builtins/addvti3.c diff --git a/compiler-rt/lib/apple_versioning.c b/compiler-rt/lib/builtins/apple_versioning.c similarity index 100% rename from compiler-rt/lib/apple_versioning.c rename to compiler-rt/lib/builtins/apple_versioning.c diff --git a/compiler-rt/lib/arm/Makefile.mk b/compiler-rt/lib/builtins/arm/Makefile.mk similarity index 91% rename from compiler-rt/lib/arm/Makefile.mk rename to compiler-rt/lib/builtins/arm/Makefile.mk index 4aeb365c971e..ed2e8323e391 100644 --- a/compiler-rt/lib/arm/Makefile.mk +++ b/compiler-rt/lib/builtins/arm/Makefile.mk @@ -1,4 +1,4 @@ -#===- lib/arm/Makefile.mk ----------------------------------*- Makefile -*--===# +#===- lib/builtins/arm/Makefile.mk -------------------------*- Makefile -*--===# # # The LLVM Compiler Infrastructure # diff --git a/compiler-rt/lib/arm/adddf3vfp.S b/compiler-rt/lib/builtins/arm/adddf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/adddf3vfp.S rename to compiler-rt/lib/builtins/arm/adddf3vfp.S diff --git a/compiler-rt/lib/arm/addsf3vfp.S b/compiler-rt/lib/builtins/arm/addsf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/addsf3vfp.S rename to compiler-rt/lib/builtins/arm/addsf3vfp.S diff --git a/compiler-rt/lib/arm/aeabi_dcmp.S b/compiler-rt/lib/builtins/arm/aeabi_dcmp.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_dcmp.S rename to compiler-rt/lib/builtins/arm/aeabi_dcmp.S diff --git a/compiler-rt/lib/arm/aeabi_fcmp.S b/compiler-rt/lib/builtins/arm/aeabi_fcmp.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_fcmp.S rename to compiler-rt/lib/builtins/arm/aeabi_fcmp.S diff --git a/compiler-rt/lib/arm/aeabi_idivmod.S b/compiler-rt/lib/builtins/arm/aeabi_idivmod.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_idivmod.S rename to compiler-rt/lib/builtins/arm/aeabi_idivmod.S diff --git a/compiler-rt/lib/arm/aeabi_ldivmod.S b/compiler-rt/lib/builtins/arm/aeabi_ldivmod.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_ldivmod.S rename to compiler-rt/lib/builtins/arm/aeabi_ldivmod.S diff --git a/compiler-rt/lib/arm/aeabi_memcmp.S b/compiler-rt/lib/builtins/arm/aeabi_memcmp.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_memcmp.S rename to compiler-rt/lib/builtins/arm/aeabi_memcmp.S diff --git a/compiler-rt/lib/arm/aeabi_memcpy.S b/compiler-rt/lib/builtins/arm/aeabi_memcpy.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_memcpy.S rename to compiler-rt/lib/builtins/arm/aeabi_memcpy.S diff --git a/compiler-rt/lib/arm/aeabi_memmove.S b/compiler-rt/lib/builtins/arm/aeabi_memmove.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_memmove.S rename to compiler-rt/lib/builtins/arm/aeabi_memmove.S diff --git a/compiler-rt/lib/arm/aeabi_memset.S b/compiler-rt/lib/builtins/arm/aeabi_memset.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_memset.S rename to compiler-rt/lib/builtins/arm/aeabi_memset.S diff --git a/compiler-rt/lib/arm/aeabi_uidivmod.S b/compiler-rt/lib/builtins/arm/aeabi_uidivmod.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_uidivmod.S rename to compiler-rt/lib/builtins/arm/aeabi_uidivmod.S diff --git a/compiler-rt/lib/arm/aeabi_uldivmod.S b/compiler-rt/lib/builtins/arm/aeabi_uldivmod.S similarity index 100% rename from compiler-rt/lib/arm/aeabi_uldivmod.S rename to compiler-rt/lib/builtins/arm/aeabi_uldivmod.S diff --git a/compiler-rt/lib/arm/bswapdi2.S b/compiler-rt/lib/builtins/arm/bswapdi2.S similarity index 100% rename from compiler-rt/lib/arm/bswapdi2.S rename to compiler-rt/lib/builtins/arm/bswapdi2.S diff --git a/compiler-rt/lib/arm/bswapsi2.S b/compiler-rt/lib/builtins/arm/bswapsi2.S similarity index 100% rename from compiler-rt/lib/arm/bswapsi2.S rename to compiler-rt/lib/builtins/arm/bswapsi2.S diff --git a/compiler-rt/lib/arm/clzdi2.S b/compiler-rt/lib/builtins/arm/clzdi2.S similarity index 100% rename from compiler-rt/lib/arm/clzdi2.S rename to compiler-rt/lib/builtins/arm/clzdi2.S diff --git a/compiler-rt/lib/arm/clzsi2.S b/compiler-rt/lib/builtins/arm/clzsi2.S similarity index 100% rename from compiler-rt/lib/arm/clzsi2.S rename to compiler-rt/lib/builtins/arm/clzsi2.S diff --git a/compiler-rt/lib/arm/comparesf2.S b/compiler-rt/lib/builtins/arm/comparesf2.S similarity index 100% rename from compiler-rt/lib/arm/comparesf2.S rename to compiler-rt/lib/builtins/arm/comparesf2.S diff --git a/compiler-rt/lib/arm/divdf3vfp.S b/compiler-rt/lib/builtins/arm/divdf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/divdf3vfp.S rename to compiler-rt/lib/builtins/arm/divdf3vfp.S diff --git a/compiler-rt/lib/arm/divmodsi4.S b/compiler-rt/lib/builtins/arm/divmodsi4.S similarity index 100% rename from compiler-rt/lib/arm/divmodsi4.S rename to compiler-rt/lib/builtins/arm/divmodsi4.S diff --git a/compiler-rt/lib/arm/divsf3vfp.S b/compiler-rt/lib/builtins/arm/divsf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/divsf3vfp.S rename to compiler-rt/lib/builtins/arm/divsf3vfp.S diff --git a/compiler-rt/lib/arm/divsi3.S b/compiler-rt/lib/builtins/arm/divsi3.S similarity index 100% rename from compiler-rt/lib/arm/divsi3.S rename to compiler-rt/lib/builtins/arm/divsi3.S diff --git a/compiler-rt/lib/arm/eqdf2vfp.S b/compiler-rt/lib/builtins/arm/eqdf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/eqdf2vfp.S rename to compiler-rt/lib/builtins/arm/eqdf2vfp.S diff --git a/compiler-rt/lib/arm/eqsf2vfp.S b/compiler-rt/lib/builtins/arm/eqsf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/eqsf2vfp.S rename to compiler-rt/lib/builtins/arm/eqsf2vfp.S diff --git a/compiler-rt/lib/arm/extendsfdf2vfp.S b/compiler-rt/lib/builtins/arm/extendsfdf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/extendsfdf2vfp.S rename to compiler-rt/lib/builtins/arm/extendsfdf2vfp.S diff --git a/compiler-rt/lib/arm/fixdfsivfp.S b/compiler-rt/lib/builtins/arm/fixdfsivfp.S similarity index 100% rename from compiler-rt/lib/arm/fixdfsivfp.S rename to compiler-rt/lib/builtins/arm/fixdfsivfp.S diff --git a/compiler-rt/lib/arm/fixsfsivfp.S b/compiler-rt/lib/builtins/arm/fixsfsivfp.S similarity index 100% rename from compiler-rt/lib/arm/fixsfsivfp.S rename to compiler-rt/lib/builtins/arm/fixsfsivfp.S diff --git a/compiler-rt/lib/arm/fixunsdfsivfp.S b/compiler-rt/lib/builtins/arm/fixunsdfsivfp.S similarity index 100% rename from compiler-rt/lib/arm/fixunsdfsivfp.S rename to compiler-rt/lib/builtins/arm/fixunsdfsivfp.S diff --git a/compiler-rt/lib/arm/fixunssfsivfp.S b/compiler-rt/lib/builtins/arm/fixunssfsivfp.S similarity index 100% rename from compiler-rt/lib/arm/fixunssfsivfp.S rename to compiler-rt/lib/builtins/arm/fixunssfsivfp.S diff --git a/compiler-rt/lib/arm/floatsidfvfp.S b/compiler-rt/lib/builtins/arm/floatsidfvfp.S similarity index 100% rename from compiler-rt/lib/arm/floatsidfvfp.S rename to compiler-rt/lib/builtins/arm/floatsidfvfp.S diff --git a/compiler-rt/lib/arm/floatsisfvfp.S b/compiler-rt/lib/builtins/arm/floatsisfvfp.S similarity index 100% rename from compiler-rt/lib/arm/floatsisfvfp.S rename to compiler-rt/lib/builtins/arm/floatsisfvfp.S diff --git a/compiler-rt/lib/arm/floatunssidfvfp.S b/compiler-rt/lib/builtins/arm/floatunssidfvfp.S similarity index 100% rename from compiler-rt/lib/arm/floatunssidfvfp.S rename to compiler-rt/lib/builtins/arm/floatunssidfvfp.S diff --git a/compiler-rt/lib/arm/floatunssisfvfp.S b/compiler-rt/lib/builtins/arm/floatunssisfvfp.S similarity index 100% rename from compiler-rt/lib/arm/floatunssisfvfp.S rename to compiler-rt/lib/builtins/arm/floatunssisfvfp.S diff --git a/compiler-rt/lib/arm/gedf2vfp.S b/compiler-rt/lib/builtins/arm/gedf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/gedf2vfp.S rename to compiler-rt/lib/builtins/arm/gedf2vfp.S diff --git a/compiler-rt/lib/arm/gesf2vfp.S b/compiler-rt/lib/builtins/arm/gesf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/gesf2vfp.S rename to compiler-rt/lib/builtins/arm/gesf2vfp.S diff --git a/compiler-rt/lib/arm/gtdf2vfp.S b/compiler-rt/lib/builtins/arm/gtdf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/gtdf2vfp.S rename to compiler-rt/lib/builtins/arm/gtdf2vfp.S diff --git a/compiler-rt/lib/arm/gtsf2vfp.S b/compiler-rt/lib/builtins/arm/gtsf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/gtsf2vfp.S rename to compiler-rt/lib/builtins/arm/gtsf2vfp.S diff --git a/compiler-rt/lib/arm/ledf2vfp.S b/compiler-rt/lib/builtins/arm/ledf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/ledf2vfp.S rename to compiler-rt/lib/builtins/arm/ledf2vfp.S diff --git a/compiler-rt/lib/arm/lesf2vfp.S b/compiler-rt/lib/builtins/arm/lesf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/lesf2vfp.S rename to compiler-rt/lib/builtins/arm/lesf2vfp.S diff --git a/compiler-rt/lib/arm/ltdf2vfp.S b/compiler-rt/lib/builtins/arm/ltdf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/ltdf2vfp.S rename to compiler-rt/lib/builtins/arm/ltdf2vfp.S diff --git a/compiler-rt/lib/arm/ltsf2vfp.S b/compiler-rt/lib/builtins/arm/ltsf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/ltsf2vfp.S rename to compiler-rt/lib/builtins/arm/ltsf2vfp.S diff --git a/compiler-rt/lib/arm/modsi3.S b/compiler-rt/lib/builtins/arm/modsi3.S similarity index 100% rename from compiler-rt/lib/arm/modsi3.S rename to compiler-rt/lib/builtins/arm/modsi3.S diff --git a/compiler-rt/lib/arm/muldf3vfp.S b/compiler-rt/lib/builtins/arm/muldf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/muldf3vfp.S rename to compiler-rt/lib/builtins/arm/muldf3vfp.S diff --git a/compiler-rt/lib/arm/mulsf3vfp.S b/compiler-rt/lib/builtins/arm/mulsf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/mulsf3vfp.S rename to compiler-rt/lib/builtins/arm/mulsf3vfp.S diff --git a/compiler-rt/lib/arm/nedf2vfp.S b/compiler-rt/lib/builtins/arm/nedf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/nedf2vfp.S rename to compiler-rt/lib/builtins/arm/nedf2vfp.S diff --git a/compiler-rt/lib/arm/negdf2vfp.S b/compiler-rt/lib/builtins/arm/negdf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/negdf2vfp.S rename to compiler-rt/lib/builtins/arm/negdf2vfp.S diff --git a/compiler-rt/lib/arm/negsf2vfp.S b/compiler-rt/lib/builtins/arm/negsf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/negsf2vfp.S rename to compiler-rt/lib/builtins/arm/negsf2vfp.S diff --git a/compiler-rt/lib/arm/nesf2vfp.S b/compiler-rt/lib/builtins/arm/nesf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/nesf2vfp.S rename to compiler-rt/lib/builtins/arm/nesf2vfp.S diff --git a/compiler-rt/lib/arm/restore_vfp_d8_d15_regs.S b/compiler-rt/lib/builtins/arm/restore_vfp_d8_d15_regs.S similarity index 100% rename from compiler-rt/lib/arm/restore_vfp_d8_d15_regs.S rename to compiler-rt/lib/builtins/arm/restore_vfp_d8_d15_regs.S diff --git a/compiler-rt/lib/arm/save_vfp_d8_d15_regs.S b/compiler-rt/lib/builtins/arm/save_vfp_d8_d15_regs.S similarity index 100% rename from compiler-rt/lib/arm/save_vfp_d8_d15_regs.S rename to compiler-rt/lib/builtins/arm/save_vfp_d8_d15_regs.S diff --git a/compiler-rt/lib/arm/softfloat-alias.list b/compiler-rt/lib/builtins/arm/softfloat-alias.list similarity index 100% rename from compiler-rt/lib/arm/softfloat-alias.list rename to compiler-rt/lib/builtins/arm/softfloat-alias.list diff --git a/compiler-rt/lib/arm/subdf3vfp.S b/compiler-rt/lib/builtins/arm/subdf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/subdf3vfp.S rename to compiler-rt/lib/builtins/arm/subdf3vfp.S diff --git a/compiler-rt/lib/arm/subsf3vfp.S b/compiler-rt/lib/builtins/arm/subsf3vfp.S similarity index 100% rename from compiler-rt/lib/arm/subsf3vfp.S rename to compiler-rt/lib/builtins/arm/subsf3vfp.S diff --git a/compiler-rt/lib/arm/switch16.S b/compiler-rt/lib/builtins/arm/switch16.S similarity index 100% rename from compiler-rt/lib/arm/switch16.S rename to compiler-rt/lib/builtins/arm/switch16.S diff --git a/compiler-rt/lib/arm/switch32.S b/compiler-rt/lib/builtins/arm/switch32.S similarity index 100% rename from compiler-rt/lib/arm/switch32.S rename to compiler-rt/lib/builtins/arm/switch32.S diff --git a/compiler-rt/lib/arm/switch8.S b/compiler-rt/lib/builtins/arm/switch8.S similarity index 100% rename from compiler-rt/lib/arm/switch8.S rename to compiler-rt/lib/builtins/arm/switch8.S diff --git a/compiler-rt/lib/arm/switchu8.S b/compiler-rt/lib/builtins/arm/switchu8.S similarity index 100% rename from compiler-rt/lib/arm/switchu8.S rename to compiler-rt/lib/builtins/arm/switchu8.S diff --git a/compiler-rt/lib/arm/sync_synchronize.S b/compiler-rt/lib/builtins/arm/sync_synchronize.S similarity index 100% rename from compiler-rt/lib/arm/sync_synchronize.S rename to compiler-rt/lib/builtins/arm/sync_synchronize.S diff --git a/compiler-rt/lib/arm/truncdfsf2vfp.S b/compiler-rt/lib/builtins/arm/truncdfsf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/truncdfsf2vfp.S rename to compiler-rt/lib/builtins/arm/truncdfsf2vfp.S diff --git a/compiler-rt/lib/arm/udivmodsi4.S b/compiler-rt/lib/builtins/arm/udivmodsi4.S similarity index 100% rename from compiler-rt/lib/arm/udivmodsi4.S rename to compiler-rt/lib/builtins/arm/udivmodsi4.S diff --git a/compiler-rt/lib/arm/udivsi3.S b/compiler-rt/lib/builtins/arm/udivsi3.S similarity index 100% rename from compiler-rt/lib/arm/udivsi3.S rename to compiler-rt/lib/builtins/arm/udivsi3.S diff --git a/compiler-rt/lib/arm/umodsi3.S b/compiler-rt/lib/builtins/arm/umodsi3.S similarity index 100% rename from compiler-rt/lib/arm/umodsi3.S rename to compiler-rt/lib/builtins/arm/umodsi3.S diff --git a/compiler-rt/lib/arm/unorddf2vfp.S b/compiler-rt/lib/builtins/arm/unorddf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/unorddf2vfp.S rename to compiler-rt/lib/builtins/arm/unorddf2vfp.S diff --git a/compiler-rt/lib/arm/unordsf2vfp.S b/compiler-rt/lib/builtins/arm/unordsf2vfp.S similarity index 100% rename from compiler-rt/lib/arm/unordsf2vfp.S rename to compiler-rt/lib/builtins/arm/unordsf2vfp.S diff --git a/compiler-rt/lib/ashldi3.c b/compiler-rt/lib/builtins/ashldi3.c similarity index 100% rename from compiler-rt/lib/ashldi3.c rename to compiler-rt/lib/builtins/ashldi3.c diff --git a/compiler-rt/lib/ashlti3.c b/compiler-rt/lib/builtins/ashlti3.c similarity index 100% rename from compiler-rt/lib/ashlti3.c rename to compiler-rt/lib/builtins/ashlti3.c diff --git a/compiler-rt/lib/ashrdi3.c b/compiler-rt/lib/builtins/ashrdi3.c similarity index 100% rename from compiler-rt/lib/ashrdi3.c rename to compiler-rt/lib/builtins/ashrdi3.c diff --git a/compiler-rt/lib/ashrti3.c b/compiler-rt/lib/builtins/ashrti3.c similarity index 100% rename from compiler-rt/lib/ashrti3.c rename to compiler-rt/lib/builtins/ashrti3.c diff --git a/compiler-rt/lib/assembly.h b/compiler-rt/lib/builtins/assembly.h similarity index 100% rename from compiler-rt/lib/assembly.h rename to compiler-rt/lib/builtins/assembly.h diff --git a/compiler-rt/lib/atomic.c b/compiler-rt/lib/builtins/atomic.c similarity index 100% rename from compiler-rt/lib/atomic.c rename to compiler-rt/lib/builtins/atomic.c diff --git a/compiler-rt/lib/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c similarity index 100% rename from compiler-rt/lib/clear_cache.c rename to compiler-rt/lib/builtins/clear_cache.c diff --git a/compiler-rt/lib/clzdi2.c b/compiler-rt/lib/builtins/clzdi2.c similarity index 100% rename from compiler-rt/lib/clzdi2.c rename to compiler-rt/lib/builtins/clzdi2.c diff --git a/compiler-rt/lib/clzsi2.c b/compiler-rt/lib/builtins/clzsi2.c similarity index 100% rename from compiler-rt/lib/clzsi2.c rename to compiler-rt/lib/builtins/clzsi2.c diff --git a/compiler-rt/lib/clzti2.c b/compiler-rt/lib/builtins/clzti2.c similarity index 100% rename from compiler-rt/lib/clzti2.c rename to compiler-rt/lib/builtins/clzti2.c diff --git a/compiler-rt/lib/cmpdi2.c b/compiler-rt/lib/builtins/cmpdi2.c similarity index 100% rename from compiler-rt/lib/cmpdi2.c rename to compiler-rt/lib/builtins/cmpdi2.c diff --git a/compiler-rt/lib/cmpti2.c b/compiler-rt/lib/builtins/cmpti2.c similarity index 100% rename from compiler-rt/lib/cmpti2.c rename to compiler-rt/lib/builtins/cmpti2.c diff --git a/compiler-rt/lib/comparedf2.c b/compiler-rt/lib/builtins/comparedf2.c similarity index 100% rename from compiler-rt/lib/comparedf2.c rename to compiler-rt/lib/builtins/comparedf2.c diff --git a/compiler-rt/lib/comparesf2.c b/compiler-rt/lib/builtins/comparesf2.c similarity index 100% rename from compiler-rt/lib/comparesf2.c rename to compiler-rt/lib/builtins/comparesf2.c diff --git a/compiler-rt/lib/ctzdi2.c b/compiler-rt/lib/builtins/ctzdi2.c similarity index 100% rename from compiler-rt/lib/ctzdi2.c rename to compiler-rt/lib/builtins/ctzdi2.c diff --git a/compiler-rt/lib/ctzsi2.c b/compiler-rt/lib/builtins/ctzsi2.c similarity index 100% rename from compiler-rt/lib/ctzsi2.c rename to compiler-rt/lib/builtins/ctzsi2.c diff --git a/compiler-rt/lib/ctzti2.c b/compiler-rt/lib/builtins/ctzti2.c similarity index 100% rename from compiler-rt/lib/ctzti2.c rename to compiler-rt/lib/builtins/ctzti2.c diff --git a/compiler-rt/lib/divdc3.c b/compiler-rt/lib/builtins/divdc3.c similarity index 100% rename from compiler-rt/lib/divdc3.c rename to compiler-rt/lib/builtins/divdc3.c diff --git a/compiler-rt/lib/divdf3.c b/compiler-rt/lib/builtins/divdf3.c similarity index 100% rename from compiler-rt/lib/divdf3.c rename to compiler-rt/lib/builtins/divdf3.c diff --git a/compiler-rt/lib/divdi3.c b/compiler-rt/lib/builtins/divdi3.c similarity index 100% rename from compiler-rt/lib/divdi3.c rename to compiler-rt/lib/builtins/divdi3.c diff --git a/compiler-rt/lib/divmoddi4.c b/compiler-rt/lib/builtins/divmoddi4.c similarity index 100% rename from compiler-rt/lib/divmoddi4.c rename to compiler-rt/lib/builtins/divmoddi4.c diff --git a/compiler-rt/lib/divmodsi4.c b/compiler-rt/lib/builtins/divmodsi4.c similarity index 100% rename from compiler-rt/lib/divmodsi4.c rename to compiler-rt/lib/builtins/divmodsi4.c diff --git a/compiler-rt/lib/divsc3.c b/compiler-rt/lib/builtins/divsc3.c similarity index 100% rename from compiler-rt/lib/divsc3.c rename to compiler-rt/lib/builtins/divsc3.c diff --git a/compiler-rt/lib/divsf3.c b/compiler-rt/lib/builtins/divsf3.c similarity index 100% rename from compiler-rt/lib/divsf3.c rename to compiler-rt/lib/builtins/divsf3.c diff --git a/compiler-rt/lib/divsi3.c b/compiler-rt/lib/builtins/divsi3.c similarity index 100% rename from compiler-rt/lib/divsi3.c rename to compiler-rt/lib/builtins/divsi3.c diff --git a/compiler-rt/lib/divti3.c b/compiler-rt/lib/builtins/divti3.c similarity index 100% rename from compiler-rt/lib/divti3.c rename to compiler-rt/lib/builtins/divti3.c diff --git a/compiler-rt/lib/divxc3.c b/compiler-rt/lib/builtins/divxc3.c similarity index 100% rename from compiler-rt/lib/divxc3.c rename to compiler-rt/lib/builtins/divxc3.c diff --git a/compiler-rt/lib/enable_execute_stack.c b/compiler-rt/lib/builtins/enable_execute_stack.c similarity index 100% rename from compiler-rt/lib/enable_execute_stack.c rename to compiler-rt/lib/builtins/enable_execute_stack.c diff --git a/compiler-rt/lib/eprintf.c b/compiler-rt/lib/builtins/eprintf.c similarity index 100% rename from compiler-rt/lib/eprintf.c rename to compiler-rt/lib/builtins/eprintf.c diff --git a/compiler-rt/lib/extendsfdf2.c b/compiler-rt/lib/builtins/extendsfdf2.c similarity index 100% rename from compiler-rt/lib/extendsfdf2.c rename to compiler-rt/lib/builtins/extendsfdf2.c diff --git a/compiler-rt/lib/ffsdi2.c b/compiler-rt/lib/builtins/ffsdi2.c similarity index 100% rename from compiler-rt/lib/ffsdi2.c rename to compiler-rt/lib/builtins/ffsdi2.c diff --git a/compiler-rt/lib/ffsti2.c b/compiler-rt/lib/builtins/ffsti2.c similarity index 100% rename from compiler-rt/lib/ffsti2.c rename to compiler-rt/lib/builtins/ffsti2.c diff --git a/compiler-rt/lib/fixdfdi.c b/compiler-rt/lib/builtins/fixdfdi.c similarity index 100% rename from compiler-rt/lib/fixdfdi.c rename to compiler-rt/lib/builtins/fixdfdi.c diff --git a/compiler-rt/lib/fixdfsi.c b/compiler-rt/lib/builtins/fixdfsi.c similarity index 100% rename from compiler-rt/lib/fixdfsi.c rename to compiler-rt/lib/builtins/fixdfsi.c diff --git a/compiler-rt/lib/fixdfti.c b/compiler-rt/lib/builtins/fixdfti.c similarity index 100% rename from compiler-rt/lib/fixdfti.c rename to compiler-rt/lib/builtins/fixdfti.c diff --git a/compiler-rt/lib/fixsfdi.c b/compiler-rt/lib/builtins/fixsfdi.c similarity index 100% rename from compiler-rt/lib/fixsfdi.c rename to compiler-rt/lib/builtins/fixsfdi.c diff --git a/compiler-rt/lib/fixsfsi.c b/compiler-rt/lib/builtins/fixsfsi.c similarity index 100% rename from compiler-rt/lib/fixsfsi.c rename to compiler-rt/lib/builtins/fixsfsi.c diff --git a/compiler-rt/lib/fixsfti.c b/compiler-rt/lib/builtins/fixsfti.c similarity index 100% rename from compiler-rt/lib/fixsfti.c rename to compiler-rt/lib/builtins/fixsfti.c diff --git a/compiler-rt/lib/fixunsdfdi.c b/compiler-rt/lib/builtins/fixunsdfdi.c similarity index 100% rename from compiler-rt/lib/fixunsdfdi.c rename to compiler-rt/lib/builtins/fixunsdfdi.c diff --git a/compiler-rt/lib/fixunsdfsi.c b/compiler-rt/lib/builtins/fixunsdfsi.c similarity index 100% rename from compiler-rt/lib/fixunsdfsi.c rename to compiler-rt/lib/builtins/fixunsdfsi.c diff --git a/compiler-rt/lib/fixunsdfti.c b/compiler-rt/lib/builtins/fixunsdfti.c similarity index 100% rename from compiler-rt/lib/fixunsdfti.c rename to compiler-rt/lib/builtins/fixunsdfti.c diff --git a/compiler-rt/lib/fixunssfdi.c b/compiler-rt/lib/builtins/fixunssfdi.c similarity index 100% rename from compiler-rt/lib/fixunssfdi.c rename to compiler-rt/lib/builtins/fixunssfdi.c diff --git a/compiler-rt/lib/fixunssfsi.c b/compiler-rt/lib/builtins/fixunssfsi.c similarity index 100% rename from compiler-rt/lib/fixunssfsi.c rename to compiler-rt/lib/builtins/fixunssfsi.c diff --git a/compiler-rt/lib/fixunssfti.c b/compiler-rt/lib/builtins/fixunssfti.c similarity index 100% rename from compiler-rt/lib/fixunssfti.c rename to compiler-rt/lib/builtins/fixunssfti.c diff --git a/compiler-rt/lib/fixunsxfdi.c b/compiler-rt/lib/builtins/fixunsxfdi.c similarity index 100% rename from compiler-rt/lib/fixunsxfdi.c rename to compiler-rt/lib/builtins/fixunsxfdi.c diff --git a/compiler-rt/lib/fixunsxfsi.c b/compiler-rt/lib/builtins/fixunsxfsi.c similarity index 100% rename from compiler-rt/lib/fixunsxfsi.c rename to compiler-rt/lib/builtins/fixunsxfsi.c diff --git a/compiler-rt/lib/fixunsxfti.c b/compiler-rt/lib/builtins/fixunsxfti.c similarity index 100% rename from compiler-rt/lib/fixunsxfti.c rename to compiler-rt/lib/builtins/fixunsxfti.c diff --git a/compiler-rt/lib/fixxfdi.c b/compiler-rt/lib/builtins/fixxfdi.c similarity index 100% rename from compiler-rt/lib/fixxfdi.c rename to compiler-rt/lib/builtins/fixxfdi.c diff --git a/compiler-rt/lib/fixxfti.c b/compiler-rt/lib/builtins/fixxfti.c similarity index 100% rename from compiler-rt/lib/fixxfti.c rename to compiler-rt/lib/builtins/fixxfti.c diff --git a/compiler-rt/lib/floatdidf.c b/compiler-rt/lib/builtins/floatdidf.c similarity index 100% rename from compiler-rt/lib/floatdidf.c rename to compiler-rt/lib/builtins/floatdidf.c diff --git a/compiler-rt/lib/floatdisf.c b/compiler-rt/lib/builtins/floatdisf.c similarity index 100% rename from compiler-rt/lib/floatdisf.c rename to compiler-rt/lib/builtins/floatdisf.c diff --git a/compiler-rt/lib/floatdixf.c b/compiler-rt/lib/builtins/floatdixf.c similarity index 100% rename from compiler-rt/lib/floatdixf.c rename to compiler-rt/lib/builtins/floatdixf.c diff --git a/compiler-rt/lib/floatsidf.c b/compiler-rt/lib/builtins/floatsidf.c similarity index 100% rename from compiler-rt/lib/floatsidf.c rename to compiler-rt/lib/builtins/floatsidf.c diff --git a/compiler-rt/lib/floatsisf.c b/compiler-rt/lib/builtins/floatsisf.c similarity index 100% rename from compiler-rt/lib/floatsisf.c rename to compiler-rt/lib/builtins/floatsisf.c diff --git a/compiler-rt/lib/floattidf.c b/compiler-rt/lib/builtins/floattidf.c similarity index 100% rename from compiler-rt/lib/floattidf.c rename to compiler-rt/lib/builtins/floattidf.c diff --git a/compiler-rt/lib/floattisf.c b/compiler-rt/lib/builtins/floattisf.c similarity index 100% rename from compiler-rt/lib/floattisf.c rename to compiler-rt/lib/builtins/floattisf.c diff --git a/compiler-rt/lib/floattixf.c b/compiler-rt/lib/builtins/floattixf.c similarity index 100% rename from compiler-rt/lib/floattixf.c rename to compiler-rt/lib/builtins/floattixf.c diff --git a/compiler-rt/lib/floatundidf.c b/compiler-rt/lib/builtins/floatundidf.c similarity index 100% rename from compiler-rt/lib/floatundidf.c rename to compiler-rt/lib/builtins/floatundidf.c diff --git a/compiler-rt/lib/floatundisf.c b/compiler-rt/lib/builtins/floatundisf.c similarity index 100% rename from compiler-rt/lib/floatundisf.c rename to compiler-rt/lib/builtins/floatundisf.c diff --git a/compiler-rt/lib/floatundixf.c b/compiler-rt/lib/builtins/floatundixf.c similarity index 100% rename from compiler-rt/lib/floatundixf.c rename to compiler-rt/lib/builtins/floatundixf.c diff --git a/compiler-rt/lib/floatunsidf.c b/compiler-rt/lib/builtins/floatunsidf.c similarity index 100% rename from compiler-rt/lib/floatunsidf.c rename to compiler-rt/lib/builtins/floatunsidf.c diff --git a/compiler-rt/lib/floatunsisf.c b/compiler-rt/lib/builtins/floatunsisf.c similarity index 100% rename from compiler-rt/lib/floatunsisf.c rename to compiler-rt/lib/builtins/floatunsisf.c diff --git a/compiler-rt/lib/floatuntidf.c b/compiler-rt/lib/builtins/floatuntidf.c similarity index 100% rename from compiler-rt/lib/floatuntidf.c rename to compiler-rt/lib/builtins/floatuntidf.c diff --git a/compiler-rt/lib/floatuntisf.c b/compiler-rt/lib/builtins/floatuntisf.c similarity index 100% rename from compiler-rt/lib/floatuntisf.c rename to compiler-rt/lib/builtins/floatuntisf.c diff --git a/compiler-rt/lib/floatuntixf.c b/compiler-rt/lib/builtins/floatuntixf.c similarity index 100% rename from compiler-rt/lib/floatuntixf.c rename to compiler-rt/lib/builtins/floatuntixf.c diff --git a/compiler-rt/lib/fp_lib.h b/compiler-rt/lib/builtins/fp_lib.h similarity index 100% rename from compiler-rt/lib/fp_lib.h rename to compiler-rt/lib/builtins/fp_lib.h diff --git a/compiler-rt/lib/gcc_personality_v0.c b/compiler-rt/lib/builtins/gcc_personality_v0.c similarity index 100% rename from compiler-rt/lib/gcc_personality_v0.c rename to compiler-rt/lib/builtins/gcc_personality_v0.c diff --git a/compiler-rt/lib/i386/Makefile.mk b/compiler-rt/lib/builtins/i386/Makefile.mk similarity index 90% rename from compiler-rt/lib/i386/Makefile.mk rename to compiler-rt/lib/builtins/i386/Makefile.mk index 1f5c680c08f5..f3776a02c0de 100644 --- a/compiler-rt/lib/i386/Makefile.mk +++ b/compiler-rt/lib/builtins/i386/Makefile.mk @@ -1,4 +1,4 @@ -#===- lib/i386/Makefile.mk ---------------------------------*- Makefile -*--===# +#===- lib/builtins/i386/Makefile.mk ------------------------*- Makefile -*--===# # # The LLVM Compiler Infrastructure # diff --git a/compiler-rt/lib/i386/ashldi3.S b/compiler-rt/lib/builtins/i386/ashldi3.S similarity index 100% rename from compiler-rt/lib/i386/ashldi3.S rename to compiler-rt/lib/builtins/i386/ashldi3.S diff --git a/compiler-rt/lib/i386/ashrdi3.S b/compiler-rt/lib/builtins/i386/ashrdi3.S similarity index 100% rename from compiler-rt/lib/i386/ashrdi3.S rename to compiler-rt/lib/builtins/i386/ashrdi3.S diff --git a/compiler-rt/lib/i386/divdi3.S b/compiler-rt/lib/builtins/i386/divdi3.S similarity index 100% rename from compiler-rt/lib/i386/divdi3.S rename to compiler-rt/lib/builtins/i386/divdi3.S diff --git a/compiler-rt/lib/i386/floatdidf.S b/compiler-rt/lib/builtins/i386/floatdidf.S similarity index 100% rename from compiler-rt/lib/i386/floatdidf.S rename to compiler-rt/lib/builtins/i386/floatdidf.S diff --git a/compiler-rt/lib/i386/floatdisf.S b/compiler-rt/lib/builtins/i386/floatdisf.S similarity index 100% rename from compiler-rt/lib/i386/floatdisf.S rename to compiler-rt/lib/builtins/i386/floatdisf.S diff --git a/compiler-rt/lib/i386/floatdixf.S b/compiler-rt/lib/builtins/i386/floatdixf.S similarity index 100% rename from compiler-rt/lib/i386/floatdixf.S rename to compiler-rt/lib/builtins/i386/floatdixf.S diff --git a/compiler-rt/lib/i386/floatundidf.S b/compiler-rt/lib/builtins/i386/floatundidf.S similarity index 100% rename from compiler-rt/lib/i386/floatundidf.S rename to compiler-rt/lib/builtins/i386/floatundidf.S diff --git a/compiler-rt/lib/i386/floatundisf.S b/compiler-rt/lib/builtins/i386/floatundisf.S similarity index 100% rename from compiler-rt/lib/i386/floatundisf.S rename to compiler-rt/lib/builtins/i386/floatundisf.S diff --git a/compiler-rt/lib/i386/floatundixf.S b/compiler-rt/lib/builtins/i386/floatundixf.S similarity index 100% rename from compiler-rt/lib/i386/floatundixf.S rename to compiler-rt/lib/builtins/i386/floatundixf.S diff --git a/compiler-rt/lib/i386/lshrdi3.S b/compiler-rt/lib/builtins/i386/lshrdi3.S similarity index 100% rename from compiler-rt/lib/i386/lshrdi3.S rename to compiler-rt/lib/builtins/i386/lshrdi3.S diff --git a/compiler-rt/lib/i386/moddi3.S b/compiler-rt/lib/builtins/i386/moddi3.S similarity index 100% rename from compiler-rt/lib/i386/moddi3.S rename to compiler-rt/lib/builtins/i386/moddi3.S diff --git a/compiler-rt/lib/i386/muldi3.S b/compiler-rt/lib/builtins/i386/muldi3.S similarity index 100% rename from compiler-rt/lib/i386/muldi3.S rename to compiler-rt/lib/builtins/i386/muldi3.S diff --git a/compiler-rt/lib/i386/udivdi3.S b/compiler-rt/lib/builtins/i386/udivdi3.S similarity index 100% rename from compiler-rt/lib/i386/udivdi3.S rename to compiler-rt/lib/builtins/i386/udivdi3.S diff --git a/compiler-rt/lib/i386/umoddi3.S b/compiler-rt/lib/builtins/i386/umoddi3.S similarity index 100% rename from compiler-rt/lib/i386/umoddi3.S rename to compiler-rt/lib/builtins/i386/umoddi3.S diff --git a/compiler-rt/lib/int_endianness.h b/compiler-rt/lib/builtins/int_endianness.h similarity index 100% rename from compiler-rt/lib/int_endianness.h rename to compiler-rt/lib/builtins/int_endianness.h diff --git a/compiler-rt/lib/int_lib.h b/compiler-rt/lib/builtins/int_lib.h similarity index 100% rename from compiler-rt/lib/int_lib.h rename to compiler-rt/lib/builtins/int_lib.h diff --git a/compiler-rt/lib/int_math.h b/compiler-rt/lib/builtins/int_math.h similarity index 100% rename from compiler-rt/lib/int_math.h rename to compiler-rt/lib/builtins/int_math.h diff --git a/compiler-rt/lib/int_types.h b/compiler-rt/lib/builtins/int_types.h similarity index 100% rename from compiler-rt/lib/int_types.h rename to compiler-rt/lib/builtins/int_types.h diff --git a/compiler-rt/lib/int_util.c b/compiler-rt/lib/builtins/int_util.c similarity index 100% rename from compiler-rt/lib/int_util.c rename to compiler-rt/lib/builtins/int_util.c diff --git a/compiler-rt/lib/int_util.h b/compiler-rt/lib/builtins/int_util.h similarity index 100% rename from compiler-rt/lib/int_util.h rename to compiler-rt/lib/builtins/int_util.h diff --git a/compiler-rt/lib/lshrdi3.c b/compiler-rt/lib/builtins/lshrdi3.c similarity index 100% rename from compiler-rt/lib/lshrdi3.c rename to compiler-rt/lib/builtins/lshrdi3.c diff --git a/compiler-rt/lib/lshrti3.c b/compiler-rt/lib/builtins/lshrti3.c similarity index 100% rename from compiler-rt/lib/lshrti3.c rename to compiler-rt/lib/builtins/lshrti3.c diff --git a/compiler-rt/lib/moddi3.c b/compiler-rt/lib/builtins/moddi3.c similarity index 100% rename from compiler-rt/lib/moddi3.c rename to compiler-rt/lib/builtins/moddi3.c diff --git a/compiler-rt/lib/modsi3.c b/compiler-rt/lib/builtins/modsi3.c similarity index 100% rename from compiler-rt/lib/modsi3.c rename to compiler-rt/lib/builtins/modsi3.c diff --git a/compiler-rt/lib/modti3.c b/compiler-rt/lib/builtins/modti3.c similarity index 100% rename from compiler-rt/lib/modti3.c rename to compiler-rt/lib/builtins/modti3.c diff --git a/compiler-rt/lib/muldc3.c b/compiler-rt/lib/builtins/muldc3.c similarity index 100% rename from compiler-rt/lib/muldc3.c rename to compiler-rt/lib/builtins/muldc3.c diff --git a/compiler-rt/lib/muldf3.c b/compiler-rt/lib/builtins/muldf3.c similarity index 100% rename from compiler-rt/lib/muldf3.c rename to compiler-rt/lib/builtins/muldf3.c diff --git a/compiler-rt/lib/muldi3.c b/compiler-rt/lib/builtins/muldi3.c similarity index 100% rename from compiler-rt/lib/muldi3.c rename to compiler-rt/lib/builtins/muldi3.c diff --git a/compiler-rt/lib/mulodi4.c b/compiler-rt/lib/builtins/mulodi4.c similarity index 100% rename from compiler-rt/lib/mulodi4.c rename to compiler-rt/lib/builtins/mulodi4.c diff --git a/compiler-rt/lib/mulosi4.c b/compiler-rt/lib/builtins/mulosi4.c similarity index 100% rename from compiler-rt/lib/mulosi4.c rename to compiler-rt/lib/builtins/mulosi4.c diff --git a/compiler-rt/lib/muloti4.c b/compiler-rt/lib/builtins/muloti4.c similarity index 100% rename from compiler-rt/lib/muloti4.c rename to compiler-rt/lib/builtins/muloti4.c diff --git a/compiler-rt/lib/mulsc3.c b/compiler-rt/lib/builtins/mulsc3.c similarity index 100% rename from compiler-rt/lib/mulsc3.c rename to compiler-rt/lib/builtins/mulsc3.c diff --git a/compiler-rt/lib/mulsf3.c b/compiler-rt/lib/builtins/mulsf3.c similarity index 100% rename from compiler-rt/lib/mulsf3.c rename to compiler-rt/lib/builtins/mulsf3.c diff --git a/compiler-rt/lib/multi3.c b/compiler-rt/lib/builtins/multi3.c similarity index 100% rename from compiler-rt/lib/multi3.c rename to compiler-rt/lib/builtins/multi3.c diff --git a/compiler-rt/lib/mulvdi3.c b/compiler-rt/lib/builtins/mulvdi3.c similarity index 100% rename from compiler-rt/lib/mulvdi3.c rename to compiler-rt/lib/builtins/mulvdi3.c diff --git a/compiler-rt/lib/mulvsi3.c b/compiler-rt/lib/builtins/mulvsi3.c similarity index 100% rename from compiler-rt/lib/mulvsi3.c rename to compiler-rt/lib/builtins/mulvsi3.c diff --git a/compiler-rt/lib/mulvti3.c b/compiler-rt/lib/builtins/mulvti3.c similarity index 100% rename from compiler-rt/lib/mulvti3.c rename to compiler-rt/lib/builtins/mulvti3.c diff --git a/compiler-rt/lib/mulxc3.c b/compiler-rt/lib/builtins/mulxc3.c similarity index 100% rename from compiler-rt/lib/mulxc3.c rename to compiler-rt/lib/builtins/mulxc3.c diff --git a/compiler-rt/lib/negdf2.c b/compiler-rt/lib/builtins/negdf2.c similarity index 100% rename from compiler-rt/lib/negdf2.c rename to compiler-rt/lib/builtins/negdf2.c diff --git a/compiler-rt/lib/negdi2.c b/compiler-rt/lib/builtins/negdi2.c similarity index 100% rename from compiler-rt/lib/negdi2.c rename to compiler-rt/lib/builtins/negdi2.c diff --git a/compiler-rt/lib/negsf2.c b/compiler-rt/lib/builtins/negsf2.c similarity index 100% rename from compiler-rt/lib/negsf2.c rename to compiler-rt/lib/builtins/negsf2.c diff --git a/compiler-rt/lib/negti2.c b/compiler-rt/lib/builtins/negti2.c similarity index 100% rename from compiler-rt/lib/negti2.c rename to compiler-rt/lib/builtins/negti2.c diff --git a/compiler-rt/lib/negvdi2.c b/compiler-rt/lib/builtins/negvdi2.c similarity index 100% rename from compiler-rt/lib/negvdi2.c rename to compiler-rt/lib/builtins/negvdi2.c diff --git a/compiler-rt/lib/negvsi2.c b/compiler-rt/lib/builtins/negvsi2.c similarity index 100% rename from compiler-rt/lib/negvsi2.c rename to compiler-rt/lib/builtins/negvsi2.c diff --git a/compiler-rt/lib/negvti2.c b/compiler-rt/lib/builtins/negvti2.c similarity index 100% rename from compiler-rt/lib/negvti2.c rename to compiler-rt/lib/builtins/negvti2.c diff --git a/compiler-rt/lib/paritydi2.c b/compiler-rt/lib/builtins/paritydi2.c similarity index 100% rename from compiler-rt/lib/paritydi2.c rename to compiler-rt/lib/builtins/paritydi2.c diff --git a/compiler-rt/lib/paritysi2.c b/compiler-rt/lib/builtins/paritysi2.c similarity index 100% rename from compiler-rt/lib/paritysi2.c rename to compiler-rt/lib/builtins/paritysi2.c diff --git a/compiler-rt/lib/parityti2.c b/compiler-rt/lib/builtins/parityti2.c similarity index 100% rename from compiler-rt/lib/parityti2.c rename to compiler-rt/lib/builtins/parityti2.c diff --git a/compiler-rt/lib/popcountdi2.c b/compiler-rt/lib/builtins/popcountdi2.c similarity index 100% rename from compiler-rt/lib/popcountdi2.c rename to compiler-rt/lib/builtins/popcountdi2.c diff --git a/compiler-rt/lib/popcountsi2.c b/compiler-rt/lib/builtins/popcountsi2.c similarity index 100% rename from compiler-rt/lib/popcountsi2.c rename to compiler-rt/lib/builtins/popcountsi2.c diff --git a/compiler-rt/lib/popcountti2.c b/compiler-rt/lib/builtins/popcountti2.c similarity index 100% rename from compiler-rt/lib/popcountti2.c rename to compiler-rt/lib/builtins/popcountti2.c diff --git a/compiler-rt/lib/powidf2.c b/compiler-rt/lib/builtins/powidf2.c similarity index 100% rename from compiler-rt/lib/powidf2.c rename to compiler-rt/lib/builtins/powidf2.c diff --git a/compiler-rt/lib/powisf2.c b/compiler-rt/lib/builtins/powisf2.c similarity index 100% rename from compiler-rt/lib/powisf2.c rename to compiler-rt/lib/builtins/powisf2.c diff --git a/compiler-rt/lib/powitf2.c b/compiler-rt/lib/builtins/powitf2.c similarity index 100% rename from compiler-rt/lib/powitf2.c rename to compiler-rt/lib/builtins/powitf2.c diff --git a/compiler-rt/lib/powixf2.c b/compiler-rt/lib/builtins/powixf2.c similarity index 100% rename from compiler-rt/lib/powixf2.c rename to compiler-rt/lib/builtins/powixf2.c diff --git a/compiler-rt/lib/ppc/DD.h b/compiler-rt/lib/builtins/ppc/DD.h similarity index 100% rename from compiler-rt/lib/ppc/DD.h rename to compiler-rt/lib/builtins/ppc/DD.h diff --git a/compiler-rt/lib/ppc/Makefile.mk b/compiler-rt/lib/builtins/ppc/Makefile.mk similarity index 90% rename from compiler-rt/lib/ppc/Makefile.mk rename to compiler-rt/lib/builtins/ppc/Makefile.mk index b78d3860c53c..0adc623aa041 100644 --- a/compiler-rt/lib/ppc/Makefile.mk +++ b/compiler-rt/lib/builtins/ppc/Makefile.mk @@ -1,4 +1,4 @@ -#===- lib/ppc/Makefile.mk ----------------------------------*- Makefile -*--===# +#===- lib/builtins/ppc/Makefile.mk -------------------------*- Makefile -*--===# # # The LLVM Compiler Infrastructure # diff --git a/compiler-rt/lib/ppc/divtc3.c b/compiler-rt/lib/builtins/ppc/divtc3.c similarity index 100% rename from compiler-rt/lib/ppc/divtc3.c rename to compiler-rt/lib/builtins/ppc/divtc3.c diff --git a/compiler-rt/lib/ppc/fixtfdi.c b/compiler-rt/lib/builtins/ppc/fixtfdi.c similarity index 100% rename from compiler-rt/lib/ppc/fixtfdi.c rename to compiler-rt/lib/builtins/ppc/fixtfdi.c diff --git a/compiler-rt/lib/ppc/fixunstfdi.c b/compiler-rt/lib/builtins/ppc/fixunstfdi.c similarity index 100% rename from compiler-rt/lib/ppc/fixunstfdi.c rename to compiler-rt/lib/builtins/ppc/fixunstfdi.c diff --git a/compiler-rt/lib/ppc/floatditf.c b/compiler-rt/lib/builtins/ppc/floatditf.c similarity index 100% rename from compiler-rt/lib/ppc/floatditf.c rename to compiler-rt/lib/builtins/ppc/floatditf.c diff --git a/compiler-rt/lib/ppc/floatunditf.c b/compiler-rt/lib/builtins/ppc/floatunditf.c similarity index 100% rename from compiler-rt/lib/ppc/floatunditf.c rename to compiler-rt/lib/builtins/ppc/floatunditf.c diff --git a/compiler-rt/lib/ppc/gcc_qadd.c b/compiler-rt/lib/builtins/ppc/gcc_qadd.c similarity index 100% rename from compiler-rt/lib/ppc/gcc_qadd.c rename to compiler-rt/lib/builtins/ppc/gcc_qadd.c diff --git a/compiler-rt/lib/ppc/gcc_qdiv.c b/compiler-rt/lib/builtins/ppc/gcc_qdiv.c similarity index 100% rename from compiler-rt/lib/ppc/gcc_qdiv.c rename to compiler-rt/lib/builtins/ppc/gcc_qdiv.c diff --git a/compiler-rt/lib/ppc/gcc_qmul.c b/compiler-rt/lib/builtins/ppc/gcc_qmul.c similarity index 100% rename from compiler-rt/lib/ppc/gcc_qmul.c rename to compiler-rt/lib/builtins/ppc/gcc_qmul.c diff --git a/compiler-rt/lib/ppc/gcc_qsub.c b/compiler-rt/lib/builtins/ppc/gcc_qsub.c similarity index 100% rename from compiler-rt/lib/ppc/gcc_qsub.c rename to compiler-rt/lib/builtins/ppc/gcc_qsub.c diff --git a/compiler-rt/lib/ppc/multc3.c b/compiler-rt/lib/builtins/ppc/multc3.c similarity index 100% rename from compiler-rt/lib/ppc/multc3.c rename to compiler-rt/lib/builtins/ppc/multc3.c diff --git a/compiler-rt/lib/ppc/restFP.S b/compiler-rt/lib/builtins/ppc/restFP.S similarity index 100% rename from compiler-rt/lib/ppc/restFP.S rename to compiler-rt/lib/builtins/ppc/restFP.S diff --git a/compiler-rt/lib/ppc/saveFP.S b/compiler-rt/lib/builtins/ppc/saveFP.S similarity index 100% rename from compiler-rt/lib/ppc/saveFP.S rename to compiler-rt/lib/builtins/ppc/saveFP.S diff --git a/compiler-rt/lib/subdf3.c b/compiler-rt/lib/builtins/subdf3.c similarity index 100% rename from compiler-rt/lib/subdf3.c rename to compiler-rt/lib/builtins/subdf3.c diff --git a/compiler-rt/lib/subsf3.c b/compiler-rt/lib/builtins/subsf3.c similarity index 100% rename from compiler-rt/lib/subsf3.c rename to compiler-rt/lib/builtins/subsf3.c diff --git a/compiler-rt/lib/subvdi3.c b/compiler-rt/lib/builtins/subvdi3.c similarity index 100% rename from compiler-rt/lib/subvdi3.c rename to compiler-rt/lib/builtins/subvdi3.c diff --git a/compiler-rt/lib/subvsi3.c b/compiler-rt/lib/builtins/subvsi3.c similarity index 100% rename from compiler-rt/lib/subvsi3.c rename to compiler-rt/lib/builtins/subvsi3.c diff --git a/compiler-rt/lib/subvti3.c b/compiler-rt/lib/builtins/subvti3.c similarity index 100% rename from compiler-rt/lib/subvti3.c rename to compiler-rt/lib/builtins/subvti3.c diff --git a/compiler-rt/lib/trampoline_setup.c b/compiler-rt/lib/builtins/trampoline_setup.c similarity index 100% rename from compiler-rt/lib/trampoline_setup.c rename to compiler-rt/lib/builtins/trampoline_setup.c diff --git a/compiler-rt/lib/truncdfsf2.c b/compiler-rt/lib/builtins/truncdfsf2.c similarity index 100% rename from compiler-rt/lib/truncdfsf2.c rename to compiler-rt/lib/builtins/truncdfsf2.c diff --git a/compiler-rt/lib/ucmpdi2.c b/compiler-rt/lib/builtins/ucmpdi2.c similarity index 100% rename from compiler-rt/lib/ucmpdi2.c rename to compiler-rt/lib/builtins/ucmpdi2.c diff --git a/compiler-rt/lib/ucmpti2.c b/compiler-rt/lib/builtins/ucmpti2.c similarity index 100% rename from compiler-rt/lib/ucmpti2.c rename to compiler-rt/lib/builtins/ucmpti2.c diff --git a/compiler-rt/lib/udivdi3.c b/compiler-rt/lib/builtins/udivdi3.c similarity index 100% rename from compiler-rt/lib/udivdi3.c rename to compiler-rt/lib/builtins/udivdi3.c diff --git a/compiler-rt/lib/udivmoddi4.c b/compiler-rt/lib/builtins/udivmoddi4.c similarity index 100% rename from compiler-rt/lib/udivmoddi4.c rename to compiler-rt/lib/builtins/udivmoddi4.c diff --git a/compiler-rt/lib/udivmodsi4.c b/compiler-rt/lib/builtins/udivmodsi4.c similarity index 100% rename from compiler-rt/lib/udivmodsi4.c rename to compiler-rt/lib/builtins/udivmodsi4.c diff --git a/compiler-rt/lib/udivmodti4.c b/compiler-rt/lib/builtins/udivmodti4.c similarity index 100% rename from compiler-rt/lib/udivmodti4.c rename to compiler-rt/lib/builtins/udivmodti4.c diff --git a/compiler-rt/lib/udivsi3.c b/compiler-rt/lib/builtins/udivsi3.c similarity index 100% rename from compiler-rt/lib/udivsi3.c rename to compiler-rt/lib/builtins/udivsi3.c diff --git a/compiler-rt/lib/udivti3.c b/compiler-rt/lib/builtins/udivti3.c similarity index 100% rename from compiler-rt/lib/udivti3.c rename to compiler-rt/lib/builtins/udivti3.c diff --git a/compiler-rt/lib/umoddi3.c b/compiler-rt/lib/builtins/umoddi3.c similarity index 100% rename from compiler-rt/lib/umoddi3.c rename to compiler-rt/lib/builtins/umoddi3.c diff --git a/compiler-rt/lib/umodsi3.c b/compiler-rt/lib/builtins/umodsi3.c similarity index 100% rename from compiler-rt/lib/umodsi3.c rename to compiler-rt/lib/builtins/umodsi3.c diff --git a/compiler-rt/lib/umodti3.c b/compiler-rt/lib/builtins/umodti3.c similarity index 100% rename from compiler-rt/lib/umodti3.c rename to compiler-rt/lib/builtins/umodti3.c diff --git a/compiler-rt/lib/x86_64/Makefile.mk b/compiler-rt/lib/builtins/x86_64/Makefile.mk similarity index 90% rename from compiler-rt/lib/x86_64/Makefile.mk rename to compiler-rt/lib/builtins/x86_64/Makefile.mk index 11bbe5dbe426..83848dddd964 100644 --- a/compiler-rt/lib/x86_64/Makefile.mk +++ b/compiler-rt/lib/builtins/x86_64/Makefile.mk @@ -1,4 +1,4 @@ -#===- lib/x86_64/Makefile.mk -------------------------------*- Makefile -*--===# +#===- lib/builtins/x86_64/Makefile.mk ----------------------*- Makefile -*--===# # # The LLVM Compiler Infrastructure # diff --git a/compiler-rt/lib/x86_64/floatdidf.c b/compiler-rt/lib/builtins/x86_64/floatdidf.c similarity index 100% rename from compiler-rt/lib/x86_64/floatdidf.c rename to compiler-rt/lib/builtins/x86_64/floatdidf.c diff --git a/compiler-rt/lib/x86_64/floatdisf.c b/compiler-rt/lib/builtins/x86_64/floatdisf.c similarity index 100% rename from compiler-rt/lib/x86_64/floatdisf.c rename to compiler-rt/lib/builtins/x86_64/floatdisf.c diff --git a/compiler-rt/lib/x86_64/floatdixf.c b/compiler-rt/lib/builtins/x86_64/floatdixf.c similarity index 100% rename from compiler-rt/lib/x86_64/floatdixf.c rename to compiler-rt/lib/builtins/x86_64/floatdixf.c diff --git a/compiler-rt/lib/x86_64/floatundidf.S b/compiler-rt/lib/builtins/x86_64/floatundidf.S similarity index 100% rename from compiler-rt/lib/x86_64/floatundidf.S rename to compiler-rt/lib/builtins/x86_64/floatundidf.S diff --git a/compiler-rt/lib/x86_64/floatundisf.S b/compiler-rt/lib/builtins/x86_64/floatundisf.S similarity index 100% rename from compiler-rt/lib/x86_64/floatundisf.S rename to compiler-rt/lib/builtins/x86_64/floatundisf.S diff --git a/compiler-rt/lib/x86_64/floatundixf.S b/compiler-rt/lib/builtins/x86_64/floatundixf.S similarity index 100% rename from compiler-rt/lib/x86_64/floatundixf.S rename to compiler-rt/lib/builtins/x86_64/floatundixf.S diff --git a/compiler-rt/make/subdir.mk b/compiler-rt/make/subdir.mk index 6dadc7b61317..f81c25f032b9 100644 --- a/compiler-rt/make/subdir.mk +++ b/compiler-rt/make/subdir.mk @@ -2,12 +2,13 @@ # # Subdirectory makefiles must define: # SubDirs - The subdirectories to traverse. +# +# Subdirectory makefiles may define: +# ModuleName - The library name for objects in that directory. # ObjNames - The objects available in that directory. # Implementation - The library configuration the objects should go in (Generic # or Optimized) # Dependencies - Any dependences for the object files. -# -# Subdirectory makefiles may define: # OnlyArchs - Only build the objects for the listed archs. # OnlyConfigs - Only build the objects for the listed configurations. @@ -20,9 +21,9 @@ endif # The list of variables which are intended to be overridden in a subdirectory # makefile. -RequiredSubdirVariables := \ - ModuleName SubDirs ObjNames Implementation Dependencies -OptionalSubdirVariables := OnlyArchs OnlyConfigs +RequiredSubdirVariables := SubDirs +OptionalSubdirVariables := ModuleName OnlyArchs OnlyConfigs \ + ObjNames Implementation Dependencies # Template: subdir_traverse_template subdir define subdir_traverse_template