Skip to content

Commit

Permalink
specs: Synchronize with rustc specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahix committed Nov 17, 2023
1 parent 7c01b87 commit a978289
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 47 deletions.
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega1280.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega1280"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega1284p.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega1284p"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
30 changes: 12 additions & 18 deletions avr-specs/avr-atmega128a.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,25 @@
{
"arch": "avr",
"atomic-cas": false,
"cpu": "atmega128a",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"env": "",
"executables": true,
"linker": "avr-gcc",
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "avr-unknown-unknown",
"os": "unknown",
"position-independent-executables": false,
"exe-suffix": ".elf",
"eh-frame-header": false,
"pre-link-args": {
"exe-suffix": ".elf",
"late-link-args": {
"gcc": [
"-Os",
"-mmcu=atmega128a"
"-lgcc"
]
},
"late-link-args": {
"linker": "avr-gcc",
"llvm-target": "avr-unknown-unknown",
"max-atomic-width": 8,
"no-default-libraries": false,
"pre-link-args": {
"gcc": [
"-lc",
"-lgcc"
"-mmcu=atmega128a"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-endian": "little",
"target-pointer-width": "16",
"vendor": "unknown"
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega168.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega168"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega2560.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega2560"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega328p.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega328p"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega32u4.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega32u4"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-atmega48p.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=atmega48p"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
30 changes: 12 additions & 18 deletions avr-specs/avr-atmega8.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,25 @@
{
"arch": "avr",
"atomic-cas": false,
"cpu": "atmega8",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"env": "",
"executables": true,
"linker": "avr-gcc",
"linker-flavor": "gcc",
"linker-is-gnu": true,
"llvm-target": "avr-unknown-unknown",
"os": "unknown",
"position-independent-executables": false,
"exe-suffix": ".elf",
"eh-frame-header": false,
"pre-link-args": {
"exe-suffix": ".elf",
"late-link-args": {
"gcc": [
"-Os",
"-mmcu=atmega8"
"-lgcc"
]
},
"late-link-args": {
"linker": "avr-gcc",
"llvm-target": "avr-unknown-unknown",
"max-atomic-width": 8,
"no-default-libraries": false,
"pre-link-args": {
"gcc": [
"-lc",
"-lgcc"
"-mmcu=atmega8"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-endian": "little",
"target-pointer-width": "16",
"vendor": "unknown"
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-attiny167.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=attiny167"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-attiny2313.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=attiny2313"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-attiny85.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=attiny85"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}
2 changes: 1 addition & 1 deletion avr-specs/avr-attiny88.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"eh-frame-header": false,
"exe-suffix": ".elf",
"executables": true,
"late-link-args": {
"gcc": [
"-lgcc"
Expand All @@ -20,6 +19,7 @@
"-mmcu=attiny88"
]
},
"relocation-model": "static",
"target-c-int-width": "16",
"target-pointer-width": "16"
}

0 comments on commit a978289

Please sign in to comment.