[bsp/phytium]c++支持,gpio,qspi驱动修改 (#9059)

* GPIO驱动与QSPI驱动适配

* C++支持

* update

---------

Co-authored-by: 张衍 <zhangyan1491@phytium.com.cn>
This commit is contained in:
zhangyan
2024-06-16 15:42:37 +08:00
committed by GitHub
co-authored by 张衍
parent 2866da37a0
commit 842b555358
62 changed files with 2002 additions and 923 deletions
+4 -4
View File
@@ -111,19 +111,19 @@ SECTIONS
. = ALIGN(8);
.ctors :
{
PROVIDE(__ctors_start = .);
PROVIDE(__ctors_start__ = .);
/* new GCC version uses .init_array */
KEEP(*(SORT(.init_array.*)))
KEEP(*(.init_array))
PROVIDE(__ctors_end = .);
PROVIDE(__ctors_end__ = .);
}
.dtors :
{
PROVIDE(__dtors_start = .);
PROVIDE(__dtors_start__ = .);
KEEP(*(SORT(.dtors.*)))
KEEP(*(.dtors))
PROVIDE(__dtors_end = .);
PROVIDE(__dtors_end__ = .);
}
. = ALIGN(16);