Commit 1da8c29
Darwin, Arm64 : Base build changes to Darwin common code.
It seems that the arm64 port will not make use of traditional mach-o
pic but instead use a GOT - as such, the target-dependent parts of
darwin.c are made NOP for this. We still expect to apply other Mach-O
constraints.
Most of the change is about the support for giving the user an error
message when they try to invoke the compiler with multiple -arch
flags.
There is no provision in the initial port to handle the arm64_32 variant.
This is (understood to be) only used in watchOS which we are not
supporting initially.
+ No machopic indirections for Arm64 personality/LSDA entries.
As for x86-64 (64bit code), the personality and LSDA .cfi_xxx entries
do not require an indirection in the compiler code.
+ Accept arm64 in arch flags, for aarch64 compilers.
We were checking for this and complaining if it was present for an
X86 or PPC compiler, but we also need to accept (and ignore it) for
an aarch64 / Arm64 compiler.1 parent 0e197cc commit 1da8c29
3 files changed
+33
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
280 | 282 | | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| 286 | + | |
284 | 287 | | |
285 | 288 | | |
286 | 289 | | |
| |||
305 | 308 | | |
306 | 309 | | |
307 | 310 | | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
308 | 317 | | |
309 | 318 | | |
310 | 319 | | |
| |||
318 | 327 | | |
319 | 328 | | |
320 | 329 | | |
321 | | - | |
| 330 | + | |
322 | 331 | | |
323 | 332 | | |
324 | 333 | | |
325 | 334 | | |
326 | 335 | | |
327 | 336 | | |
328 | 337 | | |
329 | | - | |
| 338 | + | |
330 | 339 | | |
331 | 340 | | |
332 | 341 | | |
| |||
391 | 400 | | |
392 | 401 | | |
393 | 402 | | |
| 403 | + | |
| 404 | + | |
394 | 405 | | |
395 | 406 | | |
396 | 407 | | |
| |||
410 | 421 | | |
411 | 422 | | |
412 | 423 | | |
| 424 | + | |
| 425 | + | |
413 | 426 | | |
414 | 427 | | |
415 | 428 | | |
| |||
426 | 439 | | |
427 | 440 | | |
428 | 441 | | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
429 | 447 | | |
430 | 448 | | |
| 449 | + | |
431 | 450 | | |
432 | 451 | | |
433 | 452 | | |
| |||
437 | 456 | | |
438 | 457 | | |
439 | 458 | | |
| 459 | + | |
440 | 460 | | |
441 | 461 | | |
442 | 462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
1052 | 1053 | | |
1053 | 1054 | | |
1054 | 1055 | | |
| |||
1204 | 1205 | | |
1205 | 1206 | | |
1206 | 1207 | | |
| 1208 | + | |
1207 | 1209 | | |
1208 | 1210 | | |
1209 | 1211 | | |
| |||
2236 | 2238 | | |
2237 | 2239 | | |
2238 | 2240 | | |
| 2241 | + | |
| 2242 | + | |
2239 | 2243 | | |
2240 | 2244 | | |
2241 | 2245 | | |
| |||
3047 | 3051 | | |
3048 | 3052 | | |
3049 | 3053 | | |
| 3054 | + | |
3050 | 3055 | | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
3051 | 3060 | | |
3052 | 3061 | | |
3053 | 3062 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
0 commit comments