nasm/output
Chang S. Bae 74b2731f2c outelf: Fix the section index for the debug output
The section information delivered to the debug output has an index of the
section table. The index should be different from the total number of
sections at the moment, the returned value from add_sectname(). So, fix the
value.

Fixes: b2004511dd ("ELF: handle more than 32,633 sections")

Reported-by: C. Masloch <pushbx@ulukai.org>
Link: https://bugzilla.nasm.us/show_bug.cgi?id=3392654
Reported-by: <mae.bdf@outlook.com>
Link: https://bugzilla.nasm.us/show_bug.cgi?id=3392661
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
2020-04-22 00:05:56 +00:00
..
codeview.c Additional listing options, improve help output, fix macro limits 2019-08-10 01:46:58 -07:00
dwarf.h dwarf: Update header and drop redundant space 2018-10-28 23:51:18 +03:00
elf.h Merge branch 'evalmacro' 2019-04-24 11:14:43 -07:00
legacy.c Sanitize the handling of segments a bit 2017-05-03 17:33:04 -07:00
macho.h output: macho -- Move constants into the header 2018-10-24 22:31:07 +03:00
nulldbg.c Clean up backend format names 2019-08-10 02:28:17 -07:00
nullout.c Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
outaout.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outaout.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outas86.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outas86.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outbin.c Change LBL_NONE to LBL_none 2019-09-12 20:26:23 -04:00
outbin.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outcoff.c outcoff: add semi-generic pragma namespaces 2019-09-30 13:30:15 -07:00
outcoff.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outdbg.c Replace nasm_error(ERR_WARNING|...) with nasm_warn() 2019-08-06 19:18:36 -07:00
outdbg.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outelf.c outelf: Fix the section index for the debug output 2020-04-22 00:05:56 +00:00
outelf.h elf: support weak global and extern references 2019-09-12 14:27:50 -04:00
outelf.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outform.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outform.h Clean up backend format names 2019-08-10 02:28:17 -07:00
outieee.c Remove #includes already provided by "compiler.h" 2018-12-27 12:45:44 -08:00
outlib.c
outlib.h Clean up the handling of various passes 2018-12-18 11:14:59 -08:00
outmacho.c Change LBL_NONE to LBL_none 2019-09-12 20:26:23 -04:00
outmacho.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outobj.c Clean up backend format names 2019-08-10 02:28:17 -07:00
outobj.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outrdf2.c Remove #includes already provided by "compiler.h" 2018-12-27 12:45:44 -08:00
outrdf2.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
outrdf.mac preproc: standard macros now C-safe, %aliases off, fix %? recursion 2019-08-27 16:42:41 -07:00
pecoff.h With buffered warnings, change the handling of error passes 2018-12-18 12:25:11 -08:00
stabs.h Replace <ctype.h> includes with "nctype.h" 2018-12-27 12:37:25 -08:00