We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ac800f + 3ae79b8 commit e8014e2Copy full SHA for e8014e2
Changelog.md
@@ -1,5 +1,7 @@
1
# Unreleased
2
3
+- Fix nightly regression by manually passing --gc-sections ([#168](https://github.com/rust-osdev/bootloader/pull/168))
4
+
5
# 0.9.17 – 2021-04-30
6
7
- Reduce the number of used unstable features of x86_64 crate (backport [#155](https://github.com/rust-osdev/bootloader/pull/140))
x86_64-bootloader.json
@@ -5,8 +5,9 @@
"linker": "rust-lld",
"pre-link-args": {
"ld.lld": [
8
- "--script=linker.ld"
9
- ]
+ "--script=linker.ld",
+ "--gc-sections"
10
+ ]
11
},
12
"target-endian": "little",
13
"target-pointer-width": "64",
@@ -17,5 +18,5 @@
17
18
"disable-redzone": true,
19
"panic": "abort",
20
"executables": true,
- "relocation_model": "static"
21
+ "relocation_model": "static"
22
}
0 commit comments