ref: 8c91b31ae6f35fb26eee327d0d47feac95959f8e
parent: 302b21047090cc3ae11db26915b91f6d0239ea71
author: ISSOtm <[email protected]>
date: Wed Oct 2 10:22:27 EDT 2019
Fix typo that led to segfault
--- a/src/link/output.c
+++ b/src/link/output.c
@@ -240,7 +240,7 @@
minSectList = sectList.addr < zlSectList.addr
? §List
: &zlSectList;
- } else if (sectList.sect) {
+ } else if (sectList.sections) {
sectList.sym = sectList.sect->symbols[sectList.i];
sectList.addr =
sectList.sym->offset + sectList.sect->org;