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
50 cpu_i386 = ../libcpu/libcpu_i386.a
51 --- elfutils/backends/Makefile.in
52 +++ elfutils/backends/Makefile.in
53 @@ -153,6 +153,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 @@ -182,6 +183,7 @@ SHELL = @SHELL@
67 XGETTEXT_015 = @XGETTEXT_015@
69 @@ -237,9 +239,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 @@ -674,6 +674,8 @@ YFLAGS
141 @@ -3877,6 +3879,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 @@ -5621,10 +5705,10 @@ YFLAGS!$YFLAGS$ac_delim
232 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
233 LEXLIB!$LEXLIB$ac_delim
234 +WEXTRA!$WEXTRA$ac_delim
235 +LD_AS_NEEDED!$LD_AS_NEEDED$ac_delim
236 LOCALEDIR!$LOCALEDIR$ac_delim
237 DATADIRNAME!$DATADIRNAME$ac_delim
238 -NATIVE_LD_TRUE!$NATIVE_LD_TRUE$ac_delim
239 -NATIVE_LD_FALSE!$NATIVE_LD_FALSE$ac_delim
242 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
243 @@ -5666,6 +5750,8 @@ _ACEOF
245 for ac_last_try in false false false false false :; do
246 cat >conf$$subs.sed <<_ACEOF
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 NEVER_TRUE!$NEVER_TRUE$ac_delim
251 NEVER_FALSE!$NEVER_FALSE$ac_delim
252 @@ -5697,7 +5783,7 @@ LIBOBJS!$LIBOBJS$ac_delim
253 LTLIBOBJS!$LTLIBOBJS$ac_delim
256 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then
257 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
259 elif $ac_last_try; then
260 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
261 --- elfutils/configure.ac
262 +++ elfutils/configure.ac
263 @@ -71,6 +71,34 @@ CFLAGS="$old_CFLAGS"])
264 AS_IF([test "x$ac_cv_c99" != xyes],
265 AC_MSG_ERROR([gcc with C99 support required]))
267 +AC_CACHE_CHECK([for -Wextra option to $CC], ac_cv_cc_wextra, [dnl
268 +old_CFLAGS="$CFLAGS"
269 +CFLAGS="$CFLAGS -Wextra"
270 +AC_COMPILE_IFELSE([void foo (void) { }],
271 + ac_cv_cc_wextra=yes, ac_cv_cc_wextra=no)
272 +CFLAGS="$old_CFLAGS"])
274 +AS_IF([test "x$ac_cv_cc_wextra" = xyes], [WEXTRA=-Wextra], [WEXTRA=-W])
276 +AC_CACHE_CHECK([for --as-needed linker option],
277 + ac_cv_as_needed, [dnl
278 +cat > conftest.c <<EOF
279 +int main (void) { return 0; }
281 +if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS
282 + -fPIC -shared -o conftest.so conftest.c
283 + -Wl,--as-needed 1>&AS_MESSAGE_LOG_FD])
285 + ac_cv_as_needed=yes
290 +AS_IF([test "x$ac_cv_as_needed" = xyes],
291 + [LD_AS_NEEDED=-Wl,--as-needed], [LD_AS_NEEDED=])
292 +AC_SUBST(LD_AS_NEEDED)
297 AC_DEFINE_UNQUOTED(LOCALEDIR, "$LOCALEDIR")
298 --- elfutils/lib/ChangeLog
299 +++ elfutils/lib/ChangeLog
301 * Makefile.am (libeu_a_SOURCES): Add it.
302 * system.h: Declare crc32_file.
304 +2005-02-07 Roland McGrath <roland@redhat.com>
306 + * Makefile.am (WEXTRA): New variable, substituted by configure.
307 + (AM_CFLAGS): Use it in place of -Wextra.
309 2005-04-30 Ulrich Drepper <drepper@redhat.com>
311 * Makefile.am: Use -ffunction-sections for xmalloc.c.
312 --- elfutils/lib/Makefile.am
313 +++ elfutils/lib/Makefile.am
315 ## <http://www.openinventionnetwork.com>.
317 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
320 AM_CFLAGS = -fmudflap
324 -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
325 +AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) $($(*F)_CFLAGS)
326 INCLUDES = -I$(srcdir)/../libelf -I..
328 noinst_LIBRARIES = libeu.a
329 --- elfutils/lib/Makefile.in
330 +++ elfutils/lib/Makefile.in
331 @@ -93,6 +93,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
332 INSTALL_SCRIPT = @INSTALL_SCRIPT@
333 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
335 +LD_AS_NEEDED = @LD_AS_NEEDED@
338 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
339 @@ -122,6 +123,7 @@ SHELL = @SHELL@
344 XGETTEXT = @XGETTEXT@
345 XGETTEXT_015 = @XGETTEXT_015@
347 @@ -177,9 +179,9 @@ target_alias = @target_alias@
348 top_builddir = @top_builddir@
349 top_srcdir = @top_srcdir@
350 @MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
351 -@MUDFLAP_FALSE@ -Wextra $($(*F)_CFLAGS)
352 +@MUDFLAP_FALSE@ $(WEXTRA) $($(*F)_CFLAGS)
353 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
354 -@MUDFLAP_TRUE@ -Wunused -Wextra $($(*F)_CFLAGS)
355 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) $($(*F)_CFLAGS)
356 INCLUDES = -I$(srcdir)/../libelf -I..
357 noinst_LIBRARIES = libeu.a
358 libeu_a_SOURCES = xstrndup.c xmalloc.c next_prime.c \
359 --- elfutils/libasm/ChangeLog
360 +++ elfutils/libasm/ChangeLog
362 * asm_error.c: Add new error ASM_E_IOERROR.
363 * libasmP.h: Add ASM_E_IOERROR definition.
365 +2005-05-31 Roland McGrath <roland@redhat.com>
367 + * Makefile.am (WEXTRA): New variable, substituted by configure.
368 + (AM_CFLAGS): Use it in place of -Wextra.
370 2005-02-15 Ulrich Drepper <drepper@redhat.com>
372 * Makefile.am (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
373 --- elfutils/libasm/Makefile.am
374 +++ elfutils/libasm/Makefile.am
376 ## <http://www.openinventionnetwork.com>.
378 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
381 AM_CFLAGS = -fmudflap
385 -AM_CFLAGS += -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2
386 +AM_CFLAGS += -std=gnu99 -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2
387 INCLUDES = -I. -I$(srcdir) -I.. \
388 -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw\
390 --- elfutils/libasm/Makefile.in
391 +++ elfutils/libasm/Makefile.in
392 @@ -126,6 +126,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
393 INSTALL_SCRIPT = @INSTALL_SCRIPT@
394 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
396 +LD_AS_NEEDED = @LD_AS_NEEDED@
399 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
400 @@ -155,6 +156,7 @@ SHELL = @SHELL@
405 XGETTEXT = @XGETTEXT@
406 XGETTEXT_015 = @XGETTEXT_015@
408 @@ -210,9 +212,9 @@ target_alias = @target_alias@
409 top_builddir = @top_builddir@
410 top_srcdir = @top_srcdir@
411 @MUDFLAP_FALSE@AM_CFLAGS = -std=gnu99 -Wall -Wshadow -Werror -Wunused \
412 -@MUDFLAP_FALSE@ -Wextra -Wformat=2
413 +@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2
414 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -std=gnu99 -Wall -Wshadow -Werror \
415 -@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2
416 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2
417 INCLUDES = -I. -I$(srcdir) -I.. \
418 -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl -I$(top_srcdir)/libdw\
420 --- elfutils/libcpu/ChangeLog
421 +++ elfutils/libcpu/ChangeLog
423 * defs/i386.doc: New file.
424 * defs/x86_64: New file.
426 +2005-04-04 Roland McGrath <roland@redhat.com>
428 + * Makefile.am (WEXTRA): New variable, substituted by configure.
429 + (AM_CFLAGS): Use it instead of -Wextra.
431 2005-02-15 Ulrich Drepper <drepper@redhat.com>
433 * Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
434 --- elfutils/libcpu/Makefile.am
435 +++ elfutils/libcpu/Makefile.am
436 @@ -30,7 +30,8 @@ AM_CFLAGS = -fmudflap
440 -AM_CFLAGS += -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fpic \
442 +AM_CFLAGS += -Wall -Wshadow -Wunused $(WEXTRA) -std=gnu99 -fpic \
444 $(if $($(*F)_no_Werror),,-Werror)
445 INCLUDES = -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../libelf \
446 --- elfutils/libcpu/Makefile.in
447 +++ elfutils/libcpu/Makefile.in
448 @@ -109,6 +109,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
449 INSTALL_SCRIPT = @INSTALL_SCRIPT@
450 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
452 +LD_AS_NEEDED = @LD_AS_NEEDED@
455 LEX_OUTPUT_ROOT = lex.$(<F:lex.l=)
456 @@ -138,6 +139,7 @@ SHELL = @SHELL@
461 XGETTEXT = @XGETTEXT@
462 XGETTEXT_015 = @XGETTEXT_015@
464 @@ -192,10 +194,10 @@ sysconfdir = @sysconfdir@
465 target_alias = @target_alias@
466 top_builddir = @top_builddir@
467 top_srcdir = @top_srcdir@
468 -@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 \
469 -@MUDFLAP_FALSE@ -fpic $($(*F)_CFLAGS) $(if \
470 +@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -Wunused $(WEXTRA) \
471 +@MUDFLAP_FALSE@ -std=gnu99 -fpic $($(*F)_CFLAGS) $(if \
472 @MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror)
473 -@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -Wunused -Wextra \
474 +@MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -Wunused $(WEXTRA) \
475 @MUDFLAP_TRUE@ -std=gnu99 -fpic $($(*F)_CFLAGS) $(if \
476 @MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror)
477 INCLUDES = -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../libelf \
478 --- elfutils/libdw/ChangeLog
479 +++ elfutils/libdw/ChangeLog
482 2005-05-31 Roland McGrath <roland@redhat.com>
484 + * Makefile.am (WEXTRA): New variable, substituted by configure.
485 + (AM_CFLAGS): Use it in place of -Wextra.
487 +2005-05-31 Roland McGrath <roland@redhat.com>
489 * dwarf_formref_die.c (dwarf_formref_die): Add CU header offset to
492 --- elfutils/libdw/Makefile.am
493 +++ elfutils/libdw/Makefile.am
495 ## <http://www.openinventionnetwork.com>.
497 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DIS_LIBDW
500 AM_CFLAGS = -fmudflap
502 @@ -33,7 +34,7 @@ endif
506 -AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
507 +AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
508 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
511 --- elfutils/libdw/Makefile.in
512 +++ elfutils/libdw/Makefile.in
513 @@ -164,6 +164,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
514 INSTALL_SCRIPT = @INSTALL_SCRIPT@
515 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
517 +LD_AS_NEEDED = @LD_AS_NEEDED@
520 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
521 @@ -193,6 +194,7 @@ SHELL = @SHELL@
526 XGETTEXT = @XGETTEXT@
527 XGETTEXT_015 = @XGETTEXT_015@
529 @@ -248,9 +250,10 @@ target_alias = @target_alias@
530 top_builddir = @top_builddir@
531 top_srcdir = @top_srcdir@
532 @MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Werror -Wshadow \
533 -@MUDFLAP_FALSE@ -Wunused -Wformat=2 -Wextra -std=gnu99
534 +@MUDFLAP_FALSE@ -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
535 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Werror \
536 -@MUDFLAP_TRUE@ -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
537 +@MUDFLAP_TRUE@ -Wshadow -Wunused -Wformat=2 $(WEXTRA) \
538 +@MUDFLAP_TRUE@ -std=gnu99
539 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
540 COMPILE.os = $(filter-out -fprofile-arcs, $(filter-out -ftest-coverage, \
542 --- elfutils/libdwfl/ChangeLog
543 +++ elfutils/libdwfl/ChangeLog
546 2005-07-21 Roland McGrath <roland@redhat.com>
548 + * Makefile.am (WEXTRA): New variable, substituted by configure.
549 + (AM_CFLAGS): Use it in place of -Wextra.
551 +2005-07-21 Roland McGrath <roland@redhat.com>
553 * Makefile.am (noinst_HEADERS): Add loc2c.c.
555 * test2.c (main): Check sscanf result to quiet warning.
556 --- elfutils/libdwfl/Makefile.am
557 +++ elfutils/libdwfl/Makefile.am
559 ## <http://www.openinventionnetwork.com>.
561 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
564 AM_CFLAGS = -fmudflap
568 -AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
569 +AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 $(WEXTRA) -std=gnu99
570 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
571 -I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
573 --- elfutils/libdwfl/Makefile.in
574 +++ elfutils/libdwfl/Makefile.in
575 @@ -129,6 +129,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
576 INSTALL_SCRIPT = @INSTALL_SCRIPT@
577 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
579 +LD_AS_NEEDED = @LD_AS_NEEDED@
582 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
583 @@ -158,6 +159,7 @@ SHELL = @SHELL@
588 XGETTEXT = @XGETTEXT@
589 XGETTEXT_015 = @XGETTEXT_015@
591 @@ -213,9 +215,9 @@ target_alias = @target_alias@
592 top_builddir = @top_builddir@
593 top_srcdir = @top_srcdir@
594 @MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror -Wshadow -Wunused -Wformat=2 \
595 -@MUDFLAP_FALSE@ -Wextra -std=gnu99
596 +@MUDFLAP_FALSE@ $(WEXTRA) -std=gnu99
597 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Werror -Wshadow -Wunused \
598 -@MUDFLAP_TRUE@ -Wformat=2 -Wextra -std=gnu99
599 +@MUDFLAP_TRUE@ -Wformat=2 $(WEXTRA) -std=gnu99
600 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
601 -I$(srcdir)/../libdw -I.. -I$(srcdir)/../lib
603 --- elfutils/libebl/ChangeLog
604 +++ elfutils/libebl/ChangeLog
606 * Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
607 tracking works right.
609 +2005-05-31 Roland McGrath <roland@redhat.com>
611 + * Makefile.am (WEXTRA): New variable, substituted by configure.
612 + (AM_CFLAGS): Use it in place of -Wextra.
614 2005-05-21 Ulrich Drepper <drepper@redhat.com>
616 * libebl_x86_64.map: Add x86_64_core_note.
617 --- elfutils/libebl/Makefile.am
618 +++ elfutils/libebl/Makefile.am
620 ## <http://www.openinventionnetwork.com>.
622 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DOBJDIR=\"$(shell pwd)\"
625 AM_CFLAGS = -fmudflap
629 -AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
630 +AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 \
633 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
634 --- elfutils/libebl/Makefile.in
635 +++ elfutils/libebl/Makefile.in
636 @@ -122,6 +122,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
637 INSTALL_SCRIPT = @INSTALL_SCRIPT@
638 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
640 +LD_AS_NEEDED = @LD_AS_NEEDED@
643 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
644 @@ -151,6 +152,7 @@ SHELL = @SHELL@
649 XGETTEXT = @XGETTEXT@
650 XGETTEXT_015 = @XGETTEXT_015@
652 @@ -206,9 +208,9 @@ target_alias = @target_alias@
653 top_builddir = @top_builddir@
654 top_srcdir = @top_srcdir@
655 @MUDFLAP_FALSE@AM_CFLAGS = -fpic -Wall -Wshadow -Werror -Wunused \
656 -@MUDFLAP_FALSE@ -Wextra -Wformat=2 -std=gnu99
657 +@MUDFLAP_FALSE@ $(WEXTRA) -Wformat=2 -std=gnu99
658 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -fpic -Wall -Wshadow -Werror \
659 -@MUDFLAP_TRUE@ -Wunused -Wextra -Wformat=2 -std=gnu99
660 +@MUDFLAP_TRUE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99
661 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/libdw \
662 -I$(top_srcdir)/lib -I.. -I$(srcdir)/../libasm
664 --- elfutils/libelf/ChangeLog
665 +++ elfutils/libelf/ChangeLog
667 If section content hasn't been read yet, do it before looking for the
668 block size. If no section data present, infer size of section header.
670 +2005-05-31 Roland McGrath <roland@redhat.com>
672 + * Makefile.am (WEXTRA): New variable, substituted by configure.
673 + (AM_CFLAGS): Use it in place of -Wextra.
675 2005-05-11 Ulrich Drepper <drepper@redhat.com>
677 * elf.h: Update again.
678 --- elfutils/libelf/common.h
679 +++ elfutils/libelf/common.h
680 @@ -159,7 +159,7 @@ libelf_release_all (Elf *elf)
681 (Var) = (sizeof (Var) == 1 \
682 ? (unsigned char) (Var) \
683 : (sizeof (Var) == 2 \
685 + ? (unsigned short int) bswap_16 (Var) \
686 : (sizeof (Var) == 4 \
689 @@ -168,7 +168,7 @@ libelf_release_all (Elf *elf)
690 (Dst) = (sizeof (Var) == 1 \
691 ? (unsigned char) (Var) \
692 : (sizeof (Var) == 2 \
694 + ? (unsigned short int) bswap_16 (Var) \
695 : (sizeof (Var) == 4 \
698 --- elfutils/libelf/Makefile.am
699 +++ elfutils/libelf/Makefile.am
701 ## <http://www.openinventionnetwork.com>.
703 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
706 AM_CFLAGS = -fmudflap
708 @@ -33,7 +34,10 @@ endif
712 -AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
716 +AM_CFLAGS += -Wall -Wshadow -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
718 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
719 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
720 --- elfutils/libelf/Makefile.in
721 +++ elfutils/libelf/Makefile.in
722 @@ -34,7 +34,7 @@ PRE_UNINSTALL = :
724 build_triplet = @build@
725 host_triplet = @host@
726 -@BUILD_STATIC_TRUE@am__append_1 = -fpic
727 +@BUILD_STATIC_TRUE@am__append_1 = -fpic -fpic
728 @MUDFLAP_FALSE@noinst_PROGRAMS = $(am__EXEEXT_1)
729 @MUDFLAP_TRUE@am_libelf_pic_a_OBJECTS =
731 @@ -170,6 +170,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
732 INSTALL_SCRIPT = @INSTALL_SCRIPT@
733 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
735 +LD_AS_NEEDED = @LD_AS_NEEDED@
738 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
739 @@ -199,6 +200,7 @@ SHELL = @SHELL@
744 XGETTEXT = @XGETTEXT@
745 XGETTEXT_015 = @XGETTEXT_015@
747 @@ -254,10 +256,10 @@ target_alias = @target_alias@
748 top_builddir = @top_builddir@
749 top_srcdir = @top_srcdir@
750 @MUDFLAP_FALSE@AM_CFLAGS = $(am__append_1) -Wall -Wshadow -Werror \
751 -@MUDFLAP_FALSE@ -Wunused -Wextra -Wformat=2 -std=gnu99 \
752 +@MUDFLAP_FALSE@ -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
753 @MUDFLAP_FALSE@ $($(*F)_CFLAGS)
754 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap $(am__append_1) -Wall -Wshadow \
755 -@MUDFLAP_TRUE@ -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
756 +@MUDFLAP_TRUE@ -Werror -Wunused $(WEXTRA) -Wformat=2 -std=gnu99 \
757 @MUDFLAP_TRUE@ $($(*F)_CFLAGS)
758 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
759 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
760 --- elfutils/m4/Makefile.in
761 +++ elfutils/m4/Makefile.in
762 @@ -71,6 +71,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
763 INSTALL_SCRIPT = @INSTALL_SCRIPT@
764 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
766 +LD_AS_NEEDED = @LD_AS_NEEDED@
769 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
770 @@ -100,6 +101,7 @@ SHELL = @SHELL@
775 XGETTEXT = @XGETTEXT@
776 XGETTEXT_015 = @XGETTEXT_015@
778 --- elfutils/Makefile.in
779 +++ elfutils/Makefile.in
780 @@ -98,6 +98,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
781 INSTALL_SCRIPT = @INSTALL_SCRIPT@
782 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
784 +LD_AS_NEEDED = @LD_AS_NEEDED@
787 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
788 @@ -127,6 +128,7 @@ SHELL = @SHELL@
793 XGETTEXT = @XGETTEXT@
794 XGETTEXT_015 = @XGETTEXT_015@
796 --- elfutils/src/ChangeLog
797 +++ elfutils/src/ChangeLog
799 that matches its PT_LOAD's p_flags &~ PF_W. On sparc, PF_X really
802 +2008-03-01 Roland McGrath <roland@redhat.com>
804 + * readelf.c (dump_archive_index): Tweak portability hack
805 + to match [__GNUC__ < 4] too.
807 2008-02-29 Roland McGrath <roland@redhat.com>
809 * readelf.c (print_attributes): Add a cast.
812 * readelf.c (hex_dump): Fix rounding error in whitespace calculation.
814 + * Makefile.am (readelf_no_Werror): New variable.
816 2007-10-15 Roland McGrath <roland@redhat.com>
818 * make-debug-archive.in: New file.
820 * elflint.c (valid_e_machine): Add EM_ALPHA.
821 Reported by Christian Aichinger <Greek0@gmx.net>.
823 + * strings.c (map_file): Define POSIX_MADV_SEQUENTIAL to
824 + MADV_SEQUENTIAL if undefined. Don't call posix_madvise
825 + if neither is defined.
827 2006-08-08 Ulrich Drepper <drepper@redhat.com>
829 * elflint.c (check_dynamic): Don't require DT_HASH for DT_SYMTAB.
831 * Makefile.am: Add hacks to create dependency files for non-generic
834 +2006-04-05 Roland McGrath <roland@redhat.com>
836 + * strings.c (MAP_POPULATE): Define to 0 if undefined.
838 2006-06-12 Ulrich Drepper <drepper@redhat.com>
840 * ldgeneric.c (ld_generic_generate_sections): Don't create .interp
841 @@ -1148,6 +1163,11 @@
842 * readelf.c (print_debug_loc_section): Fix indentation for larger
845 +2005-05-31 Roland McGrath <roland@redhat.com>
847 + * Makefile.am (WEXTRA): New variable, substituted by configure.
848 + (AM_CFLAGS): Use it in place of -Wextra.
850 2005-05-30 Roland McGrath <roland@redhat.com>
852 * readelf.c (print_debug_line_section): Print section offset of each
853 --- elfutils/src/findtextrel.c
854 +++ elfutils/src/findtextrel.c
855 @@ -488,7 +488,11 @@ ptrcompare (const void *p1, const void *
859 -check_rel (size_t nsegments, struct segments segments[nsegments],
860 +check_rel (size_t nsegments, struct segments segments[
865 GElf_Addr addr, Elf *elf, Elf_Scn *symscn, Dwarf *dw,
866 const char *fname, bool more_than_one, void **knownsrcs)
868 --- elfutils/src/Makefile.am
869 +++ elfutils/src/Makefile.am
872 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) -DDEBUGPRED=@DEBUGPRED@ \
873 -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
876 AM_CFLAGS = -fmudflap
878 @@ -33,7 +34,7 @@ AM_CFLAGS =
880 AM_CFLAGS += -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
881 $(if $($(*F)_no_Werror),,-Werror) \
882 - $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
883 + $(if $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) \
884 $(if $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F))
886 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
887 @@ -111,6 +112,9 @@ strings_no_Wformat = yes
888 # XXX While the file is not finished, don't warn about this
889 ldgeneric_no_Wunused = yes
891 +# Buggy old compilers.
892 +readelf_no_Werror = yes
894 readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
895 nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
896 size_LDADD = $(libelf) $(libeu) $(libmudflap)
897 --- elfutils/src/Makefile.in
898 +++ elfutils/src/Makefile.in
899 @@ -201,6 +201,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
900 INSTALL_SCRIPT = @INSTALL_SCRIPT@
901 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
903 +LD_AS_NEEDED = @LD_AS_NEEDED@
906 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
907 @@ -230,6 +231,7 @@ SHELL = @SHELL@
912 XGETTEXT = @XGETTEXT@
913 XGETTEXT_015 = @XGETTEXT_015@
915 @@ -287,13 +289,13 @@ top_srcdir = @top_srcdir@
916 @MUDFLAP_FALSE@AM_CFLAGS = -Wall -Wshadow -std=gnu99 \
917 @MUDFLAP_FALSE@ $(native_ld_cflags) $(if \
918 @MUDFLAP_FALSE@ $($(*F)_no_Werror),,-Werror) $(if \
919 -@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
920 +@MUDFLAP_FALSE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
921 @MUDFLAP_FALSE@ $($(*F)_no_Wformat),,-Wformat=2) \
922 @MUDFLAP_FALSE@ $(CFLAGS_$(*F))
923 @MUDFLAP_TRUE@AM_CFLAGS = -fmudflap -Wall -Wshadow -std=gnu99 \
924 @MUDFLAP_TRUE@ $(native_ld_cflags) $(if \
925 @MUDFLAP_TRUE@ $($(*F)_no_Werror),,-Werror) $(if \
926 -@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused -Wextra) $(if \
927 +@MUDFLAP_TRUE@ $($(*F)_no_Wunused),,-Wunused $(WEXTRA)) $(if \
928 @MUDFLAP_TRUE@ $($(*F)_no_Wformat),,-Wformat=2) $(CFLAGS_$(*F))
929 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
930 -I$(srcdir)/../libdw -I$(srcdir)/../libdwfl \
931 @@ -337,6 +339,9 @@ size_no_Wformat = yes
932 strings_no_Wformat = yes
933 # XXX While the file is not finished, don't warn about this
934 ldgeneric_no_Wunused = yes
936 +# Buggy old compilers.
937 +readelf_no_Werror = yes
938 readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
939 nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(libmudflap) -ldl
940 size_LDADD = $(libelf) $(libeu) $(libmudflap)
941 --- elfutils/src/readelf.c
942 +++ elfutils/src/readelf.c
943 @@ -6340,7 +6340,7 @@ dump_archive_index (Elf *elf, const char
944 if (unlikely (elf_rand (elf, as_off) == 0)
945 || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf))
947 -#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 7)
948 +#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 7) || __GNUC__ < 4
951 error (EXIT_FAILURE, 0,
952 --- elfutils/src/strings.c
953 +++ elfutils/src/strings.c
958 +#ifndef MAP_POPULATE
959 +# define MAP_POPULATE 0
963 /* Prototypes of local functions. */
964 static int read_fd (int fd, const char *fname, off64_t fdlen);
965 @@ -491,8 +495,13 @@ map_file (int fd, off64_t start_off, off
967 if (mem != MAP_FAILED)
969 +#if !defined POSIX_MADV_SEQUENTIAL && defined MADV_SEQUENTIAL
970 +# define POSIX_MADV_SEQUENTIAL MADV_SEQUENTIAL
972 +#ifdef POSIX_MADV_SEQUENTIAL
973 /* We will go through the mapping sequentially. */
974 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL);
978 if (errno != EINVAL && errno != ENOMEM)
979 --- elfutils/src/strip.c
980 +++ elfutils/src/strip.c
986 +# define FUTIMES(fd, fname, tvp) futimes (fd, tvp)
988 +# define FUTIMES(fd, fname, tvp) utimes (fname, tvp)
992 /* Name and version of program. */
993 static void print_version (FILE *stream, struct argp_state *state);
994 @@ -300,8 +306,18 @@ process_file (const char *fname)
996 /* If we have to preserve the timestamp, we need it in the
997 format utimes() understands. */
998 +#ifdef HAVE_STRUCT_STAT_ST_ATIM
999 TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim);
1001 + tv[0].tv_sec = pre_st.st_atime;
1002 + tv[0].tv_usec = 0;
1004 +#ifdef HAVE_STRUCT_STAT_ST_MTIM
1005 TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim);
1007 + tv[1].tv_sec = pre_st.st_atime;
1008 + tv[1].tv_usec = 0;
1012 /* Open the file. */
1013 @@ -1745,7 +1761,7 @@ handle_elf (int fd, Elf *elf, const char
1014 /* If requested, preserve the timestamp. */
1017 - if (futimes (fd, tvp) != 0)
1018 + if (FUTIMES (fd, output_fname, tvp) != 0)
1020 error (0, errno, gettext ("\
1021 cannot set access and modification date of '%s'"),
1022 @@ -1802,7 +1818,7 @@ handle_ar (int fd, Elf *elf, const char
1026 - if (unlikely (futimes (fd, tvp) != 0))
1027 + if (unlikely (FUTIMES (fd, fname, tvp) != 0))
1029 error (0, errno, gettext ("\
1030 cannot set access and modification date of '%s'"), fname);
1031 --- elfutils/tests/ChangeLog
1032 +++ elfutils/tests/ChangeLog
1035 2008-01-21 Roland McGrath <roland@redhat.com>
1037 + * line2addr.c (main): Revert last change.
1039 * testfile45.S.bz2: Add tests for cltq, cqto.
1040 * testfile45.expect.bz2: Adjust.
1042 @@ -753,6 +755,11 @@
1043 * Makefile.am (TESTS): Add run-elflint-test.sh.
1044 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1046 +2005-05-31 Roland McGrath <roland@redhat.com>
1048 + * Makefile.am (WEXTRA): New variable, substituted by configure.
1049 + (AM_CFLAGS): Use it in place of -Wextra.
1051 2005-05-24 Ulrich Drepper <drepper@redhat.com>
1053 * get-files.c (main): Use correct format specifier.
1054 --- elfutils/tests/line2addr.c
1055 +++ elfutils/tests/line2addr.c
1056 @@ -132,7 +132,7 @@ main (int argc, char *argv[])
1058 struct args a = { .arg = argv[cnt] };
1060 - switch (sscanf (a.arg, "%m[^:]:%d", &a.file, &a.line))
1061 + switch (sscanf (a.arg, "%a[^:]:%d", &a.file, &a.line))
1065 --- elfutils/tests/Makefile.am
1066 +++ elfutils/tests/Makefile.am
1068 ## <http://www.openinventionnetwork.com>.
1070 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
1073 -AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
1074 +AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 -fmudflap\
1075 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1076 BUILD_RPATH = \$$ORIGIN/../backends
1078 -AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
1079 +AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 \
1080 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1081 BUILT_RPATH = \$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../backends:\$$ORIGIN/../libelf
1083 --- elfutils/tests/Makefile.in
1084 +++ elfutils/tests/Makefile.in
1085 @@ -335,6 +335,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
1086 INSTALL_SCRIPT = @INSTALL_SCRIPT@
1087 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
1089 +LD_AS_NEEDED = @LD_AS_NEEDED@
1092 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
1093 @@ -364,6 +365,7 @@ SHELL = @SHELL@
1098 XGETTEXT = @XGETTEXT@
1099 XGETTEXT_015 = @XGETTEXT_015@
1101 @@ -418,10 +420,10 @@ sysconfdir = @sysconfdir@
1102 target_alias = @target_alias@
1103 top_builddir = @top_builddir@
1104 top_srcdir = @top_srcdir@
1105 -@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 \
1106 +@MUDFLAP_FALSE@AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 \
1107 @MUDFLAP_FALSE@ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1109 -@MUDFLAP_TRUE@AM_CFLAGS = -Wall -Werror -Wextra -std=gnu99 -fmudflap\
1110 +@MUDFLAP_TRUE@AM_CFLAGS = -Wall -Werror $(WEXTRA) -std=gnu99 -fmudflap\
1111 @MUDFLAP_TRUE@ $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
1113 @MUDFLAP_TRUE@BUILD_RPATH = \$$ORIGIN/../backends