Skip to content

Commit 52d33b1

Browse files
authored
Explicitly name sdata and sbss in the Segments docs (#469)
1 parent 58d3e0d commit 52d33b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/Segments.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,9 @@ Data located in the ROM that is linked from a C file. Use the `.data` segment to
189189

190190
**NOTE:** `splat` will not generate any `.data.s` files for these `.` (dot) sections.
191191

192-
## `.sdata`
192+
## `sdata` / `.sdata`
193193

194-
The `.sdata` segment behaves the same as the `.data` segment but supports "small data" linker sections named `.sdata`.
194+
The `sdata` and `.sdata` segments behaves the same as the `data` and `.data` segments, but supports "small data" linker sections.
195195

196196
## `rodata`
197197

@@ -263,9 +263,9 @@ Links the `.bss` section of the associated `c` file.
263263
- { start: 0x7D1AD0, type: .bss, name: filepath, vram: 0x803C0420 }
264264
```
265265

266-
## `.sbss`
266+
## `sbss` / `.sbss`
267267

268-
The `.sbss` segment behaves the same as the `.bss` segment but supports "small bss" linker sections named `.sbss`.
268+
The `sbss` and `.sbss` segments behaves the same as the `bss` and `.bss` segments, but supports "small bss" linker sections.
269269

270270
## `lib`
271271

0 commit comments

Comments
 (0)