shithub: rgbds

Download patch

ref: 2cb50730a1fa85b3376036f2d8b0d13c99b873c3
parent: efae6c7fd28d53746a8442308788f0f12b127cab
author: Antonio Niño Díaz <[email protected]>
date: Sun Apr 22 16:19:09 EDT 2018

Document `Section ID == -1` in object files

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- a/docs/rgbds.5.html
+++ b/docs/rgbds.5.html
@@ -65,7 +65,9 @@
         LONG    LineNum   ; Line number in the file where the symbol is defined. 
  
         LONG    SectionID ; The section number (of this object file) in which 
-                          ; this symbol is defined. 
+                          ; this symbol is defined. If it doesn't belong to any 
+                          ; specific section (like a constant), this field has 
+                          ; the value -1. 
  
         LONG    Value     ; The symbols value. It's the offset into that 
                           ; symbol's section. 
--- a/src/rgbds.5
+++ b/src/rgbds.5
@@ -57,7 +57,9 @@
         LONG    LineNum   ; Line number in the file where the symbol is defined.
 
         LONG    SectionID ; The section number (of this object file) in which
-                          ; this symbol is defined.
+                          ; this symbol is defined. If it doesn't belong to any
+                          ; specific section (like a constant), this field has
+                          ; the value -1.
 
         LONG    Value     ; The symbols value. It's the offset into that
                           ; symbol's section.