diff options
author | 2022-02-14 08:11:42 (GMT) | |
---|---|---|
committer | 2022-02-14 08:11:42 (GMT) | |
commit | 681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch) | |
tree | ce98c2b3d9648db065d27add325370392a35d584 /packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch | |
parent | ba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff) | |
parent | 86c2982568de1ad4d4cc12a65b19231331484405 (diff) |
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch')
-rw-r--r-- | packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch b/packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch new file mode 100644 index 0000000..233eafa --- /dev/null +++ b/packages/picolibc/1.4.7/0001-Add-ARM-exception-information-to-link-rules.patch @@ -0,0 +1,31 @@ +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> +--- + picolibc.ld | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +--- a/picolibc.ld ++++ b/picolibc.ld +@@ -94,6 +94,16 @@ + *(.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 : { |