1 | # This directory contains a large amount of C code which provides |
---|
2 | # generic implementations of the core runtime library along with optimized |
---|
3 | # architecture-specific code in various subdirectories. |
---|
4 | |
---|
5 | # TODO: Need to add a mechanism for logging errors when builtin source files are |
---|
6 | # added to a sub-directory and not this CMakeLists file. |
---|
7 | |
---|
8 | set(GENERIC_SOURCES |
---|
9 | absvdi2.c |
---|
10 | absvsi2.c |
---|
11 | absvti2.c |
---|
12 | adddf3.c |
---|
13 | addsf3.c |
---|
14 | addtf3.c |
---|
15 | addvdi3.c |
---|
16 | addvsi3.c |
---|
17 | addvti3.c |
---|
18 | apple_versioning.c |
---|
19 | ashldi3.c |
---|
20 | ashlti3.c |
---|
21 | ashrdi3.c |
---|
22 | ashrti3.c |
---|
23 | # FIXME: atomic.c may only be compiled if host compiler understands _Atomic |
---|
24 | # atomic.c |
---|
25 | clear_cache.c |
---|
26 | clzdi2.c |
---|
27 | clzsi2.c |
---|
28 | clzti2.c |
---|
29 | cmpdi2.c |
---|
30 | cmpti2.c |
---|
31 | comparedf2.c |
---|
32 | comparesf2.c |
---|
33 | ctzdi2.c |
---|
34 | ctzsi2.c |
---|
35 | ctzti2.c |
---|
36 | divdc3.c |
---|
37 | divdf3.c |
---|
38 | divdi3.c |
---|
39 | divmoddi4.c |
---|
40 | divmodsi4.c |
---|
41 | divsc3.c |
---|
42 | divsf3.c |
---|
43 | divsi3.c |
---|
44 | ppc/divtc3.c |
---|
45 | divti3.c |
---|
46 | divtf3.c |
---|
47 | divxc3.c |
---|
48 | enable_execute_stack.c |
---|
49 | eprintf.c |
---|
50 | extendsfdf2.c |
---|
51 | extendhfsf2.c |
---|
52 | ffsdi2.c |
---|
53 | ffsti2.c |
---|
54 | fixdfdi.c |
---|
55 | fixdfsi.c |
---|
56 | fixdfti.c |
---|
57 | fixsfdi.c |
---|
58 | fixsfsi.c |
---|
59 | fixsfti.c |
---|
60 | fixunsdfdi.c |
---|
61 | fixunsdfsi.c |
---|
62 | fixunsdfti.c |
---|
63 | fixunssfdi.c |
---|
64 | fixunssfsi.c |
---|
65 | fixunssfti.c |
---|
66 | fixunsxfdi.c |
---|
67 | fixunsxfsi.c |
---|
68 | fixunsxfti.c |
---|
69 | fixxfdi.c |
---|
70 | fixxfti.c |
---|
71 | floatdidf.c |
---|
72 | floatdisf.c |
---|
73 | floatdixf.c |
---|
74 | floatsidf.c |
---|
75 | floatsisf.c |
---|
76 | floattidf.c |
---|
77 | floattisf.c |
---|
78 | floattixf.c |
---|
79 | floatundidf.c |
---|
80 | floatundisf.c |
---|
81 | floatundixf.c |
---|
82 | floatunsidf.c |
---|
83 | floatunsisf.c |
---|
84 | floatuntidf.c |
---|
85 | floatuntisf.c |
---|
86 | floatuntixf.c |
---|
87 | int_util.c |
---|
88 | lshrdi3.c |
---|
89 | lshrti3.c |
---|
90 | moddi3.c |
---|
91 | modsi3.c |
---|
92 | modti3.c |
---|
93 | muldc3.c |
---|
94 | muldf3.c |
---|
95 | muldi3.c |
---|
96 | mulodi4.c |
---|
97 | mulosi4.c |
---|
98 | muloti4.c |
---|
99 | mulsc3.c |
---|
100 | mulsf3.c |
---|
101 | multi3.c |
---|
102 | multf3.c |
---|
103 | mulvdi3.c |
---|
104 | mulvsi3.c |
---|
105 | mulvti3.c |
---|
106 | mulxc3.c |
---|
107 | negdf2.c |
---|
108 | negdi2.c |
---|
109 | negsf2.c |
---|
110 | negti2.c |
---|
111 | negvdi2.c |
---|
112 | negvsi2.c |
---|
113 | negvti2.c |
---|
114 | paritydi2.c |
---|
115 | paritysi2.c |
---|
116 | parityti2.c |
---|
117 | popcountdi2.c |
---|
118 | popcountsi2.c |
---|
119 | popcountti2.c |
---|
120 | powidf2.c |
---|
121 | powisf2.c |
---|
122 | powitf2.c |
---|
123 | powixf2.c |
---|
124 | subdf3.c |
---|
125 | subsf3.c |
---|
126 | subvdi3.c |
---|
127 | subvsi3.c |
---|
128 | subvti3.c |
---|
129 | subtf3.c |
---|
130 | trampoline_setup.c |
---|
131 | truncdfhf2.c |
---|
132 | truncdfsf2.c |
---|
133 | truncsfhf2.c |
---|
134 | ucmpdi2.c |
---|
135 | ucmpti2.c |
---|
136 | udivdi3.c |
---|
137 | udivmoddi4.c |
---|
138 | udivmodsi4.c |
---|
139 | udivmodti4.c |
---|
140 | udivsi3.c |
---|
141 | udivti3.c |
---|
142 | umoddi3.c |
---|
143 | umodsi3.c |
---|
144 | umodti3.c) |
---|
145 | |
---|
146 | if(NOT WIN32 OR MINGW) |
---|
147 | set(GENERIC_SOURCES |
---|
148 | ${GENERIC_SOURCES} |
---|
149 | emutls.c) |
---|
150 | endif() |
---|
151 | |
---|
152 | if (HAVE_UNWIND_H) |
---|
153 | set(GENERIC_SOURCES |
---|
154 | ${GENERIC_SOURCES} |
---|
155 | gcc_personality_v0.c) |
---|
156 | endif () |
---|
157 | |
---|
158 | #if (APPLE) |
---|
159 | # add_subdirectory(Darwin-excludes) |
---|
160 | # add_subdirectory(macho_embedded) |
---|
161 | # darwin_add_builtin_libraries(${BUILTIN_SUPPORTED_OS}) |
---|
162 | #endif () |
---|
163 | |
---|
164 | |
---|
165 | add_library(clang_rt.10.4 STATIC ${GENERIC_SOURCES}) |
---|