Skip to content

Commit

Permalink
treewide: Cleanup target files
Browse files Browse the repository at this point in the history
Remove superfluous `-Os` linker argument.
  • Loading branch information
explicite authored Oct 3, 2020
1 parent 2a59d44 commit b91e05d
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 48 deletions.
3 changes: 0 additions & 3 deletions chips/atmega1280-hal/avr-atmega1280.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,
"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": [
"-Os",
"-mmcu=atmega1280"
]
},
Expand All @@ -29,6 +27,5 @@
"singlethread": false,
"no-builtins": false,
"no-default-libraries": false,

"eh-frame-header": false
}
13 changes: 6 additions & 7 deletions chips/atmega168-hal/avr-atmega168.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,

"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": ["-Os", "-mmcu=atmega168"]
"gcc": [
"-mmcu=atmega168"
]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-Wl,--gc-sections"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
}
3 changes: 0 additions & 3 deletions chips/atmega2560-hal/avr-atmega2560.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,
"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": [
"-Os",
"-mmcu=atmega2560"
]
},
Expand All @@ -29,6 +27,5 @@
"singlethread": false,
"no-builtins": false,
"no-default-libraries": false,

"eh-frame-header": false
}
13 changes: 6 additions & 7 deletions chips/atmega328p-hal/avr-atmega328p.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,

"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": ["-Os", "-mmcu=atmega328p"]
"gcc": [
"-mmcu=atmega328p"
]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-Wl,--gc-sections"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
}
13 changes: 6 additions & 7 deletions chips/atmega32u4-hal/avr-atmega32u4.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,

"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": ["-Os", "-mmcu=atmega32u4"]
"gcc": [
"-mmcu=atmega32u4"
]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-Wl,--gc-sections"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
}
13 changes: 6 additions & 7 deletions chips/atmega48p-hal/avr-atmega48p.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,

"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": ["-Os", "-mmcu=atmega48p"]
"gcc": [
"-mmcu=atmega48p"
]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-Wl,--gc-sections"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
}
13 changes: 6 additions & 7 deletions chips/attiny85-hal/avr-attiny85.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,

"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": ["-Os", "-mmcu=attiny85"]
"gcc": [
"-mmcu=attiny85"
]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-Wl,--gc-sections"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
}
13 changes: 6 additions & 7 deletions chips/attiny88-hal/avr-attiny88.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,22 @@
"arch": "avr",
"data-layout": "e-P1-p:16:8-i8:8-i16:8-i32:8-i64:8-f32:8-f64:8-n8-a:8",
"max-atomic-width": 8,

"executables": true,

"linker": "avr-gcc",
"linker-flavor": "gcc",
"pre-link-args": {
"gcc": ["-Os", "-mmcu=attiny88"]
"gcc": [
"-mmcu=attiny88"
]
},
"exe-suffix": ".elf",
"post-link-args": {
"gcc": ["-Wl,--gc-sections"]
"gcc": [
"-Wl,--gc-sections"
]
},

"singlethread": false,
"no-builtins": false,

"no-default-libraries": false,

"eh-frame-header": false
}

0 comments on commit b91e05d

Please sign in to comment.