Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #1335 - leo60228:patch-1, r=gnzlbg
Improve newlib constants This is necessary to set socket options on the Nintendo Switch, which uses a socket implementation directly ported from FreeBSD. Reopened from #1334 because I accidentally closed that.
- Loading branch information
Showing
3 changed files
with
113 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"family": "unix", | ||
"env": "newlib", | ||
"target-env": "newlib", | ||
"target-family": "unix", | ||
"target-c-int-width": "32", | ||
"target-endian": "little", | ||
"target-pointer-width": "64", | ||
"os": "horizon", | ||
"arch": "aarch64", | ||
"panic-strategy": "unwind", | ||
"abi-blacklist": [ | ||
"stdcall", | ||
"fastcall", | ||
"vectorcall", | ||
"thiscall", | ||
"win64", | ||
"sysv64" | ||
], | ||
"dynamic-linking" : false, | ||
"features": "+a53,+strict-align", | ||
"data-layout": "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", | ||
"executables": true, | ||
"position-independent-executables" : true, | ||
"linker-flavor": "gcc", | ||
"llvm-target": "aarch64-unknown-none", | ||
"has-elf-tls" : false, | ||
"linker-is-gnu" : true, | ||
"disable-redzone" : true, | ||
"relocation-model" : "pic", | ||
"max-atomic-width": 128, | ||
"exe-suffix": ".elf", | ||
"staticlib-suffix" : ".a", | ||
"trap-unreachable" : true, | ||
"emit-debug-gdb-scripts" : true, | ||
"requires-uwtable" : true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters