From 2cb50730a1fa85b3376036f2d8b0d13c99b873c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Sun, 22 Apr 2018 20:19:09 +0100 Subject: [PATCH] Document `Section ID == -1` in object files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonio Niño Díaz --- docs/rgbds.5.html | 4 +++- src/rgbds.5 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/rgbds.5.html b/docs/rgbds.5.html index 3af1a9d4..22098669 100644 --- a/docs/rgbds.5.html +++ b/docs/rgbds.5.html @@ -65,7 +65,9 @@ REPT NumberOfSymbols ; Number of symbols defined in this object file. 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. diff --git a/src/rgbds.5 b/src/rgbds.5 index 8bfa3dab..34153e0c 100644 --- a/src/rgbds.5 +++ b/src/rgbds.5 @@ -57,7 +57,9 @@ REPT NumberOfSymbols ; Number of symbols defined in this object file. 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.