Jeremy Soller
c66423cec6
Sort target json and allow AtomicU64 on i586/i686
2025-11-10 08:53:47 -07:00
bjorn3
301f163112
Handle building for i586-unknown-redox
2025-11-01 19:30:40 +01:00
Jeremy Soller
18bf5d904b
Fix aarch64 kernel target
2025-10-04 11:53:51 -06:00
Jeremy Soller
e635e7a911
Fix i686 kernel target
2025-10-04 11:53:01 -06:00
Jeremy Soller
84385222e2
Use x86-softfloat rustc-abi for x86_64 target
2025-10-04 08:21:00 -06:00
4lDO2
8d50ebd69d
Fix target spec int vs string.
2025-10-04 16:12:54 +02:00
bjorn3
b06aa61676
Remove reference to no longer existing 3dnow target feature
...
This silences a lot of warnings.
2025-06-28 19:58:15 +02:00
Jeremy Soller
e5f4795024
Fix riscv64 ABI
2025-04-17 20:01:14 -06:00
Jeremy Soller
fab76e7dca
Fix compilation on riscv64
2025-04-17 15:34:24 -06:00
Jeremy Soller
551443d641
Revert "aarch64 must have fp-armv8 feature to use some instructions"
...
This reverts commit a24192235e .
2025-04-12 08:05:55 -06:00
Jeremy Soller
a24192235e
aarch64 must have fp-armv8 feature to use some instructions
2025-04-11 18:26:09 -06:00
Jeremy Soller
25f422b53f
Update data layout for aarch64
2025-04-11 18:20:35 -06:00
Andrey Turkin
1921c6814b
Initial RISC-V implementation
...
Has no IRQ handling yet
2024-10-20 16:24:21 +03:00
4lDO2
339271b4d7
Add getdents syscall, and switch schemes to it.
2024-09-11 22:09:26 +02:00
bjorn3
d43eb74da3
Use softfloat abi in the target spec for aarch64
...
This allows removing the -Csoft-float argument when building.
2024-09-03 14:30:11 +00:00
Andrey Turkin
198151a355
Make sure aarch64 kernel doesn't use any FP registers
2024-07-13 12:06:50 +00:00
Jeremy Soller
593959a7c3
Allow fp-armv8 in order to compile for aarch64 on new nightly
2024-05-11 14:45:44 -06:00
Jeremy Soller
c9698b5d2d
Update to new nightly
2024-05-11 14:13:41 -06:00
bjorn3
5bce3a5bb5
Move -z max-page-size from the target spec to the cookbook
2023-12-12 18:15:05 +01:00
bjorn3
3188a44b23
Don't use target_family="redox" for the kernel
...
This cfg is meant for redox userspace programs.
2023-12-12 18:14:18 +01:00
bjorn3
d819277d56
Make rustc directly invoke the linker
2023-10-03 09:53:37 +02:00
4lDO2
cbd02a8489
Set relocation-model=static
2023-08-12 00:57:45 +00:00
4lDO2
28d4e60beb
Set relocation-model=static for i686.
2023-08-08 12:01:43 +02:00
4lDO2
0dd464d428
Unset TLS model on i686.
2023-08-08 12:01:42 +02:00
4lDO2
ca92eda5e6
Remove TLS on aarch64 too.
2023-08-08 12:01:42 +02:00
4lDO2
ed2febb289
Disable thread-local storage entirely.
2023-08-08 12:01:42 +02:00
4lDO2
3ded84c945
Simplify x86_64 percpu and GSBASE calculation
2023-07-10 14:13:12 +00:00
Jeremy Soller
e99cbcf5d2
Fixes for compiling aarch64
2022-07-29 18:06:53 -06:00
Jeremy Soller
8d5ca62499
Add linker and target for i686
2022-07-28 08:20:49 -06:00
4lDO2
6255bea143
Update to latest toolchain.
...
Multi-core is slightly broken when using the latest version of spin
(0.9.2). I believe this is because Once used to do SeqCst loads/stores
everywhere, which might have made any possible data race much harder to
come by.
2022-03-12 17:10:36 +01:00
4lDO2
dc5f1fe055
Update toolchain.
2021-06-17 22:42:23 +02:00
Robin Randhawa
252ec24905
aarch64: Use target-feature for NEON insn suppression and tpidr_el1 use
2021-01-15 06:09:42 -07:00
Robin Randhawa
aa3839605f
aarch64: Remove code-model from the JSON spec
...
We use a target-feature for this now.
2021-01-15 06:09:42 -07:00
Jeremy Soller
ed55b49093
Update aarch64 target to new Rust
2021-01-12 19:57:07 -07:00
Jeremy Soller
f5ac405db6
Support for RMM
2020-11-27 16:49:39 +00:00
Jeremy Soller
120b4733ff
Update for new rust
2018-11-08 17:11:06 -07:00
Robin Randhawa
19d4868e6c
Add a toolchain target spec for AArch64
2018-04-16 15:36:59 +05:30
Jeremy Soller
c417f0cf00
Add target-c-int-width to x86_64 target
2017-10-04 18:25:59 -06:00
Jeremy Soller
56a533fbbc
Add linker flavor
2017-04-13 19:46:48 -06:00
Jeremy Soller
0d3aa234ff
Add target definitions
2017-01-16 10:10:16 -07:00