File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiler/rustc_target/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99
99
Ty: TyAbiInterface<'a, C> + Copy,
100
100
C: HasDataLayout + HasTargetSpec,
101
101
{
102
- let abi = if cx.target_spec().env == "musl" {
102
+ let abi = if cx.target_spec().env == "musl" || cx.target_spec().os == "freebsd" {
103
103
ELFv2
104
104
} else if cx.target_spec().os == "aix" {
105
105
AIX
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pub(crate) fn target() -> Target {
11
11
Target {
12
12
llvm_target: "powerpc64-unknown-freebsd".into(),
13
13
metadata: crate::spec::TargetMetadata {
14
- description: Some("PPC64 FreeBSD (ELFv1 and ELFv2)".into()),
14
+ description: Some("PPC64 FreeBSD (ELFv2)".into()),
15
15
tier: Some(3),
16
16
host_tools: Some(true),
17
17
std: Some(true),
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ target | std | host | notes
343
343
[`powerpc-unknown-openbsd`](platform-support/powerpc-unknown-openbsd.md) | * | |
344
344
[`powerpc-wrs-vxworks-spe`](platform-support/vxworks.md) | ✓ | |
345
345
[`powerpc-wrs-vxworks`](platform-support/vxworks.md) | ✓ | |
346
- `powerpc64-unknown-freebsd` | ✓ | ✓ | PPC64 FreeBSD (ELFv1 and ELFv2)
346
+ `powerpc64-unknown-freebsd` | ✓ | ✓ | PPC64 FreeBSD (ELFv2)
347
347
`powerpc64le-unknown-freebsd` | ✓ | ✓ | PPC64LE FreeBSD
348
348
`powerpc-unknown-freebsd` | ? | | PowerPC FreeBSD
349
349
`powerpc64-unknown-linux-musl` | ? | | 64-bit PowerPC Linux with musl 1.2.3
You can’t perform that action at this time.
0 commit comments