mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-28 18:05:50 +08:00
[aarch64]Fixup linker warning #10466
This commit is contained in:
@@ -20,6 +20,13 @@ OUTPUT_ARCH(aarch64)
|
|||||||
#define ARCH_RAM_OFFSET 0
|
#define ARCH_RAM_OFFSET 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
PHDRS
|
||||||
|
{
|
||||||
|
text PT_LOAD FLAGS(5); /* PF_R(4) | PF_X(1) = 0x5 (RX) */
|
||||||
|
data PT_LOAD FLAGS(6); /* PF_R(4) | PF_W(2) = 0x6 (RW) */
|
||||||
|
stack PT_LOAD FLAGS(6); /* PF_R | PF_W */
|
||||||
|
}
|
||||||
|
|
||||||
SECTIONS
|
SECTIONS
|
||||||
{
|
{
|
||||||
_text_offset = ARCH_TEXT_OFFSET;
|
_text_offset = ARCH_TEXT_OFFSET;
|
||||||
@@ -89,7 +96,7 @@ SECTIONS
|
|||||||
__usbh_class_info_end__ = .;
|
__usbh_class_info_end__ = .;
|
||||||
|
|
||||||
PROVIDE(__text_end = .);
|
PROVIDE(__text_end = .);
|
||||||
}
|
} :text
|
||||||
|
|
||||||
.eh_frame_hdr :
|
.eh_frame_hdr :
|
||||||
{
|
{
|
||||||
@@ -113,7 +120,7 @@ SECTIONS
|
|||||||
*(.sdata)
|
*(.sdata)
|
||||||
*(.sdata.*)
|
*(.sdata.*)
|
||||||
*(.rel.local)
|
*(.rel.local)
|
||||||
}
|
} :data
|
||||||
|
|
||||||
. = ALIGN(8);
|
. = ALIGN(8);
|
||||||
.ctors :
|
.ctors :
|
||||||
|
|||||||
Reference in New Issue
Block a user