Fix compile of programs/winedbg/elf.c on NetBSD 1.6
Yorick Hardy
yh at metroweb.co.za
Mon Feb 23 14:20:03 CST 2004
> seems like i misread some of the ELF specs. Your fix is right (sorry for
> the noise). BTW, you could also remove the use of STN_UNDEF in elf.c
> while you're at it.
Not to worry, I am now more confused than ever :-).
By the way, what is STN_UNDEF for ?
Changelog: Use SHN_UNDEF instead of STN_UNDEF to specify undefined
section index.
Kind regards,
--
Yorick Hardy
--- programs/winedbg/elf.c Sat Feb 14 19:55:30 2004
+++ programs/winedbg/elf.c Mon Feb 23 22:09:35 2004
@@ -110,7 +110,7 @@
* interest.
*/
if (ELF32_ST_TYPE(symp->st_info) == STT_SECTION ||
- symp->st_shndx == STN_UNDEF)
+ symp->st_shndx == SHN_UNDEF)
{
continue;
}
More information about the wine-devel
mailing list