You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Configuration.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -848,6 +848,16 @@ Emit a full `.s` file for each `c`/`cpp` segment containing disassembly of .text
848
848
849
849
Can be used to generate "target" or "expected" objects for asm diffing.
850
850
851
+
To generate `.s` files for data-only TUs (or rodata/bss only, or any other combination that doesn't have a text section) a dummy `c` or `cpp` section with the same name as the data section must be defined in the yaml with an start value of `auto` instead of a number. For example:
852
+
853
+
```yaml
854
+
- [auto, c, boot/rom_offsets]
855
+
856
+
# -- Other c or data subsegments --
857
+
858
+
- [0x00F340, .data, boot/rom_offsets]
859
+
```
860
+
851
861
### global_vram_start and global_vram_end
852
862
853
863
Allow specifying that the global memory range may be larger than what was automatically detected.
0 commit comments