ELF: allow turning off DEBUG_ELF if DEBUG=1

pull/327/head
Marco Oliverio 2023-07-13 07:31:19 +00:00
parent 93bedf7333
commit 95ea6659f9
1 changed files with 4 additions and 0 deletions

View File

@ -34,8 +34,12 @@
/* support for elf parsing debug printf */
#if defined(DEBUG) || defined(ELF_PARSER)
#if DEBUG_ELF == 0
#undef DEBUG_ELF
#else
#define DEBUG_ELF
#endif
#endif
/* support byte swapping if testing/reading an elf with different endianess */
#if defined(ELF_PARSER) || defined(ELF_ENDIAN_SUPPORT)