change to using extern in linker

This commit is contained in:
Corwin Kuiper 2021-08-01 00:19:56 +01:00
parent 013522f642
commit 00a5b2487c
3 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,6 @@ license = "MPL-2.0"
[profile.dev]
opt-level = 3
debug = true
lto = "thin"
[profile.release]
lto = true

View file

@ -2,6 +2,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(__start)
EXTERN(__RUST_INTERRUPT_HANDLER)
MEMORY {
ewram (w!x) : ORIGIN = 0x02000000, LENGTH = 256K

View file

@ -2,6 +2,7 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
OUTPUT_ARCH(arm)
ENTRY(__start)
EXTERN(__RUST_INTERRUPT_HANDLER)
MEMORY {
ewram (w!x) : ORIGIN = 0x02000000, LENGTH = 256K