Chapter2: Clear .bss inside application.

This commit is contained in:
Yifan Wu 2020-11-22 13:05:16 +08:00
parent 6671f99afb
commit 1414d05325
3 changed files with 13 additions and 1 deletions

View file

@ -17,7 +17,9 @@ SECTIONS
*(.data .data.*)
}
.bss : {
start_bss = .;
*(.bss .bss.*)
end_bss = .;
}
/DISCARD/ : {
*(.eh_frame)