From 275b8e15ff2eb13eeeef9e8d60783ffa839007e6 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 21 Mar 2020 00:29:58 +0100 Subject: [PATCH] Document modification to object file format --- src/rgbds.5 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/rgbds.5 b/src/rgbds.5 index 3f2eb743..3bd2b3c8 100644 --- a/src/rgbds.5 +++ b/src/rgbds.5 @@ -48,8 +48,10 @@ REPT NumberOfSymbols ; Number of symbols defined in this object file. BYTE Type ; 0 = LOCAL symbol only used in this file. ; 1 = IMPORT this symbol from elsewhere ; 2 = EXPORT this symbol to other objects. + ; Bit 7 is independent from the above value, and + ; encodes whether the section is unionized - IF Type != 1 ; If symbol is defined in this object file. + IF (Type & 0x7F) != 1 ; If symbol is defined in this object file. STRING FileName ; File where the symbol is defined.