Skip to content

Commit cf81aa1

Browse files
committed
Update the target specification JSON with new requirements
1 parent 80b74c9 commit cf81aa1

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

avr-atmega328p.json

+23-17
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
{
2-
"llvm-target": "avr-unknown-unknown",
3-
"cpu": "atmega328p",
4-
"target-endian": "little",
5-
"target-pointer-width": "16",
6-
"os": "unknown",
7-
"target-env": "",
8-
"target-vendor": "unknown",
92
"arch": "avr",
10-
"data-layout": "e-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
11-
3+
"cpu": "atmega328p",
4+
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
5+
"env": "",
126
"executables": true,
13-
147
"linker": "avr-gcc",
158
"linker-flavor": "gcc",
9+
"linker-is-gnu": true,
10+
"llvm-target": "avr-unknown-unknown",
11+
"no-compiler-rt": true,
12+
"os": "unknown",
13+
"position-independent-executables": false,
14+
"exe-suffix": ".elf",
15+
"eh-frame-header": false,
1616
"pre-link-args": {
17-
"gcc": ["-Os", "-mmcu=atmega328p"]
17+
"gcc": [
18+
"-Os",
19+
"-mmcu=atmega328p"
20+
]
1821
},
19-
"exe-suffix": ".elf",
20-
"post-link-args": {
21-
"gcc": ["-Wl,--gc-sections"]
22+
"late-link-args": {
23+
"gcc": [
24+
"-lc",
25+
"-lgcc"
26+
]
2227
},
23-
24-
"no-default-libraries": false
28+
"target-c-int-width": "16",
29+
"target-endian": "little",
30+
"target-pointer-width": "16",
31+
"vendor": "unknown"
2532
}
26-

0 commit comments

Comments
 (0)