summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorzhangyan <[email protected]>2024-06-16 15:42:37 +0800
committerGitHub <[email protected]>2024-06-16 15:42:37 +0800
commit842b555358a507c05ebdd4ee065177a69745fdaf (patch)
tree834b6856db8f2990566d78ccc28cdb70c8efeb23 /libcpu
parent2866da37a02dae72200e02ad87480718002760a5 (diff)
[bsp/phytium]c++支持,gpio,qspi驱动修改 (#9059)
* GPIO驱动与QSPI驱动适配 * C++支持 * update --------- Co-authored-by: 张衍 <[email protected]>
Diffstat (limited to 'libcpu')
-rw-r--r--libcpu/aarch64/link.lds.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcpu/aarch64/link.lds.S b/libcpu/aarch64/link.lds.S
index f3528c6e3a..156948ecd2 100644
--- a/libcpu/aarch64/link.lds.S
+++ b/libcpu/aarch64/link.lds.S
@@ -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);