Skip to content

Commit 2fda82b

Browse files
feat: finish chapter1
1 parent de20eb9 commit 2fda82b

4 files changed

Lines changed: 1037 additions & 6 deletions

File tree

drafts/Content-Table-Draft.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717

1818
### 第1章 工具链与构建(为性能调优打基础)
1919

20-
- 交叉编译基础与 CMake 多目标构建
21-
- 常用编译器选项(-O0/-Og/-O2/-Os/-Ofast、-fno-exceptions、-fno-rtti、-ffunction-sections/ -fdata-sections、-Wl,--gc-sections)
22-
- 链接器与 LTO/ThinLTO,影响代码大小与性能的链接策略
23-
- 链接脚本(Memory、FLASH/RAM 布局、.bss/.data/.rodata)
24-
- 启动代码与初始化顺序(全局构造、构造开销)
25-
- 练习:建立最小 cross-build pipeline + 分析二进制节大小
20+
- [x] 交叉编译基础与 CMake 多目标构建
21+
- [x] 常用编译器选项(-O0/-Og/-O2/-Os/-Ofast、-fno-exceptions、-fno-rtti、-ffunction-sections/ -fdata-sections、-Wl,--gc-sections)
22+
- [x] 链接器
23+
- [x] 链接脚本(Memory、FLASH/RAM 布局、.bss/.data/.rodata)
24+
- [x] 启动代码与初始化顺序(全局构造、构造开销)
2625

2726
------
2827

0 commit comments

Comments
 (0)