修改libc的编译相关内容(#171)

1.将libc的include文件夹分为export和internal
2.将所有app都直接链接libc.a,而不是都执行一遍"搜索.o"的过程
This commit is contained in:
login
2023-02-11 13:04:24 +08:00
committed by GitHub
parent 90b077f9d3
commit 2bf5ee0e3c
36 changed files with 101 additions and 12 deletions

View File

@ -14,6 +14,7 @@ SECTIONS
_text = .;
*(.text)
*(.text.*)
_etext = .;
}
@ -23,6 +24,7 @@ SECTIONS
{
_data = .;
*(.data)
*(.data.*)
_edata = .;
}
@ -33,6 +35,7 @@ SECTIONS
{
_rodata = .;
*(.rodata)
*(.rodata.*)
_erodata = .;
}
@ -41,6 +44,7 @@ SECTIONS
{
_bss = .;
*(.bss)
*(.bss.*)
_ebss = .;
}