Commit 9fb7659
layout: merge .bss into .data
This moves the .bss section from "uninitialized" memory that gets
allocated by the loader to explictily zeroed memory in the .data
section.
This makes the loader's job much easier, as it can just map the file in
one contiguous section of memory. Before, it would have to "expand" the
.bss section.
Signed-off-by: Joe Richey <joerichey@google.com>1 parent be2abc5 commit 9fb7659
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
0 commit comments