Define STT_COMMON if not defined already.

This symbol is missing on Cygwin.
This commit is contained in:
Daniel Beer 2011-02-22 09:49:53 +13:00
parent e182be2204
commit 115683c8bc
1 changed files with 4 additions and 0 deletions

View File

@ -269,6 +269,10 @@ static int syms_load_strings(struct elf32_info *info, FILE *in, Elf32_Shdr *s)
#define N_SYMS 128
#ifndef STT_COMMON
#define STT_COMMON 5
#endif
static int syms_load_syms(struct elf32_info *info, FILE *in,
Elf32_Shdr *s, stab_t stab)
{