Marc (PeStudio Author) kindly replied me pointing out "GCC compiled
binaries have some fields which do not "comply" to the Windows
Portable Executable specification
other helpful info.
So, basically both you were correct.
fwiw, i've tried -gcoff, -gstabs, and -gstabs+ and these warnings were
still shown. However, by accident i've found that passing
"-Wl,--strip-all" to the linker rather than using the "strip" command
gets rid of them!
Hence, letting the linker strip the executable causes the following
warnings to go away:
- The PointerToSymbolTable is Invalid (it should be 0)
- The NumberOfSymbols is Invalid (it should be 0)
- The image contains an Overlay (Offset: 0x000A5A00, Size: 14 Bytes)
Maybe there is some issue with the mingw32-strip program after all.
Thank you both for the help. Btw, if some clue about the 57 exported
curl symbols please let me know :)