diff options
Diffstat (limited to 'trunk/src')
-rw-r--r-- | trunk/src/Makefile.am | 4 | ||||
-rw-r--r-- | trunk/src/Makefile.in | 4 | ||||
-rw-r--r-- | trunk/src/dso.c | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/trunk/src/Makefile.am b/trunk/src/Makefile.am index 882eeea..d2265aa 100644 --- a/trunk/src/Makefile.am +++ b/trunk/src/Makefile.am @@ -2,8 +2,8 @@ AUTOMAKE_OPTIONS = 1.4 gnu -DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -AM_CFLAGS = -Wall +DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wno-pointer-sign +AM_CFLAGS = -Wall -Wno-pointer-sign AM_CPPFLAGS = -DSBINDIR='"@sbindir@"' INCLUDES = @GELFINCLUDE@ diff --git a/trunk/src/Makefile.in b/trunk/src/Makefile.in index 7dbe941..85cf845 100644 --- a/trunk/src/Makefile.in +++ b/trunk/src/Makefile.in @@ -97,8 +97,8 @@ install_sh = @install_sh@ AUTOMAKE_OPTIONS = 1.4 gnu -DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -AM_CFLAGS = -Wall +DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wno-pointer-sign +AM_CFLAGS = -Wall -Wno-pointer-sign AM_CPPFLAGS = -DSBINDIR='"@sbindir@"' INCLUDES = @GELFINCLUDE@ diff --git a/trunk/src/dso.c b/trunk/src/dso.c index fcefafb..c12997b 100644 --- a/trunk/src/dso.c +++ b/trunk/src/dso.c @@ -844,6 +844,7 @@ reopen_dso (DSO *dso, struct section_move *move, const char *temp_base) } else { + memset (&data, 0, sizeof data); data.d_type = ELF_T_NUM; data1 = NULL; while ((data1 = elf_getdata (dso->scn[j], data1)) |