mirror of
https://github.com/micropython/micropython.git
synced 2026-04-30 21:00:12 +02:00
qemu/mcu/arm/imx6.ld: Fix C++ linking.
This commit expands the linkerscript for i.MX6-series boards to let C++ code link with the interpreter core. The linkerscript now contains all necessary sections for C++ code that uses exceptions to be part of a user module inside the MicroPython image. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
This commit is contained in:
committed by
Damien George
parent
0124bd5b2b
commit
09c0a3cb22
@@ -28,6 +28,13 @@ SECTIONS
|
||||
*(.text*)
|
||||
*(.rodata*)
|
||||
. = ALIGN(4);
|
||||
*(.ARM.extab*)
|
||||
*(.gnulinkonce.armextab.*)
|
||||
. = ALIGN(4);
|
||||
__exidx_start = .;
|
||||
*(.ARM.exidx*)
|
||||
*(.gnu.linkonce.armexidx.*)
|
||||
__exidx_end = .;
|
||||
_etext = .;
|
||||
_sidata = _etext;
|
||||
} > RAM
|
||||
|
||||
Reference in New Issue
Block a user