diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-06-11 08:58:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-06-17 12:45:07 -0400 |
commit | ae227d485cdac859b22d77da4072f870bce07740 (patch) | |
tree | daa90a54aed17f0b949dc53af127962b9fe2c57d /src/rp2040/rp2040_link.lds.S | |
parent | 433fcb6f249406c8b5e2f25d1e870809beeafb40 (diff) | |
download | kutter-ae227d485cdac859b22d77da4072f870bce07740.tar.gz kutter-ae227d485cdac859b22d77da4072f870bce07740.tar.xz kutter-ae227d485cdac859b22d77da4072f870bce07740.zip |
armcm_link: Fix build on recent arm gcc/newlibc versions
It seems recent arm gcc versions no longer build correctly using the
"--specs=nano.specs --specs=nosys.specs" linker flags. Replace those
linker flags with "-nostdlib -lgcc -lc_nano".
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040/rp2040_link.lds.S')
-rw-r--r-- | src/rp2040/rp2040_link.lds.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rp2040/rp2040_link.lds.S b/src/rp2040/rp2040_link.lds.S index 9b0264a2..6c2db3c9 100644 --- a/src/rp2040/rp2040_link.lds.S +++ b/src/rp2040/rp2040_link.lds.S @@ -77,5 +77,8 @@ SECTIONS // that isn't needed so no need to include them in the binary. *(.init) *(.fini) + // Don't include exception tables + *(.ARM.extab) + *(.ARM.exidx) } } |