Define STT_COMMON if not defined already.
This symbol is missing on Cygwin.
This commit is contained in:
parent
e182be2204
commit
115683c8bc
4
elf32.c
4
elf32.c
|
@ -269,6 +269,10 @@ static int syms_load_strings(struct elf32_info *info, FILE *in, Elf32_Shdr *s)
|
||||||
|
|
||||||
#define N_SYMS 128
|
#define N_SYMS 128
|
||||||
|
|
||||||
|
#ifndef STT_COMMON
|
||||||
|
#define STT_COMMON 5
|
||||||
|
#endif
|
||||||
|
|
||||||
static int syms_load_syms(struct elf32_info *info, FILE *in,
|
static int syms_load_syms(struct elf32_info *info, FILE *in,
|
||||||
Elf32_Shdr *s, stab_t stab)
|
Elf32_Shdr *s, stab_t stab)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue