1 --- elfutils/backends/ChangeLog
2 +++ elfutils/backends/ChangeLog
4 * sparc_init.c: Likewise.
5 * x86_64_init.c: Likewise.
7 +2005-11-22 Roland McGrath <roland@redhat.com>
9 + * Makefile.am (LD_AS_NEEDED): New variable, substituted by configure.
10 + (libebl_%.so rule): Use it in place of -Wl,--as-needed.
12 2005-11-19 Roland McGrath <roland@redhat.com>
14 * ppc64_reloc.def: REL30 -> ADDR30.
16 * Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
17 (CLEANFILES): Add libebl_$(m).so.
19 + * Makefile.am (WEXTRA): New variable, substituted by configure.
20 + (AM_CFLAGS): Use it in place of -Wextra.
22 * ppc_reloc.def: Update bits per Alan Modra <amodra@bigpond.net.au>.
23 * ppc64_reloc.def: Likewise.
25 --- elfutils/backends/Makefile.am
26 +++ elfutils/backends/Makefile.am
28 ## <http://www.openinventionnetwork.com>.
30 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\"
32 +LD_AS_NEEDED = @LD_AS_NEEDED@
38 -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
39 +AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 \
41 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
42 -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
43 @@ -59,7 +61,6 @@ endif
45 textrel_check = if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
48 i386_SRCS = i386_init.c i386_symbol.c i386_corenote.c \
49 i386_retval.c i386_regs.c i386_auxv.c i386_syscall.c
50 cpu_i386 = ../libcpu/libcpu_i386.a
51 --- elfutils/backends/Makefile.in
52 +++ elfutils/backends/Makefile.in
53 @@ -155,6 +155,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
54 INSTALL_SCRIPT = @INSTALL_SCRIPT@
55 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
57 +LD_AS_NEEDED = @LD_AS_NEEDED@
60 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
61 @@ -184,6 +185,7 @@ SHELL = @SHELL@
67 XGETTEXT_015 = @XGETTEXT_015@
69 @@ -239,9 +241,9 @@ target_alias = @target_alias@
70 top_builddir = @top_builddir@
71 top_srcdir = @top_srcdir@
72 @MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
73 -@MUDFLAP_FALSE@ -Wextra -Wformat=2 -std=gnu99
74 +@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2 -std=gnu99
75 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
76 -@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2 -std=gnu99
77 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99
78 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libebl -I$(top_srcdir)/libasm \
79 -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
80 -I$(top_srcdir)/lib -I..
81 --- elfutils/ChangeLog
82 +++ elfutils/ChangeLog
84 * configure.ac: Add dummy automake conditional to get dependencies
85 for non-generic linker right. See src/Makefile.am.
87 +2005-11-22 Roland McGrath <roland@redhat.com>
89 + * configure.ac: Check for --as-needed linker option.
91 2005-11-18 Roland McGrath <roland@redhat.com>
93 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
95 * Makefile.am (all_SUBDIRS): Add libdwfl.
96 * configure.ac: Write libdwfl/Makefile.
98 +2005-05-31 Roland McGrath <roland@redhat.com>
100 + * configure.ac (WEXTRA): Check for -Wextra and set this substitution.
102 + * configure.ac: Check for struct stat st_?tim members.
103 + * src/strip.c (process_file): Use st_?time if st_?tim are not there.
105 + * configure.ac: Check for futimes function.
106 + * src/strip.c (handle_elf) [! HAVE_FUTIMES]: Use utimes instead.
107 + (handle_ar) [! HAVE_FUTIMES]: Likewise.
109 2005-05-19 Roland McGrath <roland@redhat.com>
111 * configure.ac [AH_BOTTOM] (INTDECL, _INTDECL): New macros.
112 --- elfutils/config/Makefile.in
113 +++ elfutils/config/Makefile.in
114 @@ -72,6 +72,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
115 INSTALL_SCRIPT = @INSTALL_SCRIPT@
116 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
118 +LD_AS_NEEDED = @LD_AS_NEEDED@
121 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
122 @@ -101,6 +102,7 @@ SHELL = @SHELL@
127 XGETTEXT = @XGETTEXT@
128 XGETTEXT_015 = @XGETTEXT_015@
130 --- elfutils/configure
131 +++ elfutils/configure
132 @@ -676,6 +676,8 @@ YFLAGS
141 @@ -3894,6 +3896,88 @@ echo "$as_me: error: gcc with C99 suppor
145 +{ echo "$as_me:$LINENO: checking for -Wextra option to $CC" >&5
146 +echo $ECHO_N "checking for -Wextra option to $CC... $ECHO_C" >&6; }
147 +if test "${ac_cv_cc_wextra+set}" = set; then
148 + echo $ECHO_N "(cached) $ECHO_C" >&6
150 + old_CFLAGS="$CFLAGS"
151 +CFLAGS="$CFLAGS -Wextra"
152 +cat >conftest.$ac_ext <<_ACEOF
155 +rm -f conftest.$ac_objext
156 +if { (ac_try="$ac_compile"
158 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
159 + *) ac_try_echo=$ac_try;;
161 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
162 + (eval "$ac_compile") 2>conftest.er1
164 + grep -v '^ *+' conftest.er1 >conftest.err
166 + cat conftest.err >&5
167 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
168 + (exit $ac_status); } && {
169 + test -z "$ac_c_werror_flag" ||
170 + test ! -s conftest.err
171 + } && test -s conftest.$ac_objext; then
172 + ac_cv_cc_wextra=yes
174 + echo "$as_me: failed program was:" >&5
175 +sed 's/^/| /' conftest.$ac_ext >&5
180 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
181 +CFLAGS="$old_CFLAGS"
183 +{ echo "$as_me:$LINENO: result: $ac_cv_cc_wextra" >&5
184 +echo "${ECHO_T}$ac_cv_cc_wextra" >&6; }
186 +if test "x$ac_cv_cc_wextra" = xyes; then
193 +{ echo "$as_me:$LINENO: checking for --as-needed linker option" >&5
194 +echo $ECHO_N "checking for --as-needed linker option... $ECHO_C" >&6; }
195 +if test "${ac_cv_as_needed+set}" = set; then
196 + echo $ECHO_N "(cached) $ECHO_C" >&6
198 + cat > conftest.c <<EOF
199 +int main (void) { return 0; }
201 +if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
202 + -fPIC -shared -o conftest.so conftest.c
203 + -Wl,--as-needed 1>&5'
204 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
205 + (eval $ac_try) 2>&5
207 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
208 + (exit $ac_status); }; }
210 + ac_cv_as_needed=yes
216 +{ echo "$as_me:$LINENO: result: $ac_cv_as_needed" >&5
217 +echo "${ECHO_T}$ac_cv_as_needed" >&6; }
218 +if test "x$ac_cv_as_needed" = xyes; then
219 + LD_AS_NEEDED=-Wl,--as-needed
229 cat >>confdefs.h <<_ACEOF
230 @@ -5646,8 +5730,8 @@ YFLAGS!$YFLAGS$ac_delim
232 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
233 LEXLIB!$LEXLIB$ac_delim
234 -LOCALEDIR!$LOCALEDIR$ac_delim
235 -DATADIRNAME!$DATADIRNAME$ac_delim
236 +WEXTRA!$WEXTRA$ac_delim
237 +LD_AS_NEEDED!$LD_AS_NEEDED$ac_delim
240 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
241 @@ -5689,6 +5773,8 @@ _ACEOF
243 for ac_last_try in false false false false false :; do
244 cat >conf$$subs.sed <<_ACEOF
245 +LOCALEDIR!$LOCALEDIR$ac_delim
246 +DATADIRNAME!$DATADIRNAME$ac_delim
247 NATIVE_LD_TRUE!$NATIVE_LD_TRUE$ac_delim
248 NATIVE_LD_FALSE!$NATIVE_LD_FALSE$ac_delim
249 base_cpu!$base_cpu$ac_delim
250 @@ -5722,7 +5808,7 @@ LIBOBJS!$LIBOBJS$ac_delim
251 LTLIBOBJS!$LTLIBOBJS$ac_delim
254 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
255 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
257 elif $ac_last_try; then
258 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
259 --- elfutils/configure.ac
260 +++ elfutils/configure.ac
261 @@ -74,6 +74,34 @@ CFLAGS="$old_CFLAGS"])
262 AS_IF([test "x$ac_cv_c99" != xyes],
263 AC_MSG_ERROR([gcc with C99 support required]))
265 +AC_CACHE_CHECK([for -Wextra option to $CC], ac_cv_cc_wextra, [dnl
266 +old_CFLAGS="$CFLAGS"
267 +CFLAGS="$CFLAGS -Wextra"
268 +AC_COMPILE_IFELSE([void foo (void) { }],
269 + ac_cv_cc_wextra=yes, ac_cv_cc_wextra=no)
270 +CFLAGS="$old_CFLAGS"])
272 +AS_IF([test "x$ac_cv_cc_wextra" = xyes], [WEXTRA=-Wextra], [WEXTRA=-W])
274 +AC_CACHE_CHECK([for --as-needed linker option],
275 + ac_cv_as_needed, [dnl
276 +cat > conftest.c <<EOF
277 +int main (void) { return 0; }
279 +if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
280 + -fPIC -shared -o conftest.so conftest.c
281 + -Wl,--as-needed 1>&AS_MESSAGE_LOG_FD])
283 + ac_cv_as_needed=yes
288 +AS_IF([test "x$ac_cv_as_needed" = xyes],
289 + [LD_AS_NEEDED=-Wl,--as-needed], [LD_AS_NEEDED=])
290 +AC_SUBST(LD_AS_NEEDED)
295 AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR")
296 --- elfutils/lib/ChangeLog
297 +++ elfutils/lib/ChangeLog
299 * Makefile.am (libeu_a_SOURCES): Add it.
300 * system.h: Declare crc32_file.
302 +2005-02-07 Roland McGrath <roland@redhat.com>
304 + * Makefile.am (WEXTRA): New variable, substituted by configure.
305 + (AM_CFLAGS): Use it in place of -Wextra.
307 2005-04-30 Ulrich Drepper <drepper@redhat.com>
309 * Makefile.am: Use -ffunction-sections for xmalloc.c.
310 --- elfutils/lib/Makefile.am
311 +++ elfutils/lib/Makefile.am
313 ## <http://www.openinventionnetwork.com>.
315 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
318 AM_CFLAGS = -fmudflap
322 -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
323 +AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) $($(*F)_CFLAGS)
324 INCLUDES = -I$(srcdir)/../libelf -I..
326 noinst_LIBRARIES = libeu.a
327 --- elfutils/lib/Makefile.in
328 +++ elfutils/lib/Makefile.in
329 @@ -93,6 +93,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
330 INSTALL_SCRIPT = @INSTALL_SCRIPT@
331 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
333 +LD_AS_NEEDED = @LD_AS_NEEDED@
336 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
337 @@ -122,6 +123,7 @@ SHELL = @SHELL@
342 XGETTEXT = @XGETTEXT@
343 XGETTEXT_015 = @XGETTEXT_015@
345 @@ -177,9 +179,9 @@ target_alias = @target_alias@
346 top_builddir = @top_builddir@
347 top_srcdir = @top_srcdir@
348 @MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
349 -@MUDFLAP_FALSE@ -Wextra $($(*F)_CFLAGS)
350 +@MUDFLAP_FALSE@ $(WEXTRA) $($(*F)_CFLAGS)
351 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
352 -@MUDFLAP_TRUE@ -Wunused -Wextra $($(*F)_CFLAGS)
353 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) $($(*F)_CFLAGS)
354 INCLUDES = -I$(srcdir)/../libelf -I..
355 noinst_LIBRARIES = libeu.a
356 libeu_a_SOURCES = xstrndup.c xmalloc.c next_prime.c \
357 --- elfutils/libasm/ChangeLog
358 +++ elfutils/libasm/ChangeLog
360 * asm_error.c: Add new error ASM_E_IOERROR.
361 * libasmP.h: Add ASM_E_IOERROR definition.
363 +2005-05-31 Roland McGrath <roland@redhat.com>
365 + * Makefile.am (WEXTRA): New variable, substituted by configure.
366 + (AM_CFLAGS): Use it in place of -Wextra.
368 2005-02-15 Ulrich Drepper <drepper@redhat.com>
370 * Makefile.am (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
371 --- elfutils/libasm/Makefile.am
372 +++ elfutils/libasm/Makefile.am
374 ## <http://www.openinventionnetwork.com>.
376 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
379 AM_CFLAGS = -fmudflap
383 -AM_CFLAGS += -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2
384 +AM_CFLAGS += -std=gnu99 -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2
385 INCLUDES = -I. -I$(srcdir) -I.. \
386 -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw\
388 --- elfutils/libasm/Makefile.in
389 +++ elfutils/libasm/Makefile.in
390 @@ -126,6 +126,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
391 INSTALL_SCRIPT = @INSTALL_SCRIPT@
392 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
394 +LD_AS_NEEDED = @LD_AS_NEEDED@
397 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
398 @@ -155,6 +156,7 @@ SHELL = @SHELL@
403 XGETTEXT = @XGETTEXT@
404 XGETTEXT_015 = @XGETTEXT_015@
406 @@ -210,9 +212,9 @@ target_alias = @target_alias@
407 top_builddir = @top_builddir@
408 top_srcdir = @top_srcdir@
409 @MUDFLAP_FALSE@AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Werror -Wunused \
410 -@MUDFLAP_FALSE@ -Wextra -Wformat=2
411 +@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2
412 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -std=gnu99 -Wall -Wshadow -Werror \
413 -@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2
414 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2
415 INCLUDES = -I. -I$(srcdir) -I.. \
416 -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw\
418 --- elfutils/libcpu/ChangeLog
419 +++ elfutils/libcpu/ChangeLog
421 * defs/i386.doc: New file.
422 * defs/x86_64: New file.
424 +2005-04-04 Roland McGrath <roland@redhat.com>
426 + * Makefile.am (WEXTRA): New variable, substituted by configure.
427 + (AM_CFLAGS): Use it instead of -Wextra.
429 2005-02-15 Ulrich Drepper <drepper@redhat.com>
431 * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
432 --- elfutils/libcpu/Makefile.am
433 +++ elfutils/libcpu/Makefile.am
434 @@ -30,7 +30,8 @@ AM_CFLAGS = -fmudflap
438 -AM_CFLAGS += -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fpic \
440 +AM_CFLAGS += -Wall -Wshadow -Wunused $(WEXTRA) -std=gnu99 -fpic \
442 $(if $($(*F)_no_Werror),,-Werror)
443 INCLUDES = -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../libelf \
444 --- elfutils/libcpu/Makefile.in
445 +++ elfutils/libcpu/Makefile.in
446 @@ -109,6 +109,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
447 INSTALL_SCRIPT = @INSTALL_SCRIPT@
448 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
450 +LD_AS_NEEDED = @LD_AS_NEEDED@
453 LEX_OUTPUT_ROOT = lex.$(<F:lex.l=)
454 @@ -138,6 +139,7 @@ SHELL = @SHELL@
459 XGETTEXT = @XGETTEXT@
460 XGETTEXT_015 = @XGETTEXT_015@
462 @@ -192,10 +194,10 @@ sysconfdir = @sysconfdir@
463 target_alias = @target_alias@
464 top_builddir = @top_builddir@
465 top_srcdir = @top_srcdir@
466 -@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 \
467 -@MUDFLAP_FALSE@ -fpic $($(*F)_CFLAGS) $(if \
468 +@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -Wunused $(WEXTRA) \
469 +@MUDFLAP_FALSE@ -std=gnu99 -fpic $($(*F)_CFLAGS) $(if \
470 @MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror)
471 -@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -Wunused -Wextra \
472 +@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -Wunused $(WEXTRA) \
473 @MUDFLAP_TRUE@ -std=gnu99 -fpic $($(*F)_CFLAGS) $(if \
474 @MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror)
475 INCLUDES = -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../libelf \
476 --- elfutils/libdw/ChangeLog
477 +++ elfutils/libdw/ChangeLog
480 2005-05-31 Roland McGrath <roland@redhat.com>
482 + * Makefile.am (WEXTRA): New variable, substituted by configure.
483 + (AM_CFLAGS): Use it in place of -Wextra.
485 +2005-05-31 Roland McGrath <roland@redhat.com>
487 * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to
490 --- elfutils/libdw/Makefile.am
491 +++ elfutils/libdw/Makefile.am
493 ## <http://www.openinventionnetwork.com>.
495 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW
498 AM_CFLAGS = -fmudflap
500 @@ -33,7 +34,7 @@ endif
504 -AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
505 +AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
506 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
509 --- elfutils/libdw/Makefile.in
510 +++ elfutils/libdw/Makefile.in
511 @@ -164,6 +164,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
512 INSTALL_SCRIPT = @INSTALL_SCRIPT@
513 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
515 +LD_AS_NEEDED = @LD_AS_NEEDED@
518 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
519 @@ -193,6 +194,7 @@ SHELL = @SHELL@
524 XGETTEXT = @XGETTEXT@
525 XGETTEXT_015 = @XGETTEXT_015@
527 @@ -248,9 +250,10 @@ target_alias = @target_alias@
528 top_builddir = @top_builddir@
529 top_srcdir = @top_srcdir@
530 @MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Werror -Wshadow \
531 -@MUDFLAP_FALSE@ -Wunused -Wformat=2 -Wextra -std=gnu99
532 +@MUDFLAP_FALSE@ -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
533 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Werror \
534 -@MUDFLAP_TRUE@ -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
535 +@MUDFLAP_TRUE@ -Wshadow -Wunused -Wformat=2 $(WEXTRA) \
536 +@MUDFLAP_TRUE@ -std=gnu99
537 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
538 COMPILE.os = $(filter-out -fprofile-arcs, $(filter-out -ftest-coverage, \
540 --- elfutils/libdwfl/ChangeLog
541 +++ elfutils/libdwfl/ChangeLog
544 2005-07-21 Roland McGrath <roland@redhat.com>
546 + * Makefile.am (WEXTRA): New variable, substituted by configure.
547 + (AM_CFLAGS): Use it in place of -Wextra.
549 +2005-07-21 Roland McGrath <roland@redhat.com>
551 * Makefile.am (noinst_HEADERS): Add loc2c.c.
553 * test2.c (main): Check sscanf result to quiet warning.
554 --- elfutils/libdwfl/Makefile.am
555 +++ elfutils/libdwfl/Makefile.am
557 ## <http://www.openinventionnetwork.com>.
559 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
562 AM_CFLAGS = -fmudflap
566 -AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
567 +AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
568 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
569 -I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
571 --- elfutils/libdwfl/Makefile.in
572 +++ elfutils/libdwfl/Makefile.in
573 @@ -131,6 +131,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
574 INSTALL_SCRIPT = @INSTALL_SCRIPT@
575 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
577 +LD_AS_NEEDED = @LD_AS_NEEDED@
580 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
581 @@ -160,6 +161,7 @@ SHELL = @SHELL@
586 XGETTEXT = @XGETTEXT@
587 XGETTEXT_015 = @XGETTEXT_015@
589 @@ -215,9 +217,9 @@ target_alias = @target_alias@
590 top_builddir = @top_builddir@
591 top_srcdir = @top_srcdir@
592 @MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror -Wshadow -Wunused -Wformat=2 \
593 -@MUDFLAP_FALSE@ -Wextra -std=gnu99
594 +@MUDFLAP_FALSE@ $(WEXTRA) -std=gnu99
595 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Werror -Wshadow -Wunused \
596 -@MUDFLAP_TRUE@ -Wformat=2 -Wextra -std=gnu99
597 +@MUDFLAP_TRUE@ -Wformat=2 $(WEXTRA) -std=gnu99
598 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
599 -I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
601 --- elfutils/libebl/ChangeLog
602 +++ elfutils/libebl/ChangeLog
604 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
605 tracking works right.
607 +2005-05-31 Roland McGrath <roland@redhat.com>
609 + * Makefile.am (WEXTRA): New variable, substituted by configure.
610 + (AM_CFLAGS): Use it in place of -Wextra.
612 2005-05-21 Ulrich Drepper <drepper@redhat.com>
614 * libebl_x86_64.map: Add x86_64_core_note.
615 --- elfutils/libebl/Makefile.am
616 +++ elfutils/libebl/Makefile.am
618 ## <http://www.openinventionnetwork.com>.
620 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\"
623 AM_CFLAGS = -fmudflap
627 -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
628 +AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 \
631 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
632 --- elfutils/libebl/Makefile.in
633 +++ elfutils/libebl/Makefile.in
634 @@ -123,6 +123,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
635 INSTALL_SCRIPT = @INSTALL_SCRIPT@
636 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
638 +LD_AS_NEEDED = @LD_AS_NEEDED@
641 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
642 @@ -152,6 +153,7 @@ SHELL = @SHELL@
647 XGETTEXT = @XGETTEXT@
648 XGETTEXT_015 = @XGETTEXT_015@
650 @@ -207,9 +209,9 @@ target_alias = @target_alias@
651 top_builddir = @top_builddir@
652 top_srcdir = @top_srcdir@
653 @MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
654 -@MUDFLAP_FALSE@ -Wextra -Wformat=2 -std=gnu99
655 +@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2 -std=gnu99
656 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
657 -@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2 -std=gnu99
658 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99
659 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
660 -I$(top_srcdir)/lib -I.. -I$(srcdir)/../libasm
662 --- elfutils/libelf/ChangeLog
663 +++ elfutils/libelf/ChangeLog
665 If section content hasn't been read yet, do it before looking for the
666 block size. If no section data present, infer size of section header.
668 +2005-05-31 Roland McGrath <roland@redhat.com>
670 + * Makefile.am (WEXTRA): New variable, substituted by configure.
671 + (AM_CFLAGS): Use it in place of -Wextra.
673 2005-05-11 Ulrich Drepper <drepper@redhat.com>
675 * elf.h: Update again.
676 --- elfutils/libelf/common.h
677 +++ elfutils/libelf/common.h
678 @@ -160,7 +160,7 @@ libelf_release_all (Elf *elf)
679 (Var) = (sizeof (Var) == 1 \
680 ? (unsigned char) (Var) \
681 : (sizeof (Var) == 2 \
683 + ? (unsigned short int) bswap_16 (Var) \
684 : (sizeof (Var) == 4 \
687 @@ -169,7 +169,7 @@ libelf_release_all (Elf *elf)
688 (Dst) = (sizeof (Var) == 1 \
689 ? (unsigned char) (Var) \
690 : (sizeof (Var) == 2 \
692 + ? (unsigned short int) bswap_16 (Var) \
693 : (sizeof (Var) == 4 \
696 --- elfutils/libelf/Makefile.am
697 +++ elfutils/libelf/Makefile.am
699 ## <http://www.openinventionnetwork.com>.
701 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
704 AM_CFLAGS = -fmudflap
706 @@ -33,7 +34,7 @@ endif
710 -AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
711 +AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
713 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
714 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
715 --- elfutils/libelf/Makefile.in
716 +++ elfutils/libelf/Makefile.in
717 @@ -171,6 +171,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
718 INSTALL_SCRIPT = @INSTALL_SCRIPT@
719 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
721 +LD_AS_NEEDED = @LD_AS_NEEDED@
724 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
725 @@ -200,6 +201,7 @@ SHELL = @SHELL@
730 XGETTEXT = @XGETTEXT@
731 XGETTEXT_015 = @XGETTEXT_015@
733 @@ -255,10 +257,10 @@ target_alias = @target_alias@
734 top_builddir = @top_builddir@
735 top_srcdir = @top_srcdir@
736 @MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Wshadow -Werror \
737 -@MUDFLAP_FALSE@ -Wunused -Wextra -Wformat=2 -std=gnu99 \
738 +@MUDFLAP_FALSE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
739 @MUDFLAP_FALSE@ $($(*F)_CFLAGS)
740 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Wshadow \
741 -@MUDFLAP_TRUE@ -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
742 +@MUDFLAP_TRUE@ -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
743 @MUDFLAP_TRUE@ $($(*F)_CFLAGS)
744 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
745 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
746 --- elfutils/m4/Makefile.in
747 +++ elfutils/m4/Makefile.in
748 @@ -71,6 +71,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
749 INSTALL_SCRIPT = @INSTALL_SCRIPT@
750 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
752 +LD_AS_NEEDED = @LD_AS_NEEDED@
755 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
756 @@ -100,6 +101,7 @@ SHELL = @SHELL@
761 XGETTEXT = @XGETTEXT@
762 XGETTEXT_015 = @XGETTEXT_015@
764 --- elfutils/Makefile.in
765 +++ elfutils/Makefile.in
766 @@ -98,6 +98,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
767 INSTALL_SCRIPT = @INSTALL_SCRIPT@
768 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
770 +LD_AS_NEEDED = @LD_AS_NEEDED@
773 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
774 @@ -127,6 +128,7 @@ SHELL = @SHELL@
779 XGETTEXT = @XGETTEXT@
780 XGETTEXT_015 = @XGETTEXT_015@
782 --- elfutils/src/ChangeLog
783 +++ elfutils/src/ChangeLog
785 that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
788 +2008-03-01 Roland McGrath <roland@redhat.com>
790 + * readelf.c (dump_archive_index): Tweak portability hack
791 + to match [__GNUC__ < 4] too.
793 2008-02-29 Roland McGrath <roland@redhat.com>
795 * readelf.c (print_attributes): Add a cast.
798 * readelf.c (hex_dump): Fix rounding error in whitespace calculation.
800 + * Makefile.am (readelf_no_Werror): New variable.
802 2007-10-15 Roland McGrath <roland@redhat.com>
804 * make-debug-archive.in: New file.
806 * elflint.c (valid_e_machine): Add EM_ALPHA.
807 Reported by Christian Aichinger <Greek0@gmx.net>.
809 + * strings.c (map_file): Define POSIX_MADV_SEQUENTIAL to
810 + MADV_SEQUENTIAL if undefined. Don't call posix_madvise
811 + if neither is defined.
813 2006-08-08 Ulrich Drepper <drepper@redhat.com>
815 * elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
817 * Makefile.am: Add hacks to create dependency files for non-generic
820 +2006-04-05 Roland McGrath <roland@redhat.com>
822 + * strings.c (MAP_POPULATE): Define to 0 if undefined.
824 2006-06-12 Ulrich Drepper <drepper@redhat.com>
826 * ldgeneric.c (ld_generic_generate_sections): Don't create .interp
827 @@ -1175,6 +1190,11 @@
828 * readelf.c (print_debug_loc_section): Fix indentation for larger
831 +2005-05-31 Roland McGrath <roland@redhat.com>
833 + * Makefile.am (WEXTRA): New variable, substituted by configure.
834 + (AM_CFLAGS): Use it in place of -Wextra.
836 2005-05-30 Roland McGrath <roland@redhat.com>
838 * readelf.c (print_debug_line_section): Print section offset of each
839 --- elfutils/src/findtextrel.c
840 +++ elfutils/src/findtextrel.c
841 @@ -488,7 +488,11 @@ ptrcompare (const void *p1, const void *
845 -check_rel (size_t nsegments, struct segments segments[nsegments],
846 +check_rel (size_t nsegments, struct segments segments[
851 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
852 const char *fname, bool more_than_one, void **knownsrcs)
854 --- elfutils/src/Makefile.am
855 +++ elfutils/src/Makefile.am
858 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) -DDEBUGPRED=@DEBUGPRED@ \
859 -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
862 AM_CFLAGS = -fmudflap
864 @@ -33,7 +34,7 @@ AM_CFLAGS =
866 AM_CFLAGS += -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
867 $(if $($(*F)_no_Werror),,-Werror) \
868 - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
869 + $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \
870 $(if $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F))
872 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
873 @@ -111,6 +112,9 @@ strings_no_Wformat = yes
874 # XXX While the file is not finished, don't warn about this
875 ldgeneric_no_Wunused = yes
877 +# Buggy old compilers.
878 +readelf_no_Werror = yes
880 readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
881 nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
882 size_LDADD = $(libelf) $(libeu) $(libmudflap)
883 --- elfutils/src/Makefile.in
884 +++ elfutils/src/Makefile.in
885 @@ -201,6 +201,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
886 INSTALL_SCRIPT = @INSTALL_SCRIPT@
887 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
889 +LD_AS_NEEDED = @LD_AS_NEEDED@
892 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
893 @@ -230,6 +231,7 @@ SHELL = @SHELL@
898 XGETTEXT = @XGETTEXT@
899 XGETTEXT_015 = @XGETTEXT_015@
901 @@ -287,13 +289,13 @@ top_srcdir = @top_srcdir@
902 @MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -std=gnu99 \
903 @MUDFLAP_FALSE@ $(native_ld_cflags) $(if \
904 @MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror) $(if \
905 -@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
906 +@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
907 @MUDFLAP_FALSE@ $($(*F)_no_Wformat),,-Wformat=2) \
908 @MUDFLAP_FALSE@ $(CFLAGS_$(*F))
909 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -std=gnu99 \
910 @MUDFLAP_TRUE@ $(native_ld_cflags) $(if \
911 @MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror) $(if \
912 -@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
913 +@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
914 @MUDFLAP_TRUE@ $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F))
915 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
916 -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \
917 @@ -337,6 +339,9 @@ size_no_Wformat = yes
918 strings_no_Wformat = yes
919 # XXX While the file is not finished, don't warn about this
920 ldgeneric_no_Wunused = yes
922 +# Buggy old compilers.
923 +readelf_no_Werror = yes
924 readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
925 nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
926 size_LDADD = $(libelf) $(libeu) $(libmudflap)
927 --- elfutils/src/readelf.c
928 +++ elfutils/src/readelf.c
929 @@ -6419,7 +6419,7 @@ dump_archive_index (Elf *elf, const char
930 if (unlikely (elf_rand (elf, as_off) == 0)
931 || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
933 -#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 7)
934 +#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 7) || __GNUC__ < 4
937 error (EXIT_FAILURE, 0,
938 --- elfutils/src/strings.c
939 +++ elfutils/src/strings.c
944 +#ifndef MAP_POPULATE
945 +# define MAP_POPULATE 0
949 /* Prototypes of local functions. */
950 static int read_fd (int fd, const char *fname, off64_t fdlen);
951 @@ -491,8 +495,13 @@ map_file (int fd, off64_t start_off, off
953 if (mem != MAP_FAILED)
955 +#if !defined POSIX_MADV_SEQUENTIAL && defined MADV_SEQUENTIAL
956 +# define POSIX_MADV_SEQUENTIAL MADV_SEQUENTIAL
958 +#ifdef POSIX_MADV_SEQUENTIAL
959 /* We will go through the mapping sequentially. */
960 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL);
964 if (errno != EINVAL && errno != ENOMEM)
965 --- elfutils/src/strip.c
966 +++ elfutils/src/strip.c
972 +# define FUTIMES(fd, fname, tvp) futimes (fd, tvp)
974 +# define FUTIMES(fd, fname, tvp) utimes (fname, tvp)
978 /* Name and version of program. */
979 static void print_version (FILE *stream, struct argp_state *state);
980 @@ -300,8 +306,18 @@ process_file (const char *fname)
982 /* If we have to preserve the timestamp, we need it in the
983 format utimes() understands. */
984 +#ifdef HAVE_STRUCT_STAT_ST_ATIM
985 TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim);
987 + tv[0].tv_sec = pre_st.st_atime;
990 +#ifdef HAVE_STRUCT_STAT_ST_MTIM
991 TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim);
993 + tv[1].tv_sec = pre_st.st_atime;
999 @@ -1745,7 +1761,7 @@ handle_elf (int fd, Elf *elf, const char
1000 /* If requested, preserve the timestamp. */
1003 - if (futimes (fd, tvp) != 0)
1004 + if (FUTIMES (fd, output_fname, tvp) != 0)
1006 error (0, errno, gettext ("\
1007 cannot set access and modification date of '%s'"),
1008 @@ -1802,7 +1818,7 @@ handle_ar (int fd, Elf *elf, const char
1012 - if (unlikely (futimes (fd, tvp) != 0))
1013 + if (unlikely (FUTIMES (fd, fname, tvp) != 0))
1015 error (0, errno, gettext ("\
1016 cannot set access and modification date of '%s'"), fname);
1017 --- elfutils/tests/ChangeLog
1018 +++ elfutils/tests/ChangeLog
1021 2008-01-21 Roland McGrath <roland@redhat.com>
1023 + * line2addr.c (main): Revert last change.
1025 * testfile45.S.bz2: Add tests for cltq, cqto.
1026 * testfile45.expect.bz2: Adjust.
1028 @@ -759,6 +761,11 @@
1029 * Makefile.am (TESTS): Add run-elflint-test.sh.
1030 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1032 +2005-05-31 Roland McGrath <roland@redhat.com>
1034 + * Makefile.am (WEXTRA): New variable, substituted by configure.
1035 + (AM_CFLAGS): Use it in place of -Wextra.
1037 2005-05-24 Ulrich Drepper <drepper@redhat.com>
1039 * get-files.c (main): Use correct format specifier.
1040 --- elfutils/tests/line2addr.c
1041 +++ elfutils/tests/line2addr.c
1042 @@ -132,7 +132,7 @@ main (int argc, char *argv[])
1044 struct args a = { .arg = argv[cnt] };
1046 - switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
1047 + switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
1051 --- elfutils/tests/Makefile.am
1052 +++ elfutils/tests/Makefile.am
1054 ## <http://www.openinventionnetwork.com>.
1056 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
1059 -AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
1060 +AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 -fmudflap\
1061 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1062 BUILD_RPATH = \$$ORIGIN/../backends
1064 -AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
1065 +AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 \
1066 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1067 BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
1069 --- elfutils/tests/Makefile.in
1070 +++ elfutils/tests/Makefile.in
1071 @@ -335,6 +335,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
1072 INSTALL_SCRIPT = @INSTALL_SCRIPT@
1073 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1075 +LD_AS_NEEDED = @LD_AS_NEEDED@
1078 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
1079 @@ -364,6 +365,7 @@ SHELL = @SHELL@
1084 XGETTEXT = @XGETTEXT@
1085 XGETTEXT_015 = @XGETTEXT_015@
1087 @@ -418,10 +420,10 @@ sysconfdir = @sysconfdir@
1088 target_alias = @target_alias@
1089 top_builddir = @top_builddir@
1090 top_srcdir = @top_srcdir@
1091 -@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
1092 +@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 \
1093 @MUDFLAP_FALSE@ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1095 -@MUDFLAP_TRUE@AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
1096 +@MUDFLAP_TRUE@AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 -fmudflap\
1097 @MUDFLAP_TRUE@ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1099 @MUDFLAP_TRUE@BUILD_RPATH = \$$ORIGIN/../backends