2021-01-08 01:23:33 +00:00
|
|
|
From 9c39c93d4897c9ee1659dd6df7433d097a84be4a Mon Sep 17 00:00:00 2001
|
|
|
|
From: Keith Packard <keithp@keithp.com>
|
|
|
|
Date: Wed, 4 Nov 2020 17:36:14 -0800
|
|
|
|
Subject: [PATCH] Add ARM exception information to link rules
|
|
|
|
|
|
|
|
Place any ARM exeception information in ROM for C++ support.
|
|
|
|
|
|
|
|
Signed-off-by: Keith Packard <keithp@keithp.com>
|
|
|
|
---
|
2022-02-11 02:00:59 +00:00
|
|
|
picolibc.ld | 10 ++++++++++
|
2021-01-08 01:23:33 +00:00
|
|
|
1 file changed, 10 insertions(+)
|
|
|
|
|
|
|
|
--- a/picolibc.ld
|
|
|
|
+++ b/picolibc.ld
|
2022-02-11 02:00:59 +00:00
|
|
|
@@ -94,6 +94,16 @@
|
2021-01-08 01:23:33 +00:00
|
|
|
*(.got .got.*)
|
|
|
|
} >flash AT>flash :text
|
|
|
|
|
|
|
|
+ .ARM.extab : {
|
|
|
|
+ *(.ARM.extab* .gnu.linkonce.armextab.*)
|
|
|
|
+ } >flash AT>flash :text
|
|
|
|
+
|
|
|
|
+ PROVIDE (__exidx_start = .);
|
|
|
|
+ .ARM.exidx : {
|
|
|
|
+ *(.ARM.exidx*)
|
|
|
|
+ } >flash AT>flash :text
|
|
|
|
+ PROVIDE(__exidx_end = .);
|
|
|
|
+
|
|
|
|
. = ALIGN(8);
|
|
|
|
|
|
|
|
.preinit_array : {
|