4 -# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
5 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
7 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8 # 2005 Free Software Foundation, Inc.
9 @@ -28,7 +28,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api
10 # Call AM_AUTOMAKE_VERSION so it can be traced.
11 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
12 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
13 - [AM_AUTOMAKE_VERSION([1.9.5])])
14 + [AM_AUTOMAKE_VERSION([1.9.6])])
16 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
20 @@ -334,6 +334,9 @@ DESCRIPTION
21 .#define bfd_mach_avr3 3
22 .#define bfd_mach_avr4 4
23 .#define bfd_mach_avr5 5
24 +. bfd_arch_avr32, {* Atmel AVR32 *}
25 +.#define bfd_mach_avr32_ap 7000
26 +.#define bfd_mach_avr32_uc 3000
27 . bfd_arch_bfin, {* ADI Blackfin *}
28 .#define bfd_mach_bfin 1
29 . bfd_arch_cr16c, {* National Semiconductor CompactRISC. *}
30 @@ -423,6 +426,7 @@ extern const bfd_arch_info_type bfd_alph
31 extern const bfd_arch_info_type bfd_arc_arch;
32 extern const bfd_arch_info_type bfd_arm_arch;
33 extern const bfd_arch_info_type bfd_avr_arch;
34 +extern const bfd_arch_info_type bfd_avr32_arch;
35 extern const bfd_arch_info_type bfd_bfin_arch;
36 extern const bfd_arch_info_type bfd_cr16c_arch;
37 extern const bfd_arch_info_type bfd_cris_arch;
38 @@ -490,6 +494,7 @@ static const bfd_arch_info_type * const
48 @@ -1931,6 +1931,9 @@ enum bfd_architecture
49 #define bfd_mach_avr3 3
50 #define bfd_mach_avr4 4
51 #define bfd_mach_avr5 5
52 + bfd_arch_avr32, /* Atmel AVR32 */
53 +#define bfd_mach_avr32_ap 7000
54 +#define bfd_mach_avr32_uc 3000
55 bfd_arch_bfin, /* ADI Blackfin */
56 #define bfd_mach_bfin 1
57 bfd_arch_cr16c, /* National Semiconductor CompactRISC. */
58 @@ -3577,6 +3580,87 @@ instructions */
62 +/* Difference between two labels: L2 - L1. The value of L1 is encoded
63 +as sym + addend, while the initial difference after assembly is
64 +inserted into the object file by the assembler. */
65 + BFD_RELOC_AVR32_DIFF32,
66 + BFD_RELOC_AVR32_DIFF16,
67 + BFD_RELOC_AVR32_DIFF8,
69 +/* Reference to a symbol through the Global Offset Table. The linker
70 +will allocate an entry for symbol in the GOT and insert the offset
71 +of this entry as the relocation value. */
72 + BFD_RELOC_AVR32_GOT32,
73 + BFD_RELOC_AVR32_GOT16,
74 + BFD_RELOC_AVR32_GOT8,
76 +/* Normal (non-pc-relative) code relocations. Alignment and signedness
77 +is indicated by the suffixes. S means signed, U means unsigned. W
78 +means word-aligned, H means halfword-aligned, neither means
79 +byte-aligned (no alignment.) SUB5 is the same relocation as 16S. */
80 + BFD_RELOC_AVR32_21S,
81 + BFD_RELOC_AVR32_16U,
82 + BFD_RELOC_AVR32_16S,
83 + BFD_RELOC_AVR32_SUB5,
84 + BFD_RELOC_AVR32_8S_EXT,
87 +/* PC-relative relocations are signed if neither 'U' nor 'S' is
88 +specified. However, we explicitly tack on a 'B' to indicate no
89 +alignment, to avoid confusion with data relocs. All of these resolve
90 +to sym + addend - offset, except the one with 'N' (negated) suffix.
91 +This particular one resolves to offset - sym - addend. */
92 + BFD_RELOC_AVR32_22H_PCREL,
93 + BFD_RELOC_AVR32_18W_PCREL,
94 + BFD_RELOC_AVR32_16B_PCREL,
95 + BFD_RELOC_AVR32_16N_PCREL,
96 + BFD_RELOC_AVR32_14UW_PCREL,
97 + BFD_RELOC_AVR32_11H_PCREL,
98 + BFD_RELOC_AVR32_10UW_PCREL,
99 + BFD_RELOC_AVR32_9H_PCREL,
100 + BFD_RELOC_AVR32_9UW_PCREL,
102 +/* Subtract the link-time address of the GOT from (symbol + addend)
103 +and insert the result. */
104 + BFD_RELOC_AVR32_GOTPC,
106 +/* Reference to a symbol through the GOT. The linker will allocate an
107 +entry for symbol in the GOT and insert the offset of this entry as
108 +the relocation value. addend must be zero. As usual, 'S' means
109 +signed, 'W' means word-aligned, etc. */
110 + BFD_RELOC_AVR32_GOTCALL,
111 + BFD_RELOC_AVR32_LDA_GOT,
112 + BFD_RELOC_AVR32_GOT21S,
113 + BFD_RELOC_AVR32_GOT18SW,
114 + BFD_RELOC_AVR32_GOT16S,
116 +/* 32-bit constant pool entry. I don't think 8- and 16-bit entries make
117 +a whole lot of sense. */
118 + BFD_RELOC_AVR32_32_CPENT,
120 +/* Constant pool references. Some of these relocations are signed,
121 +others are unsigned. It doesn't really matter, since the constant
122 +pool always comes after the code that references it. */
123 + BFD_RELOC_AVR32_CPCALL,
124 + BFD_RELOC_AVR32_16_CP,
125 + BFD_RELOC_AVR32_9W_CP,
127 +/* sym must be the absolute symbol. The addend specifies the alignment
128 +order, e.g. if addend is 2, the linker must add padding so that the
129 +next address is aligned to a 4-byte boundary. */
130 + BFD_RELOC_AVR32_ALIGN,
132 +/* Code relocations that will never make it to the output file. */
133 + BFD_RELOC_AVR32_14UW,
134 + BFD_RELOC_AVR32_10UW,
135 + BFD_RELOC_AVR32_10SW,
136 + BFD_RELOC_AVR32_STHH_W,
137 + BFD_RELOC_AVR32_7UW,
138 + BFD_RELOC_AVR32_6S,
139 + BFD_RELOC_AVR32_6UW,
140 + BFD_RELOC_AVR32_4UH,
141 + BFD_RELOC_AVR32_3U,
148 @@ -317,6 +317,10 @@ case "${targ}" in
153 + targ_defvec=bfd_elf32_avr32_vec
156 c30-*-*aout* | tic30-*-*aout*)
157 targ_defvec=tic30_aout_vec
161 @@ -313,18 +313,18 @@
162 /* Define to the version of this package. */
163 #undef PACKAGE_VERSION
165 -/* The size of a `long', as computed by sizeof. */
166 +/* The size of `long', as computed by sizeof. */
169 -/* The size of a `long long', as computed by sizeof. */
170 +/* The size of `long long', as computed by sizeof. */
171 #undef SIZEOF_LONG_LONG
173 -/* The size of a `off_t', as computed by sizeof. */
174 +/* The size of `off_t', as computed by sizeof. */
177 /* If using the C implementation of alloca, define if you know the
178 direction of stack growth for your system; otherwise it will be
179 - automatically deduced at run-time.
180 + automatically deduced at runtime.
181 STACK_DIRECTION > 0 => grows toward higher addresses
182 STACK_DIRECTION < 0 => grows toward lower addresses
183 STACK_DIRECTION = 0 => direction of growth unknown */
188 -/* Define to `long' if <sys/types.h> does not define. */
189 +/* Define to `long int' if <sys/types.h> does not define. */
192 -/* Define to `unsigned' if <sys/types.h> does not define. */
193 +/* Define to `unsigned int' if <sys/types.h> does not define. */
199 # Guess values for system-dependent variables and create Makefiles.
200 -# Generated by GNU Autoconf 2.59.
201 +# Generated by GNU Autoconf 2.61.
203 -# Copyright (C) 2003 Free Software Foundation, Inc.
204 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
205 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
206 # This configure script is free software; the Free Software Foundation
207 # gives unlimited permission to copy, distribute and modify it.
208 ## --------------------- ##
209 ## M4sh Initialization. ##
210 ## --------------------- ##
212 -# Be Bourne compatible
213 +# Be more Bourne compatible
214 +DUALCASE=1; export DUALCASE # for MKS sh
215 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
218 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
219 # is contrary to our usage. Disable this feature.
220 alias -g '${1+"$@"}'='"$@"'
221 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
223 + setopt NO_GLOB_SUBST
225 + case `(set -o) 2>/dev/null` in
226 + *posix*) set -o posix ;;
235 +# Avoid depending upon Character Ranges.
236 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
237 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
238 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
239 +as_cr_digits='0123456789'
240 +as_cr_alnum=$as_cr_Letters$as_cr_digits
242 +# The user is always right.
243 +if test "${PATH_SEPARATOR+set}" != set; then
244 + echo "#! /bin/sh" >conf$$.sh
245 + echo "exit 0" >>conf$$.sh
247 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
254 -DUALCASE=1; export DUALCASE # for MKS sh
256 # Support unset when possible.
257 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
258 @@ -29,8 +58,43 @@ else
263 +# We need space, tab and new line, in precisely that order. Quoting is
264 +# there to prevent editors from complaining about space-tab.
265 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
266 +# splitting by setting IFS to empty value.)
271 +# Find who we are. Look in the path if we contain no directory separator.
273 + *[\\/]* ) as_myself=$0 ;;
274 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
278 + test -z "$as_dir" && as_dir=.
279 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
285 +# We did not find ourselves, most probably we were run as `sh COMMAND'
286 +# in which case we are not to be found in the path.
287 +if test "x$as_myself" = x; then
290 +if test ! -f "$as_myself"; then
291 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
292 + { (exit 1); exit 1; }
295 # Work around bugs in pre-3.0 UWIN ksh.
296 -$as_unset ENV MAIL MAILPATH
297 +for as_var in ENV MAIL MAILPATH
298 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
303 @@ -44,18 +108,19 @@ do
304 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
305 eval $as_var=C; export $as_var
308 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
312 # Required to use basename.
313 -if expr a : '\(a\)' >/dev/null 2>&1; then
314 +if expr a : '\(a\)' >/dev/null 2>&1 &&
315 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
321 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
322 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
326 @@ -63,157 +128,388 @@ fi
329 # Name of the executable.
330 -as_me=`$as_basename "$0" ||
331 +as_me=`$as_basename -- "$0" ||
332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
333 X"$0" : 'X\(//\)$' \| \
334 - X"$0" : 'X\(/\)$' \| \
335 - . : '\(.\)' 2>/dev/null ||
336 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
338 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
339 - /^X\/\(\/\/\)$/{ s//\1/; q; }
340 - /^X\/\(\/\).*/{ s//\1/; q; }
342 + sed '/^.*\/\([^/][^/]*\)\/*$/{
359 -# PATH needs CR, and LINENO needs CR and PATH.
360 -# Avoid depending upon Character Ranges.
361 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
362 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
363 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
364 -as_cr_digits='0123456789'
365 -as_cr_alnum=$as_cr_Letters$as_cr_digits
367 -# The user is always right.
368 -if test "${PATH_SEPARATOR+set}" != set; then
369 - echo "#! /bin/sh" >conf$$.sh
370 - echo "exit 0" >>conf$$.sh
372 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
378 +if test "x$CONFIG_SHELL" = x; then
379 + if (eval ":") 2>/dev/null; then
380 + as_have_required=yes
382 + as_have_required=no
385 + if test $as_have_required = yes && (eval ":
386 +(as_func_return () {
389 +as_func_success () {
392 +as_func_failure () {
395 +as_func_ret_success () {
398 +as_func_ret_failure () {
403 +if as_func_success; then
407 + echo as_func_success failed.
410 +if as_func_failure; then
412 + echo as_func_failure succeeded.
415 - as_lineno_1=$LINENO
416 - as_lineno_2=$LINENO
417 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
418 - test "x$as_lineno_1" != "x$as_lineno_2" &&
419 - test "x$as_lineno_3" = "x$as_lineno_2" || {
420 - # Find who we are. Look in the path if we contain no path at all
423 - *[\\/]* ) as_myself=$0 ;;
424 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
428 - test -z "$as_dir" && as_dir=.
429 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
431 +if as_func_ret_success; then
435 + echo as_func_ret_success failed.
440 - # We did not find ourselves, most probably we were run as `sh COMMAND'
441 - # in which case we are not to be found in the path.
442 - if test "x$as_myself" = x; then
445 - if test ! -f "$as_myself"; then
446 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
447 - { (exit 1); exit 1; }; }
449 - case $CONFIG_SHELL in
451 +if as_func_ret_failure; then
453 + echo as_func_ret_failure succeeded.
456 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
460 + echo positional parameters were not saved.
463 +test \$exitcode = 0) || { (exit 1); exit 1; }
466 + as_lineno_1=\$LINENO
467 + as_lineno_2=\$LINENO
468 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
469 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
470 +") 2> /dev/null; then
473 + as_candidate_shells=
474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
475 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
478 test -z "$as_dir" && as_dir=.
479 - for as_base in sh bash ksh sh5; do
483 - if ("$as_dir/$as_base" -c '
484 + for as_base in sh bash ksh sh5; do
485 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
492 + for as_shell in $as_candidate_shells $SHELL; do
493 + # Try only shells that exist, to save several forks.
494 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
495 + { ("$as_shell") 2> /dev/null <<\_ASEOF
496 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
499 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
500 + # is contrary to our usage. Disable this feature.
501 + alias -g '${1+"$@"}'='"$@"'
502 + setopt NO_GLOB_SUBST
504 + case `(set -o) 2>/dev/null` in
505 + *posix*) set -o posix ;;
514 + CONFIG_SHELL=$as_shell
515 + as_have_required=yes
516 + if { "$as_shell" 2> /dev/null <<\_ASEOF
517 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
520 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
521 + # is contrary to our usage. Disable this feature.
522 + alias -g '${1+"$@"}'='"$@"'
523 + setopt NO_GLOB_SUBST
525 + case `(set -o) 2>/dev/null` in
526 + *posix*) set -o posix ;;
533 +(as_func_return () {
536 +as_func_success () {
539 +as_func_failure () {
542 +as_func_ret_success () {
545 +as_func_ret_failure () {
550 +if as_func_success; then
554 + echo as_func_success failed.
557 +if as_func_failure; then
559 + echo as_func_failure succeeded.
562 +if as_func_ret_success; then
566 + echo as_func_ret_success failed.
569 +if as_func_ret_failure; then
571 + echo as_func_ret_failure succeeded.
574 +if ( set x; as_func_ret_success y && test x = "$1" ); then
578 + echo positional parameters were not saved.
581 +test $exitcode = 0) || { (exit 1); exit 1; }
586 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
587 test "x$as_lineno_1" != "x$as_lineno_2" &&
588 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
589 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
590 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
591 - CONFIG_SHELL=$as_dir/$as_base
592 - export CONFIG_SHELL
593 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
600 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
611 + if test "x$CONFIG_SHELL" != x; then
612 + for as_var in BASH_ENV ENV
613 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
615 + export CONFIG_SHELL
616 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
620 + if test $as_have_required = no; then
621 + echo This script requires a shell more modern than all the
622 + echo shells that I found on your system. Please install a
623 + echo modern shell, or manually run the script under such a
624 + echo shell if you do have one.
625 + { (exit 1); exit 1; }
635 +(eval "as_func_return () {
638 +as_func_success () {
641 +as_func_failure () {
644 +as_func_ret_success () {
647 +as_func_ret_failure () {
652 +if as_func_success; then
656 + echo as_func_success failed.
659 +if as_func_failure; then
661 + echo as_func_failure succeeded.
664 +if as_func_ret_success; then
668 + echo as_func_ret_success failed.
671 +if as_func_ret_failure; then
673 + echo as_func_ret_failure succeeded.
676 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
680 + echo positional parameters were not saved.
683 +test \$exitcode = 0") || {
684 + echo No shell found that supports shell functions.
685 + echo Please tell autoconf@gnu.org about your system,
686 + echo including any error possibly output before this
692 + as_lineno_1=$LINENO
693 + as_lineno_2=$LINENO
694 + test "x$as_lineno_1" != "x$as_lineno_2" &&
695 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
697 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
698 # uniformly replaced by the line number. The first 'sed' inserts a
699 - # line-number line before each line; the second 'sed' does the real
700 - # work. The second script uses 'N' to pair each line-number line
701 - # with the numbered line, and appends trailing '-' during
702 - # substitution so that $LINENO is not a special case at line end.
703 + # line-number line after each line using $LINENO; the second 'sed'
704 + # does the real work. The second script uses 'N' to pair each
705 + # line-number line with the line containing $LINENO, and appends
706 + # trailing '-' during substitution so that $LINENO is not a special
707 + # case at line end.
708 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
709 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
710 - sed '=' <$as_myself |
711 + # scripts with optimization help from Paolo Bonzini. Blame Lee
712 + # E. McMahon (1931-1989) for sed's syntax. :-)
725 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
727 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
730 - s,^['$as_cr_digits']*\n,,
733 - chmod +x $as_me.lineno ||
734 + chmod +x "$as_me.lineno" ||
735 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
736 { (exit 1); exit 1; }; }
738 # Don't try to exec as it changes $[0], causing all sort of problems
739 # (the dirname of $[0] is not the place where we might find the
740 - # original and so on. Autoconf is especially sensible to this).
742 + # original and so on. Autoconf is especially sensitive to this).
743 + . "./$as_me.lineno"
744 # Exit status is that of the last command.
749 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
750 - *c*,-n*) ECHO_N= ECHO_C='
752 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
753 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
754 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
760 +ECHO_C= ECHO_N= ECHO_T=
763 + case `echo 'x\c'` in
764 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
771 -if expr a : '\(a\)' >/dev/null 2>&1; then
772 +if expr a : '\(a\)' >/dev/null 2>&1 &&
773 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
779 rm -f conf$$ conf$$.exe conf$$.file
780 +if test -d conf$$.dir; then
781 + rm -f conf$$.dir/conf$$.file
787 if ln -s conf$$.file conf$$ 2>/dev/null; then
788 - # We could just check for DJGPP; but this test a) works b) is more generic
789 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
790 - if test -f conf$$.exe; then
791 - # Don't use ln at all; we don't have any links
793 + # ... but there are two gotchas:
794 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
795 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
796 + # In both cases, we have to default to `cp -p'.
797 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
802 elif ln conf$$.file conf$$ 2>/dev/null; then
807 -rm -f conf$$ conf$$.exe conf$$.file
808 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
809 +rmdir conf$$.dir 2>/dev/null
811 if mkdir -p . 2>/dev/null; then
813 @@ -222,7 +518,28 @@ else
817 -as_executable_p="test -f"
818 +if test -x / >/dev/null 2>&1; then
819 + as_test_x='test -x'
821 + if ls -dL / >/dev/null 2>&1; then
828 + if test -d "$1"; then
834 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
835 + ???[sx]*):;;*)false;;esac;fi
839 +as_executable_p=$as_test_x
841 # Sed expression to map a string onto a valid CPP name.
842 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
843 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
844 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
848 -# We need space, tab and new line, in precisely that order.
856 +exec 7<&0 </dev/null 6>&1
859 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
860 # so uname gets run too.
861 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
868 ac_default_prefix=/usr/local
870 ac_config_libobj_dir=.
876 SHELL=${CONFIG_SHELL-/bin/sh}
878 -# Maximum number of lines to put in a shell here document.
879 -# This variable seems obsolete. It should probably be removed, and
880 -# only ac_max_sed_lines should be used.
881 -: ${ac_max_here_lines=38}
883 # Identity of this package.
886 @@ -275,42 +580,199 @@ ac_unique_file="libbfd.c"
887 # Factoring default headers for most tests.
888 ac_includes_default="\
890 -#if HAVE_SYS_TYPES_H
891 +#ifdef HAVE_SYS_TYPES_H
892 # include <sys/types.h>
895 +#ifdef HAVE_SYS_STAT_H
896 # include <sys/stat.h>
904 +# ifdef HAVE_STDLIB_H
909 -# if !STDC_HEADERS && HAVE_MEMORY_H
910 +#ifdef HAVE_STRING_H
911 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
917 +#ifdef HAVE_STRINGS_H
918 # include <strings.h>
921 +#ifdef HAVE_INTTYPES_H
922 # include <inttypes.h>
925 -# include <stdint.h>
929 +#ifdef HAVE_STDINT_H
930 +# include <stdint.h>
932 +#ifdef HAVE_UNISTD_H
936 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AR ac_ct_AR RANLIB ac_ct_RANLIB LN_S LIBTOOL WARN_CFLAGS NO_WERROR MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT INSTALL_LIBBFD_TRUE INSTALL_LIBBFD_FALSE host_noncanonical target_noncanonical bfdlibdir bfdincludedir CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l HDEFINES BFD_HOST_64BIT_LONG BFD_HOST_LONG_LONG BFD_HOST_64_BIT_DEFINED BFD_HOST_64_BIT BFD_HOST_U_64_BIT CC_FOR_BUILD EXEEXT_FOR_BUILD COREFILE COREFLAG WIN32LDFLAGS WIN32LIBADD TDEFINES wordsize bfd_libs all_backends bfd_backends bfd_machines bfd_default_target_size bfd_file_ptr bfd_ufile_ptr tdefaults datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
937 +ac_subst_vars='SHELL
946 +program_transform_name
1006 +INSTALL_STRIP_PROGRAM
1022 +am__fastdepCC_FALSE
1029 +MAINTAINER_MODE_TRUE
1030 +MAINTAINER_MODE_FALSE
1032 +INSTALL_LIBBFD_TRUE
1033 +INSTALL_LIBBFD_FALSE
1035 +target_noncanonical
1046 +USE_INCLUDED_LIBINTL
1063 +BFD_HOST_64BIT_LONG
1065 +BFD_HOST_64_BIT_DEFINED
1080 +bfd_default_target_size
1087 + ac_precious_vars='build_alias
1098 # Initialize some variables set by options.
1100 @@ -337,34 +799,48 @@ x_libraries=NONE
1101 # and all the variables that are supposed to be based on exec_prefix
1102 # by default will actually change.
1103 # Use braces instead of parens because sh, perl, etc. also accept them.
1104 +# (The list follows the same order as the GNU Coding Standards.)
1105 bindir='${exec_prefix}/bin'
1106 sbindir='${exec_prefix}/sbin'
1107 libexecdir='${exec_prefix}/libexec'
1108 -datadir='${prefix}/share'
1109 +datarootdir='${prefix}/share'
1110 +datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 -libdir='${exec_prefix}/lib'
1115 includedir='${prefix}/include'
1116 oldincludedir='/usr/include'
1117 -infodir='${prefix}/info'
1118 -mandir='${prefix}/man'
1119 +docdir='${datarootdir}/doc/${PACKAGE}'
1120 +infodir='${datarootdir}/info'
1121 +htmldir='${docdir}'
1125 +libdir='${exec_prefix}/lib'
1126 +localedir='${datarootdir}/locale'
1127 +mandir='${datarootdir}/man'
1133 # If the previous option needs an argument, assign it.
1134 if test -n "$ac_prev"; then
1135 - eval "$ac_prev=\$ac_option"
1136 + eval $ac_prev=\$ac_option
1141 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1142 + case $ac_option in
1143 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1144 + *) ac_optarg=yes ;;
1147 # Accept the important Cygnus configure options, so we can diagnose typos.
1149 - case $ac_option in
1150 + case $ac_dashdash$ac_option in
1152 + ac_dashdash=yes ;;
1154 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1156 @@ -386,33 +862,45 @@ do
1157 --config-cache | -C)
1158 cache_file=config.cache ;;
1160 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1161 + -datadir | --datadir | --datadi | --datad)
1163 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1165 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1166 datadir=$ac_optarg ;;
1168 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1169 + | --dataroo | --dataro | --datar)
1170 + ac_prev=datarootdir ;;
1171 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1172 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1173 + datarootdir=$ac_optarg ;;
1175 -disable-* | --disable-*)
1176 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1177 # Reject names that are not valid shell variable names.
1178 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1179 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1181 { (exit 1); exit 1; }; }
1182 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1183 - eval "enable_$ac_feature=no" ;;
1184 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 + eval enable_$ac_feature=no ;;
1187 + -docdir | --docdir | --docdi | --doc | --do)
1189 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1190 + docdir=$ac_optarg ;;
1192 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1194 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1195 + dvidir=$ac_optarg ;;
1197 -enable-* | --enable-*)
1198 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1201 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1202 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1203 { (exit 1); exit 1; }; }
1204 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1205 - case $ac_option in
1206 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1207 - *) ac_optarg=yes ;;
1209 - eval "enable_$ac_feature='$ac_optarg'" ;;
1210 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1211 + eval enable_$ac_feature=\$ac_optarg ;;
1213 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1214 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1215 @@ -439,6 +927,12 @@ do
1216 -host=* | --host=* | --hos=* | --ho=*)
1217 host_alias=$ac_optarg ;;
1219 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1220 + ac_prev=htmldir ;;
1221 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1223 + htmldir=$ac_optarg ;;
1225 -includedir | --includedir | --includedi | --included | --include \
1226 | --includ | --inclu | --incl | --inc)
1227 ac_prev=includedir ;;
1228 @@ -463,13 +957,16 @@ do
1229 | --libexe=* | --libex=* | --libe=*)
1230 libexecdir=$ac_optarg ;;
1232 + -localedir | --localedir | --localedi | --localed | --locale)
1233 + ac_prev=localedir ;;
1234 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1235 + localedir=$ac_optarg ;;
1237 -localstatedir | --localstatedir | --localstatedi | --localstated \
1238 - | --localstate | --localstat | --localsta | --localst \
1239 - | --locals | --local | --loca | --loc | --lo)
1240 + | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1244 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1245 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir=$ac_optarg ;;
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1249 @@ -534,6 +1031,16 @@ do
1250 | --progr-tra=* | --program-tr=* | --program-t=*)
1251 program_transform_name=$ac_optarg ;;
1253 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1255 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1256 + pdfdir=$ac_optarg ;;
1258 + -psdir | --psdir | --psdi | --psd | --ps)
1260 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1261 + psdir=$ac_optarg ;;
1263 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1264 | -silent | --silent | --silen | --sile | --sil)
1266 @@ -586,24 +1093,20 @@ do
1268 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269 # Reject names that are not valid shell variable names.
1270 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1271 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1272 { echo "$as_me: error: invalid package name: $ac_package" >&2
1273 { (exit 1); exit 1; }; }
1274 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1275 - case $ac_option in
1276 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1277 - *) ac_optarg=yes ;;
1279 - eval "with_$ac_package='$ac_optarg'" ;;
1280 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1281 + eval with_$ac_package=\$ac_optarg ;;
1283 -without-* | --without-*)
1284 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1285 # Reject names that are not valid shell variable names.
1286 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1287 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 { echo "$as_me: error: invalid package name: $ac_package" >&2
1289 { (exit 1); exit 1; }; }
1290 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1291 - eval "with_$ac_package=no" ;;
1292 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1293 + eval with_$ac_package=no ;;
1296 # Obsolete; use --with-x.
1297 @@ -634,8 +1137,7 @@ Try \`$0 --help' for more information."
1298 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1299 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1300 { (exit 1); exit 1; }; }
1301 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1302 - eval "$ac_envvar='$ac_optarg'"
1303 + eval $ac_envvar=\$ac_optarg
1304 export $ac_envvar ;;
1307 @@ -655,27 +1157,19 @@ if test -n "$ac_prev"; then
1308 { (exit 1); exit 1; }; }
1311 -# Be sure to have absolute paths.
1312 -for ac_var in exec_prefix prefix
1314 - eval ac_val=$`echo $ac_var`
1316 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1317 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1318 - { (exit 1); exit 1; }; };;
1322 -# Be sure to have absolute paths.
1323 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1324 - localstatedir libdir includedir oldincludedir infodir mandir
1325 +# Be sure to have absolute directory names.
1326 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1327 + datadir sysconfdir sharedstatedir localstatedir includedir \
1328 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1329 + libdir localedir mandir
1331 - eval ac_val=$`echo $ac_var`
1332 + eval ac_val=\$$ac_var
1334 - [\\/$]* | ?:[\\/]* ) ;;
1335 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1336 - { (exit 1); exit 1; }; };;
1337 + [\\/$]* | ?:[\\/]* ) continue;;
1338 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1341 + { (exit 1); exit 1; }; }
1344 # There might be people who depend on the old broken behavior: `$host'
1345 @@ -702,74 +1196,76 @@ test -n "$host_alias" && ac_tool_prefix=
1346 test "$silent" = yes && exec 6>/dev/null
1349 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1350 +ac_ls_di=`ls -di .` &&
1351 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1352 + { echo "$as_me: error: Working directory cannot be determined" >&2
1353 + { (exit 1); exit 1; }; }
1354 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1355 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1356 + { (exit 1); exit 1; }; }
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted=yes
1362 - # Try the directory containing this script, then its parent.
1363 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1364 + # Try the directory containing this script, then the parent directory.
1365 + ac_confdir=`$as_dirname -- "$0" ||
1366 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$0" : 'X\(//\)[^/]' \| \
1368 X"$0" : 'X\(//\)$' \| \
1369 - X"$0" : 'X\(/\)' \| \
1370 - . : '\(.\)' 2>/dev/null ||
1371 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1373 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1374 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1375 - /^X\(\/\/\)$/{ s//\1/; q; }
1376 - /^X\(\/\).*/{ s//\1/; q; }
1378 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 + /^X\(\/\/\)[^/].*/{
1396 - if test ! -r $srcdir/$ac_unique_file; then
1397 + if test ! -r "$srcdir/$ac_unique_file"; then
1401 ac_srcdir_defaulted=no
1403 -if test ! -r $srcdir/$ac_unique_file; then
1404 - if test "$ac_srcdir_defaulted" = yes; then
1405 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1406 - { (exit 1); exit 1; }; }
1408 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1409 - { (exit 1); exit 1; }; }
1412 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1413 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1414 - { (exit 1); exit 1; }; }
1415 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1416 -ac_env_build_alias_set=${build_alias+set}
1417 -ac_env_build_alias_value=$build_alias
1418 -ac_cv_env_build_alias_set=${build_alias+set}
1419 -ac_cv_env_build_alias_value=$build_alias
1420 -ac_env_host_alias_set=${host_alias+set}
1421 -ac_env_host_alias_value=$host_alias
1422 -ac_cv_env_host_alias_set=${host_alias+set}
1423 -ac_cv_env_host_alias_value=$host_alias
1424 -ac_env_target_alias_set=${target_alias+set}
1425 -ac_env_target_alias_value=$target_alias
1426 -ac_cv_env_target_alias_set=${target_alias+set}
1427 -ac_cv_env_target_alias_value=$target_alias
1428 -ac_env_CC_set=${CC+set}
1429 -ac_env_CC_value=$CC
1430 -ac_cv_env_CC_set=${CC+set}
1431 -ac_cv_env_CC_value=$CC
1432 -ac_env_CFLAGS_set=${CFLAGS+set}
1433 -ac_env_CFLAGS_value=$CFLAGS
1434 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1435 -ac_cv_env_CFLAGS_value=$CFLAGS
1436 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1437 -ac_env_LDFLAGS_value=$LDFLAGS
1438 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1439 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1440 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1441 -ac_env_CPPFLAGS_value=$CPPFLAGS
1442 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1443 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1444 -ac_env_CPP_set=${CPP+set}
1445 -ac_env_CPP_value=$CPP
1446 -ac_cv_env_CPP_set=${CPP+set}
1447 -ac_cv_env_CPP_value=$CPP
1448 +if test ! -r "$srcdir/$ac_unique_file"; then
1449 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1450 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1451 + { (exit 1); exit 1; }; }
1453 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1455 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1456 + { (exit 1); exit 1; }; }
1458 +# When building in place, set srcdir=.
1459 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1462 +# Remove unnecessary trailing slashes from srcdir.
1463 +# Double slashes in file names in object file debugging info
1464 +# mess up M-x gdb in Emacs.
1466 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1468 +for ac_var in $ac_precious_vars; do
1469 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1470 + eval ac_env_${ac_var}_value=\$${ac_var}
1471 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1472 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1476 # Report the --help message.
1477 @@ -798,9 +1294,6 @@ Configuration:
1478 -n, --no-create do not create output files
1479 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1484 Installation directories:
1485 --prefix=PREFIX install architecture-independent files in PREFIX
1486 [$ac_default_prefix]
1487 @@ -818,15 +1311,22 @@ Fine tuning of the installation director
1488 --bindir=DIR user executables [EPREFIX/bin]
1489 --sbindir=DIR system admin executables [EPREFIX/sbin]
1490 --libexecdir=DIR program executables [EPREFIX/libexec]
1491 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 - --infodir=DIR info documentation [PREFIX/info]
1499 - --mandir=DIR man documentation [PREFIX/man]
1500 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1501 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1502 + --infodir=DIR info documentation [DATAROOTDIR/info]
1503 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1504 + --mandir=DIR man documentation [DATAROOTDIR/man]
1505 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1506 + --htmldir=DIR html documentation [DOCDIR]
1507 + --dvidir=DIR dvi documentation [DOCDIR]
1508 + --pdfdir=DIR pdf documentation [DOCDIR]
1509 + --psdir=DIR ps documentation [DOCDIR]
1513 @@ -880,126 +1380,95 @@ Some influential environment variables:
1514 CFLAGS C compiler flags
1515 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1516 nonstandard directory <lib dir>
1517 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1518 - headers in a nonstandard directory <include dir>
1519 + LIBS libraries to pass to the linker, e.g. -l<library>
1520 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1521 + you have headers in a nonstandard directory <include dir>
1524 Use these variables to override the choices made by `configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1534 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1535 - test -d $ac_dir || continue
1536 + test -d "$ac_dir" || continue
1539 -if test "$ac_dir" != .; then
1541 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1543 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1544 - # A "../" for each directory in $ac_dir_suffix.
1545 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1547 - ac_dir_suffix= ac_top_builddir=
1549 + # A ".." for each directory in $ac_dir_suffix.
1550 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1551 + case $ac_top_builddir_sub in
1552 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556 +ac_abs_top_builddir=$ac_pwd
1557 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1558 +# for backward compatibility:
1559 +ac_top_builddir=$ac_top_build_prefix
1562 - .) # No --srcdir option. We are building in place.
1563 + .) # We are building in place.
1565 - if test -z "$ac_top_builddir"; then
1568 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1570 - [\\/]* | ?:[\\/]* ) # Absolute path.
1571 + ac_top_srcdir=$ac_top_builddir_sub
1572 + ac_abs_top_srcdir=$ac_pwd ;;
1573 + [\\/]* | ?:[\\/]* ) # Absolute name.
1574 ac_srcdir=$srcdir$ac_dir_suffix;
1575 - ac_top_srcdir=$srcdir ;;
1576 - *) # Relative path.
1577 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1578 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1581 -# Do not use `cd foo && pwd` to compute absolute paths, because
1582 -# the directories may not exist.
1584 -.) ac_abs_builddir="$ac_dir";;
1587 - .) ac_abs_builddir=`pwd`;;
1588 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1589 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1592 -case $ac_abs_builddir in
1593 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1595 - case ${ac_top_builddir}. in
1596 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1597 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1598 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1601 -case $ac_abs_builddir in
1602 -.) ac_abs_srcdir=$ac_srcdir;;
1604 - case $ac_srcdir in
1605 - .) ac_abs_srcdir=$ac_abs_builddir;;
1606 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1607 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1610 -case $ac_abs_builddir in
1611 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1613 - case $ac_top_srcdir in
1614 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1615 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1616 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1621 - # Check for guested configure; otherwise get Cygnus style configure.
1622 - if test -f $ac_srcdir/configure.gnu; then
1624 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1625 - elif test -f $ac_srcdir/configure; then
1627 - $SHELL $ac_srcdir/configure --help=recursive
1628 - elif test -f $ac_srcdir/configure.ac ||
1629 - test -f $ac_srcdir/configure.in; then
1631 - $ac_configure --help
1632 + ac_top_srcdir=$srcdir
1633 + ac_abs_top_srcdir=$srcdir ;;
1634 + *) # Relative name.
1635 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1637 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641 + cd "$ac_dir" || { ac_status=$?; continue; }
1642 + # Check for guested configure.
1643 + if test -f "$ac_srcdir/configure.gnu"; then
1645 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646 + elif test -f "$ac_srcdir/configure"; then
1648 + $SHELL "$ac_srcdir/configure" --help=recursive
1650 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 + fi || ac_status=$?
1654 + cd "$ac_pwd" || { ac_status=$?; break; }
1658 -test -n "$ac_init_help" && exit 0
1659 +test -n "$ac_init_help" && exit $ac_status
1660 if $ac_init_version; then
1663 +generated by GNU Autoconf 2.61
1665 -Copyright (C) 2003 Free Software Foundation, Inc.
1666 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1667 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1668 This configure script is free software; the Free Software Foundation
1669 gives unlimited permission to copy, distribute and modify it.
1676 +cat >config.log <<_ACEOF
1677 This file contains any messages produced by compilers while
1678 running configure, to aid debugging if configure makes a mistake.
1680 It was created by $as_me, which was
1681 -generated by GNU Autoconf 2.59. Invocation command line was
1682 +generated by GNU Autoconf 2.61. Invocation command line was
1691 @@ -1018,7 +1487,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
1692 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1693 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1694 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1695 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1696 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1697 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1698 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1699 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1700 @@ -1032,6 +1501,7 @@ do
1701 test -z "$as_dir" && as_dir=.
1702 echo "PATH: $as_dir"
1708 @@ -1053,7 +1523,6 @@ _ACEOF
1713 ac_must_keep_next=false
1716 @@ -1064,7 +1533,7 @@ do
1717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1718 | -silent | --silent | --silen | --sile | --sil)
1720 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1722 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1725 @@ -1086,9 +1555,7 @@ do
1726 -* ) ac_must_keep_next=true ;;
1729 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1730 - # Get rid of the leading space.
1732 + ac_configure_args="$ac_configure_args '$ac_arg'"
1736 @@ -1099,8 +1566,8 @@ $as_unset ac_configure_args1 || test "${
1737 # When interrupted or exit'd, cleanup temporary files, and complete
1738 # config.log. We remove comments because anyway the quotes in there
1739 # would cause problems or look ugly.
1740 -# WARNING: Be sure not to use single quotes in there, as some shells,
1741 -# such as our DU 5.0 friend, will then `close' the trap.
1742 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1743 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1747 @@ -1113,20 +1580,34 @@ trap 'exit_status=$?
1750 # The following way of writing the cache mishandles newlines in values,
1753 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1754 + eval ac_val=\$$ac_var
1755 + case $ac_val in #(
1757 + case $ac_var in #(
1758 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1759 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1761 + case $ac_var in #(
1762 + _ | IFS | as_nl) ;; #(
1763 + *) $as_unset $ac_var ;;
1768 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1770 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1771 + *${as_nl}ac_space=\ *)
1773 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1774 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1776 + "s/'\''/'\''\\\\'\'''\''/g;
1777 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1781 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1782 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1792 @@ -1137,22 +1618,28 @@ _ASBOX
1794 for ac_var in $ac_subst_vars
1796 - eval ac_val=$`echo $ac_var`
1797 - echo "$ac_var='"'"'$ac_val'"'"'"
1798 + eval ac_val=\$$ac_var
1800 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802 + echo "$ac_var='\''$ac_val'\''"
1806 if test -n "$ac_subst_files"; then
1808 -## ------------- ##
1809 -## Output files. ##
1810 -## ------------- ##
1811 +## ------------------- ##
1812 +## File substitutions. ##
1813 +## ------------------- ##
1816 for ac_var in $ac_subst_files
1818 - eval ac_val=$`echo $ac_var`
1819 - echo "$ac_var='"'"'$ac_val'"'"'"
1820 + eval ac_val=\$$ac_var
1822 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1824 + echo "$ac_var='\''$ac_val'\''"
1828 @@ -1164,26 +1651,24 @@ _ASBOX
1832 - sed "/^$/d" confdefs.h | sort
1836 test "$ac_signal" != 0 &&
1837 echo "$as_me: caught signal $ac_signal"
1838 echo "$as_me: exit $exit_status"
1840 - rm -f core *.core &&
1841 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1842 + rm -f core *.core core.conftest.* &&
1843 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1847 for ac_signal in 1 2 13 15; do
1848 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1853 -rm -rf conftest* confdefs.h
1854 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1856 +rm -f -r conftest* confdefs.h
1858 # Predefined preprocessor variables.
1860 @@ -1214,14 +1699,17 @@ _ACEOF
1862 # Let the site file select an alternate cache file if it wants to.
1863 # Prefer explicitly selected file to automatically selected ones.
1864 -if test -z "$CONFIG_SITE"; then
1865 - if test "x$prefix" != xNONE; then
1866 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1868 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1870 +if test -n "$CONFIG_SITE"; then
1871 + set x "$CONFIG_SITE"
1872 +elif test "x$prefix" != xNONE; then
1873 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1875 + set x "$ac_default_prefix/share/config.site" \
1876 + "$ac_default_prefix/etc/config.site"
1878 -for ac_site_file in $CONFIG_SITE; do
1882 if test -r "$ac_site_file"; then
1883 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1884 echo "$as_me: loading site script $ac_site_file" >&6;}
1885 @@ -1237,8 +1725,8 @@ if test -r "$cache_file"; then
1886 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1887 echo "$as_me: loading cache $cache_file" >&6;}
1889 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1890 - *) . ./$cache_file;;
1891 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1892 + *) . "./$cache_file";;
1896 @@ -1250,12 +1738,11 @@ fi
1897 # Check that the precious variables saved in the cache have kept the same
1899 ac_cache_corrupted=false
1900 -for ac_var in `(set) 2>&1 |
1901 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1902 +for ac_var in $ac_precious_vars; do
1903 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1904 eval ac_new_set=\$ac_env_${ac_var}_set
1905 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1906 - eval ac_new_val="\$ac_env_${ac_var}_value"
1907 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1908 + eval ac_new_val=\$ac_env_${ac_var}_value
1909 case $ac_old_set,$ac_new_set in
1911 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1912 @@ -1280,8 +1767,7 @@ echo "$as_me: current value: $ac_new_v
1913 # Pass precious variables to config.status.
1914 if test "$ac_new_set" = set; then
1916 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1917 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1918 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1919 *) ac_arg=$ac_var=$ac_new_val ;;
1921 case " $ac_configure_args " in
1922 @@ -1298,12 +1784,6 @@ echo "$as_me: error: run \`make distclea
1923 { (exit 1); exit 1; }; }
1927 -ac_cpp='$CPP $CPPFLAGS'
1928 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1929 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1930 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1935 @@ -1320,109 +1800,164 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1940 +ac_cpp='$CPP $CPPFLAGS'
1941 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1949 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1950 - if test -f $ac_dir/install-sh; then
1951 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1952 + if test -f "$ac_dir/install-sh"; then
1954 ac_install_sh="$ac_aux_dir/install-sh -c"
1956 - elif test -f $ac_dir/install.sh; then
1957 + elif test -f "$ac_dir/install.sh"; then
1959 ac_install_sh="$ac_aux_dir/install.sh -c"
1961 - elif test -f $ac_dir/shtool; then
1962 + elif test -f "$ac_dir/shtool"; then
1964 ac_install_sh="$ac_aux_dir/shtool install -c"
1968 if test -z "$ac_aux_dir"; then
1969 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1970 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1971 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1972 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1973 { (exit 1); exit 1; }; }
1975 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1976 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1977 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1979 +# These three variables are undocumented and unsupported,
1980 +# and are intended to be withdrawn in a future Autoconf release.
1981 +# They can cause serious problems if a builder's source tree is in a directory
1982 +# whose full name contains unusual characters.
1983 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1984 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1985 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1988 # Make sure we can run config.sub.
1989 -$ac_config_sub sun4 >/dev/null 2>&1 ||
1990 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1991 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1992 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1993 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1994 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1995 { (exit 1); exit 1; }; }
1997 -echo "$as_me:$LINENO: checking build system type" >&5
1998 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
1999 +{ echo "$as_me:$LINENO: checking build system type" >&5
2000 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2001 if test "${ac_cv_build+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2004 - ac_cv_build_alias=$build_alias
2005 -test -z "$ac_cv_build_alias" &&
2006 - ac_cv_build_alias=`$ac_config_guess`
2007 -test -z "$ac_cv_build_alias" &&
2008 + ac_build_alias=$build_alias
2009 +test "x$ac_build_alias" = x &&
2010 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2011 +test "x$ac_build_alias" = x &&
2012 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2013 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2014 { (exit 1); exit 1; }; }
2015 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2016 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2017 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2018 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2019 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2020 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2021 { (exit 1); exit 1; }; }
2024 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2025 -echo "${ECHO_T}$ac_cv_build" >&6
2026 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2027 +echo "${ECHO_T}$ac_cv_build" >&6; }
2028 +case $ac_cv_build in
2030 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2031 +echo "$as_me: error: invalid value of canonical build" >&2;}
2032 + { (exit 1); exit 1; }; };;
2035 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2036 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2037 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2038 +ac_save_IFS=$IFS; IFS='-'
2044 +# Remember, the first character of IFS is used to create $*,
2045 +# except with old shells:
2048 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2051 -echo "$as_me:$LINENO: checking host system type" >&5
2052 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2053 +{ echo "$as_me:$LINENO: checking host system type" >&5
2054 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2055 if test "${ac_cv_host+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 - ac_cv_host_alias=$host_alias
2059 -test -z "$ac_cv_host_alias" &&
2060 - ac_cv_host_alias=$ac_cv_build_alias
2061 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2062 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2063 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2064 + if test "x$host_alias" = x; then
2065 + ac_cv_host=$ac_cv_build
2067 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2068 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2069 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2070 { (exit 1); exit 1; }; }
2074 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2075 -echo "${ECHO_T}$ac_cv_host" >&6
2076 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2077 +echo "${ECHO_T}$ac_cv_host" >&6; }
2078 +case $ac_cv_host in
2080 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2081 +echo "$as_me: error: invalid value of canonical host" >&2;}
2082 + { (exit 1); exit 1; }; };;
2085 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2086 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2087 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2088 +ac_save_IFS=$IFS; IFS='-'
2094 +# Remember, the first character of IFS is used to create $*,
2095 +# except with old shells:
2098 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2101 -echo "$as_me:$LINENO: checking target system type" >&5
2102 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
2103 +{ echo "$as_me:$LINENO: checking target system type" >&5
2104 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2105 if test "${ac_cv_target+set}" = set; then
2106 echo $ECHO_N "(cached) $ECHO_C" >&6
2108 - ac_cv_target_alias=$target_alias
2109 -test "x$ac_cv_target_alias" = "x" &&
2110 - ac_cv_target_alias=$ac_cv_host_alias
2111 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2112 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2113 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2114 + if test "x$target_alias" = x; then
2115 + ac_cv_target=$ac_cv_host
2117 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2118 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2119 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2120 { (exit 1); exit 1; }; }
2124 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2125 -echo "${ECHO_T}$ac_cv_target" >&6
2126 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2127 +echo "${ECHO_T}$ac_cv_target" >&6; }
2128 +case $ac_cv_target in
2130 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2131 +echo "$as_me: error: invalid value of canonical target" >&2;}
2132 + { (exit 1); exit 1; }; };;
2134 target=$ac_cv_target
2135 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2136 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2137 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2138 +ac_save_IFS=$IFS; IFS='-'
2139 +set x $ac_cv_target
2144 +# Remember, the first character of IFS is used to create $*,
2145 +# except with old shells:
2148 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2151 # The aliases save the names the user supplied, while $host etc.
2152 @@ -1439,8 +1974,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2153 if test -n "$ac_tool_prefix"; then
2154 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2155 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2156 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2157 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2158 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2160 if test "${ac_cv_prog_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 @@ -1453,32 +1988,34 @@ do
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 - echo "$as_me:$LINENO: result: $CC" >&5
2182 -echo "${ECHO_T}$CC" >&6
2183 + { echo "$as_me:$LINENO: result: $CC" >&5
2184 +echo "${ECHO_T}$CC" >&6; }
2186 - echo "$as_me:$LINENO: result: no" >&5
2187 -echo "${ECHO_T}no" >&6
2188 + { echo "$as_me:$LINENO: result: no" >&5
2189 +echo "${ECHO_T}no" >&6; }
2194 if test -z "$ac_cv_prog_CC"; then
2196 # Extract the first word of "gcc", so it can be a program name with args.
2197 set dummy gcc; ac_word=$2
2198 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2199 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2200 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 @@ -1491,36 +2028,51 @@ do
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2210 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2211 ac_cv_prog_ac_ct_CC="gcc"
2212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2222 if test -n "$ac_ct_CC"; then
2223 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224 -echo "${ECHO_T}$ac_ct_CC" >&6
2225 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2226 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2228 - echo "$as_me:$LINENO: result: no" >&5
2229 -echo "${ECHO_T}no" >&6
2230 + { echo "$as_me:$LINENO: result: no" >&5
2231 +echo "${ECHO_T}no" >&6; }
2235 + if test "x$ac_ct_CC" = x; then
2238 + case $cross_compiling:$ac_tool_warned in
2240 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2241 +whose name does not start with the host triplet. If you think this
2242 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2243 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2244 +whose name does not start with the host triplet. If you think this
2245 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2246 +ac_tool_warned=yes ;;
2254 if test -z "$CC"; then
2255 - if test -n "$ac_tool_prefix"; then
2256 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2257 + if test -n "$ac_tool_prefix"; then
2258 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2259 set dummy ${ac_tool_prefix}cc; ac_word=$2
2260 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2261 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2262 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 @@ -1533,74 +2085,34 @@ do
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273 ac_cv_prog_CC="${ac_tool_prefix}cc"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 if test -n "$CC"; then
2285 - echo "$as_me:$LINENO: result: $CC" >&5
2286 -echo "${ECHO_T}$CC" >&6
2288 - echo "$as_me:$LINENO: result: no" >&5
2289 -echo "${ECHO_T}no" >&6
2293 -if test -z "$ac_cv_prog_CC"; then
2295 - # Extract the first word of "cc", so it can be a program name with args.
2296 -set dummy cc; ac_word=$2
2297 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2300 - echo $ECHO_N "(cached) $ECHO_C" >&6
2302 - if test -n "$ac_ct_CC"; then
2303 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2305 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2306 -for as_dir in $PATH
2309 - test -z "$as_dir" && as_dir=.
2310 - for ac_exec_ext in '' $ac_executable_extensions; do
2311 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 - ac_cv_prog_ac_ct_CC="cc"
2313 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2322 -if test -n "$ac_ct_CC"; then
2323 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2324 -echo "${ECHO_T}$ac_ct_CC" >&6
2325 + { echo "$as_me:$LINENO: result: $CC" >&5
2326 +echo "${ECHO_T}$CC" >&6; }
2328 - echo "$as_me:$LINENO: result: no" >&5
2329 -echo "${ECHO_T}no" >&6
2330 + { echo "$as_me:$LINENO: result: no" >&5
2331 +echo "${ECHO_T}no" >&6; }
2336 - CC="$ac_cv_prog_CC"
2341 if test -z "$CC"; then
2342 # Extract the first word of "cc", so it can be a program name with args.
2343 set dummy cc; ac_word=$2
2344 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2345 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2346 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_CC+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 @@ -1614,7 +2126,7 @@ do
2353 test -z "$as_dir" && as_dir=.
2354 for ac_exec_ext in '' $ac_executable_extensions; do
2355 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2356 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2358 ac_prog_rejected=yes
2360 @@ -1625,6 +2137,7 @@ do
2366 if test $ac_prog_rejected = yes; then
2367 # We found a bogon in the path, so make sure we never use it.
2368 @@ -1642,22 +2155,23 @@ fi
2371 if test -n "$CC"; then
2372 - echo "$as_me:$LINENO: result: $CC" >&5
2373 -echo "${ECHO_T}$CC" >&6
2374 + { echo "$as_me:$LINENO: result: $CC" >&5
2375 +echo "${ECHO_T}$CC" >&6; }
2377 - echo "$as_me:$LINENO: result: no" >&5
2378 -echo "${ECHO_T}no" >&6
2379 + { echo "$as_me:$LINENO: result: no" >&5
2380 +echo "${ECHO_T}no" >&6; }
2385 if test -z "$CC"; then
2386 if test -n "$ac_tool_prefix"; then
2388 + for ac_prog in cl.exe
2390 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2391 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2392 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2393 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2394 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2396 if test "${ac_cv_prog_CC+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 @@ -1670,36 +2184,38 @@ do
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2405 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 if test -n "$CC"; then
2417 - echo "$as_me:$LINENO: result: $CC" >&5
2418 -echo "${ECHO_T}$CC" >&6
2419 + { echo "$as_me:$LINENO: result: $CC" >&5
2420 +echo "${ECHO_T}$CC" >&6; }
2422 - echo "$as_me:$LINENO: result: no" >&5
2423 -echo "${ECHO_T}no" >&6
2424 + { echo "$as_me:$LINENO: result: no" >&5
2425 +echo "${ECHO_T}no" >&6; }
2429 test -n "$CC" && break
2432 if test -z "$CC"; then
2435 + for ac_prog in cl.exe
2437 # Extract the first word of "$ac_prog", so it can be a program name with args.
2438 set dummy $ac_prog; ac_word=$2
2439 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2440 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2441 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2442 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2443 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2444 echo $ECHO_N "(cached) $ECHO_C" >&6
2446 @@ -1712,29 +2228,45 @@ do
2448 test -z "$as_dir" && as_dir=.
2449 for ac_exec_ext in '' $ac_executable_extensions; do
2450 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2451 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2452 ac_cv_prog_ac_ct_CC="$ac_prog"
2453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2463 if test -n "$ac_ct_CC"; then
2464 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2465 -echo "${ECHO_T}$ac_ct_CC" >&6
2466 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2467 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2469 - echo "$as_me:$LINENO: result: no" >&5
2470 -echo "${ECHO_T}no" >&6
2471 + { echo "$as_me:$LINENO: result: no" >&5
2472 +echo "${ECHO_T}no" >&6; }
2476 test -n "$ac_ct_CC" && break
2480 + if test "x$ac_ct_CC" = x; then
2483 + case $cross_compiling:$ac_tool_warned in
2485 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2486 +whose name does not start with the host triplet. If you think this
2487 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2488 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2489 +whose name does not start with the host triplet. If you think this
2490 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2491 +ac_tool_warned=yes ;;
2498 @@ -1747,21 +2279,35 @@ See \`config.log' for more details." >&2
2499 { (exit 1); exit 1; }; }
2501 # Provide some information about the compiler.
2502 -echo "$as_me:$LINENO:" \
2503 - "checking for C compiler version" >&5
2504 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2505 ac_compiler=`set X $ac_compile; echo $2`
2506 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2507 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2508 +{ (ac_try="$ac_compiler --version >&5"
2509 +case "(($ac_try" in
2510 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 + *) ac_try_echo=$ac_try;;
2513 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2514 + (eval "$ac_compiler --version >&5") 2>&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }
2518 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2519 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2520 +{ (ac_try="$ac_compiler -v >&5"
2521 +case "(($ac_try" in
2522 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2523 + *) ac_try_echo=$ac_try;;
2525 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2526 + (eval "$ac_compiler -v >&5") 2>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }
2530 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2531 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2532 +{ (ac_try="$ac_compiler -V >&5"
2533 +case "(($ac_try" in
2534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 + *) ac_try_echo=$ac_try;;
2537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538 + (eval "$ac_compiler -V >&5") 2>&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }
2542 @@ -1786,47 +2332,77 @@ ac_clean_files="$ac_clean_files a.out a.
2543 # Try to create an executable without -o first, disregard a.out.
2544 # It will help us diagnose broken compilers, and finding out an intuition
2546 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2547 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2548 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2549 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2550 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2551 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2552 - (eval $ac_link_default) 2>&5
2554 +# List of possible output files, starting from the most likely.
2555 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2556 +# only as a last resort. b.out is created by i960 compilers.
2557 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2559 +# The IRIX 6 linker writes into existing files which may not be
2560 +# executable, retaining their permissions. Remove them first so a
2561 +# subsequent execution test works.
2563 +for ac_file in $ac_files
2566 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2567 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2572 +if { (ac_try="$ac_link_default"
2573 +case "(($ac_try" in
2574 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 + *) ac_try_echo=$ac_try;;
2577 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 + (eval "$ac_link_default") 2>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); }; then
2582 - # Find the output, starting from the most likely. This scheme is
2583 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2586 -# Be careful to initialize this variable, since it used to be cached.
2587 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2589 -# b.out is created by i960 compilers.
2590 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2591 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2592 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2593 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2594 +# so that the user can short-circuit this test for compilers unknown to
2596 +for ac_file in $ac_files ''
2598 test -f "$ac_file" || continue
2600 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2602 - conftest.$ac_ext )
2603 - # This is the source file.
2604 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2607 # We found the default executable, but exeext='' is most
2611 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2612 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2613 - # but it would be cool to find out if it's true. Does anybody
2614 - # maintain Libtool? --akim.
2615 - export ac_cv_exeext
2616 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2618 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2620 + # We set ac_cv_exeext here because the later test for it is not
2621 + # safe: cross compilers may not add the suffix if given an `-o'
2622 + # argument, so we may need to know it at that point already.
2623 + # Even if this section looks crufty: it has the advantage of
2624 + # actually working.
2630 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2636 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2637 +echo "${ECHO_T}$ac_file" >&6; }
2638 +if test -z "$ac_file"; then
2639 echo "$as_me: failed program was:" >&5
2640 sed 's/^/| /' conftest.$ac_ext >&5
2642 @@ -1838,19 +2414,21 @@ See \`config.log' for more details." >&2
2645 ac_exeext=$ac_cv_exeext
2646 -echo "$as_me:$LINENO: result: $ac_file" >&5
2647 -echo "${ECHO_T}$ac_file" >&6
2649 -# Check the compiler produces executables we can run. If not, either
2650 +# Check that the compiler produces executables we can run. If not, either
2651 # the compiler is broken, or we cross compile.
2652 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2653 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2654 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2655 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2656 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2657 # If not cross compiling, check that we can run a simple program.
2658 if test "$cross_compiling" != yes; then
2659 if { ac_try='./$ac_file'
2660 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2661 - (eval $ac_try) 2>&5
2662 + { (case "(($ac_try" in
2663 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2664 + *) ac_try_echo=$ac_try;;
2666 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2667 + (eval "$ac_try") 2>&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 @@ -1869,22 +2447,27 @@ See \`config.log' for more details." >&2
2675 -echo "$as_me:$LINENO: result: yes" >&5
2676 -echo "${ECHO_T}yes" >&6
2677 +{ echo "$as_me:$LINENO: result: yes" >&5
2678 +echo "${ECHO_T}yes" >&6; }
2680 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2681 ac_clean_files=$ac_clean_files_save
2682 -# Check the compiler produces executables we can run. If not, either
2683 +# Check that the compiler produces executables we can run. If not, either
2684 # the compiler is broken, or we cross compile.
2685 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2686 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2687 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2688 -echo "${ECHO_T}$cross_compiling" >&6
2690 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2691 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2692 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2693 - (eval $ac_link) 2>&5
2694 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2695 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2696 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2697 +echo "${ECHO_T}$cross_compiling" >&6; }
2699 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2700 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2701 +if { (ac_try="$ac_link"
2702 +case "(($ac_try" in
2703 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2704 + *) ac_try_echo=$ac_try;;
2706 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 + (eval "$ac_link") 2>&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; then
2711 @@ -1895,9 +2478,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
2712 for ac_file in conftest.exe conftest conftest.*; do
2713 test -f "$ac_file" || continue
2715 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2716 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2717 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2718 - export ac_cv_exeext
2722 @@ -1911,14 +2493,14 @@ See \`config.log' for more details." >&2
2725 rm -f conftest$ac_cv_exeext
2726 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2727 -echo "${ECHO_T}$ac_cv_exeext" >&6
2728 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2729 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2731 rm -f conftest.$ac_ext
2732 EXEEXT=$ac_cv_exeext
2734 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2735 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2736 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2737 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2738 if test "${ac_cv_objext+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 @@ -1938,14 +2520,20 @@ main ()
2744 rm -f conftest.o conftest.obj
2745 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 - (eval $ac_compile) 2>&5
2747 +if { (ac_try="$ac_compile"
2748 +case "(($ac_try" in
2749 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 + *) ac_try_echo=$ac_try;;
2752 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 + (eval "$ac_compile") 2>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; then
2757 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2758 + for ac_file in conftest.o conftest.obj conftest.*; do
2759 + test -f "$ac_file" || continue;
2761 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2762 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2763 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2766 @@ -1963,12 +2551,12 @@ fi
2768 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2770 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2771 -echo "${ECHO_T}$ac_cv_objext" >&6
2772 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2773 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2774 OBJEXT=$ac_cv_objext
2776 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2777 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2778 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2779 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2780 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2781 echo $ECHO_N "(cached) $ECHO_C" >&6
2783 @@ -1991,50 +2579,49 @@ main ()
2786 rm -f conftest.$ac_objext
2787 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 - (eval $ac_compile) 2>conftest.er1
2789 +if { (ac_try="$ac_compile"
2790 +case "(($ac_try" in
2791 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 + *) ac_try_echo=$ac_try;;
2794 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 + (eval "$ac_compile") 2>conftest.er1
2797 grep -v '^ *+' conftest.er1 >conftest.err
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 - (exit $ac_status); } &&
2802 - { ac_try='test -z "$ac_c_werror_flag"
2803 - || test ! -s conftest.err'
2804 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 - (eval $ac_try) 2>&5
2807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 - (exit $ac_status); }; } &&
2809 - { ac_try='test -s conftest.$ac_objext'
2810 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2811 - (eval $ac_try) 2>&5
2813 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 - (exit $ac_status); }; }; then
2815 + (exit $ac_status); } && {
2816 + test -z "$ac_c_werror_flag" ||
2817 + test ! -s conftest.err
2818 + } && test -s conftest.$ac_objext; then
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2825 + ac_compiler_gnu=no
2827 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2829 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2830 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2833 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2834 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2835 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2836 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2837 GCC=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CFLAGS=${CFLAGS+set}
2839 ac_save_CFLAGS=$CFLAGS
2841 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2842 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2843 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2844 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_cc_g+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 - cat >conftest.$ac_ext <<_ACEOF
2849 + ac_save_c_werror_flag=$ac_c_werror_flag
2850 + ac_c_werror_flag=yes
2851 + ac_cv_prog_cc_g=no
2853 + cat >conftest.$ac_ext <<_ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 @@ -2050,38 +2637,118 @@ main ()
2860 rm -f conftest.$ac_objext
2861 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862 - (eval $ac_compile) 2>conftest.er1
2863 +if { (ac_try="$ac_compile"
2864 +case "(($ac_try" in
2865 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2866 + *) ac_try_echo=$ac_try;;
2868 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2869 + (eval "$ac_compile") 2>conftest.er1
2871 grep -v '^ *+' conftest.er1 >conftest.err
2873 cat conftest.err >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 - (exit $ac_status); } &&
2876 - { ac_try='test -z "$ac_c_werror_flag"
2877 - || test ! -s conftest.err'
2878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2879 - (eval $ac_try) 2>&5
2880 + (exit $ac_status); } && {
2881 + test -z "$ac_c_werror_flag" ||
2882 + test ! -s conftest.err
2883 + } && test -s conftest.$ac_objext; then
2884 + ac_cv_prog_cc_g=yes
2886 + echo "$as_me: failed program was:" >&5
2887 +sed 's/^/| /' conftest.$ac_ext >&5
2890 + cat >conftest.$ac_ext <<_ACEOF
2893 +cat confdefs.h >>conftest.$ac_ext
2894 +cat >>conftest.$ac_ext <<_ACEOF
2895 +/* end confdefs.h. */
2905 +rm -f conftest.$ac_objext
2906 +if { (ac_try="$ac_compile"
2907 +case "(($ac_try" in
2908 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 + *) ac_try_echo=$ac_try;;
2911 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 + (eval "$ac_compile") 2>conftest.er1
2914 + grep -v '^ *+' conftest.er1 >conftest.err
2915 + rm -f conftest.er1
2916 + cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 - (exit $ac_status); }; } &&
2919 - { ac_try='test -s conftest.$ac_objext'
2920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 - (eval $ac_try) 2>&5
2922 + (exit $ac_status); } && {
2923 + test -z "$ac_c_werror_flag" ||
2924 + test ! -s conftest.err
2925 + } && test -s conftest.$ac_objext; then
2928 + echo "$as_me: failed program was:" >&5
2929 +sed 's/^/| /' conftest.$ac_ext >&5
2931 + ac_c_werror_flag=$ac_save_c_werror_flag
2933 + cat >conftest.$ac_ext <<_ACEOF
2936 +cat confdefs.h >>conftest.$ac_ext
2937 +cat >>conftest.$ac_ext <<_ACEOF
2938 +/* end confdefs.h. */
2948 +rm -f conftest.$ac_objext
2949 +if { (ac_try="$ac_compile"
2950 +case "(($ac_try" in
2951 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 + *) ac_try_echo=$ac_try;;
2954 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955 + (eval "$ac_compile") 2>conftest.er1
2957 + grep -v '^ *+' conftest.er1 >conftest.err
2958 + rm -f conftest.er1
2959 + cat conftest.err >&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 - (exit $ac_status); }; }; then
2962 + (exit $ac_status); } && {
2963 + test -z "$ac_c_werror_flag" ||
2964 + test ! -s conftest.err
2965 + } && test -s conftest.$ac_objext; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2974 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2983 + ac_c_werror_flag=$ac_save_c_werror_flag
2985 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2986 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2987 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2988 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2989 if test "$ac_test_CFLAGS" = set; then
2990 CFLAGS=$ac_save_CFLAGS
2991 elif test $ac_cv_prog_cc_g = yes; then
2992 @@ -2097,12 +2764,12 @@ else
2996 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2997 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2998 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
2999 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3000 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3001 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3002 echo $ECHO_N "(cached) $ECHO_C" >&6
3004 - ac_cv_prog_cc_stdc=no
3005 + ac_cv_prog_cc_c89=no
3007 cat >conftest.$ac_ext <<_ACEOF
3009 @@ -2136,12 +2803,17 @@ static char *f (char * (*g) (char **, in
3010 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3011 function prototypes and stuff, but not '\xHH' hex character constants.
3012 These don't provoke an error unfortunately, instead are silently treated
3013 - as 'x'. The following induces an error, until -std1 is added to get
3014 + as 'x'. The following induces an error, until -std is added to get
3015 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3016 array size at least. It's necessary to write '\x00'==0 to get something
3017 - that's true only with -std1. */
3018 + that's true only with -std. */
3019 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3021 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3022 + inside strings and character constants. */
3024 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3026 int test (int i, double x);
3027 struct s1 {int (*f) (int a);};
3028 struct s2 {int (*f) (double a);};
3029 @@ -2156,335 +2828,144 @@ return f (e, argv, 0) != argv[0] || f
3033 -# Don't try gcc -ansi; that turns off useful extensions and
3034 -# breaks some systems' header files.
3035 -# AIX -qlanglvl=ansi
3036 -# Ultrix and OSF/1 -std1
3037 -# HP-UX 10.20 and later -Ae
3038 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3039 -# SVR4 -Xc -D__EXTENSIONS__
3040 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3041 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3042 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3044 CC="$ac_save_CC $ac_arg"
3045 rm -f conftest.$ac_objext
3046 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047 - (eval $ac_compile) 2>conftest.er1
3048 +if { (ac_try="$ac_compile"
3049 +case "(($ac_try" in
3050 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051 + *) ac_try_echo=$ac_try;;
3053 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054 + (eval "$ac_compile") 2>conftest.er1
3056 grep -v '^ *+' conftest.er1 >conftest.err
3058 cat conftest.err >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 - (exit $ac_status); } &&
3061 - { ac_try='test -z "$ac_c_werror_flag"
3062 - || test ! -s conftest.err'
3063 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3064 - (eval $ac_try) 2>&5
3066 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 - (exit $ac_status); }; } &&
3068 - { ac_try='test -s conftest.$ac_objext'
3069 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 - (eval $ac_try) 2>&5
3072 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 - (exit $ac_status); }; }; then
3074 - ac_cv_prog_cc_stdc=$ac_arg
3076 + (exit $ac_status); } && {
3077 + test -z "$ac_c_werror_flag" ||
3078 + test ! -s conftest.err
3079 + } && test -s conftest.$ac_objext; then
3080 + ac_cv_prog_cc_c89=$ac_arg
3082 echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3087 -rm -f conftest.err conftest.$ac_objext
3089 +rm -f core conftest.err conftest.$ac_objext
3090 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3092 -rm -f conftest.$ac_ext conftest.$ac_objext
3093 +rm -f conftest.$ac_ext
3098 -case "x$ac_cv_prog_cc_stdc" in
3100 - echo "$as_me:$LINENO: result: none needed" >&5
3101 -echo "${ECHO_T}none needed" >&6 ;;
3103 +case "x$ac_cv_prog_cc_c89" in
3105 + { echo "$as_me:$LINENO: result: none needed" >&5
3106 +echo "${ECHO_T}none needed" >&6; } ;;
3108 + { echo "$as_me:$LINENO: result: unsupported" >&5
3109 +echo "${ECHO_T}unsupported" >&6; } ;;
3111 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3112 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3113 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3114 + CC="$CC $ac_cv_prog_cc_c89"
3115 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3116 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3119 -# Some people use a C++ compiler to compile C. Since we use `exit',
3120 -# in C++ we need to declare it. In case someone uses the same compiler
3121 -# for both compiling C and C++ we need to have the C++ compiler decide
3122 -# the declaration of exit, since it's the most demanding environment.
3125 +ac_cpp='$CPP $CPPFLAGS'
3126 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3131 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3132 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3133 +if test "${ac_cv_search_strerror+set}" = set; then
3134 + echo $ECHO_N "(cached) $ECHO_C" >&6
3136 + ac_func_search_save_LIBS=$LIBS
3137 cat >conftest.$ac_ext <<_ACEOF
3138 -#ifndef __cplusplus
3142 -rm -f conftest.$ac_objext
3143 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3144 - (eval $ac_compile) 2>conftest.er1
3146 - grep -v '^ *+' conftest.er1 >conftest.err
3147 - rm -f conftest.er1
3148 - cat conftest.err >&5
3149 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 - (exit $ac_status); } &&
3151 - { ac_try='test -z "$ac_c_werror_flag"
3152 - || test ! -s conftest.err'
3153 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3154 - (eval $ac_try) 2>&5
3156 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 - (exit $ac_status); }; } &&
3158 - { ac_try='test -s conftest.$ac_objext'
3159 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 - (eval $ac_try) 2>&5
3162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 - (exit $ac_status); }; }; then
3164 - for ac_declaration in \
3166 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3167 - 'extern "C" void std::exit (int); using std::exit;' \
3168 - 'extern "C" void exit (int) throw ();' \
3169 - 'extern "C" void exit (int);' \
3170 - 'void exit (int);'
3172 - cat >conftest.$ac_ext <<_ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3179 -#include <stdlib.h>
3181 +/* Override any GCC internal prototype to avoid an error.
3182 + Use char because int might match the return type of a GCC
3183 + builtin and then its argument prototype would still apply. */
3192 +return strerror ();
3197 -rm -f conftest.$ac_objext
3198 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3199 - (eval $ac_compile) 2>conftest.er1
3200 +for ac_lib in '' cposix; do
3201 + if test -z "$ac_lib"; then
3202 + ac_res="none required"
3205 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3207 + rm -f conftest.$ac_objext conftest$ac_exeext
3208 +if { (ac_try="$ac_link"
3209 +case "(($ac_try" in
3210 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 + *) ac_try_echo=$ac_try;;
3213 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3214 + (eval "$ac_link") 2>conftest.er1
3216 grep -v '^ *+' conftest.er1 >conftest.err
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 - (exit $ac_status); } &&
3221 - { ac_try='test -z "$ac_c_werror_flag"
3222 - || test ! -s conftest.err'
3223 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 - (eval $ac_try) 2>&5
3226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 - (exit $ac_status); }; } &&
3228 - { ac_try='test -s conftest.$ac_objext'
3229 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 - (eval $ac_try) 2>&5
3232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3233 - (exit $ac_status); }; }; then
3235 + (exit $ac_status); } && {
3236 + test -z "$ac_c_werror_flag" ||
3237 + test ! -s conftest.err
3238 + } && test -s conftest$ac_exeext &&
3239 + $as_test_x conftest$ac_exeext; then
3240 + ac_cv_search_strerror=$ac_res
3242 echo "$as_me: failed program was:" >&5
3243 sed 's/^/| /' conftest.$ac_ext >&5
3247 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3248 - cat >conftest.$ac_ext <<_ACEOF
3251 -cat confdefs.h >>conftest.$ac_ext
3252 -cat >>conftest.$ac_ext <<_ACEOF
3253 -/* end confdefs.h. */
3263 -rm -f conftest.$ac_objext
3264 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 - (eval $ac_compile) 2>conftest.er1
3267 - grep -v '^ *+' conftest.er1 >conftest.err
3268 - rm -f conftest.er1
3269 - cat conftest.err >&5
3270 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 - (exit $ac_status); } &&
3272 - { ac_try='test -z "$ac_c_werror_flag"
3273 - || test ! -s conftest.err'
3274 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 - (eval $ac_try) 2>&5
3277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 - (exit $ac_status); }; } &&
3279 - { ac_try='test -s conftest.$ac_objext'
3280 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 - (eval $ac_try) 2>&5
3283 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 - (exit $ac_status); }; }; then
3287 - echo "$as_me: failed program was:" >&5
3288 -sed 's/^/| /' conftest.$ac_ext >&5
3291 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3294 -if test -n "$ac_declaration"; then
3295 - echo '#ifdef __cplusplus' >>confdefs.h
3296 - echo $ac_declaration >>confdefs.h
3297 - echo '#endif' >>confdefs.h
3301 - echo "$as_me: failed program was:" >&5
3302 -sed 's/^/| /' conftest.$ac_ext >&5
3304 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3305 + conftest$ac_exeext
3306 + if test "${ac_cv_search_strerror+set}" = set; then
3309 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3311 -ac_cpp='$CPP $CPPFLAGS'
3312 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3313 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3314 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
3317 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
3318 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3320 if test "${ac_cv_search_strerror+set}" = set; then
3321 - echo $ECHO_N "(cached) $ECHO_C" >&6
3323 - ac_func_search_save_LIBS=$LIBS
3324 -ac_cv_search_strerror=no
3325 -cat >conftest.$ac_ext <<_ACEOF
3328 -cat confdefs.h >>conftest.$ac_ext
3329 -cat >>conftest.$ac_ext <<_ACEOF
3330 -/* end confdefs.h. */
3332 -/* Override any gcc2 internal prototype to avoid an error. */
3336 -/* We use char because int might match the return type of a gcc2
3337 - builtin and then its argument prototype would still apply. */
3347 -rm -f conftest.$ac_objext conftest$ac_exeext
3348 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3349 - (eval $ac_link) 2>conftest.er1
3351 - grep -v '^ *+' conftest.er1 >conftest.err
3352 - rm -f conftest.er1
3353 - cat conftest.err >&5
3354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 - (exit $ac_status); } &&
3356 - { ac_try='test -z "$ac_c_werror_flag"
3357 - || test ! -s conftest.err'
3358 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359 - (eval $ac_try) 2>&5
3361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 - (exit $ac_status); }; } &&
3363 - { ac_try='test -s conftest$ac_exeext'
3364 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 - (eval $ac_try) 2>&5
3367 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 - (exit $ac_status); }; }; then
3369 - ac_cv_search_strerror="none required"
3371 - echo "$as_me: failed program was:" >&5
3372 -sed 's/^/| /' conftest.$ac_ext >&5
3375 -rm -f conftest.err conftest.$ac_objext \
3376 - conftest$ac_exeext conftest.$ac_ext
3377 -if test "$ac_cv_search_strerror" = no; then
3378 - for ac_lib in cposix; do
3379 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3380 - cat >conftest.$ac_ext <<_ACEOF
3383 -cat confdefs.h >>conftest.$ac_ext
3384 -cat >>conftest.$ac_ext <<_ACEOF
3385 -/* end confdefs.h. */
3387 -/* Override any gcc2 internal prototype to avoid an error. */
3391 -/* We use char because int might match the return type of a gcc2
3392 - builtin and then its argument prototype would still apply. */
3402 -rm -f conftest.$ac_objext conftest$ac_exeext
3403 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3404 - (eval $ac_link) 2>conftest.er1
3406 - grep -v '^ *+' conftest.er1 >conftest.err
3407 - rm -f conftest.er1
3408 - cat conftest.err >&5
3409 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 - (exit $ac_status); } &&
3411 - { ac_try='test -z "$ac_c_werror_flag"
3412 - || test ! -s conftest.err'
3413 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 - (eval $ac_try) 2>&5
3416 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 - (exit $ac_status); }; } &&
3418 - { ac_try='test -s conftest$ac_exeext'
3419 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3420 - (eval $ac_try) 2>&5
3422 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 - (exit $ac_status); }; }; then
3424 - ac_cv_search_strerror="-l$ac_lib"
3428 - echo "$as_me: failed program was:" >&5
3429 -sed 's/^/| /' conftest.$ac_ext >&5
3432 -rm -f conftest.err conftest.$ac_objext \
3433 - conftest$ac_exeext conftest.$ac_ext
3435 + ac_cv_search_strerror=no
3437 +rm conftest.$ac_ext
3438 LIBS=$ac_func_search_save_LIBS
3440 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3441 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
3442 -if test "$ac_cv_search_strerror" != no; then
3443 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3444 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3445 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3446 +ac_res=$ac_cv_search_strerror
3447 +if test "$ac_res" != no; then
3448 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3452 @@ -2503,8 +2984,8 @@ am__api_version="1.9"
3453 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3454 # OS/2's system install, which has a completely different semantic
3455 # ./install, which can be erroneously created by make from ./install.sh.
3456 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3457 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3458 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3459 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3460 if test -z "$INSTALL"; then
3461 if test "${ac_cv_path_install+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 @@ -2526,7 +3007,7 @@ case $as_dir/ in
3465 for ac_prog in ginstall scoinst install; do
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3468 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3469 if test $ac_prog = install &&
3470 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3471 # AIX install. It has an incompatible calling convention.
3472 @@ -2545,21 +3026,22 @@ case $as_dir/ in
3480 if test "${ac_cv_path_install+set}" = set; then
3481 INSTALL=$ac_cv_path_install
3483 - # As a last resort, use the slow shell script. We don't cache a
3484 - # path for INSTALL within a source directory, because that will
3485 + # As a last resort, use the slow shell script. Don't cache a
3486 + # value for INSTALL within a source directory, because that will
3487 # break other packages using the cache if that directory is
3488 - # removed, or if the path is relative.
3489 + # removed, or if the value is a relative name.
3490 INSTALL=$ac_install_sh
3493 -echo "$as_me:$LINENO: result: $INSTALL" >&5
3494 -echo "${ECHO_T}$INSTALL" >&6
3495 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3496 +echo "${ECHO_T}$INSTALL" >&6; }
3498 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3499 # It thinks the first close brace ends the variable substitution.
3500 @@ -2569,8 +3051,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
3502 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3504 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3505 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3506 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3507 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3510 echo timestamp > conftest.file
3511 @@ -2612,20 +3094,20 @@ echo "$as_me: error: newly created file
3512 Check your system clock" >&2;}
3513 { (exit 1); exit 1; }; }
3515 -echo "$as_me:$LINENO: result: yes" >&5
3516 -echo "${ECHO_T}yes" >&6
3517 +{ echo "$as_me:$LINENO: result: yes" >&5
3518 +echo "${ECHO_T}yes" >&6; }
3519 test "$program_prefix" != NONE &&
3520 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
3521 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
3522 # Use a double $ so make ignores it.
3523 test "$program_suffix" != NONE &&
3524 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3525 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3526 # Double any \ or $. echo might interpret backslashes.
3527 # By default was `s,x,x', remove it if useless.
3528 cat <<\_ACEOF >conftest.sed
3529 s/[\\$]/&&/g;s/;s,x,x,$//
3531 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3535 # expand $ac_aux_dir to an absolute path
3536 am_aux_dir=`cd $ac_aux_dir && pwd`
3537 @@ -2677,8 +3159,8 @@ for ac_prog in gawk mawk nawk awk
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy $ac_prog; ac_word=$2
3541 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3544 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3545 if test "${ac_cv_prog_AWK+set}" = set; then
3546 echo $ECHO_N "(cached) $ECHO_C" >&6
3548 @@ -2691,54 +3173,57 @@ do
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3554 ac_cv_prog_AWK="$ac_prog"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 if test -n "$AWK"; then
3566 - echo "$as_me:$LINENO: result: $AWK" >&5
3567 -echo "${ECHO_T}$AWK" >&6
3568 + { echo "$as_me:$LINENO: result: $AWK" >&5
3569 +echo "${ECHO_T}$AWK" >&6; }
3571 - echo "$as_me:$LINENO: result: no" >&5
3572 -echo "${ECHO_T}no" >&6
3573 + { echo "$as_me:$LINENO: result: no" >&5
3574 +echo "${ECHO_T}no" >&6; }
3578 test -n "$AWK" && break
3581 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3582 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3583 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3584 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3585 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3586 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3587 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3588 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 cat >conftest.make <<\_ACEOF
3594 - @echo 'ac_maketemp="$(MAKE)"'
3595 + @echo '@@@%%%=$(MAKE)=@@@%%%'
3597 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3598 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3599 -if test -n "$ac_maketemp"; then
3600 - eval ac_cv_prog_make_${ac_make}_set=yes
3602 - eval ac_cv_prog_make_${ac_make}_set=no
3604 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
3605 + *@@@%%%=?*=@@@%%%*)
3606 + eval ac_cv_prog_make_${ac_make}_set=yes;;
3608 + eval ac_cv_prog_make_${ac_make}_set=no;;
3612 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3613 - echo "$as_me:$LINENO: result: yes" >&5
3614 -echo "${ECHO_T}yes" >&6
3615 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3616 + { echo "$as_me:$LINENO: result: yes" >&5
3617 +echo "${ECHO_T}yes" >&6; }
3620 - echo "$as_me:$LINENO: result: no" >&5
3621 -echo "${ECHO_T}no" >&6
3622 + { echo "$as_me:$LINENO: result: no" >&5
3623 +echo "${ECHO_T}no" >&6; }
3624 SET_MAKE="MAKE=${MAKE-make}"
3627 @@ -2753,7 +3238,7 @@ rmdir .tst 2>/dev/null
3629 DEPDIR="${am__leading_dot}deps"
3631 - ac_config_commands="$ac_config_commands depfiles"
3632 +ac_config_commands="$ac_config_commands depfiles"
3635 am_make=${MAKE-make}
3636 @@ -2763,8 +3248,8 @@ am__doit:
3639 # If we don't find an include directive, just comment out the code.
3640 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3641 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3642 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3643 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3647 @@ -2791,15 +3276,15 @@ if test "$am__include" = "#"; then
3651 -echo "$as_me:$LINENO: result: $_am_result" >&5
3652 -echo "${ECHO_T}$_am_result" >&6
3653 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
3654 +echo "${ECHO_T}$_am_result" >&6; }
3655 rm -f confinc confmf
3657 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3658 +# Check whether --enable-dependency-tracking was given.
3659 if test "${enable_dependency_tracking+set}" = set; then
3660 - enableval="$enable_dependency_tracking"
3661 + enableval=$enable_dependency_tracking;
3665 if test "x$enable_dependency_tracking" != xno; then
3666 am_depcomp="$ac_aux_dir/depcomp"
3668 @@ -2874,8 +3359,8 @@ if test "$cross_compiling" != no; then
3669 if test -n "$ac_tool_prefix"; then
3670 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3671 set dummy ${ac_tool_prefix}strip; ac_word=$2
3672 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3673 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3674 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3675 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3676 if test "${ac_cv_prog_STRIP+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 @@ -2888,32 +3373,34 @@ do
3681 test -z "$as_dir" && as_dir=.
3682 for ac_exec_ext in '' $ac_executable_extensions; do
3683 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3684 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 STRIP=$ac_cv_prog_STRIP
3696 if test -n "$STRIP"; then
3697 - echo "$as_me:$LINENO: result: $STRIP" >&5
3698 -echo "${ECHO_T}$STRIP" >&6
3699 + { echo "$as_me:$LINENO: result: $STRIP" >&5
3700 +echo "${ECHO_T}$STRIP" >&6; }
3702 - echo "$as_me:$LINENO: result: no" >&5
3703 -echo "${ECHO_T}no" >&6
3704 + { echo "$as_me:$LINENO: result: no" >&5
3705 +echo "${ECHO_T}no" >&6; }
3710 if test -z "$ac_cv_prog_STRIP"; then
3712 # Extract the first word of "strip", so it can be a program name with args.
3713 set dummy strip; ac_word=$2
3714 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3715 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3716 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3717 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3718 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 @@ -2926,27 +3413,41 @@ do
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727 ac_cv_prog_ac_ct_STRIP="strip"
3728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3738 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3739 if test -n "$ac_ct_STRIP"; then
3740 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3741 -echo "${ECHO_T}$ac_ct_STRIP" >&6
3742 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3743 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3745 - echo "$as_me:$LINENO: result: no" >&5
3746 -echo "${ECHO_T}no" >&6
3747 + { echo "$as_me:$LINENO: result: no" >&5
3748 +echo "${ECHO_T}no" >&6; }
3751 - STRIP=$ac_ct_STRIP
3752 + if test "x$ac_ct_STRIP" = x; then
3755 + case $cross_compiling:$ac_tool_warned in
3757 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3758 +whose name does not start with the host triplet. If you think this
3759 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3760 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3761 +whose name does not start with the host triplet. If you think this
3762 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3763 +ac_tool_warned=yes ;;
3765 + STRIP=$ac_ct_STRIP
3768 STRIP="$ac_cv_prog_STRIP"
3770 @@ -2967,8 +3468,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
3772 depcc="$CC" am_compiler_list=
3774 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3775 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3776 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3777 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3778 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 @@ -3057,8 +3558,8 @@ else
3785 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3786 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3787 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3788 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3789 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3792 @@ -3079,8 +3580,8 @@ fi
3793 if test -n "$ac_tool_prefix"; then
3794 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3795 set dummy ${ac_tool_prefix}ar; ac_word=$2
3796 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3798 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3799 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3800 if test "${ac_cv_prog_AR+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 @@ -3093,32 +3594,34 @@ do
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3809 ac_cv_prog_AR="${ac_tool_prefix}ar"
3810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 if test -n "$AR"; then
3821 - echo "$as_me:$LINENO: result: $AR" >&5
3822 -echo "${ECHO_T}$AR" >&6
3823 + { echo "$as_me:$LINENO: result: $AR" >&5
3824 +echo "${ECHO_T}$AR" >&6; }
3826 - echo "$as_me:$LINENO: result: no" >&5
3827 -echo "${ECHO_T}no" >&6
3828 + { echo "$as_me:$LINENO: result: no" >&5
3829 +echo "${ECHO_T}no" >&6; }
3834 if test -z "$ac_cv_prog_AR"; then
3836 # Extract the first word of "ar", so it can be a program name with args.
3837 set dummy ar; ac_word=$2
3838 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3840 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3841 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3842 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 @@ -3131,26 +3634,41 @@ do
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3850 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3851 ac_cv_prog_ac_ct_AR="ar"
3852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3862 if test -n "$ac_ct_AR"; then
3863 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3864 -echo "${ECHO_T}$ac_ct_AR" >&6
3865 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3866 +echo "${ECHO_T}$ac_ct_AR" >&6; }
3868 - echo "$as_me:$LINENO: result: no" >&5
3869 -echo "${ECHO_T}no" >&6
3870 + { echo "$as_me:$LINENO: result: no" >&5
3871 +echo "${ECHO_T}no" >&6; }
3875 + if test "x$ac_ct_AR" = x; then
3878 + case $cross_compiling:$ac_tool_warned in
3880 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3881 +whose name does not start with the host triplet. If you think this
3882 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3883 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3884 +whose name does not start with the host triplet. If you think this
3885 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3886 +ac_tool_warned=yes ;;
3893 @@ -3158,8 +3676,8 @@ fi
3894 if test -n "$ac_tool_prefix"; then
3895 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3896 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3897 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3898 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3899 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3900 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3901 if test "${ac_cv_prog_RANLIB+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 @@ -3172,32 +3690,34 @@ do
3906 test -z "$as_dir" && as_dir=.
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3909 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 RANLIB=$ac_cv_prog_RANLIB
3921 if test -n "$RANLIB"; then
3922 - echo "$as_me:$LINENO: result: $RANLIB" >&5
3923 -echo "${ECHO_T}$RANLIB" >&6
3924 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
3925 +echo "${ECHO_T}$RANLIB" >&6; }
3927 - echo "$as_me:$LINENO: result: no" >&5
3928 -echo "${ECHO_T}no" >&6
3929 + { echo "$as_me:$LINENO: result: no" >&5
3930 +echo "${ECHO_T}no" >&6; }
3935 if test -z "$ac_cv_prog_RANLIB"; then
3936 ac_ct_RANLIB=$RANLIB
3937 # Extract the first word of "ranlib", so it can be a program name with args.
3938 set dummy ranlib; ac_word=$2
3939 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3940 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3941 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3942 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3943 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3946 @@ -3210,36 +3730,49 @@ do
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3951 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952 ac_cv_prog_ac_ct_RANLIB="ranlib"
3953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3963 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3964 if test -n "$ac_ct_RANLIB"; then
3965 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3966 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
3967 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3968 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3970 - echo "$as_me:$LINENO: result: no" >&5
3971 -echo "${ECHO_T}no" >&6
3972 + { echo "$as_me:$LINENO: result: no" >&5
3973 +echo "${ECHO_T}no" >&6; }
3976 - RANLIB=$ac_ct_RANLIB
3977 + if test "x$ac_ct_RANLIB" = x; then
3980 + case $cross_compiling:$ac_tool_warned in
3982 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3983 +whose name does not start with the host triplet. If you think this
3984 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3985 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3986 +whose name does not start with the host triplet. If you think this
3987 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3988 +ac_tool_warned=yes ;;
3990 + RANLIB=$ac_ct_RANLIB
3993 RANLIB="$ac_cv_prog_RANLIB"
3997 -# Check whether --enable-shared or --disable-shared was given.
3998 +# Check whether --enable-shared was given.
3999 if test "${enable_shared+set}" = set; then
4000 - enableval="$enable_shared"
4001 - p=${PACKAGE-default}
4002 + enableval=$enable_shared; p=${PACKAGE-default}
4004 yes) enable_shared=yes ;;
4005 no) enable_shared=no ;;
4006 @@ -3257,12 +3790,12 @@ no) enable_shared=no ;;
4014 -# Check whether --enable-static or --disable-static was given.
4015 +# Check whether --enable-static was given.
4016 if test "${enable_static+set}" = set; then
4017 - enableval="$enable_static"
4018 - p=${PACKAGE-default}
4019 + enableval=$enable_static; p=${PACKAGE-default}
4021 yes) enable_static=yes ;;
4022 no) enable_static=no ;;
4023 @@ -3280,11 +3813,11 @@ no) enable_static=no ;;
4028 -# Check whether --enable-fast-install or --disable-fast-install was given.
4031 +# Check whether --enable-fast-install was given.
4032 if test "${enable_fast_install+set}" = set; then
4033 - enableval="$enable_fast_install"
4034 - p=${PACKAGE-default}
4035 + enableval=$enable_fast_install; p=${PACKAGE-default}
4037 yes) enable_fast_install=yes ;;
4038 no) enable_fast_install=no ;;
4039 @@ -3302,20 +3835,21 @@ no) enable_fast_install=no ;;
4042 enable_fast_install=yes
4047 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
4048 +# Check whether --with-gnu-ld was given.
4049 if test "${with_gnu_ld+set}" = set; then
4050 - withval="$with_gnu_ld"
4051 - test "$withval" = no || with_gnu_ld=yes
4052 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4059 if test "$GCC" = yes; then
4060 # Check if gcc -print-prog-name=ld gives a path.
4061 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4062 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4063 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4064 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
4067 # gcc leaves a trailing carriage return which upsets mingw
4068 @@ -3344,11 +3878,11 @@ echo $ECHO_N "checking for ld used by GC
4071 elif test "$with_gnu_ld" = yes; then
4072 - echo "$as_me:$LINENO: checking for GNU ld" >&5
4073 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4074 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
4075 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4077 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4078 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4079 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4080 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4082 if test "${lt_cv_path_LD+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 @@ -3377,17 +3911,17 @@ fi
4087 if test -n "$LD"; then
4088 - echo "$as_me:$LINENO: result: $LD" >&5
4089 -echo "${ECHO_T}$LD" >&6
4090 + { echo "$as_me:$LINENO: result: $LD" >&5
4091 +echo "${ECHO_T}$LD" >&6; }
4093 - echo "$as_me:$LINENO: result: no" >&5
4094 -echo "${ECHO_T}no" >&6
4095 + { echo "$as_me:$LINENO: result: no" >&5
4096 +echo "${ECHO_T}no" >&6; }
4098 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4099 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4100 { (exit 1); exit 1; }; }
4101 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4102 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4103 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4104 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4105 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4106 echo $ECHO_N "(cached) $ECHO_C" >&6
4108 @@ -3398,25 +3932,25 @@ else
4109 lt_cv_prog_gnu_ld=no
4112 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4113 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4114 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4115 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4116 with_gnu_ld=$lt_cv_prog_gnu_ld
4119 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4120 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4121 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4122 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4123 if test "${lt_cv_ld_reload_flag+set}" = set; then
4124 echo $ECHO_N "(cached) $ECHO_C" >&6
4126 lt_cv_ld_reload_flag='-r'
4128 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4129 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4130 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4131 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4132 reload_flag=$lt_cv_ld_reload_flag
4133 test -n "$reload_flag" && reload_flag=" $reload_flag"
4135 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4136 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4137 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4138 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4139 if test "${lt_cv_path_NM+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 @@ -3451,22 +3985,22 @@ fi
4146 -echo "$as_me:$LINENO: result: $NM" >&5
4147 -echo "${ECHO_T}$NM" >&6
4148 +{ echo "$as_me:$LINENO: result: $NM" >&5
4149 +echo "${ECHO_T}$NM" >&6; }
4151 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
4152 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4153 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4154 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4156 if test "$LN_S" = "ln -s"; then
4157 - echo "$as_me:$LINENO: result: yes" >&5
4158 -echo "${ECHO_T}yes" >&6
4159 + { echo "$as_me:$LINENO: result: yes" >&5
4160 +echo "${ECHO_T}yes" >&6; }
4162 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4163 -echo "${ECHO_T}no, using $LN_S" >&6
4164 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4165 +echo "${ECHO_T}no, using $LN_S" >&6; }
4168 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4169 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4170 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4171 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
4172 if test "${lt_cv_deplibs_check_method+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 @@ -3628,8 +4162,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4179 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4180 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4181 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4182 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4183 file_magic_cmd=$lt_cv_file_magic_cmd
4184 deplibs_check_method=$lt_cv_deplibs_check_method
4186 @@ -3639,8 +4173,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
4187 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4189 # find the maximum length of command line arguments
4190 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4191 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4192 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4193 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4194 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 @@ -3691,11 +4225,11 @@ else
4200 if test -n "$lt_cv_sys_max_cmd_len" ; then
4201 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4202 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4203 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4204 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4206 - echo "$as_me:$LINENO: result: none" >&5
4207 -echo "${ECHO_T}none" >&6
4208 + { echo "$as_me:$LINENO: result: none" >&5
4209 +echo "${ECHO_T}none" >&6; }
4213 @@ -3703,8 +4237,8 @@ fi
4214 case $deplibs_check_method in
4216 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4217 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4218 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4219 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4220 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
4221 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 @@ -3758,17 +4292,17 @@ fi
4226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4227 if test -n "$MAGIC_CMD"; then
4228 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4229 -echo "${ECHO_T}$MAGIC_CMD" >&6
4230 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4231 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4233 - echo "$as_me:$LINENO: result: no" >&5
4234 -echo "${ECHO_T}no" >&6
4235 + { echo "$as_me:$LINENO: result: no" >&5
4236 +echo "${ECHO_T}no" >&6; }
4239 if test -z "$lt_cv_path_MAGIC_CMD"; then
4240 if test -n "$ac_tool_prefix"; then
4241 - echo "$as_me:$LINENO: checking for file" >&5
4242 -echo $ECHO_N "checking for file... $ECHO_C" >&6
4243 + { echo "$as_me:$LINENO: checking for file" >&5
4244 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
4245 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 @@ -3822,11 +4356,11 @@ fi
4250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4251 if test -n "$MAGIC_CMD"; then
4252 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4253 -echo "${ECHO_T}$MAGIC_CMD" >&6
4254 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4255 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4257 - echo "$as_me:$LINENO: result: no" >&5
4258 -echo "${ECHO_T}no" >&6
4259 + { echo "$as_me:$LINENO: result: no" >&5
4260 +echo "${ECHO_T}no" >&6; }
4264 @@ -3841,8 +4375,8 @@ esac
4265 if test -n "$ac_tool_prefix"; then
4266 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4267 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4268 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4269 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4270 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4272 if test "${ac_cv_prog_RANLIB+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 @@ -3855,32 +4389,34 @@ do
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4281 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 RANLIB=$ac_cv_prog_RANLIB
4292 if test -n "$RANLIB"; then
4293 - echo "$as_me:$LINENO: result: $RANLIB" >&5
4294 -echo "${ECHO_T}$RANLIB" >&6
4295 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
4296 +echo "${ECHO_T}$RANLIB" >&6; }
4298 - echo "$as_me:$LINENO: result: no" >&5
4299 -echo "${ECHO_T}no" >&6
4300 + { echo "$as_me:$LINENO: result: no" >&5
4301 +echo "${ECHO_T}no" >&6; }
4306 if test -z "$ac_cv_prog_RANLIB"; then
4307 ac_ct_RANLIB=$RANLIB
4308 # Extract the first word of "ranlib", so it can be a program name with args.
4309 set dummy ranlib; ac_word=$2
4310 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4311 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4312 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4314 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 @@ -3893,27 +4429,41 @@ do
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4322 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_prog_ac_ct_RANLIB="ranlib"
4324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4334 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4335 if test -n "$ac_ct_RANLIB"; then
4336 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4337 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
4338 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4339 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4341 - echo "$as_me:$LINENO: result: no" >&5
4342 -echo "${ECHO_T}no" >&6
4343 + { echo "$as_me:$LINENO: result: no" >&5
4344 +echo "${ECHO_T}no" >&6; }
4347 - RANLIB=$ac_ct_RANLIB
4348 + if test "x$ac_ct_RANLIB" = x; then
4351 + case $cross_compiling:$ac_tool_warned in
4353 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4354 +whose name does not start with the host triplet. If you think this
4355 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4356 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4357 +whose name does not start with the host triplet. If you think this
4358 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4359 +ac_tool_warned=yes ;;
4361 + RANLIB=$ac_ct_RANLIB
4364 RANLIB="$ac_cv_prog_RANLIB"
4366 @@ -3921,8 +4471,8 @@ fi
4367 if test -n "$ac_tool_prefix"; then
4368 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4369 set dummy ${ac_tool_prefix}strip; ac_word=$2
4370 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4371 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4372 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4373 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4374 if test "${ac_cv_prog_STRIP+set}" = set; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4377 @@ -3935,32 +4485,34 @@ do
4379 test -z "$as_dir" && as_dir=.
4380 for ac_exec_ext in '' $ac_executable_extensions; do
4381 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4382 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 STRIP=$ac_cv_prog_STRIP
4394 if test -n "$STRIP"; then
4395 - echo "$as_me:$LINENO: result: $STRIP" >&5
4396 -echo "${ECHO_T}$STRIP" >&6
4397 + { echo "$as_me:$LINENO: result: $STRIP" >&5
4398 +echo "${ECHO_T}$STRIP" >&6; }
4400 - echo "$as_me:$LINENO: result: no" >&5
4401 -echo "${ECHO_T}no" >&6
4402 + { echo "$as_me:$LINENO: result: no" >&5
4403 +echo "${ECHO_T}no" >&6; }
4408 if test -z "$ac_cv_prog_STRIP"; then
4410 # Extract the first word of "strip", so it can be a program name with args.
4411 set dummy strip; ac_word=$2
4412 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4413 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4414 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4416 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 @@ -3973,27 +4525,41 @@ do
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4424 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_STRIP="strip"
4426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4436 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4437 if test -n "$ac_ct_STRIP"; then
4438 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4439 -echo "${ECHO_T}$ac_ct_STRIP" >&6
4440 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4441 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4443 - echo "$as_me:$LINENO: result: no" >&5
4444 -echo "${ECHO_T}no" >&6
4445 + { echo "$as_me:$LINENO: result: no" >&5
4446 +echo "${ECHO_T}no" >&6; }
4449 - STRIP=$ac_ct_STRIP
4450 + if test "x$ac_ct_STRIP" = x; then
4453 + case $cross_compiling:$ac_tool_warned in
4455 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4456 +whose name does not start with the host triplet. If you think this
4457 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4458 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4459 +whose name does not start with the host triplet. If you think this
4460 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4461 +ac_tool_warned=yes ;;
4463 + STRIP=$ac_ct_STRIP
4466 STRIP="$ac_cv_prog_STRIP"
4468 @@ -4008,22 +4574,22 @@ test "$GCC" = yes && libtool_flags="$lib
4469 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4472 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4473 +# Check whether --enable-libtool-lock was given.
4474 if test "${enable_libtool_lock+set}" = set; then
4475 - enableval="$enable_libtool_lock"
4476 + enableval=$enable_libtool_lock;
4480 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4481 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4484 -# Check whether --with-pic or --without-pic was given.
4485 +# Check whether --with-pic was given.
4486 if test "${with_pic+set}" = set; then
4487 - withval="$with_pic"
4488 - pic_mode="$withval"
4489 + withval=$with_pic; pic_mode="$withval"
4495 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4496 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4498 @@ -4032,7 +4598,7 @@ test x"$pic_mode" = xno && libtool_flags
4501 # Find out which ABI we are using.
4502 - echo '#line 4035 "configure"' > conftest.$ac_ext
4503 + echo '#line 4601 "configure"' > conftest.$ac_ext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4505 (eval $ac_compile) 2>&5
4507 @@ -4137,13 +4703,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
4508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4509 SAVE_CFLAGS="$CFLAGS"
4510 CFLAGS="$CFLAGS -belf"
4511 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4512 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4513 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4514 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4515 if test "${lt_cv_cc_needs_belf+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 @@ -4166,35 +4731,32 @@ main ()
4526 rm -f conftest.$ac_objext conftest$ac_exeext
4527 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4528 - (eval $ac_link) 2>conftest.er1
4529 +if { (ac_try="$ac_link"
4530 +case "(($ac_try" in
4531 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4532 + *) ac_try_echo=$ac_try;;
4534 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4535 + (eval "$ac_link") 2>conftest.er1
4537 grep -v '^ *+' conftest.er1 >conftest.err
4539 cat conftest.err >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 - (exit $ac_status); } &&
4542 - { ac_try='test -z "$ac_c_werror_flag"
4543 - || test ! -s conftest.err'
4544 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 - (eval $ac_try) 2>&5
4547 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 - (exit $ac_status); }; } &&
4549 - { ac_try='test -s conftest$ac_exeext'
4550 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 - (eval $ac_try) 2>&5
4553 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 - (exit $ac_status); }; }; then
4555 + (exit $ac_status); } && {
4556 + test -z "$ac_c_werror_flag" ||
4557 + test ! -s conftest.err
4558 + } && test -s conftest$ac_exeext &&
4559 + $as_test_x conftest$ac_exeext; then
4560 lt_cv_cc_needs_belf=yes
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 -lt_cv_cc_needs_belf=no
4566 + lt_cv_cc_needs_belf=no
4568 -rm -f conftest.err conftest.$ac_objext \
4570 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4571 conftest$ac_exeext conftest.$ac_ext
4573 ac_cpp='$CPP $CPPFLAGS'
4574 @@ -4203,8 +4765,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4579 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4580 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4581 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4582 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4583 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4584 CFLAGS="$SAVE_CFLAGS"
4585 @@ -4234,39 +4796,58 @@ _ACEOF
4587 # The following way of writing the cache mishandles newlines in values,
4588 # but we know of no workaround that is simple, portable, and efficient.
4589 -# So, don't put newlines in cache variables' values.
4590 +# So, we kill variables containing newlines.
4591 # Ultrix sh set writes to stderr and can't be redirected directly,
4592 # and sets the high bit in the cache file unless we assign to the vars.
4595 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4596 + eval ac_val=\$$ac_var
4597 + case $ac_val in #(
4599 + case $ac_var in #(
4600 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4601 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4603 + case $ac_var in #(
4604 + _ | IFS | as_nl) ;; #(
4605 + *) $as_unset $ac_var ;;
4611 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
4613 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
4614 + *${as_nl}ac_space=\ *)
4615 # `set' does not quote correctly, so add quotes (double-quote
4616 # substitution turns \\\\ into \\, and sed turns \\ into \).
4619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4623 # `set' quotes correctly as required by POSIX, so do not add quotes.
4625 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4626 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4634 + /^ac_cv_env_/b end
4638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4640 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4641 - : end' >>confcache
4642 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
4643 - if test -w $cache_file; then
4644 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4645 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4647 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4648 + if test -w "$cache_file"; then
4649 + test "x$cache_file" != "x/dev/null" &&
4650 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4651 +echo "$as_me: updating cache $cache_file" >&6;}
4652 cat confcache >$cache_file
4654 - echo "not updating unwritable cache $cache_file"
4655 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4656 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4660 @@ -4292,8 +4873,8 @@ if test -r "$cache_file"; then
4661 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4662 echo "$as_me: loading cache $cache_file" >&6;}
4664 - [\\/]* | ?:[\\/]* ) . $cache_file;;
4665 - *) . ./$cache_file;;
4666 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
4667 + *) . "./$cache_file";;
4671 @@ -4319,10 +4900,9 @@ exec 5>>./config.log
4675 -# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4676 +# Check whether --enable-64-bit-bfd was given.
4677 if test "${enable_64_bit_bfd+set}" = set; then
4678 - enableval="$enable_64_bit_bfd"
4679 - case "${enableval}" in
4680 + enableval=$enable_64_bit_bfd; case "${enableval}" in
4683 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4684 @@ -4331,10 +4911,10 @@ echo "$as_me: error: bad value ${enablev
4688 -fi; # Check whether --enable-targets or --disable-targets was given.
4690 +# Check whether --enable-targets was given.
4691 if test "${enable_targets+set}" = set; then
4692 - enableval="$enable_targets"
4693 - case "${enableval}" in
4694 + enableval=$enable_targets; case "${enableval}" in
4695 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4696 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4697 { (exit 1); exit 1; }; }
4698 @@ -4342,21 +4922,21 @@ echo "$as_me: error: enable-targets opti
4699 no) enable_targets= ;;
4700 *) enable_targets=$enableval ;;
4702 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4704 +# Check whether --enable-commonbfdlib was given.
4705 if test "${enable_commonbfdlib+set}" = set; then
4706 - enableval="$enable_commonbfdlib"
4707 - case "${enableval}" in
4708 + enableval=$enable_commonbfdlib; case "${enableval}" in
4709 yes) commonbfdlib=true ;;
4710 no) commonbfdlib=false ;;
4711 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4712 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4713 { (exit 1); exit 1; }; } ;;
4716 -# Check whether --with-mmap or --without-mmap was given.
4719 +# Check whether --with-mmap was given.
4720 if test "${with_mmap+set}" = set; then
4721 - withval="$with_mmap"
4722 - case "${withval}" in
4723 + withval=$with_mmap; case "${withval}" in
4724 yes) want_mmap=true ;;
4725 no) want_mmap=false ;;
4726 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4727 @@ -4365,11 +4945,11 @@ echo "$as_me: error: bad value ${withval
4732 -# Check whether --enable-secureplt or --disable-secureplt was given.
4735 +# Check whether --enable-secureplt was given.
4736 if test "${enable_secureplt+set}" = set; then
4737 - enableval="$enable_secureplt"
4738 - case "${enableval}" in
4739 + enableval=$enable_secureplt; case "${enableval}" in
4740 yes) use_secureplt=true ;;
4741 no) use_secureplt=false ;;
4742 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4743 @@ -4378,7 +4958,8 @@ echo "$as_me: error: bad value ${enablev
4747 -fi; if test $use_secureplt = true; then
4749 +if test $use_secureplt = true; then
4751 cat >>confdefs.h <<\_ACEOF
4752 #define USE_SECUREPLT 1
4753 @@ -4389,17 +4970,17 @@ fi
4755 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4757 -# Check whether --enable-werror or --disable-werror was given.
4758 +# Check whether --enable-werror was given.
4759 if test "${enable_werror+set}" = set; then
4760 - enableval="$enable_werror"
4761 - case "${enableval}" in
4762 + enableval=$enable_werror; case "${enableval}" in
4763 yes | y) ERROR_ON_WARNING="yes" ;;
4764 no | n) ERROR_ON_WARNING="no" ;;
4765 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4766 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4767 { (exit 1); exit 1; }; } ;;
4773 # Enable -Werror by default when using gcc
4774 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4775 @@ -4416,10 +4997,9 @@ if test "${GCC}" = yes ; then
4776 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4779 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
4780 +# Check whether --enable-build-warnings was given.
4781 if test "${enable_build_warnings+set}" = set; then
4782 - enableval="$enable_build_warnings"
4783 - case "${enableval}" in
4784 + enableval=$enable_build_warnings; case "${enableval}" in
4785 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4786 no) if test "${GCC}" = yes ; then
4788 @@ -4430,7 +5010,8 @@ if test "${enable_build_warnings+set}" =
4789 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4790 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4796 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4797 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4798 @@ -4440,7 +5021,7 @@ fi
4802 - ac_config_headers="$ac_config_headers config.h:config.in"
4803 +ac_config_headers="$ac_config_headers config.h:config.in"
4806 if test -z "$target" ; then
4807 @@ -4449,17 +5030,17 @@ echo "$as_me: error: Unrecognized target
4808 { (exit 1); exit 1; }; }
4811 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4812 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4813 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4814 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4815 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4816 + # Check whether --enable-maintainer-mode was given.
4817 if test "${enable_maintainer_mode+set}" = set; then
4818 - enableval="$enable_maintainer_mode"
4819 - USE_MAINTAINER_MODE=$enableval
4820 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4822 USE_MAINTAINER_MODE=no
4824 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4825 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4828 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4829 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4832 if test $USE_MAINTAINER_MODE = yes; then
4833 @@ -4488,21 +5069,21 @@ esac
4834 *) target_noncanonical=${target_alias} ;;
4837 -echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4838 -echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4839 - # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4840 +{ echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4841 +echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6; }
4842 + # Check whether --enable-install-libbfd was given.
4843 if test "${enable_install_libbfd+set}" = set; then
4844 - enableval="$enable_install_libbfd"
4845 - install_libbfd_p=$enableval
4846 + enableval=$enable_install_libbfd; install_libbfd_p=$enableval
4848 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
4849 install_libbfd_p=yes
4854 - echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4855 -echo "${ECHO_T}$install_libbfd_p" >&6
4858 + { echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4859 +echo "${ECHO_T}$install_libbfd_p" >&6; }
4862 if test $install_libbfd_p = yes; then
4863 @@ -4545,8 +5126,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864 if test -n "$ac_tool_prefix"; then
4865 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4866 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4867 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4868 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4869 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4870 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4871 if test "${ac_cv_prog_CC+set}" = set; then
4872 echo $ECHO_N "(cached) $ECHO_C" >&6
4874 @@ -4559,32 +5140,34 @@ do
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4879 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 if test -n "$CC"; then
4892 - echo "$as_me:$LINENO: result: $CC" >&5
4893 -echo "${ECHO_T}$CC" >&6
4894 + { echo "$as_me:$LINENO: result: $CC" >&5
4895 +echo "${ECHO_T}$CC" >&6; }
4897 - echo "$as_me:$LINENO: result: no" >&5
4898 -echo "${ECHO_T}no" >&6
4899 + { echo "$as_me:$LINENO: result: no" >&5
4900 +echo "${ECHO_T}no" >&6; }
4905 if test -z "$ac_cv_prog_CC"; then
4907 # Extract the first word of "gcc", so it can be a program name with args.
4908 set dummy gcc; ac_word=$2
4909 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4910 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4911 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4912 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4914 echo $ECHO_N "(cached) $ECHO_C" >&6
4916 @@ -4597,36 +5180,51 @@ do
4918 test -z "$as_dir" && as_dir=.
4919 for ac_exec_ext in '' $ac_executable_extensions; do
4920 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4921 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_ac_ct_CC="gcc"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4933 if test -n "$ac_ct_CC"; then
4934 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4935 -echo "${ECHO_T}$ac_ct_CC" >&6
4936 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4937 +echo "${ECHO_T}$ac_ct_CC" >&6; }
4939 - echo "$as_me:$LINENO: result: no" >&5
4940 -echo "${ECHO_T}no" >&6
4941 + { echo "$as_me:$LINENO: result: no" >&5
4942 +echo "${ECHO_T}no" >&6; }
4946 + if test "x$ac_ct_CC" = x; then
4949 + case $cross_compiling:$ac_tool_warned in
4951 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4952 +whose name does not start with the host triplet. If you think this
4953 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4954 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4955 +whose name does not start with the host triplet. If you think this
4956 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4957 +ac_tool_warned=yes ;;
4965 if test -z "$CC"; then
4966 - if test -n "$ac_tool_prefix"; then
4967 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4968 + if test -n "$ac_tool_prefix"; then
4969 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4970 set dummy ${ac_tool_prefix}cc; ac_word=$2
4971 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4972 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4973 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4974 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4975 if test "${ac_cv_prog_CC+set}" = set; then
4976 echo $ECHO_N "(cached) $ECHO_C" >&6
4978 @@ -4639,74 +5237,34 @@ do
4980 test -z "$as_dir" && as_dir=.
4981 for ac_exec_ext in '' $ac_executable_extensions; do
4982 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4983 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4984 ac_cv_prog_CC="${ac_tool_prefix}cc"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 if test -n "$CC"; then
4996 - echo "$as_me:$LINENO: result: $CC" >&5
4997 -echo "${ECHO_T}$CC" >&6
4999 - echo "$as_me:$LINENO: result: no" >&5
5000 -echo "${ECHO_T}no" >&6
5004 -if test -z "$ac_cv_prog_CC"; then
5006 - # Extract the first word of "cc", so it can be a program name with args.
5007 -set dummy cc; ac_word=$2
5008 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5009 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5010 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5011 - echo $ECHO_N "(cached) $ECHO_C" >&6
5013 - if test -n "$ac_ct_CC"; then
5014 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5016 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 -for as_dir in $PATH
5020 - test -z "$as_dir" && as_dir=.
5021 - for ac_exec_ext in '' $ac_executable_extensions; do
5022 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5023 - ac_cv_prog_ac_ct_CC="cc"
5024 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5033 -if test -n "$ac_ct_CC"; then
5034 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5035 -echo "${ECHO_T}$ac_ct_CC" >&6
5036 + { echo "$as_me:$LINENO: result: $CC" >&5
5037 +echo "${ECHO_T}$CC" >&6; }
5039 - echo "$as_me:$LINENO: result: no" >&5
5040 -echo "${ECHO_T}no" >&6
5041 + { echo "$as_me:$LINENO: result: no" >&5
5042 +echo "${ECHO_T}no" >&6; }
5047 - CC="$ac_cv_prog_CC"
5052 if test -z "$CC"; then
5053 # Extract the first word of "cc", so it can be a program name with args.
5054 set dummy cc; ac_word=$2
5055 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5056 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5057 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5058 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5059 if test "${ac_cv_prog_CC+set}" = set; then
5060 echo $ECHO_N "(cached) $ECHO_C" >&6
5062 @@ -4720,7 +5278,7 @@ do
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5069 ac_prog_rejected=yes
5071 @@ -4731,6 +5289,7 @@ do
5077 if test $ac_prog_rejected = yes; then
5078 # We found a bogon in the path, so make sure we never use it.
5079 @@ -4748,22 +5307,23 @@ fi
5082 if test -n "$CC"; then
5083 - echo "$as_me:$LINENO: result: $CC" >&5
5084 -echo "${ECHO_T}$CC" >&6
5085 + { echo "$as_me:$LINENO: result: $CC" >&5
5086 +echo "${ECHO_T}$CC" >&6; }
5088 - echo "$as_me:$LINENO: result: no" >&5
5089 -echo "${ECHO_T}no" >&6
5090 + { echo "$as_me:$LINENO: result: no" >&5
5091 +echo "${ECHO_T}no" >&6; }
5096 if test -z "$CC"; then
5097 if test -n "$ac_tool_prefix"; then
5099 + for ac_prog in cl.exe
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5103 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5104 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5105 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5106 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5107 if test "${ac_cv_prog_CC+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 @@ -4776,36 +5336,38 @@ do
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5115 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 if test -n "$CC"; then
5128 - echo "$as_me:$LINENO: result: $CC" >&5
5129 -echo "${ECHO_T}$CC" >&6
5130 + { echo "$as_me:$LINENO: result: $CC" >&5
5131 +echo "${ECHO_T}$CC" >&6; }
5133 - echo "$as_me:$LINENO: result: no" >&5
5134 -echo "${ECHO_T}no" >&6
5135 + { echo "$as_me:$LINENO: result: no" >&5
5136 +echo "${ECHO_T}no" >&6; }
5140 test -n "$CC" && break
5143 if test -z "$CC"; then
5146 + for ac_prog in cl.exe
5148 # Extract the first word of "$ac_prog", so it can be a program name with args.
5149 set dummy $ac_prog; ac_word=$2
5150 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5154 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 @@ -4818,29 +5380,45 @@ do
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ac_ct_CC="$ac_prog"
5164 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5174 if test -n "$ac_ct_CC"; then
5175 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5176 -echo "${ECHO_T}$ac_ct_CC" >&6
5177 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5178 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5180 - echo "$as_me:$LINENO: result: no" >&5
5181 -echo "${ECHO_T}no" >&6
5182 + { echo "$as_me:$LINENO: result: no" >&5
5183 +echo "${ECHO_T}no" >&6; }
5187 test -n "$ac_ct_CC" && break
5191 + if test "x$ac_ct_CC" = x; then
5194 + case $cross_compiling:$ac_tool_warned in
5196 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5197 +whose name does not start with the host triplet. If you think this
5198 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5199 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5200 +whose name does not start with the host triplet. If you think this
5201 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5202 +ac_tool_warned=yes ;;
5209 @@ -4853,27 +5431,41 @@ See \`config.log' for more details." >&2
5210 { (exit 1); exit 1; }; }
5212 # Provide some information about the compiler.
5213 -echo "$as_me:$LINENO:" \
5214 - "checking for C compiler version" >&5
5215 +echo "$as_me:$LINENO: checking for C compiler version" >&5
5216 ac_compiler=`set X $ac_compile; echo $2`
5217 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5218 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5219 +{ (ac_try="$ac_compiler --version >&5"
5220 +case "(($ac_try" in
5221 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222 + *) ac_try_echo=$ac_try;;
5224 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 + (eval "$ac_compiler --version >&5") 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }
5229 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5230 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5231 +{ (ac_try="$ac_compiler -v >&5"
5232 +case "(($ac_try" in
5233 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234 + *) ac_try_echo=$ac_try;;
5236 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5237 + (eval "$ac_compiler -v >&5") 2>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }
5241 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5242 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5243 +{ (ac_try="$ac_compiler -V >&5"
5244 +case "(($ac_try" in
5245 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246 + *) ac_try_echo=$ac_try;;
5248 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5249 + (eval "$ac_compiler -V >&5") 2>&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }
5254 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5255 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5256 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5257 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5258 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 @@ -4896,50 +5488,49 @@ main ()
5264 rm -f conftest.$ac_objext
5265 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5266 - (eval $ac_compile) 2>conftest.er1
5267 +if { (ac_try="$ac_compile"
5268 +case "(($ac_try" in
5269 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270 + *) ac_try_echo=$ac_try;;
5272 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5273 + (eval "$ac_compile") 2>conftest.er1
5275 grep -v '^ *+' conftest.er1 >conftest.err
5277 cat conftest.err >&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 - (exit $ac_status); } &&
5280 - { ac_try='test -z "$ac_c_werror_flag"
5281 - || test ! -s conftest.err'
5282 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 - (eval $ac_try) 2>&5
5285 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 - (exit $ac_status); }; } &&
5287 - { ac_try='test -s conftest.$ac_objext'
5288 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 - (eval $ac_try) 2>&5
5291 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 - (exit $ac_status); }; }; then
5293 + (exit $ac_status); } && {
5294 + test -z "$ac_c_werror_flag" ||
5295 + test ! -s conftest.err
5296 + } && test -s conftest.$ac_objext; then
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5303 + ac_compiler_gnu=no
5305 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5307 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5308 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5311 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5312 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5313 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5314 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5315 GCC=`test $ac_compiler_gnu = yes && echo yes`
5316 ac_test_CFLAGS=${CFLAGS+set}
5317 ac_save_CFLAGS=$CFLAGS
5319 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5320 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5321 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5322 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5323 if test "${ac_cv_prog_cc_g+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 - cat >conftest.$ac_ext <<_ACEOF
5327 + ac_save_c_werror_flag=$ac_c_werror_flag
5328 + ac_c_werror_flag=yes
5329 + ac_cv_prog_cc_g=no
5331 + cat >conftest.$ac_ext <<_ACEOF
5334 cat confdefs.h >>conftest.$ac_ext
5335 @@ -4955,46 +5546,126 @@ main ()
5338 rm -f conftest.$ac_objext
5339 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5340 - (eval $ac_compile) 2>conftest.er1
5341 +if { (ac_try="$ac_compile"
5342 +case "(($ac_try" in
5343 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5344 + *) ac_try_echo=$ac_try;;
5346 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5347 + (eval "$ac_compile") 2>conftest.er1
5349 grep -v '^ *+' conftest.er1 >conftest.err
5351 cat conftest.err >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 - (exit $ac_status); } &&
5354 - { ac_try='test -z "$ac_c_werror_flag"
5355 - || test ! -s conftest.err'
5356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5357 - (eval $ac_try) 2>&5
5359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 - (exit $ac_status); }; } &&
5361 - { ac_try='test -s conftest.$ac_objext'
5362 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363 - (eval $ac_try) 2>&5
5365 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 - (exit $ac_status); }; }; then
5367 + (exit $ac_status); } && {
5368 + test -z "$ac_c_werror_flag" ||
5369 + test ! -s conftest.err
5370 + } && test -s conftest.$ac_objext; then
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5378 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5380 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5381 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5382 -if test "$ac_test_CFLAGS" = set; then
5383 - CFLAGS=$ac_save_CFLAGS
5384 -elif test $ac_cv_prog_cc_g = yes; then
5385 - if test "$GCC" = yes; then
5391 + cat >conftest.$ac_ext <<_ACEOF
5394 +cat confdefs.h >>conftest.$ac_ext
5395 +cat >>conftest.$ac_ext <<_ACEOF
5396 +/* end confdefs.h. */
5406 +rm -f conftest.$ac_objext
5407 +if { (ac_try="$ac_compile"
5408 +case "(($ac_try" in
5409 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5410 + *) ac_try_echo=$ac_try;;
5412 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5413 + (eval "$ac_compile") 2>conftest.er1
5415 + grep -v '^ *+' conftest.er1 >conftest.err
5416 + rm -f conftest.er1
5417 + cat conftest.err >&5
5418 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 + (exit $ac_status); } && {
5420 + test -z "$ac_c_werror_flag" ||
5421 + test ! -s conftest.err
5422 + } && test -s conftest.$ac_objext; then
5425 + echo "$as_me: failed program was:" >&5
5426 +sed 's/^/| /' conftest.$ac_ext >&5
5428 + ac_c_werror_flag=$ac_save_c_werror_flag
5430 + cat >conftest.$ac_ext <<_ACEOF
5433 +cat confdefs.h >>conftest.$ac_ext
5434 +cat >>conftest.$ac_ext <<_ACEOF
5435 +/* end confdefs.h. */
5445 +rm -f conftest.$ac_objext
5446 +if { (ac_try="$ac_compile"
5447 +case "(($ac_try" in
5448 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5449 + *) ac_try_echo=$ac_try;;
5451 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5452 + (eval "$ac_compile") 2>conftest.er1
5454 + grep -v '^ *+' conftest.er1 >conftest.err
5455 + rm -f conftest.er1
5456 + cat conftest.err >&5
5457 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 + (exit $ac_status); } && {
5459 + test -z "$ac_c_werror_flag" ||
5460 + test ! -s conftest.err
5461 + } && test -s conftest.$ac_objext; then
5462 + ac_cv_prog_cc_g=yes
5464 + echo "$as_me: failed program was:" >&5
5465 +sed 's/^/| /' conftest.$ac_ext >&5
5470 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5473 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5476 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5477 + ac_c_werror_flag=$ac_save_c_werror_flag
5479 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5480 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5481 +if test "$ac_test_CFLAGS" = set; then
5482 + CFLAGS=$ac_save_CFLAGS
5483 +elif test $ac_cv_prog_cc_g = yes; then
5484 + if test "$GCC" = yes; then
5490 if test "$GCC" = yes; then
5492 @@ -5002,12 +5673,12 @@ else
5496 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5497 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5498 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5499 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5500 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5501 +if test "${ac_cv_prog_cc_c89+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6
5504 - ac_cv_prog_cc_stdc=no
5505 + ac_cv_prog_cc_c89=no
5507 cat >conftest.$ac_ext <<_ACEOF
5509 @@ -5041,12 +5712,17 @@ static char *f (char * (*g) (char **, in
5510 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5511 function prototypes and stuff, but not '\xHH' hex character constants.
5512 These don't provoke an error unfortunately, instead are silently treated
5513 - as 'x'. The following induces an error, until -std1 is added to get
5514 + as 'x'. The following induces an error, until -std is added to get
5515 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5516 array size at least. It's necessary to write '\x00'==0 to get something
5517 - that's true only with -std1. */
5518 + that's true only with -std. */
5519 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5521 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5522 + inside strings and character constants. */
5524 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5526 int test (int i, double x);
5527 struct s1 {int (*f) (int a);};
5528 struct s2 {int (*f) (double a);};
5529 @@ -5061,205 +5737,57 @@ return f (e, argv, 0) != argv[0] || f
5533 -# Don't try gcc -ansi; that turns off useful extensions and
5534 -# breaks some systems' header files.
5535 -# AIX -qlanglvl=ansi
5536 -# Ultrix and OSF/1 -std1
5537 -# HP-UX 10.20 and later -Ae
5538 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5539 -# SVR4 -Xc -D__EXTENSIONS__
5540 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5541 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5542 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5544 CC="$ac_save_CC $ac_arg"
5545 rm -f conftest.$ac_objext
5546 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5547 - (eval $ac_compile) 2>conftest.er1
5548 +if { (ac_try="$ac_compile"
5549 +case "(($ac_try" in
5550 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5551 + *) ac_try_echo=$ac_try;;
5553 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5554 + (eval "$ac_compile") 2>conftest.er1
5556 grep -v '^ *+' conftest.er1 >conftest.err
5558 cat conftest.err >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 - (exit $ac_status); } &&
5561 - { ac_try='test -z "$ac_c_werror_flag"
5562 - || test ! -s conftest.err'
5563 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 - (eval $ac_try) 2>&5
5566 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 - (exit $ac_status); }; } &&
5568 - { ac_try='test -s conftest.$ac_objext'
5569 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 - (eval $ac_try) 2>&5
5572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 - (exit $ac_status); }; }; then
5574 - ac_cv_prog_cc_stdc=$ac_arg
5576 + (exit $ac_status); } && {
5577 + test -z "$ac_c_werror_flag" ||
5578 + test ! -s conftest.err
5579 + } && test -s conftest.$ac_objext; then
5580 + ac_cv_prog_cc_c89=$ac_arg
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5587 -rm -f conftest.err conftest.$ac_objext
5589 +rm -f core conftest.err conftest.$ac_objext
5590 + test "x$ac_cv_prog_cc_c89" != "xno" && break
5592 -rm -f conftest.$ac_ext conftest.$ac_objext
5593 +rm -f conftest.$ac_ext
5598 -case "x$ac_cv_prog_cc_stdc" in
5600 - echo "$as_me:$LINENO: result: none needed" >&5
5601 -echo "${ECHO_T}none needed" >&6 ;;
5603 +case "x$ac_cv_prog_cc_c89" in
5605 + { echo "$as_me:$LINENO: result: none needed" >&5
5606 +echo "${ECHO_T}none needed" >&6; } ;;
5608 + { echo "$as_me:$LINENO: result: unsupported" >&5
5609 +echo "${ECHO_T}unsupported" >&6; } ;;
5611 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5612 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5613 - CC="$CC $ac_cv_prog_cc_stdc" ;;
5614 + CC="$CC $ac_cv_prog_cc_c89"
5615 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5616 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5619 -# Some people use a C++ compiler to compile C. Since we use `exit',
5620 -# in C++ we need to declare it. In case someone uses the same compiler
5621 -# for both compiling C and C++ we need to have the C++ compiler decide
5622 -# the declaration of exit, since it's the most demanding environment.
5623 -cat >conftest.$ac_ext <<_ACEOF
5624 -#ifndef __cplusplus
5628 -rm -f conftest.$ac_objext
5629 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5630 - (eval $ac_compile) 2>conftest.er1
5632 - grep -v '^ *+' conftest.er1 >conftest.err
5633 - rm -f conftest.er1
5634 - cat conftest.err >&5
5635 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 - (exit $ac_status); } &&
5637 - { ac_try='test -z "$ac_c_werror_flag"
5638 - || test ! -s conftest.err'
5639 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5640 - (eval $ac_try) 2>&5
5642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 - (exit $ac_status); }; } &&
5644 - { ac_try='test -s conftest.$ac_objext'
5645 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 - (eval $ac_try) 2>&5
5648 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649 - (exit $ac_status); }; }; then
5650 - for ac_declaration in \
5652 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5653 - 'extern "C" void std::exit (int); using std::exit;' \
5654 - 'extern "C" void exit (int) throw ();' \
5655 - 'extern "C" void exit (int);' \
5656 - 'void exit (int);'
5658 - cat >conftest.$ac_ext <<_ACEOF
5661 -cat confdefs.h >>conftest.$ac_ext
5662 -cat >>conftest.$ac_ext <<_ACEOF
5663 -/* end confdefs.h. */
5665 -#include <stdlib.h>
5674 -rm -f conftest.$ac_objext
5675 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5676 - (eval $ac_compile) 2>conftest.er1
5678 - grep -v '^ *+' conftest.er1 >conftest.err
5679 - rm -f conftest.er1
5680 - cat conftest.err >&5
5681 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 - (exit $ac_status); } &&
5683 - { ac_try='test -z "$ac_c_werror_flag"
5684 - || test ! -s conftest.err'
5685 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5686 - (eval $ac_try) 2>&5
5688 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 - (exit $ac_status); }; } &&
5690 - { ac_try='test -s conftest.$ac_objext'
5691 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5692 - (eval $ac_try) 2>&5
5694 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 - (exit $ac_status); }; }; then
5698 - echo "$as_me: failed program was:" >&5
5699 -sed 's/^/| /' conftest.$ac_ext >&5
5703 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5704 - cat >conftest.$ac_ext <<_ACEOF
5707 -cat confdefs.h >>conftest.$ac_ext
5708 -cat >>conftest.$ac_ext <<_ACEOF
5709 -/* end confdefs.h. */
5719 -rm -f conftest.$ac_objext
5720 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5721 - (eval $ac_compile) 2>conftest.er1
5723 - grep -v '^ *+' conftest.er1 >conftest.err
5724 - rm -f conftest.er1
5725 - cat conftest.err >&5
5726 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 - (exit $ac_status); } &&
5728 - { ac_try='test -z "$ac_c_werror_flag"
5729 - || test ! -s conftest.err'
5730 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5731 - (eval $ac_try) 2>&5
5733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 - (exit $ac_status); }; } &&
5735 - { ac_try='test -s conftest.$ac_objext'
5736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5737 - (eval $ac_try) 2>&5
5739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 - (exit $ac_status); }; }; then
5743 - echo "$as_me: failed program was:" >&5
5744 -sed 's/^/| /' conftest.$ac_ext >&5
5747 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5750 -if test -n "$ac_declaration"; then
5751 - echo '#ifdef __cplusplus' >>confdefs.h
5752 - echo $ac_declaration >>confdefs.h
5753 - echo '#endif' >>confdefs.h
5757 - echo "$as_me: failed program was:" >&5
5758 -sed 's/^/| /' conftest.$ac_ext >&5
5761 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5763 ac_cpp='$CPP $CPPFLAGS'
5764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5765 @@ -5277,8 +5805,8 @@ ALL_LINGUAS="fr tr ja es sv da zh_CN ro
5766 if test -n "$ac_tool_prefix"; then
5767 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5768 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5769 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5770 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5771 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5772 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5773 if test "${ac_cv_prog_RANLIB+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 @@ -5291,32 +5819,34 @@ do
5778 test -z "$as_dir" && as_dir=.
5779 for ac_exec_ext in '' $ac_executable_extensions; do
5780 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5781 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5782 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5792 RANLIB=$ac_cv_prog_RANLIB
5793 if test -n "$RANLIB"; then
5794 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5795 -echo "${ECHO_T}$RANLIB" >&6
5796 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5797 +echo "${ECHO_T}$RANLIB" >&6; }
5799 - echo "$as_me:$LINENO: result: no" >&5
5800 -echo "${ECHO_T}no" >&6
5801 + { echo "$as_me:$LINENO: result: no" >&5
5802 +echo "${ECHO_T}no" >&6; }
5807 if test -z "$ac_cv_prog_RANLIB"; then
5808 ac_ct_RANLIB=$RANLIB
5809 # Extract the first word of "ranlib", so it can be a program name with args.
5810 set dummy ranlib; ac_word=$2
5811 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5812 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5813 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5814 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5815 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 @@ -5329,27 +5859,41 @@ do
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_ac_ct_RANLIB="ranlib"
5825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5835 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5836 if test -n "$ac_ct_RANLIB"; then
5837 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5838 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5839 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5840 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5842 - echo "$as_me:$LINENO: result: no" >&5
5843 -echo "${ECHO_T}no" >&6
5844 + { echo "$as_me:$LINENO: result: no" >&5
5845 +echo "${ECHO_T}no" >&6; }
5848 - RANLIB=$ac_ct_RANLIB
5849 + if test "x$ac_ct_RANLIB" = x; then
5852 + case $cross_compiling:$ac_tool_warned in
5854 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5855 +whose name does not start with the host triplet. If you think this
5856 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5857 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5858 +whose name does not start with the host triplet. If you think this
5859 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5860 +ac_tool_warned=yes ;;
5862 + RANLIB=$ac_ct_RANLIB
5865 RANLIB="$ac_cv_prog_RANLIB"
5867 @@ -5359,8 +5903,8 @@ ac_cpp='$CPP $CPPFLAGS'
5868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5871 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5872 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5873 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5874 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5875 # On Suns, sometimes $CPP names a directory.
5876 if test -n "$CPP" && test -d "$CPP"; then
5878 @@ -5394,24 +5938,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5882 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5883 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5884 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5885 +case "(($ac_try" in
5886 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5887 + *) ac_try_echo=$ac_try;;
5889 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5890 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5892 grep -v '^ *+' conftest.er1 >conftest.err
5894 cat conftest.err >&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 - (exit $ac_status); } >/dev/null; then
5897 - if test -s conftest.err; then
5898 - ac_cpp_err=$ac_c_preproc_warn_flag
5899 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5906 -if test -z "$ac_cpp_err"; then
5907 + (exit $ac_status); } >/dev/null && {
5908 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5909 + test ! -s conftest.err
5913 echo "$as_me: failed program was:" >&5
5914 @@ -5420,9 +5962,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5915 # Broken: fails on valid input.
5919 rm -f conftest.err conftest.$ac_ext
5921 - # OK, works on sane cases. Now check whether non-existent headers
5922 + # OK, works on sane cases. Now check whether nonexistent headers
5923 # can be detected and how.
5924 cat >conftest.$ac_ext <<_ACEOF
5926 @@ -5432,24 +5975,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 #include <ac_nonexistent.h>
5930 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5931 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5932 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5933 +case "(($ac_try" in
5934 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5935 + *) ac_try_echo=$ac_try;;
5937 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5938 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5940 grep -v '^ *+' conftest.er1 >conftest.err
5942 cat conftest.err >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 - (exit $ac_status); } >/dev/null; then
5945 - if test -s conftest.err; then
5946 - ac_cpp_err=$ac_c_preproc_warn_flag
5947 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5954 -if test -z "$ac_cpp_err"; then
5955 + (exit $ac_status); } >/dev/null && {
5956 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5957 + test ! -s conftest.err
5959 # Broken: success on invalid input.
5962 @@ -5460,6 +6001,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5967 rm -f conftest.err conftest.$ac_ext
5970 @@ -5477,8 +6019,8 @@ fi
5974 -echo "$as_me:$LINENO: result: $CPP" >&5
5975 -echo "${ECHO_T}$CPP" >&6
5976 +{ echo "$as_me:$LINENO: result: $CPP" >&5
5977 +echo "${ECHO_T}$CPP" >&6; }
5979 for ac_c_preproc_warn_flag in '' yes
5981 @@ -5501,24 +6043,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5985 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5986 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5987 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5988 +case "(($ac_try" in
5989 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5990 + *) ac_try_echo=$ac_try;;
5992 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5993 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5995 grep -v '^ *+' conftest.er1 >conftest.err
5997 cat conftest.err >&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 - (exit $ac_status); } >/dev/null; then
6000 - if test -s conftest.err; then
6001 - ac_cpp_err=$ac_c_preproc_warn_flag
6002 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6009 -if test -z "$ac_cpp_err"; then
6010 + (exit $ac_status); } >/dev/null && {
6011 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6012 + test ! -s conftest.err
6016 echo "$as_me: failed program was:" >&5
6017 @@ -5527,9 +6067,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
6018 # Broken: fails on valid input.
6022 rm -f conftest.err conftest.$ac_ext
6024 - # OK, works on sane cases. Now check whether non-existent headers
6025 + # OK, works on sane cases. Now check whether nonexistent headers
6026 # can be detected and how.
6027 cat >conftest.$ac_ext <<_ACEOF
6029 @@ -5539,24 +6080,22 @@ cat >>conftest.$ac_ext <<_ACEOF
6030 /* end confdefs.h. */
6031 #include <ac_nonexistent.h>
6033 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6034 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6035 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6036 +case "(($ac_try" in
6037 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6038 + *) ac_try_echo=$ac_try;;
6040 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6041 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6043 grep -v '^ *+' conftest.er1 >conftest.err
6045 cat conftest.err >&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 - (exit $ac_status); } >/dev/null; then
6048 - if test -s conftest.err; then
6049 - ac_cpp_err=$ac_c_preproc_warn_flag
6050 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6057 -if test -z "$ac_cpp_err"; then
6058 + (exit $ac_status); } >/dev/null && {
6059 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6060 + test ! -s conftest.err
6062 # Broken: success on invalid input.
6065 @@ -5567,6 +6106,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
6070 rm -f conftest.err conftest.$ac_ext
6073 @@ -5589,87 +6129,230 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
6074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6077 -echo "$as_me:$LINENO: checking for egrep" >&5
6078 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6079 -if test "${ac_cv_prog_egrep+set}" = set; then
6080 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6081 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6082 +if test "${ac_cv_path_GREP+set}" = set; then
6083 + echo $ECHO_N "(cached) $ECHO_C" >&6
6085 + # Extract the first word of "grep ggrep" to use in msg output
6086 +if test -z "$GREP"; then
6087 +set dummy grep ggrep; ac_prog_name=$2
6088 +if test "${ac_cv_path_GREP+set}" = set; then
6089 echo $ECHO_N "(cached) $ECHO_C" >&6
6091 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6092 - then ac_cv_prog_egrep='grep -E'
6093 - else ac_cv_prog_egrep='egrep'
6094 + ac_path_GREP_found=false
6095 +# Loop through the user's path and test for each of PROGNAME-LIST
6096 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6100 + test -z "$as_dir" && as_dir=.
6101 + for ac_prog in grep ggrep; do
6102 + for ac_exec_ext in '' $ac_executable_extensions; do
6103 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6104 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6105 + # Check for GNU ac_path_GREP and select it if it is found.
6106 + # Check for GNU $ac_path_GREP
6107 +case `"$ac_path_GREP" --version 2>&1` in
6109 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6112 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6115 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6116 + mv "conftest.tmp" "conftest.in"
6117 + cp "conftest.in" "conftest.nl"
6118 + echo 'GREP' >> "conftest.nl"
6119 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6120 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6121 + ac_count=`expr $ac_count + 1`
6122 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
6123 + # Best one so far, save it but keep looking for a better one
6124 + ac_cv_path_GREP="$ac_path_GREP"
6125 + ac_path_GREP_max=$ac_count
6128 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6129 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6130 - EGREP=$ac_cv_prog_egrep
6131 + # 10*(2^10) chars as input seems more than enough
6132 + test $ac_count -gt 10 && break
6134 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6138 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6139 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6140 -if test "${ac_cv_header_stdc+set}" = set; then
6141 - echo $ECHO_N "(cached) $ECHO_C" >&6
6143 - cat >conftest.$ac_ext <<_ACEOF
6146 -cat confdefs.h >>conftest.$ac_ext
6147 -cat >>conftest.$ac_ext <<_ACEOF
6148 -/* end confdefs.h. */
6149 -#include <stdlib.h>
6150 -#include <stdarg.h>
6151 -#include <string.h>
6153 + $ac_path_GREP_found && break 3
6167 -rm -f conftest.$ac_objext
6168 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6169 - (eval $ac_compile) 2>conftest.er1
6171 - grep -v '^ *+' conftest.er1 >conftest.err
6172 - rm -f conftest.er1
6173 - cat conftest.err >&5
6174 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 - (exit $ac_status); } &&
6176 - { ac_try='test -z "$ac_c_werror_flag"
6177 - || test ! -s conftest.err'
6178 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 - (eval $ac_try) 2>&5
6181 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 - (exit $ac_status); }; } &&
6183 - { ac_try='test -s conftest.$ac_objext'
6184 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 - (eval $ac_try) 2>&5
6187 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 - (exit $ac_status); }; }; then
6189 - ac_cv_header_stdc=yes
6191 - echo "$as_me: failed program was:" >&5
6192 -sed 's/^/| /' conftest.$ac_ext >&5
6194 -ac_cv_header_stdc=no
6196 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6198 -if test $ac_cv_header_stdc = yes; then
6199 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6200 - cat >conftest.$ac_ext <<_ACEOF
6203 -cat confdefs.h >>conftest.$ac_ext
6204 -cat >>conftest.$ac_ext <<_ACEOF
6205 -/* end confdefs.h. */
6206 -#include <string.h>
6207 +GREP="$ac_cv_path_GREP"
6208 +if test -z "$GREP"; then
6209 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6210 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6211 + { (exit 1); exit 1; }; }
6216 + ac_cv_path_GREP=$GREP
6221 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6222 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6223 + GREP="$ac_cv_path_GREP"
6226 +{ echo "$as_me:$LINENO: checking for egrep" >&5
6227 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6228 +if test "${ac_cv_path_EGREP+set}" = set; then
6229 + echo $ECHO_N "(cached) $ECHO_C" >&6
6231 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6232 + then ac_cv_path_EGREP="$GREP -E"
6234 + # Extract the first word of "egrep" to use in msg output
6235 +if test -z "$EGREP"; then
6236 +set dummy egrep; ac_prog_name=$2
6237 +if test "${ac_cv_path_EGREP+set}" = set; then
6238 + echo $ECHO_N "(cached) $ECHO_C" >&6
6240 + ac_path_EGREP_found=false
6241 +# Loop through the user's path and test for each of PROGNAME-LIST
6242 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6243 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6246 + test -z "$as_dir" && as_dir=.
6247 + for ac_prog in egrep; do
6248 + for ac_exec_ext in '' $ac_executable_extensions; do
6249 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6250 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6251 + # Check for GNU ac_path_EGREP and select it if it is found.
6252 + # Check for GNU $ac_path_EGREP
6253 +case `"$ac_path_EGREP" --version 2>&1` in
6255 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6258 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6261 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6262 + mv "conftest.tmp" "conftest.in"
6263 + cp "conftest.in" "conftest.nl"
6264 + echo 'EGREP' >> "conftest.nl"
6265 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6266 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6267 + ac_count=`expr $ac_count + 1`
6268 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6269 + # Best one so far, save it but keep looking for a better one
6270 + ac_cv_path_EGREP="$ac_path_EGREP"
6271 + ac_path_EGREP_max=$ac_count
6273 + # 10*(2^10) chars as input seems more than enough
6274 + test $ac_count -gt 10 && break
6276 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6280 + $ac_path_EGREP_found && break 3
6290 +EGREP="$ac_cv_path_EGREP"
6291 +if test -z "$EGREP"; then
6292 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6293 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6294 + { (exit 1); exit 1; }; }
6298 + ac_cv_path_EGREP=$EGREP
6304 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6305 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6306 + EGREP="$ac_cv_path_EGREP"
6309 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6310 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6311 +if test "${ac_cv_header_stdc+set}" = set; then
6312 + echo $ECHO_N "(cached) $ECHO_C" >&6
6314 + cat >conftest.$ac_ext <<_ACEOF
6317 +cat confdefs.h >>conftest.$ac_ext
6318 +cat >>conftest.$ac_ext <<_ACEOF
6319 +/* end confdefs.h. */
6320 +#include <stdlib.h>
6321 +#include <stdarg.h>
6322 +#include <string.h>
6333 +rm -f conftest.$ac_objext
6334 +if { (ac_try="$ac_compile"
6335 +case "(($ac_try" in
6336 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6337 + *) ac_try_echo=$ac_try;;
6339 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6340 + (eval "$ac_compile") 2>conftest.er1
6342 + grep -v '^ *+' conftest.er1 >conftest.err
6343 + rm -f conftest.er1
6344 + cat conftest.err >&5
6345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 + (exit $ac_status); } && {
6347 + test -z "$ac_c_werror_flag" ||
6348 + test ! -s conftest.err
6349 + } && test -s conftest.$ac_objext; then
6350 + ac_cv_header_stdc=yes
6352 + echo "$as_me: failed program was:" >&5
6353 +sed 's/^/| /' conftest.$ac_ext >&5
6355 + ac_cv_header_stdc=no
6358 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6360 +if test $ac_cv_header_stdc = yes; then
6361 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6362 + cat >conftest.$ac_ext <<_ACEOF
6365 +cat confdefs.h >>conftest.$ac_ext
6366 +cat >>conftest.$ac_ext <<_ACEOF
6367 +/* end confdefs.h. */
6368 +#include <string.h>
6371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6372 $EGREP "memchr" >/dev/null 2>&1; then
6374 @@ -5713,6 +6396,7 @@ cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6378 +#include <stdlib.h>
6379 #if ((' ' & 0x0FF) == 0x020)
6380 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6381 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6382 @@ -5732,18 +6416,27 @@ main ()
6383 for (i = 0; i < 256; i++)
6384 if (XOR (islower (i), ISLOWER (i))
6385 || toupper (i) != TOUPPER (i))
6392 rm -f conftest$ac_exeext
6393 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6394 - (eval $ac_link) 2>&5
6395 +if { (ac_try="$ac_link"
6396 +case "(($ac_try" in
6397 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6398 + *) ac_try_echo=$ac_try;;
6400 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6401 + (eval "$ac_link") 2>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6405 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 - (eval $ac_try) 2>&5
6407 + { (case "(($ac_try" in
6408 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409 + *) ac_try_echo=$ac_try;;
6411 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412 + (eval "$ac_try") 2>&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); }; }; then
6416 @@ -5756,12 +6449,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
6418 ac_cv_header_stdc=no
6420 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6421 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6427 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6428 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
6429 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6430 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6431 if test $ac_cv_header_stdc = yes; then
6433 cat >>confdefs.h <<\_ACEOF
6434 @@ -5770,8 +6465,8 @@ _ACEOF
6438 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6439 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6440 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6441 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6442 if test "${ac_cv_c_const+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6445 @@ -5789,10 +6484,10 @@ main ()
6447 /* Ultrix mips cc rejects this. */
6448 typedef int charset[2];
6451 /* SunOS 4.1.1 cc rejects this. */
6452 - char const *const *ccp;
6454 + char const *const *pcpcc;
6456 /* NEC SVR4.0.2 mips cc rejects this. */
6457 struct point {int x, y;};
6458 static struct point const zero = {0,0};
6459 @@ -5801,16 +6496,17 @@ main ()
6460 an arm of an if-expression whose if-part is not a constant
6462 const char *g = "string";
6463 - ccp = &g + (g ? g-g : 0);
6464 + pcpcc = &g + (g ? g-g : 0);
6465 /* HPUX 7.0 cc rejects these. */
6468 - ccp = (char const *const *) p;
6470 + ppc = (char**) pcpcc;
6471 + pcpcc = (char const *const *) ppc;
6472 { /* SCO 3.2v4 cc rejects this. */
6474 char const *s = 0 ? (char *) 0 : (char const *) 0;
6479 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6481 @@ -5829,7 +6525,9 @@ main ()
6483 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6485 + if (!foo) return 0;
6487 + return !cs[0] && !zero.x;
6491 @@ -5837,38 +6535,34 @@ main ()
6494 rm -f conftest.$ac_objext
6495 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6496 - (eval $ac_compile) 2>conftest.er1
6497 +if { (ac_try="$ac_compile"
6498 +case "(($ac_try" in
6499 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6500 + *) ac_try_echo=$ac_try;;
6502 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6503 + (eval "$ac_compile") 2>conftest.er1
6505 grep -v '^ *+' conftest.er1 >conftest.err
6507 cat conftest.err >&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 - (exit $ac_status); } &&
6510 - { ac_try='test -z "$ac_c_werror_flag"
6511 - || test ! -s conftest.err'
6512 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 - (eval $ac_try) 2>&5
6515 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 - (exit $ac_status); }; } &&
6517 - { ac_try='test -s conftest.$ac_objext'
6518 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6519 - (eval $ac_try) 2>&5
6521 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 - (exit $ac_status); }; }; then
6523 + (exit $ac_status); } && {
6524 + test -z "$ac_c_werror_flag" ||
6525 + test ! -s conftest.err
6526 + } && test -s conftest.$ac_objext; then
6529 echo "$as_me: failed program was:" >&5
6530 sed 's/^/| /' conftest.$ac_ext >&5
6535 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6537 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6539 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6540 -echo "${ECHO_T}$ac_cv_c_const" >&6
6541 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6542 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
6543 if test $ac_cv_c_const = no; then
6545 cat >>confdefs.h <<\_ACEOF
6546 @@ -5877,8 +6571,8 @@ _ACEOF
6550 -echo "$as_me:$LINENO: checking for inline" >&5
6551 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
6552 +{ echo "$as_me:$LINENO: checking for inline" >&5
6553 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
6554 if test "${ac_cv_c_inline+set}" = set; then
6555 echo $ECHO_N "(cached) $ECHO_C" >&6
6557 @@ -5898,39 +6592,37 @@ $ac_kw foo_t foo () {return 0; }
6560 rm -f conftest.$ac_objext
6561 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6562 - (eval $ac_compile) 2>conftest.er1
6563 +if { (ac_try="$ac_compile"
6564 +case "(($ac_try" in
6565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6566 + *) ac_try_echo=$ac_try;;
6568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6569 + (eval "$ac_compile") 2>conftest.er1
6571 grep -v '^ *+' conftest.er1 >conftest.err
6573 cat conftest.err >&5
6574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6575 - (exit $ac_status); } &&
6576 - { ac_try='test -z "$ac_c_werror_flag"
6577 - || test ! -s conftest.err'
6578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 - (eval $ac_try) 2>&5
6581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 - (exit $ac_status); }; } &&
6583 - { ac_try='test -s conftest.$ac_objext'
6584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6585 - (eval $ac_try) 2>&5
6587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588 - (exit $ac_status); }; }; then
6589 - ac_cv_c_inline=$ac_kw; break
6590 + (exit $ac_status); } && {
6591 + test -z "$ac_c_werror_flag" ||
6592 + test ! -s conftest.err
6593 + } && test -s conftest.$ac_objext; then
6594 + ac_cv_c_inline=$ac_kw
6596 echo "$as_me: failed program was:" >&5
6597 sed 's/^/| /' conftest.$ac_ext >&5
6601 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6603 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6604 + test "$ac_cv_c_inline" != no && break
6608 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6609 -echo "${ECHO_T}$ac_cv_c_inline" >&6
6610 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6611 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6614 case $ac_cv_c_inline in
6615 @@ -5962,9 +6654,9 @@ for ac_header in sys/types.h sys/stat.h
6616 inttypes.h stdint.h unistd.h
6618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6619 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6620 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6621 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6622 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6623 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6624 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6625 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 cat >conftest.$ac_ext <<_ACEOF
6628 @@ -5978,38 +6670,35 @@ $ac_includes_default
6629 #include <$ac_header>
6631 rm -f conftest.$ac_objext
6632 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6633 - (eval $ac_compile) 2>conftest.er1
6634 +if { (ac_try="$ac_compile"
6635 +case "(($ac_try" in
6636 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637 + *) ac_try_echo=$ac_try;;
6639 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640 + (eval "$ac_compile") 2>conftest.er1
6642 grep -v '^ *+' conftest.er1 >conftest.err
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 - (exit $ac_status); } &&
6647 - { ac_try='test -z "$ac_c_werror_flag"
6648 - || test ! -s conftest.err'
6649 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 - (eval $ac_try) 2>&5
6652 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 - (exit $ac_status); }; } &&
6654 - { ac_try='test -s conftest.$ac_objext'
6655 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 - (eval $ac_try) 2>&5
6658 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 - (exit $ac_status); }; }; then
6660 + (exit $ac_status); } && {
6661 + test -z "$ac_c_werror_flag" ||
6662 + test ! -s conftest.err
6663 + } && test -s conftest.$ac_objext; then
6664 eval "$as_ac_Header=yes"
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6669 -eval "$as_ac_Header=no"
6670 + eval "$as_ac_Header=no"
6672 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6674 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6677 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6678 +ac_res=`eval echo '${'$as_ac_Header'}'`
6679 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6680 +echo "${ECHO_T}$ac_res" >&6; }
6681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6682 cat >>confdefs.h <<_ACEOF
6683 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6684 @@ -6020,8 +6709,8 @@ fi
6688 -echo "$as_me:$LINENO: checking for off_t" >&5
6689 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6690 +{ echo "$as_me:$LINENO: checking for off_t" >&5
6691 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6692 if test "${ac_cv_type_off_t+set}" = set; then
6693 echo $ECHO_N "(cached) $ECHO_C" >&6
6695 @@ -6032,62 +6721,59 @@ cat confdefs.h >>conftest.$ac_ext
6696 cat >>conftest.$ac_ext <<_ACEOF
6697 /* end confdefs.h. */
6698 $ac_includes_default
6699 +typedef off_t ac__type_new_;
6704 +if ((ac__type_new_ *) 0)
6706 -if (sizeof (off_t))
6707 +if (sizeof (ac__type_new_))
6713 rm -f conftest.$ac_objext
6714 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6715 - (eval $ac_compile) 2>conftest.er1
6716 +if { (ac_try="$ac_compile"
6717 +case "(($ac_try" in
6718 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6719 + *) ac_try_echo=$ac_try;;
6721 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6722 + (eval "$ac_compile") 2>conftest.er1
6724 grep -v '^ *+' conftest.er1 >conftest.err
6726 cat conftest.err >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 - (exit $ac_status); } &&
6729 - { ac_try='test -z "$ac_c_werror_flag"
6730 - || test ! -s conftest.err'
6731 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6732 - (eval $ac_try) 2>&5
6734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 - (exit $ac_status); }; } &&
6736 - { ac_try='test -s conftest.$ac_objext'
6737 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 - (eval $ac_try) 2>&5
6740 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 - (exit $ac_status); }; }; then
6742 + (exit $ac_status); } && {
6743 + test -z "$ac_c_werror_flag" ||
6744 + test ! -s conftest.err
6745 + } && test -s conftest.$ac_objext; then
6746 ac_cv_type_off_t=yes
6748 echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6751 -ac_cv_type_off_t=no
6752 + ac_cv_type_off_t=no
6754 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6756 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6758 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6759 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
6760 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6761 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6762 if test $ac_cv_type_off_t = yes; then
6766 cat >>confdefs.h <<_ACEOF
6768 +#define off_t long int
6773 -echo "$as_me:$LINENO: checking for size_t" >&5
6774 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6775 +{ echo "$as_me:$LINENO: checking for size_t" >&5
6776 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6777 if test "${ac_cv_type_size_t+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 @@ -6098,64 +6784,61 @@ cat confdefs.h >>conftest.$ac_ext
6781 cat >>conftest.$ac_ext <<_ACEOF
6782 /* end confdefs.h. */
6783 $ac_includes_default
6784 +typedef size_t ac__type_new_;
6789 +if ((ac__type_new_ *) 0)
6791 -if (sizeof (size_t))
6792 +if (sizeof (ac__type_new_))
6798 rm -f conftest.$ac_objext
6799 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6800 - (eval $ac_compile) 2>conftest.er1
6801 +if { (ac_try="$ac_compile"
6802 +case "(($ac_try" in
6803 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6804 + *) ac_try_echo=$ac_try;;
6806 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6807 + (eval "$ac_compile") 2>conftest.er1
6809 grep -v '^ *+' conftest.er1 >conftest.err
6811 cat conftest.err >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 - (exit $ac_status); } &&
6814 - { ac_try='test -z "$ac_c_werror_flag"
6815 - || test ! -s conftest.err'
6816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6817 - (eval $ac_try) 2>&5
6819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 - (exit $ac_status); }; } &&
6821 - { ac_try='test -s conftest.$ac_objext'
6822 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6823 - (eval $ac_try) 2>&5
6825 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6826 - (exit $ac_status); }; }; then
6827 + (exit $ac_status); } && {
6828 + test -z "$ac_c_werror_flag" ||
6829 + test ! -s conftest.err
6830 + } && test -s conftest.$ac_objext; then
6831 ac_cv_type_size_t=yes
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.$ac_ext >&5
6836 -ac_cv_type_size_t=no
6837 + ac_cv_type_size_t=no
6839 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6843 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6844 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
6845 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6846 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6847 if test $ac_cv_type_size_t = yes; then
6851 cat >>confdefs.h <<_ACEOF
6852 -#define size_t unsigned
6853 +#define size_t unsigned int
6858 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6859 # for constant arguments. Useless!
6860 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
6861 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6862 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
6863 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6864 if test "${ac_cv_working_alloca_h+set}" = set; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 @@ -6170,44 +6853,42 @@ int
6870 char *p = (char *) alloca (2 * sizeof (int));
6876 rm -f conftest.$ac_objext conftest$ac_exeext
6877 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6878 - (eval $ac_link) 2>conftest.er1
6879 +if { (ac_try="$ac_link"
6880 +case "(($ac_try" in
6881 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6882 + *) ac_try_echo=$ac_try;;
6884 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6885 + (eval "$ac_link") 2>conftest.er1
6887 grep -v '^ *+' conftest.er1 >conftest.err
6889 cat conftest.err >&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 - (exit $ac_status); } &&
6892 - { ac_try='test -z "$ac_c_werror_flag"
6893 - || test ! -s conftest.err'
6894 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 - (eval $ac_try) 2>&5
6897 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 - (exit $ac_status); }; } &&
6899 - { ac_try='test -s conftest$ac_exeext'
6900 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6901 - (eval $ac_try) 2>&5
6903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 - (exit $ac_status); }; }; then
6905 + (exit $ac_status); } && {
6906 + test -z "$ac_c_werror_flag" ||
6907 + test ! -s conftest.err
6908 + } && test -s conftest$ac_exeext &&
6909 + $as_test_x conftest$ac_exeext; then
6910 ac_cv_working_alloca_h=yes
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6915 -ac_cv_working_alloca_h=no
6916 + ac_cv_working_alloca_h=no
6918 -rm -f conftest.err conftest.$ac_objext \
6920 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6921 conftest$ac_exeext conftest.$ac_ext
6923 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6924 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6925 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6926 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6927 if test $ac_cv_working_alloca_h = yes; then
6929 cat >>confdefs.h <<\_ACEOF
6930 @@ -6216,8 +6897,8 @@ _ACEOF
6934 -echo "$as_me:$LINENO: checking for alloca" >&5
6935 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6936 +{ echo "$as_me:$LINENO: checking for alloca" >&5
6937 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6938 if test "${ac_cv_func_alloca_works+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 @@ -6234,7 +6915,7 @@ cat >>conftest.$ac_ext <<_ACEOF
6942 # include <malloc.h>
6943 # define alloca _alloca
6946 +# ifdef HAVE_ALLOCA_H
6947 # include <alloca.h>
6950 @@ -6252,44 +6933,42 @@ int
6953 char *p = (char *) alloca (1);
6959 rm -f conftest.$ac_objext conftest$ac_exeext
6960 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6961 - (eval $ac_link) 2>conftest.er1
6962 +if { (ac_try="$ac_link"
6963 +case "(($ac_try" in
6964 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6965 + *) ac_try_echo=$ac_try;;
6967 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 + (eval "$ac_link") 2>conftest.er1
6970 grep -v '^ *+' conftest.er1 >conftest.err
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 - (exit $ac_status); } &&
6975 - { ac_try='test -z "$ac_c_werror_flag"
6976 - || test ! -s conftest.err'
6977 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6978 - (eval $ac_try) 2>&5
6980 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 - (exit $ac_status); }; } &&
6982 - { ac_try='test -s conftest$ac_exeext'
6983 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984 - (eval $ac_try) 2>&5
6986 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6987 - (exit $ac_status); }; }; then
6988 + (exit $ac_status); } && {
6989 + test -z "$ac_c_werror_flag" ||
6990 + test ! -s conftest.err
6991 + } && test -s conftest$ac_exeext &&
6992 + $as_test_x conftest$ac_exeext; then
6993 ac_cv_func_alloca_works=yes
6995 echo "$as_me: failed program was:" >&5
6996 sed 's/^/| /' conftest.$ac_ext >&5
6998 -ac_cv_func_alloca_works=no
6999 + ac_cv_func_alloca_works=no
7001 -rm -f conftest.err conftest.$ac_objext \
7003 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7004 conftest$ac_exeext conftest.$ac_ext
7006 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7007 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7008 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7009 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
7011 if test $ac_cv_func_alloca_works = yes; then
7013 @@ -6303,15 +6982,15 @@ else
7014 # contain a buggy version. If you still want to use their alloca,
7015 # use ar to extract alloca.o from them instead of compiling alloca.c.
7017 -ALLOCA=alloca.$ac_objext
7018 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7020 cat >>confdefs.h <<\_ACEOF
7025 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7026 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7027 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7028 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
7029 if test "${ac_cv_os_cray+set}" = set; then
7030 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 @@ -6321,7 +7000,7 @@ _ACEOF
7033 cat confdefs.h >>conftest.$ac_ext
7034 cat >>conftest.$ac_ext <<_ACEOF
7035 /* end confdefs.h. */
7036 -#if defined(CRAY) && ! defined(CRAY2)
7037 +#if defined CRAY && ! defined CRAY2
7041 @@ -6337,14 +7016,14 @@ fi
7045 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7046 -echo "${ECHO_T}$ac_cv_os_cray" >&6
7047 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7048 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7049 if test $ac_cv_os_cray = yes; then
7050 for ac_func in _getb67 GETB67 getb67; do
7051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7052 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7053 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7054 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7055 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7056 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7057 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7058 echo $ECHO_N "(cached) $ECHO_C" >&6
7060 cat >conftest.$ac_ext <<_ACEOF
7061 @@ -6370,68 +7049,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7065 -/* Override any gcc2 internal prototype to avoid an error. */
7066 +/* Override any GCC internal prototype to avoid an error.
7067 + Use char because int might match the return type of a GCC
7068 + builtin and then its argument prototype would still apply. */
7073 -/* We use char because int might match the return type of a gcc2
7074 - builtin and then its argument prototype would still apply. */
7076 /* The GNU C library defines this for functions which it implements
7077 to always fail with ENOSYS. Some functions are actually named
7078 something starting with __ and the normal name is an alias. */
7079 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7080 +#if defined __stub_$ac_func || defined __stub___$ac_func
7083 -char (*f) () = $ac_func;
7092 -return f != $ac_func;
7093 +return $ac_func ();
7098 rm -f conftest.$ac_objext conftest$ac_exeext
7099 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7100 - (eval $ac_link) 2>conftest.er1
7101 +if { (ac_try="$ac_link"
7102 +case "(($ac_try" in
7103 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7104 + *) ac_try_echo=$ac_try;;
7106 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7107 + (eval "$ac_link") 2>conftest.er1
7109 grep -v '^ *+' conftest.er1 >conftest.err
7111 cat conftest.err >&5
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 - (exit $ac_status); } &&
7114 - { ac_try='test -z "$ac_c_werror_flag"
7115 - || test ! -s conftest.err'
7116 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 - (eval $ac_try) 2>&5
7119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 - (exit $ac_status); }; } &&
7121 - { ac_try='test -s conftest$ac_exeext'
7122 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 - (eval $ac_try) 2>&5
7125 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 - (exit $ac_status); }; }; then
7127 + (exit $ac_status); } && {
7128 + test -z "$ac_c_werror_flag" ||
7129 + test ! -s conftest.err
7130 + } && test -s conftest$ac_exeext &&
7131 + $as_test_x conftest$ac_exeext; then
7132 eval "$as_ac_var=yes"
7134 echo "$as_me: failed program was:" >&5
7135 sed 's/^/| /' conftest.$ac_ext >&5
7137 -eval "$as_ac_var=no"
7138 + eval "$as_ac_var=no"
7140 -rm -f conftest.err conftest.$ac_objext \
7142 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7143 conftest$ac_exeext conftest.$ac_ext
7145 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7146 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7147 +ac_res=`eval echo '${'$as_ac_var'}'`
7148 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7149 +echo "${ECHO_T}$ac_res" >&6; }
7150 if test `eval echo '${'$as_ac_var'}'` = yes; then
7152 cat >>confdefs.h <<_ACEOF
7153 @@ -6444,8 +7115,8 @@ fi
7157 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7158 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7159 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7160 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7161 if test "${ac_cv_c_stack_direction+set}" = set; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 @@ -6458,6 +7129,7 @@ _ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 +$ac_includes_default
7170 find_stack_direction ()
7172 @@ -6475,17 +7147,26 @@ find_stack_direction ()
7176 - exit (find_stack_direction () < 0);
7177 + return find_stack_direction () < 0;
7180 rm -f conftest$ac_exeext
7181 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7182 - (eval $ac_link) 2>&5
7183 +if { (ac_try="$ac_link"
7184 +case "(($ac_try" in
7185 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7186 + *) ac_try_echo=$ac_try;;
7188 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7189 + (eval "$ac_link") 2>&5
7191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 - (eval $ac_try) 2>&5
7195 + { (case "(($ac_try" in
7196 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7197 + *) ac_try_echo=$ac_try;;
7199 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7200 + (eval "$ac_try") 2>&5
7202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); }; }; then
7204 @@ -6498,11 +7179,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
7206 ac_cv_c_stack_direction=-1
7208 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7209 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7214 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7215 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7216 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7217 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7219 cat >>confdefs.h <<_ACEOF
7220 #define STACK_DIRECTION $ac_cv_c_stack_direction
7221 @@ -6516,18 +7199,19 @@ fi
7222 for ac_header in stdlib.h unistd.h
7224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7225 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7226 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7227 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7228 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7229 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7230 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7231 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7232 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7233 echo $ECHO_N "(cached) $ECHO_C" >&6
7235 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7236 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7237 +ac_res=`eval echo '${'$as_ac_Header'}'`
7238 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7239 +echo "${ECHO_T}$ac_res" >&6; }
7241 # Is the header compilable?
7242 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7243 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7244 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7245 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7246 cat >conftest.$ac_ext <<_ACEOF
7249 @@ -6538,41 +7222,37 @@ $ac_includes_default
7250 #include <$ac_header>
7252 rm -f conftest.$ac_objext
7253 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7254 - (eval $ac_compile) 2>conftest.er1
7255 +if { (ac_try="$ac_compile"
7256 +case "(($ac_try" in
7257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7258 + *) ac_try_echo=$ac_try;;
7260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7261 + (eval "$ac_compile") 2>conftest.er1
7263 grep -v '^ *+' conftest.er1 >conftest.err
7265 cat conftest.err >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 - (exit $ac_status); } &&
7268 - { ac_try='test -z "$ac_c_werror_flag"
7269 - || test ! -s conftest.err'
7270 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271 - (eval $ac_try) 2>&5
7273 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274 - (exit $ac_status); }; } &&
7275 - { ac_try='test -s conftest.$ac_objext'
7276 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277 - (eval $ac_try) 2>&5
7279 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280 - (exit $ac_status); }; }; then
7281 + (exit $ac_status); } && {
7282 + test -z "$ac_c_werror_flag" ||
7283 + test ! -s conftest.err
7284 + } && test -s conftest.$ac_objext; then
7285 ac_header_compiler=yes
7287 echo "$as_me: failed program was:" >&5
7288 sed 's/^/| /' conftest.$ac_ext >&5
7290 -ac_header_compiler=no
7291 + ac_header_compiler=no
7293 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7294 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7295 -echo "${ECHO_T}$ac_header_compiler" >&6
7297 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7298 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7299 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7301 # Is the header present?
7302 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7303 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7304 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7305 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7306 cat >conftest.$ac_ext <<_ACEOF
7309 @@ -6581,24 +7261,22 @@ cat >>conftest.$ac_ext <<_ACEOF
7310 /* end confdefs.h. */
7311 #include <$ac_header>
7313 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7314 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7315 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7316 +case "(($ac_try" in
7317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318 + *) ac_try_echo=$ac_try;;
7320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7323 grep -v '^ *+' conftest.er1 >conftest.err
7325 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 - (exit $ac_status); } >/dev/null; then
7328 - if test -s conftest.err; then
7329 - ac_cpp_err=$ac_c_preproc_warn_flag
7330 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7337 -if test -z "$ac_cpp_err"; then
7338 + (exit $ac_status); } >/dev/null && {
7339 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7340 + test ! -s conftest.err
7342 ac_header_preproc=yes
7344 echo "$as_me: failed program was:" >&5
7345 @@ -6606,9 +7284,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
7347 ac_header_preproc=no
7350 rm -f conftest.err conftest.$ac_ext
7351 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7352 -echo "${ECHO_T}$ac_header_preproc" >&6
7353 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7354 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7356 # So? What about this header?
7357 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7358 @@ -6632,25 +7311,19 @@ echo "$as_me: WARNING: $ac_header: s
7359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7364 -## ------------------------------------------ ##
7365 -## Report this to the AC_PACKAGE_NAME lists. ##
7366 -## ------------------------------------------ ##
7369 - sed "s/^/$as_me: WARNING: /" >&2
7373 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7374 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7375 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7376 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7377 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7378 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6
7381 eval "$as_ac_Header=\$ac_header_preproc"
7383 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7384 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7385 +ac_res=`eval echo '${'$as_ac_Header'}'`
7386 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7387 +echo "${ECHO_T}$ac_res" >&6; }
7390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7391 @@ -6666,9 +7339,9 @@ done
7392 for ac_func in getpagesize
7394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7395 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7396 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7397 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7398 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7399 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7400 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7401 echo $ECHO_N "(cached) $ECHO_C" >&6
7403 cat >conftest.$ac_ext <<_ACEOF
7404 @@ -6694,68 +7367,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7408 -/* Override any gcc2 internal prototype to avoid an error. */
7409 +/* Override any GCC internal prototype to avoid an error.
7410 + Use char because int might match the return type of a GCC
7411 + builtin and then its argument prototype would still apply. */
7416 -/* We use char because int might match the return type of a gcc2
7417 - builtin and then its argument prototype would still apply. */
7419 /* The GNU C library defines this for functions which it implements
7420 to always fail with ENOSYS. Some functions are actually named
7421 something starting with __ and the normal name is an alias. */
7422 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7423 +#if defined __stub_$ac_func || defined __stub___$ac_func
7426 -char (*f) () = $ac_func;
7435 -return f != $ac_func;
7436 +return $ac_func ();
7441 rm -f conftest.$ac_objext conftest$ac_exeext
7442 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7443 - (eval $ac_link) 2>conftest.er1
7444 +if { (ac_try="$ac_link"
7445 +case "(($ac_try" in
7446 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7447 + *) ac_try_echo=$ac_try;;
7449 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7450 + (eval "$ac_link") 2>conftest.er1
7452 grep -v '^ *+' conftest.er1 >conftest.err
7454 cat conftest.err >&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 - (exit $ac_status); } &&
7457 - { ac_try='test -z "$ac_c_werror_flag"
7458 - || test ! -s conftest.err'
7459 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 - (eval $ac_try) 2>&5
7462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 - (exit $ac_status); }; } &&
7464 - { ac_try='test -s conftest$ac_exeext'
7465 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 - (eval $ac_try) 2>&5
7468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 - (exit $ac_status); }; }; then
7470 + (exit $ac_status); } && {
7471 + test -z "$ac_c_werror_flag" ||
7472 + test ! -s conftest.err
7473 + } && test -s conftest$ac_exeext &&
7474 + $as_test_x conftest$ac_exeext; then
7475 eval "$as_ac_var=yes"
7477 echo "$as_me: failed program was:" >&5
7478 sed 's/^/| /' conftest.$ac_ext >&5
7480 -eval "$as_ac_var=no"
7481 + eval "$as_ac_var=no"
7483 -rm -f conftest.err conftest.$ac_objext \
7485 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7486 conftest$ac_exeext conftest.$ac_ext
7488 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7489 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7490 +ac_res=`eval echo '${'$as_ac_var'}'`
7491 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7492 +echo "${ECHO_T}$ac_res" >&6; }
7493 if test `eval echo '${'$as_ac_var'}'` = yes; then
7494 cat >>confdefs.h <<_ACEOF
7495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7496 @@ -6764,8 +7429,8 @@ _ACEOF
7500 -echo "$as_me:$LINENO: checking for working mmap" >&5
7501 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7502 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
7503 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7504 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7505 echo $ECHO_N "(cached) $ECHO_C" >&6
7507 @@ -6807,21 +7472,21 @@ $ac_includes_default
7509 #include <sys/mman.h>
7511 -#if !STDC_HEADERS && !HAVE_STDLIB_H
7512 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7516 /* This mess was copied from the GNU getpagesize.h. */
7517 -#if !HAVE_GETPAGESIZE
7518 +#ifndef HAVE_GETPAGESIZE
7519 /* Assume that all systems that can run configure have sys/param.h. */
7520 -# if !HAVE_SYS_PARAM_H
7521 +# ifndef HAVE_SYS_PARAM_H
7522 # define HAVE_SYS_PARAM_H 1
7525 # ifdef _SC_PAGESIZE
7526 # define getpagesize() sysconf(_SC_PAGESIZE)
7527 # else /* no _SC_PAGESIZE */
7528 -# if HAVE_SYS_PARAM_H
7529 +# ifdef HAVE_SYS_PARAM_H
7530 # include <sys/param.h>
7531 # ifdef EXEC_PAGESIZE
7532 # define getpagesize() EXEC_PAGESIZE
7533 @@ -6860,15 +7525,15 @@ main ()
7534 /* First, make a file with some known garbage in it. */
7535 data = (char *) malloc (pagesize);
7539 for (i = 0; i < pagesize; ++i)
7540 *(data + i) = rand ();
7542 fd = creat ("conftest.mmap", 0600);
7546 if (write (fd, data, pagesize) != pagesize)
7551 /* Next, try to mmap the file at a fixed address which already has
7552 @@ -6876,17 +7541,17 @@ main ()
7553 we see the same garbage. */
7554 fd = open ("conftest.mmap", O_RDWR);
7558 data2 = (char *) malloc (2 * pagesize);
7561 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
7563 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7564 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7565 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7568 for (i = 0; i < pagesize; ++i)
7569 if (*(data + i) != *(data2 + i))
7573 /* Finally, make sure that changes to the mapped area do not
7574 percolate back to the file as seen by read(). (This is a bug on
7575 @@ -6895,24 +7560,33 @@ main ()
7576 *(data2 + i) = *(data2 + i) + 1;
7577 data3 = (char *) malloc (pagesize);
7581 if (read (fd, data3, pagesize) != pagesize)
7584 for (i = 0; i < pagesize; ++i)
7585 if (*(data + i) != *(data3 + i))
7593 rm -f conftest$ac_exeext
7594 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7595 - (eval $ac_link) 2>&5
7596 +if { (ac_try="$ac_link"
7597 +case "(($ac_try" in
7598 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7599 + *) ac_try_echo=$ac_try;;
7601 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7602 + (eval "$ac_link") 2>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7606 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7607 - (eval $ac_try) 2>&5
7608 + { (case "(($ac_try" in
7609 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7610 + *) ac_try_echo=$ac_try;;
7612 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7613 + (eval "$ac_try") 2>&5
7615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7616 (exit $ac_status); }; }; then
7617 @@ -6925,11 +7599,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
7619 ac_cv_func_mmap_fixed_mapped=no
7621 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7622 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7627 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7628 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7629 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7630 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7631 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7633 cat >>confdefs.h <<\_ACEOF
7634 @@ -6953,18 +7629,19 @@ for ac_header in argz.h limits.h locale.
7635 unistd.h values.h sys/param.h
7637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7638 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7639 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7640 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7641 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7642 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7643 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7644 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7645 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7649 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7650 +ac_res=`eval echo '${'$as_ac_Header'}'`
7651 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7652 +echo "${ECHO_T}$ac_res" >&6; }
7654 # Is the header compilable?
7655 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7656 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7657 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7658 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7659 cat >conftest.$ac_ext <<_ACEOF
7662 @@ -6975,41 +7652,37 @@ $ac_includes_default
7663 #include <$ac_header>
7665 rm -f conftest.$ac_objext
7666 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7667 - (eval $ac_compile) 2>conftest.er1
7668 +if { (ac_try="$ac_compile"
7669 +case "(($ac_try" in
7670 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7671 + *) ac_try_echo=$ac_try;;
7673 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7674 + (eval "$ac_compile") 2>conftest.er1
7676 grep -v '^ *+' conftest.er1 >conftest.err
7678 cat conftest.err >&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 - (exit $ac_status); } &&
7681 - { ac_try='test -z "$ac_c_werror_flag"
7682 - || test ! -s conftest.err'
7683 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7684 - (eval $ac_try) 2>&5
7686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7687 - (exit $ac_status); }; } &&
7688 - { ac_try='test -s conftest.$ac_objext'
7689 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 - (eval $ac_try) 2>&5
7692 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7693 - (exit $ac_status); }; }; then
7694 + (exit $ac_status); } && {
7695 + test -z "$ac_c_werror_flag" ||
7696 + test ! -s conftest.err
7697 + } && test -s conftest.$ac_objext; then
7698 ac_header_compiler=yes
7700 echo "$as_me: failed program was:" >&5
7701 sed 's/^/| /' conftest.$ac_ext >&5
7703 -ac_header_compiler=no
7704 + ac_header_compiler=no
7706 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7707 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7708 -echo "${ECHO_T}$ac_header_compiler" >&6
7710 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7711 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7712 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7714 # Is the header present?
7715 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7716 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7717 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7718 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7719 cat >conftest.$ac_ext <<_ACEOF
7722 @@ -7018,24 +7691,22 @@ cat >>conftest.$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 #include <$ac_header>
7726 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7727 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7728 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7729 +case "(($ac_try" in
7730 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7731 + *) ac_try_echo=$ac_try;;
7733 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7734 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7736 grep -v '^ *+' conftest.er1 >conftest.err
7738 cat conftest.err >&5
7739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740 - (exit $ac_status); } >/dev/null; then
7741 - if test -s conftest.err; then
7742 - ac_cpp_err=$ac_c_preproc_warn_flag
7743 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7750 -if test -z "$ac_cpp_err"; then
7751 + (exit $ac_status); } >/dev/null && {
7752 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7753 + test ! -s conftest.err
7755 ac_header_preproc=yes
7757 echo "$as_me: failed program was:" >&5
7758 @@ -7043,9 +7714,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
7760 ac_header_preproc=no
7763 rm -f conftest.err conftest.$ac_ext
7764 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7765 -echo "${ECHO_T}$ac_header_preproc" >&6
7766 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7767 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7769 # So? What about this header?
7770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7771 @@ -7069,25 +7741,19 @@ echo "$as_me: WARNING: $ac_header: s
7772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7773 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7774 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7777 -## ------------------------------------------ ##
7778 -## Report this to the AC_PACKAGE_NAME lists. ##
7779 -## ------------------------------------------ ##
7782 - sed "s/^/$as_me: WARNING: /" >&2
7786 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7787 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7788 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7789 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7790 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7791 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7792 echo $ECHO_N "(cached) $ECHO_C" >&6
7794 eval "$as_ac_Header=\$ac_header_preproc"
7796 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7797 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7798 +ac_res=`eval echo '${'$as_ac_Header'}'`
7799 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7800 +echo "${ECHO_T}$ac_res" >&6; }
7803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7804 @@ -7113,9 +7779,9 @@ for ac_func in getcwd munmap putenv sete
7805 __argz_count __argz_stringify __argz_next
7807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7808 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7809 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7810 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7811 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7812 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7813 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 cat >conftest.$ac_ext <<_ACEOF
7817 @@ -7141,68 +7807,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7821 -/* Override any gcc2 internal prototype to avoid an error. */
7822 +/* Override any GCC internal prototype to avoid an error.
7823 + Use char because int might match the return type of a GCC
7824 + builtin and then its argument prototype would still apply. */
7829 -/* We use char because int might match the return type of a gcc2
7830 - builtin and then its argument prototype would still apply. */
7832 /* The GNU C library defines this for functions which it implements
7833 to always fail with ENOSYS. Some functions are actually named
7834 something starting with __ and the normal name is an alias. */
7835 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7836 +#if defined __stub_$ac_func || defined __stub___$ac_func
7839 -char (*f) () = $ac_func;
7848 -return f != $ac_func;
7849 +return $ac_func ();
7854 rm -f conftest.$ac_objext conftest$ac_exeext
7855 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7856 - (eval $ac_link) 2>conftest.er1
7857 +if { (ac_try="$ac_link"
7858 +case "(($ac_try" in
7859 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7860 + *) ac_try_echo=$ac_try;;
7862 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7863 + (eval "$ac_link") 2>conftest.er1
7865 grep -v '^ *+' conftest.er1 >conftest.err
7867 cat conftest.err >&5
7868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7869 - (exit $ac_status); } &&
7870 - { ac_try='test -z "$ac_c_werror_flag"
7871 - || test ! -s conftest.err'
7872 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7873 - (eval $ac_try) 2>&5
7875 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 - (exit $ac_status); }; } &&
7877 - { ac_try='test -s conftest$ac_exeext'
7878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 - (eval $ac_try) 2>&5
7881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 - (exit $ac_status); }; }; then
7883 + (exit $ac_status); } && {
7884 + test -z "$ac_c_werror_flag" ||
7885 + test ! -s conftest.err
7886 + } && test -s conftest$ac_exeext &&
7887 + $as_test_x conftest$ac_exeext; then
7888 eval "$as_ac_var=yes"
7890 echo "$as_me: failed program was:" >&5
7891 sed 's/^/| /' conftest.$ac_ext >&5
7893 -eval "$as_ac_var=no"
7894 + eval "$as_ac_var=no"
7896 -rm -f conftest.err conftest.$ac_objext \
7898 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7899 conftest$ac_exeext conftest.$ac_ext
7901 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7902 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7903 +ac_res=`eval echo '${'$as_ac_var'}'`
7904 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7905 +echo "${ECHO_T}$ac_res" >&6; }
7906 if test `eval echo '${'$as_ac_var'}'` = yes; then
7907 cat >>confdefs.h <<_ACEOF
7908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7909 @@ -7217,9 +7875,9 @@ done
7910 for ac_func in stpcpy
7912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7913 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7914 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7915 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7916 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7917 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7918 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7919 echo $ECHO_N "(cached) $ECHO_C" >&6
7921 cat >conftest.$ac_ext <<_ACEOF
7922 @@ -7245,68 +7903,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7926 -/* Override any gcc2 internal prototype to avoid an error. */
7927 +/* Override any GCC internal prototype to avoid an error.
7928 + Use char because int might match the return type of a GCC
7929 + builtin and then its argument prototype would still apply. */
7934 -/* We use char because int might match the return type of a gcc2
7935 - builtin and then its argument prototype would still apply. */
7937 /* The GNU C library defines this for functions which it implements
7938 to always fail with ENOSYS. Some functions are actually named
7939 something starting with __ and the normal name is an alias. */
7940 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7941 +#if defined __stub_$ac_func || defined __stub___$ac_func
7944 -char (*f) () = $ac_func;
7953 -return f != $ac_func;
7954 +return $ac_func ();
7959 rm -f conftest.$ac_objext conftest$ac_exeext
7960 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7961 - (eval $ac_link) 2>conftest.er1
7962 +if { (ac_try="$ac_link"
7963 +case "(($ac_try" in
7964 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7965 + *) ac_try_echo=$ac_try;;
7967 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7968 + (eval "$ac_link") 2>conftest.er1
7970 grep -v '^ *+' conftest.er1 >conftest.err
7972 cat conftest.err >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 - (exit $ac_status); } &&
7975 - { ac_try='test -z "$ac_c_werror_flag"
7976 - || test ! -s conftest.err'
7977 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978 - (eval $ac_try) 2>&5
7980 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981 - (exit $ac_status); }; } &&
7982 - { ac_try='test -s conftest$ac_exeext'
7983 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 - (eval $ac_try) 2>&5
7986 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 - (exit $ac_status); }; }; then
7988 + (exit $ac_status); } && {
7989 + test -z "$ac_c_werror_flag" ||
7990 + test ! -s conftest.err
7991 + } && test -s conftest$ac_exeext &&
7992 + $as_test_x conftest$ac_exeext; then
7993 eval "$as_ac_var=yes"
7995 echo "$as_me: failed program was:" >&5
7996 sed 's/^/| /' conftest.$ac_ext >&5
7998 -eval "$as_ac_var=no"
7999 + eval "$as_ac_var=no"
8001 -rm -f conftest.err conftest.$ac_objext \
8003 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8004 conftest$ac_exeext conftest.$ac_ext
8006 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8007 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8008 +ac_res=`eval echo '${'$as_ac_var'}'`
8009 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8010 +echo "${ECHO_T}$ac_res" >&6; }
8011 if test `eval echo '${'$as_ac_var'}'` = yes; then
8012 cat >>confdefs.h <<_ACEOF
8013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8014 @@ -7325,8 +7975,8 @@ _ACEOF
8017 if test $ac_cv_header_locale_h = yes; then
8018 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8019 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8020 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8021 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
8022 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8023 echo $ECHO_N "(cached) $ECHO_C" >&6
8025 @@ -7346,39 +7996,36 @@ return LC_MESSAGES
8028 rm -f conftest.$ac_objext conftest$ac_exeext
8029 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8030 - (eval $ac_link) 2>conftest.er1
8031 +if { (ac_try="$ac_link"
8032 +case "(($ac_try" in
8033 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 + *) ac_try_echo=$ac_try;;
8036 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 + (eval "$ac_link") 2>conftest.er1
8039 grep -v '^ *+' conftest.er1 >conftest.err
8041 cat conftest.err >&5
8042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8043 - (exit $ac_status); } &&
8044 - { ac_try='test -z "$ac_c_werror_flag"
8045 - || test ! -s conftest.err'
8046 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8047 - (eval $ac_try) 2>&5
8049 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 - (exit $ac_status); }; } &&
8051 - { ac_try='test -s conftest$ac_exeext'
8052 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053 - (eval $ac_try) 2>&5
8055 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 - (exit $ac_status); }; }; then
8057 + (exit $ac_status); } && {
8058 + test -z "$ac_c_werror_flag" ||
8059 + test ! -s conftest.err
8060 + } && test -s conftest$ac_exeext &&
8061 + $as_test_x conftest$ac_exeext; then
8062 am_cv_val_LC_MESSAGES=yes
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.$ac_ext >&5
8067 -am_cv_val_LC_MESSAGES=no
8068 + am_cv_val_LC_MESSAGES=no
8070 -rm -f conftest.err conftest.$ac_objext \
8072 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8073 conftest$ac_exeext conftest.$ac_ext
8075 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8076 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8077 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8078 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
8079 if test $am_cv_val_LC_MESSAGES = yes; then
8081 cat >>confdefs.h <<\_ACEOF
8082 @@ -7387,34 +8034,34 @@ _ACEOF
8086 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8087 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8088 - # Check whether --enable-nls or --disable-nls was given.
8089 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8090 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
8091 + # Check whether --enable-nls was given.
8092 if test "${enable_nls+set}" = set; then
8093 - enableval="$enable_nls"
8094 - USE_NLS=$enableval
8095 + enableval=$enable_nls; USE_NLS=$enableval
8099 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
8100 -echo "${ECHO_T}$USE_NLS" >&6
8103 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
8104 +echo "${ECHO_T}$USE_NLS" >&6; }
8107 USE_INCLUDED_LIBINTL=no
8109 if test "$USE_NLS" = "yes"; then
8110 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8111 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8112 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8113 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
8115 -# Check whether --with-included-gettext or --without-included-gettext was given.
8116 +# Check whether --with-included-gettext was given.
8117 if test "${with_included_gettext+set}" = set; then
8118 - withval="$with_included_gettext"
8119 - nls_cv_force_use_gnu_gettext=$withval
8120 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
8122 nls_cv_force_use_gnu_gettext=no
8124 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8125 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8128 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8129 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
8131 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
8132 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8133 @@ -7423,17 +8070,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
8136 if test "${ac_cv_header_libintl_h+set}" = set; then
8137 - echo "$as_me:$LINENO: checking for libintl.h" >&5
8138 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8139 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
8140 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8141 if test "${ac_cv_header_libintl_h+set}" = set; then
8142 echo $ECHO_N "(cached) $ECHO_C" >&6
8144 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8145 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8146 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8147 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8149 # Is the header compilable?
8150 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
8151 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8152 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
8153 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
8154 cat >conftest.$ac_ext <<_ACEOF
8157 @@ -7444,41 +8091,37 @@ $ac_includes_default
8158 #include <libintl.h>
8160 rm -f conftest.$ac_objext
8161 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8162 - (eval $ac_compile) 2>conftest.er1
8163 +if { (ac_try="$ac_compile"
8164 +case "(($ac_try" in
8165 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166 + *) ac_try_echo=$ac_try;;
8168 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 + (eval "$ac_compile") 2>conftest.er1
8171 grep -v '^ *+' conftest.er1 >conftest.err
8173 cat conftest.err >&5
8174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 - (exit $ac_status); } &&
8176 - { ac_try='test -z "$ac_c_werror_flag"
8177 - || test ! -s conftest.err'
8178 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8179 - (eval $ac_try) 2>&5
8181 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 - (exit $ac_status); }; } &&
8183 - { ac_try='test -s conftest.$ac_objext'
8184 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8185 - (eval $ac_try) 2>&5
8187 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 - (exit $ac_status); }; }; then
8189 + (exit $ac_status); } && {
8190 + test -z "$ac_c_werror_flag" ||
8191 + test ! -s conftest.err
8192 + } && test -s conftest.$ac_objext; then
8193 ac_header_compiler=yes
8195 echo "$as_me: failed program was:" >&5
8196 sed 's/^/| /' conftest.$ac_ext >&5
8198 -ac_header_compiler=no
8199 + ac_header_compiler=no
8201 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8202 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8203 -echo "${ECHO_T}$ac_header_compiler" >&6
8205 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8206 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8207 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8209 # Is the header present?
8210 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
8211 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8212 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
8213 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
8214 cat >conftest.$ac_ext <<_ACEOF
8217 @@ -7487,24 +8130,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8219 #include <libintl.h>
8221 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8222 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8223 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8224 +case "(($ac_try" in
8225 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8226 + *) ac_try_echo=$ac_try;;
8228 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8229 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8231 grep -v '^ *+' conftest.er1 >conftest.err
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 - (exit $ac_status); } >/dev/null; then
8236 - if test -s conftest.err; then
8237 - ac_cpp_err=$ac_c_preproc_warn_flag
8238 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8245 -if test -z "$ac_cpp_err"; then
8246 + (exit $ac_status); } >/dev/null && {
8247 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8248 + test ! -s conftest.err
8250 ac_header_preproc=yes
8252 echo "$as_me: failed program was:" >&5
8253 @@ -7512,9 +8153,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
8255 ac_header_preproc=no
8258 rm -f conftest.err conftest.$ac_ext
8259 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8260 -echo "${ECHO_T}$ac_header_preproc" >&6
8261 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8262 +echo "${ECHO_T}$ac_header_preproc" >&6; }
8264 # So? What about this header?
8265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8266 @@ -7538,30 +8180,23 @@ echo "$as_me: WARNING: libintl.h: se
8267 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8268 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
8269 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
8272 -## ------------------------------------------ ##
8273 -## Report this to the AC_PACKAGE_NAME lists. ##
8274 -## ------------------------------------------ ##
8277 - sed "s/^/$as_me: WARNING: /" >&2
8281 -echo "$as_me:$LINENO: checking for libintl.h" >&5
8282 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8283 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
8284 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8285 if test "${ac_cv_header_libintl_h+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8288 ac_cv_header_libintl_h=$ac_header_preproc
8290 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8291 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8292 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8293 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8296 if test $ac_cv_header_libintl_h = yes; then
8297 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
8298 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
8299 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
8300 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
8301 if test "${gt_cv_func_gettext_libc+set}" = set; then
8302 echo $ECHO_N "(cached) $ECHO_C" >&6
8304 @@ -7581,43 +8216,40 @@ return (int) gettext ("")
8307 rm -f conftest.$ac_objext conftest$ac_exeext
8308 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8309 - (eval $ac_link) 2>conftest.er1
8310 +if { (ac_try="$ac_link"
8311 +case "(($ac_try" in
8312 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313 + *) ac_try_echo=$ac_try;;
8315 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8316 + (eval "$ac_link") 2>conftest.er1
8318 grep -v '^ *+' conftest.er1 >conftest.err
8320 cat conftest.err >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 - (exit $ac_status); } &&
8323 - { ac_try='test -z "$ac_c_werror_flag"
8324 - || test ! -s conftest.err'
8325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 - (eval $ac_try) 2>&5
8328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8329 - (exit $ac_status); }; } &&
8330 - { ac_try='test -s conftest$ac_exeext'
8331 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8332 - (eval $ac_try) 2>&5
8334 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8335 - (exit $ac_status); }; }; then
8336 + (exit $ac_status); } && {
8337 + test -z "$ac_c_werror_flag" ||
8338 + test ! -s conftest.err
8339 + } && test -s conftest$ac_exeext &&
8340 + $as_test_x conftest$ac_exeext; then
8341 gt_cv_func_gettext_libc=yes
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.$ac_ext >&5
8346 -gt_cv_func_gettext_libc=no
8347 + gt_cv_func_gettext_libc=no
8349 -rm -f conftest.err conftest.$ac_objext \
8351 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8352 conftest$ac_exeext conftest.$ac_ext
8354 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8355 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
8356 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8357 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
8359 if test "$gt_cv_func_gettext_libc" != "yes"; then
8360 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8361 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
8362 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8363 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
8364 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
8365 echo $ECHO_N "(cached) $ECHO_C" >&6
8367 @@ -7630,59 +8262,56 @@ cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8371 -/* Override any gcc2 internal prototype to avoid an error. */
8372 +/* Override any GCC internal prototype to avoid an error.
8373 + Use char because int might match the return type of a GCC
8374 + builtin and then its argument prototype would still apply. */
8378 -/* We use char because int might match the return type of a gcc2
8379 - builtin and then its argument prototype would still apply. */
8380 char bindtextdomain ();
8385 +return bindtextdomain ();
8390 rm -f conftest.$ac_objext conftest$ac_exeext
8391 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8392 - (eval $ac_link) 2>conftest.er1
8393 +if { (ac_try="$ac_link"
8394 +case "(($ac_try" in
8395 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396 + *) ac_try_echo=$ac_try;;
8398 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399 + (eval "$ac_link") 2>conftest.er1
8401 grep -v '^ *+' conftest.er1 >conftest.err
8403 cat conftest.err >&5
8404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405 - (exit $ac_status); } &&
8406 - { ac_try='test -z "$ac_c_werror_flag"
8407 - || test ! -s conftest.err'
8408 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 - (eval $ac_try) 2>&5
8411 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 - (exit $ac_status); }; } &&
8413 - { ac_try='test -s conftest$ac_exeext'
8414 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 - (eval $ac_try) 2>&5
8417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 - (exit $ac_status); }; }; then
8419 + (exit $ac_status); } && {
8420 + test -z "$ac_c_werror_flag" ||
8421 + test ! -s conftest.err
8422 + } && test -s conftest$ac_exeext &&
8423 + $as_test_x conftest$ac_exeext; then
8424 ac_cv_lib_intl_bindtextdomain=yes
8426 echo "$as_me: failed program was:" >&5
8427 sed 's/^/| /' conftest.$ac_ext >&5
8429 -ac_cv_lib_intl_bindtextdomain=no
8430 + ac_cv_lib_intl_bindtextdomain=no
8432 -rm -f conftest.err conftest.$ac_objext \
8434 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8435 conftest$ac_exeext conftest.$ac_ext
8436 LIBS=$ac_check_lib_save_LIBS
8438 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8439 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
8440 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8441 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
8442 if test $ac_cv_lib_intl_bindtextdomain = yes; then
8443 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8444 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
8445 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8446 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
8447 if test "${gt_cv_func_gettext_libintl+set}" = set; then
8448 echo $ECHO_N "(cached) $ECHO_C" >&6
8450 @@ -7702,39 +8331,36 @@ return (int) gettext ("")
8453 rm -f conftest.$ac_objext conftest$ac_exeext
8454 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8455 - (eval $ac_link) 2>conftest.er1
8456 +if { (ac_try="$ac_link"
8457 +case "(($ac_try" in
8458 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8459 + *) ac_try_echo=$ac_try;;
8461 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8462 + (eval "$ac_link") 2>conftest.er1
8464 grep -v '^ *+' conftest.er1 >conftest.err
8466 cat conftest.err >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 - (exit $ac_status); } &&
8469 - { ac_try='test -z "$ac_c_werror_flag"
8470 - || test ! -s conftest.err'
8471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8472 - (eval $ac_try) 2>&5
8474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 - (exit $ac_status); }; } &&
8476 - { ac_try='test -s conftest$ac_exeext'
8477 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8478 - (eval $ac_try) 2>&5
8480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 - (exit $ac_status); }; }; then
8482 + (exit $ac_status); } && {
8483 + test -z "$ac_c_werror_flag" ||
8484 + test ! -s conftest.err
8485 + } && test -s conftest$ac_exeext &&
8486 + $as_test_x conftest$ac_exeext; then
8487 gt_cv_func_gettext_libintl=yes
8489 echo "$as_me: failed program was:" >&5
8490 sed 's/^/| /' conftest.$ac_ext >&5
8492 -gt_cv_func_gettext_libintl=no
8493 + gt_cv_func_gettext_libintl=no
8495 -rm -f conftest.err conftest.$ac_objext \
8497 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8498 conftest$ac_exeext conftest.$ac_ext
8500 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8501 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
8502 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8503 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
8507 @@ -7748,8 +8374,8 @@ _ACEOF
8509 # Extract the first word of "msgfmt", so it can be a program name with args.
8510 set dummy msgfmt; ac_word=$2
8511 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8512 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8513 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8514 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8515 if test "${ac_cv_path_MSGFMT+set}" = set; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 @@ -7775,20 +8401,20 @@ esac
8520 MSGFMT="$ac_cv_path_MSGFMT"
8521 if test -n "$MSGFMT"; then
8522 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8523 -echo "${ECHO_T}$MSGFMT" >&6
8524 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8525 +echo "${ECHO_T}$MSGFMT" >&6; }
8527 - echo "$as_me:$LINENO: result: no" >&5
8528 -echo "${ECHO_T}no" >&6
8529 + { echo "$as_me:$LINENO: result: no" >&5
8530 +echo "${ECHO_T}no" >&6; }
8532 if test "$MSGFMT" != "no"; then
8534 for ac_func in dcgettext
8536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8537 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8538 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8539 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8540 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8541 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8542 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8545 cat >conftest.$ac_ext <<_ACEOF
8546 @@ -7814,68 +8440,60 @@ cat >>conftest.$ac_ext <<_ACEOF
8550 -/* Override any gcc2 internal prototype to avoid an error. */
8551 +/* Override any GCC internal prototype to avoid an error.
8552 + Use char because int might match the return type of a GCC
8553 + builtin and then its argument prototype would still apply. */
8558 -/* We use char because int might match the return type of a gcc2
8559 - builtin and then its argument prototype would still apply. */
8561 /* The GNU C library defines this for functions which it implements
8562 to always fail with ENOSYS. Some functions are actually named
8563 something starting with __ and the normal name is an alias. */
8564 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8565 +#if defined __stub_$ac_func || defined __stub___$ac_func
8568 -char (*f) () = $ac_func;
8577 -return f != $ac_func;
8578 +return $ac_func ();
8583 rm -f conftest.$ac_objext conftest$ac_exeext
8584 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8585 - (eval $ac_link) 2>conftest.er1
8586 +if { (ac_try="$ac_link"
8587 +case "(($ac_try" in
8588 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8589 + *) ac_try_echo=$ac_try;;
8591 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8592 + (eval "$ac_link") 2>conftest.er1
8594 grep -v '^ *+' conftest.er1 >conftest.err
8596 cat conftest.err >&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 - (exit $ac_status); } &&
8599 - { ac_try='test -z "$ac_c_werror_flag"
8600 - || test ! -s conftest.err'
8601 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8602 - (eval $ac_try) 2>&5
8604 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 - (exit $ac_status); }; } &&
8606 - { ac_try='test -s conftest$ac_exeext'
8607 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8608 - (eval $ac_try) 2>&5
8610 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 - (exit $ac_status); }; }; then
8612 + (exit $ac_status); } && {
8613 + test -z "$ac_c_werror_flag" ||
8614 + test ! -s conftest.err
8615 + } && test -s conftest$ac_exeext &&
8616 + $as_test_x conftest$ac_exeext; then
8617 eval "$as_ac_var=yes"
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8622 -eval "$as_ac_var=no"
8623 + eval "$as_ac_var=no"
8625 -rm -f conftest.err conftest.$ac_objext \
8627 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8628 conftest$ac_exeext conftest.$ac_ext
8630 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8631 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8632 +ac_res=`eval echo '${'$as_ac_var'}'`
8633 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8634 +echo "${ECHO_T}$ac_res" >&6; }
8635 if test `eval echo '${'$as_ac_var'}'` = yes; then
8636 cat >>confdefs.h <<_ACEOF
8637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8638 @@ -7886,8 +8504,8 @@ done
8640 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8641 set dummy gmsgfmt; ac_word=$2
8642 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8643 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8644 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8645 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8646 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8647 echo $ECHO_N "(cached) $ECHO_C" >&6
8649 @@ -7902,32 +8520,33 @@ do
8651 test -z "$as_dir" && as_dir=.
8652 for ac_exec_ext in '' $ac_executable_extensions; do
8653 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8654 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8655 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8663 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8667 GMSGFMT=$ac_cv_path_GMSGFMT
8669 if test -n "$GMSGFMT"; then
8670 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8671 -echo "${ECHO_T}$GMSGFMT" >&6
8672 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8673 +echo "${ECHO_T}$GMSGFMT" >&6; }
8675 - echo "$as_me:$LINENO: result: no" >&5
8676 -echo "${ECHO_T}no" >&6
8677 + { echo "$as_me:$LINENO: result: no" >&5
8678 +echo "${ECHO_T}no" >&6; }
8682 # Extract the first word of "xgettext", so it can be a program name with args.
8683 set dummy xgettext; ac_word=$2
8684 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8685 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8686 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8687 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8688 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 @@ -7953,11 +8572,11 @@ esac
8693 XGETTEXT="$ac_cv_path_XGETTEXT"
8694 if test -n "$XGETTEXT"; then
8695 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8696 -echo "${ECHO_T}$XGETTEXT" >&6
8697 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8698 +echo "${ECHO_T}$XGETTEXT" >&6; }
8700 - echo "$as_me:$LINENO: result: no" >&5
8701 -echo "${ECHO_T}no" >&6
8702 + { echo "$as_me:$LINENO: result: no" >&5
8703 +echo "${ECHO_T}no" >&6; }
8706 cat >conftest.$ac_ext <<_ACEOF
8707 @@ -7977,37 +8596,34 @@ extern int _nl_msg_cat_cntr;
8710 rm -f conftest.$ac_objext conftest$ac_exeext
8711 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8712 - (eval $ac_link) 2>conftest.er1
8713 +if { (ac_try="$ac_link"
8714 +case "(($ac_try" in
8715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8716 + *) ac_try_echo=$ac_try;;
8718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8719 + (eval "$ac_link") 2>conftest.er1
8721 grep -v '^ *+' conftest.er1 >conftest.err
8723 cat conftest.err >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 - (exit $ac_status); } &&
8726 - { ac_try='test -z "$ac_c_werror_flag"
8727 - || test ! -s conftest.err'
8728 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729 - (eval $ac_try) 2>&5
8731 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 - (exit $ac_status); }; } &&
8733 - { ac_try='test -s conftest$ac_exeext'
8734 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8735 - (eval $ac_try) 2>&5
8737 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 - (exit $ac_status); }; }; then
8739 + (exit $ac_status); } && {
8740 + test -z "$ac_c_werror_flag" ||
8741 + test ! -s conftest.err
8742 + } && test -s conftest$ac_exeext &&
8743 + $as_test_x conftest$ac_exeext; then
8747 echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.$ac_ext >&5
8754 -rm -f conftest.err conftest.$ac_objext \
8756 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8757 conftest$ac_exeext conftest.$ac_ext
8760 @@ -8029,8 +8645,8 @@ fi
8761 INTLOBJS="\$(GETTOBJS)"
8762 # Extract the first word of "msgfmt", so it can be a program name with args.
8763 set dummy msgfmt; ac_word=$2
8764 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8765 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8766 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8767 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8768 if test "${ac_cv_path_MSGFMT+set}" = set; then
8769 echo $ECHO_N "(cached) $ECHO_C" >&6
8771 @@ -8056,17 +8672,17 @@ esac
8773 MSGFMT="$ac_cv_path_MSGFMT"
8774 if test -n "$MSGFMT"; then
8775 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8776 -echo "${ECHO_T}$MSGFMT" >&6
8777 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8778 +echo "${ECHO_T}$MSGFMT" >&6; }
8780 - echo "$as_me:$LINENO: result: no" >&5
8781 -echo "${ECHO_T}no" >&6
8782 + { echo "$as_me:$LINENO: result: no" >&5
8783 +echo "${ECHO_T}no" >&6; }
8786 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8787 set dummy gmsgfmt; ac_word=$2
8788 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8789 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8790 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8791 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8792 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 @@ -8081,32 +8697,33 @@ do
8797 test -z "$as_dir" && as_dir=.
8798 for ac_exec_ext in '' $ac_executable_extensions; do
8799 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8800 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8801 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8809 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8813 GMSGFMT=$ac_cv_path_GMSGFMT
8815 if test -n "$GMSGFMT"; then
8816 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8817 -echo "${ECHO_T}$GMSGFMT" >&6
8818 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8819 +echo "${ECHO_T}$GMSGFMT" >&6; }
8821 - echo "$as_me:$LINENO: result: no" >&5
8822 -echo "${ECHO_T}no" >&6
8823 + { echo "$as_me:$LINENO: result: no" >&5
8824 +echo "${ECHO_T}no" >&6; }
8828 # Extract the first word of "xgettext", so it can be a program name with args.
8829 set dummy xgettext; ac_word=$2
8830 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8831 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8832 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8833 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8834 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 @@ -8132,11 +8749,11 @@ esac
8839 XGETTEXT="$ac_cv_path_XGETTEXT"
8840 if test -n "$XGETTEXT"; then
8841 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8842 -echo "${ECHO_T}$XGETTEXT" >&6
8843 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8844 +echo "${ECHO_T}$XGETTEXT" >&6; }
8846 - echo "$as_me:$LINENO: result: no" >&5
8847 -echo "${ECHO_T}no" >&6
8848 + { echo "$as_me:$LINENO: result: no" >&5
8849 +echo "${ECHO_T}no" >&6; }
8853 @@ -8155,8 +8772,8 @@ fi
8854 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8857 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8858 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8859 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8860 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
8864 @@ -8205,8 +8822,8 @@ _ACEOF
8865 if test "x$ALL_LINGUAS" = "x"; then
8868 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8869 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8870 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8871 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8873 for lang in ${LINGUAS=$ALL_LINGUAS}; do
8874 case "$ALL_LINGUAS" in
8875 @@ -8214,8 +8831,8 @@ echo $ECHO_N "checking for catalogs to b
8878 LINGUAS=$NEW_LINGUAS
8879 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
8880 -echo "${ECHO_T}$LINGUAS" >&6
8881 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
8882 +echo "${ECHO_T}$LINGUAS" >&6; }
8885 if test -n "$LINGUAS"; then
8886 @@ -8234,17 +8851,17 @@ echo "${ECHO_T}$LINGUAS" >&6
8887 if test -f $srcdir/po2tbl.sed.in; then
8888 if test "$CATOBJEXT" = ".cat"; then
8889 if test "${ac_cv_header_linux_version_h+set}" = set; then
8890 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
8891 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8892 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
8893 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
8894 if test "${ac_cv_header_linux_version_h+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8898 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8899 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8900 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
8902 # Is the header compilable?
8903 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8904 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8905 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8906 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
8907 cat >conftest.$ac_ext <<_ACEOF
8910 @@ -8255,41 +8872,37 @@ $ac_includes_default
8911 #include <linux/version.h>
8913 rm -f conftest.$ac_objext
8914 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8915 - (eval $ac_compile) 2>conftest.er1
8916 +if { (ac_try="$ac_compile"
8917 +case "(($ac_try" in
8918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8919 + *) ac_try_echo=$ac_try;;
8921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8922 + (eval "$ac_compile") 2>conftest.er1
8924 grep -v '^ *+' conftest.er1 >conftest.err
8926 cat conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 - (exit $ac_status); } &&
8929 - { ac_try='test -z "$ac_c_werror_flag"
8930 - || test ! -s conftest.err'
8931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8932 - (eval $ac_try) 2>&5
8934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 - (exit $ac_status); }; } &&
8936 - { ac_try='test -s conftest.$ac_objext'
8937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8938 - (eval $ac_try) 2>&5
8940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 - (exit $ac_status); }; }; then
8942 + (exit $ac_status); } && {
8943 + test -z "$ac_c_werror_flag" ||
8944 + test ! -s conftest.err
8945 + } && test -s conftest.$ac_objext; then
8946 ac_header_compiler=yes
8948 echo "$as_me: failed program was:" >&5
8949 sed 's/^/| /' conftest.$ac_ext >&5
8951 -ac_header_compiler=no
8952 + ac_header_compiler=no
8954 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8955 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8956 -echo "${ECHO_T}$ac_header_compiler" >&6
8958 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8959 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8960 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8962 # Is the header present?
8963 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8964 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8965 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8966 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
8967 cat >conftest.$ac_ext <<_ACEOF
8970 @@ -8298,24 +8911,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8971 /* end confdefs.h. */
8972 #include <linux/version.h>
8974 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8975 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8976 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8977 +case "(($ac_try" in
8978 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8979 + *) ac_try_echo=$ac_try;;
8981 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8982 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8984 grep -v '^ *+' conftest.er1 >conftest.err
8986 cat conftest.err >&5
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 - (exit $ac_status); } >/dev/null; then
8989 - if test -s conftest.err; then
8990 - ac_cpp_err=$ac_c_preproc_warn_flag
8991 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8998 -if test -z "$ac_cpp_err"; then
8999 + (exit $ac_status); } >/dev/null && {
9000 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9001 + test ! -s conftest.err
9003 ac_header_preproc=yes
9005 echo "$as_me: failed program was:" >&5
9006 @@ -8323,9 +8934,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9008 ac_header_preproc=no
9011 rm -f conftest.err conftest.$ac_ext
9012 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9013 -echo "${ECHO_T}$ac_header_preproc" >&6
9014 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9015 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9017 # So? What about this header?
9018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9019 @@ -8349,25 +8961,18 @@ echo "$as_me: WARNING: linux/version.h:
9020 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
9021 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
9022 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
9025 -## ------------------------------------------ ##
9026 -## Report this to the AC_PACKAGE_NAME lists. ##
9027 -## ------------------------------------------ ##
9030 - sed "s/^/$as_me: WARNING: /" >&2
9034 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
9035 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
9036 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
9037 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
9038 if test "${ac_cv_header_linux_version_h+set}" = set; then
9039 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 ac_cv_header_linux_version_h=$ac_header_preproc
9043 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9044 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
9045 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9046 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
9049 if test $ac_cv_header_linux_version_h = yes; then
9050 @@ -8434,8 +9039,8 @@ fi
9051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9052 # OS/2's system install, which has a completely different semantic
9053 # ./install, which can be erroneously created by make from ./install.sh.
9054 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9055 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9056 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9057 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9058 if test -z "$INSTALL"; then
9059 if test "${ac_cv_path_install+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 @@ -8457,7 +9062,7 @@ case $as_dir/ in
9063 for ac_prog in ginstall scoinst install; do
9064 for ac_exec_ext in '' $ac_executable_extensions; do
9065 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9066 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9067 if test $ac_prog = install &&
9068 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9069 # AIX install. It has an incompatible calling convention.
9070 @@ -8476,21 +9081,22 @@ case $as_dir/ in
9078 if test "${ac_cv_path_install+set}" = set; then
9079 INSTALL=$ac_cv_path_install
9081 - # As a last resort, use the slow shell script. We don't cache a
9082 - # path for INSTALL within a source directory, because that will
9083 + # As a last resort, use the slow shell script. Don't cache a
9084 + # value for INSTALL within a source directory, because that will
9085 # break other packages using the cache if that directory is
9086 - # removed, or if the path is relative.
9087 + # removed, or if the value is a relative name.
9088 INSTALL=$ac_install_sh
9091 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9092 -echo "${ECHO_T}$INSTALL" >&6
9093 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9094 +echo "${ECHO_T}$INSTALL" >&6; }
9096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9097 # It thinks the first close brace ends the variable substitution.
9098 @@ -8507,8 +9113,8 @@ BFD_HOST_64_BIT_DEFINED=0
9102 -echo "$as_me:$LINENO: checking for long long" >&5
9103 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9104 +{ echo "$as_me:$LINENO: checking for long long" >&5
9105 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9106 if test "${bfd_cv_has_long_long+set}" = set; then
9107 echo $ECHO_N "(cached) $ECHO_C" >&6
9109 @@ -8528,43 +9134,39 @@ unsigned long long ll = 1844674407370955
9112 rm -f conftest.$ac_objext
9113 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9114 - (eval $ac_compile) 2>conftest.er1
9115 +if { (ac_try="$ac_compile"
9116 +case "(($ac_try" in
9117 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9118 + *) ac_try_echo=$ac_try;;
9120 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9121 + (eval "$ac_compile") 2>conftest.er1
9123 grep -v '^ *+' conftest.er1 >conftest.err
9125 cat conftest.err >&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 - (exit $ac_status); } &&
9128 - { ac_try='test -z "$ac_c_werror_flag"
9129 - || test ! -s conftest.err'
9130 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 - (eval $ac_try) 2>&5
9133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 - (exit $ac_status); }; } &&
9135 - { ac_try='test -s conftest.$ac_objext'
9136 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 - (eval $ac_try) 2>&5
9139 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 - (exit $ac_status); }; }; then
9141 + (exit $ac_status); } && {
9142 + test -z "$ac_c_werror_flag" ||
9143 + test ! -s conftest.err
9144 + } && test -s conftest.$ac_objext; then
9145 bfd_cv_has_long_long=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.$ac_ext >&5
9150 -bfd_cv_has_long_long=no
9151 + bfd_cv_has_long_long=no
9153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9155 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9158 -echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9159 -echo "${ECHO_T}$bfd_cv_has_long_long" >&6
9160 +{ echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9161 +echo "${ECHO_T}$bfd_cv_has_long_long" >&6; }
9162 if test $bfd_cv_has_long_long = yes; then
9163 BFD_HOST_LONG_LONG=1
9164 - echo "$as_me:$LINENO: checking for long long" >&5
9165 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9166 + { echo "$as_me:$LINENO: checking for long long" >&5
9167 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9168 if test "${ac_cv_type_long_long+set}" = set; then
9169 echo $ECHO_N "(cached) $ECHO_C" >&6
9171 @@ -8575,61 +9177,57 @@ cat confdefs.h >>conftest.$ac_ext
9172 cat >>conftest.$ac_ext <<_ACEOF
9173 /* end confdefs.h. */
9174 $ac_includes_default
9175 +typedef long long ac__type_new_;
9179 -if ((long long *) 0)
9180 +if ((ac__type_new_ *) 0)
9182 -if (sizeof (long long))
9183 +if (sizeof (ac__type_new_))
9189 rm -f conftest.$ac_objext
9190 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9191 - (eval $ac_compile) 2>conftest.er1
9192 +if { (ac_try="$ac_compile"
9193 +case "(($ac_try" in
9194 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9195 + *) ac_try_echo=$ac_try;;
9197 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9198 + (eval "$ac_compile") 2>conftest.er1
9200 grep -v '^ *+' conftest.er1 >conftest.err
9202 cat conftest.err >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 - (exit $ac_status); } &&
9205 - { ac_try='test -z "$ac_c_werror_flag"
9206 - || test ! -s conftest.err'
9207 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9208 - (eval $ac_try) 2>&5
9210 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 - (exit $ac_status); }; } &&
9212 - { ac_try='test -s conftest.$ac_objext'
9213 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9214 - (eval $ac_try) 2>&5
9216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 - (exit $ac_status); }; }; then
9218 + (exit $ac_status); } && {
9219 + test -z "$ac_c_werror_flag" ||
9220 + test ! -s conftest.err
9221 + } && test -s conftest.$ac_objext; then
9222 ac_cv_type_long_long=yes
9224 echo "$as_me: failed program was:" >&5
9225 sed 's/^/| /' conftest.$ac_ext >&5
9227 -ac_cv_type_long_long=no
9228 + ac_cv_type_long_long=no
9230 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9232 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9234 -echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9235 -echo "${ECHO_T}$ac_cv_type_long_long" >&6
9236 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9237 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9239 -echo "$as_me:$LINENO: checking size of long long" >&5
9240 -echo $ECHO_N "checking size of long long... $ECHO_C" >&6
9241 +# The cast to long int works around a bug in the HP C Compiler
9242 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9243 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9244 +# This bug is HP SR number 8606223364.
9245 +{ echo "$as_me:$LINENO: checking size of long long" >&5
9246 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9247 if test "${ac_cv_sizeof_long_long+set}" = set; then
9248 echo $ECHO_N "(cached) $ECHO_C" >&6
9250 - if test "$ac_cv_type_long_long" = yes; then
9251 - # The cast to unsigned long works around a bug in the HP C Compiler
9252 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9253 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9254 - # This bug is HP SR number 8606223364.
9255 if test "$cross_compiling" = yes; then
9256 # Depending upon the size, compute the lo and hi bounds.
9257 cat >conftest.$ac_ext <<_ACEOF
9258 @@ -8639,10 +9237,11 @@ cat confdefs.h >>conftest.$ac_ext
9259 cat >>conftest.$ac_ext <<_ACEOF
9260 /* end confdefs.h. */
9261 $ac_includes_default
9262 + typedef long long ac__type_sizeof_;
9266 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
9267 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9271 @@ -8650,27 +9249,22 @@ test_array [0] = 0
9274 rm -f conftest.$ac_objext
9275 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9276 - (eval $ac_compile) 2>conftest.er1
9277 +if { (ac_try="$ac_compile"
9278 +case "(($ac_try" in
9279 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9280 + *) ac_try_echo=$ac_try;;
9282 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9283 + (eval "$ac_compile") 2>conftest.er1
9285 grep -v '^ *+' conftest.er1 >conftest.err
9287 cat conftest.err >&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 - (exit $ac_status); } &&
9290 - { ac_try='test -z "$ac_c_werror_flag"
9291 - || test ! -s conftest.err'
9292 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9293 - (eval $ac_try) 2>&5
9295 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 - (exit $ac_status); }; } &&
9297 - { ac_try='test -s conftest.$ac_objext'
9298 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9299 - (eval $ac_try) 2>&5
9301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 - (exit $ac_status); }; }; then
9303 + (exit $ac_status); } && {
9304 + test -z "$ac_c_werror_flag" ||
9305 + test ! -s conftest.err
9306 + } && test -s conftest.$ac_objext; then
9309 cat >conftest.$ac_ext <<_ACEOF
9310 @@ -8680,10 +9274,11 @@ cat confdefs.h >>conftest.$ac_ext
9311 cat >>conftest.$ac_ext <<_ACEOF
9312 /* end confdefs.h. */
9313 $ac_includes_default
9314 + typedef long long ac__type_sizeof_;
9318 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9319 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9323 @@ -8691,56 +9286,53 @@ test_array [0] = 0
9326 rm -f conftest.$ac_objext
9327 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9328 - (eval $ac_compile) 2>conftest.er1
9329 +if { (ac_try="$ac_compile"
9330 +case "(($ac_try" in
9331 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9332 + *) ac_try_echo=$ac_try;;
9334 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9335 + (eval "$ac_compile") 2>conftest.er1
9337 grep -v '^ *+' conftest.er1 >conftest.err
9339 cat conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 - (exit $ac_status); } &&
9342 - { ac_try='test -z "$ac_c_werror_flag"
9343 - || test ! -s conftest.err'
9344 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9345 - (eval $ac_try) 2>&5
9347 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 - (exit $ac_status); }; } &&
9349 - { ac_try='test -s conftest.$ac_objext'
9350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9351 - (eval $ac_try) 2>&5
9353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 - (exit $ac_status); }; }; then
9355 + (exit $ac_status); } && {
9356 + test -z "$ac_c_werror_flag" ||
9357 + test ! -s conftest.err
9358 + } && test -s conftest.$ac_objext; then
9359 ac_hi=$ac_mid; break
9361 echo "$as_me: failed program was:" >&5
9362 sed 's/^/| /' conftest.$ac_ext >&5
9364 -ac_lo=`expr $ac_mid + 1`
9365 - if test $ac_lo -le $ac_mid; then
9369 - ac_mid=`expr 2 '*' $ac_mid + 1`
9370 + ac_lo=`expr $ac_mid + 1`
9371 + if test $ac_lo -le $ac_mid; then
9375 + ac_mid=`expr 2 '*' $ac_mid + 1`
9377 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9379 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9382 echo "$as_me: failed program was:" >&5
9383 sed 's/^/| /' conftest.$ac_ext >&5
9385 -cat >conftest.$ac_ext <<_ACEOF
9386 + cat >conftest.$ac_ext <<_ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9392 $ac_includes_default
9393 + typedef long long ac__type_sizeof_;
9397 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
9398 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9402 @@ -8748,27 +9340,22 @@ test_array [0] = 0
9405 rm -f conftest.$ac_objext
9406 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9407 - (eval $ac_compile) 2>conftest.er1
9408 +if { (ac_try="$ac_compile"
9409 +case "(($ac_try" in
9410 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9411 + *) ac_try_echo=$ac_try;;
9413 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9414 + (eval "$ac_compile") 2>conftest.er1
9416 grep -v '^ *+' conftest.er1 >conftest.err
9418 cat conftest.err >&5
9419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9420 - (exit $ac_status); } &&
9421 - { ac_try='test -z "$ac_c_werror_flag"
9422 - || test ! -s conftest.err'
9423 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9424 - (eval $ac_try) 2>&5
9426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 - (exit $ac_status); }; } &&
9428 - { ac_try='test -s conftest.$ac_objext'
9429 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430 - (eval $ac_try) 2>&5
9432 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 - (exit $ac_status); }; }; then
9434 + (exit $ac_status); } && {
9435 + test -z "$ac_c_werror_flag" ||
9436 + test ! -s conftest.err
9437 + } && test -s conftest.$ac_objext; then
9440 cat >conftest.$ac_ext <<_ACEOF
9441 @@ -8778,10 +9365,11 @@ cat confdefs.h >>conftest.$ac_ext
9442 cat >>conftest.$ac_ext <<_ACEOF
9443 /* end confdefs.h. */
9444 $ac_includes_default
9445 + typedef long long ac__type_sizeof_;
9449 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
9450 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9454 @@ -8789,50 +9377,48 @@ test_array [0] = 0
9457 rm -f conftest.$ac_objext
9458 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9459 - (eval $ac_compile) 2>conftest.er1
9460 +if { (ac_try="$ac_compile"
9461 +case "(($ac_try" in
9462 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9463 + *) ac_try_echo=$ac_try;;
9465 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9466 + (eval "$ac_compile") 2>conftest.er1
9468 grep -v '^ *+' conftest.er1 >conftest.err
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 - (exit $ac_status); } &&
9473 - { ac_try='test -z "$ac_c_werror_flag"
9474 - || test ! -s conftest.err'
9475 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476 - (eval $ac_try) 2>&5
9478 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479 - (exit $ac_status); }; } &&
9480 - { ac_try='test -s conftest.$ac_objext'
9481 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 - (eval $ac_try) 2>&5
9484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 - (exit $ac_status); }; }; then
9486 + (exit $ac_status); } && {
9487 + test -z "$ac_c_werror_flag" ||
9488 + test ! -s conftest.err
9489 + } && test -s conftest.$ac_objext; then
9490 ac_lo=$ac_mid; break
9492 echo "$as_me: failed program was:" >&5
9493 sed 's/^/| /' conftest.$ac_ext >&5
9495 -ac_hi=`expr '(' $ac_mid ')' - 1`
9496 - if test $ac_mid -le $ac_hi; then
9500 - ac_mid=`expr 2 '*' $ac_mid`
9501 + ac_hi=`expr '(' $ac_mid ')' - 1`
9502 + if test $ac_mid -le $ac_hi; then
9506 + ac_mid=`expr 2 '*' $ac_mid`
9508 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9510 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9513 echo "$as_me: failed program was:" >&5
9514 sed 's/^/| /' conftest.$ac_ext >&5
9519 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9521 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9523 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9525 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9526 # Binary search between lo and hi bounds.
9527 while test "x$ac_lo" != "x$ac_hi"; do
9528 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9529 @@ -8843,10 +9429,11 @@ cat confdefs.h >>conftest.$ac_ext
9530 cat >>conftest.$ac_ext <<_ACEOF
9531 /* end confdefs.h. */
9532 $ac_includes_default
9533 + typedef long long ac__type_sizeof_;
9537 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9538 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9542 @@ -8854,52 +9441,45 @@ test_array [0] = 0
9545 rm -f conftest.$ac_objext
9546 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9547 - (eval $ac_compile) 2>conftest.er1
9548 +if { (ac_try="$ac_compile"
9549 +case "(($ac_try" in
9550 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9551 + *) ac_try_echo=$ac_try;;
9553 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9554 + (eval "$ac_compile") 2>conftest.er1
9556 grep -v '^ *+' conftest.er1 >conftest.err
9558 cat conftest.err >&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 - (exit $ac_status); } &&
9561 - { ac_try='test -z "$ac_c_werror_flag"
9562 - || test ! -s conftest.err'
9563 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564 - (eval $ac_try) 2>&5
9566 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 - (exit $ac_status); }; } &&
9568 - { ac_try='test -s conftest.$ac_objext'
9569 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 - (eval $ac_try) 2>&5
9572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 - (exit $ac_status); }; }; then
9574 + (exit $ac_status); } && {
9575 + test -z "$ac_c_werror_flag" ||
9576 + test ! -s conftest.err
9577 + } && test -s conftest.$ac_objext; then
9580 echo "$as_me: failed program was:" >&5
9581 sed 's/^/| /' conftest.$ac_ext >&5
9583 -ac_lo=`expr '(' $ac_mid ')' + 1`
9584 + ac_lo=`expr '(' $ac_mid ')' + 1`
9586 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9588 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9591 ?*) ac_cv_sizeof_long_long=$ac_lo;;
9592 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9593 +'') if test "$ac_cv_type_long_long" = yes; then
9594 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9595 See \`config.log' for more details." >&5
9596 -echo "$as_me: error: cannot compute sizeof (long long), 77
9597 +echo "$as_me: error: cannot compute sizeof (long long)
9598 See \`config.log' for more details." >&2;}
9599 - { (exit 1); exit 1; }; } ;;
9600 + { (exit 77); exit 77; }; }
9602 + ac_cv_sizeof_long_long=0
9606 - if test "$cross_compiling" = yes; then
9607 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9608 -See \`config.log' for more details." >&5
9609 -echo "$as_me: error: cannot run test program while cross compiling
9610 -See \`config.log' for more details." >&2;}
9611 - { (exit 1); exit 1; }; }
9613 cat >conftest.$ac_ext <<_ACEOF
9616 @@ -8907,8 +9487,9 @@ cat confdefs.h >>conftest.$ac_ext
9617 cat >>conftest.$ac_ext <<_ACEOF
9618 /* end confdefs.h. */
9619 $ac_includes_default
9620 -long longval () { return (long) (sizeof (long long)); }
9621 -unsigned long ulongval () { return (long) (sizeof (long long)); }
9622 + typedef long long ac__type_sizeof_;
9623 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9624 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9628 @@ -8917,35 +9498,44 @@ main ()
9630 FILE *f = fopen ("conftest.val", "w");
9633 - if (((long) (sizeof (long long))) < 0)
9635 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9637 - long i = longval ();
9638 - if (i != ((long) (sizeof (long long))))
9640 + long int i = longval ();
9641 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9643 fprintf (f, "%ld\n", i);
9647 - unsigned long i = ulongval ();
9648 - if (i != ((long) (sizeof (long long))))
9650 + unsigned long int i = ulongval ();
9651 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9653 fprintf (f, "%lu\n", i);
9655 - exit (ferror (f) || fclose (f) != 0);
9656 + return ferror (f) || fclose (f) != 0;
9662 rm -f conftest$ac_exeext
9663 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9664 - (eval $ac_link) 2>&5
9665 +if { (ac_try="$ac_link"
9666 +case "(($ac_try" in
9667 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668 + *) ac_try_echo=$ac_try;;
9670 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671 + (eval "$ac_link") 2>&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9675 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9676 - (eval $ac_try) 2>&5
9677 + { (case "(($ac_try" in
9678 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9679 + *) ac_try_echo=$ac_try;;
9681 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9682 + (eval "$ac_try") 2>&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 (exit $ac_status); }; }; then
9686 @@ -8956,22 +9546,25 @@ echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9690 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9691 +if test "$ac_cv_type_long_long" = yes; then
9692 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9693 See \`config.log' for more details." >&5
9694 -echo "$as_me: error: cannot compute sizeof (long long), 77
9695 +echo "$as_me: error: cannot compute sizeof (long long)
9696 See \`config.log' for more details." >&2;}
9697 - { (exit 1); exit 1; }; }
9699 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9700 + { (exit 77); exit 77; }; }
9702 + ac_cv_sizeof_long_long=0
9705 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9709 - ac_cv_sizeof_long_long=0
9712 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9713 -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9714 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9715 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9719 cat >>confdefs.h <<_ACEOF
9720 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9722 @@ -8979,8 +9572,8 @@ _ACEOF
9726 -echo "$as_me:$LINENO: checking for long" >&5
9727 -echo $ECHO_N "checking for long... $ECHO_C" >&6
9728 +{ echo "$as_me:$LINENO: checking for long" >&5
9729 +echo $ECHO_N "checking for long... $ECHO_C" >&6; }
9730 if test "${ac_cv_type_long+set}" = set; then
9731 echo $ECHO_N "(cached) $ECHO_C" >&6
9733 @@ -8991,61 +9584,57 @@ cat confdefs.h >>conftest.$ac_ext
9734 cat >>conftest.$ac_ext <<_ACEOF
9735 /* end confdefs.h. */
9736 $ac_includes_default
9737 +typedef long ac__type_new_;
9742 +if ((ac__type_new_ *) 0)
9745 +if (sizeof (ac__type_new_))
9751 rm -f conftest.$ac_objext
9752 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9753 - (eval $ac_compile) 2>conftest.er1
9754 +if { (ac_try="$ac_compile"
9755 +case "(($ac_try" in
9756 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9757 + *) ac_try_echo=$ac_try;;
9759 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 + (eval "$ac_compile") 2>conftest.er1
9762 grep -v '^ *+' conftest.er1 >conftest.err
9764 cat conftest.err >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 - (exit $ac_status); } &&
9767 - { ac_try='test -z "$ac_c_werror_flag"
9768 - || test ! -s conftest.err'
9769 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9770 - (eval $ac_try) 2>&5
9772 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 - (exit $ac_status); }; } &&
9774 - { ac_try='test -s conftest.$ac_objext'
9775 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 - (eval $ac_try) 2>&5
9778 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 - (exit $ac_status); }; }; then
9780 + (exit $ac_status); } && {
9781 + test -z "$ac_c_werror_flag" ||
9782 + test ! -s conftest.err
9783 + } && test -s conftest.$ac_objext; then
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9790 + ac_cv_type_long=no
9792 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9794 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9796 -echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9797 -echo "${ECHO_T}$ac_cv_type_long" >&6
9798 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9799 +echo "${ECHO_T}$ac_cv_type_long" >&6; }
9801 -echo "$as_me:$LINENO: checking size of long" >&5
9802 -echo $ECHO_N "checking size of long... $ECHO_C" >&6
9803 +# The cast to long int works around a bug in the HP C Compiler
9804 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9805 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9806 +# This bug is HP SR number 8606223364.
9807 +{ echo "$as_me:$LINENO: checking size of long" >&5
9808 +echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
9809 if test "${ac_cv_sizeof_long+set}" = set; then
9810 echo $ECHO_N "(cached) $ECHO_C" >&6
9812 - if test "$ac_cv_type_long" = yes; then
9813 - # The cast to unsigned long works around a bug in the HP C Compiler
9814 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9815 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9816 - # This bug is HP SR number 8606223364.
9817 if test "$cross_compiling" = yes; then
9818 # Depending upon the size, compute the lo and hi bounds.
9819 cat >conftest.$ac_ext <<_ACEOF
9820 @@ -9055,10 +9644,11 @@ cat confdefs.h >>conftest.$ac_ext
9821 cat >>conftest.$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 $ac_includes_default
9824 + typedef long ac__type_sizeof_;
9828 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9829 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9833 @@ -9066,27 +9656,22 @@ test_array [0] = 0
9836 rm -f conftest.$ac_objext
9837 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9838 - (eval $ac_compile) 2>conftest.er1
9839 +if { (ac_try="$ac_compile"
9840 +case "(($ac_try" in
9841 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9842 + *) ac_try_echo=$ac_try;;
9844 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9845 + (eval "$ac_compile") 2>conftest.er1
9847 grep -v '^ *+' conftest.er1 >conftest.err
9849 cat conftest.err >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 - (exit $ac_status); } &&
9852 - { ac_try='test -z "$ac_c_werror_flag"
9853 - || test ! -s conftest.err'
9854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 - (eval $ac_try) 2>&5
9857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 - (exit $ac_status); }; } &&
9859 - { ac_try='test -s conftest.$ac_objext'
9860 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9861 - (eval $ac_try) 2>&5
9863 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 - (exit $ac_status); }; }; then
9865 + (exit $ac_status); } && {
9866 + test -z "$ac_c_werror_flag" ||
9867 + test ! -s conftest.err
9868 + } && test -s conftest.$ac_objext; then
9871 cat >conftest.$ac_ext <<_ACEOF
9872 @@ -9096,10 +9681,11 @@ cat confdefs.h >>conftest.$ac_ext
9873 cat >>conftest.$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875 $ac_includes_default
9876 + typedef long ac__type_sizeof_;
9880 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9881 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9885 @@ -9107,56 +9693,53 @@ test_array [0] = 0
9888 rm -f conftest.$ac_objext
9889 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9890 - (eval $ac_compile) 2>conftest.er1
9891 +if { (ac_try="$ac_compile"
9892 +case "(($ac_try" in
9893 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9894 + *) ac_try_echo=$ac_try;;
9896 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9897 + (eval "$ac_compile") 2>conftest.er1
9899 grep -v '^ *+' conftest.er1 >conftest.err
9901 cat conftest.err >&5
9902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9903 - (exit $ac_status); } &&
9904 - { ac_try='test -z "$ac_c_werror_flag"
9905 - || test ! -s conftest.err'
9906 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9907 - (eval $ac_try) 2>&5
9909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 - (exit $ac_status); }; } &&
9911 - { ac_try='test -s conftest.$ac_objext'
9912 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9913 - (eval $ac_try) 2>&5
9915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 - (exit $ac_status); }; }; then
9917 + (exit $ac_status); } && {
9918 + test -z "$ac_c_werror_flag" ||
9919 + test ! -s conftest.err
9920 + } && test -s conftest.$ac_objext; then
9921 ac_hi=$ac_mid; break
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 -ac_lo=`expr $ac_mid + 1`
9927 - if test $ac_lo -le $ac_mid; then
9931 - ac_mid=`expr 2 '*' $ac_mid + 1`
9932 + ac_lo=`expr $ac_mid + 1`
9933 + if test $ac_lo -le $ac_mid; then
9937 + ac_mid=`expr 2 '*' $ac_mid + 1`
9939 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9941 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9944 echo "$as_me: failed program was:" >&5
9945 sed 's/^/| /' conftest.$ac_ext >&5
9947 -cat >conftest.$ac_ext <<_ACEOF
9948 + cat >conftest.$ac_ext <<_ACEOF
9951 cat confdefs.h >>conftest.$ac_ext
9952 cat >>conftest.$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9954 $ac_includes_default
9955 + typedef long ac__type_sizeof_;
9959 -static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9960 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9964 @@ -9164,27 +9747,22 @@ test_array [0] = 0
9967 rm -f conftest.$ac_objext
9968 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9969 - (eval $ac_compile) 2>conftest.er1
9970 +if { (ac_try="$ac_compile"
9971 +case "(($ac_try" in
9972 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9973 + *) ac_try_echo=$ac_try;;
9975 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9976 + (eval "$ac_compile") 2>conftest.er1
9978 grep -v '^ *+' conftest.er1 >conftest.err
9980 cat conftest.err >&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 - (exit $ac_status); } &&
9983 - { ac_try='test -z "$ac_c_werror_flag"
9984 - || test ! -s conftest.err'
9985 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9986 - (eval $ac_try) 2>&5
9988 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 - (exit $ac_status); }; } &&
9990 - { ac_try='test -s conftest.$ac_objext'
9991 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9992 - (eval $ac_try) 2>&5
9994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9995 - (exit $ac_status); }; }; then
9996 + (exit $ac_status); } && {
9997 + test -z "$ac_c_werror_flag" ||
9998 + test ! -s conftest.err
9999 + } && test -s conftest.$ac_objext; then
10002 cat >conftest.$ac_ext <<_ACEOF
10003 @@ -9194,10 +9772,11 @@ cat confdefs.h >>conftest.$ac_ext
10004 cat >>conftest.$ac_ext <<_ACEOF
10005 /* end confdefs.h. */
10006 $ac_includes_default
10007 + typedef long ac__type_sizeof_;
10011 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10012 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10016 @@ -9205,50 +9784,48 @@ test_array [0] = 0
10019 rm -f conftest.$ac_objext
10020 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10021 - (eval $ac_compile) 2>conftest.er1
10022 +if { (ac_try="$ac_compile"
10023 +case "(($ac_try" in
10024 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025 + *) ac_try_echo=$ac_try;;
10027 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028 + (eval "$ac_compile") 2>conftest.er1
10030 grep -v '^ *+' conftest.er1 >conftest.err
10032 cat conftest.err >&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 - (exit $ac_status); } &&
10035 - { ac_try='test -z "$ac_c_werror_flag"
10036 - || test ! -s conftest.err'
10037 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 - (eval $ac_try) 2>&5
10040 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 - (exit $ac_status); }; } &&
10042 - { ac_try='test -s conftest.$ac_objext'
10043 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044 - (eval $ac_try) 2>&5
10046 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 - (exit $ac_status); }; }; then
10048 + (exit $ac_status); } && {
10049 + test -z "$ac_c_werror_flag" ||
10050 + test ! -s conftest.err
10051 + } && test -s conftest.$ac_objext; then
10052 ac_lo=$ac_mid; break
10054 echo "$as_me: failed program was:" >&5
10055 sed 's/^/| /' conftest.$ac_ext >&5
10057 -ac_hi=`expr '(' $ac_mid ')' - 1`
10058 - if test $ac_mid -le $ac_hi; then
10062 - ac_mid=`expr 2 '*' $ac_mid`
10063 + ac_hi=`expr '(' $ac_mid ')' - 1`
10064 + if test $ac_mid -le $ac_hi; then
10068 + ac_mid=`expr 2 '*' $ac_mid`
10070 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10072 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10075 echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10081 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10083 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10085 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10087 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10088 # Binary search between lo and hi bounds.
10089 while test "x$ac_lo" != "x$ac_hi"; do
10090 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10091 @@ -9259,10 +9836,11 @@ cat confdefs.h >>conftest.$ac_ext
10092 cat >>conftest.$ac_ext <<_ACEOF
10093 /* end confdefs.h. */
10094 $ac_includes_default
10095 + typedef long ac__type_sizeof_;
10099 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10100 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10104 @@ -9270,52 +9848,45 @@ test_array [0] = 0
10107 rm -f conftest.$ac_objext
10108 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10109 - (eval $ac_compile) 2>conftest.er1
10110 +if { (ac_try="$ac_compile"
10111 +case "(($ac_try" in
10112 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10113 + *) ac_try_echo=$ac_try;;
10115 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10116 + (eval "$ac_compile") 2>conftest.er1
10118 grep -v '^ *+' conftest.er1 >conftest.err
10120 cat conftest.err >&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 - (exit $ac_status); } &&
10123 - { ac_try='test -z "$ac_c_werror_flag"
10124 - || test ! -s conftest.err'
10125 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10126 - (eval $ac_try) 2>&5
10128 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 - (exit $ac_status); }; } &&
10130 - { ac_try='test -s conftest.$ac_objext'
10131 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10132 - (eval $ac_try) 2>&5
10134 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10135 - (exit $ac_status); }; }; then
10136 + (exit $ac_status); } && {
10137 + test -z "$ac_c_werror_flag" ||
10138 + test ! -s conftest.err
10139 + } && test -s conftest.$ac_objext; then
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 -ac_lo=`expr '(' $ac_mid ')' + 1`
10146 + ac_lo=`expr '(' $ac_mid ')' + 1`
10148 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10150 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10153 ?*) ac_cv_sizeof_long=$ac_lo;;
10154 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10155 +'') if test "$ac_cv_type_long" = yes; then
10156 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10157 See \`config.log' for more details." >&5
10158 -echo "$as_me: error: cannot compute sizeof (long), 77
10159 +echo "$as_me: error: cannot compute sizeof (long)
10160 See \`config.log' for more details." >&2;}
10161 - { (exit 1); exit 1; }; } ;;
10162 + { (exit 77); exit 77; }; }
10164 + ac_cv_sizeof_long=0
10168 - if test "$cross_compiling" = yes; then
10169 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10170 -See \`config.log' for more details." >&5
10171 -echo "$as_me: error: cannot run test program while cross compiling
10172 -See \`config.log' for more details." >&2;}
10173 - { (exit 1); exit 1; }; }
10175 cat >conftest.$ac_ext <<_ACEOF
10178 @@ -9323,8 +9894,9 @@ cat confdefs.h >>conftest.$ac_ext
10179 cat >>conftest.$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10181 $ac_includes_default
10182 -long longval () { return (long) (sizeof (long)); }
10183 -unsigned long ulongval () { return (long) (sizeof (long)); }
10184 + typedef long ac__type_sizeof_;
10185 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10186 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10188 #include <stdlib.h>
10190 @@ -9333,35 +9905,44 @@ main ()
10192 FILE *f = fopen ("conftest.val", "w");
10195 - if (((long) (sizeof (long))) < 0)
10197 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10199 - long i = longval ();
10200 - if (i != ((long) (sizeof (long))))
10202 + long int i = longval ();
10203 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10205 fprintf (f, "%ld\n", i);
10209 - unsigned long i = ulongval ();
10210 - if (i != ((long) (sizeof (long))))
10212 + unsigned long int i = ulongval ();
10213 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10215 fprintf (f, "%lu\n", i);
10217 - exit (ferror (f) || fclose (f) != 0);
10218 + return ferror (f) || fclose (f) != 0;
10224 rm -f conftest$ac_exeext
10225 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10226 - (eval $ac_link) 2>&5
10227 +if { (ac_try="$ac_link"
10228 +case "(($ac_try" in
10229 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10230 + *) ac_try_echo=$ac_try;;
10232 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10233 + (eval "$ac_link") 2>&5
10235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10237 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10238 - (eval $ac_try) 2>&5
10239 + { (case "(($ac_try" in
10240 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10241 + *) ac_try_echo=$ac_try;;
10243 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10244 + (eval "$ac_try") 2>&5
10246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247 (exit $ac_status); }; }; then
10248 @@ -9372,22 +9953,25 @@ echo "$as_me: failed program was:" >&5
10249 sed 's/^/| /' conftest.$ac_ext >&5
10251 ( exit $ac_status )
10252 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10253 +if test "$ac_cv_type_long" = yes; then
10254 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10255 See \`config.log' for more details." >&5
10256 -echo "$as_me: error: cannot compute sizeof (long), 77
10257 +echo "$as_me: error: cannot compute sizeof (long)
10258 See \`config.log' for more details." >&2;}
10259 - { (exit 1); exit 1; }; }
10261 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10262 + { (exit 77); exit 77; }; }
10264 + ac_cv_sizeof_long=0
10267 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10271 - ac_cv_sizeof_long=0
10274 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10275 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10276 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10277 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
10281 cat >>confdefs.h <<_ACEOF
10282 #define SIZEOF_LONG $ac_cv_sizeof_long
10284 @@ -9428,8 +10012,8 @@ fi
10285 if test "x$cross_compiling" = "xno"; then
10286 EXEEXT_FOR_BUILD='$(EXEEXT)'
10288 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10289 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
10290 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10291 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
10292 if test "${bfd_cv_build_exeext+set}" = set; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 @@ -9446,8 +10030,8 @@ else
10297 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
10299 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10300 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
10301 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10302 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
10303 EXEEXT_FOR_BUILD=""
10304 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
10306 @@ -9462,18 +10046,19 @@ fi
10307 for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
10309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10310 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10311 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10312 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10313 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10314 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10315 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10316 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10317 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10320 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10321 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10322 +ac_res=`eval echo '${'$as_ac_Header'}'`
10323 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10324 +echo "${ECHO_T}$ac_res" >&6; }
10326 # Is the header compilable?
10327 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10328 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10329 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10330 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10331 cat >conftest.$ac_ext <<_ACEOF
10334 @@ -9484,41 +10069,37 @@ $ac_includes_default
10335 #include <$ac_header>
10337 rm -f conftest.$ac_objext
10338 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10339 - (eval $ac_compile) 2>conftest.er1
10340 +if { (ac_try="$ac_compile"
10341 +case "(($ac_try" in
10342 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10343 + *) ac_try_echo=$ac_try;;
10345 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 + (eval "$ac_compile") 2>conftest.er1
10348 grep -v '^ *+' conftest.er1 >conftest.err
10350 cat conftest.err >&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 - (exit $ac_status); } &&
10353 - { ac_try='test -z "$ac_c_werror_flag"
10354 - || test ! -s conftest.err'
10355 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10356 - (eval $ac_try) 2>&5
10358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 - (exit $ac_status); }; } &&
10360 - { ac_try='test -s conftest.$ac_objext'
10361 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362 - (eval $ac_try) 2>&5
10364 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 - (exit $ac_status); }; }; then
10366 + (exit $ac_status); } && {
10367 + test -z "$ac_c_werror_flag" ||
10368 + test ! -s conftest.err
10369 + } && test -s conftest.$ac_objext; then
10370 ac_header_compiler=yes
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.$ac_ext >&5
10375 -ac_header_compiler=no
10376 + ac_header_compiler=no
10378 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10379 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10380 -echo "${ECHO_T}$ac_header_compiler" >&6
10382 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10383 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10384 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10386 # Is the header present?
10387 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10388 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10389 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10390 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10391 cat >conftest.$ac_ext <<_ACEOF
10394 @@ -9527,24 +10108,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10395 /* end confdefs.h. */
10396 #include <$ac_header>
10398 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10399 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10400 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10401 +case "(($ac_try" in
10402 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10403 + *) ac_try_echo=$ac_try;;
10405 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10406 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10408 grep -v '^ *+' conftest.er1 >conftest.err
10410 cat conftest.err >&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 - (exit $ac_status); } >/dev/null; then
10413 - if test -s conftest.err; then
10414 - ac_cpp_err=$ac_c_preproc_warn_flag
10415 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10422 -if test -z "$ac_cpp_err"; then
10423 + (exit $ac_status); } >/dev/null && {
10424 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10425 + test ! -s conftest.err
10427 ac_header_preproc=yes
10429 echo "$as_me: failed program was:" >&5
10430 @@ -9552,9 +10131,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10432 ac_header_preproc=no
10435 rm -f conftest.err conftest.$ac_ext
10436 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10437 -echo "${ECHO_T}$ac_header_preproc" >&6
10438 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10439 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10441 # So? What about this header?
10442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10443 @@ -9578,25 +10158,19 @@ echo "$as_me: WARNING: $ac_header: s
10444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10445 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10446 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10449 -## ------------------------------------------ ##
10450 -## Report this to the AC_PACKAGE_NAME lists. ##
10451 -## ------------------------------------------ ##
10454 - sed "s/^/$as_me: WARNING: /" >&2
10458 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10459 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10460 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10461 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10462 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10463 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 eval "$as_ac_Header=\$ac_header_preproc"
10468 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10469 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10470 +ac_res=`eval echo '${'$as_ac_Header'}'`
10471 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10472 +echo "${ECHO_T}$ac_res" >&6; }
10475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10476 @@ -9614,18 +10188,19 @@ done
10477 for ac_header in fcntl.h sys/file.h sys/time.h
10479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10480 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10481 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10482 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10483 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10484 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10485 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10486 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10487 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10491 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10492 +ac_res=`eval echo '${'$as_ac_Header'}'`
10493 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10494 +echo "${ECHO_T}$ac_res" >&6; }
10496 # Is the header compilable?
10497 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10498 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10499 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10500 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10501 cat >conftest.$ac_ext <<_ACEOF
10504 @@ -9636,41 +10211,37 @@ $ac_includes_default
10505 #include <$ac_header>
10507 rm -f conftest.$ac_objext
10508 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10509 - (eval $ac_compile) 2>conftest.er1
10510 +if { (ac_try="$ac_compile"
10511 +case "(($ac_try" in
10512 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10513 + *) ac_try_echo=$ac_try;;
10515 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10516 + (eval "$ac_compile") 2>conftest.er1
10518 grep -v '^ *+' conftest.er1 >conftest.err
10520 cat conftest.err >&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 - (exit $ac_status); } &&
10523 - { ac_try='test -z "$ac_c_werror_flag"
10524 - || test ! -s conftest.err'
10525 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526 - (eval $ac_try) 2>&5
10528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 - (exit $ac_status); }; } &&
10530 - { ac_try='test -s conftest.$ac_objext'
10531 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10532 - (eval $ac_try) 2>&5
10534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 - (exit $ac_status); }; }; then
10536 + (exit $ac_status); } && {
10537 + test -z "$ac_c_werror_flag" ||
10538 + test ! -s conftest.err
10539 + } && test -s conftest.$ac_objext; then
10540 ac_header_compiler=yes
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10545 -ac_header_compiler=no
10546 + ac_header_compiler=no
10548 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10549 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10550 -echo "${ECHO_T}$ac_header_compiler" >&6
10552 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10553 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10554 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10556 # Is the header present?
10557 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10558 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10559 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10560 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10561 cat >conftest.$ac_ext <<_ACEOF
10564 @@ -9679,24 +10250,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 #include <$ac_header>
10568 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10569 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10570 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10571 +case "(($ac_try" in
10572 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10573 + *) ac_try_echo=$ac_try;;
10575 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10576 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10578 grep -v '^ *+' conftest.er1 >conftest.err
10580 cat conftest.err >&5
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 - (exit $ac_status); } >/dev/null; then
10583 - if test -s conftest.err; then
10584 - ac_cpp_err=$ac_c_preproc_warn_flag
10585 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10592 -if test -z "$ac_cpp_err"; then
10593 + (exit $ac_status); } >/dev/null && {
10594 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10595 + test ! -s conftest.err
10597 ac_header_preproc=yes
10599 echo "$as_me: failed program was:" >&5
10600 @@ -9704,9 +10273,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10602 ac_header_preproc=no
10605 rm -f conftest.err conftest.$ac_ext
10606 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10607 -echo "${ECHO_T}$ac_header_preproc" >&6
10608 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10609 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10611 # So? What about this header?
10612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10613 @@ -9730,25 +10300,19 @@ echo "$as_me: WARNING: $ac_header: s
10614 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10615 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10616 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10619 -## ------------------------------------------ ##
10620 -## Report this to the AC_PACKAGE_NAME lists. ##
10621 -## ------------------------------------------ ##
10624 - sed "s/^/$as_me: WARNING: /" >&2
10628 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10629 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10630 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10631 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10632 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10633 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10634 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 eval "$as_ac_Header=\$ac_header_preproc"
10638 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10639 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10640 +ac_res=`eval echo '${'$as_ac_Header'}'`
10641 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10642 +echo "${ECHO_T}$ac_res" >&6; }
10645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10646 @@ -9760,8 +10324,8 @@ fi
10650 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10651 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10652 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10653 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
10654 if test "${ac_cv_header_time+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 @@ -9785,38 +10349,34 @@ return 0;
10660 rm -f conftest.$ac_objext
10661 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10662 - (eval $ac_compile) 2>conftest.er1
10663 +if { (ac_try="$ac_compile"
10664 +case "(($ac_try" in
10665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10666 + *) ac_try_echo=$ac_try;;
10668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10669 + (eval "$ac_compile") 2>conftest.er1
10671 grep -v '^ *+' conftest.er1 >conftest.err
10673 cat conftest.err >&5
10674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675 - (exit $ac_status); } &&
10676 - { ac_try='test -z "$ac_c_werror_flag"
10677 - || test ! -s conftest.err'
10678 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10679 - (eval $ac_try) 2>&5
10681 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682 - (exit $ac_status); }; } &&
10683 - { ac_try='test -s conftest.$ac_objext'
10684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10685 - (eval $ac_try) 2>&5
10687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10688 - (exit $ac_status); }; }; then
10689 + (exit $ac_status); } && {
10690 + test -z "$ac_c_werror_flag" ||
10691 + test ! -s conftest.err
10692 + } && test -s conftest.$ac_objext; then
10693 ac_cv_header_time=yes
10695 echo "$as_me: failed program was:" >&5
10696 sed 's/^/| /' conftest.$ac_ext >&5
10698 -ac_cv_header_time=no
10699 + ac_cv_header_time=no
10701 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10703 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10705 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10706 -echo "${ECHO_T}$ac_cv_header_time" >&6
10707 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10708 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
10709 if test $ac_cv_header_time = yes; then
10711 cat >>confdefs.h <<\_ACEOF
10712 @@ -9833,9 +10393,9 @@ fi
10713 ac_header_dirent=no
10714 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
10715 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10716 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10717 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10718 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10719 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10720 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
10721 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10724 cat >conftest.$ac_ext <<_ACEOF
10725 @@ -9857,38 +10417,35 @@ return 0;
10728 rm -f conftest.$ac_objext
10729 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10730 - (eval $ac_compile) 2>conftest.er1
10731 +if { (ac_try="$ac_compile"
10732 +case "(($ac_try" in
10733 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10734 + *) ac_try_echo=$ac_try;;
10736 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 + (eval "$ac_compile") 2>conftest.er1
10739 grep -v '^ *+' conftest.er1 >conftest.err
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 - (exit $ac_status); } &&
10744 - { ac_try='test -z "$ac_c_werror_flag"
10745 - || test ! -s conftest.err'
10746 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10747 - (eval $ac_try) 2>&5
10749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750 - (exit $ac_status); }; } &&
10751 - { ac_try='test -s conftest.$ac_objext'
10752 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10753 - (eval $ac_try) 2>&5
10755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10756 - (exit $ac_status); }; }; then
10757 + (exit $ac_status); } && {
10758 + test -z "$ac_c_werror_flag" ||
10759 + test ! -s conftest.err
10760 + } && test -s conftest.$ac_objext; then
10761 eval "$as_ac_Header=yes"
10763 echo "$as_me: failed program was:" >&5
10764 sed 's/^/| /' conftest.$ac_ext >&5
10766 -eval "$as_ac_Header=no"
10767 + eval "$as_ac_Header=no"
10769 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10771 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10773 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10774 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10775 +ac_res=`eval echo '${'$as_ac_Header'}'`
10776 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10777 +echo "${ECHO_T}$ac_res" >&6; }
10778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10779 cat >>confdefs.h <<_ACEOF
10780 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10781 @@ -9900,13 +10457,12 @@ fi
10783 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10784 if test $ac_header_dirent = dirent.h; then
10785 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10786 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10787 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10788 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10789 if test "${ac_cv_search_opendir+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10792 ac_func_search_save_LIBS=$LIBS
10793 -ac_cv_search_opendir=no
10794 cat >conftest.$ac_ext <<_ACEOF
10797 @@ -9914,126 +10470,83 @@ cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 -/* Override any gcc2 internal prototype to avoid an error. */
10802 +/* Override any GCC internal prototype to avoid an error.
10803 + Use char because int might match the return type of a GCC
10804 + builtin and then its argument prototype would still apply. */
10808 -/* We use char because int might match the return type of a gcc2
10809 - builtin and then its argument prototype would still apply. */
10815 +return opendir ();
10820 -rm -f conftest.$ac_objext conftest$ac_exeext
10821 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10822 - (eval $ac_link) 2>conftest.er1
10823 +for ac_lib in '' dir; do
10824 + if test -z "$ac_lib"; then
10825 + ac_res="none required"
10828 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10830 + rm -f conftest.$ac_objext conftest$ac_exeext
10831 +if { (ac_try="$ac_link"
10832 +case "(($ac_try" in
10833 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10834 + *) ac_try_echo=$ac_try;;
10836 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10837 + (eval "$ac_link") 2>conftest.er1
10839 grep -v '^ *+' conftest.er1 >conftest.err
10841 cat conftest.err >&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 - (exit $ac_status); } &&
10844 - { ac_try='test -z "$ac_c_werror_flag"
10845 - || test ! -s conftest.err'
10846 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10847 - (eval $ac_try) 2>&5
10849 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10850 - (exit $ac_status); }; } &&
10851 - { ac_try='test -s conftest$ac_exeext'
10852 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853 - (eval $ac_try) 2>&5
10855 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 - (exit $ac_status); }; }; then
10857 - ac_cv_search_opendir="none required"
10858 + (exit $ac_status); } && {
10859 + test -z "$ac_c_werror_flag" ||
10860 + test ! -s conftest.err
10861 + } && test -s conftest$ac_exeext &&
10862 + $as_test_x conftest$ac_exeext; then
10863 + ac_cv_search_opendir=$ac_res
10865 echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.$ac_ext >&5
10869 -rm -f conftest.err conftest.$ac_objext \
10870 - conftest$ac_exeext conftest.$ac_ext
10871 -if test "$ac_cv_search_opendir" = no; then
10872 - for ac_lib in dir; do
10873 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10874 - cat >conftest.$ac_ext <<_ACEOF
10877 -cat confdefs.h >>conftest.$ac_ext
10878 -cat >>conftest.$ac_ext <<_ACEOF
10879 -/* end confdefs.h. */
10881 -/* Override any gcc2 internal prototype to avoid an error. */
10882 -#ifdef __cplusplus
10885 -/* We use char because int might match the return type of a gcc2
10886 - builtin and then its argument prototype would still apply. */
10896 -rm -f conftest.$ac_objext conftest$ac_exeext
10897 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10898 - (eval $ac_link) 2>conftest.er1
10900 - grep -v '^ *+' conftest.er1 >conftest.err
10901 - rm -f conftest.er1
10902 - cat conftest.err >&5
10903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 - (exit $ac_status); } &&
10905 - { ac_try='test -z "$ac_c_werror_flag"
10906 - || test ! -s conftest.err'
10907 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10908 - (eval $ac_try) 2>&5
10910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10911 - (exit $ac_status); }; } &&
10912 - { ac_try='test -s conftest$ac_exeext'
10913 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10914 - (eval $ac_try) 2>&5
10916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 - (exit $ac_status); }; }; then
10918 - ac_cv_search_opendir="-l$ac_lib"
10921 - echo "$as_me: failed program was:" >&5
10922 -sed 's/^/| /' conftest.$ac_ext >&5
10925 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10926 + conftest$ac_exeext
10927 + if test "${ac_cv_search_opendir+set}" = set; then
10930 -rm -f conftest.err conftest.$ac_objext \
10931 - conftest$ac_exeext conftest.$ac_ext
10934 +if test "${ac_cv_search_opendir+set}" = set; then
10937 + ac_cv_search_opendir=no
10939 +rm conftest.$ac_ext
10940 LIBS=$ac_func_search_save_LIBS
10942 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10943 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
10944 -if test "$ac_cv_search_opendir" != no; then
10945 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10946 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10947 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
10948 +ac_res=$ac_cv_search_opendir
10949 +if test "$ac_res" != no; then
10950 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10955 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10956 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10957 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10958 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10959 if test "${ac_cv_search_opendir+set}" = set; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10962 ac_func_search_save_LIBS=$LIBS
10963 -ac_cv_search_opendir=no
10964 cat >conftest.$ac_ext <<_ACEOF
10967 @@ -10041,122 +10554,80 @@ cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10971 -/* Override any gcc2 internal prototype to avoid an error. */
10972 +/* Override any GCC internal prototype to avoid an error.
10973 + Use char because int might match the return type of a GCC
10974 + builtin and then its argument prototype would still apply. */
10978 -/* We use char because int might match the return type of a gcc2
10979 - builtin and then its argument prototype would still apply. */
10985 +return opendir ();
10990 -rm -f conftest.$ac_objext conftest$ac_exeext
10991 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10992 - (eval $ac_link) 2>conftest.er1
10993 +for ac_lib in '' x; do
10994 + if test -z "$ac_lib"; then
10995 + ac_res="none required"
10998 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11000 + rm -f conftest.$ac_objext conftest$ac_exeext
11001 +if { (ac_try="$ac_link"
11002 +case "(($ac_try" in
11003 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11004 + *) ac_try_echo=$ac_try;;
11006 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11007 + (eval "$ac_link") 2>conftest.er1
11009 grep -v '^ *+' conftest.er1 >conftest.err
11011 cat conftest.err >&5
11012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11013 - (exit $ac_status); } &&
11014 - { ac_try='test -z "$ac_c_werror_flag"
11015 - || test ! -s conftest.err'
11016 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11017 - (eval $ac_try) 2>&5
11019 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 - (exit $ac_status); }; } &&
11021 - { ac_try='test -s conftest$ac_exeext'
11022 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11023 - (eval $ac_try) 2>&5
11025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11026 - (exit $ac_status); }; }; then
11027 - ac_cv_search_opendir="none required"
11028 + (exit $ac_status); } && {
11029 + test -z "$ac_c_werror_flag" ||
11030 + test ! -s conftest.err
11031 + } && test -s conftest$ac_exeext &&
11032 + $as_test_x conftest$ac_exeext; then
11033 + ac_cv_search_opendir=$ac_res
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.$ac_ext >&5
11039 -rm -f conftest.err conftest.$ac_objext \
11040 - conftest$ac_exeext conftest.$ac_ext
11041 -if test "$ac_cv_search_opendir" = no; then
11042 - for ac_lib in x; do
11043 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11044 - cat >conftest.$ac_ext <<_ACEOF
11047 -cat confdefs.h >>conftest.$ac_ext
11048 -cat >>conftest.$ac_ext <<_ACEOF
11049 -/* end confdefs.h. */
11051 -/* Override any gcc2 internal prototype to avoid an error. */
11052 -#ifdef __cplusplus
11055 -/* We use char because int might match the return type of a gcc2
11056 - builtin and then its argument prototype would still apply. */
11066 -rm -f conftest.$ac_objext conftest$ac_exeext
11067 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11068 - (eval $ac_link) 2>conftest.er1
11070 - grep -v '^ *+' conftest.er1 >conftest.err
11071 - rm -f conftest.er1
11072 - cat conftest.err >&5
11073 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 - (exit $ac_status); } &&
11075 - { ac_try='test -z "$ac_c_werror_flag"
11076 - || test ! -s conftest.err'
11077 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11078 - (eval $ac_try) 2>&5
11080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 - (exit $ac_status); }; } &&
11082 - { ac_try='test -s conftest$ac_exeext'
11083 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11084 - (eval $ac_try) 2>&5
11086 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 - (exit $ac_status); }; }; then
11088 - ac_cv_search_opendir="-l$ac_lib"
11091 - echo "$as_me: failed program was:" >&5
11092 -sed 's/^/| /' conftest.$ac_ext >&5
11095 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11096 + conftest$ac_exeext
11097 + if test "${ac_cv_search_opendir+set}" = set; then
11100 -rm -f conftest.err conftest.$ac_objext \
11101 - conftest$ac_exeext conftest.$ac_ext
11104 +if test "${ac_cv_search_opendir+set}" = set; then
11107 + ac_cv_search_opendir=no
11109 +rm conftest.$ac_ext
11110 LIBS=$ac_func_search_save_LIBS
11112 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11113 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
11114 -if test "$ac_cv_search_opendir" != no; then
11115 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11116 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11117 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
11118 +ac_res=$ac_cv_search_opendir
11119 +if test "$ac_res" != no; then
11120 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11126 -echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11127 -echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
11128 +{ echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11129 +echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6; }
11130 if test "${gcc_cv_header_string+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 @@ -10177,38 +10648,34 @@ main ()
11136 rm -f conftest.$ac_objext
11137 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11138 - (eval $ac_compile) 2>conftest.er1
11139 +if { (ac_try="$ac_compile"
11140 +case "(($ac_try" in
11141 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11142 + *) ac_try_echo=$ac_try;;
11144 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11145 + (eval "$ac_compile") 2>conftest.er1
11147 grep -v '^ *+' conftest.er1 >conftest.err
11149 cat conftest.err >&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 - (exit $ac_status); } &&
11152 - { ac_try='test -z "$ac_c_werror_flag"
11153 - || test ! -s conftest.err'
11154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11155 - (eval $ac_try) 2>&5
11157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11158 - (exit $ac_status); }; } &&
11159 - { ac_try='test -s conftest.$ac_objext'
11160 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11161 - (eval $ac_try) 2>&5
11163 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 - (exit $ac_status); }; }; then
11165 + (exit $ac_status); } && {
11166 + test -z "$ac_c_werror_flag" ||
11167 + test ! -s conftest.err
11168 + } && test -s conftest.$ac_objext; then
11169 gcc_cv_header_string=yes
11171 echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11174 -gcc_cv_header_string=no
11175 + gcc_cv_header_string=no
11177 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11179 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11181 -echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11182 -echo "${ECHO_T}$gcc_cv_header_string" >&6
11183 +{ echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11184 +echo "${ECHO_T}$gcc_cv_header_string" >&6; }
11185 if test $gcc_cv_header_string = yes; then
11187 cat >>confdefs.h <<\_ACEOF
11188 @@ -10227,9 +10694,9 @@ fi
11189 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
11191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11192 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11193 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11194 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11195 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11196 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11197 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11198 echo $ECHO_N "(cached) $ECHO_C" >&6
11200 cat >conftest.$ac_ext <<_ACEOF
11201 @@ -10255,68 +10722,60 @@ cat >>conftest.$ac_ext <<_ACEOF
11205 -/* Override any gcc2 internal prototype to avoid an error. */
11206 +/* Override any GCC internal prototype to avoid an error.
11207 + Use char because int might match the return type of a GCC
11208 + builtin and then its argument prototype would still apply. */
11213 -/* We use char because int might match the return type of a gcc2
11214 - builtin and then its argument prototype would still apply. */
11216 /* The GNU C library defines this for functions which it implements
11217 to always fail with ENOSYS. Some functions are actually named
11218 something starting with __ and the normal name is an alias. */
11219 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11220 +#if defined __stub_$ac_func || defined __stub___$ac_func
11223 -char (*f) () = $ac_func;
11225 -#ifdef __cplusplus
11232 -return f != $ac_func;
11233 +return $ac_func ();
11238 rm -f conftest.$ac_objext conftest$ac_exeext
11239 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11240 - (eval $ac_link) 2>conftest.er1
11241 +if { (ac_try="$ac_link"
11242 +case "(($ac_try" in
11243 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11244 + *) ac_try_echo=$ac_try;;
11246 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11247 + (eval "$ac_link") 2>conftest.er1
11249 grep -v '^ *+' conftest.er1 >conftest.err
11251 cat conftest.err >&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 - (exit $ac_status); } &&
11254 - { ac_try='test -z "$ac_c_werror_flag"
11255 - || test ! -s conftest.err'
11256 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 - (eval $ac_try) 2>&5
11259 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 - (exit $ac_status); }; } &&
11261 - { ac_try='test -s conftest$ac_exeext'
11262 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 - (eval $ac_try) 2>&5
11265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 - (exit $ac_status); }; }; then
11267 + (exit $ac_status); } && {
11268 + test -z "$ac_c_werror_flag" ||
11269 + test ! -s conftest.err
11270 + } && test -s conftest$ac_exeext &&
11271 + $as_test_x conftest$ac_exeext; then
11272 eval "$as_ac_var=yes"
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11277 -eval "$as_ac_var=no"
11278 + eval "$as_ac_var=no"
11280 -rm -f conftest.err conftest.$ac_objext \
11282 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11283 conftest$ac_exeext conftest.$ac_ext
11285 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11286 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11287 +ac_res=`eval echo '${'$as_ac_var'}'`
11288 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11289 +echo "${ECHO_T}$ac_res" >&6; }
11290 if test `eval echo '${'$as_ac_var'}'` = yes; then
11291 cat >>confdefs.h <<_ACEOF
11292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11293 @@ -10329,9 +10788,9 @@ done
11294 for ac_func in strtoull
11296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11297 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11298 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11299 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11300 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11301 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11302 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 cat >conftest.$ac_ext <<_ACEOF
11306 @@ -10357,68 +10816,60 @@ cat >>conftest.$ac_ext <<_ACEOF
11310 -/* Override any gcc2 internal prototype to avoid an error. */
11311 +/* Override any GCC internal prototype to avoid an error.
11312 + Use char because int might match the return type of a GCC
11313 + builtin and then its argument prototype would still apply. */
11318 -/* We use char because int might match the return type of a gcc2
11319 - builtin and then its argument prototype would still apply. */
11321 /* The GNU C library defines this for functions which it implements
11322 to always fail with ENOSYS. Some functions are actually named
11323 something starting with __ and the normal name is an alias. */
11324 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11325 +#if defined __stub_$ac_func || defined __stub___$ac_func
11328 -char (*f) () = $ac_func;
11330 -#ifdef __cplusplus
11337 -return f != $ac_func;
11338 +return $ac_func ();
11343 rm -f conftest.$ac_objext conftest$ac_exeext
11344 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11345 - (eval $ac_link) 2>conftest.er1
11346 +if { (ac_try="$ac_link"
11347 +case "(($ac_try" in
11348 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11349 + *) ac_try_echo=$ac_try;;
11351 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11352 + (eval "$ac_link") 2>conftest.er1
11354 grep -v '^ *+' conftest.er1 >conftest.err
11356 cat conftest.err >&5
11357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11358 - (exit $ac_status); } &&
11359 - { ac_try='test -z "$ac_c_werror_flag"
11360 - || test ! -s conftest.err'
11361 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11362 - (eval $ac_try) 2>&5
11364 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11365 - (exit $ac_status); }; } &&
11366 - { ac_try='test -s conftest$ac_exeext'
11367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368 - (eval $ac_try) 2>&5
11370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11371 - (exit $ac_status); }; }; then
11372 + (exit $ac_status); } && {
11373 + test -z "$ac_c_werror_flag" ||
11374 + test ! -s conftest.err
11375 + } && test -s conftest$ac_exeext &&
11376 + $as_test_x conftest$ac_exeext; then
11377 eval "$as_ac_var=yes"
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.$ac_ext >&5
11382 -eval "$as_ac_var=no"
11383 + eval "$as_ac_var=no"
11385 -rm -f conftest.err conftest.$ac_objext \
11387 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11388 conftest$ac_exeext conftest.$ac_ext
11390 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11391 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11392 +ac_res=`eval echo '${'$as_ac_var'}'`
11393 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11394 +echo "${ECHO_T}$ac_res" >&6; }
11395 if test `eval echo '${'$as_ac_var'}'` = yes; then
11396 cat >>confdefs.h <<_ACEOF
11397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11398 @@ -10428,8 +10879,8 @@ fi
11402 -echo "$as_me:$LINENO: checking whether basename is declared" >&5
11403 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11404 +{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
11405 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
11406 if test "${ac_cv_have_decl_basename+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11409 @@ -10444,7 +10895,7 @@ int
11413 - char *p = (char *) basename;
11418 @@ -10452,38 +10903,34 @@ main ()
11421 rm -f conftest.$ac_objext
11422 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11423 - (eval $ac_compile) 2>conftest.er1
11424 +if { (ac_try="$ac_compile"
11425 +case "(($ac_try" in
11426 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11427 + *) ac_try_echo=$ac_try;;
11429 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11430 + (eval "$ac_compile") 2>conftest.er1
11432 grep -v '^ *+' conftest.er1 >conftest.err
11434 cat conftest.err >&5
11435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 - (exit $ac_status); } &&
11437 - { ac_try='test -z "$ac_c_werror_flag"
11438 - || test ! -s conftest.err'
11439 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11440 - (eval $ac_try) 2>&5
11442 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 - (exit $ac_status); }; } &&
11444 - { ac_try='test -s conftest.$ac_objext'
11445 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11446 - (eval $ac_try) 2>&5
11448 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 - (exit $ac_status); }; }; then
11450 + (exit $ac_status); } && {
11451 + test -z "$ac_c_werror_flag" ||
11452 + test ! -s conftest.err
11453 + } && test -s conftest.$ac_objext; then
11454 ac_cv_have_decl_basename=yes
11456 echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11459 -ac_cv_have_decl_basename=no
11460 + ac_cv_have_decl_basename=no
11462 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11464 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11466 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11467 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11468 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11469 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
11470 if test $ac_cv_have_decl_basename = yes; then
11472 cat >>confdefs.h <<_ACEOF
11473 @@ -10500,8 +10947,8 @@ _ACEOF
11477 -echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11478 -echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
11479 +{ echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11480 +echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6; }
11481 if test "${ac_cv_have_decl_ftello+set}" = set; then
11482 echo $ECHO_N "(cached) $ECHO_C" >&6
11484 @@ -10516,7 +10963,7 @@ int
11488 - char *p = (char *) ftello;
11493 @@ -10524,38 +10971,34 @@ main ()
11496 rm -f conftest.$ac_objext
11497 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11498 - (eval $ac_compile) 2>conftest.er1
11499 +if { (ac_try="$ac_compile"
11500 +case "(($ac_try" in
11501 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11502 + *) ac_try_echo=$ac_try;;
11504 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11505 + (eval "$ac_compile") 2>conftest.er1
11507 grep -v '^ *+' conftest.er1 >conftest.err
11509 cat conftest.err >&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 - (exit $ac_status); } &&
11512 - { ac_try='test -z "$ac_c_werror_flag"
11513 - || test ! -s conftest.err'
11514 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11515 - (eval $ac_try) 2>&5
11517 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 - (exit $ac_status); }; } &&
11519 - { ac_try='test -s conftest.$ac_objext'
11520 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 - (eval $ac_try) 2>&5
11523 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 - (exit $ac_status); }; }; then
11525 + (exit $ac_status); } && {
11526 + test -z "$ac_c_werror_flag" ||
11527 + test ! -s conftest.err
11528 + } && test -s conftest.$ac_objext; then
11529 ac_cv_have_decl_ftello=yes
11531 echo "$as_me: failed program was:" >&5
11532 sed 's/^/| /' conftest.$ac_ext >&5
11534 -ac_cv_have_decl_ftello=no
11535 + ac_cv_have_decl_ftello=no
11537 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11539 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11541 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11542 -echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
11543 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11544 +echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6; }
11545 if test $ac_cv_have_decl_ftello = yes; then
11547 cat >>confdefs.h <<_ACEOF
11548 @@ -10572,8 +11015,8 @@ _ACEOF
11552 -echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11553 -echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
11554 +{ echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11555 +echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6; }
11556 if test "${ac_cv_have_decl_ftello64+set}" = set; then
11557 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 @@ -10588,7 +11031,7 @@ int
11563 - char *p = (char *) ftello64;
11568 @@ -10596,38 +11039,34 @@ main ()
11571 rm -f conftest.$ac_objext
11572 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11573 - (eval $ac_compile) 2>conftest.er1
11574 +if { (ac_try="$ac_compile"
11575 +case "(($ac_try" in
11576 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11577 + *) ac_try_echo=$ac_try;;
11579 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11580 + (eval "$ac_compile") 2>conftest.er1
11582 grep -v '^ *+' conftest.er1 >conftest.err
11584 cat conftest.err >&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 - (exit $ac_status); } &&
11587 - { ac_try='test -z "$ac_c_werror_flag"
11588 - || test ! -s conftest.err'
11589 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 - (eval $ac_try) 2>&5
11592 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 - (exit $ac_status); }; } &&
11594 - { ac_try='test -s conftest.$ac_objext'
11595 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11596 - (eval $ac_try) 2>&5
11598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11599 - (exit $ac_status); }; }; then
11600 + (exit $ac_status); } && {
11601 + test -z "$ac_c_werror_flag" ||
11602 + test ! -s conftest.err
11603 + } && test -s conftest.$ac_objext; then
11604 ac_cv_have_decl_ftello64=yes
11606 echo "$as_me: failed program was:" >&5
11607 sed 's/^/| /' conftest.$ac_ext >&5
11609 -ac_cv_have_decl_ftello64=no
11610 + ac_cv_have_decl_ftello64=no
11612 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11614 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11616 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11617 -echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
11618 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11619 +echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6; }
11620 if test $ac_cv_have_decl_ftello64 = yes; then
11622 cat >>confdefs.h <<_ACEOF
11623 @@ -10644,8 +11083,8 @@ _ACEOF
11627 -echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11628 -echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
11629 +{ echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11630 +echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6; }
11631 if test "${ac_cv_have_decl_fseeko+set}" = set; then
11632 echo $ECHO_N "(cached) $ECHO_C" >&6
11634 @@ -10660,7 +11099,7 @@ int
11638 - char *p = (char *) fseeko;
11643 @@ -10668,38 +11107,34 @@ main ()
11646 rm -f conftest.$ac_objext
11647 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11648 - (eval $ac_compile) 2>conftest.er1
11649 +if { (ac_try="$ac_compile"
11650 +case "(($ac_try" in
11651 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11652 + *) ac_try_echo=$ac_try;;
11654 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11655 + (eval "$ac_compile") 2>conftest.er1
11657 grep -v '^ *+' conftest.er1 >conftest.err
11659 cat conftest.err >&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 - (exit $ac_status); } &&
11662 - { ac_try='test -z "$ac_c_werror_flag"
11663 - || test ! -s conftest.err'
11664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 - (eval $ac_try) 2>&5
11667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 - (exit $ac_status); }; } &&
11669 - { ac_try='test -s conftest.$ac_objext'
11670 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11671 - (eval $ac_try) 2>&5
11673 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11674 - (exit $ac_status); }; }; then
11675 + (exit $ac_status); } && {
11676 + test -z "$ac_c_werror_flag" ||
11677 + test ! -s conftest.err
11678 + } && test -s conftest.$ac_objext; then
11679 ac_cv_have_decl_fseeko=yes
11681 echo "$as_me: failed program was:" >&5
11682 sed 's/^/| /' conftest.$ac_ext >&5
11684 -ac_cv_have_decl_fseeko=no
11685 + ac_cv_have_decl_fseeko=no
11687 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11691 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11692 -echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
11693 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11694 +echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6; }
11695 if test $ac_cv_have_decl_fseeko = yes; then
11697 cat >>confdefs.h <<_ACEOF
11698 @@ -10716,8 +11151,8 @@ _ACEOF
11702 -echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11703 -echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
11704 +{ echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11705 +echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6; }
11706 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 @@ -10732,7 +11167,7 @@ int
11713 - char *p = (char *) fseeko64;
11718 @@ -10740,38 +11175,34 @@ main ()
11721 rm -f conftest.$ac_objext
11722 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11723 - (eval $ac_compile) 2>conftest.er1
11724 +if { (ac_try="$ac_compile"
11725 +case "(($ac_try" in
11726 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11727 + *) ac_try_echo=$ac_try;;
11729 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11730 + (eval "$ac_compile") 2>conftest.er1
11732 grep -v '^ *+' conftest.er1 >conftest.err
11734 cat conftest.err >&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 - (exit $ac_status); } &&
11737 - { ac_try='test -z "$ac_c_werror_flag"
11738 - || test ! -s conftest.err'
11739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 - (eval $ac_try) 2>&5
11742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 - (exit $ac_status); }; } &&
11744 - { ac_try='test -s conftest.$ac_objext'
11745 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11746 - (eval $ac_try) 2>&5
11748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 - (exit $ac_status); }; }; then
11750 + (exit $ac_status); } && {
11751 + test -z "$ac_c_werror_flag" ||
11752 + test ! -s conftest.err
11753 + } && test -s conftest.$ac_objext; then
11754 ac_cv_have_decl_fseeko64=yes
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11759 -ac_cv_have_decl_fseeko64=no
11760 + ac_cv_have_decl_fseeko64=no
11762 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11764 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11766 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11767 -echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
11768 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11769 +echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6; }
11770 if test $ac_cv_have_decl_fseeko64 = yes; then
11772 cat >>confdefs.h <<_ACEOF
11773 @@ -10799,8 +11230,8 @@ _ACEOF
11777 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11778 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
11779 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11780 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
11781 if test "${ac_cv_have_decl_ffs+set}" = set; then
11782 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 @@ -10815,7 +11246,7 @@ int
11788 - char *p = (char *) ffs;
11793 @@ -10823,38 +11254,34 @@ main ()
11796 rm -f conftest.$ac_objext
11797 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11798 - (eval $ac_compile) 2>conftest.er1
11799 +if { (ac_try="$ac_compile"
11800 +case "(($ac_try" in
11801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11802 + *) ac_try_echo=$ac_try;;
11804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11805 + (eval "$ac_compile") 2>conftest.er1
11807 grep -v '^ *+' conftest.er1 >conftest.err
11809 cat conftest.err >&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 - (exit $ac_status); } &&
11812 - { ac_try='test -z "$ac_c_werror_flag"
11813 - || test ! -s conftest.err'
11814 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 - (eval $ac_try) 2>&5
11817 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 - (exit $ac_status); }; } &&
11819 - { ac_try='test -s conftest.$ac_objext'
11820 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 - (eval $ac_try) 2>&5
11823 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 - (exit $ac_status); }; }; then
11825 + (exit $ac_status); } && {
11826 + test -z "$ac_c_werror_flag" ||
11827 + test ! -s conftest.err
11828 + } && test -s conftest.$ac_objext; then
11829 ac_cv_have_decl_ffs=yes
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 -ac_cv_have_decl_ffs=no
11835 + ac_cv_have_decl_ffs=no
11837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11839 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11841 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11842 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
11843 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11844 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
11845 if test $ac_cv_have_decl_ffs = yes; then
11847 cat >>confdefs.h <<_ACEOF
11848 @@ -10871,8 +11298,8 @@ _ACEOF
11852 -echo "$as_me:$LINENO: checking whether free is declared" >&5
11853 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
11854 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
11855 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
11856 if test "${ac_cv_have_decl_free+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 @@ -10887,7 +11314,7 @@ int
11863 - char *p = (char *) free;
11868 @@ -10895,38 +11322,34 @@ main ()
11871 rm -f conftest.$ac_objext
11872 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11873 - (eval $ac_compile) 2>conftest.er1
11874 +if { (ac_try="$ac_compile"
11875 +case "(($ac_try" in
11876 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11877 + *) ac_try_echo=$ac_try;;
11879 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11880 + (eval "$ac_compile") 2>conftest.er1
11882 grep -v '^ *+' conftest.er1 >conftest.err
11884 cat conftest.err >&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 - (exit $ac_status); } &&
11887 - { ac_try='test -z "$ac_c_werror_flag"
11888 - || test ! -s conftest.err'
11889 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 - (eval $ac_try) 2>&5
11892 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 - (exit $ac_status); }; } &&
11894 - { ac_try='test -s conftest.$ac_objext'
11895 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 - (eval $ac_try) 2>&5
11898 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 - (exit $ac_status); }; }; then
11900 + (exit $ac_status); } && {
11901 + test -z "$ac_c_werror_flag" ||
11902 + test ! -s conftest.err
11903 + } && test -s conftest.$ac_objext; then
11904 ac_cv_have_decl_free=yes
11906 echo "$as_me: failed program was:" >&5
11907 sed 's/^/| /' conftest.$ac_ext >&5
11909 -ac_cv_have_decl_free=no
11910 + ac_cv_have_decl_free=no
11912 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11914 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11916 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11917 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
11918 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11919 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
11920 if test $ac_cv_have_decl_free = yes; then
11922 cat >>confdefs.h <<_ACEOF
11923 @@ -10943,8 +11366,8 @@ _ACEOF
11927 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11928 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
11929 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11930 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
11931 if test "${ac_cv_have_decl_getenv+set}" = set; then
11932 echo $ECHO_N "(cached) $ECHO_C" >&6
11934 @@ -10959,7 +11382,7 @@ int
11938 - char *p = (char *) getenv;
11943 @@ -10967,38 +11390,34 @@ main ()
11946 rm -f conftest.$ac_objext
11947 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11948 - (eval $ac_compile) 2>conftest.er1
11949 +if { (ac_try="$ac_compile"
11950 +case "(($ac_try" in
11951 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11952 + *) ac_try_echo=$ac_try;;
11954 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11955 + (eval "$ac_compile") 2>conftest.er1
11957 grep -v '^ *+' conftest.er1 >conftest.err
11959 cat conftest.err >&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 - (exit $ac_status); } &&
11962 - { ac_try='test -z "$ac_c_werror_flag"
11963 - || test ! -s conftest.err'
11964 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11965 - (eval $ac_try) 2>&5
11967 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 - (exit $ac_status); }; } &&
11969 - { ac_try='test -s conftest.$ac_objext'
11970 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 - (eval $ac_try) 2>&5
11973 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 - (exit $ac_status); }; }; then
11975 + (exit $ac_status); } && {
11976 + test -z "$ac_c_werror_flag" ||
11977 + test ! -s conftest.err
11978 + } && test -s conftest.$ac_objext; then
11979 ac_cv_have_decl_getenv=yes
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11984 -ac_cv_have_decl_getenv=no
11985 + ac_cv_have_decl_getenv=no
11987 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11989 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11991 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11992 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11993 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11994 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
11995 if test $ac_cv_have_decl_getenv = yes; then
11997 cat >>confdefs.h <<_ACEOF
11998 @@ -11015,8 +11434,8 @@ _ACEOF
12002 -echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12003 -echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
12004 +{ echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12005 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6; }
12006 if test "${ac_cv_have_decl_malloc+set}" = set; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 @@ -11031,7 +11450,7 @@ int
12013 - char *p = (char *) malloc;
12018 @@ -11039,38 +11458,34 @@ main ()
12021 rm -f conftest.$ac_objext
12022 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12023 - (eval $ac_compile) 2>conftest.er1
12024 +if { (ac_try="$ac_compile"
12025 +case "(($ac_try" in
12026 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12027 + *) ac_try_echo=$ac_try;;
12029 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12030 + (eval "$ac_compile") 2>conftest.er1
12032 grep -v '^ *+' conftest.er1 >conftest.err
12034 cat conftest.err >&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 - (exit $ac_status); } &&
12037 - { ac_try='test -z "$ac_c_werror_flag"
12038 - || test ! -s conftest.err'
12039 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12040 - (eval $ac_try) 2>&5
12042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12043 - (exit $ac_status); }; } &&
12044 - { ac_try='test -s conftest.$ac_objext'
12045 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12046 - (eval $ac_try) 2>&5
12048 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12049 - (exit $ac_status); }; }; then
12050 + (exit $ac_status); } && {
12051 + test -z "$ac_c_werror_flag" ||
12052 + test ! -s conftest.err
12053 + } && test -s conftest.$ac_objext; then
12054 ac_cv_have_decl_malloc=yes
12056 echo "$as_me: failed program was:" >&5
12057 sed 's/^/| /' conftest.$ac_ext >&5
12059 -ac_cv_have_decl_malloc=no
12060 + ac_cv_have_decl_malloc=no
12062 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12064 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12067 -echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
12068 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12069 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6; }
12070 if test $ac_cv_have_decl_malloc = yes; then
12072 cat >>confdefs.h <<_ACEOF
12073 @@ -11087,8 +11502,8 @@ _ACEOF
12077 -echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12078 -echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
12079 +{ echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12080 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6; }
12081 if test "${ac_cv_have_decl_realloc+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6
12084 @@ -11103,7 +11518,7 @@ int
12088 - char *p = (char *) realloc;
12093 @@ -11111,38 +11526,34 @@ main ()
12096 rm -f conftest.$ac_objext
12097 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12098 - (eval $ac_compile) 2>conftest.er1
12099 +if { (ac_try="$ac_compile"
12100 +case "(($ac_try" in
12101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12102 + *) ac_try_echo=$ac_try;;
12104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12105 + (eval "$ac_compile") 2>conftest.er1
12107 grep -v '^ *+' conftest.er1 >conftest.err
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 - (exit $ac_status); } &&
12112 - { ac_try='test -z "$ac_c_werror_flag"
12113 - || test ! -s conftest.err'
12114 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 - (eval $ac_try) 2>&5
12117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 - (exit $ac_status); }; } &&
12119 - { ac_try='test -s conftest.$ac_objext'
12120 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 - (eval $ac_try) 2>&5
12123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 - (exit $ac_status); }; }; then
12125 + (exit $ac_status); } && {
12126 + test -z "$ac_c_werror_flag" ||
12127 + test ! -s conftest.err
12128 + } && test -s conftest.$ac_objext; then
12129 ac_cv_have_decl_realloc=yes
12131 echo "$as_me: failed program was:" >&5
12132 sed 's/^/| /' conftest.$ac_ext >&5
12134 -ac_cv_have_decl_realloc=no
12135 + ac_cv_have_decl_realloc=no
12137 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12139 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12141 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12142 -echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
12143 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12144 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6; }
12145 if test $ac_cv_have_decl_realloc = yes; then
12147 cat >>confdefs.h <<_ACEOF
12148 @@ -11159,8 +11570,8 @@ _ACEOF
12152 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12153 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12154 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12155 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
12156 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12157 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 @@ -11175,7 +11586,7 @@ int
12163 - char *p = (char *) stpcpy;
12168 @@ -11183,38 +11594,34 @@ main ()
12171 rm -f conftest.$ac_objext
12172 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12173 - (eval $ac_compile) 2>conftest.er1
12174 +if { (ac_try="$ac_compile"
12175 +case "(($ac_try" in
12176 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12177 + *) ac_try_echo=$ac_try;;
12179 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12180 + (eval "$ac_compile") 2>conftest.er1
12182 grep -v '^ *+' conftest.er1 >conftest.err
12184 cat conftest.err >&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 - (exit $ac_status); } &&
12187 - { ac_try='test -z "$ac_c_werror_flag"
12188 - || test ! -s conftest.err'
12189 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 - (eval $ac_try) 2>&5
12192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 - (exit $ac_status); }; } &&
12194 - { ac_try='test -s conftest.$ac_objext'
12195 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 - (eval $ac_try) 2>&5
12198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 - (exit $ac_status); }; }; then
12200 + (exit $ac_status); } && {
12201 + test -z "$ac_c_werror_flag" ||
12202 + test ! -s conftest.err
12203 + } && test -s conftest.$ac_objext; then
12204 ac_cv_have_decl_stpcpy=yes
12206 echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.$ac_ext >&5
12209 -ac_cv_have_decl_stpcpy=no
12210 + ac_cv_have_decl_stpcpy=no
12212 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12214 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12216 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12217 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12218 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12219 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
12220 if test $ac_cv_have_decl_stpcpy = yes; then
12222 cat >>confdefs.h <<_ACEOF
12223 @@ -11231,8 +11638,8 @@ _ACEOF
12227 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12228 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
12229 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12230 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
12231 if test "${ac_cv_have_decl_strstr+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12234 @@ -11247,7 +11654,7 @@ int
12238 - char *p = (char *) strstr;
12243 @@ -11255,38 +11662,34 @@ main ()
12246 rm -f conftest.$ac_objext
12247 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12248 - (eval $ac_compile) 2>conftest.er1
12249 +if { (ac_try="$ac_compile"
12250 +case "(($ac_try" in
12251 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12252 + *) ac_try_echo=$ac_try;;
12254 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12255 + (eval "$ac_compile") 2>conftest.er1
12257 grep -v '^ *+' conftest.er1 >conftest.err
12259 cat conftest.err >&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 - (exit $ac_status); } &&
12262 - { ac_try='test -z "$ac_c_werror_flag"
12263 - || test ! -s conftest.err'
12264 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 - (eval $ac_try) 2>&5
12267 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 - (exit $ac_status); }; } &&
12269 - { ac_try='test -s conftest.$ac_objext'
12270 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 - (eval $ac_try) 2>&5
12273 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 - (exit $ac_status); }; }; then
12275 + (exit $ac_status); } && {
12276 + test -z "$ac_c_werror_flag" ||
12277 + test ! -s conftest.err
12278 + } && test -s conftest.$ac_objext; then
12279 ac_cv_have_decl_strstr=yes
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.$ac_ext >&5
12284 -ac_cv_have_decl_strstr=no
12285 + ac_cv_have_decl_strstr=no
12287 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12289 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12291 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12292 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
12293 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12294 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
12295 if test $ac_cv_have_decl_strstr = yes; then
12297 cat >>confdefs.h <<_ACEOF
12298 @@ -11303,8 +11706,8 @@ _ACEOF
12302 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12303 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
12304 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12305 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
12306 if test "${ac_cv_have_decl_snprintf+set}" = set; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 @@ -11319,7 +11722,7 @@ int
12313 - char *p = (char *) snprintf;
12318 @@ -11327,38 +11730,34 @@ main ()
12321 rm -f conftest.$ac_objext
12322 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12323 - (eval $ac_compile) 2>conftest.er1
12324 +if { (ac_try="$ac_compile"
12325 +case "(($ac_try" in
12326 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12327 + *) ac_try_echo=$ac_try;;
12329 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12330 + (eval "$ac_compile") 2>conftest.er1
12332 grep -v '^ *+' conftest.er1 >conftest.err
12334 cat conftest.err >&5
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 - (exit $ac_status); } &&
12337 - { ac_try='test -z "$ac_c_werror_flag"
12338 - || test ! -s conftest.err'
12339 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12340 - (eval $ac_try) 2>&5
12342 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343 - (exit $ac_status); }; } &&
12344 - { ac_try='test -s conftest.$ac_objext'
12345 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12346 - (eval $ac_try) 2>&5
12348 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 - (exit $ac_status); }; }; then
12350 + (exit $ac_status); } && {
12351 + test -z "$ac_c_werror_flag" ||
12352 + test ! -s conftest.err
12353 + } && test -s conftest.$ac_objext; then
12354 ac_cv_have_decl_snprintf=yes
12356 echo "$as_me: failed program was:" >&5
12357 sed 's/^/| /' conftest.$ac_ext >&5
12359 -ac_cv_have_decl_snprintf=no
12360 + ac_cv_have_decl_snprintf=no
12362 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12364 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12366 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12367 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
12368 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12369 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
12370 if test $ac_cv_have_decl_snprintf = yes; then
12372 cat >>confdefs.h <<_ACEOF
12373 @@ -11375,8 +11774,8 @@ _ACEOF
12377 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12378 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
12379 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12380 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
12381 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12384 @@ -11391,7 +11790,7 @@ int
12388 - char *p = (char *) vsnprintf;
12389 + (void) vsnprintf;
12393 @@ -11399,38 +11798,34 @@ main ()
12396 rm -f conftest.$ac_objext
12397 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12398 - (eval $ac_compile) 2>conftest.er1
12399 +if { (ac_try="$ac_compile"
12400 +case "(($ac_try" in
12401 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12402 + *) ac_try_echo=$ac_try;;
12404 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12405 + (eval "$ac_compile") 2>conftest.er1
12407 grep -v '^ *+' conftest.er1 >conftest.err
12409 cat conftest.err >&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 - (exit $ac_status); } &&
12412 - { ac_try='test -z "$ac_c_werror_flag"
12413 - || test ! -s conftest.err'
12414 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12415 - (eval $ac_try) 2>&5
12417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 - (exit $ac_status); }; } &&
12419 - { ac_try='test -s conftest.$ac_objext'
12420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12421 - (eval $ac_try) 2>&5
12423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 - (exit $ac_status); }; }; then
12425 + (exit $ac_status); } && {
12426 + test -z "$ac_c_werror_flag" ||
12427 + test ! -s conftest.err
12428 + } && test -s conftest.$ac_objext; then
12429 ac_cv_have_decl_vsnprintf=yes
12431 echo "$as_me: failed program was:" >&5
12432 sed 's/^/| /' conftest.$ac_ext >&5
12434 -ac_cv_have_decl_vsnprintf=no
12435 + ac_cv_have_decl_vsnprintf=no
12437 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12439 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12441 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12442 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
12443 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12444 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
12445 if test $ac_cv_have_decl_vsnprintf = yes; then
12447 cat >>confdefs.h <<_ACEOF
12448 @@ -11609,8 +12004,8 @@ if test "${target}" = "${host}"; then
12449 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
12450 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
12451 # have c_impl as a member of struct core_dumpx
12452 - echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12453 -echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
12454 + { echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12455 +echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6; }
12456 cat >conftest.$ac_ext <<_ACEOF
12459 @@ -11627,42 +12022,38 @@ struct core_dumpx c; c.c_impl = 0;
12462 rm -f conftest.$ac_objext
12463 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12464 - (eval $ac_compile) 2>conftest.er1
12465 +if { (ac_try="$ac_compile"
12466 +case "(($ac_try" in
12467 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12468 + *) ac_try_echo=$ac_try;;
12470 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12471 + (eval "$ac_compile") 2>conftest.er1
12473 grep -v '^ *+' conftest.er1 >conftest.err
12475 cat conftest.err >&5
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 - (exit $ac_status); } &&
12478 - { ac_try='test -z "$ac_c_werror_flag"
12479 - || test ! -s conftest.err'
12480 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 - (eval $ac_try) 2>&5
12483 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 - (exit $ac_status); }; } &&
12485 - { ac_try='test -s conftest.$ac_objext'
12486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12487 - (eval $ac_try) 2>&5
12489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 - (exit $ac_status); }; }; then
12491 + (exit $ac_status); } && {
12492 + test -z "$ac_c_werror_flag" ||
12493 + test ! -s conftest.err
12494 + } && test -s conftest.$ac_objext; then
12496 cat >>confdefs.h <<\_ACEOF
12497 #define HAVE_ST_C_IMPL 1
12500 - echo "$as_me:$LINENO: result: yes" >&5
12501 -echo "${ECHO_T}yes" >&6
12502 + { echo "$as_me:$LINENO: result: yes" >&5
12503 +echo "${ECHO_T}yes" >&6; }
12505 echo "$as_me: failed program was:" >&5
12506 sed 's/^/| /' conftest.$ac_ext >&5
12508 -echo "$as_me:$LINENO: result: no" >&5
12509 -echo "${ECHO_T}no" >&6
12510 + { echo "$as_me:$LINENO: result: no" >&5
12511 +echo "${ECHO_T}no" >&6; }
12513 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12515 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12517 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
12518 rs6000-*-*) COREFILE=rs6000-core.lo ;;
12519 @@ -11726,18 +12117,19 @@ rm -f conftest.err conftest.$ac_objext c
12520 for ac_header in sys/procfs.h
12522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12523 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12524 - echo "$as_me:$LINENO: checking for $ac_header" >&5
12525 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12526 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12527 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12528 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
12529 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12530 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12531 echo $ECHO_N "(cached) $ECHO_C" >&6
12533 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12534 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12535 +ac_res=`eval echo '${'$as_ac_Header'}'`
12536 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12537 +echo "${ECHO_T}$ac_res" >&6; }
12539 # Is the header compilable?
12540 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
12541 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12542 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12543 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12544 cat >conftest.$ac_ext <<_ACEOF
12547 @@ -11748,41 +12140,37 @@ $ac_includes_default
12548 #include <$ac_header>
12550 rm -f conftest.$ac_objext
12551 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12552 - (eval $ac_compile) 2>conftest.er1
12553 +if { (ac_try="$ac_compile"
12554 +case "(($ac_try" in
12555 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12556 + *) ac_try_echo=$ac_try;;
12558 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12559 + (eval "$ac_compile") 2>conftest.er1
12561 grep -v '^ *+' conftest.er1 >conftest.err
12563 cat conftest.err >&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 - (exit $ac_status); } &&
12566 - { ac_try='test -z "$ac_c_werror_flag"
12567 - || test ! -s conftest.err'
12568 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12569 - (eval $ac_try) 2>&5
12571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 - (exit $ac_status); }; } &&
12573 - { ac_try='test -s conftest.$ac_objext'
12574 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575 - (eval $ac_try) 2>&5
12577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 - (exit $ac_status); }; }; then
12579 + (exit $ac_status); } && {
12580 + test -z "$ac_c_werror_flag" ||
12581 + test ! -s conftest.err
12582 + } && test -s conftest.$ac_objext; then
12583 ac_header_compiler=yes
12585 echo "$as_me: failed program was:" >&5
12586 sed 's/^/| /' conftest.$ac_ext >&5
12588 -ac_header_compiler=no
12589 + ac_header_compiler=no
12591 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12592 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12593 -echo "${ECHO_T}$ac_header_compiler" >&6
12595 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12596 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12597 +echo "${ECHO_T}$ac_header_compiler" >&6; }
12599 # Is the header present?
12600 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
12601 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12602 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12603 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12604 cat >conftest.$ac_ext <<_ACEOF
12607 @@ -11791,24 +12179,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12609 #include <$ac_header>
12611 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12612 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12613 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12614 +case "(($ac_try" in
12615 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12616 + *) ac_try_echo=$ac_try;;
12618 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12619 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12621 grep -v '^ *+' conftest.er1 >conftest.err
12623 cat conftest.err >&5
12624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12625 - (exit $ac_status); } >/dev/null; then
12626 - if test -s conftest.err; then
12627 - ac_cpp_err=$ac_c_preproc_warn_flag
12628 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12635 -if test -z "$ac_cpp_err"; then
12636 + (exit $ac_status); } >/dev/null && {
12637 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12638 + test ! -s conftest.err
12640 ac_header_preproc=yes
12642 echo "$as_me: failed program was:" >&5
12643 @@ -11816,9 +12202,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12645 ac_header_preproc=no
12648 rm -f conftest.err conftest.$ac_ext
12649 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12650 -echo "${ECHO_T}$ac_header_preproc" >&6
12651 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12652 +echo "${ECHO_T}$ac_header_preproc" >&6; }
12654 # So? What about this header?
12655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12656 @@ -11842,25 +12229,19 @@ echo "$as_me: WARNING: $ac_header: s
12657 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12658 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12659 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12662 -## ------------------------------------------ ##
12663 -## Report this to the AC_PACKAGE_NAME lists. ##
12664 -## ------------------------------------------ ##
12667 - sed "s/^/$as_me: WARNING: /" >&2
12671 -echo "$as_me:$LINENO: checking for $ac_header" >&5
12672 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12673 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12675 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12676 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 eval "$as_ac_Header=\$ac_header_preproc"
12681 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12682 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12683 +ac_res=`eval echo '${'$as_ac_Header'}'`
12684 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12685 +echo "${ECHO_T}$ac_res" >&6; }
12688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12689 @@ -11873,8 +12254,8 @@ fi
12692 if test "$ac_cv_header_sys_procfs_h" = yes; then
12693 - echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12694 -echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
12695 + { echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12696 +echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12697 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12700 @@ -11896,36 +12277,32 @@ prstatus_t avar
12703 rm -f conftest.$ac_objext
12704 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12705 - (eval $ac_compile) 2>conftest.er1
12706 +if { (ac_try="$ac_compile"
12707 +case "(($ac_try" in
12708 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12709 + *) ac_try_echo=$ac_try;;
12711 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12712 + (eval "$ac_compile") 2>conftest.er1
12714 grep -v '^ *+' conftest.er1 >conftest.err
12716 cat conftest.err >&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 - (exit $ac_status); } &&
12719 - { ac_try='test -z "$ac_c_werror_flag"
12720 - || test ! -s conftest.err'
12721 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 - (eval $ac_try) 2>&5
12724 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 - (exit $ac_status); }; } &&
12726 - { ac_try='test -s conftest.$ac_objext'
12727 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12728 - (eval $ac_try) 2>&5
12730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12731 - (exit $ac_status); }; }; then
12732 + (exit $ac_status); } && {
12733 + test -z "$ac_c_werror_flag" ||
12734 + test ! -s conftest.err
12735 + } && test -s conftest.$ac_objext; then
12736 bfd_cv_have_sys_procfs_type_prstatus_t=yes
12738 echo "$as_me: failed program was:" >&5
12739 sed 's/^/| /' conftest.$ac_ext >&5
12741 -bfd_cv_have_sys_procfs_type_prstatus_t=no
12742 + bfd_cv_have_sys_procfs_type_prstatus_t=no
12745 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12747 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12750 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
12751 @@ -11935,11 +12312,11 @@ cat >>confdefs.h <<\_ACEOF
12755 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12756 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
12757 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12758 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
12760 - echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12761 -echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
12762 + { echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12763 +echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
12764 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 @@ -11961,36 +12338,32 @@ prstatus32_t avar
12770 rm -f conftest.$ac_objext
12771 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12772 - (eval $ac_compile) 2>conftest.er1
12773 +if { (ac_try="$ac_compile"
12774 +case "(($ac_try" in
12775 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12776 + *) ac_try_echo=$ac_try;;
12778 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12779 + (eval "$ac_compile") 2>conftest.er1
12781 grep -v '^ *+' conftest.er1 >conftest.err
12783 cat conftest.err >&5
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 - (exit $ac_status); } &&
12786 - { ac_try='test -z "$ac_c_werror_flag"
12787 - || test ! -s conftest.err'
12788 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 - (eval $ac_try) 2>&5
12791 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 - (exit $ac_status); }; } &&
12793 - { ac_try='test -s conftest.$ac_objext'
12794 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12795 - (eval $ac_try) 2>&5
12797 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 - (exit $ac_status); }; }; then
12799 + (exit $ac_status); } && {
12800 + test -z "$ac_c_werror_flag" ||
12801 + test ! -s conftest.err
12802 + } && test -s conftest.$ac_objext; then
12803 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.$ac_ext >&5
12808 -bfd_cv_have_sys_procfs_type_prstatus32_t=no
12809 + bfd_cv_have_sys_procfs_type_prstatus32_t=no
12812 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12814 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12817 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12818 @@ -12000,11 +12373,11 @@ cat >>confdefs.h <<\_ACEOF
12822 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12823 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12824 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12825 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
12827 - echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12828 -echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12829 + { echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12830 +echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12831 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12832 echo $ECHO_N "(cached) $ECHO_C" >&6
12834 @@ -12026,36 +12399,32 @@ prstatus_t avar; void* aref = (void*) &a
12837 rm -f conftest.$ac_objext
12838 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 - (eval $ac_compile) 2>conftest.er1
12840 +if { (ac_try="$ac_compile"
12841 +case "(($ac_try" in
12842 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12843 + *) ac_try_echo=$ac_try;;
12845 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12846 + (eval "$ac_compile") 2>conftest.er1
12848 grep -v '^ *+' conftest.er1 >conftest.err
12850 cat conftest.err >&5
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 - (exit $ac_status); } &&
12853 - { ac_try='test -z "$ac_c_werror_flag"
12854 - || test ! -s conftest.err'
12855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12856 - (eval $ac_try) 2>&5
12858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 - (exit $ac_status); }; } &&
12860 - { ac_try='test -s conftest.$ac_objext'
12861 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12862 - (eval $ac_try) 2>&5
12864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 - (exit $ac_status); }; }; then
12866 + (exit $ac_status); } && {
12867 + test -z "$ac_c_werror_flag" ||
12868 + test ! -s conftest.err
12869 + } && test -s conftest.$ac_objext; then
12870 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
12872 echo "$as_me: failed program was:" >&5
12873 sed 's/^/| /' conftest.$ac_ext >&5
12875 -bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12876 + bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12879 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12881 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12884 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12885 @@ -12065,11 +12434,11 @@ cat >>confdefs.h <<\_ACEOF
12889 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12890 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12891 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12892 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
12894 - echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12895 -echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12896 + { echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12897 +echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12898 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 @@ -12091,36 +12460,32 @@ prstatus32_t avar; void* aref = (void*)
12904 rm -f conftest.$ac_objext
12905 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 - (eval $ac_compile) 2>conftest.er1
12907 +if { (ac_try="$ac_compile"
12908 +case "(($ac_try" in
12909 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12910 + *) ac_try_echo=$ac_try;;
12912 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12913 + (eval "$ac_compile") 2>conftest.er1
12915 grep -v '^ *+' conftest.er1 >conftest.err
12917 cat conftest.err >&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 - (exit $ac_status); } &&
12920 - { ac_try='test -z "$ac_c_werror_flag"
12921 - || test ! -s conftest.err'
12922 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 - (eval $ac_try) 2>&5
12925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 - (exit $ac_status); }; } &&
12927 - { ac_try='test -s conftest.$ac_objext'
12928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12929 - (eval $ac_try) 2>&5
12931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12932 - (exit $ac_status); }; }; then
12933 + (exit $ac_status); } && {
12934 + test -z "$ac_c_werror_flag" ||
12935 + test ! -s conftest.err
12936 + } && test -s conftest.$ac_objext; then
12937 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.$ac_ext >&5
12942 -bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12943 + bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12946 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12948 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12951 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12952 @@ -12130,11 +12495,11 @@ cat >>confdefs.h <<\_ACEOF
12956 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12957 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12958 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12959 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
12961 - echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12962 -echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12963 + { echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12964 +echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12965 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12968 @@ -12156,36 +12521,32 @@ pstatus_t avar
12971 rm -f conftest.$ac_objext
12972 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12973 - (eval $ac_compile) 2>conftest.er1
12974 +if { (ac_try="$ac_compile"
12975 +case "(($ac_try" in
12976 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12977 + *) ac_try_echo=$ac_try;;
12979 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12980 + (eval "$ac_compile") 2>conftest.er1
12982 grep -v '^ *+' conftest.er1 >conftest.err
12984 cat conftest.err >&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 - (exit $ac_status); } &&
12987 - { ac_try='test -z "$ac_c_werror_flag"
12988 - || test ! -s conftest.err'
12989 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 - (eval $ac_try) 2>&5
12992 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 - (exit $ac_status); }; } &&
12994 - { ac_try='test -s conftest.$ac_objext'
12995 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 - (eval $ac_try) 2>&5
12998 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 - (exit $ac_status); }; }; then
13000 + (exit $ac_status); } && {
13001 + test -z "$ac_c_werror_flag" ||
13002 + test ! -s conftest.err
13003 + } && test -s conftest.$ac_objext; then
13004 bfd_cv_have_sys_procfs_type_pstatus_t=yes
13006 echo "$as_me: failed program was:" >&5
13007 sed 's/^/| /' conftest.$ac_ext >&5
13009 -bfd_cv_have_sys_procfs_type_pstatus_t=no
13010 + bfd_cv_have_sys_procfs_type_pstatus_t=no
13013 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13015 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13018 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
13019 @@ -12195,11 +12556,11 @@ cat >>confdefs.h <<\_ACEOF
13023 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13024 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
13025 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13026 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
13028 - echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13029 -echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
13030 + { echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13031 +echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13032 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
13033 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 @@ -12221,36 +12582,32 @@ pxstatus_t avar
13038 rm -f conftest.$ac_objext
13039 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13040 - (eval $ac_compile) 2>conftest.er1
13041 +if { (ac_try="$ac_compile"
13042 +case "(($ac_try" in
13043 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13044 + *) ac_try_echo=$ac_try;;
13046 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13047 + (eval "$ac_compile") 2>conftest.er1
13049 grep -v '^ *+' conftest.er1 >conftest.err
13051 cat conftest.err >&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 - (exit $ac_status); } &&
13054 - { ac_try='test -z "$ac_c_werror_flag"
13055 - || test ! -s conftest.err'
13056 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 - (eval $ac_try) 2>&5
13059 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 - (exit $ac_status); }; } &&
13061 - { ac_try='test -s conftest.$ac_objext'
13062 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 - (eval $ac_try) 2>&5
13065 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 - (exit $ac_status); }; }; then
13067 + (exit $ac_status); } && {
13068 + test -z "$ac_c_werror_flag" ||
13069 + test ! -s conftest.err
13070 + } && test -s conftest.$ac_objext; then
13071 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.$ac_ext >&5
13076 -bfd_cv_have_sys_procfs_type_pxstatus_t=no
13077 + bfd_cv_have_sys_procfs_type_pxstatus_t=no
13080 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13082 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13085 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
13086 @@ -12260,11 +12617,11 @@ cat >>confdefs.h <<\_ACEOF
13090 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13091 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
13092 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13093 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
13095 - echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13096 -echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
13097 + { echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13098 +echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
13099 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
13100 echo $ECHO_N "(cached) $ECHO_C" >&6
13102 @@ -12286,36 +12643,32 @@ pstatus32_t avar
13105 rm -f conftest.$ac_objext
13106 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13107 - (eval $ac_compile) 2>conftest.er1
13108 +if { (ac_try="$ac_compile"
13109 +case "(($ac_try" in
13110 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13111 + *) ac_try_echo=$ac_try;;
13113 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13114 + (eval "$ac_compile") 2>conftest.er1
13116 grep -v '^ *+' conftest.er1 >conftest.err
13118 cat conftest.err >&5
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 - (exit $ac_status); } &&
13121 - { ac_try='test -z "$ac_c_werror_flag"
13122 - || test ! -s conftest.err'
13123 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13124 - (eval $ac_try) 2>&5
13126 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 - (exit $ac_status); }; } &&
13128 - { ac_try='test -s conftest.$ac_objext'
13129 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13130 - (eval $ac_try) 2>&5
13132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 - (exit $ac_status); }; }; then
13134 + (exit $ac_status); } && {
13135 + test -z "$ac_c_werror_flag" ||
13136 + test ! -s conftest.err
13137 + } && test -s conftest.$ac_objext; then
13138 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
13140 echo "$as_me: failed program was:" >&5
13141 sed 's/^/| /' conftest.$ac_ext >&5
13143 -bfd_cv_have_sys_procfs_type_pstatus32_t=no
13144 + bfd_cv_have_sys_procfs_type_pstatus32_t=no
13147 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13149 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13152 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
13153 @@ -12325,11 +12678,11 @@ cat >>confdefs.h <<\_ACEOF
13157 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13158 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
13159 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13160 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
13162 - echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13163 -echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
13164 + { echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13165 +echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13166 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
13167 echo $ECHO_N "(cached) $ECHO_C" >&6
13169 @@ -12351,36 +12704,32 @@ prpsinfo_t avar
13172 rm -f conftest.$ac_objext
13173 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13174 - (eval $ac_compile) 2>conftest.er1
13175 +if { (ac_try="$ac_compile"
13176 +case "(($ac_try" in
13177 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13178 + *) ac_try_echo=$ac_try;;
13180 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13181 + (eval "$ac_compile") 2>conftest.er1
13183 grep -v '^ *+' conftest.er1 >conftest.err
13185 cat conftest.err >&5
13186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13187 - (exit $ac_status); } &&
13188 - { ac_try='test -z "$ac_c_werror_flag"
13189 - || test ! -s conftest.err'
13190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 - (eval $ac_try) 2>&5
13193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 - (exit $ac_status); }; } &&
13195 - { ac_try='test -s conftest.$ac_objext'
13196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 - (eval $ac_try) 2>&5
13199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 - (exit $ac_status); }; }; then
13201 + (exit $ac_status); } && {
13202 + test -z "$ac_c_werror_flag" ||
13203 + test ! -s conftest.err
13204 + } && test -s conftest.$ac_objext; then
13205 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.$ac_ext >&5
13210 -bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13211 + bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13214 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13216 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
13220 @@ -12390,11 +12739,11 @@ cat >>confdefs.h <<\_ACEOF
13224 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13225 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
13226 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13227 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
13229 - echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13230 -echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
13231 + { echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13232 +echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13233 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13236 @@ -12416,36 +12765,32 @@ prpsinfo32_t avar
13239 rm -f conftest.$ac_objext
13240 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13241 - (eval $ac_compile) 2>conftest.er1
13242 +if { (ac_try="$ac_compile"
13243 +case "(($ac_try" in
13244 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13245 + *) ac_try_echo=$ac_try;;
13247 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13248 + (eval "$ac_compile") 2>conftest.er1
13250 grep -v '^ *+' conftest.er1 >conftest.err
13252 cat conftest.err >&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 - (exit $ac_status); } &&
13255 - { ac_try='test -z "$ac_c_werror_flag"
13256 - || test ! -s conftest.err'
13257 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13258 - (eval $ac_try) 2>&5
13260 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 - (exit $ac_status); }; } &&
13262 - { ac_try='test -s conftest.$ac_objext'
13263 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13264 - (eval $ac_try) 2>&5
13266 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 - (exit $ac_status); }; }; then
13268 + (exit $ac_status); } && {
13269 + test -z "$ac_c_werror_flag" ||
13270 + test ! -s conftest.err
13271 + } && test -s conftest.$ac_objext; then
13272 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
13274 echo "$as_me: failed program was:" >&5
13275 sed 's/^/| /' conftest.$ac_ext >&5
13277 -bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13278 + bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13281 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13283 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13286 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
13287 @@ -12455,11 +12800,11 @@ cat >>confdefs.h <<\_ACEOF
13291 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13292 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
13293 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13294 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
13296 - echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13297 -echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
13298 + { echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13299 +echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13300 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
13301 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 @@ -12481,36 +12826,32 @@ psinfo_t avar
13306 rm -f conftest.$ac_objext
13307 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13308 - (eval $ac_compile) 2>conftest.er1
13309 +if { (ac_try="$ac_compile"
13310 +case "(($ac_try" in
13311 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13312 + *) ac_try_echo=$ac_try;;
13314 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13315 + (eval "$ac_compile") 2>conftest.er1
13317 grep -v '^ *+' conftest.er1 >conftest.err
13319 cat conftest.err >&5
13320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13321 - (exit $ac_status); } &&
13322 - { ac_try='test -z "$ac_c_werror_flag"
13323 - || test ! -s conftest.err'
13324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13325 - (eval $ac_try) 2>&5
13327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 - (exit $ac_status); }; } &&
13329 - { ac_try='test -s conftest.$ac_objext'
13330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 - (eval $ac_try) 2>&5
13333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 - (exit $ac_status); }; }; then
13335 + (exit $ac_status); } && {
13336 + test -z "$ac_c_werror_flag" ||
13337 + test ! -s conftest.err
13338 + } && test -s conftest.$ac_objext; then
13339 bfd_cv_have_sys_procfs_type_psinfo_t=yes
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.$ac_ext >&5
13344 -bfd_cv_have_sys_procfs_type_psinfo_t=no
13345 + bfd_cv_have_sys_procfs_type_psinfo_t=no
13348 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13350 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13353 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
13354 @@ -12520,11 +12861,11 @@ cat >>confdefs.h <<\_ACEOF
13358 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13359 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
13360 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13361 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
13363 - echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13364 -echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
13365 + { echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13366 +echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13367 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13370 @@ -12546,36 +12887,32 @@ psinfo32_t avar
13373 rm -f conftest.$ac_objext
13374 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13375 - (eval $ac_compile) 2>conftest.er1
13376 +if { (ac_try="$ac_compile"
13377 +case "(($ac_try" in
13378 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 + *) ac_try_echo=$ac_try;;
13381 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 + (eval "$ac_compile") 2>conftest.er1
13384 grep -v '^ *+' conftest.er1 >conftest.err
13386 cat conftest.err >&5
13387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13388 - (exit $ac_status); } &&
13389 - { ac_try='test -z "$ac_c_werror_flag"
13390 - || test ! -s conftest.err'
13391 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13392 - (eval $ac_try) 2>&5
13394 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 - (exit $ac_status); }; } &&
13396 - { ac_try='test -s conftest.$ac_objext'
13397 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398 - (eval $ac_try) 2>&5
13400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 - (exit $ac_status); }; }; then
13402 + (exit $ac_status); } && {
13403 + test -z "$ac_c_werror_flag" ||
13404 + test ! -s conftest.err
13405 + } && test -s conftest.$ac_objext; then
13406 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
13408 echo "$as_me: failed program was:" >&5
13409 sed 's/^/| /' conftest.$ac_ext >&5
13411 -bfd_cv_have_sys_procfs_type_psinfo32_t=no
13412 + bfd_cv_have_sys_procfs_type_psinfo32_t=no
13415 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13417 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13420 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
13421 @@ -12585,11 +12922,11 @@ cat >>confdefs.h <<\_ACEOF
13425 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13426 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
13427 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13428 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
13430 - echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13431 -echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
13432 + { echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13433 +echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13434 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13437 @@ -12611,36 +12948,32 @@ lwpstatus_t avar
13440 rm -f conftest.$ac_objext
13441 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13442 - (eval $ac_compile) 2>conftest.er1
13443 +if { (ac_try="$ac_compile"
13444 +case "(($ac_try" in
13445 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446 + *) ac_try_echo=$ac_try;;
13448 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13449 + (eval "$ac_compile") 2>conftest.er1
13451 grep -v '^ *+' conftest.er1 >conftest.err
13453 cat conftest.err >&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 - (exit $ac_status); } &&
13456 - { ac_try='test -z "$ac_c_werror_flag"
13457 - || test ! -s conftest.err'
13458 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13459 - (eval $ac_try) 2>&5
13461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 - (exit $ac_status); }; } &&
13463 - { ac_try='test -s conftest.$ac_objext'
13464 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 - (eval $ac_try) 2>&5
13467 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 - (exit $ac_status); }; }; then
13469 + (exit $ac_status); } && {
13470 + test -z "$ac_c_werror_flag" ||
13471 + test ! -s conftest.err
13472 + } && test -s conftest.$ac_objext; then
13473 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
13475 echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.$ac_ext >&5
13478 -bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13479 + bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13482 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13484 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13487 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
13488 @@ -12650,11 +12983,11 @@ cat >>confdefs.h <<\_ACEOF
13492 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13493 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
13494 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13495 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
13497 - echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13498 -echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
13499 + { echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13500 +echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13501 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 @@ -12676,36 +13009,32 @@ lwpxstatus_t avar
13507 rm -f conftest.$ac_objext
13508 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13509 - (eval $ac_compile) 2>conftest.er1
13510 +if { (ac_try="$ac_compile"
13511 +case "(($ac_try" in
13512 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13513 + *) ac_try_echo=$ac_try;;
13515 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13516 + (eval "$ac_compile") 2>conftest.er1
13518 grep -v '^ *+' conftest.er1 >conftest.err
13520 cat conftest.err >&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 - (exit $ac_status); } &&
13523 - { ac_try='test -z "$ac_c_werror_flag"
13524 - || test ! -s conftest.err'
13525 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13526 - (eval $ac_try) 2>&5
13528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 - (exit $ac_status); }; } &&
13530 - { ac_try='test -s conftest.$ac_objext'
13531 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 - (eval $ac_try) 2>&5
13534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 - (exit $ac_status); }; }; then
13536 + (exit $ac_status); } && {
13537 + test -z "$ac_c_werror_flag" ||
13538 + test ! -s conftest.err
13539 + } && test -s conftest.$ac_objext; then
13540 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
13542 echo "$as_me: failed program was:" >&5
13543 sed 's/^/| /' conftest.$ac_ext >&5
13545 -bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13546 + bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13549 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13551 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13554 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
13555 @@ -12715,11 +13044,11 @@ cat >>confdefs.h <<\_ACEOF
13559 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13560 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
13561 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13562 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
13564 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13565 -echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
13566 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13567 +echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6; }
13568 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13571 @@ -12741,36 +13070,32 @@ lwpstatus_t avar; void* aref = (void*) &
13574 rm -f conftest.$ac_objext
13575 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13576 - (eval $ac_compile) 2>conftest.er1
13577 +if { (ac_try="$ac_compile"
13578 +case "(($ac_try" in
13579 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13580 + *) ac_try_echo=$ac_try;;
13582 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13583 + (eval "$ac_compile") 2>conftest.er1
13585 grep -v '^ *+' conftest.er1 >conftest.err
13587 cat conftest.err >&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 - (exit $ac_status); } &&
13590 - { ac_try='test -z "$ac_c_werror_flag"
13591 - || test ! -s conftest.err'
13592 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13593 - (eval $ac_try) 2>&5
13595 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13596 - (exit $ac_status); }; } &&
13597 - { ac_try='test -s conftest.$ac_objext'
13598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13599 - (eval $ac_try) 2>&5
13601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 - (exit $ac_status); }; }; then
13603 + (exit $ac_status); } && {
13604 + test -z "$ac_c_werror_flag" ||
13605 + test ! -s conftest.err
13606 + } && test -s conftest.$ac_objext; then
13607 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13612 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13613 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13616 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13618 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13621 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
13622 @@ -12780,11 +13105,11 @@ cat >>confdefs.h <<\_ACEOF
13626 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13627 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
13628 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13629 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
13631 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13632 -echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
13633 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13634 +echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6; }
13635 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
13636 echo $ECHO_N "(cached) $ECHO_C" >&6
13638 @@ -12806,36 +13131,32 @@ lwpstatus_t avar; void* aref = (void*) &
13641 rm -f conftest.$ac_objext
13642 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13643 - (eval $ac_compile) 2>conftest.er1
13644 +if { (ac_try="$ac_compile"
13645 +case "(($ac_try" in
13646 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13647 + *) ac_try_echo=$ac_try;;
13649 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13650 + (eval "$ac_compile") 2>conftest.er1
13652 grep -v '^ *+' conftest.er1 >conftest.err
13654 cat conftest.err >&5
13655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13656 - (exit $ac_status); } &&
13657 - { ac_try='test -z "$ac_c_werror_flag"
13658 - || test ! -s conftest.err'
13659 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 - (eval $ac_try) 2>&5
13662 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 - (exit $ac_status); }; } &&
13664 - { ac_try='test -s conftest.$ac_objext'
13665 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 - (eval $ac_try) 2>&5
13668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 - (exit $ac_status); }; }; then
13670 + (exit $ac_status); } && {
13671 + test -z "$ac_c_werror_flag" ||
13672 + test ! -s conftest.err
13673 + } && test -s conftest.$ac_objext; then
13674 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.$ac_ext >&5
13679 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13680 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13683 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13685 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13688 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
13689 @@ -12845,11 +13166,11 @@ cat >>confdefs.h <<\_ACEOF
13693 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13694 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
13695 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13696 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
13698 - echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13699 -echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
13700 + { echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13701 +echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13702 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
13703 echo $ECHO_N "(cached) $ECHO_C" >&6
13705 @@ -12871,36 +13192,32 @@ win32_pstatus_t avar
13708 rm -f conftest.$ac_objext
13709 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710 - (eval $ac_compile) 2>conftest.er1
13711 +if { (ac_try="$ac_compile"
13712 +case "(($ac_try" in
13713 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13714 + *) ac_try_echo=$ac_try;;
13716 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13717 + (eval "$ac_compile") 2>conftest.er1
13719 grep -v '^ *+' conftest.er1 >conftest.err
13721 cat conftest.err >&5
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 - (exit $ac_status); } &&
13724 - { ac_try='test -z "$ac_c_werror_flag"
13725 - || test ! -s conftest.err'
13726 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13727 - (eval $ac_try) 2>&5
13729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 - (exit $ac_status); }; } &&
13731 - { ac_try='test -s conftest.$ac_objext'
13732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13733 - (eval $ac_try) 2>&5
13735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 - (exit $ac_status); }; }; then
13737 + (exit $ac_status); } && {
13738 + test -z "$ac_c_werror_flag" ||
13739 + test ! -s conftest.err
13740 + } && test -s conftest.$ac_objext; then
13741 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
13743 echo "$as_me: failed program was:" >&5
13744 sed 's/^/| /' conftest.$ac_ext >&5
13746 -bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13747 + bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13750 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13752 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13755 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
13756 @@ -12910,8 +13227,8 @@ cat >>confdefs.h <<\_ACEOF
13760 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13761 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
13762 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13763 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
13767 @@ -13070,6 +13387,7 @@ do
13768 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
13769 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13770 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
13771 + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
13772 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13773 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13774 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
13775 @@ -13389,8 +13707,8 @@ echo "$as_me: WARNING: your compiler may
13777 if test -n "$GCC" ; then
13779 - echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13780 -echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13781 + { echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13782 +echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6; }
13783 # Add more tests for gcc versions with non-working 64-bit support here.
13784 cat >conftest.$ac_ext <<_ACEOF
13786 @@ -13403,11 +13721,11 @@ _ACEOF
13787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13788 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
13790 - echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13791 -echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13792 + { echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13793 +echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6; }
13795 - echo "$as_me:$LINENO: result: no" >&5
13796 -echo "${ECHO_T}no" >&6
13797 + { echo "$as_me:$LINENO: result: no" >&5
13798 +echo "${ECHO_T}no" >&6; }
13802 @@ -13445,9 +13763,9 @@ esac
13803 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
13805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13806 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13807 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13808 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13809 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13810 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13811 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13814 cat >conftest.$ac_ext <<_ACEOF
13815 @@ -13473,68 +13791,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13819 -/* Override any gcc2 internal prototype to avoid an error. */
13820 +/* Override any GCC internal prototype to avoid an error.
13821 + Use char because int might match the return type of a GCC
13822 + builtin and then its argument prototype would still apply. */
13827 -/* We use char because int might match the return type of a gcc2
13828 - builtin and then its argument prototype would still apply. */
13830 /* The GNU C library defines this for functions which it implements
13831 to always fail with ENOSYS. Some functions are actually named
13832 something starting with __ and the normal name is an alias. */
13833 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13834 +#if defined __stub_$ac_func || defined __stub___$ac_func
13837 -char (*f) () = $ac_func;
13839 -#ifdef __cplusplus
13846 -return f != $ac_func;
13847 +return $ac_func ();
13852 rm -f conftest.$ac_objext conftest$ac_exeext
13853 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13854 - (eval $ac_link) 2>conftest.er1
13855 +if { (ac_try="$ac_link"
13856 +case "(($ac_try" in
13857 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13858 + *) ac_try_echo=$ac_try;;
13860 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13861 + (eval "$ac_link") 2>conftest.er1
13863 grep -v '^ *+' conftest.er1 >conftest.err
13865 cat conftest.err >&5
13866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13867 - (exit $ac_status); } &&
13868 - { ac_try='test -z "$ac_c_werror_flag"
13869 - || test ! -s conftest.err'
13870 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13871 - (eval $ac_try) 2>&5
13873 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13874 - (exit $ac_status); }; } &&
13875 - { ac_try='test -s conftest$ac_exeext'
13876 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13877 - (eval $ac_try) 2>&5
13879 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13880 - (exit $ac_status); }; }; then
13881 + (exit $ac_status); } && {
13882 + test -z "$ac_c_werror_flag" ||
13883 + test ! -s conftest.err
13884 + } && test -s conftest$ac_exeext &&
13885 + $as_test_x conftest$ac_exeext; then
13886 eval "$as_ac_var=yes"
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13891 -eval "$as_ac_var=no"
13892 + eval "$as_ac_var=no"
13894 -rm -f conftest.err conftest.$ac_objext \
13896 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13897 conftest$ac_exeext conftest.$ac_ext
13899 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13900 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13901 +ac_res=`eval echo '${'$as_ac_var'}'`
13902 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13903 +echo "${ECHO_T}$ac_res" >&6; }
13904 if test `eval echo '${'$as_ac_var'}'` = yes; then
13905 cat >>confdefs.h <<_ACEOF
13906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13907 @@ -13544,8 +13854,8 @@ fi
13910 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
13911 - echo "$as_me:$LINENO: checking for off_t" >&5
13912 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13913 + { echo "$as_me:$LINENO: checking for off_t" >&5
13914 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
13915 if test "${ac_cv_type_off_t+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13918 @@ -13556,61 +13866,57 @@ cat confdefs.h >>conftest.$ac_ext
13919 cat >>conftest.$ac_ext <<_ACEOF
13920 /* end confdefs.h. */
13921 $ac_includes_default
13922 +typedef off_t ac__type_new_;
13927 +if ((ac__type_new_ *) 0)
13929 -if (sizeof (off_t))
13930 +if (sizeof (ac__type_new_))
13936 rm -f conftest.$ac_objext
13937 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13938 - (eval $ac_compile) 2>conftest.er1
13939 +if { (ac_try="$ac_compile"
13940 +case "(($ac_try" in
13941 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13942 + *) ac_try_echo=$ac_try;;
13944 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13945 + (eval "$ac_compile") 2>conftest.er1
13947 grep -v '^ *+' conftest.er1 >conftest.err
13949 cat conftest.err >&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 - (exit $ac_status); } &&
13952 - { ac_try='test -z "$ac_c_werror_flag"
13953 - || test ! -s conftest.err'
13954 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 - (eval $ac_try) 2>&5
13957 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 - (exit $ac_status); }; } &&
13959 - { ac_try='test -s conftest.$ac_objext'
13960 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13961 - (eval $ac_try) 2>&5
13963 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 - (exit $ac_status); }; }; then
13965 + (exit $ac_status); } && {
13966 + test -z "$ac_c_werror_flag" ||
13967 + test ! -s conftest.err
13968 + } && test -s conftest.$ac_objext; then
13969 ac_cv_type_off_t=yes
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.$ac_ext >&5
13974 -ac_cv_type_off_t=no
13975 + ac_cv_type_off_t=no
13977 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13979 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13981 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13982 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
13983 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13984 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
13986 -echo "$as_me:$LINENO: checking size of off_t" >&5
13987 -echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
13988 +# The cast to long int works around a bug in the HP C Compiler
13989 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13990 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13991 +# This bug is HP SR number 8606223364.
13992 +{ echo "$as_me:$LINENO: checking size of off_t" >&5
13993 +echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
13994 if test "${ac_cv_sizeof_off_t+set}" = set; then
13995 echo $ECHO_N "(cached) $ECHO_C" >&6
13997 - if test "$ac_cv_type_off_t" = yes; then
13998 - # The cast to unsigned long works around a bug in the HP C Compiler
13999 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14000 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14001 - # This bug is HP SR number 8606223364.
14002 if test "$cross_compiling" = yes; then
14003 # Depending upon the size, compute the lo and hi bounds.
14004 cat >conftest.$ac_ext <<_ACEOF
14005 @@ -13620,10 +13926,11 @@ cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 $ac_includes_default
14009 + typedef off_t ac__type_sizeof_;
14013 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
14014 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14018 @@ -13631,27 +13938,22 @@ test_array [0] = 0
14021 rm -f conftest.$ac_objext
14022 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14023 - (eval $ac_compile) 2>conftest.er1
14024 +if { (ac_try="$ac_compile"
14025 +case "(($ac_try" in
14026 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14027 + *) ac_try_echo=$ac_try;;
14029 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14030 + (eval "$ac_compile") 2>conftest.er1
14032 grep -v '^ *+' conftest.er1 >conftest.err
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 - (exit $ac_status); } &&
14037 - { ac_try='test -z "$ac_c_werror_flag"
14038 - || test ! -s conftest.err'
14039 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 - (eval $ac_try) 2>&5
14042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 - (exit $ac_status); }; } &&
14044 - { ac_try='test -s conftest.$ac_objext'
14045 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 - (eval $ac_try) 2>&5
14048 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 - (exit $ac_status); }; }; then
14050 + (exit $ac_status); } && {
14051 + test -z "$ac_c_werror_flag" ||
14052 + test ! -s conftest.err
14053 + } && test -s conftest.$ac_objext; then
14056 cat >conftest.$ac_ext <<_ACEOF
14057 @@ -13661,10 +13963,11 @@ cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 $ac_includes_default
14061 + typedef off_t ac__type_sizeof_;
14065 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14066 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14070 @@ -13672,56 +13975,53 @@ test_array [0] = 0
14073 rm -f conftest.$ac_objext
14074 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14075 - (eval $ac_compile) 2>conftest.er1
14076 +if { (ac_try="$ac_compile"
14077 +case "(($ac_try" in
14078 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14079 + *) ac_try_echo=$ac_try;;
14081 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14082 + (eval "$ac_compile") 2>conftest.er1
14084 grep -v '^ *+' conftest.er1 >conftest.err
14086 cat conftest.err >&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 - (exit $ac_status); } &&
14089 - { ac_try='test -z "$ac_c_werror_flag"
14090 - || test ! -s conftest.err'
14091 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 - (eval $ac_try) 2>&5
14094 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 - (exit $ac_status); }; } &&
14096 - { ac_try='test -s conftest.$ac_objext'
14097 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 - (eval $ac_try) 2>&5
14100 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 - (exit $ac_status); }; }; then
14102 + (exit $ac_status); } && {
14103 + test -z "$ac_c_werror_flag" ||
14104 + test ! -s conftest.err
14105 + } && test -s conftest.$ac_objext; then
14106 ac_hi=$ac_mid; break
14108 echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.$ac_ext >&5
14111 -ac_lo=`expr $ac_mid + 1`
14112 - if test $ac_lo -le $ac_mid; then
14116 - ac_mid=`expr 2 '*' $ac_mid + 1`
14117 + ac_lo=`expr $ac_mid + 1`
14118 + if test $ac_lo -le $ac_mid; then
14122 + ac_mid=`expr 2 '*' $ac_mid + 1`
14124 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14126 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14129 echo "$as_me: failed program was:" >&5
14130 sed 's/^/| /' conftest.$ac_ext >&5
14132 -cat >conftest.$ac_ext <<_ACEOF
14133 + cat >conftest.$ac_ext <<_ACEOF
14136 cat confdefs.h >>conftest.$ac_ext
14137 cat >>conftest.$ac_ext <<_ACEOF
14138 /* end confdefs.h. */
14139 $ac_includes_default
14140 + typedef off_t ac__type_sizeof_;
14144 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
14145 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14149 @@ -13729,27 +14029,22 @@ test_array [0] = 0
14152 rm -f conftest.$ac_objext
14153 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14154 - (eval $ac_compile) 2>conftest.er1
14155 +if { (ac_try="$ac_compile"
14156 +case "(($ac_try" in
14157 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14158 + *) ac_try_echo=$ac_try;;
14160 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14161 + (eval "$ac_compile") 2>conftest.er1
14163 grep -v '^ *+' conftest.er1 >conftest.err
14165 cat conftest.err >&5
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 - (exit $ac_status); } &&
14168 - { ac_try='test -z "$ac_c_werror_flag"
14169 - || test ! -s conftest.err'
14170 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14171 - (eval $ac_try) 2>&5
14173 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14174 - (exit $ac_status); }; } &&
14175 - { ac_try='test -s conftest.$ac_objext'
14176 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14177 - (eval $ac_try) 2>&5
14179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 - (exit $ac_status); }; }; then
14181 + (exit $ac_status); } && {
14182 + test -z "$ac_c_werror_flag" ||
14183 + test ! -s conftest.err
14184 + } && test -s conftest.$ac_objext; then
14187 cat >conftest.$ac_ext <<_ACEOF
14188 @@ -13759,10 +14054,11 @@ cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 $ac_includes_default
14192 + typedef off_t ac__type_sizeof_;
14196 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
14197 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14201 @@ -13770,50 +14066,48 @@ test_array [0] = 0
14204 rm -f conftest.$ac_objext
14205 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14206 - (eval $ac_compile) 2>conftest.er1
14207 +if { (ac_try="$ac_compile"
14208 +case "(($ac_try" in
14209 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14210 + *) ac_try_echo=$ac_try;;
14212 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14213 + (eval "$ac_compile") 2>conftest.er1
14215 grep -v '^ *+' conftest.er1 >conftest.err
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 - (exit $ac_status); } &&
14220 - { ac_try='test -z "$ac_c_werror_flag"
14221 - || test ! -s conftest.err'
14222 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 - (eval $ac_try) 2>&5
14225 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 - (exit $ac_status); }; } &&
14227 - { ac_try='test -s conftest.$ac_objext'
14228 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 - (eval $ac_try) 2>&5
14231 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 - (exit $ac_status); }; }; then
14233 + (exit $ac_status); } && {
14234 + test -z "$ac_c_werror_flag" ||
14235 + test ! -s conftest.err
14236 + } && test -s conftest.$ac_objext; then
14237 ac_lo=$ac_mid; break
14239 echo "$as_me: failed program was:" >&5
14240 sed 's/^/| /' conftest.$ac_ext >&5
14242 -ac_hi=`expr '(' $ac_mid ')' - 1`
14243 - if test $ac_mid -le $ac_hi; then
14247 - ac_mid=`expr 2 '*' $ac_mid`
14248 + ac_hi=`expr '(' $ac_mid ')' - 1`
14249 + if test $ac_mid -le $ac_hi; then
14253 + ac_mid=`expr 2 '*' $ac_mid`
14255 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14257 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14266 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14268 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14270 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14272 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14273 # Binary search between lo and hi bounds.
14274 while test "x$ac_lo" != "x$ac_hi"; do
14275 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14276 @@ -13824,10 +14118,11 @@ cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 $ac_includes_default
14280 + typedef off_t ac__type_sizeof_;
14284 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14285 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14289 @@ -13835,52 +14130,45 @@ test_array [0] = 0
14292 rm -f conftest.$ac_objext
14293 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14294 - (eval $ac_compile) 2>conftest.er1
14295 +if { (ac_try="$ac_compile"
14296 +case "(($ac_try" in
14297 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 + *) ac_try_echo=$ac_try;;
14300 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 + (eval "$ac_compile") 2>conftest.er1
14303 grep -v '^ *+' conftest.er1 >conftest.err
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 - (exit $ac_status); } &&
14308 - { ac_try='test -z "$ac_c_werror_flag"
14309 - || test ! -s conftest.err'
14310 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14311 - (eval $ac_try) 2>&5
14313 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14314 - (exit $ac_status); }; } &&
14315 - { ac_try='test -s conftest.$ac_objext'
14316 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14317 - (eval $ac_try) 2>&5
14319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 - (exit $ac_status); }; }; then
14321 + (exit $ac_status); } && {
14322 + test -z "$ac_c_werror_flag" ||
14323 + test ! -s conftest.err
14324 + } && test -s conftest.$ac_objext; then
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.$ac_ext >&5
14330 -ac_lo=`expr '(' $ac_mid ')' + 1`
14331 + ac_lo=`expr '(' $ac_mid ')' + 1`
14333 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14335 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14338 ?*) ac_cv_sizeof_off_t=$ac_lo;;
14339 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14340 +'') if test "$ac_cv_type_off_t" = yes; then
14341 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14342 See \`config.log' for more details." >&5
14343 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14344 +echo "$as_me: error: cannot compute sizeof (off_t)
14345 See \`config.log' for more details." >&2;}
14346 - { (exit 1); exit 1; }; } ;;
14347 + { (exit 77); exit 77; }; }
14349 + ac_cv_sizeof_off_t=0
14353 - if test "$cross_compiling" = yes; then
14354 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14355 -See \`config.log' for more details." >&5
14356 -echo "$as_me: error: cannot run test program while cross compiling
14357 -See \`config.log' for more details." >&2;}
14358 - { (exit 1); exit 1; }; }
14360 cat >conftest.$ac_ext <<_ACEOF
14363 @@ -13888,8 +14176,9 @@ cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 $ac_includes_default
14367 -long longval () { return (long) (sizeof (off_t)); }
14368 -unsigned long ulongval () { return (long) (sizeof (off_t)); }
14369 + typedef off_t ac__type_sizeof_;
14370 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14371 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14373 #include <stdlib.h>
14375 @@ -13898,35 +14187,44 @@ main ()
14377 FILE *f = fopen ("conftest.val", "w");
14380 - if (((long) (sizeof (off_t))) < 0)
14382 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14384 - long i = longval ();
14385 - if (i != ((long) (sizeof (off_t))))
14387 + long int i = longval ();
14388 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14390 fprintf (f, "%ld\n", i);
14394 - unsigned long i = ulongval ();
14395 - if (i != ((long) (sizeof (off_t))))
14397 + unsigned long int i = ulongval ();
14398 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14400 fprintf (f, "%lu\n", i);
14402 - exit (ferror (f) || fclose (f) != 0);
14403 + return ferror (f) || fclose (f) != 0;
14409 rm -f conftest$ac_exeext
14410 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14411 - (eval $ac_link) 2>&5
14412 +if { (ac_try="$ac_link"
14413 +case "(($ac_try" in
14414 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 + *) ac_try_echo=$ac_try;;
14417 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14418 + (eval "$ac_link") 2>&5
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14422 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14423 - (eval $ac_try) 2>&5
14424 + { (case "(($ac_try" in
14425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14426 + *) ac_try_echo=$ac_try;;
14428 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14429 + (eval "$ac_try") 2>&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14433 @@ -13937,30 +14235,33 @@ echo "$as_me: failed program was:" >&5
14434 sed 's/^/| /' conftest.$ac_ext >&5
14436 ( exit $ac_status )
14437 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14438 +if test "$ac_cv_type_off_t" = yes; then
14439 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14440 See \`config.log' for more details." >&5
14441 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14442 +echo "$as_me: error: cannot compute sizeof (off_t)
14443 See \`config.log' for more details." >&2;}
14444 - { (exit 1); exit 1; }; }
14446 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14447 + { (exit 77); exit 77; }; }
14449 + ac_cv_sizeof_off_t=0
14452 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14456 - ac_cv_sizeof_off_t=0
14459 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14460 -echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
14461 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14462 +echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
14466 cat >>confdefs.h <<_ACEOF
14467 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14472 -echo "$as_me:$LINENO: checking file_ptr type" >&5
14473 -echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
14474 +{ echo "$as_me:$LINENO: checking file_ptr type" >&5
14475 +echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6; }
14476 bfd_file_ptr="long"
14477 bfd_ufile_ptr="unsigned long"
14478 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
14479 @@ -13968,8 +14269,8 @@ if test x"$ac_cv_func_ftello64" = xyes -
14480 bfd_file_ptr=BFD_HOST_64_BIT
14481 bfd_ufile_ptr=BFD_HOST_U_64_BIT
14483 -echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14484 -echo "${ECHO_T}$bfd_file_ptr" >&6
14485 +{ echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14486 +echo "${ECHO_T}$bfd_file_ptr" >&6; }
14490 @@ -13987,18 +14288,19 @@ test -n "${havevecs}" && tdefaults="${td
14491 for ac_header in stdlib.h unistd.h
14493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14494 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14495 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14496 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14497 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14498 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14499 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
14500 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14501 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14505 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14506 +ac_res=`eval echo '${'$as_ac_Header'}'`
14507 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14508 +echo "${ECHO_T}$ac_res" >&6; }
14510 # Is the header compilable?
14511 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14512 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14513 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14514 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14515 cat >conftest.$ac_ext <<_ACEOF
14518 @@ -14009,41 +14311,37 @@ $ac_includes_default
14519 #include <$ac_header>
14521 rm -f conftest.$ac_objext
14522 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14523 - (eval $ac_compile) 2>conftest.er1
14524 +if { (ac_try="$ac_compile"
14525 +case "(($ac_try" in
14526 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14527 + *) ac_try_echo=$ac_try;;
14529 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14530 + (eval "$ac_compile") 2>conftest.er1
14532 grep -v '^ *+' conftest.er1 >conftest.err
14534 cat conftest.err >&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 - (exit $ac_status); } &&
14537 - { ac_try='test -z "$ac_c_werror_flag"
14538 - || test ! -s conftest.err'
14539 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 - (eval $ac_try) 2>&5
14542 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 - (exit $ac_status); }; } &&
14544 - { ac_try='test -s conftest.$ac_objext'
14545 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 - (eval $ac_try) 2>&5
14548 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 - (exit $ac_status); }; }; then
14550 + (exit $ac_status); } && {
14551 + test -z "$ac_c_werror_flag" ||
14552 + test ! -s conftest.err
14553 + } && test -s conftest.$ac_objext; then
14554 ac_header_compiler=yes
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14559 -ac_header_compiler=no
14560 + ac_header_compiler=no
14562 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14563 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14564 -echo "${ECHO_T}$ac_header_compiler" >&6
14566 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14567 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14568 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14570 # Is the header present?
14571 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14572 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14573 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14574 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14575 cat >conftest.$ac_ext <<_ACEOF
14578 @@ -14052,24 +14350,22 @@ cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 #include <$ac_header>
14582 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14583 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14584 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14585 +case "(($ac_try" in
14586 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14587 + *) ac_try_echo=$ac_try;;
14589 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14592 grep -v '^ *+' conftest.er1 >conftest.err
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 - (exit $ac_status); } >/dev/null; then
14597 - if test -s conftest.err; then
14598 - ac_cpp_err=$ac_c_preproc_warn_flag
14599 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14606 -if test -z "$ac_cpp_err"; then
14607 + (exit $ac_status); } >/dev/null && {
14608 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14609 + test ! -s conftest.err
14611 ac_header_preproc=yes
14613 echo "$as_me: failed program was:" >&5
14614 @@ -14077,9 +14373,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
14616 ac_header_preproc=no
14619 rm -f conftest.err conftest.$ac_ext
14620 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14621 -echo "${ECHO_T}$ac_header_preproc" >&6
14622 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14623 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14625 # So? What about this header?
14626 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14627 @@ -14103,25 +14400,19 @@ echo "$as_me: WARNING: $ac_header: s
14628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14633 -## ------------------------------------------ ##
14634 -## Report this to the AC_PACKAGE_NAME lists. ##
14635 -## ------------------------------------------ ##
14638 - sed "s/^/$as_me: WARNING: /" >&2
14642 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14643 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14644 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14645 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14646 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14647 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14648 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 eval "$as_ac_Header=\$ac_header_preproc"
14652 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14653 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14654 +ac_res=`eval echo '${'$as_ac_Header'}'`
14655 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14656 +echo "${ECHO_T}$ac_res" >&6; }
14659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14660 @@ -14137,9 +14428,9 @@ done
14661 for ac_func in getpagesize
14663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14664 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14665 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14666 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14667 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14668 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14669 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14670 echo $ECHO_N "(cached) $ECHO_C" >&6
14672 cat >conftest.$ac_ext <<_ACEOF
14673 @@ -14165,68 +14456,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14677 -/* Override any gcc2 internal prototype to avoid an error. */
14678 +/* Override any GCC internal prototype to avoid an error.
14679 + Use char because int might match the return type of a GCC
14680 + builtin and then its argument prototype would still apply. */
14685 -/* We use char because int might match the return type of a gcc2
14686 - builtin and then its argument prototype would still apply. */
14688 /* The GNU C library defines this for functions which it implements
14689 to always fail with ENOSYS. Some functions are actually named
14690 something starting with __ and the normal name is an alias. */
14691 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14692 +#if defined __stub_$ac_func || defined __stub___$ac_func
14695 -char (*f) () = $ac_func;
14697 -#ifdef __cplusplus
14704 -return f != $ac_func;
14705 +return $ac_func ();
14710 rm -f conftest.$ac_objext conftest$ac_exeext
14711 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14712 - (eval $ac_link) 2>conftest.er1
14713 +if { (ac_try="$ac_link"
14714 +case "(($ac_try" in
14715 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14716 + *) ac_try_echo=$ac_try;;
14718 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 + (eval "$ac_link") 2>conftest.er1
14721 grep -v '^ *+' conftest.er1 >conftest.err
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 - (exit $ac_status); } &&
14726 - { ac_try='test -z "$ac_c_werror_flag"
14727 - || test ! -s conftest.err'
14728 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14729 - (eval $ac_try) 2>&5
14731 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14732 - (exit $ac_status); }; } &&
14733 - { ac_try='test -s conftest$ac_exeext'
14734 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14735 - (eval $ac_try) 2>&5
14737 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 - (exit $ac_status); }; }; then
14739 + (exit $ac_status); } && {
14740 + test -z "$ac_c_werror_flag" ||
14741 + test ! -s conftest.err
14742 + } && test -s conftest$ac_exeext &&
14743 + $as_test_x conftest$ac_exeext; then
14744 eval "$as_ac_var=yes"
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.$ac_ext >&5
14749 -eval "$as_ac_var=no"
14750 + eval "$as_ac_var=no"
14752 -rm -f conftest.err conftest.$ac_objext \
14754 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14755 conftest$ac_exeext conftest.$ac_ext
14757 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14758 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14759 +ac_res=`eval echo '${'$as_ac_var'}'`
14760 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14761 +echo "${ECHO_T}$ac_res" >&6; }
14762 if test `eval echo '${'$as_ac_var'}'` = yes; then
14763 cat >>confdefs.h <<_ACEOF
14764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14765 @@ -14235,8 +14518,8 @@ _ACEOF
14769 -echo "$as_me:$LINENO: checking for working mmap" >&5
14770 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14771 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
14772 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
14773 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14774 echo $ECHO_N "(cached) $ECHO_C" >&6
14776 @@ -14278,21 +14561,21 @@ $ac_includes_default
14778 #include <sys/mman.h>
14780 -#if !STDC_HEADERS && !HAVE_STDLIB_H
14781 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14785 /* This mess was copied from the GNU getpagesize.h. */
14786 -#if !HAVE_GETPAGESIZE
14787 +#ifndef HAVE_GETPAGESIZE
14788 /* Assume that all systems that can run configure have sys/param.h. */
14789 -# if !HAVE_SYS_PARAM_H
14790 +# ifndef HAVE_SYS_PARAM_H
14791 # define HAVE_SYS_PARAM_H 1
14794 # ifdef _SC_PAGESIZE
14795 # define getpagesize() sysconf(_SC_PAGESIZE)
14796 # else /* no _SC_PAGESIZE */
14797 -# if HAVE_SYS_PARAM_H
14798 +# ifdef HAVE_SYS_PARAM_H
14799 # include <sys/param.h>
14800 # ifdef EXEC_PAGESIZE
14801 # define getpagesize() EXEC_PAGESIZE
14802 @@ -14331,15 +14614,15 @@ main ()
14803 /* First, make a file with some known garbage in it. */
14804 data = (char *) malloc (pagesize);
14808 for (i = 0; i < pagesize; ++i)
14809 *(data + i) = rand ();
14811 fd = creat ("conftest.mmap", 0600);
14815 if (write (fd, data, pagesize) != pagesize)
14820 /* Next, try to mmap the file at a fixed address which already has
14821 @@ -14347,17 +14630,17 @@ main ()
14822 we see the same garbage. */
14823 fd = open ("conftest.mmap", O_RDWR);
14827 data2 = (char *) malloc (2 * pagesize);
14830 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14832 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
14833 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14834 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14837 for (i = 0; i < pagesize; ++i)
14838 if (*(data + i) != *(data2 + i))
14842 /* Finally, make sure that changes to the mapped area do not
14843 percolate back to the file as seen by read(). (This is a bug on
14844 @@ -14366,24 +14649,33 @@ main ()
14845 *(data2 + i) = *(data2 + i) + 1;
14846 data3 = (char *) malloc (pagesize);
14850 if (read (fd, data3, pagesize) != pagesize)
14853 for (i = 0; i < pagesize; ++i)
14854 if (*(data + i) != *(data3 + i))
14862 rm -f conftest$ac_exeext
14863 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14864 - (eval $ac_link) 2>&5
14865 +if { (ac_try="$ac_link"
14866 +case "(($ac_try" in
14867 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14868 + *) ac_try_echo=$ac_try;;
14870 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14871 + (eval "$ac_link") 2>&5
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14875 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 - (eval $ac_try) 2>&5
14877 + { (case "(($ac_try" in
14878 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14879 + *) ac_try_echo=$ac_try;;
14881 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14882 + (eval "$ac_try") 2>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); }; }; then
14886 @@ -14396,11 +14688,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
14887 ( exit $ac_status )
14888 ac_cv_func_mmap_fixed_mapped=no
14890 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14891 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14896 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14897 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14898 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14899 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
14900 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14902 cat >>confdefs.h <<\_ACEOF
14903 @@ -14415,9 +14709,9 @@ rm -f conftest.mmap
14904 for ac_func in madvise mprotect
14906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14907 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14908 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14909 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14910 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14911 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14912 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14915 cat >conftest.$ac_ext <<_ACEOF
14916 @@ -14443,68 +14737,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14920 -/* Override any gcc2 internal prototype to avoid an error. */
14921 +/* Override any GCC internal prototype to avoid an error.
14922 + Use char because int might match the return type of a GCC
14923 + builtin and then its argument prototype would still apply. */
14928 -/* We use char because int might match the return type of a gcc2
14929 - builtin and then its argument prototype would still apply. */
14931 /* The GNU C library defines this for functions which it implements
14932 to always fail with ENOSYS. Some functions are actually named
14933 something starting with __ and the normal name is an alias. */
14934 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14935 +#if defined __stub_$ac_func || defined __stub___$ac_func
14938 -char (*f) () = $ac_func;
14940 -#ifdef __cplusplus
14947 -return f != $ac_func;
14948 +return $ac_func ();
14953 rm -f conftest.$ac_objext conftest$ac_exeext
14954 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14955 - (eval $ac_link) 2>conftest.er1
14956 +if { (ac_try="$ac_link"
14957 +case "(($ac_try" in
14958 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14959 + *) ac_try_echo=$ac_try;;
14961 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14962 + (eval "$ac_link") 2>conftest.er1
14964 grep -v '^ *+' conftest.er1 >conftest.err
14966 cat conftest.err >&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 - (exit $ac_status); } &&
14969 - { ac_try='test -z "$ac_c_werror_flag"
14970 - || test ! -s conftest.err'
14971 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14972 - (eval $ac_try) 2>&5
14974 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975 - (exit $ac_status); }; } &&
14976 - { ac_try='test -s conftest$ac_exeext'
14977 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14978 - (eval $ac_try) 2>&5
14980 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 - (exit $ac_status); }; }; then
14982 + (exit $ac_status); } && {
14983 + test -z "$ac_c_werror_flag" ||
14984 + test ! -s conftest.err
14985 + } && test -s conftest$ac_exeext &&
14986 + $as_test_x conftest$ac_exeext; then
14987 eval "$as_ac_var=yes"
14989 echo "$as_me: failed program was:" >&5
14990 sed 's/^/| /' conftest.$ac_ext >&5
14992 -eval "$as_ac_var=no"
14993 + eval "$as_ac_var=no"
14995 -rm -f conftest.err conftest.$ac_objext \
14997 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14998 conftest$ac_exeext conftest.$ac_ext
15000 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15001 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15002 +ac_res=`eval echo '${'$as_ac_var'}'`
15003 + { echo "$as_me:$LINENO: result: $ac_res" >&5
15004 +echo "${ECHO_T}$ac_res" >&6; }
15005 if test `eval echo '${'$as_ac_var'}'` = yes; then
15006 cat >>confdefs.h <<_ACEOF
15007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15008 @@ -14522,9 +14808,9 @@ _ACEOF
15011 rm -f doc/config.status
15012 - ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15013 +ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15015 - ac_config_commands="$ac_config_commands default"
15016 +ac_config_commands="$ac_config_commands default"
15020 @@ -14549,39 +14835,58 @@ _ACEOF
15022 # The following way of writing the cache mishandles newlines in values,
15023 # but we know of no workaround that is simple, portable, and efficient.
15024 -# So, don't put newlines in cache variables' values.
15025 +# So, we kill variables containing newlines.
15026 # Ultrix sh set writes to stderr and can't be redirected directly,
15027 # and sets the high bit in the cache file unless we assign to the vars.
15030 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15031 + eval ac_val=\$$ac_var
15032 + case $ac_val in #(
15034 + case $ac_var in #(
15035 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15036 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15038 + case $ac_var in #(
15039 + _ | IFS | as_nl) ;; #(
15040 + *) $as_unset $ac_var ;;
15046 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
15048 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
15049 + *${as_nl}ac_space=\ *)
15050 # `set' does not quote correctly, so add quotes (double-quote
15051 # substitution turns \\\\ into \\, and sed turns \\ into \).
15054 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15058 # `set' quotes correctly as required by POSIX, so do not add quotes.
15060 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15061 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15069 + /^ac_cv_env_/b end
15073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15075 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15076 - : end' >>confcache
15077 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
15078 - if test -w $cache_file; then
15079 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15080 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15081 + :end' >>confcache
15082 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15083 + if test -w "$cache_file"; then
15084 + test "x$cache_file" != "x/dev/null" &&
15085 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15086 +echo "$as_me: updating cache $cache_file" >&6;}
15087 cat confcache >$cache_file
15089 - echo "not updating unwritable cache $cache_file"
15090 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15091 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15095 @@ -14590,32 +14895,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
15096 # Let make expand exec_prefix.
15097 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15099 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
15100 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15101 -# trailing colons and then remove the whole line if VPATH becomes empty
15102 -# (actually we leave an empty line to preserve line numbers).
15103 -if test "x$srcdir" = x.; then
15104 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
15105 -s/:*\$(srcdir):*/:/;
15106 -s/:*\${srcdir}:*/:/;
15107 -s/:*@srcdir@:*/:/;
15108 -s/^\([^=]*=[ ]*\):*/\1/;
15114 DEFS=-DHAVE_CONFIG_H
15118 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15119 # 1. Remove the extension, and $U if already installed.
15120 - ac_i=`echo "$ac_i" |
15121 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15123 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15124 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15125 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15126 + ac_i=`echo "$ac_i" | sed "$ac_script"`
15127 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15128 + # will be set to the directory where LIBOBJS objects are built.
15129 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15130 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15132 LIBOBJS=$ac_libobjs
15134 @@ -14674,17 +14965,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
15135 ## M4sh Initialization. ##
15136 ## --------------------- ##
15138 -# Be Bourne compatible
15139 +# Be more Bourne compatible
15140 +DUALCASE=1; export DUALCASE # for MKS sh
15141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15144 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15145 # is contrary to our usage. Disable this feature.
15146 alias -g '${1+"$@"}'='"$@"'
15147 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15149 + setopt NO_GLOB_SUBST
15151 + case `(set -o) 2>/dev/null` in
15152 + *posix*) set -o posix ;;
15161 +# Avoid depending upon Character Ranges.
15162 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15163 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15164 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15165 +as_cr_digits='0123456789'
15166 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15168 +# The user is always right.
15169 +if test "${PATH_SEPARATOR+set}" != set; then
15170 + echo "#! /bin/sh" >conf$$.sh
15171 + echo "exit 0" >>conf$$.sh
15172 + chmod +x conf$$.sh
15173 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15174 + PATH_SEPARATOR=';'
15180 -DUALCASE=1; export DUALCASE # for MKS sh
15182 # Support unset when possible.
15183 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15184 @@ -14694,8 +15013,43 @@ else
15189 +# We need space, tab and new line, in precisely that order. Quoting is
15190 +# there to prevent editors from complaining about space-tab.
15191 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15192 +# splitting by setting IFS to empty value.)
15197 +# Find who we are. Look in the path if we contain no directory separator.
15199 + *[\\/]* ) as_myself=$0 ;;
15200 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15201 +for as_dir in $PATH
15204 + test -z "$as_dir" && as_dir=.
15205 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15211 +# We did not find ourselves, most probably we were run as `sh COMMAND'
15212 +# in which case we are not to be found in the path.
15213 +if test "x$as_myself" = x; then
15216 +if test ! -f "$as_myself"; then
15217 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15218 + { (exit 1); exit 1; }
15221 # Work around bugs in pre-3.0 UWIN ksh.
15222 -$as_unset ENV MAIL MAILPATH
15223 +for as_var in ENV MAIL MAILPATH
15224 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15229 @@ -14709,18 +15063,19 @@ do
15230 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15231 eval $as_var=C; export $as_var
15233 - $as_unset $as_var
15234 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15238 # Required to use basename.
15239 -if expr a : '\(a\)' >/dev/null 2>&1; then
15240 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15241 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15247 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15248 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15249 as_basename=basename
15252 @@ -14728,159 +15083,120 @@ fi
15255 # Name of the executable.
15256 -as_me=`$as_basename "$0" ||
15257 +as_me=`$as_basename -- "$0" ||
15258 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15259 X"$0" : 'X\(//\)$' \| \
15260 - X"$0" : 'X\(/\)$' \| \
15261 - . : '\(.\)' 2>/dev/null ||
15262 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15264 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15265 - /^X\/\(\/\/\)$/{ s//\1/; q; }
15266 - /^X\/\(\/\).*/{ s//\1/; q; }
15268 + sed '/^.*\/\([^/][^/]*\)\/*$/{
15283 -# PATH needs CR, and LINENO needs CR and PATH.
15284 -# Avoid depending upon Character Ranges.
15285 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15286 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15287 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15288 -as_cr_digits='0123456789'
15289 -as_cr_alnum=$as_cr_Letters$as_cr_digits
15291 -# The user is always right.
15292 -if test "${PATH_SEPARATOR+set}" != set; then
15293 - echo "#! /bin/sh" >conf$$.sh
15294 - echo "exit 0" >>conf$$.sh
15295 - chmod +x conf$$.sh
15296 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15297 - PATH_SEPARATOR=';'
15307 - as_lineno_1=$LINENO
15308 - as_lineno_2=$LINENO
15309 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15310 - test "x$as_lineno_1" != "x$as_lineno_2" &&
15311 - test "x$as_lineno_3" = "x$as_lineno_2" || {
15312 - # Find who we are. Look in the path if we contain no path at all
15313 - # relative or not.
15315 - *[\\/]* ) as_myself=$0 ;;
15316 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15317 -for as_dir in $PATH
15320 - test -z "$as_dir" && as_dir=.
15321 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15326 - # We did not find ourselves, most probably we were run as `sh COMMAND'
15327 - # in which case we are not to be found in the path.
15328 - if test "x$as_myself" = x; then
15331 - if test ! -f "$as_myself"; then
15332 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15333 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15334 - { (exit 1); exit 1; }; }
15336 - case $CONFIG_SHELL in
15338 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15339 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15342 - test -z "$as_dir" && as_dir=.
15343 - for as_base in sh bash ksh sh5; do
15346 - if ("$as_dir/$as_base" -c '
15347 as_lineno_1=$LINENO
15348 as_lineno_2=$LINENO
15349 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15350 test "x$as_lineno_1" != "x$as_lineno_2" &&
15351 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15352 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15353 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15354 - CONFIG_SHELL=$as_dir/$as_base
15355 - export CONFIG_SHELL
15356 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15363 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15365 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15366 # uniformly replaced by the line number. The first 'sed' inserts a
15367 - # line-number line before each line; the second 'sed' does the real
15368 - # work. The second script uses 'N' to pair each line-number line
15369 - # with the numbered line, and appends trailing '-' during
15370 - # substitution so that $LINENO is not a special case at line end.
15371 + # line-number line after each line using $LINENO; the second 'sed'
15372 + # does the real work. The second script uses 'N' to pair each
15373 + # line-number line with the line containing $LINENO, and appends
15374 + # trailing '-' during substitution so that $LINENO is not a special
15375 + # case at line end.
15376 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15377 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15378 - sed '=' <$as_myself |
15379 + # scripts with optimization help from Paolo Bonzini. Blame Lee
15380 + # E. McMahon (1931-1989) for sed's syntax. :-)
15386 + s/[$]LINENO.*/&-/
15393 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15395 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15398 - s,^['$as_cr_digits']*\n,,
15400 ' >$as_me.lineno &&
15401 - chmod +x $as_me.lineno ||
15402 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15403 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15404 + chmod +x "$as_me.lineno" ||
15405 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15406 { (exit 1); exit 1; }; }
15408 # Don't try to exec as it changes $[0], causing all sort of problems
15409 # (the dirname of $[0] is not the place where we might find the
15410 - # original and so on. Autoconf is especially sensible to this).
15411 - . ./$as_me.lineno
15412 + # original and so on. Autoconf is especially sensitive to this).
15413 + . "./$as_me.lineno"
15414 # Exit status is that of the last command.
15419 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15420 - *c*,-n*) ECHO_N= ECHO_C='
15422 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15423 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15424 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15425 + as_dirname=dirname
15430 +ECHO_C= ECHO_N= ECHO_T=
15431 +case `echo -n x` in
15433 + case `echo 'x\c'` in
15434 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15441 -if expr a : '\(a\)' >/dev/null 2>&1; then
15442 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15443 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15449 rm -f conf$$ conf$$.exe conf$$.file
15450 +if test -d conf$$.dir; then
15451 + rm -f conf$$.dir/conf$$.file
15457 if ln -s conf$$.file conf$$ 2>/dev/null; then
15458 - # We could just check for DJGPP; but this test a) works b) is more generic
15459 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15460 - if test -f conf$$.exe; then
15461 - # Don't use ln at all; we don't have any links
15463 + # ... but there are two gotchas:
15464 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15465 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15466 + # In both cases, we have to default to `cp -p'.
15467 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15472 elif ln conf$$.file conf$$ 2>/dev/null; then
15477 -rm -f conf$$ conf$$.exe conf$$.file
15478 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15479 +rmdir conf$$.dir 2>/dev/null
15481 if mkdir -p . 2>/dev/null; then
15483 @@ -14889,7 +15205,28 @@ else
15487 -as_executable_p="test -f"
15488 +if test -x / >/dev/null 2>&1; then
15489 + as_test_x='test -x'
15491 + if ls -dL / >/dev/null 2>&1; then
15498 + if test -d "$1"; then
15504 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15505 + ???[sx]*):;;*)false;;esac;fi
15509 +as_executable_p=$as_test_x
15511 # Sed expression to map a string onto a valid CPP name.
15512 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15513 @@ -14898,31 +15235,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
15514 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15518 -# We need space, tab and new line, in precisely that order.
15528 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
15529 +# Save the log message, to keep $[0] and so on meaningful, and to
15530 # report actual input values of CONFIG_FILES etc. instead of their
15531 -# values after options handling. Logging --version etc. is OK.
15532 -exec 5>>config.log
15535 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15536 -## Running $as_me. ##
15541 +# values after options handling.
15543 This file was extended by $as_me, which was
15544 -generated by GNU Autoconf 2.59. Invocation command line was
15545 +generated by GNU Autoconf 2.61. Invocation command line was
15547 CONFIG_FILES = $CONFIG_FILES
15548 CONFIG_HEADERS = $CONFIG_HEADERS
15549 @@ -14930,30 +15250,20 @@ generated by GNU Autoconf 2.59. Invocat
15550 CONFIG_COMMANDS = $CONFIG_COMMANDS
15554 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15556 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
15561 +cat >>$CONFIG_STATUS <<_ACEOF
15562 # Files that config.status was made for.
15563 -if test -n "$ac_config_files"; then
15564 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15566 +config_files="$ac_config_files"
15567 +config_headers="$ac_config_headers"
15568 +config_commands="$ac_config_commands"
15570 -if test -n "$ac_config_headers"; then
15571 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15574 -if test -n "$ac_config_links"; then
15575 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15578 -if test -n "$ac_config_commands"; then
15579 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15583 cat >>$CONFIG_STATUS <<\_ACEOF
15586 \`$as_me' instantiates files from templates according to the
15587 current configuration.
15588 @@ -14961,7 +15271,7 @@ current configuration.
15589 Usage: $0 [OPTIONS] [FILE]...
15591 -h, --help print this help, then exit
15592 - -V, --version print version number, then exit
15593 + -V, --version print version number and configuration settings, then exit
15594 -q, --quiet do not print progress messages
15595 -d, --debug don't remove temporary files
15596 --recheck update $as_me by reconfiguring in the same conditions
15597 @@ -14980,19 +15290,21 @@ Configuration commands:
15600 Report bugs to <bug-autoconf@gnu.org>."
15604 cat >>$CONFIG_STATUS <<_ACEOF
15607 -configured by $0, generated by GNU Autoconf 2.59,
15608 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15609 +configured by $0, generated by GNU Autoconf 2.61,
15610 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15612 -Copyright (C) 2003 Free Software Foundation, Inc.
15613 +Copyright (C) 2006 Free Software Foundation, Inc.
15614 This config.status script is free software; the Free Software Foundation
15615 gives unlimited permission to copy, distribute and modify it."
15617 -INSTALL="$INSTALL"
15621 +INSTALL='$INSTALL'
15624 cat >>$CONFIG_STATUS <<\_ACEOF
15625 @@ -15003,39 +15315,24 @@ while test $# != 0
15629 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
15630 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15631 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
15632 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15641 - *) # This is not an option, so the user has probably given explicit
15644 - ac_need_defaults=false;;
15648 # Handling of the options.
15650 -cat >>$CONFIG_STATUS <<\_ACEOF
15651 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15653 - --version | --vers* | -V )
15654 - echo "$ac_cs_version"; exit 0 ;;
15656 - # Conflict between --help and --header
15657 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
15658 -Try \`$0 --help' for more information." >&5
15659 -echo "$as_me: error: ambiguous option: $1
15660 -Try \`$0 --help' for more information." >&2;}
15661 - { (exit 1); exit 1; }; };;
15662 - --help | --hel | -h )
15663 - echo "$ac_cs_usage"; exit 0 ;;
15664 - --debug | --d* | -d )
15665 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15666 + echo "$ac_cs_version"; exit ;;
15667 + --debug | --debu | --deb | --de | --d | -d )
15669 --file | --fil | --fi | --f )
15671 @@ -15045,18 +15342,24 @@ Try \`$0 --help' for more information."
15673 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15674 ac_need_defaults=false;;
15676 + # Conflict between --help and --header
15677 + { echo "$as_me: error: ambiguous option: $1
15678 +Try \`$0 --help' for more information." >&2
15679 + { (exit 1); exit 1; }; };;
15680 + --help | --hel | -h )
15681 + echo "$ac_cs_usage"; exit ;;
15682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15683 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15686 # This is an error.
15687 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15688 -Try \`$0 --help' for more information." >&5
15689 -echo "$as_me: error: unrecognized option: $1
15690 -Try \`$0 --help' for more information." >&2;}
15691 + -*) { echo "$as_me: error: unrecognized option: $1
15692 +Try \`$0 --help' for more information." >&2
15693 { (exit 1); exit 1; }; } ;;
15695 - *) ac_config_targets="$ac_config_targets $1" ;;
15696 + *) ac_config_targets="$ac_config_targets $1"
15697 + ac_need_defaults=false ;;
15701 @@ -15072,42 +15375,54 @@ fi
15703 cat >>$CONFIG_STATUS <<_ACEOF
15704 if \$ac_cs_recheck; then
15705 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15706 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15707 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15708 + CONFIG_SHELL=$SHELL
15709 + export CONFIG_SHELL
15710 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15714 +cat >>$CONFIG_STATUS <<\_ACEOF
15715 +exec 5>>config.log
15718 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15719 +## Running $as_me. ##
15725 cat >>$CONFIG_STATUS <<_ACEOF
15727 -# INIT-COMMANDS section.
15731 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15738 cat >>$CONFIG_STATUS <<\_ACEOF
15740 +# Handling of arguments.
15741 for ac_config_target in $ac_config_targets
15743 - case "$ac_config_target" in
15744 - # Handling of arguments.
15745 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15746 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15747 - "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15748 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15749 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15750 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15751 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15752 + case $ac_config_target in
15753 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15754 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15755 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15756 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15757 + "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15758 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15759 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15761 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15762 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15763 { (exit 1); exit 1; }; };;
15768 # If the user did not use the arguments to specify the items to instantiate,
15769 # then the envvar interface is used. Set only those that are not.
15770 # We use the long form for the default assignment because of an extremely
15771 @@ -15119,401 +15434,504 @@ if $ac_need_defaults; then
15774 # Have a temporary directory for convenience. Make it in the build tree
15775 -# simply because there is no reason to put it here, and in addition,
15776 +# simply because there is no reason against having it here, and in addition,
15777 # creating and moving files from /tmp can sometimes cause problems.
15778 -# Create a temporary directory, and hook for its removal unless debugging.
15779 +# Hook for its removal unless debugging.
15780 +# Note that there is a small window in which the directory will not be cleaned:
15781 +# after its creation but before its name has been assigned to `$tmp'.
15784 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15786 + trap 'exit_status=$?
15787 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15789 trap '{ (exit 1); exit 1; }' 1 2 13 15
15792 # Create a (secure) tmp directory for tmp files.
15795 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15796 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15797 test -n "$tmp" && test -d "$tmp"
15800 - tmp=./confstat$$-$RANDOM
15801 - (umask 077 && mkdir $tmp)
15802 + tmp=./conf$$-$RANDOM
15803 + (umask 077 && mkdir "$tmp")
15806 echo "$me: cannot create a temporary directory in ." >&2
15807 { (exit 1); exit 1; }
15812 -cat >>$CONFIG_STATUS <<_ACEOF
15815 -# CONFIG_FILES section.
15816 +# Set up the sed scripts for CONFIG_FILES section.
15819 # No need to generate the scripts if there are no CONFIG_FILES.
15820 # This happens for instance when ./config.status config.h
15821 -if test -n "\$CONFIG_FILES"; then
15822 - # Protect against being on the right side of a sed subst in config.status.
15823 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15824 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15825 -s,@SHELL@,$SHELL,;t t
15826 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15827 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15828 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15829 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15830 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15831 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15832 -s,@exec_prefix@,$exec_prefix,;t t
15833 -s,@prefix@,$prefix,;t t
15834 -s,@program_transform_name@,$program_transform_name,;t t
15835 -s,@bindir@,$bindir,;t t
15836 -s,@sbindir@,$sbindir,;t t
15837 -s,@libexecdir@,$libexecdir,;t t
15838 -s,@datadir@,$datadir,;t t
15839 -s,@sysconfdir@,$sysconfdir,;t t
15840 -s,@sharedstatedir@,$sharedstatedir,;t t
15841 -s,@localstatedir@,$localstatedir,;t t
15842 -s,@libdir@,$libdir,;t t
15843 -s,@includedir@,$includedir,;t t
15844 -s,@oldincludedir@,$oldincludedir,;t t
15845 -s,@infodir@,$infodir,;t t
15846 -s,@mandir@,$mandir,;t t
15847 -s,@build_alias@,$build_alias,;t t
15848 -s,@host_alias@,$host_alias,;t t
15849 -s,@target_alias@,$target_alias,;t t
15850 -s,@DEFS@,$DEFS,;t t
15851 -s,@ECHO_C@,$ECHO_C,;t t
15852 -s,@ECHO_N@,$ECHO_N,;t t
15853 -s,@ECHO_T@,$ECHO_T,;t t
15854 -s,@LIBS@,$LIBS,;t t
15855 -s,@build@,$build,;t t
15856 -s,@build_cpu@,$build_cpu,;t t
15857 -s,@build_vendor@,$build_vendor,;t t
15858 -s,@build_os@,$build_os,;t t
15859 -s,@host@,$host,;t t
15860 -s,@host_cpu@,$host_cpu,;t t
15861 -s,@host_vendor@,$host_vendor,;t t
15862 -s,@host_os@,$host_os,;t t
15863 -s,@target@,$target,;t t
15864 -s,@target_cpu@,$target_cpu,;t t
15865 -s,@target_vendor@,$target_vendor,;t t
15866 -s,@target_os@,$target_os,;t t
15868 -s,@CFLAGS@,$CFLAGS,;t t
15869 -s,@LDFLAGS@,$LDFLAGS,;t t
15870 -s,@CPPFLAGS@,$CPPFLAGS,;t t
15871 -s,@ac_ct_CC@,$ac_ct_CC,;t t
15872 -s,@EXEEXT@,$EXEEXT,;t t
15873 -s,@OBJEXT@,$OBJEXT,;t t
15874 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15875 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15876 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15877 -s,@CYGPATH_W@,$CYGPATH_W,;t t
15878 -s,@PACKAGE@,$PACKAGE,;t t
15879 -s,@VERSION@,$VERSION,;t t
15880 -s,@ACLOCAL@,$ACLOCAL,;t t
15881 -s,@AUTOCONF@,$AUTOCONF,;t t
15882 -s,@AUTOMAKE@,$AUTOMAKE,;t t
15883 -s,@AUTOHEADER@,$AUTOHEADER,;t t
15884 -s,@MAKEINFO@,$MAKEINFO,;t t
15885 -s,@install_sh@,$install_sh,;t t
15886 -s,@STRIP@,$STRIP,;t t
15887 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15888 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15889 -s,@mkdir_p@,$mkdir_p,;t t
15891 -s,@SET_MAKE@,$SET_MAKE,;t t
15892 -s,@am__leading_dot@,$am__leading_dot,;t t
15893 -s,@AMTAR@,$AMTAR,;t t
15894 -s,@am__tar@,$am__tar,;t t
15895 -s,@am__untar@,$am__untar,;t t
15896 -s,@DEPDIR@,$DEPDIR,;t t
15897 -s,@am__include@,$am__include,;t t
15898 -s,@am__quote@,$am__quote,;t t
15899 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15900 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15901 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15902 -s,@CCDEPMODE@,$CCDEPMODE,;t t
15903 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15904 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15906 -s,@ac_ct_AR@,$ac_ct_AR,;t t
15907 -s,@RANLIB@,$RANLIB,;t t
15908 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15909 -s,@LN_S@,$LN_S,;t t
15910 -s,@LIBTOOL@,$LIBTOOL,;t t
15911 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15912 -s,@NO_WERROR@,$NO_WERROR,;t t
15913 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15914 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15915 -s,@MAINT@,$MAINT,;t t
15916 -s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15917 -s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15918 -s,@host_noncanonical@,$host_noncanonical,;t t
15919 -s,@target_noncanonical@,$target_noncanonical,;t t
15920 -s,@bfdlibdir@,$bfdlibdir,;t t
15921 -s,@bfdincludedir@,$bfdincludedir,;t t
15923 -s,@EGREP@,$EGREP,;t t
15924 -s,@ALLOCA@,$ALLOCA,;t t
15925 -s,@USE_NLS@,$USE_NLS,;t t
15926 -s,@MSGFMT@,$MSGFMT,;t t
15927 -s,@GMSGFMT@,$GMSGFMT,;t t
15928 -s,@XGETTEXT@,$XGETTEXT,;t t
15929 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15930 -s,@CATALOGS@,$CATALOGS,;t t
15931 -s,@CATOBJEXT@,$CATOBJEXT,;t t
15932 -s,@DATADIRNAME@,$DATADIRNAME,;t t
15933 -s,@GMOFILES@,$GMOFILES,;t t
15934 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15935 -s,@INTLDEPS@,$INTLDEPS,;t t
15936 -s,@INTLLIBS@,$INTLLIBS,;t t
15937 -s,@INTLOBJS@,$INTLOBJS,;t t
15938 -s,@POFILES@,$POFILES,;t t
15939 -s,@POSUB@,$POSUB,;t t
15940 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15941 -s,@GT_NO@,$GT_NO,;t t
15942 -s,@GT_YES@,$GT_YES,;t t
15943 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15945 -s,@HDEFINES@,$HDEFINES,;t t
15946 -s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15947 -s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15948 -s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15949 -s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15950 -s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15951 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15952 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15953 -s,@COREFILE@,$COREFILE,;t t
15954 -s,@COREFLAG@,$COREFLAG,;t t
15955 -s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15956 -s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15957 -s,@TDEFINES@,$TDEFINES,;t t
15958 -s,@wordsize@,$wordsize,;t t
15959 -s,@bfd_libs@,$bfd_libs,;t t
15960 -s,@all_backends@,$all_backends,;t t
15961 -s,@bfd_backends@,$bfd_backends,;t t
15962 -s,@bfd_machines@,$bfd_machines,;t t
15963 -s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15964 -s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15965 -s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15966 -s,@tdefaults@,$tdefaults,;t t
15967 -s,@datarootdir@,$datarootdir,;t t
15968 -s,@docdir@,$docdir,;t t
15969 -s,@htmldir@,$htmldir,;t t
15970 -s,@LIBOBJS@,$LIBOBJS,;t t
15971 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15976 - cat >>$CONFIG_STATUS <<\_ACEOF
15977 - # Split the substitutions into bite-sized pieces for seds with
15978 - # small command number limits, like on Digital OSF/1 and HP-UX.
15979 - ac_max_sed_lines=48
15980 - ac_sed_frag=1 # Number of current file.
15981 - ac_beg=1 # First line for current file.
15982 - ac_end=$ac_max_sed_lines # Line after last line for current file.
15985 - while $ac_more_lines; do
15986 - if test $ac_beg -gt 1; then
15987 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15989 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15991 - if test ! -s $tmp/subs.frag; then
15992 - ac_more_lines=false
15994 - # The purpose of the label and of the branching condition is to
15995 - # speed up the sed processing (if there are no `@' at all, there
15996 - # is no need to browse any of the substitutions).
15997 - # These are the two extra sed commands mentioned above.
15999 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16000 - if test -z "$ac_sed_cmds"; then
16001 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16003 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16005 - ac_sed_frag=`expr $ac_sed_frag + 1`
16007 - ac_end=`expr $ac_end + $ac_max_sed_lines`
16010 - if test -z "$ac_sed_cmds"; then
16012 +if test -n "$CONFIG_FILES"; then
16019 +for ac_last_try in false false false false false :; do
16020 + cat >conf$$subs.sed <<_ACEOF
16021 +SHELL!$SHELL$ac_delim
16022 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16023 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16024 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16025 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16026 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16027 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16028 +exec_prefix!$exec_prefix$ac_delim
16029 +prefix!$prefix$ac_delim
16030 +program_transform_name!$program_transform_name$ac_delim
16031 +bindir!$bindir$ac_delim
16032 +sbindir!$sbindir$ac_delim
16033 +libexecdir!$libexecdir$ac_delim
16034 +datarootdir!$datarootdir$ac_delim
16035 +datadir!$datadir$ac_delim
16036 +sysconfdir!$sysconfdir$ac_delim
16037 +sharedstatedir!$sharedstatedir$ac_delim
16038 +localstatedir!$localstatedir$ac_delim
16039 +includedir!$includedir$ac_delim
16040 +oldincludedir!$oldincludedir$ac_delim
16041 +docdir!$docdir$ac_delim
16042 +infodir!$infodir$ac_delim
16043 +htmldir!$htmldir$ac_delim
16044 +dvidir!$dvidir$ac_delim
16045 +pdfdir!$pdfdir$ac_delim
16046 +psdir!$psdir$ac_delim
16047 +libdir!$libdir$ac_delim
16048 +localedir!$localedir$ac_delim
16049 +mandir!$mandir$ac_delim
16050 +DEFS!$DEFS$ac_delim
16051 +ECHO_C!$ECHO_C$ac_delim
16052 +ECHO_N!$ECHO_N$ac_delim
16053 +ECHO_T!$ECHO_T$ac_delim
16054 +LIBS!$LIBS$ac_delim
16055 +build_alias!$build_alias$ac_delim
16056 +host_alias!$host_alias$ac_delim
16057 +target_alias!$target_alias$ac_delim
16058 +build!$build$ac_delim
16059 +build_cpu!$build_cpu$ac_delim
16060 +build_vendor!$build_vendor$ac_delim
16061 +build_os!$build_os$ac_delim
16062 +host!$host$ac_delim
16063 +host_cpu!$host_cpu$ac_delim
16064 +host_vendor!$host_vendor$ac_delim
16065 +host_os!$host_os$ac_delim
16066 +target!$target$ac_delim
16067 +target_cpu!$target_cpu$ac_delim
16068 +target_vendor!$target_vendor$ac_delim
16069 +target_os!$target_os$ac_delim
16071 +CFLAGS!$CFLAGS$ac_delim
16072 +LDFLAGS!$LDFLAGS$ac_delim
16073 +CPPFLAGS!$CPPFLAGS$ac_delim
16074 +ac_ct_CC!$ac_ct_CC$ac_delim
16075 +EXEEXT!$EXEEXT$ac_delim
16076 +OBJEXT!$OBJEXT$ac_delim
16077 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16078 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16079 +INSTALL_DATA!$INSTALL_DATA$ac_delim
16080 +CYGPATH_W!$CYGPATH_W$ac_delim
16081 +PACKAGE!$PACKAGE$ac_delim
16082 +VERSION!$VERSION$ac_delim
16083 +ACLOCAL!$ACLOCAL$ac_delim
16084 +AUTOCONF!$AUTOCONF$ac_delim
16085 +AUTOMAKE!$AUTOMAKE$ac_delim
16086 +AUTOHEADER!$AUTOHEADER$ac_delim
16087 +MAKEINFO!$MAKEINFO$ac_delim
16088 +install_sh!$install_sh$ac_delim
16089 +STRIP!$STRIP$ac_delim
16090 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
16091 +mkdir_p!$mkdir_p$ac_delim
16093 +SET_MAKE!$SET_MAKE$ac_delim
16094 +am__leading_dot!$am__leading_dot$ac_delim
16095 +AMTAR!$AMTAR$ac_delim
16096 +am__tar!$am__tar$ac_delim
16097 +am__untar!$am__untar$ac_delim
16098 +DEPDIR!$DEPDIR$ac_delim
16099 +am__include!$am__include$ac_delim
16100 +am__quote!$am__quote$ac_delim
16101 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
16102 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
16103 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
16104 +CCDEPMODE!$CCDEPMODE$ac_delim
16105 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
16106 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
16108 +RANLIB!$RANLIB$ac_delim
16109 +LN_S!$LN_S$ac_delim
16110 +LIBTOOL!$LIBTOOL$ac_delim
16111 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
16112 +NO_WERROR!$NO_WERROR$ac_delim
16113 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
16114 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
16115 +MAINT!$MAINT$ac_delim
16116 +INSTALL_LIBBFD_TRUE!$INSTALL_LIBBFD_TRUE$ac_delim
16117 +INSTALL_LIBBFD_FALSE!$INSTALL_LIBBFD_FALSE$ac_delim
16120 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
16122 + elif $ac_last_try; then
16123 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16124 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16125 + { (exit 1); exit 1; }; }
16127 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16129 -fi # test -n "$CONFIG_FILES"
16132 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16133 +if test -n "$ac_eof"; then
16134 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16135 + ac_eof=`expr $ac_eof + 1`
16138 +cat >>$CONFIG_STATUS <<_ACEOF
16139 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16140 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16143 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16144 +s/^/s,@/; s/!/@,|#_!!_#|/
16147 +s/'"$ac_delim"'$/,g/; t
16149 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16150 +' >>$CONFIG_STATUS <conf$$subs.sed
16151 +rm -f conf$$subs.sed
16152 +cat >>$CONFIG_STATUS <<_ACEOF
16158 +for ac_last_try in false false false false false :; do
16159 + cat >conf$$subs.sed <<_ACEOF
16160 +host_noncanonical!$host_noncanonical$ac_delim
16161 +target_noncanonical!$target_noncanonical$ac_delim
16162 +bfdlibdir!$bfdlibdir$ac_delim
16163 +bfdincludedir!$bfdincludedir$ac_delim
16165 +GREP!$GREP$ac_delim
16166 +EGREP!$EGREP$ac_delim
16167 +ALLOCA!$ALLOCA$ac_delim
16168 +USE_NLS!$USE_NLS$ac_delim
16169 +MSGFMT!$MSGFMT$ac_delim
16170 +GMSGFMT!$GMSGFMT$ac_delim
16171 +XGETTEXT!$XGETTEXT$ac_delim
16172 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
16173 +CATALOGS!$CATALOGS$ac_delim
16174 +CATOBJEXT!$CATOBJEXT$ac_delim
16175 +DATADIRNAME!$DATADIRNAME$ac_delim
16176 +GMOFILES!$GMOFILES$ac_delim
16177 +INSTOBJEXT!$INSTOBJEXT$ac_delim
16178 +INTLDEPS!$INTLDEPS$ac_delim
16179 +INTLLIBS!$INTLLIBS$ac_delim
16180 +INTLOBJS!$INTLOBJS$ac_delim
16181 +POFILES!$POFILES$ac_delim
16182 +POSUB!$POSUB$ac_delim
16183 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
16184 +GT_NO!$GT_NO$ac_delim
16185 +GT_YES!$GT_YES$ac_delim
16186 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
16188 +HDEFINES!$HDEFINES$ac_delim
16189 +BFD_HOST_64BIT_LONG!$BFD_HOST_64BIT_LONG$ac_delim
16190 +BFD_HOST_LONG_LONG!$BFD_HOST_LONG_LONG$ac_delim
16191 +BFD_HOST_64_BIT_DEFINED!$BFD_HOST_64_BIT_DEFINED$ac_delim
16192 +BFD_HOST_64_BIT!$BFD_HOST_64_BIT$ac_delim
16193 +BFD_HOST_U_64_BIT!$BFD_HOST_U_64_BIT$ac_delim
16194 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
16195 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
16196 +COREFILE!$COREFILE$ac_delim
16197 +COREFLAG!$COREFLAG$ac_delim
16198 +WIN32LDFLAGS!$WIN32LDFLAGS$ac_delim
16199 +WIN32LIBADD!$WIN32LIBADD$ac_delim
16200 +TDEFINES!$TDEFINES$ac_delim
16201 +wordsize!$wordsize$ac_delim
16202 +bfd_libs!$bfd_libs$ac_delim
16203 +all_backends!$all_backends$ac_delim
16204 +bfd_backends!$bfd_backends$ac_delim
16205 +bfd_machines!$bfd_machines$ac_delim
16206 +bfd_default_target_size!$bfd_default_target_size$ac_delim
16207 +bfd_file_ptr!$bfd_file_ptr$ac_delim
16208 +bfd_ufile_ptr!$bfd_ufile_ptr$ac_delim
16209 +tdefaults!$tdefaults$ac_delim
16210 +LIBOBJS!$LIBOBJS$ac_delim
16211 +LTLIBOBJS!$LTLIBOBJS$ac_delim
16214 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
16216 + elif $ac_last_try; then
16217 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16218 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16219 + { (exit 1); exit 1; }; }
16221 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16225 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16226 +if test -n "$ac_eof"; then
16227 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16228 + ac_eof=`expr $ac_eof + 1`
16231 +cat >>$CONFIG_STATUS <<_ACEOF
16232 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
16233 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
16236 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16237 +s/^/s,@/; s/!/@,|#_!!_#|/
16240 +s/'"$ac_delim"'$/,g/; t
16242 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16243 +' >>$CONFIG_STATUS <conf$$subs.sed
16244 +rm -f conf$$subs.sed
16245 +cat >>$CONFIG_STATUS <<_ACEOF
16252 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
16253 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16254 +# trailing colons and then remove the whole line if VPATH becomes empty
16255 +# (actually we leave an empty line to preserve line numbers).
16256 +if test "x$srcdir" = x.; then
16257 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
16258 +s/:*\$(srcdir):*/:/
16259 +s/:*\${srcdir}:*/:/
16261 +s/^\([^=]*=[ ]*\):*/\1/
16267 cat >>$CONFIG_STATUS <<\_ACEOF
16268 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16269 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16271 - - | *:- | *:-:* ) # input from stdin
16273 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16274 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16275 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16276 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16277 - * ) ac_file_in=$ac_file.in ;;
16278 +fi # test -n "$CONFIG_FILES"
16281 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
16284 + :[FHLC]) ac_mode=$ac_tag; continue;;
16286 + case $ac_mode$ac_tag in
16288 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
16289 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
16290 + { (exit 1); exit 1; }; };;
16291 + :[FH]-) ac_tag=-:-;;
16292 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16303 + :L) ac_source=$1;;
16309 + -) ac_f="$tmp/stdin";;
16310 + *) # Look for the file first in the build tree, then in the source tree
16311 + # (if the path is not absolute). The absolute path cannot be DOS-style,
16312 + # because $ac_f cannot contain `:'.
16313 + test -f "$ac_f" ||
16316 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16318 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16319 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16320 + { (exit 1); exit 1; }; };;
16322 + ac_file_inputs="$ac_file_inputs $ac_f"
16325 + # Let's still pretend it is `configure' which instantiates (i.e., don't
16326 + # use $as_me), people would be surprised to read:
16327 + # /* config.h. Generated by config.status. */
16328 + configure_input="Generated from "`IFS=:
16329 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16330 + if test x"$ac_file" != x-; then
16331 + configure_input="$ac_file. $configure_input"
16332 + { echo "$as_me:$LINENO: creating $ac_file" >&5
16333 +echo "$as_me: creating $ac_file" >&6;}
16337 + *:-:* | *:-) cat >"$tmp/stdin";;
16342 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16343 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16344 + ac_dir=`$as_dirname -- "$ac_file" ||
16345 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16346 X"$ac_file" : 'X\(//\)[^/]' \| \
16347 X"$ac_file" : 'X\(//\)$' \| \
16348 - X"$ac_file" : 'X\(/\)' \| \
16349 - . : '\(.\)' 2>/dev/null ||
16350 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16352 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16353 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16354 - /^X\(\/\/\)$/{ s//\1/; q; }
16355 - /^X\(\/\).*/{ s//\1/; q; }
16357 - { if $as_mkdir_p; then
16358 - mkdir -p "$ac_dir"
16361 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16365 + /^X\(\/\/\)[^/].*/{
16378 + { as_dir="$ac_dir"
16379 + case $as_dir in #(
16380 + -*) as_dir=./$as_dir;;
16382 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16384 - while test ! -d "$as_dir"; do
16385 - as_dirs="$as_dir $as_dirs"
16386 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16388 + case $as_dir in #(
16389 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16390 + *) as_qdir=$as_dir;;
16392 + as_dirs="'$as_qdir' $as_dirs"
16393 + as_dir=`$as_dirname -- "$as_dir" ||
16394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16395 X"$as_dir" : 'X\(//\)[^/]' \| \
16396 X"$as_dir" : 'X\(//\)$' \| \
16397 - X"$as_dir" : 'X\(/\)' \| \
16398 - . : '\(.\)' 2>/dev/null ||
16399 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16401 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16402 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16403 - /^X\(\/\/\)$/{ s//\1/; q; }
16404 - /^X\(\/\).*/{ s//\1/; q; }
16406 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16410 + /^X\(\/\/\)[^/].*/{
16423 + test -d "$as_dir" && break
16425 - test ! -n "$as_dirs" || mkdir $as_dirs
16426 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16427 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16428 + test -z "$as_dirs" || eval "mkdir $as_dirs"
16429 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16430 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
16431 { (exit 1); exit 1; }; }; }
16435 -if test "$ac_dir" != .; then
16437 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16439 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16440 - # A "../" for each directory in $ac_dir_suffix.
16441 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16443 - ac_dir_suffix= ac_top_builddir=
16445 + # A ".." for each directory in $ac_dir_suffix.
16446 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16447 + case $ac_top_builddir_sub in
16448 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16449 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16452 +ac_abs_top_builddir=$ac_pwd
16453 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
16454 +# for backward compatibility:
16455 +ac_top_builddir=$ac_top_build_prefix
16458 - .) # No --srcdir option. We are building in place.
16459 + .) # We are building in place.
16461 - if test -z "$ac_top_builddir"; then
16464 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16466 - [\\/]* | ?:[\\/]* ) # Absolute path.
16467 + ac_top_srcdir=$ac_top_builddir_sub
16468 + ac_abs_top_srcdir=$ac_pwd ;;
16469 + [\\/]* | ?:[\\/]* ) # Absolute name.
16470 ac_srcdir=$srcdir$ac_dir_suffix;
16471 - ac_top_srcdir=$srcdir ;;
16472 - *) # Relative path.
16473 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16474 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
16476 + ac_top_srcdir=$srcdir
16477 + ac_abs_top_srcdir=$srcdir ;;
16478 + *) # Relative name.
16479 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16480 + ac_top_srcdir=$ac_top_build_prefix$srcdir
16481 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16483 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16485 -# Do not use `cd foo && pwd` to compute absolute paths, because
16486 -# the directories may not exist.
16488 -.) ac_abs_builddir="$ac_dir";;
16490 - case "$ac_dir" in
16491 - .) ac_abs_builddir=`pwd`;;
16492 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16493 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
16496 -case $ac_abs_builddir in
16497 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
16499 - case ${ac_top_builddir}. in
16500 - .) ac_abs_top_builddir=$ac_abs_builddir;;
16501 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16502 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16505 -case $ac_abs_builddir in
16506 -.) ac_abs_srcdir=$ac_srcdir;;
16508 - case $ac_srcdir in
16509 - .) ac_abs_srcdir=$ac_abs_builddir;;
16510 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16511 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16514 -case $ac_abs_builddir in
16515 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
16517 - case $ac_top_srcdir in
16518 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
16519 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16520 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16531 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16532 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16533 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16537 - if test x"$ac_file" != x-; then
16538 - { echo "$as_me:$LINENO: creating $ac_file" >&5
16539 -echo "$as_me: creating $ac_file" >&6;}
16542 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16543 - # use $as_me), people would be surprised to read:
16544 - # /* config.h. Generated by config.status. */
16545 - if test x"$ac_file" = x-; then
16548 - configure_input="$ac_file. "
16550 - configure_input=$configure_input"Generated from `echo $ac_file_in |
16551 - sed 's,.*/,,'` by configure."
16553 - # First look for the input files in the build tree, otherwise in the
16555 - ac_file_inputs=`IFS=:
16556 - for f in $ac_file_in; do
16558 - -) echo $tmp/stdin ;;
16560 - # Absolute (can't be DOS-style, as IFS=:)
16561 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16562 -echo "$as_me: error: cannot find input file: $f" >&2;}
16563 - { (exit 1); exit 1; }; }
16566 - if test -f "$f"; then
16569 - elif test -f "$srcdir/$f"; then
16571 - echo "$srcdir/$f"
16574 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16575 -echo "$as_me: error: cannot find input file: $f" >&2;}
16576 - { (exit 1); exit 1; }; }
16579 - done` || { (exit 1); exit 1; }
16580 +cat >>$CONFIG_STATUS <<\_ACEOF
16581 +# If the template does not know about datarootdir, expand it.
16582 +# FIXME: This hack should be removed a few years after 2.60.
16583 +ac_datarootdir_hack=; ac_datarootdir_seen=
16585 +case `sed -n '/datarootdir/ {
16594 +' $ac_file_inputs` in
16595 +*datarootdir*) ac_datarootdir_seen=yes;;
16596 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16597 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16598 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16600 +cat >>$CONFIG_STATUS <<_ACEOF
16601 + ac_datarootdir_hack='
16602 + s&@datadir@&$datadir&g
16603 + s&@docdir@&$docdir&g
16604 + s&@infodir@&$infodir&g
16605 + s&@localedir@&$localedir&g
16606 + s&@mandir@&$mandir&g
16607 + s&\\\${datarootdir}&$datarootdir&g' ;;
16611 +# Neutralize VPATH when `$srcdir' = `.'.
16612 +# Shell code in configure.ac might set extrasub.
16613 +# FIXME: do we really want to maintain this feature?
16614 cat >>$CONFIG_STATUS <<_ACEOF
16617 @@ -15521,248 +15939,130 @@ _ACEOF
16618 cat >>$CONFIG_STATUS <<\_ACEOF
16620 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16621 -s,@configure_input@,$configure_input,;t t
16622 -s,@srcdir@,$ac_srcdir,;t t
16623 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
16624 -s,@top_srcdir@,$ac_top_srcdir,;t t
16625 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16626 -s,@builddir@,$ac_builddir,;t t
16627 -s,@abs_builddir@,$ac_abs_builddir,;t t
16628 -s,@top_builddir@,$ac_top_builddir,;t t
16629 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16630 -s,@INSTALL@,$ac_INSTALL,;t t
16631 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16633 - if test x"$ac_file" != x-; then
16634 - mv $tmp/out $ac_file
16642 -cat >>$CONFIG_STATUS <<\_ACEOF
16645 -# CONFIG_HEADER section.
16648 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16649 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
16651 -# ac_d sets the value in "#define NAME VALUE" lines.
16652 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16653 -ac_dB='[ ].*$,\1#\2'
16656 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16657 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16658 -ac_uB='$,\1#\2define\3'
16661 +s&@configure_input@&$configure_input&;t t
16662 +s&@top_builddir@&$ac_top_builddir_sub&;t t
16663 +s&@srcdir@&$ac_srcdir&;t t
16664 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
16665 +s&@top_srcdir@&$ac_top_srcdir&;t t
16666 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16667 +s&@builddir@&$ac_builddir&;t t
16668 +s&@abs_builddir@&$ac_abs_builddir&;t t
16669 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16670 +s&@INSTALL@&$ac_INSTALL&;t t
16671 +$ac_datarootdir_hack
16672 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
16674 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16675 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16676 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16677 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16678 +which seems to be undefined. Please make sure it is defined." >&5
16679 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16680 +which seems to be undefined. Please make sure it is defined." >&2;}
16682 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16683 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16684 + rm -f "$tmp/stdin"
16686 - - | *:- | *:-:* ) # input from stdin
16688 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16689 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16690 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16691 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16692 - * ) ac_file_in=$ac_file.in ;;
16693 + -) cat "$tmp/out"; rm -f "$tmp/out";;
16694 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16703 +# Transform confdefs.h into a sed script `conftest.defines', that
16704 +# substitutes the proper values into config.h.in to produce config.h.
16705 +rm -f conftest.defines conftest.tail
16706 +# First, append a space to every undef/define line, to ease matching.
16707 +echo 's/$/ /' >conftest.defines
16708 +# Then, protect against being on the right side of a sed subst, or in
16709 +# an unquoted here document, in config.status. If some macros were
16710 +# called several times there might be several #defines for the same
16711 +# symbol, which is useless. But do not sort them, since the last
16712 +# AC_DEFINE must be honored.
16713 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16714 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16715 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
16716 +# PARAMS is the parameter list in the macro definition--in most cases, it's
16717 +# just an empty string.
16718 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
16719 +ac_dB='\\)[ (].*,\\1define\\2'
16723 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16724 -echo "$as_me: creating $ac_file" >&6;}
16726 - # First look for the input files in the build tree, otherwise in the
16728 - ac_file_inputs=`IFS=:
16729 - for f in $ac_file_in; do
16731 - -) echo $tmp/stdin ;;
16733 - # Absolute (can't be DOS-style, as IFS=:)
16734 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16735 -echo "$as_me: error: cannot find input file: $f" >&2;}
16736 - { (exit 1); exit 1; }; }
16737 - # Do quote $f, to prevent DOS paths from being IFS'd.
16740 - if test -f "$f"; then
16743 - elif test -f "$srcdir/$f"; then
16745 - echo "$srcdir/$f"
16748 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16749 -echo "$as_me: error: cannot find input file: $f" >&2;}
16750 - { (exit 1); exit 1; }; }
16753 - done` || { (exit 1); exit 1; }
16754 - # Remove the trailing spaces.
16755 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16759 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
16760 -# `conftest.undefs', that substitutes the proper values into
16761 -# config.h.in to produce config.h. The first handles `#define'
16762 -# templates, and the second `#undef' templates.
16763 -# And first: Protect against being on the right side of a sed subst in
16764 -# config.status. Protect against being in an unquoted here document
16765 -# in config.status.
16766 -rm -f conftest.defines conftest.undefs
16767 -# Using a here document instead of a string reduces the quoting nightmare.
16768 -# Putting comments in sed scripts is not portable.
16770 -# `end' is used to avoid that the second main sed command (meant for
16771 -# 0-ary CPP macros) applies to n-ary macro definitions.
16772 -# See the Autoconf documentation for `clear'.
16773 -cat >confdef2sed.sed <<\_ACEOF
16778 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16780 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16783 -# If some macros were called several times there might be several times
16784 -# the same #defines, which is useless. Nevertheless, we may not want to
16785 -# sort them, since we want the *last* AC-DEFINE to be honored.
16786 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16787 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16788 -rm -f confdef2sed.sed
16793 + s/^[ ]*#[ ]*define[ ][ ]*//
16798 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16799 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16800 + ' >>conftest.defines
16802 -# This sed command replaces #undef with comments. This is necessary, for
16803 +# Remove the space that was appended to ease matching.
16804 +# Then replace #undef with comments. This is necessary, for
16805 # example, in the case of _POSIX_SOURCE, which is predefined and required
16806 # on some systems where configure will not decide to define it.
16807 -cat >>conftest.undefs <<\_ACEOF
16808 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16809 +# (The regexp can be short, since the line contains either #define or #undef.)
16811 +s,^[ #]*u.*,/* & */,' >>conftest.defines
16813 +# Break up conftest.defines:
16814 +ac_max_sed_lines=50
16816 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16817 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16818 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16820 +ac_in='$ac_file_inputs'
16821 +ac_out='"$tmp/out1"'
16822 +ac_nxt='"$tmp/out2"'
16826 + # Write a here document:
16827 + cat >>$CONFIG_STATUS <<_ACEOF
16828 + # First, check the format of the line:
16829 + cat >"\$tmp/defines.sed" <<\\CEOF
16830 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
16831 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
16836 -# Break up conftest.defines because some shells have a limit on the size
16837 -# of here documents, and old seds have small limits too (100 cmds).
16838 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16839 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16840 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16841 -echo ' :' >>$CONFIG_STATUS
16842 -rm -f conftest.tail
16843 -while grep . conftest.defines >/dev/null
16845 - # Write a limited-size here document to $tmp/defines.sed.
16846 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16847 - # Speed up: don't consider the non `#define' lines.
16848 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16849 - # Work around the forget-to-reset-the-flag bug.
16850 - echo 't clr' >>$CONFIG_STATUS
16851 - echo ': clr' >>$CONFIG_STATUS
16852 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16853 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16855 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
16857 - mv $tmp/out $tmp/in
16858 -' >>$CONFIG_STATUS
16859 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16860 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16861 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16862 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16863 + grep . conftest.tail >/dev/null || break
16864 rm -f conftest.defines
16865 mv conftest.tail conftest.defines
16867 -rm -f conftest.defines
16868 -echo ' fi # grep' >>$CONFIG_STATUS
16869 -echo >>$CONFIG_STATUS
16871 -# Break up conftest.undefs because some shells have a limit on the size
16872 -# of here documents, and old seds have small limits too (100 cmds).
16873 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16874 -rm -f conftest.tail
16875 -while grep . conftest.undefs >/dev/null
16877 - # Write a limited-size here document to $tmp/undefs.sed.
16878 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16879 - # Speed up: don't consider the non `#undef'
16880 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16881 - # Work around the forget-to-reset-the-flag bug.
16882 - echo 't clr' >>$CONFIG_STATUS
16883 - echo ': clr' >>$CONFIG_STATUS
16884 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16886 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16888 - mv $tmp/out $tmp/in
16889 -' >>$CONFIG_STATUS
16890 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16891 - rm -f conftest.undefs
16892 - mv conftest.tail conftest.undefs
16894 -rm -f conftest.undefs
16895 +rm -f conftest.defines conftest.tail
16897 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
16898 cat >>$CONFIG_STATUS <<\_ACEOF
16899 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16900 - # use $as_me), people would be surprised to read:
16901 - # /* config.h. Generated by config.status. */
16902 - if test x"$ac_file" = x-; then
16903 - echo "/* Generated by configure. */" >$tmp/config.h
16905 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16907 - cat $tmp/in >>$tmp/config.h
16909 if test x"$ac_file" != x-; then
16910 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16911 + echo "/* $configure_input */" >"$tmp/config.h"
16912 + cat "$ac_result" >>"$tmp/config.h"
16913 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16914 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16915 echo "$as_me: $ac_file is unchanged" >&6;}
16917 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16918 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16919 - X"$ac_file" : 'X\(//\)[^/]' \| \
16920 - X"$ac_file" : 'X\(//\)$' \| \
16921 - X"$ac_file" : 'X\(/\)' \| \
16922 - . : '\(.\)' 2>/dev/null ||
16923 -echo X"$ac_file" |
16924 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16925 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16926 - /^X\(\/\/\)$/{ s//\1/; q; }
16927 - /^X\(\/\).*/{ s//\1/; q; }
16929 - { if $as_mkdir_p; then
16930 - mkdir -p "$ac_dir"
16934 - while test ! -d "$as_dir"; do
16935 - as_dirs="$as_dir $as_dirs"
16936 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16937 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16938 - X"$as_dir" : 'X\(//\)[^/]' \| \
16939 - X"$as_dir" : 'X\(//\)$' \| \
16940 - X"$as_dir" : 'X\(/\)' \| \
16941 - . : '\(.\)' 2>/dev/null ||
16943 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16944 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16945 - /^X\(\/\/\)$/{ s//\1/; q; }
16946 - /^X\(\/\).*/{ s//\1/; q; }
16949 - test ! -n "$as_dirs" || mkdir $as_dirs
16950 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16951 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16952 - { (exit 1); exit 1; }; }; }
16955 - mv $tmp/config.h $ac_file
16956 + mv "$tmp/config.h" $ac_file
16959 - cat $tmp/config.h
16960 - rm -f $tmp/config.h
16961 + echo "/* $configure_input */"
16964 + rm -f "$tmp/out12"
16965 # Compute $ac_file's index in $config_headers.
16967 for _am_header in $config_headers :; do
16968 @@ -15773,135 +16073,39 @@ for _am_header in $config_headers :; do
16969 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16972 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16973 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
16974 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16975 X$ac_file : 'X\(//\)[^/]' \| \
16976 X$ac_file : 'X\(//\)$' \| \
16977 - X$ac_file : 'X\(/\)' \| \
16978 - . : '\(.\)' 2>/dev/null ||
16979 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
16981 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16982 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16983 - /^X\(\/\/\)$/{ s//\1/; q; }
16984 - /^X\(\/\).*/{ s//\1/; q; }
16985 - s/.*/./; q'`/stamp-h$_am_stamp_count
16988 -cat >>$CONFIG_STATUS <<\_ACEOF
16991 -# CONFIG_COMMANDS section.
16993 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
16994 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
16995 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
16996 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
16997 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16998 - X"$ac_dest" : 'X\(//\)[^/]' \| \
16999 - X"$ac_dest" : 'X\(//\)$' \| \
17000 - X"$ac_dest" : 'X\(/\)' \| \
17001 - . : '\(.\)' 2>/dev/null ||
17002 -echo X"$ac_dest" |
17003 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17004 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17005 - /^X\(\/\/\)$/{ s//\1/; q; }
17006 - /^X\(\/\).*/{ s//\1/; q; }
17008 - { if $as_mkdir_p; then
17009 - mkdir -p "$ac_dir"
17013 - while test ! -d "$as_dir"; do
17014 - as_dirs="$as_dir $as_dirs"
17015 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17016 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17017 - X"$as_dir" : 'X\(//\)[^/]' \| \
17018 - X"$as_dir" : 'X\(//\)$' \| \
17019 - X"$as_dir" : 'X\(/\)' \| \
17020 - . : '\(.\)' 2>/dev/null ||
17022 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17023 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17024 - /^X\(\/\/\)$/{ s//\1/; q; }
17025 - /^X\(\/\).*/{ s//\1/; q; }
17028 - test ! -n "$as_dirs" || mkdir $as_dirs
17029 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17030 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17031 - { (exit 1); exit 1; }; }; }
17035 -if test "$ac_dir" != .; then
17036 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17037 - # A "../" for each directory in $ac_dir_suffix.
17038 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17040 - ac_dir_suffix= ac_top_builddir=
17044 - .) # No --srcdir option. We are building in place.
17046 - if test -z "$ac_top_builddir"; then
17049 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17051 - [\\/]* | ?:[\\/]* ) # Absolute path.
17052 - ac_srcdir=$srcdir$ac_dir_suffix;
17053 - ac_top_srcdir=$srcdir ;;
17054 - *) # Relative path.
17055 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17056 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
17058 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17062 + /^X\(\/\/\)[^/].*/{
17074 + s/.*/./; q'`/stamp-h$_am_stamp_count
17077 -# Do not use `cd foo && pwd` to compute absolute paths, because
17078 -# the directories may not exist.
17080 -.) ac_abs_builddir="$ac_dir";;
17082 - case "$ac_dir" in
17083 - .) ac_abs_builddir=`pwd`;;
17084 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
17085 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
17088 -case $ac_abs_builddir in
17089 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
17091 - case ${ac_top_builddir}. in
17092 - .) ac_abs_top_builddir=$ac_abs_builddir;;
17093 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
17094 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
17097 -case $ac_abs_builddir in
17098 -.) ac_abs_srcdir=$ac_srcdir;;
17100 - case $ac_srcdir in
17101 - .) ac_abs_srcdir=$ac_abs_builddir;;
17102 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
17103 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
17106 -case $ac_abs_builddir in
17107 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
17109 - case $ac_top_srcdir in
17110 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
17111 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
17112 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
17115 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17116 +echo "$as_me: executing $ac_file commands" >&6;}
17121 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17122 -echo "$as_me: executing $ac_dest commands" >&6;}
17124 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17125 + case $ac_file$ac_mode in
17126 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17127 # Strip MF so we end up with the name of the file.
17128 mf=`echo "$mf" | sed -e 's/:.*$//'`
17129 # Check whether this is an Automake generated Makefile or not.
17130 @@ -15911,18 +16115,29 @@ echo "$as_me: executing $ac_dest command
17131 # each Makefile.in and add a new line on top of each file to say so.
17132 # So let's grep whole file.
17133 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
17134 - dirpart=`(dirname "$mf") 2>/dev/null ||
17135 + dirpart=`$as_dirname -- "$mf" ||
17136 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17137 X"$mf" : 'X\(//\)[^/]' \| \
17138 X"$mf" : 'X\(//\)$' \| \
17139 - X"$mf" : 'X\(/\)' \| \
17140 - . : '\(.\)' 2>/dev/null ||
17141 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17143 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17144 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17145 - /^X\(\/\/\)$/{ s//\1/; q; }
17146 - /^X\(\/\).*/{ s//\1/; q; }
17148 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17152 + /^X\(\/\/\)[^/].*/{
17168 @@ -15944,54 +16159,80 @@ echo X"$mf" |
17169 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17170 # Make sure the directory exists.
17171 test -f "$dirpart/$file" && continue
17172 - fdir=`(dirname "$file") 2>/dev/null ||
17173 + fdir=`$as_dirname -- "$file" ||
17174 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17175 X"$file" : 'X\(//\)[^/]' \| \
17176 X"$file" : 'X\(//\)$' \| \
17177 - X"$file" : 'X\(/\)' \| \
17178 - . : '\(.\)' 2>/dev/null ||
17179 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17181 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17182 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17183 - /^X\(\/\/\)$/{ s//\1/; q; }
17184 - /^X\(\/\).*/{ s//\1/; q; }
17186 - { if $as_mkdir_p; then
17187 - mkdir -p $dirpart/$fdir
17189 - as_dir=$dirpart/$fdir
17190 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17194 + /^X\(\/\/\)[^/].*/{
17207 + { as_dir=$dirpart/$fdir
17208 + case $as_dir in #(
17209 + -*) as_dir=./$as_dir;;
17211 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17213 - while test ! -d "$as_dir"; do
17214 - as_dirs="$as_dir $as_dirs"
17215 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17217 + case $as_dir in #(
17218 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17219 + *) as_qdir=$as_dir;;
17221 + as_dirs="'$as_qdir' $as_dirs"
17222 + as_dir=`$as_dirname -- "$as_dir" ||
17223 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17224 X"$as_dir" : 'X\(//\)[^/]' \| \
17225 X"$as_dir" : 'X\(//\)$' \| \
17226 - X"$as_dir" : 'X\(/\)' \| \
17227 - . : '\(.\)' 2>/dev/null ||
17228 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17230 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17231 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17232 - /^X\(\/\/\)$/{ s//\1/; q; }
17233 - /^X\(\/\).*/{ s//\1/; q; }
17235 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17239 + /^X\(\/\/\)[^/].*/{
17252 + test -d "$as_dir" && break
17254 - test ! -n "$as_dirs" || mkdir $as_dirs
17255 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17256 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17257 + test -z "$as_dirs" || eval "mkdir $as_dirs"
17258 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17259 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
17260 { (exit 1); exit 1; }; }; }
17262 # echo "creating $dirpart/$file"
17263 echo '# dummy' > "$dirpart/$file"
17267 - default ) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17268 + "default":C) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17275 -cat >>$CONFIG_STATUS <<\_ACEOF
17277 { (exit 0); exit 0; }
17280 +++ b/bfd/cpu-avr32.c
17282 +/* BFD library support routines for AVR32.
17283 + Copyright 2003-2006 Atmel Corporation.
17285 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17287 + This is part of BFD, the Binary File Descriptor library.
17289 + This program is free software; you can redistribute it and/or modify
17290 + it under the terms of the GNU General Public License as published by
17291 + the Free Software Foundation; either version 2 of the License, or
17292 + (at your option) any later version.
17294 + This program is distributed in the hope that it will be useful,
17295 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17296 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17297 + GNU General Public License for more details.
17299 + You should have received a copy of the GNU General Public License
17300 + along with this program; if not, write to the Free Software
17301 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17304 +#include "sysdep.h"
17305 +#include "libbfd.h"
17307 +#define N(machine, print, default, next) \
17309 + 32, /* 32 bits in a word */ \
17310 + 32, /* 32 bits in an address */ \
17311 + 8, /* 8 bits in a byte */ \
17312 + bfd_arch_avr32, /* architecture */ \
17313 + machine, /* machine */ \
17314 + "avr32", /* arch name */ \
17315 + print, /* printable name */ \
17316 + 1, /* section align power */ \
17317 + default, /* the default machine? */ \
17318 + bfd_default_compatible, \
17319 + bfd_default_scan, \
17323 +static const bfd_arch_info_type cpu_info[] =
17325 + N(bfd_mach_avr32_ap, "avr32:ap", FALSE, &cpu_info[1]),
17326 + N(bfd_mach_avr32_uc, "avr32:uc", FALSE, NULL),
17329 +const bfd_arch_info_type bfd_avr32_arch =
17330 + N(bfd_mach_avr32_ap, "avr32", TRUE, &cpu_info[0]);
17331 --- a/bfd/doc/bfd.info
17332 +++ b/bfd/doc/bfd.info
17334 -This is ../.././bfd/doc/bfd.info, produced by makeinfo version 4.8 from
17335 -../.././bfd/doc/bfd.texinfo.
17337 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/bfd/doc/bfd.info,
17338 +produced by makeinfo version 4.8 from
17339 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/bfd/doc/bfd.texinfo.
17341 START-INFO-DIR-ENTRY
17342 * Bfd: (bfd). The Binary File Descriptor library.
17343 @@ -10239,67 +10241,67 @@ Index
17348 -Node: Overview
\7f1056
17349 -Node: History
\7f2107
17350 -Node: How It Works
\7f3053
17351 -Node: What BFD Version 2 Can Do
\7f4595
17352 -Node: BFD information loss
\7f5910
17353 -Node: Canonical format
\7f8442
17354 -Node: BFD front end
\7f12814
17355 -Node: Memory Usage
\7f38428
17356 -Node: Initialization
\7f39656
17357 -Node: Sections
\7f40115
17358 -Node: Section Input
\7f40598
17359 -Node: Section Output
\7f41963
17360 -Node: typedef asection
\7f44449
17361 -Node: section prototypes
\7f69406
17362 -Node: Symbols
\7f79086
17363 -Node: Reading Symbols
\7f80681
17364 -Node: Writing Symbols
\7f81788
17365 -Node: Mini Symbols
\7f83497
17366 -Node: typedef asymbol
\7f84471
17367 -Node: symbol handling functions
\7f89389
17368 -Node: Archives
\7f94731
17369 -Node: Formats
\7f98457
17370 -Node: Relocations
\7f101405
17371 -Node: typedef arelent
\7f102132
17372 -Node: howto manager
\7f117943
17373 -Node: Core Files
\7f180223
17374 -Node: Targets
\7f182040
17375 -Node: bfd_target
\7f184010
17376 -Node: Architectures
\7f204090
17377 -Node: Opening and Closing
\7f225522
17378 -Node: Internal
\7f236524
17379 -Node: File Caching
\7f242857
17380 -Node: Linker Functions
\7f244771
17381 -Node: Creating a Linker Hash Table
\7f246444
17382 -Node: Adding Symbols to the Hash Table
\7f248182
17383 -Node: Differing file formats
\7f249082
17384 -Node: Adding symbols from an object file
\7f250830
17385 -Node: Adding symbols from an archive
\7f252981
17386 -Node: Performing the Final Link
\7f255395
17387 -Node: Information provided by the linker
\7f256637
17388 -Node: Relocating the section contents
\7f257791
17389 -Node: Writing the symbol table
\7f259542
17390 -Node: Hash Tables
\7f262535
17391 -Node: Creating and Freeing a Hash Table
\7f263733
17392 -Node: Looking Up or Entering a String
\7f264983
17393 -Node: Traversing a Hash Table
\7f266236
17394 -Node: Deriving a New Hash Table Type
\7f267025
17395 -Node: Define the Derived Structures
\7f268091
17396 -Node: Write the Derived Creation Routine
\7f269172
17397 -Node: Write Other Derived Routines
\7f271796
17398 -Node: BFD back ends
\7f273111
17399 -Node: What to Put Where
\7f273381
17400 -Node: aout
\7f273519
17401 -Node: coff
\7f279837
17402 -Node: elf
\7f304314
17403 -Node: mmo
\7f305177
17404 -Node: File layout
\7f306105
17405 -Node: Symbol-table
\7f311752
17406 -Node: mmo section mapping
\7f315521
17407 -Node: GNU Free Documentation License
\7f319173
17408 -Node: Index
\7f338898
17410 +Node: Overview
\7f1190
17411 +Node: History
\7f2241
17412 +Node: How It Works
\7f3187
17413 +Node: What BFD Version 2 Can Do
\7f4729
17414 +Node: BFD information loss
\7f6044
17415 +Node: Canonical format
\7f8576
17416 +Node: BFD front end
\7f12948
17417 +Node: Memory Usage
\7f38562
17418 +Node: Initialization
\7f39790
17419 +Node: Sections
\7f40249
17420 +Node: Section Input
\7f40732
17421 +Node: Section Output
\7f42097
17422 +Node: typedef asection
\7f44583
17423 +Node: section prototypes
\7f69540
17424 +Node: Symbols
\7f79220
17425 +Node: Reading Symbols
\7f80815
17426 +Node: Writing Symbols
\7f81922
17427 +Node: Mini Symbols
\7f83631
17428 +Node: typedef asymbol
\7f84605
17429 +Node: symbol handling functions
\7f89523
17430 +Node: Archives
\7f94865
17431 +Node: Formats
\7f98591
17432 +Node: Relocations
\7f101539
17433 +Node: typedef arelent
\7f102266
17434 +Node: howto manager
\7f118077
17435 +Node: Core Files
\7f180357
17436 +Node: Targets
\7f182174
17437 +Node: bfd_target
\7f184144
17438 +Node: Architectures
\7f204224
17439 +Node: Opening and Closing
\7f225656
17440 +Node: Internal
\7f236658
17441 +Node: File Caching
\7f242991
17442 +Node: Linker Functions
\7f244905
17443 +Node: Creating a Linker Hash Table
\7f246578
17444 +Node: Adding Symbols to the Hash Table
\7f248316
17445 +Node: Differing file formats
\7f249216
17446 +Node: Adding symbols from an object file
\7f250964
17447 +Node: Adding symbols from an archive
\7f253115
17448 +Node: Performing the Final Link
\7f255529
17449 +Node: Information provided by the linker
\7f256771
17450 +Node: Relocating the section contents
\7f257925
17451 +Node: Writing the symbol table
\7f259676
17452 +Node: Hash Tables
\7f262669
17453 +Node: Creating and Freeing a Hash Table
\7f263867
17454 +Node: Looking Up or Entering a String
\7f265117
17455 +Node: Traversing a Hash Table
\7f266370
17456 +Node: Deriving a New Hash Table Type
\7f267159
17457 +Node: Define the Derived Structures
\7f268225
17458 +Node: Write the Derived Creation Routine
\7f269306
17459 +Node: Write Other Derived Routines
\7f271930
17460 +Node: BFD back ends
\7f273245
17461 +Node: What to Put Where
\7f273515
17462 +Node: aout
\7f273653
17463 +Node: coff
\7f279971
17464 +Node: elf
\7f304448
17465 +Node: mmo
\7f305311
17466 +Node: File layout
\7f306239
17467 +Node: Symbol-table
\7f311886
17468 +Node: mmo section mapping
\7f315655
17469 +Node: GNU Free Documentation License
\7f319307
17470 +Node: Index
\7f339032
17473 --- a/bfd/doc/Makefile.in
17474 +++ b/bfd/doc/Makefile.in
17476 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
17477 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
17478 # @configure_input@
17480 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
17481 @@ -105,6 +105,7 @@ EXEEXT = @EXEEXT@
17482 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
17483 GMOFILES = @GMOFILES@
17484 GMSGFMT = @GMSGFMT@
17488 HDEFINES = @HDEFINES@
17489 @@ -154,10 +155,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
17490 WIN32LDFLAGS = @WIN32LDFLAGS@
17491 WIN32LIBADD = @WIN32LIBADD@
17492 XGETTEXT = @XGETTEXT@
17493 -ac_ct_AR = @ac_ct_AR@
17494 ac_ct_CC = @ac_ct_CC@
17495 -ac_ct_RANLIB = @ac_ct_RANLIB@
17496 -ac_ct_STRIP = @ac_ct_STRIP@
17497 all_backends = @all_backends@
17498 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
17499 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
17500 @@ -183,6 +181,7 @@ build_vendor = @build_vendor@
17501 datadir = @datadir@
17502 datarootdir = @datarootdir@
17505 exec_prefix = @exec_prefix@
17507 host_alias = @host_alias@
17508 @@ -197,12 +196,15 @@ install_sh = @install_sh@
17511 libexecdir = @libexecdir@
17512 +localedir = @localedir@
17513 localstatedir = @localstatedir@
17515 mkdir_p = @mkdir_p@
17516 oldincludedir = @oldincludedir@
17519 program_transform_name = @program_transform_name@
17521 sbindir = @sbindir@
17522 sharedstatedir = @sharedstatedir@
17523 sysconfdir = @sysconfdir@
17524 @@ -364,9 +366,11 @@ distclean-libtool:
17525 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
17526 am__cwd=`pwd` && cd $(srcdir) && \
17527 rm -rf $$backupdir && mkdir $$backupdir && \
17528 - for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17529 - if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17531 + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
17532 + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17533 + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17537 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
17539 @@ -408,6 +412,7 @@ bfd.dvi: bfd.texinfo
17540 bfd.pdf: bfd.texinfo
17541 bfd.html: bfd.texinfo
17543 + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
17547 @@ -440,10 +445,13 @@ dist-info: $(INFO_DEPS)
17548 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
17550 if test -f $$base; then d=.; else d=$(srcdir); fi; \
17551 - for file in $$d/$$base*; do \
17552 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17553 - test -f $(distdir)/$$relfile || \
17554 - cp -p $$file $(distdir)/$$relfile; \
17555 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
17556 + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
17557 + if test -f $$file; then \
17558 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17559 + test -f $(distdir)/$$relfile || \
17560 + cp -p $$file $(distdir)/$$relfile; \
17566 +++ b/bfd/elf32-avr32.c
17568 +/* AVR32-specific support for 32-bit ELF.
17569 + Copyright 2003-2006 Atmel Corporation.
17571 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17573 + This file is part of BFD, the Binary File Descriptor library.
17575 + This program is free software; you can redistribute it and/or modify
17576 + it under the terms of the GNU General Public License as published by
17577 + the Free Software Foundation; either version 2 of the License, or
17578 + (at your option) any later version.
17580 + This program is distributed in the hope that it will be useful,
17581 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17582 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17583 + GNU General Public License for more details.
17585 + You should have received a copy of the GNU General Public License
17586 + along with this program; if not, write to the Free Software
17587 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17590 +#include "sysdep.h"
17591 +#include "bfdlink.h"
17592 +#include "libbfd.h"
17593 +#include "elf-bfd.h"
17594 +#include "elf/avr32.h"
17595 +#include "elf32-avr32.h"
17598 +#define xRELAX_DEBUG
17601 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
17603 +# define pr_debug(fmt, args...) do { } while (0)
17606 +#ifdef RELAX_DEBUG
17607 +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
17609 +# define RDBG(fmt, args...) do { } while (0)
17612 +/* When things go wrong, we want it to blow up, damnit! */
17615 +#define BFD_ASSERT(expr) \
17620 + bfd_assert(__FILE__, __LINE__); \
17626 +/* The name of the dynamic interpreter. This is put in the .interp section. */
17627 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
17629 +#define AVR32_GOT_HEADER_SIZE 8
17630 +#define AVR32_FUNCTION_STUB_SIZE 8
17632 +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
17633 +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
17634 +#define ELF_R_SYM(x) ELF32_R_SYM(x)
17636 +#define NOP_OPCODE 0xd703
17639 +/* Mapping between BFD relocations and ELF relocations */
17641 +static reloc_howto_type *
17642 +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
17644 +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
17646 +/* Generic HOWTO */
17647 +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
17648 + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
17649 + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
17650 + FALSE, 0, mask, pcrel)
17652 +static reloc_howto_type elf_avr32_howto_table[] = {
17653 + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
17654 + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
17656 + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17657 + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
17658 + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
17659 + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
17660 + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
17661 + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
17663 + /* Difference between two symbol (sym2 - sym1). The reloc encodes
17664 + the value of sym1. The field contains the difference before any
17665 + relaxing is done. */
17666 + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17667 + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17668 + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17670 + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17671 + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17672 + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17674 + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17675 + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
17676 + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17677 + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
17678 + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
17680 + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
17681 + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17682 + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17683 + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17684 + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
17685 + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
17686 + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
17687 + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
17688 + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17690 + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
17691 + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
17693 + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17694 + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17695 + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17696 + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17697 + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
17698 + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17699 + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
17701 + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17702 + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17703 + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17704 + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17706 + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17707 + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17708 + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17710 + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
17713 +struct elf_reloc_map
17715 + bfd_reloc_code_real_type bfd_reloc_val;
17716 + unsigned char elf_reloc_val;
17719 +static const struct elf_reloc_map avr32_reloc_map[] =
17721 + { BFD_RELOC_NONE, R_AVR32_NONE },
17723 + { BFD_RELOC_32, R_AVR32_32 },
17724 + { BFD_RELOC_16, R_AVR32_16 },
17725 + { BFD_RELOC_8, R_AVR32_8 },
17726 + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
17727 + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
17728 + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
17729 + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
17730 + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
17731 + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
17732 + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
17733 + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
17734 + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
17736 + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
17737 + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
17738 + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
17739 + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
17740 + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
17741 + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
17743 + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
17744 + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
17745 + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
17746 + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
17747 + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
17748 + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
17749 + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
17750 + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
17752 + { BFD_RELOC_HI16, R_AVR32_HI16 },
17753 + { BFD_RELOC_LO16, R_AVR32_LO16 },
17755 + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
17756 + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
17757 + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
17758 + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
17759 + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
17760 + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
17761 + /* GOT7UW should never be generated by the assembler */
17763 + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
17764 + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
17765 + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
17766 + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
17768 + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
17771 +static reloc_howto_type *
17772 +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
17773 + bfd_reloc_code_real_type code)
17777 + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
17779 + if (avr32_reloc_map[i].bfd_reloc_val == code)
17780 + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
17787 +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
17788 + arelent *cache_ptr,
17789 + Elf_Internal_Rela *dst)
17791 + unsigned int r_type;
17793 + r_type = ELF32_R_TYPE (dst->r_info);
17794 + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
17795 + cache_ptr->howto = &elf_avr32_howto_table[r_type];
17799 +/* AVR32 ELF linker hash table and associated hash entries. */
17801 +static struct bfd_hash_entry *
17802 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17803 + struct bfd_hash_table *table,
17804 + const char *string);
17806 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17807 + struct elf_link_hash_entry *dir,
17808 + struct elf_link_hash_entry *ind);
17809 +static struct bfd_link_hash_table *
17810 +avr32_elf_link_hash_table_create(bfd *abfd);
17813 + Try to limit memory usage to something reasonable when sorting the
17814 + GOT. If we ever get more than this many references to the same
17815 + symbol, we may need to do something special.
17817 +#define MAX_NR_GOT_HOLES 8192
17820 + AVR32 GOT entry. We need to keep track of refcounts and offsets
17821 + simultaneously, since we need the offsets during relaxation, and we
17822 + also want to be able to drop GOT entries during relaxation. In
17823 + addition to this, we want to keep the list of GOT entries sorted so
17824 + that we can keep the most-used entries at the lowest offsets.
17828 + struct got_entry *next;
17829 + struct got_entry **pprev;
17831 + bfd_signed_vma offset;
17834 +struct elf_avr32_link_hash_entry
17836 + struct elf_link_hash_entry root;
17838 + /* Number of runtime relocations against this symbol. */
17839 + unsigned int possibly_dynamic_relocs;
17841 + /* If there are anything but R_AVR32_GOT18 relocations against this
17842 + symbol, it means that someone may be taking the address of the
17843 + function, and we should therefore not create a stub. */
17844 + bfd_boolean no_fn_stub;
17846 + /* If there is a R_AVR32_32 relocation in a read-only section
17847 + against this symbol, we could be in trouble. If we're linking a
17848 + shared library or this symbol is defined in one, it means we must
17849 + emit a run-time reloc for it and that's not allowed in read-only
17851 + asection *readonly_reloc_sec;
17852 + bfd_vma readonly_reloc_offset;
17854 + /* Record which frag (if any) contains the symbol. This is used
17855 + during relaxation in order to avoid having to update all symbols
17856 + whenever we move something. For local symbols, this information
17857 + is in the local_sym_frag member of struct elf_obj_tdata. */
17858 + struct fragment *sym_frag;
17860 +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
17862 +struct elf_avr32_link_hash_table
17864 + struct elf_link_hash_table root;
17866 + /* Shortcuts to get to dynamic linker sections. */
17868 + asection *srelgot;
17871 + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
17872 + initial refcounts have been determined, we initialize
17873 + nr_got_holes to the highest refcount ever seen and allocate an
17874 + array of nr_got_holes entries for got_hole. Each GOT entry is
17875 + then stored in this array at the index given by its refcount.
17877 + When a GOT entry has its refcount decremented during relaxation,
17878 + it is moved to a lower index in the got_hole array.
17880 + struct got_entry **got_hole;
17881 + int nr_got_holes;
17883 + /* Dynamic relocations to local symbols. Only used when linking a
17884 + shared library and -Bsymbolic is not given. */
17885 + unsigned int local_dynamic_relocs;
17887 + bfd_boolean relocations_analyzed;
17888 + bfd_boolean symbols_adjusted;
17889 + bfd_boolean repeat_pass;
17890 + bfd_boolean direct_data_refs;
17891 + unsigned int relax_iteration;
17892 + unsigned int relax_pass;
17894 +#define avr32_elf_hash_table(p) \
17895 + ((struct elf_avr32_link_hash_table *)((p)->hash))
17897 +static struct bfd_hash_entry *
17898 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17899 + struct bfd_hash_table *table,
17900 + const char *string)
17902 + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
17904 + /* Allocate the structure if it hasn't already been allocated by a
17907 + ret = (struct elf_avr32_link_hash_entry *)
17908 + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
17913 + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
17915 + /* Give the superclass a chance */
17916 + ret = (struct elf_avr32_link_hash_entry *)
17917 + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
17919 + return (struct bfd_hash_entry *)ret;
17922 +/* Copy data from an indirect symbol to its direct symbol, hiding the
17923 + old indirect symbol. Process additional relocation information.
17924 + Also called for weakdefs, in which case we just let
17925 + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
17928 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17929 + struct elf_link_hash_entry *dir,
17930 + struct elf_link_hash_entry *ind)
17932 + struct elf_avr32_link_hash_entry *edir, *eind;
17934 + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
17936 + if (ind->root.type != bfd_link_hash_indirect)
17939 + edir = (struct elf_avr32_link_hash_entry *)dir;
17940 + eind = (struct elf_avr32_link_hash_entry *)ind;
17942 + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
17943 + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
17946 +static struct bfd_link_hash_table *
17947 +avr32_elf_link_hash_table_create(bfd *abfd)
17949 + struct elf_avr32_link_hash_table *ret;
17951 + ret = bfd_zmalloc(sizeof(*ret));
17955 + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
17956 + avr32_elf_link_hash_newfunc,
17957 + sizeof (struct elf_avr32_link_hash_entry)))
17963 + /* Prevent the BFD core from creating bogus got_entry pointers */
17964 + ret->root.init_got_refcount.glist = NULL;
17965 + ret->root.init_plt_refcount.glist = NULL;
17966 + ret->root.init_got_offset.glist = NULL;
17967 + ret->root.init_plt_offset.glist = NULL;
17969 + return &ret->root.root;
17973 +/* Initial analysis and creation of dynamic sections and symbols */
17976 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17977 + unsigned int align_power);
17978 +static struct elf_link_hash_entry *
17979 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
17980 + const char *name, asection *sec,
17982 +static bfd_boolean
17983 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
17984 +static bfd_boolean
17985 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
17986 +static bfd_boolean
17987 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
17988 + const Elf_Internal_Rela *relocs);
17989 +static bfd_boolean
17990 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
17991 + struct elf_link_hash_entry *h);
17994 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17995 + unsigned int align_power)
17999 + sec = bfd_make_section(dynobj, name);
18001 + || !bfd_set_section_flags(dynobj, sec, flags)
18002 + || !bfd_set_section_alignment(dynobj, sec, align_power))
18008 +static struct elf_link_hash_entry *
18009 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
18010 + const char *name, asection *sec,
18013 + struct bfd_link_hash_entry *bh = NULL;
18014 + struct elf_link_hash_entry *h;
18015 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
18017 + if (!(_bfd_generic_link_add_one_symbol
18018 + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
18019 + bed->collect, &bh)))
18022 + h = (struct elf_link_hash_entry *)bh;
18023 + h->def_regular = 1;
18024 + h->type = STT_OBJECT;
18025 + h->other = STV_HIDDEN;
18030 +static bfd_boolean
18031 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
18033 + struct elf_avr32_link_hash_table *htab;
18035 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
18037 + htab = avr32_elf_hash_table(info);
18038 + flags = bed->dynamic_sec_flags;
18043 + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
18044 + if (!htab->srelgot)
18045 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
18046 + flags | SEC_READONLY, 2);
18048 + if (!htab->sgot || !htab->srelgot)
18051 + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
18053 + if (!htab->root.hgot)
18056 + /* Make room for the GOT header */
18057 + htab->sgot->size += bed->got_header_size;
18062 +/* (1) Create all dynamic (i.e. linker generated) sections that we may
18063 + need during the link */
18065 +static bfd_boolean
18066 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
18068 + struct elf_avr32_link_hash_table *htab;
18070 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
18072 + pr_debug("(1) create dynamic sections\n");
18074 + htab = avr32_elf_hash_table(info);
18075 + flags = bed->dynamic_sec_flags;
18077 + if (!avr32_elf_create_got_section (dynobj, info))
18080 + if (!htab->sstub)
18081 + htab->sstub = create_dynamic_section(dynobj, ".stub",
18082 + flags | SEC_READONLY | SEC_CODE, 2);
18084 + if (!htab->sstub)
18090 +/* (2) Go through all the relocs and count any potential GOT- or
18091 + PLT-references to each symbol */
18093 +static bfd_boolean
18094 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
18095 + const Elf_Internal_Rela *relocs)
18097 + Elf_Internal_Shdr *symtab_hdr;
18098 + struct elf_avr32_link_hash_table *htab;
18099 + struct elf_link_hash_entry **sym_hashes;
18100 + const Elf_Internal_Rela *rel, *rel_end;
18101 + struct got_entry **local_got_ents;
18102 + struct got_entry *got;
18103 + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
18107 + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
18108 + abfd->filename, sec->name, sec->size);
18110 + if (info->relocatable)
18113 + dynobj = elf_hash_table(info)->dynobj;
18114 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18115 + sym_hashes = elf_sym_hashes(abfd);
18116 + htab = avr32_elf_hash_table(info);
18117 + local_got_ents = elf_local_got_ents(abfd);
18118 + sgot = htab->sgot;
18120 + rel_end = relocs + sec->reloc_count;
18121 + for (rel = relocs; rel < rel_end; rel++)
18123 + unsigned long r_symndx, r_type;
18124 + struct elf_avr32_link_hash_entry *h;
18126 + r_symndx = ELF32_R_SYM(rel->r_info);
18127 + r_type = ELF32_R_TYPE(rel->r_info);
18129 + /* Local symbols use local_got_ents, while others store the same
18130 + information in the hash entry */
18131 + if (r_symndx < symtab_hdr->sh_info)
18133 + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
18138 + h = (struct elf_avr32_link_hash_entry *)
18139 + sym_hashes[r_symndx - symtab_hdr->sh_info];
18140 + while (h->root.type == bfd_link_hash_indirect
18141 + || h->root.type == bfd_link_hash_warning)
18142 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18143 + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
18146 + /* Some relocs require special sections to be created. */
18149 + case R_AVR32_GOT32:
18150 + case R_AVR32_GOT16:
18151 + case R_AVR32_GOT8:
18152 + case R_AVR32_GOT21S:
18153 + case R_AVR32_GOT18SW:
18154 + case R_AVR32_GOT16S:
18155 + case R_AVR32_GOT7UW:
18156 + case R_AVR32_LDA_GOT:
18157 + case R_AVR32_GOTCALL:
18158 + if (rel->r_addend)
18160 + if (info->callbacks->reloc_dangerous
18161 + (info, _("Non-zero addend on GOT-relative relocation"),
18162 + abfd, sec, rel->r_offset) == FALSE)
18165 + /* fall through */
18166 + case R_AVR32_GOTPC:
18167 + if (dynobj == NULL)
18168 + elf_hash_table(info)->dynobj = dynobj = abfd;
18169 + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
18173 + /* We may need to create .rela.dyn later on. */
18174 + if (dynobj == NULL
18175 + && (info->shared || h != NULL)
18176 + && (sec->flags & SEC_ALLOC))
18177 + elf_hash_table(info)->dynobj = dynobj = abfd;
18181 + if (h != NULL && r_type != R_AVR32_GOT18SW)
18182 + h->no_fn_stub = TRUE;
18186 + case R_AVR32_GOT32:
18187 + case R_AVR32_GOT16:
18188 + case R_AVR32_GOT8:
18189 + case R_AVR32_GOT21S:
18190 + case R_AVR32_GOT18SW:
18191 + case R_AVR32_GOT16S:
18192 + case R_AVR32_GOT7UW:
18193 + case R_AVR32_LDA_GOT:
18194 + case R_AVR32_GOTCALL:
18197 + got = h->root.got.glist;
18200 + got = bfd_zalloc(abfd, sizeof(struct got_entry));
18203 + h->root.got.glist = got;
18208 + if (!local_got_ents)
18210 + bfd_size_type size;
18212 + struct got_entry *tmp_entry;
18214 + size = symtab_hdr->sh_info;
18215 + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
18216 + local_got_ents = bfd_zalloc(abfd, size);
18217 + if (!local_got_ents)
18220 + elf_local_got_ents(abfd) = local_got_ents;
18222 + tmp_entry = (struct got_entry *)(local_got_ents
18223 + + symtab_hdr->sh_info);
18224 + for (i = 0; i < symtab_hdr->sh_info; i++)
18225 + local_got_ents[i] = &tmp_entry[i];
18228 + got = local_got_ents[r_symndx];
18232 + if (got->refcount > htab->nr_got_holes)
18233 + htab->nr_got_holes = got->refcount;
18237 + if ((info->shared || h != NULL)
18238 + && (sec->flags & SEC_ALLOC))
18240 + if (htab->srelgot == NULL)
18242 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
18243 + bed->dynamic_sec_flags
18244 + | SEC_READONLY, 2);
18245 + if (htab->srelgot == NULL)
18249 + if (sec->flags & SEC_READONLY
18250 + && !h->readonly_reloc_sec)
18252 + h->readonly_reloc_sec = sec;
18253 + h->readonly_reloc_offset = rel->r_offset;
18258 + pr_debug("Non-GOT reference to symbol %s\n",
18259 + h->root.root.root.string);
18260 + h->possibly_dynamic_relocs++;
18264 + pr_debug("Non-GOT reference to local symbol %lu\n",
18266 + htab->local_dynamic_relocs++;
18272 + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
18279 +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
18280 + regular object. The current definition is in some section of the
18281 + dynamic object, but we're not including those sections. We have to
18282 + change the definition to something the rest of the link can
18285 +static bfd_boolean
18286 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
18287 + struct elf_link_hash_entry *h)
18289 + struct elf_avr32_link_hash_table *htab;
18290 + struct elf_avr32_link_hash_entry *havr;
18293 + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
18295 + htab = avr32_elf_hash_table(info);
18296 + havr = (struct elf_avr32_link_hash_entry *)h;
18297 + dynobj = elf_hash_table(info)->dynobj;
18299 + /* Make sure we know what is going on here. */
18300 + BFD_ASSERT (dynobj != NULL
18301 + && (h->u.weakdef != NULL
18302 + || (h->def_dynamic
18303 + && h->ref_regular
18304 + && !h->def_regular)));
18306 + /* We don't want dynamic relocations in read-only sections. */
18307 + if (havr->readonly_reloc_sec)
18309 + if (info->callbacks->reloc_dangerous
18310 + (info, _("dynamic relocation in read-only section"),
18311 + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
18312 + havr->readonly_reloc_offset) == FALSE)
18316 + /* If this is a function, create a stub if possible and set the
18317 + symbol to the stub location. */
18318 + if (0 && !havr->no_fn_stub)
18320 + if (!h->def_regular)
18322 + asection *s = htab->sstub;
18324 + BFD_ASSERT(s != NULL);
18326 + h->root.u.def.section = s;
18327 + h->root.u.def.value = s->size;
18328 + h->plt.offset = s->size;
18329 + s->size += AVR32_FUNCTION_STUB_SIZE;
18334 + else if (h->type == STT_FUNC)
18336 + /* This will set the entry for this symbol in the GOT to 0, and
18337 + the dynamic linker will take care of this. */
18338 + h->root.u.def.value = 0;
18342 + /* If this is a weak symbol, and there is a real definition, the
18343 + processor independent code will have arranged for us to see the
18344 + real definition first, and we can just use the same value. */
18345 + if (h->u.weakdef != NULL)
18347 + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
18348 + || h->u.weakdef->root.type == bfd_link_hash_defweak);
18349 + h->root.u.def.section = h->u.weakdef->root.u.def.section;
18350 + h->root.u.def.value = h->u.weakdef->root.u.def.value;
18354 + /* This is a reference to a symbol defined by a dynamic object which
18355 + is not a function. */
18361 +/* Garbage-collection of unused sections */
18364 +avr32_elf_gc_mark_hook(asection *sec,
18365 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18366 + Elf_Internal_Rela *rel,
18367 + struct elf_link_hash_entry *h,
18368 + Elf_Internal_Sym *sym)
18372 + switch (ELF32_R_TYPE(rel->r_info))
18374 + /* TODO: VTINHERIT/VTENTRY */
18376 + switch (h->root.type)
18378 + case bfd_link_hash_defined:
18379 + case bfd_link_hash_defweak:
18380 + return h->root.u.def.section;
18382 + case bfd_link_hash_common:
18383 + return h->root.u.c.p->section;
18391 + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
18396 +/* Update the GOT entry reference counts for the section being removed. */
18397 +static bfd_boolean
18398 +avr32_elf_gc_sweep_hook(bfd *abfd,
18399 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18401 + const Elf_Internal_Rela *relocs)
18403 + Elf_Internal_Shdr *symtab_hdr;
18404 + struct elf_avr32_link_hash_entry **sym_hashes;
18405 + struct got_entry **local_got_ents;
18406 + const Elf_Internal_Rela *rel, *relend;
18408 + if (!(sec->flags & SEC_ALLOC))
18411 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18412 + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
18413 + local_got_ents = elf_local_got_ents(abfd);
18415 + relend = relocs + sec->reloc_count;
18416 + for (rel = relocs; rel < relend; rel++)
18418 + unsigned long r_symndx;
18419 + unsigned int r_type;
18420 + struct elf_avr32_link_hash_entry *h = NULL;
18422 + r_symndx = ELF32_R_SYM(rel->r_info);
18423 + if (r_symndx >= symtab_hdr->sh_info)
18425 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
18426 + while (h->root.root.type == bfd_link_hash_indirect
18427 + || h->root.root.type == bfd_link_hash_warning)
18428 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18431 + r_type = ELF32_R_TYPE(rel->r_info);
18435 + case R_AVR32_GOT32:
18436 + case R_AVR32_GOT16:
18437 + case R_AVR32_GOT8:
18438 + case R_AVR32_GOT21S:
18439 + case R_AVR32_GOT18SW:
18440 + case R_AVR32_GOT16S:
18441 + case R_AVR32_GOT7UW:
18442 + case R_AVR32_LDA_GOT:
18443 + case R_AVR32_GOTCALL:
18445 + h->root.got.glist->refcount--;
18447 + local_got_ents[r_symndx]->refcount--;
18451 + if (info->shared || h)
18454 + h->possibly_dynamic_relocs--;
18456 + avr32_elf_hash_table(info)->local_dynamic_relocs--;
18467 +/* Sizing and refcounting of dynamic sections */
18470 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18472 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18474 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18475 +static bfd_boolean
18476 +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
18477 +static bfd_boolean
18478 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
18479 +static bfd_boolean
18480 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18481 + struct bfd_link_info *info);
18484 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18486 + /* TODO: Support got_refcount > htab->nr_got_holes by using a
18487 + different sort algorithm for those. */
18488 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18490 + got->pprev = &htab->got_hole[got->refcount];
18491 + got->next = htab->got_hole[got->refcount];
18493 + got->next->pprev = &got->next;
18495 + htab->got_hole[got->refcount] = got;
18498 +/* Decrement the refcount of a GOT entry and update its position in
18499 + the pigeonhole array. */
18501 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18503 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18504 + BFD_ASSERT(got->refcount > 0);
18507 + got->next->pprev = got->pprev;
18509 + *(got->pprev) = got->next;
18511 + insert_got_entry(htab, got);
18515 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18518 + got->next->pprev = got->pprev;
18520 + *(got->pprev) = got->next;
18522 + insert_got_entry(htab, got);
18524 + BFD_ASSERT(got->refcount > 0);
18525 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18528 +/* Assign offsets to all GOT entries we intend to keep. The entries
18529 + that are referenced most often are placed at low offsets so that we
18530 + can use compact instructions as much as possible.
18532 + Returns TRUE if any offsets or the total size of the GOT changed. */
18534 +static bfd_boolean
18535 +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
18537 + struct got_entry *got;
18538 + bfd_size_type got_size = 0;
18539 + bfd_boolean changed = FALSE;
18540 + bfd_signed_vma offset;
18543 + /* The GOT header provides the address of the DYNAMIC segment, so
18544 + we need that even if the GOT is otherwise empty. */
18545 + if (htab->root.dynamic_sections_created)
18546 + got_size = AVR32_GOT_HEADER_SIZE;
18548 + for (i = htab->nr_got_holes; i > 0; i--)
18550 + got = htab->got_hole[i];
18553 + if (got->refcount > 0)
18555 + offset = got_size;
18556 + if (got->offset != offset)
18558 + RDBG("GOT offset changed: %ld -> %ld\n",
18559 + got->offset, offset);
18562 + got->offset = offset;
18569 + if (htab->sgot->size != got_size)
18571 + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
18575 + htab->sgot->size = got_size;
18577 + RDBG("assign_got_offsets: total size %lu (%s)\n",
18578 + got_size, changed ? "changed" : "no change");
18583 +static bfd_boolean
18584 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
18586 + struct bfd_link_info *info = _info;
18587 + struct elf_avr32_link_hash_table *htab;
18588 + struct elf_avr32_link_hash_entry *havr;
18589 + struct got_entry *got;
18591 + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
18593 + if (h->root.type == bfd_link_hash_indirect)
18596 + if (h->root.type == bfd_link_hash_warning)
18597 + /* When warning symbols are created, they **replace** the "real"
18598 + entry in the hash table, thus we never get to see the real
18599 + symbol in a hash traversal. So look at it now. */
18600 + h = (struct elf_link_hash_entry *) h->root.u.i.link;
18602 + htab = avr32_elf_hash_table(info);
18603 + havr = (struct elf_avr32_link_hash_entry *)h;
18605 + got = h->got.glist;
18607 + /* If got is NULL, the symbol is never referenced through the GOT */
18608 + if (got && got->refcount > 0)
18610 + insert_got_entry(htab, got);
18612 + /* Shared libraries need relocs for all GOT entries unless the
18613 + symbol is forced local or -Bsymbolic is used. Others need
18614 + relocs for everything that is not guaranteed to be defined in
18615 + a regular object. */
18616 + if ((info->shared
18617 + && !info->symbolic
18618 + && h->dynindx != -1)
18619 + || (htab->root.dynamic_sections_created
18620 + && h->def_dynamic
18621 + && !h->def_regular))
18622 + htab->srelgot->size += sizeof(Elf32_External_Rela);
18625 + if (havr->possibly_dynamic_relocs
18627 + || (elf_hash_table(info)->dynamic_sections_created
18628 + && h->def_dynamic
18629 + && !h->def_regular)))
18631 + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
18632 + havr->possibly_dynamic_relocs, h->root.root.string);
18633 + htab->srelgot->size += (havr->possibly_dynamic_relocs
18634 + * sizeof(Elf32_External_Rela));
18640 +/* (4) Calculate the sizes of the linker-generated sections and
18641 + allocate memory for them. */
18643 +static bfd_boolean
18644 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18645 + struct bfd_link_info *info)
18647 + struct elf_avr32_link_hash_table *htab;
18651 + bfd_boolean relocs;
18653 + pr_debug("(4) size dynamic sections\n");
18655 + htab = avr32_elf_hash_table(info);
18656 + dynobj = htab->root.dynobj;
18657 + BFD_ASSERT(dynobj != NULL);
18659 + if (htab->root.dynamic_sections_created)
18661 + /* Initialize the contents of the .interp section to the name of
18662 + the dynamic loader */
18663 + if (info->executable)
18665 + s = bfd_get_section_by_name(dynobj, ".interp");
18666 + BFD_ASSERT(s != NULL);
18667 + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
18668 + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
18672 + if (htab->nr_got_holes > 0)
18674 + /* Allocate holes for the pigeonhole sort algorithm */
18675 + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
18676 + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
18678 + /* TODO: Do something clever (different sorting algorithm) */
18679 + _bfd_error_handler(_("Highest refcount %d too high (max %d)\n"),
18680 + htab->nr_got_holes, MAX_NR_GOT_HOLES);
18681 + bfd_set_error(bfd_error_no_memory);
18684 + htab->got_hole = bfd_zalloc(output_bfd,
18685 + sizeof(struct got_entry *)
18686 + * (htab->nr_got_holes + 1));
18687 + if (!htab->got_hole)
18690 + /* Set up .got offsets for local syms. */
18691 + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
18693 + struct got_entry **local_got;
18694 + struct got_entry **end_local_got;
18695 + Elf_Internal_Shdr *symtab_hdr;
18696 + bfd_size_type locsymcount;
18698 + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
18700 + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
18702 + local_got = elf_local_got_ents(ibfd);
18706 + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
18707 + locsymcount = symtab_hdr->sh_info;
18708 + end_local_got = local_got + locsymcount;
18710 + for (; local_got < end_local_got; ++local_got)
18711 + insert_got_entry(htab, *local_got);
18715 + /* Allocate global sym .got entries and space for global sym
18716 + dynamic relocs */
18717 + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
18719 + /* Now that we have sorted the GOT entries, we are ready to
18720 + assign offsets and determine the initial size of the GOT. */
18722 + assign_got_offsets(htab);
18724 + /* Allocate space for local sym dynamic relocs */
18725 + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
18726 + if (htab->local_dynamic_relocs)
18727 + htab->srelgot->size += (htab->local_dynamic_relocs
18728 + * sizeof(Elf32_External_Rela));
18730 + /* We now have determined the sizes of the various dynamic
18731 + sections. Allocate memory for them. */
18733 + for (s = dynobj->sections; s; s = s->next)
18735 + if ((s->flags & SEC_LINKER_CREATED) == 0)
18738 + if (s == htab->sgot
18739 + || s == htab->sstub)
18741 + /* Strip this section if we don't need it */
18743 + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
18745 + if (s->size != 0)
18748 + s->reloc_count = 0;
18752 + /* It's not one of our sections */
18756 + if (s->size == 0)
18758 + /* Strip unneeded sections */
18759 + pr_debug("Stripping section %s from output...\n", s->name);
18760 + /* deleted function in 2.17
18761 + _bfd_strip_section_from_output(info, s);
18766 + s->contents = bfd_zalloc(dynobj, s->size);
18767 + if (s->contents == NULL)
18771 + if (htab->root.dynamic_sections_created)
18773 + /* Add some entries to the .dynamic section. We fill in the
18774 + values later, in sh_elf_finish_dynamic_sections, but we
18775 + must add the entries now so that we get the correct size for
18776 + the .dynamic section. The DT_DEBUG entry is filled in by the
18777 + dynamic linker and used by the debugger. */
18778 +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
18780 + if (!add_dynamic_entry(DT_PLTGOT, 0))
18782 + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
18785 + if (info->executable)
18787 + if (!add_dynamic_entry(DT_DEBUG, 0))
18792 + if (!add_dynamic_entry(DT_RELA, 0)
18793 + || !add_dynamic_entry(DT_RELASZ, 0)
18794 + || !add_dynamic_entry(DT_RELAENT,
18795 + sizeof(Elf32_External_Rela)))
18799 +#undef add_dynamic_entry
18805 +/* Access to internal relocations, section contents and symbols.
18806 + (stolen from the xtensa port) */
18808 +static Elf_Internal_Rela *
18809 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18811 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18813 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18815 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18818 +pin_contents (asection *sec, bfd_byte *contents);
18821 +release_contents (asection *sec, bfd_byte *contents);
18822 +static Elf_Internal_Sym *
18823 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
18826 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18829 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18831 +/* During relaxation, we need to modify relocations, section contents,
18832 + and symbol definitions, and we need to keep the original values from
18833 + being reloaded from the input files, i.e., we need to "pin" the
18834 + modified values in memory. We also want to continue to observe the
18835 + setting of the "keep-memory" flag. The following functions wrap the
18836 + standard BFD functions to take care of this for us. */
18838 +static Elf_Internal_Rela *
18839 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18841 + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
18842 + to be clever here. */
18843 + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
18847 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18849 + elf_section_data (sec)->relocs = internal_relocs;
18853 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18855 + if (internal_relocs
18856 + && elf_section_data (sec)->relocs != internal_relocs)
18857 + free (internal_relocs);
18861 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18863 + bfd_byte *contents;
18864 + bfd_size_type sec_size;
18866 + sec_size = bfd_get_section_limit (abfd, sec);
18867 + contents = elf_section_data (sec)->this_hdr.contents;
18869 + if (contents == NULL && sec_size != 0)
18871 + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
18878 + elf_section_data (sec)->this_hdr.contents = contents;
18885 +pin_contents (asection *sec, bfd_byte *contents)
18887 + elf_section_data (sec)->this_hdr.contents = contents;
18891 +release_contents (asection *sec, bfd_byte *contents)
18893 + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
18897 +static Elf_Internal_Sym *
18898 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
18900 + Elf_Internal_Shdr *symtab_hdr;
18901 + Elf_Internal_Sym *isymbuf;
18902 + size_t locsymcount;
18904 + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
18905 + locsymcount = symtab_hdr->sh_info;
18907 + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
18908 + if (isymbuf == NULL && locsymcount != 0)
18910 + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
18911 + NULL, NULL, NULL);
18912 + if (isymbuf && keep_memory)
18913 + symtab_hdr->contents = (unsigned char *) isymbuf;
18921 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18923 + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
18928 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18930 + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
18931 + != (unsigned char *)isymbuf))
18935 +
\f/* Data structures used during relaxation. */
18937 +enum relax_state_id {
18967 +enum reference_type {
18974 +struct relax_state
18976 + const char *name;
18977 + enum relax_state_id id;
18978 + enum relax_state_id direct;
18979 + enum relax_state_id next;
18980 + enum relax_state_id prev;
18982 + enum reference_type reftype;
18984 + unsigned int r_type;
18987 + bfd_vma opcode_mask;
18989 + bfd_signed_vma range_min;
18990 + bfd_signed_vma range_max;
18992 + bfd_size_type size;
18996 + * This is for relocs that
18997 + * a) has an addend or is of type R_AVR32_DIFF32, and
18998 + * b) references a different section than it's in, and
18999 + * c) references a section that is relaxable
19001 + * as well as relocs that references the constant pool, in which case
19002 + * the add_frag member points to the frag containing the constant pool
19005 + * Such relocs must be fixed up whenever we delete any code. Sections
19006 + * that don't have any relocs with all of the above properties don't
19007 + * have any additional reloc data, but sections that do will have
19008 + * additional data for all its relocs.
19010 +struct avr32_reloc_data
19012 + struct fragment *add_frag;
19013 + struct fragment *sub_frag;
19017 + * A 'fragment' is a relaxable entity, that is, code may be added or
19018 + * deleted at the end of a fragment. When this happens, all subsequent
19019 + * fragments in the list will have their offsets updated.
19023 + enum relax_state_id state;
19024 + enum relax_state_id initial_state;
19026 + Elf_Internal_Rela *rela;
19027 + bfd_size_type size;
19030 + int offset_adjust;
19031 + bfd_boolean has_grown;
19033 + /* Only used by constant pool entries. When this drops to zero, the
19034 + frag is discarded (i.e. size_adjust is set to -4.) */
19038 +struct avr32_relax_data
19040 + unsigned int frag_count;
19041 + struct fragment *frag;
19042 + struct avr32_reloc_data *reloc_data;
19044 + /* TRUE if this section has one or more relaxable relocations */
19045 + bfd_boolean is_relaxable;
19046 + unsigned int iteration;
19049 +struct avr32_section_data
19051 + struct bfd_elf_section_data elf;
19052 + struct avr32_relax_data relax_data;
19055 +
\f/* Relax state definitions */
19057 +#define PIC_MOV2_OPCODE 0xe0600000
19058 +#define PIC_MOV2_MASK 0xe1e00000
19059 +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
19060 +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
19061 +#define PIC_MCALL_OPCODE 0xf0160000
19062 +#define PIC_MCALL_MASK 0xffff0000
19063 +#define PIC_MCALL_RANGE_MIN (-131072)
19064 +#define PIC_MCALL_RANGE_MAX (131068)
19065 +#define RCALL2_OPCODE 0xe0a00000
19066 +#define RCALL2_MASK 0xe1ef0000
19067 +#define RCALL2_RANGE_MIN (-2097152)
19068 +#define RCALL2_RANGE_MAX (2097150)
19069 +#define RCALL1_OPCODE 0xc00c0000
19070 +#define RCALL1_MASK 0xf00c0000
19071 +#define RCALL1_RANGE_MIN (-1024)
19072 +#define RCALL1_RANGE_MAX (1022)
19073 +#define PIC_LDW4_OPCODE 0xecf00000
19074 +#define PIC_LDW4_MASK 0xfff00000
19075 +#define PIC_LDW4_RANGE_MIN (-32768)
19076 +#define PIC_LDW4_RANGE_MAX (32767)
19077 +#define PIC_LDW3_OPCODE 0x6c000000
19078 +#define PIC_LDW3_MASK 0xfe000000
19079 +#define PIC_LDW3_RANGE_MIN (0)
19080 +#define PIC_LDW3_RANGE_MAX (124)
19081 +#define SUB5_PC_OPCODE 0xfec00000
19082 +#define SUB5_PC_MASK 0xfff00000
19083 +#define SUB5_PC_RANGE_MIN (-32768)
19084 +#define SUB5_PC_RANGE_MAX (32767)
19085 +#define NOPIC_MCALL_OPCODE 0xf01f0000
19086 +#define NOPIC_MCALL_MASK 0xffff0000
19087 +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
19088 +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
19089 +#define NOPIC_LDW4_OPCODE 0xfef00000
19090 +#define NOPIC_LDW4_MASK 0xfff00000
19091 +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
19092 +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
19093 +#define LDDPC_OPCODE 0x48000000
19094 +#define LDDPC_MASK 0xf8000000
19095 +#define LDDPC_RANGE_MIN 0
19096 +#define LDDPC_RANGE_MAX 508
19098 +#define NOPIC_MOV2_OPCODE 0xe0600000
19099 +#define NOPIC_MOV2_MASK 0xe1e00000
19100 +#define NOPIC_MOV2_RANGE_MIN (-1048576)
19101 +#define NOPIC_MOV2_RANGE_MAX (1048575)
19102 +#define NOPIC_MOV1_OPCODE 0x30000000
19103 +#define NOPIC_MOV1_MASK 0xf0000000
19104 +#define NOPIC_MOV1_RANGE_MIN (-128)
19105 +#define NOPIC_MOV1_RANGE_MAX (127)
19107 +/* Only brc2 variants with cond[3] == 0 is considered, since the
19108 + others are not relaxable. bral is a special case and is handled
19110 +#define BRC2_OPCODE 0xe0800000
19111 +#define BRC2_MASK 0xe1e80000
19112 +#define BRC2_RANGE_MIN (-2097152)
19113 +#define BRC2_RANGE_MAX (2097150)
19114 +#define BRC1_OPCODE 0xc0000000
19115 +#define BRC1_MASK 0xf0080000
19116 +#define BRC1_RANGE_MIN (-256)
19117 +#define BRC1_RANGE_MAX (254)
19118 +#define BRAL_OPCODE 0xe08f0000
19119 +#define BRAL_MASK 0xe1ef0000
19120 +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
19121 +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
19122 +#define RJMP_OPCODE 0xc0080000
19123 +#define RJMP_MASK 0xf00c0000
19124 +#define RJMP_RANGE_MIN (-1024)
19125 +#define RJMP_RANGE_MAX (1022)
19127 +/* Define a relax state using the GOT */
19128 +#define RG(id, dir, next, prev, r_type, opc, size) \
19129 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
19130 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19131 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19132 +/* Define a relax state using the Constant Pool */
19133 +#define RC(id, dir, next, prev, r_type, opc, size) \
19134 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
19135 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19136 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19138 +/* Define a relax state using pc-relative direct reference */
19139 +#define RP(id, dir, next, prev, r_type, opc, size) \
19140 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
19141 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19142 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19144 +/* Define a relax state using non-pc-relative direct reference */
19145 +#define RD(id, dir, next, prev, r_type, opc, size) \
19146 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_ABSOLUTE, \
19147 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19148 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19150 +/* Define a relax state that will be handled specially */
19151 +#define RS(id, r_type, size) \
19152 + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
19153 + R_AVR32_##r_type, 0, 0, 0, 0, size }
19155 +const struct relax_state relax_state[RS_MAX] = {
19156 + RS(NONE, NONE, 0),
19157 + RS(ALIGN, ALIGN, 0),
19158 + RS(CPENT, 32_CPENT, 4),
19160 + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
19161 + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
19162 + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
19163 + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
19165 + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
19166 + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
19167 + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
19168 + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
19170 + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
19171 + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
19172 + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
19174 + RC(NOPIC_LDW4, NOPIC_MOV1, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
19175 + RC(NOPIC_LDDPC, NOPIC_MOV1, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
19176 + RP(NOPIC_SUB5, NOPIC_MOV1, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
19177 + RD(NOPIC_MOV2, NONE, NOPIC_MOV1, NOPIC_SUB5, 21S, NOPIC_MOV2, 4),
19178 + RD(NOPIC_MOV1, NONE, NONE, NOPIC_MOV2, 8S, NOPIC_MOV1, 2),
19180 + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
19181 + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
19182 + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
19183 + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
19184 + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
19185 + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
19188 +static bfd_boolean
19189 +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
19191 + struct avr32_section_data *sdata;
19193 + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
19197 + sec->used_by_bfd = sdata;
19198 + return _bfd_elf_new_section_hook(abfd, sec);
19201 +static struct avr32_relax_data *
19202 +avr32_relax_data(asection *sec)
19204 + struct avr32_section_data *sdata;
19206 + BFD_ASSERT(sec->used_by_bfd);
19208 + sdata = (struct avr32_section_data *)elf_section_data(sec);
19209 + return &sdata->relax_data;
19212 +
\f/* Link-time relaxation */
19214 +static bfd_boolean
19215 +avr32_elf_relax_section(bfd *abfd, asection *sec,
19216 + struct bfd_link_info *info, bfd_boolean *again);
19218 +enum relax_pass_id {
19219 + RELAX_PASS_SIZE_FRAGS,
19220 + RELAX_PASS_MOVE_DATA,
19223 +/* Stolen from the xtensa port */
19225 +internal_reloc_compare (const void *ap, const void *bp)
19227 + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
19228 + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
19230 + if (a->r_offset != b->r_offset)
19231 + return (a->r_offset - b->r_offset);
19233 + /* We don't need to sort on these criteria for correctness,
19234 + but enforcing a more strict ordering prevents unstable qsort
19235 + from behaving differently with different implementations.
19236 + Without the code below we get correct but different results
19237 + on Solaris 2.7 and 2.8. We would like to always produce the
19238 + same results no matter the host. */
19240 + if (a->r_info != b->r_info)
19241 + return (a->r_info - b->r_info);
19243 + return (a->r_addend - b->r_addend);
19246 +static enum relax_state_id
19247 +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19248 + const Elf_Internal_Rela *rela)
19250 + bfd_byte *contents;
19252 + enum relax_state_id rs = RS_NONE;
19254 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19258 + insn = bfd_get_32(abfd, contents + rela->r_offset);
19259 + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
19261 + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
19262 + /* Optimizing bral -> rjmp gets us into all kinds of
19263 + trouble with jump tables. Better not do it. */
19265 + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
19268 + release_contents(sec, contents);
19273 +static enum relax_state_id
19274 +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19275 + const Elf_Internal_Rela *rela)
19277 + switch (ELF_R_TYPE(rela->r_info))
19279 + case R_AVR32_GOTCALL:
19280 + return RS_PIC_CALL;
19281 + case R_AVR32_GOT18SW:
19282 + return RS_PIC_MCALL;
19283 + case R_AVR32_LDA_GOT:
19284 + return RS_PIC_LDA;
19285 + case R_AVR32_GOT16S:
19286 + return RS_PIC_LDW4;
19287 + case R_AVR32_CPCALL:
19288 + return RS_NOPIC_MCALL;
19289 + case R_AVR32_16_CP:
19290 + return RS_NOPIC_LDW4;
19291 + case R_AVR32_9W_CP:
19292 + return RS_NOPIC_LDDPC;
19293 + case R_AVR32_ALIGN:
19295 + case R_AVR32_32_CPENT:
19297 + case R_AVR32_22H_PCREL:
19298 + return get_pcrel22_relax_state(abfd, sec, info, rela);
19299 + case R_AVR32_9H_PCREL:
19306 +static bfd_boolean
19307 +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
19309 + switch (ELF_R_TYPE(rela->r_info))
19311 + case R_AVR32_CPCALL:
19312 + case R_AVR32_16_CP:
19313 + case R_AVR32_9W_CP:
19320 +static struct fragment *
19321 +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
19322 + struct avr32_relax_data *rd, enum relax_state_id state,
19323 + Elf_Internal_Rela *rela)
19325 + struct fragment *frag;
19326 + bfd_size_type r_size;
19327 + bfd_vma r_offset;
19328 + unsigned int i = rd->frag_count;
19330 + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
19332 + rd->frag_count++;
19333 + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
19339 + memset(frag, 0, sizeof(struct fragment));
19341 + if (state == RS_ALIGN)
19342 + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
19343 + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
19345 + r_size = relax_state[state].size;
19348 + r_offset = rela->r_offset;
19350 + r_offset = sec->size;
19354 + frag->offset = 0;
19355 + frag->size = r_offset + r_size;
19359 + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
19360 + frag->size = r_offset + r_size - frag->offset;
19363 + if (state != RS_CPENT)
19364 + /* Make sure we don't discard this frag */
19365 + frag->refcount = 1;
19367 + frag->initial_state = frag->state = state;
19368 + frag->rela = rela;
19373 +static struct fragment *
19374 +find_frag(asection *sec, bfd_vma offset)
19376 + struct fragment *first, *last;
19377 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19379 + if (rd->frag_count == 0)
19382 + first = &rd->frag[0];
19383 + last = &rd->frag[rd->frag_count - 1];
19385 + /* This may be a reloc referencing the end of a section. The last
19386 + frag will never have a reloc associated with it, so its size will
19387 + never change, thus the offset adjustment of the last frag will
19388 + always be the same as the offset adjustment of the end of the
19390 + if (offset == sec->size)
19392 + BFD_ASSERT(last->offset + last->size == sec->size);
19393 + BFD_ASSERT(!last->rela);
19397 + while (first <= last)
19399 + struct fragment *mid;
19401 + mid = (last - first) / 2 + first;
19402 + if ((mid->offset + mid->size) <= offset)
19404 + else if (mid->offset > offset)
19413 +/* Look through all relocs in a section and determine if any relocs
19414 + may be affected by relaxation in other sections. If so, allocate
19415 + an array of additional relocation data which links the affected
19416 + relocations to the frag(s) where the relaxation may occur.
19418 + This function also links cpool references to cpool entries and
19419 + increments the refcount of the latter when this happens. */
19421 +static bfd_boolean
19422 +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
19423 + struct bfd_link_info *info)
19425 + Elf_Internal_Shdr *symtab_hdr;
19426 + Elf_Internal_Sym *isymbuf = NULL;
19427 + struct avr32_relax_data *rd;
19429 + bfd_boolean ret = FALSE;
19431 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19432 + rd = avr32_relax_data(sec);
19434 + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
19436 + for (i = 0; i < sec->reloc_count; i++)
19438 + Elf_Internal_Rela *rel = &relocs[i];
19439 + asection *sym_sec;
19440 + unsigned long r_symndx;
19441 + bfd_vma sym_value;
19443 + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
19444 + && !reloc_is_cpool_ref(rel))
19447 + r_symndx = ELF_R_SYM(rel->r_info);
19449 + if (r_symndx < symtab_hdr->sh_info)
19451 + Elf_Internal_Sym *isym;
19454 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19458 + isym = &isymbuf[r_symndx];
19459 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19460 + sym_value = isym->st_value;
19464 + struct elf_link_hash_entry *h;
19466 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
19468 + while (h->root.type == bfd_link_hash_indirect
19469 + || h->root.type == bfd_link_hash_warning)
19470 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19472 + if (h->root.type != bfd_link_hash_defined
19473 + && h->root.type != bfd_link_hash_defweak)
19476 + sym_sec = h->root.u.def.section;
19477 + sym_value = h->root.u.def.value;
19480 + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
19482 + bfd_size_type size;
19483 + struct fragment *frag;
19485 + if (!rd->reloc_data)
19487 + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
19488 + rd->reloc_data = bfd_zalloc(abfd, size);
19489 + if (!rd->reloc_data)
19493 + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
19494 + i, rel->r_offset, sym_value, rel->r_addend);
19496 + frag = find_frag(sym_sec, sym_value + rel->r_addend);
19497 + BFD_ASSERT(frag);
19498 + rd->reloc_data[i].add_frag = frag;
19500 + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
19501 + frag->rela ? frag->rela->r_offset : sym_sec->size);
19503 + if (reloc_is_cpool_ref(rel))
19505 + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
19506 + frag->refcount++;
19509 + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
19511 + bfd_byte *contents;
19512 + bfd_signed_vma diff;
19514 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19518 + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
19519 + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
19520 + BFD_ASSERT(frag);
19521 + rd->reloc_data[i].sub_frag = frag;
19523 + release_contents(sec, contents);
19531 + release_local_syms(abfd, isymbuf);
19535 +static bfd_boolean
19536 +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
19537 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
19539 + struct fragment *frag;
19542 + if (havr->root.root.type != bfd_link_hash_defined
19543 + && havr->root.root.type != bfd_link_hash_defweak)
19546 + sec = havr->root.root.u.def.section;
19547 + if (bfd_is_const_section(sec)
19548 + || !avr32_relax_data(sec)->is_relaxable)
19551 + frag = find_frag(sec, havr->root.root.u.def.value);
19555 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19557 + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
19558 + sec->owner->filename, havr->root.root.root.string,
19559 + sec->name, havr->root.root.u.def.value, sec->size);
19560 + for (i = 0; i < rd->frag_count; i++)
19561 + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
19562 + rd->frag[i].offset + rd->frag[i].size);
19564 + BFD_ASSERT(frag);
19566 + havr->sym_frag = frag;
19570 +static bfd_boolean
19571 +analyze_relocations(struct bfd_link_info *info)
19576 + /* Divide all relaxable sections into fragments */
19577 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19579 + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
19581 + if (!(*info->callbacks->warning)
19582 + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
19587 + for (sec = abfd->sections; sec; sec = sec->next)
19589 + struct avr32_relax_data *rd;
19590 + struct fragment *frag;
19591 + Elf_Internal_Rela *relocs;
19593 + bfd_boolean ret = TRUE;
19595 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19598 + rd = avr32_relax_data(sec);
19600 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19604 + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
19605 + internal_reloc_compare);
19607 + for (i = 0; i < sec->reloc_count; i++)
19609 + enum relax_state_id state;
19612 + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
19613 + if (state == RS_ERROR)
19618 + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
19622 + pin_internal_relocs(sec, relocs);
19623 + rd->is_relaxable = TRUE;
19629 + release_internal_relocs(sec, relocs);
19633 + if (rd->is_relaxable)
19635 + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
19642 + /* Link each global symbol to the fragment where it's defined. */
19643 + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
19645 + /* Do the same for local symbols. */
19646 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19648 + Elf_Internal_Sym *isymbuf, *isym;
19649 + struct fragment **local_sym_frag;
19650 + unsigned int i, sym_count;
19652 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
19653 + if (sym_count == 0)
19656 + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
19657 + if (!local_sym_frag)
19659 + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
19661 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19665 + for (i = 0; i < sym_count; i++)
19667 + struct avr32_relax_data *rd;
19668 + struct fragment *frag;
19671 + isym = &isymbuf[i];
19673 + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19677 + rd = avr32_relax_data(sec);
19678 + if (!rd->is_relaxable)
19681 + frag = find_frag(sec, isym->st_value);
19682 + BFD_ASSERT(frag);
19684 + local_sym_frag[i] = frag;
19687 + release_local_syms(abfd, isymbuf);
19690 + /* And again for relocs with addends and constant pool references */
19691 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19692 + for (sec = abfd->sections; sec; sec = sec->next)
19694 + Elf_Internal_Rela *relocs;
19697 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19700 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19704 + ret = allocate_reloc_data(abfd, sec, relocs, info);
19706 + release_internal_relocs(sec, relocs);
19707 + if (ret == FALSE)
19714 +static bfd_boolean
19715 +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
19716 + bfd_vma symval, bfd_vma addr, struct got_entry *got,
19717 + struct avr32_reloc_data *ind_data,
19718 + bfd_signed_vma offset_adjust)
19720 + bfd_signed_vma target = 0;
19722 + switch (rs->reftype)
19724 + case REF_ABSOLUTE:
19728 + target = symval - addr;
19731 + /* cpool frags are always in the same section and always after
19732 + all frags referring to it. So it's always correct to add in
19733 + offset_adjust here. */
19734 + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
19735 + + offset_adjust - frag->offset - frag->offset_adjust);
19738 + target = got->offset;
19744 + if (target >= rs->range_min && target <= rs->range_max)
19750 +static bfd_boolean
19751 +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
19753 + struct elf_avr32_link_hash_table *htab;
19754 + struct avr32_relax_data *rd;
19755 + Elf_Internal_Shdr *symtab_hdr;
19756 + Elf_Internal_Rela *relocs = NULL;
19757 + Elf_Internal_Sym *isymbuf = NULL;
19758 + struct got_entry **local_got_ents;
19759 + struct fragment **local_sym_frag;
19760 + bfd_boolean ret = FALSE;
19761 + bfd_signed_vma delta = 0;
19764 + htab = avr32_elf_hash_table(info);
19765 + rd = avr32_relax_data(sec);
19767 + if (sec == htab->sgot)
19769 + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
19770 + sec->output_section->vma + sec->output_offset);
19771 + if (assign_got_offsets(htab))
19772 + htab->repeat_pass = TRUE;
19776 + if (!rd->is_relaxable)
19779 + if (!sec->rawsize)
19780 + sec->rawsize = sec->size;
19782 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19783 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19787 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19791 + local_got_ents = elf_local_got_ents(abfd);
19792 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
19794 + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
19795 + abfd->filename, sec->name,
19796 + sec->output_section->vma + sec->output_offset, sec->size);
19798 + for (i = 0; i < rd->frag_count; i++)
19800 + struct fragment *frag = &rd->frag[i];
19801 + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
19802 + const struct relax_state *state, *next_state;
19803 + struct fragment *target_frag = NULL;
19804 + asection *sym_sec = NULL;
19805 + Elf_Internal_Rela *rela;
19806 + struct got_entry *got;
19807 + bfd_vma symval, r_offset, addend, addr;
19808 + bfd_signed_vma size_adjust = 0, distance;
19809 + unsigned long r_symndx;
19810 + bfd_boolean defined = TRUE, dynamic = FALSE;
19811 + unsigned char sym_type;
19813 + frag->offset_adjust += delta;
19814 + state = next_state = &relax_state[frag->state];
19815 + rela = frag->rela;
19817 + BFD_ASSERT(state->id == frag->state);
19819 + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
19820 + (frag->offset_adjust < 0)?'-':'+',
19821 + abs(frag->offset_adjust), state->name, state->size);
19825 + RDBG(": no reloc, ignoring\n");
19829 + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
19830 + BFD_ASSERT(state != RS_NONE);
19832 + r_offset = rela->r_offset + frag->offset_adjust;
19833 + addr = sec->output_section->vma + sec->output_offset + r_offset;
19835 + switch (frag->state)
19838 + size_adjust = ((addr + (1 << rela->r_addend) - 1)
19839 + & ~((1 << rela->r_addend) - 1));
19840 + size_adjust -= (sec->output_section->vma + sec->output_offset
19841 + + frag->offset + frag->offset_adjust
19842 + + frag->size + frag->size_adjust);
19844 + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
19845 + frag->size + frag->size_adjust + size_adjust);
19849 + if (frag->refcount == 0 && frag->size_adjust == 0)
19851 + RDBG(": discarding frag\n");
19852 + size_adjust = -4;
19854 + else if (frag->refcount > 0 && frag->size_adjust < 0)
19856 + RDBG(": un-discarding frag\n");
19862 + if (rd->reloc_data)
19863 + r_data = &rd->reloc_data[frag->rela - relocs];
19865 + /* If this is a cpool reference, we want the symbol that the
19866 + cpool entry refers to, not the symbol for the cpool entry
19867 + itself, as we already know what frag it's in. */
19868 + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
19870 + Elf_Internal_Rela *irela = r_data->add_frag->rela;
19872 + r_symndx = ELF_R_SYM(irela->r_info);
19873 + addend = irela->r_addend;
19875 + /* The constant pool must be in the same section as the
19876 + reloc referring to it. */
19877 + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
19879 + ind_data = r_data;
19880 + r_data = &rd->reloc_data[irela - relocs];
19884 + r_symndx = ELF_R_SYM(rela->r_info);
19885 + addend = rela->r_addend;
19888 + /* Get the value of the symbol referred to by the reloc. */
19889 + if (r_symndx < symtab_hdr->sh_info)
19891 + Elf_Internal_Sym *isym;
19893 + isym = isymbuf + r_symndx;
19896 + RDBG(" local sym %lu: ", r_symndx);
19898 + if (isym->st_shndx == SHN_UNDEF)
19900 + else if (isym->st_shndx == SHN_ABS)
19901 + sym_sec = bfd_abs_section_ptr;
19902 + else if (isym->st_shndx == SHN_COMMON)
19903 + sym_sec = bfd_com_section_ptr;
19905 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19907 + symval = isym->st_value;
19908 + sym_type = ELF_ST_TYPE(isym->st_info);
19909 + target_frag = local_sym_frag[r_symndx];
19911 + if (local_got_ents)
19912 + got = local_got_ents[r_symndx];
19918 + /* Global symbol */
19919 + unsigned long index;
19920 + struct elf_link_hash_entry *h;
19921 + struct elf_avr32_link_hash_entry *havr;
19923 + index = r_symndx - symtab_hdr->sh_info;
19924 + h = elf_sym_hashes(abfd)[index];
19925 + BFD_ASSERT(h != NULL);
19927 + while (h->root.type == bfd_link_hash_indirect
19928 + || h->root.type == bfd_link_hash_warning)
19929 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19931 + havr = (struct elf_avr32_link_hash_entry *)h;
19932 + got = h->got.glist;
19936 + RDBG(" %s: ", h->root.root.string);
19938 + if (h->root.type != bfd_link_hash_defined
19939 + && h->root.type != bfd_link_hash_defweak)
19944 + else if ((info->shared && !info->symbolic && h->dynindx != -1)
19945 + || (htab->root.dynamic_sections_created
19946 + && h->def_dynamic && !h->def_regular))
19948 + RDBG("(dynamic)");
19950 + sym_sec = h->root.u.def.section;
19954 + sym_sec = h->root.u.def.section;
19955 + symval = h->root.u.def.value;
19956 + target_frag = havr->sym_frag;
19959 + sym_type = h->type;
19962 + /* Thanks to elf32-ppc for this one. */
19963 + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
19965 + /* At this stage in linking, no SEC_MERGE symbol has been
19966 + adjusted, so all references to such symbols need to be
19967 + passed through _bfd_merged_section_offset. (Later, in
19968 + relocate_section, all SEC_MERGE symbols *except* for
19969 + section symbols have been adjusted.)
19971 + SEC_MERGE sections are not relaxed by us, as they
19972 + shouldn't contain any code. */
19974 + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
19976 + /* gas may reduce relocations against symbols in SEC_MERGE
19977 + sections to a relocation against the section symbol when
19978 + the original addend was zero. When the reloc is against
19979 + a section symbol we should include the addend in the
19980 + offset passed to _bfd_merged_section_offset, since the
19981 + location of interest is the original symbol. On the
19982 + other hand, an access to "sym+addend" where "sym" is not
19983 + a section symbol should not include the addend; Such an
19984 + access is presumed to be an offset from "sym"; The
19985 + location of interest is just "sym". */
19986 + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
19987 + (sym_type == STT_SECTION)?"section":"not section",
19988 + sym_sec->output_section->vma + sym_sec->output_offset,
19991 + if (sym_type == STT_SECTION)
19992 + symval += addend;
19994 + symval = (_bfd_merged_section_offset
19996 + elf_section_data(sym_sec)->sec_info, symval));
19998 + if (sym_type != STT_SECTION)
19999 + symval += addend;
20002 + symval += addend;
20004 + if (defined && !dynamic)
20006 + RDBG("0x%lx+0x%lx",
20007 + sym_sec->output_section->vma + sym_sec->output_offset,
20009 + symval += sym_sec->output_section->vma + sym_sec->output_offset;
20012 + if (r_data && r_data->add_frag)
20013 + /* If the add_frag pointer is set, it means that this reloc
20014 + has an addend that may be affected by relaxation. */
20015 + target_frag = r_data->add_frag;
20019 + symval += target_frag->offset_adjust;
20021 + /* If target_frag comes after this frag in the same
20022 + section, we should assume that it will be moved by
20023 + the same amount we are. */
20024 + if ((target_frag - rd->frag) < (int)rd->frag_count
20025 + && target_frag > frag)
20029 + distance = symval - addr;
20031 + /* First, try to make a direct reference. If the symbol is
20032 + dynamic or undefined, we must take care not to change its
20033 + reference type, that is, we can't make it direct.
20035 + Also, it seems like some sections may actually be resized
20036 + after the relaxation code is done, so we can't really
20037 + trust that our "distance" is correct. There's really no
20038 + easy solution to this problem, so we'll just disallow
20039 + direct references to SEC_DATA sections.
20041 + Oh, and .bss isn't actually SEC_DATA, so we disallow
20042 + !SEC_HAS_CONTENTS as well. */
20043 + if (!dynamic && defined
20044 + && (htab->direct_data_refs
20045 + || (!(sym_sec->flags & SEC_DATA)
20046 + && (sym_sec->flags & SEC_HAS_CONTENTS)))
20047 + && next_state->direct)
20049 + next_state = &relax_state[next_state->direct];
20050 + RDBG(" D-> %s", next_state->name);
20053 + /* Iterate backwards until we find a state that fits. */
20054 + while (next_state->prev
20055 + && !rs_is_good_enough(next_state, frag, symval, addr,
20056 + got, ind_data, delta))
20058 + next_state = &relax_state[next_state->prev];
20059 + RDBG(" P-> %s", next_state->name);
20062 + /* Then try to find the best possible state. */
20063 + while (next_state->next)
20065 + const struct relax_state *candidate;
20067 + candidate = &relax_state[next_state->next];
20068 + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
20069 + ind_data, delta))
20072 + next_state = candidate;
20073 + RDBG(" N-> %s", next_state->name);
20076 + RDBG(" [size %ld]\n", next_state->size);
20078 + BFD_ASSERT(next_state->id);
20079 + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
20081 + size_adjust = next_state->size - state->size;
20083 + /* There's a theoretical possibility that shrinking one frag
20084 + may cause another to grow, which may cause the first one to
20085 + grow as well, and we're back where we started. Avoid this
20086 + scenario by disallowing a frag that has grown to ever
20088 + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
20090 + if (frag->has_grown)
20091 + next_state = state;
20093 + unref_got_entry(htab, got);
20095 + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
20097 + ref_got_entry(htab, got);
20098 + frag->has_grown = TRUE;
20100 + else if (state->reftype == REF_CPOOL
20101 + && next_state->reftype != REF_CPOOL)
20103 + if (frag->has_grown)
20104 + next_state = state;
20106 + ind_data->add_frag->refcount--;
20108 + else if (state->reftype != REF_CPOOL
20109 + && next_state->reftype == REF_CPOOL)
20111 + ind_data->add_frag->refcount++;
20112 + frag->has_grown = TRUE;
20116 + if (frag->has_grown && size_adjust < 0)
20117 + next_state = state;
20118 + else if (size_adjust > 0)
20119 + frag->has_grown = TRUE;
20122 + size_adjust = next_state->size - state->size;
20123 + frag->state = next_state->id;
20129 + htab->repeat_pass = TRUE;
20131 + frag->size_adjust += size_adjust;
20132 + sec->size += size_adjust;
20133 + delta += size_adjust;
20135 + BFD_ASSERT((frag->offset + frag->offset_adjust
20136 + + frag->size + frag->size_adjust)
20137 + == (frag[1].offset + frag[1].offset_adjust + delta));
20143 + release_local_syms(abfd, isymbuf);
20144 + release_internal_relocs(sec, relocs);
20148 +static bfd_boolean
20149 +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
20150 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
20152 + struct elf_link_hash_entry *h = &havr->root;
20154 + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
20155 + || h->root.type == bfd_link_hash_defweak))
20157 + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
20158 + h->root.root.string, h->root.u.def.value,
20159 + h->root.u.def.value + havr->sym_frag->offset_adjust);
20160 + h->root.u.def.value += havr->sym_frag->offset_adjust;
20165 +static bfd_boolean
20166 +adjust_syms(struct bfd_link_info *info)
20168 + struct elf_avr32_link_hash_table *htab;
20171 + htab = avr32_elf_hash_table(info);
20172 + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
20174 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
20176 + Elf_Internal_Sym *isymbuf;
20177 + struct fragment **local_sym_frag, *frag;
20178 + unsigned int i, sym_count;
20180 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
20181 + if (sym_count == 0)
20184 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
20188 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
20190 + for (i = 0; i < sym_count; i++)
20192 + frag = local_sym_frag[i];
20195 + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
20196 + abfd->filename, i, isymbuf[i].st_value,
20197 + isymbuf[i].st_value + frag->offset_adjust);
20198 + isymbuf[i].st_value += frag->offset_adjust;
20202 + release_local_syms(abfd, isymbuf);
20205 + htab->symbols_adjusted = TRUE;
20209 +static bfd_boolean
20210 +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
20212 + struct avr32_relax_data *rd;
20213 + Elf_Internal_Rela *relocs;
20214 + Elf_Internal_Shdr *symtab_hdr;
20216 + bfd_boolean ret = FALSE;
20218 + rd = avr32_relax_data(sec);
20219 + if (!rd->reloc_data)
20222 + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
20223 + sec->reloc_count);
20225 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20229 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
20231 + for (i = 0; i < sec->reloc_count; i++)
20233 + Elf_Internal_Rela *rela = &relocs[i];
20234 + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
20235 + struct fragment *sym_frag;
20236 + unsigned long r_symndx;
20238 + if (r_data->add_frag)
20240 + r_symndx = ELF_R_SYM(rela->r_info);
20242 + if (r_symndx < symtab_hdr->sh_info)
20243 + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
20246 + struct elf_link_hash_entry *h;
20248 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
20250 + while (h->root.type == bfd_link_hash_indirect
20251 + || h->root.type == bfd_link_hash_warning)
20252 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20254 + BFD_ASSERT(h->root.type == bfd_link_hash_defined
20255 + || h->root.type == bfd_link_hash_defweak);
20257 + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
20260 + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
20262 + rela->r_addend + r_data->add_frag->offset_adjust
20263 + - (sym_frag ? sym_frag->offset_adjust : 0));
20265 + /* If this is against a section symbol, we won't find any
20266 + sym_frag, so we'll just adjust the addend. */
20267 + rela->r_addend += r_data->add_frag->offset_adjust;
20269 + rela->r_addend -= sym_frag->offset_adjust;
20271 + if (r_data->sub_frag)
20273 + bfd_byte *contents;
20274 + bfd_signed_vma diff;
20276 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20280 + /* I realize now that sub_frag is misnamed. It's
20281 + actually add_frag which is subtracted in this
20283 + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
20284 + diff += (r_data->sub_frag->offset_adjust
20285 + - r_data->add_frag->offset_adjust);
20286 + bfd_put_32(abfd, diff, contents + rela->r_offset);
20288 + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
20290 + release_contents(sec, contents);
20294 + BFD_ASSERT(!r_data->sub_frag);
20300 + release_internal_relocs(sec, relocs);
20304 +static bfd_boolean
20305 +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
20307 + struct elf_avr32_link_hash_table *htab;
20308 + struct avr32_relax_data *rd;
20309 + struct fragment *frag, *fragend;
20310 + Elf_Internal_Rela *relocs = NULL;
20311 + bfd_byte *contents = NULL;
20313 + bfd_boolean ret = FALSE;
20315 + htab = avr32_elf_hash_table(info);
20316 + rd = avr32_relax_data(sec);
20318 + if (!htab->symbols_adjusted)
20319 + if (!adjust_syms(info))
20322 + if (rd->is_relaxable)
20324 + /* Resize the section first, so that we can be sure that enough
20325 + memory is allocated in case the section has grown. */
20326 + if (sec->size > sec->rawsize
20327 + && elf_section_data(sec)->this_hdr.contents)
20329 + /* We must not use cached data if the section has grown. */
20330 + free(elf_section_data(sec)->this_hdr.contents);
20331 + elf_section_data(sec)->this_hdr.contents = NULL;
20334 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20337 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20341 + fragend = rd->frag + rd->frag_count;
20343 + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
20344 + abfd->filename, sec->name, relocs, contents);
20346 + /* First, move the data into place. We must take care to move
20347 + frags in the right order so that we don't accidentally
20348 + overwrite parts of the next frag. */
20349 + for (frag = rd->frag; frag < fragend; frag++)
20351 + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
20352 + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
20353 + abs(frag->offset_adjust),
20354 + frag->size, frag->size_adjust >= 0 ? '+' : '-',
20355 + abs(frag->size_adjust));
20356 + if (frag->offset_adjust > 0)
20358 + struct fragment *prev = frag - 1;
20359 + struct fragment *last;
20361 + for (last = frag; last < fragend && last->offset_adjust > 0;
20364 + if (last == fragend)
20367 + for (frag = last; frag != prev; frag--)
20369 + if (frag->offset_adjust
20370 + && frag->size + frag->size_adjust > 0)
20372 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20373 + frag->offset, frag->offset + frag->offset_adjust,
20374 + frag->size + frag->size_adjust);
20375 + memmove(contents + frag->offset + frag->offset_adjust,
20376 + contents + frag->offset,
20377 + frag->size + frag->size_adjust);
20382 + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
20384 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20385 + frag->offset, frag->offset + frag->offset_adjust,
20386 + frag->size + frag->size_adjust);
20387 + memmove(contents + frag->offset + frag->offset_adjust,
20388 + contents + frag->offset,
20389 + frag->size + frag->size_adjust);
20395 + for (frag = rd->frag; frag < fragend; frag++)
20397 + const struct relax_state *state, *istate;
20398 + struct avr32_reloc_data *r_data = NULL;
20400 + istate = &relax_state[frag->initial_state];
20401 + state = &relax_state[frag->state];
20403 + if (rd->reloc_data)
20404 + r_data = &rd->reloc_data[frag->rela - relocs];
20406 + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
20407 + BFD_ASSERT(state->reftype != REF_CPOOL
20408 + || r_data->add_frag->refcount > 0);
20410 + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
20412 + struct fragment *ifrag;
20414 + /* An indirect reference through the cpool has been
20415 + converted to a direct reference. We must update the
20416 + reloc to point to the symbol itself instead of the
20417 + constant pool entry. The reloc type will be updated
20419 + ifrag = r_data->add_frag;
20420 + frag->rela->r_info = ifrag->rela->r_info;
20421 + frag->rela->r_addend = ifrag->rela->r_addend;
20423 + /* Copy the reloc data so the addend will be adjusted
20424 + correctly later. */
20425 + *r_data = rd->reloc_data[ifrag->rela - relocs];
20428 + /* Move all relocs covered by this frag. */
20430 + BFD_ASSERT(&relocs[i] <= frag->rela);
20432 + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
20434 + if (frag == rd->frag)
20435 + BFD_ASSERT(i == 0);
20437 + BFD_ASSERT(&relocs[i] > frag[-1].rela);
20439 + /* If non-null, frag->rela is the last relocation in the
20440 + fragment. frag->rela can only be null in the last
20441 + fragment, so in that case, we'll just do the rest. */
20442 + for (; (i < sec->reloc_count
20443 + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
20445 + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
20446 + relocs[i].r_offset + frag->offset_adjust);
20447 + relocs[i].r_offset += frag->offset_adjust;
20450 + if (frag->refcount == 0)
20452 + /* If this frag is to be discarded, make sure we won't
20453 + relocate it later on. */
20454 + BFD_ASSERT(frag->state == RS_CPENT);
20455 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20458 + else if (frag->state == RS_ALIGN)
20460 + bfd_vma addr, addr_end;
20462 + addr = frag->rela->r_offset;
20463 + addr_end = (frag->offset + frag->offset_adjust
20464 + + frag->size + frag->size_adjust);
20466 + /* If the section is executable, insert NOPs.
20467 + Otherwise, insert zeroes. */
20468 + if (sec->flags & SEC_CODE)
20472 + bfd_put_8(abfd, 0, contents + addr);
20476 + BFD_ASSERT(!((addr_end - addr) & 1));
20478 + while (addr < addr_end)
20480 + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
20485 + memset(contents + addr, 0, addr_end - addr);
20487 + else if (state->opcode_mask)
20491 + /* Update the opcode and the relocation type unless it's a
20492 + "special" relax state (i.e. RS_NONE, RS_ALIGN or
20493 + RS_CPENT.), in which case the opcode mask is zero. */
20494 + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
20495 + insn &= ~state->opcode_mask;
20496 + insn |= state->opcode;
20497 + RDBG(" 0x%lx: inserting insn %08lx\n",
20498 + frag->rela->r_offset, insn);
20499 + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
20501 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20505 + if ((frag + 1) == fragend)
20506 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20507 + + frag->size_adjust) == sec->size);
20509 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20510 + + frag->size_adjust)
20511 + == (frag[1].offset + frag[1].offset_adjust));
20515 + /* Adjust reloc addends and DIFF32 differences */
20516 + if (!adjust_relocs(abfd, sec, info))
20522 + release_contents(sec, contents);
20523 + release_internal_relocs(sec, relocs);
20527 +static bfd_boolean
20528 +avr32_elf_relax_section(bfd *abfd, asection *sec,
20529 + struct bfd_link_info *info, bfd_boolean *again)
20531 + struct elf_avr32_link_hash_table *htab;
20532 + struct avr32_relax_data *rd;
20535 + if (info->relocatable)
20538 + htab = avr32_elf_hash_table(info);
20539 + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
20540 + && sec != htab->sgot)
20543 + if (!htab->relocations_analyzed)
20545 + if (!analyze_relocations(info))
20547 + htab->relocations_analyzed = TRUE;
20550 + rd = avr32_relax_data(sec);
20552 + if (rd->iteration != htab->relax_iteration)
20554 + if (!htab->repeat_pass)
20555 + htab->relax_pass++;
20556 + htab->relax_iteration++;
20557 + htab->repeat_pass = FALSE;
20562 + switch (htab->relax_pass)
20564 + case RELAX_PASS_SIZE_FRAGS:
20565 + if (!avr32_size_frags(abfd, sec, info))
20569 + case RELAX_PASS_MOVE_DATA:
20570 + if (!avr32_move_data(abfd, sec, info))
20581 +static bfd_reloc_status_type
20582 +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
20583 + bfd_signed_vma relocation, reloc_howto_type *howto);
20584 +static bfd_reloc_status_type
20585 +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
20586 + asection *input_section, bfd_byte *contents,
20587 + Elf_Internal_Rela *rel, bfd_vma value);
20588 +static bfd_boolean
20589 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20590 + bfd *input_bfd, asection *input_section,
20591 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20592 + Elf_Internal_Sym *local_syms,
20593 + asection **local_sections);
20596 +#define symbol_address(symbol) \
20597 + symbol->value + symbol->section->output_section->vma \
20598 + + symbol->section->output_offset
20600 +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
20603 + unsigned long x; \
20604 + x = bfd_get_##size (abfd, data + reloc_entry->address); \
20605 + x &= ~reloc_entry->howto->dst_mask; \
20606 + x |= field & reloc_entry->howto->dst_mask; \
20607 + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
20611 +static bfd_reloc_status_type
20612 +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
20613 + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
20614 + bfd_signed_vma relocation,
20615 + reloc_howto_type *howto)
20619 + /* We take "complain_overflow_dont" to mean "don't complain on
20620 + alignment either". This way, we don't have to special-case
20622 + if (howto->complain_on_overflow == complain_overflow_dont)
20623 + return bfd_reloc_ok;
20625 + /* Check if the value is correctly aligned */
20626 + if (relocation & ((1 << howto->rightshift) - 1))
20628 + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
20629 + sec->owner->filename, sec->name, rela->r_offset,
20630 + howto->name, relocation, howto->rightshift);
20631 + return bfd_reloc_overflow;
20634 + /* Now, get rid of the unnecessary bits */
20635 + relocation >>= howto->rightshift;
20636 + reloc_u = (bfd_vma)relocation;
20638 + switch (howto->complain_on_overflow)
20640 + case complain_overflow_unsigned:
20641 + case complain_overflow_bitfield:
20642 + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
20644 + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
20645 + sec->owner->filename, sec->name, rela->r_offset,
20646 + howto->name, reloc_u, howto->bitsize);
20647 + RDBG("reloc vma: 0x%lx\n",
20648 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20650 + return bfd_reloc_overflow;
20653 + case complain_overflow_signed:
20654 + if (relocation > (1 << (howto->bitsize - 1)) - 1)
20656 + RDBG("signed overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
20657 + sec->owner->filename, sec->name, rela->r_offset,
20658 + howto->name, reloc_u, howto->bitsize);
20659 + RDBG("reloc vma: 0x%lx\n",
20660 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20662 + return bfd_reloc_overflow;
20664 + if (relocation < -(1 << (howto->bitsize - 1)))
20666 + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
20667 + sec->owner->filename, sec->name, rela->r_offset,
20668 + howto->name, -relocation, howto->bitsize);
20669 + RDBG("reloc vma: 0x%lx\n",
20670 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20672 + return bfd_reloc_overflow;
20679 + return bfd_reloc_ok;
20683 +static bfd_reloc_status_type
20684 +avr32_final_link_relocate(reloc_howto_type *howto,
20686 + asection *input_section,
20687 + bfd_byte *contents,
20688 + Elf_Internal_Rela *rel,
20692 + bfd_vma relocation;
20693 + bfd_reloc_status_type status;
20694 + bfd_byte *p = contents + rel->r_offset;
20697 + pr_debug(" (6b) final link relocate\n");
20699 + /* Sanity check the address */
20700 + if (rel->r_offset > input_section->size)
20702 + (*_bfd_error_handler)
20703 + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
20704 + input_bfd, input_section, rel->r_offset, input_section->size);
20705 + return bfd_reloc_outofrange;
20708 + relocation = value + rel->r_addend;
20710 + if (howto->pc_relative)
20714 + addr = input_section->output_section->vma
20715 + + input_section->output_offset + rel->r_offset;
20716 + addr &= ~0UL << howto->rightshift;
20717 + relocation -= addr;
20720 + switch (ELF32_R_TYPE(rel->r_info))
20722 + case R_AVR32_16N_PCREL:
20723 + /* sub reg, pc, . - (sym + addend) */
20724 + relocation = -relocation;
20728 + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
20730 + relocation >>= howto->rightshift;
20731 + if (howto->bitsize == 21)
20732 + field = (relocation & 0xffff)
20733 + | ((relocation & 0x10000) << 4)
20734 + | ((relocation & 0x1e0000) << 8);
20735 + else if (howto->bitsize == 12)
20736 + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
20737 + else if (howto->bitsize == 10)
20738 + field = ((relocation & 0xff) << 4)
20739 + | ((relocation & 0x300) >> 8);
20741 + field = relocation << howto->bitpos;
20743 + switch (howto->size)
20746 + x = bfd_get_8 (input_bfd, p);
20747 + x &= ~howto->dst_mask;
20748 + x |= field & howto->dst_mask;
20749 + bfd_put_8 (input_bfd, (bfd_vma) x, p);
20752 + x = bfd_get_16 (input_bfd, p);
20753 + x &= ~howto->dst_mask;
20754 + x |= field & howto->dst_mask;
20755 + bfd_put_16 (input_bfd, (bfd_vma) x, p);
20758 + x = bfd_get_32 (input_bfd, p);
20759 + x &= ~howto->dst_mask;
20760 + x |= field & howto->dst_mask;
20761 + bfd_put_32 (input_bfd, (bfd_vma) x, p);
20770 +/* (6) Apply relocations to the normal (non-dynamic) sections */
20772 +static bfd_boolean
20773 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20774 + bfd *input_bfd, asection *input_section,
20775 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20776 + Elf_Internal_Sym *local_syms,
20777 + asection **local_sections)
20779 + struct elf_avr32_link_hash_table *htab;
20780 + Elf_Internal_Shdr *symtab_hdr;
20781 + Elf_Internal_Rela *rel, *relend;
20782 + struct elf_link_hash_entry **sym_hashes;
20783 + struct got_entry **local_got_ents;
20785 + asection *srelgot;
20787 + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
20788 + input_bfd->filename, input_section->name, input_section->size);
20790 + /* If we're doing a partial link, we don't have to do anything since
20791 + we're using RELA relocations */
20792 + if (info->relocatable)
20795 + htab = avr32_elf_hash_table(info);
20796 + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
20797 + sym_hashes = elf_sym_hashes(input_bfd);
20798 + local_got_ents = elf_local_got_ents(input_bfd);
20799 + sgot = htab->sgot;
20800 + srelgot = htab->srelgot;
20802 + relend = relocs + input_section->reloc_count;
20803 + for (rel = relocs; rel < relend; rel++)
20805 + unsigned long r_type, r_symndx;
20806 + reloc_howto_type *howto;
20807 + Elf_Internal_Sym *sym = NULL;
20808 + struct elf_link_hash_entry *h = NULL;
20809 + asection *sec = NULL;
20812 + bfd_reloc_status_type status;
20814 + r_type = ELF32_R_TYPE(rel->r_info);
20815 + r_symndx = ELF32_R_SYM(rel->r_info);
20817 + if (r_type == R_AVR32_NONE
20818 + || r_type == R_AVR32_ALIGN
20819 + || r_type == R_AVR32_DIFF32
20820 + || r_type == R_AVR32_DIFF16
20821 + || r_type == R_AVR32_DIFF8)
20824 + /* Sanity check */
20825 + if (r_type > R_AVR32_max)
20827 + bfd_set_error(bfd_error_bad_value);
20831 + howto = &elf_avr32_howto_table[r_type];
20833 + if (r_symndx < symtab_hdr->sh_info)
20835 + sym = local_syms + r_symndx;
20836 + sec = local_sections[r_symndx];
20838 + pr_debug(" (6a) processing %s against local symbol %lu\n",
20839 + howto->name, r_symndx);
20841 + /* The following function changes rel->r_addend behind our back. */
20842 + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
20843 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20847 + if (sym_hashes == NULL)
20850 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
20851 + while (h->root.type == bfd_link_hash_indirect
20852 + || h->root.type == bfd_link_hash_warning)
20853 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20855 + pr_debug(" (6a) processing %s against symbol %s\n",
20856 + howto->name, h->root.root.string);
20858 + if (h->root.type == bfd_link_hash_defined
20859 + || h->root.type == bfd_link_hash_defweak)
20863 + dyn = htab->root.dynamic_sections_created;
20864 + sec = h->root.u.def.section;
20866 + if (sec->output_section)
20867 + value = (h->root.u.def.value
20868 + + sec->output_section->vma
20869 + + sec->output_offset);
20871 + value = h->root.u.def.value;
20873 + else if (h->root.type == bfd_link_hash_undefweak)
20875 + else if (info->unresolved_syms_in_objects == RM_IGNORE
20876 + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
20881 + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
20882 + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
20883 + if (!info->callbacks->undefined_symbol
20884 + (info, h->root.root.string, input_bfd,
20885 + input_section, rel->r_offset, err))
20890 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20895 + case R_AVR32_GOT32:
20896 + case R_AVR32_GOT16:
20897 + case R_AVR32_GOT8:
20898 + case R_AVR32_GOT21S:
20899 + case R_AVR32_GOT18SW:
20900 + case R_AVR32_GOT16S:
20901 + case R_AVR32_GOT7UW:
20902 + case R_AVR32_LDA_GOT:
20903 + case R_AVR32_GOTCALL:
20904 + BFD_ASSERT(sgot != NULL);
20908 + BFD_ASSERT(h->got.glist->refcount > 0);
20909 + offset = h->got.glist->offset;
20911 + BFD_ASSERT(offset < sgot->size);
20912 + if (!elf_hash_table(info)->dynamic_sections_created
20913 + || (h->def_regular
20914 + && (!info->shared
20915 + || info->symbolic
20916 + || h->dynindx == -1)))
20918 + /* This is actually a static link, or it is a
20919 + -Bsymbolic link and the symbol is defined
20920 + locally, or the symbol was forced to be local. */
20921 + bfd_put_32(output_bfd, value, sgot->contents + offset);
20926 + BFD_ASSERT(local_got_ents &&
20927 + local_got_ents[r_symndx]->refcount > 0);
20928 + offset = local_got_ents[r_symndx]->offset;
20930 + /* Local GOT entries don't have relocs. If this is a
20931 + shared library, the dynamic linker will add the load
20932 + address to the initial value at startup. */
20933 + BFD_ASSERT(offset < sgot->size);
20934 + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
20936 + bfd_put_32 (output_bfd, value, sgot->contents + offset);
20939 + value = sgot->output_offset + offset;
20940 + pr_debug("GOT reference: New value %lx\n", value);
20943 + case R_AVR32_GOTPC:
20944 + /* This relocation type is for constant pool entries used in
20945 + the calculation "Rd = PC - (PC - GOT)", where the
20946 + constant pool supplies the constant (PC - GOT)
20947 + offset. The symbol value + addend indicates where the
20948 + value of PC is taken. */
20949 + value -= sgot->output_section->vma;
20952 + case R_AVR32_32_PCREL:
20953 + /* We must adjust r_offset to account for discarded data in
20954 + the .eh_frame section. This is probably not the right
20955 + way to do this, since AFAICS all other architectures do
20956 + it some other way. I just can't figure out how... */
20958 + bfd_vma r_offset;
20960 + r_offset = _bfd_elf_section_offset(output_bfd, info,
20963 + if (r_offset == (bfd_vma)-1
20964 + || r_offset == (bfd_vma)-2)
20966 + rel->r_offset = r_offset;
20971 + /* We need to emit a run-time relocation in the following cases:
20972 + - we're creating a shared library
20973 + - the symbol is not defined in any regular objects
20975 + Of course, sections that aren't going to be part of the
20976 + run-time image will not get any relocs, and undefined
20977 + symbols won't have any either (only weak undefined
20978 + symbols should get this far). */
20979 + if ((info->shared
20980 + || (elf_hash_table(info)->dynamic_sections_created
20982 + && h->def_dynamic
20983 + && !h->def_regular))
20985 + && (input_section->flags & SEC_ALLOC))
20987 + Elf_Internal_Rela outrel;
20989 + bfd_boolean skip, relocate;
20990 + struct elf_avr32_link_hash_entry *avrh;
20992 + pr_debug("Going to generate dynamic reloc...\n");
20995 + relocate = FALSE;
20997 + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
21000 + if (outrel.r_offset == (bfd_vma)-1)
21002 + else if (outrel.r_offset == (bfd_vma)-2)
21003 + skip = TRUE, relocate = TRUE;
21005 + outrel.r_offset += (input_section->output_section->vma
21006 + + input_section->output_offset);
21008 + pr_debug(" ... offset %lx, dynindx %ld\n",
21009 + outrel.r_offset, h ? h->dynindx : -1);
21012 + memset(&outrel, 0, sizeof(outrel));
21015 + avrh = (struct elf_avr32_link_hash_entry *)h;
21016 + /* h->dynindx may be -1 if this symbol was marked to
21019 + || ((info->symbolic || h->dynindx == -1)
21020 + && h->def_regular))
21023 + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
21024 + outrel.r_addend = value + rel->r_addend;
21025 + pr_debug(" ... R_AVR32_RELATIVE\n");
21029 + BFD_ASSERT(h->dynindx != -1);
21031 + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
21032 + outrel.r_addend = rel->r_addend;
21033 + pr_debug(" ... R_AVR32_GLOB_DAT\n");
21037 + pr_debug("srelgot reloc_count: %d, size %lu\n",
21038 + srelgot->reloc_count, srelgot->size);
21040 + loc = srelgot->contents;
21041 + loc += srelgot->reloc_count++ * sizeof(Elf32_External_Rela);
21042 + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
21044 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
21045 + <= srelgot->size);
21053 + status = avr32_final_link_relocate(howto, input_bfd, input_section,
21054 + contents, rel, value);
21058 + case bfd_reloc_ok:
21061 + case bfd_reloc_overflow:
21063 + const char *name;
21066 + name = h->root.root.string;
21069 + name = bfd_elf_string_from_elf_section(input_bfd,
21070 + symtab_hdr->sh_link,
21072 + if (name == NULL)
21074 + if (*name == '\0')
21075 + name = bfd_section_name(input_bfd, sec);
21077 + if (!((*info->callbacks->reloc_overflow)
21078 + (info, (h ? &h->root : NULL), name, howto->name,
21079 + rel->r_addend, input_bfd, input_section, rel->r_offset)))
21084 + case bfd_reloc_outofrange:
21094 +/* Additional processing of dynamic sections after relocation */
21096 +static bfd_boolean
21097 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
21098 + struct elf_link_hash_entry *h,
21099 + Elf_Internal_Sym *sym);
21100 +static bfd_boolean
21101 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
21104 +/* (7) Initialize the contents of a dynamic symbol and/or emit
21105 + relocations for it */
21107 +static bfd_boolean
21108 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
21109 + struct elf_link_hash_entry *h,
21110 + Elf_Internal_Sym *sym)
21112 + struct elf_avr32_link_hash_table *htab;
21113 + struct got_entry *got;
21115 + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
21117 + htab = avr32_elf_hash_table(info);
21118 + got = h->got.glist;
21120 + if (got && got->refcount > 0)
21123 + asection *srelgot;
21124 + Elf_Internal_Rela rel;
21127 + /* This symbol has an entry in the GOT. Set it up. */
21128 + sgot = htab->sgot;
21129 + srelgot = htab->srelgot;
21130 + BFD_ASSERT(sgot && srelgot);
21132 + rel.r_offset = (sgot->output_section->vma
21133 + + sgot->output_offset
21136 + /* If this is a static link, or it is a -Bsymbolic link and the
21137 + symbol is defined locally or was forced to be local because
21138 + of a version file, we just want to emit a RELATIVE reloc. The
21139 + entry in the global offset table will already have been
21140 + initialized in the relocate_section function. */
21141 + if ((info->shared
21142 + && !info->symbolic
21143 + && h->dynindx != -1)
21144 + || (htab->root.dynamic_sections_created
21145 + && h->def_dynamic
21146 + && !h->def_regular))
21148 + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
21149 + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
21150 + rel.r_addend = 0;
21152 + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
21153 + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
21154 + srelgot->reloc_count, srelgot->size);
21156 + loc = (srelgot->contents
21157 + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
21158 + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
21160 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
21161 + <= srelgot->size);
21165 + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
21166 + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
21167 + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
21168 + sym->st_shndx = SHN_ABS;
21173 +/* (8) Do any remaining initialization of the dynamic sections */
21175 +static bfd_boolean
21176 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
21178 + struct elf_avr32_link_hash_table *htab;
21179 + asection *sgot, *sdyn;
21181 + pr_debug("(8) finish dynamic sections\n");
21183 + htab = avr32_elf_hash_table(info);
21184 + sgot = htab->sgot;
21185 + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
21187 + if (htab->root.dynamic_sections_created)
21189 + Elf32_External_Dyn *dyncon, *dynconend;
21191 + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
21193 + dyncon = (Elf32_External_Dyn *)sdyn->contents;
21194 + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
21195 + for (; dyncon < dynconend; dyncon++)
21197 + Elf_Internal_Dyn dyn;
21200 + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
21202 + switch (dyn.d_tag)
21208 + s = sgot->output_section;
21209 + BFD_ASSERT(s != NULL);
21210 + dyn.d_un.d_ptr = s->vma;
21211 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21214 + case DT_AVR32_GOTSZ:
21215 + s = sgot->output_section;
21216 + BFD_ASSERT(s != NULL);
21217 + dyn.d_un.d_val = s->size;
21218 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21223 + /* Fill in the first two entries in the global offset table */
21224 + bfd_put_32(output_bfd,
21225 + sdyn->output_section->vma + sdyn->output_offset,
21228 + /* The runtime linker will fill this one in with the address of
21229 + the run-time link map */
21230 + bfd_put_32(output_bfd, 0, sgot->contents + 4);
21234 + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
21240 +/* AVR32-specific private ELF data */
21242 +static bfd_boolean
21243 +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
21244 +static bfd_boolean
21245 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
21246 +static bfd_boolean
21247 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
21248 +static bfd_boolean
21249 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
21251 +static bfd_boolean
21252 +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
21254 + elf_elfheader(abfd)->e_flags = flags;
21255 + elf_flags_init(abfd) = TRUE;
21260 +/* Copy backend specific data from one object module to another. */
21262 +static bfd_boolean
21263 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
21265 + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
21269 +/* Merge backend specific data from an object file to the output
21270 + object file when linking. */
21272 +static bfd_boolean
21273 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
21275 + flagword out_flags, in_flags;
21277 + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
21278 + ibfd->filename, obfd->filename);
21280 + in_flags = elf_elfheader(ibfd)->e_flags;
21281 + out_flags = elf_elfheader(obfd)->e_flags;
21283 + if (elf_flags_init(obfd))
21285 + /* If one of the inputs are non-PIC, the output must be
21286 + considered non-PIC. The same applies to linkrelax. */
21287 + if (!(in_flags & EF_AVR32_PIC))
21288 + out_flags &= ~EF_AVR32_PIC;
21289 + if (!(in_flags & EF_AVR32_LINKRELAX))
21290 + out_flags &= ~EF_AVR32_LINKRELAX;
21294 + elf_flags_init(obfd) = TRUE;
21295 + out_flags = in_flags;
21298 + elf_elfheader(obfd)->e_flags = out_flags;
21303 +static bfd_boolean
21304 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
21306 + FILE *file = (FILE *)ptr;
21307 + unsigned long flags;
21309 + BFD_ASSERT(abfd != NULL && ptr != NULL);
21311 + _bfd_elf_print_private_bfd_data(abfd, ptr);
21313 + flags = elf_elfheader(abfd)->e_flags;
21315 + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
21317 + if (flags & EF_AVR32_PIC)
21318 + fprintf(file, " [PIC]");
21319 + if (flags & EF_AVR32_LINKRELAX)
21320 + fprintf(file, " [linker relaxable]");
21322 + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
21325 + fprintf(file, _("<Unrecognized flag bits set>"));
21327 + fputc('\n', file);
21332 +/* Set avr32-specific linker options. */
21333 +void bfd_elf32_avr32_set_options(struct bfd_link_info *info,
21334 + int direct_data_refs)
21336 + struct elf_avr32_link_hash_table *htab;
21338 + htab = avr32_elf_hash_table (info);
21339 + htab->direct_data_refs = !!direct_data_refs;
21344 +/* Understanding core dumps */
21346 +static bfd_boolean
21347 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
21348 +static bfd_boolean
21349 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
21351 +static bfd_boolean
21352 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
21354 + /* Linux/AVR32B elf_prstatus */
21355 + if (note->descsz != 148)
21359 + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
21362 + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
21364 + /* Make a ".reg/999" section for pr_reg. The size is for 16
21365 + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
21366 + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
21367 + note->descpos + 72);
21370 +static bfd_boolean
21371 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
21373 + /* Linux/AVR32B elf_prpsinfo */
21374 + if (note->descsz != 128)
21377 + elf_tdata(abfd)->core_program
21378 + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
21379 + elf_tdata(abfd)->core_command
21380 + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
21382 + /* Note that for some reason, a spurious space is tacked
21383 + onto the end of the args in some (at least one anyway)
21384 + implementations, so strip it off if it exists. */
21387 + char *command = elf_tdata (abfd)->core_command;
21388 + int n = strlen (command);
21390 + if (0 < n && command[n - 1] == ' ')
21391 + command[n - 1] = '\0';
21398 +#define ELF_ARCH bfd_arch_avr32
21399 +#define ELF_MACHINE_CODE EM_AVR32
21400 +#define ELF_MAXPAGESIZE 0x1000
21402 +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
21403 +#define TARGET_BIG_NAME "elf32-avr32"
21405 +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
21406 +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
21408 +/* Only RELA relocations are used */
21409 +#define elf_backend_may_use_rel_p 0
21410 +#define elf_backend_may_use_rela_p 1
21411 +#define elf_backend_default_use_rela_p 1
21412 +#define elf_backend_rela_normal 1
21413 +#define elf_info_to_howto_rel NULL
21414 +#define elf_info_to_howto avr32_info_to_howto
21416 +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
21417 +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
21418 +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
21419 +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
21420 +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
21422 +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
21423 +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
21424 +#define elf_backend_relocate_section avr32_elf_relocate_section
21425 +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
21426 +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
21427 +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
21428 +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
21429 +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
21430 +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
21431 +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
21433 +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
21435 +/* Find out which symbols need an entry in .got. */
21436 +#define elf_backend_check_relocs avr32_check_relocs
21437 +#define elf_backend_can_refcount 1
21438 +#define elf_backend_can_gc_sections 1
21439 +#define elf_backend_plt_readonly 1
21440 +#define elf_backend_plt_not_loaded 1
21441 +#define elf_backend_want_plt_sym 0
21442 +#define elf_backend_plt_alignment 2
21443 +#define elf_backend_want_dynbss 0
21444 +#define elf_backend_want_got_plt 0
21445 +#define elf_backend_want_got_sym 1
21446 +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
21448 +#include "elf32-target.h"
21450 +++ b/bfd/elf32-avr32.c.orig
21452 +/* AVR32-specific support for 32-bit ELF.
21453 + Copyright 2003-2006 Atmel Corporation.
21455 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
21457 + This file is part of BFD, the Binary File Descriptor library.
21459 + This program is free software; you can redistribute it and/or modify
21460 + it under the terms of the GNU General Public License as published by
21461 + the Free Software Foundation; either version 2 of the License, or
21462 + (at your option) any later version.
21464 + This program is distributed in the hope that it will be useful,
21465 + but WITHOUT ANY WARRANTY; without even the implied warranty of
21466 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21467 + GNU General Public License for more details.
21469 + You should have received a copy of the GNU General Public License
21470 + along with this program; if not, write to the Free Software
21471 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21474 +#include "sysdep.h"
21475 +#include "bfdlink.h"
21476 +#include "libbfd.h"
21477 +#include "elf-bfd.h"
21478 +#include "elf/avr32.h"
21481 +#define xRELAX_DEBUG
21484 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
21486 +# define pr_debug(fmt, args...) do { } while (0)
21489 +#ifdef RELAX_DEBUG
21490 +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
21492 +# define RDBG(fmt, args...) do { } while (0)
21495 +/* When things go wrong, we want it to blow up, damnit! */
21498 +#define BFD_ASSERT(expr) \
21503 + bfd_assert(__FILE__, __LINE__); \
21509 +/* The name of the dynamic interpreter. This is put in the .interp section. */
21510 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
21512 +#define AVR32_GOT_HEADER_SIZE 8
21513 +#define AVR32_FUNCTION_STUB_SIZE 8
21515 +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
21516 +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
21517 +#define ELF_R_SYM(x) ELF32_R_SYM(x)
21519 +#define NOP_OPCODE 0xd703
21522 +/* Mapping between BFD relocations and ELF relocations */
21524 +static reloc_howto_type *
21525 +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
21527 +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
21529 +/* Generic HOWTO */
21530 +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
21531 + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
21532 + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
21533 + FALSE, 0, mask, pcrel)
21535 +static reloc_howto_type elf_avr32_howto_table[] = {
21536 + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
21537 + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
21539 + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21540 + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
21541 + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
21542 + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
21543 + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
21544 + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
21546 + /* Difference between two symbol (sym2 - sym1). The reloc encodes
21547 + the value of sym1. The field contains the difference before any
21548 + relaxing is done. */
21549 + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21550 + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
21551 + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
21553 + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
21554 + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
21555 + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
21557 + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21558 + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
21559 + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
21560 + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
21561 + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
21563 + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
21564 + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
21565 + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
21566 + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
21567 + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
21568 + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
21569 + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
21570 + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
21571 + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
21573 + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
21574 + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
21576 + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21577 + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21578 + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21579 + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21580 + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
21581 + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
21582 + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
21584 + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21585 + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
21586 + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
21587 + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
21589 + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
21590 + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21591 + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21593 + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
21596 +struct elf_reloc_map
21598 + bfd_reloc_code_real_type bfd_reloc_val;
21599 + unsigned char elf_reloc_val;
21602 +static const struct elf_reloc_map avr32_reloc_map[] =
21604 + { BFD_RELOC_NONE, R_AVR32_NONE },
21606 + { BFD_RELOC_32, R_AVR32_32 },
21607 + { BFD_RELOC_16, R_AVR32_16 },
21608 + { BFD_RELOC_8, R_AVR32_8 },
21609 + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
21610 + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
21611 + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
21612 + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
21613 + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
21614 + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
21615 + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
21616 + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
21617 + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
21619 + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
21620 + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
21621 + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
21622 + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
21623 + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
21624 + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
21626 + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
21627 + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
21628 + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
21629 + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
21630 + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
21631 + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
21632 + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
21633 + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
21635 + { BFD_RELOC_HI16, R_AVR32_HI16 },
21636 + { BFD_RELOC_LO16, R_AVR32_LO16 },
21638 + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
21639 + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
21640 + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
21641 + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
21642 + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
21643 + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
21644 + /* GOT7UW should never be generated by the assembler */
21646 + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
21647 + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
21648 + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
21649 + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
21651 + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
21654 +static reloc_howto_type *
21655 +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
21656 + bfd_reloc_code_real_type code)
21660 + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
21662 + if (avr32_reloc_map[i].bfd_reloc_val == code)
21663 + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
21670 +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
21671 + arelent *cache_ptr,
21672 + Elf_Internal_Rela *dst)
21674 + unsigned int r_type;
21676 + r_type = ELF32_R_TYPE (dst->r_info);
21677 + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
21678 + cache_ptr->howto = &elf_avr32_howto_table[r_type];
21682 +/* AVR32 ELF linker hash table and associated hash entries. */
21684 +static struct bfd_hash_entry *
21685 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
21686 + struct bfd_hash_table *table,
21687 + const char *string);
21689 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
21690 + struct elf_link_hash_entry *dir,
21691 + struct elf_link_hash_entry *ind);
21692 +static struct bfd_link_hash_table *
21693 +avr32_elf_link_hash_table_create(bfd *abfd);
21696 + Try to limit memory usage to something reasonable when sorting the
21697 + GOT. If we ever get more than this many references to the same
21698 + symbol, we may need to do something special.
21700 +#define MAX_NR_GOT_HOLES 8192
21703 + AVR32 GOT entry. We need to keep track of refcounts and offsets
21704 + simultaneously, since we need the offsets during relaxation, and we
21705 + also want to be able to drop GOT entries during relaxation. In
21706 + addition to this, we want to keep the list of GOT entries sorted so
21707 + that we can keep the most-used entries at the lowest offsets.
21711 + struct got_entry *next;
21712 + struct got_entry **pprev;
21714 + bfd_signed_vma offset;
21717 +struct elf_avr32_link_hash_entry
21719 + struct elf_link_hash_entry root;
21721 + /* Number of runtime relocations against this symbol. */
21722 + unsigned int possibly_dynamic_relocs;
21724 + /* If there are anything but R_AVR32_GOT18 relocations against this
21725 + symbol, it means that someone may be taking the address of the
21726 + function, and we should therefore not create a stub. */
21727 + bfd_boolean no_fn_stub;
21729 + /* If there is a R_AVR32_32 relocation in a read-only section
21730 + against this symbol, we could be in trouble. If we're linking a
21731 + shared library or this symbol is defined in one, it means we must
21732 + emit a run-time reloc for it and that's not allowed in read-only
21734 + asection *readonly_reloc_sec;
21735 + bfd_vma readonly_reloc_offset;
21737 + /* Record which frag (if any) contains the symbol. This is used
21738 + during relaxation in order to avoid having to update all symbols
21739 + whenever we move something. For local symbols, this information
21740 + is in the local_sym_frag member of struct elf_obj_tdata. */
21741 + struct fragment *sym_frag;
21743 +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
21745 +struct elf_avr32_link_hash_table
21747 + struct elf_link_hash_table root;
21749 + /* Shortcuts to get to dynamic linker sections. */
21751 + asection *srelgot;
21754 + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
21755 + initial refcounts have been determined, we initialize
21756 + nr_got_holes to the highest refcount ever seen and allocate an
21757 + array of nr_got_holes entries for got_hole. Each GOT entry is
21758 + then stored in this array at the index given by its refcount.
21760 + When a GOT entry has its refcount decremented during relaxation,
21761 + it is moved to a lower index in the got_hole array.
21763 + struct got_entry **got_hole;
21764 + int nr_got_holes;
21766 + /* Dynamic relocations to local symbols. Only used when linking a
21767 + shared library and -Bsymbolic is not given. */
21768 + unsigned int local_dynamic_relocs;
21770 + bfd_boolean relocations_analyzed;
21771 + bfd_boolean symbols_adjusted;
21772 + bfd_boolean repeat_pass;
21773 + unsigned int relax_iteration;
21774 + unsigned int relax_pass;
21776 +#define avr32_elf_hash_table(p) \
21777 + ((struct elf_avr32_link_hash_table *)((p)->hash))
21779 +static struct bfd_hash_entry *
21780 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
21781 + struct bfd_hash_table *table,
21782 + const char *string)
21784 + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
21786 + /* Allocate the structure if it hasn't already been allocated by a
21789 + ret = (struct elf_avr32_link_hash_entry *)
21790 + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
21795 + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
21797 + /* Give the superclass a chance */
21798 + ret = (struct elf_avr32_link_hash_entry *)
21799 + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
21801 + return (struct bfd_hash_entry *)ret;
21804 +/* Copy data from an indirect symbol to its direct symbol, hiding the
21805 + old indirect symbol. Process additional relocation information.
21806 + Also called for weakdefs, in which case we just let
21807 + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
21810 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
21811 + struct elf_link_hash_entry *dir,
21812 + struct elf_link_hash_entry *ind)
21814 + struct elf_avr32_link_hash_entry *edir, *eind;
21816 + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
21818 + if (ind->root.type != bfd_link_hash_indirect)
21821 + edir = (struct elf_avr32_link_hash_entry *)dir;
21822 + eind = (struct elf_avr32_link_hash_entry *)ind;
21824 + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
21825 + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
21828 +static struct bfd_link_hash_table *
21829 +avr32_elf_link_hash_table_create(bfd *abfd)
21831 + struct elf_avr32_link_hash_table *ret;
21833 + ret = bfd_zmalloc(sizeof(*ret));
21837 + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
21838 + avr32_elf_link_hash_newfunc,
21839 + sizeof (struct elf_avr32_link_hash_entry)))
21845 + /* Prevent the BFD core from creating bogus got_entry pointers */
21846 + ret->root.init_got_refcount.glist = NULL;
21847 + ret->root.init_plt_refcount.glist = NULL;
21849 + return &ret->root.root;
21853 +/* Initial analysis and creation of dynamic sections and symbols */
21856 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
21857 + unsigned int align_power);
21858 +static struct elf_link_hash_entry *
21859 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
21860 + const char *name, asection *sec,
21862 +static bfd_boolean
21863 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
21864 +static bfd_boolean
21865 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
21866 +static bfd_boolean
21867 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
21868 + const Elf_Internal_Rela *relocs);
21869 +static bfd_boolean
21870 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
21871 + struct elf_link_hash_entry *h);
21874 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
21875 + unsigned int align_power)
21879 + sec = bfd_make_section(dynobj, name);
21881 + || !bfd_set_section_flags(dynobj, sec, flags)
21882 + || !bfd_set_section_alignment(dynobj, sec, align_power))
21888 +static struct elf_link_hash_entry *
21889 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
21890 + const char *name, asection *sec,
21893 + struct bfd_link_hash_entry *bh = NULL;
21894 + struct elf_link_hash_entry *h;
21895 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
21897 + if (!(_bfd_generic_link_add_one_symbol
21898 + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
21899 + bed->collect, &bh)))
21902 + h = (struct elf_link_hash_entry *)bh;
21903 + h->def_regular = 1;
21904 + h->type = STT_OBJECT;
21905 + h->other = STV_HIDDEN;
21910 +static bfd_boolean
21911 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
21913 + struct elf_avr32_link_hash_table *htab;
21915 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
21917 + htab = avr32_elf_hash_table(info);
21918 + flags = bed->dynamic_sec_flags;
21923 + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
21924 + if (!htab->srelgot)
21925 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
21926 + flags | SEC_READONLY, 2);
21928 + if (!htab->sgot || !htab->srelgot)
21931 + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
21933 + if (!htab->root.hgot)
21936 + /* Make room for the GOT header */
21937 + htab->sgot->size += bed->got_header_size;
21942 +/* (1) Create all dynamic (i.e. linker generated) sections that we may
21943 + need during the link */
21945 +static bfd_boolean
21946 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
21948 + struct elf_avr32_link_hash_table *htab;
21950 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
21952 + pr_debug("(1) create dynamic sections\n");
21954 + htab = avr32_elf_hash_table(info);
21955 + flags = bed->dynamic_sec_flags;
21957 + if (!avr32_elf_create_got_section (dynobj, info))
21960 + if (!htab->sstub)
21961 + htab->sstub = create_dynamic_section(dynobj, ".stub",
21962 + flags | SEC_READONLY | SEC_CODE, 2);
21964 + if (!htab->sstub)
21970 +/* (2) Go through all the relocs and count any potential GOT- or
21971 + PLT-references to each symbol */
21973 +static bfd_boolean
21974 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
21975 + const Elf_Internal_Rela *relocs)
21977 + Elf_Internal_Shdr *symtab_hdr;
21978 + struct elf_avr32_link_hash_table *htab;
21979 + struct elf_link_hash_entry **sym_hashes;
21980 + const Elf_Internal_Rela *rel, *rel_end;
21981 + struct got_entry **local_got_ents;
21982 + struct got_entry *got;
21983 + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
21987 + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
21988 + abfd->filename, sec->name, sec->size);
21990 + if (info->relocatable)
21993 + dynobj = elf_hash_table(info)->dynobj;
21994 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
21995 + sym_hashes = elf_sym_hashes(abfd);
21996 + htab = avr32_elf_hash_table(info);
21997 + local_got_ents = elf_local_got_ents(abfd);
21998 + sgot = htab->sgot;
22000 + rel_end = relocs + sec->reloc_count;
22001 + for (rel = relocs; rel < rel_end; rel++)
22003 + unsigned long r_symndx, r_type;
22004 + struct elf_avr32_link_hash_entry *h;
22006 + r_symndx = ELF32_R_SYM(rel->r_info);
22007 + r_type = ELF32_R_TYPE(rel->r_info);
22009 + /* Local symbols use local_got_ents, while others store the same
22010 + information in the hash entry */
22011 + if (r_symndx < symtab_hdr->sh_info)
22013 + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
22018 + h = (struct elf_avr32_link_hash_entry *)
22019 + sym_hashes[r_symndx - symtab_hdr->sh_info];
22020 + while (h->root.type == bfd_link_hash_indirect
22021 + || h->root.type == bfd_link_hash_warning)
22022 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
22023 + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
22026 + /* Some relocs require special sections to be created. */
22029 + case R_AVR32_GOT32:
22030 + case R_AVR32_GOT16:
22031 + case R_AVR32_GOT8:
22032 + case R_AVR32_GOT21S:
22033 + case R_AVR32_GOT18SW:
22034 + case R_AVR32_GOT16S:
22035 + case R_AVR32_GOT7UW:
22036 + case R_AVR32_LDA_GOT:
22037 + case R_AVR32_GOTCALL:
22038 + if (rel->r_addend)
22040 + if (info->callbacks->reloc_dangerous
22041 + (info, _("Non-zero addend on GOT-relative relocation"),
22042 + abfd, sec, rel->r_offset) == FALSE)
22045 + /* fall through */
22046 + case R_AVR32_GOTPC:
22047 + if (dynobj == NULL)
22048 + elf_hash_table(info)->dynobj = dynobj = abfd;
22049 + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
22053 + /* We may need to create .rela.dyn later on. */
22054 + if (dynobj == NULL
22055 + && (info->shared || h != NULL)
22056 + && (sec->flags & SEC_ALLOC))
22057 + elf_hash_table(info)->dynobj = dynobj = abfd;
22061 + if (h != NULL && r_type != R_AVR32_GOT18SW)
22062 + h->no_fn_stub = TRUE;
22066 + case R_AVR32_GOT32:
22067 + case R_AVR32_GOT16:
22068 + case R_AVR32_GOT8:
22069 + case R_AVR32_GOT21S:
22070 + case R_AVR32_GOT18SW:
22071 + case R_AVR32_GOT16S:
22072 + case R_AVR32_GOT7UW:
22073 + case R_AVR32_LDA_GOT:
22074 + case R_AVR32_GOTCALL:
22077 + got = h->root.got.glist;
22080 + got = bfd_zalloc(abfd, sizeof(struct got_entry));
22083 + h->root.got.glist = got;
22088 + if (!local_got_ents)
22090 + bfd_size_type size;
22092 + struct got_entry *tmp_entry;
22094 + size = symtab_hdr->sh_info;
22095 + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
22096 + local_got_ents = bfd_zalloc(abfd, size);
22097 + if (!local_got_ents)
22100 + elf_local_got_ents(abfd) = local_got_ents;
22102 + tmp_entry = (struct got_entry *)(local_got_ents
22103 + + symtab_hdr->sh_info);
22104 + for (i = 0; i < symtab_hdr->sh_info; i++)
22105 + local_got_ents[i] = &tmp_entry[i];
22108 + got = local_got_ents[r_symndx];
22112 + if (got->refcount > htab->nr_got_holes)
22113 + htab->nr_got_holes = got->refcount;
22117 + if ((info->shared || h != NULL)
22118 + && (sec->flags & SEC_ALLOC))
22120 + if (htab->srelgot == NULL)
22122 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
22123 + bed->dynamic_sec_flags
22124 + | SEC_READONLY, 2);
22125 + if (htab->srelgot == NULL)
22129 + if (sec->flags & SEC_READONLY
22130 + && !h->readonly_reloc_sec)
22132 + h->readonly_reloc_sec = sec;
22133 + h->readonly_reloc_offset = rel->r_offset;
22138 + pr_debug("Non-GOT reference to symbol %s\n",
22139 + h->root.root.root.string);
22140 + h->possibly_dynamic_relocs++;
22144 + pr_debug("Non-GOT reference to local symbol %lu\n",
22146 + htab->local_dynamic_relocs++;
22152 + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
22159 +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
22160 + regular object. The current definition is in some section of the
22161 + dynamic object, but we're not including those sections. We have to
22162 + change the definition to something the rest of the link can
22165 +static bfd_boolean
22166 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
22167 + struct elf_link_hash_entry *h)
22169 + struct elf_avr32_link_hash_table *htab;
22170 + struct elf_avr32_link_hash_entry *havr;
22173 + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
22175 + htab = avr32_elf_hash_table(info);
22176 + havr = (struct elf_avr32_link_hash_entry *)h;
22177 + dynobj = elf_hash_table(info)->dynobj;
22179 + /* Make sure we know what is going on here. */
22180 + BFD_ASSERT (dynobj != NULL
22181 + && (h->u.weakdef != NULL
22182 + || (h->def_dynamic
22183 + && h->ref_regular
22184 + && !h->def_regular)));
22186 + /* We don't want dynamic relocations in read-only sections. */
22187 + if (havr->readonly_reloc_sec)
22189 + if (info->callbacks->reloc_dangerous
22190 + (info, _("dynamic relocation in read-only section"),
22191 + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
22192 + havr->readonly_reloc_offset) == FALSE)
22196 + /* If this is a function, create a stub if possible and set the
22197 + symbol to the stub location. */
22198 + if (0 && !havr->no_fn_stub)
22200 + if (!h->def_regular)
22202 + asection *s = htab->sstub;
22204 + BFD_ASSERT(s != NULL);
22206 + h->root.u.def.section = s;
22207 + h->root.u.def.value = s->size;
22208 + h->plt.offset = s->size;
22209 + s->size += AVR32_FUNCTION_STUB_SIZE;
22214 + else if (h->type == STT_FUNC)
22216 + /* This will set the entry for this symbol in the GOT to 0, and
22217 + the dynamic linker will take care of this. */
22218 + h->root.u.def.value = 0;
22222 + /* If this is a weak symbol, and there is a real definition, the
22223 + processor independent code will have arranged for us to see the
22224 + real definition first, and we can just use the same value. */
22225 + if (h->u.weakdef != NULL)
22227 + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
22228 + || h->u.weakdef->root.type == bfd_link_hash_defweak);
22229 + h->root.u.def.section = h->u.weakdef->root.u.def.section;
22230 + h->root.u.def.value = h->u.weakdef->root.u.def.value;
22234 + /* This is a reference to a symbol defined by a dynamic object which
22235 + is not a function. */
22241 +/* Garbage-collection of unused sections */
22244 +avr32_elf_gc_mark_hook(asection *sec,
22245 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
22246 + Elf_Internal_Rela *rel,
22247 + struct elf_link_hash_entry *h,
22248 + Elf_Internal_Sym *sym)
22252 + switch (ELF32_R_TYPE(rel->r_info))
22254 + /* TODO: VTINHERIT/VTENTRY */
22256 + switch (h->root.type)
22258 + case bfd_link_hash_defined:
22259 + case bfd_link_hash_defweak:
22260 + return h->root.u.def.section;
22262 + case bfd_link_hash_common:
22263 + return h->root.u.c.p->section;
22271 + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
22276 +/* Update the GOT entry reference counts for the section being removed. */
22277 +static bfd_boolean
22278 +avr32_elf_gc_sweep_hook(bfd *abfd,
22279 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
22281 + const Elf_Internal_Rela *relocs)
22283 + Elf_Internal_Shdr *symtab_hdr;
22284 + struct elf_avr32_link_hash_entry **sym_hashes;
22285 + struct got_entry **local_got_ents;
22286 + const Elf_Internal_Rela *rel, *relend;
22288 + if (!(sec->flags & SEC_ALLOC))
22291 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
22292 + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
22293 + local_got_ents = elf_local_got_ents(abfd);
22295 + relend = relocs + sec->reloc_count;
22296 + for (rel = relocs; rel < relend; rel++)
22298 + unsigned long r_symndx;
22299 + unsigned int r_type;
22300 + struct elf_avr32_link_hash_entry *h = NULL;
22302 + r_symndx = ELF32_R_SYM(rel->r_info);
22303 + if (r_symndx >= symtab_hdr->sh_info)
22305 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
22306 + while (h->root.root.type == bfd_link_hash_indirect
22307 + || h->root.root.type == bfd_link_hash_warning)
22308 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
22311 + r_type = ELF32_R_TYPE(rel->r_info);
22315 + case R_AVR32_GOT32:
22316 + case R_AVR32_GOT16:
22317 + case R_AVR32_GOT8:
22318 + case R_AVR32_GOT21S:
22319 + case R_AVR32_GOT18SW:
22320 + case R_AVR32_GOT16S:
22321 + case R_AVR32_GOT7UW:
22322 + case R_AVR32_LDA_GOT:
22323 + case R_AVR32_GOTCALL:
22325 + h->root.got.glist->refcount--;
22327 + local_got_ents[r_symndx]->refcount--;
22331 + if (info->shared || h)
22334 + h->possibly_dynamic_relocs--;
22336 + avr32_elf_hash_table(info)->local_dynamic_relocs--;
22347 +/* Sizing and refcounting of dynamic sections */
22350 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
22352 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
22354 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
22355 +static bfd_boolean
22356 +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
22357 +static bfd_boolean
22358 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
22359 +static bfd_boolean
22360 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
22361 + struct bfd_link_info *info);
22364 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
22366 + /* TODO: Support got_refcount > htab->nr_got_holes by using a
22367 + different sort algorithm for those. */
22368 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
22370 + got->pprev = &htab->got_hole[got->refcount];
22371 + got->next = htab->got_hole[got->refcount];
22373 + got->next->pprev = &got->next;
22375 + htab->got_hole[got->refcount] = got;
22378 +/* Decrement the refcount of a GOT entry and update its position in
22379 + the pigeonhole array. */
22381 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
22383 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
22384 + BFD_ASSERT(got->refcount > 0);
22387 + got->next->pprev = got->pprev;
22389 + *(got->pprev) = got->next;
22391 + insert_got_entry(htab, got);
22395 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
22398 + got->next->pprev = got->pprev;
22400 + *(got->pprev) = got->next;
22402 + insert_got_entry(htab, got);
22404 + BFD_ASSERT(got->refcount > 0);
22405 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
22408 +/* Assign offsets to all GOT entries we intend to keep. The entries
22409 + that are referenced most often are placed at low offsets so that we
22410 + can use compact instructions as much as possible.
22412 + Returns TRUE if any offsets or the total size of the GOT changed. */
22414 +static bfd_boolean
22415 +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
22417 + struct got_entry *got;
22418 + bfd_size_type got_size = 0;
22419 + bfd_boolean changed = FALSE;
22420 + bfd_signed_vma offset;
22423 + /* The GOT header provides the address of the DYNAMIC segment, so
22424 + we need that even if the GOT is otherwise empty. */
22425 + if (htab->root.dynamic_sections_created)
22426 + got_size = AVR32_GOT_HEADER_SIZE;
22428 + for (i = htab->nr_got_holes; i > 0; i--)
22430 + got = htab->got_hole[i];
22433 + if (got->refcount > 0)
22435 + offset = got_size;
22436 + if (got->offset != offset)
22438 + RDBG("GOT offset changed: %ld -> %ld\n",
22439 + got->offset, offset);
22442 + got->offset = offset;
22449 + if (htab->sgot->size != got_size)
22451 + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
22455 + htab->sgot->size = got_size;
22457 + RDBG("assign_got_offsets: total size %lu (%s)\n",
22458 + got_size, changed ? "changed" : "no change");
22463 +static bfd_boolean
22464 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
22466 + struct bfd_link_info *info = _info;
22467 + struct elf_avr32_link_hash_table *htab;
22468 + struct elf_avr32_link_hash_entry *havr;
22469 + struct got_entry *got;
22471 + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
22473 + if (h->root.type == bfd_link_hash_indirect)
22476 + if (h->root.type == bfd_link_hash_warning)
22477 + /* When warning symbols are created, they **replace** the "real"
22478 + entry in the hash table, thus we never get to see the real
22479 + symbol in a hash traversal. So look at it now. */
22480 + h = (struct elf_link_hash_entry *) h->root.u.i.link;
22482 + htab = avr32_elf_hash_table(info);
22483 + havr = (struct elf_avr32_link_hash_entry *)h;
22485 + got = h->got.glist;
22487 + /* If got is NULL, the symbol is never referenced through the GOT */
22488 + if (got && got->refcount > 0)
22490 + insert_got_entry(htab, got);
22492 + /* Shared libraries need relocs for all GOT entries unless the
22493 + symbol is forced local or -Bsymbolic is used. Others need
22494 + relocs for everything that is not guaranteed to be defined in
22495 + a regular object. */
22496 + if ((info->shared
22497 + && !info->symbolic
22498 + && h->dynindx != -1)
22499 + || (htab->root.dynamic_sections_created
22500 + && h->def_dynamic
22501 + && !h->def_regular))
22502 + htab->srelgot->size += sizeof(Elf32_External_Rela);
22505 + if (havr->possibly_dynamic_relocs
22507 + || (elf_hash_table(info)->dynamic_sections_created
22508 + && h->def_dynamic
22509 + && !h->def_regular)))
22511 + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
22512 + havr->possibly_dynamic_relocs, h->root.root.string);
22513 + htab->srelgot->size += (havr->possibly_dynamic_relocs
22514 + * sizeof(Elf32_External_Rela));
22520 +/* (4) Calculate the sizes of the linker-generated sections and
22521 + allocate memory for them. */
22523 +static bfd_boolean
22524 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
22525 + struct bfd_link_info *info)
22527 + struct elf_avr32_link_hash_table *htab;
22531 + bfd_boolean relocs;
22533 + pr_debug("(4) size dynamic sections\n");
22535 + htab = avr32_elf_hash_table(info);
22536 + dynobj = htab->root.dynobj;
22537 + BFD_ASSERT(dynobj != NULL);
22539 + if (htab->root.dynamic_sections_created)
22541 + /* Initialize the contents of the .interp section to the name of
22542 + the dynamic loader */
22543 + if (info->executable)
22545 + s = bfd_get_section_by_name(dynobj, ".interp");
22546 + BFD_ASSERT(s != NULL);
22547 + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
22548 + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
22552 + if (htab->nr_got_holes > 0)
22554 + /* Allocate holes for the pigeonhole sort algorithm */
22555 + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
22556 + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
22558 + /* TODO: Do something clever (different sorting algorithm) */
22559 + _bfd_error_handler(_("Highest refcount %d too high (max %d)\n"),
22560 + htab->nr_got_holes, MAX_NR_GOT_HOLES);
22561 + bfd_set_error(bfd_error_no_memory);
22564 + htab->got_hole = bfd_zalloc(output_bfd,
22565 + sizeof(struct got_entry *)
22566 + * (htab->nr_got_holes + 1));
22567 + if (!htab->got_hole)
22570 + /* Set up .got offsets for local syms. */
22571 + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
22573 + struct got_entry **local_got;
22574 + struct got_entry **end_local_got;
22575 + Elf_Internal_Shdr *symtab_hdr;
22576 + bfd_size_type locsymcount;
22578 + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
22580 + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
22582 + local_got = elf_local_got_ents(ibfd);
22586 + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
22587 + locsymcount = symtab_hdr->sh_info;
22588 + end_local_got = local_got + locsymcount;
22590 + for (; local_got < end_local_got; ++local_got)
22591 + insert_got_entry(htab, *local_got);
22595 + /* Allocate global sym .got entries and space for global sym
22596 + dynamic relocs */
22597 + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
22599 + /* Now that we have sorted the GOT entries, we are ready to
22600 + assign offsets and determine the initial size of the GOT. */
22602 + assign_got_offsets(htab);
22604 + /* Allocate space for local sym dynamic relocs */
22605 + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
22606 + if (htab->local_dynamic_relocs)
22607 + htab->srelgot->size += (htab->local_dynamic_relocs
22608 + * sizeof(Elf32_External_Rela));
22610 + /* We now have determined the sizes of the various dynamic
22611 + sections. Allocate memory for them. */
22613 + for (s = dynobj->sections; s; s = s->next)
22615 + if ((s->flags & SEC_LINKER_CREATED) == 0)
22618 + if (s == htab->sgot
22619 + || s == htab->sstub)
22621 + /* Strip this section if we don't need it */
22623 + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
22625 + if (s->size != 0)
22628 + s->reloc_count = 0;
22632 + /* It's not one of our sections */
22636 + if (s->size == 0)
22638 + /* Strip unneeded sections */
22639 + pr_debug("Stripping section %s from output...\n", s->name);
22640 + /* deleted function in 2.17
22641 + _bfd_strip_section_from_output(info, s);
22646 + s->contents = bfd_zalloc(dynobj, s->size);
22647 + if (s->contents == NULL)
22651 + if (htab->root.dynamic_sections_created)
22653 + /* Add some entries to the .dynamic section. We fill in the
22654 + values later, in sh_elf_finish_dynamic_sections, but we
22655 + must add the entries now so that we get the correct size for
22656 + the .dynamic section. The DT_DEBUG entry is filled in by the
22657 + dynamic linker and used by the debugger. */
22658 +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
22660 + if (!add_dynamic_entry(DT_PLTGOT, 0))
22662 + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
22665 + if (info->executable)
22667 + if (!add_dynamic_entry(DT_DEBUG, 0))
22672 + if (!add_dynamic_entry(DT_RELA, 0)
22673 + || !add_dynamic_entry(DT_RELASZ, 0)
22674 + || !add_dynamic_entry(DT_RELAENT,
22675 + sizeof(Elf32_External_Rela)))
22679 +#undef add_dynamic_entry
22685 +/* Access to internal relocations, section contents and symbols.
22686 + (stolen from the xtensa port) */
22688 +static Elf_Internal_Rela *
22689 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
22691 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
22693 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
22695 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
22698 +pin_contents (asection *sec, bfd_byte *contents);
22701 +release_contents (asection *sec, bfd_byte *contents);
22702 +static Elf_Internal_Sym *
22703 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
22706 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
22709 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
22711 +/* During relaxation, we need to modify relocations, section contents,
22712 + and symbol definitions, and we need to keep the original values from
22713 + being reloaded from the input files, i.e., we need to "pin" the
22714 + modified values in memory. We also want to continue to observe the
22715 + setting of the "keep-memory" flag. The following functions wrap the
22716 + standard BFD functions to take care of this for us. */
22718 +static Elf_Internal_Rela *
22719 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
22721 + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
22722 + to be clever here. */
22723 + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
22727 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
22729 + elf_section_data (sec)->relocs = internal_relocs;
22733 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
22735 + if (internal_relocs
22736 + && elf_section_data (sec)->relocs != internal_relocs)
22737 + free (internal_relocs);
22741 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
22743 + bfd_byte *contents;
22744 + bfd_size_type sec_size;
22746 + sec_size = bfd_get_section_limit (abfd, sec);
22747 + contents = elf_section_data (sec)->this_hdr.contents;
22749 + if (contents == NULL && sec_size != 0)
22751 + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
22758 + elf_section_data (sec)->this_hdr.contents = contents;
22765 +pin_contents (asection *sec, bfd_byte *contents)
22767 + elf_section_data (sec)->this_hdr.contents = contents;
22771 +release_contents (asection *sec, bfd_byte *contents)
22773 + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
22777 +static Elf_Internal_Sym *
22778 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
22780 + Elf_Internal_Shdr *symtab_hdr;
22781 + Elf_Internal_Sym *isymbuf;
22782 + size_t locsymcount;
22784 + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
22785 + locsymcount = symtab_hdr->sh_info;
22787 + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
22788 + if (isymbuf == NULL && locsymcount != 0)
22790 + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
22791 + NULL, NULL, NULL);
22792 + if (isymbuf && keep_memory)
22793 + symtab_hdr->contents = (unsigned char *) isymbuf;
22801 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
22803 + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
22808 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
22810 + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
22811 + != (unsigned char *)isymbuf))
22815 +
\f/* Data structures used during relaxation. */
22817 +enum relax_state_id {
22836 +#ifdef DHRYSTONE_FIX
22849 +enum reference_type {
22856 +struct relax_state
22858 + const char *name;
22859 + enum relax_state_id id;
22860 + enum relax_state_id direct;
22861 + enum relax_state_id next;
22862 + enum relax_state_id prev;
22864 + enum reference_type reftype;
22866 + unsigned int r_type;
22869 + bfd_vma opcode_mask;
22871 + bfd_signed_vma range_min;
22872 + bfd_signed_vma range_max;
22874 + bfd_size_type size;
22878 + * This is for relocs that
22879 + * a) has an addend or is of type R_AVR32_DIFF32, and
22880 + * b) references a different section than it's in, and
22881 + * c) references a section that is relaxable
22883 + * as well as relocs that references the constant pool, in which case
22884 + * the add_frag member points to the frag containing the constant pool
22887 + * Such relocs must be fixed up whenever we delete any code. Sections
22888 + * that don't have any relocs with all of the above properties don't
22889 + * have any additional reloc data, but sections that do will have
22890 + * additional data for all its relocs.
22892 +struct avr32_reloc_data
22894 + struct fragment *add_frag;
22895 + struct fragment *sub_frag;
22899 + * A 'fragment' is a relaxable entity, that is, code may be added or
22900 + * deleted at the end of a fragment. When this happens, all subsequent
22901 + * fragments in the list will have their offsets updated.
22905 + enum relax_state_id state;
22906 + enum relax_state_id initial_state;
22908 + Elf_Internal_Rela *rela;
22909 + bfd_size_type size;
22912 + int offset_adjust;
22913 + bfd_boolean has_grown;
22915 + /* Only used by constant pool entries. When this drops to zero, the
22916 + frag is discarded (i.e. size_adjust is set to -4.) */
22920 +struct avr32_relax_data
22922 + unsigned int frag_count;
22923 + struct fragment *frag;
22924 + struct avr32_reloc_data *reloc_data;
22926 + /* TRUE if this section has one or more relaxable relocations */
22927 + bfd_boolean is_relaxable;
22928 + unsigned int iteration;
22931 +struct avr32_section_data
22933 + struct bfd_elf_section_data elf;
22934 + struct avr32_relax_data relax_data;
22937 +
\f/* Relax state definitions */
22939 +#define PIC_MOV2_OPCODE 0xe0600000
22940 +#define PIC_MOV2_MASK 0xe1e00000
22941 +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
22942 +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
22943 +#define PIC_MCALL_OPCODE 0xf0160000
22944 +#define PIC_MCALL_MASK 0xffff0000
22945 +#define PIC_MCALL_RANGE_MIN (-131072)
22946 +#define PIC_MCALL_RANGE_MAX (131068)
22947 +#define RCALL2_OPCODE 0xe0a00000
22948 +#define RCALL2_MASK 0xe1ef0000
22949 +#define RCALL2_RANGE_MIN (-2097152)
22950 +#define RCALL2_RANGE_MAX (2097150)
22951 +#define RCALL1_OPCODE 0xc00c0000
22952 +#define RCALL1_MASK 0xf00c0000
22953 +#define RCALL1_RANGE_MIN (-1024)
22954 +#define RCALL1_RANGE_MAX (1022)
22955 +#define PIC_LDW4_OPCODE 0xecf00000
22956 +#define PIC_LDW4_MASK 0xfff00000
22957 +#define PIC_LDW4_RANGE_MIN (-32768)
22958 +#define PIC_LDW4_RANGE_MAX (32767)
22959 +#define PIC_LDW3_OPCODE 0x6c000000
22960 +#define PIC_LDW3_MASK 0xfe000000
22961 +#define PIC_LDW3_RANGE_MIN (0)
22962 +#define PIC_LDW3_RANGE_MAX (124)
22963 +#define SUB5_PC_OPCODE 0xfec00000
22964 +#define SUB5_PC_MASK 0xfff00000
22965 +#define SUB5_PC_RANGE_MIN (-32768)
22966 +#define SUB5_PC_RANGE_MAX (32767)
22967 +#define NOPIC_MCALL_OPCODE 0xf01f0000
22968 +#define NOPIC_MCALL_MASK 0xffff0000
22969 +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
22970 +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
22971 +#define NOPIC_LDW4_OPCODE 0xfef00000
22972 +#define NOPIC_LDW4_MASK 0xfff00000
22973 +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
22974 +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
22975 +#define LDDPC_OPCODE 0x48000000
22976 +#define LDDPC_MASK 0xf8000000
22977 +#define LDDPC_RANGE_MIN 0
22978 +#define LDDPC_RANGE_MAX 508
22980 +#ifdef DHRYSTONE_FIX
22981 +#define NOPIC_MOV2_OPCODE 0xe0600000
22982 +#define NOPIC_MOV2_MASK 0xe1e00000
22983 +#define NOPIC_MOV2_RANGE_MIN (-1048576)
22984 +#define NOPIC_MOV2_RANGE_MAX (1048575)
22985 +#define NOPIC_MOV1_OPCODE 0x30000000
22986 +#define NOPIC_MOV1_MASK 0xf0000000
22987 +#define NOPIC_MOV1_RANGE_MIN (-128)
22988 +#define NOPIC_MOV1_RANGE_MAX (127)
22991 +/* Only brc2 variants with cond[3] == 0 is considered, since the
22992 + others are not relaxable. bral is a special case and is handled
22994 +#define BRC2_OPCODE 0xe0800000
22995 +#define BRC2_MASK 0xe1e80000
22996 +#define BRC2_RANGE_MIN (-2097152)
22997 +#define BRC2_RANGE_MAX (2097150)
22998 +#define BRC1_OPCODE 0xc0000000
22999 +#define BRC1_MASK 0xf0080000
23000 +#define BRC1_RANGE_MIN (-256)
23001 +#define BRC1_RANGE_MAX (254)
23002 +#define BRAL_OPCODE 0xe08f0000
23003 +#define BRAL_MASK 0xe1ef0000
23004 +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
23005 +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
23006 +#define RJMP_OPCODE 0xc0080000
23007 +#define RJMP_MASK 0xf00c0000
23008 +#define RJMP_RANGE_MIN (-1024)
23009 +#define RJMP_RANGE_MAX (1022)
23011 +/* Define a relax state using the GOT */
23012 +#define RG(id, dir, next, prev, r_type, opc, size) \
23013 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
23014 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23015 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23016 +/* Define a relax state using the Constant Pool */
23017 +#define RC(id, dir, next, prev, r_type, opc, size) \
23018 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
23019 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23020 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23022 +/* Define a relax state using pc-relative direct reference */
23023 +#define RP(id, dir, next, prev, r_type, opc, size) \
23024 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
23025 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23026 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23028 +#ifdef DHRYSTONE_FIX
23029 +/* Define a relax state using non-pc-relative direct reference */
23030 +#define RD(id, dir, next, prev, r_type, opc, size) \
23031 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_ABSOLUTE, \
23032 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23033 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23037 +/* Define a relax state that will be handled specially */
23038 +#define RS(id, r_type, size) \
23039 + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
23040 + R_AVR32_##r_type, 0, 0, 0, 0, size }
23042 +const struct relax_state relax_state[RS_MAX] = {
23043 + RS(NONE, NONE, 0),
23044 + RS(ALIGN, ALIGN, 0),
23045 + RS(CPENT, 32_CPENT, 4),
23047 + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
23048 + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
23049 + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
23050 + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
23052 + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
23053 + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
23054 + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
23055 + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
23057 + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
23058 + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
23059 + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
23061 +#ifdef DHRYSTONE_FIX
23062 + RC(NOPIC_LDW4, NOPIC_MOV1, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
23063 + RC(NOPIC_LDDPC, NOPIC_MOV1, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
23064 + RP(NOPIC_SUB5, NOPIC_MOV1, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
23065 + RD(NOPIC_MOV2, NONE, NOPIC_MOV1, NOPIC_SUB5, 21S, NOPIC_MOV2, 4),
23066 + RD(NOPIC_MOV1, NONE, NONE, NOPIC_MOV2, 8S, NOPIC_MOV1, 2),
23068 + RC(NOPIC_LDW4, NOPIC_SUB5, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
23069 + RC(NOPIC_LDDPC, NOPIC_SUB5, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
23070 + RP(NOPIC_SUB5, NONE, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
23073 + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
23074 + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
23075 + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
23076 + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
23077 + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
23078 + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
23081 +static bfd_boolean
23082 +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
23084 + struct avr32_section_data *sdata;
23086 + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
23090 + sec->used_by_bfd = sdata;
23091 + return _bfd_elf_new_section_hook(abfd, sec);
23094 +static struct avr32_relax_data *
23095 +avr32_relax_data(asection *sec)
23097 + struct avr32_section_data *sdata;
23099 + BFD_ASSERT(sec->used_by_bfd);
23101 + sdata = (struct avr32_section_data *)elf_section_data(sec);
23102 + return &sdata->relax_data;
23105 +
\f/* Link-time relaxation */
23107 +static bfd_boolean
23108 +avr32_elf_relax_section(bfd *abfd, asection *sec,
23109 + struct bfd_link_info *info, bfd_boolean *again);
23111 +enum relax_pass_id {
23112 + RELAX_PASS_SIZE_FRAGS,
23113 + RELAX_PASS_MOVE_DATA,
23116 +/* Stolen from the xtensa port */
23118 +internal_reloc_compare (const void *ap, const void *bp)
23120 + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
23121 + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
23123 + if (a->r_offset != b->r_offset)
23124 + return (a->r_offset - b->r_offset);
23126 + /* We don't need to sort on these criteria for correctness,
23127 + but enforcing a more strict ordering prevents unstable qsort
23128 + from behaving differently with different implementations.
23129 + Without the code below we get correct but different results
23130 + on Solaris 2.7 and 2.8. We would like to always produce the
23131 + same results no matter the host. */
23133 + if (a->r_info != b->r_info)
23134 + return (a->r_info - b->r_info);
23136 + return (a->r_addend - b->r_addend);
23139 +static enum relax_state_id
23140 +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
23141 + const Elf_Internal_Rela *rela)
23143 + bfd_byte *contents;
23145 + enum relax_state_id rs = RS_NONE;
23147 + contents = retrieve_contents(abfd, sec, info->keep_memory);
23151 + insn = bfd_get_32(abfd, contents + rela->r_offset);
23152 + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
23154 + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
23155 + /* Optimizing bral -> rjmp gets us into all kinds of
23156 + trouble with jump tables. Better not do it. */
23158 + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
23161 + release_contents(sec, contents);
23166 +static enum relax_state_id
23167 +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
23168 + const Elf_Internal_Rela *rela)
23170 + switch (ELF_R_TYPE(rela->r_info))
23172 + case R_AVR32_GOTCALL:
23173 + return RS_PIC_CALL;
23174 + case R_AVR32_GOT18SW:
23175 + return RS_PIC_MCALL;
23176 + case R_AVR32_LDA_GOT:
23177 + return RS_PIC_LDA;
23178 + case R_AVR32_GOT16S:
23179 + return RS_PIC_LDW4;
23180 + case R_AVR32_CPCALL:
23181 + return RS_NOPIC_MCALL;
23182 + case R_AVR32_16_CP:
23183 + return RS_NOPIC_LDW4;
23184 + case R_AVR32_9W_CP:
23185 + return RS_NOPIC_LDDPC;
23186 + case R_AVR32_ALIGN:
23188 + case R_AVR32_32_CPENT:
23190 + case R_AVR32_22H_PCREL:
23191 + return get_pcrel22_relax_state(abfd, sec, info, rela);
23192 + case R_AVR32_9H_PCREL:
23199 +static bfd_boolean
23200 +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
23202 + switch (ELF_R_TYPE(rela->r_info))
23204 + case R_AVR32_CPCALL:
23205 + case R_AVR32_16_CP:
23206 + case R_AVR32_9W_CP:
23213 +static struct fragment *
23214 +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
23215 + struct avr32_relax_data *rd, enum relax_state_id state,
23216 + Elf_Internal_Rela *rela)
23218 + struct fragment *frag;
23219 + bfd_size_type r_size;
23220 + bfd_vma r_offset;
23221 + unsigned int i = rd->frag_count;
23223 + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
23225 + rd->frag_count++;
23226 + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
23232 + memset(frag, 0, sizeof(struct fragment));
23234 + if (state == RS_ALIGN)
23235 + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
23236 + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
23238 + r_size = relax_state[state].size;
23241 + r_offset = rela->r_offset;
23243 + r_offset = sec->size;
23247 + frag->offset = 0;
23248 + frag->size = r_offset + r_size;
23252 + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
23253 + frag->size = r_offset + r_size - frag->offset;
23256 + if (state != RS_CPENT)
23257 + /* Make sure we don't discard this frag */
23258 + frag->refcount = 1;
23260 + frag->initial_state = frag->state = state;
23261 + frag->rela = rela;
23266 +static struct fragment *
23267 +find_frag(asection *sec, bfd_vma offset)
23269 + struct fragment *first, *last;
23270 + struct avr32_relax_data *rd = avr32_relax_data(sec);
23272 + if (rd->frag_count == 0)
23275 + first = &rd->frag[0];
23276 + last = &rd->frag[rd->frag_count - 1];
23278 + /* This may be a reloc referencing the end of a section. The last
23279 + frag will never have a reloc associated with it, so its size will
23280 + never change, thus the offset adjustment of the last frag will
23281 + always be the same as the offset adjustment of the end of the
23283 + if (offset == sec->size)
23285 + BFD_ASSERT(last->offset + last->size == sec->size);
23286 + BFD_ASSERT(!last->rela);
23290 + while (first <= last)
23292 + struct fragment *mid;
23294 + mid = (last - first) / 2 + first;
23295 + if ((mid->offset + mid->size) <= offset)
23297 + else if (mid->offset > offset)
23306 +/* Look through all relocs in a section and determine if any relocs
23307 + may be affected by relaxation in other sections. If so, allocate
23308 + an array of additional relocation data which links the affected
23309 + relocations to the frag(s) where the relaxation may occur.
23311 + This function also links cpool references to cpool entries and
23312 + increments the refcount of the latter when this happens. */
23314 +static bfd_boolean
23315 +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
23316 + struct bfd_link_info *info)
23318 + Elf_Internal_Shdr *symtab_hdr;
23319 + Elf_Internal_Sym *isymbuf = NULL;
23320 + struct avr32_relax_data *rd;
23322 + bfd_boolean ret = FALSE;
23324 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
23325 + rd = avr32_relax_data(sec);
23327 + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
23329 + for (i = 0; i < sec->reloc_count; i++)
23331 + Elf_Internal_Rela *rel = &relocs[i];
23332 + asection *sym_sec;
23333 + unsigned long r_symndx;
23334 + bfd_vma sym_value;
23336 + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
23337 + && !reloc_is_cpool_ref(rel))
23340 + r_symndx = ELF_R_SYM(rel->r_info);
23342 + if (r_symndx < symtab_hdr->sh_info)
23344 + Elf_Internal_Sym *isym;
23347 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
23351 + isym = &isymbuf[r_symndx];
23352 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
23353 + sym_value = isym->st_value;
23357 + struct elf_link_hash_entry *h;
23359 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
23361 + while (h->root.type == bfd_link_hash_indirect
23362 + || h->root.type == bfd_link_hash_warning)
23363 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
23365 + if (h->root.type != bfd_link_hash_defined
23366 + && h->root.type != bfd_link_hash_defweak)
23369 + sym_sec = h->root.u.def.section;
23370 + sym_value = h->root.u.def.value;
23373 + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
23375 + bfd_size_type size;
23376 + struct fragment *frag;
23378 + if (!rd->reloc_data)
23380 + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
23381 + rd->reloc_data = bfd_zalloc(abfd, size);
23382 + if (!rd->reloc_data)
23386 + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
23387 + i, rel->r_offset, sym_value, rel->r_addend);
23389 + frag = find_frag(sym_sec, sym_value + rel->r_addend);
23390 + BFD_ASSERT(frag);
23391 + rd->reloc_data[i].add_frag = frag;
23393 + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
23394 + frag->rela ? frag->rela->r_offset : sym_sec->size);
23396 + if (reloc_is_cpool_ref(rel))
23398 + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
23399 + frag->refcount++;
23402 + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
23404 + bfd_byte *contents;
23405 + bfd_signed_vma diff;
23407 + contents = retrieve_contents(abfd, sec, info->keep_memory);
23411 + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
23412 + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
23413 + BFD_ASSERT(frag);
23414 + rd->reloc_data[i].sub_frag = frag;
23416 + release_contents(sec, contents);
23424 + release_local_syms(abfd, isymbuf);
23428 +static bfd_boolean
23429 +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
23430 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
23432 + struct fragment *frag;
23435 + if (havr->root.root.type != bfd_link_hash_defined
23436 + && havr->root.root.type != bfd_link_hash_defweak)
23439 + sec = havr->root.root.u.def.section;
23440 + if (bfd_is_const_section(sec)
23441 + || !avr32_relax_data(sec)->is_relaxable)
23444 + frag = find_frag(sec, havr->root.root.u.def.value);
23448 + struct avr32_relax_data *rd = avr32_relax_data(sec);
23450 + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
23451 + sec->owner->filename, havr->root.root.root.string,
23452 + sec->name, havr->root.root.u.def.value, sec->size);
23453 + for (i = 0; i < rd->frag_count; i++)
23454 + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
23455 + rd->frag[i].offset + rd->frag[i].size);
23457 + BFD_ASSERT(frag);
23459 + havr->sym_frag = frag;
23463 +static bfd_boolean
23464 +analyze_relocations(struct bfd_link_info *info)
23469 + /* Divide all relaxable sections into fragments */
23470 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
23472 + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
23474 + if (!(*info->callbacks->warning)
23475 + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
23480 + for (sec = abfd->sections; sec; sec = sec->next)
23482 + struct avr32_relax_data *rd;
23483 + struct fragment *frag;
23484 + Elf_Internal_Rela *relocs;
23486 + bfd_boolean ret = TRUE;
23488 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
23491 + rd = avr32_relax_data(sec);
23493 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
23497 + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
23498 + internal_reloc_compare);
23500 + for (i = 0; i < sec->reloc_count; i++)
23502 + enum relax_state_id state;
23505 + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
23506 + if (state == RS_ERROR)
23511 + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
23515 + pin_internal_relocs(sec, relocs);
23516 + rd->is_relaxable = TRUE;
23522 + release_internal_relocs(sec, relocs);
23526 + if (rd->is_relaxable)
23528 + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
23535 + /* Link each global symbol to the fragment where it's defined. */
23536 + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
23538 + /* Do the same for local symbols. */
23539 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
23541 + Elf_Internal_Sym *isymbuf, *isym;
23542 + struct fragment **local_sym_frag;
23543 + unsigned int i, sym_count;
23545 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
23546 + if (sym_count == 0)
23549 + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
23550 + if (!local_sym_frag)
23552 + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
23554 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
23558 + for (i = 0; i < sym_count; i++)
23560 + struct avr32_relax_data *rd;
23561 + struct fragment *frag;
23564 + isym = &isymbuf[i];
23566 + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
23570 + rd = avr32_relax_data(sec);
23571 + if (!rd->is_relaxable)
23574 + frag = find_frag(sec, isym->st_value);
23575 + BFD_ASSERT(frag);
23577 + local_sym_frag[i] = frag;
23580 + release_local_syms(abfd, isymbuf);
23583 + /* And again for relocs with addends and constant pool references */
23584 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
23585 + for (sec = abfd->sections; sec; sec = sec->next)
23587 + Elf_Internal_Rela *relocs;
23590 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
23593 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
23597 + ret = allocate_reloc_data(abfd, sec, relocs, info);
23599 + release_internal_relocs(sec, relocs);
23600 + if (ret == FALSE)
23607 +static bfd_boolean
23608 +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
23609 + bfd_vma symval, bfd_vma addr, struct got_entry *got,
23610 + struct avr32_reloc_data *ind_data,
23611 + bfd_signed_vma offset_adjust)
23613 + bfd_signed_vma target = 0;
23615 + switch (rs->reftype)
23617 + case REF_ABSOLUTE:
23621 + target = symval - addr;
23624 + /* cpool frags are always in the same section and always after
23625 + all frags referring to it. So it's always correct to add in
23626 + offset_adjust here. */
23627 + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
23628 + + offset_adjust - frag->offset - frag->offset_adjust);
23631 + target = got->offset;
23637 + if (target >= rs->range_min && target <= rs->range_max)
23643 +static bfd_boolean
23644 +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
23646 + struct elf_avr32_link_hash_table *htab;
23647 + struct avr32_relax_data *rd;
23648 + Elf_Internal_Shdr *symtab_hdr;
23649 + Elf_Internal_Rela *relocs = NULL;
23650 + Elf_Internal_Sym *isymbuf = NULL;
23651 + struct got_entry **local_got_ents;
23652 + struct fragment **local_sym_frag;
23653 + bfd_boolean ret = FALSE;
23654 + bfd_signed_vma delta = 0;
23657 + htab = avr32_elf_hash_table(info);
23658 + rd = avr32_relax_data(sec);
23660 + if (sec == htab->sgot)
23662 + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
23663 + sec->output_section->vma + sec->output_offset);
23664 + if (assign_got_offsets(htab))
23665 + htab->repeat_pass = TRUE;
23669 + if (!rd->is_relaxable)
23672 + if (!sec->rawsize)
23673 + sec->rawsize = sec->size;
23675 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
23676 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
23680 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
23684 + local_got_ents = elf_local_got_ents(abfd);
23685 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
23687 + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
23688 + abfd->filename, sec->name,
23689 + sec->output_section->vma + sec->output_offset, sec->size);
23691 + for (i = 0; i < rd->frag_count; i++)
23693 + struct fragment *frag = &rd->frag[i];
23694 + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
23695 + const struct relax_state *state, *next_state;
23696 + struct fragment *target_frag = NULL;
23697 + asection *sym_sec = NULL;
23698 + Elf_Internal_Rela *rela;
23699 + struct got_entry *got;
23700 + bfd_vma symval, r_offset, addend, addr;
23701 + bfd_signed_vma size_adjust = 0, distance;
23702 + unsigned long r_symndx;
23703 + bfd_boolean defined = TRUE, dynamic = FALSE;
23704 + unsigned char sym_type;
23706 + frag->offset_adjust += delta;
23707 + state = next_state = &relax_state[frag->state];
23708 + rela = frag->rela;
23710 + BFD_ASSERT(state->id == frag->state);
23712 + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
23713 + (frag->offset_adjust < 0)?'-':'+',
23714 + abs(frag->offset_adjust), state->name, state->size);
23718 + RDBG(": no reloc, ignoring\n");
23722 + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
23723 + BFD_ASSERT(state != RS_NONE);
23725 + r_offset = rela->r_offset + frag->offset_adjust;
23726 + addr = sec->output_section->vma + sec->output_offset + r_offset;
23728 + switch (frag->state)
23731 + size_adjust = ((addr + (1 << rela->r_addend) - 1)
23732 + & ~((1 << rela->r_addend) - 1));
23733 + size_adjust -= (sec->output_section->vma + sec->output_offset
23734 + + frag->offset + frag->offset_adjust
23735 + + frag->size + frag->size_adjust);
23737 + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
23738 + frag->size + frag->size_adjust + size_adjust);
23742 + if (frag->refcount == 0 && frag->size_adjust == 0)
23744 + RDBG(": discarding frag\n");
23745 + size_adjust = -4;
23747 + else if (frag->refcount > 0 && frag->size_adjust < 0)
23749 + RDBG(": un-discarding frag\n");
23755 + if (rd->reloc_data)
23756 + r_data = &rd->reloc_data[frag->rela - relocs];
23758 + /* If this is a cpool reference, we want the symbol that the
23759 + cpool entry refers to, not the symbol for the cpool entry
23760 + itself, as we already know what frag it's in. */
23761 + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
23763 + Elf_Internal_Rela *irela = r_data->add_frag->rela;
23765 + r_symndx = ELF_R_SYM(irela->r_info);
23766 + addend = irela->r_addend;
23768 + /* The constant pool must be in the same section as the
23769 + reloc referring to it. */
23770 + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
23772 + ind_data = r_data;
23773 + r_data = &rd->reloc_data[irela - relocs];
23777 + r_symndx = ELF_R_SYM(rela->r_info);
23778 + addend = rela->r_addend;
23781 + /* Get the value of the symbol referred to by the reloc. */
23782 + if (r_symndx < symtab_hdr->sh_info)
23784 + Elf_Internal_Sym *isym;
23786 + isym = isymbuf + r_symndx;
23789 + RDBG(" local sym %lu: ", r_symndx);
23791 + if (isym->st_shndx == SHN_UNDEF)
23793 + else if (isym->st_shndx == SHN_ABS)
23794 + sym_sec = bfd_abs_section_ptr;
23795 + else if (isym->st_shndx == SHN_COMMON)
23796 + sym_sec = bfd_com_section_ptr;
23798 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
23800 + symval = isym->st_value;
23801 + sym_type = ELF_ST_TYPE(isym->st_info);
23802 + target_frag = local_sym_frag[r_symndx];
23804 + if (local_got_ents)
23805 + got = local_got_ents[r_symndx];
23811 + /* Global symbol */
23812 + unsigned long index;
23813 + struct elf_link_hash_entry *h;
23814 + struct elf_avr32_link_hash_entry *havr;
23816 + index = r_symndx - symtab_hdr->sh_info;
23817 + h = elf_sym_hashes(abfd)[index];
23818 + BFD_ASSERT(h != NULL);
23820 + while (h->root.type == bfd_link_hash_indirect
23821 + || h->root.type == bfd_link_hash_warning)
23822 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
23824 + havr = (struct elf_avr32_link_hash_entry *)h;
23825 + got = h->got.glist;
23829 + RDBG(" %s: ", h->root.root.string);
23831 + if (h->root.type != bfd_link_hash_defined
23832 + && h->root.type != bfd_link_hash_defweak)
23837 + else if ((info->shared && !info->symbolic && h->dynindx != -1)
23838 + || (htab->root.dynamic_sections_created
23839 + && h->def_dynamic && !h->def_regular))
23841 + RDBG("(dynamic)");
23843 + sym_sec = h->root.u.def.section;
23847 + sym_sec = h->root.u.def.section;
23848 + symval = h->root.u.def.value;
23849 + target_frag = havr->sym_frag;
23852 + sym_type = h->type;
23855 + /* Thanks to elf32-ppc for this one. */
23856 + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
23858 + /* At this stage in linking, no SEC_MERGE symbol has been
23859 + adjusted, so all references to such symbols need to be
23860 + passed through _bfd_merged_section_offset. (Later, in
23861 + relocate_section, all SEC_MERGE symbols *except* for
23862 + section symbols have been adjusted.)
23864 + SEC_MERGE sections are not relaxed by us, as they
23865 + shouldn't contain any code. */
23867 + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
23869 + /* gas may reduce relocations against symbols in SEC_MERGE
23870 + sections to a relocation against the section symbol when
23871 + the original addend was zero. When the reloc is against
23872 + a section symbol we should include the addend in the
23873 + offset passed to _bfd_merged_section_offset, since the
23874 + location of interest is the original symbol. On the
23875 + other hand, an access to "sym+addend" where "sym" is not
23876 + a section symbol should not include the addend; Such an
23877 + access is presumed to be an offset from "sym"; The
23878 + location of interest is just "sym". */
23879 + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
23880 + (sym_type == STT_SECTION)?"section":"not section",
23881 + sym_sec->output_section->vma + sym_sec->output_offset,
23884 + if (sym_type == STT_SECTION)
23885 + symval += addend;
23887 + symval = (_bfd_merged_section_offset
23889 + elf_section_data(sym_sec)->sec_info, symval));
23891 + if (sym_type != STT_SECTION)
23892 + symval += addend;
23895 + symval += addend;
23897 + if (defined && !dynamic)
23899 + RDBG("0x%lx+0x%lx",
23900 + sym_sec->output_section->vma + sym_sec->output_offset,
23902 + symval += sym_sec->output_section->vma + sym_sec->output_offset;
23905 + if (r_data && r_data->add_frag)
23906 + /* If the add_frag pointer is set, it means that this reloc
23907 + has an addend that may be affected by relaxation. */
23908 + target_frag = r_data->add_frag;
23912 + symval += target_frag->offset_adjust;
23914 + /* If target_frag comes after this frag in the same
23915 + section, we should assume that it will be moved by
23916 + the same amount we are. */
23917 + if ((target_frag - rd->frag) < (int)rd->frag_count
23918 + && target_frag > frag)
23922 + distance = symval - addr;
23924 + /* First, try to make a direct reference. If the symbol is
23925 + dynamic or undefined, we must take care not to change its
23926 + reference type, that is, we can't make it direct.
23928 + Also, it seems like some sections may actually be resized
23929 + after the relaxation code is done, so we can't really
23930 + trust that our "distance" is correct. There's really no
23931 + easy solution to this problem, so we'll just disallow
23932 + direct references to SEC_DATA sections.
23934 + Oh, and .bss isn't actually SEC_DATA, so we disallow
23935 + !SEC_HAS_CONTENTS as well. */
23936 + if (!dynamic && defined
23937 +#ifndef DHRYSTONE_FIX
23938 + && !(sym_sec->flags & SEC_DATA)
23940 + && (sym_sec->flags & SEC_HAS_CONTENTS)
23941 + && next_state->direct)
23943 + next_state = &relax_state[next_state->direct];
23944 + RDBG(" D-> %s", next_state->name);
23947 + /* Iterate backwards until we find a state that fits. */
23948 + while (next_state->prev
23949 + && !rs_is_good_enough(next_state, frag, symval, addr,
23950 + got, ind_data, delta))
23952 + next_state = &relax_state[next_state->prev];
23953 + RDBG(" P-> %s", next_state->name);
23956 + /* Then try to find the best possible state. */
23957 + while (next_state->next)
23959 + const struct relax_state *candidate;
23961 + candidate = &relax_state[next_state->next];
23962 + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
23963 + ind_data, delta))
23966 + next_state = candidate;
23967 + RDBG(" N-> %s", next_state->name);
23970 + RDBG(" [size %ld]\n", next_state->size);
23972 + BFD_ASSERT(next_state->id);
23973 + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
23975 + size_adjust = next_state->size - state->size;
23977 + /* There's a theoretical possibility that shrinking one frag
23978 + may cause another to grow, which may cause the first one to
23979 + grow as well, and we're back where we started. Avoid this
23980 + scenario by disallowing a frag that has grown to ever
23982 + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
23984 + if (frag->has_grown)
23985 + next_state = state;
23987 + unref_got_entry(htab, got);
23989 + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
23991 + ref_got_entry(htab, got);
23992 + frag->has_grown = TRUE;
23994 + else if (state->reftype == REF_CPOOL
23995 + && next_state->reftype != REF_CPOOL)
23997 + if (frag->has_grown)
23998 + next_state = state;
24000 + ind_data->add_frag->refcount--;
24002 + else if (state->reftype != REF_CPOOL
24003 + && next_state->reftype == REF_CPOOL)
24005 + ind_data->add_frag->refcount++;
24006 + frag->has_grown = TRUE;
24010 + if (frag->has_grown && size_adjust < 0)
24011 + next_state = state;
24012 + else if (size_adjust > 0)
24013 + frag->has_grown = TRUE;
24016 + size_adjust = next_state->size - state->size;
24017 + frag->state = next_state->id;
24023 + htab->repeat_pass = TRUE;
24025 + frag->size_adjust += size_adjust;
24026 + sec->size += size_adjust;
24027 + delta += size_adjust;
24029 + BFD_ASSERT((frag->offset + frag->offset_adjust
24030 + + frag->size + frag->size_adjust)
24031 + == (frag[1].offset + frag[1].offset_adjust + delta));
24037 + release_local_syms(abfd, isymbuf);
24038 + release_internal_relocs(sec, relocs);
24042 +static bfd_boolean
24043 +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
24044 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
24046 + struct elf_link_hash_entry *h = &havr->root;
24048 + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
24049 + || h->root.type == bfd_link_hash_defweak))
24051 + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
24052 + h->root.root.string, h->root.u.def.value,
24053 + h->root.u.def.value + havr->sym_frag->offset_adjust);
24054 + h->root.u.def.value += havr->sym_frag->offset_adjust;
24059 +static bfd_boolean
24060 +adjust_syms(struct bfd_link_info *info)
24062 + struct elf_avr32_link_hash_table *htab;
24065 + htab = avr32_elf_hash_table(info);
24066 + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
24068 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
24070 + Elf_Internal_Sym *isymbuf;
24071 + struct fragment **local_sym_frag, *frag;
24072 + unsigned int i, sym_count;
24074 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
24075 + if (sym_count == 0)
24078 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
24082 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
24084 + for (i = 0; i < sym_count; i++)
24086 + frag = local_sym_frag[i];
24089 + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
24090 + abfd->filename, i, isymbuf[i].st_value,
24091 + isymbuf[i].st_value + frag->offset_adjust);
24092 + isymbuf[i].st_value += frag->offset_adjust;
24096 + release_local_syms(abfd, isymbuf);
24099 + htab->symbols_adjusted = TRUE;
24103 +static bfd_boolean
24104 +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
24106 + struct avr32_relax_data *rd;
24107 + Elf_Internal_Rela *relocs;
24108 + Elf_Internal_Shdr *symtab_hdr;
24110 + bfd_boolean ret = FALSE;
24112 + rd = avr32_relax_data(sec);
24113 + if (!rd->reloc_data)
24116 + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
24117 + sec->reloc_count);
24119 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
24123 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
24125 + for (i = 0; i < sec->reloc_count; i++)
24127 + Elf_Internal_Rela *rela = &relocs[i];
24128 + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
24129 + struct fragment *sym_frag;
24130 + unsigned long r_symndx;
24132 + if (r_data->add_frag)
24134 + r_symndx = ELF_R_SYM(rela->r_info);
24136 + if (r_symndx < symtab_hdr->sh_info)
24137 + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
24140 + struct elf_link_hash_entry *h;
24142 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
24144 + while (h->root.type == bfd_link_hash_indirect
24145 + || h->root.type == bfd_link_hash_warning)
24146 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
24148 + BFD_ASSERT(h->root.type == bfd_link_hash_defined
24149 + || h->root.type == bfd_link_hash_defweak);
24151 + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
24154 + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
24156 + rela->r_addend + r_data->add_frag->offset_adjust
24157 + - (sym_frag ? sym_frag->offset_adjust : 0));
24159 + /* If this is against a section symbol, we won't find any
24160 + sym_frag, so we'll just adjust the addend. */
24161 + rela->r_addend += r_data->add_frag->offset_adjust;
24163 + rela->r_addend -= sym_frag->offset_adjust;
24165 + if (r_data->sub_frag)
24167 + bfd_byte *contents;
24168 + bfd_signed_vma diff;
24170 + contents = retrieve_contents(abfd, sec, info->keep_memory);
24174 + /* I realize now that sub_frag is misnamed. It's
24175 + actually add_frag which is subtracted in this
24177 + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
24178 + diff += (r_data->sub_frag->offset_adjust
24179 + - r_data->add_frag->offset_adjust);
24180 + bfd_put_32(abfd, diff, contents + rela->r_offset);
24182 + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
24184 + release_contents(sec, contents);
24188 + BFD_ASSERT(!r_data->sub_frag);
24194 + release_internal_relocs(sec, relocs);
24198 +static bfd_boolean
24199 +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
24201 + struct elf_avr32_link_hash_table *htab;
24202 + struct avr32_relax_data *rd;
24203 + struct fragment *frag, *fragend;
24204 + Elf_Internal_Rela *relocs = NULL;
24205 + bfd_byte *contents = NULL;
24207 + bfd_boolean ret = FALSE;
24209 + htab = avr32_elf_hash_table(info);
24210 + rd = avr32_relax_data(sec);
24212 + if (!htab->symbols_adjusted)
24213 + if (!adjust_syms(info))
24216 + if (rd->is_relaxable)
24218 + /* Resize the section first, so that we can be sure that enough
24219 + memory is allocated in case the section has grown. */
24220 + if (sec->size > sec->rawsize
24221 + && elf_section_data(sec)->this_hdr.contents)
24223 + /* We must not use cached data if the section has grown. */
24224 + free(elf_section_data(sec)->this_hdr.contents);
24225 + elf_section_data(sec)->this_hdr.contents = NULL;
24228 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
24231 + contents = retrieve_contents(abfd, sec, info->keep_memory);
24235 + fragend = rd->frag + rd->frag_count;
24237 + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
24238 + abfd->filename, sec->name, relocs, contents);
24240 + /* First, move the data into place. We must take care to move
24241 + frags in the right order so that we don't accidentally
24242 + overwrite parts of the next frag. */
24243 + for (frag = rd->frag; frag < fragend; frag++)
24245 + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
24246 + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
24247 + abs(frag->offset_adjust),
24248 + frag->size, frag->size_adjust >= 0 ? '+' : '-',
24249 + abs(frag->size_adjust));
24250 + if (frag->offset_adjust > 0)
24252 + struct fragment *prev = frag - 1;
24253 + struct fragment *last;
24255 + for (last = frag; last < fragend && last->offset_adjust > 0;
24258 + if (last == fragend)
24261 + for (frag = last; frag != prev; frag--)
24263 + if (frag->offset_adjust
24264 + && frag->size + frag->size_adjust > 0)
24266 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
24267 + frag->offset, frag->offset + frag->offset_adjust,
24268 + frag->size + frag->size_adjust);
24269 + memmove(contents + frag->offset + frag->offset_adjust,
24270 + contents + frag->offset,
24271 + frag->size + frag->size_adjust);
24276 + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
24278 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
24279 + frag->offset, frag->offset + frag->offset_adjust,
24280 + frag->size + frag->size_adjust);
24281 + memmove(contents + frag->offset + frag->offset_adjust,
24282 + contents + frag->offset,
24283 + frag->size + frag->size_adjust);
24289 + for (frag = rd->frag; frag < fragend; frag++)
24291 + const struct relax_state *state, *istate;
24292 + struct avr32_reloc_data *r_data = NULL;
24294 + istate = &relax_state[frag->initial_state];
24295 + state = &relax_state[frag->state];
24297 + if (rd->reloc_data)
24298 + r_data = &rd->reloc_data[frag->rela - relocs];
24300 + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
24301 + BFD_ASSERT(state->reftype != REF_CPOOL
24302 + || r_data->add_frag->refcount > 0);
24304 + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
24306 + struct fragment *ifrag;
24308 + /* An indirect reference through the cpool has been
24309 + converted to a direct reference. We must update the
24310 + reloc to point to the symbol itself instead of the
24311 + constant pool entry. The reloc type will be updated
24313 + ifrag = r_data->add_frag;
24314 + frag->rela->r_info = ifrag->rela->r_info;
24315 + frag->rela->r_addend = ifrag->rela->r_addend;
24317 + /* Copy the reloc data so the addend will be adjusted
24318 + correctly later. */
24319 + *r_data = rd->reloc_data[ifrag->rela - relocs];
24322 + /* Move all relocs covered by this frag. */
24324 + BFD_ASSERT(&relocs[i] <= frag->rela);
24326 + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
24328 + if (frag == rd->frag)
24329 + BFD_ASSERT(i == 0);
24331 + BFD_ASSERT(&relocs[i] > frag[-1].rela);
24333 + /* If non-null, frag->rela is the last relocation in the
24334 + fragment. frag->rela can only be null in the last
24335 + fragment, so in that case, we'll just do the rest. */
24336 + for (; (i < sec->reloc_count
24337 + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
24339 + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
24340 + relocs[i].r_offset + frag->offset_adjust);
24341 + relocs[i].r_offset += frag->offset_adjust;
24344 + if (frag->refcount == 0)
24346 + /* If this frag is to be discarded, make sure we won't
24347 + relocate it later on. */
24348 + BFD_ASSERT(frag->state == RS_CPENT);
24349 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
24352 + else if (frag->state == RS_ALIGN)
24354 + bfd_vma addr, addr_end;
24356 + addr = frag->rela->r_offset;
24357 + addr_end = (frag->offset + frag->offset_adjust
24358 + + frag->size + frag->size_adjust);
24360 + /* If the section is executable, insert NOPs.
24361 + Otherwise, insert zeroes. */
24362 + if (sec->flags & SEC_CODE)
24366 + bfd_put_8(abfd, 0, contents + addr);
24370 + BFD_ASSERT(!((addr_end - addr) & 1));
24372 + while (addr < addr_end)
24374 + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
24379 + memset(contents + addr, 0, addr_end - addr);
24381 + else if (state->opcode_mask)
24385 + /* Update the opcode and the relocation type unless it's a
24386 + "special" relax state (i.e. RS_NONE, RS_ALIGN or
24387 + RS_CPENT.), in which case the opcode mask is zero. */
24388 + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
24389 + insn &= ~state->opcode_mask;
24390 + insn |= state->opcode;
24391 + RDBG(" 0x%lx: inserting insn %08lx\n",
24392 + frag->rela->r_offset, insn);
24393 + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
24395 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
24399 + if ((frag + 1) == fragend)
24400 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
24401 + + frag->size_adjust) == sec->size);
24403 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
24404 + + frag->size_adjust)
24405 + == (frag[1].offset + frag[1].offset_adjust));
24409 + /* Adjust reloc addends and DIFF32 differences */
24410 + if (!adjust_relocs(abfd, sec, info))
24416 + release_contents(sec, contents);
24417 + release_internal_relocs(sec, relocs);
24421 +static bfd_boolean
24422 +avr32_elf_relax_section(bfd *abfd, asection *sec,
24423 + struct bfd_link_info *info, bfd_boolean *again)
24425 + struct elf_avr32_link_hash_table *htab;
24426 + struct avr32_relax_data *rd;
24429 + if (info->relocatable)
24432 + htab = avr32_elf_hash_table(info);
24433 + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
24434 + && sec != htab->sgot)
24437 + if (!htab->relocations_analyzed)
24439 + if (!analyze_relocations(info))
24441 + htab->relocations_analyzed = TRUE;
24444 + rd = avr32_relax_data(sec);
24446 + if (rd->iteration != htab->relax_iteration)
24448 + if (!htab->repeat_pass)
24449 + htab->relax_pass++;
24450 + htab->relax_iteration++;
24451 + htab->repeat_pass = FALSE;
24456 + switch (htab->relax_pass)
24458 + case RELAX_PASS_SIZE_FRAGS:
24459 + if (!avr32_size_frags(abfd, sec, info))
24463 + case RELAX_PASS_MOVE_DATA:
24464 + if (!avr32_move_data(abfd, sec, info))
24475 +static bfd_reloc_status_type
24476 +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
24477 + bfd_signed_vma relocation, reloc_howto_type *howto);
24478 +static bfd_reloc_status_type
24479 +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
24480 + asection *input_section, bfd_byte *contents,
24481 + Elf_Internal_Rela *rel, bfd_vma value);
24482 +static bfd_boolean
24483 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
24484 + bfd *input_bfd, asection *input_section,
24485 + bfd_byte *contents, Elf_Internal_Rela *relocs,
24486 + Elf_Internal_Sym *local_syms,
24487 + asection **local_sections);
24490 +#define symbol_address(symbol) \
24491 + symbol->value + symbol->section->output_section->vma \
24492 + + symbol->section->output_offset
24494 +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
24497 + unsigned long x; \
24498 + x = bfd_get_##size (abfd, data + reloc_entry->address); \
24499 + x &= ~reloc_entry->howto->dst_mask; \
24500 + x |= field & reloc_entry->howto->dst_mask; \
24501 + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
24505 +static bfd_reloc_status_type
24506 +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
24507 + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
24508 + bfd_signed_vma relocation,
24509 + reloc_howto_type *howto)
24513 + /* We take "complain_overflow_dont" to mean "don't complain on
24514 + alignment either". This way, we don't have to special-case
24516 + if (howto->complain_on_overflow == complain_overflow_dont)
24517 + return bfd_reloc_ok;
24519 + /* Check if the value is correctly aligned */
24520 + if (relocation & ((1 << howto->rightshift) - 1))
24522 + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
24523 + sec->owner->filename, sec->name, rela->r_offset,
24524 + howto->name, relocation, howto->rightshift);
24525 + return bfd_reloc_overflow;
24528 + /* Now, get rid of the unnecessary bits */
24529 + relocation >>= howto->rightshift;
24530 + reloc_u = (bfd_vma)relocation;
24532 + switch (howto->complain_on_overflow)
24534 + case complain_overflow_unsigned:
24535 + case complain_overflow_bitfield:
24536 + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
24538 + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
24539 + sec->owner->filename, sec->name, rela->r_offset,
24540 + howto->name, reloc_u, howto->bitsize);
24541 + RDBG("reloc vma: 0x%lx\n",
24542 + sec->output_section->vma + sec->output_offset + rela->r_offset);
24544 + return bfd_reloc_overflow;
24547 + case complain_overflow_signed:
24548 + if (relocation > (1 << (howto->bitsize - 1)) - 1)
24550 + RDBG("signed overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
24551 + sec->owner->filename, sec->name, rela->r_offset,
24552 + howto->name, reloc_u, howto->bitsize);
24553 + RDBG("reloc vma: 0x%lx\n",
24554 + sec->output_section->vma + sec->output_offset + rela->r_offset);
24556 + return bfd_reloc_overflow;
24558 + if (relocation < -(1 << (howto->bitsize - 1)))
24560 + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
24561 + sec->owner->filename, sec->name, rela->r_offset,
24562 + howto->name, -relocation, howto->bitsize);
24563 + RDBG("reloc vma: 0x%lx\n",
24564 + sec->output_section->vma + sec->output_offset + rela->r_offset);
24566 + return bfd_reloc_overflow;
24573 + return bfd_reloc_ok;
24577 +static bfd_reloc_status_type
24578 +avr32_final_link_relocate(reloc_howto_type *howto,
24580 + asection *input_section,
24581 + bfd_byte *contents,
24582 + Elf_Internal_Rela *rel,
24586 + bfd_vma relocation;
24587 + bfd_reloc_status_type status;
24588 + bfd_byte *p = contents + rel->r_offset;
24591 + pr_debug(" (6b) final link relocate\n");
24593 + /* Sanity check the address */
24594 + if (rel->r_offset > input_section->size)
24596 + (*_bfd_error_handler)
24597 + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
24598 + input_bfd, input_section, rel->r_offset, input_section->size);
24599 + return bfd_reloc_outofrange;
24602 + relocation = value + rel->r_addend;
24604 + if (howto->pc_relative)
24608 + addr = input_section->output_section->vma
24609 + + input_section->output_offset + rel->r_offset;
24610 + addr &= ~0UL << howto->rightshift;
24611 + relocation -= addr;
24614 + switch (ELF32_R_TYPE(rel->r_info))
24616 + case R_AVR32_16N_PCREL:
24617 + /* sub reg, pc, . - (sym + addend) */
24618 + relocation = -relocation;
24622 + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
24624 + relocation >>= howto->rightshift;
24625 + if (howto->bitsize == 21)
24626 + field = (relocation & 0xffff)
24627 + | ((relocation & 0x10000) << 4)
24628 + | ((relocation & 0x1e0000) << 8);
24629 + else if (howto->bitsize == 12)
24630 + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
24631 + else if (howto->bitsize == 10)
24632 + field = ((relocation & 0xff) << 4)
24633 + | ((relocation & 0x300) >> 8);
24635 + field = relocation << howto->bitpos;
24637 + switch (howto->size)
24640 + x = bfd_get_8 (input_bfd, p);
24641 + x &= ~howto->dst_mask;
24642 + x |= field & howto->dst_mask;
24643 + bfd_put_8 (input_bfd, (bfd_vma) x, p);
24646 + x = bfd_get_16 (input_bfd, p);
24647 + x &= ~howto->dst_mask;
24648 + x |= field & howto->dst_mask;
24649 + bfd_put_16 (input_bfd, (bfd_vma) x, p);
24652 + x = bfd_get_32 (input_bfd, p);
24653 + x &= ~howto->dst_mask;
24654 + x |= field & howto->dst_mask;
24655 + bfd_put_32 (input_bfd, (bfd_vma) x, p);
24664 +/* (6) Apply relocations to the normal (non-dynamic) sections */
24666 +static bfd_boolean
24667 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
24668 + bfd *input_bfd, asection *input_section,
24669 + bfd_byte *contents, Elf_Internal_Rela *relocs,
24670 + Elf_Internal_Sym *local_syms,
24671 + asection **local_sections)
24673 + struct elf_avr32_link_hash_table *htab;
24674 + Elf_Internal_Shdr *symtab_hdr;
24675 + Elf_Internal_Rela *rel, *relend;
24676 + struct elf_link_hash_entry **sym_hashes;
24677 + struct got_entry **local_got_ents;
24679 + asection *srelgot;
24681 + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
24682 + input_bfd->filename, input_section->name, input_section->size);
24684 + /* If we're doing a partial link, we don't have to do anything since
24685 + we're using RELA relocations */
24686 + if (info->relocatable)
24689 + htab = avr32_elf_hash_table(info);
24690 + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
24691 + sym_hashes = elf_sym_hashes(input_bfd);
24692 + local_got_ents = elf_local_got_ents(input_bfd);
24693 + sgot = htab->sgot;
24694 + srelgot = htab->srelgot;
24696 + relend = relocs + input_section->reloc_count;
24697 + for (rel = relocs; rel < relend; rel++)
24699 + unsigned long r_type, r_symndx;
24700 + reloc_howto_type *howto;
24701 + Elf_Internal_Sym *sym = NULL;
24702 + struct elf_link_hash_entry *h = NULL;
24703 + asection *sec = NULL;
24706 + bfd_reloc_status_type status;
24708 + r_type = ELF32_R_TYPE(rel->r_info);
24709 + r_symndx = ELF32_R_SYM(rel->r_info);
24711 + if (r_type == R_AVR32_NONE
24712 + || r_type == R_AVR32_ALIGN
24713 + || r_type == R_AVR32_DIFF32
24714 + || r_type == R_AVR32_DIFF16
24715 + || r_type == R_AVR32_DIFF8)
24718 + /* Sanity check */
24719 + if (r_type > R_AVR32_max)
24721 + bfd_set_error(bfd_error_bad_value);
24725 + howto = &elf_avr32_howto_table[r_type];
24727 + if (r_symndx < symtab_hdr->sh_info)
24729 + sym = local_syms + r_symndx;
24730 + sec = local_sections[r_symndx];
24732 + pr_debug(" (6a) processing %s against local symbol %lu\n",
24733 + howto->name, r_symndx);
24735 + /* The following function changes rel->r_addend behind our back. */
24736 + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
24737 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
24741 + if (sym_hashes == NULL)
24744 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
24745 + while (h->root.type == bfd_link_hash_indirect
24746 + || h->root.type == bfd_link_hash_warning)
24747 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
24749 + pr_debug(" (6a) processing %s against symbol %s\n",
24750 + howto->name, h->root.root.string);
24752 + if (h->root.type == bfd_link_hash_defined
24753 + || h->root.type == bfd_link_hash_defweak)
24757 + dyn = htab->root.dynamic_sections_created;
24758 + sec = h->root.u.def.section;
24760 + if (sec->output_section)
24761 + value = (h->root.u.def.value
24762 + + sec->output_section->vma
24763 + + sec->output_offset);
24765 + value = h->root.u.def.value;
24767 + else if (h->root.type == bfd_link_hash_undefweak)
24769 + else if (info->unresolved_syms_in_objects == RM_IGNORE
24770 + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
24775 + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
24776 + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
24777 + if (!info->callbacks->undefined_symbol
24778 + (info, h->root.root.string, input_bfd,
24779 + input_section, rel->r_offset, err))
24784 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
24789 + case R_AVR32_GOT32:
24790 + case R_AVR32_GOT16:
24791 + case R_AVR32_GOT8:
24792 + case R_AVR32_GOT21S:
24793 + case R_AVR32_GOT18SW:
24794 + case R_AVR32_GOT16S:
24795 + case R_AVR32_GOT7UW:
24796 + case R_AVR32_LDA_GOT:
24797 + case R_AVR32_GOTCALL:
24798 + BFD_ASSERT(sgot != NULL);
24802 + BFD_ASSERT(h->got.glist->refcount > 0);
24803 + offset = h->got.glist->offset;
24805 + BFD_ASSERT(offset < sgot->size);
24806 + if (!elf_hash_table(info)->dynamic_sections_created
24807 + || (h->def_regular
24808 + && (!info->shared
24809 + || info->symbolic
24810 + || h->dynindx == -1)))
24812 + /* This is actually a static link, or it is a
24813 + -Bsymbolic link and the symbol is defined
24814 + locally, or the symbol was forced to be local. */
24815 + bfd_put_32(output_bfd, value, sgot->contents + offset);
24820 + BFD_ASSERT(local_got_ents &&
24821 + local_got_ents[r_symndx]->refcount > 0);
24822 + offset = local_got_ents[r_symndx]->offset;
24824 + /* Local GOT entries don't have relocs. If this is a
24825 + shared library, the dynamic linker will add the load
24826 + address to the initial value at startup. */
24827 + BFD_ASSERT(offset < sgot->size);
24828 + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
24830 + bfd_put_32 (output_bfd, value, sgot->contents + offset);
24833 + value = sgot->output_offset + offset;
24834 + pr_debug("GOT reference: New value %lx\n", value);
24837 + case R_AVR32_GOTPC:
24838 + /* This relocation type is for constant pool entries used in
24839 + the calculation "Rd = PC - (PC - GOT)", where the
24840 + constant pool supplies the constant (PC - GOT)
24841 + offset. The symbol value + addend indicates where the
24842 + value of PC is taken. */
24843 + value -= sgot->output_section->vma;
24846 + case R_AVR32_32_PCREL:
24847 + /* We must adjust r_offset to account for discarded data in
24848 + the .eh_frame section. This is probably not the right
24849 + way to do this, since AFAICS all other architectures do
24850 + it some other way. I just can't figure out how... */
24852 + bfd_vma r_offset;
24854 + r_offset = _bfd_elf_section_offset(output_bfd, info,
24857 + if (r_offset == (bfd_vma)-1
24858 + || r_offset == (bfd_vma)-2)
24860 + rel->r_offset = r_offset;
24865 + /* We need to emit a run-time relocation in the following cases:
24866 + - we're creating a shared library
24867 + - the symbol is not defined in any regular objects
24869 + Of course, sections that aren't going to be part of the
24870 + run-time image will not get any relocs, and undefined
24871 + symbols won't have any either (only weak undefined
24872 + symbols should get this far). */
24873 + if ((info->shared
24874 + || (elf_hash_table(info)->dynamic_sections_created
24876 + && h->def_dynamic
24877 + && !h->def_regular))
24879 + && (input_section->flags & SEC_ALLOC))
24881 + Elf_Internal_Rela outrel;
24883 + bfd_boolean skip, relocate;
24884 + struct elf_avr32_link_hash_entry *avrh;
24886 + pr_debug("Going to generate dynamic reloc...\n");
24889 + relocate = FALSE;
24891 + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
24894 + if (outrel.r_offset == (bfd_vma)-1)
24896 + else if (outrel.r_offset == (bfd_vma)-2)
24897 + skip = TRUE, relocate = TRUE;
24899 + outrel.r_offset += (input_section->output_section->vma
24900 + + input_section->output_offset);
24902 + pr_debug(" ... offset %lx, dynindx %ld\n",
24903 + outrel.r_offset, h ? h->dynindx : -1);
24906 + memset(&outrel, 0, sizeof(outrel));
24909 + avrh = (struct elf_avr32_link_hash_entry *)h;
24910 + /* h->dynindx may be -1 if this symbol was marked to
24913 + || ((info->symbolic || h->dynindx == -1)
24914 + && h->def_regular))
24917 + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
24918 + outrel.r_addend = value + rel->r_addend;
24919 + pr_debug(" ... R_AVR32_RELATIVE\n");
24923 + BFD_ASSERT(h->dynindx != -1);
24925 + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
24926 + outrel.r_addend = rel->r_addend;
24927 + pr_debug(" ... R_AVR32_GLOB_DAT\n");
24931 + pr_debug("srelgot reloc_count: %d, size %lu\n",
24932 + srelgot->reloc_count, srelgot->size);
24934 + loc = srelgot->contents;
24935 + loc += srelgot->reloc_count++ * sizeof(Elf32_External_Rela);
24936 + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
24938 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
24939 + <= srelgot->size);
24947 + status = avr32_final_link_relocate(howto, input_bfd, input_section,
24948 + contents, rel, value);
24952 + case bfd_reloc_ok:
24955 + case bfd_reloc_overflow:
24957 + const char *name;
24960 + name = h->root.root.string;
24963 + name = bfd_elf_string_from_elf_section(input_bfd,
24964 + symtab_hdr->sh_link,
24966 + if (name == NULL)
24968 + if (*name == '\0')
24969 + name = bfd_section_name(input_bfd, sec);
24971 + if (!((*info->callbacks->reloc_overflow)
24972 + (info, (h ? &h->root : NULL), name, howto->name,
24973 + rel->r_addend, input_bfd, input_section, rel->r_offset)))
24978 + case bfd_reloc_outofrange:
24988 +/* Additional processing of dynamic sections after relocation */
24990 +static bfd_boolean
24991 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
24992 + struct elf_link_hash_entry *h,
24993 + Elf_Internal_Sym *sym);
24994 +static bfd_boolean
24995 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
24998 +/* (7) Initialize the contents of a dynamic symbol and/or emit
24999 + relocations for it */
25001 +static bfd_boolean
25002 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
25003 + struct elf_link_hash_entry *h,
25004 + Elf_Internal_Sym *sym)
25006 + struct elf_avr32_link_hash_table *htab;
25007 + struct got_entry *got;
25009 + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
25011 + htab = avr32_elf_hash_table(info);
25012 + got = h->got.glist;
25014 + if (got && got->refcount > 0)
25017 + asection *srelgot;
25018 + Elf_Internal_Rela rel;
25021 + /* This symbol has an entry in the GOT. Set it up. */
25022 + sgot = htab->sgot;
25023 + srelgot = htab->srelgot;
25024 + BFD_ASSERT(sgot && srelgot);
25026 + rel.r_offset = (sgot->output_section->vma
25027 + + sgot->output_offset
25030 + /* If this is a static link, or it is a -Bsymbolic link and the
25031 + symbol is defined locally or was forced to be local because
25032 + of a version file, we just want to emit a RELATIVE reloc. The
25033 + entry in the global offset table will already have been
25034 + initialized in the relocate_section function. */
25035 + if ((info->shared
25036 + && !info->symbolic
25037 + && h->dynindx != -1)
25038 + || (htab->root.dynamic_sections_created
25039 + && h->def_dynamic
25040 + && !h->def_regular))
25042 + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
25043 + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
25044 + rel.r_addend = 0;
25046 + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
25047 + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
25048 + srelgot->reloc_count, srelgot->size);
25050 + loc = (srelgot->contents
25051 + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
25052 + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
25054 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
25055 + <= srelgot->size);
25059 + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
25060 + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
25061 + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
25062 + sym->st_shndx = SHN_ABS;
25067 +/* (8) Do any remaining initialization of the dynamic sections */
25069 +static bfd_boolean
25070 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
25072 + struct elf_avr32_link_hash_table *htab;
25073 + asection *sgot, *sdyn;
25075 + pr_debug("(8) finish dynamic sections\n");
25077 + htab = avr32_elf_hash_table(info);
25078 + sgot = htab->sgot;
25079 + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
25081 + if (htab->root.dynamic_sections_created)
25083 + Elf32_External_Dyn *dyncon, *dynconend;
25085 + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
25087 + dyncon = (Elf32_External_Dyn *)sdyn->contents;
25088 + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
25089 + for (; dyncon < dynconend; dyncon++)
25091 + Elf_Internal_Dyn dyn;
25094 + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
25096 + switch (dyn.d_tag)
25102 + s = sgot->output_section;
25103 + BFD_ASSERT(s != NULL);
25104 + dyn.d_un.d_ptr = s->vma;
25105 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
25108 + case DT_AVR32_GOTSZ:
25109 + s = sgot->output_section;
25110 + BFD_ASSERT(s != NULL);
25111 + dyn.d_un.d_val = s->size;
25112 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
25117 + /* Fill in the first two entries in the global offset table */
25118 + bfd_put_32(output_bfd,
25119 + sdyn->output_section->vma + sdyn->output_offset,
25122 + /* The runtime linker will fill this one in with the address of
25123 + the run-time link map */
25124 + bfd_put_32(output_bfd, 0, sgot->contents + 4);
25128 + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
25134 +/* AVR32-specific private ELF data */
25136 +static bfd_boolean
25137 +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
25138 +static bfd_boolean
25139 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
25140 +static bfd_boolean
25141 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
25142 +static bfd_boolean
25143 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
25145 +static bfd_boolean
25146 +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
25148 + elf_elfheader(abfd)->e_flags = flags;
25149 + elf_flags_init(abfd) = TRUE;
25154 +/* Copy backend specific data from one object module to another. */
25156 +static bfd_boolean
25157 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
25159 + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
25163 +/* Merge backend specific data from an object file to the output
25164 + object file when linking. */
25166 +static bfd_boolean
25167 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
25169 + flagword out_flags, in_flags;
25171 + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
25172 + ibfd->filename, obfd->filename);
25174 + in_flags = elf_elfheader(ibfd)->e_flags;
25175 + out_flags = elf_elfheader(obfd)->e_flags;
25177 + if (elf_flags_init(obfd))
25179 + /* If one of the inputs are non-PIC, the output must be
25180 + considered non-PIC. The same applies to linkrelax. */
25181 + if (!(in_flags & EF_AVR32_PIC))
25182 + out_flags &= ~EF_AVR32_PIC;
25183 + if (!(in_flags & EF_AVR32_LINKRELAX))
25184 + out_flags &= ~EF_AVR32_LINKRELAX;
25188 + elf_flags_init(obfd) = TRUE;
25189 + out_flags = in_flags;
25192 + elf_elfheader(obfd)->e_flags = out_flags;
25197 +static bfd_boolean
25198 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
25200 + FILE *file = (FILE *)ptr;
25201 + unsigned long flags;
25203 + BFD_ASSERT(abfd != NULL && ptr != NULL);
25205 + _bfd_elf_print_private_bfd_data(abfd, ptr);
25207 + flags = elf_elfheader(abfd)->e_flags;
25209 + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
25211 + if (flags & EF_AVR32_PIC)
25212 + fprintf(file, " [PIC]");
25213 + if (flags & EF_AVR32_LINKRELAX)
25214 + fprintf(file, " [linker relaxable]");
25216 + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
25219 + fprintf(file, _("<Unrecognized flag bits set>"));
25221 + fputc('\n', file);
25227 +/* Understanding core dumps */
25229 +static bfd_boolean
25230 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
25231 +static bfd_boolean
25232 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
25234 +static bfd_boolean
25235 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
25237 + /* Linux/AVR32B elf_prstatus */
25238 + if (note->descsz != 148)
25242 + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
25245 + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
25247 + /* Make a ".reg/999" section for pr_reg. The size is for 16
25248 + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
25249 + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
25250 + note->descpos + 72);
25253 +static bfd_boolean
25254 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
25256 + /* Linux/AVR32B elf_prpsinfo */
25257 + if (note->descsz != 128)
25260 + elf_tdata(abfd)->core_program
25261 + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
25262 + elf_tdata(abfd)->core_command
25263 + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
25265 + /* Note that for some reason, a spurious space is tacked
25266 + onto the end of the args in some (at least one anyway)
25267 + implementations, so strip it off if it exists. */
25270 + char *command = elf_tdata (abfd)->core_command;
25271 + int n = strlen (command);
25273 + if (0 < n && command[n - 1] == ' ')
25274 + command[n - 1] = '\0';
25281 +#define ELF_ARCH bfd_arch_avr32
25282 +#define ELF_MACHINE_CODE EM_AVR32
25283 +#define ELF_MAXPAGESIZE 0x1000
25285 +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
25286 +#define TARGET_BIG_NAME "elf32-avr32"
25288 +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
25289 +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
25291 +/* Only RELA relocations are used */
25292 +#define elf_backend_may_use_rel_p 0
25293 +#define elf_backend_may_use_rela_p 1
25294 +#define elf_backend_default_use_rela_p 1
25295 +#define elf_backend_rela_normal 1
25296 +#define elf_info_to_howto_rel NULL
25297 +#define elf_info_to_howto avr32_info_to_howto
25299 +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
25300 +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
25301 +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
25302 +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
25303 +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
25305 +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
25306 +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
25307 +#define elf_backend_relocate_section avr32_elf_relocate_section
25308 +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
25309 +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
25310 +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
25311 +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
25312 +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
25313 +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
25314 +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
25316 +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
25318 +/* Find out which symbols need an entry in .got. */
25319 +#define elf_backend_check_relocs avr32_check_relocs
25320 +#define elf_backend_can_refcount 1
25321 +#define elf_backend_can_gc_sections 1
25322 +#define elf_backend_plt_readonly 1
25323 +#define elf_backend_plt_not_loaded 1
25324 +#define elf_backend_want_plt_sym 0
25325 +#define elf_backend_plt_alignment 2
25326 +#define elf_backend_want_dynbss 0
25327 +#define elf_backend_want_got_plt 0
25328 +#define elf_backend_want_got_sym 1
25329 +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
25331 +#include "elf32-target.h"
25333 +++ b/bfd/elf32-avr32.h
25335 +/* AVR32-specific support for 32-bit ELF.
25336 + Copyright 2007 Atmel Corporation.
25338 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
25340 + This file is part of BFD, the Binary File Descriptor library.
25342 + This program is free software; you can redistribute it and/or modify
25343 + it under the terms of the GNU General Public License as published by
25344 + the Free Software Foundation; either version 2 of the License, or
25345 + (at your option) any later version.
25347 + This program is distributed in the hope that it will be useful,
25348 + but WITHOUT ANY WARRANTY; without even the implied warranty of
25349 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25350 + GNU General Public License for more details.
25352 + You should have received a copy of the GNU General Public License
25353 + along with this program; if not, write to the Free Software
25354 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
25356 +void bfd_elf32_avr32_set_options(struct bfd_link_info *info,
25357 + int direct_data_refs);
25358 --- a/bfd/elf-bfd.h
25359 +++ b/bfd/elf-bfd.h
25360 @@ -1307,6 +1307,10 @@ struct elf_obj_tdata
25361 find_nearest_line. */
25362 struct mips_elf_find_line *find_line_info;
25364 + /* Used by AVR32 ELF relaxation code. Contains an array of pointers
25365 + for each local symbol to the fragment where it is defined. */
25366 + struct fragment **local_sym_frag;
25368 /* A place to stash dwarf1 info for this bfd. */
25369 struct dwarf1_debug *dwarf1_find_line_info;
25373 @@ -1518,6 +1518,47 @@ static const char *const bfd_reloc_code_
25374 "BFD_RELOC_AVR_LDI",
25376 "BFD_RELOC_AVR_6_ADIW",
25377 + "BFD_RELOC_AVR32_DIFF32",
25378 + "BFD_RELOC_AVR32_DIFF16",
25379 + "BFD_RELOC_AVR32_DIFF8",
25380 + "BFD_RELOC_AVR32_GOT32",
25381 + "BFD_RELOC_AVR32_GOT16",
25382 + "BFD_RELOC_AVR32_GOT8",
25383 + "BFD_RELOC_AVR32_21S",
25384 + "BFD_RELOC_AVR32_16U",
25385 + "BFD_RELOC_AVR32_16S",
25386 + "BFD_RELOC_AVR32_SUB5",
25387 + "BFD_RELOC_AVR32_8S_EXT",
25388 + "BFD_RELOC_AVR32_8S",
25389 + "BFD_RELOC_AVR32_22H_PCREL",
25390 + "BFD_RELOC_AVR32_18W_PCREL",
25391 + "BFD_RELOC_AVR32_16B_PCREL",
25392 + "BFD_RELOC_AVR32_16N_PCREL",
25393 + "BFD_RELOC_AVR32_14UW_PCREL",
25394 + "BFD_RELOC_AVR32_11H_PCREL",
25395 + "BFD_RELOC_AVR32_10UW_PCREL",
25396 + "BFD_RELOC_AVR32_9H_PCREL",
25397 + "BFD_RELOC_AVR32_9UW_PCREL",
25398 + "BFD_RELOC_AVR32_GOTPC",
25399 + "BFD_RELOC_AVR32_GOTCALL",
25400 + "BFD_RELOC_AVR32_LDA_GOT",
25401 + "BFD_RELOC_AVR32_GOT21S",
25402 + "BFD_RELOC_AVR32_GOT18SW",
25403 + "BFD_RELOC_AVR32_GOT16S",
25404 + "BFD_RELOC_AVR32_32_CPENT",
25405 + "BFD_RELOC_AVR32_CPCALL",
25406 + "BFD_RELOC_AVR32_16_CP",
25407 + "BFD_RELOC_AVR32_9W_CP",
25408 + "BFD_RELOC_AVR32_ALIGN",
25409 + "BFD_RELOC_AVR32_14UW",
25410 + "BFD_RELOC_AVR32_10UW",
25411 + "BFD_RELOC_AVR32_10SW",
25412 + "BFD_RELOC_AVR32_STHH_W",
25413 + "BFD_RELOC_AVR32_7UW",
25414 + "BFD_RELOC_AVR32_6S",
25415 + "BFD_RELOC_AVR32_6UW",
25416 + "BFD_RELOC_AVR32_4UH",
25417 + "BFD_RELOC_AVR32_3U",
25418 "BFD_RELOC_390_12",
25419 "BFD_RELOC_390_GOT12",
25420 "BFD_RELOC_390_PLT32",
25421 --- a/bfd/Makefile.am
25422 +++ b/bfd/Makefile.am
25424 AUTOMAKE_OPTIONS = 1.9 cygnus
25426 # Uncomment the following line when doing a release.
25430 INCDIR = $(srcdir)/../include
25431 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
25432 @@ -62,6 +62,7 @@ ALL_MACHINES = \
25440 @@ -234,6 +235,7 @@ BFD32_BACKENDS = \
25448 @@ -1265,6 +1267,10 @@ elf32-bfin.lo: elf32-bfin.c $(INCDIR)/fi
25449 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
25450 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
25451 $(INCDIR)/elf/reloc-macros.h elf32-target.h
25452 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
25453 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
25454 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
25456 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
25457 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
25458 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
25459 --- a/bfd/Makefile.in
25460 +++ b/bfd/Makefile.in
25462 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
25463 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
25464 # @configure_input@
25466 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
25471 -SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
25474 top_srcdir = @top_srcdir@
25476 @@ -141,6 +139,7 @@ EXEEXT = @EXEEXT@
25477 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
25478 GMOFILES = @GMOFILES@
25479 GMSGFMT = @GMSGFMT@
25483 HDEFINES = @HDEFINES@
25484 @@ -190,10 +189,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
25485 WIN32LDFLAGS = @WIN32LDFLAGS@
25486 WIN32LIBADD = @WIN32LIBADD@
25487 XGETTEXT = @XGETTEXT@
25488 -ac_ct_AR = @ac_ct_AR@
25489 ac_ct_CC = @ac_ct_CC@
25490 -ac_ct_RANLIB = @ac_ct_RANLIB@
25491 -ac_ct_STRIP = @ac_ct_STRIP@
25492 all_backends = @all_backends@
25493 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
25494 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
25495 @@ -219,6 +215,7 @@ build_vendor = @build_vendor@
25496 datadir = @datadir@
25497 datarootdir = @datarootdir@
25500 exec_prefix = @exec_prefix@
25502 host_alias = @host_alias@
25503 @@ -233,12 +230,15 @@ install_sh = @install_sh@
25506 libexecdir = @libexecdir@
25507 +localedir = @localedir@
25508 localstatedir = @localstatedir@
25510 mkdir_p = @mkdir_p@
25511 oldincludedir = @oldincludedir@
25514 program_transform_name = @program_transform_name@
25516 sbindir = @sbindir@
25517 sharedstatedir = @sharedstatedir@
25518 sysconfdir = @sysconfdir@
25519 @@ -253,7 +253,7 @@ wordsize = @wordsize@
25520 AUTOMAKE_OPTIONS = 1.9 cygnus
25522 # Uncomment the following line when doing a release.
25525 INCDIR = $(srcdir)/../include
25526 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
25528 @@ -298,6 +298,7 @@ ALL_MACHINES = \
25536 @@ -471,6 +472,7 @@ BFD32_BACKENDS = \
25544 @@ -1831,6 +1833,10 @@ elf32-bfin.lo: elf32-bfin.c $(INCDIR)/fi
25545 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
25546 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
25547 $(INCDIR)/elf/reloc-macros.h elf32-target.h
25548 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
25549 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
25550 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
25552 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
25553 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
25554 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
25557 @@ -3714,6 +3714,129 @@ ENUMDOC
25561 + BFD_RELOC_AVR32_DIFF32
25563 + BFD_RELOC_AVR32_DIFF16
25565 + BFD_RELOC_AVR32_DIFF8
25567 + Difference between two labels: L2 - L1. The value of L1 is encoded
25568 + as sym + addend, while the initial difference after assembly is
25569 + inserted into the object file by the assembler.
25571 + BFD_RELOC_AVR32_GOT32
25573 + BFD_RELOC_AVR32_GOT16
25575 + BFD_RELOC_AVR32_GOT8
25577 + Reference to a symbol through the Global Offset Table. The linker
25578 + will allocate an entry for symbol in the GOT and insert the offset
25579 + of this entry as the relocation value.
25581 + BFD_RELOC_AVR32_21S
25583 + BFD_RELOC_AVR32_16U
25585 + BFD_RELOC_AVR32_16S
25587 + BFD_RELOC_AVR32_SUB5
25589 + BFD_RELOC_AVR32_8S_EXT
25591 + BFD_RELOC_AVR32_8S
25593 + Normal (non-pc-relative) code relocations. Alignment and signedness
25594 + is indicated by the suffixes. S means signed, U means unsigned. W
25595 + means word-aligned, H means halfword-aligned, neither means
25596 + byte-aligned (no alignment.) SUB5 is the same relocation as 16S.
25598 + BFD_RELOC_AVR32_22H_PCREL
25600 + BFD_RELOC_AVR32_18W_PCREL
25602 + BFD_RELOC_AVR32_16B_PCREL
25604 + BFD_RELOC_AVR32_16N_PCREL
25606 + BFD_RELOC_AVR32_14UW_PCREL
25608 + BFD_RELOC_AVR32_11H_PCREL
25610 + BFD_RELOC_AVR32_10UW_PCREL
25612 + BFD_RELOC_AVR32_9H_PCREL
25614 + BFD_RELOC_AVR32_9UW_PCREL
25616 + PC-relative relocations are signed if neither 'U' nor 'S' is
25617 + specified. However, we explicitly tack on a 'B' to indicate no
25618 + alignment, to avoid confusion with data relocs. All of these resolve
25619 + to sym + addend - offset, except the one with 'N' (negated) suffix.
25620 + This particular one resolves to offset - sym - addend.
25622 + BFD_RELOC_AVR32_GOTPC
25624 + Subtract the link-time address of the GOT from (symbol + addend)
25625 + and insert the result.
25627 + BFD_RELOC_AVR32_GOTCALL
25629 + BFD_RELOC_AVR32_LDA_GOT
25631 + BFD_RELOC_AVR32_GOT21S
25633 + BFD_RELOC_AVR32_GOT18SW
25635 + BFD_RELOC_AVR32_GOT16S
25637 + Reference to a symbol through the GOT. The linker will allocate an
25638 + entry for symbol in the GOT and insert the offset of this entry as
25639 + the relocation value. addend must be zero. As usual, 'S' means
25640 + signed, 'W' means word-aligned, etc.
25642 + BFD_RELOC_AVR32_32_CPENT
25644 + 32-bit constant pool entry. I don't think 8- and 16-bit entries make
25645 + a whole lot of sense.
25647 + BFD_RELOC_AVR32_CPCALL
25649 + BFD_RELOC_AVR32_16_CP
25651 + BFD_RELOC_AVR32_9W_CP
25653 + Constant pool references. Some of these relocations are signed,
25654 + others are unsigned. It doesn't really matter, since the constant
25655 + pool always comes after the code that references it.
25657 + BFD_RELOC_AVR32_ALIGN
25659 + sym must be the absolute symbol. The addend specifies the alignment
25660 + order, e.g. if addend is 2, the linker must add padding so that the
25661 + next address is aligned to a 4-byte boundary.
25663 + BFD_RELOC_AVR32_14UW
25665 + BFD_RELOC_AVR32_10UW
25667 + BFD_RELOC_AVR32_10SW
25669 + BFD_RELOC_AVR32_STHH_W
25671 + BFD_RELOC_AVR32_7UW
25673 + BFD_RELOC_AVR32_6S
25675 + BFD_RELOC_AVR32_6UW
25677 + BFD_RELOC_AVR32_4UH
25679 + BFD_RELOC_AVR32_3U
25681 + Code relocations that will never make it to the output file.
25687 --- a/bfd/targets.c
25688 +++ b/bfd/targets.c
25689 @@ -553,6 +553,7 @@ extern const bfd_target b_out_vec_little
25690 extern const bfd_target bfd_efi_app_ia32_vec;
25691 extern const bfd_target bfd_efi_app_ia64_vec;
25692 extern const bfd_target bfd_elf32_avr_vec;
25693 +extern const bfd_target bfd_elf32_avr32_vec;
25694 extern const bfd_target bfd_elf32_bfin_vec;
25695 extern const bfd_target bfd_elf32_bfinfdpic_vec;
25696 extern const bfd_target bfd_elf32_big_generic_vec;
25697 @@ -855,6 +856,7 @@ static const bfd_target * const _bfd_tar
25698 &bfd_efi_app_ia64_vec,
25700 &bfd_elf32_avr_vec,
25701 + &bfd_elf32_avr32_vec,
25702 &bfd_elf32_bfin_vec,
25703 &bfd_elf32_bfinfdpic_vec,
25705 --- a/binutils/config.in
25706 +++ b/binutils/config.in
25707 @@ -218,7 +218,7 @@
25709 /* If using the C implementation of alloca, define if you know the
25710 direction of stack growth for your system; otherwise it will be
25711 - automatically deduced at run-time.
25712 + automatically deduced at runtime.
25713 STACK_DIRECTION > 0 => grows toward higher addresses
25714 STACK_DIRECTION < 0 => grows toward lower addresses
25715 STACK_DIRECTION = 0 => direction of growth unknown */
25716 @@ -260,8 +260,8 @@
25720 -/* Define to `long' if <sys/types.h> does not define. */
25721 +/* Define to `long int' if <sys/types.h> does not define. */
25724 -/* Define to `unsigned' if <sys/types.h> does not define. */
25725 +/* Define to `unsigned int' if <sys/types.h> does not define. */
25727 --- a/binutils/configure
25728 +++ b/binutils/configure
25731 # Guess values for system-dependent variables and create Makefiles.
25732 -# Generated by GNU Autoconf 2.59.
25733 +# Generated by GNU Autoconf 2.61.
25735 -# Copyright (C) 2003 Free Software Foundation, Inc.
25736 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
25737 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
25738 # This configure script is free software; the Free Software Foundation
25739 # gives unlimited permission to copy, distribute and modify it.
25740 ## --------------------- ##
25741 ## M4sh Initialization. ##
25742 ## --------------------- ##
25744 -# Be Bourne compatible
25745 +# Be more Bourne compatible
25746 +DUALCASE=1; export DUALCASE # for MKS sh
25747 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25750 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25751 # is contrary to our usage. Disable this feature.
25752 alias -g '${1+"$@"}'='"$@"'
25753 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25755 + setopt NO_GLOB_SUBST
25757 + case `(set -o) 2>/dev/null` in
25758 + *posix*) set -o posix ;;
25767 +# Avoid depending upon Character Ranges.
25768 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25769 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25770 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25771 +as_cr_digits='0123456789'
25772 +as_cr_alnum=$as_cr_Letters$as_cr_digits
25774 +# The user is always right.
25775 +if test "${PATH_SEPARATOR+set}" != set; then
25776 + echo "#! /bin/sh" >conf$$.sh
25777 + echo "exit 0" >>conf$$.sh
25778 + chmod +x conf$$.sh
25779 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25780 + PATH_SEPARATOR=';'
25786 -DUALCASE=1; export DUALCASE # for MKS sh
25788 # Support unset when possible.
25789 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25790 @@ -29,8 +58,43 @@ else
25795 +# We need space, tab and new line, in precisely that order. Quoting is
25796 +# there to prevent editors from complaining about space-tab.
25797 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
25798 +# splitting by setting IFS to empty value.)
25803 +# Find who we are. Look in the path if we contain no directory separator.
25805 + *[\\/]* ) as_myself=$0 ;;
25806 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25807 +for as_dir in $PATH
25810 + test -z "$as_dir" && as_dir=.
25811 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25817 +# We did not find ourselves, most probably we were run as `sh COMMAND'
25818 +# in which case we are not to be found in the path.
25819 +if test "x$as_myself" = x; then
25822 +if test ! -f "$as_myself"; then
25823 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25824 + { (exit 1); exit 1; }
25827 # Work around bugs in pre-3.0 UWIN ksh.
25828 -$as_unset ENV MAIL MAILPATH
25829 +for as_var in ENV MAIL MAILPATH
25830 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25835 @@ -44,18 +108,19 @@ do
25836 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25837 eval $as_var=C; export $as_var
25839 - $as_unset $as_var
25840 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25844 # Required to use basename.
25845 -if expr a : '\(a\)' >/dev/null 2>&1; then
25846 +if expr a : '\(a\)' >/dev/null 2>&1 &&
25847 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
25853 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
25854 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25855 as_basename=basename
25858 @@ -63,157 +128,388 @@ fi
25861 # Name of the executable.
25862 -as_me=`$as_basename "$0" ||
25863 +as_me=`$as_basename -- "$0" ||
25864 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25865 X"$0" : 'X\(//\)$' \| \
25866 - X"$0" : 'X\(/\)$' \| \
25867 - . : '\(.\)' 2>/dev/null ||
25868 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25870 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25871 - /^X\/\(\/\/\)$/{ s//\1/; q; }
25872 - /^X\/\(\/\).*/{ s//\1/; q; }
25874 + sed '/^.*\/\([^/][^/]*\)\/*$/{
25891 -# PATH needs CR, and LINENO needs CR and PATH.
25892 -# Avoid depending upon Character Ranges.
25893 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25894 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25895 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25896 -as_cr_digits='0123456789'
25897 -as_cr_alnum=$as_cr_Letters$as_cr_digits
25899 -# The user is always right.
25900 -if test "${PATH_SEPARATOR+set}" != set; then
25901 - echo "#! /bin/sh" >conf$$.sh
25902 - echo "exit 0" >>conf$$.sh
25903 - chmod +x conf$$.sh
25904 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25905 - PATH_SEPARATOR=';'
25910 +if test "x$CONFIG_SHELL" = x; then
25911 + if (eval ":") 2>/dev/null; then
25912 + as_have_required=yes
25914 + as_have_required=no
25917 + if test $as_have_required = yes && (eval ":
25918 +(as_func_return () {
25921 +as_func_success () {
25924 +as_func_failure () {
25927 +as_func_ret_success () {
25930 +as_func_ret_failure () {
25935 +if as_func_success; then
25939 + echo as_func_success failed.
25942 +if as_func_failure; then
25944 + echo as_func_failure succeeded.
25947 - as_lineno_1=$LINENO
25948 - as_lineno_2=$LINENO
25949 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25950 - test "x$as_lineno_1" != "x$as_lineno_2" &&
25951 - test "x$as_lineno_3" = "x$as_lineno_2" || {
25952 - # Find who we are. Look in the path if we contain no path at all
25953 - # relative or not.
25955 - *[\\/]* ) as_myself=$0 ;;
25956 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25957 -for as_dir in $PATH
25960 - test -z "$as_dir" && as_dir=.
25961 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25963 +if as_func_ret_success; then
25967 + echo as_func_ret_success failed.
25972 - # We did not find ourselves, most probably we were run as `sh COMMAND'
25973 - # in which case we are not to be found in the path.
25974 - if test "x$as_myself" = x; then
25977 - if test ! -f "$as_myself"; then
25978 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
25979 - { (exit 1); exit 1; }; }
25981 - case $CONFIG_SHELL in
25983 +if as_func_ret_failure; then
25985 + echo as_func_ret_failure succeeded.
25988 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
25992 + echo positional parameters were not saved.
25995 +test \$exitcode = 0) || { (exit 1); exit 1; }
25998 + as_lineno_1=\$LINENO
25999 + as_lineno_2=\$LINENO
26000 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
26001 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
26002 +") 2> /dev/null; then
26005 + as_candidate_shells=
26006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26007 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
26010 test -z "$as_dir" && as_dir=.
26011 - for as_base in sh bash ksh sh5; do
26015 - if ("$as_dir/$as_base" -c '
26016 + for as_base in sh bash ksh sh5; do
26017 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
26024 + for as_shell in $as_candidate_shells $SHELL; do
26025 + # Try only shells that exist, to save several forks.
26026 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
26027 + { ("$as_shell") 2> /dev/null <<\_ASEOF
26028 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26031 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26032 + # is contrary to our usage. Disable this feature.
26033 + alias -g '${1+"$@"}'='"$@"'
26034 + setopt NO_GLOB_SUBST
26036 + case `(set -o) 2>/dev/null` in
26037 + *posix*) set -o posix ;;
26046 + CONFIG_SHELL=$as_shell
26047 + as_have_required=yes
26048 + if { "$as_shell" 2> /dev/null <<\_ASEOF
26049 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26052 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26053 + # is contrary to our usage. Disable this feature.
26054 + alias -g '${1+"$@"}'='"$@"'
26055 + setopt NO_GLOB_SUBST
26057 + case `(set -o) 2>/dev/null` in
26058 + *posix*) set -o posix ;;
26065 +(as_func_return () {
26068 +as_func_success () {
26071 +as_func_failure () {
26074 +as_func_ret_success () {
26077 +as_func_ret_failure () {
26082 +if as_func_success; then
26086 + echo as_func_success failed.
26089 +if as_func_failure; then
26091 + echo as_func_failure succeeded.
26094 +if as_func_ret_success; then
26098 + echo as_func_ret_success failed.
26101 +if as_func_ret_failure; then
26103 + echo as_func_ret_failure succeeded.
26106 +if ( set x; as_func_ret_success y && test x = "$1" ); then
26110 + echo positional parameters were not saved.
26113 +test $exitcode = 0) || { (exit 1); exit 1; }
26116 as_lineno_1=$LINENO
26117 as_lineno_2=$LINENO
26118 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26119 test "x$as_lineno_1" != "x$as_lineno_2" &&
26120 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
26121 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
26122 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
26123 - CONFIG_SHELL=$as_dir/$as_base
26124 - export CONFIG_SHELL
26125 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26132 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
26143 + if test "x$CONFIG_SHELL" != x; then
26144 + for as_var in BASH_ENV ENV
26145 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26147 + export CONFIG_SHELL
26148 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
26152 + if test $as_have_required = no; then
26153 + echo This script requires a shell more modern than all the
26154 + echo shells that I found on your system. Please install a
26155 + echo modern shell, or manually run the script under such a
26156 + echo shell if you do have one.
26157 + { (exit 1); exit 1; }
26167 +(eval "as_func_return () {
26170 +as_func_success () {
26173 +as_func_failure () {
26176 +as_func_ret_success () {
26179 +as_func_ret_failure () {
26184 +if as_func_success; then
26188 + echo as_func_success failed.
26191 +if as_func_failure; then
26193 + echo as_func_failure succeeded.
26196 +if as_func_ret_success; then
26200 + echo as_func_ret_success failed.
26203 +if as_func_ret_failure; then
26205 + echo as_func_ret_failure succeeded.
26208 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
26212 + echo positional parameters were not saved.
26215 +test \$exitcode = 0") || {
26216 + echo No shell found that supports shell functions.
26217 + echo Please tell autoconf@gnu.org about your system,
26218 + echo including any error possibly output before this
26224 + as_lineno_1=$LINENO
26225 + as_lineno_2=$LINENO
26226 + test "x$as_lineno_1" != "x$as_lineno_2" &&
26227 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26229 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26230 # uniformly replaced by the line number. The first 'sed' inserts a
26231 - # line-number line before each line; the second 'sed' does the real
26232 - # work. The second script uses 'N' to pair each line-number line
26233 - # with the numbered line, and appends trailing '-' during
26234 - # substitution so that $LINENO is not a special case at line end.
26235 + # line-number line after each line using $LINENO; the second 'sed'
26236 + # does the real work. The second script uses 'N' to pair each
26237 + # line-number line with the line containing $LINENO, and appends
26238 + # trailing '-' during substitution so that $LINENO is not a special
26239 + # case at line end.
26240 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26241 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26242 - sed '=' <$as_myself |
26243 + # scripts with optimization help from Paolo Bonzini. Blame Lee
26244 + # E. McMahon (1931-1989) for sed's syntax. :-)
26250 + s/[$]LINENO.*/&-/
26257 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26259 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26262 - s,^['$as_cr_digits']*\n,,
26264 ' >$as_me.lineno &&
26265 - chmod +x $as_me.lineno ||
26266 + chmod +x "$as_me.lineno" ||
26267 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26268 { (exit 1); exit 1; }; }
26270 # Don't try to exec as it changes $[0], causing all sort of problems
26271 # (the dirname of $[0] is not the place where we might find the
26272 - # original and so on. Autoconf is especially sensible to this).
26273 - . ./$as_me.lineno
26274 + # original and so on. Autoconf is especially sensitive to this).
26275 + . "./$as_me.lineno"
26276 # Exit status is that of the last command.
26281 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26282 - *c*,-n*) ECHO_N= ECHO_C='
26284 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
26285 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
26286 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26287 + as_dirname=dirname
26292 +ECHO_C= ECHO_N= ECHO_T=
26293 +case `echo -n x` in
26295 + case `echo 'x\c'` in
26296 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26303 -if expr a : '\(a\)' >/dev/null 2>&1; then
26304 +if expr a : '\(a\)' >/dev/null 2>&1 &&
26305 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
26311 rm -f conf$$ conf$$.exe conf$$.file
26312 +if test -d conf$$.dir; then
26313 + rm -f conf$$.dir/conf$$.file
26319 if ln -s conf$$.file conf$$ 2>/dev/null; then
26320 - # We could just check for DJGPP; but this test a) works b) is more generic
26321 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26322 - if test -f conf$$.exe; then
26323 - # Don't use ln at all; we don't have any links
26325 + # ... but there are two gotchas:
26326 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26327 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26328 + # In both cases, we have to default to `cp -p'.
26329 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26334 elif ln conf$$.file conf$$ 2>/dev/null; then
26339 -rm -f conf$$ conf$$.exe conf$$.file
26340 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26341 +rmdir conf$$.dir 2>/dev/null
26343 if mkdir -p . 2>/dev/null; then
26345 @@ -222,7 +518,28 @@ else
26349 -as_executable_p="test -f"
26350 +if test -x / >/dev/null 2>&1; then
26351 + as_test_x='test -x'
26353 + if ls -dL / >/dev/null 2>&1; then
26360 + if test -d "$1"; then
26366 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26367 + ???[sx]*):;;*)false;;esac;fi
26371 +as_executable_p=$as_test_x
26373 # Sed expression to map a string onto a valid CPP name.
26374 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26375 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
26376 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26380 -# We need space, tab and new line, in precisely that order.
26388 +exec 7<&0 </dev/null 6>&1
26390 # Name of the host.
26391 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
26392 # so uname gets run too.
26393 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
26400 ac_default_prefix=/usr/local
26402 ac_config_libobj_dir=.
26408 SHELL=${CONFIG_SHELL-/bin/sh}
26410 -# Maximum number of lines to put in a shell here document.
26411 -# This variable seems obsolete. It should probably be removed, and
26412 -# only ac_max_sed_lines should be used.
26413 -: ${ac_max_here_lines=38}
26415 # Identity of this package.
26418 @@ -275,42 +580,193 @@ ac_unique_file="ar.c"
26419 # Factoring default headers for most tests.
26420 ac_includes_default="\
26422 -#if HAVE_SYS_TYPES_H
26423 +#ifdef HAVE_SYS_TYPES_H
26424 # include <sys/types.h>
26426 -#if HAVE_SYS_STAT_H
26427 +#ifdef HAVE_SYS_STAT_H
26428 # include <sys/stat.h>
26431 +#ifdef STDC_HEADERS
26432 # include <stdlib.h>
26433 # include <stddef.h>
26435 -# if HAVE_STDLIB_H
26436 +# ifdef HAVE_STDLIB_H
26437 # include <stdlib.h>
26441 -# if !STDC_HEADERS && HAVE_MEMORY_H
26442 +#ifdef HAVE_STRING_H
26443 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
26444 # include <memory.h>
26446 # include <string.h>
26448 -#if HAVE_STRINGS_H
26449 +#ifdef HAVE_STRINGS_H
26450 # include <strings.h>
26452 -#if HAVE_INTTYPES_H
26453 +#ifdef HAVE_INTTYPES_H
26454 # include <inttypes.h>
26456 -# if HAVE_STDINT_H
26457 -# include <stdint.h>
26461 +#ifdef HAVE_STDINT_H
26462 +# include <stdint.h>
26464 +#ifdef HAVE_UNISTD_H
26465 # include <unistd.h>
26468 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES AR CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_DLLWRAP BUILD_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
26469 +ac_subst_vars='SHELL
26478 +program_transform_name
26538 +INSTALL_STRIP_PROGRAM
26553 +am__fastdepCC_TRUE
26554 +am__fastdepCC_FALSE
26573 +USE_INCLUDED_LIBINTL
26589 +MAINTAINER_MODE_TRUE
26590 +MAINTAINER_MODE_FALSE
26611 + ac_precious_vars='build_alias
26624 # Initialize some variables set by options.
26626 @@ -337,34 +793,48 @@ x_libraries=NONE
26627 # and all the variables that are supposed to be based on exec_prefix
26628 # by default will actually change.
26629 # Use braces instead of parens because sh, perl, etc. also accept them.
26630 +# (The list follows the same order as the GNU Coding Standards.)
26631 bindir='${exec_prefix}/bin'
26632 sbindir='${exec_prefix}/sbin'
26633 libexecdir='${exec_prefix}/libexec'
26634 -datadir='${prefix}/share'
26635 +datarootdir='${prefix}/share'
26636 +datadir='${datarootdir}'
26637 sysconfdir='${prefix}/etc'
26638 sharedstatedir='${prefix}/com'
26639 localstatedir='${prefix}/var'
26640 -libdir='${exec_prefix}/lib'
26641 includedir='${prefix}/include'
26642 oldincludedir='/usr/include'
26643 -infodir='${prefix}/info'
26644 -mandir='${prefix}/man'
26645 +docdir='${datarootdir}/doc/${PACKAGE}'
26646 +infodir='${datarootdir}/info'
26647 +htmldir='${docdir}'
26648 +dvidir='${docdir}'
26649 +pdfdir='${docdir}'
26651 +libdir='${exec_prefix}/lib'
26652 +localedir='${datarootdir}/locale'
26653 +mandir='${datarootdir}/man'
26659 # If the previous option needs an argument, assign it.
26660 if test -n "$ac_prev"; then
26661 - eval "$ac_prev=\$ac_option"
26662 + eval $ac_prev=\$ac_option
26667 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
26668 + case $ac_option in
26669 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
26670 + *) ac_optarg=yes ;;
26673 # Accept the important Cygnus configure options, so we can diagnose typos.
26675 - case $ac_option in
26676 + case $ac_dashdash$ac_option in
26678 + ac_dashdash=yes ;;
26680 -bindir | --bindir | --bindi | --bind | --bin | --bi)
26682 @@ -386,33 +856,45 @@ do
26683 --config-cache | -C)
26684 cache_file=config.cache ;;
26686 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
26687 + -datadir | --datadir | --datadi | --datad)
26689 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
26691 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
26692 datadir=$ac_optarg ;;
26694 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
26695 + | --dataroo | --dataro | --datar)
26696 + ac_prev=datarootdir ;;
26697 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
26698 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
26699 + datarootdir=$ac_optarg ;;
26701 -disable-* | --disable-*)
26702 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
26703 # Reject names that are not valid shell variable names.
26704 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26705 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26706 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
26707 { (exit 1); exit 1; }; }
26708 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
26709 - eval "enable_$ac_feature=no" ;;
26710 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
26711 + eval enable_$ac_feature=no ;;
26713 + -docdir | --docdir | --docdi | --doc | --do)
26714 + ac_prev=docdir ;;
26715 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
26716 + docdir=$ac_optarg ;;
26718 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
26719 + ac_prev=dvidir ;;
26720 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
26721 + dvidir=$ac_optarg ;;
26723 -enable-* | --enable-*)
26724 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
26725 # Reject names that are not valid shell variable names.
26726 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26727 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26728 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
26729 { (exit 1); exit 1; }; }
26730 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
26731 - case $ac_option in
26732 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
26733 - *) ac_optarg=yes ;;
26735 - eval "enable_$ac_feature='$ac_optarg'" ;;
26736 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
26737 + eval enable_$ac_feature=\$ac_optarg ;;
26739 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
26740 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
26741 @@ -439,6 +921,12 @@ do
26742 -host=* | --host=* | --hos=* | --ho=*)
26743 host_alias=$ac_optarg ;;
26745 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
26746 + ac_prev=htmldir ;;
26747 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
26749 + htmldir=$ac_optarg ;;
26751 -includedir | --includedir | --includedi | --included | --include \
26752 | --includ | --inclu | --incl | --inc)
26753 ac_prev=includedir ;;
26754 @@ -463,13 +951,16 @@ do
26755 | --libexe=* | --libex=* | --libe=*)
26756 libexecdir=$ac_optarg ;;
26758 + -localedir | --localedir | --localedi | --localed | --locale)
26759 + ac_prev=localedir ;;
26760 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
26761 + localedir=$ac_optarg ;;
26763 -localstatedir | --localstatedir | --localstatedi | --localstated \
26764 - | --localstate | --localstat | --localsta | --localst \
26765 - | --locals | --local | --loca | --loc | --lo)
26766 + | --localstate | --localstat | --localsta | --localst | --locals)
26767 ac_prev=localstatedir ;;
26768 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
26769 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
26770 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
26771 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
26772 localstatedir=$ac_optarg ;;
26774 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
26775 @@ -534,6 +1025,16 @@ do
26776 | --progr-tra=* | --program-tr=* | --program-t=*)
26777 program_transform_name=$ac_optarg ;;
26779 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
26780 + ac_prev=pdfdir ;;
26781 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
26782 + pdfdir=$ac_optarg ;;
26784 + -psdir | --psdir | --psdi | --psd | --ps)
26786 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
26787 + psdir=$ac_optarg ;;
26789 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26790 | -silent | --silent | --silen | --sile | --sil)
26792 @@ -586,24 +1087,20 @@ do
26793 -with-* | --with-*)
26794 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
26795 # Reject names that are not valid shell variable names.
26796 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26797 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26798 { echo "$as_me: error: invalid package name: $ac_package" >&2
26799 { (exit 1); exit 1; }; }
26800 - ac_package=`echo $ac_package| sed 's/-/_/g'`
26801 - case $ac_option in
26802 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
26803 - *) ac_optarg=yes ;;
26805 - eval "with_$ac_package='$ac_optarg'" ;;
26806 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
26807 + eval with_$ac_package=\$ac_optarg ;;
26809 -without-* | --without-*)
26810 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
26811 # Reject names that are not valid shell variable names.
26812 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26813 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26814 { echo "$as_me: error: invalid package name: $ac_package" >&2
26815 { (exit 1); exit 1; }; }
26816 - ac_package=`echo $ac_package | sed 's/-/_/g'`
26817 - eval "with_$ac_package=no" ;;
26818 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
26819 + eval with_$ac_package=no ;;
26822 # Obsolete; use --with-x.
26823 @@ -634,8 +1131,7 @@ Try \`$0 --help' for more information."
26824 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
26825 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
26826 { (exit 1); exit 1; }; }
26827 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
26828 - eval "$ac_envvar='$ac_optarg'"
26829 + eval $ac_envvar=\$ac_optarg
26830 export $ac_envvar ;;
26833 @@ -655,27 +1151,19 @@ if test -n "$ac_prev"; then
26834 { (exit 1); exit 1; }; }
26837 -# Be sure to have absolute paths.
26838 -for ac_var in exec_prefix prefix
26840 - eval ac_val=$`echo $ac_var`
26842 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
26843 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
26844 - { (exit 1); exit 1; }; };;
26848 -# Be sure to have absolute paths.
26849 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
26850 - localstatedir libdir includedir oldincludedir infodir mandir
26851 +# Be sure to have absolute directory names.
26852 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
26853 + datadir sysconfdir sharedstatedir localstatedir includedir \
26854 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
26855 + libdir localedir mandir
26857 - eval ac_val=$`echo $ac_var`
26858 + eval ac_val=\$$ac_var
26860 - [\\/$]* | ?:[\\/]* ) ;;
26861 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
26862 - { (exit 1); exit 1; }; };;
26863 + [\\/$]* | ?:[\\/]* ) continue;;
26864 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
26866 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
26867 + { (exit 1); exit 1; }; }
26870 # There might be people who depend on the old broken behavior: `$host'
26871 @@ -702,74 +1190,76 @@ test -n "$host_alias" && ac_tool_prefix=
26872 test "$silent" = yes && exec 6>/dev/null
26875 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
26876 +ac_ls_di=`ls -di .` &&
26877 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
26878 + { echo "$as_me: error: Working directory cannot be determined" >&2
26879 + { (exit 1); exit 1; }; }
26880 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
26881 + { echo "$as_me: error: pwd does not report name of working directory" >&2
26882 + { (exit 1); exit 1; }; }
26885 # Find the source files, if location was not specified.
26886 if test -z "$srcdir"; then
26887 ac_srcdir_defaulted=yes
26888 - # Try the directory containing this script, then its parent.
26889 - ac_confdir=`(dirname "$0") 2>/dev/null ||
26890 + # Try the directory containing this script, then the parent directory.
26891 + ac_confdir=`$as_dirname -- "$0" ||
26892 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26893 X"$0" : 'X\(//\)[^/]' \| \
26894 X"$0" : 'X\(//\)$' \| \
26895 - X"$0" : 'X\(/\)' \| \
26896 - . : '\(.\)' 2>/dev/null ||
26897 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26899 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26900 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26901 - /^X\(\/\/\)$/{ s//\1/; q; }
26902 - /^X\(\/\).*/{ s//\1/; q; }
26904 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26908 + /^X\(\/\/\)[^/].*/{
26922 - if test ! -r $srcdir/$ac_unique_file; then
26923 + if test ! -r "$srcdir/$ac_unique_file"; then
26927 ac_srcdir_defaulted=no
26929 -if test ! -r $srcdir/$ac_unique_file; then
26930 - if test "$ac_srcdir_defaulted" = yes; then
26931 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
26932 - { (exit 1); exit 1; }; }
26934 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
26935 - { (exit 1); exit 1; }; }
26938 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
26939 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
26940 - { (exit 1); exit 1; }; }
26941 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
26942 -ac_env_build_alias_set=${build_alias+set}
26943 -ac_env_build_alias_value=$build_alias
26944 -ac_cv_env_build_alias_set=${build_alias+set}
26945 -ac_cv_env_build_alias_value=$build_alias
26946 -ac_env_host_alias_set=${host_alias+set}
26947 -ac_env_host_alias_value=$host_alias
26948 -ac_cv_env_host_alias_set=${host_alias+set}
26949 -ac_cv_env_host_alias_value=$host_alias
26950 -ac_env_target_alias_set=${target_alias+set}
26951 -ac_env_target_alias_value=$target_alias
26952 -ac_cv_env_target_alias_set=${target_alias+set}
26953 -ac_cv_env_target_alias_value=$target_alias
26954 -ac_env_CC_set=${CC+set}
26955 -ac_env_CC_value=$CC
26956 -ac_cv_env_CC_set=${CC+set}
26957 -ac_cv_env_CC_value=$CC
26958 -ac_env_CFLAGS_set=${CFLAGS+set}
26959 -ac_env_CFLAGS_value=$CFLAGS
26960 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
26961 -ac_cv_env_CFLAGS_value=$CFLAGS
26962 -ac_env_LDFLAGS_set=${LDFLAGS+set}
26963 -ac_env_LDFLAGS_value=$LDFLAGS
26964 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
26965 -ac_cv_env_LDFLAGS_value=$LDFLAGS
26966 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
26967 -ac_env_CPPFLAGS_value=$CPPFLAGS
26968 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
26969 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
26970 -ac_env_CPP_set=${CPP+set}
26971 -ac_env_CPP_value=$CPP
26972 -ac_cv_env_CPP_set=${CPP+set}
26973 -ac_cv_env_CPP_value=$CPP
26974 +if test ! -r "$srcdir/$ac_unique_file"; then
26975 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
26976 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
26977 + { (exit 1); exit 1; }; }
26979 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
26981 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
26982 + { (exit 1); exit 1; }; }
26984 +# When building in place, set srcdir=.
26985 +if test "$ac_abs_confdir" = "$ac_pwd"; then
26988 +# Remove unnecessary trailing slashes from srcdir.
26989 +# Double slashes in file names in object file debugging info
26990 +# mess up M-x gdb in Emacs.
26992 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
26994 +for ac_var in $ac_precious_vars; do
26995 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
26996 + eval ac_env_${ac_var}_value=\$${ac_var}
26997 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
26998 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
27002 # Report the --help message.
27003 @@ -798,9 +1288,6 @@ Configuration:
27004 -n, --no-create do not create output files
27005 --srcdir=DIR find the sources in DIR [configure dir or \`..']
27010 Installation directories:
27011 --prefix=PREFIX install architecture-independent files in PREFIX
27012 [$ac_default_prefix]
27013 @@ -818,15 +1305,22 @@ Fine tuning of the installation director
27014 --bindir=DIR user executables [EPREFIX/bin]
27015 --sbindir=DIR system admin executables [EPREFIX/sbin]
27016 --libexecdir=DIR program executables [EPREFIX/libexec]
27017 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
27018 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
27019 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
27020 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
27021 --libdir=DIR object code libraries [EPREFIX/lib]
27022 --includedir=DIR C header files [PREFIX/include]
27023 --oldincludedir=DIR C header files for non-gcc [/usr/include]
27024 - --infodir=DIR info documentation [PREFIX/info]
27025 - --mandir=DIR man documentation [PREFIX/man]
27026 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
27027 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
27028 + --infodir=DIR info documentation [DATAROOTDIR/info]
27029 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
27030 + --mandir=DIR man documentation [DATAROOTDIR/man]
27031 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
27032 + --htmldir=DIR html documentation [DOCDIR]
27033 + --dvidir=DIR dvi documentation [DOCDIR]
27034 + --pdfdir=DIR pdf documentation [DOCDIR]
27035 + --psdir=DIR ps documentation [DOCDIR]
27039 @@ -876,126 +1370,100 @@ Some influential environment variables:
27040 CFLAGS C compiler flags
27041 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
27042 nonstandard directory <lib dir>
27043 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
27044 - headers in a nonstandard directory <include dir>
27045 + LIBS libraries to pass to the linker, e.g. -l<library>
27046 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
27047 + you have headers in a nonstandard directory <include dir>
27048 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
27049 + the first program found out of: `bison -y', `byacc', `yacc'.
27050 + YFLAGS The list of arguments that will be passed by default to $YACC.
27051 + This script will default YFLAGS to the empty string to avoid a
27052 + default value of `-d' given by some make applications.
27055 Use these variables to override the choices made by `configure' or to help
27056 it to find libraries and programs with nonstandard names/locations.
27062 if test "$ac_init_help" = "recursive"; then
27063 # If there are subdirs, report their specific --help.
27065 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
27066 - test -d $ac_dir || continue
27067 + test -d "$ac_dir" || continue
27070 -if test "$ac_dir" != .; then
27072 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27074 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27075 - # A "../" for each directory in $ac_dir_suffix.
27076 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27078 - ac_dir_suffix= ac_top_builddir=
27080 + # A ".." for each directory in $ac_dir_suffix.
27081 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27082 + case $ac_top_builddir_sub in
27083 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27084 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27087 +ac_abs_top_builddir=$ac_pwd
27088 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
27089 +# for backward compatibility:
27090 +ac_top_builddir=$ac_top_build_prefix
27093 - .) # No --srcdir option. We are building in place.
27094 + .) # We are building in place.
27096 - if test -z "$ac_top_builddir"; then
27099 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27101 - [\\/]* | ?:[\\/]* ) # Absolute path.
27102 + ac_top_srcdir=$ac_top_builddir_sub
27103 + ac_abs_top_srcdir=$ac_pwd ;;
27104 + [\\/]* | ?:[\\/]* ) # Absolute name.
27105 ac_srcdir=$srcdir$ac_dir_suffix;
27106 - ac_top_srcdir=$srcdir ;;
27107 - *) # Relative path.
27108 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27109 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
27112 -# Do not use `cd foo && pwd` to compute absolute paths, because
27113 -# the directories may not exist.
27115 -.) ac_abs_builddir="$ac_dir";;
27117 - case "$ac_dir" in
27118 - .) ac_abs_builddir=`pwd`;;
27119 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27120 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
27123 -case $ac_abs_builddir in
27124 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
27126 - case ${ac_top_builddir}. in
27127 - .) ac_abs_top_builddir=$ac_abs_builddir;;
27128 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27129 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27132 -case $ac_abs_builddir in
27133 -.) ac_abs_srcdir=$ac_srcdir;;
27135 - case $ac_srcdir in
27136 - .) ac_abs_srcdir=$ac_abs_builddir;;
27137 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27138 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27141 -case $ac_abs_builddir in
27142 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
27144 - case $ac_top_srcdir in
27145 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
27146 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27147 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27152 - # Check for guested configure; otherwise get Cygnus style configure.
27153 - if test -f $ac_srcdir/configure.gnu; then
27155 - $SHELL $ac_srcdir/configure.gnu --help=recursive
27156 - elif test -f $ac_srcdir/configure; then
27158 - $SHELL $ac_srcdir/configure --help=recursive
27159 - elif test -f $ac_srcdir/configure.ac ||
27160 - test -f $ac_srcdir/configure.in; then
27162 - $ac_configure --help
27163 + ac_top_srcdir=$srcdir
27164 + ac_abs_top_srcdir=$srcdir ;;
27165 + *) # Relative name.
27166 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27167 + ac_top_srcdir=$ac_top_build_prefix$srcdir
27168 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27170 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27172 + cd "$ac_dir" || { ac_status=$?; continue; }
27173 + # Check for guested configure.
27174 + if test -f "$ac_srcdir/configure.gnu"; then
27176 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
27177 + elif test -f "$ac_srcdir/configure"; then
27179 + $SHELL "$ac_srcdir/configure" --help=recursive
27181 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
27184 + fi || ac_status=$?
27185 + cd "$ac_pwd" || { ac_status=$?; break; }
27189 -test -n "$ac_init_help" && exit 0
27190 +test -n "$ac_init_help" && exit $ac_status
27191 if $ac_init_version; then
27194 +generated by GNU Autoconf 2.61
27196 -Copyright (C) 2003 Free Software Foundation, Inc.
27197 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
27198 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
27199 This configure script is free software; the Free Software Foundation
27200 gives unlimited permission to copy, distribute and modify it.
27207 +cat >config.log <<_ACEOF
27208 This file contains any messages produced by compilers while
27209 running configure, to aid debugging if configure makes a mistake.
27211 It was created by $as_me, which was
27212 -generated by GNU Autoconf 2.59. Invocation command line was
27213 +generated by GNU Autoconf 2.61. Invocation command line was
27218 +exec 5>>config.log
27222 @@ -1014,7 +1482,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
27223 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
27224 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
27225 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
27226 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
27227 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
27228 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
27229 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
27230 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
27231 @@ -1028,6 +1496,7 @@ do
27232 test -z "$as_dir" && as_dir=.
27233 echo "PATH: $as_dir"
27239 @@ -1049,7 +1518,6 @@ _ACEOF
27241 ac_configure_args0=
27242 ac_configure_args1=
27244 ac_must_keep_next=false
27247 @@ -1060,7 +1528,7 @@ do
27248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27249 | -silent | --silent | --silen | --sile | --sil)
27251 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
27253 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27256 @@ -1082,9 +1550,7 @@ do
27257 -* ) ac_must_keep_next=true ;;
27260 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
27261 - # Get rid of the leading space.
27263 + ac_configure_args="$ac_configure_args '$ac_arg'"
27267 @@ -1095,8 +1561,8 @@ $as_unset ac_configure_args1 || test "${
27268 # When interrupted or exit'd, cleanup temporary files, and complete
27269 # config.log. We remove comments because anyway the quotes in there
27270 # would cause problems or look ugly.
27271 -# WARNING: Be sure not to use single quotes in there, as some shells,
27272 -# such as our DU 5.0 friend, will then `close' the trap.
27273 +# WARNING: Use '\'' to represent an apostrophe within the trap.
27274 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
27275 trap 'exit_status=$?
27276 # Save into config.log some information that might help in debugging.
27278 @@ -1109,20 +1575,34 @@ trap 'exit_status=$?
27281 # The following way of writing the cache mishandles newlines in values,
27284 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
27285 + eval ac_val=\$$ac_var
27286 + case $ac_val in #(
27288 + case $ac_var in #(
27289 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27290 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27292 + case $ac_var in #(
27293 + _ | IFS | as_nl) ;; #(
27294 + *) $as_unset $ac_var ;;
27299 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
27301 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
27302 + *${as_nl}ac_space=\ *)
27304 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
27305 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
27307 + "s/'\''/'\''\\\\'\'''\''/g;
27308 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
27312 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27313 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27323 @@ -1133,22 +1613,28 @@ _ASBOX
27325 for ac_var in $ac_subst_vars
27327 - eval ac_val=$`echo $ac_var`
27328 - echo "$ac_var='"'"'$ac_val'"'"'"
27329 + eval ac_val=\$$ac_var
27331 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
27333 + echo "$ac_var='\''$ac_val'\''"
27337 if test -n "$ac_subst_files"; then
27339 -## ------------- ##
27340 -## Output files. ##
27341 -## ------------- ##
27342 +## ------------------- ##
27343 +## File substitutions. ##
27344 +## ------------------- ##
27347 for ac_var in $ac_subst_files
27349 - eval ac_val=$`echo $ac_var`
27350 - echo "$ac_var='"'"'$ac_val'"'"'"
27351 + eval ac_val=\$$ac_var
27353 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
27355 + echo "$ac_var='\''$ac_val'\''"
27359 @@ -1160,26 +1646,24 @@ _ASBOX
27363 - sed "/^$/d" confdefs.h | sort
27367 test "$ac_signal" != 0 &&
27368 echo "$as_me: caught signal $ac_signal"
27369 echo "$as_me: exit $exit_status"
27371 - rm -f core *.core &&
27372 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
27373 + rm -f core *.core core.conftest.* &&
27374 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
27378 for ac_signal in 1 2 13 15; do
27379 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
27383 # confdefs.h avoids OS command line length limits that DEFS can exceed.
27384 -rm -rf conftest* confdefs.h
27385 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
27387 +rm -f -r conftest* confdefs.h
27389 # Predefined preprocessor variables.
27391 @@ -1210,14 +1694,17 @@ _ACEOF
27393 # Let the site file select an alternate cache file if it wants to.
27394 # Prefer explicitly selected file to automatically selected ones.
27395 -if test -z "$CONFIG_SITE"; then
27396 - if test "x$prefix" != xNONE; then
27397 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
27399 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
27401 +if test -n "$CONFIG_SITE"; then
27402 + set x "$CONFIG_SITE"
27403 +elif test "x$prefix" != xNONE; then
27404 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
27406 + set x "$ac_default_prefix/share/config.site" \
27407 + "$ac_default_prefix/etc/config.site"
27409 -for ac_site_file in $CONFIG_SITE; do
27413 if test -r "$ac_site_file"; then
27414 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
27415 echo "$as_me: loading site script $ac_site_file" >&6;}
27416 @@ -1233,8 +1720,8 @@ if test -r "$cache_file"; then
27417 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
27418 echo "$as_me: loading cache $cache_file" >&6;}
27419 case $cache_file in
27420 - [\\/]* | ?:[\\/]* ) . $cache_file;;
27421 - *) . ./$cache_file;;
27422 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
27423 + *) . "./$cache_file";;
27427 @@ -1246,12 +1733,11 @@ fi
27428 # Check that the precious variables saved in the cache have kept the same
27430 ac_cache_corrupted=false
27431 -for ac_var in `(set) 2>&1 |
27432 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
27433 +for ac_var in $ac_precious_vars; do
27434 eval ac_old_set=\$ac_cv_env_${ac_var}_set
27435 eval ac_new_set=\$ac_env_${ac_var}_set
27436 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
27437 - eval ac_new_val="\$ac_env_${ac_var}_value"
27438 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
27439 + eval ac_new_val=\$ac_env_${ac_var}_value
27440 case $ac_old_set,$ac_new_set in
27442 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
27443 @@ -1276,8 +1762,7 @@ echo "$as_me: current value: $ac_new_v
27444 # Pass precious variables to config.status.
27445 if test "$ac_new_set" = set; then
27446 case $ac_new_val in
27447 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
27448 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
27449 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
27450 *) ac_arg=$ac_var=$ac_new_val ;;
27452 case " $ac_configure_args " in
27453 @@ -1294,12 +1779,6 @@ echo "$as_me: error: run \`make distclea
27454 { (exit 1); exit 1; }; }
27458 -ac_cpp='$CPP $CPPFLAGS'
27459 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27460 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27461 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
27466 @@ -1316,108 +1795,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
27471 +ac_cpp='$CPP $CPPFLAGS'
27472 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27473 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27474 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27479 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
27480 - if test -f $ac_dir/install-sh; then
27481 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
27482 + if test -f "$ac_dir/install-sh"; then
27484 ac_install_sh="$ac_aux_dir/install-sh -c"
27486 - elif test -f $ac_dir/install.sh; then
27487 + elif test -f "$ac_dir/install.sh"; then
27489 ac_install_sh="$ac_aux_dir/install.sh -c"
27491 - elif test -f $ac_dir/shtool; then
27492 + elif test -f "$ac_dir/shtool"; then
27494 ac_install_sh="$ac_aux_dir/shtool install -c"
27498 if test -z "$ac_aux_dir"; then
27499 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
27500 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
27501 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
27502 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
27503 { (exit 1); exit 1; }; }
27505 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
27506 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
27507 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
27509 +# These three variables are undocumented and unsupported,
27510 +# and are intended to be withdrawn in a future Autoconf release.
27511 +# They can cause serious problems if a builder's source tree is in a directory
27512 +# whose full name contains unusual characters.
27513 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
27514 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
27515 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
27518 # Make sure we can run config.sub.
27519 -$ac_config_sub sun4 >/dev/null 2>&1 ||
27520 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
27521 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
27522 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
27523 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
27524 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
27525 { (exit 1); exit 1; }; }
27527 -echo "$as_me:$LINENO: checking build system type" >&5
27528 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
27529 +{ echo "$as_me:$LINENO: checking build system type" >&5
27530 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
27531 if test "${ac_cv_build+set}" = set; then
27532 echo $ECHO_N "(cached) $ECHO_C" >&6
27534 - ac_cv_build_alias=$build_alias
27535 -test -z "$ac_cv_build_alias" &&
27536 - ac_cv_build_alias=`$ac_config_guess`
27537 -test -z "$ac_cv_build_alias" &&
27538 + ac_build_alias=$build_alias
27539 +test "x$ac_build_alias" = x &&
27540 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
27541 +test "x$ac_build_alias" = x &&
27542 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
27543 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
27544 { (exit 1); exit 1; }; }
27545 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
27546 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
27547 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
27548 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
27549 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
27550 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
27551 { (exit 1); exit 1; }; }
27554 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
27555 -echo "${ECHO_T}$ac_cv_build" >&6
27556 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
27557 +echo "${ECHO_T}$ac_cv_build" >&6; }
27558 +case $ac_cv_build in
27560 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
27561 +echo "$as_me: error: invalid value of canonical build" >&2;}
27562 + { (exit 1); exit 1; }; };;
27565 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27566 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27567 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27568 +ac_save_IFS=$IFS; IFS='-'
27569 +set x $ac_cv_build
27574 +# Remember, the first character of IFS is used to create $*,
27575 +# except with old shells:
27578 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
27581 -echo "$as_me:$LINENO: checking host system type" >&5
27582 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
27583 +{ echo "$as_me:$LINENO: checking host system type" >&5
27584 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
27585 if test "${ac_cv_host+set}" = set; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27588 - ac_cv_host_alias=$host_alias
27589 -test -z "$ac_cv_host_alias" &&
27590 - ac_cv_host_alias=$ac_cv_build_alias
27591 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
27592 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
27593 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
27594 + if test "x$host_alias" = x; then
27595 + ac_cv_host=$ac_cv_build
27597 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
27598 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
27599 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
27600 { (exit 1); exit 1; }; }
27604 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
27605 -echo "${ECHO_T}$ac_cv_host" >&6
27606 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
27607 +echo "${ECHO_T}$ac_cv_host" >&6; }
27608 +case $ac_cv_host in
27610 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
27611 +echo "$as_me: error: invalid value of canonical host" >&2;}
27612 + { (exit 1); exit 1; }; };;
27615 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27616 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27617 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27618 +ac_save_IFS=$IFS; IFS='-'
27624 +# Remember, the first character of IFS is used to create $*,
27625 +# except with old shells:
27628 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
27631 -echo "$as_me:$LINENO: checking target system type" >&5
27632 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
27633 +{ echo "$as_me:$LINENO: checking target system type" >&5
27634 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
27635 if test "${ac_cv_target+set}" = set; then
27636 echo $ECHO_N "(cached) $ECHO_C" >&6
27638 - ac_cv_target_alias=$target_alias
27639 -test "x$ac_cv_target_alias" = "x" &&
27640 - ac_cv_target_alias=$ac_cv_host_alias
27641 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
27642 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
27643 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
27644 + if test "x$target_alias" = x; then
27645 + ac_cv_target=$ac_cv_host
27647 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
27648 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
27649 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
27650 { (exit 1); exit 1; }; }
27654 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
27655 -echo "${ECHO_T}$ac_cv_target" >&6
27656 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
27657 +echo "${ECHO_T}$ac_cv_target" >&6; }
27658 +case $ac_cv_target in
27660 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
27661 +echo "$as_me: error: invalid value of canonical target" >&2;}
27662 + { (exit 1); exit 1; }; };;
27664 target=$ac_cv_target
27665 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27666 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27667 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27668 +ac_save_IFS=$IFS; IFS='-'
27669 +set x $ac_cv_target
27674 +# Remember, the first character of IFS is used to create $*,
27675 +# except with old shells:
27678 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
27681 # The aliases save the names the user supplied, while $host etc.
27682 @@ -1434,8 +1968,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
27683 if test -n "$ac_tool_prefix"; then
27684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
27685 set dummy ${ac_tool_prefix}gcc; ac_word=$2
27686 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27687 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27688 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27689 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27690 if test "${ac_cv_prog_CC+set}" = set; then
27691 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 @@ -1448,32 +1982,34 @@ do
27695 test -z "$as_dir" && as_dir=.
27696 for ac_exec_ext in '' $ac_executable_extensions; do
27697 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27698 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27699 ac_cv_prog_CC="${ac_tool_prefix}gcc"
27700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27710 if test -n "$CC"; then
27711 - echo "$as_me:$LINENO: result: $CC" >&5
27712 -echo "${ECHO_T}$CC" >&6
27713 + { echo "$as_me:$LINENO: result: $CC" >&5
27714 +echo "${ECHO_T}$CC" >&6; }
27716 - echo "$as_me:$LINENO: result: no" >&5
27717 -echo "${ECHO_T}no" >&6
27718 + { echo "$as_me:$LINENO: result: no" >&5
27719 +echo "${ECHO_T}no" >&6; }
27724 if test -z "$ac_cv_prog_CC"; then
27726 # Extract the first word of "gcc", so it can be a program name with args.
27727 set dummy gcc; ac_word=$2
27728 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27729 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27730 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27731 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27733 echo $ECHO_N "(cached) $ECHO_C" >&6
27735 @@ -1486,36 +2022,51 @@ do
27737 test -z "$as_dir" && as_dir=.
27738 for ac_exec_ext in '' $ac_executable_extensions; do
27739 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27740 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27741 ac_cv_prog_ac_ct_CC="gcc"
27742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27751 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27752 if test -n "$ac_ct_CC"; then
27753 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27754 -echo "${ECHO_T}$ac_ct_CC" >&6
27755 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27756 +echo "${ECHO_T}$ac_ct_CC" >&6; }
27758 - echo "$as_me:$LINENO: result: no" >&5
27759 -echo "${ECHO_T}no" >&6
27760 + { echo "$as_me:$LINENO: result: no" >&5
27761 +echo "${ECHO_T}no" >&6; }
27765 + if test "x$ac_ct_CC" = x; then
27768 + case $cross_compiling:$ac_tool_warned in
27770 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
27771 +whose name does not start with the host triplet. If you think this
27772 +configuration is useful to you, please write to autoconf@gnu.org." >&5
27773 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
27774 +whose name does not start with the host triplet. If you think this
27775 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
27776 +ac_tool_warned=yes ;;
27781 CC="$ac_cv_prog_CC"
27784 if test -z "$CC"; then
27785 - if test -n "$ac_tool_prefix"; then
27786 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27787 + if test -n "$ac_tool_prefix"; then
27788 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27789 set dummy ${ac_tool_prefix}cc; ac_word=$2
27790 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27791 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27792 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27793 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27794 if test "${ac_cv_prog_CC+set}" = set; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27797 @@ -1528,74 +2079,34 @@ do
27799 test -z "$as_dir" && as_dir=.
27800 for ac_exec_ext in '' $ac_executable_extensions; do
27801 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27802 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27803 ac_cv_prog_CC="${ac_tool_prefix}cc"
27804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27814 if test -n "$CC"; then
27815 - echo "$as_me:$LINENO: result: $CC" >&5
27816 -echo "${ECHO_T}$CC" >&6
27818 - echo "$as_me:$LINENO: result: no" >&5
27819 -echo "${ECHO_T}no" >&6
27823 -if test -z "$ac_cv_prog_CC"; then
27825 - # Extract the first word of "cc", so it can be a program name with args.
27826 -set dummy cc; ac_word=$2
27827 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27828 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27829 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27830 - echo $ECHO_N "(cached) $ECHO_C" >&6
27832 - if test -n "$ac_ct_CC"; then
27833 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27835 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27836 -for as_dir in $PATH
27839 - test -z "$as_dir" && as_dir=.
27840 - for ac_exec_ext in '' $ac_executable_extensions; do
27841 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27842 - ac_cv_prog_ac_ct_CC="cc"
27843 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27851 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
27852 -if test -n "$ac_ct_CC"; then
27853 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27854 -echo "${ECHO_T}$ac_ct_CC" >&6
27855 + { echo "$as_me:$LINENO: result: $CC" >&5
27856 +echo "${ECHO_T}$CC" >&6; }
27858 - echo "$as_me:$LINENO: result: no" >&5
27859 -echo "${ECHO_T}no" >&6
27860 + { echo "$as_me:$LINENO: result: no" >&5
27861 +echo "${ECHO_T}no" >&6; }
27866 - CC="$ac_cv_prog_CC"
27871 if test -z "$CC"; then
27872 # Extract the first word of "cc", so it can be a program name with args.
27873 set dummy cc; ac_word=$2
27874 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27875 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27876 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27877 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27878 if test "${ac_cv_prog_CC+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27881 @@ -1609,7 +2120,7 @@ do
27883 test -z "$as_dir" && as_dir=.
27884 for ac_exec_ext in '' $ac_executable_extensions; do
27885 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27886 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27887 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
27888 ac_prog_rejected=yes
27890 @@ -1620,6 +2131,7 @@ do
27896 if test $ac_prog_rejected = yes; then
27897 # We found a bogon in the path, so make sure we never use it.
27898 @@ -1637,22 +2149,23 @@ fi
27901 if test -n "$CC"; then
27902 - echo "$as_me:$LINENO: result: $CC" >&5
27903 -echo "${ECHO_T}$CC" >&6
27904 + { echo "$as_me:$LINENO: result: $CC" >&5
27905 +echo "${ECHO_T}$CC" >&6; }
27907 - echo "$as_me:$LINENO: result: no" >&5
27908 -echo "${ECHO_T}no" >&6
27909 + { echo "$as_me:$LINENO: result: no" >&5
27910 +echo "${ECHO_T}no" >&6; }
27915 if test -z "$CC"; then
27916 if test -n "$ac_tool_prefix"; then
27917 - for ac_prog in cl
27918 + for ac_prog in cl.exe
27920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27921 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
27922 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27923 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27924 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27925 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27926 if test "${ac_cv_prog_CC+set}" = set; then
27927 echo $ECHO_N "(cached) $ECHO_C" >&6
27929 @@ -1665,36 +2178,38 @@ do
27931 test -z "$as_dir" && as_dir=.
27932 for ac_exec_ext in '' $ac_executable_extensions; do
27933 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27934 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27935 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
27936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27946 if test -n "$CC"; then
27947 - echo "$as_me:$LINENO: result: $CC" >&5
27948 -echo "${ECHO_T}$CC" >&6
27949 + { echo "$as_me:$LINENO: result: $CC" >&5
27950 +echo "${ECHO_T}$CC" >&6; }
27952 - echo "$as_me:$LINENO: result: no" >&5
27953 -echo "${ECHO_T}no" >&6
27954 + { echo "$as_me:$LINENO: result: no" >&5
27955 +echo "${ECHO_T}no" >&6; }
27959 test -n "$CC" && break
27962 if test -z "$CC"; then
27964 - for ac_prog in cl
27965 + for ac_prog in cl.exe
27967 # Extract the first word of "$ac_prog", so it can be a program name with args.
27968 set dummy $ac_prog; ac_word=$2
27969 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27970 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27971 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27972 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27976 @@ -1707,29 +2222,45 @@ do
27978 test -z "$as_dir" && as_dir=.
27979 for ac_exec_ext in '' $ac_executable_extensions; do
27980 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27981 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27982 ac_cv_prog_ac_ct_CC="$ac_prog"
27983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27992 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27993 if test -n "$ac_ct_CC"; then
27994 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27995 -echo "${ECHO_T}$ac_ct_CC" >&6
27996 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27997 +echo "${ECHO_T}$ac_ct_CC" >&6; }
27999 - echo "$as_me:$LINENO: result: no" >&5
28000 -echo "${ECHO_T}no" >&6
28001 + { echo "$as_me:$LINENO: result: no" >&5
28002 +echo "${ECHO_T}no" >&6; }
28006 test -n "$ac_ct_CC" && break
28010 + if test "x$ac_ct_CC" = x; then
28013 + case $cross_compiling:$ac_tool_warned in
28015 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28016 +whose name does not start with the host triplet. If you think this
28017 +configuration is useful to you, please write to autoconf@gnu.org." >&5
28018 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28019 +whose name does not start with the host triplet. If you think this
28020 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28021 +ac_tool_warned=yes ;;
28028 @@ -1742,21 +2273,35 @@ See \`config.log' for more details." >&2
28029 { (exit 1); exit 1; }; }
28031 # Provide some information about the compiler.
28032 -echo "$as_me:$LINENO:" \
28033 - "checking for C compiler version" >&5
28034 +echo "$as_me:$LINENO: checking for C compiler version" >&5
28035 ac_compiler=`set X $ac_compile; echo $2`
28036 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
28037 - (eval $ac_compiler --version </dev/null >&5) 2>&5
28038 +{ (ac_try="$ac_compiler --version >&5"
28039 +case "(($ac_try" in
28040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28041 + *) ac_try_echo=$ac_try;;
28043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 + (eval "$ac_compiler --version >&5") 2>&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }
28048 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
28049 - (eval $ac_compiler -v </dev/null >&5) 2>&5
28050 +{ (ac_try="$ac_compiler -v >&5"
28051 +case "(($ac_try" in
28052 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28053 + *) ac_try_echo=$ac_try;;
28055 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28056 + (eval "$ac_compiler -v >&5") 2>&5
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }
28060 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
28061 - (eval $ac_compiler -V </dev/null >&5) 2>&5
28062 +{ (ac_try="$ac_compiler -V >&5"
28063 +case "(($ac_try" in
28064 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28065 + *) ac_try_echo=$ac_try;;
28067 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28068 + (eval "$ac_compiler -V >&5") 2>&5
28070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28071 (exit $ac_status); }
28072 @@ -1781,47 +2326,77 @@ ac_clean_files="$ac_clean_files a.out a.
28073 # Try to create an executable without -o first, disregard a.out.
28074 # It will help us diagnose broken compilers, and finding out an intuition
28076 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28077 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
28078 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28079 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
28080 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28081 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
28082 - (eval $ac_link_default) 2>&5
28084 +# List of possible output files, starting from the most likely.
28085 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
28086 +# only as a last resort. b.out is created by i960 compilers.
28087 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
28089 +# The IRIX 6 linker writes into existing files which may not be
28090 +# executable, retaining their permissions. Remove them first so a
28091 +# subsequent execution test works.
28093 +for ac_file in $ac_files
28096 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
28097 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
28102 +if { (ac_try="$ac_link_default"
28103 +case "(($ac_try" in
28104 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28105 + *) ac_try_echo=$ac_try;;
28107 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28108 + (eval "$ac_link_default") 2>&5
28110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28111 (exit $ac_status); }; then
28112 - # Find the output, starting from the most likely. This scheme is
28113 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
28116 -# Be careful to initialize this variable, since it used to be cached.
28117 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
28119 -# b.out is created by i960 compilers.
28120 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
28121 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
28122 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
28123 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
28124 +# so that the user can short-circuit this test for compilers unknown to
28126 +for ac_file in $ac_files ''
28128 test -f "$ac_file" || continue
28130 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
28132 - conftest.$ac_ext )
28133 - # This is the source file.
28134 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
28137 # We found the default executable, but exeext='' is most
28141 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28142 - # FIXME: I believe we export ac_cv_exeext for Libtool,
28143 - # but it would be cool to find out if it's true. Does anybody
28144 - # maintain Libtool? --akim.
28145 - export ac_cv_exeext
28146 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
28148 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28150 + # We set ac_cv_exeext here because the later test for it is not
28151 + # safe: cross compilers may not add the suffix if given an `-o'
28152 + # argument, so we may need to know it at that point already.
28153 + # Even if this section looks crufty: it has the advantage of
28154 + # actually working.
28160 +test "$ac_cv_exeext" = no && ac_cv_exeext=
28166 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
28167 +echo "${ECHO_T}$ac_file" >&6; }
28168 +if test -z "$ac_file"; then
28169 echo "$as_me: failed program was:" >&5
28170 sed 's/^/| /' conftest.$ac_ext >&5
28172 @@ -1833,19 +2408,21 @@ See \`config.log' for more details." >&2
28175 ac_exeext=$ac_cv_exeext
28176 -echo "$as_me:$LINENO: result: $ac_file" >&5
28177 -echo "${ECHO_T}$ac_file" >&6
28179 -# Check the compiler produces executables we can run. If not, either
28180 +# Check that the compiler produces executables we can run. If not, either
28181 # the compiler is broken, or we cross compile.
28182 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
28183 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
28184 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
28185 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
28186 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
28187 # If not cross compiling, check that we can run a simple program.
28188 if test "$cross_compiling" != yes; then
28189 if { ac_try='./$ac_file'
28190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28191 - (eval $ac_try) 2>&5
28192 + { (case "(($ac_try" in
28193 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28194 + *) ac_try_echo=$ac_try;;
28196 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28197 + (eval "$ac_try") 2>&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); }; }; then
28201 @@ -1864,22 +2441,27 @@ See \`config.log' for more details." >&2
28205 -echo "$as_me:$LINENO: result: yes" >&5
28206 -echo "${ECHO_T}yes" >&6
28207 +{ echo "$as_me:$LINENO: result: yes" >&5
28208 +echo "${ECHO_T}yes" >&6; }
28210 rm -f a.out a.exe conftest$ac_cv_exeext b.out
28211 ac_clean_files=$ac_clean_files_save
28212 -# Check the compiler produces executables we can run. If not, either
28213 +# Check that the compiler produces executables we can run. If not, either
28214 # the compiler is broken, or we cross compile.
28215 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
28216 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
28217 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
28218 -echo "${ECHO_T}$cross_compiling" >&6
28220 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
28221 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
28222 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223 - (eval $ac_link) 2>&5
28224 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
28225 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
28226 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
28227 +echo "${ECHO_T}$cross_compiling" >&6; }
28229 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
28230 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
28231 +if { (ac_try="$ac_link"
28232 +case "(($ac_try" in
28233 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28234 + *) ac_try_echo=$ac_try;;
28236 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28237 + (eval "$ac_link") 2>&5
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); }; then
28241 @@ -1890,9 +2472,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
28242 for ac_file in conftest.exe conftest conftest.*; do
28243 test -f "$ac_file" || continue
28245 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
28246 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
28247 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28248 - export ac_cv_exeext
28252 @@ -1906,14 +2487,14 @@ See \`config.log' for more details." >&2
28255 rm -f conftest$ac_cv_exeext
28256 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
28257 -echo "${ECHO_T}$ac_cv_exeext" >&6
28258 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
28259 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
28261 rm -f conftest.$ac_ext
28262 EXEEXT=$ac_cv_exeext
28264 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
28265 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
28266 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
28267 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
28268 if test "${ac_cv_objext+set}" = set; then
28269 echo $ECHO_N "(cached) $ECHO_C" >&6
28271 @@ -1933,14 +2514,20 @@ main ()
28274 rm -f conftest.o conftest.obj
28275 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28276 - (eval $ac_compile) 2>&5
28277 +if { (ac_try="$ac_compile"
28278 +case "(($ac_try" in
28279 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28280 + *) ac_try_echo=$ac_try;;
28282 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28283 + (eval "$ac_compile") 2>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; then
28287 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
28288 + for ac_file in conftest.o conftest.obj conftest.*; do
28289 + test -f "$ac_file" || continue;
28291 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
28292 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
28293 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28296 @@ -1958,12 +2545,12 @@ fi
28298 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28300 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28301 -echo "${ECHO_T}$ac_cv_objext" >&6
28302 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28303 +echo "${ECHO_T}$ac_cv_objext" >&6; }
28304 OBJEXT=$ac_cv_objext
28306 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28307 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
28308 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28309 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
28310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28313 @@ -1986,50 +2573,49 @@ main ()
28316 rm -f conftest.$ac_objext
28317 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28318 - (eval $ac_compile) 2>conftest.er1
28319 +if { (ac_try="$ac_compile"
28320 +case "(($ac_try" in
28321 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28322 + *) ac_try_echo=$ac_try;;
28324 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28325 + (eval "$ac_compile") 2>conftest.er1
28327 grep -v '^ *+' conftest.er1 >conftest.err
28329 cat conftest.err >&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 - (exit $ac_status); } &&
28332 - { ac_try='test -z "$ac_c_werror_flag"
28333 - || test ! -s conftest.err'
28334 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 - (eval $ac_try) 2>&5
28337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 - (exit $ac_status); }; } &&
28339 - { ac_try='test -s conftest.$ac_objext'
28340 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 - (eval $ac_try) 2>&5
28343 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 - (exit $ac_status); }; }; then
28345 + (exit $ac_status); } && {
28346 + test -z "$ac_c_werror_flag" ||
28347 + test ! -s conftest.err
28348 + } && test -s conftest.$ac_objext; then
28349 ac_compiler_gnu=yes
28351 echo "$as_me: failed program was:" >&5
28352 sed 's/^/| /' conftest.$ac_ext >&5
28354 -ac_compiler_gnu=no
28355 + ac_compiler_gnu=no
28357 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28359 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28360 ac_cv_c_compiler_gnu=$ac_compiler_gnu
28363 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
28364 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
28365 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
28366 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
28367 GCC=`test $ac_compiler_gnu = yes && echo yes`
28368 ac_test_CFLAGS=${CFLAGS+set}
28369 ac_save_CFLAGS=$CFLAGS
28371 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
28372 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
28373 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
28374 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
28375 if test "${ac_cv_prog_cc_g+set}" = set; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28378 - cat >conftest.$ac_ext <<_ACEOF
28379 + ac_save_c_werror_flag=$ac_c_werror_flag
28380 + ac_c_werror_flag=yes
28381 + ac_cv_prog_cc_g=no
28383 + cat >conftest.$ac_ext <<_ACEOF
28386 cat confdefs.h >>conftest.$ac_ext
28387 @@ -2045,38 +2631,118 @@ main ()
28390 rm -f conftest.$ac_objext
28391 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28392 - (eval $ac_compile) 2>conftest.er1
28393 +if { (ac_try="$ac_compile"
28394 +case "(($ac_try" in
28395 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28396 + *) ac_try_echo=$ac_try;;
28398 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28399 + (eval "$ac_compile") 2>conftest.er1
28401 grep -v '^ *+' conftest.er1 >conftest.err
28403 cat conftest.err >&5
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 - (exit $ac_status); } &&
28406 - { ac_try='test -z "$ac_c_werror_flag"
28407 - || test ! -s conftest.err'
28408 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28409 - (eval $ac_try) 2>&5
28410 + (exit $ac_status); } && {
28411 + test -z "$ac_c_werror_flag" ||
28412 + test ! -s conftest.err
28413 + } && test -s conftest.$ac_objext; then
28414 + ac_cv_prog_cc_g=yes
28416 + echo "$as_me: failed program was:" >&5
28417 +sed 's/^/| /' conftest.$ac_ext >&5
28420 + cat >conftest.$ac_ext <<_ACEOF
28423 +cat confdefs.h >>conftest.$ac_ext
28424 +cat >>conftest.$ac_ext <<_ACEOF
28425 +/* end confdefs.h. */
28435 +rm -f conftest.$ac_objext
28436 +if { (ac_try="$ac_compile"
28437 +case "(($ac_try" in
28438 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28439 + *) ac_try_echo=$ac_try;;
28441 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28442 + (eval "$ac_compile") 2>conftest.er1
28444 + grep -v '^ *+' conftest.er1 >conftest.err
28445 + rm -f conftest.er1
28446 + cat conftest.err >&5
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 - (exit $ac_status); }; } &&
28449 - { ac_try='test -s conftest.$ac_objext'
28450 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 - (eval $ac_try) 2>&5
28452 + (exit $ac_status); } && {
28453 + test -z "$ac_c_werror_flag" ||
28454 + test ! -s conftest.err
28455 + } && test -s conftest.$ac_objext; then
28458 + echo "$as_me: failed program was:" >&5
28459 +sed 's/^/| /' conftest.$ac_ext >&5
28461 + ac_c_werror_flag=$ac_save_c_werror_flag
28463 + cat >conftest.$ac_ext <<_ACEOF
28466 +cat confdefs.h >>conftest.$ac_ext
28467 +cat >>conftest.$ac_ext <<_ACEOF
28468 +/* end confdefs.h. */
28478 +rm -f conftest.$ac_objext
28479 +if { (ac_try="$ac_compile"
28480 +case "(($ac_try" in
28481 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28482 + *) ac_try_echo=$ac_try;;
28484 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28485 + (eval "$ac_compile") 2>conftest.er1
28487 + grep -v '^ *+' conftest.er1 >conftest.err
28488 + rm -f conftest.er1
28489 + cat conftest.err >&5
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 - (exit $ac_status); }; }; then
28492 + (exit $ac_status); } && {
28493 + test -z "$ac_c_werror_flag" ||
28494 + test ! -s conftest.err
28495 + } && test -s conftest.$ac_objext; then
28496 ac_cv_prog_cc_g=yes
28498 echo "$as_me: failed program was:" >&5
28499 sed 's/^/| /' conftest.$ac_ext >&5
28501 -ac_cv_prog_cc_g=no
28505 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28508 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28510 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28512 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28513 + ac_c_werror_flag=$ac_save_c_werror_flag
28515 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
28516 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
28517 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
28518 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
28519 if test "$ac_test_CFLAGS" = set; then
28520 CFLAGS=$ac_save_CFLAGS
28521 elif test $ac_cv_prog_cc_g = yes; then
28522 @@ -2092,12 +2758,12 @@ else
28526 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
28527 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
28528 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
28529 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
28530 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
28531 +if test "${ac_cv_prog_cc_c89+set}" = set; then
28532 echo $ECHO_N "(cached) $ECHO_C" >&6
28534 - ac_cv_prog_cc_stdc=no
28535 + ac_cv_prog_cc_c89=no
28537 cat >conftest.$ac_ext <<_ACEOF
28539 @@ -2131,12 +2797,17 @@ static char *f (char * (*g) (char **, in
28540 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
28541 function prototypes and stuff, but not '\xHH' hex character constants.
28542 These don't provoke an error unfortunately, instead are silently treated
28543 - as 'x'. The following induces an error, until -std1 is added to get
28544 + as 'x'. The following induces an error, until -std is added to get
28545 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
28546 array size at least. It's necessary to write '\x00'==0 to get something
28547 - that's true only with -std1. */
28548 + that's true only with -std. */
28549 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
28551 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
28552 + inside strings and character constants. */
28553 +#define FOO(x) 'x'
28554 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
28556 int test (int i, double x);
28557 struct s1 {int (*f) (int a);};
28558 struct s2 {int (*f) (double a);};
28559 @@ -2151,335 +2822,144 @@ return f (e, argv, 0) != argv[0] || f
28563 -# Don't try gcc -ansi; that turns off useful extensions and
28564 -# breaks some systems' header files.
28565 -# AIX -qlanglvl=ansi
28566 -# Ultrix and OSF/1 -std1
28567 -# HP-UX 10.20 and later -Ae
28568 -# HP-UX older versions -Aa -D_HPUX_SOURCE
28569 -# SVR4 -Xc -D__EXTENSIONS__
28570 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28571 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
28572 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28574 CC="$ac_save_CC $ac_arg"
28575 rm -f conftest.$ac_objext
28576 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28577 - (eval $ac_compile) 2>conftest.er1
28578 +if { (ac_try="$ac_compile"
28579 +case "(($ac_try" in
28580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28581 + *) ac_try_echo=$ac_try;;
28583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28584 + (eval "$ac_compile") 2>conftest.er1
28586 grep -v '^ *+' conftest.er1 >conftest.err
28588 cat conftest.err >&5
28589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28590 - (exit $ac_status); } &&
28591 - { ac_try='test -z "$ac_c_werror_flag"
28592 - || test ! -s conftest.err'
28593 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 - (eval $ac_try) 2>&5
28596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 - (exit $ac_status); }; } &&
28598 - { ac_try='test -s conftest.$ac_objext'
28599 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28600 - (eval $ac_try) 2>&5
28602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 - (exit $ac_status); }; }; then
28604 - ac_cv_prog_cc_stdc=$ac_arg
28606 + (exit $ac_status); } && {
28607 + test -z "$ac_c_werror_flag" ||
28608 + test ! -s conftest.err
28609 + } && test -s conftest.$ac_objext; then
28610 + ac_cv_prog_cc_c89=$ac_arg
28612 echo "$as_me: failed program was:" >&5
28613 sed 's/^/| /' conftest.$ac_ext >&5
28617 -rm -f conftest.err conftest.$ac_objext
28619 +rm -f core conftest.err conftest.$ac_objext
28620 + test "x$ac_cv_prog_cc_c89" != "xno" && break
28622 -rm -f conftest.$ac_ext conftest.$ac_objext
28623 +rm -f conftest.$ac_ext
28628 -case "x$ac_cv_prog_cc_stdc" in
28630 - echo "$as_me:$LINENO: result: none needed" >&5
28631 -echo "${ECHO_T}none needed" >&6 ;;
28633 +case "x$ac_cv_prog_cc_c89" in
28635 + { echo "$as_me:$LINENO: result: none needed" >&5
28636 +echo "${ECHO_T}none needed" >&6; } ;;
28638 + { echo "$as_me:$LINENO: result: unsupported" >&5
28639 +echo "${ECHO_T}unsupported" >&6; } ;;
28641 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
28642 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
28643 - CC="$CC $ac_cv_prog_cc_stdc" ;;
28644 + CC="$CC $ac_cv_prog_cc_c89"
28645 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
28646 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
28649 -# Some people use a C++ compiler to compile C. Since we use `exit',
28650 -# in C++ we need to declare it. In case someone uses the same compiler
28651 -# for both compiling C and C++ we need to have the C++ compiler decide
28652 -# the declaration of exit, since it's the most demanding environment.
28655 +ac_cpp='$CPP $CPPFLAGS'
28656 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28657 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28658 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
28661 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
28662 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
28663 +if test "${ac_cv_search_strerror+set}" = set; then
28664 + echo $ECHO_N "(cached) $ECHO_C" >&6
28666 + ac_func_search_save_LIBS=$LIBS
28667 cat >conftest.$ac_ext <<_ACEOF
28668 -#ifndef __cplusplus
28672 -rm -f conftest.$ac_objext
28673 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28674 - (eval $ac_compile) 2>conftest.er1
28676 - grep -v '^ *+' conftest.er1 >conftest.err
28677 - rm -f conftest.er1
28678 - cat conftest.err >&5
28679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28680 - (exit $ac_status); } &&
28681 - { ac_try='test -z "$ac_c_werror_flag"
28682 - || test ! -s conftest.err'
28683 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 - (eval $ac_try) 2>&5
28686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 - (exit $ac_status); }; } &&
28688 - { ac_try='test -s conftest.$ac_objext'
28689 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 - (eval $ac_try) 2>&5
28692 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 - (exit $ac_status); }; }; then
28694 - for ac_declaration in \
28696 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
28697 - 'extern "C" void std::exit (int); using std::exit;' \
28698 - 'extern "C" void exit (int) throw ();' \
28699 - 'extern "C" void exit (int);' \
28700 - 'void exit (int);'
28702 - cat >conftest.$ac_ext <<_ACEOF
28705 cat confdefs.h >>conftest.$ac_ext
28706 cat >>conftest.$ac_ext <<_ACEOF
28707 /* end confdefs.h. */
28709 -#include <stdlib.h>
28711 +/* Override any GCC internal prototype to avoid an error.
28712 + Use char because int might match the return type of a GCC
28713 + builtin and then its argument prototype would still apply. */
28714 +#ifdef __cplusplus
28722 +return strerror ();
28727 -rm -f conftest.$ac_objext
28728 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28729 - (eval $ac_compile) 2>conftest.er1
28730 +for ac_lib in '' cposix; do
28731 + if test -z "$ac_lib"; then
28732 + ac_res="none required"
28735 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28737 + rm -f conftest.$ac_objext conftest$ac_exeext
28738 +if { (ac_try="$ac_link"
28739 +case "(($ac_try" in
28740 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28741 + *) ac_try_echo=$ac_try;;
28743 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28744 + (eval "$ac_link") 2>conftest.er1
28746 grep -v '^ *+' conftest.er1 >conftest.err
28748 cat conftest.err >&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 - (exit $ac_status); } &&
28751 - { ac_try='test -z "$ac_c_werror_flag"
28752 - || test ! -s conftest.err'
28753 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28754 - (eval $ac_try) 2>&5
28756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28757 - (exit $ac_status); }; } &&
28758 - { ac_try='test -s conftest.$ac_objext'
28759 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28760 - (eval $ac_try) 2>&5
28762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 - (exit $ac_status); }; }; then
28765 + (exit $ac_status); } && {
28766 + test -z "$ac_c_werror_flag" ||
28767 + test ! -s conftest.err
28768 + } && test -s conftest$ac_exeext &&
28769 + $as_test_x conftest$ac_exeext; then
28770 + ac_cv_search_strerror=$ac_res
28772 echo "$as_me: failed program was:" >&5
28773 sed 's/^/| /' conftest.$ac_ext >&5
28777 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28778 - cat >conftest.$ac_ext <<_ACEOF
28781 -cat confdefs.h >>conftest.$ac_ext
28782 -cat >>conftest.$ac_ext <<_ACEOF
28783 -/* end confdefs.h. */
28793 -rm -f conftest.$ac_objext
28794 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28795 - (eval $ac_compile) 2>conftest.er1
28797 - grep -v '^ *+' conftest.er1 >conftest.err
28798 - rm -f conftest.er1
28799 - cat conftest.err >&5
28800 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801 - (exit $ac_status); } &&
28802 - { ac_try='test -z "$ac_c_werror_flag"
28803 - || test ! -s conftest.err'
28804 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28805 - (eval $ac_try) 2>&5
28807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 - (exit $ac_status); }; } &&
28809 - { ac_try='test -s conftest.$ac_objext'
28810 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 - (eval $ac_try) 2>&5
28813 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 - (exit $ac_status); }; }; then
28817 - echo "$as_me: failed program was:" >&5
28818 -sed 's/^/| /' conftest.$ac_ext >&5
28821 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28824 -if test -n "$ac_declaration"; then
28825 - echo '#ifdef __cplusplus' >>confdefs.h
28826 - echo $ac_declaration >>confdefs.h
28827 - echo '#endif' >>confdefs.h
28831 - echo "$as_me: failed program was:" >&5
28832 -sed 's/^/| /' conftest.$ac_ext >&5
28834 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28835 + conftest$ac_exeext
28836 + if test "${ac_cv_search_strerror+set}" = set; then
28839 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28841 -ac_cpp='$CPP $CPPFLAGS'
28842 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28843 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28844 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
28847 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
28848 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
28850 if test "${ac_cv_search_strerror+set}" = set; then
28851 - echo $ECHO_N "(cached) $ECHO_C" >&6
28853 - ac_func_search_save_LIBS=$LIBS
28854 -ac_cv_search_strerror=no
28855 -cat >conftest.$ac_ext <<_ACEOF
28858 -cat confdefs.h >>conftest.$ac_ext
28859 -cat >>conftest.$ac_ext <<_ACEOF
28860 -/* end confdefs.h. */
28862 -/* Override any gcc2 internal prototype to avoid an error. */
28863 -#ifdef __cplusplus
28866 -/* We use char because int might match the return type of a gcc2
28867 - builtin and then its argument prototype would still apply. */
28877 -rm -f conftest.$ac_objext conftest$ac_exeext
28878 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28879 - (eval $ac_link) 2>conftest.er1
28881 - grep -v '^ *+' conftest.er1 >conftest.err
28882 - rm -f conftest.er1
28883 - cat conftest.err >&5
28884 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 - (exit $ac_status); } &&
28886 - { ac_try='test -z "$ac_c_werror_flag"
28887 - || test ! -s conftest.err'
28888 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 - (eval $ac_try) 2>&5
28891 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 - (exit $ac_status); }; } &&
28893 - { ac_try='test -s conftest$ac_exeext'
28894 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28895 - (eval $ac_try) 2>&5
28897 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 - (exit $ac_status); }; }; then
28899 - ac_cv_search_strerror="none required"
28901 - echo "$as_me: failed program was:" >&5
28902 -sed 's/^/| /' conftest.$ac_ext >&5
28905 -rm -f conftest.err conftest.$ac_objext \
28906 - conftest$ac_exeext conftest.$ac_ext
28907 -if test "$ac_cv_search_strerror" = no; then
28908 - for ac_lib in cposix; do
28909 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28910 - cat >conftest.$ac_ext <<_ACEOF
28913 -cat confdefs.h >>conftest.$ac_ext
28914 -cat >>conftest.$ac_ext <<_ACEOF
28915 -/* end confdefs.h. */
28917 -/* Override any gcc2 internal prototype to avoid an error. */
28918 -#ifdef __cplusplus
28921 -/* We use char because int might match the return type of a gcc2
28922 - builtin and then its argument prototype would still apply. */
28932 -rm -f conftest.$ac_objext conftest$ac_exeext
28933 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28934 - (eval $ac_link) 2>conftest.er1
28936 - grep -v '^ *+' conftest.er1 >conftest.err
28937 - rm -f conftest.er1
28938 - cat conftest.err >&5
28939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 - (exit $ac_status); } &&
28941 - { ac_try='test -z "$ac_c_werror_flag"
28942 - || test ! -s conftest.err'
28943 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28944 - (eval $ac_try) 2>&5
28946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 - (exit $ac_status); }; } &&
28948 - { ac_try='test -s conftest$ac_exeext'
28949 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28950 - (eval $ac_try) 2>&5
28952 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 - (exit $ac_status); }; }; then
28954 - ac_cv_search_strerror="-l$ac_lib"
28958 - echo "$as_me: failed program was:" >&5
28959 -sed 's/^/| /' conftest.$ac_ext >&5
28962 -rm -f conftest.err conftest.$ac_objext \
28963 - conftest$ac_exeext conftest.$ac_ext
28965 + ac_cv_search_strerror=no
28967 +rm conftest.$ac_ext
28968 LIBS=$ac_func_search_save_LIBS
28970 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
28971 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
28972 -if test "$ac_cv_search_strerror" != no; then
28973 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
28974 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
28975 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
28976 +ac_res=$ac_cv_search_strerror
28977 +if test "$ac_res" != no; then
28978 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
28982 @@ -2499,8 +2979,8 @@ am__api_version="1.9"
28983 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
28984 # OS/2's system install, which has a completely different semantic
28985 # ./install, which can be erroneously created by make from ./install.sh.
28986 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
28987 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
28988 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
28989 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
28990 if test -z "$INSTALL"; then
28991 if test "${ac_cv_path_install+set}" = set; then
28992 echo $ECHO_N "(cached) $ECHO_C" >&6
28993 @@ -2522,7 +3002,7 @@ case $as_dir/ in
28995 for ac_prog in ginstall scoinst install; do
28996 for ac_exec_ext in '' $ac_executable_extensions; do
28997 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
28998 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
28999 if test $ac_prog = install &&
29000 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
29001 # AIX install. It has an incompatible calling convention.
29002 @@ -2541,21 +3021,22 @@ case $as_dir/ in
29010 if test "${ac_cv_path_install+set}" = set; then
29011 INSTALL=$ac_cv_path_install
29013 - # As a last resort, use the slow shell script. We don't cache a
29014 - # path for INSTALL within a source directory, because that will
29015 + # As a last resort, use the slow shell script. Don't cache a
29016 + # value for INSTALL within a source directory, because that will
29017 # break other packages using the cache if that directory is
29018 - # removed, or if the path is relative.
29019 + # removed, or if the value is a relative name.
29020 INSTALL=$ac_install_sh
29023 -echo "$as_me:$LINENO: result: $INSTALL" >&5
29024 -echo "${ECHO_T}$INSTALL" >&6
29025 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
29026 +echo "${ECHO_T}$INSTALL" >&6; }
29028 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
29029 # It thinks the first close brace ends the variable substitution.
29030 @@ -2565,8 +3046,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
29032 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
29034 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
29035 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
29036 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
29037 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
29040 echo timestamp > conftest.file
29041 @@ -2608,20 +3089,20 @@ echo "$as_me: error: newly created file
29042 Check your system clock" >&2;}
29043 { (exit 1); exit 1; }; }
29045 -echo "$as_me:$LINENO: result: yes" >&5
29046 -echo "${ECHO_T}yes" >&6
29047 +{ echo "$as_me:$LINENO: result: yes" >&5
29048 +echo "${ECHO_T}yes" >&6; }
29049 test "$program_prefix" != NONE &&
29050 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
29051 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
29052 # Use a double $ so make ignores it.
29053 test "$program_suffix" != NONE &&
29054 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
29055 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
29056 # Double any \ or $. echo might interpret backslashes.
29057 # By default was `s,x,x', remove it if useless.
29058 cat <<\_ACEOF >conftest.sed
29059 s/[\\$]/&&/g;s/;s,x,x,$//
29061 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
29063 +rm -f conftest.sed
29065 # expand $ac_aux_dir to an absolute path
29066 am_aux_dir=`cd $ac_aux_dir && pwd`
29067 @@ -2673,8 +3154,8 @@ for ac_prog in gawk mawk nawk awk
29069 # Extract the first word of "$ac_prog", so it can be a program name with args.
29070 set dummy $ac_prog; ac_word=$2
29071 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29072 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29073 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29074 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29075 if test "${ac_cv_prog_AWK+set}" = set; then
29076 echo $ECHO_N "(cached) $ECHO_C" >&6
29078 @@ -2687,54 +3168,57 @@ do
29080 test -z "$as_dir" && as_dir=.
29081 for ac_exec_ext in '' $ac_executable_extensions; do
29082 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29083 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29084 ac_cv_prog_AWK="$ac_prog"
29085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29094 AWK=$ac_cv_prog_AWK
29095 if test -n "$AWK"; then
29096 - echo "$as_me:$LINENO: result: $AWK" >&5
29097 -echo "${ECHO_T}$AWK" >&6
29098 + { echo "$as_me:$LINENO: result: $AWK" >&5
29099 +echo "${ECHO_T}$AWK" >&6; }
29101 - echo "$as_me:$LINENO: result: no" >&5
29102 -echo "${ECHO_T}no" >&6
29103 + { echo "$as_me:$LINENO: result: no" >&5
29104 +echo "${ECHO_T}no" >&6; }
29108 test -n "$AWK" && break
29111 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29112 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
29113 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
29114 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
29115 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29116 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
29117 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
29118 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
29119 echo $ECHO_N "(cached) $ECHO_C" >&6
29121 cat >conftest.make <<\_ACEOF
29124 - @echo 'ac_maketemp="$(MAKE)"'
29125 + @echo '@@@%%%=$(MAKE)=@@@%%%'
29127 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29128 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
29129 -if test -n "$ac_maketemp"; then
29130 - eval ac_cv_prog_make_${ac_make}_set=yes
29132 - eval ac_cv_prog_make_${ac_make}_set=no
29134 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
29135 + *@@@%%%=?*=@@@%%%*)
29136 + eval ac_cv_prog_make_${ac_make}_set=yes;;
29138 + eval ac_cv_prog_make_${ac_make}_set=no;;
29140 rm -f conftest.make
29142 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
29143 - echo "$as_me:$LINENO: result: yes" >&5
29144 -echo "${ECHO_T}yes" >&6
29145 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
29146 + { echo "$as_me:$LINENO: result: yes" >&5
29147 +echo "${ECHO_T}yes" >&6; }
29150 - echo "$as_me:$LINENO: result: no" >&5
29151 -echo "${ECHO_T}no" >&6
29152 + { echo "$as_me:$LINENO: result: no" >&5
29153 +echo "${ECHO_T}no" >&6; }
29154 SET_MAKE="MAKE=${MAKE-make}"
29157 @@ -2749,7 +3233,7 @@ rmdir .tst 2>/dev/null
29159 DEPDIR="${am__leading_dot}deps"
29161 - ac_config_commands="$ac_config_commands depfiles"
29162 +ac_config_commands="$ac_config_commands depfiles"
29165 am_make=${MAKE-make}
29166 @@ -2759,8 +3243,8 @@ am__doit:
29169 # If we don't find an include directive, just comment out the code.
29170 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
29171 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
29172 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
29173 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
29177 @@ -2787,15 +3271,15 @@ if test "$am__include" = "#"; then
29181 -echo "$as_me:$LINENO: result: $_am_result" >&5
29182 -echo "${ECHO_T}$_am_result" >&6
29183 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
29184 +echo "${ECHO_T}$_am_result" >&6; }
29185 rm -f confinc confmf
29187 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
29188 +# Check whether --enable-dependency-tracking was given.
29189 if test "${enable_dependency_tracking+set}" = set; then
29190 - enableval="$enable_dependency_tracking"
29191 + enableval=$enable_dependency_tracking;
29195 if test "x$enable_dependency_tracking" != xno; then
29196 am_depcomp="$ac_aux_dir/depcomp"
29198 @@ -2870,8 +3354,8 @@ if test "$cross_compiling" != no; then
29199 if test -n "$ac_tool_prefix"; then
29200 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
29201 set dummy ${ac_tool_prefix}strip; ac_word=$2
29202 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29203 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29204 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29205 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29206 if test "${ac_cv_prog_STRIP+set}" = set; then
29207 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 @@ -2884,32 +3368,34 @@ do
29211 test -z "$as_dir" && as_dir=.
29212 for ac_exec_ext in '' $ac_executable_extensions; do
29213 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29214 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29215 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
29216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29225 STRIP=$ac_cv_prog_STRIP
29226 if test -n "$STRIP"; then
29227 - echo "$as_me:$LINENO: result: $STRIP" >&5
29228 -echo "${ECHO_T}$STRIP" >&6
29229 + { echo "$as_me:$LINENO: result: $STRIP" >&5
29230 +echo "${ECHO_T}$STRIP" >&6; }
29232 - echo "$as_me:$LINENO: result: no" >&5
29233 -echo "${ECHO_T}no" >&6
29234 + { echo "$as_me:$LINENO: result: no" >&5
29235 +echo "${ECHO_T}no" >&6; }
29240 if test -z "$ac_cv_prog_STRIP"; then
29242 # Extract the first word of "strip", so it can be a program name with args.
29243 set dummy strip; ac_word=$2
29244 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29245 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29246 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29247 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29248 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
29249 echo $ECHO_N "(cached) $ECHO_C" >&6
29251 @@ -2922,27 +3408,41 @@ do
29253 test -z "$as_dir" && as_dir=.
29254 for ac_exec_ext in '' $ac_executable_extensions; do
29255 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29256 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29257 ac_cv_prog_ac_ct_STRIP="strip"
29258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29265 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
29268 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
29269 if test -n "$ac_ct_STRIP"; then
29270 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29271 -echo "${ECHO_T}$ac_ct_STRIP" >&6
29272 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29273 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
29275 - echo "$as_me:$LINENO: result: no" >&5
29276 -echo "${ECHO_T}no" >&6
29277 + { echo "$as_me:$LINENO: result: no" >&5
29278 +echo "${ECHO_T}no" >&6; }
29281 - STRIP=$ac_ct_STRIP
29282 + if test "x$ac_ct_STRIP" = x; then
29285 + case $cross_compiling:$ac_tool_warned in
29287 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29288 +whose name does not start with the host triplet. If you think this
29289 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29290 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29291 +whose name does not start with the host triplet. If you think this
29292 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29293 +ac_tool_warned=yes ;;
29295 + STRIP=$ac_ct_STRIP
29298 STRIP="$ac_cv_prog_STRIP"
29300 @@ -2963,8 +3463,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
29302 depcc="$CC" am_compiler_list=
29304 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
29305 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
29306 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
29307 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
29308 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29311 @@ -3053,8 +3553,8 @@ else
29315 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
29316 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
29317 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
29318 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
29319 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
29322 @@ -3072,10 +3572,9 @@ fi
29326 -# Check whether --enable-shared or --disable-shared was given.
29327 +# Check whether --enable-shared was given.
29328 if test "${enable_shared+set}" = set; then
29329 - enableval="$enable_shared"
29330 - p=${PACKAGE-default}
29331 + enableval=$enable_shared; p=${PACKAGE-default}
29333 yes) enable_shared=yes ;;
29334 no) enable_shared=no ;;
29335 @@ -3093,11 +3592,11 @@ no) enable_shared=no ;;
29340 -# Check whether --enable-static or --disable-static was given.
29343 +# Check whether --enable-static was given.
29344 if test "${enable_static+set}" = set; then
29345 - enableval="$enable_static"
29346 - p=${PACKAGE-default}
29347 + enableval=$enable_static; p=${PACKAGE-default}
29349 yes) enable_static=yes ;;
29350 no) enable_static=no ;;
29351 @@ -3115,11 +3614,11 @@ no) enable_static=no ;;
29356 -# Check whether --enable-fast-install or --disable-fast-install was given.
29359 +# Check whether --enable-fast-install was given.
29360 if test "${enable_fast_install+set}" = set; then
29361 - enableval="$enable_fast_install"
29362 - p=${PACKAGE-default}
29363 + enableval=$enable_fast_install; p=${PACKAGE-default}
29365 yes) enable_fast_install=yes ;;
29366 no) enable_fast_install=no ;;
29367 @@ -3137,20 +3636,21 @@ no) enable_fast_install=no ;;
29370 enable_fast_install=yes
29375 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
29376 +# Check whether --with-gnu-ld was given.
29377 if test "${with_gnu_ld+set}" = set; then
29378 - withval="$with_gnu_ld"
29379 - test "$withval" = no || with_gnu_ld=yes
29380 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29387 if test "$GCC" = yes; then
29388 # Check if gcc -print-prog-name=ld gives a path.
29389 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
29390 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
29391 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
29392 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
29395 # gcc leaves a trailing carriage return which upsets mingw
29396 @@ -3179,11 +3679,11 @@ echo $ECHO_N "checking for ld used by GC
29399 elif test "$with_gnu_ld" = yes; then
29400 - echo "$as_me:$LINENO: checking for GNU ld" >&5
29401 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
29402 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
29403 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
29405 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
29406 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
29407 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
29408 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
29410 if test "${lt_cv_path_LD+set}" = set; then
29411 echo $ECHO_N "(cached) $ECHO_C" >&6
29412 @@ -3212,17 +3712,17 @@ fi
29414 LD="$lt_cv_path_LD"
29415 if test -n "$LD"; then
29416 - echo "$as_me:$LINENO: result: $LD" >&5
29417 -echo "${ECHO_T}$LD" >&6
29418 + { echo "$as_me:$LINENO: result: $LD" >&5
29419 +echo "${ECHO_T}$LD" >&6; }
29421 - echo "$as_me:$LINENO: result: no" >&5
29422 -echo "${ECHO_T}no" >&6
29423 + { echo "$as_me:$LINENO: result: no" >&5
29424 +echo "${ECHO_T}no" >&6; }
29426 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
29427 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
29428 { (exit 1); exit 1; }; }
29429 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
29430 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
29431 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
29432 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
29433 if test "${lt_cv_prog_gnu_ld+set}" = set; then
29434 echo $ECHO_N "(cached) $ECHO_C" >&6
29436 @@ -3233,25 +3733,25 @@ else
29437 lt_cv_prog_gnu_ld=no
29440 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
29441 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
29442 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
29443 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
29444 with_gnu_ld=$lt_cv_prog_gnu_ld
29447 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
29448 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
29449 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
29450 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
29451 if test "${lt_cv_ld_reload_flag+set}" = set; then
29452 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 lt_cv_ld_reload_flag='-r'
29456 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
29457 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
29458 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
29459 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
29460 reload_flag=$lt_cv_ld_reload_flag
29461 test -n "$reload_flag" && reload_flag=" $reload_flag"
29463 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
29464 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
29465 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
29466 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
29467 if test "${lt_cv_path_NM+set}" = set; then
29468 echo $ECHO_N "(cached) $ECHO_C" >&6
29470 @@ -3286,22 +3786,22 @@ fi
29473 NM="$lt_cv_path_NM"
29474 -echo "$as_me:$LINENO: result: $NM" >&5
29475 -echo "${ECHO_T}$NM" >&6
29476 +{ echo "$as_me:$LINENO: result: $NM" >&5
29477 +echo "${ECHO_T}$NM" >&6; }
29479 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
29480 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
29481 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
29482 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
29484 if test "$LN_S" = "ln -s"; then
29485 - echo "$as_me:$LINENO: result: yes" >&5
29486 -echo "${ECHO_T}yes" >&6
29487 + { echo "$as_me:$LINENO: result: yes" >&5
29488 +echo "${ECHO_T}yes" >&6; }
29490 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
29491 -echo "${ECHO_T}no, using $LN_S" >&6
29492 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
29493 +echo "${ECHO_T}no, using $LN_S" >&6; }
29496 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
29497 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
29498 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
29499 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
29500 if test "${lt_cv_deplibs_check_method+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29503 @@ -3463,8 +3963,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
29507 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
29508 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
29509 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
29510 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
29511 file_magic_cmd=$lt_cv_file_magic_cmd
29512 deplibs_check_method=$lt_cv_deplibs_check_method
29514 @@ -3474,8 +3974,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
29515 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
29517 # find the maximum length of command line arguments
29518 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
29519 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
29520 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
29521 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
29522 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
29523 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 @@ -3526,11 +4026,11 @@ else
29528 if test -n "$lt_cv_sys_max_cmd_len" ; then
29529 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
29530 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
29531 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
29532 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
29534 - echo "$as_me:$LINENO: result: none" >&5
29535 -echo "${ECHO_T}none" >&6
29536 + { echo "$as_me:$LINENO: result: none" >&5
29537 +echo "${ECHO_T}none" >&6; }
29541 @@ -3538,8 +4038,8 @@ fi
29542 case $deplibs_check_method in
29544 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
29545 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
29546 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
29547 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
29548 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
29549 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
29550 echo $ECHO_N "(cached) $ECHO_C" >&6
29552 @@ -3593,17 +4093,17 @@ fi
29554 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
29555 if test -n "$MAGIC_CMD"; then
29556 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29557 -echo "${ECHO_T}$MAGIC_CMD" >&6
29558 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29559 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
29561 - echo "$as_me:$LINENO: result: no" >&5
29562 -echo "${ECHO_T}no" >&6
29563 + { echo "$as_me:$LINENO: result: no" >&5
29564 +echo "${ECHO_T}no" >&6; }
29567 if test -z "$lt_cv_path_MAGIC_CMD"; then
29568 if test -n "$ac_tool_prefix"; then
29569 - echo "$as_me:$LINENO: checking for file" >&5
29570 -echo $ECHO_N "checking for file... $ECHO_C" >&6
29571 + { echo "$as_me:$LINENO: checking for file" >&5
29572 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
29573 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29576 @@ -3657,11 +4157,11 @@ fi
29578 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
29579 if test -n "$MAGIC_CMD"; then
29580 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29581 -echo "${ECHO_T}$MAGIC_CMD" >&6
29582 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29583 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
29585 - echo "$as_me:$LINENO: result: no" >&5
29586 -echo "${ECHO_T}no" >&6
29587 + { echo "$as_me:$LINENO: result: no" >&5
29588 +echo "${ECHO_T}no" >&6; }
29592 @@ -3676,8 +4176,8 @@ esac
29593 if test -n "$ac_tool_prefix"; then
29594 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
29595 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
29596 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29597 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29598 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29599 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29600 if test "${ac_cv_prog_RANLIB+set}" = set; then
29601 echo $ECHO_N "(cached) $ECHO_C" >&6
29603 @@ -3690,32 +4190,34 @@ do
29605 test -z "$as_dir" && as_dir=.
29606 for ac_exec_ext in '' $ac_executable_extensions; do
29607 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29608 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29609 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
29610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29619 RANLIB=$ac_cv_prog_RANLIB
29620 if test -n "$RANLIB"; then
29621 - echo "$as_me:$LINENO: result: $RANLIB" >&5
29622 -echo "${ECHO_T}$RANLIB" >&6
29623 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
29624 +echo "${ECHO_T}$RANLIB" >&6; }
29626 - echo "$as_me:$LINENO: result: no" >&5
29627 -echo "${ECHO_T}no" >&6
29628 + { echo "$as_me:$LINENO: result: no" >&5
29629 +echo "${ECHO_T}no" >&6; }
29634 if test -z "$ac_cv_prog_RANLIB"; then
29635 ac_ct_RANLIB=$RANLIB
29636 # Extract the first word of "ranlib", so it can be a program name with args.
29637 set dummy ranlib; ac_word=$2
29638 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29639 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29640 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29641 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29642 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
29643 echo $ECHO_N "(cached) $ECHO_C" >&6
29645 @@ -3728,27 +4230,41 @@ do
29647 test -z "$as_dir" && as_dir=.
29648 for ac_exec_ext in '' $ac_executable_extensions; do
29649 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29650 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29651 ac_cv_prog_ac_ct_RANLIB="ranlib"
29652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29659 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
29662 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
29663 if test -n "$ac_ct_RANLIB"; then
29664 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
29665 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
29666 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
29667 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
29669 - echo "$as_me:$LINENO: result: no" >&5
29670 -echo "${ECHO_T}no" >&6
29671 + { echo "$as_me:$LINENO: result: no" >&5
29672 +echo "${ECHO_T}no" >&6; }
29675 - RANLIB=$ac_ct_RANLIB
29676 + if test "x$ac_ct_RANLIB" = x; then
29679 + case $cross_compiling:$ac_tool_warned in
29681 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29682 +whose name does not start with the host triplet. If you think this
29683 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29684 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29685 +whose name does not start with the host triplet. If you think this
29686 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29687 +ac_tool_warned=yes ;;
29689 + RANLIB=$ac_ct_RANLIB
29692 RANLIB="$ac_cv_prog_RANLIB"
29694 @@ -3756,8 +4272,8 @@ fi
29695 if test -n "$ac_tool_prefix"; then
29696 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
29697 set dummy ${ac_tool_prefix}strip; ac_word=$2
29698 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29699 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29700 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29701 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29702 if test "${ac_cv_prog_STRIP+set}" = set; then
29703 echo $ECHO_N "(cached) $ECHO_C" >&6
29705 @@ -3770,32 +4286,34 @@ do
29707 test -z "$as_dir" && as_dir=.
29708 for ac_exec_ext in '' $ac_executable_extensions; do
29709 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29710 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29711 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
29712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29721 STRIP=$ac_cv_prog_STRIP
29722 if test -n "$STRIP"; then
29723 - echo "$as_me:$LINENO: result: $STRIP" >&5
29724 -echo "${ECHO_T}$STRIP" >&6
29725 + { echo "$as_me:$LINENO: result: $STRIP" >&5
29726 +echo "${ECHO_T}$STRIP" >&6; }
29728 - echo "$as_me:$LINENO: result: no" >&5
29729 -echo "${ECHO_T}no" >&6
29730 + { echo "$as_me:$LINENO: result: no" >&5
29731 +echo "${ECHO_T}no" >&6; }
29736 if test -z "$ac_cv_prog_STRIP"; then
29738 # Extract the first word of "strip", so it can be a program name with args.
29739 set dummy strip; ac_word=$2
29740 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29741 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29742 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29743 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29744 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
29745 echo $ECHO_N "(cached) $ECHO_C" >&6
29747 @@ -3808,27 +4326,41 @@ do
29749 test -z "$as_dir" && as_dir=.
29750 for ac_exec_ext in '' $ac_executable_extensions; do
29751 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29752 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29753 ac_cv_prog_ac_ct_STRIP="strip"
29754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29761 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
29764 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
29765 if test -n "$ac_ct_STRIP"; then
29766 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29767 -echo "${ECHO_T}$ac_ct_STRIP" >&6
29768 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29769 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
29771 - echo "$as_me:$LINENO: result: no" >&5
29772 -echo "${ECHO_T}no" >&6
29773 + { echo "$as_me:$LINENO: result: no" >&5
29774 +echo "${ECHO_T}no" >&6; }
29777 - STRIP=$ac_ct_STRIP
29778 + if test "x$ac_ct_STRIP" = x; then
29781 + case $cross_compiling:$ac_tool_warned in
29783 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29784 +whose name does not start with the host triplet. If you think this
29785 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29786 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29787 +whose name does not start with the host triplet. If you think this
29788 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29789 +ac_tool_warned=yes ;;
29791 + STRIP=$ac_ct_STRIP
29794 STRIP="$ac_cv_prog_STRIP"
29796 @@ -3843,22 +4375,22 @@ test "$GCC" = yes && libtool_flags="$lib
29797 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
29800 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
29801 +# Check whether --enable-libtool-lock was given.
29802 if test "${enable_libtool_lock+set}" = set; then
29803 - enableval="$enable_libtool_lock"
29804 + enableval=$enable_libtool_lock;
29808 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
29809 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
29812 -# Check whether --with-pic or --without-pic was given.
29813 +# Check whether --with-pic was given.
29814 if test "${with_pic+set}" = set; then
29815 - withval="$with_pic"
29816 - pic_mode="$withval"
29817 + withval=$with_pic; pic_mode="$withval"
29823 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
29824 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
29826 @@ -3867,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags
29829 # Find out which ABI we are using.
29830 - echo '#line 3870 "configure"' > conftest.$ac_ext
29831 + echo '#line 4402 "configure"' > conftest.$ac_ext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29833 (eval $ac_compile) 2>&5
29835 @@ -3972,13 +4504,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
29836 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
29837 SAVE_CFLAGS="$CFLAGS"
29838 CFLAGS="$CFLAGS -belf"
29839 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
29840 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
29841 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
29842 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
29843 if test "${lt_cv_cc_needs_belf+set}" = set; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29849 ac_cpp='$CPP $CPPFLAGS'
29850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29851 @@ -4001,35 +4532,32 @@ main ()
29854 rm -f conftest.$ac_objext conftest$ac_exeext
29855 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29856 - (eval $ac_link) 2>conftest.er1
29857 +if { (ac_try="$ac_link"
29858 +case "(($ac_try" in
29859 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29860 + *) ac_try_echo=$ac_try;;
29862 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 + (eval "$ac_link") 2>conftest.er1
29865 grep -v '^ *+' conftest.er1 >conftest.err
29867 cat conftest.err >&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 - (exit $ac_status); } &&
29870 - { ac_try='test -z "$ac_c_werror_flag"
29871 - || test ! -s conftest.err'
29872 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29873 - (eval $ac_try) 2>&5
29875 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 - (exit $ac_status); }; } &&
29877 - { ac_try='test -s conftest$ac_exeext'
29878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29879 - (eval $ac_try) 2>&5
29881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 - (exit $ac_status); }; }; then
29883 + (exit $ac_status); } && {
29884 + test -z "$ac_c_werror_flag" ||
29885 + test ! -s conftest.err
29886 + } && test -s conftest$ac_exeext &&
29887 + $as_test_x conftest$ac_exeext; then
29888 lt_cv_cc_needs_belf=yes
29890 echo "$as_me: failed program was:" >&5
29891 sed 's/^/| /' conftest.$ac_ext >&5
29893 -lt_cv_cc_needs_belf=no
29894 + lt_cv_cc_needs_belf=no
29896 -rm -f conftest.err conftest.$ac_objext \
29898 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29899 conftest$ac_exeext conftest.$ac_ext
29901 ac_cpp='$CPP $CPPFLAGS'
29902 @@ -4038,8 +4566,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
29903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29906 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
29907 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
29908 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
29909 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
29910 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
29911 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
29912 CFLAGS="$SAVE_CFLAGS"
29913 @@ -4069,39 +4597,58 @@ _ACEOF
29915 # The following way of writing the cache mishandles newlines in values,
29916 # but we know of no workaround that is simple, portable, and efficient.
29917 -# So, don't put newlines in cache variables' values.
29918 +# So, we kill variables containing newlines.
29919 # Ultrix sh set writes to stderr and can't be redirected directly,
29920 # and sets the high bit in the cache file unless we assign to the vars.
29923 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29924 + eval ac_val=\$$ac_var
29925 + case $ac_val in #(
29927 + case $ac_var in #(
29928 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29929 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29931 + case $ac_var in #(
29932 + _ | IFS | as_nl) ;; #(
29933 + *) $as_unset $ac_var ;;
29939 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
29941 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
29942 + *${as_nl}ac_space=\ *)
29943 # `set' does not quote correctly, so add quotes (double-quote
29944 # substitution turns \\\\ into \\, and sed turns \\ into \).
29947 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29951 # `set' quotes correctly as required by POSIX, so do not add quotes.
29953 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29954 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29962 + /^ac_cv_env_/b end
29966 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29968 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29969 - : end' >>confcache
29970 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
29971 - if test -w $cache_file; then
29972 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29973 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29974 + :end' >>confcache
29975 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29976 + if test -w "$cache_file"; then
29977 + test "x$cache_file" != "x/dev/null" &&
29978 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
29979 +echo "$as_me: updating cache $cache_file" >&6;}
29980 cat confcache >$cache_file
29982 - echo "not updating unwritable cache $cache_file"
29983 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29984 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29988 @@ -4127,8 +4674,8 @@ if test -r "$cache_file"; then
29989 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
29990 echo "$as_me: loading cache $cache_file" >&6;}
29991 case $cache_file in
29992 - [\\/]* | ?:[\\/]* ) . $cache_file;;
29993 - *) . ./$cache_file;;
29994 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
29995 + *) . "./$cache_file";;
29999 @@ -4154,10 +4701,9 @@ exec 5>>./config.log
30003 -# Check whether --enable-targets or --disable-targets was given.
30004 +# Check whether --enable-targets was given.
30005 if test "${enable_targets+set}" = set; then
30006 - enableval="$enable_targets"
30007 - case "${enableval}" in
30008 + enableval=$enable_targets; case "${enableval}" in
30009 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
30010 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
30011 { (exit 1); exit 1; }; }
30012 @@ -4165,31 +4711,32 @@ echo "$as_me: error: enable-targets opti
30013 no) enable_targets= ;;
30014 *) enable_targets=$enableval ;;
30016 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
30018 +# Check whether --enable-commonbfdlib was given.
30019 if test "${enable_commonbfdlib+set}" = set; then
30020 - enableval="$enable_commonbfdlib"
30021 - case "${enableval}" in
30022 + enableval=$enable_commonbfdlib; case "${enableval}" in
30023 yes) commonbfdlib=true ;;
30024 no) commonbfdlib=false ;;
30025 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
30026 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
30027 { (exit 1); exit 1; }; } ;;
30033 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
30035 -# Check whether --enable-werror or --disable-werror was given.
30036 +# Check whether --enable-werror was given.
30037 if test "${enable_werror+set}" = set; then
30038 - enableval="$enable_werror"
30039 - case "${enableval}" in
30040 + enableval=$enable_werror; case "${enableval}" in
30041 yes | y) ERROR_ON_WARNING="yes" ;;
30042 no | n) ERROR_ON_WARNING="no" ;;
30043 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
30044 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
30045 { (exit 1); exit 1; }; } ;;
30051 # Enable -Werror by default when using gcc
30052 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
30053 @@ -4206,10 +4753,9 @@ if test "${GCC}" = yes ; then
30054 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
30057 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
30058 +# Check whether --enable-build-warnings was given.
30059 if test "${enable_build_warnings+set}" = set; then
30060 - enableval="$enable_build_warnings"
30061 - case "${enableval}" in
30062 + enableval=$enable_build_warnings; case "${enableval}" in
30063 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
30064 no) if test "${GCC}" = yes ; then
30066 @@ -4220,7 +4766,8 @@ if test "${enable_build_warnings+set}" =
30067 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
30068 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
30074 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
30075 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
30076 @@ -4230,7 +4777,7 @@ fi
30080 - ac_config_headers="$ac_config_headers config.h:config.in"
30081 +ac_config_headers="$ac_config_headers config.h:config.in"
30084 if test -z "$target" ; then
30085 @@ -4252,8 +4799,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
30086 if test -n "$ac_tool_prefix"; then
30087 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
30088 set dummy ${ac_tool_prefix}gcc; ac_word=$2
30089 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30090 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30091 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30092 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30093 if test "${ac_cv_prog_CC+set}" = set; then
30094 echo $ECHO_N "(cached) $ECHO_C" >&6
30096 @@ -4266,32 +4813,34 @@ do
30098 test -z "$as_dir" && as_dir=.
30099 for ac_exec_ext in '' $ac_executable_extensions; do
30100 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30101 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30102 ac_cv_prog_CC="${ac_tool_prefix}gcc"
30103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30113 if test -n "$CC"; then
30114 - echo "$as_me:$LINENO: result: $CC" >&5
30115 -echo "${ECHO_T}$CC" >&6
30116 + { echo "$as_me:$LINENO: result: $CC" >&5
30117 +echo "${ECHO_T}$CC" >&6; }
30119 - echo "$as_me:$LINENO: result: no" >&5
30120 -echo "${ECHO_T}no" >&6
30121 + { echo "$as_me:$LINENO: result: no" >&5
30122 +echo "${ECHO_T}no" >&6; }
30127 if test -z "$ac_cv_prog_CC"; then
30129 # Extract the first word of "gcc", so it can be a program name with args.
30130 set dummy gcc; ac_word=$2
30131 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30132 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30133 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30134 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
30136 echo $ECHO_N "(cached) $ECHO_C" >&6
30138 @@ -4304,36 +4853,51 @@ do
30140 test -z "$as_dir" && as_dir=.
30141 for ac_exec_ext in '' $ac_executable_extensions; do
30142 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30143 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30144 ac_cv_prog_ac_ct_CC="gcc"
30145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30155 if test -n "$ac_ct_CC"; then
30156 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30157 -echo "${ECHO_T}$ac_ct_CC" >&6
30158 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30159 +echo "${ECHO_T}$ac_ct_CC" >&6; }
30161 - echo "$as_me:$LINENO: result: no" >&5
30162 -echo "${ECHO_T}no" >&6
30163 + { echo "$as_me:$LINENO: result: no" >&5
30164 +echo "${ECHO_T}no" >&6; }
30168 + if test "x$ac_ct_CC" = x; then
30171 + case $cross_compiling:$ac_tool_warned in
30173 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30174 +whose name does not start with the host triplet. If you think this
30175 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30176 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30177 +whose name does not start with the host triplet. If you think this
30178 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30179 +ac_tool_warned=yes ;;
30184 CC="$ac_cv_prog_CC"
30187 if test -z "$CC"; then
30188 - if test -n "$ac_tool_prefix"; then
30189 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30190 + if test -n "$ac_tool_prefix"; then
30191 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30192 set dummy ${ac_tool_prefix}cc; ac_word=$2
30193 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30194 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30195 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30196 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30197 if test "${ac_cv_prog_CC+set}" = set; then
30198 echo $ECHO_N "(cached) $ECHO_C" >&6
30200 @@ -4346,74 +4910,34 @@ do
30202 test -z "$as_dir" && as_dir=.
30203 for ac_exec_ext in '' $ac_executable_extensions; do
30204 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30205 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30206 ac_cv_prog_CC="${ac_tool_prefix}cc"
30207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30217 if test -n "$CC"; then
30218 - echo "$as_me:$LINENO: result: $CC" >&5
30219 -echo "${ECHO_T}$CC" >&6
30221 - echo "$as_me:$LINENO: result: no" >&5
30222 -echo "${ECHO_T}no" >&6
30226 -if test -z "$ac_cv_prog_CC"; then
30228 - # Extract the first word of "cc", so it can be a program name with args.
30229 -set dummy cc; ac_word=$2
30230 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30231 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30232 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
30233 - echo $ECHO_N "(cached) $ECHO_C" >&6
30235 - if test -n "$ac_ct_CC"; then
30236 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30238 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30239 -for as_dir in $PATH
30242 - test -z "$as_dir" && as_dir=.
30243 - for ac_exec_ext in '' $ac_executable_extensions; do
30244 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30245 - ac_cv_prog_ac_ct_CC="cc"
30246 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30254 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
30255 -if test -n "$ac_ct_CC"; then
30256 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30257 -echo "${ECHO_T}$ac_ct_CC" >&6
30258 + { echo "$as_me:$LINENO: result: $CC" >&5
30259 +echo "${ECHO_T}$CC" >&6; }
30261 - echo "$as_me:$LINENO: result: no" >&5
30262 -echo "${ECHO_T}no" >&6
30263 + { echo "$as_me:$LINENO: result: no" >&5
30264 +echo "${ECHO_T}no" >&6; }
30269 - CC="$ac_cv_prog_CC"
30274 if test -z "$CC"; then
30275 # Extract the first word of "cc", so it can be a program name with args.
30276 set dummy cc; ac_word=$2
30277 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30278 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30279 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30280 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30281 if test "${ac_cv_prog_CC+set}" = set; then
30282 echo $ECHO_N "(cached) $ECHO_C" >&6
30284 @@ -4427,7 +4951,7 @@ do
30286 test -z "$as_dir" && as_dir=.
30287 for ac_exec_ext in '' $ac_executable_extensions; do
30288 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30289 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30290 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
30291 ac_prog_rejected=yes
30293 @@ -4438,6 +4962,7 @@ do
30299 if test $ac_prog_rejected = yes; then
30300 # We found a bogon in the path, so make sure we never use it.
30301 @@ -4455,22 +4980,23 @@ fi
30304 if test -n "$CC"; then
30305 - echo "$as_me:$LINENO: result: $CC" >&5
30306 -echo "${ECHO_T}$CC" >&6
30307 + { echo "$as_me:$LINENO: result: $CC" >&5
30308 +echo "${ECHO_T}$CC" >&6; }
30310 - echo "$as_me:$LINENO: result: no" >&5
30311 -echo "${ECHO_T}no" >&6
30312 + { echo "$as_me:$LINENO: result: no" >&5
30313 +echo "${ECHO_T}no" >&6; }
30318 if test -z "$CC"; then
30319 if test -n "$ac_tool_prefix"; then
30320 - for ac_prog in cl
30321 + for ac_prog in cl.exe
30323 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30324 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
30325 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30326 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30327 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30328 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30329 if test "${ac_cv_prog_CC+set}" = set; then
30330 echo $ECHO_N "(cached) $ECHO_C" >&6
30332 @@ -4483,36 +5009,38 @@ do
30334 test -z "$as_dir" && as_dir=.
30335 for ac_exec_ext in '' $ac_executable_extensions; do
30336 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30337 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30338 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
30339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30349 if test -n "$CC"; then
30350 - echo "$as_me:$LINENO: result: $CC" >&5
30351 -echo "${ECHO_T}$CC" >&6
30352 + { echo "$as_me:$LINENO: result: $CC" >&5
30353 +echo "${ECHO_T}$CC" >&6; }
30355 - echo "$as_me:$LINENO: result: no" >&5
30356 -echo "${ECHO_T}no" >&6
30357 + { echo "$as_me:$LINENO: result: no" >&5
30358 +echo "${ECHO_T}no" >&6; }
30362 test -n "$CC" && break
30365 if test -z "$CC"; then
30367 - for ac_prog in cl
30368 + for ac_prog in cl.exe
30370 # Extract the first word of "$ac_prog", so it can be a program name with args.
30371 set dummy $ac_prog; ac_word=$2
30372 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30373 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30374 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30375 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
30377 echo $ECHO_N "(cached) $ECHO_C" >&6
30379 @@ -4525,29 +5053,45 @@ do
30381 test -z "$as_dir" && as_dir=.
30382 for ac_exec_ext in '' $ac_executable_extensions; do
30383 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30384 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30385 ac_cv_prog_ac_ct_CC="$ac_prog"
30386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30395 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30396 if test -n "$ac_ct_CC"; then
30397 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30398 -echo "${ECHO_T}$ac_ct_CC" >&6
30399 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30400 +echo "${ECHO_T}$ac_ct_CC" >&6; }
30402 - echo "$as_me:$LINENO: result: no" >&5
30403 -echo "${ECHO_T}no" >&6
30404 + { echo "$as_me:$LINENO: result: no" >&5
30405 +echo "${ECHO_T}no" >&6; }
30409 test -n "$ac_ct_CC" && break
30413 + if test "x$ac_ct_CC" = x; then
30416 + case $cross_compiling:$ac_tool_warned in
30418 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30419 +whose name does not start with the host triplet. If you think this
30420 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30421 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30422 +whose name does not start with the host triplet. If you think this
30423 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30424 +ac_tool_warned=yes ;;
30431 @@ -4560,27 +5104,41 @@ See \`config.log' for more details." >&2
30432 { (exit 1); exit 1; }; }
30434 # Provide some information about the compiler.
30435 -echo "$as_me:$LINENO:" \
30436 - "checking for C compiler version" >&5
30437 +echo "$as_me:$LINENO: checking for C compiler version" >&5
30438 ac_compiler=`set X $ac_compile; echo $2`
30439 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
30440 - (eval $ac_compiler --version </dev/null >&5) 2>&5
30441 +{ (ac_try="$ac_compiler --version >&5"
30442 +case "(($ac_try" in
30443 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30444 + *) ac_try_echo=$ac_try;;
30446 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30447 + (eval "$ac_compiler --version >&5") 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }
30451 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
30452 - (eval $ac_compiler -v </dev/null >&5) 2>&5
30453 +{ (ac_try="$ac_compiler -v >&5"
30454 +case "(($ac_try" in
30455 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30456 + *) ac_try_echo=$ac_try;;
30458 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30459 + (eval "$ac_compiler -v >&5") 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }
30463 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
30464 - (eval $ac_compiler -V </dev/null >&5) 2>&5
30465 +{ (ac_try="$ac_compiler -V >&5"
30466 +case "(($ac_try" in
30467 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30468 + *) ac_try_echo=$ac_try;;
30470 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30471 + (eval "$ac_compiler -V >&5") 2>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }
30476 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
30477 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
30478 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
30479 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
30480 if test "${ac_cv_c_compiler_gnu+set}" = set; then
30481 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 @@ -4603,50 +5161,49 @@ main ()
30486 rm -f conftest.$ac_objext
30487 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30488 - (eval $ac_compile) 2>conftest.er1
30489 +if { (ac_try="$ac_compile"
30490 +case "(($ac_try" in
30491 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30492 + *) ac_try_echo=$ac_try;;
30494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30495 + (eval "$ac_compile") 2>conftest.er1
30497 grep -v '^ *+' conftest.er1 >conftest.err
30499 cat conftest.err >&5
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 - (exit $ac_status); } &&
30502 - { ac_try='test -z "$ac_c_werror_flag"
30503 - || test ! -s conftest.err'
30504 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 - (eval $ac_try) 2>&5
30507 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30508 - (exit $ac_status); }; } &&
30509 - { ac_try='test -s conftest.$ac_objext'
30510 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30511 - (eval $ac_try) 2>&5
30513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 - (exit $ac_status); }; }; then
30515 + (exit $ac_status); } && {
30516 + test -z "$ac_c_werror_flag" ||
30517 + test ! -s conftest.err
30518 + } && test -s conftest.$ac_objext; then
30519 ac_compiler_gnu=yes
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.$ac_ext >&5
30524 -ac_compiler_gnu=no
30525 + ac_compiler_gnu=no
30527 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30529 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30530 ac_cv_c_compiler_gnu=$ac_compiler_gnu
30533 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
30534 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
30535 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
30536 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
30537 GCC=`test $ac_compiler_gnu = yes && echo yes`
30538 ac_test_CFLAGS=${CFLAGS+set}
30539 ac_save_CFLAGS=$CFLAGS
30541 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
30542 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
30543 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
30544 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
30545 if test "${ac_cv_prog_cc_g+set}" = set; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30548 - cat >conftest.$ac_ext <<_ACEOF
30549 + ac_save_c_werror_flag=$ac_c_werror_flag
30550 + ac_c_werror_flag=yes
30551 + ac_cv_prog_cc_g=no
30553 + cat >conftest.$ac_ext <<_ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 @@ -4662,311 +5219,248 @@ main ()
30560 rm -f conftest.$ac_objext
30561 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30562 - (eval $ac_compile) 2>conftest.er1
30563 +if { (ac_try="$ac_compile"
30564 +case "(($ac_try" in
30565 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30566 + *) ac_try_echo=$ac_try;;
30568 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30569 + (eval "$ac_compile") 2>conftest.er1
30571 grep -v '^ *+' conftest.er1 >conftest.err
30573 cat conftest.err >&5
30574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575 - (exit $ac_status); } &&
30576 - { ac_try='test -z "$ac_c_werror_flag"
30577 - || test ! -s conftest.err'
30578 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579 - (eval $ac_try) 2>&5
30581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 - (exit $ac_status); }; } &&
30583 - { ac_try='test -s conftest.$ac_objext'
30584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585 - (eval $ac_try) 2>&5
30587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 - (exit $ac_status); }; }; then
30589 + (exit $ac_status); } && {
30590 + test -z "$ac_c_werror_flag" ||
30591 + test ! -s conftest.err
30592 + } && test -s conftest.$ac_objext; then
30593 ac_cv_prog_cc_g=yes
30595 echo "$as_me: failed program was:" >&5
30596 sed 's/^/| /' conftest.$ac_ext >&5
30598 -ac_cv_prog_cc_g=no
30600 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30602 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30603 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
30604 -if test "$ac_test_CFLAGS" = set; then
30605 - CFLAGS=$ac_save_CFLAGS
30606 -elif test $ac_cv_prog_cc_g = yes; then
30607 - if test "$GCC" = yes; then
30613 - if test "$GCC" = yes; then
30619 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
30620 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
30621 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
30622 - echo $ECHO_N "(cached) $ECHO_C" >&6
30624 - ac_cv_prog_cc_stdc=no
30626 -cat >conftest.$ac_ext <<_ACEOF
30628 + cat >conftest.$ac_ext <<_ACEOF
30631 cat confdefs.h >>conftest.$ac_ext
30632 cat >>conftest.$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30634 -#include <stdarg.h>
30635 -#include <stdio.h>
30636 -#include <sys/types.h>
30637 -#include <sys/stat.h>
30638 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
30639 -struct buf { int x; };
30640 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
30641 -static char *e (p, i)
30647 -static char *f (char * (*g) (char **, int), char **p, ...)
30652 - s = g (p, va_arg (v,int));
30657 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
30658 - function prototypes and stuff, but not '\xHH' hex character constants.
30659 - These don't provoke an error unfortunately, instead are silently treated
30660 - as 'x'. The following induces an error, until -std1 is added to get
30661 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
30662 - array size at least. It's necessary to write '\x00'==0 to get something
30663 - that's true only with -std1. */
30664 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
30666 -int test (int i, double x);
30667 -struct s1 {int (*f) (int a);};
30668 -struct s2 {int (*f) (double a);};
30669 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
30675 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
30681 -# Don't try gcc -ansi; that turns off useful extensions and
30682 -# breaks some systems' header files.
30683 -# AIX -qlanglvl=ansi
30684 -# Ultrix and OSF/1 -std1
30685 -# HP-UX 10.20 and later -Ae
30686 -# HP-UX older versions -Aa -D_HPUX_SOURCE
30687 -# SVR4 -Xc -D__EXTENSIONS__
30688 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
30690 - CC="$ac_save_CC $ac_arg"
30691 - rm -f conftest.$ac_objext
30692 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30693 - (eval $ac_compile) 2>conftest.er1
30694 +rm -f conftest.$ac_objext
30695 +if { (ac_try="$ac_compile"
30696 +case "(($ac_try" in
30697 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30698 + *) ac_try_echo=$ac_try;;
30700 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30701 + (eval "$ac_compile") 2>conftest.er1
30703 grep -v '^ *+' conftest.er1 >conftest.err
30705 cat conftest.err >&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 - (exit $ac_status); } &&
30708 - { ac_try='test -z "$ac_c_werror_flag"
30709 - || test ! -s conftest.err'
30710 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 - (eval $ac_try) 2>&5
30713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 - (exit $ac_status); }; } &&
30715 - { ac_try='test -s conftest.$ac_objext'
30716 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30717 - (eval $ac_try) 2>&5
30719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 - (exit $ac_status); }; }; then
30721 - ac_cv_prog_cc_stdc=$ac_arg
30723 + (exit $ac_status); } && {
30724 + test -z "$ac_c_werror_flag" ||
30725 + test ! -s conftest.err
30726 + } && test -s conftest.$ac_objext; then
30729 echo "$as_me: failed program was:" >&5
30730 sed 's/^/| /' conftest.$ac_ext >&5
30733 -rm -f conftest.err conftest.$ac_objext
30735 -rm -f conftest.$ac_ext conftest.$ac_objext
30740 -case "x$ac_cv_prog_cc_stdc" in
30742 - echo "$as_me:$LINENO: result: none needed" >&5
30743 -echo "${ECHO_T}none needed" >&6 ;;
30745 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
30746 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
30747 - CC="$CC $ac_cv_prog_cc_stdc" ;;
30750 -# Some people use a C++ compiler to compile C. Since we use `exit',
30751 -# in C++ we need to declare it. In case someone uses the same compiler
30752 -# for both compiling C and C++ we need to have the C++ compiler decide
30753 -# the declaration of exit, since it's the most demanding environment.
30754 -cat >conftest.$ac_ext <<_ACEOF
30755 -#ifndef __cplusplus
30759 -rm -f conftest.$ac_objext
30760 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30761 - (eval $ac_compile) 2>conftest.er1
30763 - grep -v '^ *+' conftest.er1 >conftest.err
30764 - rm -f conftest.er1
30765 - cat conftest.err >&5
30766 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 - (exit $ac_status); } &&
30768 - { ac_try='test -z "$ac_c_werror_flag"
30769 - || test ! -s conftest.err'
30770 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771 - (eval $ac_try) 2>&5
30773 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 - (exit $ac_status); }; } &&
30775 - { ac_try='test -s conftest.$ac_objext'
30776 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 - (eval $ac_try) 2>&5
30779 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 - (exit $ac_status); }; }; then
30781 - for ac_declaration in \
30783 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
30784 - 'extern "C" void std::exit (int); using std::exit;' \
30785 - 'extern "C" void exit (int) throw ();' \
30786 - 'extern "C" void exit (int);' \
30787 - 'void exit (int);'
30789 - cat >conftest.$ac_ext <<_ACEOF
30790 + ac_c_werror_flag=$ac_save_c_werror_flag
30792 + cat >conftest.$ac_ext <<_ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30799 -#include <stdlib.h>
30810 rm -f conftest.$ac_objext
30811 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30812 - (eval $ac_compile) 2>conftest.er1
30813 +if { (ac_try="$ac_compile"
30814 +case "(($ac_try" in
30815 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30816 + *) ac_try_echo=$ac_try;;
30818 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30819 + (eval "$ac_compile") 2>conftest.er1
30821 grep -v '^ *+' conftest.er1 >conftest.err
30823 cat conftest.err >&5
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 - (exit $ac_status); } &&
30826 - { ac_try='test -z "$ac_c_werror_flag"
30827 - || test ! -s conftest.err'
30828 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 - (eval $ac_try) 2>&5
30831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 - (exit $ac_status); }; } &&
30833 - { ac_try='test -s conftest.$ac_objext'
30834 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 - (eval $ac_try) 2>&5
30837 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 - (exit $ac_status); }; }; then
30840 + (exit $ac_status); } && {
30841 + test -z "$ac_c_werror_flag" ||
30842 + test ! -s conftest.err
30843 + } && test -s conftest.$ac_objext; then
30844 + ac_cv_prog_cc_g=yes
30846 echo "$as_me: failed program was:" >&5
30847 sed 's/^/| /' conftest.$ac_ext >&5
30852 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30853 - cat >conftest.$ac_ext <<_ACEOF
30855 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30858 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30862 + ac_c_werror_flag=$ac_save_c_werror_flag
30864 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30865 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
30866 +if test "$ac_test_CFLAGS" = set; then
30867 + CFLAGS=$ac_save_CFLAGS
30868 +elif test $ac_cv_prog_cc_g = yes; then
30869 + if test "$GCC" = yes; then
30875 + if test "$GCC" = yes; then
30881 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
30882 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
30883 +if test "${ac_cv_prog_cc_c89+set}" = set; then
30884 + echo $ECHO_N "(cached) $ECHO_C" >&6
30886 + ac_cv_prog_cc_c89=no
30888 +cat >conftest.$ac_ext <<_ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30895 +#include <stdarg.h>
30896 +#include <stdio.h>
30897 +#include <sys/types.h>
30898 +#include <sys/stat.h>
30899 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
30900 +struct buf { int x; };
30901 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
30902 +static char *e (p, i)
30908 +static char *f (char * (*g) (char **, int), char **p, ...)
30913 + s = g (p, va_arg (v,int));
30918 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
30919 + function prototypes and stuff, but not '\xHH' hex character constants.
30920 + These don't provoke an error unfortunately, instead are silently treated
30921 + as 'x'. The following induces an error, until -std is added to get
30922 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
30923 + array size at least. It's necessary to write '\x00'==0 to get something
30924 + that's true only with -std. */
30925 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
30927 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
30928 + inside strings and character constants. */
30929 +#define FOO(x) 'x'
30930 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
30932 +int test (int i, double x);
30933 +struct s1 {int (*f) (int a);};
30934 +struct s2 {int (*f) (double a);};
30935 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
30942 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
30947 -rm -f conftest.$ac_objext
30948 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30949 - (eval $ac_compile) 2>conftest.er1
30950 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
30951 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
30953 + CC="$ac_save_CC $ac_arg"
30954 + rm -f conftest.$ac_objext
30955 +if { (ac_try="$ac_compile"
30956 +case "(($ac_try" in
30957 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30958 + *) ac_try_echo=$ac_try;;
30960 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30961 + (eval "$ac_compile") 2>conftest.er1
30963 grep -v '^ *+' conftest.er1 >conftest.err
30965 cat conftest.err >&5
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 - (exit $ac_status); } &&
30968 - { ac_try='test -z "$ac_c_werror_flag"
30969 - || test ! -s conftest.err'
30970 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30971 - (eval $ac_try) 2>&5
30973 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30974 - (exit $ac_status); }; } &&
30975 - { ac_try='test -s conftest.$ac_objext'
30976 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30977 - (eval $ac_try) 2>&5
30979 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30980 - (exit $ac_status); }; }; then
30982 + (exit $ac_status); } && {
30983 + test -z "$ac_c_werror_flag" ||
30984 + test ! -s conftest.err
30985 + } && test -s conftest.$ac_objext; then
30986 + ac_cv_prog_cc_c89=$ac_arg
30988 echo "$as_me: failed program was:" >&5
30989 sed 's/^/| /' conftest.$ac_ext >&5
30993 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30995 +rm -f core conftest.err conftest.$ac_objext
30996 + test "x$ac_cv_prog_cc_c89" != "xno" && break
30999 -if test -n "$ac_declaration"; then
31000 - echo '#ifdef __cplusplus' >>confdefs.h
31001 - echo $ac_declaration >>confdefs.h
31002 - echo '#endif' >>confdefs.h
31003 +rm -f conftest.$ac_ext
31008 +case "x$ac_cv_prog_cc_c89" in
31010 + { echo "$as_me:$LINENO: result: none needed" >&5
31011 +echo "${ECHO_T}none needed" >&6; } ;;
31013 + { echo "$as_me:$LINENO: result: unsupported" >&5
31014 +echo "${ECHO_T}unsupported" >&6; } ;;
31016 + CC="$CC $ac_cv_prog_cc_c89"
31017 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
31018 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
31022 - echo "$as_me: failed program was:" >&5
31023 -sed 's/^/| /' conftest.$ac_ext >&5
31026 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31028 ac_cpp='$CPP $CPPFLAGS'
31029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 @@ -4984,8 +5478,8 @@ for ac_prog in 'bison -y' byacc
31032 # Extract the first word of "$ac_prog", so it can be a program name with args.
31033 set dummy $ac_prog; ac_word=$2
31034 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31035 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31036 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31037 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31038 if test "${ac_cv_prog_YACC+set}" = set; then
31039 echo $ECHO_N "(cached) $ECHO_C" >&6
31041 @@ -4998,25 +5492,27 @@ do
31043 test -z "$as_dir" && as_dir=.
31044 for ac_exec_ext in '' $ac_executable_extensions; do
31045 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31046 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31047 ac_cv_prog_YACC="$ac_prog"
31048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31057 YACC=$ac_cv_prog_YACC
31058 if test -n "$YACC"; then
31059 - echo "$as_me:$LINENO: result: $YACC" >&5
31060 -echo "${ECHO_T}$YACC" >&6
31061 + { echo "$as_me:$LINENO: result: $YACC" >&5
31062 +echo "${ECHO_T}$YACC" >&6; }
31064 - echo "$as_me:$LINENO: result: no" >&5
31065 -echo "${ECHO_T}no" >&6
31066 + { echo "$as_me:$LINENO: result: no" >&5
31067 +echo "${ECHO_T}no" >&6; }
31071 test -n "$YACC" && break
31073 test -n "$YACC" || YACC="yacc"
31074 @@ -5025,8 +5521,8 @@ for ac_prog in flex lex
31076 # Extract the first word of "$ac_prog", so it can be a program name with args.
31077 set dummy $ac_prog; ac_word=$2
31078 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31079 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31080 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31081 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31082 if test "${ac_cv_prog_LEX+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 @@ -5039,253 +5535,182 @@ do
31087 test -z "$as_dir" && as_dir=.
31088 for ac_exec_ext in '' $ac_executable_extensions; do
31089 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31090 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31091 ac_cv_prog_LEX="$ac_prog"
31092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31101 LEX=$ac_cv_prog_LEX
31102 if test -n "$LEX"; then
31103 - echo "$as_me:$LINENO: result: $LEX" >&5
31104 -echo "${ECHO_T}$LEX" >&6
31105 + { echo "$as_me:$LINENO: result: $LEX" >&5
31106 +echo "${ECHO_T}$LEX" >&6; }
31108 - echo "$as_me:$LINENO: result: no" >&5
31109 -echo "${ECHO_T}no" >&6
31110 + { echo "$as_me:$LINENO: result: no" >&5
31111 +echo "${ECHO_T}no" >&6; }
31115 test -n "$LEX" && break
31117 test -n "$LEX" || LEX=":"
31119 -if test -z "$LEXLIB"
31121 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
31122 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
31123 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
31124 - echo $ECHO_N "(cached) $ECHO_C" >&6
31126 - ac_check_lib_save_LIBS=$LIBS
31128 -cat >conftest.$ac_ext <<_ACEOF
31131 -cat confdefs.h >>conftest.$ac_ext
31132 -cat >>conftest.$ac_ext <<_ACEOF
31133 -/* end confdefs.h. */
31135 -/* Override any gcc2 internal prototype to avoid an error. */
31136 -#ifdef __cplusplus
31138 +if test "x$LEX" != "x:"; then
31139 + cat >conftest.l <<_ACEOF
31145 +e { yyless (input () != 0); }
31146 +f { unput (yytext[0]); }
31147 +. { BEGIN INITIAL; }
31149 +#ifdef YYTEXT_POINTER
31150 +extern char *yytext;
31152 -/* We use char because int might match the return type of a gcc2
31153 - builtin and then its argument prototype would still apply. */
31162 + return ! yylex () + ! yywrap ();
31165 -rm -f conftest.$ac_objext conftest$ac_exeext
31166 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31167 - (eval $ac_link) 2>conftest.er1
31169 - grep -v '^ *+' conftest.er1 >conftest.err
31170 - rm -f conftest.er1
31171 - cat conftest.err >&5
31172 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 - (exit $ac_status); } &&
31174 - { ac_try='test -z "$ac_c_werror_flag"
31175 - || test ! -s conftest.err'
31176 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31177 - (eval $ac_try) 2>&5
31179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31180 - (exit $ac_status); }; } &&
31181 - { ac_try='test -s conftest$ac_exeext'
31182 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31183 - (eval $ac_try) 2>&5
31184 +{ (ac_try="$LEX conftest.l"
31185 +case "(($ac_try" in
31186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31187 + *) ac_try_echo=$ac_try;;
31189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31190 + (eval "$LEX conftest.l") 2>&5
31192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 - (exit $ac_status); }; }; then
31194 - ac_cv_lib_fl_yywrap=yes
31195 + (exit $ac_status); }
31196 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
31197 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
31198 +if test "${ac_cv_prog_lex_root+set}" = set; then
31199 + echo $ECHO_N "(cached) $ECHO_C" >&6
31201 - echo "$as_me: failed program was:" >&5
31202 -sed 's/^/| /' conftest.$ac_ext >&5
31204 -ac_cv_lib_fl_yywrap=no
31205 +if test -f lex.yy.c; then
31206 + ac_cv_prog_lex_root=lex.yy
31207 +elif test -f lexyy.c; then
31208 + ac_cv_prog_lex_root=lexyy
31210 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
31211 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
31212 + { (exit 1); exit 1; }; }
31214 -rm -f conftest.err conftest.$ac_objext \
31215 - conftest$ac_exeext conftest.$ac_ext
31216 -LIBS=$ac_check_lib_save_LIBS
31218 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
31219 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
31220 -if test $ac_cv_lib_fl_yywrap = yes; then
31223 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
31224 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
31225 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
31226 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
31227 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
31228 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
31230 +if test -z "${LEXLIB+set}"; then
31231 + { echo "$as_me:$LINENO: checking lex library" >&5
31232 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
31233 +if test "${ac_cv_lib_lex+set}" = set; then
31234 echo $ECHO_N "(cached) $ECHO_C" >&6
31236 - ac_check_lib_save_LIBS=$LIBS
31238 -cat >conftest.$ac_ext <<_ACEOF
31241 -cat confdefs.h >>conftest.$ac_ext
31242 -cat >>conftest.$ac_ext <<_ACEOF
31243 -/* end confdefs.h. */
31245 -/* Override any gcc2 internal prototype to avoid an error. */
31246 -#ifdef __cplusplus
31249 -/* We use char because int might match the return type of a gcc2
31250 - builtin and then its argument prototype would still apply. */
31259 + ac_save_LIBS=$LIBS
31260 + ac_cv_lib_lex='none needed'
31261 + for ac_lib in '' -lfl -ll; do
31262 + LIBS="$ac_lib $ac_save_LIBS"
31263 + cat >conftest.$ac_ext <<_ACEOF
31264 +`cat $LEX_OUTPUT_ROOT.c`
31266 rm -f conftest.$ac_objext conftest$ac_exeext
31267 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31268 - (eval $ac_link) 2>conftest.er1
31269 +if { (ac_try="$ac_link"
31270 +case "(($ac_try" in
31271 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31272 + *) ac_try_echo=$ac_try;;
31274 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 + (eval "$ac_link") 2>conftest.er1
31277 grep -v '^ *+' conftest.er1 >conftest.err
31279 cat conftest.err >&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 - (exit $ac_status); } &&
31282 - { ac_try='test -z "$ac_c_werror_flag"
31283 - || test ! -s conftest.err'
31284 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31285 - (eval $ac_try) 2>&5
31287 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 - (exit $ac_status); }; } &&
31289 - { ac_try='test -s conftest$ac_exeext'
31290 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291 - (eval $ac_try) 2>&5
31293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 - (exit $ac_status); }; }; then
31295 - ac_cv_lib_l_yywrap=yes
31296 + (exit $ac_status); } && {
31297 + test -z "$ac_c_werror_flag" ||
31298 + test ! -s conftest.err
31299 + } && test -s conftest$ac_exeext &&
31300 + $as_test_x conftest$ac_exeext; then
31301 + ac_cv_lib_lex=$ac_lib
31303 echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31306 -ac_cv_lib_l_yywrap=no
31308 -rm -f conftest.err conftest.$ac_objext \
31309 - conftest$ac_exeext conftest.$ac_ext
31310 -LIBS=$ac_check_lib_save_LIBS
31312 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
31313 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
31314 -if test $ac_cv_lib_l_yywrap = yes; then
31322 -if test "x$LEX" != "x:"; then
31323 - echo "$as_me:$LINENO: checking lex output file root" >&5
31324 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
31325 -if test "${ac_cv_prog_lex_root+set}" = set; then
31326 - echo $ECHO_N "(cached) $ECHO_C" >&6
31328 - # The minimal lex program is just a single line: %%. But some broken lexes
31329 -# (Solaris, I think it was) want two %% lines, so accommodate them.
31330 -cat >conftest.l <<_ACEOF
31334 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
31335 - (eval $LEX conftest.l) 2>&5
31337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 - (exit $ac_status); }
31339 -if test -f lex.yy.c; then
31340 - ac_cv_prog_lex_root=lex.yy
31341 -elif test -f lexyy.c; then
31342 - ac_cv_prog_lex_root=lexyy
31344 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
31345 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
31346 - { (exit 1); exit 1; }; }
31349 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31350 + conftest$ac_exeext conftest.$ac_ext
31351 + test "$ac_cv_lib_lex" != 'none needed' && break
31353 + LIBS=$ac_save_LIBS
31356 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
31357 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
31358 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
31360 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
31361 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
31363 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
31365 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
31366 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
31368 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
31369 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
31370 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
31371 echo $ECHO_N "(cached) $ECHO_C" >&6
31373 # POSIX says lex can declare yytext either as a pointer or an array; the
31374 -# default is implementation-dependent. Figure out which it is, since
31375 +# default is implementation-dependent. Figure out which it is, since
31376 # not all implementations provide the %pointer and %array declarations.
31377 ac_cv_prog_lex_yytext_pointer=no
31378 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
31380 -LIBS="$LIBS $LEXLIB"
31381 +LIBS="$LEXLIB $ac_save_LIBS"
31382 cat >conftest.$ac_ext <<_ACEOF
31383 +#define YYTEXT_POINTER 1
31384 `cat $LEX_OUTPUT_ROOT.c`
31386 rm -f conftest.$ac_objext conftest$ac_exeext
31387 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31388 - (eval $ac_link) 2>conftest.er1
31389 +if { (ac_try="$ac_link"
31390 +case "(($ac_try" in
31391 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31392 + *) ac_try_echo=$ac_try;;
31394 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31395 + (eval "$ac_link") 2>conftest.er1
31397 grep -v '^ *+' conftest.er1 >conftest.err
31399 cat conftest.err >&5
31400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31401 - (exit $ac_status); } &&
31402 - { ac_try='test -z "$ac_c_werror_flag"
31403 - || test ! -s conftest.err'
31404 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31405 - (eval $ac_try) 2>&5
31407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 - (exit $ac_status); }; } &&
31409 - { ac_try='test -s conftest$ac_exeext'
31410 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31411 - (eval $ac_try) 2>&5
31413 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31414 - (exit $ac_status); }; }; then
31415 + (exit $ac_status); } && {
31416 + test -z "$ac_c_werror_flag" ||
31417 + test ! -s conftest.err
31418 + } && test -s conftest$ac_exeext &&
31419 + $as_test_x conftest$ac_exeext; then
31420 ac_cv_prog_lex_yytext_pointer=yes
31422 echo "$as_me: failed program was:" >&5
31423 sed 's/^/| /' conftest.$ac_ext >&5
31427 -rm -f conftest.err conftest.$ac_objext \
31429 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31430 conftest$ac_exeext conftest.$ac_ext
31432 -rm -f "${LEX_OUTPUT_ROOT}.c"
31435 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
31436 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
31437 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
31438 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
31439 if test $ac_cv_prog_lex_yytext_pointer = yes; then
31441 cat >>confdefs.h <<\_ACEOF
31442 @@ -5293,6 +5718,7 @@ cat >>confdefs.h <<\_ACEOF
31446 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
31449 if test "$LEX" = :; then
31450 @@ -5303,8 +5729,8 @@ ALL_LINGUAS="fr tr ja es sv da zh_CN ru
31451 if test -n "$ac_tool_prefix"; then
31452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
31453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
31454 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31455 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31456 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31457 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31458 if test "${ac_cv_prog_RANLIB+set}" = set; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31461 @@ -5317,32 +5743,34 @@ do
31463 test -z "$as_dir" && as_dir=.
31464 for ac_exec_ext in '' $ac_executable_extensions; do
31465 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31466 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31467 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
31468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31477 RANLIB=$ac_cv_prog_RANLIB
31478 if test -n "$RANLIB"; then
31479 - echo "$as_me:$LINENO: result: $RANLIB" >&5
31480 -echo "${ECHO_T}$RANLIB" >&6
31481 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
31482 +echo "${ECHO_T}$RANLIB" >&6; }
31484 - echo "$as_me:$LINENO: result: no" >&5
31485 -echo "${ECHO_T}no" >&6
31486 + { echo "$as_me:$LINENO: result: no" >&5
31487 +echo "${ECHO_T}no" >&6; }
31492 if test -z "$ac_cv_prog_RANLIB"; then
31493 ac_ct_RANLIB=$RANLIB
31494 # Extract the first word of "ranlib", so it can be a program name with args.
31495 set dummy ranlib; ac_word=$2
31496 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31497 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31498 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31499 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31500 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
31501 echo $ECHO_N "(cached) $ECHO_C" >&6
31503 @@ -5355,27 +5783,41 @@ do
31505 test -z "$as_dir" && as_dir=.
31506 for ac_exec_ext in '' $ac_executable_extensions; do
31507 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31508 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31509 ac_cv_prog_ac_ct_RANLIB="ranlib"
31510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31517 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
31520 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
31521 if test -n "$ac_ct_RANLIB"; then
31522 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
31523 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
31524 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
31525 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
31527 - echo "$as_me:$LINENO: result: no" >&5
31528 -echo "${ECHO_T}no" >&6
31529 + { echo "$as_me:$LINENO: result: no" >&5
31530 +echo "${ECHO_T}no" >&6; }
31533 - RANLIB=$ac_ct_RANLIB
31534 + if test "x$ac_ct_RANLIB" = x; then
31537 + case $cross_compiling:$ac_tool_warned in
31539 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31540 +whose name does not start with the host triplet. If you think this
31541 +configuration is useful to you, please write to autoconf@gnu.org." >&5
31542 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31543 +whose name does not start with the host triplet. If you think this
31544 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31545 +ac_tool_warned=yes ;;
31547 + RANLIB=$ac_ct_RANLIB
31550 RANLIB="$ac_cv_prog_RANLIB"
31552 @@ -5385,8 +5827,8 @@ ac_cpp='$CPP $CPPFLAGS'
31553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31556 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
31557 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
31558 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
31559 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
31560 # On Suns, sometimes $CPP names a directory.
31561 if test -n "$CPP" && test -d "$CPP"; then
31563 @@ -5420,24 +5862,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31567 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31568 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31569 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31570 +case "(($ac_try" in
31571 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31572 + *) ac_try_echo=$ac_try;;
31574 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31575 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31577 grep -v '^ *+' conftest.er1 >conftest.err
31579 cat conftest.err >&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 - (exit $ac_status); } >/dev/null; then
31582 - if test -s conftest.err; then
31583 - ac_cpp_err=$ac_c_preproc_warn_flag
31584 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31591 -if test -z "$ac_cpp_err"; then
31592 + (exit $ac_status); } >/dev/null && {
31593 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31594 + test ! -s conftest.err
31598 echo "$as_me: failed program was:" >&5
31599 @@ -5446,9 +5886,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
31600 # Broken: fails on valid input.
31604 rm -f conftest.err conftest.$ac_ext
31606 - # OK, works on sane cases. Now check whether non-existent headers
31607 + # OK, works on sane cases. Now check whether nonexistent headers
31608 # can be detected and how.
31609 cat >conftest.$ac_ext <<_ACEOF
31611 @@ -5458,24 +5899,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31612 /* end confdefs.h. */
31613 #include <ac_nonexistent.h>
31615 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31616 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31617 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31618 +case "(($ac_try" in
31619 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31620 + *) ac_try_echo=$ac_try;;
31622 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31623 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31625 grep -v '^ *+' conftest.er1 >conftest.err
31627 cat conftest.err >&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 - (exit $ac_status); } >/dev/null; then
31630 - if test -s conftest.err; then
31631 - ac_cpp_err=$ac_c_preproc_warn_flag
31632 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31639 -if test -z "$ac_cpp_err"; then
31640 + (exit $ac_status); } >/dev/null && {
31641 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31642 + test ! -s conftest.err
31644 # Broken: success on invalid input.
31647 @@ -5486,6 +5925,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
31652 rm -f conftest.err conftest.$ac_ext
31655 @@ -5503,8 +5943,8 @@ fi
31657 ac_cv_prog_CPP=$CPP
31659 -echo "$as_me:$LINENO: result: $CPP" >&5
31660 -echo "${ECHO_T}$CPP" >&6
31661 +{ echo "$as_me:$LINENO: result: $CPP" >&5
31662 +echo "${ECHO_T}$CPP" >&6; }
31663 ac_preproc_ok=false
31664 for ac_c_preproc_warn_flag in '' yes
31666 @@ -5527,24 +5967,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31670 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31671 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31672 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31673 +case "(($ac_try" in
31674 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31675 + *) ac_try_echo=$ac_try;;
31677 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31678 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31680 grep -v '^ *+' conftest.er1 >conftest.err
31682 cat conftest.err >&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 - (exit $ac_status); } >/dev/null; then
31685 - if test -s conftest.err; then
31686 - ac_cpp_err=$ac_c_preproc_warn_flag
31687 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31694 -if test -z "$ac_cpp_err"; then
31695 + (exit $ac_status); } >/dev/null && {
31696 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31697 + test ! -s conftest.err
31701 echo "$as_me: failed program was:" >&5
31702 @@ -5553,9 +5991,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
31703 # Broken: fails on valid input.
31707 rm -f conftest.err conftest.$ac_ext
31709 - # OK, works on sane cases. Now check whether non-existent headers
31710 + # OK, works on sane cases. Now check whether nonexistent headers
31711 # can be detected and how.
31712 cat >conftest.$ac_ext <<_ACEOF
31714 @@ -5565,24 +6004,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31715 /* end confdefs.h. */
31716 #include <ac_nonexistent.h>
31718 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31719 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31720 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31721 +case "(($ac_try" in
31722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31723 + *) ac_try_echo=$ac_try;;
31725 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31726 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31728 grep -v '^ *+' conftest.er1 >conftest.err
31730 cat conftest.err >&5
31731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31732 - (exit $ac_status); } >/dev/null; then
31733 - if test -s conftest.err; then
31734 - ac_cpp_err=$ac_c_preproc_warn_flag
31735 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31742 -if test -z "$ac_cpp_err"; then
31743 + (exit $ac_status); } >/dev/null && {
31744 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31745 + test ! -s conftest.err
31747 # Broken: success on invalid input.
31750 @@ -5593,6 +6030,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
31755 rm -f conftest.err conftest.$ac_ext
31758 @@ -5615,23 +6053,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
31759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31762 -echo "$as_me:$LINENO: checking for egrep" >&5
31763 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
31764 -if test "${ac_cv_prog_egrep+set}" = set; then
31765 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
31766 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
31767 +if test "${ac_cv_path_GREP+set}" = set; then
31768 + echo $ECHO_N "(cached) $ECHO_C" >&6
31770 + # Extract the first word of "grep ggrep" to use in msg output
31771 +if test -z "$GREP"; then
31772 +set dummy grep ggrep; ac_prog_name=$2
31773 +if test "${ac_cv_path_GREP+set}" = set; then
31774 + echo $ECHO_N "(cached) $ECHO_C" >&6
31776 + ac_path_GREP_found=false
31777 +# Loop through the user's path and test for each of PROGNAME-LIST
31778 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31779 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
31782 + test -z "$as_dir" && as_dir=.
31783 + for ac_prog in grep ggrep; do
31784 + for ac_exec_ext in '' $ac_executable_extensions; do
31785 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
31786 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
31787 + # Check for GNU ac_path_GREP and select it if it is found.
31788 + # Check for GNU $ac_path_GREP
31789 +case `"$ac_path_GREP" --version 2>&1` in
31791 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
31794 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
31797 + cat "conftest.in" "conftest.in" >"conftest.tmp"
31798 + mv "conftest.tmp" "conftest.in"
31799 + cp "conftest.in" "conftest.nl"
31800 + echo 'GREP' >> "conftest.nl"
31801 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31802 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
31803 + ac_count=`expr $ac_count + 1`
31804 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
31805 + # Best one so far, save it but keep looking for a better one
31806 + ac_cv_path_GREP="$ac_path_GREP"
31807 + ac_path_GREP_max=$ac_count
31809 + # 10*(2^10) chars as input seems more than enough
31810 + test $ac_count -gt 10 && break
31812 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31816 + $ac_path_GREP_found && break 3
31826 +GREP="$ac_cv_path_GREP"
31827 +if test -z "$GREP"; then
31828 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
31829 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
31830 + { (exit 1); exit 1; }; }
31834 + ac_cv_path_GREP=$GREP
31839 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
31840 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
31841 + GREP="$ac_cv_path_GREP"
31844 +{ echo "$as_me:$LINENO: checking for egrep" >&5
31845 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
31846 +if test "${ac_cv_path_EGREP+set}" = set; then
31847 + echo $ECHO_N "(cached) $ECHO_C" >&6
31849 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
31850 + then ac_cv_path_EGREP="$GREP -E"
31852 + # Extract the first word of "egrep" to use in msg output
31853 +if test -z "$EGREP"; then
31854 +set dummy egrep; ac_prog_name=$2
31855 +if test "${ac_cv_path_EGREP+set}" = set; then
31856 echo $ECHO_N "(cached) $ECHO_C" >&6
31858 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
31859 - then ac_cv_prog_egrep='grep -E'
31860 - else ac_cv_prog_egrep='egrep'
31861 + ac_path_EGREP_found=false
31862 +# Loop through the user's path and test for each of PROGNAME-LIST
31863 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31864 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
31867 + test -z "$as_dir" && as_dir=.
31868 + for ac_prog in egrep; do
31869 + for ac_exec_ext in '' $ac_executable_extensions; do
31870 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
31871 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
31872 + # Check for GNU ac_path_EGREP and select it if it is found.
31873 + # Check for GNU $ac_path_EGREP
31874 +case `"$ac_path_EGREP" --version 2>&1` in
31876 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
31879 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
31882 + cat "conftest.in" "conftest.in" >"conftest.tmp"
31883 + mv "conftest.tmp" "conftest.in"
31884 + cp "conftest.in" "conftest.nl"
31885 + echo 'EGREP' >> "conftest.nl"
31886 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31887 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
31888 + ac_count=`expr $ac_count + 1`
31889 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
31890 + # Best one so far, save it but keep looking for a better one
31891 + ac_cv_path_EGREP="$ac_path_EGREP"
31892 + ac_path_EGREP_max=$ac_count
31894 + # 10*(2^10) chars as input seems more than enough
31895 + test $ac_count -gt 10 && break
31897 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31901 + $ac_path_EGREP_found && break 3
31911 +EGREP="$ac_cv_path_EGREP"
31912 +if test -z "$EGREP"; then
31913 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
31914 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
31915 + { (exit 1); exit 1; }; }
31919 + ac_cv_path_EGREP=$EGREP
31925 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
31926 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
31927 - EGREP=$ac_cv_prog_egrep
31928 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
31929 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
31930 + EGREP="$ac_cv_path_EGREP"
31933 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
31934 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
31935 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
31936 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
31937 if test "${ac_cv_header_stdc+set}" = set; then
31938 echo $ECHO_N "(cached) $ECHO_C" >&6
31940 @@ -5655,35 +6240,31 @@ main ()
31943 rm -f conftest.$ac_objext
31944 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31945 - (eval $ac_compile) 2>conftest.er1
31946 +if { (ac_try="$ac_compile"
31947 +case "(($ac_try" in
31948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31949 + *) ac_try_echo=$ac_try;;
31951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31952 + (eval "$ac_compile") 2>conftest.er1
31954 grep -v '^ *+' conftest.er1 >conftest.err
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 - (exit $ac_status); } &&
31959 - { ac_try='test -z "$ac_c_werror_flag"
31960 - || test ! -s conftest.err'
31961 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 - (eval $ac_try) 2>&5
31964 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 - (exit $ac_status); }; } &&
31966 - { ac_try='test -s conftest.$ac_objext'
31967 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 - (eval $ac_try) 2>&5
31970 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 - (exit $ac_status); }; }; then
31972 + (exit $ac_status); } && {
31973 + test -z "$ac_c_werror_flag" ||
31974 + test ! -s conftest.err
31975 + } && test -s conftest.$ac_objext; then
31976 ac_cv_header_stdc=yes
31978 echo "$as_me: failed program was:" >&5
31979 sed 's/^/| /' conftest.$ac_ext >&5
31981 -ac_cv_header_stdc=no
31982 + ac_cv_header_stdc=no
31984 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31986 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31988 if test $ac_cv_header_stdc = yes; then
31989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
31990 @@ -5739,6 +6320,7 @@ cat confdefs.h >>conftest.$ac_ext
31991 cat >>conftest.$ac_ext <<_ACEOF
31992 /* end confdefs.h. */
31994 +#include <stdlib.h>
31995 #if ((' ' & 0x0FF) == 0x020)
31996 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
31997 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
31998 @@ -5758,18 +6340,27 @@ main ()
31999 for (i = 0; i < 256; i++)
32000 if (XOR (islower (i), ISLOWER (i))
32001 || toupper (i) != TOUPPER (i))
32008 rm -f conftest$ac_exeext
32009 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 - (eval $ac_link) 2>&5
32011 +if { (ac_try="$ac_link"
32012 +case "(($ac_try" in
32013 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32014 + *) ac_try_echo=$ac_try;;
32016 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32017 + (eval "$ac_link") 2>&5
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32021 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32022 - (eval $ac_try) 2>&5
32023 + { (case "(($ac_try" in
32024 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32025 + *) ac_try_echo=$ac_try;;
32027 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32028 + (eval "$ac_try") 2>&5
32030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 (exit $ac_status); }; }; then
32032 @@ -5782,12 +6373,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
32033 ( exit $ac_status )
32034 ac_cv_header_stdc=no
32036 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32037 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32043 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
32044 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
32045 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
32046 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
32047 if test $ac_cv_header_stdc = yes; then
32049 cat >>confdefs.h <<\_ACEOF
32050 @@ -5796,8 +6389,8 @@ _ACEOF
32054 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
32055 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
32056 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
32057 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
32058 if test "${ac_cv_c_const+set}" = set; then
32059 echo $ECHO_N "(cached) $ECHO_C" >&6
32061 @@ -5815,10 +6408,10 @@ main ()
32062 #ifndef __cplusplus
32063 /* Ultrix mips cc rejects this. */
32064 typedef int charset[2];
32066 + const charset cs;
32067 /* SunOS 4.1.1 cc rejects this. */
32068 - char const *const *ccp;
32070 + char const *const *pcpcc;
32072 /* NEC SVR4.0.2 mips cc rejects this. */
32073 struct point {int x, y;};
32074 static struct point const zero = {0,0};
32075 @@ -5827,16 +6420,17 @@ main ()
32076 an arm of an if-expression whose if-part is not a constant
32078 const char *g = "string";
32079 - ccp = &g + (g ? g-g : 0);
32080 + pcpcc = &g + (g ? g-g : 0);
32081 /* HPUX 7.0 cc rejects these. */
32083 - p = (char**) ccp;
32084 - ccp = (char const *const *) p;
32086 + ppc = (char**) pcpcc;
32087 + pcpcc = (char const *const *) ppc;
32088 { /* SCO 3.2v4 cc rejects this. */
32090 char const *s = 0 ? (char *) 0 : (char const *) 0;
32095 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
32096 int x[] = {25, 17};
32097 @@ -5855,7 +6449,9 @@ main ()
32099 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
32100 const int foo = 10;
32101 + if (!foo) return 0;
32103 + return !cs[0] && !zero.x;
32107 @@ -5863,38 +6459,34 @@ main ()
32110 rm -f conftest.$ac_objext
32111 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32112 - (eval $ac_compile) 2>conftest.er1
32113 +if { (ac_try="$ac_compile"
32114 +case "(($ac_try" in
32115 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32116 + *) ac_try_echo=$ac_try;;
32118 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32119 + (eval "$ac_compile") 2>conftest.er1
32121 grep -v '^ *+' conftest.er1 >conftest.err
32123 cat conftest.err >&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 - (exit $ac_status); } &&
32126 - { ac_try='test -z "$ac_c_werror_flag"
32127 - || test ! -s conftest.err'
32128 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32129 - (eval $ac_try) 2>&5
32131 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32132 - (exit $ac_status); }; } &&
32133 - { ac_try='test -s conftest.$ac_objext'
32134 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32135 - (eval $ac_try) 2>&5
32137 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 - (exit $ac_status); }; }; then
32139 + (exit $ac_status); } && {
32140 + test -z "$ac_c_werror_flag" ||
32141 + test ! -s conftest.err
32142 + } && test -s conftest.$ac_objext; then
32145 echo "$as_me: failed program was:" >&5
32146 sed 's/^/| /' conftest.$ac_ext >&5
32151 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32153 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32155 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
32156 -echo "${ECHO_T}$ac_cv_c_const" >&6
32157 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
32158 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
32159 if test $ac_cv_c_const = no; then
32161 cat >>confdefs.h <<\_ACEOF
32162 @@ -5903,8 +6495,8 @@ _ACEOF
32166 -echo "$as_me:$LINENO: checking for inline" >&5
32167 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
32168 +{ echo "$as_me:$LINENO: checking for inline" >&5
32169 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
32170 if test "${ac_cv_c_inline+set}" = set; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32173 @@ -5924,39 +6516,37 @@ $ac_kw foo_t foo () {return 0; }
32176 rm -f conftest.$ac_objext
32177 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32178 - (eval $ac_compile) 2>conftest.er1
32179 +if { (ac_try="$ac_compile"
32180 +case "(($ac_try" in
32181 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32182 + *) ac_try_echo=$ac_try;;
32184 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32185 + (eval "$ac_compile") 2>conftest.er1
32187 grep -v '^ *+' conftest.er1 >conftest.err
32189 cat conftest.err >&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 - (exit $ac_status); } &&
32192 - { ac_try='test -z "$ac_c_werror_flag"
32193 - || test ! -s conftest.err'
32194 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 - (eval $ac_try) 2>&5
32197 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 - (exit $ac_status); }; } &&
32199 - { ac_try='test -s conftest.$ac_objext'
32200 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32201 - (eval $ac_try) 2>&5
32203 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 - (exit $ac_status); }; }; then
32205 - ac_cv_c_inline=$ac_kw; break
32206 + (exit $ac_status); } && {
32207 + test -z "$ac_c_werror_flag" ||
32208 + test ! -s conftest.err
32209 + } && test -s conftest.$ac_objext; then
32210 + ac_cv_c_inline=$ac_kw
32212 echo "$as_me: failed program was:" >&5
32213 sed 's/^/| /' conftest.$ac_ext >&5
32217 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32219 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32220 + test "$ac_cv_c_inline" != no && break
32224 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
32225 -echo "${ECHO_T}$ac_cv_c_inline" >&6
32226 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
32227 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
32230 case $ac_cv_c_inline in
32231 @@ -5988,9 +6578,9 @@ for ac_header in sys/types.h sys/stat.h
32232 inttypes.h stdint.h unistd.h
32234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32235 -echo "$as_me:$LINENO: checking for $ac_header" >&5
32236 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32237 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32238 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
32239 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32240 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32241 echo $ECHO_N "(cached) $ECHO_C" >&6
32243 cat >conftest.$ac_ext <<_ACEOF
32244 @@ -6004,38 +6594,35 @@ $ac_includes_default
32245 #include <$ac_header>
32247 rm -f conftest.$ac_objext
32248 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32249 - (eval $ac_compile) 2>conftest.er1
32250 +if { (ac_try="$ac_compile"
32251 +case "(($ac_try" in
32252 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32253 + *) ac_try_echo=$ac_try;;
32255 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32256 + (eval "$ac_compile") 2>conftest.er1
32258 grep -v '^ *+' conftest.er1 >conftest.err
32260 cat conftest.err >&5
32261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32262 - (exit $ac_status); } &&
32263 - { ac_try='test -z "$ac_c_werror_flag"
32264 - || test ! -s conftest.err'
32265 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32266 - (eval $ac_try) 2>&5
32268 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 - (exit $ac_status); }; } &&
32270 - { ac_try='test -s conftest.$ac_objext'
32271 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 - (eval $ac_try) 2>&5
32274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 - (exit $ac_status); }; }; then
32276 + (exit $ac_status); } && {
32277 + test -z "$ac_c_werror_flag" ||
32278 + test ! -s conftest.err
32279 + } && test -s conftest.$ac_objext; then
32280 eval "$as_ac_Header=yes"
32282 echo "$as_me: failed program was:" >&5
32283 sed 's/^/| /' conftest.$ac_ext >&5
32285 -eval "$as_ac_Header=no"
32286 + eval "$as_ac_Header=no"
32288 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32290 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32292 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32293 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32294 +ac_res=`eval echo '${'$as_ac_Header'}'`
32295 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32296 +echo "${ECHO_T}$ac_res" >&6; }
32297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32298 cat >>confdefs.h <<_ACEOF
32299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32300 @@ -6046,8 +6633,8 @@ fi
32304 -echo "$as_me:$LINENO: checking for off_t" >&5
32305 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32306 +{ echo "$as_me:$LINENO: checking for off_t" >&5
32307 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
32308 if test "${ac_cv_type_off_t+set}" = set; then
32309 echo $ECHO_N "(cached) $ECHO_C" >&6
32311 @@ -6058,62 +6645,59 @@ cat confdefs.h >>conftest.$ac_ext
32312 cat >>conftest.$ac_ext <<_ACEOF
32313 /* end confdefs.h. */
32314 $ac_includes_default
32315 +typedef off_t ac__type_new_;
32320 +if ((ac__type_new_ *) 0)
32322 -if (sizeof (off_t))
32323 +if (sizeof (ac__type_new_))
32329 rm -f conftest.$ac_objext
32330 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32331 - (eval $ac_compile) 2>conftest.er1
32332 +if { (ac_try="$ac_compile"
32333 +case "(($ac_try" in
32334 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32335 + *) ac_try_echo=$ac_try;;
32337 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32338 + (eval "$ac_compile") 2>conftest.er1
32340 grep -v '^ *+' conftest.er1 >conftest.err
32342 cat conftest.err >&5
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 - (exit $ac_status); } &&
32345 - { ac_try='test -z "$ac_c_werror_flag"
32346 - || test ! -s conftest.err'
32347 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32348 - (eval $ac_try) 2>&5
32350 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 - (exit $ac_status); }; } &&
32352 - { ac_try='test -s conftest.$ac_objext'
32353 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 - (eval $ac_try) 2>&5
32356 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 - (exit $ac_status); }; }; then
32358 + (exit $ac_status); } && {
32359 + test -z "$ac_c_werror_flag" ||
32360 + test ! -s conftest.err
32361 + } && test -s conftest.$ac_objext; then
32362 ac_cv_type_off_t=yes
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.$ac_ext >&5
32367 -ac_cv_type_off_t=no
32368 + ac_cv_type_off_t=no
32370 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32372 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32374 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32375 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
32376 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32377 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
32378 if test $ac_cv_type_off_t = yes; then
32382 cat >>confdefs.h <<_ACEOF
32383 -#define off_t long
32384 +#define off_t long int
32389 -echo "$as_me:$LINENO: checking for size_t" >&5
32390 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32391 +{ echo "$as_me:$LINENO: checking for size_t" >&5
32392 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
32393 if test "${ac_cv_type_size_t+set}" = set; then
32394 echo $ECHO_N "(cached) $ECHO_C" >&6
32396 @@ -6124,64 +6708,61 @@ cat confdefs.h >>conftest.$ac_ext
32397 cat >>conftest.$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 $ac_includes_default
32400 +typedef size_t ac__type_new_;
32405 +if ((ac__type_new_ *) 0)
32407 -if (sizeof (size_t))
32408 +if (sizeof (ac__type_new_))
32414 rm -f conftest.$ac_objext
32415 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32416 - (eval $ac_compile) 2>conftest.er1
32417 +if { (ac_try="$ac_compile"
32418 +case "(($ac_try" in
32419 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32420 + *) ac_try_echo=$ac_try;;
32422 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32423 + (eval "$ac_compile") 2>conftest.er1
32425 grep -v '^ *+' conftest.er1 >conftest.err
32427 cat conftest.err >&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 - (exit $ac_status); } &&
32430 - { ac_try='test -z "$ac_c_werror_flag"
32431 - || test ! -s conftest.err'
32432 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32433 - (eval $ac_try) 2>&5
32435 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 - (exit $ac_status); }; } &&
32437 - { ac_try='test -s conftest.$ac_objext'
32438 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 - (eval $ac_try) 2>&5
32441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 - (exit $ac_status); }; }; then
32443 + (exit $ac_status); } && {
32444 + test -z "$ac_c_werror_flag" ||
32445 + test ! -s conftest.err
32446 + } && test -s conftest.$ac_objext; then
32447 ac_cv_type_size_t=yes
32449 echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.$ac_ext >&5
32452 -ac_cv_type_size_t=no
32453 + ac_cv_type_size_t=no
32455 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32457 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32459 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32460 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
32461 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32462 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
32463 if test $ac_cv_type_size_t = yes; then
32467 cat >>confdefs.h <<_ACEOF
32468 -#define size_t unsigned
32469 +#define size_t unsigned int
32474 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
32475 # for constant arguments. Useless!
32476 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
32477 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
32478 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
32479 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
32480 if test "${ac_cv_working_alloca_h+set}" = set; then
32481 echo $ECHO_N "(cached) $ECHO_C" >&6
32483 @@ -6196,44 +6777,42 @@ int
32486 char *p = (char *) alloca (2 * sizeof (int));
32492 rm -f conftest.$ac_objext conftest$ac_exeext
32493 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32494 - (eval $ac_link) 2>conftest.er1
32495 +if { (ac_try="$ac_link"
32496 +case "(($ac_try" in
32497 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32498 + *) ac_try_echo=$ac_try;;
32500 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32501 + (eval "$ac_link") 2>conftest.er1
32503 grep -v '^ *+' conftest.er1 >conftest.err
32505 cat conftest.err >&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 - (exit $ac_status); } &&
32508 - { ac_try='test -z "$ac_c_werror_flag"
32509 - || test ! -s conftest.err'
32510 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 - (eval $ac_try) 2>&5
32513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 - (exit $ac_status); }; } &&
32515 - { ac_try='test -s conftest$ac_exeext'
32516 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32517 - (eval $ac_try) 2>&5
32519 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32520 - (exit $ac_status); }; }; then
32521 + (exit $ac_status); } && {
32522 + test -z "$ac_c_werror_flag" ||
32523 + test ! -s conftest.err
32524 + } && test -s conftest$ac_exeext &&
32525 + $as_test_x conftest$ac_exeext; then
32526 ac_cv_working_alloca_h=yes
32528 echo "$as_me: failed program was:" >&5
32529 sed 's/^/| /' conftest.$ac_ext >&5
32531 -ac_cv_working_alloca_h=no
32532 + ac_cv_working_alloca_h=no
32534 -rm -f conftest.err conftest.$ac_objext \
32536 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32537 conftest$ac_exeext conftest.$ac_ext
32539 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
32540 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
32541 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
32542 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
32543 if test $ac_cv_working_alloca_h = yes; then
32545 cat >>confdefs.h <<\_ACEOF
32546 @@ -6242,8 +6821,8 @@ _ACEOF
32550 -echo "$as_me:$LINENO: checking for alloca" >&5
32551 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
32552 +{ echo "$as_me:$LINENO: checking for alloca" >&5
32553 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
32554 if test "${ac_cv_func_alloca_works+set}" = set; then
32555 echo $ECHO_N "(cached) $ECHO_C" >&6
32557 @@ -6260,7 +6839,7 @@ cat >>conftest.$ac_ext <<_ACEOF
32558 # include <malloc.h>
32559 # define alloca _alloca
32561 -# if HAVE_ALLOCA_H
32562 +# ifdef HAVE_ALLOCA_H
32563 # include <alloca.h>
32566 @@ -6278,44 +6857,42 @@ int
32569 char *p = (char *) alloca (1);
32575 rm -f conftest.$ac_objext conftest$ac_exeext
32576 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32577 - (eval $ac_link) 2>conftest.er1
32578 +if { (ac_try="$ac_link"
32579 +case "(($ac_try" in
32580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32581 + *) ac_try_echo=$ac_try;;
32583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32584 + (eval "$ac_link") 2>conftest.er1
32586 grep -v '^ *+' conftest.er1 >conftest.err
32588 cat conftest.err >&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 - (exit $ac_status); } &&
32591 - { ac_try='test -z "$ac_c_werror_flag"
32592 - || test ! -s conftest.err'
32593 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32594 - (eval $ac_try) 2>&5
32596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 - (exit $ac_status); }; } &&
32598 - { ac_try='test -s conftest$ac_exeext'
32599 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 - (eval $ac_try) 2>&5
32602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 - (exit $ac_status); }; }; then
32604 + (exit $ac_status); } && {
32605 + test -z "$ac_c_werror_flag" ||
32606 + test ! -s conftest.err
32607 + } && test -s conftest$ac_exeext &&
32608 + $as_test_x conftest$ac_exeext; then
32609 ac_cv_func_alloca_works=yes
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32614 -ac_cv_func_alloca_works=no
32615 + ac_cv_func_alloca_works=no
32617 -rm -f conftest.err conftest.$ac_objext \
32619 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32620 conftest$ac_exeext conftest.$ac_ext
32622 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
32623 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
32624 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
32625 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
32627 if test $ac_cv_func_alloca_works = yes; then
32629 @@ -6329,15 +6906,15 @@ else
32630 # contain a buggy version. If you still want to use their alloca,
32631 # use ar to extract alloca.o from them instead of compiling alloca.c.
32633 -ALLOCA=alloca.$ac_objext
32634 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
32636 cat >>confdefs.h <<\_ACEOF
32641 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
32642 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
32643 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
32644 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
32645 if test "${ac_cv_os_cray+set}" = set; then
32646 echo $ECHO_N "(cached) $ECHO_C" >&6
32648 @@ -6347,7 +6924,7 @@ _ACEOF
32649 cat confdefs.h >>conftest.$ac_ext
32650 cat >>conftest.$ac_ext <<_ACEOF
32651 /* end confdefs.h. */
32652 -#if defined(CRAY) && ! defined(CRAY2)
32653 +#if defined CRAY && ! defined CRAY2
32657 @@ -6363,14 +6940,14 @@ fi
32661 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
32662 -echo "${ECHO_T}$ac_cv_os_cray" >&6
32663 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
32664 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
32665 if test $ac_cv_os_cray = yes; then
32666 for ac_func in _getb67 GETB67 getb67; do
32667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32668 -echo "$as_me:$LINENO: checking for $ac_func" >&5
32669 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32670 -if eval "test \"\${$as_ac_var+set}\" = set"; then
32671 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
32672 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32673 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32674 echo $ECHO_N "(cached) $ECHO_C" >&6
32676 cat >conftest.$ac_ext <<_ACEOF
32677 @@ -6396,68 +6973,60 @@ cat >>conftest.$ac_ext <<_ACEOF
32681 -/* Override any gcc2 internal prototype to avoid an error. */
32682 +/* Override any GCC internal prototype to avoid an error.
32683 + Use char because int might match the return type of a GCC
32684 + builtin and then its argument prototype would still apply. */
32689 -/* We use char because int might match the return type of a gcc2
32690 - builtin and then its argument prototype would still apply. */
32692 /* The GNU C library defines this for functions which it implements
32693 to always fail with ENOSYS. Some functions are actually named
32694 something starting with __ and the normal name is an alias. */
32695 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32696 +#if defined __stub_$ac_func || defined __stub___$ac_func
32699 -char (*f) () = $ac_func;
32701 -#ifdef __cplusplus
32708 -return f != $ac_func;
32709 +return $ac_func ();
32714 rm -f conftest.$ac_objext conftest$ac_exeext
32715 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32716 - (eval $ac_link) 2>conftest.er1
32717 +if { (ac_try="$ac_link"
32718 +case "(($ac_try" in
32719 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32720 + *) ac_try_echo=$ac_try;;
32722 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32723 + (eval "$ac_link") 2>conftest.er1
32725 grep -v '^ *+' conftest.er1 >conftest.err
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 - (exit $ac_status); } &&
32730 - { ac_try='test -z "$ac_c_werror_flag"
32731 - || test ! -s conftest.err'
32732 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 - (eval $ac_try) 2>&5
32735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 - (exit $ac_status); }; } &&
32737 - { ac_try='test -s conftest$ac_exeext'
32738 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 - (eval $ac_try) 2>&5
32741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 - (exit $ac_status); }; }; then
32743 + (exit $ac_status); } && {
32744 + test -z "$ac_c_werror_flag" ||
32745 + test ! -s conftest.err
32746 + } && test -s conftest$ac_exeext &&
32747 + $as_test_x conftest$ac_exeext; then
32748 eval "$as_ac_var=yes"
32750 echo "$as_me: failed program was:" >&5
32751 sed 's/^/| /' conftest.$ac_ext >&5
32753 -eval "$as_ac_var=no"
32754 + eval "$as_ac_var=no"
32756 -rm -f conftest.err conftest.$ac_objext \
32758 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32759 conftest$ac_exeext conftest.$ac_ext
32761 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32762 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32763 +ac_res=`eval echo '${'$as_ac_var'}'`
32764 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32765 +echo "${ECHO_T}$ac_res" >&6; }
32766 if test `eval echo '${'$as_ac_var'}'` = yes; then
32768 cat >>confdefs.h <<_ACEOF
32769 @@ -6470,8 +7039,8 @@ fi
32773 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
32774 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
32775 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
32776 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
32777 if test "${ac_cv_c_stack_direction+set}" = set; then
32778 echo $ECHO_N "(cached) $ECHO_C" >&6
32780 @@ -6484,6 +7053,7 @@ _ACEOF
32781 cat confdefs.h >>conftest.$ac_ext
32782 cat >>conftest.$ac_ext <<_ACEOF
32783 /* end confdefs.h. */
32784 +$ac_includes_default
32786 find_stack_direction ()
32788 @@ -6501,17 +7071,26 @@ find_stack_direction ()
32792 - exit (find_stack_direction () < 0);
32793 + return find_stack_direction () < 0;
32796 rm -f conftest$ac_exeext
32797 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32798 - (eval $ac_link) 2>&5
32799 +if { (ac_try="$ac_link"
32800 +case "(($ac_try" in
32801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32802 + *) ac_try_echo=$ac_try;;
32804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32805 + (eval "$ac_link") 2>&5
32807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32809 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 - (eval $ac_try) 2>&5
32811 + { (case "(($ac_try" in
32812 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32813 + *) ac_try_echo=$ac_try;;
32815 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32816 + (eval "$ac_try") 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 @@ -6524,11 +7103,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
32821 ( exit $ac_status )
32822 ac_cv_c_stack_direction=-1
32824 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32825 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32830 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
32831 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
32832 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
32833 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
32835 cat >>confdefs.h <<_ACEOF
32836 #define STACK_DIRECTION $ac_cv_c_stack_direction
32837 @@ -6542,18 +7123,19 @@ fi
32838 for ac_header in stdlib.h unistd.h
32840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32841 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32842 - echo "$as_me:$LINENO: checking for $ac_header" >&5
32843 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32844 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32845 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32846 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
32847 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32848 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32849 echo $ECHO_N "(cached) $ECHO_C" >&6
32851 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32852 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32853 +ac_res=`eval echo '${'$as_ac_Header'}'`
32854 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32855 +echo "${ECHO_T}$ac_res" >&6; }
32857 # Is the header compilable?
32858 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
32859 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32860 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
32861 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32862 cat >conftest.$ac_ext <<_ACEOF
32865 @@ -6564,41 +7146,37 @@ $ac_includes_default
32866 #include <$ac_header>
32868 rm -f conftest.$ac_objext
32869 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32870 - (eval $ac_compile) 2>conftest.er1
32871 +if { (ac_try="$ac_compile"
32872 +case "(($ac_try" in
32873 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32874 + *) ac_try_echo=$ac_try;;
32876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32877 + (eval "$ac_compile") 2>conftest.er1
32879 grep -v '^ *+' conftest.er1 >conftest.err
32881 cat conftest.err >&5
32882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32883 - (exit $ac_status); } &&
32884 - { ac_try='test -z "$ac_c_werror_flag"
32885 - || test ! -s conftest.err'
32886 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32887 - (eval $ac_try) 2>&5
32889 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32890 - (exit $ac_status); }; } &&
32891 - { ac_try='test -s conftest.$ac_objext'
32892 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32893 - (eval $ac_try) 2>&5
32895 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32896 - (exit $ac_status); }; }; then
32897 + (exit $ac_status); } && {
32898 + test -z "$ac_c_werror_flag" ||
32899 + test ! -s conftest.err
32900 + } && test -s conftest.$ac_objext; then
32901 ac_header_compiler=yes
32903 echo "$as_me: failed program was:" >&5
32904 sed 's/^/| /' conftest.$ac_ext >&5
32906 -ac_header_compiler=no
32907 + ac_header_compiler=no
32909 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32910 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32911 -echo "${ECHO_T}$ac_header_compiler" >&6
32913 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32914 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32915 +echo "${ECHO_T}$ac_header_compiler" >&6; }
32917 # Is the header present?
32918 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
32919 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32920 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
32921 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
32922 cat >conftest.$ac_ext <<_ACEOF
32925 @@ -6607,24 +7185,22 @@ cat >>conftest.$ac_ext <<_ACEOF
32926 /* end confdefs.h. */
32927 #include <$ac_header>
32929 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32930 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32931 +if { (ac_try="$ac_cpp conftest.$ac_ext"
32932 +case "(($ac_try" in
32933 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32934 + *) ac_try_echo=$ac_try;;
32936 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32937 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32939 grep -v '^ *+' conftest.er1 >conftest.err
32941 cat conftest.err >&5
32942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32943 - (exit $ac_status); } >/dev/null; then
32944 - if test -s conftest.err; then
32945 - ac_cpp_err=$ac_c_preproc_warn_flag
32946 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32953 -if test -z "$ac_cpp_err"; then
32954 + (exit $ac_status); } >/dev/null && {
32955 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32956 + test ! -s conftest.err
32958 ac_header_preproc=yes
32960 echo "$as_me: failed program was:" >&5
32961 @@ -6632,9 +7208,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
32963 ac_header_preproc=no
32966 rm -f conftest.err conftest.$ac_ext
32967 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32968 -echo "${ECHO_T}$ac_header_preproc" >&6
32969 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32970 +echo "${ECHO_T}$ac_header_preproc" >&6; }
32972 # So? What about this header?
32973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32974 @@ -6658,25 +7235,19 @@ echo "$as_me: WARNING: $ac_header: s
32975 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32976 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32977 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32980 -## ------------------------------------------ ##
32981 -## Report this to the AC_PACKAGE_NAME lists. ##
32982 -## ------------------------------------------ ##
32985 - sed "s/^/$as_me: WARNING: /" >&2
32989 -echo "$as_me:$LINENO: checking for $ac_header" >&5
32990 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32991 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32992 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
32993 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32994 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32995 echo $ECHO_N "(cached) $ECHO_C" >&6
32997 eval "$as_ac_Header=\$ac_header_preproc"
32999 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33000 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33001 +ac_res=`eval echo '${'$as_ac_Header'}'`
33002 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33003 +echo "${ECHO_T}$ac_res" >&6; }
33006 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33007 @@ -6692,9 +7263,9 @@ done
33008 for ac_func in getpagesize
33010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33011 -echo "$as_me:$LINENO: checking for $ac_func" >&5
33012 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33013 -if eval "test \"\${$as_ac_var+set}\" = set"; then
33014 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
33015 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33016 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33019 cat >conftest.$ac_ext <<_ACEOF
33020 @@ -6720,68 +7291,60 @@ cat >>conftest.$ac_ext <<_ACEOF
33024 -/* Override any gcc2 internal prototype to avoid an error. */
33025 +/* Override any GCC internal prototype to avoid an error.
33026 + Use char because int might match the return type of a GCC
33027 + builtin and then its argument prototype would still apply. */
33032 -/* We use char because int might match the return type of a gcc2
33033 - builtin and then its argument prototype would still apply. */
33035 /* The GNU C library defines this for functions which it implements
33036 to always fail with ENOSYS. Some functions are actually named
33037 something starting with __ and the normal name is an alias. */
33038 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33039 +#if defined __stub_$ac_func || defined __stub___$ac_func
33042 -char (*f) () = $ac_func;
33044 -#ifdef __cplusplus
33051 -return f != $ac_func;
33052 +return $ac_func ();
33057 rm -f conftest.$ac_objext conftest$ac_exeext
33058 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33059 - (eval $ac_link) 2>conftest.er1
33060 +if { (ac_try="$ac_link"
33061 +case "(($ac_try" in
33062 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33063 + *) ac_try_echo=$ac_try;;
33065 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33066 + (eval "$ac_link") 2>conftest.er1
33068 grep -v '^ *+' conftest.er1 >conftest.err
33070 cat conftest.err >&5
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 - (exit $ac_status); } &&
33073 - { ac_try='test -z "$ac_c_werror_flag"
33074 - || test ! -s conftest.err'
33075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076 - (eval $ac_try) 2>&5
33078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 - (exit $ac_status); }; } &&
33080 - { ac_try='test -s conftest$ac_exeext'
33081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 - (eval $ac_try) 2>&5
33084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 - (exit $ac_status); }; }; then
33086 + (exit $ac_status); } && {
33087 + test -z "$ac_c_werror_flag" ||
33088 + test ! -s conftest.err
33089 + } && test -s conftest$ac_exeext &&
33090 + $as_test_x conftest$ac_exeext; then
33091 eval "$as_ac_var=yes"
33093 echo "$as_me: failed program was:" >&5
33094 sed 's/^/| /' conftest.$ac_ext >&5
33096 -eval "$as_ac_var=no"
33097 + eval "$as_ac_var=no"
33099 -rm -f conftest.err conftest.$ac_objext \
33101 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33102 conftest$ac_exeext conftest.$ac_ext
33104 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33105 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33106 +ac_res=`eval echo '${'$as_ac_var'}'`
33107 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33108 +echo "${ECHO_T}$ac_res" >&6; }
33109 if test `eval echo '${'$as_ac_var'}'` = yes; then
33110 cat >>confdefs.h <<_ACEOF
33111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33112 @@ -6790,8 +7353,8 @@ _ACEOF
33116 -echo "$as_me:$LINENO: checking for working mmap" >&5
33117 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
33118 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
33119 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33120 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33123 @@ -6833,21 +7396,21 @@ $ac_includes_default
33125 #include <sys/mman.h>
33127 -#if !STDC_HEADERS && !HAVE_STDLIB_H
33128 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
33132 /* This mess was copied from the GNU getpagesize.h. */
33133 -#if !HAVE_GETPAGESIZE
33134 +#ifndef HAVE_GETPAGESIZE
33135 /* Assume that all systems that can run configure have sys/param.h. */
33136 -# if !HAVE_SYS_PARAM_H
33137 +# ifndef HAVE_SYS_PARAM_H
33138 # define HAVE_SYS_PARAM_H 1
33141 # ifdef _SC_PAGESIZE
33142 # define getpagesize() sysconf(_SC_PAGESIZE)
33143 # else /* no _SC_PAGESIZE */
33144 -# if HAVE_SYS_PARAM_H
33145 +# ifdef HAVE_SYS_PARAM_H
33146 # include <sys/param.h>
33147 # ifdef EXEC_PAGESIZE
33148 # define getpagesize() EXEC_PAGESIZE
33149 @@ -6886,15 +7449,15 @@ main ()
33150 /* First, make a file with some known garbage in it. */
33151 data = (char *) malloc (pagesize);
33155 for (i = 0; i < pagesize; ++i)
33156 *(data + i) = rand ();
33158 fd = creat ("conftest.mmap", 0600);
33162 if (write (fd, data, pagesize) != pagesize)
33167 /* Next, try to mmap the file at a fixed address which already has
33168 @@ -6902,17 +7465,17 @@ main ()
33169 we see the same garbage. */
33170 fd = open ("conftest.mmap", O_RDWR);
33174 data2 = (char *) malloc (2 * pagesize);
33177 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
33179 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33180 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33181 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33184 for (i = 0; i < pagesize; ++i)
33185 if (*(data + i) != *(data2 + i))
33189 /* Finally, make sure that changes to the mapped area do not
33190 percolate back to the file as seen by read(). (This is a bug on
33191 @@ -6921,24 +7484,33 @@ main ()
33192 *(data2 + i) = *(data2 + i) + 1;
33193 data3 = (char *) malloc (pagesize);
33197 if (read (fd, data3, pagesize) != pagesize)
33200 for (i = 0; i < pagesize; ++i)
33201 if (*(data + i) != *(data3 + i))
33209 rm -f conftest$ac_exeext
33210 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33211 - (eval $ac_link) 2>&5
33212 +if { (ac_try="$ac_link"
33213 +case "(($ac_try" in
33214 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33215 + *) ac_try_echo=$ac_try;;
33217 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33218 + (eval "$ac_link") 2>&5
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33222 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33223 - (eval $ac_try) 2>&5
33224 + { (case "(($ac_try" in
33225 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33226 + *) ac_try_echo=$ac_try;;
33228 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33229 + (eval "$ac_try") 2>&5
33231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33232 (exit $ac_status); }; }; then
33233 @@ -6951,11 +7523,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
33234 ( exit $ac_status )
33235 ac_cv_func_mmap_fixed_mapped=no
33237 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33238 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33243 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33244 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
33245 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33246 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33247 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33249 cat >>confdefs.h <<\_ACEOF
33250 @@ -6979,18 +7553,19 @@ for ac_header in argz.h limits.h locale.
33251 unistd.h values.h sys/param.h
33253 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33254 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33255 - echo "$as_me:$LINENO: checking for $ac_header" >&5
33256 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33257 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33258 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33259 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
33260 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33261 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33264 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33265 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33266 +ac_res=`eval echo '${'$as_ac_Header'}'`
33267 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33268 +echo "${ECHO_T}$ac_res" >&6; }
33270 # Is the header compilable?
33271 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
33272 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33273 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
33274 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33275 cat >conftest.$ac_ext <<_ACEOF
33278 @@ -7001,41 +7576,37 @@ $ac_includes_default
33279 #include <$ac_header>
33281 rm -f conftest.$ac_objext
33282 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33283 - (eval $ac_compile) 2>conftest.er1
33284 +if { (ac_try="$ac_compile"
33285 +case "(($ac_try" in
33286 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33287 + *) ac_try_echo=$ac_try;;
33289 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33290 + (eval "$ac_compile") 2>conftest.er1
33292 grep -v '^ *+' conftest.er1 >conftest.err
33294 cat conftest.err >&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 - (exit $ac_status); } &&
33297 - { ac_try='test -z "$ac_c_werror_flag"
33298 - || test ! -s conftest.err'
33299 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33300 - (eval $ac_try) 2>&5
33302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 - (exit $ac_status); }; } &&
33304 - { ac_try='test -s conftest.$ac_objext'
33305 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33306 - (eval $ac_try) 2>&5
33308 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 - (exit $ac_status); }; }; then
33310 + (exit $ac_status); } && {
33311 + test -z "$ac_c_werror_flag" ||
33312 + test ! -s conftest.err
33313 + } && test -s conftest.$ac_objext; then
33314 ac_header_compiler=yes
33316 echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33319 -ac_header_compiler=no
33320 + ac_header_compiler=no
33322 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33323 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33324 -echo "${ECHO_T}$ac_header_compiler" >&6
33326 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33327 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33328 +echo "${ECHO_T}$ac_header_compiler" >&6; }
33330 # Is the header present?
33331 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
33332 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33333 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
33334 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33335 cat >conftest.$ac_ext <<_ACEOF
33338 @@ -7044,24 +7615,22 @@ cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340 #include <$ac_header>
33342 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33343 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33344 +if { (ac_try="$ac_cpp conftest.$ac_ext"
33345 +case "(($ac_try" in
33346 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33347 + *) ac_try_echo=$ac_try;;
33349 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33350 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33352 grep -v '^ *+' conftest.er1 >conftest.err
33354 cat conftest.err >&5
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 - (exit $ac_status); } >/dev/null; then
33357 - if test -s conftest.err; then
33358 - ac_cpp_err=$ac_c_preproc_warn_flag
33359 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33366 -if test -z "$ac_cpp_err"; then
33367 + (exit $ac_status); } >/dev/null && {
33368 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33369 + test ! -s conftest.err
33371 ac_header_preproc=yes
33373 echo "$as_me: failed program was:" >&5
33374 @@ -7069,9 +7638,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
33376 ac_header_preproc=no
33379 rm -f conftest.err conftest.$ac_ext
33380 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33381 -echo "${ECHO_T}$ac_header_preproc" >&6
33382 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33383 +echo "${ECHO_T}$ac_header_preproc" >&6; }
33385 # So? What about this header?
33386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33387 @@ -7095,25 +7665,19 @@ echo "$as_me: WARNING: $ac_header: s
33388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33389 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33393 -## ------------------------------------------ ##
33394 -## Report this to the AC_PACKAGE_NAME lists. ##
33395 -## ------------------------------------------ ##
33398 - sed "s/^/$as_me: WARNING: /" >&2
33402 -echo "$as_me:$LINENO: checking for $ac_header" >&5
33403 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33404 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33405 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
33406 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33407 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33408 echo $ECHO_N "(cached) $ECHO_C" >&6
33410 eval "$as_ac_Header=\$ac_header_preproc"
33412 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33413 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33414 +ac_res=`eval echo '${'$as_ac_Header'}'`
33415 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33416 +echo "${ECHO_T}$ac_res" >&6; }
33419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33420 @@ -7139,9 +7703,9 @@ for ac_func in getcwd munmap putenv sete
33421 __argz_count __argz_stringify __argz_next
33423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33424 -echo "$as_me:$LINENO: checking for $ac_func" >&5
33425 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33426 -if eval "test \"\${$as_ac_var+set}\" = set"; then
33427 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
33428 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33429 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33432 cat >conftest.$ac_ext <<_ACEOF
33433 @@ -7167,68 +7731,60 @@ cat >>conftest.$ac_ext <<_ACEOF
33437 -/* Override any gcc2 internal prototype to avoid an error. */
33438 +/* Override any GCC internal prototype to avoid an error.
33439 + Use char because int might match the return type of a GCC
33440 + builtin and then its argument prototype would still apply. */
33445 -/* We use char because int might match the return type of a gcc2
33446 - builtin and then its argument prototype would still apply. */
33448 /* The GNU C library defines this for functions which it implements
33449 to always fail with ENOSYS. Some functions are actually named
33450 something starting with __ and the normal name is an alias. */
33451 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33452 +#if defined __stub_$ac_func || defined __stub___$ac_func
33455 -char (*f) () = $ac_func;
33457 -#ifdef __cplusplus
33464 -return f != $ac_func;
33465 +return $ac_func ();
33470 rm -f conftest.$ac_objext conftest$ac_exeext
33471 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33472 - (eval $ac_link) 2>conftest.er1
33473 +if { (ac_try="$ac_link"
33474 +case "(($ac_try" in
33475 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33476 + *) ac_try_echo=$ac_try;;
33478 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33479 + (eval "$ac_link") 2>conftest.er1
33481 grep -v '^ *+' conftest.er1 >conftest.err
33483 cat conftest.err >&5
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 - (exit $ac_status); } &&
33486 - { ac_try='test -z "$ac_c_werror_flag"
33487 - || test ! -s conftest.err'
33488 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33489 - (eval $ac_try) 2>&5
33491 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492 - (exit $ac_status); }; } &&
33493 - { ac_try='test -s conftest$ac_exeext'
33494 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 - (eval $ac_try) 2>&5
33497 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 - (exit $ac_status); }; }; then
33499 + (exit $ac_status); } && {
33500 + test -z "$ac_c_werror_flag" ||
33501 + test ! -s conftest.err
33502 + } && test -s conftest$ac_exeext &&
33503 + $as_test_x conftest$ac_exeext; then
33504 eval "$as_ac_var=yes"
33506 echo "$as_me: failed program was:" >&5
33507 sed 's/^/| /' conftest.$ac_ext >&5
33509 -eval "$as_ac_var=no"
33510 + eval "$as_ac_var=no"
33512 -rm -f conftest.err conftest.$ac_objext \
33514 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33515 conftest$ac_exeext conftest.$ac_ext
33517 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33518 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33519 +ac_res=`eval echo '${'$as_ac_var'}'`
33520 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33521 +echo "${ECHO_T}$ac_res" >&6; }
33522 if test `eval echo '${'$as_ac_var'}'` = yes; then
33523 cat >>confdefs.h <<_ACEOF
33524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33525 @@ -7243,9 +7799,9 @@ done
33526 for ac_func in stpcpy
33528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33529 -echo "$as_me:$LINENO: checking for $ac_func" >&5
33530 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33531 -if eval "test \"\${$as_ac_var+set}\" = set"; then
33532 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
33533 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33534 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33535 echo $ECHO_N "(cached) $ECHO_C" >&6
33537 cat >conftest.$ac_ext <<_ACEOF
33538 @@ -7271,68 +7827,60 @@ cat >>conftest.$ac_ext <<_ACEOF
33542 -/* Override any gcc2 internal prototype to avoid an error. */
33543 +/* Override any GCC internal prototype to avoid an error.
33544 + Use char because int might match the return type of a GCC
33545 + builtin and then its argument prototype would still apply. */
33550 -/* We use char because int might match the return type of a gcc2
33551 - builtin and then its argument prototype would still apply. */
33553 /* The GNU C library defines this for functions which it implements
33554 to always fail with ENOSYS. Some functions are actually named
33555 something starting with __ and the normal name is an alias. */
33556 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33557 +#if defined __stub_$ac_func || defined __stub___$ac_func
33560 -char (*f) () = $ac_func;
33562 -#ifdef __cplusplus
33569 -return f != $ac_func;
33570 +return $ac_func ();
33575 rm -f conftest.$ac_objext conftest$ac_exeext
33576 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33577 - (eval $ac_link) 2>conftest.er1
33578 +if { (ac_try="$ac_link"
33579 +case "(($ac_try" in
33580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 + *) ac_try_echo=$ac_try;;
33583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33584 + (eval "$ac_link") 2>conftest.er1
33586 grep -v '^ *+' conftest.er1 >conftest.err
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 - (exit $ac_status); } &&
33591 - { ac_try='test -z "$ac_c_werror_flag"
33592 - || test ! -s conftest.err'
33593 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594 - (eval $ac_try) 2>&5
33596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 - (exit $ac_status); }; } &&
33598 - { ac_try='test -s conftest$ac_exeext'
33599 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 - (eval $ac_try) 2>&5
33602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 - (exit $ac_status); }; }; then
33604 + (exit $ac_status); } && {
33605 + test -z "$ac_c_werror_flag" ||
33606 + test ! -s conftest.err
33607 + } && test -s conftest$ac_exeext &&
33608 + $as_test_x conftest$ac_exeext; then
33609 eval "$as_ac_var=yes"
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33614 -eval "$as_ac_var=no"
33615 + eval "$as_ac_var=no"
33617 -rm -f conftest.err conftest.$ac_objext \
33619 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33620 conftest$ac_exeext conftest.$ac_ext
33622 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33623 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33624 +ac_res=`eval echo '${'$as_ac_var'}'`
33625 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33626 +echo "${ECHO_T}$ac_res" >&6; }
33627 if test `eval echo '${'$as_ac_var'}'` = yes; then
33628 cat >>confdefs.h <<_ACEOF
33629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33630 @@ -7351,8 +7899,8 @@ _ACEOF
33633 if test $ac_cv_header_locale_h = yes; then
33634 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
33635 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
33636 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
33637 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
33638 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
33639 echo $ECHO_N "(cached) $ECHO_C" >&6
33641 @@ -7372,39 +7920,36 @@ return LC_MESSAGES
33644 rm -f conftest.$ac_objext conftest$ac_exeext
33645 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33646 - (eval $ac_link) 2>conftest.er1
33647 +if { (ac_try="$ac_link"
33648 +case "(($ac_try" in
33649 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33650 + *) ac_try_echo=$ac_try;;
33652 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33653 + (eval "$ac_link") 2>conftest.er1
33655 grep -v '^ *+' conftest.er1 >conftest.err
33657 cat conftest.err >&5
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 - (exit $ac_status); } &&
33660 - { ac_try='test -z "$ac_c_werror_flag"
33661 - || test ! -s conftest.err'
33662 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 - (eval $ac_try) 2>&5
33665 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 - (exit $ac_status); }; } &&
33667 - { ac_try='test -s conftest$ac_exeext'
33668 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 - (eval $ac_try) 2>&5
33671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 - (exit $ac_status); }; }; then
33673 + (exit $ac_status); } && {
33674 + test -z "$ac_c_werror_flag" ||
33675 + test ! -s conftest.err
33676 + } && test -s conftest$ac_exeext &&
33677 + $as_test_x conftest$ac_exeext; then
33678 am_cv_val_LC_MESSAGES=yes
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33683 -am_cv_val_LC_MESSAGES=no
33684 + am_cv_val_LC_MESSAGES=no
33686 -rm -f conftest.err conftest.$ac_objext \
33688 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33689 conftest$ac_exeext conftest.$ac_ext
33691 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
33692 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
33693 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
33694 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
33695 if test $am_cv_val_LC_MESSAGES = yes; then
33697 cat >>confdefs.h <<\_ACEOF
33698 @@ -7413,34 +7958,34 @@ _ACEOF
33702 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
33703 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
33704 - # Check whether --enable-nls or --disable-nls was given.
33705 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
33706 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
33707 + # Check whether --enable-nls was given.
33708 if test "${enable_nls+set}" = set; then
33709 - enableval="$enable_nls"
33710 - USE_NLS=$enableval
33711 + enableval=$enable_nls; USE_NLS=$enableval
33715 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
33716 -echo "${ECHO_T}$USE_NLS" >&6
33719 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
33720 +echo "${ECHO_T}$USE_NLS" >&6; }
33723 USE_INCLUDED_LIBINTL=no
33725 if test "$USE_NLS" = "yes"; then
33726 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
33727 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
33728 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
33729 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
33731 -# Check whether --with-included-gettext or --without-included-gettext was given.
33732 +# Check whether --with-included-gettext was given.
33733 if test "${with_included_gettext+set}" = set; then
33734 - withval="$with_included_gettext"
33735 - nls_cv_force_use_gnu_gettext=$withval
33736 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
33738 nls_cv_force_use_gnu_gettext=no
33740 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
33741 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
33744 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
33745 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
33747 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
33748 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
33749 @@ -7449,17 +7994,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
33752 if test "${ac_cv_header_libintl_h+set}" = set; then
33753 - echo "$as_me:$LINENO: checking for libintl.h" >&5
33754 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
33755 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
33756 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
33757 if test "${ac_cv_header_libintl_h+set}" = set; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33761 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
33762 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33763 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
33765 # Is the header compilable?
33766 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
33767 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
33768 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
33769 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
33770 cat >conftest.$ac_ext <<_ACEOF
33773 @@ -7470,41 +8015,37 @@ $ac_includes_default
33774 #include <libintl.h>
33776 rm -f conftest.$ac_objext
33777 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33778 - (eval $ac_compile) 2>conftest.er1
33779 +if { (ac_try="$ac_compile"
33780 +case "(($ac_try" in
33781 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33782 + *) ac_try_echo=$ac_try;;
33784 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33785 + (eval "$ac_compile") 2>conftest.er1
33787 grep -v '^ *+' conftest.er1 >conftest.err
33789 cat conftest.err >&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 - (exit $ac_status); } &&
33792 - { ac_try='test -z "$ac_c_werror_flag"
33793 - || test ! -s conftest.err'
33794 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 - (eval $ac_try) 2>&5
33797 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 - (exit $ac_status); }; } &&
33799 - { ac_try='test -s conftest.$ac_objext'
33800 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33801 - (eval $ac_try) 2>&5
33803 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 - (exit $ac_status); }; }; then
33805 + (exit $ac_status); } && {
33806 + test -z "$ac_c_werror_flag" ||
33807 + test ! -s conftest.err
33808 + } && test -s conftest.$ac_objext; then
33809 ac_header_compiler=yes
33811 echo "$as_me: failed program was:" >&5
33812 sed 's/^/| /' conftest.$ac_ext >&5
33814 -ac_header_compiler=no
33815 + ac_header_compiler=no
33817 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33818 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33819 -echo "${ECHO_T}$ac_header_compiler" >&6
33821 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33822 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33823 +echo "${ECHO_T}$ac_header_compiler" >&6; }
33825 # Is the header present?
33826 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
33827 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
33828 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
33829 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
33830 cat >conftest.$ac_ext <<_ACEOF
33833 @@ -7513,24 +8054,22 @@ cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835 #include <libintl.h>
33837 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33838 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33839 +if { (ac_try="$ac_cpp conftest.$ac_ext"
33840 +case "(($ac_try" in
33841 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33842 + *) ac_try_echo=$ac_try;;
33844 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33845 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33847 grep -v '^ *+' conftest.er1 >conftest.err
33849 cat conftest.err >&5
33850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 - (exit $ac_status); } >/dev/null; then
33852 - if test -s conftest.err; then
33853 - ac_cpp_err=$ac_c_preproc_warn_flag
33854 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33861 -if test -z "$ac_cpp_err"; then
33862 + (exit $ac_status); } >/dev/null && {
33863 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33864 + test ! -s conftest.err
33866 ac_header_preproc=yes
33868 echo "$as_me: failed program was:" >&5
33869 @@ -7538,9 +8077,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
33871 ac_header_preproc=no
33874 rm -f conftest.err conftest.$ac_ext
33875 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33876 -echo "${ECHO_T}$ac_header_preproc" >&6
33877 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33878 +echo "${ECHO_T}$ac_header_preproc" >&6; }
33880 # So? What about this header?
33881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33882 @@ -7564,30 +8104,23 @@ echo "$as_me: WARNING: libintl.h: se
33883 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
33884 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
33885 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
33888 -## ------------------------------------------ ##
33889 -## Report this to the AC_PACKAGE_NAME lists. ##
33890 -## ------------------------------------------ ##
33893 - sed "s/^/$as_me: WARNING: /" >&2
33897 -echo "$as_me:$LINENO: checking for libintl.h" >&5
33898 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
33899 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
33900 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
33901 if test "${ac_cv_header_libintl_h+set}" = set; then
33902 echo $ECHO_N "(cached) $ECHO_C" >&6
33904 ac_cv_header_libintl_h=$ac_header_preproc
33906 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33907 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
33908 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33909 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
33912 if test $ac_cv_header_libintl_h = yes; then
33913 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
33914 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
33915 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
33916 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
33917 if test "${gt_cv_func_gettext_libc+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 @@ -7607,43 +8140,40 @@ return (int) gettext ("")
33923 rm -f conftest.$ac_objext conftest$ac_exeext
33924 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33925 - (eval $ac_link) 2>conftest.er1
33926 +if { (ac_try="$ac_link"
33927 +case "(($ac_try" in
33928 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33929 + *) ac_try_echo=$ac_try;;
33931 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33932 + (eval "$ac_link") 2>conftest.er1
33934 grep -v '^ *+' conftest.er1 >conftest.err
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 - (exit $ac_status); } &&
33939 - { ac_try='test -z "$ac_c_werror_flag"
33940 - || test ! -s conftest.err'
33941 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33942 - (eval $ac_try) 2>&5
33944 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 - (exit $ac_status); }; } &&
33946 - { ac_try='test -s conftest$ac_exeext'
33947 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33948 - (eval $ac_try) 2>&5
33950 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 - (exit $ac_status); }; }; then
33952 + (exit $ac_status); } && {
33953 + test -z "$ac_c_werror_flag" ||
33954 + test ! -s conftest.err
33955 + } && test -s conftest$ac_exeext &&
33956 + $as_test_x conftest$ac_exeext; then
33957 gt_cv_func_gettext_libc=yes
33959 echo "$as_me: failed program was:" >&5
33960 sed 's/^/| /' conftest.$ac_ext >&5
33962 -gt_cv_func_gettext_libc=no
33963 + gt_cv_func_gettext_libc=no
33965 -rm -f conftest.err conftest.$ac_objext \
33967 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33968 conftest$ac_exeext conftest.$ac_ext
33970 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
33971 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
33972 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
33973 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
33975 if test "$gt_cv_func_gettext_libc" != "yes"; then
33976 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
33977 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
33978 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
33979 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
33980 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
33981 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 @@ -7656,59 +8186,56 @@ cat confdefs.h >>conftest.$ac_ext
33984 cat >>conftest.$ac_ext <<_ACEOF
33985 /* end confdefs.h. */
33987 -/* Override any gcc2 internal prototype to avoid an error. */
33988 +/* Override any GCC internal prototype to avoid an error.
33989 + Use char because int might match the return type of a GCC
33990 + builtin and then its argument prototype would still apply. */
33994 -/* We use char because int might match the return type of a gcc2
33995 - builtin and then its argument prototype would still apply. */
33996 char bindtextdomain ();
34000 -bindtextdomain ();
34001 +return bindtextdomain ();
34006 rm -f conftest.$ac_objext conftest$ac_exeext
34007 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008 - (eval $ac_link) 2>conftest.er1
34009 +if { (ac_try="$ac_link"
34010 +case "(($ac_try" in
34011 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34012 + *) ac_try_echo=$ac_try;;
34014 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 + (eval "$ac_link") 2>conftest.er1
34017 grep -v '^ *+' conftest.er1 >conftest.err
34019 cat conftest.err >&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 - (exit $ac_status); } &&
34022 - { ac_try='test -z "$ac_c_werror_flag"
34023 - || test ! -s conftest.err'
34024 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025 - (eval $ac_try) 2>&5
34027 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 - (exit $ac_status); }; } &&
34029 - { ac_try='test -s conftest$ac_exeext'
34030 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34031 - (eval $ac_try) 2>&5
34033 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 - (exit $ac_status); }; }; then
34035 + (exit $ac_status); } && {
34036 + test -z "$ac_c_werror_flag" ||
34037 + test ! -s conftest.err
34038 + } && test -s conftest$ac_exeext &&
34039 + $as_test_x conftest$ac_exeext; then
34040 ac_cv_lib_intl_bindtextdomain=yes
34042 echo "$as_me: failed program was:" >&5
34043 sed 's/^/| /' conftest.$ac_ext >&5
34045 -ac_cv_lib_intl_bindtextdomain=no
34046 + ac_cv_lib_intl_bindtextdomain=no
34048 -rm -f conftest.err conftest.$ac_objext \
34050 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34051 conftest$ac_exeext conftest.$ac_ext
34052 LIBS=$ac_check_lib_save_LIBS
34054 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
34055 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
34056 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
34057 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
34058 if test $ac_cv_lib_intl_bindtextdomain = yes; then
34059 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
34060 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
34061 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
34062 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
34063 if test "${gt_cv_func_gettext_libintl+set}" = set; then
34064 echo $ECHO_N "(cached) $ECHO_C" >&6
34066 @@ -7728,39 +8255,36 @@ return (int) gettext ("")
34069 rm -f conftest.$ac_objext conftest$ac_exeext
34070 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34071 - (eval $ac_link) 2>conftest.er1
34072 +if { (ac_try="$ac_link"
34073 +case "(($ac_try" in
34074 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34075 + *) ac_try_echo=$ac_try;;
34077 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34078 + (eval "$ac_link") 2>conftest.er1
34080 grep -v '^ *+' conftest.er1 >conftest.err
34082 cat conftest.err >&5
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 - (exit $ac_status); } &&
34085 - { ac_try='test -z "$ac_c_werror_flag"
34086 - || test ! -s conftest.err'
34087 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34088 - (eval $ac_try) 2>&5
34090 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 - (exit $ac_status); }; } &&
34092 - { ac_try='test -s conftest$ac_exeext'
34093 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34094 - (eval $ac_try) 2>&5
34096 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 - (exit $ac_status); }; }; then
34098 + (exit $ac_status); } && {
34099 + test -z "$ac_c_werror_flag" ||
34100 + test ! -s conftest.err
34101 + } && test -s conftest$ac_exeext &&
34102 + $as_test_x conftest$ac_exeext; then
34103 gt_cv_func_gettext_libintl=yes
34105 echo "$as_me: failed program was:" >&5
34106 sed 's/^/| /' conftest.$ac_ext >&5
34108 -gt_cv_func_gettext_libintl=no
34109 + gt_cv_func_gettext_libintl=no
34111 -rm -f conftest.err conftest.$ac_objext \
34113 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34114 conftest$ac_exeext conftest.$ac_ext
34116 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
34117 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
34118 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
34119 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
34123 @@ -7774,8 +8298,8 @@ _ACEOF
34125 # Extract the first word of "msgfmt", so it can be a program name with args.
34126 set dummy msgfmt; ac_word=$2
34127 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34128 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34129 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34130 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34131 if test "${ac_cv_path_MSGFMT+set}" = set; then
34132 echo $ECHO_N "(cached) $ECHO_C" >&6
34134 @@ -7801,20 +8325,20 @@ esac
34136 MSGFMT="$ac_cv_path_MSGFMT"
34137 if test -n "$MSGFMT"; then
34138 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
34139 -echo "${ECHO_T}$MSGFMT" >&6
34140 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
34141 +echo "${ECHO_T}$MSGFMT" >&6; }
34143 - echo "$as_me:$LINENO: result: no" >&5
34144 -echo "${ECHO_T}no" >&6
34145 + { echo "$as_me:$LINENO: result: no" >&5
34146 +echo "${ECHO_T}no" >&6; }
34148 if test "$MSGFMT" != "no"; then
34150 for ac_func in dcgettext
34152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34153 -echo "$as_me:$LINENO: checking for $ac_func" >&5
34154 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34155 -if eval "test \"\${$as_ac_var+set}\" = set"; then
34156 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
34157 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34158 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34159 echo $ECHO_N "(cached) $ECHO_C" >&6
34161 cat >conftest.$ac_ext <<_ACEOF
34162 @@ -7840,68 +8364,60 @@ cat >>conftest.$ac_ext <<_ACEOF
34166 -/* Override any gcc2 internal prototype to avoid an error. */
34167 +/* Override any GCC internal prototype to avoid an error.
34168 + Use char because int might match the return type of a GCC
34169 + builtin and then its argument prototype would still apply. */
34174 -/* We use char because int might match the return type of a gcc2
34175 - builtin and then its argument prototype would still apply. */
34177 /* The GNU C library defines this for functions which it implements
34178 to always fail with ENOSYS. Some functions are actually named
34179 something starting with __ and the normal name is an alias. */
34180 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34181 +#if defined __stub_$ac_func || defined __stub___$ac_func
34184 -char (*f) () = $ac_func;
34186 -#ifdef __cplusplus
34193 -return f != $ac_func;
34194 +return $ac_func ();
34199 rm -f conftest.$ac_objext conftest$ac_exeext
34200 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34201 - (eval $ac_link) 2>conftest.er1
34202 +if { (ac_try="$ac_link"
34203 +case "(($ac_try" in
34204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34205 + *) ac_try_echo=$ac_try;;
34207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34208 + (eval "$ac_link") 2>conftest.er1
34210 grep -v '^ *+' conftest.er1 >conftest.err
34212 cat conftest.err >&5
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 - (exit $ac_status); } &&
34215 - { ac_try='test -z "$ac_c_werror_flag"
34216 - || test ! -s conftest.err'
34217 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34218 - (eval $ac_try) 2>&5
34220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34221 - (exit $ac_status); }; } &&
34222 - { ac_try='test -s conftest$ac_exeext'
34223 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 - (eval $ac_try) 2>&5
34226 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 - (exit $ac_status); }; }; then
34228 + (exit $ac_status); } && {
34229 + test -z "$ac_c_werror_flag" ||
34230 + test ! -s conftest.err
34231 + } && test -s conftest$ac_exeext &&
34232 + $as_test_x conftest$ac_exeext; then
34233 eval "$as_ac_var=yes"
34235 echo "$as_me: failed program was:" >&5
34236 sed 's/^/| /' conftest.$ac_ext >&5
34238 -eval "$as_ac_var=no"
34239 + eval "$as_ac_var=no"
34241 -rm -f conftest.err conftest.$ac_objext \
34243 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34244 conftest$ac_exeext conftest.$ac_ext
34246 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34247 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34248 +ac_res=`eval echo '${'$as_ac_var'}'`
34249 + { echo "$as_me:$LINENO: result: $ac_res" >&5
34250 +echo "${ECHO_T}$ac_res" >&6; }
34251 if test `eval echo '${'$as_ac_var'}'` = yes; then
34252 cat >>confdefs.h <<_ACEOF
34253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34254 @@ -7912,8 +8428,8 @@ done
34256 # Extract the first word of "gmsgfmt", so it can be a program name with args.
34257 set dummy gmsgfmt; ac_word=$2
34258 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34259 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34260 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34261 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34262 if test "${ac_cv_path_GMSGFMT+set}" = set; then
34263 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 @@ -7928,32 +8444,33 @@ do
34267 test -z "$as_dir" && as_dir=.
34268 for ac_exec_ext in '' $ac_executable_extensions; do
34269 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34270 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34271 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
34272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34279 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
34283 GMSGFMT=$ac_cv_path_GMSGFMT
34285 if test -n "$GMSGFMT"; then
34286 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34287 -echo "${ECHO_T}$GMSGFMT" >&6
34288 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34289 +echo "${ECHO_T}$GMSGFMT" >&6; }
34291 - echo "$as_me:$LINENO: result: no" >&5
34292 -echo "${ECHO_T}no" >&6
34293 + { echo "$as_me:$LINENO: result: no" >&5
34294 +echo "${ECHO_T}no" >&6; }
34298 # Extract the first word of "xgettext", so it can be a program name with args.
34299 set dummy xgettext; ac_word=$2
34300 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34301 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34302 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34303 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34304 if test "${ac_cv_path_XGETTEXT+set}" = set; then
34305 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 @@ -7979,11 +8496,11 @@ esac
34309 XGETTEXT="$ac_cv_path_XGETTEXT"
34310 if test -n "$XGETTEXT"; then
34311 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34312 -echo "${ECHO_T}$XGETTEXT" >&6
34313 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34314 +echo "${ECHO_T}$XGETTEXT" >&6; }
34316 - echo "$as_me:$LINENO: result: no" >&5
34317 -echo "${ECHO_T}no" >&6
34318 + { echo "$as_me:$LINENO: result: no" >&5
34319 +echo "${ECHO_T}no" >&6; }
34322 cat >conftest.$ac_ext <<_ACEOF
34323 @@ -8003,37 +8520,34 @@ extern int _nl_msg_cat_cntr;
34326 rm -f conftest.$ac_objext conftest$ac_exeext
34327 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34328 - (eval $ac_link) 2>conftest.er1
34329 +if { (ac_try="$ac_link"
34330 +case "(($ac_try" in
34331 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34332 + *) ac_try_echo=$ac_try;;
34334 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34335 + (eval "$ac_link") 2>conftest.er1
34337 grep -v '^ *+' conftest.er1 >conftest.err
34339 cat conftest.err >&5
34340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34341 - (exit $ac_status); } &&
34342 - { ac_try='test -z "$ac_c_werror_flag"
34343 - || test ! -s conftest.err'
34344 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34345 - (eval $ac_try) 2>&5
34347 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34348 - (exit $ac_status); }; } &&
34349 - { ac_try='test -s conftest$ac_exeext'
34350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34351 - (eval $ac_try) 2>&5
34353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34354 - (exit $ac_status); }; }; then
34355 + (exit $ac_status); } && {
34356 + test -z "$ac_c_werror_flag" ||
34357 + test ! -s conftest.err
34358 + } && test -s conftest$ac_exeext &&
34359 + $as_test_x conftest$ac_exeext; then
34363 echo "$as_me: failed program was:" >&5
34364 sed 's/^/| /' conftest.$ac_ext >&5
34370 -rm -f conftest.err conftest.$ac_objext \
34372 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34373 conftest$ac_exeext conftest.$ac_ext
34376 @@ -8055,8 +8569,8 @@ fi
34377 INTLOBJS="\$(GETTOBJS)"
34378 # Extract the first word of "msgfmt", so it can be a program name with args.
34379 set dummy msgfmt; ac_word=$2
34380 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34381 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34382 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34383 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34384 if test "${ac_cv_path_MSGFMT+set}" = set; then
34385 echo $ECHO_N "(cached) $ECHO_C" >&6
34387 @@ -8082,17 +8596,17 @@ esac
34389 MSGFMT="$ac_cv_path_MSGFMT"
34390 if test -n "$MSGFMT"; then
34391 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
34392 -echo "${ECHO_T}$MSGFMT" >&6
34393 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
34394 +echo "${ECHO_T}$MSGFMT" >&6; }
34396 - echo "$as_me:$LINENO: result: no" >&5
34397 -echo "${ECHO_T}no" >&6
34398 + { echo "$as_me:$LINENO: result: no" >&5
34399 +echo "${ECHO_T}no" >&6; }
34402 # Extract the first word of "gmsgfmt", so it can be a program name with args.
34403 set dummy gmsgfmt; ac_word=$2
34404 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34405 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34406 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34407 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34408 if test "${ac_cv_path_GMSGFMT+set}" = set; then
34409 echo $ECHO_N "(cached) $ECHO_C" >&6
34411 @@ -8107,32 +8621,33 @@ do
34413 test -z "$as_dir" && as_dir=.
34414 for ac_exec_ext in '' $ac_executable_extensions; do
34415 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34416 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34417 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
34418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34425 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
34429 GMSGFMT=$ac_cv_path_GMSGFMT
34431 if test -n "$GMSGFMT"; then
34432 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34433 -echo "${ECHO_T}$GMSGFMT" >&6
34434 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34435 +echo "${ECHO_T}$GMSGFMT" >&6; }
34437 - echo "$as_me:$LINENO: result: no" >&5
34438 -echo "${ECHO_T}no" >&6
34439 + { echo "$as_me:$LINENO: result: no" >&5
34440 +echo "${ECHO_T}no" >&6; }
34444 # Extract the first word of "xgettext", so it can be a program name with args.
34445 set dummy xgettext; ac_word=$2
34446 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34447 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34448 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34449 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34450 if test "${ac_cv_path_XGETTEXT+set}" = set; then
34451 echo $ECHO_N "(cached) $ECHO_C" >&6
34453 @@ -8158,11 +8673,11 @@ esac
34455 XGETTEXT="$ac_cv_path_XGETTEXT"
34456 if test -n "$XGETTEXT"; then
34457 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34458 -echo "${ECHO_T}$XGETTEXT" >&6
34459 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34460 +echo "${ECHO_T}$XGETTEXT" >&6; }
34462 - echo "$as_me:$LINENO: result: no" >&5
34463 -echo "${ECHO_T}no" >&6
34464 + { echo "$as_me:$LINENO: result: no" >&5
34465 +echo "${ECHO_T}no" >&6; }
34469 @@ -8181,8 +8696,8 @@ fi
34470 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
34473 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
34474 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
34475 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
34476 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
34480 @@ -8231,8 +8746,8 @@ _ACEOF
34481 if test "x$ALL_LINGUAS" = "x"; then
34484 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
34485 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
34486 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
34487 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
34489 for lang in ${LINGUAS=$ALL_LINGUAS}; do
34490 case "$ALL_LINGUAS" in
34491 @@ -8240,8 +8755,8 @@ echo $ECHO_N "checking for catalogs to b
34494 LINGUAS=$NEW_LINGUAS
34495 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
34496 -echo "${ECHO_T}$LINGUAS" >&6
34497 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
34498 +echo "${ECHO_T}$LINGUAS" >&6; }
34501 if test -n "$LINGUAS"; then
34502 @@ -8260,17 +8775,17 @@ echo "${ECHO_T}$LINGUAS" >&6
34503 if test -f $srcdir/po2tbl.sed.in; then
34504 if test "$CATOBJEXT" = ".cat"; then
34505 if test "${ac_cv_header_linux_version_h+set}" = set; then
34506 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
34507 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
34508 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
34509 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
34510 if test "${ac_cv_header_linux_version_h+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34514 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
34515 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34516 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
34518 # Is the header compilable?
34519 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
34520 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
34521 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
34522 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
34523 cat >conftest.$ac_ext <<_ACEOF
34526 @@ -8281,41 +8796,37 @@ $ac_includes_default
34527 #include <linux/version.h>
34529 rm -f conftest.$ac_objext
34530 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34531 - (eval $ac_compile) 2>conftest.er1
34532 +if { (ac_try="$ac_compile"
34533 +case "(($ac_try" in
34534 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34535 + *) ac_try_echo=$ac_try;;
34537 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34538 + (eval "$ac_compile") 2>conftest.er1
34540 grep -v '^ *+' conftest.er1 >conftest.err
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 - (exit $ac_status); } &&
34545 - { ac_try='test -z "$ac_c_werror_flag"
34546 - || test ! -s conftest.err'
34547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548 - (eval $ac_try) 2>&5
34550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 - (exit $ac_status); }; } &&
34552 - { ac_try='test -s conftest.$ac_objext'
34553 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 - (eval $ac_try) 2>&5
34556 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 - (exit $ac_status); }; }; then
34558 + (exit $ac_status); } && {
34559 + test -z "$ac_c_werror_flag" ||
34560 + test ! -s conftest.err
34561 + } && test -s conftest.$ac_objext; then
34562 ac_header_compiler=yes
34564 echo "$as_me: failed program was:" >&5
34565 sed 's/^/| /' conftest.$ac_ext >&5
34567 -ac_header_compiler=no
34568 + ac_header_compiler=no
34570 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34571 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34572 -echo "${ECHO_T}$ac_header_compiler" >&6
34574 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34575 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34576 +echo "${ECHO_T}$ac_header_compiler" >&6; }
34578 # Is the header present?
34579 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
34580 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
34581 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
34582 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
34583 cat >conftest.$ac_ext <<_ACEOF
34586 @@ -8324,24 +8835,22 @@ cat >>conftest.$ac_ext <<_ACEOF
34587 /* end confdefs.h. */
34588 #include <linux/version.h>
34590 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34591 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34592 +if { (ac_try="$ac_cpp conftest.$ac_ext"
34593 +case "(($ac_try" in
34594 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34595 + *) ac_try_echo=$ac_try;;
34597 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34598 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34600 grep -v '^ *+' conftest.er1 >conftest.err
34602 cat conftest.err >&5
34603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34604 - (exit $ac_status); } >/dev/null; then
34605 - if test -s conftest.err; then
34606 - ac_cpp_err=$ac_c_preproc_warn_flag
34607 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34614 -if test -z "$ac_cpp_err"; then
34615 + (exit $ac_status); } >/dev/null && {
34616 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34617 + test ! -s conftest.err
34619 ac_header_preproc=yes
34621 echo "$as_me: failed program was:" >&5
34622 @@ -8349,9 +8858,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
34624 ac_header_preproc=no
34627 rm -f conftest.err conftest.$ac_ext
34628 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34629 -echo "${ECHO_T}$ac_header_preproc" >&6
34630 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34631 +echo "${ECHO_T}$ac_header_preproc" >&6; }
34633 # So? What about this header?
34634 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34635 @@ -8375,25 +8885,18 @@ echo "$as_me: WARNING: linux/version.h:
34636 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
34637 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
34638 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
34641 -## ------------------------------------------ ##
34642 -## Report this to the AC_PACKAGE_NAME lists. ##
34643 -## ------------------------------------------ ##
34646 - sed "s/^/$as_me: WARNING: /" >&2
34650 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
34651 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
34652 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
34653 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
34654 if test "${ac_cv_header_linux_version_h+set}" = set; then
34655 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 ac_cv_header_linux_version_h=$ac_header_preproc
34659 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34660 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
34661 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34662 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
34665 if test $ac_cv_header_linux_version_h = yes; then
34666 @@ -8443,17 +8946,17 @@ fi
34670 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
34671 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
34672 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
34673 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
34674 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
34675 + # Check whether --enable-maintainer-mode was given.
34676 if test "${enable_maintainer_mode+set}" = set; then
34677 - enableval="$enable_maintainer_mode"
34678 - USE_MAINTAINER_MODE=$enableval
34679 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
34681 USE_MAINTAINER_MODE=no
34683 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
34684 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
34687 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
34688 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
34691 if test $USE_MAINTAINER_MODE = yes; then
34692 @@ -8493,8 +8996,8 @@ AR=${AR-ar}
34693 if test -n "$ac_tool_prefix"; then
34694 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34695 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34696 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34697 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34698 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34699 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34700 if test "${ac_cv_prog_RANLIB+set}" = set; then
34701 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 @@ -8507,32 +9010,34 @@ do
34705 test -z "$as_dir" && as_dir=.
34706 for ac_exec_ext in '' $ac_executable_extensions; do
34707 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34708 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34709 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34719 RANLIB=$ac_cv_prog_RANLIB
34720 if test -n "$RANLIB"; then
34721 - echo "$as_me:$LINENO: result: $RANLIB" >&5
34722 -echo "${ECHO_T}$RANLIB" >&6
34723 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
34724 +echo "${ECHO_T}$RANLIB" >&6; }
34726 - echo "$as_me:$LINENO: result: no" >&5
34727 -echo "${ECHO_T}no" >&6
34728 + { echo "$as_me:$LINENO: result: no" >&5
34729 +echo "${ECHO_T}no" >&6; }
34734 if test -z "$ac_cv_prog_RANLIB"; then
34735 ac_ct_RANLIB=$RANLIB
34736 # Extract the first word of "ranlib", so it can be a program name with args.
34737 set dummy ranlib; ac_word=$2
34738 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34739 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34740 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34741 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34742 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34743 echo $ECHO_N "(cached) $ECHO_C" >&6
34745 @@ -8545,27 +9050,41 @@ do
34747 test -z "$as_dir" && as_dir=.
34748 for ac_exec_ext in '' $ac_executable_extensions; do
34749 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34750 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34751 ac_cv_prog_ac_ct_RANLIB="ranlib"
34752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34759 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34762 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34763 if test -n "$ac_ct_RANLIB"; then
34764 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34765 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
34766 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34767 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
34769 - echo "$as_me:$LINENO: result: no" >&5
34770 -echo "${ECHO_T}no" >&6
34771 + { echo "$as_me:$LINENO: result: no" >&5
34772 +echo "${ECHO_T}no" >&6; }
34775 - RANLIB=$ac_ct_RANLIB
34776 + if test "x$ac_ct_RANLIB" = x; then
34779 + case $cross_compiling:$ac_tool_warned in
34781 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34782 +whose name does not start with the host triplet. If you think this
34783 +configuration is useful to you, please write to autoconf@gnu.org." >&5
34784 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34785 +whose name does not start with the host triplet. If you think this
34786 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34787 +ac_tool_warned=yes ;;
34789 + RANLIB=$ac_ct_RANLIB
34792 RANLIB="$ac_cv_prog_RANLIB"
34794 @@ -8583,8 +9102,8 @@ fi
34795 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34796 # OS/2's system install, which has a completely different semantic
34797 # ./install, which can be erroneously created by make from ./install.sh.
34798 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34799 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34800 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34801 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
34802 if test -z "$INSTALL"; then
34803 if test "${ac_cv_path_install+set}" = set; then
34804 echo $ECHO_N "(cached) $ECHO_C" >&6
34805 @@ -8606,7 +9125,7 @@ case $as_dir/ in
34807 for ac_prog in ginstall scoinst install; do
34808 for ac_exec_ext in '' $ac_executable_extensions; do
34809 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34810 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
34811 if test $ac_prog = install &&
34812 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34813 # AIX install. It has an incompatible calling convention.
34814 @@ -8625,21 +9144,22 @@ case $as_dir/ in
34822 if test "${ac_cv_path_install+set}" = set; then
34823 INSTALL=$ac_cv_path_install
34825 - # As a last resort, use the slow shell script. We don't cache a
34826 - # path for INSTALL within a source directory, because that will
34827 + # As a last resort, use the slow shell script. Don't cache a
34828 + # value for INSTALL within a source directory, because that will
34829 # break other packages using the cache if that directory is
34830 - # removed, or if the path is relative.
34831 + # removed, or if the value is a relative name.
34832 INSTALL=$ac_install_sh
34835 -echo "$as_me:$LINENO: result: $INSTALL" >&5
34836 -echo "${ECHO_T}$INSTALL" >&6
34837 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
34838 +echo "${ECHO_T}$INSTALL" >&6; }
34840 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34841 # It thinks the first close brace ends the variable substitution.
34842 @@ -8663,8 +9183,8 @@ fi
34843 if test "x$cross_compiling" = "xno"; then
34844 EXEEXT_FOR_BUILD='$(EXEEXT)'
34846 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
34847 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
34848 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
34849 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
34850 if test "${bfd_cv_build_exeext+set}" = set; then
34851 echo $ECHO_N "(cached) $ECHO_C" >&6
34853 @@ -8681,8 +9201,8 @@ else
34855 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
34857 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
34858 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
34859 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
34860 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
34861 EXEEXT_FOR_BUILD=""
34862 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
34864 @@ -8704,18 +9224,19 @@ esac
34865 for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h
34867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34868 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
34869 - echo "$as_me:$LINENO: checking for $ac_header" >&5
34870 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34871 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
34872 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34873 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
34874 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34875 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34876 echo $ECHO_N "(cached) $ECHO_C" >&6
34878 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34879 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34880 +ac_res=`eval echo '${'$as_ac_Header'}'`
34881 + { echo "$as_me:$LINENO: result: $ac_res" >&5
34882 +echo "${ECHO_T}$ac_res" >&6; }
34884 # Is the header compilable?
34885 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
34886 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34887 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
34888 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
34889 cat >conftest.$ac_ext <<_ACEOF
34892 @@ -8726,41 +9247,37 @@ $ac_includes_default
34893 #include <$ac_header>
34895 rm -f conftest.$ac_objext
34896 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34897 - (eval $ac_compile) 2>conftest.er1
34898 +if { (ac_try="$ac_compile"
34899 +case "(($ac_try" in
34900 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34901 + *) ac_try_echo=$ac_try;;
34903 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34904 + (eval "$ac_compile") 2>conftest.er1
34906 grep -v '^ *+' conftest.er1 >conftest.err
34908 cat conftest.err >&5
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 - (exit $ac_status); } &&
34911 - { ac_try='test -z "$ac_c_werror_flag"
34912 - || test ! -s conftest.err'
34913 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 - (eval $ac_try) 2>&5
34916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 - (exit $ac_status); }; } &&
34918 - { ac_try='test -s conftest.$ac_objext'
34919 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 - (eval $ac_try) 2>&5
34922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 - (exit $ac_status); }; }; then
34924 + (exit $ac_status); } && {
34925 + test -z "$ac_c_werror_flag" ||
34926 + test ! -s conftest.err
34927 + } && test -s conftest.$ac_objext; then
34928 ac_header_compiler=yes
34930 echo "$as_me: failed program was:" >&5
34931 sed 's/^/| /' conftest.$ac_ext >&5
34933 -ac_header_compiler=no
34934 + ac_header_compiler=no
34936 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34937 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34938 -echo "${ECHO_T}$ac_header_compiler" >&6
34940 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34941 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34942 +echo "${ECHO_T}$ac_header_compiler" >&6; }
34944 # Is the header present?
34945 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
34946 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34947 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
34948 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
34949 cat >conftest.$ac_ext <<_ACEOF
34952 @@ -8769,24 +9286,22 @@ cat >>conftest.$ac_ext <<_ACEOF
34953 /* end confdefs.h. */
34954 #include <$ac_header>
34956 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34957 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34958 +if { (ac_try="$ac_cpp conftest.$ac_ext"
34959 +case "(($ac_try" in
34960 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34961 + *) ac_try_echo=$ac_try;;
34963 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34964 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34966 grep -v '^ *+' conftest.er1 >conftest.err
34968 cat conftest.err >&5
34969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34970 - (exit $ac_status); } >/dev/null; then
34971 - if test -s conftest.err; then
34972 - ac_cpp_err=$ac_c_preproc_warn_flag
34973 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34980 -if test -z "$ac_cpp_err"; then
34981 + (exit $ac_status); } >/dev/null && {
34982 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34983 + test ! -s conftest.err
34985 ac_header_preproc=yes
34987 echo "$as_me: failed program was:" >&5
34988 @@ -8794,9 +9309,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
34990 ac_header_preproc=no
34993 rm -f conftest.err conftest.$ac_ext
34994 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34995 -echo "${ECHO_T}$ac_header_preproc" >&6
34996 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34997 +echo "${ECHO_T}$ac_header_preproc" >&6; }
34999 # So? What about this header?
35000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35001 @@ -8820,25 +9336,19 @@ echo "$as_me: WARNING: $ac_header: s
35002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35003 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35007 -## ------------------------------------------ ##
35008 -## Report this to the AC_PACKAGE_NAME lists. ##
35009 -## ------------------------------------------ ##
35012 - sed "s/^/$as_me: WARNING: /" >&2
35016 -echo "$as_me:$LINENO: checking for $ac_header" >&5
35017 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35018 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
35019 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
35020 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35021 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35022 echo $ECHO_N "(cached) $ECHO_C" >&6
35024 eval "$as_ac_Header=\$ac_header_preproc"
35026 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35027 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35028 +ac_res=`eval echo '${'$as_ac_Header'}'`
35029 + { echo "$as_me:$LINENO: result: $ac_res" >&5
35030 +echo "${ECHO_T}$ac_res" >&6; }
35033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35034 @@ -8850,8 +9360,8 @@ fi
35038 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
35039 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
35040 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
35041 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
35042 if test "${ac_cv_header_sys_wait_h+set}" = set; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35045 @@ -8864,7 +9374,7 @@ cat >>conftest.$ac_ext <<_ACEOF
35046 #include <sys/types.h>
35047 #include <sys/wait.h>
35048 #ifndef WEXITSTATUS
35049 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
35050 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
35053 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
35054 @@ -8881,38 +9391,34 @@ main ()
35057 rm -f conftest.$ac_objext
35058 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35059 - (eval $ac_compile) 2>conftest.er1
35060 +if { (ac_try="$ac_compile"
35061 +case "(($ac_try" in
35062 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35063 + *) ac_try_echo=$ac_try;;
35065 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35066 + (eval "$ac_compile") 2>conftest.er1
35068 grep -v '^ *+' conftest.er1 >conftest.err
35070 cat conftest.err >&5
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 - (exit $ac_status); } &&
35073 - { ac_try='test -z "$ac_c_werror_flag"
35074 - || test ! -s conftest.err'
35075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35076 - (eval $ac_try) 2>&5
35078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35079 - (exit $ac_status); }; } &&
35080 - { ac_try='test -s conftest.$ac_objext'
35081 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35082 - (eval $ac_try) 2>&5
35084 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085 - (exit $ac_status); }; }; then
35086 + (exit $ac_status); } && {
35087 + test -z "$ac_c_werror_flag" ||
35088 + test ! -s conftest.err
35089 + } && test -s conftest.$ac_objext; then
35090 ac_cv_header_sys_wait_h=yes
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.$ac_ext >&5
35095 -ac_cv_header_sys_wait_h=no
35096 + ac_cv_header_sys_wait_h=no
35098 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35100 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35102 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
35103 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
35104 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
35105 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
35106 if test $ac_cv_header_sys_wait_h = yes; then
35108 cat >>confdefs.h <<\_ACEOF
35109 @@ -8923,8 +9429,8 @@ fi
35111 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
35112 # for constant arguments. Useless!
35113 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
35114 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
35115 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
35116 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
35117 if test "${ac_cv_working_alloca_h+set}" = set; then
35118 echo $ECHO_N "(cached) $ECHO_C" >&6
35120 @@ -8939,44 +9445,42 @@ int
35123 char *p = (char *) alloca (2 * sizeof (int));
35129 rm -f conftest.$ac_objext conftest$ac_exeext
35130 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35131 - (eval $ac_link) 2>conftest.er1
35132 +if { (ac_try="$ac_link"
35133 +case "(($ac_try" in
35134 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35135 + *) ac_try_echo=$ac_try;;
35137 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35138 + (eval "$ac_link") 2>conftest.er1
35140 grep -v '^ *+' conftest.er1 >conftest.err
35142 cat conftest.err >&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 - (exit $ac_status); } &&
35145 - { ac_try='test -z "$ac_c_werror_flag"
35146 - || test ! -s conftest.err'
35147 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35148 - (eval $ac_try) 2>&5
35150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35151 - (exit $ac_status); }; } &&
35152 - { ac_try='test -s conftest$ac_exeext'
35153 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35154 - (eval $ac_try) 2>&5
35156 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35157 - (exit $ac_status); }; }; then
35158 + (exit $ac_status); } && {
35159 + test -z "$ac_c_werror_flag" ||
35160 + test ! -s conftest.err
35161 + } && test -s conftest$ac_exeext &&
35162 + $as_test_x conftest$ac_exeext; then
35163 ac_cv_working_alloca_h=yes
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35168 -ac_cv_working_alloca_h=no
35169 + ac_cv_working_alloca_h=no
35171 -rm -f conftest.err conftest.$ac_objext \
35173 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35174 conftest$ac_exeext conftest.$ac_ext
35176 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
35177 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
35178 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
35179 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
35180 if test $ac_cv_working_alloca_h = yes; then
35182 cat >>confdefs.h <<\_ACEOF
35183 @@ -8985,8 +9489,8 @@ _ACEOF
35187 -echo "$as_me:$LINENO: checking for alloca" >&5
35188 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
35189 +{ echo "$as_me:$LINENO: checking for alloca" >&5
35190 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
35191 if test "${ac_cv_func_alloca_works+set}" = set; then
35192 echo $ECHO_N "(cached) $ECHO_C" >&6
35194 @@ -9003,7 +9507,7 @@ cat >>conftest.$ac_ext <<_ACEOF
35195 # include <malloc.h>
35196 # define alloca _alloca
35198 -# if HAVE_ALLOCA_H
35199 +# ifdef HAVE_ALLOCA_H
35200 # include <alloca.h>
35203 @@ -9021,44 +9525,42 @@ int
35206 char *p = (char *) alloca (1);
35212 rm -f conftest.$ac_objext conftest$ac_exeext
35213 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35214 - (eval $ac_link) 2>conftest.er1
35215 +if { (ac_try="$ac_link"
35216 +case "(($ac_try" in
35217 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35218 + *) ac_try_echo=$ac_try;;
35220 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35221 + (eval "$ac_link") 2>conftest.er1
35223 grep -v '^ *+' conftest.er1 >conftest.err
35225 cat conftest.err >&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 - (exit $ac_status); } &&
35228 - { ac_try='test -z "$ac_c_werror_flag"
35229 - || test ! -s conftest.err'
35230 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35231 - (eval $ac_try) 2>&5
35233 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35234 - (exit $ac_status); }; } &&
35235 - { ac_try='test -s conftest$ac_exeext'
35236 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35237 - (eval $ac_try) 2>&5
35239 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35240 - (exit $ac_status); }; }; then
35241 + (exit $ac_status); } && {
35242 + test -z "$ac_c_werror_flag" ||
35243 + test ! -s conftest.err
35244 + } && test -s conftest$ac_exeext &&
35245 + $as_test_x conftest$ac_exeext; then
35246 ac_cv_func_alloca_works=yes
35248 echo "$as_me: failed program was:" >&5
35249 sed 's/^/| /' conftest.$ac_ext >&5
35251 -ac_cv_func_alloca_works=no
35252 + ac_cv_func_alloca_works=no
35254 -rm -f conftest.err conftest.$ac_objext \
35256 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35257 conftest$ac_exeext conftest.$ac_ext
35259 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
35260 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
35261 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
35262 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
35264 if test $ac_cv_func_alloca_works = yes; then
35266 @@ -9072,15 +9574,15 @@ else
35267 # contain a buggy version. If you still want to use their alloca,
35268 # use ar to extract alloca.o from them instead of compiling alloca.c.
35270 -ALLOCA=alloca.$ac_objext
35271 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
35273 cat >>confdefs.h <<\_ACEOF
35278 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
35279 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
35280 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
35281 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
35282 if test "${ac_cv_os_cray+set}" = set; then
35283 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 @@ -9090,7 +9592,7 @@ _ACEOF
35286 cat confdefs.h >>conftest.$ac_ext
35287 cat >>conftest.$ac_ext <<_ACEOF
35288 /* end confdefs.h. */
35289 -#if defined(CRAY) && ! defined(CRAY2)
35290 +#if defined CRAY && ! defined CRAY2
35294 @@ -9106,14 +9608,14 @@ fi
35298 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
35299 -echo "${ECHO_T}$ac_cv_os_cray" >&6
35300 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
35301 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
35302 if test $ac_cv_os_cray = yes; then
35303 for ac_func in _getb67 GETB67 getb67; do
35304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35305 -echo "$as_me:$LINENO: checking for $ac_func" >&5
35306 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35307 -if eval "test \"\${$as_ac_var+set}\" = set"; then
35308 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
35309 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35310 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35311 echo $ECHO_N "(cached) $ECHO_C" >&6
35313 cat >conftest.$ac_ext <<_ACEOF
35314 @@ -9139,68 +9641,60 @@ cat >>conftest.$ac_ext <<_ACEOF
35318 -/* Override any gcc2 internal prototype to avoid an error. */
35319 +/* Override any GCC internal prototype to avoid an error.
35320 + Use char because int might match the return type of a GCC
35321 + builtin and then its argument prototype would still apply. */
35326 -/* We use char because int might match the return type of a gcc2
35327 - builtin and then its argument prototype would still apply. */
35329 /* The GNU C library defines this for functions which it implements
35330 to always fail with ENOSYS. Some functions are actually named
35331 something starting with __ and the normal name is an alias. */
35332 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35333 +#if defined __stub_$ac_func || defined __stub___$ac_func
35336 -char (*f) () = $ac_func;
35338 -#ifdef __cplusplus
35345 -return f != $ac_func;
35346 +return $ac_func ();
35351 rm -f conftest.$ac_objext conftest$ac_exeext
35352 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35353 - (eval $ac_link) 2>conftest.er1
35354 +if { (ac_try="$ac_link"
35355 +case "(($ac_try" in
35356 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35357 + *) ac_try_echo=$ac_try;;
35359 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 + (eval "$ac_link") 2>conftest.er1
35362 grep -v '^ *+' conftest.er1 >conftest.err
35364 cat conftest.err >&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 - (exit $ac_status); } &&
35367 - { ac_try='test -z "$ac_c_werror_flag"
35368 - || test ! -s conftest.err'
35369 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35370 - (eval $ac_try) 2>&5
35372 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373 - (exit $ac_status); }; } &&
35374 - { ac_try='test -s conftest$ac_exeext'
35375 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35376 - (eval $ac_try) 2>&5
35378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35379 - (exit $ac_status); }; }; then
35380 + (exit $ac_status); } && {
35381 + test -z "$ac_c_werror_flag" ||
35382 + test ! -s conftest.err
35383 + } && test -s conftest$ac_exeext &&
35384 + $as_test_x conftest$ac_exeext; then
35385 eval "$as_ac_var=yes"
35387 echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35390 -eval "$as_ac_var=no"
35391 + eval "$as_ac_var=no"
35393 -rm -f conftest.err conftest.$ac_objext \
35395 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35396 conftest$ac_exeext conftest.$ac_ext
35398 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35399 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35400 +ac_res=`eval echo '${'$as_ac_var'}'`
35401 + { echo "$as_me:$LINENO: result: $ac_res" >&5
35402 +echo "${ECHO_T}$ac_res" >&6; }
35403 if test `eval echo '${'$as_ac_var'}'` = yes; then
35405 cat >>confdefs.h <<_ACEOF
35406 @@ -9213,8 +9707,8 @@ fi
35410 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
35411 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
35412 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
35413 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
35414 if test "${ac_cv_c_stack_direction+set}" = set; then
35415 echo $ECHO_N "(cached) $ECHO_C" >&6
35417 @@ -9227,6 +9721,7 @@ _ACEOF
35418 cat confdefs.h >>conftest.$ac_ext
35419 cat >>conftest.$ac_ext <<_ACEOF
35420 /* end confdefs.h. */
35421 +$ac_includes_default
35423 find_stack_direction ()
35425 @@ -9244,17 +9739,26 @@ find_stack_direction ()
35429 - exit (find_stack_direction () < 0);
35430 + return find_stack_direction () < 0;
35433 rm -f conftest$ac_exeext
35434 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35435 - (eval $ac_link) 2>&5
35436 +if { (ac_try="$ac_link"
35437 +case "(($ac_try" in
35438 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35439 + *) ac_try_echo=$ac_try;;
35441 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35442 + (eval "$ac_link") 2>&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35446 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 - (eval $ac_try) 2>&5
35448 + { (case "(($ac_try" in
35449 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35450 + *) ac_try_echo=$ac_try;;
35452 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35453 + (eval "$ac_try") 2>&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); }; }; then
35457 @@ -9267,11 +9771,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
35458 ( exit $ac_status )
35459 ac_cv_c_stack_direction=-1
35461 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35462 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35467 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
35468 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
35469 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
35470 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
35472 cat >>confdefs.h <<_ACEOF
35473 #define STACK_DIRECTION $ac_cv_c_stack_direction
35474 @@ -9288,9 +9794,9 @@ fi
35475 for ac_func in sbrk utimes setmode getc_unlocked strcoll
35477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35478 -echo "$as_me:$LINENO: checking for $ac_func" >&5
35479 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35480 -if eval "test \"\${$as_ac_var+set}\" = set"; then
35481 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
35482 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35483 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35484 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 cat >conftest.$ac_ext <<_ACEOF
35487 @@ -9316,68 +9822,60 @@ cat >>conftest.$ac_ext <<_ACEOF
35491 -/* Override any gcc2 internal prototype to avoid an error. */
35492 +/* Override any GCC internal prototype to avoid an error.
35493 + Use char because int might match the return type of a GCC
35494 + builtin and then its argument prototype would still apply. */
35499 -/* We use char because int might match the return type of a gcc2
35500 - builtin and then its argument prototype would still apply. */
35502 /* The GNU C library defines this for functions which it implements
35503 to always fail with ENOSYS. Some functions are actually named
35504 something starting with __ and the normal name is an alias. */
35505 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35506 +#if defined __stub_$ac_func || defined __stub___$ac_func
35509 -char (*f) () = $ac_func;
35511 -#ifdef __cplusplus
35518 -return f != $ac_func;
35519 +return $ac_func ();
35524 rm -f conftest.$ac_objext conftest$ac_exeext
35525 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35526 - (eval $ac_link) 2>conftest.er1
35527 +if { (ac_try="$ac_link"
35528 +case "(($ac_try" in
35529 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35530 + *) ac_try_echo=$ac_try;;
35532 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35533 + (eval "$ac_link") 2>conftest.er1
35535 grep -v '^ *+' conftest.er1 >conftest.err
35537 cat conftest.err >&5
35538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35539 - (exit $ac_status); } &&
35540 - { ac_try='test -z "$ac_c_werror_flag"
35541 - || test ! -s conftest.err'
35542 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35543 - (eval $ac_try) 2>&5
35545 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 - (exit $ac_status); }; } &&
35547 - { ac_try='test -s conftest$ac_exeext'
35548 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 - (eval $ac_try) 2>&5
35551 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 - (exit $ac_status); }; }; then
35553 + (exit $ac_status); } && {
35554 + test -z "$ac_c_werror_flag" ||
35555 + test ! -s conftest.err
35556 + } && test -s conftest$ac_exeext &&
35557 + $as_test_x conftest$ac_exeext; then
35558 eval "$as_ac_var=yes"
35560 echo "$as_me: failed program was:" >&5
35561 sed 's/^/| /' conftest.$ac_ext >&5
35563 -eval "$as_ac_var=no"
35564 + eval "$as_ac_var=no"
35566 -rm -f conftest.err conftest.$ac_objext \
35568 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35569 conftest$ac_exeext conftest.$ac_ext
35571 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35572 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35573 +ac_res=`eval echo '${'$as_ac_var'}'`
35574 + { echo "$as_me:$LINENO: result: $ac_res" >&5
35575 +echo "${ECHO_T}$ac_res" >&6; }
35576 if test `eval echo '${'$as_ac_var'}'` = yes; then
35577 cat >>confdefs.h <<_ACEOF
35578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35579 @@ -9389,8 +9887,8 @@ done
35581 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
35582 # needs to be defined for it
35583 -echo "$as_me:$LINENO: checking for fopen64" >&5
35584 -echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
35585 +{ echo "$as_me:$LINENO: checking for fopen64" >&5
35586 +echo $ECHO_N "checking for fopen64... $ECHO_C" >&6; }
35587 if test "${bu_cv_have_fopen64+set}" = set; then
35588 echo $ECHO_N "(cached) $ECHO_C" >&6
35590 @@ -9410,33 +9908,29 @@ FILE *f = fopen64 ("/tmp/foo","r");
35593 rm -f conftest.$ac_objext conftest$ac_exeext
35594 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35595 - (eval $ac_link) 2>conftest.er1
35596 +if { (ac_try="$ac_link"
35597 +case "(($ac_try" in
35598 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35599 + *) ac_try_echo=$ac_try;;
35601 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35602 + (eval "$ac_link") 2>conftest.er1
35604 grep -v '^ *+' conftest.er1 >conftest.err
35606 cat conftest.err >&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 - (exit $ac_status); } &&
35609 - { ac_try='test -z "$ac_c_werror_flag"
35610 - || test ! -s conftest.err'
35611 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 - (eval $ac_try) 2>&5
35614 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 - (exit $ac_status); }; } &&
35616 - { ac_try='test -s conftest$ac_exeext'
35617 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 - (eval $ac_try) 2>&5
35620 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 - (exit $ac_status); }; }; then
35622 + (exit $ac_status); } && {
35623 + test -z "$ac_c_werror_flag" ||
35624 + test ! -s conftest.err
35625 + } && test -s conftest$ac_exeext &&
35626 + $as_test_x conftest$ac_exeext; then
35627 bu_cv_have_fopen64=yes
35629 echo "$as_me: failed program was:" >&5
35630 sed 's/^/| /' conftest.$ac_ext >&5
35632 -saved_CPPFLAGS=$CPPFLAGS
35633 + saved_CPPFLAGS=$CPPFLAGS
35634 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35635 cat >conftest.$ac_ext <<_ACEOF
35637 @@ -9454,44 +9948,42 @@ FILE *f = fopen64 ("/tmp/foo","r");
35640 rm -f conftest.$ac_objext conftest$ac_exeext
35641 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35642 - (eval $ac_link) 2>conftest.er1
35643 +if { (ac_try="$ac_link"
35644 +case "(($ac_try" in
35645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35646 + *) ac_try_echo=$ac_try;;
35648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35649 + (eval "$ac_link") 2>conftest.er1
35651 grep -v '^ *+' conftest.er1 >conftest.err
35653 cat conftest.err >&5
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 - (exit $ac_status); } &&
35656 - { ac_try='test -z "$ac_c_werror_flag"
35657 - || test ! -s conftest.err'
35658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35659 - (eval $ac_try) 2>&5
35661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 - (exit $ac_status); }; } &&
35663 - { ac_try='test -s conftest$ac_exeext'
35664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 - (eval $ac_try) 2>&5
35667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 - (exit $ac_status); }; }; then
35669 + (exit $ac_status); } && {
35670 + test -z "$ac_c_werror_flag" ||
35671 + test ! -s conftest.err
35672 + } && test -s conftest$ac_exeext &&
35673 + $as_test_x conftest$ac_exeext; then
35674 bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
35676 echo "$as_me: failed program was:" >&5
35677 sed 's/^/| /' conftest.$ac_ext >&5
35679 -bu_cv_have_fopen64=no
35680 + bu_cv_have_fopen64=no
35682 -rm -f conftest.err conftest.$ac_objext \
35684 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35685 conftest$ac_exeext conftest.$ac_ext
35686 CPPFLAGS=$saved_CPPFLAGS
35688 -rm -f conftest.err conftest.$ac_objext \
35690 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35691 conftest$ac_exeext conftest.$ac_ext
35694 -echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
35695 -echo "${ECHO_T}$bu_cv_have_fopen64" >&6
35696 +{ echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
35697 +echo "${ECHO_T}$bu_cv_have_fopen64" >&6; }
35698 if test "$bu_cv_have_fopen64" != no; then
35700 cat >>confdefs.h <<\_ACEOF
35701 @@ -9499,8 +9991,8 @@ cat >>confdefs.h <<\_ACEOF
35705 -echo "$as_me:$LINENO: checking for stat64" >&5
35706 -echo $ECHO_N "checking for stat64... $ECHO_C" >&6
35707 +{ echo "$as_me:$LINENO: checking for stat64" >&5
35708 +echo $ECHO_N "checking for stat64... $ECHO_C" >&6; }
35709 if test "${bu_cv_have_stat64+set}" = set; then
35710 echo $ECHO_N "(cached) $ECHO_C" >&6
35712 @@ -9520,33 +10012,29 @@ struct stat64 st; stat64 ("/tmp/foo", &s
35715 rm -f conftest.$ac_objext conftest$ac_exeext
35716 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35717 - (eval $ac_link) 2>conftest.er1
35718 +if { (ac_try="$ac_link"
35719 +case "(($ac_try" in
35720 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35721 + *) ac_try_echo=$ac_try;;
35723 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35724 + (eval "$ac_link") 2>conftest.er1
35726 grep -v '^ *+' conftest.er1 >conftest.err
35728 cat conftest.err >&5
35729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35730 - (exit $ac_status); } &&
35731 - { ac_try='test -z "$ac_c_werror_flag"
35732 - || test ! -s conftest.err'
35733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35734 - (eval $ac_try) 2>&5
35736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35737 - (exit $ac_status); }; } &&
35738 - { ac_try='test -s conftest$ac_exeext'
35739 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35740 - (eval $ac_try) 2>&5
35742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35743 - (exit $ac_status); }; }; then
35744 + (exit $ac_status); } && {
35745 + test -z "$ac_c_werror_flag" ||
35746 + test ! -s conftest.err
35747 + } && test -s conftest$ac_exeext &&
35748 + $as_test_x conftest$ac_exeext; then
35749 bu_cv_have_stat64=yes
35751 echo "$as_me: failed program was:" >&5
35752 sed 's/^/| /' conftest.$ac_ext >&5
35754 -saved_CPPFLAGS=$CPPFLAGS
35755 + saved_CPPFLAGS=$CPPFLAGS
35756 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35757 cat >conftest.$ac_ext <<_ACEOF
35759 @@ -9564,191 +10052,146 @@ struct stat64 st; stat64 ("/tmp/foo", &s
35762 rm -f conftest.$ac_objext conftest$ac_exeext
35763 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35764 - (eval $ac_link) 2>conftest.er1
35765 +if { (ac_try="$ac_link"
35766 +case "(($ac_try" in
35767 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35768 + *) ac_try_echo=$ac_try;;
35770 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35771 + (eval "$ac_link") 2>conftest.er1
35773 grep -v '^ *+' conftest.er1 >conftest.err
35775 cat conftest.err >&5
35776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35777 - (exit $ac_status); } &&
35778 - { ac_try='test -z "$ac_c_werror_flag"
35779 - || test ! -s conftest.err'
35780 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35781 - (eval $ac_try) 2>&5
35783 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35784 - (exit $ac_status); }; } &&
35785 - { ac_try='test -s conftest$ac_exeext'
35786 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35787 - (eval $ac_try) 2>&5
35789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35790 - (exit $ac_status); }; }; then
35791 + (exit $ac_status); } && {
35792 + test -z "$ac_c_werror_flag" ||
35793 + test ! -s conftest.err
35794 + } && test -s conftest$ac_exeext &&
35795 + $as_test_x conftest$ac_exeext; then
35796 bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE"
35798 echo "$as_me: failed program was:" >&5
35799 sed 's/^/| /' conftest.$ac_ext >&5
35801 -bu_cv_have_stat64=no
35802 + bu_cv_have_stat64=no
35804 -rm -f conftest.err conftest.$ac_objext \
35806 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35807 conftest$ac_exeext conftest.$ac_ext
35808 CPPFLAGS=$saved_CPPFLAGS
35810 -rm -f conftest.err conftest.$ac_objext \
35812 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35813 conftest$ac_exeext conftest.$ac_ext
35816 -echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
35817 -echo "${ECHO_T}$bu_cv_have_stat64" >&6
35818 +{ echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
35819 +echo "${ECHO_T}$bu_cv_have_stat64" >&6; }
35820 if test "$bu_cv_have_stat64" != no; then
35822 cat >>confdefs.h <<\_ACEOF
35823 #define HAVE_STAT64 1
35827 -if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
35828 - || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
35830 -cat >>confdefs.h <<\_ACEOF
35831 -#define _LARGEFILE64_SOURCE 1
35834 - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35837 -# Some systems have frexp only in -lm, not in -lc.
35838 -echo "$as_me:$LINENO: checking for library containing frexp" >&5
35839 -echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
35840 -if test "${ac_cv_search_frexp+set}" = set; then
35841 - echo $ECHO_N "(cached) $ECHO_C" >&6
35843 - ac_func_search_save_LIBS=$LIBS
35844 -ac_cv_search_frexp=no
35845 -cat >conftest.$ac_ext <<_ACEOF
35848 -cat confdefs.h >>conftest.$ac_ext
35849 -cat >>conftest.$ac_ext <<_ACEOF
35850 -/* end confdefs.h. */
35852 -/* Override any gcc2 internal prototype to avoid an error. */
35853 -#ifdef __cplusplus
35856 -/* We use char because int might match the return type of a gcc2
35857 - builtin and then its argument prototype would still apply. */
35867 -rm -f conftest.$ac_objext conftest$ac_exeext
35868 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35869 - (eval $ac_link) 2>conftest.er1
35871 - grep -v '^ *+' conftest.er1 >conftest.err
35872 - rm -f conftest.er1
35873 - cat conftest.err >&5
35874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35875 - (exit $ac_status); } &&
35876 - { ac_try='test -z "$ac_c_werror_flag"
35877 - || test ! -s conftest.err'
35878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35879 - (eval $ac_try) 2>&5
35881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 - (exit $ac_status); }; } &&
35883 - { ac_try='test -s conftest$ac_exeext'
35884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35885 - (eval $ac_try) 2>&5
35887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 - (exit $ac_status); }; }; then
35889 - ac_cv_search_frexp="none required"
35891 - echo "$as_me: failed program was:" >&5
35892 -sed 's/^/| /' conftest.$ac_ext >&5
35894 +if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
35895 + || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
35897 +cat >>confdefs.h <<\_ACEOF
35898 +#define _LARGEFILE64_SOURCE 1
35901 + CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35903 -rm -f conftest.err conftest.$ac_objext \
35904 - conftest$ac_exeext conftest.$ac_ext
35905 -if test "$ac_cv_search_frexp" = no; then
35906 - for ac_lib in m; do
35907 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
35908 - cat >conftest.$ac_ext <<_ACEOF
35910 +# Some systems have frexp only in -lm, not in -lc.
35911 +{ echo "$as_me:$LINENO: checking for library containing frexp" >&5
35912 +echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6; }
35913 +if test "${ac_cv_search_frexp+set}" = set; then
35914 + echo $ECHO_N "(cached) $ECHO_C" >&6
35916 + ac_func_search_save_LIBS=$LIBS
35917 +cat >conftest.$ac_ext <<_ACEOF
35920 cat confdefs.h >>conftest.$ac_ext
35921 cat >>conftest.$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35924 -/* Override any gcc2 internal prototype to avoid an error. */
35925 +/* Override any GCC internal prototype to avoid an error.
35926 + Use char because int might match the return type of a GCC
35927 + builtin and then its argument prototype would still apply. */
35931 -/* We use char because int might match the return type of a gcc2
35932 - builtin and then its argument prototype would still apply. */
35943 -rm -f conftest.$ac_objext conftest$ac_exeext
35944 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35945 - (eval $ac_link) 2>conftest.er1
35946 +for ac_lib in '' m; do
35947 + if test -z "$ac_lib"; then
35948 + ac_res="none required"
35951 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
35953 + rm -f conftest.$ac_objext conftest$ac_exeext
35954 +if { (ac_try="$ac_link"
35955 +case "(($ac_try" in
35956 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35957 + *) ac_try_echo=$ac_try;;
35959 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35960 + (eval "$ac_link") 2>conftest.er1
35962 grep -v '^ *+' conftest.er1 >conftest.err
35964 cat conftest.err >&5
35965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35966 - (exit $ac_status); } &&
35967 - { ac_try='test -z "$ac_c_werror_flag"
35968 - || test ! -s conftest.err'
35969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35970 - (eval $ac_try) 2>&5
35972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 - (exit $ac_status); }; } &&
35974 - { ac_try='test -s conftest$ac_exeext'
35975 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 - (eval $ac_try) 2>&5
35978 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 - (exit $ac_status); }; }; then
35980 - ac_cv_search_frexp="-l$ac_lib"
35982 + (exit $ac_status); } && {
35983 + test -z "$ac_c_werror_flag" ||
35984 + test ! -s conftest.err
35985 + } && test -s conftest$ac_exeext &&
35986 + $as_test_x conftest$ac_exeext; then
35987 + ac_cv_search_frexp=$ac_res
35989 echo "$as_me: failed program was:" >&5
35990 sed 's/^/| /' conftest.$ac_ext >&5
35994 -rm -f conftest.err conftest.$ac_objext \
35995 - conftest$ac_exeext conftest.$ac_ext
35998 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35999 + conftest$ac_exeext
36000 + if test "${ac_cv_search_frexp+set}" = set; then
36004 +if test "${ac_cv_search_frexp+set}" = set; then
36007 + ac_cv_search_frexp=no
36009 +rm conftest.$ac_ext
36010 LIBS=$ac_func_search_save_LIBS
36012 -echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
36013 -echo "${ECHO_T}$ac_cv_search_frexp" >&6
36014 -if test "$ac_cv_search_frexp" != no; then
36015 - test "$ac_cv_search_frexp" = "none required" || LIBS="$ac_cv_search_frexp $LIBS"
36016 +{ echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
36017 +echo "${ECHO_T}$ac_cv_search_frexp" >&6; }
36018 +ac_res=$ac_cv_search_frexp
36019 +if test "$ac_res" != no; then
36020 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36025 -echo "$as_me:$LINENO: checking for time_t in time.h" >&5
36026 -echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
36027 +{ echo "$as_me:$LINENO: checking for time_t in time.h" >&5
36028 +echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6; }
36029 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
36030 echo $ECHO_N "(cached) $ECHO_C" >&6
36032 @@ -9768,39 +10211,35 @@ time_t i;
36035 rm -f conftest.$ac_objext
36036 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36037 - (eval $ac_compile) 2>conftest.er1
36038 +if { (ac_try="$ac_compile"
36039 +case "(($ac_try" in
36040 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36041 + *) ac_try_echo=$ac_try;;
36043 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36044 + (eval "$ac_compile") 2>conftest.er1
36046 grep -v '^ *+' conftest.er1 >conftest.err
36048 cat conftest.err >&5
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 - (exit $ac_status); } &&
36051 - { ac_try='test -z "$ac_c_werror_flag"
36052 - || test ! -s conftest.err'
36053 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36054 - (eval $ac_try) 2>&5
36056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 - (exit $ac_status); }; } &&
36058 - { ac_try='test -s conftest.$ac_objext'
36059 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36060 - (eval $ac_try) 2>&5
36062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 - (exit $ac_status); }; }; then
36064 + (exit $ac_status); } && {
36065 + test -z "$ac_c_werror_flag" ||
36066 + test ! -s conftest.err
36067 + } && test -s conftest.$ac_objext; then
36068 bu_cv_decl_time_t_time_h=yes
36070 echo "$as_me: failed program was:" >&5
36071 sed 's/^/| /' conftest.$ac_ext >&5
36073 -bu_cv_decl_time_t_time_h=no
36074 + bu_cv_decl_time_t_time_h=no
36076 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36078 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36081 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
36082 -echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
36083 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
36084 +echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6; }
36085 if test $bu_cv_decl_time_t_time_h = yes; then
36087 cat >>confdefs.h <<\_ACEOF
36088 @@ -9809,8 +10248,8 @@ _ACEOF
36092 -echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
36093 -echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
36094 +{ echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
36095 +echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6; }
36096 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
36097 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 @@ -9830,39 +10269,35 @@ time_t i;
36102 rm -f conftest.$ac_objext
36103 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36104 - (eval $ac_compile) 2>conftest.er1
36105 +if { (ac_try="$ac_compile"
36106 +case "(($ac_try" in
36107 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36108 + *) ac_try_echo=$ac_try;;
36110 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36111 + (eval "$ac_compile") 2>conftest.er1
36113 grep -v '^ *+' conftest.er1 >conftest.err
36115 cat conftest.err >&5
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 - (exit $ac_status); } &&
36118 - { ac_try='test -z "$ac_c_werror_flag"
36119 - || test ! -s conftest.err'
36120 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36121 - (eval $ac_try) 2>&5
36123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36124 - (exit $ac_status); }; } &&
36125 - { ac_try='test -s conftest.$ac_objext'
36126 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36127 - (eval $ac_try) 2>&5
36129 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 - (exit $ac_status); }; }; then
36131 + (exit $ac_status); } && {
36132 + test -z "$ac_c_werror_flag" ||
36133 + test ! -s conftest.err
36134 + } && test -s conftest.$ac_objext; then
36135 bu_cv_decl_time_t_types_h=yes
36137 echo "$as_me: failed program was:" >&5
36138 sed 's/^/| /' conftest.$ac_ext >&5
36140 -bu_cv_decl_time_t_types_h=no
36141 + bu_cv_decl_time_t_types_h=no
36143 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36145 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
36149 -echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
36150 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
36151 +echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6; }
36152 if test $bu_cv_decl_time_t_types_h = yes; then
36154 cat >>confdefs.h <<\_ACEOF
36155 @@ -9871,8 +10306,8 @@ _ACEOF
36159 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
36160 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
36161 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
36162 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
36163 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36166 @@ -9892,39 +10327,35 @@ extern int getopt (int, char *const*, co
36169 rm -f conftest.$ac_objext
36170 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36171 - (eval $ac_compile) 2>conftest.er1
36172 +if { (ac_try="$ac_compile"
36173 +case "(($ac_try" in
36174 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36175 + *) ac_try_echo=$ac_try;;
36177 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36178 + (eval "$ac_compile") 2>conftest.er1
36180 grep -v '^ *+' conftest.er1 >conftest.err
36182 cat conftest.err >&5
36183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 - (exit $ac_status); } &&
36185 - { ac_try='test -z "$ac_c_werror_flag"
36186 - || test ! -s conftest.err'
36187 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 - (eval $ac_try) 2>&5
36190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 - (exit $ac_status); }; } &&
36192 - { ac_try='test -s conftest.$ac_objext'
36193 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36194 - (eval $ac_try) 2>&5
36196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36197 - (exit $ac_status); }; }; then
36198 + (exit $ac_status); } && {
36199 + test -z "$ac_c_werror_flag" ||
36200 + test ! -s conftest.err
36201 + } && test -s conftest.$ac_objext; then
36202 bu_cv_decl_getopt_unistd_h=yes
36204 echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36207 -bu_cv_decl_getopt_unistd_h=no
36208 + bu_cv_decl_getopt_unistd_h=no
36210 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36212 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36215 -echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
36216 -echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
36217 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
36218 +echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6; }
36219 if test $bu_cv_decl_getopt_unistd_h = yes; then
36221 cat >>confdefs.h <<\_ACEOF
36222 @@ -9935,8 +10366,8 @@ fi
36224 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
36226 -echo "$as_me:$LINENO: checking for utime.h" >&5
36227 -echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
36228 +{ echo "$as_me:$LINENO: checking for utime.h" >&5
36229 +echo $ECHO_N "checking for utime.h... $ECHO_C" >&6; }
36230 if test "${bu_cv_header_utime_h+set}" = set; then
36231 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 @@ -9960,39 +10391,35 @@ struct utimbuf s;
36236 rm -f conftest.$ac_objext
36237 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36238 - (eval $ac_compile) 2>conftest.er1
36239 +if { (ac_try="$ac_compile"
36240 +case "(($ac_try" in
36241 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36242 + *) ac_try_echo=$ac_try;;
36244 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 + (eval "$ac_compile") 2>conftest.er1
36247 grep -v '^ *+' conftest.er1 >conftest.err
36249 cat conftest.err >&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 - (exit $ac_status); } &&
36252 - { ac_try='test -z "$ac_c_werror_flag"
36253 - || test ! -s conftest.err'
36254 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36255 - (eval $ac_try) 2>&5
36257 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36258 - (exit $ac_status); }; } &&
36259 - { ac_try='test -s conftest.$ac_objext'
36260 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36261 - (eval $ac_try) 2>&5
36263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36264 - (exit $ac_status); }; }; then
36265 + (exit $ac_status); } && {
36266 + test -z "$ac_c_werror_flag" ||
36267 + test ! -s conftest.err
36268 + } && test -s conftest.$ac_objext; then
36269 bu_cv_header_utime_h=yes
36271 echo "$as_me: failed program was:" >&5
36272 sed 's/^/| /' conftest.$ac_ext >&5
36274 -bu_cv_header_utime_h=no
36275 + bu_cv_header_utime_h=no
36277 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36279 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36282 -echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
36283 -echo "${ECHO_T}$bu_cv_header_utime_h" >&6
36284 +{ echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
36285 +echo "${ECHO_T}$bu_cv_header_utime_h" >&6; }
36286 if test $bu_cv_header_utime_h = yes; then
36288 cat >>confdefs.h <<\_ACEOF
36289 @@ -10001,8 +10428,8 @@ _ACEOF
36293 -echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
36294 -echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
36295 +{ echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
36296 +echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6; }
36297 if test "${ac_cv_have_decl_fprintf+set}" = set; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36300 @@ -10017,7 +10444,7 @@ int
36304 - char *p = (char *) fprintf;
36309 @@ -10025,38 +10452,34 @@ main ()
36312 rm -f conftest.$ac_objext
36313 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36314 - (eval $ac_compile) 2>conftest.er1
36315 +if { (ac_try="$ac_compile"
36316 +case "(($ac_try" in
36317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36318 + *) ac_try_echo=$ac_try;;
36320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36321 + (eval "$ac_compile") 2>conftest.er1
36323 grep -v '^ *+' conftest.er1 >conftest.err
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 - (exit $ac_status); } &&
36328 - { ac_try='test -z "$ac_c_werror_flag"
36329 - || test ! -s conftest.err'
36330 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36331 - (eval $ac_try) 2>&5
36333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 - (exit $ac_status); }; } &&
36335 - { ac_try='test -s conftest.$ac_objext'
36336 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36337 - (eval $ac_try) 2>&5
36339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 - (exit $ac_status); }; }; then
36341 + (exit $ac_status); } && {
36342 + test -z "$ac_c_werror_flag" ||
36343 + test ! -s conftest.err
36344 + } && test -s conftest.$ac_objext; then
36345 ac_cv_have_decl_fprintf=yes
36347 echo "$as_me: failed program was:" >&5
36348 sed 's/^/| /' conftest.$ac_ext >&5
36350 -ac_cv_have_decl_fprintf=no
36351 + ac_cv_have_decl_fprintf=no
36353 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36355 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36357 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
36358 -echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
36359 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
36360 +echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6; }
36361 if test $ac_cv_have_decl_fprintf = yes; then
36363 cat >>confdefs.h <<_ACEOF
36364 @@ -10071,8 +10494,8 @@ _ACEOF
36368 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
36369 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
36370 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
36371 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
36372 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 @@ -10087,7 +10510,7 @@ int
36379 - char *p = (char *) stpcpy;
36384 @@ -10095,38 +10518,34 @@ main ()
36387 rm -f conftest.$ac_objext
36388 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36389 - (eval $ac_compile) 2>conftest.er1
36390 +if { (ac_try="$ac_compile"
36391 +case "(($ac_try" in
36392 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36393 + *) ac_try_echo=$ac_try;;
36395 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36396 + (eval "$ac_compile") 2>conftest.er1
36398 grep -v '^ *+' conftest.er1 >conftest.err
36400 cat conftest.err >&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 - (exit $ac_status); } &&
36403 - { ac_try='test -z "$ac_c_werror_flag"
36404 - || test ! -s conftest.err'
36405 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36406 - (eval $ac_try) 2>&5
36408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36409 - (exit $ac_status); }; } &&
36410 - { ac_try='test -s conftest.$ac_objext'
36411 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 - (eval $ac_try) 2>&5
36414 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 - (exit $ac_status); }; }; then
36416 + (exit $ac_status); } && {
36417 + test -z "$ac_c_werror_flag" ||
36418 + test ! -s conftest.err
36419 + } && test -s conftest.$ac_objext; then
36420 ac_cv_have_decl_stpcpy=yes
36422 echo "$as_me: failed program was:" >&5
36423 sed 's/^/| /' conftest.$ac_ext >&5
36425 -ac_cv_have_decl_stpcpy=no
36426 + ac_cv_have_decl_stpcpy=no
36428 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36430 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36432 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
36433 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
36434 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
36435 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
36436 if test $ac_cv_have_decl_stpcpy = yes; then
36438 cat >>confdefs.h <<_ACEOF
36439 @@ -10141,8 +10560,8 @@ _ACEOF
36443 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
36444 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
36445 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
36446 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
36447 if test "${ac_cv_have_decl_strstr+set}" = set; then
36448 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 @@ -10157,7 +10576,7 @@ int
36454 - char *p = (char *) strstr;
36459 @@ -10165,38 +10584,34 @@ main ()
36462 rm -f conftest.$ac_objext
36463 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36464 - (eval $ac_compile) 2>conftest.er1
36465 +if { (ac_try="$ac_compile"
36466 +case "(($ac_try" in
36467 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36468 + *) ac_try_echo=$ac_try;;
36470 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36471 + (eval "$ac_compile") 2>conftest.er1
36473 grep -v '^ *+' conftest.er1 >conftest.err
36475 cat conftest.err >&5
36476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36477 - (exit $ac_status); } &&
36478 - { ac_try='test -z "$ac_c_werror_flag"
36479 - || test ! -s conftest.err'
36480 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36481 - (eval $ac_try) 2>&5
36483 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36484 - (exit $ac_status); }; } &&
36485 - { ac_try='test -s conftest.$ac_objext'
36486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36487 - (eval $ac_try) 2>&5
36489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36490 - (exit $ac_status); }; }; then
36491 + (exit $ac_status); } && {
36492 + test -z "$ac_c_werror_flag" ||
36493 + test ! -s conftest.err
36494 + } && test -s conftest.$ac_objext; then
36495 ac_cv_have_decl_strstr=yes
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36500 -ac_cv_have_decl_strstr=no
36501 + ac_cv_have_decl_strstr=no
36503 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36505 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36507 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
36508 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
36509 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
36510 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
36511 if test $ac_cv_have_decl_strstr = yes; then
36513 cat >>confdefs.h <<_ACEOF
36514 @@ -10211,8 +10626,8 @@ _ACEOF
36518 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
36519 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
36520 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
36521 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
36522 if test "${ac_cv_have_decl_sbrk+set}" = set; then
36523 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 @@ -10227,7 +10642,7 @@ int
36529 - char *p = (char *) sbrk;
36534 @@ -10235,38 +10650,34 @@ main ()
36537 rm -f conftest.$ac_objext
36538 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36539 - (eval $ac_compile) 2>conftest.er1
36540 +if { (ac_try="$ac_compile"
36541 +case "(($ac_try" in
36542 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36543 + *) ac_try_echo=$ac_try;;
36545 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36546 + (eval "$ac_compile") 2>conftest.er1
36548 grep -v '^ *+' conftest.er1 >conftest.err
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 - (exit $ac_status); } &&
36553 - { ac_try='test -z "$ac_c_werror_flag"
36554 - || test ! -s conftest.err'
36555 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 - (eval $ac_try) 2>&5
36558 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 - (exit $ac_status); }; } &&
36560 - { ac_try='test -s conftest.$ac_objext'
36561 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 - (eval $ac_try) 2>&5
36564 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 - (exit $ac_status); }; }; then
36566 + (exit $ac_status); } && {
36567 + test -z "$ac_c_werror_flag" ||
36568 + test ! -s conftest.err
36569 + } && test -s conftest.$ac_objext; then
36570 ac_cv_have_decl_sbrk=yes
36572 echo "$as_me: failed program was:" >&5
36573 sed 's/^/| /' conftest.$ac_ext >&5
36575 -ac_cv_have_decl_sbrk=no
36576 + ac_cv_have_decl_sbrk=no
36578 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36580 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36582 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
36583 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
36584 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
36585 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
36586 if test $ac_cv_have_decl_sbrk = yes; then
36588 cat >>confdefs.h <<_ACEOF
36589 @@ -10281,8 +10692,8 @@ _ACEOF
36593 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
36594 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
36595 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
36596 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
36597 if test "${ac_cv_have_decl_getenv+set}" = set; then
36598 echo $ECHO_N "(cached) $ECHO_C" >&6
36600 @@ -10297,7 +10708,7 @@ int
36604 - char *p = (char *) getenv;
36609 @@ -10305,38 +10716,34 @@ main ()
36612 rm -f conftest.$ac_objext
36613 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36614 - (eval $ac_compile) 2>conftest.er1
36615 +if { (ac_try="$ac_compile"
36616 +case "(($ac_try" in
36617 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36618 + *) ac_try_echo=$ac_try;;
36620 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36621 + (eval "$ac_compile") 2>conftest.er1
36623 grep -v '^ *+' conftest.er1 >conftest.err
36625 cat conftest.err >&5
36626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36627 - (exit $ac_status); } &&
36628 - { ac_try='test -z "$ac_c_werror_flag"
36629 - || test ! -s conftest.err'
36630 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 - (eval $ac_try) 2>&5
36633 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 - (exit $ac_status); }; } &&
36635 - { ac_try='test -s conftest.$ac_objext'
36636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 - (eval $ac_try) 2>&5
36639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 - (exit $ac_status); }; }; then
36641 + (exit $ac_status); } && {
36642 + test -z "$ac_c_werror_flag" ||
36643 + test ! -s conftest.err
36644 + } && test -s conftest.$ac_objext; then
36645 ac_cv_have_decl_getenv=yes
36647 echo "$as_me: failed program was:" >&5
36648 sed 's/^/| /' conftest.$ac_ext >&5
36650 -ac_cv_have_decl_getenv=no
36651 + ac_cv_have_decl_getenv=no
36653 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36655 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36657 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
36658 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
36659 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
36660 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
36661 if test $ac_cv_have_decl_getenv = yes; then
36663 cat >>confdefs.h <<_ACEOF
36664 @@ -10351,8 +10758,8 @@ _ACEOF
36668 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
36669 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
36670 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
36671 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
36672 if test "${ac_cv_have_decl_environ+set}" = set; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36675 @@ -10367,7 +10774,7 @@ int
36679 - char *p = (char *) environ;
36684 @@ -10375,38 +10782,34 @@ main ()
36687 rm -f conftest.$ac_objext
36688 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36689 - (eval $ac_compile) 2>conftest.er1
36690 +if { (ac_try="$ac_compile"
36691 +case "(($ac_try" in
36692 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36693 + *) ac_try_echo=$ac_try;;
36695 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36696 + (eval "$ac_compile") 2>conftest.er1
36698 grep -v '^ *+' conftest.er1 >conftest.err
36700 cat conftest.err >&5
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 - (exit $ac_status); } &&
36703 - { ac_try='test -z "$ac_c_werror_flag"
36704 - || test ! -s conftest.err'
36705 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 - (eval $ac_try) 2>&5
36708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 - (exit $ac_status); }; } &&
36710 - { ac_try='test -s conftest.$ac_objext'
36711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36712 - (eval $ac_try) 2>&5
36714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 - (exit $ac_status); }; }; then
36716 + (exit $ac_status); } && {
36717 + test -z "$ac_c_werror_flag" ||
36718 + test ! -s conftest.err
36719 + } && test -s conftest.$ac_objext; then
36720 ac_cv_have_decl_environ=yes
36722 echo "$as_me: failed program was:" >&5
36723 sed 's/^/| /' conftest.$ac_ext >&5
36725 -ac_cv_have_decl_environ=no
36726 + ac_cv_have_decl_environ=no
36728 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36730 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
36733 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
36734 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
36735 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
36736 if test $ac_cv_have_decl_environ = yes; then
36738 cat >>confdefs.h <<_ACEOF
36739 @@ -10421,8 +10824,8 @@ _ACEOF
36743 -echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
36744 -echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
36745 +{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
36746 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
36747 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 @@ -10437,7 +10840,7 @@ int
36753 #ifndef getc_unlocked
36754 - char *p = (char *) getc_unlocked;
36755 + (void) getc_unlocked;
36759 @@ -10445,38 +10848,34 @@ main ()
36762 rm -f conftest.$ac_objext
36763 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36764 - (eval $ac_compile) 2>conftest.er1
36765 +if { (ac_try="$ac_compile"
36766 +case "(($ac_try" in
36767 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36768 + *) ac_try_echo=$ac_try;;
36770 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36771 + (eval "$ac_compile") 2>conftest.er1
36773 grep -v '^ *+' conftest.er1 >conftest.err
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 - (exit $ac_status); } &&
36778 - { ac_try='test -z "$ac_c_werror_flag"
36779 - || test ! -s conftest.err'
36780 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 - (eval $ac_try) 2>&5
36783 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 - (exit $ac_status); }; } &&
36785 - { ac_try='test -s conftest.$ac_objext'
36786 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 - (eval $ac_try) 2>&5
36789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 - (exit $ac_status); }; }; then
36791 + (exit $ac_status); } && {
36792 + test -z "$ac_c_werror_flag" ||
36793 + test ! -s conftest.err
36794 + } && test -s conftest.$ac_objext; then
36795 ac_cv_have_decl_getc_unlocked=yes
36797 echo "$as_me: failed program was:" >&5
36798 sed 's/^/| /' conftest.$ac_ext >&5
36800 -ac_cv_have_decl_getc_unlocked=no
36801 + ac_cv_have_decl_getc_unlocked=no
36803 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36805 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
36808 -echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
36809 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
36810 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
36811 if test $ac_cv_have_decl_getc_unlocked = yes; then
36813 cat >>confdefs.h <<_ACEOF
36814 @@ -10491,8 +10890,8 @@ _ACEOF
36818 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
36819 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
36820 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
36821 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
36822 if test "${ac_cv_have_decl_snprintf+set}" = set; then
36823 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 @@ -10507,7 +10906,7 @@ int
36829 - char *p = (char *) snprintf;
36834 @@ -10515,38 +10914,34 @@ main ()
36837 rm -f conftest.$ac_objext
36838 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36839 - (eval $ac_compile) 2>conftest.er1
36840 +if { (ac_try="$ac_compile"
36841 +case "(($ac_try" in
36842 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36843 + *) ac_try_echo=$ac_try;;
36845 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36846 + (eval "$ac_compile") 2>conftest.er1
36848 grep -v '^ *+' conftest.er1 >conftest.err
36850 cat conftest.err >&5
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 - (exit $ac_status); } &&
36853 - { ac_try='test -z "$ac_c_werror_flag"
36854 - || test ! -s conftest.err'
36855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 - (eval $ac_try) 2>&5
36858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 - (exit $ac_status); }; } &&
36860 - { ac_try='test -s conftest.$ac_objext'
36861 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 - (eval $ac_try) 2>&5
36864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 - (exit $ac_status); }; }; then
36866 + (exit $ac_status); } && {
36867 + test -z "$ac_c_werror_flag" ||
36868 + test ! -s conftest.err
36869 + } && test -s conftest.$ac_objext; then
36870 ac_cv_have_decl_snprintf=yes
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36875 -ac_cv_have_decl_snprintf=no
36876 + ac_cv_have_decl_snprintf=no
36878 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36880 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36882 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
36883 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
36884 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
36885 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
36886 if test $ac_cv_have_decl_snprintf = yes; then
36888 cat >>confdefs.h <<_ACEOF
36889 @@ -10561,8 +10956,8 @@ _ACEOF
36893 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
36894 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
36895 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
36896 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
36897 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
36898 echo $ECHO_N "(cached) $ECHO_C" >&6
36900 @@ -10577,7 +10972,7 @@ int
36904 - char *p = (char *) vsnprintf;
36905 + (void) vsnprintf;
36909 @@ -10585,38 +10980,34 @@ main ()
36912 rm -f conftest.$ac_objext
36913 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36914 - (eval $ac_compile) 2>conftest.er1
36915 +if { (ac_try="$ac_compile"
36916 +case "(($ac_try" in
36917 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36918 + *) ac_try_echo=$ac_try;;
36920 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36921 + (eval "$ac_compile") 2>conftest.er1
36923 grep -v '^ *+' conftest.er1 >conftest.err
36925 cat conftest.err >&5
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 - (exit $ac_status); } &&
36928 - { ac_try='test -z "$ac_c_werror_flag"
36929 - || test ! -s conftest.err'
36930 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36931 - (eval $ac_try) 2>&5
36933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 - (exit $ac_status); }; } &&
36935 - { ac_try='test -s conftest.$ac_objext'
36936 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36937 - (eval $ac_try) 2>&5
36939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 - (exit $ac_status); }; }; then
36941 + (exit $ac_status); } && {
36942 + test -z "$ac_c_werror_flag" ||
36943 + test ! -s conftest.err
36944 + } && test -s conftest.$ac_objext; then
36945 ac_cv_have_decl_vsnprintf=yes
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.$ac_ext >&5
36950 -ac_cv_have_decl_vsnprintf=no
36951 + ac_cv_have_decl_vsnprintf=no
36953 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36955 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36957 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
36958 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
36959 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
36960 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
36961 if test $ac_cv_have_decl_vsnprintf = yes; then
36963 cat >>confdefs.h <<_ACEOF
36964 @@ -10817,8 +11208,10 @@ done
36968 - ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
36969 - ac_config_commands="$ac_config_commands default"
36970 +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
36972 +ac_config_commands="$ac_config_commands default"
36974 cat >confcache <<\_ACEOF
36975 # This file is a shell script that caches the results of configure
36976 # tests run on this system so they can be shared between configure
36977 @@ -10837,39 +11230,58 @@ _ACEOF
36979 # The following way of writing the cache mishandles newlines in values,
36980 # but we know of no workaround that is simple, portable, and efficient.
36981 -# So, don't put newlines in cache variables' values.
36982 +# So, we kill variables containing newlines.
36983 # Ultrix sh set writes to stderr and can't be redirected directly,
36984 # and sets the high bit in the cache file unless we assign to the vars.
36987 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
36988 + eval ac_val=\$$ac_var
36989 + case $ac_val in #(
36991 + case $ac_var in #(
36992 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
36993 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
36995 + case $ac_var in #(
36996 + _ | IFS | as_nl) ;; #(
36997 + *) $as_unset $ac_var ;;
37003 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
37005 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
37006 + *${as_nl}ac_space=\ *)
37007 # `set' does not quote correctly, so add quotes (double-quote
37008 # substitution turns \\\\ into \\, and sed turns \\ into \).
37011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37015 # `set' quotes correctly as required by POSIX, so do not add quotes.
37017 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37018 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37026 + /^ac_cv_env_/b end
37030 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37032 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37033 - : end' >>confcache
37034 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
37035 - if test -w $cache_file; then
37036 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37037 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37038 + :end' >>confcache
37039 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37040 + if test -w "$cache_file"; then
37041 + test "x$cache_file" != "x/dev/null" &&
37042 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37043 +echo "$as_me: updating cache $cache_file" >&6;}
37044 cat confcache >$cache_file
37046 - echo "not updating unwritable cache $cache_file"
37047 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37048 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37052 @@ -10878,32 +11290,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
37053 # Let make expand exec_prefix.
37054 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
37056 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
37057 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37058 -# trailing colons and then remove the whole line if VPATH becomes empty
37059 -# (actually we leave an empty line to preserve line numbers).
37060 -if test "x$srcdir" = x.; then
37061 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
37062 -s/:*\$(srcdir):*/:/;
37063 -s/:*\${srcdir}:*/:/;
37064 -s/:*@srcdir@:*/:/;
37065 -s/^\([^=]*=[ ]*\):*/\1/;
37071 DEFS=-DHAVE_CONFIG_H
37075 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37076 # 1. Remove the extension, and $U if already installed.
37077 - ac_i=`echo "$ac_i" |
37078 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37080 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
37081 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
37082 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
37083 + ac_i=`echo "$ac_i" | sed "$ac_script"`
37084 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
37085 + # will be set to the directory where LIBOBJS objects are built.
37086 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
37087 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
37089 LIBOBJS=$ac_libobjs
37091 @@ -10955,17 +11353,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
37092 ## M4sh Initialization. ##
37093 ## --------------------- ##
37095 -# Be Bourne compatible
37096 +# Be more Bourne compatible
37097 +DUALCASE=1; export DUALCASE # for MKS sh
37098 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
37101 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37102 # is contrary to our usage. Disable this feature.
37103 alias -g '${1+"$@"}'='"$@"'
37104 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
37106 + setopt NO_GLOB_SUBST
37108 + case `(set -o) 2>/dev/null` in
37109 + *posix*) set -o posix ;;
37118 +# Avoid depending upon Character Ranges.
37119 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37120 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37121 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37122 +as_cr_digits='0123456789'
37123 +as_cr_alnum=$as_cr_Letters$as_cr_digits
37125 +# The user is always right.
37126 +if test "${PATH_SEPARATOR+set}" != set; then
37127 + echo "#! /bin/sh" >conf$$.sh
37128 + echo "exit 0" >>conf$$.sh
37129 + chmod +x conf$$.sh
37130 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
37131 + PATH_SEPARATOR=';'
37137 -DUALCASE=1; export DUALCASE # for MKS sh
37139 # Support unset when possible.
37140 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
37141 @@ -10975,8 +11401,43 @@ else
37146 +# We need space, tab and new line, in precisely that order. Quoting is
37147 +# there to prevent editors from complaining about space-tab.
37148 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
37149 +# splitting by setting IFS to empty value.)
37154 +# Find who we are. Look in the path if we contain no directory separator.
37156 + *[\\/]* ) as_myself=$0 ;;
37157 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37158 +for as_dir in $PATH
37161 + test -z "$as_dir" && as_dir=.
37162 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37168 +# We did not find ourselves, most probably we were run as `sh COMMAND'
37169 +# in which case we are not to be found in the path.
37170 +if test "x$as_myself" = x; then
37173 +if test ! -f "$as_myself"; then
37174 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
37175 + { (exit 1); exit 1; }
37178 # Work around bugs in pre-3.0 UWIN ksh.
37179 -$as_unset ENV MAIL MAILPATH
37180 +for as_var in ENV MAIL MAILPATH
37181 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
37186 @@ -10990,18 +11451,19 @@ do
37187 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
37188 eval $as_var=C; export $as_var
37190 - $as_unset $as_var
37191 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
37195 # Required to use basename.
37196 -if expr a : '\(a\)' >/dev/null 2>&1; then
37197 +if expr a : '\(a\)' >/dev/null 2>&1 &&
37198 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
37204 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
37205 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
37206 as_basename=basename
37209 @@ -11009,159 +11471,120 @@ fi
37212 # Name of the executable.
37213 -as_me=`$as_basename "$0" ||
37214 +as_me=`$as_basename -- "$0" ||
37215 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37216 X"$0" : 'X\(//\)$' \| \
37217 - X"$0" : 'X\(/\)$' \| \
37218 - . : '\(.\)' 2>/dev/null ||
37219 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37221 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
37222 - /^X\/\(\/\/\)$/{ s//\1/; q; }
37223 - /^X\/\(\/\).*/{ s//\1/; q; }
37225 + sed '/^.*\/\([^/][^/]*\)\/*$/{
37240 -# PATH needs CR, and LINENO needs CR and PATH.
37241 -# Avoid depending upon Character Ranges.
37242 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37243 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37244 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37245 -as_cr_digits='0123456789'
37246 -as_cr_alnum=$as_cr_Letters$as_cr_digits
37248 -# The user is always right.
37249 -if test "${PATH_SEPARATOR+set}" != set; then
37250 - echo "#! /bin/sh" >conf$$.sh
37251 - echo "exit 0" >>conf$$.sh
37252 - chmod +x conf$$.sh
37253 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
37254 - PATH_SEPARATOR=';'
37264 - as_lineno_1=$LINENO
37265 - as_lineno_2=$LINENO
37266 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37267 - test "x$as_lineno_1" != "x$as_lineno_2" &&
37268 - test "x$as_lineno_3" = "x$as_lineno_2" || {
37269 - # Find who we are. Look in the path if we contain no path at all
37270 - # relative or not.
37272 - *[\\/]* ) as_myself=$0 ;;
37273 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37274 -for as_dir in $PATH
37277 - test -z "$as_dir" && as_dir=.
37278 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37283 - # We did not find ourselves, most probably we were run as `sh COMMAND'
37284 - # in which case we are not to be found in the path.
37285 - if test "x$as_myself" = x; then
37288 - if test ! -f "$as_myself"; then
37289 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
37290 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
37291 - { (exit 1); exit 1; }; }
37293 - case $CONFIG_SHELL in
37295 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37296 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
37299 - test -z "$as_dir" && as_dir=.
37300 - for as_base in sh bash ksh sh5; do
37303 - if ("$as_dir/$as_base" -c '
37304 as_lineno_1=$LINENO
37305 as_lineno_2=$LINENO
37306 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37307 test "x$as_lineno_1" != "x$as_lineno_2" &&
37308 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
37309 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
37310 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
37311 - CONFIG_SHELL=$as_dir/$as_base
37312 - export CONFIG_SHELL
37313 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
37320 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
37322 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37323 # uniformly replaced by the line number. The first 'sed' inserts a
37324 - # line-number line before each line; the second 'sed' does the real
37325 - # work. The second script uses 'N' to pair each line-number line
37326 - # with the numbered line, and appends trailing '-' during
37327 - # substitution so that $LINENO is not a special case at line end.
37328 + # line-number line after each line using $LINENO; the second 'sed'
37329 + # does the real work. The second script uses 'N' to pair each
37330 + # line-number line with the line containing $LINENO, and appends
37331 + # trailing '-' during substitution so that $LINENO is not a special
37332 + # case at line end.
37333 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37334 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37335 - sed '=' <$as_myself |
37336 + # scripts with optimization help from Paolo Bonzini. Blame Lee
37337 + # E. McMahon (1931-1989) for sed's syntax. :-)
37343 + s/[$]LINENO.*/&-/
37350 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37352 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
37355 - s,^['$as_cr_digits']*\n,,
37357 ' >$as_me.lineno &&
37358 - chmod +x $as_me.lineno ||
37359 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37360 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37361 + chmod +x "$as_me.lineno" ||
37362 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
37363 { (exit 1); exit 1; }; }
37365 # Don't try to exec as it changes $[0], causing all sort of problems
37366 # (the dirname of $[0] is not the place where we might find the
37367 - # original and so on. Autoconf is especially sensible to this).
37368 - . ./$as_me.lineno
37369 + # original and so on. Autoconf is especially sensitive to this).
37370 + . "./$as_me.lineno"
37371 # Exit status is that of the last command.
37376 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37377 - *c*,-n*) ECHO_N= ECHO_C='
37379 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
37380 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
37381 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37382 + as_dirname=dirname
37387 +ECHO_C= ECHO_N= ECHO_T=
37388 +case `echo -n x` in
37390 + case `echo 'x\c'` in
37391 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
37398 -if expr a : '\(a\)' >/dev/null 2>&1; then
37399 +if expr a : '\(a\)' >/dev/null 2>&1 &&
37400 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
37406 rm -f conf$$ conf$$.exe conf$$.file
37407 +if test -d conf$$.dir; then
37408 + rm -f conf$$.dir/conf$$.file
37414 if ln -s conf$$.file conf$$ 2>/dev/null; then
37415 - # We could just check for DJGPP; but this test a) works b) is more generic
37416 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37417 - if test -f conf$$.exe; then
37418 - # Don't use ln at all; we don't have any links
37420 + # ... but there are two gotchas:
37421 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37422 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
37423 + # In both cases, we have to default to `cp -p'.
37424 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
37429 elif ln conf$$.file conf$$ 2>/dev/null; then
37434 -rm -f conf$$ conf$$.exe conf$$.file
37435 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
37436 +rmdir conf$$.dir 2>/dev/null
37438 if mkdir -p . 2>/dev/null; then
37440 @@ -11170,7 +11593,28 @@ else
37444 -as_executable_p="test -f"
37445 +if test -x / >/dev/null 2>&1; then
37446 + as_test_x='test -x'
37448 + if ls -dL / >/dev/null 2>&1; then
37455 + if test -d "$1"; then
37461 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
37462 + ???[sx]*):;;*)false;;esac;fi
37466 +as_executable_p=$as_test_x
37468 # Sed expression to map a string onto a valid CPP name.
37469 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
37470 @@ -11179,31 +11623,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
37471 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
37475 -# We need space, tab and new line, in precisely that order.
37485 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
37486 +# Save the log message, to keep $[0] and so on meaningful, and to
37487 # report actual input values of CONFIG_FILES etc. instead of their
37488 -# values after options handling. Logging --version etc. is OK.
37489 -exec 5>>config.log
37492 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37493 -## Running $as_me. ##
37498 +# values after options handling.
37500 This file was extended by $as_me, which was
37501 -generated by GNU Autoconf 2.59. Invocation command line was
37502 +generated by GNU Autoconf 2.61. Invocation command line was
37504 CONFIG_FILES = $CONFIG_FILES
37505 CONFIG_HEADERS = $CONFIG_HEADERS
37506 @@ -11211,30 +11638,20 @@ generated by GNU Autoconf 2.59. Invocat
37507 CONFIG_COMMANDS = $CONFIG_COMMANDS
37511 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37513 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
37518 +cat >>$CONFIG_STATUS <<_ACEOF
37519 # Files that config.status was made for.
37520 -if test -n "$ac_config_files"; then
37521 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37524 -if test -n "$ac_config_headers"; then
37525 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37528 -if test -n "$ac_config_links"; then
37529 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37531 +config_files="$ac_config_files"
37532 +config_headers="$ac_config_headers"
37533 +config_commands="$ac_config_commands"
37535 -if test -n "$ac_config_commands"; then
37536 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37540 cat >>$CONFIG_STATUS <<\_ACEOF
37543 \`$as_me' instantiates files from templates according to the
37544 current configuration.
37545 @@ -11242,7 +11659,7 @@ current configuration.
37546 Usage: $0 [OPTIONS] [FILE]...
37548 -h, --help print this help, then exit
37549 - -V, --version print version number, then exit
37550 + -V, --version print version number and configuration settings, then exit
37551 -q, --quiet do not print progress messages
37552 -d, --debug don't remove temporary files
37553 --recheck update $as_me by reconfiguring in the same conditions
37554 @@ -11261,19 +11678,21 @@ Configuration commands:
37557 Report bugs to <bug-autoconf@gnu.org>."
37561 cat >>$CONFIG_STATUS <<_ACEOF
37564 -configured by $0, generated by GNU Autoconf 2.59,
37565 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37566 +configured by $0, generated by GNU Autoconf 2.61,
37567 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
37569 -Copyright (C) 2003 Free Software Foundation, Inc.
37570 +Copyright (C) 2006 Free Software Foundation, Inc.
37571 This config.status script is free software; the Free Software Foundation
37572 gives unlimited permission to copy, distribute and modify it."
37574 -INSTALL="$INSTALL"
37578 +INSTALL='$INSTALL'
37581 cat >>$CONFIG_STATUS <<\_ACEOF
37582 @@ -11284,39 +11703,24 @@ while test $# != 0
37586 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
37587 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
37588 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
37589 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
37598 - *) # This is not an option, so the user has probably given explicit
37601 - ac_need_defaults=false;;
37605 # Handling of the options.
37607 -cat >>$CONFIG_STATUS <<\_ACEOF
37608 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37610 - --version | --vers* | -V )
37611 - echo "$ac_cs_version"; exit 0 ;;
37613 - # Conflict between --help and --header
37614 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
37615 -Try \`$0 --help' for more information." >&5
37616 -echo "$as_me: error: ambiguous option: $1
37617 -Try \`$0 --help' for more information." >&2;}
37618 - { (exit 1); exit 1; }; };;
37619 - --help | --hel | -h )
37620 - echo "$ac_cs_usage"; exit 0 ;;
37621 - --debug | --d* | -d )
37622 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
37623 + echo "$ac_cs_version"; exit ;;
37624 + --debug | --debu | --deb | --de | --d | -d )
37626 --file | --fil | --fi | --f )
37628 @@ -11326,18 +11730,24 @@ Try \`$0 --help' for more information."
37630 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
37631 ac_need_defaults=false;;
37633 + # Conflict between --help and --header
37634 + { echo "$as_me: error: ambiguous option: $1
37635 +Try \`$0 --help' for more information." >&2
37636 + { (exit 1); exit 1; }; };;
37637 + --help | --hel | -h )
37638 + echo "$ac_cs_usage"; exit ;;
37639 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37640 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37643 # This is an error.
37644 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37645 -Try \`$0 --help' for more information." >&5
37646 -echo "$as_me: error: unrecognized option: $1
37647 -Try \`$0 --help' for more information." >&2;}
37648 + -*) { echo "$as_me: error: unrecognized option: $1
37649 +Try \`$0 --help' for more information." >&2
37650 { (exit 1); exit 1; }; } ;;
37652 - *) ac_config_targets="$ac_config_targets $1" ;;
37653 + *) ac_config_targets="$ac_config_targets $1"
37654 + ac_need_defaults=false ;;
37658 @@ -11353,40 +11763,52 @@ fi
37660 cat >>$CONFIG_STATUS <<_ACEOF
37661 if \$ac_cs_recheck; then
37662 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37663 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37664 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37665 + CONFIG_SHELL=$SHELL
37666 + export CONFIG_SHELL
37667 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37671 +cat >>$CONFIG_STATUS <<\_ACEOF
37672 +exec 5>>config.log
37675 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37676 +## Running $as_me. ##
37682 cat >>$CONFIG_STATUS <<_ACEOF
37684 -# INIT-COMMANDS section.
37688 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
37694 cat >>$CONFIG_STATUS <<\_ACEOF
37696 +# Handling of arguments.
37697 for ac_config_target in $ac_config_targets
37699 - case "$ac_config_target" in
37700 - # Handling of arguments.
37701 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37702 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
37703 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
37704 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
37705 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37706 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
37707 + case $ac_config_target in
37708 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
37709 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
37710 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37711 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
37712 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
37713 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37715 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37716 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37717 { (exit 1); exit 1; }; };;
37722 # If the user did not use the arguments to specify the items to instantiate,
37723 # then the envvar interface is used. Set only those that are not.
37724 # We use the long form for the default assignment because of an extremely
37725 @@ -11398,391 +11820,496 @@ if $ac_need_defaults; then
37728 # Have a temporary directory for convenience. Make it in the build tree
37729 -# simply because there is no reason to put it here, and in addition,
37730 +# simply because there is no reason against having it here, and in addition,
37731 # creating and moving files from /tmp can sometimes cause problems.
37732 -# Create a temporary directory, and hook for its removal unless debugging.
37733 +# Hook for its removal unless debugging.
37734 +# Note that there is a small window in which the directory will not be cleaned:
37735 +# after its creation but before its name has been assigned to `$tmp'.
37738 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37740 + trap 'exit_status=$?
37741 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
37743 trap '{ (exit 1); exit 1; }' 1 2 13 15
37746 # Create a (secure) tmp directory for tmp files.
37749 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37750 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
37751 test -n "$tmp" && test -d "$tmp"
37754 - tmp=./confstat$$-$RANDOM
37755 - (umask 077 && mkdir $tmp)
37756 + tmp=./conf$$-$RANDOM
37757 + (umask 077 && mkdir "$tmp")
37760 echo "$me: cannot create a temporary directory in ." >&2
37761 { (exit 1); exit 1; }
37766 -cat >>$CONFIG_STATUS <<_ACEOF
37769 -# CONFIG_FILES section.
37770 +# Set up the sed scripts for CONFIG_FILES section.
37773 # No need to generate the scripts if there are no CONFIG_FILES.
37774 # This happens for instance when ./config.status config.h
37775 -if test -n "\$CONFIG_FILES"; then
37776 - # Protect against being on the right side of a sed subst in config.status.
37777 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37778 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37779 -s,@SHELL@,$SHELL,;t t
37780 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37781 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37782 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37783 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37784 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37785 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37786 -s,@exec_prefix@,$exec_prefix,;t t
37787 -s,@prefix@,$prefix,;t t
37788 -s,@program_transform_name@,$program_transform_name,;t t
37789 -s,@bindir@,$bindir,;t t
37790 -s,@sbindir@,$sbindir,;t t
37791 -s,@libexecdir@,$libexecdir,;t t
37792 -s,@datadir@,$datadir,;t t
37793 -s,@sysconfdir@,$sysconfdir,;t t
37794 -s,@sharedstatedir@,$sharedstatedir,;t t
37795 -s,@localstatedir@,$localstatedir,;t t
37796 -s,@libdir@,$libdir,;t t
37797 -s,@includedir@,$includedir,;t t
37798 -s,@oldincludedir@,$oldincludedir,;t t
37799 -s,@infodir@,$infodir,;t t
37800 -s,@mandir@,$mandir,;t t
37801 -s,@build_alias@,$build_alias,;t t
37802 -s,@host_alias@,$host_alias,;t t
37803 -s,@target_alias@,$target_alias,;t t
37804 -s,@DEFS@,$DEFS,;t t
37805 -s,@ECHO_C@,$ECHO_C,;t t
37806 -s,@ECHO_N@,$ECHO_N,;t t
37807 -s,@ECHO_T@,$ECHO_T,;t t
37808 -s,@LIBS@,$LIBS,;t t
37809 -s,@build@,$build,;t t
37810 -s,@build_cpu@,$build_cpu,;t t
37811 -s,@build_vendor@,$build_vendor,;t t
37812 -s,@build_os@,$build_os,;t t
37813 -s,@host@,$host,;t t
37814 -s,@host_cpu@,$host_cpu,;t t
37815 -s,@host_vendor@,$host_vendor,;t t
37816 -s,@host_os@,$host_os,;t t
37817 -s,@target@,$target,;t t
37818 -s,@target_cpu@,$target_cpu,;t t
37819 -s,@target_vendor@,$target_vendor,;t t
37820 -s,@target_os@,$target_os,;t t
37822 -s,@CFLAGS@,$CFLAGS,;t t
37823 -s,@LDFLAGS@,$LDFLAGS,;t t
37824 -s,@CPPFLAGS@,$CPPFLAGS,;t t
37825 -s,@ac_ct_CC@,$ac_ct_CC,;t t
37826 -s,@EXEEXT@,$EXEEXT,;t t
37827 -s,@OBJEXT@,$OBJEXT,;t t
37828 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37829 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37830 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37831 -s,@CYGPATH_W@,$CYGPATH_W,;t t
37832 -s,@PACKAGE@,$PACKAGE,;t t
37833 -s,@VERSION@,$VERSION,;t t
37834 -s,@ACLOCAL@,$ACLOCAL,;t t
37835 -s,@AUTOCONF@,$AUTOCONF,;t t
37836 -s,@AUTOMAKE@,$AUTOMAKE,;t t
37837 -s,@AUTOHEADER@,$AUTOHEADER,;t t
37838 -s,@MAKEINFO@,$MAKEINFO,;t t
37839 -s,@install_sh@,$install_sh,;t t
37840 -s,@STRIP@,$STRIP,;t t
37841 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37842 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
37843 -s,@mkdir_p@,$mkdir_p,;t t
37845 -s,@SET_MAKE@,$SET_MAKE,;t t
37846 -s,@am__leading_dot@,$am__leading_dot,;t t
37847 -s,@AMTAR@,$AMTAR,;t t
37848 -s,@am__tar@,$am__tar,;t t
37849 -s,@am__untar@,$am__untar,;t t
37850 -s,@DEPDIR@,$DEPDIR,;t t
37851 -s,@am__include@,$am__include,;t t
37852 -s,@am__quote@,$am__quote,;t t
37853 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
37854 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
37855 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
37856 -s,@CCDEPMODE@,$CCDEPMODE,;t t
37857 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
37858 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
37859 -s,@LN_S@,$LN_S,;t t
37860 -s,@RANLIB@,$RANLIB,;t t
37861 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37862 -s,@LIBTOOL@,$LIBTOOL,;t t
37863 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
37864 -s,@NO_WERROR@,$NO_WERROR,;t t
37865 -s,@YACC@,$YACC,;t t
37867 -s,@LEXLIB@,$LEXLIB,;t t
37868 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
37870 -s,@EGREP@,$EGREP,;t t
37871 -s,@ALLOCA@,$ALLOCA,;t t
37872 -s,@USE_NLS@,$USE_NLS,;t t
37873 -s,@MSGFMT@,$MSGFMT,;t t
37874 -s,@GMSGFMT@,$GMSGFMT,;t t
37875 -s,@XGETTEXT@,$XGETTEXT,;t t
37876 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
37877 -s,@CATALOGS@,$CATALOGS,;t t
37878 -s,@CATOBJEXT@,$CATOBJEXT,;t t
37879 -s,@DATADIRNAME@,$DATADIRNAME,;t t
37880 -s,@GMOFILES@,$GMOFILES,;t t
37881 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
37882 -s,@INTLDEPS@,$INTLDEPS,;t t
37883 -s,@INTLLIBS@,$INTLLIBS,;t t
37884 -s,@INTLOBJS@,$INTLOBJS,;t t
37885 -s,@POFILES@,$POFILES,;t t
37886 -s,@POSUB@,$POSUB,;t t
37887 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
37888 -s,@GT_NO@,$GT_NO,;t t
37889 -s,@GT_YES@,$GT_YES,;t t
37890 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
37892 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
37893 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
37894 -s,@MAINT@,$MAINT,;t t
37895 -s,@HDEFINES@,$HDEFINES,;t t
37897 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
37898 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
37899 -s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
37900 -s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
37901 -s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
37902 -s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
37903 -s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
37904 -s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
37905 -s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
37906 -s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
37907 -s,@BUILD_MISC@,$BUILD_MISC,;t t
37908 -s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
37909 -s,@EMULATION@,$EMULATION,;t t
37910 -s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
37911 -s,@datarootdir@,$datarootdir,;t t
37912 -s,@docdir@,$docdir,;t t
37913 -s,@htmldir@,$htmldir,;t t
37914 -s,@LIBOBJS@,$LIBOBJS,;t t
37915 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37920 - cat >>$CONFIG_STATUS <<\_ACEOF
37921 - # Split the substitutions into bite-sized pieces for seds with
37922 - # small command number limits, like on Digital OSF/1 and HP-UX.
37923 - ac_max_sed_lines=48
37924 - ac_sed_frag=1 # Number of current file.
37925 - ac_beg=1 # First line for current file.
37926 - ac_end=$ac_max_sed_lines # Line after last line for current file.
37929 - while $ac_more_lines; do
37930 - if test $ac_beg -gt 1; then
37931 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37933 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37935 - if test ! -s $tmp/subs.frag; then
37936 - ac_more_lines=false
37938 - # The purpose of the label and of the branching condition is to
37939 - # speed up the sed processing (if there are no `@' at all, there
37940 - # is no need to browse any of the substitutions).
37941 - # These are the two extra sed commands mentioned above.
37943 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37944 - if test -z "$ac_sed_cmds"; then
37945 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37947 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37949 - ac_sed_frag=`expr $ac_sed_frag + 1`
37951 - ac_end=`expr $ac_end + $ac_max_sed_lines`
37954 - if test -z "$ac_sed_cmds"; then
37956 +if test -n "$CONFIG_FILES"; then
37963 +for ac_last_try in false false false false false :; do
37964 + cat >conf$$subs.sed <<_ACEOF
37965 +SHELL!$SHELL$ac_delim
37966 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
37967 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
37968 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
37969 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
37970 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
37971 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
37972 +exec_prefix!$exec_prefix$ac_delim
37973 +prefix!$prefix$ac_delim
37974 +program_transform_name!$program_transform_name$ac_delim
37975 +bindir!$bindir$ac_delim
37976 +sbindir!$sbindir$ac_delim
37977 +libexecdir!$libexecdir$ac_delim
37978 +datarootdir!$datarootdir$ac_delim
37979 +datadir!$datadir$ac_delim
37980 +sysconfdir!$sysconfdir$ac_delim
37981 +sharedstatedir!$sharedstatedir$ac_delim
37982 +localstatedir!$localstatedir$ac_delim
37983 +includedir!$includedir$ac_delim
37984 +oldincludedir!$oldincludedir$ac_delim
37985 +docdir!$docdir$ac_delim
37986 +infodir!$infodir$ac_delim
37987 +htmldir!$htmldir$ac_delim
37988 +dvidir!$dvidir$ac_delim
37989 +pdfdir!$pdfdir$ac_delim
37990 +psdir!$psdir$ac_delim
37991 +libdir!$libdir$ac_delim
37992 +localedir!$localedir$ac_delim
37993 +mandir!$mandir$ac_delim
37994 +DEFS!$DEFS$ac_delim
37995 +ECHO_C!$ECHO_C$ac_delim
37996 +ECHO_N!$ECHO_N$ac_delim
37997 +ECHO_T!$ECHO_T$ac_delim
37998 +LIBS!$LIBS$ac_delim
37999 +build_alias!$build_alias$ac_delim
38000 +host_alias!$host_alias$ac_delim
38001 +target_alias!$target_alias$ac_delim
38002 +build!$build$ac_delim
38003 +build_cpu!$build_cpu$ac_delim
38004 +build_vendor!$build_vendor$ac_delim
38005 +build_os!$build_os$ac_delim
38006 +host!$host$ac_delim
38007 +host_cpu!$host_cpu$ac_delim
38008 +host_vendor!$host_vendor$ac_delim
38009 +host_os!$host_os$ac_delim
38010 +target!$target$ac_delim
38011 +target_cpu!$target_cpu$ac_delim
38012 +target_vendor!$target_vendor$ac_delim
38013 +target_os!$target_os$ac_delim
38015 +CFLAGS!$CFLAGS$ac_delim
38016 +LDFLAGS!$LDFLAGS$ac_delim
38017 +CPPFLAGS!$CPPFLAGS$ac_delim
38018 +ac_ct_CC!$ac_ct_CC$ac_delim
38019 +EXEEXT!$EXEEXT$ac_delim
38020 +OBJEXT!$OBJEXT$ac_delim
38021 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
38022 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
38023 +INSTALL_DATA!$INSTALL_DATA$ac_delim
38024 +CYGPATH_W!$CYGPATH_W$ac_delim
38025 +PACKAGE!$PACKAGE$ac_delim
38026 +VERSION!$VERSION$ac_delim
38027 +ACLOCAL!$ACLOCAL$ac_delim
38028 +AUTOCONF!$AUTOCONF$ac_delim
38029 +AUTOMAKE!$AUTOMAKE$ac_delim
38030 +AUTOHEADER!$AUTOHEADER$ac_delim
38031 +MAKEINFO!$MAKEINFO$ac_delim
38032 +install_sh!$install_sh$ac_delim
38033 +STRIP!$STRIP$ac_delim
38034 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
38035 +mkdir_p!$mkdir_p$ac_delim
38037 +SET_MAKE!$SET_MAKE$ac_delim
38038 +am__leading_dot!$am__leading_dot$ac_delim
38039 +AMTAR!$AMTAR$ac_delim
38040 +am__tar!$am__tar$ac_delim
38041 +am__untar!$am__untar$ac_delim
38042 +DEPDIR!$DEPDIR$ac_delim
38043 +am__include!$am__include$ac_delim
38044 +am__quote!$am__quote$ac_delim
38045 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
38046 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
38047 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
38048 +CCDEPMODE!$CCDEPMODE$ac_delim
38049 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
38050 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
38051 +LN_S!$LN_S$ac_delim
38052 +RANLIB!$RANLIB$ac_delim
38053 +LIBTOOL!$LIBTOOL$ac_delim
38054 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
38055 +NO_WERROR!$NO_WERROR$ac_delim
38056 +YACC!$YACC$ac_delim
38057 +YFLAGS!$YFLAGS$ac_delim
38059 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
38060 +LEXLIB!$LEXLIB$ac_delim
38064 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38066 + elif $ac_last_try; then
38067 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38068 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38069 + { (exit 1); exit 1; }; }
38071 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38073 -fi # test -n "$CONFIG_FILES"
38076 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38077 +if test -n "$ac_eof"; then
38078 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38079 + ac_eof=`expr $ac_eof + 1`
38082 +cat >>$CONFIG_STATUS <<_ACEOF
38083 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
38084 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38087 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38088 +s/^/s,@/; s/!/@,|#_!!_#|/
38091 +s/'"$ac_delim"'$/,g/; t
38093 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38094 +' >>$CONFIG_STATUS <conf$$subs.sed
38095 +rm -f conf$$subs.sed
38096 +cat >>$CONFIG_STATUS <<_ACEOF
38102 +for ac_last_try in false false false false false :; do
38103 + cat >conf$$subs.sed <<_ACEOF
38104 +GREP!$GREP$ac_delim
38105 +EGREP!$EGREP$ac_delim
38106 +ALLOCA!$ALLOCA$ac_delim
38107 +USE_NLS!$USE_NLS$ac_delim
38108 +MSGFMT!$MSGFMT$ac_delim
38109 +GMSGFMT!$GMSGFMT$ac_delim
38110 +XGETTEXT!$XGETTEXT$ac_delim
38111 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
38112 +CATALOGS!$CATALOGS$ac_delim
38113 +CATOBJEXT!$CATOBJEXT$ac_delim
38114 +DATADIRNAME!$DATADIRNAME$ac_delim
38115 +GMOFILES!$GMOFILES$ac_delim
38116 +INSTOBJEXT!$INSTOBJEXT$ac_delim
38117 +INTLDEPS!$INTLDEPS$ac_delim
38118 +INTLLIBS!$INTLLIBS$ac_delim
38119 +INTLOBJS!$INTLOBJS$ac_delim
38120 +POFILES!$POFILES$ac_delim
38121 +POSUB!$POSUB$ac_delim
38122 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
38123 +GT_NO!$GT_NO$ac_delim
38124 +GT_YES!$GT_YES$ac_delim
38125 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
38127 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
38128 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
38129 +MAINT!$MAINT$ac_delim
38130 +HDEFINES!$HDEFINES$ac_delim
38132 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
38133 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
38134 +DEMANGLER_NAME!$DEMANGLER_NAME$ac_delim
38135 +NLMCONV_DEFS!$NLMCONV_DEFS$ac_delim
38136 +BUILD_NLMCONV!$BUILD_NLMCONV$ac_delim
38137 +BUILD_SRCONV!$BUILD_SRCONV$ac_delim
38138 +BUILD_DLLTOOL!$BUILD_DLLTOOL$ac_delim
38139 +DLLTOOL_DEFS!$DLLTOOL_DEFS$ac_delim
38140 +BUILD_WINDRES!$BUILD_WINDRES$ac_delim
38141 +BUILD_DLLWRAP!$BUILD_DLLWRAP$ac_delim
38142 +BUILD_MISC!$BUILD_MISC$ac_delim
38143 +OBJDUMP_DEFS!$OBJDUMP_DEFS$ac_delim
38144 +EMULATION!$EMULATION$ac_delim
38145 +EMULATION_VECTOR!$EMULATION_VECTOR$ac_delim
38146 +LIBOBJS!$LIBOBJS$ac_delim
38147 +LTLIBOBJS!$LTLIBOBJS$ac_delim
38150 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
38152 + elif $ac_last_try; then
38153 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38154 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38155 + { (exit 1); exit 1; }; }
38157 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38161 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38162 +if test -n "$ac_eof"; then
38163 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38164 + ac_eof=`expr $ac_eof + 1`
38167 +cat >>$CONFIG_STATUS <<_ACEOF
38168 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
38169 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
38172 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38173 +s/^/s,@/; s/!/@,|#_!!_#|/
38176 +s/'"$ac_delim"'$/,g/; t
38178 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38179 +' >>$CONFIG_STATUS <conf$$subs.sed
38180 +rm -f conf$$subs.sed
38181 +cat >>$CONFIG_STATUS <<_ACEOF
38188 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
38189 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38190 +# trailing colons and then remove the whole line if VPATH becomes empty
38191 +# (actually we leave an empty line to preserve line numbers).
38192 +if test "x$srcdir" = x.; then
38193 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
38194 +s/:*\$(srcdir):*/:/
38195 +s/:*\${srcdir}:*/:/
38197 +s/^\([^=]*=[ ]*\):*/\1/
38203 cat >>$CONFIG_STATUS <<\_ACEOF
38204 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
38205 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38207 - - | *:- | *:-:* ) # input from stdin
38209 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38210 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38211 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38212 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38213 - * ) ac_file_in=$ac_file.in ;;
38214 +fi # test -n "$CONFIG_FILES"
38217 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
38220 + :[FHLC]) ac_mode=$ac_tag; continue;;
38222 + case $ac_mode$ac_tag in
38224 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
38225 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
38226 + { (exit 1); exit 1; }; };;
38227 + :[FH]-) ac_tag=-:-;;
38228 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
38239 + :L) ac_source=$1;;
38245 + -) ac_f="$tmp/stdin";;
38246 + *) # Look for the file first in the build tree, then in the source tree
38247 + # (if the path is not absolute). The absolute path cannot be DOS-style,
38248 + # because $ac_f cannot contain `:'.
38249 + test -f "$ac_f" ||
38252 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
38254 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
38255 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
38256 + { (exit 1); exit 1; }; };;
38258 + ac_file_inputs="$ac_file_inputs $ac_f"
38261 + # Let's still pretend it is `configure' which instantiates (i.e., don't
38262 + # use $as_me), people would be surprised to read:
38263 + # /* config.h. Generated by config.status. */
38264 + configure_input="Generated from "`IFS=:
38265 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
38266 + if test x"$ac_file" != x-; then
38267 + configure_input="$ac_file. $configure_input"
38268 + { echo "$as_me:$LINENO: creating $ac_file" >&5
38269 +echo "$as_me: creating $ac_file" >&6;}
38273 + *:-:* | *:-) cat >"$tmp/stdin";;
38278 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
38279 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38280 + ac_dir=`$as_dirname -- "$ac_file" ||
38281 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38282 X"$ac_file" : 'X\(//\)[^/]' \| \
38283 X"$ac_file" : 'X\(//\)$' \| \
38284 - X"$ac_file" : 'X\(/\)' \| \
38285 - . : '\(.\)' 2>/dev/null ||
38286 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
38288 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38289 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38290 - /^X\(\/\/\)$/{ s//\1/; q; }
38291 - /^X\(\/\).*/{ s//\1/; q; }
38293 - { if $as_mkdir_p; then
38294 - mkdir -p "$ac_dir"
38297 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38301 + /^X\(\/\/\)[^/].*/{
38314 + { as_dir="$ac_dir"
38315 + case $as_dir in #(
38316 + -*) as_dir=./$as_dir;;
38318 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
38320 - while test ! -d "$as_dir"; do
38321 - as_dirs="$as_dir $as_dirs"
38322 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
38324 + case $as_dir in #(
38325 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
38326 + *) as_qdir=$as_dir;;
38328 + as_dirs="'$as_qdir' $as_dirs"
38329 + as_dir=`$as_dirname -- "$as_dir" ||
38330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38331 X"$as_dir" : 'X\(//\)[^/]' \| \
38332 X"$as_dir" : 'X\(//\)$' \| \
38333 - X"$as_dir" : 'X\(/\)' \| \
38334 - . : '\(.\)' 2>/dev/null ||
38335 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
38337 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38338 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38339 - /^X\(\/\/\)$/{ s//\1/; q; }
38340 - /^X\(\/\).*/{ s//\1/; q; }
38342 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38346 + /^X\(\/\/\)[^/].*/{
38359 + test -d "$as_dir" && break
38361 - test ! -n "$as_dirs" || mkdir $as_dirs
38362 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38363 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38364 + test -z "$as_dirs" || eval "mkdir $as_dirs"
38365 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
38366 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
38367 { (exit 1); exit 1; }; }; }
38371 -if test "$ac_dir" != .; then
38373 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
38375 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38376 - # A "../" for each directory in $ac_dir_suffix.
38377 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38379 - ac_dir_suffix= ac_top_builddir=
38381 + # A ".." for each directory in $ac_dir_suffix.
38382 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
38383 + case $ac_top_builddir_sub in
38384 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
38385 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
38388 +ac_abs_top_builddir=$ac_pwd
38389 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
38390 +# for backward compatibility:
38391 +ac_top_builddir=$ac_top_build_prefix
38394 - .) # No --srcdir option. We are building in place.
38395 + .) # We are building in place.
38397 - if test -z "$ac_top_builddir"; then
38400 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38402 - [\\/]* | ?:[\\/]* ) # Absolute path.
38403 + ac_top_srcdir=$ac_top_builddir_sub
38404 + ac_abs_top_srcdir=$ac_pwd ;;
38405 + [\\/]* | ?:[\\/]* ) # Absolute name.
38406 ac_srcdir=$srcdir$ac_dir_suffix;
38407 - ac_top_srcdir=$srcdir ;;
38408 - *) # Relative path.
38409 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38410 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
38412 + ac_top_srcdir=$srcdir
38413 + ac_abs_top_srcdir=$srcdir ;;
38414 + *) # Relative name.
38415 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
38416 + ac_top_srcdir=$ac_top_build_prefix$srcdir
38417 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
38419 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
38421 -# Do not use `cd foo && pwd` to compute absolute paths, because
38422 -# the directories may not exist.
38424 -.) ac_abs_builddir="$ac_dir";;
38426 - case "$ac_dir" in
38427 - .) ac_abs_builddir=`pwd`;;
38428 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
38429 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
38432 -case $ac_abs_builddir in
38433 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
38435 - case ${ac_top_builddir}. in
38436 - .) ac_abs_top_builddir=$ac_abs_builddir;;
38437 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
38438 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
38441 -case $ac_abs_builddir in
38442 -.) ac_abs_srcdir=$ac_srcdir;;
38444 - case $ac_srcdir in
38445 - .) ac_abs_srcdir=$ac_abs_builddir;;
38446 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
38447 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
38450 -case $ac_abs_builddir in
38451 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
38453 - case $ac_top_srcdir in
38454 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
38455 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
38456 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
38467 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
38468 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
38469 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
38473 - if test x"$ac_file" != x-; then
38474 - { echo "$as_me:$LINENO: creating $ac_file" >&5
38475 -echo "$as_me: creating $ac_file" >&6;}
38478 - # Let's still pretend it is `configure' which instantiates (i.e., don't
38479 - # use $as_me), people would be surprised to read:
38480 - # /* config.h. Generated by config.status. */
38481 - if test x"$ac_file" = x-; then
38484 - configure_input="$ac_file. "
38486 - configure_input=$configure_input"Generated from `echo $ac_file_in |
38487 - sed 's,.*/,,'` by configure."
38489 - # First look for the input files in the build tree, otherwise in the
38491 - ac_file_inputs=`IFS=:
38492 - for f in $ac_file_in; do
38494 - -) echo $tmp/stdin ;;
38496 - # Absolute (can't be DOS-style, as IFS=:)
38497 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38498 -echo "$as_me: error: cannot find input file: $f" >&2;}
38499 - { (exit 1); exit 1; }; }
38502 - if test -f "$f"; then
38505 - elif test -f "$srcdir/$f"; then
38507 - echo "$srcdir/$f"
38510 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38511 -echo "$as_me: error: cannot find input file: $f" >&2;}
38512 - { (exit 1); exit 1; }; }
38515 - done` || { (exit 1); exit 1; }
38516 +cat >>$CONFIG_STATUS <<\_ACEOF
38517 +# If the template does not know about datarootdir, expand it.
38518 +# FIXME: This hack should be removed a few years after 2.60.
38519 +ac_datarootdir_hack=; ac_datarootdir_seen=
38521 +case `sed -n '/datarootdir/ {
38530 +' $ac_file_inputs` in
38531 +*datarootdir*) ac_datarootdir_seen=yes;;
38532 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
38533 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
38534 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
38536 +cat >>$CONFIG_STATUS <<_ACEOF
38537 + ac_datarootdir_hack='
38538 + s&@datadir@&$datadir&g
38539 + s&@docdir@&$docdir&g
38540 + s&@infodir@&$infodir&g
38541 + s&@localedir@&$localedir&g
38542 + s&@mandir@&$mandir&g
38543 + s&\\\${datarootdir}&$datarootdir&g' ;;
38547 +# Neutralize VPATH when `$srcdir' = `.'.
38548 +# Shell code in configure.ac might set extrasub.
38549 +# FIXME: do we really want to maintain this feature?
38550 cat >>$CONFIG_STATUS <<_ACEOF
38553 @@ -11790,248 +12317,130 @@ _ACEOF
38554 cat >>$CONFIG_STATUS <<\_ACEOF
38556 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38557 -s,@configure_input@,$configure_input,;t t
38558 -s,@srcdir@,$ac_srcdir,;t t
38559 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
38560 -s,@top_srcdir@,$ac_top_srcdir,;t t
38561 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
38562 -s,@builddir@,$ac_builddir,;t t
38563 -s,@abs_builddir@,$ac_abs_builddir,;t t
38564 -s,@top_builddir@,$ac_top_builddir,;t t
38565 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
38566 -s,@INSTALL@,$ac_INSTALL,;t t
38567 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
38569 - if test x"$ac_file" != x-; then
38570 - mv $tmp/out $ac_file
38578 -cat >>$CONFIG_STATUS <<\_ACEOF
38581 -# CONFIG_HEADER section.
38584 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
38585 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
38587 -# ac_d sets the value in "#define NAME VALUE" lines.
38588 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
38589 -ac_dB='[ ].*$,\1#\2'
38592 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
38593 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
38594 -ac_uB='$,\1#\2define\3'
38597 +s&@configure_input@&$configure_input&;t t
38598 +s&@top_builddir@&$ac_top_builddir_sub&;t t
38599 +s&@srcdir@&$ac_srcdir&;t t
38600 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
38601 +s&@top_srcdir@&$ac_top_srcdir&;t t
38602 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
38603 +s&@builddir@&$ac_builddir&;t t
38604 +s&@abs_builddir@&$ac_abs_builddir&;t t
38605 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
38606 +s&@INSTALL@&$ac_INSTALL&;t t
38607 +$ac_datarootdir_hack
38608 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
38610 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
38611 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
38612 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
38613 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
38614 +which seems to be undefined. Please make sure it is defined." >&5
38615 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
38616 +which seems to be undefined. Please make sure it is defined." >&2;}
38618 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
38619 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38620 + rm -f "$tmp/stdin"
38622 - - | *:- | *:-:* ) # input from stdin
38624 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38625 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38626 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38627 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38628 - * ) ac_file_in=$ac_file.in ;;
38629 + -) cat "$tmp/out"; rm -f "$tmp/out";;
38630 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
38639 +# Transform confdefs.h into a sed script `conftest.defines', that
38640 +# substitutes the proper values into config.h.in to produce config.h.
38641 +rm -f conftest.defines conftest.tail
38642 +# First, append a space to every undef/define line, to ease matching.
38643 +echo 's/$/ /' >conftest.defines
38644 +# Then, protect against being on the right side of a sed subst, or in
38645 +# an unquoted here document, in config.status. If some macros were
38646 +# called several times there might be several #defines for the same
38647 +# symbol, which is useless. But do not sort them, since the last
38648 +# AC_DEFINE must be honored.
38649 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
38650 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
38651 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
38652 +# PARAMS is the parameter list in the macro definition--in most cases, it's
38653 +# just an empty string.
38654 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
38655 +ac_dB='\\)[ (].*,\\1define\\2'
38659 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
38660 -echo "$as_me: creating $ac_file" >&6;}
38662 - # First look for the input files in the build tree, otherwise in the
38664 - ac_file_inputs=`IFS=:
38665 - for f in $ac_file_in; do
38667 - -) echo $tmp/stdin ;;
38669 - # Absolute (can't be DOS-style, as IFS=:)
38670 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38671 -echo "$as_me: error: cannot find input file: $f" >&2;}
38672 - { (exit 1); exit 1; }; }
38673 - # Do quote $f, to prevent DOS paths from being IFS'd.
38676 - if test -f "$f"; then
38679 - elif test -f "$srcdir/$f"; then
38681 - echo "$srcdir/$f"
38684 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38685 -echo "$as_me: error: cannot find input file: $f" >&2;}
38686 - { (exit 1); exit 1; }; }
38689 - done` || { (exit 1); exit 1; }
38690 - # Remove the trailing spaces.
38691 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
38695 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
38696 -# `conftest.undefs', that substitutes the proper values into
38697 -# config.h.in to produce config.h. The first handles `#define'
38698 -# templates, and the second `#undef' templates.
38699 -# And first: Protect against being on the right side of a sed subst in
38700 -# config.status. Protect against being in an unquoted here document
38701 -# in config.status.
38702 -rm -f conftest.defines conftest.undefs
38703 -# Using a here document instead of a string reduces the quoting nightmare.
38704 -# Putting comments in sed scripts is not portable.
38706 -# `end' is used to avoid that the second main sed command (meant for
38707 -# 0-ary CPP macros) applies to n-ary macro definitions.
38708 -# See the Autoconf documentation for `clear'.
38709 -cat >confdef2sed.sed <<\_ACEOF
38714 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
38716 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
38719 -# If some macros were called several times there might be several times
38720 -# the same #defines, which is useless. Nevertheless, we may not want to
38721 -# sort them, since we want the *last* AC-DEFINE to be honored.
38722 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
38723 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
38724 -rm -f confdef2sed.sed
38729 + s/^[ ]*#[ ]*define[ ][ ]*//
38734 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
38735 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
38736 + ' >>conftest.defines
38738 -# This sed command replaces #undef with comments. This is necessary, for
38739 +# Remove the space that was appended to ease matching.
38740 +# Then replace #undef with comments. This is necessary, for
38741 # example, in the case of _POSIX_SOURCE, which is predefined and required
38742 # on some systems where configure will not decide to define it.
38743 -cat >>conftest.undefs <<\_ACEOF
38744 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
38745 +# (The regexp can be short, since the line contains either #define or #undef.)
38747 +s,^[ #]*u.*,/* & */,' >>conftest.defines
38749 +# Break up conftest.defines:
38750 +ac_max_sed_lines=50
38752 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
38753 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
38754 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
38756 +ac_in='$ac_file_inputs'
38757 +ac_out='"$tmp/out1"'
38758 +ac_nxt='"$tmp/out2"'
38762 + # Write a here document:
38763 + cat >>$CONFIG_STATUS <<_ACEOF
38764 + # First, check the format of the line:
38765 + cat >"\$tmp/defines.sed" <<\\CEOF
38766 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
38767 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
38772 -# Break up conftest.defines because some shells have a limit on the size
38773 -# of here documents, and old seds have small limits too (100 cmds).
38774 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
38775 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
38776 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
38777 -echo ' :' >>$CONFIG_STATUS
38778 -rm -f conftest.tail
38779 -while grep . conftest.defines >/dev/null
38781 - # Write a limited-size here document to $tmp/defines.sed.
38782 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
38783 - # Speed up: don't consider the non `#define' lines.
38784 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
38785 - # Work around the forget-to-reset-the-flag bug.
38786 - echo 't clr' >>$CONFIG_STATUS
38787 - echo ': clr' >>$CONFIG_STATUS
38788 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
38789 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
38791 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
38793 - mv $tmp/out $tmp/in
38794 -' >>$CONFIG_STATUS
38795 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
38796 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
38797 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
38798 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
38799 + grep . conftest.tail >/dev/null || break
38800 rm -f conftest.defines
38801 mv conftest.tail conftest.defines
38803 -rm -f conftest.defines
38804 -echo ' fi # grep' >>$CONFIG_STATUS
38805 -echo >>$CONFIG_STATUS
38807 -# Break up conftest.undefs because some shells have a limit on the size
38808 -# of here documents, and old seds have small limits too (100 cmds).
38809 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38810 -rm -f conftest.tail
38811 -while grep . conftest.undefs >/dev/null
38813 - # Write a limited-size here document to $tmp/undefs.sed.
38814 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38815 - # Speed up: don't consider the non `#undef'
38816 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38817 - # Work around the forget-to-reset-the-flag bug.
38818 - echo 't clr' >>$CONFIG_STATUS
38819 - echo ': clr' >>$CONFIG_STATUS
38820 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38822 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38824 - mv $tmp/out $tmp/in
38825 -' >>$CONFIG_STATUS
38826 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38827 - rm -f conftest.undefs
38828 - mv conftest.tail conftest.undefs
38830 -rm -f conftest.undefs
38831 +rm -f conftest.defines conftest.tail
38833 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
38834 cat >>$CONFIG_STATUS <<\_ACEOF
38835 - # Let's still pretend it is `configure' which instantiates (i.e., don't
38836 - # use $as_me), people would be surprised to read:
38837 - # /* config.h. Generated by config.status. */
38838 - if test x"$ac_file" = x-; then
38839 - echo "/* Generated by configure. */" >$tmp/config.h
38841 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38843 - cat $tmp/in >>$tmp/config.h
38845 if test x"$ac_file" != x-; then
38846 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
38847 + echo "/* $configure_input */" >"$tmp/config.h"
38848 + cat "$ac_result" >>"$tmp/config.h"
38849 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
38850 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38851 echo "$as_me: $ac_file is unchanged" >&6;}
38853 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38854 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38855 - X"$ac_file" : 'X\(//\)[^/]' \| \
38856 - X"$ac_file" : 'X\(//\)$' \| \
38857 - X"$ac_file" : 'X\(/\)' \| \
38858 - . : '\(.\)' 2>/dev/null ||
38859 -echo X"$ac_file" |
38860 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38861 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38862 - /^X\(\/\/\)$/{ s//\1/; q; }
38863 - /^X\(\/\).*/{ s//\1/; q; }
38865 - { if $as_mkdir_p; then
38866 - mkdir -p "$ac_dir"
38870 - while test ! -d "$as_dir"; do
38871 - as_dirs="$as_dir $as_dirs"
38872 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
38873 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38874 - X"$as_dir" : 'X\(//\)[^/]' \| \
38875 - X"$as_dir" : 'X\(//\)$' \| \
38876 - X"$as_dir" : 'X\(/\)' \| \
38877 - . : '\(.\)' 2>/dev/null ||
38879 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38880 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38881 - /^X\(\/\/\)$/{ s//\1/; q; }
38882 - /^X\(\/\).*/{ s//\1/; q; }
38885 - test ! -n "$as_dirs" || mkdir $as_dirs
38886 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38887 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38888 - { (exit 1); exit 1; }; }; }
38891 - mv $tmp/config.h $ac_file
38892 + mv "$tmp/config.h" $ac_file
38895 - cat $tmp/config.h
38896 - rm -f $tmp/config.h
38897 + echo "/* $configure_input */"
38900 + rm -f "$tmp/out12"
38901 # Compute $ac_file's index in $config_headers.
38903 for _am_header in $config_headers :; do
38904 @@ -12042,135 +12451,39 @@ for _am_header in $config_headers :; do
38905 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
38908 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
38909 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
38910 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38911 X$ac_file : 'X\(//\)[^/]' \| \
38912 X$ac_file : 'X\(//\)$' \| \
38913 - X$ac_file : 'X\(/\)' \| \
38914 - . : '\(.\)' 2>/dev/null ||
38915 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
38917 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38918 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38919 - /^X\(\/\/\)$/{ s//\1/; q; }
38920 - /^X\(\/\).*/{ s//\1/; q; }
38921 - s/.*/./; q'`/stamp-h$_am_stamp_count
38924 -cat >>$CONFIG_STATUS <<\_ACEOF
38927 -# CONFIG_COMMANDS section.
38929 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
38930 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
38931 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
38932 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
38933 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38934 - X"$ac_dest" : 'X\(//\)[^/]' \| \
38935 - X"$ac_dest" : 'X\(//\)$' \| \
38936 - X"$ac_dest" : 'X\(/\)' \| \
38937 - . : '\(.\)' 2>/dev/null ||
38938 -echo X"$ac_dest" |
38939 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38940 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38941 - /^X\(\/\/\)$/{ s//\1/; q; }
38942 - /^X\(\/\).*/{ s//\1/; q; }
38944 - { if $as_mkdir_p; then
38945 - mkdir -p "$ac_dir"
38949 - while test ! -d "$as_dir"; do
38950 - as_dirs="$as_dir $as_dirs"
38951 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
38952 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38953 - X"$as_dir" : 'X\(//\)[^/]' \| \
38954 - X"$as_dir" : 'X\(//\)$' \| \
38955 - X"$as_dir" : 'X\(/\)' \| \
38956 - . : '\(.\)' 2>/dev/null ||
38958 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38959 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38960 - /^X\(\/\/\)$/{ s//\1/; q; }
38961 - /^X\(\/\).*/{ s//\1/; q; }
38964 - test ! -n "$as_dirs" || mkdir $as_dirs
38965 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38966 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38967 - { (exit 1); exit 1; }; }; }
38971 -if test "$ac_dir" != .; then
38972 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38973 - # A "../" for each directory in $ac_dir_suffix.
38974 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38976 - ac_dir_suffix= ac_top_builddir=
38980 - .) # No --srcdir option. We are building in place.
38982 - if test -z "$ac_top_builddir"; then
38985 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38987 - [\\/]* | ?:[\\/]* ) # Absolute path.
38988 - ac_srcdir=$srcdir$ac_dir_suffix;
38989 - ac_top_srcdir=$srcdir ;;
38990 - *) # Relative path.
38991 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38992 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
38994 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38998 + /^X\(\/\/\)[^/].*/{
39010 + s/.*/./; q'`/stamp-h$_am_stamp_count
39013 -# Do not use `cd foo && pwd` to compute absolute paths, because
39014 -# the directories may not exist.
39016 -.) ac_abs_builddir="$ac_dir";;
39018 - case "$ac_dir" in
39019 - .) ac_abs_builddir=`pwd`;;
39020 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
39021 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
39024 -case $ac_abs_builddir in
39025 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
39027 - case ${ac_top_builddir}. in
39028 - .) ac_abs_top_builddir=$ac_abs_builddir;;
39029 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
39030 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
39033 -case $ac_abs_builddir in
39034 -.) ac_abs_srcdir=$ac_srcdir;;
39036 - case $ac_srcdir in
39037 - .) ac_abs_srcdir=$ac_abs_builddir;;
39038 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
39039 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
39042 -case $ac_abs_builddir in
39043 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
39045 - case $ac_top_srcdir in
39046 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
39047 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
39048 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
39051 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
39052 +echo "$as_me: executing $ac_file commands" >&6;}
39057 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
39058 -echo "$as_me: executing $ac_dest commands" >&6;}
39060 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
39061 + case $ac_file$ac_mode in
39062 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
39063 # Strip MF so we end up with the name of the file.
39064 mf=`echo "$mf" | sed -e 's/:.*$//'`
39065 # Check whether this is an Automake generated Makefile or not.
39066 @@ -12180,18 +12493,29 @@ echo "$as_me: executing $ac_dest command
39067 # each Makefile.in and add a new line on top of each file to say so.
39068 # So let's grep whole file.
39069 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
39070 - dirpart=`(dirname "$mf") 2>/dev/null ||
39071 + dirpart=`$as_dirname -- "$mf" ||
39072 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39073 X"$mf" : 'X\(//\)[^/]' \| \
39074 X"$mf" : 'X\(//\)$' \| \
39075 - X"$mf" : 'X\(/\)' \| \
39076 - . : '\(.\)' 2>/dev/null ||
39077 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
39079 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39080 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39081 - /^X\(\/\/\)$/{ s//\1/; q; }
39082 - /^X\(\/\).*/{ s//\1/; q; }
39084 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39088 + /^X\(\/\/\)[^/].*/{
39104 @@ -12213,58 +12537,84 @@ echo X"$mf" |
39105 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
39106 # Make sure the directory exists.
39107 test -f "$dirpart/$file" && continue
39108 - fdir=`(dirname "$file") 2>/dev/null ||
39109 + fdir=`$as_dirname -- "$file" ||
39110 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39111 X"$file" : 'X\(//\)[^/]' \| \
39112 X"$file" : 'X\(//\)$' \| \
39113 - X"$file" : 'X\(/\)' \| \
39114 - . : '\(.\)' 2>/dev/null ||
39115 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
39117 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39118 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39119 - /^X\(\/\/\)$/{ s//\1/; q; }
39120 - /^X\(\/\).*/{ s//\1/; q; }
39122 - { if $as_mkdir_p; then
39123 - mkdir -p $dirpart/$fdir
39125 - as_dir=$dirpart/$fdir
39126 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39130 + /^X\(\/\/\)[^/].*/{
39143 + { as_dir=$dirpart/$fdir
39144 + case $as_dir in #(
39145 + -*) as_dir=./$as_dir;;
39147 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
39149 - while test ! -d "$as_dir"; do
39150 - as_dirs="$as_dir $as_dirs"
39151 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
39153 + case $as_dir in #(
39154 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
39155 + *) as_qdir=$as_dir;;
39157 + as_dirs="'$as_qdir' $as_dirs"
39158 + as_dir=`$as_dirname -- "$as_dir" ||
39159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39160 X"$as_dir" : 'X\(//\)[^/]' \| \
39161 X"$as_dir" : 'X\(//\)$' \| \
39162 - X"$as_dir" : 'X\(/\)' \| \
39163 - . : '\(.\)' 2>/dev/null ||
39164 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
39166 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39167 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39168 - /^X\(\/\/\)$/{ s//\1/; q; }
39169 - /^X\(\/\).*/{ s//\1/; q; }
39171 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39175 + /^X\(\/\/\)[^/].*/{
39188 + test -d "$as_dir" && break
39190 - test ! -n "$as_dirs" || mkdir $as_dirs
39191 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
39192 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
39193 + test -z "$as_dirs" || eval "mkdir $as_dirs"
39194 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
39195 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
39196 { (exit 1); exit 1; }; }; }
39198 # echo "creating $dirpart/$file"
39199 echo '# dummy' > "$dirpart/$file"
39205 case "x$CONFIG_FILES" in
39206 *) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
39215 -cat >>$CONFIG_STATUS <<\_ACEOF
39217 { (exit 0); exit 0; }
39219 --- a/binutils/doc/binutils.info
39220 +++ b/binutils/doc/binutils.info
39222 -This is ../.././binutils/doc/binutils.info, produced by makeinfo
39223 -version 4.8 from ../.././binutils/doc/binutils.texi.
39225 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/binutils/doc/binutils.info,
39226 +produced by makeinfo version 4.8 from
39227 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/binutils/doc/binutils.texi.
39229 START-INFO-DIR-ENTRY
39230 * Binutils: (binutils). The GNU binary utilities.
39231 @@ -3803,33 +3805,33 @@ Index
39237 -Node: ar cmdline
\7f5482
39238 -Node: ar scripts
\7f13625
39240 -Node: objcopy
\7f27509
39241 -Node: objdump
\7f50561
39242 -Node: ranlib
\7f65474
39243 -Node: size
\7f66229
39244 -Node: strings
\7f69076
39245 -Node: strip
\7f71426
39246 -Node: c++filt
\7f76905
39247 -Ref: c++filt-Footnote-1
\7f81833
39248 -Node: addr2line
\7f81939
39249 -Node: nlmconv
\7f85210
39250 -Node: windres
\7f87816
39251 -Node: dlltool
\7f93549
39252 -Node: def file format
\7f104387
39253 -Node: readelf
\7f106125
39254 -Node: Common Options
\7f110833
39255 -Node: Selecting The Target System
\7f111873
39256 -Node: Target Selection
\7f112805
39257 -Node: Architecture Selection
\7f114787
39258 -Node: Reporting Bugs
\7f115615
39259 -Node: Bug Criteria
\7f116394
39260 -Node: Bug Reporting
\7f116947
39261 -Node: GNU Free Documentation License
\7f124041
39262 -Node: Index
\7f143773
39265 +Node: ar cmdline
\7f5616
39266 +Node: ar scripts
\7f13759
39268 +Node: objcopy
\7f27643
39269 +Node: objdump
\7f50695
39270 +Node: ranlib
\7f65608
39271 +Node: size
\7f66363
39272 +Node: strings
\7f69210
39273 +Node: strip
\7f71560
39274 +Node: c++filt
\7f77039
39275 +Ref: c++filt-Footnote-1
\7f81967
39276 +Node: addr2line
\7f82073
39277 +Node: nlmconv
\7f85344
39278 +Node: windres
\7f87950
39279 +Node: dlltool
\7f93683
39280 +Node: def file format
\7f104521
39281 +Node: readelf
\7f106259
39282 +Node: Common Options
\7f110967
39283 +Node: Selecting The Target System
\7f112007
39284 +Node: Target Selection
\7f112939
39285 +Node: Architecture Selection
\7f114921
39286 +Node: Reporting Bugs
\7f115749
39287 +Node: Bug Criteria
\7f116528
39288 +Node: Bug Reporting
\7f117081
39289 +Node: GNU Free Documentation License
\7f124175
39290 +Node: Index
\7f143907
39293 --- a/binutils/doc/Makefile.in
39294 +++ b/binutils/doc/Makefile.in
39295 @@ -109,6 +109,7 @@ EXEEXT = @EXEEXT@
39296 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
39297 GMOFILES = @GMOFILES@
39298 GMSGFMT = @GMSGFMT@
39302 HDEFINES = @HDEFINES@
39303 @@ -159,9 +160,8 @@ VERSION = @VERSION@
39304 WARN_CFLAGS = @WARN_CFLAGS@
39305 XGETTEXT = @XGETTEXT@
39308 ac_ct_CC = @ac_ct_CC@
39309 -ac_ct_RANLIB = @ac_ct_RANLIB@
39310 -ac_ct_STRIP = @ac_ct_STRIP@
39311 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39312 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39313 am__include = @am__include@
39314 @@ -178,6 +178,7 @@ build_vendor = @build_vendor@
39315 datadir = @datadir@
39316 datarootdir = @datarootdir@
39319 exec_prefix = @exec_prefix@
39321 host_alias = @host_alias@
39322 @@ -191,12 +192,15 @@ install_sh = @install_sh@
39325 libexecdir = @libexecdir@
39326 +localedir = @localedir@
39327 localstatedir = @localstatedir@
39329 mkdir_p = @mkdir_p@
39330 oldincludedir = @oldincludedir@
39333 program_transform_name = @program_transform_name@
39335 sbindir = @sbindir@
39336 sharedstatedir = @sharedstatedir@
39337 sysconfdir = @sysconfdir@
39338 @@ -368,10 +372,13 @@ dist-info: $(INFO_DEPS)
39339 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
39341 if test -f $$base; then d=.; else d=$(srcdir); fi; \
39342 - for file in $$d/$$base*; do \
39343 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
39344 - test -f $(distdir)/$$relfile || \
39345 - cp -p $$file $(distdir)/$$relfile; \
39346 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
39347 + for file in $$d/$$base $$d/$$base-[0-9] $$d/$$base-[0-9][0-9] $$d/$$base_i[0-9] $$d/$$base_i[0-9][0-9]; do \
39348 + if test -f $$file; then \
39349 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
39350 + test -f $(distdir)/$$relfile || \
39351 + cp -p $$file $(distdir)/$$relfile; \
39356 --- a/binutils/Makefile.am
39357 +++ b/binutils/Makefile.am
39358 @@ -511,7 +511,7 @@ readelf.o: readelf.c dwarf.h ../bfd/bfd.
39359 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
39360 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
39361 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
39362 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39363 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39364 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
39365 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
39366 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
39367 --- a/binutils/Makefile.in
39368 +++ b/binutils/Makefile.in
39369 @@ -266,6 +266,7 @@ EXEEXT = @EXEEXT@
39370 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
39371 GMOFILES = @GMOFILES@
39372 GMSGFMT = @GMSGFMT@
39376 HDEFINES = @HDEFINES@
39377 @@ -316,9 +317,8 @@ VERSION = @VERSION@
39378 WARN_CFLAGS = @WARN_CFLAGS@
39379 XGETTEXT = @XGETTEXT@
39380 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
39382 ac_ct_CC = @ac_ct_CC@
39383 -ac_ct_RANLIB = @ac_ct_RANLIB@
39384 -ac_ct_STRIP = @ac_ct_STRIP@
39385 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39386 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39387 am__include = @am__include@
39388 @@ -335,6 +335,7 @@ build_vendor = @build_vendor@
39389 datadir = @datadir@
39390 datarootdir = @datarootdir@
39393 exec_prefix = @exec_prefix@
39395 host_alias = @host_alias@
39396 @@ -348,12 +349,15 @@ install_sh = @install_sh@
39399 libexecdir = @libexecdir@
39400 +localedir = @localedir@
39401 localstatedir = @localstatedir@
39403 mkdir_p = @mkdir_p@
39404 oldincludedir = @oldincludedir@
39407 program_transform_name = @program_transform_name@
39409 sbindir = @sbindir@
39410 sharedstatedir = @sharedstatedir@
39411 sysconfdir = @sysconfdir@
39412 @@ -365,7 +369,6 @@ target_vendor = @target_vendor@
39413 AUTOMAKE_OPTIONS = cygnus dejagnu
39415 tooldir = $(exec_prefix)/$(target_alias)
39417 AM_CFLAGS = $(WARN_CFLAGS)
39419 # these two are almost the same program
39420 @@ -1264,7 +1267,7 @@ readelf.o: readelf.c dwarf.h ../bfd/bfd.
39421 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
39422 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
39423 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
39424 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39425 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39426 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
39427 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
39428 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
39429 --- a/binutils/readelf.c
39430 +++ b/binutils/readelf.c
39432 #include "elf/arc.h"
39433 #include "elf/arm.h"
39434 #include "elf/avr.h"
39435 +#include "elf/avr32.h"
39436 #include "elf/bfin.h"
39437 #include "elf/cris.h"
39438 #include "elf/d10v.h"
39439 @@ -590,6 +591,7 @@ guess_is_rela (unsigned long e_machine)
39447 @@ -959,6 +961,10 @@ dump_relocations (FILE *file,
39448 rtype = elf_avr_reloc_type (type);
39452 + rtype = elf_avr32_reloc_type (type);
39455 case EM_OLD_SPARCV9:
39456 case EM_SPARC32PLUS:
39458 @@ -1670,6 +1676,7 @@ get_machine_name (unsigned e_machine)
39459 case EM_VAX: return "Digital VAX";
39461 case EM_AVR: return "Atmel AVR 8-bit microcontroller";
39462 + case EM_AVR32: return "Atmel AVR32";
39463 case EM_CRIS: return "Axis Communications 32-bit embedded processor";
39464 case EM_JAVELIN: return "Infineon Technologies 32-bit embedded cpu";
39465 case EM_FIREPATH: return "Element 14 64-bit DSP processor";
39468 @@ -899,7 +899,7 @@ host_libs="intl mmalloc libiberty opcode
39469 # know that we are building the simulator.
39470 # binutils, gas and ld appear in that order because it makes sense to run
39471 # "make check" in that particular order.
39472 -host_tools="texinfo byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
39473 +host_tools="byacc flex bison binutils gas ld fixincludes gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
39475 # libgcj represents the runtime libraries only used by gcj.
39476 libgcj="target-libffi \
39477 @@ -1064,6 +1064,9 @@ unsupported_languages=
39482 + noconfigdirs="$noconfigdirs readline gdb"
39485 noconfigdirs="$noconfigdirs byacc"
39487 @@ -1863,7 +1866,7 @@ else
39488 # Extract the first word of "gcc", so it can be a program name with args.
39489 set dummy gcc; ac_word=$2
39490 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39491 -echo "configure:1867: checking for $ac_word" >&5
39492 +echo "configure:1870: checking for $ac_word" >&5
39493 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39494 echo $ac_n "(cached) $ac_c" 1>&6
39496 @@ -1893,7 +1896,7 @@ if test -z "$CC"; then
39497 # Extract the first word of "cc", so it can be a program name with args.
39498 set dummy cc; ac_word=$2
39499 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39500 -echo "configure:1897: checking for $ac_word" >&5
39501 +echo "configure:1900: checking for $ac_word" >&5
39502 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39503 echo $ac_n "(cached) $ac_c" 1>&6
39505 @@ -1944,7 +1947,7 @@ fi
39506 # Extract the first word of "cl", so it can be a program name with args.
39507 set dummy cl; ac_word=$2
39508 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39509 -echo "configure:1948: checking for $ac_word" >&5
39510 +echo "configure:1951: checking for $ac_word" >&5
39511 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39512 echo $ac_n "(cached) $ac_c" 1>&6
39514 @@ -1976,7 +1979,7 @@ fi
39517 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
39518 -echo "configure:1980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
39519 +echo "configure:1983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
39522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
39523 @@ -1987,12 +1990,12 @@ cross_compiling=$ac_cv_prog_cc_cross
39525 cat > conftest.$ac_ext << EOF
39527 -#line 1991 "configure"
39528 +#line 1994 "configure"
39529 #include "confdefs.h"
39533 -if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39534 +if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39535 ac_cv_prog_cc_works=yes
39536 # If we can't run a trivial program, we are probably using a cross compiler.
39537 if (./conftest; exit) 2>/dev/null; then
39538 @@ -2018,12 +2021,12 @@ if test $ac_cv_prog_cc_works = no; then
39539 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
39541 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
39542 -echo "configure:2022: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
39543 +echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
39544 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
39545 cross_compiling=$ac_cv_prog_cc_cross
39547 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
39548 -echo "configure:2027: checking whether we are using GNU C" >&5
39549 +echo "configure:2030: checking whether we are using GNU C" >&5
39550 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
39551 echo $ac_n "(cached) $ac_c" 1>&6
39553 @@ -2032,7 +2035,7 @@ else
39557 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
39558 +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
39562 @@ -2051,7 +2054,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
39563 ac_save_CFLAGS="$CFLAGS"
39565 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
39566 -echo "configure:2055: checking whether ${CC-cc} accepts -g" >&5
39567 +echo "configure:2058: checking whether ${CC-cc} accepts -g" >&5
39568 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
39569 echo $ac_n "(cached) $ac_c" 1>&6
39571 @@ -2118,7 +2121,7 @@ fi
39572 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
39573 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
39574 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39575 -echo "configure:2122: checking for $ac_word" >&5
39576 +echo "configure:2125: checking for $ac_word" >&5
39577 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
39578 echo $ac_n "(cached) $ac_c" 1>&6
39580 @@ -2150,7 +2153,7 @@ if test -n "$ac_tool_prefix"; then
39581 # Extract the first word of "gnatbind", so it can be a program name with args.
39582 set dummy gnatbind; ac_word=$2
39583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39584 -echo "configure:2154: checking for $ac_word" >&5
39585 +echo "configure:2157: checking for $ac_word" >&5
39586 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
39587 echo $ac_n "(cached) $ac_c" 1>&6
39589 @@ -2183,7 +2186,7 @@ fi
39592 echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
39593 -echo "configure:2187: checking whether compiler driver understands Ada" >&5
39594 +echo "configure:2190: checking whether compiler driver understands Ada" >&5
39595 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
39596 echo $ac_n "(cached) $ac_c" 1>&6
39598 @@ -2215,7 +2218,7 @@ else
39601 echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
39602 -echo "configure:2219: checking how to compare bootstrapped objects" >&5
39603 +echo "configure:2222: checking how to compare bootstrapped objects" >&5
39604 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
39605 echo $ac_n "(cached) $ac_c" 1>&6
39607 @@ -2313,9 +2316,9 @@ saved_CFLAGS="$CFLAGS"
39608 CFLAGS="$CFLAGS $gmpinc"
39609 # Check GMP actually works
39610 echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
39611 -echo "configure:2317: checking for correct version of gmp.h" >&5
39612 +echo "configure:2320: checking for correct version of gmp.h" >&5
39613 cat > conftest.$ac_ext <<EOF
39614 -#line 2319 "configure"
39615 +#line 2322 "configure"
39616 #include "confdefs.h"
39619 @@ -2326,7 +2329,7 @@ choke me
39623 -if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
39624 +if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
39626 echo "$ac_t""yes" 1>&6
39628 @@ -2339,12 +2342,12 @@ rm -f conftest*
39630 if test x"$have_gmp" = xyes; then
39631 echo $ac_n "checking for MPFR""... $ac_c" 1>&6
39632 -echo "configure:2343: checking for MPFR" >&5
39633 +echo "configure:2346: checking for MPFR" >&5
39636 LIBS="$LIBS $gmplibs"
39637 cat > conftest.$ac_ext <<EOF
39638 -#line 2348 "configure"
39639 +#line 2351 "configure"
39640 #include "confdefs.h"
39643 @@ -2352,7 +2355,7 @@ int main() {
39644 mpfr_t n; mpfr_init(n);
39647 -if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39648 +if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39650 echo "$ac_t""yes" 1>&6
39652 @@ -3403,7 +3406,7 @@ do
39653 # Extract the first word of "$ac_prog", so it can be a program name with args.
39654 set dummy $ac_prog; ac_word=$2
39655 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39656 -echo "configure:3407: checking for $ac_word" >&5
39657 +echo "configure:3410: checking for $ac_word" >&5
39658 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
39659 echo $ac_n "(cached) $ac_c" 1>&6
39661 @@ -3443,7 +3446,7 @@ do
39662 # Extract the first word of "$ac_prog", so it can be a program name with args.
39663 set dummy $ac_prog; ac_word=$2
39664 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39665 -echo "configure:3447: checking for $ac_word" >&5
39666 +echo "configure:3450: checking for $ac_word" >&5
39667 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
39668 echo $ac_n "(cached) $ac_c" 1>&6
39670 @@ -3482,7 +3485,7 @@ do
39671 # Extract the first word of "$ac_prog", so it can be a program name with args.
39672 set dummy $ac_prog; ac_word=$2
39673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39674 -echo "configure:3486: checking for $ac_word" >&5
39675 +echo "configure:3489: checking for $ac_word" >&5
39676 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
39677 echo $ac_n "(cached) $ac_c" 1>&6
39679 @@ -3521,7 +3524,7 @@ do
39680 # Extract the first word of "$ac_prog", so it can be a program name with args.
39681 set dummy $ac_prog; ac_word=$2
39682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39683 -echo "configure:3525: checking for $ac_word" >&5
39684 +echo "configure:3528: checking for $ac_word" >&5
39685 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
39686 echo $ac_n "(cached) $ac_c" 1>&6
39688 @@ -3561,7 +3564,7 @@ do
39689 # Extract the first word of "$ac_prog", so it can be a program name with args.
39690 set dummy $ac_prog; ac_word=$2
39691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39692 -echo "configure:3565: checking for $ac_word" >&5
39693 +echo "configure:3568: checking for $ac_word" >&5
39694 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
39695 echo $ac_n "(cached) $ac_c" 1>&6
39697 @@ -3600,7 +3603,7 @@ do
39698 # Extract the first word of "$ac_prog", so it can be a program name with args.
39699 set dummy $ac_prog; ac_word=$2
39700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39701 -echo "configure:3604: checking for $ac_word" >&5
39702 +echo "configure:3607: checking for $ac_word" >&5
39703 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
39704 echo $ac_n "(cached) $ac_c" 1>&6
39706 @@ -3653,7 +3656,7 @@ do
39707 # Extract the first word of "$ac_prog", so it can be a program name with args.
39708 set dummy $ac_prog; ac_word=$2
39709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39710 -echo "configure:3657: checking for $ac_word" >&5
39711 +echo "configure:3660: checking for $ac_word" >&5
39712 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then
39713 echo $ac_n "(cached) $ac_c" 1>&6
39715 @@ -3694,7 +3697,7 @@ do
39716 # Extract the first word of "$ac_prog", so it can be a program name with args.
39717 set dummy $ac_prog; ac_word=$2
39718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39719 -echo "configure:3698: checking for $ac_word" >&5
39720 +echo "configure:3701: checking for $ac_word" >&5
39721 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then
39722 echo $ac_n "(cached) $ac_c" 1>&6
39724 @@ -3742,7 +3745,7 @@ test -n "$target_alias" && ncn_target_to
39725 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39726 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39727 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39728 -echo "configure:3746: checking for $ac_word" >&5
39729 +echo "configure:3749: checking for $ac_word" >&5
39730 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
39731 echo $ac_n "(cached) $ac_c" 1>&6
39733 @@ -3773,7 +3776,7 @@ fi
39734 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39735 set dummy ${ncn_progname}; ac_word=$2
39736 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39737 -echo "configure:3777: checking for $ac_word" >&5
39738 +echo "configure:3780: checking for $ac_word" >&5
39739 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
39740 echo $ac_n "(cached) $ac_c" 1>&6
39742 @@ -3817,7 +3820,7 @@ fi
39743 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39744 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39746 -echo "configure:3821: checking for $ac_word" >&5
39747 +echo "configure:3824: checking for $ac_word" >&5
39748 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
39749 echo $ac_n "(cached) $ac_c" 1>&6
39751 @@ -3848,7 +3851,7 @@ fi
39752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39753 set dummy ${ncn_progname}; ac_word=$2
39754 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39755 -echo "configure:3852: checking for $ac_word" >&5
39756 +echo "configure:3855: checking for $ac_word" >&5
39757 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
39758 echo $ac_n "(cached) $ac_c" 1>&6
39760 @@ -3892,7 +3895,7 @@ fi
39761 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39762 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39764 -echo "configure:3896: checking for $ac_word" >&5
39765 +echo "configure:3899: checking for $ac_word" >&5
39766 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
39767 echo $ac_n "(cached) $ac_c" 1>&6
39769 @@ -3923,7 +3926,7 @@ fi
39770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39771 set dummy ${ncn_progname}; ac_word=$2
39772 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39773 -echo "configure:3927: checking for $ac_word" >&5
39774 +echo "configure:3930: checking for $ac_word" >&5
39775 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
39776 echo $ac_n "(cached) $ac_c" 1>&6
39778 @@ -3967,7 +3970,7 @@ fi
39779 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39780 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39782 -echo "configure:3971: checking for $ac_word" >&5
39783 +echo "configure:3974: checking for $ac_word" >&5
39784 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
39785 echo $ac_n "(cached) $ac_c" 1>&6
39787 @@ -3998,7 +4001,7 @@ fi
39788 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39789 set dummy ${ncn_progname}; ac_word=$2
39790 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39791 -echo "configure:4002: checking for $ac_word" >&5
39792 +echo "configure:4005: checking for $ac_word" >&5
39793 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
39794 echo $ac_n "(cached) $ac_c" 1>&6
39796 @@ -4042,7 +4045,7 @@ fi
39797 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39798 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39799 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39800 -echo "configure:4046: checking for $ac_word" >&5
39801 +echo "configure:4049: checking for $ac_word" >&5
39802 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
39803 echo $ac_n "(cached) $ac_c" 1>&6
39805 @@ -4073,7 +4076,7 @@ fi
39806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39807 set dummy ${ncn_progname}; ac_word=$2
39808 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39809 -echo "configure:4077: checking for $ac_word" >&5
39810 +echo "configure:4080: checking for $ac_word" >&5
39811 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
39812 echo $ac_n "(cached) $ac_c" 1>&6
39814 @@ -4117,7 +4120,7 @@ fi
39815 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39816 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39817 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39818 -echo "configure:4121: checking for $ac_word" >&5
39819 +echo "configure:4124: checking for $ac_word" >&5
39820 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
39821 echo $ac_n "(cached) $ac_c" 1>&6
39823 @@ -4148,7 +4151,7 @@ fi
39824 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39825 set dummy ${ncn_progname}; ac_word=$2
39826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39827 -echo "configure:4152: checking for $ac_word" >&5
39828 +echo "configure:4155: checking for $ac_word" >&5
39829 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
39830 echo $ac_n "(cached) $ac_c" 1>&6
39832 @@ -4192,7 +4195,7 @@ fi
39833 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39834 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39835 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39836 -echo "configure:4196: checking for $ac_word" >&5
39837 +echo "configure:4199: checking for $ac_word" >&5
39838 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
39839 echo $ac_n "(cached) $ac_c" 1>&6
39841 @@ -4223,7 +4226,7 @@ fi
39842 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39843 set dummy ${ncn_progname}; ac_word=$2
39844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39845 -echo "configure:4227: checking for $ac_word" >&5
39846 +echo "configure:4230: checking for $ac_word" >&5
39847 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
39848 echo $ac_n "(cached) $ac_c" 1>&6
39850 @@ -4262,7 +4265,7 @@ fi
39851 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39852 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39853 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39854 -echo "configure:4266: checking for $ac_word" >&5
39855 +echo "configure:4269: checking for $ac_word" >&5
39856 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
39857 echo $ac_n "(cached) $ac_c" 1>&6
39859 @@ -4293,7 +4296,7 @@ fi
39860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39861 set dummy ${ncn_progname}; ac_word=$2
39862 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39863 -echo "configure:4297: checking for $ac_word" >&5
39864 +echo "configure:4300: checking for $ac_word" >&5
39865 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
39866 echo $ac_n "(cached) $ac_c" 1>&6
39868 @@ -4332,7 +4335,7 @@ fi
39869 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39870 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39871 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39872 -echo "configure:4336: checking for $ac_word" >&5
39873 +echo "configure:4339: checking for $ac_word" >&5
39874 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
39875 echo $ac_n "(cached) $ac_c" 1>&6
39877 @@ -4363,7 +4366,7 @@ fi
39878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39879 set dummy ${ncn_progname}; ac_word=$2
39880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39881 -echo "configure:4367: checking for $ac_word" >&5
39882 +echo "configure:4370: checking for $ac_word" >&5
39883 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
39884 echo $ac_n "(cached) $ac_c" 1>&6
39886 @@ -4407,7 +4410,7 @@ fi
39887 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39888 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39889 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39890 -echo "configure:4411: checking for $ac_word" >&5
39891 +echo "configure:4414: checking for $ac_word" >&5
39892 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
39893 echo $ac_n "(cached) $ac_c" 1>&6
39895 @@ -4438,7 +4441,7 @@ fi
39896 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39897 set dummy ${ncn_progname}; ac_word=$2
39898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39899 -echo "configure:4442: checking for $ac_word" >&5
39900 +echo "configure:4445: checking for $ac_word" >&5
39901 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
39902 echo $ac_n "(cached) $ac_c" 1>&6
39904 @@ -4482,7 +4485,7 @@ fi
39905 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39906 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39908 -echo "configure:4486: checking for $ac_word" >&5
39909 +echo "configure:4489: checking for $ac_word" >&5
39910 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
39911 echo $ac_n "(cached) $ac_c" 1>&6
39913 @@ -4513,7 +4516,7 @@ fi
39914 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39915 set dummy ${ncn_progname}; ac_word=$2
39916 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39917 -echo "configure:4517: checking for $ac_word" >&5
39918 +echo "configure:4520: checking for $ac_word" >&5
39919 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
39920 echo $ac_n "(cached) $ac_c" 1>&6
39922 @@ -4577,7 +4580,7 @@ fi
39923 if test -n "$with_build_time_tools"; then
39924 for ncn_progname in cc gcc; do
39925 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
39926 -echo "configure:4581: checking for ${ncn_progname} in $with_build_time_tools" >&5
39927 +echo "configure:4584: checking for ${ncn_progname} in $with_build_time_tools" >&5
39928 if test -x $with_build_time_tools/${ncn_progname}; then
39929 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
39930 echo "$ac_t""yes" 1>&6
39931 @@ -4594,7 +4597,7 @@ if test -z "$ac_cv_prog_CC_FOR_TARGET";
39932 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
39933 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
39934 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39935 -echo "configure:4598: checking for $ac_word" >&5
39936 +echo "configure:4601: checking for $ac_word" >&5
39937 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
39938 echo $ac_n "(cached) $ac_c" 1>&6
39940 @@ -4625,7 +4628,7 @@ fi
39941 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39942 set dummy ${ncn_progname}; ac_word=$2
39943 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39944 -echo "configure:4629: checking for $ac_word" >&5
39945 +echo "configure:4632: checking for $ac_word" >&5
39946 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
39947 echo $ac_n "(cached) $ac_c" 1>&6
39949 @@ -4668,7 +4671,7 @@ fi
39950 if test -n "$with_build_time_tools"; then
39951 for ncn_progname in c++ g++ cxx gxx; do
39952 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
39953 -echo "configure:4672: checking for ${ncn_progname} in $with_build_time_tools" >&5
39954 +echo "configure:4675: checking for ${ncn_progname} in $with_build_time_tools" >&5
39955 if test -x $with_build_time_tools/${ncn_progname}; then
39956 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
39957 echo "$ac_t""yes" 1>&6
39958 @@ -4685,7 +4688,7 @@ if test -z "$ac_cv_prog_CXX_FOR_TARGET";
39959 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
39960 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
39961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39962 -echo "configure:4689: checking for $ac_word" >&5
39963 +echo "configure:4692: checking for $ac_word" >&5
39964 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
39965 echo $ac_n "(cached) $ac_c" 1>&6
39967 @@ -4716,7 +4719,7 @@ fi
39968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39969 set dummy ${ncn_progname}; ac_word=$2
39970 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39971 -echo "configure:4720: checking for $ac_word" >&5
39972 +echo "configure:4723: checking for $ac_word" >&5
39973 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
39974 echo $ac_n "(cached) $ac_c" 1>&6
39976 @@ -4759,7 +4762,7 @@ fi
39977 if test -n "$with_build_time_tools"; then
39978 for ncn_progname in gcc; do
39979 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
39980 -echo "configure:4763: checking for ${ncn_progname} in $with_build_time_tools" >&5
39981 +echo "configure:4766: checking for ${ncn_progname} in $with_build_time_tools" >&5
39982 if test -x $with_build_time_tools/${ncn_progname}; then
39983 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
39984 echo "$ac_t""yes" 1>&6
39985 @@ -4776,7 +4779,7 @@ if test -z "$ac_cv_prog_GCC_FOR_TARGET";
39986 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
39987 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
39988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39989 -echo "configure:4780: checking for $ac_word" >&5
39990 +echo "configure:4783: checking for $ac_word" >&5
39991 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
39992 echo $ac_n "(cached) $ac_c" 1>&6
39994 @@ -4807,7 +4810,7 @@ fi
39995 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39996 set dummy ${ncn_progname}; ac_word=$2
39997 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39998 -echo "configure:4811: checking for $ac_word" >&5
39999 +echo "configure:4814: checking for $ac_word" >&5
40000 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
40001 echo $ac_n "(cached) $ac_c" 1>&6
40003 @@ -4845,7 +4848,7 @@ fi
40004 if test -n "$with_build_time_tools"; then
40005 for ncn_progname in gcj; do
40006 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40007 -echo "configure:4849: checking for ${ncn_progname} in $with_build_time_tools" >&5
40008 +echo "configure:4852: checking for ${ncn_progname} in $with_build_time_tools" >&5
40009 if test -x $with_build_time_tools/${ncn_progname}; then
40010 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40011 echo "$ac_t""yes" 1>&6
40012 @@ -4862,7 +4865,7 @@ if test -z "$ac_cv_prog_GCJ_FOR_TARGET";
40013 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40014 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40015 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40016 -echo "configure:4866: checking for $ac_word" >&5
40017 +echo "configure:4869: checking for $ac_word" >&5
40018 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
40019 echo $ac_n "(cached) $ac_c" 1>&6
40021 @@ -4893,7 +4896,7 @@ fi
40022 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40023 set dummy ${ncn_progname}; ac_word=$2
40024 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40025 -echo "configure:4897: checking for $ac_word" >&5
40026 +echo "configure:4900: checking for $ac_word" >&5
40027 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
40028 echo $ac_n "(cached) $ac_c" 1>&6
40030 @@ -4936,7 +4939,7 @@ fi
40031 if test -n "$with_build_time_tools"; then
40032 for ncn_progname in gfortran; do
40033 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40034 -echo "configure:4940: checking for ${ncn_progname} in $with_build_time_tools" >&5
40035 +echo "configure:4943: checking for ${ncn_progname} in $with_build_time_tools" >&5
40036 if test -x $with_build_time_tools/${ncn_progname}; then
40037 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40038 echo "$ac_t""yes" 1>&6
40039 @@ -4953,7 +4956,7 @@ if test -z "$ac_cv_prog_GFORTRAN_FOR_TAR
40040 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40041 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40042 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40043 -echo "configure:4957: checking for $ac_word" >&5
40044 +echo "configure:4960: checking for $ac_word" >&5
40045 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
40046 echo $ac_n "(cached) $ac_c" 1>&6
40048 @@ -4984,7 +4987,7 @@ fi
40049 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40050 set dummy ${ncn_progname}; ac_word=$2
40051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40052 -echo "configure:4988: checking for $ac_word" >&5
40053 +echo "configure:4991: checking for $ac_word" >&5
40054 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
40055 echo $ac_n "(cached) $ac_c" 1>&6
40057 @@ -5091,7 +5094,7 @@ rm conftest.c
40058 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
40059 if test -n "$with_build_time_tools"; then
40060 echo $ac_n "checking for ar in $with_build_time_tools""... $ac_c" 1>&6
40061 -echo "configure:5095: checking for ar in $with_build_time_tools" >&5
40062 +echo "configure:5098: checking for ar in $with_build_time_tools" >&5
40063 if test -x $with_build_time_tools/ar; then
40064 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
40065 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
40066 @@ -5109,7 +5112,7 @@ if test -z "$ac_cv_path_AR_FOR_TARGET" ;
40067 # Extract the first word of "ar", so it can be a program name with args.
40068 set dummy ar; ac_word=$2
40069 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40070 -echo "configure:5113: checking for $ac_word" >&5
40071 +echo "configure:5116: checking for $ac_word" >&5
40072 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
40073 echo $ac_n "(cached) $ac_c" 1>&6
40075 @@ -5146,7 +5149,7 @@ if test -z "$ac_cv_path_AR_FOR_TARGET" ;
40076 if test -n "$with_build_time_tools"; then
40077 for ncn_progname in ar; do
40078 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40079 -echo "configure:5150: checking for ${ncn_progname} in $with_build_time_tools" >&5
40080 +echo "configure:5153: checking for ${ncn_progname} in $with_build_time_tools" >&5
40081 if test -x $with_build_time_tools/${ncn_progname}; then
40082 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40083 echo "$ac_t""yes" 1>&6
40084 @@ -5163,7 +5166,7 @@ if test -z "$ac_cv_prog_AR_FOR_TARGET";
40085 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40086 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40087 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40088 -echo "configure:5167: checking for $ac_word" >&5
40089 +echo "configure:5170: checking for $ac_word" >&5
40090 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
40091 echo $ac_n "(cached) $ac_c" 1>&6
40093 @@ -5194,7 +5197,7 @@ fi
40094 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40095 set dummy ${ncn_progname}; ac_word=$2
40096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40097 -echo "configure:5198: checking for $ac_word" >&5
40098 +echo "configure:5201: checking for $ac_word" >&5
40099 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
40100 echo $ac_n "(cached) $ac_c" 1>&6
40102 @@ -5244,7 +5247,7 @@ fi
40103 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
40104 if test -n "$with_build_time_tools"; then
40105 echo $ac_n "checking for as in $with_build_time_tools""... $ac_c" 1>&6
40106 -echo "configure:5248: checking for as in $with_build_time_tools" >&5
40107 +echo "configure:5251: checking for as in $with_build_time_tools" >&5
40108 if test -x $with_build_time_tools/as; then
40109 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
40110 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
40111 @@ -5262,7 +5265,7 @@ if test -z "$ac_cv_path_AS_FOR_TARGET" ;
40112 # Extract the first word of "as", so it can be a program name with args.
40113 set dummy as; ac_word=$2
40114 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40115 -echo "configure:5266: checking for $ac_word" >&5
40116 +echo "configure:5269: checking for $ac_word" >&5
40117 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
40118 echo $ac_n "(cached) $ac_c" 1>&6
40120 @@ -5299,7 +5302,7 @@ if test -z "$ac_cv_path_AS_FOR_TARGET" ;
40121 if test -n "$with_build_time_tools"; then
40122 for ncn_progname in as; do
40123 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40124 -echo "configure:5303: checking for ${ncn_progname} in $with_build_time_tools" >&5
40125 +echo "configure:5306: checking for ${ncn_progname} in $with_build_time_tools" >&5
40126 if test -x $with_build_time_tools/${ncn_progname}; then
40127 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40128 echo "$ac_t""yes" 1>&6
40129 @@ -5316,7 +5319,7 @@ if test -z "$ac_cv_prog_AS_FOR_TARGET";
40130 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40131 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40132 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40133 -echo "configure:5320: checking for $ac_word" >&5
40134 +echo "configure:5323: checking for $ac_word" >&5
40135 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
40136 echo $ac_n "(cached) $ac_c" 1>&6
40138 @@ -5347,7 +5350,7 @@ fi
40139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40140 set dummy ${ncn_progname}; ac_word=$2
40141 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40142 -echo "configure:5351: checking for $ac_word" >&5
40143 +echo "configure:5354: checking for $ac_word" >&5
40144 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
40145 echo $ac_n "(cached) $ac_c" 1>&6
40147 @@ -5397,7 +5400,7 @@ fi
40148 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
40149 if test -n "$with_build_time_tools"; then
40150 echo $ac_n "checking for dlltool in $with_build_time_tools""... $ac_c" 1>&6
40151 -echo "configure:5401: checking for dlltool in $with_build_time_tools" >&5
40152 +echo "configure:5404: checking for dlltool in $with_build_time_tools" >&5
40153 if test -x $with_build_time_tools/dlltool; then
40154 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
40155 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
40156 @@ -5415,7 +5418,7 @@ if test -z "$ac_cv_path_DLLTOOL_FOR_TARG
40157 # Extract the first word of "dlltool", so it can be a program name with args.
40158 set dummy dlltool; ac_word=$2
40159 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40160 -echo "configure:5419: checking for $ac_word" >&5
40161 +echo "configure:5422: checking for $ac_word" >&5
40162 if eval "test \"`echo '$''{'ac_cv_path_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
40163 echo $ac_n "(cached) $ac_c" 1>&6
40165 @@ -5452,7 +5455,7 @@ if test -z "$ac_cv_path_DLLTOOL_FOR_TARG
40166 if test -n "$with_build_time_tools"; then
40167 for ncn_progname in dlltool; do
40168 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40169 -echo "configure:5456: checking for ${ncn_progname} in $with_build_time_tools" >&5
40170 +echo "configure:5459: checking for ${ncn_progname} in $with_build_time_tools" >&5
40171 if test -x $with_build_time_tools/${ncn_progname}; then
40172 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40173 echo "$ac_t""yes" 1>&6
40174 @@ -5469,7 +5472,7 @@ if test -z "$ac_cv_prog_DLLTOOL_FOR_TARG
40175 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40176 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40177 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40178 -echo "configure:5473: checking for $ac_word" >&5
40179 +echo "configure:5476: checking for $ac_word" >&5
40180 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
40181 echo $ac_n "(cached) $ac_c" 1>&6
40183 @@ -5500,7 +5503,7 @@ fi
40184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40185 set dummy ${ncn_progname}; ac_word=$2
40186 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40187 -echo "configure:5504: checking for $ac_word" >&5
40188 +echo "configure:5507: checking for $ac_word" >&5
40189 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
40190 echo $ac_n "(cached) $ac_c" 1>&6
40192 @@ -5550,7 +5553,7 @@ fi
40193 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
40194 if test -n "$with_build_time_tools"; then
40195 echo $ac_n "checking for ld in $with_build_time_tools""... $ac_c" 1>&6
40196 -echo "configure:5554: checking for ld in $with_build_time_tools" >&5
40197 +echo "configure:5557: checking for ld in $with_build_time_tools" >&5
40198 if test -x $with_build_time_tools/ld; then
40199 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
40200 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
40201 @@ -5568,7 +5571,7 @@ if test -z "$ac_cv_path_LD_FOR_TARGET" ;
40202 # Extract the first word of "ld", so it can be a program name with args.
40203 set dummy ld; ac_word=$2
40204 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40205 -echo "configure:5572: checking for $ac_word" >&5
40206 +echo "configure:5575: checking for $ac_word" >&5
40207 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
40208 echo $ac_n "(cached) $ac_c" 1>&6
40210 @@ -5605,7 +5608,7 @@ if test -z "$ac_cv_path_LD_FOR_TARGET" ;
40211 if test -n "$with_build_time_tools"; then
40212 for ncn_progname in ld; do
40213 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40214 -echo "configure:5609: checking for ${ncn_progname} in $with_build_time_tools" >&5
40215 +echo "configure:5612: checking for ${ncn_progname} in $with_build_time_tools" >&5
40216 if test -x $with_build_time_tools/${ncn_progname}; then
40217 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40218 echo "$ac_t""yes" 1>&6
40219 @@ -5622,7 +5625,7 @@ if test -z "$ac_cv_prog_LD_FOR_TARGET";
40220 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40221 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40223 -echo "configure:5626: checking for $ac_word" >&5
40224 +echo "configure:5629: checking for $ac_word" >&5
40225 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
40226 echo $ac_n "(cached) $ac_c" 1>&6
40228 @@ -5653,7 +5656,7 @@ fi
40229 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40230 set dummy ${ncn_progname}; ac_word=$2
40231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40232 -echo "configure:5657: checking for $ac_word" >&5
40233 +echo "configure:5660: checking for $ac_word" >&5
40234 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
40235 echo $ac_n "(cached) $ac_c" 1>&6
40237 @@ -5703,7 +5706,7 @@ fi
40238 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
40239 if test -n "$with_build_time_tools"; then
40240 echo $ac_n "checking for lipo in $with_build_time_tools""... $ac_c" 1>&6
40241 -echo "configure:5707: checking for lipo in $with_build_time_tools" >&5
40242 +echo "configure:5710: checking for lipo in $with_build_time_tools" >&5
40243 if test -x $with_build_time_tools/lipo; then
40244 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
40245 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
40246 @@ -5721,7 +5724,7 @@ if test -z "$ac_cv_path_LIPO_FOR_TARGET"
40247 # Extract the first word of "lipo", so it can be a program name with args.
40248 set dummy lipo; ac_word=$2
40249 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40250 -echo "configure:5725: checking for $ac_word" >&5
40251 +echo "configure:5728: checking for $ac_word" >&5
40252 if eval "test \"`echo '$''{'ac_cv_path_LIPO_FOR_TARGET'+set}'`\" = set"; then
40253 echo $ac_n "(cached) $ac_c" 1>&6
40255 @@ -5758,7 +5761,7 @@ if test -z "$ac_cv_path_LIPO_FOR_TARGET"
40256 if test -n "$with_build_time_tools"; then
40257 for ncn_progname in lipo; do
40258 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40259 -echo "configure:5762: checking for ${ncn_progname} in $with_build_time_tools" >&5
40260 +echo "configure:5765: checking for ${ncn_progname} in $with_build_time_tools" >&5
40261 if test -x $with_build_time_tools/${ncn_progname}; then
40262 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40263 echo "$ac_t""yes" 1>&6
40264 @@ -5775,7 +5778,7 @@ if test -z "$ac_cv_prog_LIPO_FOR_TARGET"
40265 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40266 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40267 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40268 -echo "configure:5779: checking for $ac_word" >&5
40269 +echo "configure:5782: checking for $ac_word" >&5
40270 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
40271 echo $ac_n "(cached) $ac_c" 1>&6
40273 @@ -5806,7 +5809,7 @@ fi
40274 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40275 set dummy ${ncn_progname}; ac_word=$2
40276 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40277 -echo "configure:5810: checking for $ac_word" >&5
40278 +echo "configure:5813: checking for $ac_word" >&5
40279 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
40280 echo $ac_n "(cached) $ac_c" 1>&6
40282 @@ -5856,7 +5859,7 @@ fi
40283 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
40284 if test -n "$with_build_time_tools"; then
40285 echo $ac_n "checking for nm in $with_build_time_tools""... $ac_c" 1>&6
40286 -echo "configure:5860: checking for nm in $with_build_time_tools" >&5
40287 +echo "configure:5863: checking for nm in $with_build_time_tools" >&5
40288 if test -x $with_build_time_tools/nm; then
40289 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
40290 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
40291 @@ -5874,7 +5877,7 @@ if test -z "$ac_cv_path_NM_FOR_TARGET" ;
40292 # Extract the first word of "nm", so it can be a program name with args.
40293 set dummy nm; ac_word=$2
40294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40295 -echo "configure:5878: checking for $ac_word" >&5
40296 +echo "configure:5881: checking for $ac_word" >&5
40297 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
40298 echo $ac_n "(cached) $ac_c" 1>&6
40300 @@ -5911,7 +5914,7 @@ if test -z "$ac_cv_path_NM_FOR_TARGET" ;
40301 if test -n "$with_build_time_tools"; then
40302 for ncn_progname in nm; do
40303 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40304 -echo "configure:5915: checking for ${ncn_progname} in $with_build_time_tools" >&5
40305 +echo "configure:5918: checking for ${ncn_progname} in $with_build_time_tools" >&5
40306 if test -x $with_build_time_tools/${ncn_progname}; then
40307 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40308 echo "$ac_t""yes" 1>&6
40309 @@ -5928,7 +5931,7 @@ if test -z "$ac_cv_prog_NM_FOR_TARGET";
40310 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40311 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40313 -echo "configure:5932: checking for $ac_word" >&5
40314 +echo "configure:5935: checking for $ac_word" >&5
40315 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
40316 echo $ac_n "(cached) $ac_c" 1>&6
40318 @@ -5959,7 +5962,7 @@ fi
40319 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40320 set dummy ${ncn_progname}; ac_word=$2
40321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40322 -echo "configure:5963: checking for $ac_word" >&5
40323 +echo "configure:5966: checking for $ac_word" >&5
40324 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
40325 echo $ac_n "(cached) $ac_c" 1>&6
40327 @@ -6009,7 +6012,7 @@ fi
40328 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
40329 if test -n "$with_build_time_tools"; then
40330 echo $ac_n "checking for objdump in $with_build_time_tools""... $ac_c" 1>&6
40331 -echo "configure:6013: checking for objdump in $with_build_time_tools" >&5
40332 +echo "configure:6016: checking for objdump in $with_build_time_tools" >&5
40333 if test -x $with_build_time_tools/objdump; then
40334 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
40335 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
40336 @@ -6027,7 +6030,7 @@ if test -z "$ac_cv_path_OBJDUMP_FOR_TARG
40337 # Extract the first word of "objdump", so it can be a program name with args.
40338 set dummy objdump; ac_word=$2
40339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40340 -echo "configure:6031: checking for $ac_word" >&5
40341 +echo "configure:6034: checking for $ac_word" >&5
40342 if eval "test \"`echo '$''{'ac_cv_path_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
40343 echo $ac_n "(cached) $ac_c" 1>&6
40345 @@ -6064,7 +6067,7 @@ if test -z "$ac_cv_path_OBJDUMP_FOR_TARG
40346 if test -n "$with_build_time_tools"; then
40347 for ncn_progname in objdump; do
40348 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40349 -echo "configure:6068: checking for ${ncn_progname} in $with_build_time_tools" >&5
40350 +echo "configure:6071: checking for ${ncn_progname} in $with_build_time_tools" >&5
40351 if test -x $with_build_time_tools/${ncn_progname}; then
40352 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40353 echo "$ac_t""yes" 1>&6
40354 @@ -6081,7 +6084,7 @@ if test -z "$ac_cv_prog_OBJDUMP_FOR_TARG
40355 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40356 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40357 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40358 -echo "configure:6085: checking for $ac_word" >&5
40359 +echo "configure:6088: checking for $ac_word" >&5
40360 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
40361 echo $ac_n "(cached) $ac_c" 1>&6
40363 @@ -6112,7 +6115,7 @@ fi
40364 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40365 set dummy ${ncn_progname}; ac_word=$2
40366 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40367 -echo "configure:6116: checking for $ac_word" >&5
40368 +echo "configure:6119: checking for $ac_word" >&5
40369 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
40370 echo $ac_n "(cached) $ac_c" 1>&6
40372 @@ -6162,7 +6165,7 @@ fi
40373 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
40374 if test -n "$with_build_time_tools"; then
40375 echo $ac_n "checking for ranlib in $with_build_time_tools""... $ac_c" 1>&6
40376 -echo "configure:6166: checking for ranlib in $with_build_time_tools" >&5
40377 +echo "configure:6169: checking for ranlib in $with_build_time_tools" >&5
40378 if test -x $with_build_time_tools/ranlib; then
40379 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
40380 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
40381 @@ -6180,7 +6183,7 @@ if test -z "$ac_cv_path_RANLIB_FOR_TARGE
40382 # Extract the first word of "ranlib", so it can be a program name with args.
40383 set dummy ranlib; ac_word=$2
40384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40385 -echo "configure:6184: checking for $ac_word" >&5
40386 +echo "configure:6187: checking for $ac_word" >&5
40387 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
40388 echo $ac_n "(cached) $ac_c" 1>&6
40390 @@ -6217,7 +6220,7 @@ if test -z "$ac_cv_path_RANLIB_FOR_TARGE
40391 if test -n "$with_build_time_tools"; then
40392 for ncn_progname in ranlib; do
40393 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40394 -echo "configure:6221: checking for ${ncn_progname} in $with_build_time_tools" >&5
40395 +echo "configure:6224: checking for ${ncn_progname} in $with_build_time_tools" >&5
40396 if test -x $with_build_time_tools/${ncn_progname}; then
40397 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40398 echo "$ac_t""yes" 1>&6
40399 @@ -6234,7 +6237,7 @@ if test -z "$ac_cv_prog_RANLIB_FOR_TARGE
40400 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40401 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40403 -echo "configure:6238: checking for $ac_word" >&5
40404 +echo "configure:6241: checking for $ac_word" >&5
40405 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
40406 echo $ac_n "(cached) $ac_c" 1>&6
40408 @@ -6265,7 +6268,7 @@ fi
40409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40410 set dummy ${ncn_progname}; ac_word=$2
40411 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40412 -echo "configure:6269: checking for $ac_word" >&5
40413 +echo "configure:6272: checking for $ac_word" >&5
40414 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
40415 echo $ac_n "(cached) $ac_c" 1>&6
40417 @@ -6315,7 +6318,7 @@ fi
40418 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
40419 if test -n "$with_build_time_tools"; then
40420 echo $ac_n "checking for strip in $with_build_time_tools""... $ac_c" 1>&6
40421 -echo "configure:6319: checking for strip in $with_build_time_tools" >&5
40422 +echo "configure:6322: checking for strip in $with_build_time_tools" >&5
40423 if test -x $with_build_time_tools/strip; then
40424 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
40425 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
40426 @@ -6333,7 +6336,7 @@ if test -z "$ac_cv_path_STRIP_FOR_TARGET
40427 # Extract the first word of "strip", so it can be a program name with args.
40428 set dummy strip; ac_word=$2
40429 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40430 -echo "configure:6337: checking for $ac_word" >&5
40431 +echo "configure:6340: checking for $ac_word" >&5
40432 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
40433 echo $ac_n "(cached) $ac_c" 1>&6
40435 @@ -6370,7 +6373,7 @@ if test -z "$ac_cv_path_STRIP_FOR_TARGET
40436 if test -n "$with_build_time_tools"; then
40437 for ncn_progname in strip; do
40438 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40439 -echo "configure:6374: checking for ${ncn_progname} in $with_build_time_tools" >&5
40440 +echo "configure:6377: checking for ${ncn_progname} in $with_build_time_tools" >&5
40441 if test -x $with_build_time_tools/${ncn_progname}; then
40442 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40443 echo "$ac_t""yes" 1>&6
40444 @@ -6387,7 +6390,7 @@ if test -z "$ac_cv_prog_STRIP_FOR_TARGET
40445 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40446 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40447 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40448 -echo "configure:6391: checking for $ac_word" >&5
40449 +echo "configure:6394: checking for $ac_word" >&5
40450 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
40451 echo $ac_n "(cached) $ac_c" 1>&6
40453 @@ -6418,7 +6421,7 @@ fi
40454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40455 set dummy ${ncn_progname}; ac_word=$2
40456 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40457 -echo "configure:6422: checking for $ac_word" >&5
40458 +echo "configure:6425: checking for $ac_word" >&5
40459 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
40460 echo $ac_n "(cached) $ac_c" 1>&6
40462 @@ -6468,7 +6471,7 @@ fi
40463 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
40464 if test -n "$with_build_time_tools"; then
40465 echo $ac_n "checking for windres in $with_build_time_tools""... $ac_c" 1>&6
40466 -echo "configure:6472: checking for windres in $with_build_time_tools" >&5
40467 +echo "configure:6475: checking for windres in $with_build_time_tools" >&5
40468 if test -x $with_build_time_tools/windres; then
40469 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
40470 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
40471 @@ -6486,7 +6489,7 @@ if test -z "$ac_cv_path_WINDRES_FOR_TARG
40472 # Extract the first word of "windres", so it can be a program name with args.
40473 set dummy windres; ac_word=$2
40474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40475 -echo "configure:6490: checking for $ac_word" >&5
40476 +echo "configure:6493: checking for $ac_word" >&5
40477 if eval "test \"`echo '$''{'ac_cv_path_WINDRES_FOR_TARGET'+set}'`\" = set"; then
40478 echo $ac_n "(cached) $ac_c" 1>&6
40480 @@ -6523,7 +6526,7 @@ if test -z "$ac_cv_path_WINDRES_FOR_TARG
40481 if test -n "$with_build_time_tools"; then
40482 for ncn_progname in windres; do
40483 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40484 -echo "configure:6527: checking for ${ncn_progname} in $with_build_time_tools" >&5
40485 +echo "configure:6530: checking for ${ncn_progname} in $with_build_time_tools" >&5
40486 if test -x $with_build_time_tools/${ncn_progname}; then
40487 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40488 echo "$ac_t""yes" 1>&6
40489 @@ -6540,7 +6543,7 @@ if test -z "$ac_cv_prog_WINDRES_FOR_TARG
40490 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40491 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40492 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40493 -echo "configure:6544: checking for $ac_word" >&5
40494 +echo "configure:6547: checking for $ac_word" >&5
40495 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
40496 echo $ac_n "(cached) $ac_c" 1>&6
40498 @@ -6571,7 +6574,7 @@ fi
40499 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40500 set dummy ${ncn_progname}; ac_word=$2
40501 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40502 -echo "configure:6575: checking for $ac_word" >&5
40503 +echo "configure:6578: checking for $ac_word" >&5
40504 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
40505 echo $ac_n "(cached) $ac_c" 1>&6
40507 @@ -6619,7 +6622,7 @@ fi
40508 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
40510 echo $ac_n "checking where to find the target ar""... $ac_c" 1>&6
40511 -echo "configure:6623: checking where to find the target ar" >&5
40512 +echo "configure:6626: checking where to find the target ar" >&5
40513 if test "x${build}" != "x${host}" ; then
40514 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
40515 # We already found the complete path
40516 @@ -6652,7 +6655,7 @@ else
40519 echo $ac_n "checking where to find the target as""... $ac_c" 1>&6
40520 -echo "configure:6656: checking where to find the target as" >&5
40521 +echo "configure:6659: checking where to find the target as" >&5
40522 if test "x${build}" != "x${host}" ; then
40523 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
40524 # We already found the complete path
40525 @@ -6685,7 +6688,7 @@ else
40528 echo $ac_n "checking where to find the target cc""... $ac_c" 1>&6
40529 -echo "configure:6689: checking where to find the target cc" >&5
40530 +echo "configure:6692: checking where to find the target cc" >&5
40531 if test "x${build}" != "x${host}" ; then
40532 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
40533 # We already found the complete path
40534 @@ -6718,7 +6721,7 @@ else
40537 echo $ac_n "checking where to find the target c++""... $ac_c" 1>&6
40538 -echo "configure:6722: checking where to find the target c++" >&5
40539 +echo "configure:6725: checking where to find the target c++" >&5
40540 if test "x${build}" != "x${host}" ; then
40541 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
40542 # We already found the complete path
40543 @@ -6754,7 +6757,7 @@ else
40546 echo $ac_n "checking where to find the target c++ for libstdc++""... $ac_c" 1>&6
40547 -echo "configure:6758: checking where to find the target c++ for libstdc++" >&5
40548 +echo "configure:6761: checking where to find the target c++ for libstdc++" >&5
40549 if test "x${build}" != "x${host}" ; then
40550 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
40551 # We already found the complete path
40552 @@ -6790,7 +6793,7 @@ else
40555 echo $ac_n "checking where to find the target dlltool""... $ac_c" 1>&6
40556 -echo "configure:6794: checking where to find the target dlltool" >&5
40557 +echo "configure:6797: checking where to find the target dlltool" >&5
40558 if test "x${build}" != "x${host}" ; then
40559 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
40560 # We already found the complete path
40561 @@ -6823,7 +6826,7 @@ else
40564 echo $ac_n "checking where to find the target gcc""... $ac_c" 1>&6
40565 -echo "configure:6827: checking where to find the target gcc" >&5
40566 +echo "configure:6830: checking where to find the target gcc" >&5
40567 if test "x${build}" != "x${host}" ; then
40568 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
40569 # We already found the complete path
40570 @@ -6856,7 +6859,7 @@ else
40573 echo $ac_n "checking where to find the target gcj""... $ac_c" 1>&6
40574 -echo "configure:6860: checking where to find the target gcj" >&5
40575 +echo "configure:6863: checking where to find the target gcj" >&5
40576 if test "x${build}" != "x${host}" ; then
40577 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
40578 # We already found the complete path
40579 @@ -6892,7 +6895,7 @@ else
40582 echo $ac_n "checking where to find the target gfortran""... $ac_c" 1>&6
40583 -echo "configure:6896: checking where to find the target gfortran" >&5
40584 +echo "configure:6899: checking where to find the target gfortran" >&5
40585 if test "x${build}" != "x${host}" ; then
40586 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
40587 # We already found the complete path
40588 @@ -6928,7 +6931,7 @@ else
40591 echo $ac_n "checking where to find the target ld""... $ac_c" 1>&6
40592 -echo "configure:6932: checking where to find the target ld" >&5
40593 +echo "configure:6935: checking where to find the target ld" >&5
40594 if test "x${build}" != "x${host}" ; then
40595 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
40596 # We already found the complete path
40597 @@ -6961,7 +6964,7 @@ else
40600 echo $ac_n "checking where to find the target lipo""... $ac_c" 1>&6
40601 -echo "configure:6965: checking where to find the target lipo" >&5
40602 +echo "configure:6968: checking where to find the target lipo" >&5
40603 if test "x${build}" != "x${host}" ; then
40604 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
40605 # We already found the complete path
40606 @@ -6984,7 +6987,7 @@ else
40609 echo $ac_n "checking where to find the target nm""... $ac_c" 1>&6
40610 -echo "configure:6988: checking where to find the target nm" >&5
40611 +echo "configure:6991: checking where to find the target nm" >&5
40612 if test "x${build}" != "x${host}" ; then
40613 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
40614 # We already found the complete path
40615 @@ -7017,7 +7020,7 @@ else
40618 echo $ac_n "checking where to find the target objdump""... $ac_c" 1>&6
40619 -echo "configure:7021: checking where to find the target objdump" >&5
40620 +echo "configure:7024: checking where to find the target objdump" >&5
40621 if test "x${build}" != "x${host}" ; then
40622 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
40623 # We already found the complete path
40624 @@ -7050,7 +7053,7 @@ else
40627 echo $ac_n "checking where to find the target ranlib""... $ac_c" 1>&6
40628 -echo "configure:7054: checking where to find the target ranlib" >&5
40629 +echo "configure:7057: checking where to find the target ranlib" >&5
40630 if test "x${build}" != "x${host}" ; then
40631 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
40632 # We already found the complete path
40633 @@ -7083,7 +7086,7 @@ else
40636 echo $ac_n "checking where to find the target strip""... $ac_c" 1>&6
40637 -echo "configure:7087: checking where to find the target strip" >&5
40638 +echo "configure:7090: checking where to find the target strip" >&5
40639 if test "x${build}" != "x${host}" ; then
40640 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
40641 # We already found the complete path
40642 @@ -7116,7 +7119,7 @@ else
40645 echo $ac_n "checking where to find the target windres""... $ac_c" 1>&6
40646 -echo "configure:7120: checking where to find the target windres" >&5
40647 +echo "configure:7123: checking where to find the target windres" >&5
40648 if test "x${build}" != "x${host}" ; then
40649 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
40650 # We already found the complete path
40651 @@ -7177,7 +7180,7 @@ fi
40654 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
40655 -echo "configure:7181: checking whether to enable maintainer-specific portions of Makefiles" >&5
40656 +echo "configure:7184: checking whether to enable maintainer-specific portions of Makefiles" >&5
40657 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
40658 if test "${enable_maintainer_mode+set}" = set; then
40659 enableval="$enable_maintainer_mode"
40660 @@ -7334,34 +7337,15 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex
40661 # Transform confdefs.h into DEFS.
40662 # Protect against shell expansion while executing Makefile rules.
40663 # Protect against Makefile macro expansion.
40665 -# If the first sed substitution is executed (which looks for macros that
40666 -# take arguments), then we branch to the quote section. Otherwise,
40667 -# look for a macro that doesn't take arguments.
40668 -cat >confdef2opt.sed <<\_ACEOF
40671 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
40673 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
40677 -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
40683 -# We use echo to avoid assuming a particular line-breaking character.
40684 -# The extra dot is to prevent the shell from consuming trailing
40685 -# line-breaks from the sub-command output. A line-break within
40686 -# single-quotes doesn't work because, if this script is created in a
40687 -# platform that uses two characters for line-breaks (e.g., DOS), tr
40689 -ac_LF_and_DOT=`echo; echo .`
40690 -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
40691 -rm -f confdef2opt.sed
40692 +cat > conftest.defs <<\EOF
40693 +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
40694 +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
40699 +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
40700 +rm -f conftest.defs
40703 # Without the "./", some shells look in PATH for config.status.
40706 @@ -269,6 +269,9 @@ unsupported_languages=
40711 + noconfigdirs="$noconfigdirs readline gdb"
40714 noconfigdirs="$noconfigdirs byacc"
40718 @@ -439,10 +439,10 @@ parse_args (int * pargc, char *** pargv)
40719 the end of the preceeding line so that it is simpler to
40720 selectively add and remove lines from this list. */
40721 {"alternate", no_argument, NULL, OPTION_ALTERNATE}
40722 - /* The entry for "a" is here to prevent getopt_long_only() from
40723 - considering that -a is an abbreviation for --alternate. This is
40724 - necessary because -a=<FILE> is a valid switch but getopt would
40725 - normally reject it since --alternate does not take an argument. */
40726 + /* The next two entries are here to prevent getopt_long_only() from
40727 + considering that -a or -al is an abbreviation for --alternate.
40728 + This is necessary because -a=<FILE> is a valid switch but getopt
40729 + would normally reject it since --alternate does not take an argument. */
40730 ,{"a", optional_argument, NULL, 'a'}
40731 /* Handle -al=<FILE>. */
40732 ,{"al", optional_argument, NULL, OPTION_AL}
40733 @@ -795,8 +795,15 @@ the GNU General Public License. This pr
40737 - if (optarg != old_argv[optind] && optarg[-1] == '=')
40739 + /* If optarg is part of the -a switch and not a separate argument
40740 + in its own right, then scan backwards to the just after the -a.
40741 + This means skipping over both '=' and 'l' which might have been
40742 + taken to be part of the -a switch itself. */
40743 + if (optarg != old_argv[optind])
40745 + while (optarg[-1] == '=' || optarg[-1] == 'l')
40749 if (md_parse_option (optc, optarg) != 0)
40751 @@ -1189,7 +1196,7 @@ main (int argc, char ** argv)
40755 - unlink_if_ordinary (out_file_name);
40756 + unlink (out_file_name);
40758 input_scrub_end ();
40760 --- a/gas/config/bfin-aux.h
40761 +++ b/gas/config/bfin-aux.h
40762 @@ -1,151 +1,151 @@
40763 -/* bfin-aux.h ADI Blackfin Header file for gas
40765 - Free Software Foundation, Inc.
40767 - This file is part of GAS, the GNU Assembler.
40769 - GAS is free software; you can redistribute it and/or modify
40770 - it under the terms of the GNU General Public License as published by
40771 - the Free Software Foundation; either version 2, or (at your option)
40772 - any later version.
40774 - GAS is distributed in the hope that it will be useful,
40775 - but WITHOUT ANY WARRANTY; without even the implied warranty of
40776 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40777 - GNU General Public License for more details.
40779 - You should have received a copy of the GNU General Public License
40780 - along with GAS; see the file COPYING. If not, write to the Free
40781 - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
40782 - 02110-1301, USA. */
40784 -#include "bfin-defs.h"
40786 -#define REG_T Register *
40789 -bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
40790 - int h01, int h11, int h00, int h10,
40791 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40794 -bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
40795 - int h01, int h11, int h00, int h10,
40796 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40799 -bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
40800 - REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
40803 -bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
40804 - int sop, int hls);
40807 -bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
40808 - int sop, int hls);
40811 -bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
40815 -bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
40816 - Expr_Node *offset);
40819 -bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
40822 -bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
40825 -bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
40828 -bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
40831 -bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
40834 -bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
40837 -bfin_gen_compi2opd (REG_T dst, int src, int op);
40840 -bfin_gen_compi2opp (REG_T dst, int src, int op);
40843 -bfin_gen_dagmodik (REG_T i, int op);
40846 -bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
40849 -bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
40852 -bfin_gen_logi2op (int dst, int src, int opc);
40855 -bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
40858 -bfin_gen_ccmv (REG_T src, REG_T dst, int t);
40861 -bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
40864 -bfin_gen_cc2stat (int cbit, int op, int d);
40867 -bfin_gen_regmv (REG_T src, REG_T dst);
40870 -bfin_gen_cc2dreg (int op, REG_T reg);
40873 -bfin_gen_brcc (int t, int b, Expr_Node *offset);
40876 -bfin_gen_ujump (Expr_Node *offset);
40879 -bfin_gen_cactrl (REG_T reg, int a, int op);
40882 -bfin_gen_progctrl (int prgfunc, int poprnd);
40885 -bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
40886 - Expr_Node *eoffset, REG_T reg);
40889 -bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
40892 -bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
40895 -bfin_gen_pushpopreg (REG_T reg, int w);
40898 -bfin_gen_calla (Expr_Node *addr, int s);
40901 -bfin_gen_linkage (int r, int framesize);
40904 -bfin_gen_pseudodbg (int fn, int reg, int grp);
40907 -bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
40910 -bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
40913 -bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
40914 +/* bfin-aux.h ADI Blackfin Header file for gas
40916 + Free Software Foundation, Inc.
40918 + This file is part of GAS, the GNU Assembler.
40920 + GAS is free software; you can redistribute it and/or modify
40921 + it under the terms of the GNU General Public License as published by
40922 + the Free Software Foundation; either version 2, or (at your option)
40923 + any later version.
40925 + GAS is distributed in the hope that it will be useful,
40926 + but WITHOUT ANY WARRANTY; without even the implied warranty of
40927 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40928 + GNU General Public License for more details.
40930 + You should have received a copy of the GNU General Public License
40931 + along with GAS; see the file COPYING. If not, write to the Free
40932 + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
40933 + 02110-1301, USA. */
40935 +#include "bfin-defs.h"
40937 +#define REG_T Register *
40940 +bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
40941 + int h01, int h11, int h00, int h10,
40942 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40945 +bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
40946 + int h01, int h11, int h00, int h10,
40947 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40950 +bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
40951 + REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
40954 +bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
40955 + int sop, int hls);
40958 +bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
40959 + int sop, int hls);
40962 +bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
40966 +bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
40967 + Expr_Node *offset);
40970 +bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
40973 +bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
40976 +bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
40979 +bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
40982 +bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
40985 +bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
40988 +bfin_gen_compi2opd (REG_T dst, int src, int op);
40991 +bfin_gen_compi2opp (REG_T dst, int src, int op);
40994 +bfin_gen_dagmodik (REG_T i, int op);
40997 +bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
41000 +bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
41003 +bfin_gen_logi2op (int dst, int src, int opc);
41006 +bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
41009 +bfin_gen_ccmv (REG_T src, REG_T dst, int t);
41012 +bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
41015 +bfin_gen_cc2stat (int cbit, int op, int d);
41018 +bfin_gen_regmv (REG_T src, REG_T dst);
41021 +bfin_gen_cc2dreg (int op, REG_T reg);
41024 +bfin_gen_brcc (int t, int b, Expr_Node *offset);
41027 +bfin_gen_ujump (Expr_Node *offset);
41030 +bfin_gen_cactrl (REG_T reg, int a, int op);
41033 +bfin_gen_progctrl (int prgfunc, int poprnd);
41036 +bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
41037 + Expr_Node *eoffset, REG_T reg);
41040 +bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
41043 +bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
41046 +bfin_gen_pushpopreg (REG_T reg, int w);
41049 +bfin_gen_calla (Expr_Node *addr, int s);
41052 +bfin_gen_linkage (int r, int framesize);
41055 +bfin_gen_pseudodbg (int fn, int reg, int grp);
41058 +bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
41061 +bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
41064 +bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
41066 +++ b/gas/config/tc-avr32.c
41068 +/* Assembler implementation for AVR32.
41069 + Copyright 2003-2006 Atmel Corporation.
41071 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
41073 + This file is part of GAS, the GNU Assembler.
41075 + GAS is free software; you can redistribute it and/or modify it
41076 + under the terms of the GNU General Public License as published by
41077 + the Free Software Foundation; either version 2, or (at your option)
41078 + any later version.
41080 + GAS is distributed in the hope that it will be useful, but WITHOUT
41081 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
41082 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
41083 + License for more details.
41085 + You should have received a copy of the GNU General Public License
41086 + along with GAS; see the file COPYING. If not, write to the Free
41087 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41088 + 02111-1307, USA. */
41090 +#include <stdio.h>
41092 +#include "safe-ctype.h"
41093 +#include "subsegs.h"
41094 +#include "symcat.h"
41095 +#include "opcodes/avr32-opc.h"
41096 +#include "opcodes/avr32-asm.h"
41097 +#include "elf/avr32.h"
41098 +#include "dwarf2dbg.h"
41101 +#define xOPC_CONSISTENCY_CHECK
41104 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
41106 +# define pr_debug(fmt, args...)
41109 +/* 3 MSB of instruction word indicate group. Group 7 -> extended */
41110 +#define AVR32_COMPACT_P(opcode) ((opcode[0] & 0xe0) != 0xe0)
41112 +#define streq(a, b) (strcmp(a, b) == 0)
41113 +#define skip_whitespace(str) do { while(*(str) == ' ') ++(str); } while(0)
41115 +/* Flags given on the command line */
41116 +static int avr32_pic = FALSE;
41117 +int linkrelax = FALSE;
41118 +int avr32_iarcompat = FALSE;
41119 +int allow_direct_data_refs = FALSE;
41121 +/* This array holds the chars that always start a comment. */
41122 +const char comment_chars[] = "#";
41124 +/* This array holds the chars that only start a comment at the
41125 + beginning of a line. We must include '#' here because the compiler
41126 + may produce #APP and #NO_APP in its output. */
41127 +const char line_comment_chars[] = "#";
41129 +/* These may be used instead of newline (same as ';' in C). */
41130 +const char line_separator_chars[] = ";";
41132 +/* Chars that can be used to separate mantissa from exponent in
41133 + floating point numbers. */
41134 +const char EXP_CHARS[] = "eE";
41136 +/* Chars that mean this number is a floating point constant. */
41137 +const char FLT_CHARS[] = "dD";
41139 +/* Pre-defined "_GLOBAL_OFFSET_TABLE_" */
41140 +symbolS *GOT_symbol;
41142 +static struct hash_control *avr32_mnemonic_htab;
41144 +struct avr32_ifield_data
41147 + /* FIXME: Get rid of align_order and complain. complain is never
41148 + used, align_order is used in one place. Try to use the relax
41149 + table instead. */
41150 + unsigned int align_order;
41155 + const struct avr32_syntax *syntax;
41156 + expressionS immediate;
41158 + int force_extended;
41159 + unsigned int next_slot;
41160 + bfd_reloc_code_real_type r_type;
41161 + struct avr32_ifield_data field_value[AVR32_MAX_FIELDS];
41164 +static struct avr32_insn current_insn;
41166 +/* The target specific pseudo-ops we support. */
41167 +static void s_rseg (int);
41168 +static void s_cpool(int);
41170 +const pseudo_typeS md_pseudo_table[] =
41172 + /* Make sure that .word is 32 bits */
41173 + { "word", cons, 4 },
41174 + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
41175 + { "loc", dwarf2_directive_loc, 0 },
41177 + /* .lcomm requires an explicit alignment parameter */
41178 + { "lcomm", s_lcomm, 1 },
41180 + /* AVR32-specific pseudo-ops */
41181 + { "cpool", s_cpool, 0},
41183 + /* IAR compatible pseudo-ops */
41184 + { "program", s_ignore, 0 },
41185 + { "public", s_globl, 0 },
41186 + { "extern", s_ignore, 0 },
41187 + { "module", s_ignore, 0 },
41188 + { "rseg", s_rseg, 0 },
41189 + { "dc8", cons, 1 },
41190 + { "dc16", cons, 2 },
41191 + { "dc32", cons, 4 },
41193 + { NULL, NULL, 0 }
41196 +/* Questionable stuff starts here */
41198 +enum avr32_opinfo {
41199 + AVR32_OPINFO_NONE = BFD_RELOC_NONE,
41200 + AVR32_OPINFO_GOT,
41201 + AVR32_OPINFO_TLSGD,
41211 +struct arch_type_s
41213 + /* Architecture name */
41215 + /* Instruction Set Architecture Flags */
41216 + unsigned long isa_flags;
41219 +struct part_type_s
41223 + /* Architecture type */
41224 + unsigned int arch;
41227 +static struct arch_type_s arch_types[] =
41229 + {"ap", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_PICO},
41230 + {"uc", AVR32_V1 | AVR32_DSP | AVR32_RMW},
41231 + {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO},
41235 +static struct part_type_s part_types[] = {
41236 + {"ap7000", ARCH_TYPE_AP},
41237 + {"ap7010", ARCH_TYPE_AP},
41238 + {"ap7020", ARCH_TYPE_AP},
41239 + {"uc3a0256", ARCH_TYPE_UC},
41240 + {"uc3a0512", ARCH_TYPE_UC},
41241 + {"uc3a1128", ARCH_TYPE_UC},
41242 + {"uc3a1256", ARCH_TYPE_UC},
41243 + {"uc3a1512", ARCH_TYPE_UC},
41244 + {"uc3b064", ARCH_TYPE_UC},
41245 + {"uc3b0128", ARCH_TYPE_UC},
41246 + {"uc3b0256", ARCH_TYPE_UC},
41247 + {"uc3b164", ARCH_TYPE_UC},
41248 + {"uc3b1128", ARCH_TYPE_UC},
41249 + {"uc3b1256", ARCH_TYPE_UC},
41253 +/* Current architecture type. */
41254 +static struct arch_type_s default_arch = {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO };
41255 +static struct arch_type_s *avr32_arch = &default_arch;
41257 +/* Display nicely formatted list of known part- and architecture names. */
41260 +show_arch_list (FILE *stream)
41264 + fprintf (stream, _("Known architecture names:"));
41267 + for (i = 0; arch_types[i].name; i++)
41269 + int len = strlen (arch_types[i].name);
41274 + fprintf (stream, " %s", arch_types[i].name);
41277 + fprintf (stream, "\n %s", arch_types[i].name);
41282 + fprintf (stream, "\n");
41286 +show_part_list (FILE *stream)
41290 + fprintf (stream, _("Known part names:"));
41293 + for (i = 0; part_types[i].name; i++)
41295 + int len = strlen(part_types[i].name);
41300 + fprintf (stream, " %s", part_types[i].name);
41303 + fprintf(stream, "\n %s", part_types[i].name);
41308 + fprintf (stream, "\n");
41311 +const char *md_shortopts = "";
41312 +struct option md_longopts[] =
41314 +#define OPTION_ARCH (OPTION_MD_BASE)
41315 +#define OPTION_PART (OPTION_ARCH + 1)
41316 +#define OPTION_IAR (OPTION_PART + 1)
41317 +#define OPTION_PIC (OPTION_IAR + 1)
41318 +#define OPTION_NOPIC (OPTION_PIC + 1)
41319 +#define OPTION_LINKRELAX (OPTION_NOPIC + 1)
41320 +#define OPTION_NOLINKRELAX (OPTION_LINKRELAX + 1)
41321 +#define OPTION_DIRECT_DATA_REFS (OPTION_NOLINKRELAX + 1)
41322 + {"march", required_argument, NULL, OPTION_ARCH},
41323 + {"mpart", required_argument, NULL, OPTION_PART},
41324 + {"iar", no_argument, NULL, OPTION_IAR},
41325 + {"pic", no_argument, NULL, OPTION_PIC},
41326 + {"no-pic", no_argument, NULL, OPTION_NOPIC},
41327 + {"linkrelax", no_argument, NULL, OPTION_LINKRELAX},
41328 + {"no-linkrelax", no_argument, NULL, OPTION_NOLINKRELAX},
41329 + {"direct-data-refs", no_argument, NULL, OPTION_DIRECT_DATA_REFS},
41330 + /* deprecated alias for -mpart=xxx */
41331 + {"mcpu", required_argument, NULL, OPTION_PART},
41332 + {NULL, no_argument, NULL, 0}
41335 +size_t md_longopts_size = sizeof (md_longopts);
41338 +md_show_usage (FILE *stream)
41340 + fprintf (stream, _("\
41342 + -march=[arch-name] Select cpu architecture. [Default `all-insn']\n\
41343 + -mpart=[part-name] Select specific part. [Default `none']\n\
41344 + --pic Produce Position-Independent Code\n\
41345 + --no-pic Don't produce Position-Independent Code\n\
41346 + --linkrelax Produce output suitable for linker relaxing\n\
41347 + --no-linkrelax Don't produce output suitable for linker relaxing\n\
41348 + --direct-data-refs Allows direct references (i.e. mov or sub) to the data section\n"));
41349 + show_arch_list(stream);
41353 +md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
41357 + case OPTION_ARCH:
41360 + char *s = alloca (strlen (arg) + 1);
41364 + char *arg1 = arg;
41367 + *t = TOLOWER (*arg1++);
41371 + for (i = 0; arch_types[i].name; ++i)
41372 + if (strcmp (arch_types[i].name, s) == 0)
41375 + if (!arch_types[i].name)
41377 + show_arch_list (stderr);
41378 + as_fatal (_("unknown architecture: %s\n"), arg);
41381 + avr32_arch = &arch_types[i];
41384 + case OPTION_PART:
41387 + char *s = alloca (strlen (arg) + 1);
41391 + /* If arch type has already been set, don't bother.
41392 + -march= always overrides -mpart= */
41393 + if (avr32_arch != &default_arch)
41397 + *t = TOLOWER (*p++);
41400 + for (i = 0; part_types[i].name; ++i)
41401 + if (strcmp (part_types[i].name, s) == 0)
41404 + if (!part_types[i].name)
41406 + show_part_list (stderr);
41407 + as_fatal (_("unknown part: %s\n"), arg);
41410 + avr32_arch = &arch_types[part_types[i].arch];
41414 + avr32_iarcompat = 1;
41419 + case OPTION_NOPIC:
41422 + case OPTION_LINKRELAX:
41425 + case OPTION_NOLINKRELAX:
41428 + case OPTION_DIRECT_DATA_REFS:
41429 + allow_direct_data_refs = 1;
41437 +/* Can't use symbol_new here, so have to create a symbol and then at
41438 + a later date assign it a value. Thats what these functions do.
41440 + Shamelessly stolen from ARM. */
41443 +symbol_locate (symbolS * symbolP,
41444 + const char * name, /* It is copied, the caller can modify. */
41445 + segT segment, /* Segment identifier (SEG_<something>). */
41446 + valueT valu, /* Symbol value. */
41447 + fragS * frag) /* Associated fragment. */
41449 + unsigned int name_length;
41450 + char * preserved_copy_of_name;
41452 + name_length = strlen (name) + 1; /* +1 for \0. */
41453 + obstack_grow (¬es, name, name_length);
41454 + preserved_copy_of_name = obstack_finish (¬es);
41455 +#ifdef STRIP_UNDERSCORE
41456 + if (preserved_copy_of_name[0] == '_')
41457 + preserved_copy_of_name++;
41460 +#ifdef tc_canonicalize_symbol_name
41461 + preserved_copy_of_name =
41462 + tc_canonicalize_symbol_name (preserved_copy_of_name);
41465 + S_SET_NAME (symbolP, preserved_copy_of_name);
41467 + S_SET_SEGMENT (symbolP, segment);
41468 + S_SET_VALUE (symbolP, valu);
41469 + symbol_clear_list_pointers (symbolP);
41471 + symbol_set_frag (symbolP, frag);
41473 + /* Link to end of symbol chain. */
41475 + extern int symbol_table_frozen;
41477 + if (symbol_table_frozen)
41481 + symbol_append (symbolP, symbol_lastP, & symbol_rootP, & symbol_lastP);
41483 + obj_symbol_new_hook (symbolP);
41485 +#ifdef tc_symbol_new_hook
41486 + tc_symbol_new_hook (symbolP);
41490 + verify_symbol_chain (symbol_rootP, symbol_lastP);
41491 +#endif /* DEBUG_SYMS */
41494 +struct cpool_entry
41503 + struct cpool *next;
41505 + struct cpool_entry *literals;
41506 + unsigned int padding;
41507 + unsigned int next_free_entry;
41511 + subsegT sub_section;
41514 +struct cpool *cpool_list = NULL;
41516 +static struct cpool *
41517 +find_cpool(segT section, subsegT sub_section)
41519 + struct cpool *pool;
41521 + for (pool = cpool_list; pool != NULL; pool = pool->next)
41524 + && pool->section == section
41525 + && pool->sub_section == sub_section)
41532 +static struct cpool *
41533 +find_or_make_cpool(segT section, subsegT sub_section)
41535 + static unsigned int next_cpool_id = 0;
41536 + struct cpool *pool;
41538 + pool = find_cpool(section, sub_section);
41542 + pool = xmalloc(sizeof(*pool));
41547 + pool->literals = NULL;
41548 + pool->padding = 0;
41549 + pool->next_free_entry = 0;
41550 + pool->section = section;
41551 + pool->sub_section = sub_section;
41552 + pool->next = cpool_list;
41553 + pool->symbol = NULL;
41555 + cpool_list = pool;
41558 + /* NULL symbol means that the pool is new or has just been emptied. */
41559 + if (!pool->symbol)
41561 + pool->symbol = symbol_create(FAKE_LABEL_NAME, undefined_section,
41562 + 0, &zero_address_frag);
41563 + pool->id = next_cpool_id++;
41569 +static struct cpool *
41570 +add_to_cpool(expressionS *exp, unsigned int *index, int ref)
41572 + struct cpool *pool;
41573 + unsigned int entry;
41575 + pool = find_or_make_cpool(now_seg, now_subseg);
41577 + /* Check if this constant is already in the pool. */
41578 + for (entry = 0; entry < pool->next_free_entry; entry++)
41580 + if ((pool->literals[entry].exp.X_op == exp->X_op)
41581 + && (exp->X_op == O_constant)
41582 + && (pool->literals[entry].exp.X_add_number
41583 + == exp->X_add_number)
41584 + && (pool->literals[entry].exp.X_unsigned
41585 + == exp->X_unsigned))
41588 + if ((pool->literals[entry].exp.X_op == exp->X_op)
41589 + && (exp->X_op == O_symbol)
41590 + && (pool->literals[entry].exp.X_add_number
41591 + == exp->X_add_number)
41592 + && (pool->literals[entry].exp.X_add_symbol
41593 + == exp->X_add_symbol)
41594 + && (pool->literals[entry].exp.X_op_symbol
41595 + == exp->X_op_symbol))
41599 + /* Create an entry if we didn't find a match */
41600 + if (entry == pool->next_free_entry)
41602 + pool->literals = xrealloc(pool->literals,
41603 + sizeof(struct cpool_entry) * (entry + 1));
41604 + pool->literals[entry].exp = *exp;
41605 + pool->literals[entry].refcount = 0;
41606 + pool->next_free_entry++;
41612 + pool->literals[entry].refcount++;
41617 +struct avr32_operand
41623 + int (*match)(char *str);
41624 + void (*parse)(const struct avr32_operand *op, char *str, int opindex);
41628 +match_anything(char *str ATTRIBUTE_UNUSED)
41634 +match_intreg(char *str)
41636 + int regid, ret = 1;
41638 + regid = avr32_parse_intreg(str);
41642 + pr_debug("match_intreg: `%s': %d\n", str, ret);
41648 +match_intreg_predec(char *str)
41652 + if (str[0] != '-' || str[1] != '-')
41655 + regid = avr32_parse_intreg(str + 2);
41663 +match_intreg_postinc(char *str)
41665 + int regid, ret = 1;
41668 + for (p = str; *p; p++)
41672 + if (p[0] != '+' || p[1] != '+')
41676 + regid = avr32_parse_intreg(str);
41685 +match_intreg_lsl(char *str)
41687 + int regid, ret = 1;
41690 + for (p = str; *p; p++)
41694 + if (p[0] && p[1] != '<')
41698 + regid = avr32_parse_intreg(str);
41707 +match_intreg_lsr(char *str)
41709 + int regid, ret = 1;
41712 + for (p = str; *p; p++)
41716 + if (p[0] && p[1] != '>')
41721 + regid = avr32_parse_intreg(str);
41730 +match_intreg_part(char *str)
41732 + int regid, ret = 1;
41735 + for (p = str; *p; p++)
41739 + if (p[0] != ':' || !ISPRINT(p[1]) || p[2] != '\0')
41743 + regid = avr32_parse_intreg(str);
41752 +#define match_intreg_disp match_anything
41755 +match_intreg_index(char *str)
41757 + int regid, ret = 1;
41758 + char *p, *end, c;
41760 + for (p = str; *p; p++)
41764 + /* don't allow empty displacement here (it makes no sense) */
41768 + for (end = p + 1; *end; end++) ;
41769 + if (*(--end) != ']')
41772 + c = *end, *end = 0;
41773 + if (!match_intreg_lsl(p + 1))
41780 + regid = avr32_parse_intreg(str);
41790 +match_intreg_xindex(char *str)
41792 + int regid, ret = 1;
41793 + char *p, *end, c;
41795 + for (p = str; *p; p++)
41799 + /* empty displacement makes no sense here either */
41803 + for (end = p + 1; *end; end++)
41807 + if (!streq(end, "<<2]"))
41810 + c = *end, *end = 0;
41811 + if (!match_intreg_part(p + 1))
41818 + regid = avr32_parse_intreg(str);
41827 +/* The PC_UDISP_W operator may show up as a label or as a pc[disp]
41828 + expression. So there's no point in attempting to match this... */
41829 +#define match_pc_disp match_anything
41832 +match_sp(char *str)
41834 + /* SP in any form will do */
41835 + return avr32_parse_intreg(str) == AVR32_REG_SP;
41839 +match_sp_disp(char *str)
41841 + int regid, ret = 1;
41844 + for (p = str; *p; p++)
41848 + /* allow empty displacement, meaning zero */
41852 + for (end = p + 1; *end; end++) ;
41853 + if (end[-1] != ']')
41858 + regid = avr32_parse_intreg(str);
41859 + if (regid != AVR32_REG_SP)
41867 +match_cpno(char *str)
41869 + if (strncasecmp(str, "cp", 2) != 0)
41875 +match_cpreg(char *str)
41877 + if (strncasecmp(str, "cr", 2) != 0)
41882 +/* We allow complex expressions, and register names may show up as
41883 + symbols. Just make sure immediate expressions are always matched
41885 +#define match_const match_anything
41886 +#define match_jmplabel match_anything
41887 +#define match_number match_anything
41889 +/* Mnemonics that take reglists never accept anything else */
41890 +#define match_reglist8 match_anything
41891 +#define match_reglist9 match_anything
41892 +#define match_reglist16 match_anything
41893 +#define match_reglist_ldm match_anything
41894 +#define match_reglist_cp8 match_anything
41895 +#define match_reglist_cpd8 match_anything
41897 +/* Ditto for retval, jospinc and mcall */
41898 +#define match_retval match_anything
41899 +#define match_jospinc match_anything
41900 +#define match_mcall match_anything
41902 +/* COH is used to select between two different syntaxes */
41904 +match_coh(char *str)
41906 + return strcasecmp(str, "coh") == 0;
41910 +match_fpreg(char *str)
41912 + unsigned long regid;
41915 + if ((str[0] != 'f' && str[0] != 'F')
41916 + || (str[1] != 'r' && str[1] != 'R'))
41920 + regid = strtoul(str, &endptr, 10);
41921 + if (!*str || *endptr)
41928 +match_picoreg(char *str)
41932 + regid = avr32_parse_picoreg(str);
41938 +#define match_pico_reglist_w match_anything
41939 +#define match_pico_reglist_d match_anything
41942 +match_pico_in(char *str)
41944 + unsigned long regid;
41947 + if (strncasecmp(str, "in", 2) != 0)
41951 + regid = strtoul(str, &end, 10);
41952 + if (!*str || *end)
41959 +match_pico_out0(char *str)
41961 + if (strcasecmp(str, "out0") != 0)
41967 +match_pico_out1(char *str)
41969 + if (strcasecmp(str, "out1") != 0)
41975 +match_pico_out2(char *str)
41977 + if (strcasecmp(str, "out2") != 0)
41983 +match_pico_out3(char *str)
41985 + if (strcasecmp(str, "out3") != 0)
41990 +static void parse_nothing(const struct avr32_operand *op ATTRIBUTE_UNUSED,
41991 + char *str ATTRIBUTE_UNUSED,
41992 + int opindex ATTRIBUTE_UNUSED)
41994 + /* Do nothing (this is used for "match-only" operands like COH) */
41998 +parse_const(const struct avr32_operand *op, char *str,
41999 + int opindex ATTRIBUTE_UNUSED)
42001 + expressionS *exp = ¤t_insn.immediate;
42002 + expressionS *sym_exp;
42006 + pr_debug("parse_const: `%s' (signed: %d, pcrel: %d, align: %d)\n",
42007 + str, op->is_signed, op->is_pcrel, op->align_order);
42009 + save = input_line_pointer;
42010 + input_line_pointer = str;
42014 + slot = current_insn.next_slot++;
42015 + current_insn.field_value[slot].align_order = op->align_order;
42016 + current_insn.pcrel = op->is_pcrel;
42018 + switch (exp->X_op)
42021 + as_bad(_("illegal operand"));
42024 + as_bad(_("missing operand"));
42027 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
42028 + current_insn.field_value[slot].value = exp->X_add_number;
42031 + pr_debug(" -> uminus\n");
42032 + sym_exp = symbol_get_value_expression(exp->X_add_symbol);
42033 + switch (sym_exp->X_op) {
42035 + pr_debug(" -> subtract: switching operands\n");
42036 + exp->X_op_symbol = sym_exp->X_add_symbol;
42037 + exp->X_add_symbol = sym_exp->X_op_symbol;
42038 + exp->X_op = O_subtract;
42039 + /* TODO: Remove the old X_add_symbol */
42042 + as_bad(_("Expression too complex\n"));
42048 + /* Any expression subtracting a symbol from the current section
42049 + can be made PC-relative by adding the right offset. */
42050 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
42051 + current_insn.pcrel = TRUE;
42052 + pr_debug(" -> subtract: pcrel? %s\n",
42053 + current_insn.pcrel ? "yes" : "no");
42054 + /* fall through */
42057 + pr_debug(" -> (%p <%d> %p + %d)\n",
42058 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
42059 + exp->X_add_number);
42060 + current_insn.field_value[slot].value = 0;
42064 + input_line_pointer = save;
42068 +parse_jmplabel(const struct avr32_operand *op, char *str,
42069 + int opindex ATTRIBUTE_UNUSED)
42071 + expressionS *exp = ¤t_insn.immediate;
42075 + pr_debug("parse_jmplabel: `%s' (signed: %d, pcrel: %d, align: %d)\n",
42076 + str, op->is_signed, op->is_pcrel, op->align_order);
42078 + save = input_line_pointer;
42079 + input_line_pointer = str;
42083 + slot = current_insn.next_slot++;
42084 + current_insn.field_value[slot].align_order = op->align_order;
42085 + current_insn.pcrel = TRUE;
42087 + switch (exp->X_op)
42090 + as_bad(_("illegal operand"));
42093 + as_bad(_("missing operand"));
42096 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
42097 + current_insn.field_value[slot].value = exp->X_add_number;
42098 + current_insn.pcrel = 0;
42101 + pr_debug(" -> (%p <%d> %p + %d)\n",
42102 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
42103 + exp->X_add_number);
42104 + current_insn.field_value[slot].value = 0;
42108 + input_line_pointer = save;
42112 +parse_intreg(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42113 + char *str, int opindex ATTRIBUTE_UNUSED)
42117 + pr_debug("parse_intreg: `%s'\n", str);
42119 + regid = avr32_parse_intreg(str);
42120 + assert(regid >= 0);
42122 + slot = current_insn.next_slot++;
42123 + current_insn.field_value[slot].value = regid;
42124 + current_insn.field_value[slot].align_order = op->align_order;
42128 +parse_intreg_predec(const struct avr32_operand *op, char *str, int opindex)
42130 + parse_intreg(op, str + 2, opindex);
42134 +parse_intreg_postinc(const struct avr32_operand *op, char *str, int opindex)
42138 + pr_debug("parse_intreg_postinc: `%s'\n", str);
42140 + for (p = str; *p != '+'; p++) ;
42143 + parse_intreg(op, str, opindex);
42148 +parse_intreg_shift(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42149 + char *str, int opindex ATTRIBUTE_UNUSED)
42151 + int regid, slot, shift = 0;
42155 + pr_debug("parse Ry<<sa: `%s'\n", str);
42157 + for (p = str; *p; p++)
42158 + if (*p == '<' || *p == '>')
42164 + regid = avr32_parse_intreg(str);
42165 + assert(regid >= 0);
42170 + if (p[0] != shiftop || p[1] != shiftop)
42171 + as_bad(_("expected shift operator in `%s'"), p);
42177 + saved = input_line_pointer;
42178 + input_line_pointer = p + 2;
42179 + expression(&exp);
42180 + input_line_pointer = saved;
42182 + if (exp.X_op != O_constant)
42183 + as_bad(_("shift amount must be a numeric constant"));
42185 + shift = exp.X_add_number;
42189 + slot = current_insn.next_slot++;
42190 + current_insn.field_value[slot].value = regid;
42191 + slot = current_insn.next_slot++;
42192 + current_insn.field_value[slot].value = shift;
42195 +/* The match() function selected the right opcode, so it doesn't
42196 + matter which way we shift any more. */
42197 +#define parse_intreg_lsl parse_intreg_shift
42198 +#define parse_intreg_lsr parse_intreg_shift
42201 +parse_intreg_part(const struct avr32_operand *op, char *str,
42202 + int opindex ATTRIBUTE_UNUSED)
42204 + static const char bparts[] = { 'b', 'l', 'u', 't' };
42205 + static const char hparts[] = { 'b', 't' };
42206 + unsigned int slot, sel;
42210 + pr_debug("parse reg:part `%s'\n", str);
42212 + for (p = str; *p; p++)
42217 + regid = avr32_parse_intreg(str);
42218 + assert(regid >= 0);
42221 + assert(c == ':');
42223 + if (op->align_order)
42225 + for (sel = 0; sel < sizeof(hparts); sel++)
42226 + if (TOLOWER(p[1]) == hparts[sel])
42229 + if (sel >= sizeof(hparts))
42231 + as_bad(_("invalid halfword selector `%c' (must be either b or t)"),
42238 + for (sel = 0; sel < sizeof(bparts); sel++)
42239 + if (TOLOWER(p[1]) == bparts[sel])
42242 + if (sel >= sizeof(bparts))
42244 + as_bad(_("invalid byte selector `%c' (must be one of b,l,u,t)"),
42250 + slot = current_insn.next_slot++;
42251 + current_insn.field_value[slot].value = regid;
42252 + slot = current_insn.next_slot++;
42253 + current_insn.field_value[slot].value = sel;
42256 +/* This is the parser for "Rp[displacement]" expressions. In addition
42257 + to the "official" syntax, we accept a label as a replacement for
42258 + the register expression. This syntax implies Rp=PC and the
42259 + displacement is the pc-relative distance to the label. */
42261 +parse_intreg_disp(const struct avr32_operand *op, char *str, int opindex)
42263 + expressionS *exp = ¤t_insn.immediate;
42265 + char *save, *p, c;
42267 + pr_debug("parse_intreg_disp: `%s' (signed: %d, pcrel: %d, align: %d)\n",
42268 + str, op->is_signed, op->is_pcrel, op->align_order);
42270 + for (p = str; *p; p++)
42274 + slot = current_insn.next_slot++;
42276 + /* First, check if we have a valid register either before '[' or as
42277 + the sole expression. If so, we use the Rp[disp] syntax. */
42279 + regid = avr32_parse_intreg(str);
42284 + current_insn.field_value[slot].value = regid;
42286 + slot = current_insn.next_slot++;
42287 + current_insn.field_value[slot].align_order = op->align_order;
42291 + save = input_line_pointer;
42292 + input_line_pointer = p + 1;
42296 + if (*input_line_pointer != ']')
42297 + as_bad(_("junk after displacement expression"));
42299 + input_line_pointer = save;
42301 + switch (exp->X_op)
42304 + as_bad(_("illegal displacement expression"));
42307 + as_bad(_("missing displacement expression"));
42310 + pr_debug(" -> constant: %ld\n", exp->X_add_number);
42311 + current_insn.field_value[slot].value = exp->X_add_number;
42315 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
42316 + current_insn.pcrel = TRUE;
42317 + pr_debug(" -> subtract: pcrel? %s\n",
42318 + current_insn.pcrel ? "yes" : "no");
42319 + /* fall through */
42322 + pr_debug(" -> (%p <%d> %p + %d)\n",
42323 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
42324 + exp->X_add_number);
42325 + current_insn.field_value[slot].value = 0;
42330 + exp->X_op = O_constant;
42331 + exp->X_add_number = 0;
42332 + current_insn.field_value[slot].value = 0;
42337 + /* Didn't find a valid register. Try parsing it as a label. */
42338 + current_insn.field_value[slot].value = AVR32_REG_PC;
42339 + parse_jmplabel(op, str, opindex);
42344 +parse_intreg_index(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42345 + char *str, int opindex ATTRIBUTE_UNUSED)
42348 + char *p, *end, c;
42350 + for (p = str; *p; p++)
42357 + regid = avr32_parse_intreg(str);
42358 + assert(regid >= 0);
42361 + slot = current_insn.next_slot++;
42362 + current_insn.field_value[slot].value = regid;
42365 + for (end = p; *end; end++)
42366 + if (*end == ']' || *end == '<')
42371 + c = *end, *end = 0;
42372 + regid = avr32_parse_intreg(p);
42373 + assert(regid >= 0);
42376 + slot = current_insn.next_slot++;
42377 + current_insn.field_value[slot].value = regid;
42379 + slot = current_insn.next_slot++;
42380 + current_insn.field_value[slot].value = 0;
42388 + for (end = p; *end; end++)
42392 + assert(*end == ']');
42394 + c = *end, *end = 0;
42395 + save = input_line_pointer;
42396 + input_line_pointer = p;
42397 + expression(&exp);
42399 + if (*input_line_pointer)
42400 + as_bad(_("junk after shift expression"));
42403 + input_line_pointer = save;
42405 + if (exp.X_op == O_constant)
42406 + current_insn.field_value[slot].value = exp.X_add_number;
42408 + as_bad(_("shift expression too complex"));
42413 +parse_intreg_xindex(const struct avr32_operand *op, char *str, int opindex)
42416 + char *p, *end, c;
42418 + for (p = str; *p; p++)
42425 + regid = avr32_parse_intreg(str);
42426 + assert(regid >= 0);
42429 + slot = current_insn.next_slot++;
42430 + current_insn.field_value[slot].value = regid;
42433 + for (end = p; *end; end++)
42439 + c = *end, *end = 0;
42440 + parse_intreg_part(op, p, opindex);
42445 +parse_pc_disp(const struct avr32_operand *op, char *str, int opindex)
42449 + for (p = str; *p; p++)
42453 + /* The lddpc instruction comes in two different syntax variants:
42454 + lddpc reg, expression
42455 + lddpc reg, pc[disp]
42456 + If the operand contains a '[', we use the second form. */
42462 + regid = avr32_parse_intreg(str);
42464 + if (regid == AVR32_REG_PC)
42468 + for (end = ++p; *end; end++) ;
42469 + if (*(--end) != ']')
42470 + as_bad(_("unrecognized form of instruction: `%s'"), str);
42473 + c = *end, *end = 0;
42474 + parse_const(op, p, opindex);
42476 + current_insn.pcrel = 0;
42480 + as_bad(_("unrecognized form of instruction: `%s'"), str);
42484 + parse_jmplabel(op, str, opindex);
42488 +static void parse_sp(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42489 + char *str ATTRIBUTE_UNUSED,
42490 + int opindex ATTRIBUTE_UNUSED)
42494 + slot = current_insn.next_slot++;
42495 + current_insn.field_value[slot].value = AVR32_REG_SP;
42499 +parse_sp_disp(const struct avr32_operand *op, char *str, int opindex)
42503 + for (; *str; str++)
42509 + for (p = ++str; *p; p++)
42514 + parse_const(op, str, opindex);
42519 +parse_cpno(const struct avr32_operand *op ATTRIBUTE_UNUSED, char *str,
42520 + int opindex ATTRIBUTE_UNUSED)
42527 + if (*str < '0' || *str > '7' || str[1])
42528 + as_bad(_("invalid coprocessor `%s'"), str);
42530 + slot = current_insn.next_slot++;
42531 + current_insn.field_value[slot].value = *str - '0';
42535 +parse_cpreg(const struct avr32_operand *op, char *str,
42536 + int opindex ATTRIBUTE_UNUSED)
42538 + unsigned int crid;
42543 + crid = strtoul(str, &endptr, 10);
42544 + if (*endptr || crid > 15 || crid & ((1 << op->align_order) - 1))
42545 + as_bad(_("invalid coprocessor register `%s'"), str);
42547 + crid >>= op->align_order;
42549 + slot = current_insn.next_slot++;
42550 + current_insn.field_value[slot].value = crid;
42554 +parse_number(const struct avr32_operand *op, char *str,
42555 + int opindex ATTRIBUTE_UNUSED)
42561 + save = input_line_pointer;
42562 + input_line_pointer = str;
42563 + expression(&exp);
42564 + input_line_pointer = save;
42566 + slot = current_insn.next_slot++;
42567 + current_insn.field_value[slot].align_order = op->align_order;
42569 + if (exp.X_op == O_constant)
42570 + current_insn.field_value[slot].value = exp.X_add_number;
42572 + as_bad(_("invalid numeric expression `%s'"), str);
42576 +parse_reglist8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42577 + char *str, int opindex ATTRIBUTE_UNUSED)
42579 + unsigned long regmask;
42580 + unsigned long value = 0;
42584 + regmask = avr32_parse_reglist(str, &tail);
42586 + as_bad(_("invalid register list `%s'"), str);
42589 + if (avr32_make_regmask8(regmask, &value))
42590 + as_bad(_("register list `%s' doesn't fit"), str);
42593 + slot = current_insn.next_slot++;
42594 + current_insn.field_value[slot].value = value;
42598 +parse_reglist_tail(char *str, unsigned long regmask)
42601 + char *save, *p, c;
42604 + for (p = str + 1; *p; p++)
42610 + as_bad(_("invalid register list `%s'"), str);
42615 + regid = avr32_parse_intreg(str);
42620 + as_bad(_("invalid register list `%s'"), str);
42624 + /* If we have an assignment, we must pop PC and we must _not_
42626 + if (!(regmask & (1 << AVR32_REG_PC)))
42628 + as_bad(_("return value specified for non-return instruction"));
42631 + else if (regmask & ((1 << AVR32_REG_R12) | (1 << AVR32_REG_LR)))
42633 + as_bad(_("can't pop LR or R12 when specifying return value"));
42637 + save = input_line_pointer;
42638 + input_line_pointer = p + 1;
42639 + expression(&exp);
42640 + input_line_pointer = save;
42642 + if (exp.X_op != O_constant
42643 + || exp.X_add_number < -1
42644 + || exp.X_add_number > 1)
42646 + as_bad(_("invalid return value `%s'"), str);
42650 + return exp.X_add_number;
42654 +parse_reglist9(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42655 + char *str, int opindex ATTRIBUTE_UNUSED)
42657 + unsigned long regmask;
42658 + unsigned long value = 0, kbit = 0;
42662 + regmask = avr32_parse_reglist(str, &tail);
42663 + /* printf("parsed reglist16: %04lx, tail: `%s'\n", regmask, tail); */
42668 + retval = parse_reglist_tail(tail, regmask);
42673 + regmask |= 1 << AVR32_REG_LR;
42678 + regmask |= 1 << AVR32_REG_R12;
42687 + if (avr32_make_regmask8(regmask, &value))
42688 + as_bad(_("register list `%s' doesn't fit"), str);
42691 + slot = current_insn.next_slot++;
42692 + current_insn.field_value[slot].value = (value << 1) | kbit;
42696 +parse_reglist16(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42697 + char *str, int opindex ATTRIBUTE_UNUSED)
42699 + unsigned long regmask;
42703 + regmask = avr32_parse_reglist(str, &tail);
42705 + as_bad(_("invalid register list `%s'"), str);
42707 + slot = current_insn.next_slot++;
42708 + current_insn.field_value[slot].value = regmask;
42712 +parse_reglist_ldm(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42713 + char *str, int opindex ATTRIBUTE_UNUSED)
42715 + unsigned long regmask;
42716 + int slot, rp, w_bit = 0;
42717 + char *tail, *p, c;
42719 + for (p = str; *p && *p != ','; p++)
42724 + rp = avr32_parse_intreg(str);
42728 + as_bad(_("invalid destination register in `%s'"), str);
42732 + if (p[0] == '+' && p[1] == '+')
42740 + as_bad(_("expected `,' after destination register in `%s'"), str);
42745 + regmask = avr32_parse_reglist(str, &tail);
42750 + if (rp != AVR32_REG_SP)
42752 + as_bad(_("junk at end of line: `%s'"), tail);
42756 + rp = AVR32_REG_PC;
42758 + retval = parse_reglist_tail(tail, regmask);
42763 + regmask |= 1 << AVR32_REG_LR;
42768 + regmask |= 1 << AVR32_REG_R12;
42775 + slot = current_insn.next_slot++;
42776 + current_insn.field_value[slot].value = rp;
42777 + slot = current_insn.next_slot++;
42778 + current_insn.field_value[slot].value = w_bit;
42779 + slot = current_insn.next_slot++;
42780 + current_insn.field_value[slot].value = regmask;
42784 +parse_reglist_cp8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42785 + char *str, int opindex ATTRIBUTE_UNUSED)
42787 + unsigned long regmask;
42788 + int slot, h_bit = 0;
42791 + regmask = avr32_parse_cpreglist(str, &tail);
42793 + as_bad(_("junk at end of line: `%s'"), tail);
42794 + else if (regmask & 0xffUL)
42796 + if (regmask & 0xff00UL)
42797 + as_bad(_("register list `%s' doesn't fit"), str);
42800 + else if (regmask & 0xff00UL)
42806 + as_warn(_("register list is empty"));
42808 + slot = current_insn.next_slot++;
42809 + current_insn.field_value[slot].value = regmask;
42810 + slot = current_insn.next_slot++;
42811 + current_insn.field_value[slot].value = h_bit;
42815 +parse_reglist_cpd8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42816 + char *str, int opindex ATTRIBUTE_UNUSED)
42818 + unsigned long regmask, regmask_d = 0;
42822 + regmask = avr32_parse_cpreglist(str, &tail);
42824 + as_bad(_("junk at end of line: `%s'"), tail);
42826 + for (i = 0; i < 8; i++)
42830 + if (!(regmask & 2))
42832 + as_bad(_("register list `%s' doesn't fit"), str);
42835 + regmask_d |= 1 << i;
42837 + else if (regmask & 2)
42839 + as_bad(_("register list `%s' doesn't fit"), str);
42846 + slot = current_insn.next_slot++;
42847 + current_insn.field_value[slot].value = regmask_d;
42851 +parse_retval(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42852 + char *str, int opindex ATTRIBUTE_UNUSED)
42856 + regid = avr32_parse_intreg(str);
42864 + save = input_line_pointer;
42865 + input_line_pointer = str;
42866 + expression(&exp);
42867 + input_line_pointer = save;
42869 + if (exp.X_op != O_constant)
42870 + as_bad(_("invalid return value `%s'"), str);
42872 + switch (exp.X_add_number)
42875 + regid = AVR32_REG_LR;
42878 + regid = AVR32_REG_SP;
42881 + regid = AVR32_REG_PC;
42884 + as_bad(_("invalid return value `%s'"), str);
42889 + slot = current_insn.next_slot++;
42890 + current_insn.field_value[slot].value = regid;
42893 +#define parse_mcall parse_intreg_disp
42896 +parse_jospinc(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42897 + char *str, int opindex ATTRIBUTE_UNUSED)
42903 + save = input_line_pointer;
42904 + input_line_pointer = str;
42905 + expression(&exp);
42906 + input_line_pointer = save;
42908 + slot = current_insn.next_slot++;
42910 + if (exp.X_op == O_constant)
42912 + if (exp.X_add_number > 0)
42913 + exp.X_add_number--;
42914 + current_insn.field_value[slot].value = exp.X_add_number;
42917 + as_bad(_("invalid numeric expression `%s'"), str);
42920 +#define parse_coh parse_nothing
42923 +parse_fpreg(const struct avr32_operand *op,
42924 + char *str, int opindex ATTRIBUTE_UNUSED)
42926 + unsigned long regid;
42929 + regid = strtoul(str + 2, NULL, 10);
42931 + if ((regid >= 16) || (regid & ((1 << op->align_order) - 1)))
42932 + as_bad(_("invalid floating-point register `%s'"), str);
42934 + slot = current_insn.next_slot++;
42935 + current_insn.field_value[slot].value = regid;
42936 + current_insn.field_value[slot].align_order = op->align_order;
42940 +parse_picoreg(const struct avr32_operand *op,
42941 + char *str, int opindex ATTRIBUTE_UNUSED)
42943 + unsigned long regid;
42946 + regid = avr32_parse_picoreg(str);
42947 + if (regid & ((1 << op->align_order) - 1))
42948 + as_bad(_("invalid double-word PiCo register `%s'"), str);
42950 + slot = current_insn.next_slot++;
42951 + current_insn.field_value[slot].value = regid;
42952 + current_insn.field_value[slot].align_order = op->align_order;
42956 +parse_pico_reglist_w(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42957 + char *str, int opindex ATTRIBUTE_UNUSED)
42959 + unsigned long regmask;
42960 + int slot, h_bit = 0;
42963 + regmask = avr32_parse_pico_reglist(str, &tail);
42965 + as_bad(_("junk at end of line: `%s'"), tail);
42967 + if (regmask & 0x00ffUL)
42969 + if (regmask & 0xff00UL)
42970 + as_bad(_("register list `%s' doesn't fit"), str);
42971 + regmask &= 0x00ffUL;
42973 + else if (regmask & 0xff00UL)
42979 + as_warn(_("register list is empty"));
42981 + slot = current_insn.next_slot++;
42982 + current_insn.field_value[slot].value = regmask;
42983 + slot = current_insn.next_slot++;
42984 + current_insn.field_value[slot].value = h_bit;
42988 +parse_pico_reglist_d(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42989 + char *str, int opindex ATTRIBUTE_UNUSED)
42991 + unsigned long regmask, regmask_d = 0;
42995 + regmask = avr32_parse_pico_reglist(str, &tail);
42997 + as_bad(_("junk at end of line: `%s'"), tail);
42999 + for (i = 0; i < 8; i++)
43003 + if (!(regmask & 2))
43005 + as_bad(_("register list `%s' doesn't fit"), str);
43008 + regmask_d |= 1 << i;
43010 + else if (regmask & 2)
43012 + as_bad(_("register list `%s' doesn't fit"), str);
43019 + slot = current_insn.next_slot++;
43020 + current_insn.field_value[slot].value = regmask_d;
43024 +parse_pico_in(const struct avr32_operand *op ATTRIBUTE_UNUSED,
43025 + char *str, int opindex ATTRIBUTE_UNUSED)
43027 + unsigned long regid;
43030 + regid = strtoul(str + 2, NULL, 10);
43033 + as_bad(_("invalid PiCo IN register `%s'"), str);
43035 + slot = current_insn.next_slot++;
43036 + current_insn.field_value[slot].value = regid;
43037 + current_insn.field_value[slot].align_order = 0;
43040 +#define parse_pico_out0 parse_nothing
43041 +#define parse_pico_out1 parse_nothing
43042 +#define parse_pico_out2 parse_nothing
43043 +#define parse_pico_out3 parse_nothing
43045 +#define OP(name, sgn, pcrel, align, func) \
43046 + { AVR32_OPERAND_##name, sgn, pcrel, align, match_##func, parse_##func }
43048 +struct avr32_operand avr32_operand_table[] = {
43049 + OP(INTREG, 0, 0, 0, intreg),
43050 + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
43051 + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
43052 + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
43053 + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
43054 + OP(INTREG_BSEL, 0, 0, 0, intreg_part),
43055 + OP(INTREG_HSEL, 0, 0, 1, intreg_part),
43056 + OP(INTREG_SDISP, 1, 0, 0, intreg_disp),
43057 + OP(INTREG_SDISP_H, 1, 0, 1, intreg_disp),
43058 + OP(INTREG_SDISP_W, 1, 0, 2, intreg_disp),
43059 + OP(INTREG_UDISP, 0, 0, 0, intreg_disp),
43060 + OP(INTREG_UDISP_H, 0, 0, 1, intreg_disp),
43061 + OP(INTREG_UDISP_W, 0, 0, 2, intreg_disp),
43062 + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
43063 + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
43064 + OP(DWREG, 0, 0, 1, intreg),
43065 + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
43066 + OP(SP, 0, 0, 0, sp),
43067 + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
43068 + OP(CPNO, 0, 0, 0, cpno),
43069 + OP(CPREG, 0, 0, 0, cpreg),
43070 + OP(CPREG_D, 0, 0, 1, cpreg),
43071 + OP(UNSIGNED_CONST, 0, 0, 0, const),
43072 + OP(UNSIGNED_CONST_W, 0, 0, 2, const),
43073 + OP(SIGNED_CONST, 1, 0, 0, const),
43074 + OP(SIGNED_CONST_W, 1, 0, 2, const),
43075 + OP(JMPLABEL, 1, 1, 1, jmplabel),
43076 + OP(UNSIGNED_NUMBER, 0, 0, 0, number),
43077 + OP(UNSIGNED_NUMBER_W, 0, 0, 2, number),
43078 + OP(REGLIST8, 0, 0, 0, reglist8),
43079 + OP(REGLIST9, 0, 0, 0, reglist9),
43080 + OP(REGLIST16, 0, 0, 0, reglist16),
43081 + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
43082 + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
43083 + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
43084 + OP(RETVAL, 0, 0, 0, retval),
43085 + OP(MCALL, 1, 0, 2, mcall),
43086 + OP(JOSPINC, 0, 0, 0, jospinc),
43087 + OP(COH, 0, 0, 0, coh),
43088 + OP(FPREG_S, 0, 0, 0, fpreg),
43089 + OP(FPREG_D, 0, 0, 1, fpreg),
43090 + OP(PICO_REG_W, 0, 0, 0, picoreg),
43091 + OP(PICO_REG_D, 0, 0, 1, picoreg),
43092 + OP(PICO_REGLIST_W, 0, 0, 0, pico_reglist_w),
43093 + OP(PICO_REGLIST_D, 0, 0, 0, pico_reglist_d),
43094 + OP(PICO_IN, 0, 0, 0, pico_in),
43095 + OP(PICO_OUT0, 0, 0, 0, pico_out0),
43096 + OP(PICO_OUT1, 0, 0, 0, pico_out1),
43097 + OP(PICO_OUT2, 0, 0, 0, pico_out2),
43098 + OP(PICO_OUT3, 0, 0, 0, pico_out3),
43102 +md_undefined_symbol (char *name ATTRIBUTE_UNUSED)
43104 + pr_debug("md_undefined_symbol: %s\n", name);
43108 +struct avr32_relax_type
43110 + long lower_bound;
43111 + long upper_bound;
43112 + unsigned char align;
43113 + unsigned char length;
43114 + signed short next;
43117 +#define EMPTY { 0, 0, 0, 0, -1 }
43118 +#define C(lower, upper, align, next) \
43119 + { (lower), (upper), (align), 2, AVR32_OPC_##next }
43120 +#define E(lower, upper, align) \
43121 + { (lower), (upper), (align), 4, -1 }
43123 +static const struct avr32_relax_type avr32_relax_table[] =
43126 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43127 + EMPTY, EMPTY, EMPTY,
43128 + E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0),
43131 + EMPTY, EMPTY, EMPTY, EMPTY,
43133 + C(-256, 254, 1, BREQ2), C(-256, 254, 1, BRNE2),
43134 + C(-256, 254, 1, BRCC2), C(-256, 254, 1, BRCS2),
43135 + C(-256, 254, 1, BRGE2), C(-256, 254, 1, BRLT2),
43136 + C(-256, 254, 1, BRMI2), C(-256, 254, 1, BRPL2),
43137 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43138 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43140 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43141 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43142 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43143 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43144 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43145 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43147 + EMPTY, EMPTY, EMPTY, EMPTY,
43149 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43150 + EMPTY, EMPTY, EMPTY,
43152 + C(-32, 31, 0, CP_W3), E(-1048576, 1048575, 0),
43154 + EMPTY, EMPTY, EMPTY,
43156 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43157 + E(0, 65535, 0), E(0, 65535, 0),
43158 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43159 + E(-32768, 32767, 0),
43161 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43163 + C(0, 7, 0, LD_UB4), E(-32768, 32767, 0),
43168 + C(0, 14, 1, LD_SH4), E(-32768, 32767, 0),
43170 + EMPTY, EMPTY, EMPTY,
43172 + C(0, 14, 1, LD_UH4), E(-32768, 32767, 0),
43174 + EMPTY, EMPTY, EMPTY, EMPTY,
43176 + C(0, 124, 2, LD_W4), E(-32768, 32767, 0),
43178 + E(0, 1020, 2), /* LDC_D1 */
43180 + E(0, 1020, 2), /* LDC_W1 */
43182 + E(0, 16380, 2), /* LDC0_D */
43183 + E(0, 16380, 2), /* LDC0_W */
43184 + EMPTY, EMPTY, EMPTY, EMPTY,
43186 + C(0, 508, 2, LDDPC_EXT), E(-32768, 32767, 0),
43189 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43190 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43191 + /* 128: MACHH_W */
43192 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43193 + E(-131072, 131068, 2), /* MCALL */
43194 + E(0, 1020, 2), /* MFDR */
43195 + E(0, 1020, 2), /* MFSR */
43198 + C(-128, 127, 0, MOV2), E(-1048576, 1048575, 0),
43200 + EMPTY, EMPTY, EMPTY,
43201 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43202 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43204 + E(-128, 127, 0), /* MOVEQ2 */
43205 + E(-128, 127, 0), /* MOVNE2 */
43206 + E(-128, 127, 0), /* MOVCC2 */
43207 + E(-128, 127, 0), /* 160: MOVCS2 */
43208 + E(-128, 127, 0), /* MOVGE2 */
43209 + E(-128, 127, 0), /* MOVLT2 */
43210 + E(-128, 127, 0), /* MOVMI2 */
43211 + E(-128, 127, 0), /* MOVPL2 */
43212 + E(-128, 127, 0), /* MOVLS2 */
43213 + E(-128, 127, 0), /* MOVGT2 */
43214 + E(-128, 127, 0), /* MOVLE2 */
43215 + E(-128, 127, 0), /* MOVHI2 */
43216 + E(-128, 127, 0), /* MOVVS2 */
43217 + E(-128, 127, 0), /* MOVVC2 */
43218 + E(-128, 127, 0), /* MOVQS2 */
43219 + E(-128, 127, 0), /* MOVAL2 */
43221 + E(0, 1020, 2), /* MTDR */
43222 + E(0, 1020, 2), /* MTSR */
43225 + E(-128, 127, 0), /* MUL3 */
43226 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43227 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43228 + /* 192: MVCR_W */
43229 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43230 + E(0, 65535, 0), E(0, 65535, 0),
43231 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43232 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43233 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43234 + /* 224: PASR_H */
43235 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43236 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43237 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43238 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43239 + /* 256: PUNPCKSB_H */
43240 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43242 + C(-1024, 1022, 1, RCALL2), E(-2097152, 2097150, 1),
43245 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43246 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43247 + EMPTY, EMPTY, EMPTY,
43249 + C(-1024, 1022, 1, BRAL),
43251 + EMPTY, EMPTY, EMPTY,
43252 + E(-128, 127, 0), /* RSUB2 */
43253 + /* 288: SATADD_H */
43254 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43255 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43256 + E(0, 255, 0), /* SLEEP */
43258 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43259 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43262 + C(0, 7, 0, ST_B4), E(-32768, 32767, 0),
43263 + EMPTY, EMPTY, EMPTY, EMPTY,
43264 + E(-32768, 32767, 0),
43265 + EMPTY, EMPTY, EMPTY,
43266 + C(0, 14, 1, ST_H4), E(-32768, 32767, 0),
43269 + C(0, 60, 2, ST_W4), E(-32768, 32767, 0),
43270 + E(0, 1020, 2), /* STC_D1 */
43272 + E(0, 1020, 2), /* STC_W1 */
43274 + E(0, 16380, 2), /* STC0_D */
43275 + E(0, 16380, 2), /* STC0_W */
43277 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43280 + E(0, 1020, 2), /* STHH_W1 */
43281 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43282 + EMPTY, EMPTY, EMPTY,
43283 + E(-32768, 32767, 0),
43284 + C(-512, 508, 2, SUB4),
43285 + C(-128, 127, 0, SUB4), E(-1048576, 1048576, 0),
43287 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43288 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43289 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43290 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43292 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43293 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43294 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43295 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43298 + /* 400: SWAP_B */
43299 + EMPTY, EMPTY, EMPTY,
43300 + E(0, 255, 0), /* SYNC */
43301 + EMPTY, EMPTY, EMPTY, EMPTY,
43303 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43304 + /* 416: EXTRACT_B */
43305 + EMPTY, EMPTY, EMPTY, EMPTY,
43312 +#define AVR32_RS_NONE (-1)
43314 +#define avr32_rs_size(state) (avr32_relax_table[(state)].length)
43315 +#define avr32_rs_align(state) (avr32_relax_table[(state)].align)
43316 +#define relax_more(state) (avr32_relax_table[(state)].next)
43318 +#define opc_initial_substate(opc) ((opc)->id)
43320 +static int need_relax(int subtype, offsetT distance)
43322 + offsetT upper_bound, lower_bound;
43324 + upper_bound = avr32_relax_table[subtype].upper_bound;
43325 + lower_bound = avr32_relax_table[subtype].lower_bound;
43327 + if (distance & ((1 << avr32_rs_align(subtype)) - 1))
43329 + if ((distance > upper_bound) || (distance < lower_bound))
43336 + LDA_SUBTYPE_MOV1,
43337 + LDA_SUBTYPE_MOV2,
43339 + LDA_SUBTYPE_LDDPC,
43341 + LDA_SUBTYPE_GOTLOAD,
43342 + LDA_SUBTYPE_GOTLOAD_LARGE,
43346 + CALL_SUBTYPE_RCALL1,
43347 + CALL_SUBTYPE_RCALL2,
43348 + CALL_SUBTYPE_MCALL_CP,
43349 + CALL_SUBTYPE_MCALL_GOT,
43350 + CALL_SUBTYPE_MCALL_LARGE,
43353 +#define LDA_INITIAL_SIZE (avr32_pic ? 4 : 2)
43354 +#define CALL_INITIAL_SIZE 2
43356 +#define need_reloc(sym, seg, pcrel) \
43357 + (!(S_IS_DEFINED(sym) \
43358 + && ((pcrel && S_GET_SEGMENT(sym) == seg) \
43359 + || (!pcrel && S_GET_SEGMENT(sym) == absolute_section))) \
43360 + || S_FORCE_RELOC(sym, 1))
43362 +/* Return an initial guess of the length by which a fragment must grow to
43363 + hold a branch to reach its destination.
43364 + Also updates fr_type/fr_subtype as necessary.
43366 + Called just before doing relaxation.
43367 + Any symbol that is now undefined will not become defined.
43368 + The guess for fr_var is ACTUALLY the growth beyond fr_fix.
43369 + Whatever we do to grow fr_fix or fr_var contributes to our returned value.
43370 + Although it may not be explicit in the frag, pretend fr_var starts with a
43374 +avr32_default_estimate_size_before_relax (fragS *fragP, segT segment)
43379 + assert(fragP->fr_symbol);
43381 + if (fragP->tc_frag_data.force_extended
43382 + || need_reloc(fragP->fr_symbol, segment, fragP->tc_frag_data.pcrel))
43384 + int largest_state = fragP->fr_subtype;
43385 + while (relax_more(largest_state) != AVR32_RS_NONE)
43386 + largest_state = relax_more(largest_state);
43387 + growth = avr32_rs_size(largest_state) - fragP->fr_var;
43391 + growth = avr32_rs_size(fragP->fr_subtype) - fragP->fr_var;
43394 + pr_debug("%s:%d: md_estimate_size_before_relax: %d\n",
43395 + fragP->fr_file, fragP->fr_line, growth);
43401 +avr32_lda_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
43403 + return fragP->fr_var - LDA_INITIAL_SIZE;
43407 +avr32_call_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
43409 + return fragP->fr_var - CALL_INITIAL_SIZE;
43413 +avr32_cpool_estimate_size_before_relax(fragS *fragP,
43414 + segT segment ATTRIBUTE_UNUSED)
43416 + return fragP->fr_var;
43419 +/* This macro may be defined to relax a frag. GAS will call this with the
43420 + * segment, the frag, and the change in size of all previous frags;
43421 + * md_relax_frag should return the change in size of the frag. */
43423 +avr32_default_relax_frag (segT segment, fragS *fragP, long stretch)
43425 + int state, next_state;
43426 + symbolS *symbolP; /* The target symbol */
43429 + state = next_state = fragP->fr_subtype;
43431 + symbolP = fragP->fr_symbol;
43433 + if (fragP->tc_frag_data.force_extended
43434 + || need_reloc(symbolP, segment, fragP->tc_frag_data.pcrel))
43436 + /* Symbol must be resolved by the linker. Emit the largest
43437 + possible opcode. */
43438 + while (relax_more(next_state) != AVR32_RS_NONE)
43439 + next_state = relax_more(next_state);
43443 + addressT address; /* The address of fragP */
43444 + addressT target; /* The address of the target symbol */
43445 + offsetT distance; /* The distance between the insn and the symbol */
43448 + address = fragP->fr_address;
43449 + target = fragP->fr_offset;
43450 + symbolP = fragP->fr_symbol;
43451 + sym_frag = symbol_get_frag(symbolP);
43453 + address += fragP->fr_fix - fragP->fr_var;
43454 + target += S_GET_VALUE(symbolP);
43457 + && sym_frag->relax_marker != fragP->relax_marker
43458 + && S_GET_SEGMENT(symbolP) == segment)
43459 + /* if it was correctly aligned before, make sure it stays aligned */
43460 + target += stretch & (~0UL << avr32_rs_align(state));
43462 + if (fragP->tc_frag_data.pcrel)
43463 + distance = target - (address & (~0UL << avr32_rs_align(state)));
43465 + distance = target;
43467 + pr_debug("%s:%d: relax more? 0x%x - 0x%x = 0x%x (%d), align %d\n",
43468 + fragP->fr_file, fragP->fr_line, target, address,
43469 + distance, distance, avr32_rs_align(state));
43471 + if (need_relax(state, distance))
43473 + if (relax_more(state) != AVR32_RS_NONE)
43474 + next_state = relax_more(state);
43475 + pr_debug("%s:%d: relax more %d -> %d (%d - %d, align %d)\n",
43476 + fragP->fr_file, fragP->fr_line, state, next_state,
43477 + target, address, avr32_rs_align(state));
43481 + growth = avr32_rs_size(next_state) - avr32_rs_size(state);
43482 + fragP->fr_subtype = next_state;
43484 + pr_debug("%s:%d: md_relax_frag: growth=%d, subtype=%d, opc=0x%08lx\n",
43485 + fragP->fr_file, fragP->fr_line, growth, fragP->fr_subtype,
43486 + avr32_opc_table[next_state].value);
43492 +avr32_lda_relax_frag(segT segment, fragS *fragP, long stretch)
43494 + struct cpool *pool= NULL;
43495 + unsigned int entry = 0;
43496 + addressT address, target;
43497 + offsetT distance;
43498 + symbolS *symbolP;
43500 + long old_size, new_size;
43502 + symbolP = fragP->fr_symbol;
43503 + old_size = fragP->fr_var;
43506 + pool = fragP->tc_frag_data.pool;
43507 + entry = fragP->tc_frag_data.pool_entry;
43510 + address = fragP->fr_address;
43511 + address += fragP->fr_fix - LDA_INITIAL_SIZE;
43513 + if (!S_IS_DEFINED(symbolP) || S_FORCE_RELOC(symbolP, 1))
43516 + target = fragP->fr_offset;
43517 + sym_frag = symbol_get_frag(symbolP);
43518 + target += S_GET_VALUE(symbolP);
43520 + if (sym_frag->relax_marker != fragP->relax_marker
43521 + && S_GET_SEGMENT(symbolP) == segment)
43522 + target += stretch;
43524 + distance = target - address;
43526 + pr_debug("lda_relax_frag: target: %d, address: %d, var: %d\n",
43527 + target, address, fragP->fr_var);
43529 + if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
43530 + && target <= 127 && (offsetT)target >= -128)
43532 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
43533 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
43534 + pool->literals[entry].refcount--;
43536 + fragP->fr_subtype = LDA_SUBTYPE_MOV1;
43538 + else if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
43539 + && target <= 1048575 && (offsetT)target >= -1048576)
43541 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
43542 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
43543 + pool->literals[entry].refcount--;
43545 + fragP->fr_subtype = LDA_SUBTYPE_MOV2;
43547 + else if (!linkrelax && S_GET_SEGMENT(symbolP) == segment
43548 + /* the field will be negated, so this is really -(-32768)
43550 + && distance <= 32768 && distance >= -32767)
43553 + && (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
43554 + || fragP->fr_subtype == LDA_SUBTYPE_LDW))
43555 + pool->literals[entry].refcount--;
43557 + fragP->fr_subtype = LDA_SUBTYPE_SUB;
43567 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD_LARGE;
43572 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD;
43577 + if (fragP->fr_subtype != LDA_SUBTYPE_LDDPC
43578 + && fragP->fr_subtype != LDA_SUBTYPE_LDW)
43579 + pool->literals[entry].refcount++;
43581 + sym_frag = symbol_get_frag(pool->symbol);
43582 + target = (sym_frag->fr_address + sym_frag->fr_fix
43583 + + pool->padding + pool->literals[entry].offset);
43585 + pr_debug("cpool sym address: 0x%lx\n",
43586 + sym_frag->fr_address + sym_frag->fr_fix);
43588 + know(pool->section == segment);
43590 + if (sym_frag->relax_marker != fragP->relax_marker)
43591 + target += stretch;
43593 + distance = target - address;
43594 + if (distance <= 508 && distance >= 0)
43597 + fragP->fr_subtype = LDA_SUBTYPE_LDDPC;
43602 + fragP->fr_subtype = LDA_SUBTYPE_LDW;
43605 + pr_debug("lda_relax_frag (cpool): target=0x%lx, address=0x%lx, refcount=%d\n",
43606 + target, address, pool->literals[entry].refcount);
43610 + fragP->fr_var = new_size;
43612 + pr_debug("%s:%d: lda: relax pass done. subtype: %d, growth: %ld\n",
43613 + fragP->fr_file, fragP->fr_line,
43614 + fragP->fr_subtype, new_size - old_size);
43616 + return new_size - old_size;
43620 +avr32_call_relax_frag(segT segment, fragS *fragP, long stretch)
43622 + struct cpool *pool = NULL;
43623 + unsigned int entry = 0;
43624 + addressT address, target;
43625 + offsetT distance;
43626 + symbolS *symbolP;
43628 + long old_size, new_size;
43630 + symbolP = fragP->fr_symbol;
43631 + old_size = fragP->fr_var;
43634 + pool = fragP->tc_frag_data.pool;
43635 + entry = fragP->tc_frag_data.pool_entry;
43638 + address = fragP->fr_address;
43639 + address += fragP->fr_fix - CALL_INITIAL_SIZE;
43641 + if (need_reloc(symbolP, segment, 1))
43643 + pr_debug("call: must emit reloc\n");
43647 + target = fragP->fr_offset;
43648 + sym_frag = symbol_get_frag(symbolP);
43649 + target += S_GET_VALUE(symbolP);
43651 + if (sym_frag->relax_marker != fragP->relax_marker
43652 + && S_GET_SEGMENT(symbolP) == segment)
43653 + target += stretch;
43655 + distance = target - address;
43657 + if (distance <= 1022 && distance >= -1024)
43659 + pr_debug("call: distance is %d, emitting short rcall\n", distance);
43660 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
43661 + pool->literals[entry].refcount--;
43663 + fragP->fr_subtype = CALL_SUBTYPE_RCALL1;
43665 + else if (distance <= 2097150 && distance >= -2097152)
43667 + pr_debug("call: distance is %d, emitting long rcall\n", distance);
43668 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
43669 + pool->literals[entry].refcount--;
43671 + fragP->fr_subtype = CALL_SUBTYPE_RCALL2;
43675 + pr_debug("call: distance %d too far, emitting something big\n", distance);
43683 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_LARGE;
43688 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_GOT;
43693 + if (fragP->fr_subtype != CALL_SUBTYPE_MCALL_CP)
43694 + pool->literals[entry].refcount++;
43697 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_CP;
43701 + fragP->fr_var = new_size;
43703 + pr_debug("%s:%d: call: relax pass done, growth: %d, fr_var: %d\n",
43704 + fragP->fr_file, fragP->fr_line,
43705 + new_size - old_size, fragP->fr_var);
43707 + return new_size - old_size;
43711 +avr32_cpool_relax_frag(segT segment ATTRIBUTE_UNUSED,
43713 + long stretch ATTRIBUTE_UNUSED)
43715 + struct cpool *pool;
43716 + addressT address;
43717 + long old_size, new_size;
43718 + unsigned int entry;
43720 + pool = fragP->tc_frag_data.pool;
43721 + address = fragP->fr_address + fragP->fr_fix;
43722 + old_size = fragP->fr_var;
43725 + for (entry = 0; entry < pool->next_free_entry; entry++)
43727 + if (pool->literals[entry].refcount > 0)
43729 + pool->literals[entry].offset = new_size;
43734 + fragP->fr_var = new_size;
43736 + return new_size - old_size;
43739 +/* *fragP has been relaxed to its final size, and now needs to have
43740 + the bytes inside it modified to conform to the new size.
43742 + Called after relaxation is finished.
43743 + fragP->fr_type == rs_machine_dependent.
43744 + fragP->fr_subtype is the subtype of what the address relaxed to. */
43747 +avr32_default_convert_frag (bfd *abfd ATTRIBUTE_UNUSED,
43748 + segT segment ATTRIBUTE_UNUSED,
43751 + const struct avr32_opcode *opc;
43752 + const struct avr32_ifield *ifield;
43753 + bfd_reloc_code_real_type r_type;
43754 + symbolS *symbolP;
43759 + opc = &avr32_opc_table[fragP->fr_subtype];
43760 + ifield = opc->fields[opc->var_field];
43761 + symbolP = fragP->fr_symbol;
43762 + subtype = fragP->fr_subtype;
43763 + r_type = opc->reloc_type;
43765 + /* Clear the opcode bits and the bits belonging to the relaxed
43766 + field. We assume all other fields stay the same. */
43767 + value = bfd_getb32(fragP->fr_opcode);
43768 + value &= ~(opc->mask | ifield->mask);
43770 + /* Insert the new opcode */
43771 + value |= opc->value;
43772 + bfd_putb32(value, fragP->fr_opcode);
43774 + fragP->fr_fix += opc->size - fragP->fr_var;
43776 + if (fragP->tc_frag_data.reloc_info != AVR32_OPINFO_NONE)
43778 + switch (fragP->tc_frag_data.reloc_info)
43780 + case AVR32_OPINFO_HI:
43781 + r_type = BFD_RELOC_HI16;
43783 + case AVR32_OPINFO_LO:
43784 + r_type = BFD_RELOC_LO16;
43786 + case AVR32_OPINFO_GOT:
43789 + case BFD_RELOC_AVR32_18W_PCREL:
43790 + r_type = BFD_RELOC_AVR32_GOT18SW;
43792 + case BFD_RELOC_AVR32_16S:
43793 + r_type = BFD_RELOC_AVR32_GOT16S;
43796 + BAD_CASE(r_type);
43801 + BAD_CASE(fragP->tc_frag_data.reloc_info);
43806 + pr_debug("%s:%d: convert_frag: new %s fixup\n",
43807 + fragP->fr_file, fragP->fr_line,
43808 + bfd_get_reloc_code_name(r_type));
43811 + fixP = fix_new_exp(fragP, fragP->fr_fix - opc->size, opc->size,
43812 + &fragP->tc_frag_data.exp,
43813 + fragP->tc_frag_data.pcrel, r_type);
43815 + fixP = fix_new(fragP, fragP->fr_fix - opc->size, opc->size, symbolP,
43816 + fragP->fr_offset, fragP->tc_frag_data.pcrel, r_type);
43819 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
43820 + the point of the fixup, relative to the frag address. fix_new()
43821 + and friends think they are only being called during the assembly
43822 + pass, not during relaxation or similar, so fx_dot_value, fx_file
43823 + and fx_line are all initialized to the wrong value. But we don't
43824 + know the size of the fixup until now, so we really can't live up
43825 + to the assumptions these functions make about the target. What
43826 + do these functions think the "where" and "frag" argument mean
43828 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
43829 + fixP->fx_file = fragP->fr_file;
43830 + fixP->fx_line = fragP->fr_line;
43832 + fixP->tc_fix_data.ifield = ifield;
43833 + fixP->tc_fix_data.align = avr32_rs_align(subtype);
43834 + fixP->tc_fix_data.min = avr32_relax_table[subtype].lower_bound;
43835 + fixP->tc_fix_data.max = avr32_relax_table[subtype].upper_bound;
43839 +avr32_lda_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
43840 + segT segment ATTRIBUTE_UNUSED,
43843 + const struct avr32_opcode *opc;
43844 + const struct avr32_ifield *ifield;
43845 + bfd_reloc_code_real_type r_type;
43847 + struct cpool *pool;
43850 + int regid, pcrel = 0, align = 0;
43853 + r_type = BFD_RELOC_NONE;
43854 + regid = fragP->tc_frag_data.reloc_info;
43855 + p = fragP->fr_opcode;
43856 + exp.X_add_symbol = fragP->fr_symbol;
43857 + exp.X_add_number = fragP->fr_offset;
43858 + exp.X_op = O_symbol;
43860 + pr_debug("%s:%d: lda_convert_frag, subtype: %d, fix: %d, var: %d, regid: %d\n",
43861 + fragP->fr_file, fragP->fr_line,
43862 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var, regid);
43864 + switch (fragP->fr_subtype)
43866 + case LDA_SUBTYPE_MOV1:
43867 + opc = &avr32_opc_table[AVR32_OPC_MOV1];
43868 + opc->fields[0]->insert(opc->fields[0], p, regid);
43869 + ifield = opc->fields[1];
43870 + r_type = opc->reloc_type;
43872 + case LDA_SUBTYPE_MOV2:
43873 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
43874 + opc->fields[0]->insert(opc->fields[0], p, regid);
43875 + ifield = opc->fields[1];
43876 + r_type = opc->reloc_type;
43878 + case LDA_SUBTYPE_SUB:
43879 + opc = &avr32_opc_table[AVR32_OPC_SUB5];
43880 + opc->fields[0]->insert(opc->fields[0], p, regid);
43881 + opc->fields[1]->insert(opc->fields[1], p, AVR32_REG_PC);
43882 + ifield = opc->fields[2];
43883 + r_type = BFD_RELOC_AVR32_16N_PCREL;
43885 + /* Pretend that SUB5 isn't a "negated" pcrel expression for now.
43886 + We'll have to fix it up later when we know whether to
43887 + generate a reloc for it (in which case the linker will negate
43888 + it, so we shouldn't). */
43891 + case LDA_SUBTYPE_LDDPC:
43892 + opc = &avr32_opc_table[AVR32_OPC_LDDPC];
43894 + r_type = BFD_RELOC_AVR32_9W_CP;
43895 + goto cpool_common;
43896 + case LDA_SUBTYPE_LDW:
43897 + opc = &avr32_opc_table[AVR32_OPC_LDDPC_EXT];
43898 + r_type = BFD_RELOC_AVR32_16_CP;
43900 + opc->fields[0]->insert(opc->fields[0], p, regid);
43901 + ifield = opc->fields[1];
43902 + pool = fragP->tc_frag_data.pool;
43903 + exp.X_add_symbol = pool->symbol;
43904 + exp.X_add_number = pool->literals[fragP->tc_frag_data.pool_entry].offset;
43907 + case LDA_SUBTYPE_GOTLOAD_LARGE:
43908 + /* ld.w Rd, r6[Rd << 2] (last) */
43909 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
43910 + bfd_putb32(opc->value, p + 4);
43911 + opc->fields[0]->insert(opc->fields[0], p + 4, regid);
43912 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
43913 + opc->fields[2]->insert(opc->fields[2], p + 4, regid);
43914 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
43916 + /* mov Rd, (got_offset / 4) */
43917 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
43918 + opc->fields[0]->insert(opc->fields[0], p, regid);
43919 + ifield = opc->fields[1];
43920 + r_type = BFD_RELOC_AVR32_LDA_GOT;
43922 + case LDA_SUBTYPE_GOTLOAD:
43923 + opc = &avr32_opc_table[AVR32_OPC_LD_W4];
43924 + opc->fields[0]->insert(opc->fields[0], p, regid);
43925 + opc->fields[1]->insert(opc->fields[1], p, 6);
43926 + ifield = opc->fields[2];
43927 + if (r_type == BFD_RELOC_NONE)
43928 + r_type = BFD_RELOC_AVR32_GOT16S;
43931 + BAD_CASE(fragP->fr_subtype);
43934 + value = bfd_getb32(p);
43935 + value &= ~(opc->mask | ifield->mask);
43936 + value |= opc->value;
43937 + bfd_putb32(value, p);
43939 + fragP->fr_fix += fragP->fr_var - LDA_INITIAL_SIZE;
43941 + if (fragP->fr_next
43942 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
43943 + != fragP->fr_fix))
43945 + fprintf(stderr, "LDA frag: fr_fix is wrong! fragP->fr_var = %ld, r_type = %s\n",
43946 + fragP->fr_var, bfd_get_reloc_code_name(r_type));
43950 + fixP = fix_new_exp(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
43951 + &exp, pcrel, r_type);
43953 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
43954 + the point of the fixup, relative to the frag address. fix_new()
43955 + and friends think they are only being called during the assembly
43956 + pass, not during relaxation or similar, so fx_dot_value, fx_file
43957 + and fx_line are all initialized to the wrong value. But we don't
43958 + know the size of the fixup until now, so we really can't live up
43959 + to the assumptions these functions make about the target. What
43960 + do these functions think the "where" and "frag" argument mean
43962 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
43963 + fixP->fx_file = fragP->fr_file;
43964 + fixP->fx_line = fragP->fr_line;
43966 + fixP->tc_fix_data.ifield = ifield;
43967 + fixP->tc_fix_data.align = align;
43968 + /* these are only used if the fixup can actually be resolved */
43969 + fixP->tc_fix_data.min = -32768;
43970 + fixP->tc_fix_data.max = 32767;
43974 +avr32_call_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
43975 + segT segment ATTRIBUTE_UNUSED,
43978 + const struct avr32_opcode *opc = NULL;
43979 + const struct avr32_ifield *ifield;
43980 + bfd_reloc_code_real_type r_type;
43985 + int pcrel = 0, align = 0;
43988 + symbol = fragP->fr_symbol;
43989 + offset = fragP->fr_offset;
43990 + r_type = BFD_RELOC_NONE;
43991 + p = fragP->fr_opcode;
43993 + pr_debug("%s:%d: call_convert_frag, subtype: %d, fix: %d, var: %d\n",
43994 + fragP->fr_file, fragP->fr_line,
43995 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var);
43997 + switch (fragP->fr_subtype)
43999 + case CALL_SUBTYPE_RCALL1:
44000 + opc = &avr32_opc_table[AVR32_OPC_RCALL1];
44001 + /* fall through */
44002 + case CALL_SUBTYPE_RCALL2:
44004 + opc = &avr32_opc_table[AVR32_OPC_RCALL2];
44005 + ifield = opc->fields[0];
44006 + r_type = opc->reloc_type;
44010 + case CALL_SUBTYPE_MCALL_CP:
44011 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
44012 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_PC);
44013 + ifield = opc->fields[1];
44014 + r_type = BFD_RELOC_AVR32_CPCALL;
44015 + symbol = fragP->tc_frag_data.pool->symbol;
44016 + offset = fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].offset;
44017 + assert(fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].refcount > 0);
44021 + case CALL_SUBTYPE_MCALL_GOT:
44022 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
44023 + opc->fields[0]->insert(opc->fields[0], p, 6);
44024 + ifield = opc->fields[1];
44025 + r_type = BFD_RELOC_AVR32_GOT18SW;
44027 + case CALL_SUBTYPE_MCALL_LARGE:
44028 + assert(fragP->fr_var == 10);
44029 + /* ld.w lr, r6[lr << 2] */
44030 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
44031 + bfd_putb32(opc->value, p + 4);
44032 + opc->fields[0]->insert(opc->fields[0], p + 4, AVR32_REG_LR);
44033 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
44034 + opc->fields[2]->insert(opc->fields[2], p + 4, AVR32_REG_LR);
44035 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
44038 + opc = &avr32_opc_table[AVR32_OPC_ICALL];
44039 + bfd_putb16(opc->value >> 16, p + 8);
44040 + opc->fields[0]->insert(opc->fields[0], p + 8, AVR32_REG_LR);
44042 + /* mov lr, (got_offset / 4) */
44043 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
44044 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_LR);
44045 + ifield = opc->fields[1];
44046 + r_type = BFD_RELOC_AVR32_GOTCALL;
44049 + BAD_CASE(fragP->fr_subtype);
44052 + /* Insert the opcode and clear the variable ifield */
44053 + value = bfd_getb32(p);
44054 + value &= ~(opc->mask | ifield->mask);
44055 + value |= opc->value;
44056 + bfd_putb32(value, p);
44058 + fragP->fr_fix += fragP->fr_var - CALL_INITIAL_SIZE;
44060 + if (fragP->fr_next
44061 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
44062 + != fragP->fr_fix))
44064 + fprintf(stderr, "%s:%d: fr_fix %lu is wrong! fr_var=%lu, r_type=%s\n",
44065 + fragP->fr_file, fragP->fr_line,
44066 + fragP->fr_fix, fragP->fr_var, bfd_get_reloc_code_name(r_type));
44067 + fprintf(stderr, "fr_fix should be %ld. next frag is %s:%d\n",
44068 + (offsetT)(fragP->fr_next->fr_address - fragP->fr_address),
44069 + fragP->fr_next->fr_file, fragP->fr_next->fr_line);
44072 + fixP = fix_new(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
44073 + symbol, offset, pcrel, r_type);
44075 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
44076 + the point of the fixup, relative to the frag address. fix_new()
44077 + and friends think they are only being called during the assembly
44078 + pass, not during relaxation or similar, so fx_dot_value, fx_file
44079 + and fx_line are all initialized to the wrong value. But we don't
44080 + know the size of the fixup until now, so we really can't live up
44081 + to the assumptions these functions make about the target. What
44082 + do these functions think the "where" and "frag" argument mean
44084 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
44085 + fixP->fx_file = fragP->fr_file;
44086 + fixP->fx_line = fragP->fr_line;
44088 + fixP->tc_fix_data.ifield = ifield;
44089 + fixP->tc_fix_data.align = align;
44090 + /* these are only used if the fixup can actually be resolved */
44091 + fixP->tc_fix_data.min = -2097152;
44092 + fixP->tc_fix_data.max = 2097150;
44096 +avr32_cpool_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
44097 + segT segment ATTRIBUTE_UNUSED,
44100 + struct cpool *pool;
44101 + addressT address;
44102 + unsigned int entry;
44104 + char sym_name[20];
44106 + /* Did we get rid of the frag altogether? */
44107 + if (!fragP->fr_var)
44110 + pool = fragP->tc_frag_data.pool;
44111 + address = fragP->fr_address + fragP->fr_fix;
44112 + p = fragP->fr_literal + fragP->fr_fix;
44114 + sprintf(sym_name, "$$cp_\002%x", pool->id);
44115 + symbol_locate(pool->symbol, sym_name, pool->section, fragP->fr_fix, fragP);
44116 + symbol_table_insert(pool->symbol);
44118 + for (entry = 0; entry < pool->next_free_entry; entry++)
44120 + if (pool->literals[entry].refcount > 0)
44122 + fix_new_exp(fragP, fragP->fr_fix, 4, &pool->literals[entry].exp,
44123 + FALSE, BFD_RELOC_AVR32_32_CPENT);
44124 + fragP->fr_fix += 4;
44129 +static struct avr32_relaxer avr32_default_relaxer = {
44130 + .estimate_size = avr32_default_estimate_size_before_relax,
44131 + .relax_frag = avr32_default_relax_frag,
44132 + .convert_frag = avr32_default_convert_frag,
44134 +static struct avr32_relaxer avr32_lda_relaxer = {
44135 + .estimate_size = avr32_lda_estimate_size_before_relax,
44136 + .relax_frag = avr32_lda_relax_frag,
44137 + .convert_frag = avr32_lda_convert_frag,
44139 +static struct avr32_relaxer avr32_call_relaxer = {
44140 + .estimate_size = avr32_call_estimate_size_before_relax,
44141 + .relax_frag = avr32_call_relax_frag,
44142 + .convert_frag = avr32_call_convert_frag,
44144 +static struct avr32_relaxer avr32_cpool_relaxer = {
44145 + .estimate_size = avr32_cpool_estimate_size_before_relax,
44146 + .relax_frag = avr32_cpool_relax_frag,
44147 + .convert_frag = avr32_cpool_convert_frag,
44150 +static void s_cpool(int arg ATTRIBUTE_UNUSED)
44152 + struct cpool *pool;
44153 + unsigned int max_size;
44156 + pool = find_cpool(now_seg, now_subseg);
44157 + if (!pool || !pool->symbol || pool->next_free_entry == 0)
44160 + /* Make sure the constant pool is properly aligned */
44161 + frag_align_code(2, 0);
44163 + /* Assume none of the entries are discarded, and that we need the
44164 + maximum amount of alignment. But we're not going to allocate
44165 + anything up front. */
44166 + max_size = pool->next_free_entry * 4 + 2;
44167 + frag_grow(max_size);
44168 + buf = frag_more(0);
44170 + frag_now->tc_frag_data.relaxer = &avr32_cpool_relaxer;
44171 + frag_now->tc_frag_data.pool = pool;
44173 + symbol_set_frag(pool->symbol, frag_now);
44175 + /* Assume zero initial size, allowing other relaxers to be
44176 + optimistic about things. */
44177 + frag_var(rs_machine_dependent, max_size, 0,
44178 + 0, pool->symbol, 0, NULL);
44180 + /* Mark the pool as empty. */
44184 +/* The location from which a PC relative jump should be calculated,
44185 + given a PC relative reloc. */
44188 +md_pcrel_from_section (fixS *fixP, segT sec)
44190 + pr_debug("pcrel_from_section, fx_offset = %d\n", fixP->fx_offset);
44192 + if (fixP->fx_addsy != NULL
44193 + && (! S_IS_DEFINED (fixP->fx_addsy)
44194 + || S_GET_SEGMENT (fixP->fx_addsy) != sec
44195 + || S_FORCE_RELOC(fixP->fx_addsy, 1)))
44197 + pr_debug("Unknown pcrel symbol: %s\n", S_GET_NAME(fixP->fx_addsy));
44199 + /* The symbol is undefined (or is defined but not in this section).
44200 + Let the linker figure it out. */
44204 + pr_debug("pcrel from %x + %x, symbol: %s (%x)\n",
44205 + fixP->fx_frag->fr_address, fixP->fx_where,
44206 + fixP->fx_addsy?S_GET_NAME(fixP->fx_addsy):"(null)",
44207 + fixP->fx_addsy?S_GET_VALUE(fixP->fx_addsy):0);
44209 + return ((fixP->fx_frag->fr_address + fixP->fx_where)
44210 + & (~0UL << fixP->tc_fix_data.align));
44214 +md_section_align (segT segment, valueT size)
44216 + int align = bfd_get_section_alignment (stdoutput, segment);
44217 + return ((size + (1 << align) - 1) & (-1 << align));
44220 +static int syntax_matches(const struct avr32_syntax *syntax,
44225 + pr_debug("syntax %d matches `%s'?\n", syntax->id, str);
44227 + if (syntax->nr_operands < 0)
44229 + struct avr32_operand *op;
44232 + for (i = 0; i < (-syntax->nr_operands - 1); i++)
44237 + optype = syntax->operand[i];
44238 + assert(optype < AVR32_NR_OPERANDS);
44239 + op = &avr32_operand_table[optype];
44241 + for (p = str; *p; p++)
44251 + if (!op->match(str))
44263 + optype = syntax->operand[i];
44264 + assert(optype < AVR32_NR_OPERANDS);
44265 + op = &avr32_operand_table[optype];
44267 + if (!op->match(str))
44272 + for (i = 0; i < syntax->nr_operands; i++)
44274 + struct avr32_operand *op;
44275 + int optype = syntax->operand[i];
44279 + assert(optype < AVR32_NR_OPERANDS);
44280 + op = &avr32_operand_table[optype];
44282 + for (p = str; *p; p++)
44292 + if (!op->match(str))
44304 + if (*str == '\0')
44307 + if ((*str == 'e' || *str == 'E') && !str[1])
44313 +static int parse_operands(char *str)
44317 + if (current_insn.syntax->nr_operands < 0)
44320 + struct avr32_operand *op;
44322 + for (i = 0; i < (-current_insn.syntax->nr_operands - 1); i++)
44327 + optype = current_insn.syntax->operand[i];
44328 + op = &avr32_operand_table[optype];
44330 + for (p = str; *p; p++)
44334 + assert(p != str);
44337 + op->parse(op, str, i);
44344 + /* give the rest of the line to the last operand */
44345 + optype = current_insn.syntax->operand[i];
44346 + op = &avr32_operand_table[optype];
44347 + op->parse(op, str, i);
44351 + for (i = 0; i < current_insn.syntax->nr_operands; i++)
44353 + int optype = current_insn.syntax->operand[i];
44354 + struct avr32_operand *op = &avr32_operand_table[optype];
44358 + skip_whitespace(str);
44360 + for (p = str; *p; p++)
44364 + assert(p != str);
44367 + op->parse(op, str, i);
44374 + if (*str == 'E' || *str == 'e')
44375 + current_insn.force_extended = 1;
44381 +static const char *
44382 +finish_insn(const struct avr32_opcode *opc)
44384 + expressionS *exp = ¤t_insn.immediate;
44386 + int will_relax = 0;
44389 + assert(current_insn.next_slot == opc->nr_fields);
44391 + pr_debug("%s:%d: finish_insn: trying opcode %d\n",
44392 + frag_now->fr_file, frag_now->fr_line, opc->id);
44394 + /* Go through the relaxation stage for all instructions that can
44395 + possibly take a symbolic immediate. The relax code will take
44396 + care of range checking and alignment. */
44397 + if (opc->var_field != -1)
44399 + int substate, largest_substate;
44404 + substate = largest_substate = opc_initial_substate(opc);
44406 + while (relax_more(largest_substate) != AVR32_RS_NONE)
44407 + largest_substate = relax_more(largest_substate);
44409 + pr_debug("will relax. initial substate: %d (size %d), largest substate: %d (size %d)\n",
44410 + substate, avr32_rs_size(substate),
44411 + largest_substate, avr32_rs_size(largest_substate));
44413 + /* make sure we have enough room for the largest possible opcode */
44414 + frag_grow(avr32_rs_size(largest_substate));
44415 + buf = frag_more(opc->size);
44417 + dwarf2_emit_insn(opc->size);
44419 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_NONE;
44420 + frag_now->tc_frag_data.pcrel = current_insn.pcrel;
44421 + frag_now->tc_frag_data.force_extended = current_insn.force_extended;
44422 + frag_now->tc_frag_data.relaxer = &avr32_default_relaxer;
44424 + if (exp->X_op == O_hi)
44426 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_HI;
44427 + exp->X_op = exp->X_md;
44429 + else if (exp->X_op == O_lo)
44431 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_LO;
44432 + exp->X_op = exp->X_md;
44434 + else if (exp->X_op == O_got)
44436 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_GOT;
44437 + exp->X_op = O_symbol;
44441 + if ((opc->reloc_type == BFD_RELOC_AVR32_SUB5)
44442 + && exp->X_op == O_subtract)
44445 + tmp = exp->X_add_symbol;
44446 + exp->X_add_symbol = exp->X_op_symbol;
44447 + exp->X_op_symbol = tmp;
44451 + frag_now->tc_frag_data.exp = current_insn.immediate;
44453 + sym = exp->X_add_symbol;
44454 + off = exp->X_add_number;
44455 + if (exp->X_op != O_symbol)
44457 + sym = make_expr_symbol(exp);
44461 + frag_var(rs_machine_dependent,
44462 + avr32_rs_size(largest_substate) - opc->size,
44464 + substate, sym, off, buf);
44468 + assert(avr32_rs_size(opc_initial_substate(opc)) == 0);
44470 + /* Make sure we always have room for another whole word, as the ifield
44471 + inserters can only write words. */
44473 + buf = frag_more(opc->size);
44474 + dwarf2_emit_insn(opc->size);
44477 + assert(!(opc->value & ~opc->mask));
44479 + pr_debug("inserting opcode: 0x%lx\n", opc->value);
44480 + bfd_putb32(opc->value, buf);
44482 + for (i = 0; i < opc->nr_fields; i++)
44484 + const struct avr32_ifield *f = opc->fields[i];
44485 + const struct avr32_ifield_data *fd = ¤t_insn.field_value[i];
44487 + pr_debug("inserting field: 0x%lx & 0x%lx\n",
44488 + fd->value >> fd->align_order, f->mask);
44490 + f->insert(f, buf, fd->value >> fd->align_order);
44493 + assert(will_relax || !current_insn.immediate.X_add_symbol);
44497 +static const char *
44498 +finish_alias(const struct avr32_alias *alias)
44500 + const struct avr32_opcode *opc;
44502 + unsigned long value;
44503 + unsigned long align;
44504 + } mapped_operand[AVR32_MAX_OPERANDS];
44507 + opc = alias->opc;
44509 + /* Remap the operands from the alias to the real opcode */
44510 + for (i = 0; i < opc->nr_fields; i++)
44512 + if (alias->operand_map[i].is_opindex)
44514 + struct avr32_ifield_data *fd;
44515 + fd = ¤t_insn.field_value[alias->operand_map[i].value];
44516 + mapped_operand[i].value = fd->value;
44517 + mapped_operand[i].align = fd->align_order;
44521 + mapped_operand[i].value = alias->operand_map[i].value;
44522 + mapped_operand[i].align = 0;
44526 + for (i = 0; i < opc->nr_fields; i++)
44528 + current_insn.field_value[i].value = mapped_operand[i].value;
44529 + if (opc->id == AVR32_OPC_COP)
44530 + current_insn.field_value[i].align_order = 0;
44532 + current_insn.field_value[i].align_order
44533 + = mapped_operand[i].align;
44536 + current_insn.next_slot = opc->nr_fields;
44538 + return finish_insn(opc);
44541 +static const char *
44542 +finish_lda(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
44544 + expressionS *exp = ¤t_insn.immediate;
44545 + relax_substateT initial_subtype;
44548 + int initial_size, max_size;
44551 + initial_size = LDA_INITIAL_SIZE;
44555 + initial_subtype = LDA_SUBTYPE_SUB;
44563 + initial_subtype = LDA_SUBTYPE_MOV1;
44567 + frag_grow(max_size);
44568 + buf = frag_more(initial_size);
44569 + dwarf2_emit_insn(initial_size);
44571 + if (exp->X_op == O_symbol)
44573 + sym = exp->X_add_symbol;
44574 + off = exp->X_add_number;
44578 + sym = make_expr_symbol(exp);
44582 + frag_now->tc_frag_data.reloc_info = current_insn.field_value[0].value;
44583 + frag_now->tc_frag_data.relaxer = &avr32_lda_relaxer;
44587 + /* The relaxer will bump the refcount if necessary */
44588 + frag_now->tc_frag_data.pool
44589 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
44592 + frag_var(rs_machine_dependent, max_size - initial_size,
44593 + initial_size, initial_subtype, sym, off, buf);
44598 +static const char *
44599 +finish_call(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
44601 + expressionS *exp = ¤t_insn.immediate;
44604 + int initial_size, max_size;
44607 + initial_size = CALL_INITIAL_SIZE;
44619 + frag_grow(max_size);
44620 + buf = frag_more(initial_size);
44621 + dwarf2_emit_insn(initial_size);
44623 + frag_now->tc_frag_data.relaxer = &avr32_call_relaxer;
44625 + if (exp->X_op == O_symbol)
44627 + sym = exp->X_add_symbol;
44628 + off = exp->X_add_number;
44632 + sym = make_expr_symbol(exp);
44638 + /* The relaxer will bump the refcount if necessary */
44639 + frag_now->tc_frag_data.pool
44640 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
44643 + frag_var(rs_machine_dependent, max_size - initial_size,
44644 + initial_size, CALL_SUBTYPE_RCALL1, sym, off, buf);
44652 + unsigned long flags = 0;
44655 + avr32_mnemonic_htab = hash_new();
44657 + if (!avr32_mnemonic_htab)
44658 + as_fatal(_("virtual memory exhausted"));
44660 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
44662 + hash_insert(avr32_mnemonic_htab, avr32_mnemonic_table[i].name,
44663 + (void *)&avr32_mnemonic_table[i]);
44667 + flags |= EF_AVR32_LINKRELAX;
44669 + flags |= EF_AVR32_PIC;
44671 + bfd_set_private_flags(stdoutput, flags);
44673 +#ifdef OPC_CONSISTENCY_CHECK
44674 + if (sizeof(avr32_operand_table)/sizeof(avr32_operand_table[0])
44675 + < AVR32_NR_OPERANDS)
44676 + as_fatal(_("operand table is incomplete"));
44678 + for (i = 0; i < AVR32_NR_OPERANDS; i++)
44679 + if (avr32_operand_table[i].id != i)
44680 + as_fatal(_("operand table inconsistency found at index %d\n"), i);
44681 + pr_debug("%d operands verified\n", AVR32_NR_OPERANDS);
44683 + for (i = 0; i < AVR32_NR_IFIELDS; i++)
44684 + if (avr32_ifield_table[i].id != i)
44685 + as_fatal(_("ifield table inconsistency found at index %d\n"), i);
44686 + pr_debug("%d instruction fields verified\n", AVR32_NR_IFIELDS);
44688 + for (i = 0; i < AVR32_NR_OPCODES; i++)
44690 + if (avr32_opc_table[i].id != i)
44691 + as_fatal(_("opcode table inconsistency found at index %d\n"), i);
44692 + if ((avr32_opc_table[i].var_field == -1
44693 + && avr32_relax_table[i].length != 0)
44694 + || (avr32_opc_table[i].var_field != -1
44695 + && avr32_relax_table[i].length == 0))
44696 + as_fatal(_("relax table inconsistency found at index %d\n"), i);
44698 + pr_debug("%d opcodes verified\n", AVR32_NR_OPCODES);
44700 + for (i = 0; i < AVR32_NR_SYNTAX; i++)
44701 + if (avr32_syntax_table[i].id != i)
44702 + as_fatal(_("syntax table inconsistency found at index %d\n"), i);
44703 + pr_debug("%d syntax variants verified\n", AVR32_NR_SYNTAX);
44705 + for (i = 0; i < AVR32_NR_ALIAS; i++)
44706 + if (avr32_alias_table[i].id != i)
44707 + as_fatal(_("alias table inconsistency found at index %d\n"), i);
44708 + pr_debug("%d aliases verified\n", AVR32_NR_ALIAS);
44710 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
44711 + if (avr32_mnemonic_table[i].id != i)
44712 + as_fatal(_("mnemonic table inconsistency found at index %d\n"), i);
44713 + pr_debug("%d mnemonics verified\n", AVR32_NR_MNEMONICS);
44718 +md_assemble (char *str)
44720 + struct avr32_mnemonic *mnemonic;
44723 + memset(¤t_insn, 0, sizeof(current_insn));
44724 + current_insn.immediate.X_op = O_constant;
44726 + skip_whitespace(str);
44727 + for (p = str; *p; p++)
44733 + mnemonic = hash_find(avr32_mnemonic_htab, str);
44739 + const struct avr32_syntax *syntax;
44741 + for (syntax = mnemonic->syntax; syntax; syntax = syntax->next)
44743 + const char *errmsg = NULL;
44745 + if (syntax_matches(syntax, p))
44747 + if (!(syntax->isa_flags & avr32_arch->isa_flags))
44749 + as_bad(_("Selected architecture `%s' does not support `%s'"),
44750 + avr32_arch->name, str);
44754 + current_insn.syntax = syntax;
44755 + parse_operands(p);
44757 + switch (syntax->type)
44759 + case AVR32_PARSER_NORMAL:
44760 + errmsg = finish_insn(syntax->u.opc);
44762 + case AVR32_PARSER_ALIAS:
44763 + errmsg = finish_alias(syntax->u.alias);
44765 + case AVR32_PARSER_LDA:
44766 + errmsg = finish_lda(syntax);
44768 + case AVR32_PARSER_CALL:
44769 + errmsg = finish_call(syntax);
44772 + BAD_CASE(syntax->type);
44777 + as_bad("%s in `%s'", errmsg, str);
44783 + as_bad(_("unrecognized form of instruction: `%s'"), str);
44786 + as_bad(_("unrecognized instruction `%s'"), str);
44789 +void avr32_cleanup(void)
44791 + struct cpool *pool;
44793 + /* Emit any constant pools that haven't been explicitly flushed with
44794 + a .cpool directive. */
44795 + for (pool = cpool_list; pool; pool = pool->next)
44797 + subseg_set(pool->section, pool->sub_section);
44802 +/* Handle any PIC-related operands in data allocation pseudo-ops */
44804 +avr32_cons_fix_new (fragS *frag, int off, int size, expressionS *exp)
44806 + bfd_reloc_code_real_type r_type = BFD_RELOC_UNUSED;
44809 + pr_debug("%s:%u: cons_fix_new, add_sym: %s, op_sym: %s, op: %d, add_num: %d\n",
44810 + frag->fr_file, frag->fr_line,
44811 + exp->X_add_symbol?S_GET_NAME(exp->X_add_symbol):"(none)",
44812 + exp->X_op_symbol?S_GET_NAME(exp->X_op_symbol):"(none)",
44813 + exp->X_op, exp->X_add_number);
44815 + if (exp->X_op == O_subtract && exp->X_op_symbol)
44817 + if (exp->X_op_symbol == GOT_symbol)
44821 + r_type = BFD_RELOC_AVR32_GOTPC;
44822 + exp->X_op = O_symbol;
44823 + exp->X_op_symbol = NULL;
44826 + else if (exp->X_op == O_got)
44831 + r_type = BFD_RELOC_AVR32_GOT8;
44834 + r_type = BFD_RELOC_AVR32_GOT16;
44837 + r_type = BFD_RELOC_AVR32_GOT32;
44843 + exp->X_op = O_symbol;
44846 + if (r_type == BFD_RELOC_UNUSED)
44850 + r_type = BFD_RELOC_8;
44853 + r_type = BFD_RELOC_16;
44856 + r_type = BFD_RELOC_32;
44861 + else if (size != 4)
44864 + as_bad(_("unsupported BFD relocation size %u"), size);
44865 + r_type = BFD_RELOC_UNUSED;
44868 + fix_new_exp (frag, off, size, exp, pcrel, r_type);
44872 +avr32_frob_section(bfd *abfd ATTRIBUTE_UNUSED, segT sec,
44873 + void *ignore ATTRIBUTE_UNUSED)
44875 + segment_info_type *seginfo;
44878 + seginfo = seg_info(sec);
44882 + for (fix = seginfo->fix_root; fix; fix = fix->fx_next)
44884 + if (fix->fx_done)
44887 + if (fix->fx_r_type == BFD_RELOC_AVR32_SUB5
44888 + && fix->fx_addsy && fix->fx_subsy)
44890 + if (S_GET_SEGMENT(fix->fx_addsy) != S_GET_SEGMENT(fix->fx_subsy)
44895 + fprintf(stderr, "Swapping symbols in fixup:\n");
44896 + print_fixup(fix);
44898 + tmp = fix->fx_addsy;
44899 + fix->fx_addsy = fix->fx_subsy;
44900 + fix->fx_subsy = tmp;
44901 + fix->fx_offset = -fix->fx_offset;
44907 +/* We need to look for SUB5 instructions with expressions that will be
44908 + made PC-relative and switch fx_addsy with fx_subsy. This has to be
44909 + done before adjustment or the wrong symbol might be adjusted.
44911 + This applies to fixups that are a result of expressions like -(sym
44912 + - .) and that will make it all the way to md_apply_fix3(). LDA
44913 + does the right thing in convert_frag, so we must not convert
44916 +avr32_frob_file(void)
44918 + /* if (1 || !linkrelax)
44921 + bfd_map_over_sections(stdoutput, avr32_frob_section, NULL);
44924 +static bfd_boolean
44925 +convert_to_diff_reloc(fixS *fixP)
44927 + switch (fixP->fx_r_type)
44929 + case BFD_RELOC_32:
44930 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
44932 + case BFD_RELOC_16:
44933 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF16;
44935 + case BFD_RELOC_8:
44936 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF8;
44945 +/* Simplify a fixup. If possible, the fixup is reduced to a single
44946 + constant which is written to the output file. Otherwise, a
44947 + relocation is generated so that the linker can take care of the
44950 + ELF relocations have certain constraints: They can only take a
44951 + single symbol and a single addend. This means that for difference
44952 + expressions, we _must_ get rid of the fx_subsy symbol somehow.
44954 + The difference between two labels in the same section can be
44955 + calculated directly unless 'linkrelax' is set, or a relocation is
44956 + forced. If so, we must emit a R_AVR32_DIFFxx relocation. If there
44957 + are addends involved at this point, we must be especially careful
44958 + as the relocation must point exactly to the symbol being
44961 + When subtracting a symbol defined in the same section as the fixup,
44962 + we might be able to convert it to a PC-relative expression, unless
44963 + linkrelax is set. If this is the case, there's no way we can make
44964 + sure that the difference between the fixup and fx_subsy stays
44965 + constant. So for now, we're just going to disallow that.
44968 +avr32_process_fixup(fixS *fixP, segT this_segment)
44970 + segT add_symbol_segment = absolute_section;
44971 + segT sub_symbol_segment = absolute_section;
44972 + symbolS *fx_addsy, *fx_subsy;
44973 + offsetT value = 0, fx_offset;
44974 + bfd_boolean apply = FALSE;
44976 + assert(this_segment != absolute_section);
44978 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
44980 + as_bad_where(fixP->fx_file, fixP->fx_line,
44981 + _("Bad relocation type %d\n"), fixP->fx_r_type);
44985 + /* BFD_RELOC_AVR32_SUB5 fixups have been swapped by avr32_frob_section() */
44986 + fx_addsy = fixP->fx_addsy;
44987 + fx_subsy = fixP->fx_subsy;
44988 + fx_offset = fixP->fx_offset;
44991 + add_symbol_segment = S_GET_SEGMENT(fx_addsy);
44995 + resolve_symbol_value(fx_subsy);
44996 + sub_symbol_segment = S_GET_SEGMENT(fx_subsy);
44998 + if (sub_symbol_segment == this_segment
45000 + || S_GET_VALUE(fx_subsy) == (fixP->fx_frag->fr_address
45001 + + fixP->fx_where)))
45003 + fixP->fx_pcrel = TRUE;
45004 + fx_offset += (fixP->fx_frag->fr_address + fixP->fx_where
45005 + - S_GET_VALUE(fx_subsy));
45008 + else if (sub_symbol_segment == absolute_section)
45010 + /* The symbol is really a constant. */
45011 + fx_offset -= S_GET_VALUE(fx_subsy);
45014 + else if (SEG_NORMAL(add_symbol_segment)
45015 + && sub_symbol_segment == add_symbol_segment
45016 + && (!linkrelax || convert_to_diff_reloc(fixP)))
45018 + /* Difference between two labels in the same section. */
45021 + /* convert_to_diff() has ensured that the reloc type is
45022 + either DIFF32, DIFF16 or DIFF8. */
45023 + value = (S_GET_VALUE(fx_addsy) + fixP->fx_offset
45024 + - S_GET_VALUE(fx_subsy));
45026 + /* Try to convert it to a section symbol if possible */
45027 + if (!S_FORCE_RELOC(fx_addsy, 1)
45028 + && !(sub_symbol_segment->flags & SEC_THREAD_LOCAL))
45030 + fx_offset = S_GET_VALUE(fx_subsy);
45031 + fx_addsy = section_symbol(sub_symbol_segment);
45035 + fx_addsy = fx_subsy;
45044 + fx_offset += S_GET_VALUE(fx_addsy);
45045 + fx_offset -= S_GET_VALUE(fx_subsy);
45052 + as_bad_where(fixP->fx_file, fixP->fx_line,
45053 + _("can't resolve `%s' {%s section} - `%s' {%s section}"),
45054 + fx_addsy ? S_GET_NAME (fx_addsy) : "0",
45055 + segment_name (add_symbol_segment),
45056 + S_GET_NAME (fx_subsy),
45057 + segment_name (sub_symbol_segment));
45062 + if (fx_addsy && !TC_FORCE_RELOCATION(fixP))
45064 + if (add_symbol_segment == this_segment
45065 + && fixP->fx_pcrel)
45067 + value += S_GET_VALUE(fx_addsy);
45068 + value -= md_pcrel_from_section(fixP, this_segment);
45070 + fixP->fx_pcrel = FALSE;
45072 + else if (add_symbol_segment == absolute_section)
45074 + fx_offset += S_GET_VALUE(fixP->fx_addsy);
45080 + fixP->fx_done = TRUE;
45082 + if (fixP->fx_pcrel)
45084 + if (fx_addsy != NULL
45085 + && S_IS_DEFINED(fx_addsy)
45086 + && S_GET_SEGMENT(fx_addsy) != this_segment)
45087 + value += md_pcrel_from_section(fixP, this_segment);
45089 + switch (fixP->fx_r_type)
45091 + case BFD_RELOC_32:
45092 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
45094 + case BFD_RELOC_16:
45095 + fixP->fx_r_type = BFD_RELOC_16_PCREL;
45097 + case BFD_RELOC_8:
45098 + fixP->fx_r_type = BFD_RELOC_8_PCREL;
45100 + case BFD_RELOC_AVR32_SUB5:
45101 + fixP->fx_r_type = BFD_RELOC_AVR32_16N_PCREL;
45103 + case BFD_RELOC_AVR32_16S:
45104 + fixP->fx_r_type = BFD_RELOC_AVR32_16B_PCREL;
45106 + case BFD_RELOC_AVR32_14UW:
45107 + fixP->fx_r_type = BFD_RELOC_AVR32_14UW_PCREL;
45109 + case BFD_RELOC_AVR32_10UW:
45110 + fixP->fx_r_type = BFD_RELOC_AVR32_10UW_PCREL;
45113 + /* Should have been taken care of already */
45118 + if (fixP->fx_done || apply)
45120 + const struct avr32_ifield *ifield;
45121 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
45123 + if (fixP->fx_done)
45124 + value += fx_offset;
45126 + switch (fixP->fx_r_type)
45128 + case BFD_RELOC_32:
45129 + case BFD_RELOC_16:
45130 + case BFD_RELOC_8:
45131 + case BFD_RELOC_AVR32_DIFF32:
45132 + case BFD_RELOC_AVR32_DIFF16:
45133 + case BFD_RELOC_AVR32_DIFF8:
45134 + md_number_to_chars(buf, value, fixP->fx_size);
45136 + case BFD_RELOC_HI16:
45138 + case BFD_RELOC_LO16:
45140 + md_number_to_chars(buf + 2, value, 2);
45142 + case BFD_RELOC_AVR32_16N_PCREL:
45144 + /* fall through */
45145 + case BFD_RELOC_AVR32_22H_PCREL:
45146 + case BFD_RELOC_AVR32_18W_PCREL:
45147 + case BFD_RELOC_AVR32_16B_PCREL:
45148 + case BFD_RELOC_AVR32_11H_PCREL:
45149 + case BFD_RELOC_AVR32_9H_PCREL:
45150 + case BFD_RELOC_AVR32_9UW_PCREL:
45151 + case BFD_RELOC_AVR32_3U:
45152 + case BFD_RELOC_AVR32_4UH:
45153 + case BFD_RELOC_AVR32_6UW:
45154 + case BFD_RELOC_AVR32_6S:
45155 + case BFD_RELOC_AVR32_7UW:
45156 + case BFD_RELOC_AVR32_8S_EXT:
45157 + case BFD_RELOC_AVR32_8S:
45158 + case BFD_RELOC_AVR32_10UW:
45159 + case BFD_RELOC_AVR32_10SW:
45160 + case BFD_RELOC_AVR32_STHH_W:
45161 + case BFD_RELOC_AVR32_14UW:
45162 + case BFD_RELOC_AVR32_16S:
45163 + case BFD_RELOC_AVR32_16U:
45164 + case BFD_RELOC_AVR32_21S:
45165 + case BFD_RELOC_AVR32_SUB5:
45166 + case BFD_RELOC_AVR32_CPCALL:
45167 + case BFD_RELOC_AVR32_16_CP:
45168 + case BFD_RELOC_AVR32_9W_CP:
45169 + ifield = fixP->tc_fix_data.ifield;
45170 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
45171 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
45172 + fixP->tc_fix_data.align);
45173 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
45174 + as_bad_where(fixP->fx_file, fixP->fx_line,
45175 + _("operand out of range (%ld not between %ld and %ld)"),
45176 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
45177 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
45178 + as_bad_where(fixP->fx_file, fixP->fx_line,
45179 + _("misaligned operand (required alignment: %d)"),
45180 + 1 << fixP->tc_fix_data.align);
45181 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
45183 + case BFD_RELOC_AVR32_ALIGN:
45184 + /* Nothing to do */
45185 + fixP->fx_done = FALSE;
45188 + as_fatal("reloc type %s not handled\n",
45189 + bfd_get_reloc_code_name(fixP->fx_r_type));
45193 + fixP->fx_addsy = fx_addsy;
45194 + fixP->fx_subsy = fx_subsy;
45195 + fixP->fx_offset = fx_offset;
45197 + if (!fixP->fx_done)
45199 + if (!fixP->fx_addsy)
45200 + fixP->fx_addsy = abs_section_sym;
45202 + symbol_mark_used_in_reloc(fixP->fx_addsy);
45203 + if (fixP->fx_subsy)
45210 +md_apply_fix3 (fixS *fixP, valueT *valP, segT seg)
45212 + const struct avr32_ifield *ifield;
45213 + offsetT value = *valP;
45214 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
45215 + bfd_boolean apply;
45217 + pr_debug("%s:%u: apply_fix3: r_type=%d value=%lx offset=%lx\n",
45218 + fixP->fx_file, fixP->fx_line, fixP->fx_r_type, *valP,
45219 + fixP->fx_offset);
45221 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
45223 + as_bad_where(fixP->fx_file, fixP->fx_line,
45224 + _("Bad relocation type %d\n"), fixP->fx_r_type);
45228 + if (!fixP->fx_addsy && !fixP->fx_subsy)
45229 + fixP->fx_done = 1;
45231 + if (fixP->fx_pcrel)
45233 + if (fixP->fx_addsy != NULL
45234 + && S_IS_DEFINED(fixP->fx_addsy)
45235 + && S_GET_SEGMENT(fixP->fx_addsy) != seg)
45236 + value += md_pcrel_from_section(fixP, seg);
45238 + switch (fixP->fx_r_type)
45240 + case BFD_RELOC_32:
45241 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
45243 + case BFD_RELOC_16:
45244 + case BFD_RELOC_8:
45245 + as_bad_where (fixP->fx_file, fixP->fx_line,
45246 + _("8- and 16-bit PC-relative relocations not supported"));
45248 + case BFD_RELOC_AVR32_SUB5:
45249 + fixP->fx_r_type = BFD_RELOC_AVR32_PCREL_SUB5;
45251 + case BFD_RELOC_AVR32_16S:
45252 + fixP->fx_r_type = BFD_RELOC_AVR32_16_PCREL;
45255 + /* Should have been taken care of already */
45260 + if (fixP->fx_r_type == BFD_RELOC_32
45261 + && fixP->fx_subsy)
45263 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
45265 + /* Offsets are only allowed if it's a result of adjusting a
45266 + local symbol into a section-relative offset.
45267 + tc_fix_adjustable() should prevent any adjustment if there
45268 + was an offset involved before. */
45269 + if (fixP->fx_offset && !symbol_section_p(fixP->fx_addsy))
45270 + as_bad_where(fixP->fx_file, fixP->fx_line,
45271 + _("cannot represent symbol difference with an offset"));
45273 + value = (S_GET_VALUE(fixP->fx_addsy) + fixP->fx_offset
45274 + - S_GET_VALUE(fixP->fx_subsy));
45276 + /* The difference before any relaxing takes place is written
45277 + out, and the DIFF32 reloc identifies the address of the first
45278 + symbol (i.e. the on that's subtracted.) */
45280 + fixP->fx_offset -= value;
45281 + fixP->fx_subsy = NULL;
45283 + md_number_to_chars(buf, value, fixP->fx_size);
45286 + if (fixP->fx_done)
45288 + switch (fixP->fx_r_type)
45290 + case BFD_RELOC_8:
45291 + case BFD_RELOC_16:
45292 + case BFD_RELOC_32:
45293 + md_number_to_chars(buf, value, fixP->fx_size);
45295 + case BFD_RELOC_HI16:
45297 + case BFD_RELOC_LO16:
45300 + md_number_to_chars(buf + 2, value, 2);
45302 + case BFD_RELOC_AVR32_PCREL_SUB5:
45304 + /* fall through */
45305 + case BFD_RELOC_AVR32_9_PCREL:
45306 + case BFD_RELOC_AVR32_11_PCREL:
45307 + case BFD_RELOC_AVR32_16_PCREL:
45308 + case BFD_RELOC_AVR32_18_PCREL:
45309 + case BFD_RELOC_AVR32_22_PCREL:
45310 + case BFD_RELOC_AVR32_3U:
45311 + case BFD_RELOC_AVR32_4UH:
45312 + case BFD_RELOC_AVR32_6UW:
45313 + case BFD_RELOC_AVR32_6S:
45314 + case BFD_RELOC_AVR32_7UW:
45315 + case BFD_RELOC_AVR32_8S:
45316 + case BFD_RELOC_AVR32_10UW:
45317 + case BFD_RELOC_AVR32_10SW:
45318 + case BFD_RELOC_AVR32_14UW:
45319 + case BFD_RELOC_AVR32_16S:
45320 + case BFD_RELOC_AVR32_16U:
45321 + case BFD_RELOC_AVR32_21S:
45322 + case BFD_RELOC_AVR32_BRC1:
45323 + case BFD_RELOC_AVR32_SUB5:
45324 + case BFD_RELOC_AVR32_CPCALL:
45325 + case BFD_RELOC_AVR32_16_CP:
45326 + case BFD_RELOC_AVR32_9_CP:
45327 + ifield = fixP->tc_fix_data.ifield;
45328 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
45329 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
45330 + fixP->tc_fix_data.align);
45331 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
45332 + as_bad_where(fixP->fx_file, fixP->fx_line,
45333 + _("operand out of range (%ld not between %ld and %ld)"),
45334 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
45335 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
45336 + as_bad_where(fixP->fx_file, fixP->fx_line,
45337 + _("misaligned operand (required alignment: %d)"),
45338 + 1 << fixP->tc_fix_data.align);
45339 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
45341 + case BFD_RELOC_AVR32_ALIGN:
45342 + /* Nothing to do */
45343 + fixP->fx_done = FALSE;
45346 + as_fatal("reloc type %s not handled\n",
45347 + bfd_get_reloc_code_name(fixP->fx_r_type));
45354 +tc_gen_reloc (asection *section ATTRIBUTE_UNUSED,
45358 + bfd_reloc_code_real_type code;
45360 + reloc = xmalloc (sizeof (arelent));
45362 + reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
45363 + *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
45364 + reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
45365 + reloc->addend = fixp->fx_offset;
45366 + code = fixp->fx_r_type;
45368 + reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
45370 + if (reloc->howto == NULL)
45372 + as_bad_where (fixp->fx_file, fixp->fx_line,
45373 + _("cannot represent relocation %s in this object file format"),
45374 + bfd_get_reloc_code_name (code));
45382 +avr32_force_reloc(fixS *fixP)
45384 + if (linkrelax && fixP->fx_addsy
45385 + && !(S_GET_SEGMENT(fixP->fx_addsy)->flags & SEC_DEBUGGING)
45386 + && S_GET_SEGMENT(fixP->fx_addsy) != absolute_section)
45388 + pr_debug(stderr, "force reloc: addsy=%p, r_type=%d, sec=%s\n",
45389 + fixP->fx_addsy, fixP->fx_r_type, S_GET_SEGMENT(fixP->fx_addsy)->name);
45393 + return generic_force_reloc(fixP);
45397 +avr32_fix_adjustable(fixS *fixP)
45399 + switch (fixP->fx_r_type)
45401 + /* GOT relocations can't have addends since BFD treats all
45402 + references to a given symbol the same. This means that we
45403 + must avoid section-relative references to local symbols when
45404 + dealing with these kinds of relocs */
45405 + case BFD_RELOC_AVR32_GOT32:
45406 + case BFD_RELOC_AVR32_GOT16:
45407 + case BFD_RELOC_AVR32_GOT8:
45408 + case BFD_RELOC_AVR32_GOT21S:
45409 + case BFD_RELOC_AVR32_GOT18SW:
45410 + case BFD_RELOC_AVR32_GOT16S:
45411 + case BFD_RELOC_AVR32_LDA_GOT:
45412 + case BFD_RELOC_AVR32_GOTCALL:
45413 + pr_debug("fix not adjustable\n");
45423 +/* When we want the linker to be able to relax the code, we need to
45424 + output a reloc for every .align directive requesting an alignment
45425 + to a four byte boundary or larger. If we don't do this, the linker
45426 + can't guarantee that the alignment is actually maintained in the
45429 + TODO: Might as well insert proper NOPs while we're at it... */
45431 +avr32_handle_align(fragS *frag)
45434 + && frag->fr_type == rs_align_code
45435 + && frag->fr_address + frag->fr_fix > 0
45436 + && frag->fr_offset > 0)
45438 + /* The alignment order (fr_offset) is stored in the addend. */
45439 + fix_new(frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset,
45440 + FALSE, BFD_RELOC_AVR32_ALIGN);
45444 +/* Relax_align. Advance location counter to next address that has 'alignment'
45445 + lowest order bits all 0s, return size of adjustment made. */
45447 +avr32_relax_align(segT segment ATTRIBUTE_UNUSED,
45449 + relax_addressT address)
45451 + relax_addressT mask;
45452 + relax_addressT new_address;
45455 + alignment = fragP->fr_offset;
45456 + mask = ~((~0) << alignment);
45457 + new_address = (address + mask) & (~mask);
45459 + return new_address - address;
45462 +/* Turn a string in input_line_pointer into a floating point constant
45463 + of type type, and store the appropriate bytes in *litP. The number
45464 + of LITTLENUMS emitted is stored in *sizeP . An error message is
45465 + returned, or NULL on OK. */
45467 +/* Equal to MAX_PRECISION in atof-ieee.c */
45468 +#define MAX_LITTLENUMS 6
45471 +md_atof (type, litP, sizeP)
45478 + LITTLENUM_TYPE words [MAX_LITTLENUMS];
45497 + /* FIXME: Some targets allow other format chars for bigger sizes here. */
45501 + return _("Bad call to md_atof()");
45504 + t = atof_ieee (input_line_pointer, type, words);
45506 + input_line_pointer = t;
45507 + * sizeP = prec * sizeof (LITTLENUM_TYPE);
45509 + for (i = 0; i < prec; i++)
45511 + md_number_to_chars (litP, (valueT) words[i],
45512 + sizeof (LITTLENUM_TYPE));
45513 + litP += sizeof (LITTLENUM_TYPE);
45519 +static char *avr32_end_of_match(char *cont, char *what)
45521 + int len = strlen (what);
45523 + if (! is_part_of_name (cont[len])
45524 + && strncasecmp (cont, what, len) == 0)
45525 + return cont + len;
45531 +avr32_parse_name (char const *name, expressionS *exp, char *nextchar)
45533 + char *next = input_line_pointer;
45536 + pr_debug("parse_name: %s, nextchar=%c (%02x)\n", name, *nextchar, *nextchar);
45538 + if (*nextchar == '(')
45540 + if (strcasecmp(name, "hi") == 0)
45542 + *next = *nextchar;
45546 + if (exp->X_op == O_constant)
45548 + pr_debug(" -> constant hi(0x%08lx) -> 0x%04lx\n",
45549 + exp->X_add_number, exp->X_add_number >> 16);
45550 + exp->X_add_number = (exp->X_add_number >> 16) & 0xffff;
45554 + exp->X_md = exp->X_op;
45555 + exp->X_op = O_hi;
45560 + else if (strcasecmp(name, "lo") == 0)
45562 + *next = *nextchar;
45566 + if (exp->X_op == O_constant)
45567 + exp->X_add_number &= 0xffff;
45570 + exp->X_md = exp->X_op;
45571 + exp->X_op = O_lo;
45577 + else if (*nextchar == '@')
45579 + exp->X_md = exp->X_op;
45581 + if ((next_end = avr32_end_of_match (next + 1, "got")))
45582 + exp->X_op = O_got;
45583 + else if ((next_end = avr32_end_of_match (next + 1, "tlsgd")))
45584 + exp->X_op = O_tlsgd;
45585 + /* Add more as needed */
45589 + input_line_pointer++;
45590 + c = get_symbol_end();
45591 + as_bad (_("unknown relocation override `%s'"), next + 1);
45592 + *input_line_pointer = c;
45593 + input_line_pointer = next;
45597 + exp->X_op_symbol = NULL;
45598 + exp->X_add_symbol = symbol_find_or_make (name);
45599 + exp->X_add_number = 0;
45601 + *input_line_pointer = *nextchar;
45602 + input_line_pointer = next_end;
45603 + *nextchar = *input_line_pointer;
45604 + *input_line_pointer = '\0';
45607 + else if (strcmp (name, "_GLOBAL_OFFSET_TABLE_") == 0)
45610 + GOT_symbol = symbol_find_or_make(name);
45612 + exp->X_add_symbol = GOT_symbol;
45613 + exp->X_op = O_symbol;
45614 + exp->X_add_number = 0;
45622 +s_rseg (int value ATTRIBUTE_UNUSED)
45624 + /* Syntax: RSEG segment_name [:type] [NOROOT|ROOT] [(align)]
45626 + * - type: undocumented ("typically CODE or DATA")
45628 + * - align: 1 for code, 0 for others
45630 + * TODO: NOROOT is ignored. If gas supports discardable segments, it should
45631 + * be implemented.
45633 + char *name, *end;
45634 + int length, type, attr;
45637 + SKIP_WHITESPACE();
45639 + end = input_line_pointer;
45640 + while (0 == strchr ("\n\t;:( ", *end))
45642 + if (end == input_line_pointer)
45644 + as_warn (_("missing name"));
45645 + ignore_rest_of_line();
45649 + name = xmalloc (end - input_line_pointer + 1);
45650 + memcpy (name, input_line_pointer, end - input_line_pointer);
45651 + name[end - input_line_pointer] = '\0';
45652 + input_line_pointer = end;
45654 + SKIP_WHITESPACE();
45659 + if (*input_line_pointer == ':')
45661 + /* Skip the colon */
45662 + ++input_line_pointer;
45663 + SKIP_WHITESPACE();
45665 + /* Possible options at this point:
45666 + * - flag (ROOT or NOROOT)
45667 + * - a segment type
45669 + end = input_line_pointer;
45670 + while (0 == strchr ("\n\t;:( ", *end))
45672 + length = end - input_line_pointer;
45673 + if (((length == 4) && (0 == strncasecmp( input_line_pointer, "ROOT", 4))) ||
45674 + ((length == 6) && (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
45676 + /* Ignore ROOT/NOROOT */
45677 + input_line_pointer = end;
45681 + /* Must be a segment type */
45682 + switch (*input_line_pointer)
45686 + if ((length == 4) &&
45687 + (0 == strncasecmp (input_line_pointer, "CODE", 4)))
45689 + attr |= SHF_ALLOC | SHF_EXECINSTR;
45690 + type = SHT_PROGBITS;
45694 + if ((length == 5) &&
45695 + (0 == strncasecmp (input_line_pointer, "CONST", 5)))
45697 + attr |= SHF_ALLOC;
45698 + type = SHT_PROGBITS;
45705 + if ((length == 4) &&
45706 + (0 == strncasecmp (input_line_pointer, "DATA", 4)))
45708 + attr |= SHF_ALLOC | SHF_WRITE;
45709 + type = SHT_PROGBITS;
45714 + /* TODO: Add FAR*, HUGE*, IDATA and NEAR* if necessary */
45718 + if ((length == 7) &&
45719 + (0 == strncasecmp (input_line_pointer, "UNTYPED", 7)))
45723 + /* TODO: Add XDATA and ZPAGE if necessary */
45727 + as_warn (_("unrecognized segment type"));
45730 + input_line_pointer = end;
45731 + SKIP_WHITESPACE();
45733 + if (*input_line_pointer == ':')
45735 + /* ROOT/NOROOT */
45736 + ++input_line_pointer;
45737 + SKIP_WHITESPACE();
45739 + end = input_line_pointer;
45740 + while (0 == strchr ("\n\t;:( ", *end))
45742 + length = end - input_line_pointer;
45743 + if (! ((length == 4) &&
45744 + (0 == strncasecmp( input_line_pointer, "ROOT", 4))) &&
45745 + ! ((length == 6) &&
45746 + (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
45748 + as_warn (_("unrecognized segment flag"));
45751 + input_line_pointer = end;
45752 + SKIP_WHITESPACE();
45757 + if (*input_line_pointer == '(')
45759 + align = get_absolute_expression ();
45762 + demand_empty_rest_of_line();
45764 + obj_elf_change_section (name, type, attr, 0, NULL, 0, 0);
45765 +#ifdef AVR32_DEBUG
45766 + fprintf( stderr, "RSEG: Changed section to %s, type: 0x%x, attr: 0x%x\n",
45767 + name, type, attr );
45768 + fprintf( stderr, "RSEG: Aligning to 2**%d\n", align );
45774 + as_warn (_("alignment too large: %u assumed"), align);
45777 + /* Hope not, that is */
45778 + assert (now_seg != absolute_section);
45780 + /* Only make a frag if we HAVE to... */
45781 + if (align != 0 && !need_pass_2)
45783 + if (subseg_text_p (now_seg))
45784 + frag_align_code (align, 0);
45786 + frag_align (align, 0, 0);
45789 + record_alignment (now_seg, align - OCTETS_PER_BYTE_POWER);
45792 +/* vim: syntax=c sw=2
45795 +++ b/gas/config/tc-avr32.h
45797 +/* Assembler definitions for AVR32.
45798 + Copyright 2003-2006 Atmel Corporation.
45800 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
45802 + This file is part of GAS, the GNU Assembler.
45804 + GAS is free software; you can redistribute it and/or modify it
45805 + under the terms of the GNU General Public License as published by
45806 + the Free Software Foundation; either version 2, or (at your option)
45807 + any later version.
45809 + GAS is distributed in the hope that it will be useful, but WITHOUT
45810 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
45811 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
45812 + License for more details.
45814 + You should have received a copy of the GNU General Public License
45815 + along with GAS; see the file COPYING. If not, write to the Free
45816 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
45817 + 02111-1307, USA. */
45828 +/* Are we trying to be compatible with the IAR assembler? (--iar) */
45829 +extern int avr32_iarcompat;
45831 +/* By convention, you should define this macro in the `.h' file. For
45832 + example, `tc-m68k.h' defines `TC_M68K'. You might have to use this
45833 + if it is necessary to add CPU specific code to the object format
45837 +/* This macro is the BFD target name to use when creating the output
45838 + file. This will normally depend upon the `OBJ_FMT' macro. */
45839 +#define TARGET_FORMAT "elf32-avr32"
45841 +/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
45842 +#define TARGET_ARCH bfd_arch_avr32
45844 +/* This macro is the BFD machine number to pass to
45845 + `bfd_set_arch_mach'. If it is not defined, GAS will use 0. */
45846 +#define TARGET_MACH 0
45848 +/* UNDOCUMENTED: Allow //-style comments */
45849 +#define DOUBLESLASH_LINE_COMMENTS
45851 +/* You should define this macro to be non-zero if the target is big
45852 + endian, and zero if the target is little endian. */
45853 +#define TARGET_BYTES_BIG_ENDIAN 1
45855 +/* FIXME: It seems that GAS only expects a one-byte opcode...
45856 + #define NOP_OPCODE 0xd703 */
45858 +/* If you define this macro, GAS will warn about the use of
45859 + nonstandard escape sequences in a string. */
45860 +#undef ONLY_STANDARD_ESCAPES
45862 +#define DWARF2_FORMAT() dwarf2_format_32bit
45864 +/* Instructions are either 2 or 4 bytes long */
45865 +/* #define DWARF2_LINE_MIN_INSN_LENGTH 2 */
45867 +/* GAS will call this function for any expression that can not be
45868 + recognized. When the function is called, `input_line_pointer'
45869 + will point to the start of the expression. */
45870 +#define md_operand(x)
45872 +#define md_parse_name(name, expr, mode, c) avr32_parse_name(name, expr, c)
45873 +extern int avr32_parse_name(const char *, struct expressionS *, char *);
45875 +/* You may define this macro to generate a fixup for a data
45876 + allocation pseudo-op. */
45877 +#define TC_CONS_FIX_NEW(FRAG, OFF, LEN, EXP) \
45878 + avr32_cons_fix_new(FRAG, OFF, LEN, EXP)
45879 +void avr32_cons_fix_new (fragS *, int, int, expressionS *);
45881 +/* `extsym - .' expressions can be emitted using PC-relative relocs */
45882 +#define DIFF_EXPR_OK
45884 +/* This is used to construct expressions out of @gotoff, etc. The
45885 + relocation type is stored in X_md */
45886 +#define O_got O_md1
45887 +#define O_hi O_md2
45888 +#define O_lo O_md3
45889 +#define O_tlsgd O_md4
45891 +/* You may define this macro to parse an expression used in a data
45892 + allocation pseudo-op such as `.word'. You can use this to
45893 + recognize relocation directives that may appear in such directives. */
45894 +/* #define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR,N)
45895 + void avr_parse_cons_expression (expressionS *exp, int nbytes); */
45897 +/* This should just call either `number_to_chars_bigendian' or
45898 + `number_to_chars_littleendian', whichever is appropriate. On
45899 + targets like the MIPS which support options to change the
45900 + endianness, which function to call is a runtime decision. On
45901 + other targets, `md_number_to_chars' can be a simple macro. */
45902 +#define md_number_to_chars number_to_chars_bigendian
45904 +/* `md_short_jump_size'
45905 + `md_long_jump_size'
45906 + `md_create_short_jump'
45907 + `md_create_long_jump'
45908 + If `WORKING_DOT_WORD' is defined, GAS will not do broken word
45909 + processing (*note Broken words::.). Otherwise, you should set
45910 + `md_short_jump_size' to the size of a short jump (a jump that is
45911 + just long enough to jump around a long jmp) and
45912 + `md_long_jump_size' to the size of a long jump (a jump that can go
45913 + anywhere in the function), You should define
45914 + `md_create_short_jump' to create a short jump around a long jump,
45915 + and define `md_create_long_jump' to create a long jump. */
45916 +#define WORKING_DOT_WORD
45918 +/* If you define this macro, it means that `tc_gen_reloc' may return
45919 + multiple relocation entries for a single fixup. In this case, the
45920 + return value of `tc_gen_reloc' is a pointer to a null terminated
45922 +#undef RELOC_EXPANSION_POSSIBLE
45924 +/* If you define this macro, GAS will not require pseudo-ops to start with a .
45926 +#define NO_PSEUDO_DOT (avr32_iarcompat)
45928 +/* The IAR assembler uses $ as the location counter. Unfortunately, we
45929 + can't make this dependent on avr32_iarcompat... */
45930 +#define DOLLAR_DOT
45932 +/* Values passed to md_apply_fix3 don't include the symbol value. */
45933 +#define MD_APPLY_SYM_VALUE(FIX) 0
45935 +/* The number of bytes to put into a word in a listing. This affects
45936 + the way the bytes are clumped together in the listing. For
45937 + example, a value of 2 might print `1234 5678' where a value of 1
45938 + would print `12 34 56 78'. The default value is 4. */
45939 +#define LISTING_WORD_SIZE 4
45941 +/* extern const struct relax_type md_relax_table[];
45942 +#define TC_GENERIC_RELAX_TABLE md_relax_table */
45945 + An `.lcomm' directive with no explicit alignment parameter will use
45946 + this macro to set P2VAR to the alignment that a request for SIZE
45947 + bytes will have. The alignment is expressed as a power of two. If
45948 + no alignment should take place, the macro definition should do
45949 + nothing. Some targets define a `.bss' directive that is also
45950 + affected by this macro. The default definition will set P2VAR to
45951 + the truncated power of two of sizes up to eight bytes.
45953 + We want doublewords to be word-aligned, so we're going to modify the
45954 + default definition a tiny bit.
45956 +#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) \
45959 + if ((SIZE) >= 4) \
45961 + else if ((SIZE) >= 2) \
45968 +/* When relaxing, we need to generate relocations for alignment
45970 +#define HANDLE_ALIGN(frag) avr32_handle_align(frag)
45971 +extern void avr32_handle_align(fragS *);
45973 +/* See internals doc for explanation. Oh wait...
45974 + Now, can you guess where "alignment" comes from? ;-) */
45975 +#define MAX_MEM_FOR_RS_ALIGN_CODE ((1 << alignment) - 1)
45977 +/* We need to stop gas from reducing certain expressions (e.g. GOT
45979 +#define tc_fix_adjustable(fix) avr32_fix_adjustable(fix)
45980 +extern bfd_boolean avr32_fix_adjustable(struct fix *);
45982 +/* The linker needs to be passed a little more information when relaxing. */
45983 +#define TC_FORCE_RELOCATION(fix) avr32_force_reloc(fix)
45984 +extern bfd_boolean avr32_force_reloc(struct fix *);
45986 +/* I'm tired of working around all the madness in fixup_segment().
45987 + This hook will do basically the same things as the generic code,
45988 + and then it will "goto" right past it. */
45989 +#define TC_VALIDATE_FIX(FIX, SEG, SKIP) \
45992 + avr32_process_fixup(FIX, SEG); \
45993 + if (!(FIX)->fx_done) \
45994 + ++seg_reloc_count; \
45998 +extern void avr32_process_fixup(struct fix *fixP, segT this_segment);
46000 +/* We don't want the gas core to make any assumptions about our way of
46001 + doing linkrelaxing. */
46002 +#define TC_LINKRELAX_FIXUP(SEG) 0
46004 +/* ... but we do want it to insert lots of padding. */
46005 +#define LINKER_RELAXING_SHRINKS_ONLY
46007 +/* Better do it ourselves, really... */
46008 +#define TC_RELAX_ALIGN(SEG, FRAG, ADDR) avr32_relax_align(SEG, FRAG, ADDR)
46009 +extern relax_addressT
46010 +avr32_relax_align(segT segment, fragS *fragP, relax_addressT address);
46012 +/* This is called by write_object_file() just before symbols are
46013 + attempted converted into section symbols. */
46014 +#define tc_frob_file_before_adjust() avr32_frob_file()
46015 +extern void avr32_frob_file(void);
46017 +/* If you define this macro, GAS will call it at the end of each input
46019 +#define md_cleanup() avr32_cleanup()
46020 +extern void avr32_cleanup(void);
46022 +/* There's an AVR32-specific hack in operand() which creates O_md
46023 + expressions when encountering HWRD or LWRD. We need to generate
46024 + proper relocs for them */
46025 +/* #define md_cgen_record_fixup_exp avr32_cgen_record_fixup_exp */
46027 +/* I needed to add an extra hook in gas_cgen_finish_insn() for
46028 + conversion of O_md* operands because md_cgen_record_fixup_exp()
46029 + isn't called for relaxable insns */
46030 +/* #define md_cgen_convert_expr(exp, opinfo) avr32_cgen_convert_expr(exp, opinfo)
46031 + int avr32_cgen_convert_expr(expressionS *, int); */
46033 +/* #define tc_gen_reloc gas_cgen_tc_gen_reloc */
46035 +/* If you define this macro, it should return the position from which
46036 + the PC relative adjustment for a PC relative fixup should be
46037 + made. On many processors, the base of a PC relative instruction is
46038 + the next instruction, so this macro would return the length of an
46039 + instruction, plus the address of the PC relative fixup. The latter
46040 + can be calculated as fixp->fx_where + fixp->fx_frag->fr_address. */
46041 +extern long md_pcrel_from_section (struct fix *, segT);
46042 +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
46044 +#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L'))
46045 +#define LOCAL_LABELS_FB 1
46047 +struct avr32_relaxer
46049 + int (*estimate_size)(fragS *, segT);
46050 + long (*relax_frag)(segT, fragS *, long);
46051 + void (*convert_frag)(bfd *, segT, fragS *);
46054 +/* AVR32 has quite complex instruction coding, which means we need
46055 + * lots of information in order to do the right thing during relaxing
46056 + * (basically, we need to be able to reconstruct a whole new opcode if
46058 +#define TC_FRAG_TYPE struct avr32_frag_data
46062 +struct avr32_frag_data
46064 + /* TODO: Maybe add an expression object here so that we can use
46065 + fix_new_exp() in md_convert_frag? We may have to decide
46066 + pcrel-ness in md_estimate_size_before_relax() as well...or we
46067 + might do it when parsing. Doing it while parsing may fail
46068 + because the sub_symbol is undefined then... */
46070 + int force_extended;
46072 + struct avr32_relaxer *relaxer;
46075 + /* Points to associated constant pool, for use by LDA and CALL in
46076 + non-pic mode, and when relaxing the .cpool directive */
46077 + struct cpool *pool;
46078 + unsigned int pool_entry;
46081 +/* We will have to initialize the fields explicitly when needed */
46082 +#define TC_FRAG_INIT(fragP)
46084 +#define md_estimate_size_before_relax(fragP, segT) \
46085 + ((fragP)->tc_frag_data.relaxer->estimate_size(fragP, segT))
46086 +#define md_relax_frag(segment, fragP, stretch) \
46087 + ((fragP)->tc_frag_data.relaxer->relax_frag(segment, fragP, stretch))
46088 +#define md_convert_frag(abfd, segment, fragP) \
46089 + ((fragP)->tc_frag_data.relaxer->convert_frag(abfd, segment, fragP))
46091 +#define TC_FIX_TYPE struct avr32_fix_data
46093 +struct avr32_fix_data
46095 + const struct avr32_ifield *ifield;
46096 + unsigned int align;
46101 +#define TC_INIT_FIX_DATA(fixP) \
46104 + (fixP)->tc_fix_data.ifield = NULL; \
46105 + (fixP)->tc_fix_data.align = 0; \
46106 + (fixP)->tc_fix_data.min = 0; \
46107 + (fixP)->tc_fix_data.max = 0; \
46110 --- a/gas/configure.tgt
46111 +++ b/gas/configure.tgt
46112 @@ -33,6 +33,7 @@ case ${cpu} in
46113 am33_2.0) cpu_type=mn10300 endian=little ;;
46114 arm*be|arm*b) cpu_type=arm endian=big ;;
46115 arm*) cpu_type=arm endian=little ;;
46116 + avr32*) cpu_type=avr32 endian=big ;;
46117 bfin*) cpu_type=bfin endian=little ;;
46118 c4x*) cpu_type=tic4x ;;
46119 crisv32) cpu_type=cris arch=crisv32 ;;
46120 @@ -122,6 +123,9 @@ case ${generic_target} in
46121 bfin-*-*) fmt=elf bfd_gas=yes ;;
46122 bfin-*elf) fmt=elf ;;
46124 + avr32-*-linux*) fmt=elf em=linux bfd_gas=yes ;;
46125 + avr32*) fmt=elf bfd_gas=yes ;;
46127 cris-*-linux-* | crisv32-*-linux-*)
46128 fmt=multi em=linux ;;
46129 cris-*-* | crisv32-*-*) fmt=multi ;;
46130 --- a/gas/doc/all.texi
46131 +++ b/gas/doc/all.texi
46140 --- a/gas/doc/as.info
46141 +++ b/gas/doc/as.info
46143 -This is ../.././gas/doc/as.info, produced by makeinfo version 4.8 from
46144 -../.././gas/doc/as.texinfo.
46146 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/gas/doc/as.info,
46147 +produced by makeinfo version 4.8 from
46148 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/gas/doc/as.texinfo.
46150 START-INFO-DIR-ENTRY
46151 * As: (as). The GNU assembler.
46152 @@ -17890,463 +17892,463 @@ Index
46157 -Node: Overview
\7f1695
46158 -Node: Manual
\7f28187
46159 -Node: GNU Assembler
\7f29131
46160 -Node: Object Formats
\7f30302
46161 -Node: Command Line
\7f30754
46162 -Node: Input Files
\7f31841
46163 -Node: Object
\7f33822
46164 -Node: Errors
\7f34718
46165 -Node: Invoking
\7f35913
46167 -Node: alternate
\7f39634
46173 -Node: listing
\7f42231
46178 -Node: statistics
\7f50135
46179 -Node: traditional-format
\7f50542
46183 -Node: Syntax
\7f52719
46184 -Node: Preprocessing
\7f53310
46185 -Node: Whitespace
\7f54873
46186 -Node: Comments
\7f55269
46187 -Node: Symbol Intro
\7f57422
46188 -Node: Statements
\7f58112
46189 -Node: Constants
\7f60028
46190 -Node: Characters
\7f60659
46191 -Node: Strings
\7f61161
46192 -Node: Chars
\7f63327
46193 -Node: Numbers
\7f64081
46194 -Node: Integers
\7f64621
46195 -Node: Bignums
\7f65277
46196 -Node: Flonums
\7f65633
46197 -Node: Sections
\7f67380
46198 -Node: Secs Background
\7f67758
46199 -Node: Ld Sections
\7f72797
46200 -Node: As Sections
\7f75181
46201 -Node: Sub-Sections
\7f76091
46203 -Node: Symbols
\7f80188
46204 -Node: Labels
\7f80836
46205 -Node: Setting Symbols
\7f81567
46206 -Node: Symbol Names
\7f82063
46208 -Node: Symbol Attributes
\7f86875
46209 -Node: Symbol Value
\7f87612
46210 -Node: Symbol Type
\7f88657
46211 -Node: a.out Symbols
\7f89045
46212 -Node: Symbol Desc
\7f89307
46213 -Node: Symbol Other
\7f89602
46214 -Node: COFF Symbols
\7f89771
46215 -Node: SOM Symbols
\7f90444
46216 -Node: Expressions
\7f90886
46217 -Node: Empty Exprs
\7f91635
46218 -Node: Integer Exprs
\7f91982
46219 -Node: Arguments
\7f92377
46220 -Node: Operators
\7f93483
46221 -Node: Prefix Ops
\7f93818
46222 -Node: Infix Ops
\7f94146
46223 -Node: Pseudo Ops
\7f96536
46224 -Node: Abort
\7f101731
46225 -Node: ABORT
\7f102136
46226 -Node: Align
\7f102323
46227 -Node: Ascii
\7f104605
46228 -Node: Asciz
\7f104914
46229 -Node: Balign
\7f105159
46230 -Node: Byte
\7f107022
46231 -Node: Comm
\7f107260
46232 -Node: CFI directives
\7f108634
46233 -Node: LNS directives
\7f110986
46234 -Node: Data
\7f113063
46235 -Node: Def
\7f113390
46236 -Node: Desc
\7f113622
46237 -Node: Dim
\7f114122
46238 -Node: Double
\7f114379
46239 -Node: Eject
\7f114717
46240 -Node: Else
\7f114892
46241 -Node: Elseif
\7f115188
46242 -Node: End
\7f115478
46243 -Node: Endef
\7f115693
46244 -Node: Endfunc
\7f115870
46245 -Node: Endif
\7f116045
46246 -Node: Equ
\7f116306
46247 -Node: Equiv
\7f116815
46248 -Node: Eqv
\7f117371
46249 -Node: Err
\7f117735
46250 -Node: Error
\7f118046
46251 -Node: Exitm
\7f118491
46252 -Node: Extern
\7f118660
46253 -Node: Fail
\7f118921
46254 -Node: File
\7f119366
46255 -Node: Fill
\7f119843
46256 -Node: Float
\7f120807
46257 -Node: Func
\7f121149
46258 -Node: Global
\7f121739
46259 -Node: Hidden
\7f122489
46260 -Node: hword
\7f123068
46261 -Node: Ident
\7f123396
46263 -Node: Incbin
\7f127029
46264 -Node: Include
\7f127724
46265 -Node: Int
\7f128275
46266 -Node: Internal
\7f128656
46267 -Node: Irp
\7f129304
46268 -Node: Irpc
\7f130201
46269 -Node: Lcomm
\7f131118
46270 -Node: Lflags
\7f131866
46271 -Node: Line
\7f132060
46272 -Node: Linkonce
\7f132979
46274 -Node: MRI
\7f134369
46275 -Node: List
\7f134707
46276 -Node: Long
\7f135315
46277 -Node: Macro
\7f135501
46278 -Node: Altmacro
\7f140064
46279 -Node: Noaltmacro
\7f141394
46280 -Node: Nolist
\7f141562
46281 -Node: Octa
\7f141992
46282 -Node: Org
\7f142326
46283 -Node: P2align
\7f143609
46284 -Node: Previous
\7f145537
46285 -Node: PopSection
\7f146231
46286 -Node: Print
\7f146739
46287 -Node: Protected
\7f146968
46288 -Node: Psize
\7f147615
46289 -Node: Purgem
\7f148299
46290 -Node: PushSection
\7f148520
46291 -Node: Quad
\7f149077
46292 -Node: Rept
\7f149532
46293 -Node: Sbttl
\7f149945
46294 -Node: Scl
\7f150310
46295 -Node: Section
\7f150651
46296 -Node: Set
\7f155791
46297 -Node: Short
\7f156428
46298 -Node: Single
\7f156748
46299 -Node: Size
\7f157093
46300 -Node: Sleb128
\7f157765
46301 -Node: Skip
\7f158087
46302 -Node: Space
\7f158409
46303 -Node: Stab
\7f159048
46304 -Node: String
\7f161050
46305 -Node: Struct
\7f161476
46306 -Node: SubSection
\7f162199
46307 -Node: Symver
\7f162760
46308 -Node: Tag
\7f165151
46309 -Node: Text
\7f165531
46310 -Node: Title
\7f165850
46311 -Node: Type
\7f166229
46312 -Node: Uleb128
\7f167306
46313 -Node: Val
\7f167630
46314 -Node: Version
\7f167880
46315 -Node: VTableEntry
\7f168155
46316 -Node: VTableInherit
\7f168445
46317 -Node: Warning
\7f168891
46318 -Node: Weak
\7f169125
46319 -Node: Weakref
\7f169794
46320 -Node: Word
\7f170759
46321 -Node: Deprecated
\7f172605
46322 -Node: Machine Dependencies
\7f172840
46323 -Node: Alpha-Dependent
\7f175604
46324 -Node: Alpha Notes
\7f176018
46325 -Node: Alpha Options
\7f176299
46326 -Node: Alpha Syntax
\7f178497
46327 -Node: Alpha-Chars
\7f178966
46328 -Node: Alpha-Regs
\7f179197
46329 -Node: Alpha-Relocs
\7f179584
46330 -Node: Alpha Floating Point
\7f185842
46331 -Node: Alpha Directives
\7f186064
46332 -Node: Alpha Opcodes
\7f191587
46333 -Node: ARC-Dependent
\7f191882
46334 -Node: ARC Options
\7f192265
46335 -Node: ARC Syntax
\7f193334
46336 -Node: ARC-Chars
\7f193566
46337 -Node: ARC-Regs
\7f193698
46338 -Node: ARC Floating Point
\7f193822
46339 -Node: ARC Directives
\7f194133
46340 -Node: ARC Opcodes
\7f200104
46341 -Node: ARM-Dependent
\7f200330
46342 -Node: ARM Options
\7f200757
46343 -Node: ARM Syntax
\7f206551
46344 -Node: ARM-Chars
\7f206783
46345 -Node: ARM-Regs
\7f207307
46346 -Node: ARM Floating Point
\7f207492
46347 -Node: ARM Directives
\7f207691
46348 -Node: ARM Opcodes
\7f214055
46349 -Node: ARM Mapping Symbols
\7f216143
46350 -Node: BFIN-Dependent
\7f216922
46351 -Node: BFIN Syntax
\7f217176
46352 -Node: BFIN Directives
\7f222873
46353 -Node: CRIS-Dependent
\7f223280
46354 -Node: CRIS-Opts
\7f223626
46355 -Ref: march-option
\7f225244
46356 -Node: CRIS-Expand
\7f227061
46357 -Node: CRIS-Symbols
\7f228244
46358 -Node: CRIS-Syntax
\7f229413
46359 -Node: CRIS-Chars
\7f229749
46360 -Node: CRIS-Pic
\7f230300
46361 -Ref: crispic
\7f230496
46362 -Node: CRIS-Regs
\7f234036
46363 -Node: CRIS-Pseudos
\7f234453
46364 -Ref: crisnous
\7f235229
46365 -Node: D10V-Dependent
\7f236511
46366 -Node: D10V-Opts
\7f236862
46367 -Node: D10V-Syntax
\7f237825
46368 -Node: D10V-Size
\7f238354
46369 -Node: D10V-Subs
\7f239327
46370 -Node: D10V-Chars
\7f240362
46371 -Node: D10V-Regs
\7f241966
46372 -Node: D10V-Addressing
\7f243011
46373 -Node: D10V-Word
\7f243697
46374 -Node: D10V-Float
\7f244212
46375 -Node: D10V-Opcodes
\7f244523
46376 -Node: D30V-Dependent
\7f244916
46377 -Node: D30V-Opts
\7f245269
46378 -Node: D30V-Syntax
\7f245944
46379 -Node: D30V-Size
\7f246476
46380 -Node: D30V-Subs
\7f247447
46381 -Node: D30V-Chars
\7f248482
46382 -Node: D30V-Guarded
\7f250780
46383 -Node: D30V-Regs
\7f251460
46384 -Node: D30V-Addressing
\7f252599
46385 -Node: D30V-Float
\7f253267
46386 -Node: D30V-Opcodes
\7f253578
46387 -Node: H8/300-Dependent
\7f253971
46388 -Node: H8/300 Options
\7f254381
46389 -Node: H8/300 Syntax
\7f254590
46390 -Node: H8/300-Chars
\7f254889
46391 -Node: H8/300-Regs
\7f255186
46392 -Node: H8/300-Addressing
\7f256103
46393 -Node: H8/300 Floating Point
\7f257142
46394 -Node: H8/300 Directives
\7f257467
46395 -Node: H8/300 Opcodes
\7f258593
46396 -Node: HPPA-Dependent
\7f266913
46397 -Node: HPPA Notes
\7f267346
46398 -Node: HPPA Options
\7f268102
46399 -Node: HPPA Syntax
\7f268295
46400 -Node: HPPA Floating Point
\7f269563
46401 -Node: HPPA Directives
\7f269767
46402 -Node: HPPA Opcodes
\7f278451
46403 -Node: ESA/390-Dependent
\7f278708
46404 -Node: ESA/390 Notes
\7f279168
46405 -Node: ESA/390 Options
\7f279959
46406 -Node: ESA/390 Syntax
\7f280169
46407 -Node: ESA/390 Floating Point
\7f282342
46408 -Node: ESA/390 Directives
\7f282621
46409 -Node: ESA/390 Opcodes
\7f285910
46410 -Node: i386-Dependent
\7f286172
46411 -Node: i386-Options
\7f287240
46412 -Node: i386-Syntax
\7f288430
46413 -Node: i386-Mnemonics
\7f290844
46414 -Node: i386-Regs
\7f293309
46415 -Node: i386-Prefixes
\7f295354
46416 -Node: i386-Memory
\7f298114
46417 -Node: i386-Jumps
\7f301051
46418 -Node: i386-Float
\7f302172
46419 -Node: i386-SIMD
\7f304001
46420 -Node: i386-16bit
\7f305110
46421 -Node: i386-Bugs
\7f307148
46422 -Node: i386-Arch
\7f307902
46423 -Node: i386-Notes
\7f310083
46424 -Node: i860-Dependent
\7f310941
46425 -Node: Notes-i860
\7f311337
46426 -Node: Options-i860
\7f312242
46427 -Node: Directives-i860
\7f313605
46428 -Node: Opcodes for i860
\7f314674
46429 -Node: i960-Dependent
\7f316841
46430 -Node: Options-i960
\7f317244
46431 -Node: Floating Point-i960
\7f321128
46432 -Node: Directives-i960
\7f321396
46433 -Node: Opcodes for i960
\7f323430
46434 -Node: callj-i960
\7f324047
46435 -Node: Compare-and-branch-i960
\7f324536
46436 -Node: IA-64-Dependent
\7f326440
46437 -Node: IA-64 Options
\7f326741
46438 -Node: IA-64 Syntax
\7f329901
46439 -Node: IA-64-Chars
\7f330264
46440 -Node: IA-64-Regs
\7f330494
46441 -Node: IA-64-Bits
\7f331420
46442 -Node: IA-64 Opcodes
\7f331929
46443 -Node: IP2K-Dependent
\7f332201
46444 -Node: IP2K-Opts
\7f332429
46445 -Node: M32C-Dependent
\7f332909
46446 -Node: M32C-Opts
\7f333433
46447 -Node: M32C-Modifiers
\7f333717
46448 -Node: M32R-Dependent
\7f335504
46449 -Node: M32R-Opts
\7f335825
46450 -Node: M32R-Directives
\7f339991
46451 -Node: M32R-Warnings
\7f343966
46452 -Node: M68K-Dependent
\7f346972
46453 -Node: M68K-Opts
\7f347439
46454 -Node: M68K-Syntax
\7f354818
46455 -Node: M68K-Moto-Syntax
\7f356657
46456 -Node: M68K-Float
\7f359246
46457 -Node: M68K-Directives
\7f359766
46458 -Node: M68K-opcodes
\7f361092
46459 -Node: M68K-Branch
\7f361318
46460 -Node: M68K-Chars
\7f365516
46461 -Node: M68HC11-Dependent
\7f365929
46462 -Node: M68HC11-Opts
\7f366460
46463 -Node: M68HC11-Syntax
\7f370276
46464 -Node: M68HC11-Modifiers
\7f372490
46465 -Node: M68HC11-Directives
\7f374318
46466 -Node: M68HC11-Float
\7f375694
46467 -Node: M68HC11-opcodes
\7f376222
46468 -Node: M68HC11-Branch
\7f376404
46469 -Node: MIPS-Dependent
\7f378851
46470 -Node: MIPS Opts
\7f379941
46471 -Node: MIPS Object
\7f387268
46472 -Node: MIPS Stabs
\7f388834
46473 -Node: MIPS symbol sizes
\7f389556
46474 -Node: MIPS ISA
\7f391225
46475 -Node: MIPS autoextend
\7f392374
46476 -Node: MIPS insn
\7f393104
46477 -Node: MIPS option stack
\7f393601
46478 -Node: MIPS ASE instruction generation overrides
\7f394375
46479 -Node: MMIX-Dependent
\7f395592
46480 -Node: MMIX-Opts
\7f395972
46481 -Node: MMIX-Expand
\7f399576
46482 -Node: MMIX-Syntax
\7f400891
46483 -Ref: mmixsite
\7f401248
46484 -Node: MMIX-Chars
\7f402089
46485 -Node: MMIX-Symbols
\7f402743
46486 -Node: MMIX-Regs
\7f404811
46487 -Node: MMIX-Pseudos
\7f405836
46488 -Ref: MMIX-loc
\7f405977
46489 -Ref: MMIX-local
\7f407057
46490 -Ref: MMIX-is
\7f407589
46491 -Ref: MMIX-greg
\7f407860
46492 -Ref: GREG-base
\7f408779
46493 -Ref: MMIX-byte
\7f410096
46494 -Ref: MMIX-constants
\7f410567
46495 -Ref: MMIX-prefix
\7f411213
46496 -Ref: MMIX-spec
\7f411587
46497 -Node: MMIX-mmixal
\7f411921
46498 -Node: MSP430-Dependent
\7f415418
46499 -Node: MSP430 Options
\7f415884
46500 -Node: MSP430 Syntax
\7f416170
46501 -Node: MSP430-Macros
\7f416486
46502 -Node: MSP430-Chars
\7f417217
46503 -Node: MSP430-Regs
\7f417530
46504 -Node: MSP430-Ext
\7f418090
46505 -Node: MSP430 Floating Point
\7f419911
46506 -Node: MSP430 Directives
\7f420135
46507 -Node: MSP430 Opcodes
\7f420926
46508 -Node: MSP430 Profiling Capability
\7f421321
46509 -Node: PDP-11-Dependent
\7f423650
46510 -Node: PDP-11-Options
\7f424039
46511 -Node: PDP-11-Pseudos
\7f429110
46512 -Node: PDP-11-Syntax
\7f429455
46513 -Node: PDP-11-Mnemonics
\7f430206
46514 -Node: PDP-11-Synthetic
\7f430508
46515 -Node: PJ-Dependent
\7f430726
46516 -Node: PJ Options
\7f430951
46517 -Node: PPC-Dependent
\7f431228
46518 -Node: PowerPC-Opts
\7f431515
46519 -Node: PowerPC-Pseudo
\7f433590
46520 -Node: SH-Dependent
\7f434189
46521 -Node: SH Options
\7f434601
46522 -Node: SH Syntax
\7f435529
46523 -Node: SH-Chars
\7f435802
46524 -Node: SH-Regs
\7f436096
46525 -Node: SH-Addressing
\7f436710
46526 -Node: SH Floating Point
\7f437619
46527 -Node: SH Directives
\7f438713
46528 -Node: SH Opcodes
\7f439083
46529 -Node: SH64-Dependent
\7f443405
46530 -Node: SH64 Options
\7f443768
46531 -Node: SH64 Syntax
\7f445485
46532 -Node: SH64-Chars
\7f445768
46533 -Node: SH64-Regs
\7f446068
46534 -Node: SH64-Addressing
\7f447164
46535 -Node: SH64 Directives
\7f448347
46536 -Node: SH64 Opcodes
\7f449457
46537 -Node: Sparc-Dependent
\7f450173
46538 -Node: Sparc-Opts
\7f450558
46539 -Node: Sparc-Aligned-Data
\7f452815
46540 -Node: Sparc-Float
\7f453670
46541 -Node: Sparc-Directives
\7f453871
46542 -Node: TIC54X-Dependent
\7f455831
46543 -Node: TIC54X-Opts
\7f456557
46544 -Node: TIC54X-Block
\7f457600
46545 -Node: TIC54X-Env
\7f457960
46546 -Node: TIC54X-Constants
\7f458308
46547 -Node: TIC54X-Subsyms
\7f458710
46548 -Node: TIC54X-Locals
\7f460619
46549 -Node: TIC54X-Builtins
\7f461363
46550 -Node: TIC54X-Ext
\7f463834
46551 -Node: TIC54X-Directives
\7f464405
46552 -Node: TIC54X-Macros
\7f475307
46553 -Node: TIC54X-MMRegs
\7f477417
46554 -Node: Z80-Dependent
\7f477633
46555 -Node: Z80 Options
\7f478021
46556 -Node: Z80 Syntax
\7f479444
46557 -Node: Z80-Chars
\7f480116
46558 -Node: Z80-Regs
\7f480649
46559 -Node: Z80-Case
\7f481001
46560 -Node: Z80 Floating Point
\7f481446
46561 -Node: Z80 Directives
\7f481640
46562 -Node: Z80 Opcodes
\7f483265
46563 -Node: Z8000-Dependent
\7f484607
46564 -Node: Z8000 Options
\7f485568
46565 -Node: Z8000 Syntax
\7f485785
46566 -Node: Z8000-Chars
\7f486075
46567 -Node: Z8000-Regs
\7f486308
46568 -Node: Z8000-Addressing
\7f487098
46569 -Node: Z8000 Directives
\7f488215
46570 -Node: Z8000 Opcodes
\7f489824
46571 -Node: Vax-Dependent
\7f499766
46572 -Node: VAX-Opts
\7f500283
46573 -Node: VAX-float
\7f504018
46574 -Node: VAX-directives
\7f504650
46575 -Node: VAX-opcodes
\7f505511
46576 -Node: VAX-branch
\7f505900
46577 -Node: VAX-operands
\7f508407
46578 -Node: VAX-no
\7f509170
46579 -Node: V850-Dependent
\7f509407
46580 -Node: V850 Options
\7f509805
46581 -Node: V850 Syntax
\7f512194
46582 -Node: V850-Chars
\7f512434
46583 -Node: V850-Regs
\7f512599
46584 -Node: V850 Floating Point
\7f514167
46585 -Node: V850 Directives
\7f514373
46586 -Node: V850 Opcodes
\7f515516
46587 -Node: Xtensa-Dependent
\7f521408
46588 -Node: Xtensa Options
\7f522137
46589 -Node: Xtensa Syntax
\7f524908
46590 -Node: Xtensa Opcodes
\7f526797
46591 -Node: Xtensa Registers
\7f528591
46592 -Node: Xtensa Optimizations
\7f529224
46593 -Node: Density Instructions
\7f529676
46594 -Node: Xtensa Automatic Alignment
\7f530778
46595 -Node: Xtensa Relaxation
\7f533524
46596 -Node: Xtensa Branch Relaxation
\7f534432
46597 -Node: Xtensa Call Relaxation
\7f535804
46598 -Node: Xtensa Immediate Relaxation
\7f537590
46599 -Node: Xtensa Directives
\7f540164
46600 -Node: Schedule Directive
\7f541872
46601 -Node: Longcalls Directive
\7f542212
46602 -Node: Transform Directive
\7f542756
46603 -Node: Literal Directive
\7f543498
46604 -Node: Literal Position Directive
\7f545283
46605 -Node: Literal Prefix Directive
\7f546982
46606 -Node: Absolute Literals Directive
\7f549145
46607 -Node: Reporting Bugs
\7f550452
46608 -Node: Bug Criteria
\7f551176
46609 -Node: Bug Reporting
\7f551941
46610 -Node: Acknowledgements
\7f558574
46611 -Ref: Acknowledgements-Footnote-1
\7f563472
46612 -Node: GNU Free Documentation License
\7f563498
46613 -Node: Index
\7f583225
46615 +Node: Overview
\7f1829
46616 +Node: Manual
\7f28321
46617 +Node: GNU Assembler
\7f29265
46618 +Node: Object Formats
\7f30436
46619 +Node: Command Line
\7f30888
46620 +Node: Input Files
\7f31975
46621 +Node: Object
\7f33956
46622 +Node: Errors
\7f34852
46623 +Node: Invoking
\7f36047
46625 +Node: alternate
\7f39768
46631 +Node: listing
\7f42365
46636 +Node: statistics
\7f50269
46637 +Node: traditional-format
\7f50676
46641 +Node: Syntax
\7f52853
46642 +Node: Preprocessing
\7f53444
46643 +Node: Whitespace
\7f55007
46644 +Node: Comments
\7f55403
46645 +Node: Symbol Intro
\7f57556
46646 +Node: Statements
\7f58246
46647 +Node: Constants
\7f60162
46648 +Node: Characters
\7f60793
46649 +Node: Strings
\7f61295
46650 +Node: Chars
\7f63461
46651 +Node: Numbers
\7f64215
46652 +Node: Integers
\7f64755
46653 +Node: Bignums
\7f65411
46654 +Node: Flonums
\7f65767
46655 +Node: Sections
\7f67514
46656 +Node: Secs Background
\7f67892
46657 +Node: Ld Sections
\7f72931
46658 +Node: As Sections
\7f75315
46659 +Node: Sub-Sections
\7f76225
46661 +Node: Symbols
\7f80322
46662 +Node: Labels
\7f80970
46663 +Node: Setting Symbols
\7f81701
46664 +Node: Symbol Names
\7f82197
46666 +Node: Symbol Attributes
\7f87009
46667 +Node: Symbol Value
\7f87746
46668 +Node: Symbol Type
\7f88791
46669 +Node: a.out Symbols
\7f89179
46670 +Node: Symbol Desc
\7f89441
46671 +Node: Symbol Other
\7f89736
46672 +Node: COFF Symbols
\7f89905
46673 +Node: SOM Symbols
\7f90578
46674 +Node: Expressions
\7f91020
46675 +Node: Empty Exprs
\7f91769
46676 +Node: Integer Exprs
\7f92116
46677 +Node: Arguments
\7f92511
46678 +Node: Operators
\7f93617
46679 +Node: Prefix Ops
\7f93952
46680 +Node: Infix Ops
\7f94280
46681 +Node: Pseudo Ops
\7f96670
46682 +Node: Abort
\7f101865
46683 +Node: ABORT
\7f102270
46684 +Node: Align
\7f102457
46685 +Node: Ascii
\7f104739
46686 +Node: Asciz
\7f105048
46687 +Node: Balign
\7f105293
46688 +Node: Byte
\7f107156
46689 +Node: Comm
\7f107394
46690 +Node: CFI directives
\7f108768
46691 +Node: LNS directives
\7f111120
46692 +Node: Data
\7f113197
46693 +Node: Def
\7f113524
46694 +Node: Desc
\7f113756
46695 +Node: Dim
\7f114256
46696 +Node: Double
\7f114513
46697 +Node: Eject
\7f114851
46698 +Node: Else
\7f115026
46699 +Node: Elseif
\7f115322
46700 +Node: End
\7f115612
46701 +Node: Endef
\7f115827
46702 +Node: Endfunc
\7f116004
46703 +Node: Endif
\7f116179
46704 +Node: Equ
\7f116440
46705 +Node: Equiv
\7f116949
46706 +Node: Eqv
\7f117505
46707 +Node: Err
\7f117869
46708 +Node: Error
\7f118180
46709 +Node: Exitm
\7f118625
46710 +Node: Extern
\7f118794
46711 +Node: Fail
\7f119055
46712 +Node: File
\7f119500
46713 +Node: Fill
\7f119977
46714 +Node: Float
\7f120941
46715 +Node: Func
\7f121283
46716 +Node: Global
\7f121873
46717 +Node: Hidden
\7f122623
46718 +Node: hword
\7f123202
46719 +Node: Ident
\7f123530
46721 +Node: Incbin
\7f127163
46722 +Node: Include
\7f127858
46723 +Node: Int
\7f128409
46724 +Node: Internal
\7f128790
46725 +Node: Irp
\7f129438
46726 +Node: Irpc
\7f130335
46727 +Node: Lcomm
\7f131252
46728 +Node: Lflags
\7f132000
46729 +Node: Line
\7f132194
46730 +Node: Linkonce
\7f133113
46732 +Node: MRI
\7f134503
46733 +Node: List
\7f134841
46734 +Node: Long
\7f135449
46735 +Node: Macro
\7f135635
46736 +Node: Altmacro
\7f140198
46737 +Node: Noaltmacro
\7f141528
46738 +Node: Nolist
\7f141696
46739 +Node: Octa
\7f142126
46740 +Node: Org
\7f142460
46741 +Node: P2align
\7f143743
46742 +Node: Previous
\7f145671
46743 +Node: PopSection
\7f146365
46744 +Node: Print
\7f146873
46745 +Node: Protected
\7f147102
46746 +Node: Psize
\7f147749
46747 +Node: Purgem
\7f148433
46748 +Node: PushSection
\7f148654
46749 +Node: Quad
\7f149211
46750 +Node: Rept
\7f149666
46751 +Node: Sbttl
\7f150079
46752 +Node: Scl
\7f150444
46753 +Node: Section
\7f150785
46754 +Node: Set
\7f155925
46755 +Node: Short
\7f156562
46756 +Node: Single
\7f156882
46757 +Node: Size
\7f157227
46758 +Node: Sleb128
\7f157899
46759 +Node: Skip
\7f158221
46760 +Node: Space
\7f158543
46761 +Node: Stab
\7f159182
46762 +Node: String
\7f161184
46763 +Node: Struct
\7f161610
46764 +Node: SubSection
\7f162333
46765 +Node: Symver
\7f162894
46766 +Node: Tag
\7f165285
46767 +Node: Text
\7f165665
46768 +Node: Title
\7f165984
46769 +Node: Type
\7f166363
46770 +Node: Uleb128
\7f167440
46771 +Node: Val
\7f167764
46772 +Node: Version
\7f168014
46773 +Node: VTableEntry
\7f168289
46774 +Node: VTableInherit
\7f168579
46775 +Node: Warning
\7f169025
46776 +Node: Weak
\7f169259
46777 +Node: Weakref
\7f169928
46778 +Node: Word
\7f170893
46779 +Node: Deprecated
\7f172739
46780 +Node: Machine Dependencies
\7f172974
46781 +Node: Alpha-Dependent
\7f175738
46782 +Node: Alpha Notes
\7f176152
46783 +Node: Alpha Options
\7f176433
46784 +Node: Alpha Syntax
\7f178631
46785 +Node: Alpha-Chars
\7f179100
46786 +Node: Alpha-Regs
\7f179331
46787 +Node: Alpha-Relocs
\7f179718
46788 +Node: Alpha Floating Point
\7f185976
46789 +Node: Alpha Directives
\7f186198
46790 +Node: Alpha Opcodes
\7f191721
46791 +Node: ARC-Dependent
\7f192016
46792 +Node: ARC Options
\7f192399
46793 +Node: ARC Syntax
\7f193468
46794 +Node: ARC-Chars
\7f193700
46795 +Node: ARC-Regs
\7f193832
46796 +Node: ARC Floating Point
\7f193956
46797 +Node: ARC Directives
\7f194267
46798 +Node: ARC Opcodes
\7f200238
46799 +Node: ARM-Dependent
\7f200464
46800 +Node: ARM Options
\7f200891
46801 +Node: ARM Syntax
\7f206685
46802 +Node: ARM-Chars
\7f206917
46803 +Node: ARM-Regs
\7f207441
46804 +Node: ARM Floating Point
\7f207626
46805 +Node: ARM Directives
\7f207825
46806 +Node: ARM Opcodes
\7f214189
46807 +Node: ARM Mapping Symbols
\7f216277
46808 +Node: BFIN-Dependent
\7f217056
46809 +Node: BFIN Syntax
\7f217310
46810 +Node: BFIN Directives
\7f223007
46811 +Node: CRIS-Dependent
\7f223414
46812 +Node: CRIS-Opts
\7f223760
46813 +Ref: march-option
\7f225378
46814 +Node: CRIS-Expand
\7f227195
46815 +Node: CRIS-Symbols
\7f228378
46816 +Node: CRIS-Syntax
\7f229547
46817 +Node: CRIS-Chars
\7f229883
46818 +Node: CRIS-Pic
\7f230434
46819 +Ref: crispic
\7f230630
46820 +Node: CRIS-Regs
\7f234170
46821 +Node: CRIS-Pseudos
\7f234587
46822 +Ref: crisnous
\7f235363
46823 +Node: D10V-Dependent
\7f236645
46824 +Node: D10V-Opts
\7f236996
46825 +Node: D10V-Syntax
\7f237959
46826 +Node: D10V-Size
\7f238488
46827 +Node: D10V-Subs
\7f239461
46828 +Node: D10V-Chars
\7f240496
46829 +Node: D10V-Regs
\7f242100
46830 +Node: D10V-Addressing
\7f243145
46831 +Node: D10V-Word
\7f243831
46832 +Node: D10V-Float
\7f244346
46833 +Node: D10V-Opcodes
\7f244657
46834 +Node: D30V-Dependent
\7f245050
46835 +Node: D30V-Opts
\7f245403
46836 +Node: D30V-Syntax
\7f246078
46837 +Node: D30V-Size
\7f246610
46838 +Node: D30V-Subs
\7f247581
46839 +Node: D30V-Chars
\7f248616
46840 +Node: D30V-Guarded
\7f250914
46841 +Node: D30V-Regs
\7f251594
46842 +Node: D30V-Addressing
\7f252733
46843 +Node: D30V-Float
\7f253401
46844 +Node: D30V-Opcodes
\7f253712
46845 +Node: H8/300-Dependent
\7f254105
46846 +Node: H8/300 Options
\7f254515
46847 +Node: H8/300 Syntax
\7f254724
46848 +Node: H8/300-Chars
\7f255023
46849 +Node: H8/300-Regs
\7f255320
46850 +Node: H8/300-Addressing
\7f256237
46851 +Node: H8/300 Floating Point
\7f257276
46852 +Node: H8/300 Directives
\7f257601
46853 +Node: H8/300 Opcodes
\7f258727
46854 +Node: HPPA-Dependent
\7f267047
46855 +Node: HPPA Notes
\7f267480
46856 +Node: HPPA Options
\7f268236
46857 +Node: HPPA Syntax
\7f268429
46858 +Node: HPPA Floating Point
\7f269697
46859 +Node: HPPA Directives
\7f269901
46860 +Node: HPPA Opcodes
\7f278585
46861 +Node: ESA/390-Dependent
\7f278842
46862 +Node: ESA/390 Notes
\7f279302
46863 +Node: ESA/390 Options
\7f280093
46864 +Node: ESA/390 Syntax
\7f280303
46865 +Node: ESA/390 Floating Point
\7f282476
46866 +Node: ESA/390 Directives
\7f282755
46867 +Node: ESA/390 Opcodes
\7f286044
46868 +Node: i386-Dependent
\7f286306
46869 +Node: i386-Options
\7f287374
46870 +Node: i386-Syntax
\7f288564
46871 +Node: i386-Mnemonics
\7f290978
46872 +Node: i386-Regs
\7f293443
46873 +Node: i386-Prefixes
\7f295488
46874 +Node: i386-Memory
\7f298248
46875 +Node: i386-Jumps
\7f301185
46876 +Node: i386-Float
\7f302306
46877 +Node: i386-SIMD
\7f304135
46878 +Node: i386-16bit
\7f305244
46879 +Node: i386-Bugs
\7f307282
46880 +Node: i386-Arch
\7f308036
46881 +Node: i386-Notes
\7f310217
46882 +Node: i860-Dependent
\7f311075
46883 +Node: Notes-i860
\7f311471
46884 +Node: Options-i860
\7f312376
46885 +Node: Directives-i860
\7f313739
46886 +Node: Opcodes for i860
\7f314808
46887 +Node: i960-Dependent
\7f316975
46888 +Node: Options-i960
\7f317378
46889 +Node: Floating Point-i960
\7f321262
46890 +Node: Directives-i960
\7f321530
46891 +Node: Opcodes for i960
\7f323564
46892 +Node: callj-i960
\7f324181
46893 +Node: Compare-and-branch-i960
\7f324670
46894 +Node: IA-64-Dependent
\7f326574
46895 +Node: IA-64 Options
\7f326875
46896 +Node: IA-64 Syntax
\7f330035
46897 +Node: IA-64-Chars
\7f330398
46898 +Node: IA-64-Regs
\7f330628
46899 +Node: IA-64-Bits
\7f331554
46900 +Node: IA-64 Opcodes
\7f332063
46901 +Node: IP2K-Dependent
\7f332335
46902 +Node: IP2K-Opts
\7f332563
46903 +Node: M32C-Dependent
\7f333043
46904 +Node: M32C-Opts
\7f333567
46905 +Node: M32C-Modifiers
\7f333851
46906 +Node: M32R-Dependent
\7f335638
46907 +Node: M32R-Opts
\7f335959
46908 +Node: M32R-Directives
\7f340125
46909 +Node: M32R-Warnings
\7f344100
46910 +Node: M68K-Dependent
\7f347106
46911 +Node: M68K-Opts
\7f347573
46912 +Node: M68K-Syntax
\7f354952
46913 +Node: M68K-Moto-Syntax
\7f356791
46914 +Node: M68K-Float
\7f359380
46915 +Node: M68K-Directives
\7f359900
46916 +Node: M68K-opcodes
\7f361226
46917 +Node: M68K-Branch
\7f361452
46918 +Node: M68K-Chars
\7f365650
46919 +Node: M68HC11-Dependent
\7f366063
46920 +Node: M68HC11-Opts
\7f366594
46921 +Node: M68HC11-Syntax
\7f370410
46922 +Node: M68HC11-Modifiers
\7f372624
46923 +Node: M68HC11-Directives
\7f374452
46924 +Node: M68HC11-Float
\7f375828
46925 +Node: M68HC11-opcodes
\7f376356
46926 +Node: M68HC11-Branch
\7f376538
46927 +Node: MIPS-Dependent
\7f378985
46928 +Node: MIPS Opts
\7f380075
46929 +Node: MIPS Object
\7f387402
46930 +Node: MIPS Stabs
\7f388968
46931 +Node: MIPS symbol sizes
\7f389690
46932 +Node: MIPS ISA
\7f391359
46933 +Node: MIPS autoextend
\7f392508
46934 +Node: MIPS insn
\7f393238
46935 +Node: MIPS option stack
\7f393735
46936 +Node: MIPS ASE instruction generation overrides
\7f394509
46937 +Node: MMIX-Dependent
\7f395726
46938 +Node: MMIX-Opts
\7f396106
46939 +Node: MMIX-Expand
\7f399710
46940 +Node: MMIX-Syntax
\7f401025
46941 +Ref: mmixsite
\7f401382
46942 +Node: MMIX-Chars
\7f402223
46943 +Node: MMIX-Symbols
\7f402877
46944 +Node: MMIX-Regs
\7f404945
46945 +Node: MMIX-Pseudos
\7f405970
46946 +Ref: MMIX-loc
\7f406111
46947 +Ref: MMIX-local
\7f407191
46948 +Ref: MMIX-is
\7f407723
46949 +Ref: MMIX-greg
\7f407994
46950 +Ref: GREG-base
\7f408913
46951 +Ref: MMIX-byte
\7f410230
46952 +Ref: MMIX-constants
\7f410701
46953 +Ref: MMIX-prefix
\7f411347
46954 +Ref: MMIX-spec
\7f411721
46955 +Node: MMIX-mmixal
\7f412055
46956 +Node: MSP430-Dependent
\7f415552
46957 +Node: MSP430 Options
\7f416018
46958 +Node: MSP430 Syntax
\7f416304
46959 +Node: MSP430-Macros
\7f416620
46960 +Node: MSP430-Chars
\7f417351
46961 +Node: MSP430-Regs
\7f417664
46962 +Node: MSP430-Ext
\7f418224
46963 +Node: MSP430 Floating Point
\7f420045
46964 +Node: MSP430 Directives
\7f420269
46965 +Node: MSP430 Opcodes
\7f421060
46966 +Node: MSP430 Profiling Capability
\7f421455
46967 +Node: PDP-11-Dependent
\7f423784
46968 +Node: PDP-11-Options
\7f424173
46969 +Node: PDP-11-Pseudos
\7f429244
46970 +Node: PDP-11-Syntax
\7f429589
46971 +Node: PDP-11-Mnemonics
\7f430340
46972 +Node: PDP-11-Synthetic
\7f430642
46973 +Node: PJ-Dependent
\7f430860
46974 +Node: PJ Options
\7f431085
46975 +Node: PPC-Dependent
\7f431362
46976 +Node: PowerPC-Opts
\7f431649
46977 +Node: PowerPC-Pseudo
\7f433724
46978 +Node: SH-Dependent
\7f434323
46979 +Node: SH Options
\7f434735
46980 +Node: SH Syntax
\7f435663
46981 +Node: SH-Chars
\7f435936
46982 +Node: SH-Regs
\7f436230
46983 +Node: SH-Addressing
\7f436844
46984 +Node: SH Floating Point
\7f437753
46985 +Node: SH Directives
\7f438847
46986 +Node: SH Opcodes
\7f439217
46987 +Node: SH64-Dependent
\7f443539
46988 +Node: SH64 Options
\7f443902
46989 +Node: SH64 Syntax
\7f445619
46990 +Node: SH64-Chars
\7f445902
46991 +Node: SH64-Regs
\7f446202
46992 +Node: SH64-Addressing
\7f447298
46993 +Node: SH64 Directives
\7f448481
46994 +Node: SH64 Opcodes
\7f449591
46995 +Node: Sparc-Dependent
\7f450307
46996 +Node: Sparc-Opts
\7f450692
46997 +Node: Sparc-Aligned-Data
\7f452949
46998 +Node: Sparc-Float
\7f453804
46999 +Node: Sparc-Directives
\7f454005
47000 +Node: TIC54X-Dependent
\7f455965
47001 +Node: TIC54X-Opts
\7f456691
47002 +Node: TIC54X-Block
\7f457734
47003 +Node: TIC54X-Env
\7f458094
47004 +Node: TIC54X-Constants
\7f458442
47005 +Node: TIC54X-Subsyms
\7f458844
47006 +Node: TIC54X-Locals
\7f460753
47007 +Node: TIC54X-Builtins
\7f461497
47008 +Node: TIC54X-Ext
\7f463968
47009 +Node: TIC54X-Directives
\7f464539
47010 +Node: TIC54X-Macros
\7f475441
47011 +Node: TIC54X-MMRegs
\7f477551
47012 +Node: Z80-Dependent
\7f477767
47013 +Node: Z80 Options
\7f478155
47014 +Node: Z80 Syntax
\7f479578
47015 +Node: Z80-Chars
\7f480250
47016 +Node: Z80-Regs
\7f480783
47017 +Node: Z80-Case
\7f481135
47018 +Node: Z80 Floating Point
\7f481580
47019 +Node: Z80 Directives
\7f481774
47020 +Node: Z80 Opcodes
\7f483399
47021 +Node: Z8000-Dependent
\7f484741
47022 +Node: Z8000 Options
\7f485702
47023 +Node: Z8000 Syntax
\7f485919
47024 +Node: Z8000-Chars
\7f486209
47025 +Node: Z8000-Regs
\7f486442
47026 +Node: Z8000-Addressing
\7f487232
47027 +Node: Z8000 Directives
\7f488349
47028 +Node: Z8000 Opcodes
\7f489958
47029 +Node: Vax-Dependent
\7f499900
47030 +Node: VAX-Opts
\7f500417
47031 +Node: VAX-float
\7f504152
47032 +Node: VAX-directives
\7f504784
47033 +Node: VAX-opcodes
\7f505645
47034 +Node: VAX-branch
\7f506034
47035 +Node: VAX-operands
\7f508541
47036 +Node: VAX-no
\7f509304
47037 +Node: V850-Dependent
\7f509541
47038 +Node: V850 Options
\7f509939
47039 +Node: V850 Syntax
\7f512328
47040 +Node: V850-Chars
\7f512568
47041 +Node: V850-Regs
\7f512733
47042 +Node: V850 Floating Point
\7f514301
47043 +Node: V850 Directives
\7f514507
47044 +Node: V850 Opcodes
\7f515650
47045 +Node: Xtensa-Dependent
\7f521542
47046 +Node: Xtensa Options
\7f522271
47047 +Node: Xtensa Syntax
\7f525042
47048 +Node: Xtensa Opcodes
\7f526931
47049 +Node: Xtensa Registers
\7f528725
47050 +Node: Xtensa Optimizations
\7f529358
47051 +Node: Density Instructions
\7f529810
47052 +Node: Xtensa Automatic Alignment
\7f530912
47053 +Node: Xtensa Relaxation
\7f533658
47054 +Node: Xtensa Branch Relaxation
\7f534566
47055 +Node: Xtensa Call Relaxation
\7f535938
47056 +Node: Xtensa Immediate Relaxation
\7f537724
47057 +Node: Xtensa Directives
\7f540298
47058 +Node: Schedule Directive
\7f542006
47059 +Node: Longcalls Directive
\7f542346
47060 +Node: Transform Directive
\7f542890
47061 +Node: Literal Directive
\7f543632
47062 +Node: Literal Position Directive
\7f545417
47063 +Node: Literal Prefix Directive
\7f547116
47064 +Node: Absolute Literals Directive
\7f549279
47065 +Node: Reporting Bugs
\7f550586
47066 +Node: Bug Criteria
\7f551310
47067 +Node: Bug Reporting
\7f552075
47068 +Node: Acknowledgements
\7f558708
47069 +Ref: Acknowledgements-Footnote-1
\7f563606
47070 +Node: GNU Free Documentation License
\7f563632
47071 +Node: Index
\7f583359
47074 --- a/gas/doc/as.texinfo
47075 +++ b/gas/doc/as.texinfo
47076 @@ -6182,6 +6182,9 @@ subject, see the hardware manufacturer's
47078 * ARM-Dependent:: ARM Dependent Features
47081 +* AVR32-Dependent:: AVR32 Dependent Features
47084 * BFIN-Dependent:: BFIN Dependent Features
47086 @@ -6298,6 +6301,10 @@ subject, see the hardware manufacturer's
47087 @include c-arm.texi
47091 +@include c-avr32.texi
47095 @include c-bfin.texi
47098 +++ b/gas/doc/c-avr32.texi
47100 +@c Copyright 2005, 2006
47101 +@c Atmel Corporation
47102 +@c This is part of the GAS manual.
47103 +@c For copying conditions, see the file as.texinfo.
47107 +@node AVR32-Dependent
47108 +@chapter AVR32 Dependent Features
47112 +@node Machine Dependencies
47113 +@chapter AVR32 Dependent Features
47116 +@cindex AVR32 support
47118 +* AVR32 Options:: Options
47119 +* AVR32 Syntax:: Syntax
47120 +* AVR32 Directives:: Directives
47121 +* AVR32 Opcodes:: Opcodes
47124 +@node AVR32 Options
47126 +@cindex AVR32 options
47127 +@cindex options for AVR32
47129 +There are currently no AVR32-specific options. However, the following
47130 +options are planned:
47134 +@cindex @code{--pic} command line option, AVR32
47135 +@cindex PIC code generation for AVR32
47137 +This option specifies that the output of the assembler should be marked
47138 +as position-independent code (PIC). It will also ensure that
47139 +pseudo-instructions that deal with address calculation are output as
47140 +PIC, and that all absolute address references in the code are marked as
47143 +@cindex @code{--linkrelax} command line option, AVR32
47145 +This option specifies that the output of the assembler should be marked
47146 +as linker-relaxable. It will also ensure that all PC-relative operands
47147 +that may change during linker relaxation get appropriate relocations.
47149 +@cindex @code{--direct-data-refs} command line option, AVR32
47150 +@item --direct-data-refs
47151 +This option allows direct references (i.e. mov or sub) to the
47152 +data section. This is default not allowed because the actual distance may
47153 +change after the optimization passes are complete and the address and
47154 +size of all sections are considered known.
47159 +@node AVR32 Syntax
47162 +* AVR32-Chars:: Special Characters
47163 +* AVR32-Symrefs:: Symbol references
47167 +@subsection Special Characters
47169 +@cindex line comment character, AVR32
47170 +@cindex AVR32 line comment character
47171 +The presence of a @samp{//} on a line indicates the start of a comment
47172 +that extends to the end of the current line. If a @samp{#} appears as
47173 +the first character of a line, the whole line is treated as a comment.
47175 +@cindex line separator, AVR32
47176 +@cindex statement separator, AVR32
47177 +@cindex AVR32 line separator
47178 +The @samp{;} character can be used instead of a newline to separate
47181 +@node AVR32-Symrefs
47182 +@subsection Symbol references
47184 +The absolute value of a symbol can be obtained by simply naming the
47185 +symbol. However, as AVR32 symbols have 32-bit values, most symbols have
47186 +values that are outside the range of any instructions.
47188 +Instructions that take a PC-relative offset, e.g. @code{lddpc} or
47189 +@code{rcall}, can also reference a symbol by simply naming the symbol
47190 +(no explicit calculations necessary). In this case, the assembler or
47191 +linker subtracts the address of the instruction from the symbol's value
47192 +and inserts the result into the instruction. Note that even though an
47193 +overflow is less likely to happen for a relative reference than for an
47194 +absolute reference, the assembler or linker will generate an error if
47195 +the referenced symbol is too far away from the current location.
47197 +Relative references can be used for data as well. For example:
47204 +2: .int @var{some_symbol} - 1b
47207 +Here, r0 will end up with the run-time address of @var{some_symbol} even
47208 +if the program was loaded at a different address than it was linked
47209 +(position-independent code).
47211 +@subsubsection Symbol modifiers
47215 +@item @code{hi(@var{symbol})}
47216 +Evaluates to the value of the symbol shifted right 16 bits. This will
47217 +work even if @var{symbol} is defined in a different module.
47219 +@item @code{lo(@var{symbol})}
47220 +Evaluates to the low 16 bits of the symbol's value. This will work even
47221 +if @var{symbol} is defined in a different module.
47223 +@item @code{@var{symbol}@@got}
47224 +Create a GOT entry for @var{symbol} and return the offset of that entry
47225 +relative to the GOT base.
47230 +@node AVR32 Directives
47231 +@section Directives
47232 +@cindex machine directives, AVR32
47233 +@cindex AVR32 directives
47237 +@cindex @code{.cpool} directive, AVR32
47239 +This directive causes the current contents of the constant pool to be
47240 +dumped into the current section at the current location (aligned to a
47241 +word boundary). @code{GAS} maintains a separate constant pool for each
47242 +section and each sub-section. The @code{.cpool} directive will only
47243 +affect the constant pool of the current section and sub-section. At the
47244 +end of assembly, all remaining, non-empty constant pools will
47245 +automatically be dumped.
47250 +@node AVR32 Opcodes
47252 +@cindex AVR32 opcodes
47253 +@cindex opcodes for AVR32
47255 +@code{@value{AS}} implements all the standard AVR32 opcodes. It also
47256 +implements several pseudo-opcodes, which are recommended to use wherever
47257 +possible because they give the tool chain better freedom to generate
47262 +@cindex @code{LDA.W reg, symbol} pseudo op, AVR32
47265 + lda.w @var{reg}, @var{symbol}
47268 +This instruction will load the address of @var{symbol} into
47269 +@var{reg}. The instruction will evaluate to one of the following,
47270 +depending on the relative distance to the symbol, the relative distance
47271 +to the constant pool and whether the @code{--pic} option has been
47272 +specified. If the @code{--pic} option has not been specified, the
47273 +alternatives are as follows:
47275 + /* @var{symbol} evaluates to a small enough value */
47276 + mov @var{reg}, @var{symbol}
47278 + /* (. - @var{symbol}) evaluates to a small enough value */
47279 + sub @var{reg}, pc, . - @var{symbol}
47281 + /* Constant pool is close enough */
47282 + lddpc @var{reg}, @var{cpent}
47285 + .long @var{symbol}
47287 + /* Otherwise (not implemented yet, probably not necessary) */
47288 + mov @var{reg}, lo(@var{symbol})
47289 + orh @var{reg}, hi(@var{symbol})
47292 +If the @code{--pic} option has been specified, the alternatives are as
47295 + /* (. - @var{symbol}) evaluates to a small enough value */
47296 + sub @var{reg}, pc, . - @var{symbol}
47298 + /* If @code{--linkrelax} not specified */
47299 + ld.w @var{reg}, r6[@var{symbol}@@got]
47302 + mov @var{reg}, @var{symbol}@@got / 4
47303 + ld.w @var{reg}, r6[@var{reg} << 2]
47306 +If @var{symbol} is not defined in the same file and section as the
47307 +@code{LDA.W} instruction, the most pessimistic alternative of the
47308 +above is selected. The linker may convert it back into the most
47309 +optimal alternative when the final value of all symbols is known.
47311 +@cindex @code{CALL symbol} pseudo op, AVR32
47314 + call @var{symbol}
47317 +This instruction will insert code to call the subroutine identified by
47318 +@var{symbol}. It will evaluate to one of the following, depending on
47319 +the relative distance to the symbol as well as the @code{--linkrelax}
47320 +and @code{--pic} command-line options.
47322 +If @var{symbol} is defined in the same section and input file, and the
47323 +distance is small enough, an @code{rcall} instruction is inserted:
47325 + rcall @var{symbol}
47328 +Otherwise, if the @code{--pic} option has not been specified:
47330 + mcall @var{cpent}
47333 + .long @var{symbol}
47336 +Finally, if nothing else fits and the @code{--pic} option has been
47337 +specified, the assembler will indirect the call through the Global
47340 + /* If @code{--linkrelax} not specified */
47341 + mcall r6[@var{symbol}@@got]
47343 + /* If @code{--linkrelax} specified */
47344 + mov lr, @var{symbol}@@got / 4
47345 + ld.w lr, r6[lr << 2]
47349 +The linker, after determining the final value of @var{symbol}, may
47350 +convert any of these into more optimal alternatives. This includes
47351 +deleting any superfluous constant pool- and GOT-entries.
47354 --- a/gas/doc/Makefile.am
47355 +++ b/gas/doc/Makefile.am
47356 @@ -29,6 +29,7 @@ CPU_DOCS = \
47364 --- a/gas/Makefile.am
47365 +++ b/gas/Makefile.am
47366 @@ -45,6 +45,7 @@ CPU_TYPES = \
47374 @@ -229,6 +230,7 @@ TARGET_CPU_CFILES = \
47378 + config/tc-avr32.c \
47382 @@ -280,6 +282,7 @@ TARGET_CPU_HFILES = \
47386 + config/tc-avr32.h \
47390 @@ -1046,6 +1049,11 @@ DEPTC_avr_elf = $(INCDIR)/symcat.h $(src
47391 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr.h \
47392 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47393 $(INCDIR)/opcode/avr.h
47394 +DEPTC_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
47395 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47396 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
47397 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47398 + $(srcdir)/../opcodes/avr32-opc.h $(srcdir)/../opcodes/avr32-asm.h
47399 DEPTC_bfin_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \
47400 $(srcdir)/config/tc-bfin.h $(INCDIR)/coff/internal.h \
47401 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h struc-symbol.h \
47402 @@ -1628,6 +1636,11 @@ DEPOBJ_bfin_elf = $(INCDIR)/symcat.h $(s
47403 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
47404 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47405 struc-symbol.h $(INCDIR)/aout/aout64.h
47406 +DEPOBJ_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
47407 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47408 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
47409 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47410 + struc-symbol.h dwarf2dbg.h
47411 DEPOBJ_cris_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
47412 $(srcdir)/config/tc-cris.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
47413 $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h
47414 @@ -2095,6 +2108,9 @@ DEP_bfin_elf = $(srcdir)/config/obj-elf.
47415 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47416 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
47418 +DEP_avr32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
47419 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47420 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h
47421 DEP_cris_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-cris.h \
47422 $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
47423 DEP_cris_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
47425 +++ b/gas/testsuite/gas/avr32/aliases.d
47431 +.*: +file format .*
47433 +Disassembly of section \.text:
47435 +00000000 <ld_nodisp>:
47436 + 0: 19 80 [ \t]+ld\.ub r0,r12\[0x0\]
47437 + 2: f9 20 00 00[ \t]+ld\.sb r0,r12\[0\]
47438 + 6: 98 80 [ \t]+ld\.uh r0,r12\[0x0\]
47439 + 8: 98 00 [ \t]+ld\.sh r0,r12\[0x0\]
47440 + a: 78 00 [ \t]+ld\.w r0,r12\[0x0\]
47442 +0000000c <st_nodisp>:
47443 + c: b8 80 [ \t]+st\.b r12\[0x0\],r0
47444 + e: b8 00 [ \t]+st\.h r12\[0x0\],r0
47445 + 10: 99 00 [ \t]+st\.w r12\[0x0\],r0
47447 +++ b/gas/testsuite/gas/avr32/aliases.s
47450 + .global ld_nodisp
47458 + .global st_nodisp
47464 +++ b/gas/testsuite/gas/avr32/allinsn.d
47470 +.*: +file format .*
47472 +Disassembly of section \.text:
47474 +[0-9a-f]* <ld_d5>:
47475 + *[0-9a-f]*: fe 0f 02 3e ld\.d lr,pc\[pc<<0x3\]
47476 + *[0-9a-f]*: e0 00 02 00 ld\.d r0,r0\[r0\]
47477 + *[0-9a-f]*: ea 05 02 26 ld\.d r6,r5\[r5<<0x2\]
47478 + *[0-9a-f]*: e8 04 02 14 ld\.d r4,r4\[r4<<0x1\]
47479 + *[0-9a-f]*: fc 0e 02 1e ld\.d lr,lr\[lr<<0x1\]
47480 + *[0-9a-f]*: e6 0d 02 2a ld\.d r10,r3\[sp<<0x2\]
47481 + *[0-9a-f]*: f4 06 02 28 ld\.d r8,r10\[r6<<0x2\]
47482 + *[0-9a-f]*: ee 09 02 02 ld\.d r2,r7\[r9\]
47484 +[0-9a-f]* <ld_w5>:
47485 + *[0-9a-f]*: fe 0f 03 0f ld\.w pc,pc\[pc\]
47486 + *[0-9a-f]*: f8 0c 03 3c ld\.w r12,r12\[r12<<0x3\]
47487 + *[0-9a-f]*: ea 05 03 25 ld\.w r5,r5\[r5<<0x2\]
47488 + *[0-9a-f]*: e8 04 03 14 ld\.w r4,r4\[r4<<0x1\]
47489 + *[0-9a-f]*: fc 0e 03 1e ld\.w lr,lr\[lr<<0x1\]
47490 + *[0-9a-f]*: f2 09 03 02 ld\.w r2,r9\[r9\]
47491 + *[0-9a-f]*: e4 06 03 0b ld\.w r11,r2\[r6\]
47492 + *[0-9a-f]*: e4 0d 03 30 ld\.w r0,r2\[sp<<0x3\]
47494 +[0-9a-f]* <ld_sh5>:
47495 + *[0-9a-f]*: fe 0f 04 0f ld\.sh pc,pc\[pc\]
47496 + *[0-9a-f]*: f8 0c 04 3c ld\.sh r12,r12\[r12<<0x3\]
47497 + *[0-9a-f]*: ea 05 04 25 ld\.sh r5,r5\[r5<<0x2\]
47498 + *[0-9a-f]*: e8 04 04 14 ld\.sh r4,r4\[r4<<0x1\]
47499 + *[0-9a-f]*: fc 0e 04 1e ld\.sh lr,lr\[lr<<0x1\]
47500 + *[0-9a-f]*: e0 0f 04 2b ld\.sh r11,r0\[pc<<0x2\]
47501 + *[0-9a-f]*: fa 06 04 2a ld\.sh r10,sp\[r6<<0x2\]
47502 + *[0-9a-f]*: e4 02 04 0c ld\.sh r12,r2\[r2\]
47504 +[0-9a-f]* <ld_uh5>:
47505 + *[0-9a-f]*: fe 0f 05 0f ld\.uh pc,pc\[pc\]
47506 + *[0-9a-f]*: f8 0c 05 3c ld\.uh r12,r12\[r12<<0x3\]
47507 + *[0-9a-f]*: ea 05 05 25 ld\.uh r5,r5\[r5<<0x2\]
47508 + *[0-9a-f]*: e8 04 05 14 ld\.uh r4,r4\[r4<<0x1\]
47509 + *[0-9a-f]*: fc 0e 05 1e ld\.uh lr,lr\[lr<<0x1\]
47510 + *[0-9a-f]*: fe 0e 05 38 ld\.uh r8,pc\[lr<<0x3\]
47511 + *[0-9a-f]*: e2 0f 05 16 ld\.uh r6,r1\[pc<<0x1\]
47512 + *[0-9a-f]*: fc 0d 05 16 ld\.uh r6,lr\[sp<<0x1\]
47514 +[0-9a-f]* <ld_sb2>:
47515 + *[0-9a-f]*: fe 0f 06 0f ld\.sb pc,pc\[pc\]
47516 + *[0-9a-f]*: f8 0c 06 3c ld\.sb r12,r12\[r12<<0x3\]
47517 + *[0-9a-f]*: ea 05 06 25 ld\.sb r5,r5\[r5<<0x2\]
47518 + *[0-9a-f]*: e8 04 06 14 ld\.sb r4,r4\[r4<<0x1\]
47519 + *[0-9a-f]*: fc 0e 06 1e ld\.sb lr,lr\[lr<<0x1\]
47520 + *[0-9a-f]*: e2 0f 06 39 ld\.sb r9,r1\[pc<<0x3\]
47521 + *[0-9a-f]*: e6 0b 06 10 ld\.sb r0,r3\[r11<<0x1\]
47522 + *[0-9a-f]*: ea 05 06 1a ld\.sb r10,r5\[r5<<0x1\]
47524 +[0-9a-f]* <ld_ub5>:
47525 + *[0-9a-f]*: fe 0f 07 0f ld\.ub pc,pc\[pc\]
47526 + *[0-9a-f]*: f8 0c 07 3c ld\.ub r12,r12\[r12<<0x3\]
47527 + *[0-9a-f]*: ea 05 07 25 ld\.ub r5,r5\[r5<<0x2\]
47528 + *[0-9a-f]*: e8 04 07 14 ld\.ub r4,r4\[r4<<0x1\]
47529 + *[0-9a-f]*: fc 0e 07 1e ld\.ub lr,lr\[lr<<0x1\]
47530 + *[0-9a-f]*: f8 07 07 36 ld\.ub r6,r12\[r7<<0x3\]
47531 + *[0-9a-f]*: ec 0c 07 02 ld\.ub r2,r6\[r12\]
47532 + *[0-9a-f]*: ee 0b 07 10 ld\.ub r0,r7\[r11<<0x1\]
47534 +[0-9a-f]* <st_d5>:
47535 + *[0-9a-f]*: fe 0f 08 0e st\.d pc\[pc\],lr
47536 + *[0-9a-f]*: f8 0c 08 3c st\.d r12\[r12<<0x3\],r12
47537 + *[0-9a-f]*: ea 05 08 26 st\.d r5\[r5<<0x2\],r6
47538 + *[0-9a-f]*: e8 04 08 14 st\.d r4\[r4<<0x1\],r4
47539 + *[0-9a-f]*: fc 0e 08 1e st\.d lr\[lr<<0x1\],lr
47540 + *[0-9a-f]*: e2 09 08 14 st\.d r1\[r9<<0x1\],r4
47541 + *[0-9a-f]*: f4 02 08 14 st\.d r10\[r2<<0x1\],r4
47542 + *[0-9a-f]*: f8 06 08 0e st\.d r12\[r6\],lr
47544 +[0-9a-f]* <st_w5>:
47545 + *[0-9a-f]*: fe 0f 09 0f st\.w pc\[pc\],pc
47546 + *[0-9a-f]*: f8 0c 09 3c st\.w r12\[r12<<0x3\],r12
47547 + *[0-9a-f]*: ea 05 09 25 st\.w r5\[r5<<0x2\],r5
47548 + *[0-9a-f]*: e8 04 09 14 st\.w r4\[r4<<0x1\],r4
47549 + *[0-9a-f]*: fc 0e 09 1e st\.w lr\[lr<<0x1\],lr
47550 + *[0-9a-f]*: e2 0a 09 03 st\.w r1\[r10\],r3
47551 + *[0-9a-f]*: e0 0a 09 19 st\.w r0\[r10<<0x1\],r9
47552 + *[0-9a-f]*: e8 05 09 3f st\.w r4\[r5<<0x3\],pc
47554 +[0-9a-f]* <st_h5>:
47555 + *[0-9a-f]*: fe 0f 0a 0f st\.h pc\[pc\],pc
47556 + *[0-9a-f]*: f8 0c 0a 3c st\.h r12\[r12<<0x3\],r12
47557 + *[0-9a-f]*: ea 05 0a 25 st\.h r5\[r5<<0x2\],r5
47558 + *[0-9a-f]*: e8 04 0a 14 st\.h r4\[r4<<0x1\],r4
47559 + *[0-9a-f]*: fc 0e 0a 1e st\.h lr\[lr<<0x1\],lr
47560 + *[0-9a-f]*: e4 09 0a 0b st\.h r2\[r9\],r11
47561 + *[0-9a-f]*: ea 01 0a 2c st\.h r5\[r1<<0x2\],r12
47562 + *[0-9a-f]*: fe 08 0a 23 st\.h pc\[r8<<0x2\],r3
47564 +[0-9a-f]* <st_b5>:
47565 + *[0-9a-f]*: fe 0f 0b 0f st\.b pc\[pc\],pc
47566 + *[0-9a-f]*: f8 0c 0b 3c st\.b r12\[r12<<0x3\],r12
47567 + *[0-9a-f]*: ea 05 0b 25 st\.b r5\[r5<<0x2\],r5
47568 + *[0-9a-f]*: e8 04 0b 14 st\.b r4\[r4<<0x1\],r4
47569 + *[0-9a-f]*: fc 0e 0b 1e st\.b lr\[lr<<0x1\],lr
47570 + *[0-9a-f]*: e2 08 0b 16 st\.b r1\[r8<<0x1\],r6
47571 + *[0-9a-f]*: fc 0e 0b 31 st\.b lr\[lr<<0x3\],r1
47572 + *[0-9a-f]*: ea 00 0b 2f st\.b r5\[r0<<0x2\],pc
47575 + *[0-9a-f]*: fe 0f 0c 0f divs pc,pc,pc
47576 + *[0-9a-f]*: f8 0c 0c 0c divs r12,r12,r12
47577 + *[0-9a-f]*: ea 05 0c 05 divs r5,r5,r5
47578 + *[0-9a-f]*: e8 04 0c 04 divs r4,r4,r4
47579 + *[0-9a-f]*: fc 0e 0c 0e divs lr,lr,lr
47580 + *[0-9a-f]*: fe 0f 0c 03 divs r3,pc,pc
47581 + *[0-9a-f]*: f8 02 0c 09 divs r9,r12,r2
47582 + *[0-9a-f]*: e8 01 0c 07 divs r7,r4,r1
47585 + *[0-9a-f]*: 1e 0f add pc,pc
47586 + *[0-9a-f]*: 18 0c add r12,r12
47587 + *[0-9a-f]*: 0a 05 add r5,r5
47588 + *[0-9a-f]*: 08 04 add r4,r4
47589 + *[0-9a-f]*: 1c 0e add lr,lr
47590 + *[0-9a-f]*: 12 0c add r12,r9
47591 + *[0-9a-f]*: 06 06 add r6,r3
47592 + *[0-9a-f]*: 18 0a add r10,r12
47595 + *[0-9a-f]*: 1e 1f sub pc,pc
47596 + *[0-9a-f]*: 18 1c sub r12,r12
47597 + *[0-9a-f]*: 0a 15 sub r5,r5
47598 + *[0-9a-f]*: 08 14 sub r4,r4
47599 + *[0-9a-f]*: 1c 1e sub lr,lr
47600 + *[0-9a-f]*: 0c 1e sub lr,r6
47601 + *[0-9a-f]*: 1a 10 sub r0,sp
47602 + *[0-9a-f]*: 18 16 sub r6,r12
47604 +[0-9a-f]* <rsub1>:
47605 + *[0-9a-f]*: 1e 2f rsub pc,pc
47606 + *[0-9a-f]*: 18 2c rsub r12,r12
47607 + *[0-9a-f]*: 0a 25 rsub r5,r5
47608 + *[0-9a-f]*: 08 24 rsub r4,r4
47609 + *[0-9a-f]*: 1c 2e rsub lr,lr
47610 + *[0-9a-f]*: 1a 2b rsub r11,sp
47611 + *[0-9a-f]*: 08 27 rsub r7,r4
47612 + *[0-9a-f]*: 02 29 rsub r9,r1
47615 + *[0-9a-f]*: 1e 3f cp\.w pc,pc
47616 + *[0-9a-f]*: 18 3c cp\.w r12,r12
47617 + *[0-9a-f]*: 0a 35 cp\.w r5,r5
47618 + *[0-9a-f]*: 08 34 cp\.w r4,r4
47619 + *[0-9a-f]*: 1c 3e cp\.w lr,lr
47620 + *[0-9a-f]*: 04 36 cp\.w r6,r2
47621 + *[0-9a-f]*: 12 30 cp\.w r0,r9
47622 + *[0-9a-f]*: 1a 33 cp\.w r3,sp
47625 + *[0-9a-f]*: 1e 4f or pc,pc
47626 + *[0-9a-f]*: 18 4c or r12,r12
47627 + *[0-9a-f]*: 0a 45 or r5,r5
47628 + *[0-9a-f]*: 08 44 or r4,r4
47629 + *[0-9a-f]*: 1c 4e or lr,lr
47630 + *[0-9a-f]*: 12 44 or r4,r9
47631 + *[0-9a-f]*: 08 4b or r11,r4
47632 + *[0-9a-f]*: 00 44 or r4,r0
47635 + *[0-9a-f]*: 1e 5f eor pc,pc
47636 + *[0-9a-f]*: 18 5c eor r12,r12
47637 + *[0-9a-f]*: 0a 55 eor r5,r5
47638 + *[0-9a-f]*: 08 54 eor r4,r4
47639 + *[0-9a-f]*: 1c 5e eor lr,lr
47640 + *[0-9a-f]*: 16 5c eor r12,r11
47641 + *[0-9a-f]*: 02 50 eor r0,r1
47642 + *[0-9a-f]*: 1e 55 eor r5,pc
47645 + *[0-9a-f]*: 1e 6f and pc,pc
47646 + *[0-9a-f]*: 18 6c and r12,r12
47647 + *[0-9a-f]*: 0a 65 and r5,r5
47648 + *[0-9a-f]*: 08 64 and r4,r4
47649 + *[0-9a-f]*: 1c 6e and lr,lr
47650 + *[0-9a-f]*: 02 68 and r8,r1
47651 + *[0-9a-f]*: 1a 60 and r0,sp
47652 + *[0-9a-f]*: 0a 6a and r10,r5
47655 + *[0-9a-f]*: 1e 7f tst pc,pc
47656 + *[0-9a-f]*: 18 7c tst r12,r12
47657 + *[0-9a-f]*: 0a 75 tst r5,r5
47658 + *[0-9a-f]*: 08 74 tst r4,r4
47659 + *[0-9a-f]*: 1c 7e tst lr,lr
47660 + *[0-9a-f]*: 18 70 tst r0,r12
47661 + *[0-9a-f]*: 0c 7a tst r10,r6
47662 + *[0-9a-f]*: 08 7d tst sp,r4
47665 + *[0-9a-f]*: 1e 8f andn pc,pc
47666 + *[0-9a-f]*: 18 8c andn r12,r12
47667 + *[0-9a-f]*: 0a 85 andn r5,r5
47668 + *[0-9a-f]*: 08 84 andn r4,r4
47669 + *[0-9a-f]*: 1c 8e andn lr,lr
47670 + *[0-9a-f]*: 18 89 andn r9,r12
47671 + *[0-9a-f]*: 1a 8b andn r11,sp
47672 + *[0-9a-f]*: 0a 8c andn r12,r5
47675 + *[0-9a-f]*: 1e 9f mov pc,pc
47676 + *[0-9a-f]*: 18 9c mov r12,r12
47677 + *[0-9a-f]*: 0a 95 mov r5,r5
47678 + *[0-9a-f]*: 08 94 mov r4,r4
47679 + *[0-9a-f]*: 1c 9e mov lr,lr
47680 + *[0-9a-f]*: 12 95 mov r5,r9
47681 + *[0-9a-f]*: 16 9b mov r11,r11
47682 + *[0-9a-f]*: 1c 92 mov r2,lr
47684 +[0-9a-f]* <st_w1>:
47685 + *[0-9a-f]*: 1e af st\.w pc\+\+,pc
47686 + *[0-9a-f]*: 18 ac st\.w r12\+\+,r12
47687 + *[0-9a-f]*: 0a a5 st\.w r5\+\+,r5
47688 + *[0-9a-f]*: 08 a4 st\.w r4\+\+,r4
47689 + *[0-9a-f]*: 1c ae st\.w lr\+\+,lr
47690 + *[0-9a-f]*: 02 ab st\.w r1\+\+,r11
47691 + *[0-9a-f]*: 1a a0 st\.w sp\+\+,r0
47692 + *[0-9a-f]*: 1a a1 st\.w sp\+\+,r1
47694 +[0-9a-f]* <st_h1>:
47695 + *[0-9a-f]*: 1e bf st\.h pc\+\+,pc
47696 + *[0-9a-f]*: 18 bc st\.h r12\+\+,r12
47697 + *[0-9a-f]*: 0a b5 st\.h r5\+\+,r5
47698 + *[0-9a-f]*: 08 b4 st\.h r4\+\+,r4
47699 + *[0-9a-f]*: 1c be st\.h lr\+\+,lr
47700 + *[0-9a-f]*: 18 bd st\.h r12\+\+,sp
47701 + *[0-9a-f]*: 0e be st\.h r7\+\+,lr
47702 + *[0-9a-f]*: 0e b4 st\.h r7\+\+,r4
47704 +[0-9a-f]* <st_b1>:
47705 + *[0-9a-f]*: 1e cf st\.b pc\+\+,pc
47706 + *[0-9a-f]*: 18 cc st\.b r12\+\+,r12
47707 + *[0-9a-f]*: 0a c5 st\.b r5\+\+,r5
47708 + *[0-9a-f]*: 08 c4 st\.b r4\+\+,r4
47709 + *[0-9a-f]*: 1c ce st\.b lr\+\+,lr
47710 + *[0-9a-f]*: 12 cd st\.b r9\+\+,sp
47711 + *[0-9a-f]*: 02 cd st\.b r1\+\+,sp
47712 + *[0-9a-f]*: 00 c4 st\.b r0\+\+,r4
47714 +[0-9a-f]* <st_w2>:
47715 + *[0-9a-f]*: 1e df st\.w --pc,pc
47716 + *[0-9a-f]*: 18 dc st\.w --r12,r12
47717 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
47718 + *[0-9a-f]*: 08 d4 st\.w --r4,r4
47719 + *[0-9a-f]*: 1c de st\.w --lr,lr
47720 + *[0-9a-f]*: 02 d7 st\.w --r1,r7
47721 + *[0-9a-f]*: 06 d9 st\.w --r3,r9
47722 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
47724 +[0-9a-f]* <st_h2>:
47725 + *[0-9a-f]*: 1e ef st\.h --pc,pc
47726 + *[0-9a-f]*: 18 ec st\.h --r12,r12
47727 + *[0-9a-f]*: 0a e5 st\.h --r5,r5
47728 + *[0-9a-f]*: 08 e4 st\.h --r4,r4
47729 + *[0-9a-f]*: 1c ee st\.h --lr,lr
47730 + *[0-9a-f]*: 0a e7 st\.h --r5,r7
47731 + *[0-9a-f]*: 10 e8 st\.h --r8,r8
47732 + *[0-9a-f]*: 0e e2 st\.h --r7,r2
47734 +[0-9a-f]* <st_b2>:
47735 + *[0-9a-f]*: 1e ff st\.b --pc,pc
47736 + *[0-9a-f]*: 18 fc st\.b --r12,r12
47737 + *[0-9a-f]*: 0a f5 st\.b --r5,r5
47738 + *[0-9a-f]*: 08 f4 st\.b --r4,r4
47739 + *[0-9a-f]*: 1c fe st\.b --lr,lr
47740 + *[0-9a-f]*: 1a fd st\.b --sp,sp
47741 + *[0-9a-f]*: 1a fb st\.b --sp,r11
47742 + *[0-9a-f]*: 08 f5 st\.b --r4,r5
47744 +[0-9a-f]* <ld_w1>:
47745 + *[0-9a-f]*: 1f 0f ld\.w pc,pc\+\+
47746 + *[0-9a-f]*: 19 0c ld\.w r12,r12\+\+
47747 + *[0-9a-f]*: 0b 05 ld\.w r5,r5\+\+
47748 + *[0-9a-f]*: 09 04 ld\.w r4,r4\+\+
47749 + *[0-9a-f]*: 1d 0e ld\.w lr,lr\+\+
47750 + *[0-9a-f]*: 0f 03 ld\.w r3,r7\+\+
47751 + *[0-9a-f]*: 1d 03 ld\.w r3,lr\+\+
47752 + *[0-9a-f]*: 0b 0c ld\.w r12,r5\+\+
47754 +[0-9a-f]* <ld_sh1>:
47755 + *[0-9a-f]*: 1f 1f ld\.sh pc,pc\+\+
47756 + *[0-9a-f]*: 19 1c ld\.sh r12,r12\+\+
47757 + *[0-9a-f]*: 0b 15 ld\.sh r5,r5\+\+
47758 + *[0-9a-f]*: 09 14 ld\.sh r4,r4\+\+
47759 + *[0-9a-f]*: 1d 1e ld\.sh lr,lr\+\+
47760 + *[0-9a-f]*: 05 1b ld\.sh r11,r2\+\+
47761 + *[0-9a-f]*: 11 12 ld\.sh r2,r8\+\+
47762 + *[0-9a-f]*: 0d 17 ld\.sh r7,r6\+\+
47764 +[0-9a-f]* <ld_uh1>:
47765 + *[0-9a-f]*: 1f 2f ld\.uh pc,pc\+\+
47766 + *[0-9a-f]*: 19 2c ld\.uh r12,r12\+\+
47767 + *[0-9a-f]*: 0b 25 ld\.uh r5,r5\+\+
47768 + *[0-9a-f]*: 09 24 ld\.uh r4,r4\+\+
47769 + *[0-9a-f]*: 1d 2e ld\.uh lr,lr\+\+
47770 + *[0-9a-f]*: 0f 26 ld\.uh r6,r7\+\+
47771 + *[0-9a-f]*: 17 2a ld\.uh r10,r11\+\+
47772 + *[0-9a-f]*: 09 2e ld\.uh lr,r4\+\+
47774 +[0-9a-f]* <ld_ub1>:
47775 + *[0-9a-f]*: 1f 3f ld\.ub pc,pc\+\+
47776 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
47777 + *[0-9a-f]*: 0b 35 ld\.ub r5,r5\+\+
47778 + *[0-9a-f]*: 09 34 ld\.ub r4,r4\+\+
47779 + *[0-9a-f]*: 1d 3e ld\.ub lr,lr\+\+
47780 + *[0-9a-f]*: 1d 38 ld\.ub r8,lr\+\+
47781 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
47782 + *[0-9a-f]*: 15 3b ld\.ub r11,r10\+\+
47784 +[0-9a-f]* <ld_w2>:
47785 + *[0-9a-f]*: 1f 4f ld\.w pc,--pc
47786 + *[0-9a-f]*: 19 4c ld\.w r12,--r12
47787 + *[0-9a-f]*: 0b 45 ld\.w r5,--r5
47788 + *[0-9a-f]*: 09 44 ld\.w r4,--r4
47789 + *[0-9a-f]*: 1d 4e ld\.w lr,--lr
47790 + *[0-9a-f]*: 1d 4a ld\.w r10,--lr
47791 + *[0-9a-f]*: 13 4c ld\.w r12,--r9
47792 + *[0-9a-f]*: 0b 46 ld\.w r6,--r5
47794 +[0-9a-f]* <ld_sh2>:
47795 + *[0-9a-f]*: 1f 5f ld\.sh pc,--pc
47796 + *[0-9a-f]*: 19 5c ld\.sh r12,--r12
47797 + *[0-9a-f]*: 0b 55 ld\.sh r5,--r5
47798 + *[0-9a-f]*: 09 54 ld\.sh r4,--r4
47799 + *[0-9a-f]*: 1d 5e ld\.sh lr,--lr
47800 + *[0-9a-f]*: 15 5f ld\.sh pc,--r10
47801 + *[0-9a-f]*: 07 56 ld\.sh r6,--r3
47802 + *[0-9a-f]*: 0d 54 ld\.sh r4,--r6
47804 +[0-9a-f]* <ld_uh2>:
47805 + *[0-9a-f]*: 1f 6f ld\.uh pc,--pc
47806 + *[0-9a-f]*: 19 6c ld\.uh r12,--r12
47807 + *[0-9a-f]*: 0b 65 ld\.uh r5,--r5
47808 + *[0-9a-f]*: 09 64 ld\.uh r4,--r4
47809 + *[0-9a-f]*: 1d 6e ld\.uh lr,--lr
47810 + *[0-9a-f]*: 05 63 ld\.uh r3,--r2
47811 + *[0-9a-f]*: 01 61 ld\.uh r1,--r0
47812 + *[0-9a-f]*: 13 62 ld\.uh r2,--r9
47814 +[0-9a-f]* <ld_ub2>:
47815 + *[0-9a-f]*: 1f 7f ld\.ub pc,--pc
47816 + *[0-9a-f]*: 19 7c ld\.ub r12,--r12
47817 + *[0-9a-f]*: 0b 75 ld\.ub r5,--r5
47818 + *[0-9a-f]*: 09 74 ld\.ub r4,--r4
47819 + *[0-9a-f]*: 1d 7e ld\.ub lr,--lr
47820 + *[0-9a-f]*: 03 71 ld\.ub r1,--r1
47821 + *[0-9a-f]*: 0d 70 ld\.ub r0,--r6
47822 + *[0-9a-f]*: 0f 72 ld\.ub r2,--r7
47824 +[0-9a-f]* <ld_ub3>:
47825 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
47826 + *[0-9a-f]*: 19 fc ld\.ub r12,r12\[0x7\]
47827 + *[0-9a-f]*: 0b c5 ld\.ub r5,r5\[0x4\]
47828 + *[0-9a-f]*: 09 b4 ld\.ub r4,r4\[0x3\]
47829 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
47830 + *[0-9a-f]*: 13 e6 ld\.ub r6,r9\[0x6\]
47831 + *[0-9a-f]*: 1d c2 ld\.ub r2,lr\[0x4\]
47832 + *[0-9a-f]*: 11 81 ld\.ub r1,r8\[0x0\]
47834 +[0-9a-f]* <sub3_sp>:
47835 + *[0-9a-f]*: 20 0d sub sp,0
47836 + *[0-9a-f]*: 2f fd sub sp,-4
47837 + *[0-9a-f]*: 28 0d sub sp,-512
47838 + *[0-9a-f]*: 27 fd sub sp,508
47839 + *[0-9a-f]*: 20 1d sub sp,4
47840 + *[0-9a-f]*: 20 bd sub sp,44
47841 + *[0-9a-f]*: 20 2d sub sp,8
47842 + *[0-9a-f]*: 25 7d sub sp,348
47845 + *[0-9a-f]*: 20 0f sub pc,0
47846 + *[0-9a-f]*: 2f fc sub r12,-1
47847 + *[0-9a-f]*: 28 05 sub r5,-128
47848 + *[0-9a-f]*: 27 f4 sub r4,127
47849 + *[0-9a-f]*: 20 1e sub lr,1
47850 + *[0-9a-f]*: 2d 76 sub r6,-41
47851 + *[0-9a-f]*: 22 54 sub r4,37
47852 + *[0-9a-f]*: 23 8c sub r12,56
47855 + *[0-9a-f]*: 30 0f mov pc,0
47856 + *[0-9a-f]*: 3f fc mov r12,-1
47857 + *[0-9a-f]*: 38 05 mov r5,-128
47858 + *[0-9a-f]*: 37 f4 mov r4,127
47859 + *[0-9a-f]*: 30 1e mov lr,1
47860 + *[0-9a-f]*: 30 ef mov pc,14
47861 + *[0-9a-f]*: 39 c6 mov r6,-100
47862 + *[0-9a-f]*: 38 6e mov lr,-122
47864 +[0-9a-f]* <lddsp>:
47865 + *[0-9a-f]*: 40 0f lddsp pc,sp\[0x0\]
47866 + *[0-9a-f]*: 47 fc lddsp r12,sp\[0x1fc\]
47867 + *[0-9a-f]*: 44 05 lddsp r5,sp\[0x100\]
47868 + *[0-9a-f]*: 43 f4 lddsp r4,sp\[0xfc\]
47869 + *[0-9a-f]*: 40 1e lddsp lr,sp\[0x4\]
47870 + *[0-9a-f]*: 44 0e lddsp lr,sp\[0x100\]
47871 + *[0-9a-f]*: 40 5c lddsp r12,sp\[0x14\]
47872 + *[0-9a-f]*: 47 69 lddsp r9,sp\[0x1d8\]
47874 +[0-9a-f]* <lddpc>:
47875 + *[0-9a-f]*: 48 0f lddpc pc,[0-9a-f]* <.*>
47876 + *[0-9a-f]*: 4f f0 lddpc r0,[0-9a-f]* <.*>
47877 + *[0-9a-f]*: 4c 08 lddpc r8,[0-9a-f]* <.*>
47878 + *[0-9a-f]*: 4b f7 lddpc r7,[0-9a-f]* <.*>
47879 + *[0-9a-f]*: 48 1e lddpc lr,[0-9a-f]* <.*>
47880 + *[0-9a-f]*: 4f 6d lddpc sp,[0-9a-f]* <.*>
47881 + *[0-9a-f]*: 49 e6 lddpc r6,[0-9a-f]* <.*>
47882 + *[0-9a-f]*: 48 7b lddpc r11,[0-9a-f]* <.*>
47884 +[0-9a-f]* <stdsp>:
47885 + *[0-9a-f]*: 50 0f stdsp sp\[0x0\],pc
47886 + *[0-9a-f]*: 57 fc stdsp sp\[0x1fc\],r12
47887 + *[0-9a-f]*: 54 05 stdsp sp\[0x100\],r5
47888 + *[0-9a-f]*: 53 f4 stdsp sp\[0xfc\],r4
47889 + *[0-9a-f]*: 50 1e stdsp sp\[0x4\],lr
47890 + *[0-9a-f]*: 54 cf stdsp sp\[0x130\],pc
47891 + *[0-9a-f]*: 54 00 stdsp sp\[0x100\],r0
47892 + *[0-9a-f]*: 55 45 stdsp sp\[0x150\],r5
47895 + *[0-9a-f]*: 58 0f cp.w pc,0
47896 + *[0-9a-f]*: 5b fc cp.w r12,-1
47897 + *[0-9a-f]*: 5a 05 cp.w r5,-32
47898 + *[0-9a-f]*: 59 f4 cp.w r4,31
47899 + *[0-9a-f]*: 58 1e cp.w lr,1
47900 + *[0-9a-f]*: 58 38 cp.w r8,3
47901 + *[0-9a-f]*: 59 0e cp.w lr,16
47902 + *[0-9a-f]*: 5a 67 cp.w r7,-26
47905 + *[0-9a-f]*: 5c 0f acr pc
47906 + *[0-9a-f]*: 5c 0c acr r12
47907 + *[0-9a-f]*: 5c 05 acr r5
47908 + *[0-9a-f]*: 5c 04 acr r4
47909 + *[0-9a-f]*: 5c 0e acr lr
47910 + *[0-9a-f]*: 5c 02 acr r2
47911 + *[0-9a-f]*: 5c 0c acr r12
47912 + *[0-9a-f]*: 5c 0f acr pc
47915 + *[0-9a-f]*: 5c 1f scr pc
47916 + *[0-9a-f]*: 5c 1c scr r12
47917 + *[0-9a-f]*: 5c 15 scr r5
47918 + *[0-9a-f]*: 5c 14 scr r4
47919 + *[0-9a-f]*: 5c 1e scr lr
47920 + *[0-9a-f]*: 5c 1f scr pc
47921 + *[0-9a-f]*: 5c 16 scr r6
47922 + *[0-9a-f]*: 5c 11 scr r1
47925 + *[0-9a-f]*: 5c 2f cpc pc
47926 + *[0-9a-f]*: 5c 2c cpc r12
47927 + *[0-9a-f]*: 5c 25 cpc r5
47928 + *[0-9a-f]*: 5c 24 cpc r4
47929 + *[0-9a-f]*: 5c 2e cpc lr
47930 + *[0-9a-f]*: 5c 2f cpc pc
47931 + *[0-9a-f]*: 5c 24 cpc r4
47932 + *[0-9a-f]*: 5c 29 cpc r9
47935 + *[0-9a-f]*: 5c 3f neg pc
47936 + *[0-9a-f]*: 5c 3c neg r12
47937 + *[0-9a-f]*: 5c 35 neg r5
47938 + *[0-9a-f]*: 5c 34 neg r4
47939 + *[0-9a-f]*: 5c 3e neg lr
47940 + *[0-9a-f]*: 5c 37 neg r7
47941 + *[0-9a-f]*: 5c 31 neg r1
47942 + *[0-9a-f]*: 5c 39 neg r9
47945 + *[0-9a-f]*: 5c 4f abs pc
47946 + *[0-9a-f]*: 5c 4c abs r12
47947 + *[0-9a-f]*: 5c 45 abs r5
47948 + *[0-9a-f]*: 5c 44 abs r4
47949 + *[0-9a-f]*: 5c 4e abs lr
47950 + *[0-9a-f]*: 5c 46 abs r6
47951 + *[0-9a-f]*: 5c 46 abs r6
47952 + *[0-9a-f]*: 5c 44 abs r4
47954 +[0-9a-f]* <castu_b>:
47955 + *[0-9a-f]*: 5c 5f castu\.b pc
47956 + *[0-9a-f]*: 5c 5c castu\.b r12
47957 + *[0-9a-f]*: 5c 55 castu\.b r5
47958 + *[0-9a-f]*: 5c 54 castu\.b r4
47959 + *[0-9a-f]*: 5c 5e castu\.b lr
47960 + *[0-9a-f]*: 5c 57 castu\.b r7
47961 + *[0-9a-f]*: 5c 5d castu\.b sp
47962 + *[0-9a-f]*: 5c 59 castu\.b r9
47964 +[0-9a-f]* <casts_b>:
47965 + *[0-9a-f]*: 5c 6f casts\.b pc
47966 + *[0-9a-f]*: 5c 6c casts\.b r12
47967 + *[0-9a-f]*: 5c 65 casts\.b r5
47968 + *[0-9a-f]*: 5c 64 casts\.b r4
47969 + *[0-9a-f]*: 5c 6e casts\.b lr
47970 + *[0-9a-f]*: 5c 6b casts\.b r11
47971 + *[0-9a-f]*: 5c 61 casts\.b r1
47972 + *[0-9a-f]*: 5c 6a casts\.b r10
47974 +[0-9a-f]* <castu_h>:
47975 + *[0-9a-f]*: 5c 7f castu\.h pc
47976 + *[0-9a-f]*: 5c 7c castu\.h r12
47977 + *[0-9a-f]*: 5c 75 castu\.h r5
47978 + *[0-9a-f]*: 5c 74 castu\.h r4
47979 + *[0-9a-f]*: 5c 7e castu\.h lr
47980 + *[0-9a-f]*: 5c 7a castu\.h r10
47981 + *[0-9a-f]*: 5c 7b castu\.h r11
47982 + *[0-9a-f]*: 5c 71 castu\.h r1
47984 +[0-9a-f]* <casts_h>:
47985 + *[0-9a-f]*: 5c 8f casts\.h pc
47986 + *[0-9a-f]*: 5c 8c casts\.h r12
47987 + *[0-9a-f]*: 5c 85 casts\.h r5
47988 + *[0-9a-f]*: 5c 84 casts\.h r4
47989 + *[0-9a-f]*: 5c 8e casts\.h lr
47990 + *[0-9a-f]*: 5c 80 casts\.h r0
47991 + *[0-9a-f]*: 5c 85 casts\.h r5
47992 + *[0-9a-f]*: 5c 89 casts\.h r9
47995 + *[0-9a-f]*: 5c 9f brev pc
47996 + *[0-9a-f]*: 5c 9c brev r12
47997 + *[0-9a-f]*: 5c 95 brev r5
47998 + *[0-9a-f]*: 5c 94 brev r4
47999 + *[0-9a-f]*: 5c 9e brev lr
48000 + *[0-9a-f]*: 5c 95 brev r5
48001 + *[0-9a-f]*: 5c 9a brev r10
48002 + *[0-9a-f]*: 5c 98 brev r8
48004 +[0-9a-f]* <swap_h>:
48005 + *[0-9a-f]*: 5c af swap\.h pc
48006 + *[0-9a-f]*: 5c ac swap\.h r12
48007 + *[0-9a-f]*: 5c a5 swap\.h r5
48008 + *[0-9a-f]*: 5c a4 swap\.h r4
48009 + *[0-9a-f]*: 5c ae swap\.h lr
48010 + *[0-9a-f]*: 5c a7 swap\.h r7
48011 + *[0-9a-f]*: 5c a0 swap\.h r0
48012 + *[0-9a-f]*: 5c a8 swap\.h r8
48014 +[0-9a-f]* <swap_b>:
48015 + *[0-9a-f]*: 5c bf swap\.b pc
48016 + *[0-9a-f]*: 5c bc swap\.b r12
48017 + *[0-9a-f]*: 5c b5 swap\.b r5
48018 + *[0-9a-f]*: 5c b4 swap\.b r4
48019 + *[0-9a-f]*: 5c be swap\.b lr
48020 + *[0-9a-f]*: 5c ba swap\.b r10
48021 + *[0-9a-f]*: 5c bc swap\.b r12
48022 + *[0-9a-f]*: 5c b1 swap\.b r1
48024 +[0-9a-f]* <swap_bh>:
48025 + *[0-9a-f]*: 5c cf swap\.bh pc
48026 + *[0-9a-f]*: 5c cc swap\.bh r12
48027 + *[0-9a-f]*: 5c c5 swap\.bh r5
48028 + *[0-9a-f]*: 5c c4 swap\.bh r4
48029 + *[0-9a-f]*: 5c ce swap\.bh lr
48030 + *[0-9a-f]*: 5c c9 swap\.bh r9
48031 + *[0-9a-f]*: 5c c4 swap\.bh r4
48032 + *[0-9a-f]*: 5c c1 swap\.bh r1
48034 +[0-9a-f]* <One_s_compliment>:
48035 + *[0-9a-f]*: 5c df com pc
48036 + *[0-9a-f]*: 5c dc com r12
48037 + *[0-9a-f]*: 5c d5 com r5
48038 + *[0-9a-f]*: 5c d4 com r4
48039 + *[0-9a-f]*: 5c de com lr
48040 + *[0-9a-f]*: 5c d2 com r2
48041 + *[0-9a-f]*: 5c d2 com r2
48042 + *[0-9a-f]*: 5c d7 com r7
48045 + *[0-9a-f]*: 5c ef tnbz pc
48046 + *[0-9a-f]*: 5c ec tnbz r12
48047 + *[0-9a-f]*: 5c e5 tnbz r5
48048 + *[0-9a-f]*: 5c e4 tnbz r4
48049 + *[0-9a-f]*: 5c ee tnbz lr
48050 + *[0-9a-f]*: 5c e8 tnbz r8
48051 + *[0-9a-f]*: 5c ec tnbz r12
48052 + *[0-9a-f]*: 5c ef tnbz pc
48055 + *[0-9a-f]*: 5c ff rol pc
48056 + *[0-9a-f]*: 5c fc rol r12
48057 + *[0-9a-f]*: 5c f5 rol r5
48058 + *[0-9a-f]*: 5c f4 rol r4
48059 + *[0-9a-f]*: 5c fe rol lr
48060 + *[0-9a-f]*: 5c fa rol r10
48061 + *[0-9a-f]*: 5c f9 rol r9
48062 + *[0-9a-f]*: 5c f5 rol r5
48065 + *[0-9a-f]*: 5d 0f ror pc
48066 + *[0-9a-f]*: 5d 0c ror r12
48067 + *[0-9a-f]*: 5d 05 ror r5
48068 + *[0-9a-f]*: 5d 04 ror r4
48069 + *[0-9a-f]*: 5d 0e ror lr
48070 + *[0-9a-f]*: 5d 08 ror r8
48071 + *[0-9a-f]*: 5d 04 ror r4
48072 + *[0-9a-f]*: 5d 07 ror r7
48074 +[0-9a-f]* <icall>:
48075 + *[0-9a-f]*: 5d 1f icall pc
48076 + *[0-9a-f]*: 5d 1c icall r12
48077 + *[0-9a-f]*: 5d 15 icall r5
48078 + *[0-9a-f]*: 5d 14 icall r4
48079 + *[0-9a-f]*: 5d 1e icall lr
48080 + *[0-9a-f]*: 5d 13 icall r3
48081 + *[0-9a-f]*: 5d 11 icall r1
48082 + *[0-9a-f]*: 5d 13 icall r3
48084 +[0-9a-f]* <mustr>:
48085 + *[0-9a-f]*: 5d 2f mustr pc
48086 + *[0-9a-f]*: 5d 2c mustr r12
48087 + *[0-9a-f]*: 5d 25 mustr r5
48088 + *[0-9a-f]*: 5d 24 mustr r4
48089 + *[0-9a-f]*: 5d 2e mustr lr
48090 + *[0-9a-f]*: 5d 21 mustr r1
48091 + *[0-9a-f]*: 5d 24 mustr r4
48092 + *[0-9a-f]*: 5d 2c mustr r12
48094 +[0-9a-f]* <musfr>:
48095 + *[0-9a-f]*: 5d 3f musfr pc
48096 + *[0-9a-f]*: 5d 3c musfr r12
48097 + *[0-9a-f]*: 5d 35 musfr r5
48098 + *[0-9a-f]*: 5d 34 musfr r4
48099 + *[0-9a-f]*: 5d 3e musfr lr
48100 + *[0-9a-f]*: 5d 3b musfr r11
48101 + *[0-9a-f]*: 5d 3c musfr r12
48102 + *[0-9a-f]*: 5d 32 musfr r2
48104 +[0-9a-f]* <ret_cond>:
48105 + *[0-9a-f]*: 5e 0f reteq 1
48106 + *[0-9a-f]*: 5e fc retal r12
48107 + *[0-9a-f]*: 5e 85 retls r5
48108 + *[0-9a-f]*: 5e 74 retpl r4
48109 + *[0-9a-f]*: 5e 1e retne -1
48110 + *[0-9a-f]*: 5e 90 retgt r0
48111 + *[0-9a-f]*: 5e 9c retgt r12
48112 + *[0-9a-f]*: 5e 4a retge r10
48114 +[0-9a-f]* <sr_cond>:
48115 + *[0-9a-f]*: 5f 0f sreq pc
48116 + *[0-9a-f]*: 5f fc sral r12
48117 + *[0-9a-f]*: 5f 85 srls r5
48118 + *[0-9a-f]*: 5f 74 srpl r4
48119 + *[0-9a-f]*: 5f 1e srne lr
48120 + *[0-9a-f]*: 5f 50 srlt r0
48121 + *[0-9a-f]*: 5f fd sral sp
48122 + *[0-9a-f]*: 5f 49 srge r9
48124 +[0-9a-f]* <ld_w3>:
48125 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
48126 + *[0-9a-f]*: 79 fc ld\.w r12,r12\[0x7c\]
48127 + *[0-9a-f]*: 6b 05 ld\.w r5,r5\[0x40\]
48128 + *[0-9a-f]*: 68 f4 ld\.w r4,r4\[0x3c\]
48129 + *[0-9a-f]*: 7c 1e ld\.w lr,lr\[0x4\]
48130 + *[0-9a-f]*: 64 dd ld\.w sp,r2\[0x34\]
48131 + *[0-9a-f]*: 62 29 ld\.w r9,r1\[0x8\]
48132 + *[0-9a-f]*: 7a f5 ld\.w r5,sp\[0x3c\]
48134 +[0-9a-f]* <ld_sh3>:
48135 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
48136 + *[0-9a-f]*: 98 7c ld\.sh r12,r12\[0xe\]
48137 + *[0-9a-f]*: 8a 45 ld\.sh r5,r5\[0x8\]
48138 + *[0-9a-f]*: 88 34 ld\.sh r4,r4\[0x6\]
48139 + *[0-9a-f]*: 9c 1e ld\.sh lr,lr\[0x2\]
48140 + *[0-9a-f]*: 84 44 ld\.sh r4,r2\[0x8\]
48141 + *[0-9a-f]*: 9c 5d ld\.sh sp,lr\[0xa\]
48142 + *[0-9a-f]*: 96 12 ld\.sh r2,r11\[0x2\]
48144 +[0-9a-f]* <ld_uh3>:
48145 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
48146 + *[0-9a-f]*: 98 fc ld\.uh r12,r12\[0xe\]
48147 + *[0-9a-f]*: 8a c5 ld\.uh r5,r5\[0x8\]
48148 + *[0-9a-f]*: 88 b4 ld\.uh r4,r4\[0x6\]
48149 + *[0-9a-f]*: 9c 9e ld\.uh lr,lr\[0x2\]
48150 + *[0-9a-f]*: 80 da ld\.uh r10,r0\[0xa\]
48151 + *[0-9a-f]*: 96 c8 ld\.uh r8,r11\[0x8\]
48152 + *[0-9a-f]*: 84 ea ld\.uh r10,r2\[0xc\]
48154 +[0-9a-f]* <st_w3>:
48155 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
48156 + *[0-9a-f]*: 99 fc st\.w r12\[0x3c\],r12
48157 + *[0-9a-f]*: 8b 85 st\.w r5\[0x20\],r5
48158 + *[0-9a-f]*: 89 74 st\.w r4\[0x1c\],r4
48159 + *[0-9a-f]*: 9d 1e st\.w lr\[0x4\],lr
48160 + *[0-9a-f]*: 8f bb st\.w r7\[0x2c\],r11
48161 + *[0-9a-f]*: 85 66 st\.w r2\[0x18\],r6
48162 + *[0-9a-f]*: 89 39 st\.w r4\[0xc\],r9
48164 +[0-9a-f]* <st_h3>:
48165 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
48166 + *[0-9a-f]*: b8 7c st\.h r12\[0xe\],r12
48167 + *[0-9a-f]*: aa 45 st\.h r5\[0x8\],r5
48168 + *[0-9a-f]*: a8 34 st\.h r4\[0x6\],r4
48169 + *[0-9a-f]*: bc 1e st\.h lr\[0x2\],lr
48170 + *[0-9a-f]*: bc 5c st\.h lr\[0xa\],r12
48171 + *[0-9a-f]*: ac 20 st\.h r6\[0x4\],r0
48172 + *[0-9a-f]*: aa 6d st\.h r5\[0xc\],sp
48174 +[0-9a-f]* <st_b3>:
48175 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
48176 + *[0-9a-f]*: b8 fc st\.b r12\[0x7\],r12
48177 + *[0-9a-f]*: aa c5 st\.b r5\[0x4\],r5
48178 + *[0-9a-f]*: a8 b4 st\.b r4\[0x3\],r4
48179 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
48180 + *[0-9a-f]*: b8 e9 st\.b r12\[0x6\],r9
48181 + *[0-9a-f]*: a4 be st\.b r2\[0x3\],lr
48182 + *[0-9a-f]*: a2 bb st\.b r1\[0x3\],r11
48185 + *[0-9a-f]*: bf 00 ld\.d r0,pc
48186 + *[0-9a-f]*: b9 0e ld\.d lr,r12
48187 + *[0-9a-f]*: ab 08 ld\.d r8,r5
48188 + *[0-9a-f]*: a9 06 ld\.d r6,r4
48189 + *[0-9a-f]*: bd 02 ld\.d r2,lr
48190 + *[0-9a-f]*: af 0e ld\.d lr,r7
48191 + *[0-9a-f]*: a9 04 ld\.d r4,r4
48192 + *[0-9a-f]*: bf 0e ld\.d lr,pc
48194 +[0-9a-f]* <ldd_postinc>:
48195 + *[0-9a-f]*: bf 01 ld\.d r0,pc\+\+
48196 + *[0-9a-f]*: b9 0f ld\.d lr,r12\+\+
48197 + *[0-9a-f]*: ab 09 ld\.d r8,r5\+\+
48198 + *[0-9a-f]*: a9 07 ld\.d r6,r4\+\+
48199 + *[0-9a-f]*: bd 03 ld\.d r2,lr\+\+
48200 + *[0-9a-f]*: ab 0f ld\.d lr,r5\+\+
48201 + *[0-9a-f]*: b7 0d ld\.d r12,r11\+\+
48202 + *[0-9a-f]*: b9 03 ld\.d r2,r12\+\+
48204 +[0-9a-f]* <ldd_predec>:
48205 + *[0-9a-f]*: bf 10 ld\.d r0,--pc
48206 + *[0-9a-f]*: b9 1e ld\.d lr,--r12
48207 + *[0-9a-f]*: ab 18 ld\.d r8,--r5
48208 + *[0-9a-f]*: a9 16 ld\.d r6,--r4
48209 + *[0-9a-f]*: bd 12 ld\.d r2,--lr
48210 + *[0-9a-f]*: a1 18 ld\.d r8,--r0
48211 + *[0-9a-f]*: bf 1a ld\.d r10,--pc
48212 + *[0-9a-f]*: a9 12 ld\.d r2,--r4
48215 + *[0-9a-f]*: bf 11 st\.d pc,r0
48216 + *[0-9a-f]*: b9 1f st\.d r12,lr
48217 + *[0-9a-f]*: ab 19 st\.d r5,r8
48218 + *[0-9a-f]*: a9 17 st\.d r4,r6
48219 + *[0-9a-f]*: bd 13 st\.d lr,r2
48220 + *[0-9a-f]*: a1 1d st\.d r0,r12
48221 + *[0-9a-f]*: bb 15 st\.d sp,r4
48222 + *[0-9a-f]*: b9 1d st\.d r12,r12
48224 +[0-9a-f]* <std_postinc>:
48225 + *[0-9a-f]*: bf 20 st\.d pc\+\+,r0
48226 + *[0-9a-f]*: b9 2e st\.d r12\+\+,lr
48227 + *[0-9a-f]*: ab 28 st\.d r5\+\+,r8
48228 + *[0-9a-f]*: a9 26 st\.d r4\+\+,r6
48229 + *[0-9a-f]*: bd 22 st\.d lr\+\+,r2
48230 + *[0-9a-f]*: bb 26 st\.d sp\+\+,r6
48231 + *[0-9a-f]*: b5 26 st\.d r10\+\+,r6
48232 + *[0-9a-f]*: af 22 st\.d r7\+\+,r2
48234 +[0-9a-f]* <std_predec>:
48235 + *[0-9a-f]*: bf 21 st\.d --pc,r0
48236 + *[0-9a-f]*: b9 2f st\.d --r12,lr
48237 + *[0-9a-f]*: ab 29 st\.d --r5,r8
48238 + *[0-9a-f]*: a9 27 st\.d --r4,r6
48239 + *[0-9a-f]*: bd 23 st\.d --lr,r2
48240 + *[0-9a-f]*: a7 27 st\.d --r3,r6
48241 + *[0-9a-f]*: bd 23 st\.d --lr,r2
48242 + *[0-9a-f]*: a1 25 st\.d --r0,r4
48245 + *[0-9a-f]*: bf 3f mul pc,pc
48246 + *[0-9a-f]*: b9 3c mul r12,r12
48247 + *[0-9a-f]*: ab 35 mul r5,r5
48248 + *[0-9a-f]*: a9 34 mul r4,r4
48249 + *[0-9a-f]*: bd 3e mul lr,lr
48250 + *[0-9a-f]*: bd 3a mul r10,lr
48251 + *[0-9a-f]*: b1 30 mul r0,r8
48252 + *[0-9a-f]*: ab 38 mul r8,r5
48254 +[0-9a-f]* <asr_imm5>:
48255 + *[0-9a-f]*: a1 4f asr pc,0x0
48256 + *[0-9a-f]*: bf 5c asr r12,0x1f
48257 + *[0-9a-f]*: b1 45 asr r5,0x10
48258 + *[0-9a-f]*: af 54 asr r4,0xf
48259 + *[0-9a-f]*: a1 5e asr lr,0x1
48260 + *[0-9a-f]*: b7 56 asr r6,0x17
48261 + *[0-9a-f]*: b3 46 asr r6,0x12
48262 + *[0-9a-f]*: a9 45 asr r5,0x8
48264 +[0-9a-f]* <lsl_imm5>:
48265 + *[0-9a-f]*: a1 6f lsl pc,0x0
48266 + *[0-9a-f]*: bf 7c lsl r12,0x1f
48267 + *[0-9a-f]*: b1 65 lsl r5,0x10
48268 + *[0-9a-f]*: af 74 lsl r4,0xf
48269 + *[0-9a-f]*: a1 7e lsl lr,0x1
48270 + *[0-9a-f]*: ad 7c lsl r12,0xd
48271 + *[0-9a-f]*: b1 66 lsl r6,0x10
48272 + *[0-9a-f]*: b9 71 lsl r1,0x19
48274 +[0-9a-f]* <lsr_imm5>:
48275 + *[0-9a-f]*: a1 8f lsr pc,0x0
48276 + *[0-9a-f]*: bf 9c lsr r12,0x1f
48277 + *[0-9a-f]*: b1 85 lsr r5,0x10
48278 + *[0-9a-f]*: af 94 lsr r4,0xf
48279 + *[0-9a-f]*: a1 9e lsr lr,0x1
48280 + *[0-9a-f]*: a1 90 lsr r0,0x1
48281 + *[0-9a-f]*: ab 88 lsr r8,0xa
48282 + *[0-9a-f]*: bb 87 lsr r7,0x1a
48285 + *[0-9a-f]*: a1 af sbr pc,0x0
48286 + *[0-9a-f]*: bf bc sbr r12,0x1f
48287 + *[0-9a-f]*: b1 a5 sbr r5,0x10
48288 + *[0-9a-f]*: af b4 sbr r4,0xf
48289 + *[0-9a-f]*: a1 be sbr lr,0x1
48290 + *[0-9a-f]*: bf b8 sbr r8,0x1f
48291 + *[0-9a-f]*: b7 a6 sbr r6,0x16
48292 + *[0-9a-f]*: b7 b1 sbr r1,0x17
48295 + *[0-9a-f]*: a1 cf cbr pc,0x0
48296 + *[0-9a-f]*: bf dc cbr r12,0x1f
48297 + *[0-9a-f]*: b1 c5 cbr r5,0x10
48298 + *[0-9a-f]*: af d4 cbr r4,0xf
48299 + *[0-9a-f]*: a1 de cbr lr,0x1
48300 + *[0-9a-f]*: ab cc cbr r12,0xa
48301 + *[0-9a-f]*: b7 c7 cbr r7,0x16
48302 + *[0-9a-f]*: a9 d8 cbr r8,0x9
48305 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
48306 + *[0-9a-f]*: cf f7 brpl [0-9a-f]* <.*>
48307 + *[0-9a-f]*: c8 04 brge [0-9a-f]* <.*>
48308 + *[0-9a-f]*: c7 f3 brcs [0-9a-f]* <.*>
48309 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
48310 + *[0-9a-f]*: c7 33 brcs [0-9a-f]* <.*>
48311 + *[0-9a-f]*: cf 70 breq [0-9a-f]* <.*>
48312 + *[0-9a-f]*: c0 60 breq [0-9a-f]* <.*>
48315 + *[0-9a-f]*: c0 08 rjmp [0-9a-f]* <.*>
48316 + *[0-9a-f]*: cf fb rjmp [0-9a-f]* <.*>
48317 + *[0-9a-f]*: c0 0a rjmp [0-9a-f]* <.*>
48318 + *[0-9a-f]*: cf f9 rjmp [0-9a-f]* <.*>
48319 + *[0-9a-f]*: c0 18 rjmp [0-9a-f]* <.*>
48320 + *[0-9a-f]*: c1 fa rjmp [0-9a-f]* <.*>
48321 + *[0-9a-f]*: c0 78 rjmp [0-9a-f]* <.*>
48322 + *[0-9a-f]*: cf ea rjmp [0-9a-f]* <.*>
48324 +[0-9a-f]* <rcall1>:
48325 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
48326 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
48327 + *[0-9a-f]*: c0 0e rcall [0-9a-f]* <.*>
48328 + *[0-9a-f]*: cf fd rcall [0-9a-f]* <.*>
48329 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
48330 + *[0-9a-f]*: c6 cc rcall [0-9a-f]* <.*>
48331 + *[0-9a-f]*: cf 7e rcall [0-9a-f]* <.*>
48332 + *[0-9a-f]*: c1 ae rcall [0-9a-f]* <.*>
48334 +[0-9a-f]* <acall>:
48335 + *[0-9a-f]*: d0 00 acall 0x0
48336 + *[0-9a-f]*: df f0 acall 0x3fc
48337 + *[0-9a-f]*: d8 00 acall 0x200
48338 + *[0-9a-f]*: d7 f0 acall 0x1fc
48339 + *[0-9a-f]*: d0 10 acall 0x4
48340 + *[0-9a-f]*: d5 90 acall 0x164
48341 + *[0-9a-f]*: d4 c0 acall 0x130
48342 + *[0-9a-f]*: d2 b0 acall 0xac
48344 +[0-9a-f]* <scall>:
48345 + *[0-9a-f]*: d7 33 scall
48346 + *[0-9a-f]*: d7 33 scall
48347 + *[0-9a-f]*: d7 33 scall
48348 + *[0-9a-f]*: d7 33 scall
48349 + *[0-9a-f]*: d7 33 scall
48350 + *[0-9a-f]*: d7 33 scall
48351 + *[0-9a-f]*: d7 33 scall
48352 + *[0-9a-f]*: d7 33 scall
48355 + *[0-9a-f]*: d8 02 popm pc
48356 + *[0-9a-f]*: dd fa popm r0-r11,pc,r12=-1
48357 + *[0-9a-f]*: d4 02 popm lr
48358 + *[0-9a-f]*: db fa popm r0-r11,pc,r12=1
48359 + *[0-9a-f]*: d0 12 popm r0-r3
48360 + *[0-9a-f]*: d8 e2 popm r4-r10,pc
48361 + *[0-9a-f]*: d9 1a popm r0-r3,r11,pc,r12=0
48362 + *[0-9a-f]*: d7 b2 popm r0-r7,r10-r12,lr
48364 +[0-9a-f]* <pushm>:
48365 + *[0-9a-f]*: d8 01 pushm pc
48366 + *[0-9a-f]*: df f1 pushm r0-r12,lr-pc
48367 + *[0-9a-f]*: d8 01 pushm pc
48368 + *[0-9a-f]*: d7 f1 pushm r0-r12,lr
48369 + *[0-9a-f]*: d0 11 pushm r0-r3
48370 + *[0-9a-f]*: dc c1 pushm r8-r10,lr-pc
48371 + *[0-9a-f]*: d0 91 pushm r0-r3,r10
48372 + *[0-9a-f]*: d2 41 pushm r8-r9,r12
48374 +[0-9a-f]* <popm_n>:
48384 +[0-9a-f]* <pushm_n>:
48394 +[0-9a-f]* <csrfcz>:
48395 + *[0-9a-f]*: d0 03 csrfcz 0x0
48396 + *[0-9a-f]*: d1 f3 csrfcz 0x1f
48397 + *[0-9a-f]*: d1 03 csrfcz 0x10
48398 + *[0-9a-f]*: d0 f3 csrfcz 0xf
48399 + *[0-9a-f]*: d0 13 csrfcz 0x1
48400 + *[0-9a-f]*: d0 53 csrfcz 0x5
48401 + *[0-9a-f]*: d0 d3 csrfcz 0xd
48402 + *[0-9a-f]*: d1 73 csrfcz 0x17
48405 + *[0-9a-f]*: d2 03 ssrf 0x0
48406 + *[0-9a-f]*: d3 f3 ssrf 0x1f
48407 + *[0-9a-f]*: d3 03 ssrf 0x10
48408 + *[0-9a-f]*: d2 f3 ssrf 0xf
48409 + *[0-9a-f]*: d2 13 ssrf 0x1
48410 + *[0-9a-f]*: d3 d3 ssrf 0x1d
48411 + *[0-9a-f]*: d2 d3 ssrf 0xd
48412 + *[0-9a-f]*: d2 d3 ssrf 0xd
48415 + *[0-9a-f]*: d4 03 csrf 0x0
48416 + *[0-9a-f]*: d5 f3 csrf 0x1f
48417 + *[0-9a-f]*: d5 03 csrf 0x10
48418 + *[0-9a-f]*: d4 f3 csrf 0xf
48419 + *[0-9a-f]*: d4 13 csrf 0x1
48420 + *[0-9a-f]*: d4 a3 csrf 0xa
48421 + *[0-9a-f]*: d4 f3 csrf 0xf
48422 + *[0-9a-f]*: d4 b3 csrf 0xb
48425 + *[0-9a-f]*: d6 03 rete
48428 + *[0-9a-f]*: d6 13 rets
48431 + *[0-9a-f]*: d6 23 retd
48434 + *[0-9a-f]*: d6 33 retj
48437 + *[0-9a-f]*: d6 43 tlbr
48440 + *[0-9a-f]*: d6 53 tlbs
48443 + *[0-9a-f]*: d6 63 tlbw
48445 +[0-9a-f]* <breakpoint>:
48446 + *[0-9a-f]*: d6 73 breakpoint
48448 +[0-9a-f]* <incjosp>:
48449 + *[0-9a-f]*: d6 83 incjosp 1
48450 + *[0-9a-f]*: d6 93 incjosp 2
48451 + *[0-9a-f]*: d6 a3 incjosp 3
48452 + *[0-9a-f]*: d6 b3 incjosp 4
48453 + *[0-9a-f]*: d6 c3 incjosp -4
48454 + *[0-9a-f]*: d6 d3 incjosp -3
48455 + *[0-9a-f]*: d6 e3 incjosp -2
48456 + *[0-9a-f]*: d6 f3 incjosp -1
48459 + *[0-9a-f]*: d7 03 nop
48461 +[0-9a-f]* <popjc>:
48462 + *[0-9a-f]*: d7 13 popjc
48464 +[0-9a-f]* <pushjc>:
48465 + *[0-9a-f]*: d7 23 pushjc
48468 + *[0-9a-f]*: fe 0f 00 0f add pc,pc,pc
48469 + *[0-9a-f]*: f8 0c 00 3c add r12,r12,r12<<0x3
48470 + *[0-9a-f]*: ea 05 00 25 add r5,r5,r5<<0x2
48471 + *[0-9a-f]*: e8 04 00 14 add r4,r4,r4<<0x1
48472 + *[0-9a-f]*: fc 0e 00 1e add lr,lr,lr<<0x1
48473 + *[0-9a-f]*: f8 00 00 10 add r0,r12,r0<<0x1
48474 + *[0-9a-f]*: f8 04 00 09 add r9,r12,r4
48475 + *[0-9a-f]*: f8 07 00 2c add r12,r12,r7<<0x2
48478 + *[0-9a-f]*: fe 0f 01 0f sub pc,pc,pc
48479 + *[0-9a-f]*: f8 0c 01 3c sub r12,r12,r12<<0x3
48480 + *[0-9a-f]*: ea 05 01 25 sub r5,r5,r5<<0x2
48481 + *[0-9a-f]*: e8 04 01 14 sub r4,r4,r4<<0x1
48482 + *[0-9a-f]*: fc 0e 01 1e sub lr,lr,lr<<0x1
48483 + *[0-9a-f]*: e6 04 01 0d sub sp,r3,r4
48484 + *[0-9a-f]*: ee 03 01 03 sub r3,r7,r3
48485 + *[0-9a-f]*: f4 0d 01 1d sub sp,r10,sp<<0x1
48488 + *[0-9a-f]*: fe 0f 0d 0f divu pc,pc,pc
48489 + *[0-9a-f]*: f8 0c 0d 0c divu r12,r12,r12
48490 + *[0-9a-f]*: ea 05 0d 05 divu r5,r5,r5
48491 + *[0-9a-f]*: e8 04 0d 04 divu r4,r4,r4
48492 + *[0-9a-f]*: fc 0e 0d 0e divu lr,lr,lr
48493 + *[0-9a-f]*: e8 0f 0d 0d divu sp,r4,pc
48494 + *[0-9a-f]*: ea 0d 0d 05 divu r5,r5,sp
48495 + *[0-9a-f]*: fa 00 0d 0a divu r10,sp,r0
48497 +[0-9a-f]* <addhh_w>:
48498 + *[0-9a-f]*: fe 0f 0e 0f addhh\.w pc,pc:b,pc:b
48499 + *[0-9a-f]*: f8 0c 0e 3c addhh\.w r12,r12:t,r12:t
48500 + *[0-9a-f]*: ea 05 0e 35 addhh\.w r5,r5:t,r5:t
48501 + *[0-9a-f]*: e8 04 0e 04 addhh\.w r4,r4:b,r4:b
48502 + *[0-9a-f]*: fc 0e 0e 3e addhh\.w lr,lr:t,lr:t
48503 + *[0-9a-f]*: e0 03 0e 00 addhh\.w r0,r0:b,r3:b
48504 + *[0-9a-f]*: f8 07 0e 2e addhh\.w lr,r12:t,r7:b
48505 + *[0-9a-f]*: f4 02 0e 23 addhh\.w r3,r10:t,r2:b
48507 +[0-9a-f]* <subhh_w>:
48508 + *[0-9a-f]*: fe 0f 0f 0f subhh\.w pc,pc:b,pc:b
48509 + *[0-9a-f]*: f8 0c 0f 3c subhh\.w r12,r12:t,r12:t
48510 + *[0-9a-f]*: ea 05 0f 35 subhh\.w r5,r5:t,r5:t
48511 + *[0-9a-f]*: e8 04 0f 04 subhh\.w r4,r4:b,r4:b
48512 + *[0-9a-f]*: fc 0e 0f 3e subhh\.w lr,lr:t,lr:t
48513 + *[0-9a-f]*: e2 07 0f 2a subhh\.w r10,r1:t,r7:b
48514 + *[0-9a-f]*: f4 0e 0f 3f subhh\.w pc,r10:t,lr:t
48515 + *[0-9a-f]*: e0 0c 0f 23 subhh\.w r3,r0:t,r12:b
48518 + *[0-9a-f]*: fe 0f 00 4f adc pc,pc,pc
48519 + *[0-9a-f]*: f8 0c 00 4c adc r12,r12,r12
48520 + *[0-9a-f]*: ea 05 00 45 adc r5,r5,r5
48521 + *[0-9a-f]*: e8 04 00 44 adc r4,r4,r4
48522 + *[0-9a-f]*: fc 0e 00 4e adc lr,lr,lr
48523 + *[0-9a-f]*: e0 07 00 44 adc r4,r0,r7
48524 + *[0-9a-f]*: e8 03 00 4d adc sp,r4,r3
48525 + *[0-9a-f]*: f8 00 00 42 adc r2,r12,r0
48528 + *[0-9a-f]*: fe 0f 01 4f sbc pc,pc,pc
48529 + *[0-9a-f]*: f8 0c 01 4c sbc r12,r12,r12
48530 + *[0-9a-f]*: ea 05 01 45 sbc r5,r5,r5
48531 + *[0-9a-f]*: e8 04 01 44 sbc r4,r4,r4
48532 + *[0-9a-f]*: fc 0e 01 4e sbc lr,lr,lr
48533 + *[0-9a-f]*: ee 09 01 46 sbc r6,r7,r9
48534 + *[0-9a-f]*: f0 05 01 40 sbc r0,r8,r5
48535 + *[0-9a-f]*: e0 04 01 41 sbc r1,r0,r4
48537 +[0-9a-f]* <mul_2>:
48538 + *[0-9a-f]*: fe 0f 02 4f mul pc,pc,pc
48539 + *[0-9a-f]*: f8 0c 02 4c mul r12,r12,r12
48540 + *[0-9a-f]*: ea 05 02 45 mul r5,r5,r5
48541 + *[0-9a-f]*: e8 04 02 44 mul r4,r4,r4
48542 + *[0-9a-f]*: fc 0e 02 4e mul lr,lr,lr
48543 + *[0-9a-f]*: e0 00 02 4f mul pc,r0,r0
48544 + *[0-9a-f]*: fe 0e 02 48 mul r8,pc,lr
48545 + *[0-9a-f]*: f8 0f 02 44 mul r4,r12,pc
48548 + *[0-9a-f]*: fe 0f 03 4f mac pc,pc,pc
48549 + *[0-9a-f]*: f8 0c 03 4c mac r12,r12,r12
48550 + *[0-9a-f]*: ea 05 03 45 mac r5,r5,r5
48551 + *[0-9a-f]*: e8 04 03 44 mac r4,r4,r4
48552 + *[0-9a-f]*: fc 0e 03 4e mac lr,lr,lr
48553 + *[0-9a-f]*: e8 00 03 4a mac r10,r4,r0
48554 + *[0-9a-f]*: fc 00 03 47 mac r7,lr,r0
48555 + *[0-9a-f]*: f2 0c 03 42 mac r2,r9,r12
48557 +[0-9a-f]* <mulsd>:
48558 + *[0-9a-f]*: fe 0f 04 4f muls\.d pc,pc,pc
48559 + *[0-9a-f]*: f8 0c 04 4c muls\.d r12,r12,r12
48560 + *[0-9a-f]*: ea 05 04 45 muls\.d r5,r5,r5
48561 + *[0-9a-f]*: e8 04 04 44 muls\.d r4,r4,r4
48562 + *[0-9a-f]*: fc 0e 04 4e muls\.d lr,lr,lr
48563 + *[0-9a-f]*: f0 0e 04 42 muls\.d r2,r8,lr
48564 + *[0-9a-f]*: e0 0b 04 44 muls\.d r4,r0,r11
48565 + *[0-9a-f]*: fc 06 04 45 muls\.d r5,lr,r6
48567 +[0-9a-f]* <macsd>:
48568 + *[0-9a-f]*: fe 0f 05 40 macs\.d r0,pc,pc
48569 + *[0-9a-f]*: f8 0c 05 4e macs\.d lr,r12,r12
48570 + *[0-9a-f]*: ea 05 05 48 macs\.d r8,r5,r5
48571 + *[0-9a-f]*: e8 04 05 46 macs\.d r6,r4,r4
48572 + *[0-9a-f]*: fc 0e 05 42 macs\.d r2,lr,lr
48573 + *[0-9a-f]*: e2 09 05 48 macs\.d r8,r1,r9
48574 + *[0-9a-f]*: f0 08 05 4e macs\.d lr,r8,r8
48575 + *[0-9a-f]*: e6 0c 05 44 macs\.d r4,r3,r12
48577 +[0-9a-f]* <mulud>:
48578 + *[0-9a-f]*: fe 0f 06 40 mulu\.d r0,pc,pc
48579 + *[0-9a-f]*: f8 0c 06 4e mulu\.d lr,r12,r12
48580 + *[0-9a-f]*: ea 05 06 48 mulu\.d r8,r5,r5
48581 + *[0-9a-f]*: e8 04 06 46 mulu\.d r6,r4,r4
48582 + *[0-9a-f]*: fc 0e 06 42 mulu\.d r2,lr,lr
48583 + *[0-9a-f]*: ea 00 06 46 mulu\.d r6,r5,r0
48584 + *[0-9a-f]*: ec 01 06 44 mulu\.d r4,r6,r1
48585 + *[0-9a-f]*: f0 02 06 48 mulu\.d r8,r8,r2
48587 +[0-9a-f]* <macud>:
48588 + *[0-9a-f]*: fe 0f 07 40 macu\.d r0,pc,pc
48589 + *[0-9a-f]*: f8 0c 07 4e macu\.d lr,r12,r12
48590 + *[0-9a-f]*: ea 05 07 48 macu\.d r8,r5,r5
48591 + *[0-9a-f]*: e8 04 07 46 macu\.d r6,r4,r4
48592 + *[0-9a-f]*: fc 0e 07 42 macu\.d r2,lr,lr
48593 + *[0-9a-f]*: fa 0b 07 46 macu\.d r6,sp,r11
48594 + *[0-9a-f]*: e8 08 07 42 macu\.d r2,r4,r8
48595 + *[0-9a-f]*: f4 09 07 46 macu\.d r6,r10,r9
48597 +[0-9a-f]* <asr_1>:
48598 + *[0-9a-f]*: fe 0f 08 4f asr pc,pc,pc
48599 + *[0-9a-f]*: f8 0c 08 4c asr r12,r12,r12
48600 + *[0-9a-f]*: ea 05 08 45 asr r5,r5,r5
48601 + *[0-9a-f]*: e8 04 08 44 asr r4,r4,r4
48602 + *[0-9a-f]*: fc 0e 08 4e asr lr,lr,lr
48603 + *[0-9a-f]*: ec 0f 08 4f asr pc,r6,pc
48604 + *[0-9a-f]*: ec 0c 08 40 asr r0,r6,r12
48605 + *[0-9a-f]*: fa 00 08 44 asr r4,sp,r0
48607 +[0-9a-f]* <lsl_1>:
48608 + *[0-9a-f]*: fe 0f 09 4f lsl pc,pc,pc
48609 + *[0-9a-f]*: f8 0c 09 4c lsl r12,r12,r12
48610 + *[0-9a-f]*: ea 05 09 45 lsl r5,r5,r5
48611 + *[0-9a-f]*: e8 04 09 44 lsl r4,r4,r4
48612 + *[0-9a-f]*: fc 0e 09 4e lsl lr,lr,lr
48613 + *[0-9a-f]*: ea 0e 09 4e lsl lr,r5,lr
48614 + *[0-9a-f]*: fe 03 09 45 lsl r5,pc,r3
48615 + *[0-9a-f]*: fe 09 09 41 lsl r1,pc,r9
48617 +[0-9a-f]* <lsr_1>:
48618 + *[0-9a-f]*: fe 0f 0a 4f lsr pc,pc,pc
48619 + *[0-9a-f]*: f8 0c 0a 4c lsr r12,r12,r12
48620 + *[0-9a-f]*: ea 05 0a 45 lsr r5,r5,r5
48621 + *[0-9a-f]*: e8 04 0a 44 lsr r4,r4,r4
48622 + *[0-9a-f]*: fc 0e 0a 4e lsr lr,lr,lr
48623 + *[0-9a-f]*: e8 01 0a 42 lsr r2,r4,r1
48624 + *[0-9a-f]*: e2 06 0a 45 lsr r5,r1,r6
48625 + *[0-9a-f]*: ec 07 0a 4d lsr sp,r6,r7
48628 + *[0-9a-f]*: fe 0f 0b 4f xchg pc,pc,pc
48629 + *[0-9a-f]*: f8 0c 0b 4c xchg r12,r12,r12
48630 + *[0-9a-f]*: ea 05 0b 45 xchg r5,r5,r5
48631 + *[0-9a-f]*: e8 04 0b 44 xchg r4,r4,r4
48632 + *[0-9a-f]*: fc 0e 0b 4e xchg lr,lr,lr
48633 + *[0-9a-f]*: e8 0d 0b 4e xchg lr,r4,sp
48634 + *[0-9a-f]*: ea 0c 0b 41 xchg r1,r5,r12
48635 + *[0-9a-f]*: f8 00 0b 4e xchg lr,r12,r0
48638 + *[0-9a-f]*: fe 0f 0c 4f max pc,pc,pc
48639 + *[0-9a-f]*: f8 0c 0c 4c max r12,r12,r12
48640 + *[0-9a-f]*: ea 05 0c 45 max r5,r5,r5
48641 + *[0-9a-f]*: e8 04 0c 44 max r4,r4,r4
48642 + *[0-9a-f]*: fc 0e 0c 4e max lr,lr,lr
48643 + *[0-9a-f]*: e4 0d 0c 4e max lr,r2,sp
48644 + *[0-9a-f]*: f4 09 0c 44 max r4,r10,r9
48645 + *[0-9a-f]*: f2 0e 0c 4e max lr,r9,lr
48648 + *[0-9a-f]*: fe 0f 0d 4f min pc,pc,pc
48649 + *[0-9a-f]*: f8 0c 0d 4c min r12,r12,r12
48650 + *[0-9a-f]*: ea 05 0d 45 min r5,r5,r5
48651 + *[0-9a-f]*: e8 04 0d 44 min r4,r4,r4
48652 + *[0-9a-f]*: fc 0e 0d 4e min lr,lr,lr
48653 + *[0-9a-f]*: ee 08 0d 49 min r9,r7,r8
48654 + *[0-9a-f]*: ea 05 0d 4d min sp,r5,r5
48655 + *[0-9a-f]*: e2 04 0d 44 min r4,r1,r4
48657 +[0-9a-f]* <addabs>:
48658 + *[0-9a-f]*: fe 0f 0e 4f addabs pc,pc,pc
48659 + *[0-9a-f]*: f8 0c 0e 4c addabs r12,r12,r12
48660 + *[0-9a-f]*: ea 05 0e 45 addabs r5,r5,r5
48661 + *[0-9a-f]*: e8 04 0e 44 addabs r4,r4,r4
48662 + *[0-9a-f]*: fc 0e 0e 4e addabs lr,lr,lr
48663 + *[0-9a-f]*: f4 00 0e 47 addabs r7,r10,r0
48664 + *[0-9a-f]*: f2 07 0e 49 addabs r9,r9,r7
48665 + *[0-9a-f]*: f0 0c 0e 42 addabs r2,r8,r12
48667 +[0-9a-f]* <mulnhh_w>:
48668 + *[0-9a-f]*: fe 0f 01 8f mulnhh\.w pc,pc:b,pc:b
48669 + *[0-9a-f]*: f8 0c 01 bc mulnhh\.w r12,r12:t,r12:t
48670 + *[0-9a-f]*: ea 05 01 b5 mulnhh\.w r5,r5:t,r5:t
48671 + *[0-9a-f]*: e8 04 01 84 mulnhh\.w r4,r4:b,r4:b
48672 + *[0-9a-f]*: fc 0e 01 be mulnhh\.w lr,lr:t,lr:t
48673 + *[0-9a-f]*: fa 09 01 ab mulnhh\.w r11,sp:t,r9:b
48674 + *[0-9a-f]*: e8 0e 01 9d mulnhh\.w sp,r4:b,lr:t
48675 + *[0-9a-f]*: e4 0b 01 ac mulnhh\.w r12,r2:t,r11:b
48677 +[0-9a-f]* <mulnwh_d>:
48678 + *[0-9a-f]*: fe 0f 02 80 mulnwh\.d r0,pc,pc:b
48679 + *[0-9a-f]*: f8 0c 02 9e mulnwh\.d lr,r12,r12:t
48680 + *[0-9a-f]*: ea 05 02 98 mulnwh\.d r8,r5,r5:t
48681 + *[0-9a-f]*: e8 04 02 86 mulnwh\.d r6,r4,r4:b
48682 + *[0-9a-f]*: fc 0e 02 92 mulnwh\.d r2,lr,lr:t
48683 + *[0-9a-f]*: e6 02 02 9e mulnwh\.d lr,r3,r2:t
48684 + *[0-9a-f]*: ea 09 02 84 mulnwh\.d r4,r5,r9:b
48685 + *[0-9a-f]*: e8 04 02 9c mulnwh\.d r12,r4,r4:t
48687 +[0-9a-f]* <machh_w>:
48688 + *[0-9a-f]*: fe 0f 04 8f machh\.w pc,pc:b,pc:b
48689 + *[0-9a-f]*: f8 0c 04 bc machh\.w r12,r12:t,r12:t
48690 + *[0-9a-f]*: ea 05 04 b5 machh\.w r5,r5:t,r5:t
48691 + *[0-9a-f]*: e8 04 04 84 machh\.w r4,r4:b,r4:b
48692 + *[0-9a-f]*: fc 0e 04 be machh\.w lr,lr:t,lr:t
48693 + *[0-9a-f]*: ea 01 04 9e machh\.w lr,r5:b,r1:t
48694 + *[0-9a-f]*: ec 07 04 89 machh\.w r9,r6:b,r7:b
48695 + *[0-9a-f]*: fc 0c 04 a5 machh\.w r5,lr:t,r12:b
48697 +[0-9a-f]* <machh_d>:
48698 + *[0-9a-f]*: fe 0f 05 80 machh\.d r0,pc:b,pc:b
48699 + *[0-9a-f]*: f8 0c 05 be machh\.d lr,r12:t,r12:t
48700 + *[0-9a-f]*: ea 05 05 b8 machh\.d r8,r5:t,r5:t
48701 + *[0-9a-f]*: e8 04 05 86 machh\.d r6,r4:b,r4:b
48702 + *[0-9a-f]*: fc 0e 05 b2 machh\.d r2,lr:t,lr:t
48703 + *[0-9a-f]*: e0 08 05 8a machh\.d r10,r0:b,r8:b
48704 + *[0-9a-f]*: e8 05 05 9e machh\.d lr,r4:b,r5:t
48705 + *[0-9a-f]*: e0 04 05 98 machh\.d r8,r0:b,r4:t
48707 +[0-9a-f]* <macsathh_w>:
48708 + *[0-9a-f]*: fe 0f 06 8f macsathh\.w pc,pc:b,pc:b
48709 + *[0-9a-f]*: f8 0c 06 bc macsathh\.w r12,r12:t,r12:t
48710 + *[0-9a-f]*: ea 05 06 b5 macsathh\.w r5,r5:t,r5:t
48711 + *[0-9a-f]*: e8 04 06 84 macsathh\.w r4,r4:b,r4:b
48712 + *[0-9a-f]*: fc 0e 06 be macsathh\.w lr,lr:t,lr:t
48713 + *[0-9a-f]*: ee 0f 06 b7 macsathh\.w r7,r7:t,pc:t
48714 + *[0-9a-f]*: e4 04 06 a4 macsathh\.w r4,r2:t,r4:b
48715 + *[0-9a-f]*: f0 03 06 b4 macsathh\.w r4,r8:t,r3:t
48717 +[0-9a-f]* <mulhh_w>:
48718 + *[0-9a-f]*: fe 0f 07 8f mulhh\.w pc,pc:b,pc:b
48719 + *[0-9a-f]*: f8 0c 07 bc mulhh\.w r12,r12:t,r12:t
48720 + *[0-9a-f]*: ea 05 07 b5 mulhh\.w r5,r5:t,r5:t
48721 + *[0-9a-f]*: e8 04 07 84 mulhh\.w r4,r4:b,r4:b
48722 + *[0-9a-f]*: fc 0e 07 be mulhh\.w lr,lr:t,lr:t
48723 + *[0-9a-f]*: e8 09 07 a7 mulhh\.w r7,r4:t,r9:b
48724 + *[0-9a-f]*: e6 07 07 bf mulhh\.w pc,r3:t,r7:t
48725 + *[0-9a-f]*: e8 09 07 9f mulhh\.w pc,r4:b,r9:t
48727 +[0-9a-f]* <mulsathh_h>:
48728 + *[0-9a-f]*: fe 0f 08 8f mulsathh\.h pc,pc:b,pc:b
48729 + *[0-9a-f]*: f8 0c 08 bc mulsathh\.h r12,r12:t,r12:t
48730 + *[0-9a-f]*: ea 05 08 b5 mulsathh\.h r5,r5:t,r5:t
48731 + *[0-9a-f]*: e8 04 08 84 mulsathh\.h r4,r4:b,r4:b
48732 + *[0-9a-f]*: fc 0e 08 be mulsathh\.h lr,lr:t,lr:t
48733 + *[0-9a-f]*: e2 0d 08 83 mulsathh\.h r3,r1:b,sp:b
48734 + *[0-9a-f]*: fc 0b 08 ab mulsathh\.h r11,lr:t,r11:b
48735 + *[0-9a-f]*: f0 0b 08 98 mulsathh\.h r8,r8:b,r11:t
48737 +[0-9a-f]* <mulsathh_w>:
48738 + *[0-9a-f]*: fe 0f 09 8f mulsathh\.w pc,pc:b,pc:b
48739 + *[0-9a-f]*: f8 0c 09 bc mulsathh\.w r12,r12:t,r12:t
48740 + *[0-9a-f]*: ea 05 09 b5 mulsathh\.w r5,r5:t,r5:t
48741 + *[0-9a-f]*: e8 04 09 84 mulsathh\.w r4,r4:b,r4:b
48742 + *[0-9a-f]*: fc 0e 09 be mulsathh\.w lr,lr:t,lr:t
48743 + *[0-9a-f]*: f6 06 09 ae mulsathh\.w lr,r11:t,r6:b
48744 + *[0-9a-f]*: ec 07 09 96 mulsathh\.w r6,r6:b,r7:t
48745 + *[0-9a-f]*: e4 03 09 8a mulsathh\.w r10,r2:b,r3:b
48747 +[0-9a-f]* <mulsatrndhh_h>:
48748 + *[0-9a-f]*: fe 0f 0a 8f mulsatrndhh\.h pc,pc:b,pc:b
48749 + *[0-9a-f]*: f8 0c 0a bc mulsatrndhh\.h r12,r12:t,r12:t
48750 + *[0-9a-f]*: ea 05 0a b5 mulsatrndhh\.h r5,r5:t,r5:t
48751 + *[0-9a-f]*: e8 04 0a 84 mulsatrndhh\.h r4,r4:b,r4:b
48752 + *[0-9a-f]*: fc 0e 0a be mulsatrndhh\.h lr,lr:t,lr:t
48753 + *[0-9a-f]*: ec 09 0a 8b mulsatrndhh\.h r11,r6:b,r9:b
48754 + *[0-9a-f]*: e6 08 0a 9b mulsatrndhh\.h r11,r3:b,r8:t
48755 + *[0-9a-f]*: fa 07 0a b5 mulsatrndhh\.h r5,sp:t,r7:t
48757 +[0-9a-f]* <mulsatrndwh_w>:
48758 + *[0-9a-f]*: fe 0f 0b 8f mulsatrndwh\.w pc,pc,pc:b
48759 + *[0-9a-f]*: f8 0c 0b 9c mulsatrndwh\.w r12,r12,r12:t
48760 + *[0-9a-f]*: ea 05 0b 95 mulsatrndwh\.w r5,r5,r5:t
48761 + *[0-9a-f]*: e8 04 0b 84 mulsatrndwh\.w r4,r4,r4:b
48762 + *[0-9a-f]*: fc 0e 0b 9e mulsatrndwh\.w lr,lr,lr:t
48763 + *[0-9a-f]*: f8 00 0b 85 mulsatrndwh\.w r5,r12,r0:b
48764 + *[0-9a-f]*: f4 0f 0b 87 mulsatrndwh\.w r7,r10,pc:b
48765 + *[0-9a-f]*: f0 05 0b 9a mulsatrndwh\.w r10,r8,r5:t
48767 +[0-9a-f]* <macwh_d>:
48768 + *[0-9a-f]*: fe 0f 0c 80 macwh\.d r0,pc,pc:b
48769 + *[0-9a-f]*: f8 0c 0c 9e macwh\.d lr,r12,r12:t
48770 + *[0-9a-f]*: ea 05 0c 98 macwh\.d r8,r5,r5:t
48771 + *[0-9a-f]*: e8 04 0c 86 macwh\.d r6,r4,r4:b
48772 + *[0-9a-f]*: fc 0e 0c 92 macwh\.d r2,lr,lr:t
48773 + *[0-9a-f]*: f4 0c 0c 94 macwh\.d r4,r10,r12:t
48774 + *[0-9a-f]*: ee 0d 0c 84 macwh\.d r4,r7,sp:b
48775 + *[0-9a-f]*: f2 0b 0c 8e macwh\.d lr,r9,r11:b
48777 +[0-9a-f]* <mulwh_d>:
48778 + *[0-9a-f]*: fe 0f 0d 80 mulwh\.d r0,pc,pc:b
48779 + *[0-9a-f]*: f8 0c 0d 9e mulwh\.d lr,r12,r12:t
48780 + *[0-9a-f]*: ea 05 0d 98 mulwh\.d r8,r5,r5:t
48781 + *[0-9a-f]*: e8 04 0d 86 mulwh\.d r6,r4,r4:b
48782 + *[0-9a-f]*: fc 0e 0d 92 mulwh\.d r2,lr,lr:t
48783 + *[0-9a-f]*: ea 01 0d 8c mulwh\.d r12,r5,r1:b
48784 + *[0-9a-f]*: e2 03 0d 90 mulwh\.d r0,r1,r3:t
48785 + *[0-9a-f]*: f2 02 0d 80 mulwh\.d r0,r9,r2:b
48787 +[0-9a-f]* <mulsatwh_w>:
48788 + *[0-9a-f]*: fe 0f 0e 8f mulsatwh\.w pc,pc,pc:b
48789 + *[0-9a-f]*: f8 0c 0e 9c mulsatwh\.w r12,r12,r12:t
48790 + *[0-9a-f]*: ea 05 0e 95 mulsatwh\.w r5,r5,r5:t
48791 + *[0-9a-f]*: e8 04 0e 84 mulsatwh\.w r4,r4,r4:b
48792 + *[0-9a-f]*: fc 0e 0e 9e mulsatwh\.w lr,lr,lr:t
48793 + *[0-9a-f]*: fe 0a 0e 9b mulsatwh\.w r11,pc,r10:t
48794 + *[0-9a-f]*: f8 09 0e 9d mulsatwh\.w sp,r12,r9:t
48795 + *[0-9a-f]*: e6 02 0e 90 mulsatwh\.w r0,r3,r2:t
48798 + *[0-9a-f]*: fe 0f 0f 8f ld\.w pc,pc\[pc:b<<2\]
48799 + *[0-9a-f]*: f8 0c 0f bc ld\.w r12,r12\[r12:t<<2\]
48800 + *[0-9a-f]*: ea 05 0f a5 ld\.w r5,r5\[r5:u<<2\]
48801 + *[0-9a-f]*: e8 04 0f 94 ld\.w r4,r4\[r4:l<<2\]
48802 + *[0-9a-f]*: fc 0e 0f 9e ld\.w lr,lr\[lr:l<<2\]
48803 + *[0-9a-f]*: f4 06 0f 99 ld\.w r9,r10\[r6:l<<2\]
48804 + *[0-9a-f]*: f4 0a 0f 82 ld\.w r2,r10\[r10:b<<2\]
48805 + *[0-9a-f]*: ea 0f 0f 8b ld\.w r11,r5\[pc:b<<2\]
48807 +[0-9a-f]* <satadd_w>:
48808 + *[0-9a-f]*: fe 0f 00 cf satadd\.w pc,pc,pc
48809 + *[0-9a-f]*: f8 0c 00 cc satadd\.w r12,r12,r12
48810 + *[0-9a-f]*: ea 05 00 c5 satadd\.w r5,r5,r5
48811 + *[0-9a-f]*: e8 04 00 c4 satadd\.w r4,r4,r4
48812 + *[0-9a-f]*: fc 0e 00 ce satadd\.w lr,lr,lr
48813 + *[0-9a-f]*: f0 0b 00 c4 satadd\.w r4,r8,r11
48814 + *[0-9a-f]*: f8 06 00 c3 satadd\.w r3,r12,r6
48815 + *[0-9a-f]*: fc 09 00 c3 satadd\.w r3,lr,r9
48817 +[0-9a-f]* <satsub_w1>:
48818 + *[0-9a-f]*: fe 0f 01 cf satsub\.w pc,pc,pc
48819 + *[0-9a-f]*: f8 0c 01 cc satsub\.w r12,r12,r12
48820 + *[0-9a-f]*: ea 05 01 c5 satsub\.w r5,r5,r5
48821 + *[0-9a-f]*: e8 04 01 c4 satsub\.w r4,r4,r4
48822 + *[0-9a-f]*: fc 0e 01 ce satsub\.w lr,lr,lr
48823 + *[0-9a-f]*: fa 00 01 c8 satsub\.w r8,sp,r0
48824 + *[0-9a-f]*: f0 04 01 c9 satsub\.w r9,r8,r4
48825 + *[0-9a-f]*: fc 02 01 cf satsub\.w pc,lr,r2
48827 +[0-9a-f]* <satadd_h>:
48828 + *[0-9a-f]*: fe 0f 02 cf satadd\.h pc,pc,pc
48829 + *[0-9a-f]*: f8 0c 02 cc satadd\.h r12,r12,r12
48830 + *[0-9a-f]*: ea 05 02 c5 satadd\.h r5,r5,r5
48831 + *[0-9a-f]*: e8 04 02 c4 satadd\.h r4,r4,r4
48832 + *[0-9a-f]*: fc 0e 02 ce satadd\.h lr,lr,lr
48833 + *[0-9a-f]*: e6 09 02 c7 satadd\.h r7,r3,r9
48834 + *[0-9a-f]*: e0 02 02 c1 satadd\.h r1,r0,r2
48835 + *[0-9a-f]*: e8 0e 02 c1 satadd\.h r1,r4,lr
48837 +[0-9a-f]* <satsub_h>:
48838 + *[0-9a-f]*: fe 0f 03 cf satsub\.h pc,pc,pc
48839 + *[0-9a-f]*: f8 0c 03 cc satsub\.h r12,r12,r12
48840 + *[0-9a-f]*: ea 05 03 c5 satsub\.h r5,r5,r5
48841 + *[0-9a-f]*: e8 04 03 c4 satsub\.h r4,r4,r4
48842 + *[0-9a-f]*: fc 0e 03 ce satsub\.h lr,lr,lr
48843 + *[0-9a-f]*: fc 03 03 ce satsub\.h lr,lr,r3
48844 + *[0-9a-f]*: ec 05 03 cb satsub\.h r11,r6,r5
48845 + *[0-9a-f]*: fa 00 03 c3 satsub\.h r3,sp,r0
48848 + *[0-9a-f]*: fe 0f 10 00 mul pc,pc,0
48849 + *[0-9a-f]*: f8 0c 10 ff mul r12,r12,-1
48850 + *[0-9a-f]*: ea 05 10 80 mul r5,r5,-128
48851 + *[0-9a-f]*: e8 04 10 7f mul r4,r4,127
48852 + *[0-9a-f]*: fc 0e 10 01 mul lr,lr,1
48853 + *[0-9a-f]*: e4 0c 10 f9 mul r12,r2,-7
48854 + *[0-9a-f]*: fe 01 10 5f mul r1,pc,95
48855 + *[0-9a-f]*: ec 04 10 13 mul r4,r6,19
48857 +[0-9a-f]* <rsub2>:
48858 + *[0-9a-f]*: fe 0f 11 00 rsub pc,pc,0
48859 + *[0-9a-f]*: f8 0c 11 ff rsub r12,r12,-1
48860 + *[0-9a-f]*: ea 05 11 80 rsub r5,r5,-128
48861 + *[0-9a-f]*: e8 04 11 7f rsub r4,r4,127
48862 + *[0-9a-f]*: fc 0e 11 01 rsub lr,lr,1
48863 + *[0-9a-f]*: fc 09 11 60 rsub r9,lr,96
48864 + *[0-9a-f]*: e2 0b 11 38 rsub r11,r1,56
48865 + *[0-9a-f]*: ee 00 11 a9 rsub r0,r7,-87
48868 + *[0-9a-f]*: fe 0f 12 00 clz pc,pc
48869 + *[0-9a-f]*: f8 0c 12 00 clz r12,r12
48870 + *[0-9a-f]*: ea 05 12 00 clz r5,r5
48871 + *[0-9a-f]*: e8 04 12 00 clz r4,r4
48872 + *[0-9a-f]*: fc 0e 12 00 clz lr,lr
48873 + *[0-9a-f]*: e6 02 12 00 clz r2,r3
48874 + *[0-9a-f]*: f6 05 12 00 clz r5,r11
48875 + *[0-9a-f]*: e6 0f 12 00 clz pc,r3
48878 + *[0-9a-f]*: fe 0f 13 00 cpc pc,pc
48879 + *[0-9a-f]*: f8 0c 13 00 cpc r12,r12
48880 + *[0-9a-f]*: ea 05 13 00 cpc r5,r5
48881 + *[0-9a-f]*: e8 04 13 00 cpc r4,r4
48882 + *[0-9a-f]*: fc 0e 13 00 cpc lr,lr
48883 + *[0-9a-f]*: e8 0f 13 00 cpc pc,r4
48884 + *[0-9a-f]*: f2 05 13 00 cpc r5,r9
48885 + *[0-9a-f]*: ee 06 13 00 cpc r6,r7
48888 + *[0-9a-f]*: fe 0f 14 00 asr pc,pc,0x0
48889 + *[0-9a-f]*: f8 0c 14 1f asr r12,r12,0x1f
48890 + *[0-9a-f]*: ea 05 14 10 asr r5,r5,0x10
48891 + *[0-9a-f]*: e8 04 14 0f asr r4,r4,0xf
48892 + *[0-9a-f]*: fc 0e 14 01 asr lr,lr,0x1
48893 + *[0-9a-f]*: f6 04 14 13 asr r4,r11,0x13
48894 + *[0-9a-f]*: fe 0d 14 1a asr sp,pc,0x1a
48895 + *[0-9a-f]*: fa 0b 14 08 asr r11,sp,0x8
48898 + *[0-9a-f]*: fe 0f 15 00 lsl pc,pc,0x0
48899 + *[0-9a-f]*: f8 0c 15 1f lsl r12,r12,0x1f
48900 + *[0-9a-f]*: ea 05 15 10 lsl r5,r5,0x10
48901 + *[0-9a-f]*: e8 04 15 0f lsl r4,r4,0xf
48902 + *[0-9a-f]*: fc 0e 15 01 lsl lr,lr,0x1
48903 + *[0-9a-f]*: f4 08 15 11 lsl r8,r10,0x11
48904 + *[0-9a-f]*: fc 02 15 03 lsl r2,lr,0x3
48905 + *[0-9a-f]*: f6 0e 15 0e lsl lr,r11,0xe
48908 + *[0-9a-f]*: fe 0f 16 00 lsr pc,pc,0x0
48909 + *[0-9a-f]*: f8 0c 16 1f lsr r12,r12,0x1f
48910 + *[0-9a-f]*: ea 05 16 10 lsr r5,r5,0x10
48911 + *[0-9a-f]*: e8 04 16 0f lsr r4,r4,0xf
48912 + *[0-9a-f]*: fc 0e 16 01 lsr lr,lr,0x1
48913 + *[0-9a-f]*: e6 04 16 1f lsr r4,r3,0x1f
48914 + *[0-9a-f]*: f2 0f 16 0e lsr pc,r9,0xe
48915 + *[0-9a-f]*: e0 03 16 06 lsr r3,r0,0x6
48917 +[0-9a-f]* <movc1>:
48918 + *[0-9a-f]*: fe 0f 17 00 moveq pc,pc
48919 + *[0-9a-f]*: f8 0c 17 f0 moval r12,r12
48920 + *[0-9a-f]*: ea 05 17 80 movls r5,r5
48921 + *[0-9a-f]*: e8 04 17 70 movpl r4,r4
48922 + *[0-9a-f]*: fc 0e 17 10 movne lr,lr
48923 + *[0-9a-f]*: f6 0f 17 10 movne pc,r11
48924 + *[0-9a-f]*: e4 0a 17 60 movmi r10,r2
48925 + *[0-9a-f]*: f8 08 17 80 movls r8,r12
48927 +[0-9a-f]* <padd_h>:
48928 + *[0-9a-f]*: fe 0f 20 0f padd\.h pc,pc,pc
48929 + *[0-9a-f]*: f8 0c 20 0c padd\.h r12,r12,r12
48930 + *[0-9a-f]*: ea 05 20 05 padd\.h r5,r5,r5
48931 + *[0-9a-f]*: e8 04 20 04 padd\.h r4,r4,r4
48932 + *[0-9a-f]*: fc 0e 20 0e padd\.h lr,lr,lr
48933 + *[0-9a-f]*: e4 07 20 08 padd\.h r8,r2,r7
48934 + *[0-9a-f]*: e0 03 20 00 padd\.h r0,r0,r3
48935 + *[0-9a-f]*: f6 06 20 0d padd\.h sp,r11,r6
48937 +[0-9a-f]* <psub_h>:
48938 + *[0-9a-f]*: fe 0f 20 1f psub\.h pc,pc,pc
48939 + *[0-9a-f]*: f8 0c 20 1c psub\.h r12,r12,r12
48940 + *[0-9a-f]*: ea 05 20 15 psub\.h r5,r5,r5
48941 + *[0-9a-f]*: e8 04 20 14 psub\.h r4,r4,r4
48942 + *[0-9a-f]*: fc 0e 20 1e psub\.h lr,lr,lr
48943 + *[0-9a-f]*: ec 08 20 1e psub\.h lr,r6,r8
48944 + *[0-9a-f]*: e2 0d 20 10 psub\.h r0,r1,sp
48945 + *[0-9a-f]*: fe 0d 20 1f psub\.h pc,pc,sp
48947 +[0-9a-f]* <paddx_h>:
48948 + *[0-9a-f]*: fe 0f 20 2f paddx\.h pc,pc,pc
48949 + *[0-9a-f]*: f8 0c 20 2c paddx\.h r12,r12,r12
48950 + *[0-9a-f]*: ea 05 20 25 paddx\.h r5,r5,r5
48951 + *[0-9a-f]*: e8 04 20 24 paddx\.h r4,r4,r4
48952 + *[0-9a-f]*: fc 0e 20 2e paddx\.h lr,lr,lr
48953 + *[0-9a-f]*: fe 01 20 2f paddx\.h pc,pc,r1
48954 + *[0-9a-f]*: e8 05 20 2a paddx\.h r10,r4,r5
48955 + *[0-9a-f]*: fe 02 20 25 paddx\.h r5,pc,r2
48957 +[0-9a-f]* <psubx_h>:
48958 + *[0-9a-f]*: fe 0f 20 3f psubx\.h pc,pc,pc
48959 + *[0-9a-f]*: f8 0c 20 3c psubx\.h r12,r12,r12
48960 + *[0-9a-f]*: ea 05 20 35 psubx\.h r5,r5,r5
48961 + *[0-9a-f]*: e8 04 20 34 psubx\.h r4,r4,r4
48962 + *[0-9a-f]*: fc 0e 20 3e psubx\.h lr,lr,lr
48963 + *[0-9a-f]*: f8 05 20 35 psubx\.h r5,r12,r5
48964 + *[0-9a-f]*: f0 03 20 33 psubx\.h r3,r8,r3
48965 + *[0-9a-f]*: e4 03 20 35 psubx\.h r5,r2,r3
48967 +[0-9a-f]* <padds_sh>:
48968 + *[0-9a-f]*: fe 0f 20 4f padds\.sh pc,pc,pc
48969 + *[0-9a-f]*: f8 0c 20 4c padds\.sh r12,r12,r12
48970 + *[0-9a-f]*: ea 05 20 45 padds\.sh r5,r5,r5
48971 + *[0-9a-f]*: e8 04 20 44 padds\.sh r4,r4,r4
48972 + *[0-9a-f]*: fc 0e 20 4e padds\.sh lr,lr,lr
48973 + *[0-9a-f]*: fc 02 20 49 padds\.sh r9,lr,r2
48974 + *[0-9a-f]*: f0 01 20 46 padds\.sh r6,r8,r1
48975 + *[0-9a-f]*: e8 0a 20 46 padds\.sh r6,r4,r10
48977 +[0-9a-f]* <psubs_sh>:
48978 + *[0-9a-f]*: fe 0f 20 5f psubs\.sh pc,pc,pc
48979 + *[0-9a-f]*: f8 0c 20 5c psubs\.sh r12,r12,r12
48980 + *[0-9a-f]*: ea 05 20 55 psubs\.sh r5,r5,r5
48981 + *[0-9a-f]*: e8 04 20 54 psubs\.sh r4,r4,r4
48982 + *[0-9a-f]*: fc 0e 20 5e psubs\.sh lr,lr,lr
48983 + *[0-9a-f]*: fc 0b 20 56 psubs\.sh r6,lr,r11
48984 + *[0-9a-f]*: f8 04 20 52 psubs\.sh r2,r12,r4
48985 + *[0-9a-f]*: f2 00 20 50 psubs\.sh r0,r9,r0
48987 +[0-9a-f]* <paddxs_sh>:
48988 + *[0-9a-f]*: fe 0f 20 6f paddxs\.sh pc,pc,pc
48989 + *[0-9a-f]*: f8 0c 20 6c paddxs\.sh r12,r12,r12
48990 + *[0-9a-f]*: ea 05 20 65 paddxs\.sh r5,r5,r5
48991 + *[0-9a-f]*: e8 04 20 64 paddxs\.sh r4,r4,r4
48992 + *[0-9a-f]*: fc 0e 20 6e paddxs\.sh lr,lr,lr
48993 + *[0-9a-f]*: e6 09 20 60 paddxs\.sh r0,r3,r9
48994 + *[0-9a-f]*: f4 0b 20 6f paddxs\.sh pc,r10,r11
48995 + *[0-9a-f]*: f4 0f 20 6f paddxs\.sh pc,r10,pc
48997 +[0-9a-f]* <psubxs_sh>:
48998 + *[0-9a-f]*: fe 0f 20 7f psubxs\.sh pc,pc,pc
48999 + *[0-9a-f]*: f8 0c 20 7c psubxs\.sh r12,r12,r12
49000 + *[0-9a-f]*: ea 05 20 75 psubxs\.sh r5,r5,r5
49001 + *[0-9a-f]*: e8 04 20 74 psubxs\.sh r4,r4,r4
49002 + *[0-9a-f]*: fc 0e 20 7e psubxs\.sh lr,lr,lr
49003 + *[0-9a-f]*: e8 04 20 77 psubxs\.sh r7,r4,r4
49004 + *[0-9a-f]*: f0 03 20 77 psubxs\.sh r7,r8,r3
49005 + *[0-9a-f]*: ec 05 20 7f psubxs\.sh pc,r6,r5
49007 +[0-9a-f]* <padds_uh>:
49008 + *[0-9a-f]*: fe 0f 20 8f padds\.uh pc,pc,pc
49009 + *[0-9a-f]*: f8 0c 20 8c padds\.uh r12,r12,r12
49010 + *[0-9a-f]*: ea 05 20 85 padds\.uh r5,r5,r5
49011 + *[0-9a-f]*: e8 04 20 84 padds\.uh r4,r4,r4
49012 + *[0-9a-f]*: fc 0e 20 8e padds\.uh lr,lr,lr
49013 + *[0-9a-f]*: f6 07 20 8c padds\.uh r12,r11,r7
49014 + *[0-9a-f]*: f0 0e 20 87 padds\.uh r7,r8,lr
49015 + *[0-9a-f]*: f2 07 20 86 padds\.uh r6,r9,r7
49017 +[0-9a-f]* <psubs_uh>:
49018 + *[0-9a-f]*: fe 0f 20 9f psubs\.uh pc,pc,pc
49019 + *[0-9a-f]*: f8 0c 20 9c psubs\.uh r12,r12,r12
49020 + *[0-9a-f]*: ea 05 20 95 psubs\.uh r5,r5,r5
49021 + *[0-9a-f]*: e8 04 20 94 psubs\.uh r4,r4,r4
49022 + *[0-9a-f]*: fc 0e 20 9e psubs\.uh lr,lr,lr
49023 + *[0-9a-f]*: f4 06 20 9e psubs\.uh lr,r10,r6
49024 + *[0-9a-f]*: e4 0f 20 9d psubs\.uh sp,r2,pc
49025 + *[0-9a-f]*: f2 02 20 92 psubs\.uh r2,r9,r2
49027 +[0-9a-f]* <paddxs_uh>:
49028 + *[0-9a-f]*: fe 0f 20 af paddxs\.uh pc,pc,pc
49029 + *[0-9a-f]*: f8 0c 20 ac paddxs\.uh r12,r12,r12
49030 + *[0-9a-f]*: ea 05 20 a5 paddxs\.uh r5,r5,r5
49031 + *[0-9a-f]*: e8 04 20 a4 paddxs\.uh r4,r4,r4
49032 + *[0-9a-f]*: fc 0e 20 ae paddxs\.uh lr,lr,lr
49033 + *[0-9a-f]*: f2 05 20 a7 paddxs\.uh r7,r9,r5
49034 + *[0-9a-f]*: e2 04 20 a9 paddxs\.uh r9,r1,r4
49035 + *[0-9a-f]*: e4 03 20 a5 paddxs\.uh r5,r2,r3
49037 +[0-9a-f]* <psubxs_uh>:
49038 + *[0-9a-f]*: fe 0f 20 bf psubxs\.uh pc,pc,pc
49039 + *[0-9a-f]*: f8 0c 20 bc psubxs\.uh r12,r12,r12
49040 + *[0-9a-f]*: ea 05 20 b5 psubxs\.uh r5,r5,r5
49041 + *[0-9a-f]*: e8 04 20 b4 psubxs\.uh r4,r4,r4
49042 + *[0-9a-f]*: fc 0e 20 be psubxs\.uh lr,lr,lr
49043 + *[0-9a-f]*: ea 0d 20 bd psubxs\.uh sp,r5,sp
49044 + *[0-9a-f]*: ec 06 20 bd psubxs\.uh sp,r6,r6
49045 + *[0-9a-f]*: f6 08 20 b3 psubxs\.uh r3,r11,r8
49047 +[0-9a-f]* <paddh_sh>:
49048 + *[0-9a-f]*: fe 0f 20 cf paddh\.sh pc,pc,pc
49049 + *[0-9a-f]*: f8 0c 20 cc paddh\.sh r12,r12,r12
49050 + *[0-9a-f]*: ea 05 20 c5 paddh\.sh r5,r5,r5
49051 + *[0-9a-f]*: e8 04 20 c4 paddh\.sh r4,r4,r4
49052 + *[0-9a-f]*: fc 0e 20 ce paddh\.sh lr,lr,lr
49053 + *[0-9a-f]*: fa 03 20 cc paddh\.sh r12,sp,r3
49054 + *[0-9a-f]*: ea 03 20 cf paddh\.sh pc,r5,r3
49055 + *[0-9a-f]*: f0 0d 20 c8 paddh\.sh r8,r8,sp
49057 +[0-9a-f]* <psubh_sh>:
49058 + *[0-9a-f]*: fe 0f 20 df psubh\.sh pc,pc,pc
49059 + *[0-9a-f]*: f8 0c 20 dc psubh\.sh r12,r12,r12
49060 + *[0-9a-f]*: ea 05 20 d5 psubh\.sh r5,r5,r5
49061 + *[0-9a-f]*: e8 04 20 d4 psubh\.sh r4,r4,r4
49062 + *[0-9a-f]*: fc 0e 20 de psubh\.sh lr,lr,lr
49063 + *[0-9a-f]*: ea 08 20 d1 psubh\.sh r1,r5,r8
49064 + *[0-9a-f]*: e6 06 20 d7 psubh\.sh r7,r3,r6
49065 + *[0-9a-f]*: e6 03 20 d4 psubh\.sh r4,r3,r3
49067 +[0-9a-f]* <paddxh_sh>:
49068 + *[0-9a-f]*: fe 0f 20 ef paddxh\.sh pc,pc,pc
49069 + *[0-9a-f]*: f8 0c 20 ec paddxh\.sh r12,r12,r12
49070 + *[0-9a-f]*: ea 05 20 e5 paddxh\.sh r5,r5,r5
49071 + *[0-9a-f]*: e8 04 20 e4 paddxh\.sh r4,r4,r4
49072 + *[0-9a-f]*: fc 0e 20 ee paddxh\.sh lr,lr,lr
49073 + *[0-9a-f]*: e0 04 20 e6 paddxh\.sh r6,r0,r4
49074 + *[0-9a-f]*: f0 09 20 e9 paddxh\.sh r9,r8,r9
49075 + *[0-9a-f]*: e0 0d 20 e3 paddxh\.sh r3,r0,sp
49077 +[0-9a-f]* <psubxh_sh>:
49078 + *[0-9a-f]*: fe 0f 20 ff psubxh\.sh pc,pc,pc
49079 + *[0-9a-f]*: f8 0c 20 fc psubxh\.sh r12,r12,r12
49080 + *[0-9a-f]*: ea 05 20 f5 psubxh\.sh r5,r5,r5
49081 + *[0-9a-f]*: e8 04 20 f4 psubxh\.sh r4,r4,r4
49082 + *[0-9a-f]*: fc 0e 20 fe psubxh\.sh lr,lr,lr
49083 + *[0-9a-f]*: fe 0c 20 f4 psubxh\.sh r4,pc,r12
49084 + *[0-9a-f]*: e8 06 20 f8 psubxh\.sh r8,r4,r6
49085 + *[0-9a-f]*: f2 04 20 fc psubxh\.sh r12,r9,r4
49087 +[0-9a-f]* <paddsub_h>:
49088 + *[0-9a-f]*: fe 0f 21 0f paddsub\.h pc,pc:b,pc:b
49089 + *[0-9a-f]*: f8 0c 21 3c paddsub\.h r12,r12:t,r12:t
49090 + *[0-9a-f]*: ea 05 21 35 paddsub\.h r5,r5:t,r5:t
49091 + *[0-9a-f]*: e8 04 21 04 paddsub\.h r4,r4:b,r4:b
49092 + *[0-9a-f]*: fc 0e 21 3e paddsub\.h lr,lr:t,lr:t
49093 + *[0-9a-f]*: e4 0e 21 25 paddsub\.h r5,r2:t,lr:b
49094 + *[0-9a-f]*: e2 08 21 07 paddsub\.h r7,r1:b,r8:b
49095 + *[0-9a-f]*: f4 05 21 36 paddsub\.h r6,r10:t,r5:t
49097 +[0-9a-f]* <psubadd_h>:
49098 + *[0-9a-f]*: fe 0f 21 4f psubadd\.h pc,pc:b,pc:b
49099 + *[0-9a-f]*: f8 0c 21 7c psubadd\.h r12,r12:t,r12:t
49100 + *[0-9a-f]*: ea 05 21 75 psubadd\.h r5,r5:t,r5:t
49101 + *[0-9a-f]*: e8 04 21 44 psubadd\.h r4,r4:b,r4:b
49102 + *[0-9a-f]*: fc 0e 21 7e psubadd\.h lr,lr:t,lr:t
49103 + *[0-9a-f]*: f6 08 21 79 psubadd\.h r9,r11:t,r8:t
49104 + *[0-9a-f]*: ee 0e 21 7a psubadd\.h r10,r7:t,lr:t
49105 + *[0-9a-f]*: fe 0f 21 66 psubadd\.h r6,pc:t,pc:b
49107 +[0-9a-f]* <paddsubs_sh>:
49108 + *[0-9a-f]*: fe 0f 21 8f paddsubs\.sh pc,pc:b,pc:b
49109 + *[0-9a-f]*: f8 0c 21 bc paddsubs\.sh r12,r12:t,r12:t
49110 + *[0-9a-f]*: ea 05 21 b5 paddsubs\.sh r5,r5:t,r5:t
49111 + *[0-9a-f]*: e8 04 21 84 paddsubs\.sh r4,r4:b,r4:b
49112 + *[0-9a-f]*: fc 0e 21 be paddsubs\.sh lr,lr:t,lr:t
49113 + *[0-9a-f]*: fc 00 21 a0 paddsubs\.sh r0,lr:t,r0:b
49114 + *[0-9a-f]*: e4 04 21 b9 paddsubs\.sh r9,r2:t,r4:t
49115 + *[0-9a-f]*: f2 0d 21 bc paddsubs\.sh r12,r9:t,sp:t
49117 +[0-9a-f]* <psubadds_sh>:
49118 + *[0-9a-f]*: fe 0f 21 cf psubadds\.sh pc,pc:b,pc:b
49119 + *[0-9a-f]*: f8 0c 21 fc psubadds\.sh r12,r12:t,r12:t
49120 + *[0-9a-f]*: ea 05 21 f5 psubadds\.sh r5,r5:t,r5:t
49121 + *[0-9a-f]*: e8 04 21 c4 psubadds\.sh r4,r4:b,r4:b
49122 + *[0-9a-f]*: fc 0e 21 fe psubadds\.sh lr,lr:t,lr:t
49123 + *[0-9a-f]*: fc 01 21 df psubadds\.sh pc,lr:b,r1:t
49124 + *[0-9a-f]*: e6 0c 21 cb psubadds\.sh r11,r3:b,r12:b
49125 + *[0-9a-f]*: e4 08 21 fa psubadds\.sh r10,r2:t,r8:t
49127 +[0-9a-f]* <paddsubs_uh>:
49128 + *[0-9a-f]*: fe 0f 22 0f paddsubs\.uh pc,pc:b,pc:b
49129 + *[0-9a-f]*: f8 0c 22 3c paddsubs\.uh r12,r12:t,r12:t
49130 + *[0-9a-f]*: ea 05 22 35 paddsubs\.uh r5,r5:t,r5:t
49131 + *[0-9a-f]*: e8 04 22 04 paddsubs\.uh r4,r4:b,r4:b
49132 + *[0-9a-f]*: fc 0e 22 3e paddsubs\.uh lr,lr:t,lr:t
49133 + *[0-9a-f]*: e4 03 22 09 paddsubs\.uh r9,r2:b,r3:b
49134 + *[0-9a-f]*: fa 07 22 1d paddsubs\.uh sp,sp:b,r7:t
49135 + *[0-9a-f]*: e0 0a 22 1e paddsubs\.uh lr,r0:b,r10:t
49137 +[0-9a-f]* <psubadds_uh>:
49138 + *[0-9a-f]*: fe 0f 22 4f psubadds\.uh pc,pc:b,pc:b
49139 + *[0-9a-f]*: f8 0c 22 7c psubadds\.uh r12,r12:t,r12:t
49140 + *[0-9a-f]*: ea 05 22 75 psubadds\.uh r5,r5:t,r5:t
49141 + *[0-9a-f]*: e8 04 22 44 psubadds\.uh r4,r4:b,r4:b
49142 + *[0-9a-f]*: fc 0e 22 7e psubadds\.uh lr,lr:t,lr:t
49143 + *[0-9a-f]*: f2 0f 22 7c psubadds\.uh r12,r9:t,pc:t
49144 + *[0-9a-f]*: ec 08 22 48 psubadds\.uh r8,r6:b,r8:b
49145 + *[0-9a-f]*: f0 04 22 48 psubadds\.uh r8,r8:b,r4:b
49147 +[0-9a-f]* <paddsubh_sh>:
49148 + *[0-9a-f]*: fe 0f 22 8f paddsubh\.sh pc,pc:b,pc:b
49149 + *[0-9a-f]*: f8 0c 22 bc paddsubh\.sh r12,r12:t,r12:t
49150 + *[0-9a-f]*: ea 05 22 b5 paddsubh\.sh r5,r5:t,r5:t
49151 + *[0-9a-f]*: e8 04 22 84 paddsubh\.sh r4,r4:b,r4:b
49152 + *[0-9a-f]*: fc 0e 22 be paddsubh\.sh lr,lr:t,lr:t
49153 + *[0-9a-f]*: f2 09 22 a8 paddsubh\.sh r8,r9:t,r9:b
49154 + *[0-9a-f]*: fa 01 22 b0 paddsubh\.sh r0,sp:t,r1:t
49155 + *[0-9a-f]*: e2 00 22 93 paddsubh\.sh r3,r1:b,r0:t
49157 +[0-9a-f]* <psubaddh_sh>:
49158 + *[0-9a-f]*: fe 0f 22 cf psubaddh\.sh pc,pc:b,pc:b
49159 + *[0-9a-f]*: f8 0c 22 fc psubaddh\.sh r12,r12:t,r12:t
49160 + *[0-9a-f]*: ea 05 22 f5 psubaddh\.sh r5,r5:t,r5:t
49161 + *[0-9a-f]*: e8 04 22 c4 psubaddh\.sh r4,r4:b,r4:b
49162 + *[0-9a-f]*: fc 0e 22 fe psubaddh\.sh lr,lr:t,lr:t
49163 + *[0-9a-f]*: e6 0a 22 e7 psubaddh\.sh r7,r3:t,r10:b
49164 + *[0-9a-f]*: e4 01 22 f7 psubaddh\.sh r7,r2:t,r1:t
49165 + *[0-9a-f]*: e6 06 22 cb psubaddh\.sh r11,r3:b,r6:b
49167 +[0-9a-f]* <padd_b>:
49168 + *[0-9a-f]*: fe 0f 23 0f padd\.b pc,pc,pc
49169 + *[0-9a-f]*: f8 0c 23 0c padd\.b r12,r12,r12
49170 + *[0-9a-f]*: ea 05 23 05 padd\.b r5,r5,r5
49171 + *[0-9a-f]*: e8 04 23 04 padd\.b r4,r4,r4
49172 + *[0-9a-f]*: fc 0e 23 0e padd\.b lr,lr,lr
49173 + *[0-9a-f]*: ec 0f 23 02 padd\.b r2,r6,pc
49174 + *[0-9a-f]*: f2 0c 23 08 padd\.b r8,r9,r12
49175 + *[0-9a-f]*: f8 03 23 05 padd\.b r5,r12,r3
49177 +[0-9a-f]* <psub_b>:
49178 + *[0-9a-f]*: fe 0f 23 1f psub\.b pc,pc,pc
49179 + *[0-9a-f]*: f8 0c 23 1c psub\.b r12,r12,r12
49180 + *[0-9a-f]*: ea 05 23 15 psub\.b r5,r5,r5
49181 + *[0-9a-f]*: e8 04 23 14 psub\.b r4,r4,r4
49182 + *[0-9a-f]*: fc 0e 23 1e psub\.b lr,lr,lr
49183 + *[0-9a-f]*: f8 0f 23 10 psub\.b r0,r12,pc
49184 + *[0-9a-f]*: fa 0a 23 17 psub\.b r7,sp,r10
49185 + *[0-9a-f]*: fa 0c 23 15 psub\.b r5,sp,r12
49187 +[0-9a-f]* <padds_sb>:
49188 + *[0-9a-f]*: fe 0f 23 2f padds\.sb pc,pc,pc
49189 + *[0-9a-f]*: f8 0c 23 2c padds\.sb r12,r12,r12
49190 + *[0-9a-f]*: ea 05 23 25 padds\.sb r5,r5,r5
49191 + *[0-9a-f]*: e8 04 23 24 padds\.sb r4,r4,r4
49192 + *[0-9a-f]*: fc 0e 23 2e padds\.sb lr,lr,lr
49193 + *[0-9a-f]*: f6 04 23 2d padds\.sb sp,r11,r4
49194 + *[0-9a-f]*: f4 0b 23 2b padds\.sb r11,r10,r11
49195 + *[0-9a-f]*: f8 06 23 25 padds\.sb r5,r12,r6
49197 +[0-9a-f]* <psubs_sb>:
49198 + *[0-9a-f]*: fe 0f 23 3f psubs\.sb pc,pc,pc
49199 + *[0-9a-f]*: f8 0c 23 3c psubs\.sb r12,r12,r12
49200 + *[0-9a-f]*: ea 05 23 35 psubs\.sb r5,r5,r5
49201 + *[0-9a-f]*: e8 04 23 34 psubs\.sb r4,r4,r4
49202 + *[0-9a-f]*: fc 0e 23 3e psubs\.sb lr,lr,lr
49203 + *[0-9a-f]*: ec 08 23 37 psubs\.sb r7,r6,r8
49204 + *[0-9a-f]*: f4 09 23 3c psubs\.sb r12,r10,r9
49205 + *[0-9a-f]*: f6 00 23 3f psubs\.sb pc,r11,r0
49207 +[0-9a-f]* <padds_ub>:
49208 + *[0-9a-f]*: fe 0f 23 4f padds\.ub pc,pc,pc
49209 + *[0-9a-f]*: f8 0c 23 4c padds\.ub r12,r12,r12
49210 + *[0-9a-f]*: ea 05 23 45 padds\.ub r5,r5,r5
49211 + *[0-9a-f]*: e8 04 23 44 padds\.ub r4,r4,r4
49212 + *[0-9a-f]*: fc 0e 23 4e padds\.ub lr,lr,lr
49213 + *[0-9a-f]*: e4 0b 23 43 padds\.ub r3,r2,r11
49214 + *[0-9a-f]*: f0 01 23 4a padds\.ub r10,r8,r1
49215 + *[0-9a-f]*: f0 0a 23 4b padds\.ub r11,r8,r10
49217 +[0-9a-f]* <psubs_ub>:
49218 + *[0-9a-f]*: fe 0f 23 5f psubs\.ub pc,pc,pc
49219 + *[0-9a-f]*: f8 0c 23 5c psubs\.ub r12,r12,r12
49220 + *[0-9a-f]*: ea 05 23 55 psubs\.ub r5,r5,r5
49221 + *[0-9a-f]*: e8 04 23 54 psubs\.ub r4,r4,r4
49222 + *[0-9a-f]*: fc 0e 23 5e psubs\.ub lr,lr,lr
49223 + *[0-9a-f]*: e4 07 23 50 psubs\.ub r0,r2,r7
49224 + *[0-9a-f]*: ea 03 23 5e psubs\.ub lr,r5,r3
49225 + *[0-9a-f]*: ee 09 23 56 psubs\.ub r6,r7,r9
49227 +[0-9a-f]* <paddh_ub>:
49228 + *[0-9a-f]*: fe 0f 23 6f paddh\.ub pc,pc,pc
49229 + *[0-9a-f]*: f8 0c 23 6c paddh\.ub r12,r12,r12
49230 + *[0-9a-f]*: ea 05 23 65 paddh\.ub r5,r5,r5
49231 + *[0-9a-f]*: e8 04 23 64 paddh\.ub r4,r4,r4
49232 + *[0-9a-f]*: fc 0e 23 6e paddh\.ub lr,lr,lr
49233 + *[0-9a-f]*: e2 00 23 6e paddh\.ub lr,r1,r0
49234 + *[0-9a-f]*: ee 07 23 62 paddh\.ub r2,r7,r7
49235 + *[0-9a-f]*: e2 02 23 62 paddh\.ub r2,r1,r2
49237 +[0-9a-f]* <psubh_ub>:
49238 + *[0-9a-f]*: fe 0f 23 7f psubh\.ub pc,pc,pc
49239 + *[0-9a-f]*: f8 0c 23 7c psubh\.ub r12,r12,r12
49240 + *[0-9a-f]*: ea 05 23 75 psubh\.ub r5,r5,r5
49241 + *[0-9a-f]*: e8 04 23 74 psubh\.ub r4,r4,r4
49242 + *[0-9a-f]*: fc 0e 23 7e psubh\.ub lr,lr,lr
49243 + *[0-9a-f]*: e2 06 23 70 psubh\.ub r0,r1,r6
49244 + *[0-9a-f]*: fc 0a 23 74 psubh\.ub r4,lr,r10
49245 + *[0-9a-f]*: f0 01 23 79 psubh\.ub r9,r8,r1
49247 +[0-9a-f]* <pmax_ub>:
49248 + *[0-9a-f]*: fe 0f 23 8f pmax\.ub pc,pc,pc
49249 + *[0-9a-f]*: f8 0c 23 8c pmax\.ub r12,r12,r12
49250 + *[0-9a-f]*: ea 05 23 85 pmax\.ub r5,r5,r5
49251 + *[0-9a-f]*: e8 04 23 84 pmax\.ub r4,r4,r4
49252 + *[0-9a-f]*: fc 0e 23 8e pmax\.ub lr,lr,lr
49253 + *[0-9a-f]*: e4 0b 23 8f pmax\.ub pc,r2,r11
49254 + *[0-9a-f]*: e2 01 23 8c pmax\.ub r12,r1,r1
49255 + *[0-9a-f]*: e4 00 23 85 pmax\.ub r5,r2,r0
49257 +[0-9a-f]* <pmax_sh>:
49258 + *[0-9a-f]*: fe 0f 23 9f pmax\.sh pc,pc,pc
49259 + *[0-9a-f]*: f8 0c 23 9c pmax\.sh r12,r12,r12
49260 + *[0-9a-f]*: ea 05 23 95 pmax\.sh r5,r5,r5
49261 + *[0-9a-f]*: e8 04 23 94 pmax\.sh r4,r4,r4
49262 + *[0-9a-f]*: fc 0e 23 9e pmax\.sh lr,lr,lr
49263 + *[0-9a-f]*: ec 0c 23 9e pmax\.sh lr,r6,r12
49264 + *[0-9a-f]*: fe 05 23 92 pmax\.sh r2,pc,r5
49265 + *[0-9a-f]*: e4 07 23 9f pmax\.sh pc,r2,r7
49267 +[0-9a-f]* <pmin_ub>:
49268 + *[0-9a-f]*: fe 0f 23 af pmin\.ub pc,pc,pc
49269 + *[0-9a-f]*: f8 0c 23 ac pmin\.ub r12,r12,r12
49270 + *[0-9a-f]*: ea 05 23 a5 pmin\.ub r5,r5,r5
49271 + *[0-9a-f]*: e8 04 23 a4 pmin\.ub r4,r4,r4
49272 + *[0-9a-f]*: fc 0e 23 ae pmin\.ub lr,lr,lr
49273 + *[0-9a-f]*: e2 05 23 a8 pmin\.ub r8,r1,r5
49274 + *[0-9a-f]*: f0 03 23 a1 pmin\.ub r1,r8,r3
49275 + *[0-9a-f]*: e4 07 23 a0 pmin\.ub r0,r2,r7
49277 +[0-9a-f]* <pmin_sh>:
49278 + *[0-9a-f]*: fe 0f 23 bf pmin\.sh pc,pc,pc
49279 + *[0-9a-f]*: f8 0c 23 bc pmin\.sh r12,r12,r12
49280 + *[0-9a-f]*: ea 05 23 b5 pmin\.sh r5,r5,r5
49281 + *[0-9a-f]*: e8 04 23 b4 pmin\.sh r4,r4,r4
49282 + *[0-9a-f]*: fc 0e 23 be pmin\.sh lr,lr,lr
49283 + *[0-9a-f]*: e8 0a 23 b8 pmin\.sh r8,r4,r10
49284 + *[0-9a-f]*: f4 0c 23 be pmin\.sh lr,r10,r12
49285 + *[0-9a-f]*: ec 02 23 b2 pmin\.sh r2,r6,r2
49287 +[0-9a-f]* <pavg_ub>:
49288 + *[0-9a-f]*: fe 0f 23 cf pavg\.ub pc,pc,pc
49289 + *[0-9a-f]*: f8 0c 23 cc pavg\.ub r12,r12,r12
49290 + *[0-9a-f]*: ea 05 23 c5 pavg\.ub r5,r5,r5
49291 + *[0-9a-f]*: e8 04 23 c4 pavg\.ub r4,r4,r4
49292 + *[0-9a-f]*: fc 0e 23 ce pavg\.ub lr,lr,lr
49293 + *[0-9a-f]*: e2 06 23 c0 pavg\.ub r0,r1,r6
49294 + *[0-9a-f]*: e6 06 23 c8 pavg\.ub r8,r3,r6
49295 + *[0-9a-f]*: f8 0a 23 cf pavg\.ub pc,r12,r10
49297 +[0-9a-f]* <pavg_sh>:
49298 + *[0-9a-f]*: fe 0f 23 df pavg\.sh pc,pc,pc
49299 + *[0-9a-f]*: f8 0c 23 dc pavg\.sh r12,r12,r12
49300 + *[0-9a-f]*: ea 05 23 d5 pavg\.sh r5,r5,r5
49301 + *[0-9a-f]*: e8 04 23 d4 pavg\.sh r4,r4,r4
49302 + *[0-9a-f]*: fc 0e 23 de pavg\.sh lr,lr,lr
49303 + *[0-9a-f]*: fe 0d 23 d9 pavg\.sh r9,pc,sp
49304 + *[0-9a-f]*: fa 03 23 df pavg\.sh pc,sp,r3
49305 + *[0-9a-f]*: e2 09 23 d6 pavg\.sh r6,r1,r9
49307 +[0-9a-f]* <pabs_sb>:
49308 + *[0-9a-f]*: e0 0f 23 ef pabs\.sb pc,pc
49309 + *[0-9a-f]*: e0 0c 23 ec pabs\.sb r12,r12
49310 + *[0-9a-f]*: e0 05 23 e5 pabs\.sb r5,r5
49311 + *[0-9a-f]*: e0 04 23 e4 pabs\.sb r4,r4
49312 + *[0-9a-f]*: e0 0e 23 ee pabs\.sb lr,lr
49313 + *[0-9a-f]*: e0 06 23 eb pabs\.sb r11,r6
49314 + *[0-9a-f]*: e0 09 23 ee pabs\.sb lr,r9
49315 + *[0-9a-f]*: e0 07 23 ed pabs\.sb sp,r7
49317 +[0-9a-f]* <pabs_sh>:
49318 + *[0-9a-f]*: e0 0f 23 ff pabs\.sh pc,pc
49319 + *[0-9a-f]*: e0 0c 23 fc pabs\.sh r12,r12
49320 + *[0-9a-f]*: e0 05 23 f5 pabs\.sh r5,r5
49321 + *[0-9a-f]*: e0 04 23 f4 pabs\.sh r4,r4
49322 + *[0-9a-f]*: e0 0e 23 fe pabs\.sh lr,lr
49323 + *[0-9a-f]*: e0 03 23 ff pabs\.sh pc,r3
49324 + *[0-9a-f]*: e0 07 23 f5 pabs\.sh r5,r7
49325 + *[0-9a-f]*: e0 00 23 f4 pabs\.sh r4,r0
49328 + *[0-9a-f]*: fe 0f 24 0f psad pc,pc,pc
49329 + *[0-9a-f]*: f8 0c 24 0c psad r12,r12,r12
49330 + *[0-9a-f]*: ea 05 24 05 psad r5,r5,r5
49331 + *[0-9a-f]*: e8 04 24 04 psad r4,r4,r4
49332 + *[0-9a-f]*: fc 0e 24 0e psad lr,lr,lr
49333 + *[0-9a-f]*: f6 0b 24 09 psad r9,r11,r11
49334 + *[0-9a-f]*: e8 0d 24 0e psad lr,r4,sp
49335 + *[0-9a-f]*: e8 05 24 0e psad lr,r4,r5
49337 +[0-9a-f]* <pasr_b>:
49338 + *[0-9a-f]*: fe 00 24 1f pasr\.b pc,pc,0x0
49339 + *[0-9a-f]*: f8 07 24 1c pasr\.b r12,r12,0x7
49340 + *[0-9a-f]*: ea 04 24 15 pasr\.b r5,r5,0x4
49341 + *[0-9a-f]*: e8 03 24 14 pasr\.b r4,r4,0x3
49342 + *[0-9a-f]*: fc 01 24 1e pasr\.b lr,lr,0x1
49343 + *[0-9a-f]*: ee 01 24 1f pasr\.b pc,r7,0x1
49344 + *[0-9a-f]*: fc 06 24 1d pasr\.b sp,lr,0x6
49345 + *[0-9a-f]*: e6 02 24 1d pasr\.b sp,r3,0x2
49347 +[0-9a-f]* <plsl_b>:
49348 + *[0-9a-f]*: fe 00 24 2f plsl\.b pc,pc,0x0
49349 + *[0-9a-f]*: f8 07 24 2c plsl\.b r12,r12,0x7
49350 + *[0-9a-f]*: ea 04 24 25 plsl\.b r5,r5,0x4
49351 + *[0-9a-f]*: e8 03 24 24 plsl\.b r4,r4,0x3
49352 + *[0-9a-f]*: fc 01 24 2e plsl\.b lr,lr,0x1
49353 + *[0-9a-f]*: f6 04 24 22 plsl\.b r2,r11,0x4
49354 + *[0-9a-f]*: ea 07 24 28 plsl\.b r8,r5,0x7
49355 + *[0-9a-f]*: e0 02 24 2f plsl\.b pc,r0,0x2
49357 +[0-9a-f]* <plsr_b>:
49358 + *[0-9a-f]*: fe 00 24 3f plsr\.b pc,pc,0x0
49359 + *[0-9a-f]*: f8 07 24 3c plsr\.b r12,r12,0x7
49360 + *[0-9a-f]*: ea 04 24 35 plsr\.b r5,r5,0x4
49361 + *[0-9a-f]*: e8 03 24 34 plsr\.b r4,r4,0x3
49362 + *[0-9a-f]*: fc 01 24 3e plsr\.b lr,lr,0x1
49363 + *[0-9a-f]*: e2 02 24 3c plsr\.b r12,r1,0x2
49364 + *[0-9a-f]*: fe 07 24 36 plsr\.b r6,pc,0x7
49365 + *[0-9a-f]*: f6 02 24 3c plsr\.b r12,r11,0x2
49367 +[0-9a-f]* <pasr_h>:
49368 + *[0-9a-f]*: fe 00 24 4f pasr\.h pc,pc,0x0
49369 + *[0-9a-f]*: f8 0f 24 4c pasr\.h r12,r12,0xf
49370 + *[0-9a-f]*: ea 08 24 45 pasr\.h r5,r5,0x8
49371 + *[0-9a-f]*: e8 07 24 44 pasr\.h r4,r4,0x7
49372 + *[0-9a-f]*: fc 01 24 4e pasr\.h lr,lr,0x1
49373 + *[0-9a-f]*: f6 0a 24 40 pasr\.h r0,r11,0xa
49374 + *[0-9a-f]*: ec 08 24 44 pasr\.h r4,r6,0x8
49375 + *[0-9a-f]*: e4 04 24 46 pasr\.h r6,r2,0x4
49377 +[0-9a-f]* <plsl_h>:
49378 + *[0-9a-f]*: fe 00 24 5f plsl\.h pc,pc,0x0
49379 + *[0-9a-f]*: f8 0f 24 5c plsl\.h r12,r12,0xf
49380 + *[0-9a-f]*: ea 08 24 55 plsl\.h r5,r5,0x8
49381 + *[0-9a-f]*: e8 07 24 54 plsl\.h r4,r4,0x7
49382 + *[0-9a-f]*: fc 01 24 5e plsl\.h lr,lr,0x1
49383 + *[0-9a-f]*: f4 09 24 55 plsl\.h r5,r10,0x9
49384 + *[0-9a-f]*: fc 08 24 5d plsl\.h sp,lr,0x8
49385 + *[0-9a-f]*: fc 07 24 50 plsl\.h r0,lr,0x7
49387 +[0-9a-f]* <plsr_h>:
49388 + *[0-9a-f]*: fe 00 24 6f plsr\.h pc,pc,0x0
49389 + *[0-9a-f]*: f8 0f 24 6c plsr\.h r12,r12,0xf
49390 + *[0-9a-f]*: ea 08 24 65 plsr\.h r5,r5,0x8
49391 + *[0-9a-f]*: e8 07 24 64 plsr\.h r4,r4,0x7
49392 + *[0-9a-f]*: fc 01 24 6e plsr\.h lr,lr,0x1
49393 + *[0-9a-f]*: e0 0f 24 6b plsr\.h r11,r0,0xf
49394 + *[0-9a-f]*: e6 03 24 6e plsr\.h lr,r3,0x3
49395 + *[0-9a-f]*: fc 0a 24 68 plsr\.h r8,lr,0xa
49397 +[0-9a-f]* <packw_sh>:
49398 + *[0-9a-f]*: fe 0f 24 7f packw\.sh pc,pc,pc
49399 + *[0-9a-f]*: f8 0c 24 7c packw\.sh r12,r12,r12
49400 + *[0-9a-f]*: ea 05 24 75 packw\.sh r5,r5,r5
49401 + *[0-9a-f]*: e8 04 24 74 packw\.sh r4,r4,r4
49402 + *[0-9a-f]*: fc 0e 24 7e packw\.sh lr,lr,lr
49403 + *[0-9a-f]*: f6 0a 24 7d packw\.sh sp,r11,r10
49404 + *[0-9a-f]*: e4 0c 24 78 packw\.sh r8,r2,r12
49405 + *[0-9a-f]*: e2 05 24 78 packw\.sh r8,r1,r5
49407 +[0-9a-f]* <punpckub_h>:
49408 + *[0-9a-f]*: fe 00 24 8f punpckub\.h pc,pc:b
49409 + *[0-9a-f]*: f8 00 24 9c punpckub\.h r12,r12:t
49410 + *[0-9a-f]*: ea 00 24 95 punpckub\.h r5,r5:t
49411 + *[0-9a-f]*: e8 00 24 84 punpckub\.h r4,r4:b
49412 + *[0-9a-f]*: fc 00 24 9e punpckub\.h lr,lr:t
49413 + *[0-9a-f]*: e2 00 24 96 punpckub\.h r6,r1:t
49414 + *[0-9a-f]*: ea 00 24 8e punpckub\.h lr,r5:b
49415 + *[0-9a-f]*: e4 00 24 9e punpckub\.h lr,r2:t
49417 +[0-9a-f]* <punpcksb_h>:
49418 + *[0-9a-f]*: fe 00 24 af punpcksb\.h pc,pc:b
49419 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
49420 + *[0-9a-f]*: ea 00 24 b5 punpcksb\.h r5,r5:t
49421 + *[0-9a-f]*: e8 00 24 a4 punpcksb\.h r4,r4:b
49422 + *[0-9a-f]*: fc 00 24 be punpcksb\.h lr,lr:t
49423 + *[0-9a-f]*: ee 00 24 b4 punpcksb\.h r4,r7:t
49424 + *[0-9a-f]*: fc 00 24 a6 punpcksb\.h r6,lr:b
49425 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
49427 +[0-9a-f]* <packsh_ub>:
49428 + *[0-9a-f]*: fe 0f 24 cf packsh\.ub pc,pc,pc
49429 + *[0-9a-f]*: f8 0c 24 cc packsh\.ub r12,r12,r12
49430 + *[0-9a-f]*: ea 05 24 c5 packsh\.ub r5,r5,r5
49431 + *[0-9a-f]*: e8 04 24 c4 packsh\.ub r4,r4,r4
49432 + *[0-9a-f]*: fc 0e 24 ce packsh\.ub lr,lr,lr
49433 + *[0-9a-f]*: ec 03 24 c3 packsh\.ub r3,r6,r3
49434 + *[0-9a-f]*: e0 03 24 c8 packsh\.ub r8,r0,r3
49435 + *[0-9a-f]*: e6 0e 24 c9 packsh\.ub r9,r3,lr
49437 +[0-9a-f]* <packsh_sb>:
49438 + *[0-9a-f]*: fe 0f 24 df packsh\.sb pc,pc,pc
49439 + *[0-9a-f]*: f8 0c 24 dc packsh\.sb r12,r12,r12
49440 + *[0-9a-f]*: ea 05 24 d5 packsh\.sb r5,r5,r5
49441 + *[0-9a-f]*: e8 04 24 d4 packsh\.sb r4,r4,r4
49442 + *[0-9a-f]*: fc 0e 24 de packsh\.sb lr,lr,lr
49443 + *[0-9a-f]*: f0 01 24 d6 packsh\.sb r6,r8,r1
49444 + *[0-9a-f]*: f2 08 24 de packsh\.sb lr,r9,r8
49445 + *[0-9a-f]*: ec 06 24 dd packsh\.sb sp,r6,r6
49448 + *[0-9a-f]*: e0 1f 00 00 andl pc,0x0
49449 + *[0-9a-f]*: e0 1c ff ff andl r12,0xffff
49450 + *[0-9a-f]*: e0 15 80 00 andl r5,0x8000
49451 + *[0-9a-f]*: e0 14 7f ff andl r4,0x7fff
49452 + *[0-9a-f]*: e0 1e 00 01 andl lr,0x1
49453 + *[0-9a-f]*: e0 1f 5a 58 andl pc,0x5a58
49454 + *[0-9a-f]*: e0 18 b8 9e andl r8,0xb89e
49455 + *[0-9a-f]*: e0 17 35 97 andl r7,0x3597
49457 +[0-9a-f]* <andl_coh>:
49458 + *[0-9a-f]*: e2 1f 00 00 andl pc,0x0,COH
49459 + *[0-9a-f]*: e2 1c ff ff andl r12,0xffff,COH
49460 + *[0-9a-f]*: e2 15 80 00 andl r5,0x8000,COH
49461 + *[0-9a-f]*: e2 14 7f ff andl r4,0x7fff,COH
49462 + *[0-9a-f]*: e2 1e 00 01 andl lr,0x1,COH
49463 + *[0-9a-f]*: e2 16 58 e1 andl r6,0x58e1,COH
49464 + *[0-9a-f]*: e2 10 9e cd andl r0,0x9ecd,COH
49465 + *[0-9a-f]*: e2 14 bd c4 andl r4,0xbdc4,COH
49468 + *[0-9a-f]*: e4 1f 00 00 andh pc,0x0
49469 + *[0-9a-f]*: e4 1c ff ff andh r12,0xffff
49470 + *[0-9a-f]*: e4 15 80 00 andh r5,0x8000
49471 + *[0-9a-f]*: e4 14 7f ff andh r4,0x7fff
49472 + *[0-9a-f]*: e4 1e 00 01 andh lr,0x1
49473 + *[0-9a-f]*: e4 1c cc 58 andh r12,0xcc58
49474 + *[0-9a-f]*: e4 13 21 e3 andh r3,0x21e3
49475 + *[0-9a-f]*: e4 12 a7 eb andh r2,0xa7eb
49477 +[0-9a-f]* <andh_coh>:
49478 + *[0-9a-f]*: e6 1f 00 00 andh pc,0x0,COH
49479 + *[0-9a-f]*: e6 1c ff ff andh r12,0xffff,COH
49480 + *[0-9a-f]*: e6 15 80 00 andh r5,0x8000,COH
49481 + *[0-9a-f]*: e6 14 7f ff andh r4,0x7fff,COH
49482 + *[0-9a-f]*: e6 1e 00 01 andh lr,0x1,COH
49483 + *[0-9a-f]*: e6 1b 86 0d andh r11,0x860d,COH
49484 + *[0-9a-f]*: e6 18 ce f6 andh r8,0xcef6,COH
49485 + *[0-9a-f]*: e6 1a 5c 83 andh r10,0x5c83,COH
49488 + *[0-9a-f]*: e8 1f 00 00 orl pc,0x0
49489 + *[0-9a-f]*: e8 1c ff ff orl r12,0xffff
49490 + *[0-9a-f]*: e8 15 80 00 orl r5,0x8000
49491 + *[0-9a-f]*: e8 14 7f ff orl r4,0x7fff
49492 + *[0-9a-f]*: e8 1e 00 01 orl lr,0x1
49493 + *[0-9a-f]*: e8 1d 41 7e orl sp,0x417e
49494 + *[0-9a-f]*: e8 10 52 bd orl r0,0x52bd
49495 + *[0-9a-f]*: e8 1f ac 47 orl pc,0xac47
49498 + *[0-9a-f]*: ea 1f 00 00 orh pc,0x0
49499 + *[0-9a-f]*: ea 1c ff ff orh r12,0xffff
49500 + *[0-9a-f]*: ea 15 80 00 orh r5,0x8000
49501 + *[0-9a-f]*: ea 14 7f ff orh r4,0x7fff
49502 + *[0-9a-f]*: ea 1e 00 01 orh lr,0x1
49503 + *[0-9a-f]*: ea 18 6e 7d orh r8,0x6e7d
49504 + *[0-9a-f]*: ea 1c 77 1c orh r12,0x771c
49505 + *[0-9a-f]*: ea 11 ea 1a orh r1,0xea1a
49508 + *[0-9a-f]*: ec 1f 00 00 eorl pc,0x0
49509 + *[0-9a-f]*: ec 1c ff ff eorl r12,0xffff
49510 + *[0-9a-f]*: ec 15 80 00 eorl r5,0x8000
49511 + *[0-9a-f]*: ec 14 7f ff eorl r4,0x7fff
49512 + *[0-9a-f]*: ec 1e 00 01 eorl lr,0x1
49513 + *[0-9a-f]*: ec 14 c7 b9 eorl r4,0xc7b9
49514 + *[0-9a-f]*: ec 16 fb dd eorl r6,0xfbdd
49515 + *[0-9a-f]*: ec 11 51 b1 eorl r1,0x51b1
49518 + *[0-9a-f]*: ee 1f 00 00 eorh pc,0x0
49519 + *[0-9a-f]*: ee 1c ff ff eorh r12,0xffff
49520 + *[0-9a-f]*: ee 15 80 00 eorh r5,0x8000
49521 + *[0-9a-f]*: ee 14 7f ff eorh r4,0x7fff
49522 + *[0-9a-f]*: ee 1e 00 01 eorh lr,0x1
49523 + *[0-9a-f]*: ee 10 2d d4 eorh r0,0x2dd4
49524 + *[0-9a-f]*: ee 1a 94 b5 eorh r10,0x94b5
49525 + *[0-9a-f]*: ee 19 df 2a eorh r9,0xdf2a
49527 +[0-9a-f]* <mcall>:
49528 + *[0-9a-f]*: f0 1f 00 00 mcall [0-9a-f]* <.*>
49529 + *[0-9a-f]*: f0 1c ff ff mcall r12\[-4\]
49530 + *[0-9a-f]*: f0 15 80 00 mcall r5\[-131072\]
49531 + *[0-9a-f]*: f0 14 7f ff mcall r4\[131068\]
49532 + *[0-9a-f]*: f0 1e 00 01 mcall lr\[4\]
49533 + *[0-9a-f]*: f0 1d 3b bf mcall sp\[61180\]
49534 + *[0-9a-f]*: f0 14 dd d2 mcall r4\[-35000\]
49535 + *[0-9a-f]*: f0 10 09 b1 mcall r0\[9924\]
49538 + *[0-9a-f]*: f2 1f 00 00 pref pc\[0\]
49539 + *[0-9a-f]*: f2 1c ff ff pref r12\[-1\]
49540 + *[0-9a-f]*: f2 15 80 00 pref r5\[-32768\]
49541 + *[0-9a-f]*: f2 14 7f ff pref r4\[32767\]
49542 + *[0-9a-f]*: f2 1e 00 01 pref lr\[1\]
49543 + *[0-9a-f]*: f2 17 1e 44 pref r7\[7748\]
49544 + *[0-9a-f]*: f2 17 e1 ed pref r7\[-7699\]
49545 + *[0-9a-f]*: f2 12 9a dc pref r2\[-25892\]
49547 +[0-9a-f]* <cache>:
49548 + *[0-9a-f]*: f4 1f 00 00 cache pc\[0\],0x0
49549 + *[0-9a-f]*: f4 1c ff ff cache r12\[-1\],0x1f
49550 + *[0-9a-f]*: f4 15 84 00 cache r5\[-1024\],0x10
49551 + *[0-9a-f]*: f4 14 7b ff cache r4\[1023\],0xf
49552 + *[0-9a-f]*: f4 1e 08 01 cache lr\[1\],0x1
49553 + *[0-9a-f]*: f4 13 8c 3c cache r3\[-964\],0x11
49554 + *[0-9a-f]*: f4 14 b6 89 cache r4\[-375\],0x16
49555 + *[0-9a-f]*: f4 13 8c 88 cache r3\[-888\],0x11
49558 + *[0-9a-f]*: 20 0f sub pc,0
49559 + *[0-9a-f]*: 2f fc sub r12,-1
49560 + *[0-9a-f]*: f0 25 00 00 sub r5,-1048576
49561 + *[0-9a-f]*: ee 34 ff ff sub r4,1048575
49562 + *[0-9a-f]*: 20 1e sub lr,1
49563 + *[0-9a-f]*: f6 22 8d 6c sub r2,-619156
49564 + *[0-9a-f]*: e6 3e 0a cd sub lr,461517
49565 + *[0-9a-f]*: fc 38 2d 25 sub r8,-185051
49568 + *[0-9a-f]*: 58 0f cp.w pc,0
49569 + *[0-9a-f]*: 5b fc cp.w r12,-1
49570 + *[0-9a-f]*: f0 45 00 00 cp.w r5,-1048576
49571 + *[0-9a-f]*: ee 54 ff ff cp.w r4,1048575
49572 + *[0-9a-f]*: 58 1e cp.w lr,1
49573 + *[0-9a-f]*: e0 51 e4 ae cp.w r1,124078
49574 + *[0-9a-f]*: fa 40 37 e3 cp.w r0,-378909
49575 + *[0-9a-f]*: fc 44 4a 14 cp.w r4,-243180
49578 + *[0-9a-f]*: 30 0f mov pc,0
49579 + *[0-9a-f]*: 3f fc mov r12,-1
49580 + *[0-9a-f]*: f0 65 00 00 mov r5,-1048576
49581 + *[0-9a-f]*: ee 74 ff ff mov r4,1048575
49582 + *[0-9a-f]*: 30 1e mov lr,1
49583 + *[0-9a-f]*: fa 75 29 a3 mov r5,-317021
49584 + *[0-9a-f]*: f4 6d 91 94 mov sp,-749164
49585 + *[0-9a-f]*: ee 65 58 93 mov r5,940179
49588 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
49589 + *[0-9a-f]*: fe 9f ff ff bral [0-9a-f]* <.*>
49590 + *[0-9a-f]*: f0 88 00 00 brls [0-9a-f]* <.*>
49591 + *[0-9a-f]*: ee 97 ff ff brpl [0-9a-f]* <.*>
49592 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
49593 + *[0-9a-f]*: f2 8b 4a 4d brhi [0-9a-f]* <.*>
49594 + *[0-9a-f]*: ea 8e 14 cc brqs [0-9a-f]* <.*>
49595 + *[0-9a-f]*: fa 98 98 33 brls [0-9a-f]* <.*>
49597 +[0-9a-f]* <rcall2>:
49598 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
49599 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
49600 + *[0-9a-f]*: f0 a0 00 00 rcall [0-9a-f]* <.*>
49601 + *[0-9a-f]*: ee b0 ff ff rcall [0-9a-f]* <.*>
49602 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
49603 + *[0-9a-f]*: e2 b0 ca 5a rcall [0-9a-f]* <.*>
49604 + *[0-9a-f]*: e8 a0 47 52 rcall [0-9a-f]* <.*>
49605 + *[0-9a-f]*: fe b0 fd ef rcall [0-9a-f]* <.*>
49608 + *[0-9a-f]*: fe cf 00 00 sub pc,pc,0
49609 + *[0-9a-f]*: f8 cc ff ff sub r12,r12,-1
49610 + *[0-9a-f]*: ea c5 80 00 sub r5,r5,-32768
49611 + *[0-9a-f]*: e8 c4 7f ff sub r4,r4,32767
49612 + *[0-9a-f]*: fc ce 00 01 sub lr,lr,1
49613 + *[0-9a-f]*: fe cf ce 38 sub pc,pc,-12744
49614 + *[0-9a-f]*: ee c7 95 1b sub r7,r7,-27365
49615 + *[0-9a-f]*: f2 c2 bc 32 sub r2,r9,-17358
49617 +[0-9a-f]* <satsub_w2>:
49618 + *[0-9a-f]*: fe df 00 00 satsub\.w pc,pc,0
49619 + *[0-9a-f]*: f8 dc ff ff satsub\.w r12,r12,-1
49620 + *[0-9a-f]*: ea d5 80 00 satsub\.w r5,r5,-32768
49621 + *[0-9a-f]*: e8 d4 7f ff satsub\.w r4,r4,32767
49622 + *[0-9a-f]*: fc de 00 01 satsub\.w lr,lr,1
49623 + *[0-9a-f]*: fc d2 f8 29 satsub\.w r2,lr,-2007
49624 + *[0-9a-f]*: f8 d7 fc f0 satsub\.w r7,r12,-784
49625 + *[0-9a-f]*: ee d4 5a 8c satsub\.w r4,r7,23180
49627 +[0-9a-f]* <ld_d4>:
49628 + *[0-9a-f]*: fe e0 00 00 ld\.d r0,pc\[0\]
49629 + *[0-9a-f]*: f8 ee ff ff ld\.d lr,r12\[-1\]
49630 + *[0-9a-f]*: ea e8 80 00 ld\.d r8,r5\[-32768\]
49631 + *[0-9a-f]*: e8 e6 7f ff ld\.d r6,r4\[32767\]
49632 + *[0-9a-f]*: fc e2 00 01 ld\.d r2,lr\[1\]
49633 + *[0-9a-f]*: f6 ee 39 c0 ld\.d lr,r11\[14784\]
49634 + *[0-9a-f]*: f2 e6 b6 27 ld\.d r6,r9\[-18905\]
49635 + *[0-9a-f]*: e6 e2 e7 2d ld\.d r2,r3\[-6355\]
49637 +[0-9a-f]* <ld_w4>:
49638 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
49639 + *[0-9a-f]*: f8 fc ff ff ld\.w r12,r12\[-1\]
49640 + *[0-9a-f]*: ea f5 80 00 ld\.w r5,r5\[-32768\]
49641 + *[0-9a-f]*: e8 f4 7f ff ld\.w r4,r4\[32767\]
49642 + *[0-9a-f]*: fc fe 00 01 ld\.w lr,lr\[1\]
49643 + *[0-9a-f]*: f8 f0 a9 8b ld\.w r0,r12\[-22133\]
49644 + *[0-9a-f]*: fe fd af d7 ld\.w sp,pc\[-20521\]
49645 + *[0-9a-f]*: d7 03 nop
49647 +[0-9a-f]* <ld_sh4>:
49648 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
49649 + *[0-9a-f]*: f9 0c ff ff ld\.sh r12,r12\[-1\]
49650 + *[0-9a-f]*: eb 05 80 00 ld\.sh r5,r5\[-32768\]
49651 + *[0-9a-f]*: e9 04 7f ff ld\.sh r4,r4\[32767\]
49652 + *[0-9a-f]*: fd 0e 00 01 ld\.sh lr,lr\[1\]
49653 + *[0-9a-f]*: f5 06 78 d2 ld\.sh r6,r10\[30930\]
49654 + *[0-9a-f]*: f5 06 55 d5 ld\.sh r6,r10\[21973\]
49655 + *[0-9a-f]*: d7 03 nop
49657 +[0-9a-f]* <ld_uh4>:
49658 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
49659 + *[0-9a-f]*: f9 1c ff ff ld\.uh r12,r12\[-1\]
49660 + *[0-9a-f]*: eb 15 80 00 ld\.uh r5,r5\[-32768\]
49661 + *[0-9a-f]*: e9 14 7f ff ld\.uh r4,r4\[32767\]
49662 + *[0-9a-f]*: fd 1e 00 01 ld\.uh lr,lr\[1\]
49663 + *[0-9a-f]*: f3 11 cb d6 ld\.uh r1,r9\[-13354\]
49664 + *[0-9a-f]*: f7 1e 53 59 ld\.uh lr,r11\[21337\]
49665 + *[0-9a-f]*: d7 03 nop
49667 +[0-9a-f]* <ld_sb1>:
49668 + *[0-9a-f]*: ff 2f 00 00 ld\.sb pc,pc\[0\]
49669 + *[0-9a-f]*: f9 2c ff ff ld\.sb r12,r12\[-1\]
49670 + *[0-9a-f]*: eb 25 80 00 ld\.sb r5,r5\[-32768\]
49671 + *[0-9a-f]*: e9 24 7f ff ld\.sb r4,r4\[32767\]
49672 + *[0-9a-f]*: fd 2e 00 01 ld\.sb lr,lr\[1\]
49673 + *[0-9a-f]*: fb 27 90 09 ld\.sb r7,sp\[-28663\]
49674 + *[0-9a-f]*: e3 22 e9 09 ld\.sb r2,r1\[-5879\]
49675 + *[0-9a-f]*: e7 2c 49 2e ld\.sb r12,r3\[18734\]
49677 +[0-9a-f]* <ld_ub4>:
49678 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
49679 + *[0-9a-f]*: f9 3c ff ff ld\.ub r12,r12\[-1\]
49680 + *[0-9a-f]*: eb 35 80 00 ld\.ub r5,r5\[-32768\]
49681 + *[0-9a-f]*: e9 34 7f ff ld\.ub r4,r4\[32767\]
49682 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
49683 + *[0-9a-f]*: e9 3f 20 55 ld\.ub pc,r4\[8277\]
49684 + *[0-9a-f]*: f9 35 4a e4 ld\.ub r5,r12\[19172\]
49685 + *[0-9a-f]*: fd 3a 66 eb ld\.ub r10,lr\[26347\]
49687 +[0-9a-f]* <st_d4>:
49688 + *[0-9a-f]*: fe e1 00 00 st\.d pc\[0\],r0
49689 + *[0-9a-f]*: f8 ef ff ff st\.d r12\[-1\],lr
49690 + *[0-9a-f]*: ea e9 80 00 st\.d r5\[-32768\],r8
49691 + *[0-9a-f]*: e8 e7 7f ff st\.d r4\[32767\],r6
49692 + *[0-9a-f]*: fc e3 00 01 st\.d lr\[1\],r2
49693 + *[0-9a-f]*: ea eb 33 90 st\.d r5\[13200\],r10
49694 + *[0-9a-f]*: ea eb 24 88 st\.d r5\[9352\],r10
49695 + *[0-9a-f]*: ea e5 7e 75 st\.d r5\[32373\],r4
49697 +[0-9a-f]* <st_w4>:
49698 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
49699 + *[0-9a-f]*: f9 4c ff ff st\.w r12\[-1\],r12
49700 + *[0-9a-f]*: eb 45 80 00 st\.w r5\[-32768\],r5
49701 + *[0-9a-f]*: e9 44 7f ff st\.w r4\[32767\],r4
49702 + *[0-9a-f]*: fd 4e 00 01 st\.w lr\[1\],lr
49703 + *[0-9a-f]*: fb 47 17 f8 st\.w sp\[6136\],r7
49704 + *[0-9a-f]*: ed 4c 69 cf st\.w r6\[27087\],r12
49705 + *[0-9a-f]*: d7 03 nop
49707 +[0-9a-f]* <st_h4>:
49708 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
49709 + *[0-9a-f]*: f9 5c ff ff st\.h r12\[-1\],r12
49710 + *[0-9a-f]*: eb 55 80 00 st\.h r5\[-32768\],r5
49711 + *[0-9a-f]*: e9 54 7f ff st\.h r4\[32767\],r4
49712 + *[0-9a-f]*: fd 5e 00 01 st\.h lr\[1\],lr
49713 + *[0-9a-f]*: e9 57 d9 16 st\.h r4\[-9962\],r7
49714 + *[0-9a-f]*: f3 53 c0 86 st\.h r9\[-16250\],r3
49715 + *[0-9a-f]*: d7 03 nop
49717 +[0-9a-f]* <st_b4>:
49718 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
49719 + *[0-9a-f]*: f9 6c ff ff st\.b r12\[-1\],r12
49720 + *[0-9a-f]*: eb 65 80 00 st\.b r5\[-32768\],r5
49721 + *[0-9a-f]*: e9 64 7f ff st\.b r4\[32767\],r4
49722 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
49723 + *[0-9a-f]*: f9 66 75 96 st\.b r12\[30102\],r6
49724 + *[0-9a-f]*: eb 61 71 31 st\.b r5\[28977\],r1
49725 + *[0-9a-f]*: e1 61 15 5e st\.b r0\[5470\],r1
49728 + *[0-9a-f]*: e1 bf 00 00 mfsr pc,0x0
49729 + *[0-9a-f]*: e1 bc 00 ff mfsr r12,0x3fc
49730 + *[0-9a-f]*: e1 b5 00 80 mfsr r5,0x200
49731 + *[0-9a-f]*: e1 b4 00 7f mfsr r4,0x1fc
49732 + *[0-9a-f]*: e1 be 00 01 mfsr lr,0x4
49733 + *[0-9a-f]*: e1 b2 00 ae mfsr r2,0x2b8
49734 + *[0-9a-f]*: e1 b4 00 41 mfsr r4,0x104
49735 + *[0-9a-f]*: e1 ba 00 fe mfsr r10,0x3f8
49738 + *[0-9a-f]*: e3 bf 00 00 mtsr 0x0,pc
49739 + *[0-9a-f]*: e3 bc 00 ff mtsr 0x3fc,r12
49740 + *[0-9a-f]*: e3 b5 00 80 mtsr 0x200,r5
49741 + *[0-9a-f]*: e3 b4 00 7f mtsr 0x1fc,r4
49742 + *[0-9a-f]*: e3 be 00 01 mtsr 0x4,lr
49743 + *[0-9a-f]*: e3 ba 00 38 mtsr 0xe0,r10
49744 + *[0-9a-f]*: e3 bc 00 d1 mtsr 0x344,r12
49745 + *[0-9a-f]*: e3 b9 00 4c mtsr 0x130,r9
49748 + *[0-9a-f]*: e5 bf 00 00 mfdr pc,0x0
49749 + *[0-9a-f]*: e5 bc 00 ff mfdr r12,0x3fc
49750 + *[0-9a-f]*: e5 b5 00 80 mfdr r5,0x200
49751 + *[0-9a-f]*: e5 b4 00 7f mfdr r4,0x1fc
49752 + *[0-9a-f]*: e5 be 00 01 mfdr lr,0x4
49753 + *[0-9a-f]*: e5 b6 00 e9 mfdr r6,0x3a4
49754 + *[0-9a-f]*: e5 b5 00 09 mfdr r5,0x24
49755 + *[0-9a-f]*: e5 b9 00 4b mfdr r9,0x12c
49758 + *[0-9a-f]*: e7 bf 00 00 mtdr 0x0,pc
49759 + *[0-9a-f]*: e7 bc 00 ff mtdr 0x3fc,r12
49760 + *[0-9a-f]*: e7 b5 00 80 mtdr 0x200,r5
49761 + *[0-9a-f]*: e7 b4 00 7f mtdr 0x1fc,r4
49762 + *[0-9a-f]*: e7 be 00 01 mtdr 0x4,lr
49763 + *[0-9a-f]*: e7 b8 00 2d mtdr 0xb4,r8
49764 + *[0-9a-f]*: e7 ba 00 b4 mtdr 0x2d0,r10
49765 + *[0-9a-f]*: e7 be 00 66 mtdr 0x198,lr
49767 +[0-9a-f]* <sleep>:
49768 + *[0-9a-f]*: e9 b0 00 00 sleep 0x0
49769 + *[0-9a-f]*: e9 b0 00 ff sleep 0xff
49770 + *[0-9a-f]*: e9 b0 00 80 sleep 0x80
49771 + *[0-9a-f]*: e9 b0 00 7f sleep 0x7f
49772 + *[0-9a-f]*: e9 b0 00 01 sleep 0x1
49773 + *[0-9a-f]*: e9 b0 00 fe sleep 0xfe
49774 + *[0-9a-f]*: e9 b0 00 0f sleep 0xf
49775 + *[0-9a-f]*: e9 b0 00 2b sleep 0x2b
49778 + *[0-9a-f]*: eb b0 00 00 sync 0x0
49779 + *[0-9a-f]*: eb b0 00 ff sync 0xff
49780 + *[0-9a-f]*: eb b0 00 80 sync 0x80
49781 + *[0-9a-f]*: eb b0 00 7f sync 0x7f
49782 + *[0-9a-f]*: eb b0 00 01 sync 0x1
49783 + *[0-9a-f]*: eb b0 00 a6 sync 0xa6
49784 + *[0-9a-f]*: eb b0 00 e6 sync 0xe6
49785 + *[0-9a-f]*: eb b0 00 b4 sync 0xb4
49788 + *[0-9a-f]*: ed bf 00 00 bld pc,0x0
49789 + *[0-9a-f]*: ed bc 00 1f bld r12,0x1f
49790 + *[0-9a-f]*: ed b5 00 10 bld r5,0x10
49791 + *[0-9a-f]*: ed b4 00 0f bld r4,0xf
49792 + *[0-9a-f]*: ed be 00 01 bld lr,0x1
49793 + *[0-9a-f]*: ed b9 00 0f bld r9,0xf
49794 + *[0-9a-f]*: ed b0 00 04 bld r0,0x4
49795 + *[0-9a-f]*: ed be 00 1a bld lr,0x1a
49798 + *[0-9a-f]*: ef bf 00 00 bst pc,0x0
49799 + *[0-9a-f]*: ef bc 00 1f bst r12,0x1f
49800 + *[0-9a-f]*: ef b5 00 10 bst r5,0x10
49801 + *[0-9a-f]*: ef b4 00 0f bst r4,0xf
49802 + *[0-9a-f]*: ef be 00 01 bst lr,0x1
49803 + *[0-9a-f]*: ef ba 00 1c bst r10,0x1c
49804 + *[0-9a-f]*: ef b0 00 03 bst r0,0x3
49805 + *[0-9a-f]*: ef bd 00 02 bst sp,0x2
49808 + *[0-9a-f]*: f1 bf 00 00 sats pc,0x0
49809 + *[0-9a-f]*: f1 bc 03 ff sats r12>>0x1f,0x1f
49810 + *[0-9a-f]*: f1 b5 02 10 sats r5>>0x10,0x10
49811 + *[0-9a-f]*: f1 b4 01 ef sats r4>>0xf,0xf
49812 + *[0-9a-f]*: f1 be 00 21 sats lr>>0x1,0x1
49813 + *[0-9a-f]*: f1 ba 02 63 sats r10>>0x3,0x13
49814 + *[0-9a-f]*: f1 ba 03 42 sats r10>>0x2,0x1a
49815 + *[0-9a-f]*: f1 b1 00 34 sats r1>>0x14,0x1
49818 + *[0-9a-f]*: f1 bf 04 00 satu pc,0x0
49819 + *[0-9a-f]*: f1 bc 07 ff satu r12>>0x1f,0x1f
49820 + *[0-9a-f]*: f1 b5 06 10 satu r5>>0x10,0x10
49821 + *[0-9a-f]*: f1 b4 05 ef satu r4>>0xf,0xf
49822 + *[0-9a-f]*: f1 be 04 21 satu lr>>0x1,0x1
49823 + *[0-9a-f]*: f1 bf 04 e5 satu pc>>0x5,0x7
49824 + *[0-9a-f]*: f1 b7 04 a5 satu r7>>0x5,0x5
49825 + *[0-9a-f]*: f1 b2 06 7a satu r2>>0x1a,0x13
49827 +[0-9a-f]* <satrnds>:
49828 + *[0-9a-f]*: f3 bf 00 00 satrnds pc,0x0
49829 + *[0-9a-f]*: f3 bc 03 ff satrnds r12>>0x1f,0x1f
49830 + *[0-9a-f]*: f3 b5 02 10 satrnds r5>>0x10,0x10
49831 + *[0-9a-f]*: f3 b4 01 ef satrnds r4>>0xf,0xf
49832 + *[0-9a-f]*: f3 be 00 21 satrnds lr>>0x1,0x1
49833 + *[0-9a-f]*: f3 b0 02 75 satrnds r0>>0x15,0x13
49834 + *[0-9a-f]*: f3 bd 00 40 satrnds sp,0x2
49835 + *[0-9a-f]*: f3 b7 03 a6 satrnds r7>>0x6,0x1d
49837 +[0-9a-f]* <satrndu>:
49838 + *[0-9a-f]*: f3 bf 04 00 satrndu pc,0x0
49839 + *[0-9a-f]*: f3 bc 07 ff satrndu r12>>0x1f,0x1f
49840 + *[0-9a-f]*: f3 b5 06 10 satrndu r5>>0x10,0x10
49841 + *[0-9a-f]*: f3 b4 05 ef satrndu r4>>0xf,0xf
49842 + *[0-9a-f]*: f3 be 04 21 satrndu lr>>0x1,0x1
49843 + *[0-9a-f]*: f3 bc 07 40 satrndu r12,0x1a
49844 + *[0-9a-f]*: f3 b4 04 75 satrndu r4>>0x15,0x3
49845 + *[0-9a-f]*: f3 ba 06 03 satrndu r10>>0x3,0x10
49847 +[0-9a-f]* <subfc>:
49848 + *[0-9a-f]*: f5 bf 00 00 subfeq pc,0
49849 + *[0-9a-f]*: f5 bc 0f ff subfal r12,-1
49850 + *[0-9a-f]*: f5 b5 08 80 subfls r5,-128
49851 + *[0-9a-f]*: f5 b4 07 7f subfpl r4,127
49852 + *[0-9a-f]*: f5 be 01 01 subfne lr,1
49853 + *[0-9a-f]*: f5 ba 08 08 subfls r10,8
49854 + *[0-9a-f]*: f5 bb 0d 63 subfvc r11,99
49855 + *[0-9a-f]*: f5 b2 0c 49 subfvs r2,73
49858 + *[0-9a-f]*: f7 bf 00 00 subeq pc,0
49859 + *[0-9a-f]*: f7 bc 0f ff subal r12,-1
49860 + *[0-9a-f]*: f7 b5 08 80 subls r5,-128
49861 + *[0-9a-f]*: f7 b4 07 7f subpl r4,127
49862 + *[0-9a-f]*: f7 be 01 01 subne lr,1
49863 + *[0-9a-f]*: f7 bc 08 76 subls r12,118
49864 + *[0-9a-f]*: f7 be 0d f4 subvc lr,-12
49865 + *[0-9a-f]*: f7 b4 06 f3 submi r4,-13
49867 +[0-9a-f]* <movc2>:
49868 + *[0-9a-f]*: f9 bf 00 00 moveq pc,0
49869 + *[0-9a-f]*: f9 bc 0f ff moval r12,-1
49870 + *[0-9a-f]*: f9 b5 08 80 movls r5,-128
49871 + *[0-9a-f]*: f9 b4 07 7f movpl r4,127
49872 + *[0-9a-f]*: f9 be 01 01 movne lr,1
49873 + *[0-9a-f]*: f9 b3 05 86 movlt r3,-122
49874 + *[0-9a-f]*: f9 b8 0d 02 movvc r8,2
49875 + *[0-9a-f]*: f9 b7 01 91 movne r7,-111
49878 + *[0-9a-f]*: e0 0f 18 00 cp\.b pc,r0
49879 + *[0-9a-f]*: fe 00 18 00 cp\.b r0,pc
49880 + *[0-9a-f]*: f0 07 18 00 cp\.b r7,r8
49881 + *[0-9a-f]*: ee 08 18 00 cp\.b r8,r7
49884 + *[0-9a-f]*: e0 0f 19 00 cp\.h pc,r0
49885 + *[0-9a-f]*: fe 00 19 00 cp\.h r0,pc
49886 + *[0-9a-f]*: f0 07 19 00 cp\.h r7,r8
49887 + *[0-9a-f]*: ee 08 19 00 cp\.h r8,r7
49890 + *[0-9a-f]*: e1 cf 00 7e ldm pc,r1-r6
49891 + *[0-9a-f]*: e1 cc ff ff ldm r12,r0-pc
49892 + *[0-9a-f]*: e1 c5 80 00 ldm r5,pc
49893 + *[0-9a-f]*: e1 c4 7f ff ldm r4,r0-lr
49894 + *[0-9a-f]*: e1 ce 00 01 ldm lr,r0
49895 + *[0-9a-f]*: e1 c9 40 22 ldm r9,r1,r5,lr
49896 + *[0-9a-f]*: e1 cb 81 ec ldm r11,r2-r3,r5-r8,pc
49897 + *[0-9a-f]*: e1 c6 a2 09 ldm r6,r0,r3,r9,sp,pc
49899 +[0-9a-f]* <ldm_pu>:
49900 + *[0-9a-f]*: e3 cf 03 c0 ldm pc\+\+,r6-r9
49901 + *[0-9a-f]*: e3 cc ff ff ldm r12\+\+,r0-pc
49902 + *[0-9a-f]*: e3 c5 80 00 ldm r5\+\+,pc
49903 + *[0-9a-f]*: e3 c4 7f ff ldm r4\+\+,r0-lr
49904 + *[0-9a-f]*: e3 ce 00 01 ldm lr\+\+,r0
49905 + *[0-9a-f]*: e3 cc d5 38 ldm r12\+\+,r3-r5,r8,r10,r12,lr-pc
49906 + *[0-9a-f]*: e3 ca c0 74 ldm r10\+\+,r2,r4-r6,lr-pc
49907 + *[0-9a-f]*: e3 c6 7e 1a ldm r6\+\+,r1,r3-r4,r9-lr
49909 +[0-9a-f]* <ldmts>:
49910 + *[0-9a-f]*: e5 cf 01 80 ldmts pc,r7-r8
49911 + *[0-9a-f]*: e5 cc ff ff ldmts r12,r0-pc
49912 + *[0-9a-f]*: e5 c5 80 00 ldmts r5,pc
49913 + *[0-9a-f]*: e5 c4 7f ff ldmts r4,r0-lr
49914 + *[0-9a-f]*: e5 ce 00 01 ldmts lr,r0
49915 + *[0-9a-f]*: e5 c0 18 06 ldmts r0,r1-r2,r11-r12
49916 + *[0-9a-f]*: e5 ce 61 97 ldmts lr,r0-r2,r4,r7-r8,sp-lr
49917 + *[0-9a-f]*: e5 cc c2 3b ldmts r12,r0-r1,r3-r5,r9,lr-pc
49919 +[0-9a-f]* <ldmts_pu>:
49920 + *[0-9a-f]*: e7 cf 02 00 ldmts pc\+\+,r9
49921 + *[0-9a-f]*: e7 cc ff ff ldmts r12\+\+,r0-pc
49922 + *[0-9a-f]*: e7 c5 80 00 ldmts r5\+\+,pc
49923 + *[0-9a-f]*: e7 c4 7f ff ldmts r4\+\+,r0-lr
49924 + *[0-9a-f]*: e7 ce 00 01 ldmts lr\+\+,r0
49925 + *[0-9a-f]*: e7 cd 0a bd ldmts sp\+\+,r0,r2-r5,r7,r9,r11
49926 + *[0-9a-f]*: e7 c5 0c 8e ldmts r5\+\+,r1-r3,r7,r10-r11
49927 + *[0-9a-f]*: e7 c8 a1 9c ldmts r8\+\+,r2-r4,r7-r8,sp,pc
49930 + *[0-9a-f]*: e9 cf 00 80 stm pc,r7
49931 + *[0-9a-f]*: e9 cc ff ff stm r12,r0-pc
49932 + *[0-9a-f]*: e9 c5 80 00 stm r5,pc
49933 + *[0-9a-f]*: e9 c4 7f ff stm r4,r0-lr
49934 + *[0-9a-f]*: e9 ce 00 01 stm lr,r0
49935 + *[0-9a-f]*: e9 cd 49 2c stm sp,r2-r3,r5,r8,r11,lr
49936 + *[0-9a-f]*: e9 c4 4c 5f stm r4,r0-r4,r6,r10-r11,lr
49937 + *[0-9a-f]*: e9 c9 f2 22 stm r9,r1,r5,r9,r12-pc
49939 +[0-9a-f]* <stm_pu>:
49940 + *[0-9a-f]*: eb cf 00 70 stm --pc,r4-r6
49941 + *[0-9a-f]*: eb cc ff ff stm --r12,r0-pc
49942 + *[0-9a-f]*: eb c5 80 00 stm --r5,pc
49943 + *[0-9a-f]*: eb c4 7f ff stm --r4,r0-lr
49944 + *[0-9a-f]*: eb ce 00 01 stm --lr,r0
49945 + *[0-9a-f]*: eb cb fb f1 stm --r11,r0,r4-r9,r11-pc
49946 + *[0-9a-f]*: eb cb 56 09 stm --r11,r0,r3,r9-r10,r12,lr
49947 + *[0-9a-f]*: eb c6 63 04 stm --r6,r2,r8-r9,sp-lr
49949 +[0-9a-f]* <stmts>:
49950 + *[0-9a-f]*: ed cf 01 00 stmts pc,r8
49951 + *[0-9a-f]*: ed cc ff ff stmts r12,r0-pc
49952 + *[0-9a-f]*: ed c5 80 00 stmts r5,pc
49953 + *[0-9a-f]*: ed c4 7f ff stmts r4,r0-lr
49954 + *[0-9a-f]*: ed ce 00 01 stmts lr,r0
49955 + *[0-9a-f]*: ed c1 c6 5b stmts r1,r0-r1,r3-r4,r6,r9-r10,lr-pc
49956 + *[0-9a-f]*: ed c3 1d c1 stmts r3,r0,r6-r8,r10-r12
49957 + *[0-9a-f]*: ed cb d6 d1 stmts r11,r0,r4,r6-r7,r9-r10,r12,lr-pc
49959 +[0-9a-f]* <stmts_pu>:
49960 + *[0-9a-f]*: ef cf 01 c0 stmts --pc,r6-r8
49961 + *[0-9a-f]*: ef cc ff ff stmts --r12,r0-pc
49962 + *[0-9a-f]*: ef c5 80 00 stmts --r5,pc
49963 + *[0-9a-f]*: ef c4 7f ff stmts --r4,r0-lr
49964 + *[0-9a-f]*: ef ce 00 01 stmts --lr,r0
49965 + *[0-9a-f]*: ef c2 36 19 stmts --r2,r0,r3-r4,r9-r10,r12-sp
49966 + *[0-9a-f]*: ef c3 c0 03 stmts --r3,r0-r1,lr-pc
49967 + *[0-9a-f]*: ef c0 44 7d stmts --r0,r0,r2-r6,r10,lr
49969 +[0-9a-f]* <ldins_h>:
49970 + *[0-9a-f]*: ff df 00 00 ldins\.h pc:b,pc\[0\]
49971 + *[0-9a-f]*: f9 dc 1f ff ldins\.h r12:t,r12\[-2\]
49972 + *[0-9a-f]*: eb d5 18 00 ldins\.h r5:t,r5\[-4096\]
49973 + *[0-9a-f]*: e9 d4 07 ff ldins\.h r4:b,r4\[4094\]
49974 + *[0-9a-f]*: fd de 10 01 ldins\.h lr:t,lr\[2\]
49975 + *[0-9a-f]*: fd d0 13 c5 ldins\.h r0:t,lr\[1930\]
49976 + *[0-9a-f]*: ef d3 0e f5 ldins\.h r3:b,r7\[-534\]
49977 + *[0-9a-f]*: f9 d2 0b 9a ldins\.h r2:b,r12\[-2252\]
49979 +[0-9a-f]* <ldins_b>:
49980 + *[0-9a-f]*: ff df 40 00 ldins\.b pc:b,pc\[0\]
49981 + *[0-9a-f]*: f9 dc 7f ff ldins\.b r12:t,r12\[-1\]
49982 + *[0-9a-f]*: eb d5 68 00 ldins\.b r5:u,r5\[-2048\]
49983 + *[0-9a-f]*: e9 d4 57 ff ldins\.b r4:l,r4\[2047\]
49984 + *[0-9a-f]*: fd de 50 01 ldins\.b lr:l,lr\[1\]
49985 + *[0-9a-f]*: e9 d6 7d 6a ldins\.b r6:t,r4\[-662\]
49986 + *[0-9a-f]*: e3 d5 4f 69 ldins\.b r5:b,r1\[-151\]
49987 + *[0-9a-f]*: f7 da 78 7d ldins\.b r10:t,r11\[-1923\]
49989 +[0-9a-f]* <ldswp_sh>:
49990 + *[0-9a-f]*: ff df 20 00 ldswp\.sh pc,pc\[0\]
49991 + *[0-9a-f]*: f9 dc 2f ff ldswp\.sh r12,r12\[-2\]
49992 + *[0-9a-f]*: eb d5 28 00 ldswp\.sh r5,r5\[-4096\]
49993 + *[0-9a-f]*: e9 d4 27 ff ldswp\.sh r4,r4\[4094\]
49994 + *[0-9a-f]*: fd de 20 01 ldswp\.sh lr,lr\[2\]
49995 + *[0-9a-f]*: f5 d9 27 84 ldswp\.sh r9,r10\[3848\]
49996 + *[0-9a-f]*: f9 d4 2c 04 ldswp\.sh r4,r12\[-2040\]
49997 + *[0-9a-f]*: e5 da 26 08 ldswp\.sh r10,r2\[3088\]
49999 +[0-9a-f]* <ldswp_uh>:
50000 + *[0-9a-f]*: ff df 30 00 ldswp\.uh pc,pc\[0\]
50001 + *[0-9a-f]*: f9 dc 3f ff ldswp\.uh r12,r12\[-2\]
50002 + *[0-9a-f]*: eb d5 38 00 ldswp\.uh r5,r5\[-4096\]
50003 + *[0-9a-f]*: e9 d4 37 ff ldswp\.uh r4,r4\[4094\]
50004 + *[0-9a-f]*: fd de 30 01 ldswp\.uh lr,lr\[2\]
50005 + *[0-9a-f]*: f3 d4 37 46 ldswp\.uh r4,r9\[3724\]
50006 + *[0-9a-f]*: fb de 3c bc ldswp\.uh lr,sp\[-1672\]
50007 + *[0-9a-f]*: f9 d8 38 7d ldswp\.uh r8,r12\[-3846\]
50009 +[0-9a-f]* <ldswp_w>:
50010 + *[0-9a-f]*: ff df 80 00 ldswp\.w pc,pc\[0\]
50011 + *[0-9a-f]*: f9 dc 8f ff ldswp\.w r12,r12\[-4\]
50012 + *[0-9a-f]*: eb d5 88 00 ldswp\.w r5,r5\[-8192\]
50013 + *[0-9a-f]*: e9 d4 87 ff ldswp\.w r4,r4\[8188\]
50014 + *[0-9a-f]*: fd de 80 01 ldswp\.w lr,lr\[4\]
50015 + *[0-9a-f]*: ef dd 81 d1 ldswp\.w sp,r7\[1860\]
50016 + *[0-9a-f]*: eb df 8c c1 ldswp\.w pc,r5\[-3324\]
50017 + *[0-9a-f]*: f5 dc 8c c8 ldswp\.w r12,r10\[-3296\]
50019 +[0-9a-f]* <stswp_h>:
50020 + *[0-9a-f]*: ff df 90 00 stswp\.h pc\[0\],pc
50021 + *[0-9a-f]*: f9 dc 9f ff stswp\.h r12\[-2\],r12
50022 + *[0-9a-f]*: eb d5 98 00 stswp\.h r5\[-4096\],r5
50023 + *[0-9a-f]*: e9 d4 97 ff stswp\.h r4\[4094\],r4
50024 + *[0-9a-f]*: fd de 90 01 stswp\.h lr\[2\],lr
50025 + *[0-9a-f]*: ef da 90 20 stswp\.h r7\[64\],r10
50026 + *[0-9a-f]*: f5 d2 95 e8 stswp\.h r10\[3024\],r2
50027 + *[0-9a-f]*: e1 da 9b 74 stswp\.h r0\[-2328\],r10
50029 +[0-9a-f]* <stswp_w>:
50030 + *[0-9a-f]*: ff df a0 00 stswp\.w pc\[0\],pc
50031 + *[0-9a-f]*: f9 dc af ff stswp\.w r12\[-4\],r12
50032 + *[0-9a-f]*: eb d5 a8 00 stswp\.w r5\[-8192\],r5
50033 + *[0-9a-f]*: e9 d4 a7 ff stswp\.w r4\[8188\],r4
50034 + *[0-9a-f]*: fd de a0 01 stswp\.w lr\[4\],lr
50035 + *[0-9a-f]*: ff d8 a1 21 stswp\.w pc\[1156\],r8
50036 + *[0-9a-f]*: fb da a7 ce stswp\.w sp\[7992\],r10
50037 + *[0-9a-f]*: f1 d5 ae db stswp\.w r8\[-1172\],r5
50040 + *[0-9a-f]*: ff ef 00 0f and pc,pc,pc
50041 + *[0-9a-f]*: f9 ec 01 fc and r12,r12,r12<<0x1f
50042 + *[0-9a-f]*: eb e5 01 05 and r5,r5,r5<<0x10
50043 + *[0-9a-f]*: e9 e4 00 f4 and r4,r4,r4<<0xf
50044 + *[0-9a-f]*: fd ee 00 1e and lr,lr,lr<<0x1
50045 + *[0-9a-f]*: e5 e1 00 1a and r10,r2,r1<<0x1
50046 + *[0-9a-f]*: f1 eb 01 bc and r12,r8,r11<<0x1b
50047 + *[0-9a-f]*: ef e0 00 3a and r10,r7,r0<<0x3
50050 + *[0-9a-f]*: ff ef 02 0f and pc,pc,pc
50051 + *[0-9a-f]*: f9 ec 03 fc and r12,r12,r12>>0x1f
50052 + *[0-9a-f]*: eb e5 03 05 and r5,r5,r5>>0x10
50053 + *[0-9a-f]*: e9 e4 02 f4 and r4,r4,r4>>0xf
50054 + *[0-9a-f]*: fd ee 02 1e and lr,lr,lr>>0x1
50055 + *[0-9a-f]*: f1 e7 03 1c and r12,r8,r7>>0x11
50056 + *[0-9a-f]*: e9 e9 03 4f and pc,r4,r9>>0x14
50057 + *[0-9a-f]*: f3 ea 02 ca and r10,r9,r10>>0xc
50060 + *[0-9a-f]*: ff ef 10 0f or pc,pc,pc
50061 + *[0-9a-f]*: f9 ec 11 fc or r12,r12,r12<<0x1f
50062 + *[0-9a-f]*: eb e5 11 05 or r5,r5,r5<<0x10
50063 + *[0-9a-f]*: e9 e4 10 f4 or r4,r4,r4<<0xf
50064 + *[0-9a-f]*: fd ee 10 1e or lr,lr,lr<<0x1
50065 + *[0-9a-f]*: fb eb 11 d8 or r8,sp,r11<<0x1d
50066 + *[0-9a-f]*: f3 e2 11 cf or pc,r9,r2<<0x1c
50067 + *[0-9a-f]*: e3 e2 10 35 or r5,r1,r2<<0x3
50070 + *[0-9a-f]*: ff ef 12 0f or pc,pc,pc
50071 + *[0-9a-f]*: f9 ec 13 fc or r12,r12,r12>>0x1f
50072 + *[0-9a-f]*: eb e5 13 05 or r5,r5,r5>>0x10
50073 + *[0-9a-f]*: e9 e4 12 f4 or r4,r4,r4>>0xf
50074 + *[0-9a-f]*: fd ee 12 1e or lr,lr,lr>>0x1
50075 + *[0-9a-f]*: fb ed 12 21 or r1,sp,sp>>0x2
50076 + *[0-9a-f]*: e3 e1 13 d0 or r0,r1,r1>>0x1d
50077 + *[0-9a-f]*: f9 e8 12 84 or r4,r12,r8>>0x8
50080 + *[0-9a-f]*: ff ef 20 0f eor pc,pc,pc
50081 + *[0-9a-f]*: f9 ec 21 fc eor r12,r12,r12<<0x1f
50082 + *[0-9a-f]*: eb e5 21 05 eor r5,r5,r5<<0x10
50083 + *[0-9a-f]*: e9 e4 20 f4 eor r4,r4,r4<<0xf
50084 + *[0-9a-f]*: fd ee 20 1e eor lr,lr,lr<<0x1
50085 + *[0-9a-f]*: f3 e4 20 ba eor r10,r9,r4<<0xb
50086 + *[0-9a-f]*: e1 e1 21 f4 eor r4,r0,r1<<0x1f
50087 + *[0-9a-f]*: e5 ec 20 d6 eor r6,r2,r12<<0xd
50090 + *[0-9a-f]*: ff ef 22 0f eor pc,pc,pc
50091 + *[0-9a-f]*: f9 ec 23 fc eor r12,r12,r12>>0x1f
50092 + *[0-9a-f]*: eb e5 23 05 eor r5,r5,r5>>0x10
50093 + *[0-9a-f]*: e9 e4 22 f4 eor r4,r4,r4>>0xf
50094 + *[0-9a-f]*: fd ee 22 1e eor lr,lr,lr>>0x1
50095 + *[0-9a-f]*: eb e5 23 65 eor r5,r5,r5>>0x16
50096 + *[0-9a-f]*: e3 ee 22 3a eor r10,r1,lr>>0x3
50097 + *[0-9a-f]*: fd ed 23 a7 eor r7,lr,sp>>0x1a
50099 +[0-9a-f]* <sthh_w2>:
50100 + *[0-9a-f]*: ff ef 8f 0f sthh\.w pc\[pc\],pc:b,pc:b
50101 + *[0-9a-f]*: f9 ec bc 3c sthh\.w r12\[r12<<0x3\],r12:t,r12:t
50102 + *[0-9a-f]*: eb e5 b5 25 sthh\.w r5\[r5<<0x2\],r5:t,r5:t
50103 + *[0-9a-f]*: e9 e4 84 14 sthh\.w r4\[r4<<0x1\],r4:b,r4:b
50104 + *[0-9a-f]*: fd ee be 1e sthh\.w lr\[lr<<0x1\],lr:t,lr:t
50105 + *[0-9a-f]*: e3 ec b6 3d sthh\.w sp\[r6<<0x3\],r1:t,r12:t
50106 + *[0-9a-f]*: f3 e9 b6 06 sthh\.w r6\[r6\],r9:t,r9:t
50107 + *[0-9a-f]*: e1 eb 93 0a sthh\.w r10\[r3\],r0:b,r11:t
50109 +[0-9a-f]* <sthh_w1>:
50110 + *[0-9a-f]*: ff ef c0 0f sthh\.w pc\[0x0\],pc:b,pc:b
50111 + *[0-9a-f]*: f9 ec ff fc sthh\.w r12\[0x3fc\],r12:t,r12:t
50112 + *[0-9a-f]*: eb e5 f8 05 sthh\.w r5\[0x200\],r5:t,r5:t
50113 + *[0-9a-f]*: e9 e4 c7 f4 sthh\.w r4\[0x1fc\],r4:b,r4:b
50114 + *[0-9a-f]*: fd ee f0 1e sthh\.w lr\[0x4\],lr:t,lr:t
50115 + *[0-9a-f]*: f3 e0 e6 54 sthh\.w r4\[0x194\],r9:t,r0:b
50116 + *[0-9a-f]*: e5 ea e5 78 sthh\.w r8\[0x15c\],r2:t,r10:b
50117 + *[0-9a-f]*: f3 e2 c2 bd sthh\.w sp\[0xac\],r9:b,r2:b
50120 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
50121 + *[0-9a-f]*: e7 af ff ff cop cp7,cr15,cr15,cr15,0x7f
50122 + *[0-9a-f]*: e3 a8 75 55 cop cp3,cr5,cr5,cr5,0x31
50123 + *[0-9a-f]*: e3 a8 44 44 cop cp2,cr4,cr4,cr4,0x30
50124 + *[0-9a-f]*: e5 ad a8 37 cop cp5,cr8,cr3,cr7,0x5a
50126 +[0-9a-f]* <ldc_w1>:
50127 + *[0-9a-f]*: e9 a0 00 00 ldc\.w cp0,cr0,r0\[0x0\]
50128 + *[0-9a-f]*: e9 af ef ff ldc\.w cp7,cr15,pc\[0x3fc\]
50129 + *[0-9a-f]*: e9 a5 65 80 ldc\.w cp3,cr5,r5\[0x200\]
50130 + *[0-9a-f]*: e9 a4 44 7f ldc\.w cp2,cr4,r4\[0x1fc\]
50131 + *[0-9a-f]*: e9 ad 89 24 ldc\.w cp4,cr9,sp\[0x90\]
50133 +[0-9a-f]* <ldc_w2>:
50134 + *[0-9a-f]*: ef a0 00 40 ldc\.w cp0,cr0,--r0
50135 + *[0-9a-f]*: ef af ef 40 ldc\.w cp7,cr15,--pc
50136 + *[0-9a-f]*: ef a5 65 40 ldc\.w cp3,cr5,--r5
50137 + *[0-9a-f]*: ef a4 44 40 ldc\.w cp2,cr4,--r4
50138 + *[0-9a-f]*: ef ad 89 40 ldc\.w cp4,cr9,--sp
50140 +[0-9a-f]* <ldc_w3>:
50141 + *[0-9a-f]*: ef a0 10 00 ldc\.w cp0,cr0,r0\[r0\]
50142 + *[0-9a-f]*: ef af ff 3f ldc\.w cp7,cr15,pc\[pc<<0x3\]
50143 + *[0-9a-f]*: ef a5 75 24 ldc\.w cp3,cr5,r5\[r4<<0x2\]
50144 + *[0-9a-f]*: ef a4 54 13 ldc\.w cp2,cr4,r4\[r3<<0x1\]
50145 + *[0-9a-f]*: ef ad 99 0c ldc\.w cp4,cr9,sp\[r12\]
50147 +[0-9a-f]* <ldc_d1>:
50148 + *[0-9a-f]*: e9 a0 10 00 ldc\.d cp0,cr0,r0\[0x0\]
50149 + *[0-9a-f]*: e9 af fe ff ldc\.d cp7,cr14,pc\[0x3fc\]
50150 + *[0-9a-f]*: e9 a5 76 80 ldc\.d cp3,cr6,r5\[0x200\]
50151 + *[0-9a-f]*: e9 a4 54 7f ldc\.d cp2,cr4,r4\[0x1fc\]
50152 + *[0-9a-f]*: e9 ad 98 24 ldc\.d cp4,cr8,sp\[0x90\]
50154 +[0-9a-f]* <ldc_d2>:
50155 + *[0-9a-f]*: ef a0 00 50 ldc\.d cp0,cr0,--r0
50156 + *[0-9a-f]*: ef af ee 50 ldc\.d cp7,cr14,--pc
50157 + *[0-9a-f]*: ef a5 66 50 ldc\.d cp3,cr6,--r5
50158 + *[0-9a-f]*: ef a4 44 50 ldc\.d cp2,cr4,--r4
50159 + *[0-9a-f]*: ef ad 88 50 ldc\.d cp4,cr8,--sp
50161 +[0-9a-f]* <ldc_d3>:
50162 + *[0-9a-f]*: ef a0 10 40 ldc\.d cp0,cr0,r0\[r0\]
50163 + *[0-9a-f]*: ef af fe 7f ldc\.d cp7,cr14,pc\[pc<<0x3\]
50164 + *[0-9a-f]*: ef a5 76 64 ldc\.d cp3,cr6,r5\[r4<<0x2\]
50165 + *[0-9a-f]*: ef a4 54 53 ldc\.d cp2,cr4,r4\[r3<<0x1\]
50166 + *[0-9a-f]*: ef ad 98 4c ldc\.d cp4,cr8,sp\[r12\]
50168 +[0-9a-f]* <stc_w1>:
50169 + *[0-9a-f]*: eb a0 00 00 stc\.w cp0,r0\[0x0\],cr0
50170 + *[0-9a-f]*: eb af ef ff stc\.w cp7,pc\[0x3fc\],cr15
50171 + *[0-9a-f]*: eb a5 65 80 stc\.w cp3,r5\[0x200\],cr5
50172 + *[0-9a-f]*: eb a4 44 7f stc\.w cp2,r4\[0x1fc\],cr4
50173 + *[0-9a-f]*: eb ad 89 24 stc\.w cp4,sp\[0x90\],cr9
50175 +[0-9a-f]* <stc_w2>:
50176 + *[0-9a-f]*: ef a0 00 60 stc\.w cp0,r0\+\+,cr0
50177 + *[0-9a-f]*: ef af ef 60 stc\.w cp7,pc\+\+,cr15
50178 + *[0-9a-f]*: ef a5 65 60 stc\.w cp3,r5\+\+,cr5
50179 + *[0-9a-f]*: ef a4 44 60 stc\.w cp2,r4\+\+,cr4
50180 + *[0-9a-f]*: ef ad 89 60 stc\.w cp4,sp\+\+,cr9
50182 +[0-9a-f]* <stc_w3>:
50183 + *[0-9a-f]*: ef a0 10 80 stc\.w cp0,r0\[r0\],cr0
50184 + *[0-9a-f]*: ef af ff bf stc\.w cp7,pc\[pc<<0x3\],cr15
50185 + *[0-9a-f]*: ef a5 75 a4 stc\.w cp3,r5\[r4<<0x2\],cr5
50186 + *[0-9a-f]*: ef a4 54 93 stc\.w cp2,r4\[r3<<0x1\],cr4
50187 + *[0-9a-f]*: ef ad 99 8c stc\.w cp4,sp\[r12\],cr9
50189 +[0-9a-f]* <stc_d1>:
50190 + *[0-9a-f]*: eb a0 10 00 stc\.d cp0,r0\[0x0\],cr0
50191 + *[0-9a-f]*: eb af fe ff stc\.d cp7,pc\[0x3fc\],cr14
50192 + *[0-9a-f]*: eb a5 76 80 stc\.d cp3,r5\[0x200\],cr6
50193 + *[0-9a-f]*: eb a4 54 7f stc\.d cp2,r4\[0x1fc\],cr4
50194 + *[0-9a-f]*: eb ad 98 24 stc\.d cp4,sp\[0x90\],cr8
50196 +[0-9a-f]* <stc_d2>:
50197 + *[0-9a-f]*: ef a0 00 70 stc\.d cp0,r0\+\+,cr0
50198 + *[0-9a-f]*: ef af ee 70 stc\.d cp7,pc\+\+,cr14
50199 + *[0-9a-f]*: ef a5 66 70 stc\.d cp3,r5\+\+,cr6
50200 + *[0-9a-f]*: ef a4 44 70 stc\.d cp2,r4\+\+,cr4
50201 + *[0-9a-f]*: ef ad 88 70 stc\.d cp4,sp\+\+,cr8
50203 +[0-9a-f]* <stc_d3>:
50204 + *[0-9a-f]*: ef a0 10 c0 stc\.d cp0,r0\[r0\],cr0
50205 + *[0-9a-f]*: ef af fe ff stc\.d cp7,pc\[pc<<0x3\],cr14
50206 + *[0-9a-f]*: ef a5 76 e4 stc\.d cp3,r5\[r4<<0x2\],cr6
50207 + *[0-9a-f]*: ef a4 54 d3 stc\.d cp2,r4\[r3<<0x1\],cr4
50208 + *[0-9a-f]*: ef ad 98 cc stc\.d cp4,sp\[r12\],cr8
50210 +[0-9a-f]* <ldc0_w>:
50211 + *[0-9a-f]*: f1 a0 00 00 ldc0\.w cr0,r0\[0x0\]
50212 + *[0-9a-f]*: f1 af ff ff ldc0\.w cr15,pc\[0x3ffc\]
50213 + *[0-9a-f]*: f1 a5 85 00 ldc0\.w cr5,r5\[0x2000\]
50214 + *[0-9a-f]*: f1 a4 74 ff ldc0\.w cr4,r4\[0x1ffc\]
50215 + *[0-9a-f]*: f1 ad 09 93 ldc0\.w cr9,sp\[0x24c\]
50217 +[0-9a-f]* <ldc0_d>:
50218 + *[0-9a-f]*: f3 a0 00 00 ldc0\.d cr0,r0\[0x0\]
50219 + *[0-9a-f]*: f3 af fe ff ldc0\.d cr14,pc\[0x3ffc\]
50220 + *[0-9a-f]*: f3 a5 86 00 ldc0\.d cr6,r5\[0x2000\]
50221 + *[0-9a-f]*: f3 a4 74 ff ldc0\.d cr4,r4\[0x1ffc\]
50222 + *[0-9a-f]*: f3 ad 08 93 ldc0\.d cr8,sp\[0x24c\]
50224 +[0-9a-f]* <stc0_w>:
50225 + *[0-9a-f]*: f5 a0 00 00 stc0\.w r0\[0x0\],cr0
50226 + *[0-9a-f]*: f5 af ff ff stc0\.w pc\[0x3ffc\],cr15
50227 + *[0-9a-f]*: f5 a5 85 00 stc0\.w r5\[0x2000\],cr5
50228 + *[0-9a-f]*: f5 a4 74 ff stc0\.w r4\[0x1ffc\],cr4
50229 + *[0-9a-f]*: f5 ad 09 93 stc0\.w sp\[0x24c\],cr9
50231 +[0-9a-f]* <stc0_d>:
50232 + *[0-9a-f]*: f7 a0 00 00 stc0\.d r0\[0x0\],cr0
50233 + *[0-9a-f]*: f7 af fe ff stc0\.d pc\[0x3ffc\],cr14
50234 + *[0-9a-f]*: f7 a5 86 00 stc0\.d r5\[0x2000\],cr6
50235 + *[0-9a-f]*: f7 a4 74 ff stc0\.d r4\[0x1ffc\],cr4
50236 + *[0-9a-f]*: f7 ad 08 93 stc0\.d sp\[0x24c\],cr8
50239 + *[0-9a-f]*: f6 10 00 00 memc 0,0x0
50240 + *[0-9a-f]*: f6 1f ff ff memc -4,0x1f
50241 + *[0-9a-f]*: f6 18 40 00 memc -65536,0x10
50242 + *[0-9a-f]*: f6 17 bf ff memc 65532,0xf
50245 + *[0-9a-f]*: f8 10 00 00 mems 0,0x0
50246 + *[0-9a-f]*: f8 1f ff ff mems -4,0x1f
50247 + *[0-9a-f]*: f8 18 40 00 mems -65536,0x10
50248 + *[0-9a-f]*: f8 17 bf ff mems 65532,0xf
50251 + *[0-9a-f]*: fa 10 00 00 memt 0,0x0
50252 + *[0-9a-f]*: fa 1f ff ff memt -4,0x1f
50253 + *[0-9a-f]*: fa 18 40 00 memt -65536,0x10
50254 + *[0-9a-f]*: fa 17 bf ff memt 65532,0xf
50256 +[0-9a-f]* <stcond>:
50257 + *[0-9a-f]*: e1 70 00 00 stcond r0\[0\],r0
50258 + *[0-9a-f]*: ff 7f ff ff stcond pc\[-1\],pc
50259 + *[0-9a-f]*: f1 77 80 00 stcond r8\[-32768\],r7
50260 + *[0-9a-f]*: ef 78 7f ff stcond r7\[32767\],r8
50261 + *[0-9a-f]*: eb 7a 12 34 stcond r5\[4660\],r10
50263 +[0-9a-f]* <ldcm_w>:
50264 + *[0-9a-f]*: ed af 00 ff ldcm\.w cp0,pc,cr0-cr7
50265 + *[0-9a-f]*: ed a0 e0 01 ldcm\.w cp7,r0,cr0
50266 + *[0-9a-f]*: ed a4 90 7f ldcm\.w cp4,r4\+\+,cr0-cr6
50267 + *[0-9a-f]*: ed a7 60 80 ldcm\.w cp3,r7,cr7
50268 + *[0-9a-f]*: ed ac 30 72 ldcm\.w cp1,r12\+\+,cr1,cr4-cr6
50269 + *[0-9a-f]*: ed af 01 ff ldcm\.w cp0,pc,cr8-cr15
50270 + *[0-9a-f]*: ed a0 e1 01 ldcm\.w cp7,r0,cr8
50271 + *[0-9a-f]*: ed a4 91 7f ldcm\.w cp4,r4\+\+,cr8-cr14
50272 + *[0-9a-f]*: ed a7 61 80 ldcm\.w cp3,r7,cr15
50273 + *[0-9a-f]*: ed ac 31 72 ldcm\.w cp1,r12\+\+,cr9,cr12-cr14
50275 +[0-9a-f]* <ldcm_d>:
50276 + *[0-9a-f]*: ed af 04 ff ldcm\.d cp0,pc,cr0-cr15
50277 + *[0-9a-f]*: ed a0 e4 01 ldcm\.d cp7,r0,cr0-cr1
50278 + *[0-9a-f]*: ed a4 94 7f ldcm\.d cp4,r4\+\+,cr0-cr13
50279 + *[0-9a-f]*: ed a7 64 80 ldcm\.d cp3,r7,cr14-cr15
50280 + *[0-9a-f]*: ed ac 54 93 ldcm\.d cp2,r12\+\+,cr0-cr3,cr8-cr9,cr14-cr15
50282 +[0-9a-f]* <stcm_w>:
50283 + *[0-9a-f]*: ed af 02 ff stcm\.w cp0,pc,cr0-cr7
50284 + *[0-9a-f]*: ed a0 e2 01 stcm\.w cp7,r0,cr0
50285 + *[0-9a-f]*: ed a4 92 7f stcm\.w cp4,--r4,cr0-cr6
50286 + *[0-9a-f]*: ed a7 62 80 stcm\.w cp3,r7,cr7
50287 + *[0-9a-f]*: ed ac 32 72 stcm\.w cp1,--r12,cr1,cr4-cr6
50288 + *[0-9a-f]*: ed af 03 ff stcm\.w cp0,pc,cr8-cr15
50289 + *[0-9a-f]*: ed a0 e3 01 stcm\.w cp7,r0,cr8
50290 + *[0-9a-f]*: ed a4 93 7f stcm\.w cp4,--r4,cr8-cr14
50291 + *[0-9a-f]*: ed a7 63 80 stcm\.w cp3,r7,cr15
50292 + *[0-9a-f]*: ed ac 33 72 stcm\.w cp1,--r12,cr9,cr12-cr14
50294 +[0-9a-f]* <stcm_d>:
50295 + *[0-9a-f]*: ed af 05 ff stcm\.d cp0,pc,cr0-cr15
50296 + *[0-9a-f]*: ed a0 e5 01 stcm\.d cp7,r0,cr0-cr1
50297 + *[0-9a-f]*: ed a4 95 7f stcm\.d cp4,--r4,cr0-cr13
50298 + *[0-9a-f]*: ed a7 65 80 stcm\.d cp3,r7,cr14-cr15
50299 + *[0-9a-f]*: ed ac 55 93 stcm\.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
50301 +[0-9a-f]* <mvcr_w>:
50302 + *[0-9a-f]*: ef af ef 00 mvcr\.w cp7,pc,cr15
50303 + *[0-9a-f]*: ef a0 00 00 mvcr\.w cp0,r0,cr0
50304 + *[0-9a-f]*: ef af 0f 00 mvcr\.w cp0,pc,cr15
50305 + *[0-9a-f]*: ef a0 ef 00 mvcr\.w cp7,r0,cr15
50306 + *[0-9a-f]*: ef af e0 00 mvcr\.w cp7,pc,cr0
50307 + *[0-9a-f]*: ef a7 88 00 mvcr\.w cp4,r7,cr8
50308 + *[0-9a-f]*: ef a8 67 00 mvcr\.w cp3,r8,cr7
50310 +[0-9a-f]* <mvcr_d>:
50311 + *[0-9a-f]*: ef ae ee 10 mvcr\.d cp7,lr,cr14
50312 + *[0-9a-f]*: ef a0 00 10 mvcr\.d cp0,r0,cr0
50313 + *[0-9a-f]*: ef ae 0e 10 mvcr\.d cp0,lr,cr14
50314 + *[0-9a-f]*: ef a0 ee 10 mvcr\.d cp7,r0,cr14
50315 + *[0-9a-f]*: ef ae e0 10 mvcr\.d cp7,lr,cr0
50316 + *[0-9a-f]*: ef a6 88 10 mvcr\.d cp4,r6,cr8
50317 + *[0-9a-f]*: ef a8 66 10 mvcr\.d cp3,r8,cr6
50319 +[0-9a-f]* <mvrc_w>:
50320 + *[0-9a-f]*: ef af ef 20 mvrc\.w cp7,cr15,pc
50321 + *[0-9a-f]*: ef a0 00 20 mvrc\.w cp0,cr0,r0
50322 + *[0-9a-f]*: ef af 0f 20 mvrc\.w cp0,cr15,pc
50323 + *[0-9a-f]*: ef a0 ef 20 mvrc\.w cp7,cr15,r0
50324 + *[0-9a-f]*: ef af e0 20 mvrc\.w cp7,cr0,pc
50325 + *[0-9a-f]*: ef a7 88 20 mvrc\.w cp4,cr8,r7
50326 + *[0-9a-f]*: ef a8 67 20 mvrc\.w cp3,cr7,r8
50328 +[0-9a-f]* <mvrc_d>:
50329 + *[0-9a-f]*: ef ae ee 30 mvrc\.d cp7,cr14,lr
50330 + *[0-9a-f]*: ef a0 00 30 mvrc\.d cp0,cr0,r0
50331 + *[0-9a-f]*: ef ae 0e 30 mvrc\.d cp0,cr14,lr
50332 + *[0-9a-f]*: ef a0 ee 30 mvrc\.d cp7,cr14,r0
50333 + *[0-9a-f]*: ef ae e0 30 mvrc\.d cp7,cr0,lr
50334 + *[0-9a-f]*: ef a6 88 30 mvrc\.d cp4,cr8,r6
50335 + *[0-9a-f]*: ef a8 66 30 mvrc\.d cp3,cr6,r8
50337 +[0-9a-f]* <bfexts>:
50338 + *[0-9a-f]*: ff df b3 ff bfexts pc,pc,0x1f,0x1f
50339 + *[0-9a-f]*: e1 d0 b0 00 bfexts r0,r0,0x0,0x0
50340 + *[0-9a-f]*: e1 df b3 ff bfexts r0,pc,0x1f,0x1f
50341 + *[0-9a-f]*: ff d0 b3 ff bfexts pc,r0,0x1f,0x1f
50342 + *[0-9a-f]*: ff df b0 1f bfexts pc,pc,0x0,0x1f
50343 + *[0-9a-f]*: ff df b3 e0 bfexts pc,pc,0x1f,0x0
50344 + *[0-9a-f]*: ef d8 b1 f0 bfexts r7,r8,0xf,0x10
50345 + *[0-9a-f]*: f1 d7 b2 0f bfexts r8,r7,0x10,0xf
50347 +[0-9a-f]* <bfextu>:
50348 + *[0-9a-f]*: ff df c3 ff bfextu pc,pc,0x1f,0x1f
50349 + *[0-9a-f]*: e1 d0 c0 00 bfextu r0,r0,0x0,0x0
50350 + *[0-9a-f]*: e1 df c3 ff bfextu r0,pc,0x1f,0x1f
50351 + *[0-9a-f]*: ff d0 c3 ff bfextu pc,r0,0x1f,0x1f
50352 + *[0-9a-f]*: ff df c0 1f bfextu pc,pc,0x0,0x1f
50353 + *[0-9a-f]*: ff df c3 e0 bfextu pc,pc,0x1f,0x0
50354 + *[0-9a-f]*: ef d8 c1 f0 bfextu r7,r8,0xf,0x10
50355 + *[0-9a-f]*: f1 d7 c2 0f bfextu r8,r7,0x10,0xf
50357 +[0-9a-f]* <bfins>:
50358 + *[0-9a-f]*: ff df d3 ff bfins pc,pc,0x1f,0x1f
50359 + *[0-9a-f]*: e1 d0 d0 00 bfins r0,r0,0x0,0x0
50360 + *[0-9a-f]*: e1 df d3 ff bfins r0,pc,0x1f,0x1f
50361 + *[0-9a-f]*: ff d0 d3 ff bfins pc,r0,0x1f,0x1f
50362 + *[0-9a-f]*: ff df d0 1f bfins pc,pc,0x0,0x1f
50363 + *[0-9a-f]*: ff df d3 e0 bfins pc,pc,0x1f,0x0
50364 + *[0-9a-f]*: ef d8 d1 f0 bfins r7,r8,0xf,0x10
50365 + *[0-9a-f]*: f1 d7 d2 0f bfins r8,r7,0x10,0xf
50367 +++ b/gas/testsuite/gas/avr32/allinsn.exp
50369 +# AVR32 assembler testsuite. -*- Tcl -*-
50371 +if [istarget avr32-*-*] {
50372 + run_dump_test "allinsn"
50375 +++ b/gas/testsuite/gas/avr32/allinsn.s
50384 + ld.d lr,pc[pc<<3]
50385 + ld.d r0,r0[r0<<0]
50386 + ld.d r6,r5[r5<<2]
50387 + ld.d r4,r4[r4<<1]
50388 + ld.d lr,lr[lr<<1]
50389 + ld.d r10,r3[sp<<2]
50390 + ld.d r8,r10[r6<<2]
50391 + ld.d r2,r7[r9<<0]
50395 + ld.w pc,pc[pc<<0]
50396 + ld.w r12,r12[r12<<3]
50397 + ld.w r5,r5[r5<<2]
50398 + ld.w r4,r4[r4<<1]
50399 + ld.w lr,lr[lr<<1]
50400 + ld.w r2,r9[r9<<0]
50401 + ld.w r11,r2[r6<<0]
50402 + ld.w r0,r2[sp<<3]
50406 + ld.sh pc,pc[pc<<0]
50407 + ld.sh r12,r12[r12<<3]
50408 + ld.sh r5,r5[r5<<2]
50409 + ld.sh r4,r4[r4<<1]
50410 + ld.sh lr,lr[lr<<1]
50411 + ld.sh r11,r0[pc<<2]
50412 + ld.sh r10,sp[r6<<2]
50413 + ld.sh r12,r2[r2<<0]
50417 + ld.uh pc,pc[pc<<0]
50418 + ld.uh r12,r12[r12<<3]
50419 + ld.uh r5,r5[r5<<2]
50420 + ld.uh r4,r4[r4<<1]
50421 + ld.uh lr,lr[lr<<1]
50422 + ld.uh r8,pc[lr<<3]
50423 + ld.uh r6,r1[pc<<1]
50424 + ld.uh r6,lr[sp<<1]
50428 + ld.sb pc,pc[pc<<0]
50429 + ld.sb r12,r12[r12<<3]
50430 + ld.sb r5,r5[r5<<2]
50431 + ld.sb r4,r4[r4<<1]
50432 + ld.sb lr,lr[lr<<1]
50433 + ld.sb r9,r1[pc<<3]
50434 + ld.sb r0,r3[r11<<1]
50435 + ld.sb r10,r5[r5<<1]
50439 + ld.ub pc,pc[pc<<0]
50440 + ld.ub r12,r12[r12<<3]
50441 + ld.ub r5,r5[r5<<2]
50442 + ld.ub r4,r4[r4<<1]
50443 + ld.ub lr,lr[lr<<1]
50444 + ld.ub r6,r12[r7<<3]
50445 + ld.ub r2,r6[r12<<0]
50446 + ld.ub r0,r7[r11<<1]
50450 + st.d pc[pc<<0],r14
50451 + st.d r12[r12<<3],r12
50452 + st.d r5[r5<<2],r6
50453 + st.d r4[r4<<1],r4
50454 + st.d lr[lr<<1],lr
50455 + st.d r1[r9<<1],r4
50456 + st.d r10[r2<<1],r4
50457 + st.d r12[r6<<0],lr
50461 + st.w pc[pc<<0],pc
50462 + st.w r12[r12<<3],r12
50463 + st.w r5[r5<<2],r5
50464 + st.w r4[r4<<1],r4
50465 + st.w lr[lr<<1],lr
50466 + st.w r1[r10<<0],r3
50467 + st.w r0[r10<<1],r9
50468 + st.w r4[r5<<3],pc
50472 + st.h pc[pc<<0],pc
50473 + st.h r12[r12<<3],r12
50474 + st.h r5[r5<<2],r5
50475 + st.h r4[r4<<1],r4
50476 + st.h lr[lr<<1],lr
50477 + st.h r2[r9<<0],r11
50478 + st.h r5[r1<<2],r12
50479 + st.h pc[r8<<2],r3
50483 + st.b pc[pc<<0],pc
50484 + st.b r12[r12<<3],r12
50485 + st.b r5[r5<<2],r5
50486 + st.b r4[r4<<1],r4
50487 + st.b lr[lr<<1],lr
50488 + st.b r1[r8<<1],r6
50489 + st.b lr[lr<<3],r1
50490 + st.b r5[r0<<2],pc
50814 + lddsp r12,sp[508]
50836 + stdsp sp[508],r12
50998 + .global One_s_compliment
51100 + ld.w r12,r12[124]
51111 + ld.sh r12,r12[14]
51122 + ld.uh r12,r12[14]
51174 + .global ldd_postinc
51185 + .global ldd_predec
51207 + .global std_postinc
51218 + .global std_predec
51352 + /* popm with no argument fails currently */
51354 + popm r0-r11,pc,r12=-1
51356 + popm r0-r11,pc,r12=1
51359 + popm r0-r3,r11,pc,r12=0
51360 + popm r0-r7,r10-r12,lr
51365 + pushm r0-r12,lr,pc
51369 + pushm r8-r10,lr,pc
51376 + popm r0-r11,pc,r12=-1
51378 + popm r0-r11,pc,r12=1
51381 + popm r0-r3,r11,pc,r12=0
51382 + popm r0-r7,r10-r12,lr
51387 + pushm r0-r12,lr,pc
51391 + pushm r8-r10,lr,pc
51456 + .global breakpoint
51486 + add r12,r12,r12<<3
51492 + add r12,r12,r7<<2
51497 + sub r12,r12,r12<<3
51518 + addhh.w pc,pc:b,pc:b
51519 + addhh.w r12,r12:t,r12:t
51520 + addhh.w r5,r5:t,r5:t
51521 + addhh.w r4,r4:b,r4:b
51522 + addhh.w lr,lr:t,lr:t
51523 + addhh.w r0,r0:b,r3:b
51524 + addhh.w lr,r12:t,r7:b
51525 + addhh.w r3,r10:t,r2:b
51529 + subhh.w pc,pc:b,pc:b
51530 + subhh.w r12,r12:t,r12:t
51531 + subhh.w r5,r5:t,r5:t
51532 + subhh.w r4,r4:b,r4:b
51533 + subhh.w lr,lr:t,lr:t
51534 + subhh.w r10,r1:t,r7:b
51535 + subhh.w pc,r10:t,lr:t
51536 + subhh.w r3,r0:t,r12:b
51585 + muls.d r12,r12,r12
51596 + macs.d r14,r12,r12
51607 + mulu.d r14,r12,r12
51618 + macu.d r14,r12,r12
51695 + addabs r12,r12,r12
51705 + mulnhh.w pc,pc:b,pc:b
51706 + mulnhh.w r12,r12:t,r12:t
51707 + mulnhh.w r5,r5:t,r5:t
51708 + mulnhh.w r4,r4:b,r4:b
51709 + mulnhh.w lr,lr:t,lr:t
51710 + mulnhh.w r11,sp:t,r9:b
51711 + mulnhh.w sp,r4:b,lr:t
51712 + mulnhh.w r12,r2:t,r11:b
51716 + mulnwh.d r0,pc,pc:b
51717 + mulnwh.d r14,r12,r12:t
51718 + mulnwh.d r8,r5,r5:t
51719 + mulnwh.d r6,r4,r4:b
51720 + mulnwh.d r2,lr,lr:t
51721 + mulnwh.d r14,r3,r2:t
51722 + mulnwh.d r4,r5,r9:b
51723 + mulnwh.d r12,r4,r4:t
51727 + machh.w pc,pc:b,pc:b
51728 + machh.w r12,r12:t,r12:t
51729 + machh.w r5,r5:t,r5:t
51730 + machh.w r4,r4:b,r4:b
51731 + machh.w lr,lr:t,lr:t
51732 + machh.w lr,r5:b,r1:t
51733 + machh.w r9,r6:b,r7:b
51734 + machh.w r5,lr:t,r12:b
51738 + machh.d r0,pc:b,pc:b
51739 + machh.d r14,r12:t,r12:t
51740 + machh.d r8,r5:t,r5:t
51741 + machh.d r6,r4:b,r4:b
51742 + machh.d r2,lr:t,lr:t
51743 + machh.d r10,r0:b,r8:b
51744 + machh.d r14,r4:b,r5:t
51745 + machh.d r8,r0:b,r4:t
51747 + .global macsathh_w
51749 + macsathh.w pc,pc:b,pc:b
51750 + macsathh.w r12,r12:t,r12:t
51751 + macsathh.w r5,r5:t,r5:t
51752 + macsathh.w r4,r4:b,r4:b
51753 + macsathh.w lr,lr:t,lr:t
51754 + macsathh.w r7,r7:t,pc:t
51755 + macsathh.w r4,r2:t,r4:b
51756 + macsathh.w r4,r8:t,r3:t
51760 + mulhh.w pc,pc:b,pc:b
51761 + mulhh.w r12,r12:t,r12:t
51762 + mulhh.w r5,r5:t,r5:t
51763 + mulhh.w r4,r4:b,r4:b
51764 + mulhh.w lr,lr:t,lr:t
51765 + mulhh.w r7,r4:t,r9:b
51766 + mulhh.w pc,r3:t,r7:t
51767 + mulhh.w pc,r4:b,r9:t
51769 + .global mulsathh_h
51771 + mulsathh.h pc,pc:b,pc:b
51772 + mulsathh.h r12,r12:t,r12:t
51773 + mulsathh.h r5,r5:t,r5:t
51774 + mulsathh.h r4,r4:b,r4:b
51775 + mulsathh.h lr,lr:t,lr:t
51776 + mulsathh.h r3,r1:b,sp:b
51777 + mulsathh.h r11,lr:t,r11:b
51778 + mulsathh.h r8,r8:b,r11:t
51780 + .global mulsathh_w
51782 + mulsathh.w pc,pc:b,pc:b
51783 + mulsathh.w r12,r12:t,r12:t
51784 + mulsathh.w r5,r5:t,r5:t
51785 + mulsathh.w r4,r4:b,r4:b
51786 + mulsathh.w lr,lr:t,lr:t
51787 + mulsathh.w lr,r11:t,r6:b
51788 + mulsathh.w r6,r6:b,r7:t
51789 + mulsathh.w r10,r2:b,r3:b
51791 + .global mulsatrndhh_h
51793 + mulsatrndhh.h pc,pc:b,pc:b
51794 + mulsatrndhh.h r12,r12:t,r12:t
51795 + mulsatrndhh.h r5,r5:t,r5:t
51796 + mulsatrndhh.h r4,r4:b,r4:b
51797 + mulsatrndhh.h lr,lr:t,lr:t
51798 + mulsatrndhh.h r11,r6:b,r9:b
51799 + mulsatrndhh.h r11,r3:b,r8:t
51800 + mulsatrndhh.h r5,sp:t,r7:t
51802 + .global mulsatrndwh_w
51804 + mulsatrndwh.w pc,pc,pc:b
51805 + mulsatrndwh.w r12,r12,r12:t
51806 + mulsatrndwh.w r5,r5,r5:t
51807 + mulsatrndwh.w r4,r4,r4:b
51808 + mulsatrndwh.w lr,lr,lr:t
51809 + mulsatrndwh.w r5,r12,r0:b
51810 + mulsatrndwh.w r7,r10,pc:b
51811 + mulsatrndwh.w r10,r8,r5:t
51815 + macwh.d r0,pc,pc:b
51816 + macwh.d r14,r12,r12:t
51817 + macwh.d r8,r5,r5:t
51818 + macwh.d r6,r4,r4:b
51819 + macwh.d r2,lr,lr:t
51820 + macwh.d r4,r10,r12:t
51821 + macwh.d r4,r7,sp:b
51822 + macwh.d r14,r9,r11:b
51826 + mulwh.d r0,pc,pc:b
51827 + mulwh.d r14,r12,r12:t
51828 + mulwh.d r8,r5,r5:t
51829 + mulwh.d r6,r4,r4:b
51830 + mulwh.d r2,lr,lr:t
51831 + mulwh.d r12,r5,r1:b
51832 + mulwh.d r0,r1,r3:t
51833 + mulwh.d r0,r9,r2:b
51835 + .global mulsatwh_w
51837 + mulsatwh.w pc,pc,pc:b
51838 + mulsatwh.w r12,r12,r12:t
51839 + mulsatwh.w r5,r5,r5:t
51840 + mulsatwh.w r4,r4,r4:b
51841 + mulsatwh.w lr,lr,lr:t
51842 + mulsatwh.w r11,pc,r10:t
51843 + mulsatwh.w sp,r12,r9:t
51844 + mulsatwh.w r0,r3,r2:t
51848 + ld.w pc,pc[pc:b<<2]
51849 + ld.w r12,r12[r12:t<<2]
51850 + ld.w r5,r5[r5:u<<2]
51851 + ld.w r4,r4[r4:l<<2]
51852 + ld.w lr,lr[lr:l<<2]
51853 + ld.w r9,r10[r6:l<<2]
51854 + ld.w r2,r10[r10:b<<2]
51855 + ld.w r11,r5[pc:b<<2]
51859 + satadd.w pc,pc,pc
51860 + satadd.w r12,r12,r12
51861 + satadd.w r5,r5,r5
51862 + satadd.w r4,r4,r4
51863 + satadd.w lr,lr,lr
51864 + satadd.w r4,r8,r11
51865 + satadd.w r3,r12,r6
51866 + satadd.w r3,lr,r9
51868 + .global satsub_w1
51870 + satsub.w pc,pc,pc
51871 + satsub.w r12,r12,r12
51872 + satsub.w r5,r5,r5
51873 + satsub.w r4,r4,r4
51874 + satsub.w lr,lr,lr
51875 + satsub.w r8,sp,r0
51876 + satsub.w r9,r8,r4
51877 + satsub.w pc,lr,r2
51881 + satadd.h pc,pc,pc
51882 + satadd.h r12,r12,r12
51883 + satadd.h r5,r5,r5
51884 + satadd.h r4,r4,r4
51885 + satadd.h lr,lr,lr
51886 + satadd.h r7,r3,r9
51887 + satadd.h r1,r0,r2
51888 + satadd.h r1,r4,lr
51892 + satsub.h pc,pc,pc
51893 + satsub.h r12,r12,r12
51894 + satsub.h r5,r5,r5
51895 + satsub.h r4,r4,r4
51896 + satsub.h lr,lr,lr
51897 + satsub.h lr,lr,r3
51898 + satsub.h r11,r6,r5
51899 + satsub.h r3,sp,r0
51978 + .global extract_b
51980 + extract.b pc,pc:b
51981 + extract.b r12,r12:t
51982 + extract.b r5,r5:u
51983 + extract.b r4,r4:l
51984 + extract.b lr,lr:l
51985 + extract.b r2,r5:l
51986 + extract.b r12,r3:l
51987 + extract.b sp,r3:l
51992 + insert.b r12:t,r12
51996 + insert.b r12:u,r3
51997 + insert.b r10:l,lr
51998 + insert.b r11:l,r12
52000 + .global extract_h
52002 + extract.h pc,pc:b
52003 + extract.h r12,r12:t
52004 + extract.h r5,r5:t
52005 + extract.h r4,r4:b
52006 + extract.h lr,lr:t
52007 + extract.h r11,lr:b
52008 + extract.h r10,r0:b
52009 + extract.h r11,r12:b
52014 + insert.h r12:t,r12
52018 + insert.h r12:t,r11
52020 + insert.h r1:t,r11 */
52036 + padd.h r12,r12,r12
52047 + psub.h r12,r12,r12
52058 + paddx.h r12,r12,r12
52063 + paddx.h r10,r4,r5
52069 + psubx.h r12,r12,r12
52073 + psubx.h r5,r12,r5
52079 + padds.sh pc,pc,pc
52080 + padds.sh r12,r12,r12
52081 + padds.sh r5,r5,r5
52082 + padds.sh r4,r4,r4
52083 + padds.sh lr,lr,lr
52084 + padds.sh r9,lr,r2
52085 + padds.sh r6,r8,r1
52086 + padds.sh r6,r4,r10
52090 + psubs.sh pc,pc,pc
52091 + psubs.sh r12,r12,r12
52092 + psubs.sh r5,r5,r5
52093 + psubs.sh r4,r4,r4
52094 + psubs.sh lr,lr,lr
52095 + psubs.sh r6,lr,r11
52096 + psubs.sh r2,r12,r4
52097 + psubs.sh r0,r9,r0
52099 + .global paddxs_sh
52101 + paddxs.sh pc,pc,pc
52102 + paddxs.sh r12,r12,r12
52103 + paddxs.sh r5,r5,r5
52104 + paddxs.sh r4,r4,r4
52105 + paddxs.sh lr,lr,lr
52106 + paddxs.sh r0,r3,r9
52107 + paddxs.sh pc,r10,r11
52108 + paddxs.sh pc,r10,pc
52110 + .global psubxs_sh
52112 + psubxs.sh pc,pc,pc
52113 + psubxs.sh r12,r12,r12
52114 + psubxs.sh r5,r5,r5
52115 + psubxs.sh r4,r4,r4
52116 + psubxs.sh lr,lr,lr
52117 + psubxs.sh r7,r4,r4
52118 + psubxs.sh r7,r8,r3
52119 + psubxs.sh pc,r6,r5
52123 + padds.uh pc,pc,pc
52124 + padds.uh r12,r12,r12
52125 + padds.uh r5,r5,r5
52126 + padds.uh r4,r4,r4
52127 + padds.uh lr,lr,lr
52128 + padds.uh r12,r11,r7
52129 + padds.uh r7,r8,lr
52130 + padds.uh r6,r9,r7
52134 + psubs.uh pc,pc,pc
52135 + psubs.uh r12,r12,r12
52136 + psubs.uh r5,r5,r5
52137 + psubs.uh r4,r4,r4
52138 + psubs.uh lr,lr,lr
52139 + psubs.uh lr,r10,r6
52140 + psubs.uh sp,r2,pc
52141 + psubs.uh r2,r9,r2
52143 + .global paddxs_uh
52145 + paddxs.uh pc,pc,pc
52146 + paddxs.uh r12,r12,r12
52147 + paddxs.uh r5,r5,r5
52148 + paddxs.uh r4,r4,r4
52149 + paddxs.uh lr,lr,lr
52150 + paddxs.uh r7,r9,r5
52151 + paddxs.uh r9,r1,r4
52152 + paddxs.uh r5,r2,r3
52154 + .global psubxs_uh
52156 + psubxs.uh pc,pc,pc
52157 + psubxs.uh r12,r12,r12
52158 + psubxs.uh r5,r5,r5
52159 + psubxs.uh r4,r4,r4
52160 + psubxs.uh lr,lr,lr
52161 + psubxs.uh sp,r5,sp
52162 + psubxs.uh sp,r6,r6
52163 + psubxs.uh r3,r11,r8
52167 + paddh.sh pc,pc,pc
52168 + paddh.sh r12,r12,r12
52169 + paddh.sh r5,r5,r5
52170 + paddh.sh r4,r4,r4
52171 + paddh.sh lr,lr,lr
52172 + paddh.sh r12,sp,r3
52173 + paddh.sh pc,r5,r3
52174 + paddh.sh r8,r8,sp
52178 + psubh.sh pc,pc,pc
52179 + psubh.sh r12,r12,r12
52180 + psubh.sh r5,r5,r5
52181 + psubh.sh r4,r4,r4
52182 + psubh.sh lr,lr,lr
52183 + psubh.sh r1,r5,r8
52184 + psubh.sh r7,r3,r6
52185 + psubh.sh r4,r3,r3
52187 + .global paddxh_sh
52189 + paddxh.sh pc,pc,pc
52190 + paddxh.sh r12,r12,r12
52191 + paddxh.sh r5,r5,r5
52192 + paddxh.sh r4,r4,r4
52193 + paddxh.sh lr,lr,lr
52194 + paddxh.sh r6,r0,r4
52195 + paddxh.sh r9,r8,r9
52196 + paddxh.sh r3,r0,sp
52198 + .global psubxh_sh
52200 + psubxh.sh pc,pc,pc
52201 + psubxh.sh r12,r12,r12
52202 + psubxh.sh r5,r5,r5
52203 + psubxh.sh r4,r4,r4
52204 + psubxh.sh lr,lr,lr
52205 + psubxh.sh r4,pc,r12
52206 + psubxh.sh r8,r4,r6
52207 + psubxh.sh r12,r9,r4
52209 + .global paddsub_h
52211 + paddsub.h pc,pc:b,pc:b
52212 + paddsub.h r12,r12:t,r12:t
52213 + paddsub.h r5,r5:t,r5:t
52214 + paddsub.h r4,r4:b,r4:b
52215 + paddsub.h lr,lr:t,lr:t
52216 + paddsub.h r5,r2:t,lr:b
52217 + paddsub.h r7,r1:b,r8:b
52218 + paddsub.h r6,r10:t,r5:t
52220 + .global psubadd_h
52222 + psubadd.h pc,pc:b,pc:b
52223 + psubadd.h r12,r12:t,r12:t
52224 + psubadd.h r5,r5:t,r5:t
52225 + psubadd.h r4,r4:b,r4:b
52226 + psubadd.h lr,lr:t,lr:t
52227 + psubadd.h r9,r11:t,r8:t
52228 + psubadd.h r10,r7:t,lr:t
52229 + psubadd.h r6,pc:t,pc:b
52231 + .global paddsubs_sh
52233 + paddsubs.sh pc,pc:b,pc:b
52234 + paddsubs.sh r12,r12:t,r12:t
52235 + paddsubs.sh r5,r5:t,r5:t
52236 + paddsubs.sh r4,r4:b,r4:b
52237 + paddsubs.sh lr,lr:t,lr:t
52238 + paddsubs.sh r0,lr:t,r0:b
52239 + paddsubs.sh r9,r2:t,r4:t
52240 + paddsubs.sh r12,r9:t,sp:t
52242 + .global psubadds_sh
52244 + psubadds.sh pc,pc:b,pc:b
52245 + psubadds.sh r12,r12:t,r12:t
52246 + psubadds.sh r5,r5:t,r5:t
52247 + psubadds.sh r4,r4:b,r4:b
52248 + psubadds.sh lr,lr:t,lr:t
52249 + psubadds.sh pc,lr:b,r1:t
52250 + psubadds.sh r11,r3:b,r12:b
52251 + psubadds.sh r10,r2:t,r8:t
52253 + .global paddsubs_uh
52255 + paddsubs.uh pc,pc:b,pc:b
52256 + paddsubs.uh r12,r12:t,r12:t
52257 + paddsubs.uh r5,r5:t,r5:t
52258 + paddsubs.uh r4,r4:b,r4:b
52259 + paddsubs.uh lr,lr:t,lr:t
52260 + paddsubs.uh r9,r2:b,r3:b
52261 + paddsubs.uh sp,sp:b,r7:t
52262 + paddsubs.uh lr,r0:b,r10:t
52264 + .global psubadds_uh
52266 + psubadds.uh pc,pc:b,pc:b
52267 + psubadds.uh r12,r12:t,r12:t
52268 + psubadds.uh r5,r5:t,r5:t
52269 + psubadds.uh r4,r4:b,r4:b
52270 + psubadds.uh lr,lr:t,lr:t
52271 + psubadds.uh r12,r9:t,pc:t
52272 + psubadds.uh r8,r6:b,r8:b
52273 + psubadds.uh r8,r8:b,r4:b
52275 + .global paddsubh_sh
52277 + paddsubh.sh pc,pc:b,pc:b
52278 + paddsubh.sh r12,r12:t,r12:t
52279 + paddsubh.sh r5,r5:t,r5:t
52280 + paddsubh.sh r4,r4:b,r4:b
52281 + paddsubh.sh lr,lr:t,lr:t
52282 + paddsubh.sh r8,r9:t,r9:b
52283 + paddsubh.sh r0,sp:t,r1:t
52284 + paddsubh.sh r3,r1:b,r0:t
52286 + .global psubaddh_sh
52288 + psubaddh.sh pc,pc:b,pc:b
52289 + psubaddh.sh r12,r12:t,r12:t
52290 + psubaddh.sh r5,r5:t,r5:t
52291 + psubaddh.sh r4,r4:b,r4:b
52292 + psubaddh.sh lr,lr:t,lr:t
52293 + psubaddh.sh r7,r3:t,r10:b
52294 + psubaddh.sh r7,r2:t,r1:t
52295 + psubaddh.sh r11,r3:b,r6:b
52300 + padd.b r12,r12,r12
52311 + psub.b r12,r12,r12
52321 + padds.sb pc,pc,pc
52322 + padds.sb r12,r12,r12
52323 + padds.sb r5,r5,r5
52324 + padds.sb r4,r4,r4
52325 + padds.sb lr,lr,lr
52326 + padds.sb sp,r11,r4
52327 + padds.sb r11,r10,r11
52328 + padds.sb r5,r12,r6
52332 + psubs.sb pc,pc,pc
52333 + psubs.sb r12,r12,r12
52334 + psubs.sb r5,r5,r5
52335 + psubs.sb r4,r4,r4
52336 + psubs.sb lr,lr,lr
52337 + psubs.sb r7,r6,r8
52338 + psubs.sb r12,r10,r9
52339 + psubs.sb pc,r11,r0
52343 + padds.ub pc,pc,pc
52344 + padds.ub r12,r12,r12
52345 + padds.ub r5,r5,r5
52346 + padds.ub r4,r4,r4
52347 + padds.ub lr,lr,lr
52348 + padds.ub r3,r2,r11
52349 + padds.ub r10,r8,r1
52350 + padds.ub r11,r8,r10
52354 + psubs.ub pc,pc,pc
52355 + psubs.ub r12,r12,r12
52356 + psubs.ub r5,r5,r5
52357 + psubs.ub r4,r4,r4
52358 + psubs.ub lr,lr,lr
52359 + psubs.ub r0,r2,r7
52360 + psubs.ub lr,r5,r3
52361 + psubs.ub r6,r7,r9
52365 + paddh.ub pc,pc,pc
52366 + paddh.ub r12,r12,r12
52367 + paddh.ub r5,r5,r5
52368 + paddh.ub r4,r4,r4
52369 + paddh.ub lr,lr,lr
52370 + paddh.ub lr,r1,r0
52371 + paddh.ub r2,r7,r7
52372 + paddh.ub r2,r1,r2
52376 + psubh.ub pc,pc,pc
52377 + psubh.ub r12,r12,r12
52378 + psubh.ub r5,r5,r5
52379 + psubh.ub r4,r4,r4
52380 + psubh.ub lr,lr,lr
52381 + psubh.ub r0,r1,r6
52382 + psubh.ub r4,lr,r10
52383 + psubh.ub r9,r8,r1
52388 + pmax.ub r12,r12,r12
52392 + pmax.ub pc,r2,r11
52393 + pmax.ub r12,r1,r1
52399 + pmax.sh r12,r12,r12
52403 + pmax.sh lr,r6,r12
52410 + pmin.ub r12,r12,r12
52421 + pmin.sh r12,r12,r12
52425 + pmin.sh r8,r4,r10
52426 + pmin.sh lr,r10,r12
52432 + pavg.ub r12,r12,r12
52438 + pavg.ub pc,r12,r10
52443 + pavg.sh r12,r12,r12
52520 + pasr.h r12,r12,15
52531 + plsl.h r12,r12,15
52542 + plsr.h r12,r12,15
52552 + packw.sh pc,pc,pc
52553 + packw.sh r12,r12,r12
52554 + packw.sh r5,r5,r5
52555 + packw.sh r4,r4,r4
52556 + packw.sh lr,lr,lr
52557 + packw.sh sp,r11,r10
52558 + packw.sh r8,r2,r12
52559 + packw.sh r8,r1,r5
52561 + .global punpckub_h
52563 + punpckub.h pc,pc:b
52564 + punpckub.h r12,r12:t
52565 + punpckub.h r5,r5:t
52566 + punpckub.h r4,r4:b
52567 + punpckub.h lr,lr:t
52568 + punpckub.h r6,r1:t
52569 + punpckub.h lr,r5:b
52570 + punpckub.h lr,r2:t
52572 + .global punpcksb_h
52574 + punpcksb.h pc,pc:b
52575 + punpcksb.h r12,r12:t
52576 + punpcksb.h r5,r5:t
52577 + punpcksb.h r4,r4:b
52578 + punpcksb.h lr,lr:t
52579 + punpcksb.h r4,r7:t
52580 + punpcksb.h r6,lr:b
52581 + punpcksb.h r12,r12:t
52583 + .global packsh_ub
52585 + packsh.ub pc,pc,pc
52586 + packsh.ub r12,r12,r12
52587 + packsh.ub r5,r5,r5
52588 + packsh.ub r4,r4,r4
52589 + packsh.ub lr,lr,lr
52590 + packsh.ub r3,r6,r3
52591 + packsh.ub r8,r0,r3
52592 + packsh.ub r9,r3,lr
52594 + .global packsh_sb
52596 + packsh.sb pc,pc,pc
52597 + packsh.sb r12,r12,r12
52598 + packsh.sb r5,r5,r5
52599 + packsh.sb r4,r4,r4
52600 + packsh.sb lr,lr,lr
52601 + packsh.sb r6,r8,r1
52602 + packsh.sb lr,r9,r8
52603 + packsh.sb sp,r6,r6
52619 + andl r12,65535,COH
52620 + andl r5,32768,COH
52621 + andl r4,32767,COH
52623 + andl r6,22753,COH
52624 + andl r0,40653,COH
52625 + andl r4,48580,COH
52641 + andh r12,65535,COH
52642 + andh r5,32768,COH
52643 + andh r4,32767,COH
52645 + andh r11,34317,COH
52646 + andh r8,52982,COH
52647 + andh r10,23683,COH
52697 + mcall r5[-131072]
52719 + cache r5[-1024],16
52720 + cache r4[1023],15
52722 + cache r3[-964],17
52723 + cache r4[-375],22
52724 + cache r3[-888],17
52792 + .global satsub_w2
52795 + satsub.w r12,r12,-1
52796 + satsub.w r5,r5,-32768
52797 + satsub.w r4,r4,32767
52799 + satsub.w r2,lr,-2007
52800 + satsub.w r7,r12,-784
52801 + satsub.w r4,r7,23180
52807 + ld.d r8,r5[-32768]
52808 + ld.d r6,r4[32767]
52810 + ld.d r14,r11[14784]
52811 + ld.d r6,r9[-18905]
52812 + ld.d r2,r3[-6355]
52818 + ld.w r5,r5[-32768]
52819 + ld.w r4,r4[32767]
52821 + ld.w r0,r12[-22133]
52822 + ld.w sp,pc[-20521]
52823 + /* ld.w r3,r5[29035] */
52829 + ld.sh r12,r12[-1]
52830 + ld.sh r5,r5[-32768]
52831 + ld.sh r4,r4[32767]
52833 + ld.sh r6,r10[30930]
52834 + ld.sh r6,r10[21973]
52835 + /* ld.sh r11,r10[-2058] */
52841 + ld.uh r12,r12[-1]
52842 + ld.uh r5,r5[-32768]
52843 + ld.uh r4,r4[32767]
52845 + ld.uh r1,r9[-13354]
52846 + ld.uh lr,r11[21337]
52847 + /* ld.uh r2,lr[-25370] */
52853 + ld.sb r12,r12[-1]
52854 + ld.sb r5,r5[-32768]
52855 + ld.sb r4,r4[32767]
52857 + ld.sb r7,sp[-28663]
52858 + ld.sb r2,r1[-5879]
52859 + ld.sb r12,r3[18734]
52864 + ld.ub r12,r12[-1]
52865 + ld.ub r5,r5[-32768]
52866 + ld.ub r4,r4[32767]
52868 + ld.ub pc,r4[8277]
52869 + ld.ub r5,r12[19172]
52870 + ld.ub r10,lr[26347]
52876 + st.d r5[-32768],r8
52877 + st.d r4[32767],r6
52879 + st.d r5[13200],r10
52880 + st.d r5[9352],r10
52881 + st.d r5[32373],r4
52887 + st.w r5[-32768],r5
52888 + st.w r4[32767],r4
52891 + st.w r6[27087],r12
52892 + /* st.w r3[20143],r7 */
52899 + st.h r5[-32768],r5
52900 + st.h r4[32767],r4
52902 + st.h r4[-9962],r7
52903 + st.h r9[-16250],r3
52904 + /* st.h r8[-28810],r7 */
52911 + st.b r5[-32768],r5
52912 + st.b r4[32767],r4
52914 + st.b r12[30102],r6
52915 + st.b r5[28977],r1
53031 + satrnds r12>>31,31
53032 + satrnds r5>>16,16
53033 + satrnds r4>>15,15
53035 + satrnds r0>>21,19
53042 + satrndu r12>>31,31
53043 + satrndu r5>>16,16
53044 + satrndu r4>>15,15
53046 + satrndu r12>>0,26
53048 + satrndu r10>>3,16
53105 + ldm r11,r2-r3,r5-r8,r15
53106 + ldm r6,r0,r3,r9,r13,r15
53115 + ldm r12++,r3-r5,r8,r10,r12,r14-r15
53116 + ldm r10++,r2,r4-r6,r14-r15
53117 + ldm r6++,r1,r3-r4,r9-r14
53126 + ldmts r0,r1-r2,r11-r12
53127 + ldmts lr,r0-r2,r4,r7-r8,r13-r14
53128 + ldmts r12,r0-r1,r3-r5,r9,r14-r15
53133 + ldmts r12++,r0-r15
53135 + ldmts r4++,r0-r14
53137 + ldmts sp++,r0,r2-r5,r7,r9,r11
53138 + ldmts r5++,r1-r3,r7,r10-r11
53139 + ldmts r8++,r2-r4,r7-r8,r13,r15
53148 + stm sp,r2-r3,r5,r8,r11,r14
53149 + stm r4,r0-r4,r6,r10-r11,r14
53150 + stm r9,r1,r5,r9,r12-r15
53159 + stm --r11,r0,r4-r9,r11-r15
53160 + stm --r11,r0,r3,r9-r10,r12,r14
53161 + stm --r6,r2,r8-r9,r13-r14
53170 + stmts r1,r0-r1,r3-r4,r6,r9-r10,r14-r15
53171 + stmts r3,r0,r6-r8,r10-r12
53172 + stmts r11,r0,r4,r6-r7,r9-r10,r12,r14-r15
53177 + stmts --r12,r0-r15
53179 + stmts --r4,r0-r14
53181 + stmts --r2,r0,r3-r4,r9-r10,r12-r13
53182 + stmts --r3,r0-r1,r14-r15
53183 + stmts --r0,r0,r2-r6,r10,r14
53187 + ldins.h pc:b,pc[0]
53188 + ldins.h r12:t,r12[-2]
53189 + ldins.h r5:t,r5[-4096]
53190 + ldins.h r4:b,r4[4094]
53191 + ldins.h lr:t,lr[2]
53192 + ldins.h r0:t,lr[1930]
53193 + ldins.h r3:b,r7[-534]
53194 + ldins.h r2:b,r12[-2252]
53198 + ldins.b pc:b,pc[0]
53199 + ldins.b r12:t,r12[-1]
53200 + ldins.b r5:u,r5[-2048]
53201 + ldins.b r4:l,r4[2047]
53202 + ldins.b lr:l,lr[1]
53203 + ldins.b r6:t,r4[-662]
53204 + ldins.b r5:b,r1[-151]
53205 + ldins.b r10:t,r11[-1923]
53209 + ldswp.sh pc,pc[0]
53210 + ldswp.sh r12,r12[-2]
53211 + ldswp.sh r5,r5[-4096]
53212 + ldswp.sh r4,r4[4094]
53213 + ldswp.sh lr,lr[2]
53214 + ldswp.sh r9,r10[3848]
53215 + ldswp.sh r4,r12[-2040]
53216 + ldswp.sh r10,r2[3088]
53220 + ldswp.uh pc,pc[0]
53221 + ldswp.uh r12,r12[-2]
53222 + ldswp.uh r5,r5[-4096]
53223 + ldswp.uh r4,r4[4094]
53224 + ldswp.uh lr,lr[2]
53225 + ldswp.uh r4,r9[3724]
53226 + ldswp.uh lr,sp[-1672]
53227 + ldswp.uh r8,r12[-3846]
53232 + ldswp.w r12,r12[-4]
53233 + ldswp.w r5,r5[-8192]
53234 + ldswp.w r4,r4[8188]
53236 + ldswp.w sp,r7[1860]
53237 + ldswp.w pc,r5[-3324]
53238 + ldswp.w r12,r10[-3296]
53243 + stswp.h r12[-2],r12
53244 + stswp.h r5[-4096],r5
53245 + stswp.h r4[4094],r4
53247 + stswp.h r7[64],r10
53248 + stswp.h r10[3024],r2
53249 + stswp.h r0[-2328],r10
53254 + stswp.w r12[-4],r12
53255 + stswp.w r5[-8192],r5
53256 + stswp.w r4[8188],r4
53258 + stswp.w pc[1156],r8
53259 + stswp.w sp[7992],r10
53260 + stswp.w r8[-1172],r5
53265 + and r12,r12,r12<<31
53270 + and r12,r8,r11<<27
53276 + and r12,r12,r12>>31
53280 + and r12,r8,r7>>17
53282 + and r10,r9,r10>>12
53287 + or r12,r12,r12<<31
53298 + or r12,r12,r12>>31
53309 + eor r12,r12,r12<<31
53313 + eor r10,r9,r4<<11
53315 + eor r6,r2,r12<<13
53320 + eor r12,r12,r12>>31
53330 + sthh.w pc[pc<<0],pc:b,pc:b
53331 + sthh.w r12[r12<<3],r12:t,r12:t
53332 + sthh.w r5[r5<<2],r5:t,r5:t
53333 + sthh.w r4[r4<<1],r4:b,r4:b
53334 + sthh.w lr[lr<<1],lr:t,lr:t
53335 + sthh.w sp[r6<<3],r1:t,r12:t
53336 + sthh.w r6[r6<<0],r9:t,r9:t
53337 + sthh.w r10[r3<<0],r0:b,r11:t
53341 + sthh.w pc[0],pc:b,pc:b
53342 + sthh.w r12[1020],r12:t,r12:t
53343 + sthh.w r5[512],r5:t,r5:t
53344 + sthh.w r4[508],r4:b,r4:b
53345 + sthh.w lr[4],lr:t,lr:t
53346 + sthh.w r4[404],r9:t,r0:b
53347 + sthh.w r8[348],r2:t,r10:b
53348 + sthh.w sp[172],r9:b,r2:b
53352 + cop cp0,cr0,cr0,cr0,0
53353 + cop cp7,cr15,cr15,cr15,0x7f
53354 + cop cp3,cr5,cr5,cr5,0x31
53355 + cop cp2,cr4,cr4,cr4,0x30
53356 + cop cp5,cr8,cr3,cr7,0x5a
53360 + ldc.w cp0,cr0,r0[0]
53361 + ldc.w cp7,cr15,pc[255<<2]
53362 + ldc.w cp3,cr5,r5[128<<2]
53363 + ldc.w cp2,cr4,r4[127<<2]
53364 + ldc.w cp4,cr9,r13[36<<2]
53368 + ldc.w cp0,cr0,--r0
53369 + ldc.w cp7,cr15,--pc
53370 + ldc.w cp3,cr5,--r5
53371 + ldc.w cp2,cr4,--r4
53372 + ldc.w cp4,cr9,--r13
53376 + ldc.w cp0,cr0,r0[r0]
53377 + ldc.w cp7,cr15,pc[pc<<3]
53378 + ldc.w cp3,cr5,r5[r4<<2]
53379 + ldc.w cp2,cr4,r4[r3<<1]
53380 + ldc.w cp4,cr9,r13[r12<<0]
53384 + ldc.d cp0,cr0,r0[0]
53385 + ldc.d cp7,cr14,pc[255<<2]
53386 + ldc.d cp3,cr6,r5[128<<2]
53387 + ldc.d cp2,cr4,r4[127<<2]
53388 + ldc.d cp4,cr8,r13[36<<2]
53392 + ldc.d cp0,cr0,--r0
53393 + ldc.d cp7,cr14,--pc
53394 + ldc.d cp3,cr6,--r5
53395 + ldc.d cp2,cr4,--r4
53396 + ldc.d cp4,cr8,--r13
53400 + ldc.d cp0,cr0,r0[r0]
53401 + ldc.d cp7,cr14,pc[pc<<3]
53402 + ldc.d cp3,cr6,r5[r4<<2]
53403 + ldc.d cp2,cr4,r4[r3<<1]
53404 + ldc.d cp4,cr8,r13[r12<<0]
53408 + stc.w cp0,r0[0],cr0
53409 + stc.w cp7,pc[255<<2],cr15
53410 + stc.w cp3,r5[128<<2],cr5
53411 + stc.w cp2,r4[127<<2],cr4
53412 + stc.w cp4,r13[36<<2],cr9
53416 + stc.w cp0,r0++,cr0
53417 + stc.w cp7,pc++,cr15
53418 + stc.w cp3,r5++,cr5
53419 + stc.w cp2,r4++,cr4
53420 + stc.w cp4,r13++,cr9
53424 + stc.w cp0,r0[r0],cr0
53425 + stc.w cp7,pc[pc<<3],cr15
53426 + stc.w cp3,r5[r4<<2],cr5
53427 + stc.w cp2,r4[r3<<1],cr4
53428 + stc.w cp4,r13[r12<<0],cr9
53432 + stc.d cp0,r0[0],cr0
53433 + stc.d cp7,pc[255<<2],cr14
53434 + stc.d cp3,r5[128<<2],cr6
53435 + stc.d cp2,r4[127<<2],cr4
53436 + stc.d cp4,r13[36<<2],cr8
53440 + stc.d cp0,r0++,cr0
53441 + stc.d cp7,pc++,cr14
53442 + stc.d cp3,r5++,cr6
53443 + stc.d cp2,r4++,cr4
53444 + stc.d cp4,r13++,cr8
53448 + stc.d cp0,r0[r0],cr0
53449 + stc.d cp7,pc[pc<<3],cr14
53450 + stc.d cp3,r5[r4<<2],cr6
53451 + stc.d cp2,r4[r3<<1],cr4
53452 + stc.d cp4,r13[r12<<0],cr8
53457 + ldc0.w cr15,pc[4095<<2]
53458 + ldc0.w cr5,r5[2048<<2]
53459 + ldc0.w cr4,r4[2047<<2]
53460 + ldc0.w cr9,r13[147<<2]
53465 + ldc0.d cr14,pc[4095<<2]
53466 + ldc0.d cr6,r5[2048<<2]
53467 + ldc0.d cr4,r4[2047<<2]
53468 + ldc0.d cr8,r13[147<<2]
53473 + stc0.w pc[4095<<2],cr15
53474 + stc0.w r5[2048<<2],cr5
53475 + stc0.w r4[2047<<2],cr4
53476 + stc0.w r13[147<<2],cr9
53481 + stc0.d pc[4095<<2],cr14
53482 + stc0.d r5[2048<<2],cr6
53483 + stc0.d r4[2047<<2],cr4
53484 + stc0.d r13[147<<2],cr8
53511 + stcond pc[-1], pc
53512 + stcond r8[-32768], r7
53513 + stcond r7[32767], r8
53514 + stcond r5[0x1234], r10
53517 + ldcm.w cp0,pc,cr0-cr7
53518 + ldcm.w cp7,r0,cr0
53519 + ldcm.w cp4,r4++,cr0-cr6
53520 + ldcm.w cp3,r7,cr7
53521 + ldcm.w cp1,r12++,cr1,cr4-cr6
53522 + ldcm.w cp0,pc,cr8-cr15
53523 + ldcm.w cp7,r0,cr8
53524 + ldcm.w cp4,r4++,cr8-cr14
53525 + ldcm.w cp3,r7,cr15
53526 + ldcm.w cp1,r12++,cr9,cr12-cr14
53529 + ldcm.d cp0,pc,cr0-cr15
53530 + ldcm.d cp7,r0,cr0,cr1
53531 + ldcm.d cp4,r4++,cr0-cr13
53532 + ldcm.d cp3,r7,cr14-cr15
53533 + ldcm.d cp2,r12++,cr0-cr3,cr8-cr9,cr14-cr15
53536 + stcm.w cp0,pc,cr0-cr7
53537 + stcm.w cp7,r0,cr0
53538 + stcm.w cp4,--r4,cr0-cr6
53539 + stcm.w cp3,r7,cr7
53540 + stcm.w cp1,--r12,cr1,cr4-cr6
53541 + stcm.w cp0,pc,cr8-cr15
53542 + stcm.w cp7,r0,cr8
53543 + stcm.w cp4,--r4,cr8-cr14
53544 + stcm.w cp3,r7,cr15
53545 + stcm.w cp1,--r12,cr9,cr12-cr14
53548 + stcm.d cp0,pc,cr0-cr15
53549 + stcm.d cp7,r0,cr0,cr1
53550 + stcm.d cp4,--r4,cr0-cr13
53551 + stcm.d cp3,r7,cr14-cr15
53552 + stcm.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
53555 + mvcr.w cp7,pc,cr15
53556 + mvcr.w cp0,r0,cr0
53557 + mvcr.w cp0,pc,cr15
53558 + mvcr.w cp7,r0,cr15
53559 + mvcr.w cp7,pc,cr0
53560 + mvcr.w cp4,r7,cr8
53561 + mvcr.w cp3,r8,cr7
53564 + mvcr.d cp7,lr,cr14
53565 + mvcr.d cp0,r0,cr0
53566 + mvcr.d cp0,lr,cr14
53567 + mvcr.d cp7,r0,cr14
53568 + mvcr.d cp7,lr,cr0
53569 + mvcr.d cp4,r6,cr8
53570 + mvcr.d cp3,r8,cr6
53573 + mvrc.w cp7,cr15,pc
53574 + mvrc.w cp0,cr0,r0
53575 + mvrc.w cp0,cr15,pc
53576 + mvrc.w cp7,cr15,r0
53577 + mvrc.w cp7,cr0,pc
53578 + mvrc.w cp4,cr8,r7
53579 + mvrc.w cp3,cr7,r8
53582 + mvrc.d cp7,cr14,lr
53583 + mvrc.d cp0,cr0,r0
53584 + mvrc.d cp0,cr14,lr
53585 + mvrc.d cp7,cr14,r0
53586 + mvrc.d cp7,cr0,lr
53587 + mvrc.d cp4,cr8,r6
53588 + mvrc.d cp3,cr6,r8
53591 + bfexts pc,pc,31,31
53593 + bfexts r0,pc,31,31
53594 + bfexts pc,r0,31,31
53595 + bfexts pc,pc,0,31
53596 + bfexts pc,pc,31,0
53597 + bfexts r7,r8,15,16
53598 + bfexts r8,r7,16,15
53601 + bfextu pc,pc,31,31
53603 + bfextu r0,pc,31,31
53604 + bfextu pc,r0,31,31
53605 + bfextu pc,pc,0,31
53606 + bfextu pc,pc,31,0
53607 + bfextu r7,r8,15,16
53608 + bfextu r8,r7,16,15
53611 + bfins pc,pc,31,31
53613 + bfins r0,pc,31,31
53614 + bfins pc,r0,31,31
53617 + bfins r7,r8,15,16
53618 + bfins r8,r7,16,15
53620 +++ b/gas/testsuite/gas/avr32/avr32.exp
53622 +# AVR32 assembler testsuite. -*- Tcl -*-
53624 +if [istarget avr32-*-*] {
53625 + run_dump_test "hwrd-lwrd"
53626 + run_dump_test "pcrel"
53627 + run_dump_test "aliases"
53628 + run_dump_test "dwarf2"
53629 + run_dump_test "pic_reloc"
53630 + run_dump_test "fpinsn"
53631 + run_dump_test "pico"
53632 + run_dump_test "lda_pic"
53633 + run_dump_test "lda_pic_linkrelax"
53634 + run_dump_test "lda_nopic"
53635 + run_dump_test "lda_nopic_linkrelax"
53636 + run_dump_test "call_pic"
53637 + run_dump_test "call_pic_linkrelax"
53638 + run_dump_test "call_nopic"
53639 + run_dump_test "call_nopic_linkrelax"
53640 + run_dump_test "jmptable"
53641 + run_dump_test "jmptable_linkrelax"
53642 + run_dump_test "symdiff"
53643 + run_dump_test "symdiff_linkrelax"
53646 +++ b/gas/testsuite/gas/avr32/call_nopic.d
53653 +.*: +file format .*
53655 +Disassembly of section \.text:
53657 +00000000 <call_test>:
53660 +00000002 <toofar_negative>:
53662 + 1ffffe: 00 00 add r0,r0
53663 + 200000: f0 a0 00 00 rcall 0 <call_test>
53664 + 200004: f0 1f 00 0c mcall 200034 <toofar_negative\+0x200032>
53665 + 200008: f0 1f 00 0c mcall 200038 <toofar_negative\+0x200036>
53666 + 20000c: f0 1f 00 0c mcall 20003c <toofar_negative\+0x20003a>
53667 + 200010: f0 1f 00 0c mcall 200040 <toofar_negative\+0x20003e>
53669 + 200030: ee b0 ff ff rcall 40002e <far_positive>
53671 + 200034: R_AVR32_32_CPENT \.text\+0x2
53672 + 200038: R_AVR32_32_CPENT \.text\.init
53673 + 20003c: R_AVR32_32_CPENT undefined
53674 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
53676 +0040002c <toofar_positive>:
53677 + 40002c: d7 03 nop
53678 +0040002e <far_positive>:
53679 + 40002e: d7 03 nop
53680 +Disassembly of section \.text\.init:
53682 +00000000 <different_section>:
53683 + 0: e2 c0 00 00 sub r0,r1,0
53685 +++ b/gas/testsuite/gas/avr32/call_nopic_linkrelax.d
53690 +#name: call_nopic_linkrelax
53692 +.*: +file format .*
53694 +Disassembly of section \.text:
53696 +00000000 <call_test>:
53699 +00000002 <toofar_negative>:
53701 + 1ffffe: 00 00 add r0,r0
53702 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
53703 + 200000: R_AVR32_22H_PCREL \.text
53704 + 200004: f0 1f 00 00 mcall 200004 <toofar_negative\+0x200002>
53705 + 200004: R_AVR32_CPCALL \.text\+0x200034
53706 + 200008: f0 1f 00 00 mcall 200008 <toofar_negative\+0x200006>
53707 + 200008: R_AVR32_CPCALL \.text\+0x200038
53708 + 20000c: f0 1f 00 00 mcall 20000c <toofar_negative\+0x20000a>
53709 + 20000c: R_AVR32_CPCALL \.text\+0x20003c
53710 + 200010: f0 1f 00 00 mcall 200010 <toofar_negative\+0x20000e>
53711 + 200010: R_AVR32_CPCALL \.text\+0x200040
53713 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
53714 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
53716 + 200034: R_AVR32_ALIGN \*ABS\*\+0x2
53717 + 200034: R_AVR32_32_CPENT \.text\+0x2
53718 + 200038: R_AVR32_32_CPENT \.text\.init
53719 + 20003c: R_AVR32_32_CPENT undefined
53720 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
53722 +0040002c <toofar_positive>:
53723 + 40002c: d7 03 nop
53724 +0040002e <far_positive>:
53725 + 40002e: d7 03 nop
53726 +Disassembly of section \.text\.init:
53728 +00000000 <different_section>:
53729 + 0: e2 c0 00 00 sub r0,r1,0
53731 +++ b/gas/testsuite/gas/avr32/call_pic.d
53738 +.*: +file format .*
53740 +Disassembly of section \.text:
53742 +00000000 <call_test>:
53745 +00000002 <toofar_negative>:
53747 + 1ffffe: 00 00 add r0,r0
53748 + 200000: f0 a0 00 00 rcall 0 <call_test>
53749 + 200004: f0 16 00 00 mcall r6\[0\]
53750 + 200004: R_AVR32_GOT18SW toofar_negative
53751 + 200008: f0 16 00 00 mcall r6\[0\]
53752 + 200008: R_AVR32_GOT18SW different_section
53753 + 20000c: f0 16 00 00 mcall r6\[0\]
53754 + 20000c: R_AVR32_GOT18SW undefined
53755 + 200010: f0 16 00 00 mcall r6\[0\]
53756 + 200010: R_AVR32_GOT18SW toofar_positive
53758 + 200030: ee b0 ff ff rcall 40002e <far_positive>
53761 +0040002c <toofar_positive>:
53762 + 40002c: d7 03 nop
53763 +0040002e <far_positive>:
53764 + 40002e: d7 03 nop
53765 +Disassembly of section \.text\.init:
53767 +00000000 <different_section>:
53768 + 0: e2 c0 00 00 sub r0,r1,0
53770 +++ b/gas/testsuite/gas/avr32/call_pic_linkrelax.d
53773 +#as: --pic --linkrelax
53775 +#name: call_pic_linkrelax
53777 +.*: +file format .*
53779 +Disassembly of section \.text:
53781 +00000000 <call_test>:
53784 +00000002 <toofar_negative>:
53786 + 1ffffe: 00 00 add r0,r0
53787 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
53788 + 200000: R_AVR32_22H_PCREL \.text
53789 + 200004: e0 6e 00 00 mov lr,0
53790 + 200004: R_AVR32_GOTCALL toofar_negative
53791 + 200008: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53792 + 20000c: 5d 1e icall lr
53793 + 20000e: e0 6e 00 00 mov lr,0
53794 + 20000e: R_AVR32_GOTCALL different_section
53795 + 200012: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53796 + 200016: 5d 1e icall lr
53797 + 200018: e0 6e 00 00 mov lr,0
53798 + 200018: R_AVR32_GOTCALL undefined
53799 + 20001c: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53800 + 200020: 5d 1e icall lr
53801 + 200022: e0 6e 00 00 mov lr,0
53802 + 200022: R_AVR32_GOTCALL toofar_positive
53803 + 200026: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53804 + 20002a: 5d 1e icall lr
53805 + 20002c: 00 00 add r0,r0
53806 + 20002e: 00 00 add r0,r0
53807 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
53808 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
53811 +0040002c <toofar_positive>:
53812 + 40002c: d7 03 nop
53813 +0040002e <far_positive>:
53814 + 40002e: d7 03 nop
53815 +Disassembly of section \.text\.init:
53817 +00000000 <different_section>:
53818 + 0: e2 c0 00 00 sub r0,r1,0
53820 +++ b/gas/testsuite/gas/avr32/call.s
53824 + .global call_test
53832 + call far_negative
53833 + call toofar_negative
53834 + call different_section
53836 + call toofar_positive
53838 + call far_positive
53849 + .section .text.init,"ax",@progbits
53850 +different_section:
53853 +++ b/gas/testsuite/gas/avr32/dwarf2.d
53859 +Dump of debug contents of section \.debug_line:
53863 + Prologue Length: 26
53864 + Minimum Instruction Length: 1
53865 + Initial value of 'is_stmt': 1
53869 + \(Pointer size: 4\)
53872 + Opcode 1 has 0 args
53873 + Opcode 2 has 1 args
53874 + Opcode 3 has 1 args
53875 + Opcode 4 has 1 args
53876 + Opcode 5 has 1 args
53877 + Opcode 6 has 0 args
53878 + Opcode 7 has 0 args
53879 + Opcode 8 has 0 args
53880 + Opcode 9 has 1 args
53882 + The Directory Table is empty\.
53884 + The File Name Table:
53885 + Entry Dir Time Size Name
53888 + Line Number Statements:
53889 + Extended opcode 2: set Address to 0x0
53890 + Advance Line by 87 to 88
53892 + Advance Line by 23 to 111
53893 + Special opcode .*: advance Address by 4 to 0x4 and Line by 0 to 111
53894 + Special opcode .*: advance Address by 10 to 0xe and Line by 1 to 112
53895 + Advance PC by 530 to 220
53896 + Extended opcode 1: End of Sequence
53898 +++ b/gas/testsuite/gas/avr32/dwarf2.s
53900 +# Source file used to test DWARF2 information for AVR32.
53904 + .section .debug_abbrev,"",@progbits
53906 + .section .debug_info,"",@progbits
53908 + .section .debug_line,"",@progbits
53914 + .type main, @function
53940 + .size main, . - main
53944 + .section .debug_info
53945 + .int .Ledebug_info0 - .Ldebug_info0 // size
53946 + .short 2 // version
53947 + .int .Ldebug_abbrev0 // abbrev offset
53948 + .byte 4 // bytes per addr
53950 + .uleb128 1 // abbrev 1
53951 + .int .Ldebug_line0 // DW_AT_stmt_list
53952 + .int .Letext0 // DW_AT_high_pc
53953 + .int .Ltext0 // DW_AT_low_pc
53957 + .section .debug_abbrev
53959 + .uleb128 0x11 // DW_TAG_compile_unit
53960 + .byte 0 // DW_CHILDREN_no
53961 + .uleb128 0x10, 0x6 // DW_AT_stmt_list
53962 + .uleb128 0x12, 0x1 // DW_AT_high_pc
53963 + .uleb128 0x11, 0x1 // DW_AT_low_pc
53968 +++ b/gas/testsuite/gas/avr32/fpinsn.d
53974 +.*: +file format .*
53976 +Disassembly of section \.text:
53978 +[0-9a-f]* <fadd_s>:
53979 + *[0-9a-f]*: e1 a2 0f ff cop cp0,cr15,cr15,cr15,0x4
53980 + *[0-9a-f]*: e1 a2 00 00 cop cp0,cr0,cr0,cr0,0x4
53981 + *[0-9a-f]*: e1 a2 00 ff cop cp0,cr0,cr15,cr15,0x4
53982 + *[0-9a-f]*: e1 a2 0f 0f cop cp0,cr15,cr0,cr15,0x4
53983 + *[0-9a-f]*: e1 a2 0f f0 cop cp0,cr15,cr15,cr0,0x4
53984 + *[0-9a-f]*: e1 a2 07 88 cop cp0,cr7,cr8,cr8,0x4
53985 + *[0-9a-f]*: e1 a2 08 78 cop cp0,cr8,cr7,cr8,0x4
53986 + *[0-9a-f]*: e1 a2 08 87 cop cp0,cr8,cr8,cr7,0x4
53988 +[0-9a-f]* <fsub_s>:
53989 + *[0-9a-f]*: e1 a2 1f ff cop cp0,cr15,cr15,cr15,0x5
53990 + *[0-9a-f]*: e1 a2 10 00 cop cp0,cr0,cr0,cr0,0x5
53991 + *[0-9a-f]*: e1 a2 10 ff cop cp0,cr0,cr15,cr15,0x5
53992 + *[0-9a-f]*: e1 a2 1f 0f cop cp0,cr15,cr0,cr15,0x5
53993 + *[0-9a-f]*: e1 a2 1f f0 cop cp0,cr15,cr15,cr0,0x5
53994 + *[0-9a-f]*: e1 a2 17 88 cop cp0,cr7,cr8,cr8,0x5
53995 + *[0-9a-f]*: e1 a2 18 78 cop cp0,cr8,cr7,cr8,0x5
53996 + *[0-9a-f]*: e1 a2 18 87 cop cp0,cr8,cr8,cr7,0x5
53998 +[0-9a-f]* <fmac_s>:
53999 + *[0-9a-f]*: e1 a0 0f ff cop cp0,cr15,cr15,cr15,0x0
54000 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
54001 + *[0-9a-f]*: e1 a0 00 ff cop cp0,cr0,cr15,cr15,0x0
54002 + *[0-9a-f]*: e1 a0 0f 0f cop cp0,cr15,cr0,cr15,0x0
54003 + *[0-9a-f]*: e1 a0 0f f0 cop cp0,cr15,cr15,cr0,0x0
54004 + *[0-9a-f]*: e1 a0 07 88 cop cp0,cr7,cr8,cr8,0x0
54005 + *[0-9a-f]*: e1 a0 08 78 cop cp0,cr8,cr7,cr8,0x0
54006 + *[0-9a-f]*: e1 a0 08 87 cop cp0,cr8,cr8,cr7,0x0
54008 +[0-9a-f]* <fnmac_s>:
54009 + *[0-9a-f]*: e1 a0 1f ff cop cp0,cr15,cr15,cr15,0x1
54010 + *[0-9a-f]*: e1 a0 10 00 cop cp0,cr0,cr0,cr0,0x1
54011 + *[0-9a-f]*: e1 a0 10 ff cop cp0,cr0,cr15,cr15,0x1
54012 + *[0-9a-f]*: e1 a0 1f 0f cop cp0,cr15,cr0,cr15,0x1
54013 + *[0-9a-f]*: e1 a0 1f f0 cop cp0,cr15,cr15,cr0,0x1
54014 + *[0-9a-f]*: e1 a0 17 88 cop cp0,cr7,cr8,cr8,0x1
54015 + *[0-9a-f]*: e1 a0 18 78 cop cp0,cr8,cr7,cr8,0x1
54016 + *[0-9a-f]*: e1 a0 18 87 cop cp0,cr8,cr8,cr7,0x1
54018 +[0-9a-f]* <fmsc_s>:
54019 + *[0-9a-f]*: e1 a1 0f ff cop cp0,cr15,cr15,cr15,0x2
54020 + *[0-9a-f]*: e1 a1 00 00 cop cp0,cr0,cr0,cr0,0x2
54021 + *[0-9a-f]*: e1 a1 00 ff cop cp0,cr0,cr15,cr15,0x2
54022 + *[0-9a-f]*: e1 a1 0f 0f cop cp0,cr15,cr0,cr15,0x2
54023 + *[0-9a-f]*: e1 a1 0f f0 cop cp0,cr15,cr15,cr0,0x2
54024 + *[0-9a-f]*: e1 a1 07 88 cop cp0,cr7,cr8,cr8,0x2
54025 + *[0-9a-f]*: e1 a1 08 78 cop cp0,cr8,cr7,cr8,0x2
54026 + *[0-9a-f]*: e1 a1 08 87 cop cp0,cr8,cr8,cr7,0x2
54028 +[0-9a-f]* <fnmsc_s>:
54029 + *[0-9a-f]*: e1 a1 1f ff cop cp0,cr15,cr15,cr15,0x3
54030 + *[0-9a-f]*: e1 a1 10 00 cop cp0,cr0,cr0,cr0,0x3
54031 + *[0-9a-f]*: e1 a1 10 ff cop cp0,cr0,cr15,cr15,0x3
54032 + *[0-9a-f]*: e1 a1 1f 0f cop cp0,cr15,cr0,cr15,0x3
54033 + *[0-9a-f]*: e1 a1 1f f0 cop cp0,cr15,cr15,cr0,0x3
54034 + *[0-9a-f]*: e1 a1 17 88 cop cp0,cr7,cr8,cr8,0x3
54035 + *[0-9a-f]*: e1 a1 18 78 cop cp0,cr8,cr7,cr8,0x3
54036 + *[0-9a-f]*: e1 a1 18 87 cop cp0,cr8,cr8,cr7,0x3
54038 +[0-9a-f]* <fmul_s>:
54039 + *[0-9a-f]*: e1 a3 0f ff cop cp0,cr15,cr15,cr15,0x6
54040 + *[0-9a-f]*: e1 a3 00 00 cop cp0,cr0,cr0,cr0,0x6
54041 + *[0-9a-f]*: e1 a3 00 ff cop cp0,cr0,cr15,cr15,0x6
54042 + *[0-9a-f]*: e1 a3 0f 0f cop cp0,cr15,cr0,cr15,0x6
54043 + *[0-9a-f]*: e1 a3 0f f0 cop cp0,cr15,cr15,cr0,0x6
54044 + *[0-9a-f]*: e1 a3 07 88 cop cp0,cr7,cr8,cr8,0x6
54045 + *[0-9a-f]*: e1 a3 08 78 cop cp0,cr8,cr7,cr8,0x6
54046 + *[0-9a-f]*: e1 a3 08 87 cop cp0,cr8,cr8,cr7,0x6
54048 +[0-9a-f]* <fnmul_s>:
54049 + *[0-9a-f]*: e1 a3 1f ff cop cp0,cr15,cr15,cr15,0x7
54050 + *[0-9a-f]*: e1 a3 10 00 cop cp0,cr0,cr0,cr0,0x7
54051 + *[0-9a-f]*: e1 a3 10 ff cop cp0,cr0,cr15,cr15,0x7
54052 + *[0-9a-f]*: e1 a3 1f 0f cop cp0,cr15,cr0,cr15,0x7
54053 + *[0-9a-f]*: e1 a3 1f f0 cop cp0,cr15,cr15,cr0,0x7
54054 + *[0-9a-f]*: e1 a3 17 88 cop cp0,cr7,cr8,cr8,0x7
54055 + *[0-9a-f]*: e1 a3 18 78 cop cp0,cr8,cr7,cr8,0x7
54056 + *[0-9a-f]*: e1 a3 18 87 cop cp0,cr8,cr8,cr7,0x7
54058 +[0-9a-f]* <fneg_s>:
54059 + *[0-9a-f]*: e1 a4 0f f0 cop cp0,cr15,cr15,cr0,0x8
54060 + *[0-9a-f]*: e1 a4 00 00 cop cp0,cr0,cr0,cr0,0x8
54061 + *[0-9a-f]*: e1 a4 00 f0 cop cp0,cr0,cr15,cr0,0x8
54062 + *[0-9a-f]*: e1 a4 0f 00 cop cp0,cr15,cr0,cr0,0x8
54063 + *[0-9a-f]*: e1 a4 07 80 cop cp0,cr7,cr8,cr0,0x8
54064 + *[0-9a-f]*: e1 a4 08 70 cop cp0,cr8,cr7,cr0,0x8
54066 +[0-9a-f]* <fabs_s>:
54067 + *[0-9a-f]*: e1 a4 1f f0 cop cp0,cr15,cr15,cr0,0x9
54068 + *[0-9a-f]*: e1 a4 10 00 cop cp0,cr0,cr0,cr0,0x9
54069 + *[0-9a-f]*: e1 a4 10 f0 cop cp0,cr0,cr15,cr0,0x9
54070 + *[0-9a-f]*: e1 a4 1f 00 cop cp0,cr15,cr0,cr0,0x9
54071 + *[0-9a-f]*: e1 a4 17 80 cop cp0,cr7,cr8,cr0,0x9
54072 + *[0-9a-f]*: e1 a4 18 70 cop cp0,cr8,cr7,cr0,0x9
54074 +[0-9a-f]* <fcmp_s>:
54075 + *[0-9a-f]*: e1 a6 10 ff cop cp0,cr0,cr15,cr15,0xd
54076 + *[0-9a-f]*: e1 a6 10 00 cop cp0,cr0,cr0,cr0,0xd
54077 + *[0-9a-f]*: e1 a6 10 0f cop cp0,cr0,cr0,cr15,0xd
54078 + *[0-9a-f]*: e1 a6 10 f0 cop cp0,cr0,cr15,cr0,0xd
54079 + *[0-9a-f]*: e1 a6 10 78 cop cp0,cr0,cr7,cr8,0xd
54080 + *[0-9a-f]*: e1 a6 10 87 cop cp0,cr0,cr8,cr7,0xd
54082 +[0-9a-f]* <fadd_d>:
54083 + *[0-9a-f]*: e5 a2 0e ee cop cp0,cr14,cr14,cr14,0x44
54084 + *[0-9a-f]*: e5 a2 00 00 cop cp0,cr0,cr0,cr0,0x44
54085 + *[0-9a-f]*: e5 a2 00 ee cop cp0,cr0,cr14,cr14,0x44
54086 + *[0-9a-f]*: e5 a2 0e 0e cop cp0,cr14,cr0,cr14,0x44
54087 + *[0-9a-f]*: e5 a2 0e e0 cop cp0,cr14,cr14,cr0,0x44
54088 + *[0-9a-f]*: e5 a2 06 88 cop cp0,cr6,cr8,cr8,0x44
54089 + *[0-9a-f]*: e5 a2 08 68 cop cp0,cr8,cr6,cr8,0x44
54090 + *[0-9a-f]*: e5 a2 08 86 cop cp0,cr8,cr8,cr6,0x44
54092 +[0-9a-f]* <fsub_d>:
54093 + *[0-9a-f]*: e5 a2 1e ee cop cp0,cr14,cr14,cr14,0x45
54094 + *[0-9a-f]*: e5 a2 10 00 cop cp0,cr0,cr0,cr0,0x45
54095 + *[0-9a-f]*: e5 a2 10 ee cop cp0,cr0,cr14,cr14,0x45
54096 + *[0-9a-f]*: e5 a2 1e 0e cop cp0,cr14,cr0,cr14,0x45
54097 + *[0-9a-f]*: e5 a2 1e e0 cop cp0,cr14,cr14,cr0,0x45
54098 + *[0-9a-f]*: e5 a2 16 88 cop cp0,cr6,cr8,cr8,0x45
54099 + *[0-9a-f]*: e5 a2 18 68 cop cp0,cr8,cr6,cr8,0x45
54100 + *[0-9a-f]*: e5 a2 18 86 cop cp0,cr8,cr8,cr6,0x45
54102 +[0-9a-f]* <fmac_d>:
54103 + *[0-9a-f]*: e5 a0 0e ee cop cp0,cr14,cr14,cr14,0x40
54104 + *[0-9a-f]*: e5 a0 00 00 cop cp0,cr0,cr0,cr0,0x40
54105 + *[0-9a-f]*: e5 a0 00 ee cop cp0,cr0,cr14,cr14,0x40
54106 + *[0-9a-f]*: e5 a0 0e 0e cop cp0,cr14,cr0,cr14,0x40
54107 + *[0-9a-f]*: e5 a0 0e e0 cop cp0,cr14,cr14,cr0,0x40
54108 + *[0-9a-f]*: e5 a0 06 88 cop cp0,cr6,cr8,cr8,0x40
54109 + *[0-9a-f]*: e5 a0 08 68 cop cp0,cr8,cr6,cr8,0x40
54110 + *[0-9a-f]*: e5 a0 08 86 cop cp0,cr8,cr8,cr6,0x40
54112 +[0-9a-f]* <fnmac_d>:
54113 + *[0-9a-f]*: e5 a0 1e ee cop cp0,cr14,cr14,cr14,0x41
54114 + *[0-9a-f]*: e5 a0 10 00 cop cp0,cr0,cr0,cr0,0x41
54115 + *[0-9a-f]*: e5 a0 10 ee cop cp0,cr0,cr14,cr14,0x41
54116 + *[0-9a-f]*: e5 a0 1e 0e cop cp0,cr14,cr0,cr14,0x41
54117 + *[0-9a-f]*: e5 a0 1e e0 cop cp0,cr14,cr14,cr0,0x41
54118 + *[0-9a-f]*: e5 a0 16 88 cop cp0,cr6,cr8,cr8,0x41
54119 + *[0-9a-f]*: e5 a0 18 68 cop cp0,cr8,cr6,cr8,0x41
54120 + *[0-9a-f]*: e5 a0 18 86 cop cp0,cr8,cr8,cr6,0x41
54122 +[0-9a-f]* <fmsc_d>:
54123 + *[0-9a-f]*: e5 a1 0e ee cop cp0,cr14,cr14,cr14,0x42
54124 + *[0-9a-f]*: e5 a1 00 00 cop cp0,cr0,cr0,cr0,0x42
54125 + *[0-9a-f]*: e5 a1 00 ee cop cp0,cr0,cr14,cr14,0x42
54126 + *[0-9a-f]*: e5 a1 0e 0e cop cp0,cr14,cr0,cr14,0x42
54127 + *[0-9a-f]*: e5 a1 0e e0 cop cp0,cr14,cr14,cr0,0x42
54128 + *[0-9a-f]*: e5 a1 06 88 cop cp0,cr6,cr8,cr8,0x42
54129 + *[0-9a-f]*: e5 a1 08 68 cop cp0,cr8,cr6,cr8,0x42
54130 + *[0-9a-f]*: e5 a1 08 86 cop cp0,cr8,cr8,cr6,0x42
54132 +[0-9a-f]* <fnmsc_d>:
54133 + *[0-9a-f]*: e5 a1 1e ee cop cp0,cr14,cr14,cr14,0x43
54134 + *[0-9a-f]*: e5 a1 10 00 cop cp0,cr0,cr0,cr0,0x43
54135 + *[0-9a-f]*: e5 a1 10 ee cop cp0,cr0,cr14,cr14,0x43
54136 + *[0-9a-f]*: e5 a1 1e 0e cop cp0,cr14,cr0,cr14,0x43
54137 + *[0-9a-f]*: e5 a1 1e e0 cop cp0,cr14,cr14,cr0,0x43
54138 + *[0-9a-f]*: e5 a1 16 88 cop cp0,cr6,cr8,cr8,0x43
54139 + *[0-9a-f]*: e5 a1 18 68 cop cp0,cr8,cr6,cr8,0x43
54140 + *[0-9a-f]*: e5 a1 18 86 cop cp0,cr8,cr8,cr6,0x43
54142 +[0-9a-f]* <fmul_d>:
54143 + *[0-9a-f]*: e5 a3 0e ee cop cp0,cr14,cr14,cr14,0x46
54144 + *[0-9a-f]*: e5 a3 00 00 cop cp0,cr0,cr0,cr0,0x46
54145 + *[0-9a-f]*: e5 a3 00 ee cop cp0,cr0,cr14,cr14,0x46
54146 + *[0-9a-f]*: e5 a3 0e 0e cop cp0,cr14,cr0,cr14,0x46
54147 + *[0-9a-f]*: e5 a3 0e e0 cop cp0,cr14,cr14,cr0,0x46
54148 + *[0-9a-f]*: e5 a3 06 88 cop cp0,cr6,cr8,cr8,0x46
54149 + *[0-9a-f]*: e5 a3 08 68 cop cp0,cr8,cr6,cr8,0x46
54150 + *[0-9a-f]*: e5 a3 08 86 cop cp0,cr8,cr8,cr6,0x46
54152 +[0-9a-f]* <fnmul_d>:
54153 + *[0-9a-f]*: e5 a3 1e ee cop cp0,cr14,cr14,cr14,0x47
54154 + *[0-9a-f]*: e5 a3 10 00 cop cp0,cr0,cr0,cr0,0x47
54155 + *[0-9a-f]*: e5 a3 10 ee cop cp0,cr0,cr14,cr14,0x47
54156 + *[0-9a-f]*: e5 a3 1e 0e cop cp0,cr14,cr0,cr14,0x47
54157 + *[0-9a-f]*: e5 a3 1e e0 cop cp0,cr14,cr14,cr0,0x47
54158 + *[0-9a-f]*: e5 a3 16 88 cop cp0,cr6,cr8,cr8,0x47
54159 + *[0-9a-f]*: e5 a3 18 68 cop cp0,cr8,cr6,cr8,0x47
54160 + *[0-9a-f]*: e5 a3 18 86 cop cp0,cr8,cr8,cr6,0x47
54162 +[0-9a-f]* <fneg_d>:
54163 + *[0-9a-f]*: e5 a4 0e e0 cop cp0,cr14,cr14,cr0,0x48
54164 + *[0-9a-f]*: e5 a4 00 00 cop cp0,cr0,cr0,cr0,0x48
54165 + *[0-9a-f]*: e5 a4 00 e0 cop cp0,cr0,cr14,cr0,0x48
54166 + *[0-9a-f]*: e5 a4 0e 00 cop cp0,cr14,cr0,cr0,0x48
54167 + *[0-9a-f]*: e5 a4 06 80 cop cp0,cr6,cr8,cr0,0x48
54168 + *[0-9a-f]*: e5 a4 08 60 cop cp0,cr8,cr6,cr0,0x48
54170 +[0-9a-f]* <fabs_d>:
54171 + *[0-9a-f]*: e5 a4 1e e0 cop cp0,cr14,cr14,cr0,0x49
54172 + *[0-9a-f]*: e5 a4 10 00 cop cp0,cr0,cr0,cr0,0x49
54173 + *[0-9a-f]*: e5 a4 10 e0 cop cp0,cr0,cr14,cr0,0x49
54174 + *[0-9a-f]*: e5 a4 1e 00 cop cp0,cr14,cr0,cr0,0x49
54175 + *[0-9a-f]*: e5 a4 16 80 cop cp0,cr6,cr8,cr0,0x49
54176 + *[0-9a-f]*: e5 a4 18 60 cop cp0,cr8,cr6,cr0,0x49
54178 +[0-9a-f]* <fcmp_d>:
54179 + *[0-9a-f]*: e5 a6 10 ee cop cp0,cr0,cr14,cr14,0x4d
54180 + *[0-9a-f]*: e5 a6 10 00 cop cp0,cr0,cr0,cr0,0x4d
54181 + *[0-9a-f]*: e5 a6 10 0e cop cp0,cr0,cr0,cr14,0x4d
54182 + *[0-9a-f]*: e5 a6 10 e0 cop cp0,cr0,cr14,cr0,0x4d
54183 + *[0-9a-f]*: e5 a6 10 68 cop cp0,cr0,cr6,cr8,0x4d
54184 + *[0-9a-f]*: e5 a6 10 86 cop cp0,cr0,cr8,cr6,0x4d
54186 +[0-9a-f]* <fmov_s>:
54187 + *[0-9a-f]*: e1 a5 0f f0 cop cp0,cr15,cr15,cr0,0xa
54188 + *[0-9a-f]*: e1 a5 00 00 cop cp0,cr0,cr0,cr0,0xa
54189 + *[0-9a-f]*: e1 a5 0f 00 cop cp0,cr15,cr0,cr0,0xa
54190 + *[0-9a-f]*: e1 a5 00 f0 cop cp0,cr0,cr15,cr0,0xa
54191 + *[0-9a-f]*: e1 a5 08 70 cop cp0,cr8,cr7,cr0,0xa
54192 + *[0-9a-f]*: e1 a5 07 80 cop cp0,cr7,cr8,cr0,0xa
54193 + *[0-9a-f]*: ef af 0f 00 mvcr.w cp0,pc,cr15
54194 + *[0-9a-f]*: ef a0 00 00 mvcr.w cp0,r0,cr0
54195 + *[0-9a-f]*: ef af 00 00 mvcr.w cp0,pc,cr0
54196 + *[0-9a-f]*: ef a0 0f 00 mvcr.w cp0,r0,cr15
54197 + *[0-9a-f]*: ef a8 07 00 mvcr.w cp0,r8,cr7
54198 + *[0-9a-f]*: ef a7 08 00 mvcr.w cp0,r7,cr8
54199 + *[0-9a-f]*: ef af 0f 20 mvrc.w cp0,cr15,pc
54200 + *[0-9a-f]*: ef a0 00 20 mvrc.w cp0,cr0,r0
54201 + *[0-9a-f]*: ef a0 0f 20 mvrc.w cp0,cr15,r0
54202 + *[0-9a-f]*: ef af 00 20 mvrc.w cp0,cr0,pc
54203 + *[0-9a-f]*: ef a7 08 20 mvrc.w cp0,cr8,r7
54204 + *[0-9a-f]*: ef a8 07 20 mvrc.w cp0,cr7,r8
54206 +[0-9a-f]* <fmov_d>:
54207 + *[0-9a-f]*: e5 a5 0e e0 cop cp0,cr14,cr14,cr0,0x4a
54208 + *[0-9a-f]*: e5 a5 00 00 cop cp0,cr0,cr0,cr0,0x4a
54209 + *[0-9a-f]*: e5 a5 0e 00 cop cp0,cr14,cr0,cr0,0x4a
54210 + *[0-9a-f]*: e5 a5 00 e0 cop cp0,cr0,cr14,cr0,0x4a
54211 + *[0-9a-f]*: e5 a5 08 60 cop cp0,cr8,cr6,cr0,0x4a
54212 + *[0-9a-f]*: e5 a5 06 80 cop cp0,cr6,cr8,cr0,0x4a
54213 + *[0-9a-f]*: ef ae 0e 10 mvcr.d cp0,lr,cr14
54214 + *[0-9a-f]*: ef a0 00 10 mvcr.d cp0,r0,cr0
54215 + *[0-9a-f]*: ef ae 00 10 mvcr.d cp0,lr,cr0
54216 + *[0-9a-f]*: ef a0 0e 10 mvcr.d cp0,r0,cr14
54217 + *[0-9a-f]*: ef a8 06 10 mvcr.d cp0,r8,cr6
54218 + *[0-9a-f]*: ef a6 08 10 mvcr.d cp0,r6,cr8
54219 + *[0-9a-f]*: ef ae 0e 30 mvrc.d cp0,cr14,lr
54220 + *[0-9a-f]*: ef a0 00 30 mvrc.d cp0,cr0,r0
54221 + *[0-9a-f]*: ef a0 0e 30 mvrc.d cp0,cr14,r0
54222 + *[0-9a-f]*: ef ae 00 30 mvrc.d cp0,cr0,lr
54223 + *[0-9a-f]*: ef a6 08 30 mvrc.d cp0,cr8,r6
54224 + *[0-9a-f]*: ef a8 06 30 mvrc.d cp0,cr6,r8
54226 +[0-9a-f]* <fcasts_d>:
54227 + *[0-9a-f]*: e1 a7 1f e0 cop cp0,cr15,cr14,cr0,0xf
54228 + *[0-9a-f]*: e1 a7 10 00 cop cp0,cr0,cr0,cr0,0xf
54229 + *[0-9a-f]*: e1 a7 1f 00 cop cp0,cr15,cr0,cr0,0xf
54230 + *[0-9a-f]*: e1 a7 10 e0 cop cp0,cr0,cr14,cr0,0xf
54231 + *[0-9a-f]*: e1 a7 18 60 cop cp0,cr8,cr6,cr0,0xf
54232 + *[0-9a-f]*: e1 a7 17 80 cop cp0,cr7,cr8,cr0,0xf
54234 +[0-9a-f]* <fcastd_s>:
54235 + *[0-9a-f]*: e1 a8 0e f0 cop cp0,cr14,cr15,cr0,0x10
54236 + *[0-9a-f]*: e1 a8 00 00 cop cp0,cr0,cr0,cr0,0x10
54237 + *[0-9a-f]*: e1 a8 0e 00 cop cp0,cr14,cr0,cr0,0x10
54238 + *[0-9a-f]*: e1 a8 00 f0 cop cp0,cr0,cr15,cr0,0x10
54239 + *[0-9a-f]*: e1 a8 08 70 cop cp0,cr8,cr7,cr0,0x10
54240 + *[0-9a-f]*: e1 a8 06 80 cop cp0,cr6,cr8,cr0,0x10
54242 +++ b/gas/testsuite/gas/avr32/fpinsn.s
54248 + fadd.s fr15, fr15, fr15
54249 + fadd.s fr0, fr0, fr0
54250 + fadd.s fr0, fr15, fr15
54251 + fadd.s fr15, fr0, fr15
54252 + fadd.s fr15, fr15, fr0
54253 + fadd.s fr7, fr8, fr8
54254 + fadd.s fr8, fr7, fr8
54255 + fadd.s fr8, fr8, fr7
54258 + fsub.s fr15, fr15, fr15
54259 + fsub.s fr0, fr0, fr0
54260 + fsub.s fr0, fr15, fr15
54261 + fsub.s fr15, fr0, fr15
54262 + fsub.s fr15, fr15, fr0
54263 + fsub.s fr7, fr8, fr8
54264 + fsub.s fr8, fr7, fr8
54265 + fsub.s fr8, fr8, fr7
54268 + fmac.s fr15, fr15, fr15
54269 + fmac.s fr0, fr0, fr0
54270 + fmac.s fr0, fr15, fr15
54271 + fmac.s fr15, fr0, fr15
54272 + fmac.s fr15, fr15, fr0
54273 + fmac.s fr7, fr8, fr8
54274 + fmac.s fr8, fr7, fr8
54275 + fmac.s fr8, fr8, fr7
54278 + fnmac.s fr15, fr15, fr15
54279 + fnmac.s fr0, fr0, fr0
54280 + fnmac.s fr0, fr15, fr15
54281 + fnmac.s fr15, fr0, fr15
54282 + fnmac.s fr15, fr15, fr0
54283 + fnmac.s fr7, fr8, fr8
54284 + fnmac.s fr8, fr7, fr8
54285 + fnmac.s fr8, fr8, fr7
54288 + fmsc.s fr15, fr15, fr15
54289 + fmsc.s fr0, fr0, fr0
54290 + fmsc.s fr0, fr15, fr15
54291 + fmsc.s fr15, fr0, fr15
54292 + fmsc.s fr15, fr15, fr0
54293 + fmsc.s fr7, fr8, fr8
54294 + fmsc.s fr8, fr7, fr8
54295 + fmsc.s fr8, fr8, fr7
54298 + fnmsc.s fr15, fr15, fr15
54299 + fnmsc.s fr0, fr0, fr0
54300 + fnmsc.s fr0, fr15, fr15
54301 + fnmsc.s fr15, fr0, fr15
54302 + fnmsc.s fr15, fr15, fr0
54303 + fnmsc.s fr7, fr8, fr8
54304 + fnmsc.s fr8, fr7, fr8
54305 + fnmsc.s fr8, fr8, fr7
54308 + fmul.s fr15, fr15, fr15
54309 + fmul.s fr0, fr0, fr0
54310 + fmul.s fr0, fr15, fr15
54311 + fmul.s fr15, fr0, fr15
54312 + fmul.s fr15, fr15, fr0
54313 + fmul.s fr7, fr8, fr8
54314 + fmul.s fr8, fr7, fr8
54315 + fmul.s fr8, fr8, fr7
54318 + fnmul.s fr15, fr15, fr15
54319 + fnmul.s fr0, fr0, fr0
54320 + fnmul.s fr0, fr15, fr15
54321 + fnmul.s fr15, fr0, fr15
54322 + fnmul.s fr15, fr15, fr0
54323 + fnmul.s fr7, fr8, fr8
54324 + fnmul.s fr8, fr7, fr8
54325 + fnmul.s fr8, fr8, fr7
54328 + fneg.s fr15, fr15
54336 + fabs.s fr15, fr15
54344 + fcmp.s fr15, fr15
54352 + fadd.d fr14, fr14, fr14
54353 + fadd.d fr0, fr0, fr0
54354 + fadd.d fr0, fr14, fr14
54355 + fadd.d fr14, fr0, fr14
54356 + fadd.d fr14, fr14, fr0
54357 + fadd.d fr6, fr8, fr8
54358 + fadd.d fr8, fr6, fr8
54359 + fadd.d fr8, fr8, fr6
54362 + fsub.d fr14, fr14, fr14
54363 + fsub.d fr0, fr0, fr0
54364 + fsub.d fr0, fr14, fr14
54365 + fsub.d fr14, fr0, fr14
54366 + fsub.d fr14, fr14, fr0
54367 + fsub.d fr6, fr8, fr8
54368 + fsub.d fr8, fr6, fr8
54369 + fsub.d fr8, fr8, fr6
54372 + fmac.d fr14, fr14, fr14
54373 + fmac.d fr0, fr0, fr0
54374 + fmac.d fr0, fr14, fr14
54375 + fmac.d fr14, fr0, fr14
54376 + fmac.d fr14, fr14, fr0
54377 + fmac.d fr6, fr8, fr8
54378 + fmac.d fr8, fr6, fr8
54379 + fmac.d fr8, fr8, fr6
54382 + fnmac.d fr14, fr14, fr14
54383 + fnmac.d fr0, fr0, fr0
54384 + fnmac.d fr0, fr14, fr14
54385 + fnmac.d fr14, fr0, fr14
54386 + fnmac.d fr14, fr14, fr0
54387 + fnmac.d fr6, fr8, fr8
54388 + fnmac.d fr8, fr6, fr8
54389 + fnmac.d fr8, fr8, fr6
54392 + fmsc.d fr14, fr14, fr14
54393 + fmsc.d fr0, fr0, fr0
54394 + fmsc.d fr0, fr14, fr14
54395 + fmsc.d fr14, fr0, fr14
54396 + fmsc.d fr14, fr14, fr0
54397 + fmsc.d fr6, fr8, fr8
54398 + fmsc.d fr8, fr6, fr8
54399 + fmsc.d fr8, fr8, fr6
54402 + fnmsc.d fr14, fr14, fr14
54403 + fnmsc.d fr0, fr0, fr0
54404 + fnmsc.d fr0, fr14, fr14
54405 + fnmsc.d fr14, fr0, fr14
54406 + fnmsc.d fr14, fr14, fr0
54407 + fnmsc.d fr6, fr8, fr8
54408 + fnmsc.d fr8, fr6, fr8
54409 + fnmsc.d fr8, fr8, fr6
54412 + fmul.d fr14, fr14, fr14
54413 + fmul.d fr0, fr0, fr0
54414 + fmul.d fr0, fr14, fr14
54415 + fmul.d fr14, fr0, fr14
54416 + fmul.d fr14, fr14, fr0
54417 + fmul.d fr6, fr8, fr8
54418 + fmul.d fr8, fr6, fr8
54419 + fmul.d fr8, fr8, fr6
54422 + fnmul.d fr14, fr14, fr14
54423 + fnmul.d fr0, fr0, fr0
54424 + fnmul.d fr0, fr14, fr14
54425 + fnmul.d fr14, fr0, fr14
54426 + fnmul.d fr14, fr14, fr0
54427 + fnmul.d fr6, fr8, fr8
54428 + fnmul.d fr8, fr6, fr8
54429 + fnmul.d fr8, fr8, fr6
54432 + fneg.d fr14, fr14
54440 + fabs.d fr14, fr14
54448 + fcmp.d fr14, fr14
54456 + fmov.s fr15, fr15
54476 + fmov.d fr14, fr14
54496 + fcasts.d fr15, fr14
54497 + fcasts.d fr0, fr0
54498 + fcasts.d fr15, fr0
54499 + fcasts.d fr0, fr14
54500 + fcasts.d fr8, fr6
54501 + fcasts.d fr7, fr8
54504 + fcastd.s fr14, fr15
54505 + fcastd.s fr0, fr0
54506 + fcastd.s fr14, fr0
54507 + fcastd.s fr0, fr15
54508 + fcastd.s fr8, fr7
54509 + fcastd.s fr6, fr8
54511 +++ b/gas/testsuite/gas/avr32/hwrd-lwrd.d
54517 +.*: +file format .*
54519 +Disassembly of section \.text:
54521 +00000000 <test_hwrd>:
54522 + 0: e0 60 87 65 mov r0,34661
54523 + 4: e0 60 12 34 mov r0,4660
54524 + 8: e0 60 00 00 mov r0,0
54525 + 8: R_AVR32_HI16 \.text\+0x60
54526 + c: e0 60 00 00 mov r0,0
54527 + c: R_AVR32_HI16 extsym1
54528 + 10: ea 10 87 65 orh r0,0x8765
54529 + 14: ea 10 12 34 orh r0,0x1234
54530 + 18: ea 10 00 00 orh r0,0x0
54531 + 18: R_AVR32_HI16 \.text\+0x60
54532 + 1c: ea 10 00 00 orh r0,0x0
54533 + 1c: R_AVR32_HI16 extsym1
54534 + 20: e4 10 87 65 andh r0,0x8765
54535 + 24: e4 10 12 34 andh r0,0x1234
54536 + 28: e4 10 00 00 andh r0,0x0
54537 + 28: R_AVR32_HI16 \.text\+0x60
54538 + 2c: e4 10 00 00 andh r0,0x0
54539 + 2c: R_AVR32_HI16 extsym1
54541 +00000030 <test_lwrd>:
54542 + 30: e0 60 43 21 mov r0,17185
54543 + 34: e0 60 56 78 mov r0,22136
54544 + 38: e0 60 00 00 mov r0,0
54545 + 38: R_AVR32_LO16 \.text\+0x60
54546 + 3c: e0 60 00 00 mov r0,0
54547 + 3c: R_AVR32_LO16 extsym1
54548 + 40: e8 10 43 21 orl r0,0x4321
54549 + 44: e8 10 56 78 orl r0,0x5678
54550 + 48: e8 10 00 00 orl r0,0x0
54551 + 48: R_AVR32_LO16 \.text\+0x60
54552 + 4c: e8 10 00 00 orl r0,0x0
54553 + 4c: R_AVR32_LO16 extsym1
54554 + 50: e0 10 43 21 andl r0,0x4321
54555 + 54: e0 10 56 78 andl r0,0x5678
54556 + 58: e0 10 00 00 andl r0,0x0
54557 + 58: R_AVR32_LO16 \.text\+0x60
54558 + 5c: e0 10 00 00 andl r0,0x0
54559 + 5c: R_AVR32_LO16 extsym1
54561 +++ b/gas/testsuite/gas/avr32/hwrd-lwrd.s
54564 + .equ sym1, 0x12345678
54567 + .global test_hwrd
54569 + mov r0, hi(0x87654321)
54572 + mov r0, hi(extsym1)
54574 + orh r0, hi(0x87654321)
54577 + orh r0, hi(extsym1)
54579 + andh r0, hi(0x87654321)
54580 + andh r0, hi(sym1)
54581 + andh r0, hi(sym2)
54582 + andh r0, hi(extsym1)
54584 + .global test_lwrd
54586 + mov r0, lo(0x87654321)
54589 + mov r0, lo(extsym1)
54591 + orl r0, lo(0x87654321)
54594 + orl r0, lo(extsym1)
54596 + andl r0, lo(0x87654321)
54597 + andl r0, lo(sym1)
54598 + andl r0, lo(sym2)
54599 + andl r0, lo(extsym1)
54603 +++ b/gas/testsuite/gas/avr32/jmptable.d
54605 +#source: jmptable.s
54610 +.*: +file format .*
54612 +Disassembly of section \.text:
54614 +00000000 <jmptable_test>:
54615 + 0: fe c8 ff f4 sub r8,pc,-12
54616 + 4: f0 00 00 2f add pc,r8,r0<<0x2
54618 + a: 00 00 add r0,r0
54619 + c: c0 38 rjmp 12 <jmptable_test\+0x12>
54620 + e: c0 38 rjmp 14 <jmptable_test\+0x14>
54621 + 10: c0 38 rjmp 16 <jmptable_test\+0x16>
54626 +++ b/gas/testsuite/gas/avr32/jmptable_linkrelax.d
54628 +#source: jmptable.s
54631 +#name: jmptable_linkrelax
54633 +.*: +file format .*
54635 +Disassembly of section \.text:
54637 +00000000 <jmptable_test>:
54638 + 0: fe c8 00 00 sub r8,pc,0
54639 + 0: R_AVR32_16N_PCREL \.text\+0xc
54640 + 4: f0 00 00 2f add pc,r8,r0<<0x2
54642 + a: 00 00 add r0,r0
54643 + a: R_AVR32_ALIGN \*ABS\*\+0x2
54644 + c: c0 08 rjmp c <jmptable_test\+0xc>
54645 + c: R_AVR32_11H_PCREL \.text\+0x12
54646 + e: c0 08 rjmp e <jmptable_test\+0xe>
54647 + e: R_AVR32_11H_PCREL \.text\+0x14
54648 + 10: c0 08 rjmp 10 <jmptable_test\+0x10>
54649 + 10: R_AVR32_11H_PCREL \.text\+0x16
54654 +++ b/gas/testsuite/gas/avr32/jmptable.s
54658 + .global jmptable_test
54660 + sub r8, pc, -(.L1 - .)
54661 + add pc, r8, r0 << 2
54671 +++ b/gas/testsuite/gas/avr32/lda_nopic.d
54678 +.*: +file format .*
54680 +Disassembly of section \.text:
54682 +00000000 <lda_test>:
54683 + 0: f2 c8 00 00 sub r8,r9,0
54685 +00000004 <far_negative>:
54686 + 4: f6 ca 00 00 sub r10,r11,0
54688 + 8000: fe c0 7f fc sub r0,pc,32764
54689 + 8004: 48 31 lddpc r1,8010 <far_negative\+0x800c>
54690 + 8006: 48 42 lddpc r2,8014 <far_negative\+0x8010>
54691 + 8008: 48 43 lddpc r3,8018 <far_negative\+0x8014>
54692 + 800a: 48 54 lddpc r4,801c <far_negative\+0x8018>
54693 + 800c: fe c5 80 04 sub r5,pc,-32764
54695 + 8010: R_AVR32_32_CPENT \.text
54696 + 8014: R_AVR32_32_CPENT \.data
54697 + 8018: R_AVR32_32_CPENT undefined
54698 + 801c: R_AVR32_32_CPENT \.text\+0x1001c
54700 +00010008 <far_positive>:
54701 + 10008: fa cc 00 00 sub r12,sp,0
54703 +0001001c <toofar_positive>:
54704 + 1001c: fe ce 00 00 sub lr,pc,0
54706 +++ b/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d
54711 +#name: lda_nopic_linkrelax
54713 +.*: +file format .*
54715 +Disassembly of section \.text:
54717 +00000000 <lda_test>:
54718 + 0: f2 c8 00 00 sub r8,r9,0
54720 +00000004 <far_negative>:
54721 + 4: f6 ca 00 00 sub r10,r11,0
54723 + 8000: 48 00 lddpc r0,8000 <far_negative\+0x7ffc>
54724 + 8000: R_AVR32_9W_CP \.text\+0x800c
54725 + 8002: 48 01 lddpc r1,8000 <far_negative\+0x7ffc>
54726 + 8002: R_AVR32_9W_CP \.text\+0x8010
54727 + 8004: 48 02 lddpc r2,8004 <far_negative\+0x8000>
54728 + 8004: R_AVR32_9W_CP \.text\+0x8014
54729 + 8006: 48 03 lddpc r3,8004 <far_negative\+0x8000>
54730 + 8006: R_AVR32_9W_CP \.text\+0x8018
54731 + 8008: 48 04 lddpc r4,8008 <far_negative\+0x8004>
54732 + 8008: R_AVR32_9W_CP \.text\+0x801c
54733 + 800a: 48 05 lddpc r5,8008 <far_negative\+0x8004>
54734 + 800a: R_AVR32_9W_CP \.text\+0x8020
54736 + 800c: R_AVR32_ALIGN \*ABS\*\+0x2
54737 + 800c: R_AVR32_32_CPENT \.text\+0x4
54738 + 8010: R_AVR32_32_CPENT \.text
54739 + 8014: R_AVR32_32_CPENT \.data
54740 + 8018: R_AVR32_32_CPENT undefined
54741 + 801c: R_AVR32_32_CPENT \.text\+0x10020
54742 + 8020: R_AVR32_32_CPENT \.text\+0x1000c
54744 +0001000c <far_positive>:
54745 + 1000c: fa cc 00 00 sub r12,sp,0
54747 +00010020 <toofar_positive>:
54748 + 10020: fe ce 00 00 sub lr,pc,0
54750 +++ b/gas/testsuite/gas/avr32/lda_pic.d
54757 +.*: +file format .*
54759 +Disassembly of section \.text:
54761 +00000000 <lda_test>:
54762 + 0: f2 c8 00 00 sub r8,r9,0
54764 +00000004 <far_negative>:
54765 + 4: f6 ca 00 00 sub r10,r11,0
54767 + 8000: fe c0 7f fc sub r0,pc,32764
54768 + 8004: ec f1 00 00 ld.w r1,r6\[0\]
54769 + 8004: R_AVR32_GOT16S toofar_negative
54770 + 8008: ec f2 00 00 ld.w r2,r6\[0\]
54771 + 8008: R_AVR32_GOT16S different_section
54772 + 800c: ec f3 00 00 ld.w r3,r6\[0\]
54773 + 800c: R_AVR32_GOT16S undefined
54774 + 8010: ec f4 00 00 ld.w r4,r6\[0\]
54775 + 8010: R_AVR32_GOT16S toofar_positive
54776 + 8014: fe c5 80 14 sub r5,pc,-32748
54779 +00010000 <far_positive>:
54780 + 10000: fa cc 00 00 sub r12,sp,0
54782 +00010014 <toofar_positive>:
54783 + 10014: fe ce 00 00 sub lr,pc,0
54785 +++ b/gas/testsuite/gas/avr32/lda_pic_linkrelax.d
54788 +#as: --pic --linkrelax
54790 +#name: lda_pic_linkrelax
54792 +.*: +file format .*
54794 +Disassembly of section \.text:
54796 +00000000 <lda_test>:
54797 + 0: f2 c8 00 00 sub r8,r9,0
54799 +00000004 <far_negative>:
54800 + 4: f6 ca 00 00 sub r10,r11,0
54802 + 8000: e0 60 00 00 mov r0,0
54803 + 8000: R_AVR32_LDA_GOT far_negative
54804 + 8004: ec 00 03 20 ld\.w r0,r6\[r0<<0x2\]
54805 + 8008: e0 61 00 00 mov r1,0
54806 + 8008: R_AVR32_LDA_GOT toofar_negative
54807 + 800c: ec 01 03 21 ld\.w r1,r6\[r1<<0x2\]
54808 + 8010: e0 62 00 00 mov r2,0
54809 + 8010: R_AVR32_LDA_GOT different_section
54810 + 8014: ec 02 03 22 ld\.w r2,r6\[r2<<0x2\]
54811 + 8018: e0 63 00 00 mov r3,0
54812 + 8018: R_AVR32_LDA_GOT undefined
54813 + 801c: ec 03 03 23 ld\.w r3,r6\[r3<<0x2\]
54814 + 8020: e0 64 00 00 mov r4,0
54815 + 8020: R_AVR32_LDA_GOT toofar_positive
54816 + 8024: ec 04 03 24 ld\.w r4,r6\[r4<<0x2\]
54817 + 8028: e0 65 00 00 mov r5,0
54818 + 8028: R_AVR32_LDA_GOT far_positive
54819 + 802c: ec 05 03 25 ld\.w r5,r6\[r5<<0x2\]
54822 +00010018 <far_positive>:
54823 + 10018: fa cc 00 00 sub r12,sp,0
54825 +0001002c <toofar_positive>:
54826 + 1002c: fe ce 00 00 sub lr,pc,0
54828 +++ b/gas/testsuite/gas/avr32/lda.s
54839 + .fill 32760, 1, 0x00
54841 + lda.w r0, far_negative
54842 + lda.w r1, toofar_negative
54843 + lda.w r2, different_section
54844 + lda.w r3, undefined
54845 + lda.w r4, toofar_positive
54846 + lda.w r5, far_positive
54850 + .fill 32744, 1, 0x00
54853 + .fill 16, 1, 0x00
54858 +different_section:
54861 +++ b/gas/testsuite/gas/avr32/pcrel.d
54867 +.*: +file format .*
54869 +Disassembly of section \.text:
54871 +00000000 <test_rjmp>:
54873 + 2: c0 28 rjmp 6 <test_rjmp\+0x6>
54875 + 6: e0 8f 00 00 bral 6 <test_rjmp\+0x6>
54876 + 6: R_AVR32_22H_PCREL extsym10
54878 +0000000a <test_rcall>:
54880 +0000000c <test_rcall2>:
54881 + c: c0 2c rcall 10 <test_rcall2\+0x4>
54883 + 10: e0 a0 00 00 rcall 10 <test_rcall2\+0x4>
54884 + 10: R_AVR32_22H_PCREL extsym21
54886 +00000014 <test_branch>:
54887 + 14: c0 31 brne 1a <test_branch\+0x6>
54888 + 16: e0 8f 00 00 bral 16 <test_branch\+0x2>
54889 + 16: R_AVR32_22H_PCREL test_branch
54890 + 1a: e0 80 00 00 breq 1a <test_branch\+0x6>
54891 + 1a: R_AVR32_22H_PCREL extsym21
54893 +0000001e <test_lddpc>:
54894 + 1e: 48 30 lddpc r0,28 <sym1>
54895 + 20: 48 20 lddpc r0,28 <sym1>
54896 + 22: fe f0 00 00 ld.w r0,pc\[0\]
54897 + 22: R_AVR32_16B_PCREL extsym16
54904 +0000002c <test_local>:
54905 + 2c: 48 20 lddpc r0,34 <test_local\+0x8>
54906 + 2e: 48 30 lddpc r0,38 <test_local\+0xc>
54907 + 30: 48 20 lddpc r0,38 <test_local\+0xc>
54908 + 32: 00 00 add r0,r0
54914 +Disassembly of section \.text\.init:
54916 +00000000 <test_inter_section>:
54917 + 0: e0 a0 .. .. rcall [0-9a-f]+ <.*>
54918 + 0: R_AVR32_22H_PCREL test_rcall
54920 + 6: e0 a0 .. .. rcall [0-9a-f]+ <.*>
54921 + 6: R_AVR32_22H_PCREL test_rcall
54922 + a: e0 a0 .. .. rcall [0-9a-z]+ <.*>
54923 + a: R_AVR32_22H_PCREL \.text\+0xc
54925 + 10: e0 a0 .. .. rcall [0-9a-f]+ <.*>
54926 + 10: R_AVR32_22H_PCREL \.text\+0xc
54928 +++ b/gas/testsuite/gas/avr32/pcrel.s
54932 + .global test_rjmp
54939 + .global test_rcall
54947 + .global test_branch
54950 + /* This will generate a reloc since test_branch is global */
54954 + .global test_lddpc
54958 + lddpc r0,extsym16
54964 + .global test_local
54968 + lddpc r0, .LC1 + 0x4
54978 + .section .text.init,"ax"
54979 + .global test_inter_section
54980 +test_inter_section:
54984 + rcall test_rcall2
54986 + rcall test_rcall2
54988 +++ b/gas/testsuite/gas/avr32/pico.d
54994 +.*: +file format .*
54996 +Disassembly of section \.text:
54998 +[0-9a-f]* <picosvmac>:
54999 + *[0-9a-f]*: e1 a6 20 00 cop cp1,cr0,cr0,cr0,0xc
55000 + *[0-9a-f]*: e1 a7 2b bb cop cp1,cr11,cr11,cr11,0xe
55001 + *[0-9a-f]*: e1 a6 3a 05 cop cp1,cr10,cr0,cr5,0xd
55002 + *[0-9a-f]*: e1 a7 36 90 cop cp1,cr6,cr9,cr0,0xf
55004 +[0-9a-f]* <picosvmul>:
55005 + *[0-9a-f]*: e1 a4 20 00 cop cp1,cr0,cr0,cr0,0x8
55006 + *[0-9a-f]*: e1 a5 2b bb cop cp1,cr11,cr11,cr11,0xa
55007 + *[0-9a-f]*: e1 a4 3a 05 cop cp1,cr10,cr0,cr5,0x9
55008 + *[0-9a-f]*: e1 a5 36 90 cop cp1,cr6,cr9,cr0,0xb
55010 +[0-9a-f]* <picovmac>:
55011 + *[0-9a-f]*: e1 a2 20 00 cop cp1,cr0,cr0,cr0,0x4
55012 + *[0-9a-f]*: e1 a3 2b bb cop cp1,cr11,cr11,cr11,0x6
55013 + *[0-9a-f]*: e1 a2 3a 05 cop cp1,cr10,cr0,cr5,0x5
55014 + *[0-9a-f]*: e1 a3 36 90 cop cp1,cr6,cr9,cr0,0x7
55016 +[0-9a-f]* <picovmul>:
55017 + *[0-9a-f]*: e1 a0 20 00 cop cp1,cr0,cr0,cr0,0x0
55018 + *[0-9a-f]*: e1 a1 2b bb cop cp1,cr11,cr11,cr11,0x2
55019 + *[0-9a-f]*: e1 a0 3a 05 cop cp1,cr10,cr0,cr5,0x1
55020 + *[0-9a-f]*: e1 a1 36 90 cop cp1,cr6,cr9,cr0,0x3
55022 +[0-9a-f]* <picold_d>:
55023 + *[0-9a-f]*: e9 af 3e ff ldc\.d cp1,cr14,pc\[0x3fc\]
55024 + *[0-9a-f]*: e9 a0 30 ff ldc\.d cp1,cr0,r0\[0x3fc\]
55025 + *[0-9a-f]*: e9 a0 30 00 ldc\.d cp1,cr0,r0\[0x0\]
55026 + *[0-9a-f]*: ef a8 26 50 ldc\.d cp1,cr6,--r8
55027 + *[0-9a-f]*: ef a7 28 50 ldc\.d cp1,cr8,--r7
55028 + *[0-9a-f]*: ef aa 32 65 ldc\.d cp1,cr2,r10\[r5<<0x2\]
55029 + *[0-9a-f]*: ef a3 3c 46 ldc\.d cp1,cr12,r3\[r6\]
55031 +[0-9a-f]* <picold_w>:
55032 + *[0-9a-f]*: e9 af 2f ff ldc\.w cp1,cr15,pc\[0x3fc\]
55033 + *[0-9a-f]*: e9 a0 20 ff ldc\.w cp1,cr0,r0\[0x3fc\]
55034 + *[0-9a-f]*: e9 a0 20 00 ldc\.w cp1,cr0,r0\[0x0\]
55035 + *[0-9a-f]*: ef a8 27 40 ldc\.w cp1,cr7,--r8
55036 + *[0-9a-f]*: ef a7 28 40 ldc\.w cp1,cr8,--r7
55037 + *[0-9a-f]*: ef aa 31 25 ldc\.w cp1,cr1,r10\[r5<<0x2\]
55038 + *[0-9a-f]*: ef a3 3d 06 ldc\.w cp1,cr13,r3\[r6\]
55040 +[0-9a-f]* <picoldm_d>:
55041 + *[0-9a-f]*: ed af 24 ff ldcm\.d cp1,pc,cr0-cr15
55042 + *[0-9a-f]*: ed a0 24 01 ldcm\.d cp1,r0,cr0-cr1
55043 + *[0-9a-f]*: ed a7 24 80 ldcm\.d cp1,r7,cr14-cr15
55044 + *[0-9a-f]*: ed a8 24 7f ldcm\.d cp1,r8,cr0-cr13
55046 +[0-9a-f]* <picoldm_d_pu>:
55047 + *[0-9a-f]*: ed af 34 ff ldcm\.d cp1,pc\+\+,cr0-cr15
55048 + *[0-9a-f]*: ed a0 34 01 ldcm\.d cp1,r0\+\+,cr0-cr1
55049 + *[0-9a-f]*: ed a7 34 80 ldcm\.d cp1,r7\+\+,cr14-cr15
55050 + *[0-9a-f]*: ed a8 34 7f ldcm\.d cp1,r8\+\+,cr0-cr13
55052 +[0-9a-f]* <picoldm_w>:
55053 + *[0-9a-f]*: ed af 20 ff ldcm\.w cp1,pc,cr0-cr7
55054 + *[0-9a-f]*: ed a0 20 01 ldcm\.w cp1,r0,cr0
55055 + *[0-9a-f]*: ed a7 20 80 ldcm\.w cp1,r7,cr7
55056 + *[0-9a-f]*: ed a8 20 7f ldcm\.w cp1,r8,cr0-cr6
55057 + *[0-9a-f]*: ed af 21 ff ldcm\.w cp1,pc,cr8-cr15
55058 + *[0-9a-f]*: ed a0 21 01 ldcm\.w cp1,r0,cr8
55059 + *[0-9a-f]*: ed a7 21 80 ldcm\.w cp1,r7,cr15
55060 + *[0-9a-f]*: ed a8 21 7f ldcm\.w cp1,r8,cr8-cr14
55062 +[0-9a-f]* <picoldm_w_pu>:
55063 + *[0-9a-f]*: ed af 30 ff ldcm\.w cp1,pc\+\+,cr0-cr7
55064 + *[0-9a-f]*: ed a0 30 01 ldcm\.w cp1,r0\+\+,cr0
55065 + *[0-9a-f]*: ed a7 30 80 ldcm\.w cp1,r7\+\+,cr7
55066 + *[0-9a-f]*: ed a8 30 7f ldcm\.w cp1,r8\+\+,cr0-cr6
55067 + *[0-9a-f]*: ed af 31 ff ldcm\.w cp1,pc\+\+,cr8-cr15
55068 + *[0-9a-f]*: ed a0 31 01 ldcm\.w cp1,r0\+\+,cr8
55069 + *[0-9a-f]*: ed a7 31 80 ldcm\.w cp1,r7\+\+,cr15
55070 + *[0-9a-f]*: ed a8 31 7f ldcm\.w cp1,r8\+\+,cr8-cr14
55072 +[0-9a-f]* <picomv_d>:
55073 + *[0-9a-f]*: ef ae 2e 30 mvrc\.d cp1,cr14,lr
55074 + *[0-9a-f]*: ef a0 20 30 mvrc\.d cp1,cr0,r0
55075 + *[0-9a-f]*: ef a8 26 30 mvrc\.d cp1,cr6,r8
55076 + *[0-9a-f]*: ef a6 28 30 mvrc\.d cp1,cr8,r6
55077 + *[0-9a-f]*: ef ae 2e 10 mvcr\.d cp1,lr,cr14
55078 + *[0-9a-f]*: ef a0 20 10 mvcr\.d cp1,r0,cr0
55079 + *[0-9a-f]*: ef a8 26 10 mvcr\.d cp1,r8,cr6
55080 + *[0-9a-f]*: ef a6 28 10 mvcr\.d cp1,r6,cr8
55082 +[0-9a-f]* <picomv_w>:
55083 + *[0-9a-f]*: ef af 2f 20 mvrc\.w cp1,cr15,pc
55084 + *[0-9a-f]*: ef a0 20 20 mvrc\.w cp1,cr0,r0
55085 + *[0-9a-f]*: ef a8 27 20 mvrc\.w cp1,cr7,r8
55086 + *[0-9a-f]*: ef a7 28 20 mvrc\.w cp1,cr8,r7
55087 + *[0-9a-f]*: ef af 2f 00 mvcr\.w cp1,pc,cr15
55088 + *[0-9a-f]*: ef a0 20 00 mvcr\.w cp1,r0,cr0
55089 + *[0-9a-f]*: ef a8 27 00 mvcr\.w cp1,r8,cr7
55090 + *[0-9a-f]*: ef a7 28 00 mvcr\.w cp1,r7,cr8
55092 +[0-9a-f]* <picost_d>:
55093 + *[0-9a-f]*: eb af 3e ff stc\.d cp1,pc\[0x3fc\],cr14
55094 + *[0-9a-f]*: eb a0 30 00 stc\.d cp1,r0\[0x0\],cr0
55095 + *[0-9a-f]*: ef a8 26 70 stc\.d cp1,r8\+\+,cr6
55096 + *[0-9a-f]*: ef a7 28 70 stc\.d cp1,r7\+\+,cr8
55097 + *[0-9a-f]*: ef aa 32 e5 stc\.d cp1,r10\[r5<<0x2\],cr2
55098 + *[0-9a-f]*: ef a3 3c c6 stc\.d cp1,r3\[r6\],cr12
55100 +[0-9a-f]* <picost_w>:
55101 + *[0-9a-f]*: eb af 2f ff stc\.w cp1,pc\[0x3fc\],cr15
55102 + *[0-9a-f]*: eb a0 20 00 stc\.w cp1,r0\[0x0\],cr0
55103 + *[0-9a-f]*: ef a8 27 60 stc\.w cp1,r8\+\+,cr7
55104 + *[0-9a-f]*: ef a7 28 60 stc\.w cp1,r7\+\+,cr8
55105 + *[0-9a-f]*: ef aa 31 a5 stc\.w cp1,r10\[r5<<0x2\],cr1
55106 + *[0-9a-f]*: ef a3 3d 86 stc\.w cp1,r3\[r6\],cr13
55108 +[0-9a-f]* <picostm_d>:
55109 + *[0-9a-f]*: ed af 25 ff stcm\.d cp1,pc,cr0-cr15
55110 + *[0-9a-f]*: ed a0 25 01 stcm\.d cp1,r0,cr0-cr1
55111 + *[0-9a-f]*: ed a7 25 80 stcm\.d cp1,r7,cr14-cr15
55112 + *[0-9a-f]*: ed a8 25 7f stcm\.d cp1,r8,cr0-cr13
55114 +[0-9a-f]* <picostm_d_pu>:
55115 + *[0-9a-f]*: ed af 35 ff stcm\.d cp1,--pc,cr0-cr15
55116 + *[0-9a-f]*: ed a0 35 01 stcm\.d cp1,--r0,cr0-cr1
55117 + *[0-9a-f]*: ed a7 35 80 stcm\.d cp1,--r7,cr14-cr15
55118 + *[0-9a-f]*: ed a8 35 7f stcm\.d cp1,--r8,cr0-cr13
55120 +[0-9a-f]* <picostm_w>:
55121 + *[0-9a-f]*: ed af 22 ff stcm\.w cp1,pc,cr0-cr7
55122 + *[0-9a-f]*: ed a0 22 01 stcm\.w cp1,r0,cr0
55123 + *[0-9a-f]*: ed a7 22 80 stcm\.w cp1,r7,cr7
55124 + *[0-9a-f]*: ed a8 22 7f stcm\.w cp1,r8,cr0-cr6
55125 + *[0-9a-f]*: ed af 23 ff stcm\.w cp1,pc,cr8-cr15
55126 + *[0-9a-f]*: ed a0 23 01 stcm\.w cp1,r0,cr8
55127 + *[0-9a-f]*: ed a7 23 80 stcm\.w cp1,r7,cr15
55128 + *[0-9a-f]*: ed a8 23 7f stcm\.w cp1,r8,cr8-cr14
55130 +[0-9a-f]* <picostm_w_pu>:
55131 + *[0-9a-f]*: ed af 32 ff stcm\.w cp1,--pc,cr0-cr7
55132 + *[0-9a-f]*: ed a0 32 01 stcm\.w cp1,--r0,cr0
55133 + *[0-9a-f]*: ed a7 32 80 stcm\.w cp1,--r7,cr7
55134 + *[0-9a-f]*: ed a8 32 7f stcm\.w cp1,--r8,cr0-cr6
55135 + *[0-9a-f]*: ed af 33 ff stcm\.w cp1,--pc,cr8-cr15
55136 + *[0-9a-f]*: ed a0 33 01 stcm\.w cp1,--r0,cr8
55137 + *[0-9a-f]*: ed a7 33 80 stcm\.w cp1,--r7,cr15
55138 + *[0-9a-f]*: ed a8 33 7f stcm\.w cp1,--r8,cr8-cr14
55140 +++ b/gas/testsuite/gas/avr32/pico.s
55144 + .global picosvmac
55146 + picosvmac out0, in0, in0, in0
55147 + picosvmac out2, in11, in11, in11
55148 + picosvmac out1, in10, in0, in5
55149 + picosvmac out3, in6, in9, in0
55150 + .global picosvmul
55152 + picosvmul out0, in0, in0, in0
55153 + picosvmul out2, in11, in11, in11
55154 + picosvmul out1, in10, in0, in5
55155 + picosvmul out3, in6, in9, in0
55158 + picovmac out0, in0, in0, in0
55159 + picovmac out2, in11, in11, in11
55160 + picovmac out1, in10, in0, in5
55161 + picovmac out3, in6, in9, in0
55164 + picovmul out0, in0, in0, in0
55165 + picovmul out2, in11, in11, in11
55166 + picovmul out1, in10, in0, in5
55167 + picovmul out3, in6, in9, in0
55170 + picold.d vmu2_out, pc[1020]
55171 + picold.d inpix2, r0[1020]
55172 + picold.d inpix2, r0[0]
55173 + picold.d coeff0_a, --r8
55174 + picold.d coeff1_a, --r7
55175 + picold.d inpix0, r10[r5 << 2]
55176 + picold.d vmu0_out, r3[r6 << 0]
55179 + picold.w config, pc[1020]
55180 + picold.w inpix2, r0[1020]
55181 + picold.w inpix2, r0[0]
55182 + picold.w coeff0_b, --r8
55183 + picold.w coeff1_a, --r7
55184 + picold.w inpix1, r10[r5 << 2]
55185 + picold.w vmu1_out, r3[r6 << 0]
55186 + .global picoldm_d
55188 + picoldm.d pc, inpix2-config
55189 + picoldm.d r0, inpix2, inpix1
55190 + picoldm.d r7, vmu2_out, config
55191 + picoldm.d r8, inpix2-vmu1_out
55192 + .global picoldm_d_pu
55194 + picoldm.d pc++, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out, vmu2_out, config
55195 + picoldm.d r0++, inpix2, inpix1
55196 + picoldm.d r7++, vmu2_out, config
55197 + picoldm.d r8++, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out
55198 + .global picoldm_w
55200 + picoldm.w pc, inpix2-coeff0_b
55201 + picoldm.w r0, inpix2
55202 + picoldm.w r7, coeff0_b
55203 + picoldm.w r8, inpix2-coeff0_a
55204 + picoldm.w pc, coeff1_a-config
55205 + picoldm.w r0, coeff1_a
55206 + picoldm.w r7, config
55207 + picoldm.w r8, coeff1_a-vmu2_out
55208 + .global picoldm_w_pu
55210 + picoldm.w pc++, inpix2-coeff0_b
55211 + picoldm.w r0++, inpix2
55212 + picoldm.w r7++, coeff0_b
55213 + picoldm.w r8++, inpix2-coeff0_a
55214 + picoldm.w pc++, coeff1_a-config
55215 + picoldm.w r0++, coeff1_a
55216 + picoldm.w r7++, config
55217 + picoldm.w r8++, coeff1_a-vmu2_out
55220 + picomv.d vmu2_out, lr
55221 + picomv.d inpix2, r0
55222 + picomv.d coeff0_a, r8
55223 + picomv.d coeff1_a, r6
55224 + picomv.d pc, vmu2_out
55225 + picomv.d r0, inpix2
55226 + picomv.d r8, coeff0_a
55227 + picomv.d r6, coeff1_a
55230 + picomv.w config, pc
55231 + picomv.w inpix2, r0
55232 + picomv.w coeff0_b, r8
55233 + picomv.w coeff1_a, r7
55234 + picomv.w pc, config
55235 + picomv.w r0, inpix2
55236 + picomv.w r8, coeff0_b
55237 + picomv.w r7, coeff1_a
55240 + picost.d pc[1020], vmu2_out
55241 + picost.d r0[0], inpix2
55242 + picost.d r8++, coeff0_a
55243 + picost.d r7++, coeff1_a
55244 + picost.d r10[r5 << 2], inpix0
55245 + picost.d r3[r6 << 0], vmu0_out
55248 + picost.w pc[1020], config
55249 + picost.w r0[0], inpix2
55250 + picost.w r8++, coeff0_b
55251 + picost.w r7++, coeff1_a
55252 + picost.w r10[r5 << 2], inpix1
55253 + picost.w r3[r6 << 0], vmu1_out
55254 + .global picostm_d
55256 + picostm.d pc, inpix2-config
55257 + picostm.d r0, inpix2, inpix1
55258 + picostm.d r7, vmu2_out, config
55259 + picostm.d r8, inpix2-vmu1_out
55260 + .global picostm_d_pu
55262 + picostm.d --pc, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out, vmu2_out, config
55263 + picostm.d --r0, inpix2, inpix1
55264 + picostm.d --r7, vmu2_out, config
55265 + picostm.d --r8, inpix2, inpix1, inpix0, outpix2, outpix1, outpix0, coeff0_a, coeff0_b, coeff1_a, coeff1_b, coeff2_a, coeff2_b, vmu0_out, vmu1_out
55266 + .global picostm_w
55268 + picostm.w pc, inpix2-coeff0_b
55269 + picostm.w r0, inpix2
55270 + picostm.w r7, coeff0_b
55271 + picostm.w r8, inpix2-coeff0_a
55272 + picostm.w pc, coeff1_a-config
55273 + picostm.w r0, coeff1_a
55274 + picostm.w r7, config
55275 + picostm.w r8, coeff1_a-vmu2_out
55276 + .global picostm_w_pu
55278 + picostm.w --pc, inpix2-coeff0_b
55279 + picostm.w --r0, inpix2
55280 + picostm.w --r7, coeff0_b
55281 + picostm.w --r8, inpix2-coeff0_a
55282 + picostm.w --pc, coeff1_a-config
55283 + picostm.w --r0, coeff1_a
55284 + picostm.w --r7, config
55285 + picostm.w --r8, coeff1_a-vmu2_out
55287 +++ b/gas/testsuite/gas/avr32/pic_reloc.d
55293 +.*: +file format .*
55295 +Disassembly of section \.text:
55297 +00000000 <mcall_got>:
55298 + 0: f0 16 00 00 mcall r6\[0\]
55299 + 0: R_AVR32_GOT18SW extfunc
55300 + 4: f0 16 00 00 mcall r6\[0\]
55301 + 4: R_AVR32_GOT18SW \.L1
55302 + 8: f0 16 00 00 mcall r6\[0\]
55303 + 8: R_AVR32_GOT18SW \.L2
55304 + c: f0 16 00 00 mcall r6\[0\]
55305 + c: R_AVR32_GOT18SW mcall_got
55307 +00000010 <ldw_got>:
55308 + 10: ec f0 00 00 ld.w r0,r6\[0\]
55309 + 10: R_AVR32_GOT16S extvar
55310 + 14: ec f0 00 00 ld.w r0,r6\[0\]
55311 + 14: R_AVR32_GOT16S \.L3
55312 + 18: ec f0 00 00 ld.w r0,r6\[0\]
55313 + 18: R_AVR32_GOT16S \.L4
55314 + 1c: ec f0 00 00 ld.w r0,r6\[0\]
55315 + 1c: R_AVR32_GOT16S ldw_got
55317 +++ b/gas/testsuite/gas/avr32/pic_reloc.s
55321 + .global mcall_got
55324 + mcall r6[extfunc@got]
55325 + mcall r6[.L1@got]
55326 + mcall r6[.L2@got]
55327 + mcall r6[mcall_got@got]
55332 +.L3: ld.w r0,r6[extvar@got]
55333 + ld.w r0,r6[.L3@got]
55334 + ld.w r0,r6[.L4@got]
55335 + ld.w r0,r6[ldw_got@got]
55338 +++ b/gas/testsuite/gas/avr32/symdiff.d
55340 +#source: symdiff.s
55345 +.*: +file format .*
55347 +Disassembly of section \.text:
55349 +00000000 <diff32>:
55350 + 0: 00 00 add r0,r0
55351 + 2: 00 04 add r4,r0
55353 +00000004 <diff16>:
55354 + 4: 00 04 add r4,r0
55357 + 6: 04 00 add r0,r2
55359 +00000008 <symdiff_test>:
55365 +++ b/gas/testsuite/gas/avr32/symdiff_linkrelax.d
55367 +#source: symdiff.s
55370 +#name: symdiff_linkrelax
55372 +.*: +file format .*
55374 +Disassembly of section \.text:
55376 +00000000 <diff32>:
55377 + 0: 00 00 add r0,r0
55378 + 0: R_AVR32_DIFF32 \.text\+0xa
55379 + 2: 00 04 add r4,r0
55381 +00000004 <diff16>:
55382 + 4: 00 04 add r4,r0
55383 + 4: R_AVR32_DIFF16 \.text\+0xa
55386 + 6: 04 00 add r0,r2
55387 + 6: R_AVR32_DIFF8 \.text\+0xa
55388 + 7: R_AVR32_ALIGN \*ABS\*\+0x1
55390 +00000008 <symdiff_test>:
55396 +++ b/gas/testsuite/gas/avr32/symdiff.s
55410 + .global symdiff_test
55419 @@ -126,7 +126,9 @@ static fixS *fix_new_internal (fragS *,
55420 offsetT offset, int pcrel,
55421 RELOC_ENUM r_type);
55422 static long fixup_segment (fixS *, segT);
55423 +#if !defined (TC_RELAX_ALIGN)
55424 static relax_addressT relax_align (relax_addressT addr, int align);
55426 static fragS *chain_frchains_together_1 (segT, struct frchain *);
55427 static void chain_frchains_together (bfd *, segT, PTR);
55428 static void cvt_frag_to_fill (segT, fragS *);
55429 @@ -1684,6 +1686,10 @@ relax_frag (segT segment, fragS *fragP,
55431 #endif /* defined (TC_GENERIC_RELAX_TABLE) */
55433 +#ifdef TC_RELAX_ALIGN
55434 +#define RELAX_ALIGN(SEG, FRAG, ADDR) TC_RELAX_ALIGN(SEG, FRAG, ADDR)
55436 +#define RELAX_ALIGN(SEG, FRAG, ADDR) relax_align(ADDR, (FRAG)->fr_offset)
55437 /* Relax_align. Advance location counter to next address that has 'alignment'
55438 lowest order bits all 0s, return size of adjustment made. */
55439 static relax_addressT
55440 @@ -1703,6 +1709,7 @@ relax_align (register relax_addressT add
55442 return (new_address - address);
55446 /* Now we have a segment, not a crowd of sub-segments, we can make
55448 @@ -1746,7 +1753,7 @@ relax_segment (struct frag *segment_frag
55449 case rs_align_code:
55450 case rs_align_test:
55452 - addressT offset = relax_align (address, (int) fragP->fr_offset);
55453 + addressT offset = RELAX_ALIGN(segment, fragP, address);
55455 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype)
55457 @@ -1922,10 +1929,10 @@ relax_segment (struct frag *segment_frag
55459 addressT oldoff, newoff;
55461 - oldoff = relax_align (was_address + fragP->fr_fix,
55463 - newoff = relax_align (address + fragP->fr_fix,
55465 + oldoff = RELAX_ALIGN (segment, fragP,
55466 + was_address + fragP->fr_fix);
55467 + newoff = RELAX_ALIGN (segment, fragP,
55468 + address + fragP->fr_fix);
55470 if (fragP->fr_subtype != 0)
55472 --- a/include/dis-asm.h
55473 +++ b/include/dis-asm.h
55474 @@ -223,6 +223,7 @@ extern int print_insn_big_arm (bfd_vma,
55475 extern int print_insn_little_arm (bfd_vma, disassemble_info *);
55476 extern int print_insn_sparc (bfd_vma, disassemble_info *);
55477 extern int print_insn_avr (bfd_vma, disassemble_info *);
55478 +extern int print_insn_avr32 (bfd_vma, disassemble_info *);
55479 extern int print_insn_bfin (bfd_vma, disassemble_info *);
55480 extern int print_insn_d10v (bfd_vma, disassemble_info *);
55481 extern int print_insn_d30v (bfd_vma, disassemble_info *);
55482 @@ -276,7 +277,9 @@ extern disassembler_ftype cris_get_disas
55483 extern void print_mips_disassembler_options (FILE *);
55484 extern void print_ppc_disassembler_options (FILE *);
55485 extern void print_arm_disassembler_options (FILE *);
55486 +extern void print_avr32_disassembler_options (FILE *);
55487 extern void parse_arm_disassembler_option (char *);
55488 +extern void parse_avr32_disassembler_option (char *);
55489 extern int get_arm_regname_num_options (void);
55490 extern int set_arm_regname_option (int);
55491 extern int get_arm_regnames (int, const char **, const char **, const char *const **);
55493 +++ b/include/elf/avr32.h
55495 +/* AVR32 ELF support for BFD.
55496 + Copyright 2003-2006 Atmel Corporation.
55498 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
55500 + This file is part of BFD, the Binary File Descriptor library.
55502 + This program is free software; you can redistribute it and/or
55503 + modify it under the terms of the GNU General Public License as
55504 + published by the Free Software Foundation; either version 2 of the
55505 + License, or (at your option) any later version.
55507 + This program is distributed in the hope that it will be useful, but
55508 + WITHOUT ANY WARRANTY; without even the implied warranty of
55509 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
55510 + General Public License for more details.
55512 + You should have received a copy of the GNU General Public License
55513 + along with this program; if not, write to the Free Software
55514 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
55515 + 02111-1307, USA. */
55517 +#include "elf/reloc-macros.h"
55519 +/* CPU-specific flags for the ELF header e_flags field */
55520 +#define EF_AVR32_LINKRELAX 0x01
55521 +#define EF_AVR32_PIC 0x02
55523 +START_RELOC_NUMBERS (elf_avr32_reloc_type)
55524 + RELOC_NUMBER (R_AVR32_NONE, 0)
55526 + /* Data Relocations */
55527 + RELOC_NUMBER (R_AVR32_32, 1)
55528 + RELOC_NUMBER (R_AVR32_16, 2)
55529 + RELOC_NUMBER (R_AVR32_8, 3)
55530 + RELOC_NUMBER (R_AVR32_32_PCREL, 4)
55531 + RELOC_NUMBER (R_AVR32_16_PCREL, 5)
55532 + RELOC_NUMBER (R_AVR32_8_PCREL, 6)
55533 + RELOC_NUMBER (R_AVR32_DIFF32, 7)
55534 + RELOC_NUMBER (R_AVR32_DIFF16, 8)
55535 + RELOC_NUMBER (R_AVR32_DIFF8, 9)
55536 + RELOC_NUMBER (R_AVR32_GOT32, 10)
55537 + RELOC_NUMBER (R_AVR32_GOT16, 11)
55538 + RELOC_NUMBER (R_AVR32_GOT8, 12)
55540 + /* Normal Code Relocations */
55541 + RELOC_NUMBER (R_AVR32_21S, 13)
55542 + RELOC_NUMBER (R_AVR32_16U, 14)
55543 + RELOC_NUMBER (R_AVR32_16S, 15)
55544 + RELOC_NUMBER (R_AVR32_8S, 16)
55545 + RELOC_NUMBER (R_AVR32_8S_EXT, 17)
55547 + /* PC-Relative Code Relocations */
55548 + RELOC_NUMBER (R_AVR32_22H_PCREL, 18)
55549 + RELOC_NUMBER (R_AVR32_18W_PCREL, 19)
55550 + RELOC_NUMBER (R_AVR32_16B_PCREL, 20)
55551 + RELOC_NUMBER (R_AVR32_16N_PCREL, 21)
55552 + RELOC_NUMBER (R_AVR32_14UW_PCREL, 22)
55553 + RELOC_NUMBER (R_AVR32_11H_PCREL, 23)
55554 + RELOC_NUMBER (R_AVR32_10UW_PCREL, 24)
55555 + RELOC_NUMBER (R_AVR32_9H_PCREL, 25)
55556 + RELOC_NUMBER (R_AVR32_9UW_PCREL, 26)
55558 + /* Special Code Relocations */
55559 + RELOC_NUMBER (R_AVR32_HI16, 27)
55560 + RELOC_NUMBER (R_AVR32_LO16, 28)
55562 + /* PIC Relocations */
55563 + RELOC_NUMBER (R_AVR32_GOTPC, 29)
55564 + RELOC_NUMBER (R_AVR32_GOTCALL, 30)
55565 + RELOC_NUMBER (R_AVR32_LDA_GOT, 31)
55566 + RELOC_NUMBER (R_AVR32_GOT21S, 32)
55567 + RELOC_NUMBER (R_AVR32_GOT18SW, 33)
55568 + RELOC_NUMBER (R_AVR32_GOT16S, 34)
55569 + RELOC_NUMBER (R_AVR32_GOT7UW, 35)
55571 + /* Constant Pool Relocations */
55572 + RELOC_NUMBER (R_AVR32_32_CPENT, 36)
55573 + RELOC_NUMBER (R_AVR32_CPCALL, 37)
55574 + RELOC_NUMBER (R_AVR32_16_CP, 38)
55575 + RELOC_NUMBER (R_AVR32_9W_CP, 39)
55577 + /* Dynamic Relocations */
55578 + RELOC_NUMBER (R_AVR32_RELATIVE, 40)
55579 + RELOC_NUMBER (R_AVR32_GLOB_DAT, 41)
55580 + RELOC_NUMBER (R_AVR32_JMP_SLOT, 42)
55582 + /* Linkrelax Information */
55583 + RELOC_NUMBER (R_AVR32_ALIGN, 43)
55584 +END_RELOC_NUMBERS (R_AVR32_max)
55586 +/* Processor specific dynamic array tags. */
55588 +/* The total size in bytes of the Global Offset Table */
55589 +#define DT_AVR32_GOTSZ 0x70000001
55590 --- a/include/elf/common.h
55591 +++ b/include/elf/common.h
55592 @@ -256,6 +256,9 @@
55593 /* V850 backend magic number. Written in the absense of an ABI. */
55594 #define EM_CYGNUS_V850 0x9080
55596 +/* AVR32 magic number, picked by IAR Systems. */
55597 +#define EM_AVR32 0x18ad
55599 /* old S/390 backend magic number. Written in the absence of an ABI. */
55600 #define EM_S390_OLD 0xa390
55602 --- a/ld/configdoc.texi
55603 +++ b/ld/configdoc.texi
55614 @@ -187,7 +187,7 @@
55616 /* If using the C implementation of alloca, define if you know the
55617 direction of stack growth for your system; otherwise it will be
55618 - automatically deduced at run-time.
55619 + automatically deduced at runtime.
55620 STACK_DIRECTION > 0 => grows toward higher addresses
55621 STACK_DIRECTION < 0 => grows toward lower addresses
55622 STACK_DIRECTION = 0 => direction of growth unknown */
55623 @@ -215,8 +215,8 @@
55627 -/* Define to `long' if <sys/types.h> does not define. */
55628 +/* Define to `long int' if <sys/types.h> does not define. */
55631 -/* Define to `unsigned' if <sys/types.h> does not define. */
55632 +/* Define to `unsigned int' if <sys/types.h> does not define. */
55638 # Guess values for system-dependent variables and create Makefiles.
55639 -# Generated by GNU Autoconf 2.59.
55640 +# Generated by GNU Autoconf 2.61.
55642 -# Copyright (C) 2003 Free Software Foundation, Inc.
55643 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
55644 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
55645 # This configure script is free software; the Free Software Foundation
55646 # gives unlimited permission to copy, distribute and modify it.
55647 ## --------------------- ##
55648 ## M4sh Initialization. ##
55649 ## --------------------- ##
55651 -# Be Bourne compatible
55652 +# Be more Bourne compatible
55653 +DUALCASE=1; export DUALCASE # for MKS sh
55654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55657 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55658 # is contrary to our usage. Disable this feature.
55659 alias -g '${1+"$@"}'='"$@"'
55660 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
55662 + setopt NO_GLOB_SUBST
55664 + case `(set -o) 2>/dev/null` in
55665 + *posix*) set -o posix ;;
55674 +# Avoid depending upon Character Ranges.
55675 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55676 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55677 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55678 +as_cr_digits='0123456789'
55679 +as_cr_alnum=$as_cr_Letters$as_cr_digits
55681 +# The user is always right.
55682 +if test "${PATH_SEPARATOR+set}" != set; then
55683 + echo "#! /bin/sh" >conf$$.sh
55684 + echo "exit 0" >>conf$$.sh
55685 + chmod +x conf$$.sh
55686 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55687 + PATH_SEPARATOR=';'
55693 -DUALCASE=1; export DUALCASE # for MKS sh
55695 # Support unset when possible.
55696 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55697 @@ -29,8 +58,43 @@ else
55702 +# We need space, tab and new line, in precisely that order. Quoting is
55703 +# there to prevent editors from complaining about space-tab.
55704 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
55705 +# splitting by setting IFS to empty value.)
55710 +# Find who we are. Look in the path if we contain no directory separator.
55712 + *[\\/]* ) as_myself=$0 ;;
55713 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55714 +for as_dir in $PATH
55717 + test -z "$as_dir" && as_dir=.
55718 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55724 +# We did not find ourselves, most probably we were run as `sh COMMAND'
55725 +# in which case we are not to be found in the path.
55726 +if test "x$as_myself" = x; then
55729 +if test ! -f "$as_myself"; then
55730 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55731 + { (exit 1); exit 1; }
55734 # Work around bugs in pre-3.0 UWIN ksh.
55735 -$as_unset ENV MAIL MAILPATH
55736 +for as_var in ENV MAIL MAILPATH
55737 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55742 @@ -44,18 +108,19 @@ do
55743 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55744 eval $as_var=C; export $as_var
55746 - $as_unset $as_var
55747 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55751 # Required to use basename.
55752 -if expr a : '\(a\)' >/dev/null 2>&1; then
55753 +if expr a : '\(a\)' >/dev/null 2>&1 &&
55754 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
55760 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
55761 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55762 as_basename=basename
55765 @@ -63,157 +128,388 @@ fi
55768 # Name of the executable.
55769 -as_me=`$as_basename "$0" ||
55770 +as_me=`$as_basename -- "$0" ||
55771 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55772 X"$0" : 'X\(//\)$' \| \
55773 - X"$0" : 'X\(/\)$' \| \
55774 - . : '\(.\)' 2>/dev/null ||
55775 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55777 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
55778 - /^X\/\(\/\/\)$/{ s//\1/; q; }
55779 - /^X\/\(\/\).*/{ s//\1/; q; }
55781 + sed '/^.*\/\([^/][^/]*\)\/*$/{
55798 -# PATH needs CR, and LINENO needs CR and PATH.
55799 -# Avoid depending upon Character Ranges.
55800 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55801 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55802 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55803 -as_cr_digits='0123456789'
55804 -as_cr_alnum=$as_cr_Letters$as_cr_digits
55806 -# The user is always right.
55807 -if test "${PATH_SEPARATOR+set}" != set; then
55808 - echo "#! /bin/sh" >conf$$.sh
55809 - echo "exit 0" >>conf$$.sh
55810 - chmod +x conf$$.sh
55811 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55812 - PATH_SEPARATOR=';'
55817 +if test "x$CONFIG_SHELL" = x; then
55818 + if (eval ":") 2>/dev/null; then
55819 + as_have_required=yes
55821 + as_have_required=no
55824 + if test $as_have_required = yes && (eval ":
55825 +(as_func_return () {
55828 +as_func_success () {
55831 +as_func_failure () {
55834 +as_func_ret_success () {
55837 +as_func_ret_failure () {
55842 +if as_func_success; then
55846 + echo as_func_success failed.
55849 +if as_func_failure; then
55851 + echo as_func_failure succeeded.
55854 - as_lineno_1=$LINENO
55855 - as_lineno_2=$LINENO
55856 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
55857 - test "x$as_lineno_1" != "x$as_lineno_2" &&
55858 - test "x$as_lineno_3" = "x$as_lineno_2" || {
55859 - # Find who we are. Look in the path if we contain no path at all
55860 - # relative or not.
55862 - *[\\/]* ) as_myself=$0 ;;
55863 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55864 -for as_dir in $PATH
55867 - test -z "$as_dir" && as_dir=.
55868 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55870 +if as_func_ret_success; then
55874 + echo as_func_ret_success failed.
55879 - # We did not find ourselves, most probably we were run as `sh COMMAND'
55880 - # in which case we are not to be found in the path.
55881 - if test "x$as_myself" = x; then
55884 - if test ! -f "$as_myself"; then
55885 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
55886 - { (exit 1); exit 1; }; }
55888 - case $CONFIG_SHELL in
55890 +if as_func_ret_failure; then
55892 + echo as_func_ret_failure succeeded.
55895 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
55899 + echo positional parameters were not saved.
55902 +test \$exitcode = 0) || { (exit 1); exit 1; }
55905 + as_lineno_1=\$LINENO
55906 + as_lineno_2=\$LINENO
55907 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
55908 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
55909 +") 2> /dev/null; then
55912 + as_candidate_shells=
55913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55914 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
55917 test -z "$as_dir" && as_dir=.
55918 - for as_base in sh bash ksh sh5; do
55922 - if ("$as_dir/$as_base" -c '
55923 + for as_base in sh bash ksh sh5; do
55924 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
55931 + for as_shell in $as_candidate_shells $SHELL; do
55932 + # Try only shells that exist, to save several forks.
55933 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
55934 + { ("$as_shell") 2> /dev/null <<\_ASEOF
55935 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55938 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55939 + # is contrary to our usage. Disable this feature.
55940 + alias -g '${1+"$@"}'='"$@"'
55941 + setopt NO_GLOB_SUBST
55943 + case `(set -o) 2>/dev/null` in
55944 + *posix*) set -o posix ;;
55953 + CONFIG_SHELL=$as_shell
55954 + as_have_required=yes
55955 + if { "$as_shell" 2> /dev/null <<\_ASEOF
55956 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55959 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55960 + # is contrary to our usage. Disable this feature.
55961 + alias -g '${1+"$@"}'='"$@"'
55962 + setopt NO_GLOB_SUBST
55964 + case `(set -o) 2>/dev/null` in
55965 + *posix*) set -o posix ;;
55972 +(as_func_return () {
55975 +as_func_success () {
55978 +as_func_failure () {
55981 +as_func_ret_success () {
55984 +as_func_ret_failure () {
55989 +if as_func_success; then
55993 + echo as_func_success failed.
55996 +if as_func_failure; then
55998 + echo as_func_failure succeeded.
56001 +if as_func_ret_success; then
56005 + echo as_func_ret_success failed.
56008 +if as_func_ret_failure; then
56010 + echo as_func_ret_failure succeeded.
56013 +if ( set x; as_func_ret_success y && test x = "$1" ); then
56017 + echo positional parameters were not saved.
56020 +test $exitcode = 0) || { (exit 1); exit 1; }
56023 as_lineno_1=$LINENO
56024 as_lineno_2=$LINENO
56025 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
56026 test "x$as_lineno_1" != "x$as_lineno_2" &&
56027 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
56028 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
56029 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
56030 - CONFIG_SHELL=$as_dir/$as_base
56031 - export CONFIG_SHELL
56032 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
56039 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
56050 + if test "x$CONFIG_SHELL" != x; then
56051 + for as_var in BASH_ENV ENV
56052 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56054 + export CONFIG_SHELL
56055 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
56059 + if test $as_have_required = no; then
56060 + echo This script requires a shell more modern than all the
56061 + echo shells that I found on your system. Please install a
56062 + echo modern shell, or manually run the script under such a
56063 + echo shell if you do have one.
56064 + { (exit 1); exit 1; }
56074 +(eval "as_func_return () {
56077 +as_func_success () {
56080 +as_func_failure () {
56083 +as_func_ret_success () {
56086 +as_func_ret_failure () {
56091 +if as_func_success; then
56095 + echo as_func_success failed.
56098 +if as_func_failure; then
56100 + echo as_func_failure succeeded.
56103 +if as_func_ret_success; then
56107 + echo as_func_ret_success failed.
56110 +if as_func_ret_failure; then
56112 + echo as_func_ret_failure succeeded.
56115 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
56119 + echo positional parameters were not saved.
56122 +test \$exitcode = 0") || {
56123 + echo No shell found that supports shell functions.
56124 + echo Please tell autoconf@gnu.org about your system,
56125 + echo including any error possibly output before this
56131 + as_lineno_1=$LINENO
56132 + as_lineno_2=$LINENO
56133 + test "x$as_lineno_1" != "x$as_lineno_2" &&
56134 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56136 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56137 # uniformly replaced by the line number. The first 'sed' inserts a
56138 - # line-number line before each line; the second 'sed' does the real
56139 - # work. The second script uses 'N' to pair each line-number line
56140 - # with the numbered line, and appends trailing '-' during
56141 - # substitution so that $LINENO is not a special case at line end.
56142 + # line-number line after each line using $LINENO; the second 'sed'
56143 + # does the real work. The second script uses 'N' to pair each
56144 + # line-number line with the line containing $LINENO, and appends
56145 + # trailing '-' during substitution so that $LINENO is not a special
56146 + # case at line end.
56147 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56148 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
56149 - sed '=' <$as_myself |
56150 + # scripts with optimization help from Paolo Bonzini. Blame Lee
56151 + # E. McMahon (1931-1989) for sed's syntax. :-)
56157 + s/[$]LINENO.*/&-/
56164 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
56166 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56169 - s,^['$as_cr_digits']*\n,,
56171 ' >$as_me.lineno &&
56172 - chmod +x $as_me.lineno ||
56173 + chmod +x "$as_me.lineno" ||
56174 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56175 { (exit 1); exit 1; }; }
56177 # Don't try to exec as it changes $[0], causing all sort of problems
56178 # (the dirname of $[0] is not the place where we might find the
56179 - # original and so on. Autoconf is especially sensible to this).
56180 - . ./$as_me.lineno
56181 + # original and so on. Autoconf is especially sensitive to this).
56182 + . "./$as_me.lineno"
56183 # Exit status is that of the last command.
56188 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
56189 - *c*,-n*) ECHO_N= ECHO_C='
56191 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
56192 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
56193 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56194 + as_dirname=dirname
56199 +ECHO_C= ECHO_N= ECHO_T=
56200 +case `echo -n x` in
56202 + case `echo 'x\c'` in
56203 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56210 -if expr a : '\(a\)' >/dev/null 2>&1; then
56211 +if expr a : '\(a\)' >/dev/null 2>&1 &&
56212 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
56218 rm -f conf$$ conf$$.exe conf$$.file
56219 +if test -d conf$$.dir; then
56220 + rm -f conf$$.dir/conf$$.file
56226 if ln -s conf$$.file conf$$ 2>/dev/null; then
56227 - # We could just check for DJGPP; but this test a) works b) is more generic
56228 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
56229 - if test -f conf$$.exe; then
56230 - # Don't use ln at all; we don't have any links
56232 + # ... but there are two gotchas:
56233 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56234 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56235 + # In both cases, we have to default to `cp -p'.
56236 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56241 elif ln conf$$.file conf$$ 2>/dev/null; then
56246 -rm -f conf$$ conf$$.exe conf$$.file
56247 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56248 +rmdir conf$$.dir 2>/dev/null
56250 if mkdir -p . 2>/dev/null; then
56252 @@ -222,7 +518,28 @@ else
56256 -as_executable_p="test -f"
56257 +if test -x / >/dev/null 2>&1; then
56258 + as_test_x='test -x'
56260 + if ls -dL / >/dev/null 2>&1; then
56267 + if test -d "$1"; then
56273 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56274 + ???[sx]*):;;*)false;;esac;fi
56278 +as_executable_p=$as_test_x
56280 # Sed expression to map a string onto a valid CPP name.
56281 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56282 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
56283 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56287 -# We need space, tab and new line, in precisely that order.
56295 +exec 7<&0 </dev/null 6>&1
56297 # Name of the host.
56298 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
56299 # so uname gets run too.
56300 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
56307 ac_default_prefix=/usr/local
56309 ac_config_libobj_dir=.
56315 SHELL=${CONFIG_SHELL-/bin/sh}
56317 -# Maximum number of lines to put in a shell here document.
56318 -# This variable seems obsolete. It should probably be removed, and
56319 -# only ac_max_sed_lines should be used.
56320 -: ${ac_max_here_lines=38}
56322 # Identity of this package.
56325 @@ -275,42 +580,191 @@ ac_unique_file="ldmain.c"
56326 # Factoring default headers for most tests.
56327 ac_includes_default="\
56329 -#if HAVE_SYS_TYPES_H
56330 +#ifdef HAVE_SYS_TYPES_H
56331 # include <sys/types.h>
56333 -#if HAVE_SYS_STAT_H
56334 +#ifdef HAVE_SYS_STAT_H
56335 # include <sys/stat.h>
56338 +#ifdef STDC_HEADERS
56339 # include <stdlib.h>
56340 # include <stddef.h>
56342 -# if HAVE_STDLIB_H
56343 +# ifdef HAVE_STDLIB_H
56344 # include <stdlib.h>
56348 -# if !STDC_HEADERS && HAVE_MEMORY_H
56349 +#ifdef HAVE_STRING_H
56350 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
56351 # include <memory.h>
56353 # include <string.h>
56355 -#if HAVE_STRINGS_H
56356 +#ifdef HAVE_STRINGS_H
56357 # include <strings.h>
56359 -#if HAVE_INTTYPES_H
56360 +#ifdef HAVE_INTTYPES_H
56361 # include <inttypes.h>
56363 -# if HAVE_STDINT_H
56364 -# include <stdint.h>
56368 +#ifdef HAVE_STDINT_H
56369 +# include <stdint.h>
56371 +#ifdef HAVE_UNISTD_H
56372 # include <unistd.h>
56375 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S RANLIB ac_ct_RANLIB LIBTOOL use_sysroot TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS NO_WERROR CPP EGREP ALLOCA USE_NLS MSGFMT GMSGFMT XGETTEXT USE_INCLUDED_LIBINTL CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLDEPS INTLLIBS INTLOBJS POFILES POSUB INCLUDE_LOCALE_H GT_NO GT_YES MKINSTALLDIRS l YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
56376 +ac_subst_vars='SHELL
56385 +program_transform_name
56445 +INSTALL_STRIP_PROGRAM
56460 +am__fastdepCC_TRUE
56461 +am__fastdepCC_FALSE
56466 +TARGET_SYSTEM_ROOT
56467 +TARGET_SYSTEM_ROOT_DEFINE
56478 +USE_INCLUDED_LIBINTL
56499 +MAINTAINER_MODE_TRUE
56500 +MAINTAINER_MODE_FALSE
56515 ac_subst_files='TDIRS'
56516 + ac_precious_vars='build_alias
56529 # Initialize some variables set by options.
56531 @@ -337,34 +791,48 @@ x_libraries=NONE
56532 # and all the variables that are supposed to be based on exec_prefix
56533 # by default will actually change.
56534 # Use braces instead of parens because sh, perl, etc. also accept them.
56535 +# (The list follows the same order as the GNU Coding Standards.)
56536 bindir='${exec_prefix}/bin'
56537 sbindir='${exec_prefix}/sbin'
56538 libexecdir='${exec_prefix}/libexec'
56539 -datadir='${prefix}/share'
56540 +datarootdir='${prefix}/share'
56541 +datadir='${datarootdir}'
56542 sysconfdir='${prefix}/etc'
56543 sharedstatedir='${prefix}/com'
56544 localstatedir='${prefix}/var'
56545 -libdir='${exec_prefix}/lib'
56546 includedir='${prefix}/include'
56547 oldincludedir='/usr/include'
56548 -infodir='${prefix}/info'
56549 -mandir='${prefix}/man'
56550 +docdir='${datarootdir}/doc/${PACKAGE}'
56551 +infodir='${datarootdir}/info'
56552 +htmldir='${docdir}'
56553 +dvidir='${docdir}'
56554 +pdfdir='${docdir}'
56556 +libdir='${exec_prefix}/lib'
56557 +localedir='${datarootdir}/locale'
56558 +mandir='${datarootdir}/man'
56564 # If the previous option needs an argument, assign it.
56565 if test -n "$ac_prev"; then
56566 - eval "$ac_prev=\$ac_option"
56567 + eval $ac_prev=\$ac_option
56572 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
56573 + case $ac_option in
56574 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
56575 + *) ac_optarg=yes ;;
56578 # Accept the important Cygnus configure options, so we can diagnose typos.
56580 - case $ac_option in
56581 + case $ac_dashdash$ac_option in
56583 + ac_dashdash=yes ;;
56585 -bindir | --bindir | --bindi | --bind | --bin | --bi)
56587 @@ -386,33 +854,45 @@ do
56588 --config-cache | -C)
56589 cache_file=config.cache ;;
56591 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
56592 + -datadir | --datadir | --datadi | --datad)
56594 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
56596 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
56597 datadir=$ac_optarg ;;
56599 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
56600 + | --dataroo | --dataro | --datar)
56601 + ac_prev=datarootdir ;;
56602 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
56603 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
56604 + datarootdir=$ac_optarg ;;
56606 -disable-* | --disable-*)
56607 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
56608 # Reject names that are not valid shell variable names.
56609 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56610 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56611 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
56612 { (exit 1); exit 1; }; }
56613 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
56614 - eval "enable_$ac_feature=no" ;;
56615 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
56616 + eval enable_$ac_feature=no ;;
56618 + -docdir | --docdir | --docdi | --doc | --do)
56619 + ac_prev=docdir ;;
56620 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
56621 + docdir=$ac_optarg ;;
56623 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
56624 + ac_prev=dvidir ;;
56625 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
56626 + dvidir=$ac_optarg ;;
56628 -enable-* | --enable-*)
56629 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
56630 # Reject names that are not valid shell variable names.
56631 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56632 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56633 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
56634 { (exit 1); exit 1; }; }
56635 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
56636 - case $ac_option in
56637 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
56638 - *) ac_optarg=yes ;;
56640 - eval "enable_$ac_feature='$ac_optarg'" ;;
56641 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
56642 + eval enable_$ac_feature=\$ac_optarg ;;
56644 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
56645 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
56646 @@ -439,6 +919,12 @@ do
56647 -host=* | --host=* | --hos=* | --ho=*)
56648 host_alias=$ac_optarg ;;
56650 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
56651 + ac_prev=htmldir ;;
56652 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
56654 + htmldir=$ac_optarg ;;
56656 -includedir | --includedir | --includedi | --included | --include \
56657 | --includ | --inclu | --incl | --inc)
56658 ac_prev=includedir ;;
56659 @@ -463,13 +949,16 @@ do
56660 | --libexe=* | --libex=* | --libe=*)
56661 libexecdir=$ac_optarg ;;
56663 + -localedir | --localedir | --localedi | --localed | --locale)
56664 + ac_prev=localedir ;;
56665 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
56666 + localedir=$ac_optarg ;;
56668 -localstatedir | --localstatedir | --localstatedi | --localstated \
56669 - | --localstate | --localstat | --localsta | --localst \
56670 - | --locals | --local | --loca | --loc | --lo)
56671 + | --localstate | --localstat | --localsta | --localst | --locals)
56672 ac_prev=localstatedir ;;
56673 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
56674 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
56675 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
56676 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
56677 localstatedir=$ac_optarg ;;
56679 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
56680 @@ -534,6 +1023,16 @@ do
56681 | --progr-tra=* | --program-tr=* | --program-t=*)
56682 program_transform_name=$ac_optarg ;;
56684 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
56685 + ac_prev=pdfdir ;;
56686 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
56687 + pdfdir=$ac_optarg ;;
56689 + -psdir | --psdir | --psdi | --psd | --ps)
56691 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
56692 + psdir=$ac_optarg ;;
56694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56695 | -silent | --silent | --silen | --sile | --sil)
56697 @@ -586,24 +1085,20 @@ do
56698 -with-* | --with-*)
56699 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
56700 # Reject names that are not valid shell variable names.
56701 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56702 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56703 { echo "$as_me: error: invalid package name: $ac_package" >&2
56704 { (exit 1); exit 1; }; }
56705 - ac_package=`echo $ac_package| sed 's/-/_/g'`
56706 - case $ac_option in
56707 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
56708 - *) ac_optarg=yes ;;
56710 - eval "with_$ac_package='$ac_optarg'" ;;
56711 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
56712 + eval with_$ac_package=\$ac_optarg ;;
56714 -without-* | --without-*)
56715 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
56716 # Reject names that are not valid shell variable names.
56717 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56718 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56719 { echo "$as_me: error: invalid package name: $ac_package" >&2
56720 { (exit 1); exit 1; }; }
56721 - ac_package=`echo $ac_package | sed 's/-/_/g'`
56722 - eval "with_$ac_package=no" ;;
56723 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
56724 + eval with_$ac_package=no ;;
56727 # Obsolete; use --with-x.
56728 @@ -634,8 +1129,7 @@ Try \`$0 --help' for more information."
56729 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
56730 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
56731 { (exit 1); exit 1; }; }
56732 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
56733 - eval "$ac_envvar='$ac_optarg'"
56734 + eval $ac_envvar=\$ac_optarg
56735 export $ac_envvar ;;
56738 @@ -655,27 +1149,19 @@ if test -n "$ac_prev"; then
56739 { (exit 1); exit 1; }; }
56742 -# Be sure to have absolute paths.
56743 -for ac_var in exec_prefix prefix
56744 +# Be sure to have absolute directory names.
56745 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
56746 + datadir sysconfdir sharedstatedir localstatedir includedir \
56747 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
56748 + libdir localedir mandir
56750 - eval ac_val=$`echo $ac_var`
56751 + eval ac_val=\$$ac_var
56753 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
56754 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
56755 - { (exit 1); exit 1; }; };;
56759 -# Be sure to have absolute paths.
56760 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
56761 - localstatedir libdir includedir oldincludedir infodir mandir
56763 - eval ac_val=$`echo $ac_var`
56765 - [\\/$]* | ?:[\\/]* ) ;;
56766 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
56767 - { (exit 1); exit 1; }; };;
56768 + [\\/$]* | ?:[\\/]* ) continue;;
56769 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
56771 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
56772 + { (exit 1); exit 1; }; }
56775 # There might be people who depend on the old broken behavior: `$host'
56776 @@ -702,74 +1188,76 @@ test -n "$host_alias" && ac_tool_prefix=
56777 test "$silent" = yes && exec 6>/dev/null
56780 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
56781 +ac_ls_di=`ls -di .` &&
56782 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
56783 + { echo "$as_me: error: Working directory cannot be determined" >&2
56784 + { (exit 1); exit 1; }; }
56785 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
56786 + { echo "$as_me: error: pwd does not report name of working directory" >&2
56787 + { (exit 1); exit 1; }; }
56790 # Find the source files, if location was not specified.
56791 if test -z "$srcdir"; then
56792 ac_srcdir_defaulted=yes
56793 - # Try the directory containing this script, then its parent.
56794 - ac_confdir=`(dirname "$0") 2>/dev/null ||
56795 + # Try the directory containing this script, then the parent directory.
56796 + ac_confdir=`$as_dirname -- "$0" ||
56797 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56798 X"$0" : 'X\(//\)[^/]' \| \
56799 X"$0" : 'X\(//\)$' \| \
56800 - X"$0" : 'X\(/\)' \| \
56801 - . : '\(.\)' 2>/dev/null ||
56802 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56804 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56805 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56806 - /^X\(\/\/\)$/{ s//\1/; q; }
56807 - /^X\(\/\).*/{ s//\1/; q; }
56809 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56813 + /^X\(\/\/\)[^/].*/{
56827 - if test ! -r $srcdir/$ac_unique_file; then
56828 + if test ! -r "$srcdir/$ac_unique_file"; then
56832 ac_srcdir_defaulted=no
56834 -if test ! -r $srcdir/$ac_unique_file; then
56835 - if test "$ac_srcdir_defaulted" = yes; then
56836 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
56837 - { (exit 1); exit 1; }; }
56839 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
56840 - { (exit 1); exit 1; }; }
56843 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
56844 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
56845 - { (exit 1); exit 1; }; }
56846 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
56847 -ac_env_build_alias_set=${build_alias+set}
56848 -ac_env_build_alias_value=$build_alias
56849 -ac_cv_env_build_alias_set=${build_alias+set}
56850 -ac_cv_env_build_alias_value=$build_alias
56851 -ac_env_host_alias_set=${host_alias+set}
56852 -ac_env_host_alias_value=$host_alias
56853 -ac_cv_env_host_alias_set=${host_alias+set}
56854 -ac_cv_env_host_alias_value=$host_alias
56855 -ac_env_target_alias_set=${target_alias+set}
56856 -ac_env_target_alias_value=$target_alias
56857 -ac_cv_env_target_alias_set=${target_alias+set}
56858 -ac_cv_env_target_alias_value=$target_alias
56859 -ac_env_CC_set=${CC+set}
56860 -ac_env_CC_value=$CC
56861 -ac_cv_env_CC_set=${CC+set}
56862 -ac_cv_env_CC_value=$CC
56863 -ac_env_CFLAGS_set=${CFLAGS+set}
56864 -ac_env_CFLAGS_value=$CFLAGS
56865 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
56866 -ac_cv_env_CFLAGS_value=$CFLAGS
56867 -ac_env_LDFLAGS_set=${LDFLAGS+set}
56868 -ac_env_LDFLAGS_value=$LDFLAGS
56869 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
56870 -ac_cv_env_LDFLAGS_value=$LDFLAGS
56871 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
56872 -ac_env_CPPFLAGS_value=$CPPFLAGS
56873 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
56874 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
56875 -ac_env_CPP_set=${CPP+set}
56876 -ac_env_CPP_value=$CPP
56877 -ac_cv_env_CPP_set=${CPP+set}
56878 -ac_cv_env_CPP_value=$CPP
56879 +if test ! -r "$srcdir/$ac_unique_file"; then
56880 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
56881 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
56882 + { (exit 1); exit 1; }; }
56884 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
56886 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
56887 + { (exit 1); exit 1; }; }
56889 +# When building in place, set srcdir=.
56890 +if test "$ac_abs_confdir" = "$ac_pwd"; then
56893 +# Remove unnecessary trailing slashes from srcdir.
56894 +# Double slashes in file names in object file debugging info
56895 +# mess up M-x gdb in Emacs.
56897 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
56899 +for ac_var in $ac_precious_vars; do
56900 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
56901 + eval ac_env_${ac_var}_value=\$${ac_var}
56902 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
56903 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
56907 # Report the --help message.
56908 @@ -798,9 +1286,6 @@ Configuration:
56909 -n, --no-create do not create output files
56910 --srcdir=DIR find the sources in DIR [configure dir or \`..']
56915 Installation directories:
56916 --prefix=PREFIX install architecture-independent files in PREFIX
56917 [$ac_default_prefix]
56918 @@ -818,15 +1303,22 @@ Fine tuning of the installation director
56919 --bindir=DIR user executables [EPREFIX/bin]
56920 --sbindir=DIR system admin executables [EPREFIX/sbin]
56921 --libexecdir=DIR program executables [EPREFIX/libexec]
56922 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
56923 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
56924 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
56925 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
56926 --libdir=DIR object code libraries [EPREFIX/lib]
56927 --includedir=DIR C header files [PREFIX/include]
56928 --oldincludedir=DIR C header files for non-gcc [/usr/include]
56929 - --infodir=DIR info documentation [PREFIX/info]
56930 - --mandir=DIR man documentation [PREFIX/man]
56931 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
56932 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
56933 + --infodir=DIR info documentation [DATAROOTDIR/info]
56934 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
56935 + --mandir=DIR man documentation [DATAROOTDIR/man]
56936 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
56937 + --htmldir=DIR html documentation [DOCDIR]
56938 + --dvidir=DIR dvi documentation [DOCDIR]
56939 + --pdfdir=DIR pdf documentation [DOCDIR]
56940 + --psdir=DIR ps documentation [DOCDIR]
56944 @@ -878,126 +1370,100 @@ Some influential environment variables:
56945 CFLAGS C compiler flags
56946 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
56947 nonstandard directory <lib dir>
56948 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
56949 - headers in a nonstandard directory <include dir>
56950 + LIBS libraries to pass to the linker, e.g. -l<library>
56951 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
56952 + you have headers in a nonstandard directory <include dir>
56954 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
56955 + the first program found out of: `bison -y', `byacc', `yacc'.
56956 + YFLAGS The list of arguments that will be passed by default to $YACC.
56957 + This script will default YFLAGS to the empty string to avoid a
56958 + default value of `-d' given by some make applications.
56960 Use these variables to override the choices made by `configure' or to help
56961 it to find libraries and programs with nonstandard names/locations.
56967 if test "$ac_init_help" = "recursive"; then
56968 # If there are subdirs, report their specific --help.
56970 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
56971 - test -d $ac_dir || continue
56972 + test -d "$ac_dir" || continue
56975 -if test "$ac_dir" != .; then
56977 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
56979 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
56980 - # A "../" for each directory in $ac_dir_suffix.
56981 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
56983 - ac_dir_suffix= ac_top_builddir=
56985 + # A ".." for each directory in $ac_dir_suffix.
56986 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
56987 + case $ac_top_builddir_sub in
56988 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
56989 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
56992 +ac_abs_top_builddir=$ac_pwd
56993 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
56994 +# for backward compatibility:
56995 +ac_top_builddir=$ac_top_build_prefix
56998 - .) # No --srcdir option. We are building in place.
56999 + .) # We are building in place.
57001 - if test -z "$ac_top_builddir"; then
57004 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
57006 - [\\/]* | ?:[\\/]* ) # Absolute path.
57007 + ac_top_srcdir=$ac_top_builddir_sub
57008 + ac_abs_top_srcdir=$ac_pwd ;;
57009 + [\\/]* | ?:[\\/]* ) # Absolute name.
57010 ac_srcdir=$srcdir$ac_dir_suffix;
57011 - ac_top_srcdir=$srcdir ;;
57012 - *) # Relative path.
57013 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
57014 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
57017 -# Do not use `cd foo && pwd` to compute absolute paths, because
57018 -# the directories may not exist.
57020 -.) ac_abs_builddir="$ac_dir";;
57022 - case "$ac_dir" in
57023 - .) ac_abs_builddir=`pwd`;;
57024 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
57025 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
57028 -case $ac_abs_builddir in
57029 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
57031 - case ${ac_top_builddir}. in
57032 - .) ac_abs_top_builddir=$ac_abs_builddir;;
57033 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
57034 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
57037 -case $ac_abs_builddir in
57038 -.) ac_abs_srcdir=$ac_srcdir;;
57040 - case $ac_srcdir in
57041 - .) ac_abs_srcdir=$ac_abs_builddir;;
57042 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
57043 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
57046 -case $ac_abs_builddir in
57047 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
57049 - case $ac_top_srcdir in
57050 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
57051 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
57052 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
57057 - # Check for guested configure; otherwise get Cygnus style configure.
57058 - if test -f $ac_srcdir/configure.gnu; then
57060 - $SHELL $ac_srcdir/configure.gnu --help=recursive
57061 - elif test -f $ac_srcdir/configure; then
57063 - $SHELL $ac_srcdir/configure --help=recursive
57064 - elif test -f $ac_srcdir/configure.ac ||
57065 - test -f $ac_srcdir/configure.in; then
57067 - $ac_configure --help
57068 + ac_top_srcdir=$srcdir
57069 + ac_abs_top_srcdir=$srcdir ;;
57070 + *) # Relative name.
57071 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57072 + ac_top_srcdir=$ac_top_build_prefix$srcdir
57073 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57075 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57077 + cd "$ac_dir" || { ac_status=$?; continue; }
57078 + # Check for guested configure.
57079 + if test -f "$ac_srcdir/configure.gnu"; then
57081 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
57082 + elif test -f "$ac_srcdir/configure"; then
57084 + $SHELL "$ac_srcdir/configure" --help=recursive
57086 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
57089 + fi || ac_status=$?
57090 + cd "$ac_pwd" || { ac_status=$?; break; }
57094 -test -n "$ac_init_help" && exit 0
57095 +test -n "$ac_init_help" && exit $ac_status
57096 if $ac_init_version; then
57099 +generated by GNU Autoconf 2.61
57101 -Copyright (C) 2003 Free Software Foundation, Inc.
57102 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
57103 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
57104 This configure script is free software; the Free Software Foundation
57105 gives unlimited permission to copy, distribute and modify it.
57112 +cat >config.log <<_ACEOF
57113 This file contains any messages produced by compilers while
57114 running configure, to aid debugging if configure makes a mistake.
57116 It was created by $as_me, which was
57117 -generated by GNU Autoconf 2.59. Invocation command line was
57118 +generated by GNU Autoconf 2.61. Invocation command line was
57123 +exec 5>>config.log
57127 @@ -1016,7 +1482,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
57128 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
57129 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
57130 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
57131 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
57132 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
57133 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
57134 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
57135 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
57136 @@ -1030,6 +1496,7 @@ do
57137 test -z "$as_dir" && as_dir=.
57138 echo "PATH: $as_dir"
57144 @@ -1051,7 +1518,6 @@ _ACEOF
57146 ac_configure_args0=
57147 ac_configure_args1=
57149 ac_must_keep_next=false
57152 @@ -1062,7 +1528,7 @@ do
57153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
57154 | -silent | --silent | --silen | --sile | --sil)
57156 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
57158 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57161 @@ -1084,9 +1550,7 @@ do
57162 -* ) ac_must_keep_next=true ;;
57165 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
57166 - # Get rid of the leading space.
57168 + ac_configure_args="$ac_configure_args '$ac_arg'"
57172 @@ -1097,8 +1561,8 @@ $as_unset ac_configure_args1 || test "${
57173 # When interrupted or exit'd, cleanup temporary files, and complete
57174 # config.log. We remove comments because anyway the quotes in there
57175 # would cause problems or look ugly.
57176 -# WARNING: Be sure not to use single quotes in there, as some shells,
57177 -# such as our DU 5.0 friend, will then `close' the trap.
57178 +# WARNING: Use '\'' to represent an apostrophe within the trap.
57179 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
57180 trap 'exit_status=$?
57181 # Save into config.log some information that might help in debugging.
57183 @@ -1111,20 +1575,34 @@ trap 'exit_status=$?
57186 # The following way of writing the cache mishandles newlines in values,
57189 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
57190 + eval ac_val=\$$ac_var
57191 + case $ac_val in #(
57193 + case $ac_var in #(
57194 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
57195 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
57197 + case $ac_var in #(
57198 + _ | IFS | as_nl) ;; #(
57199 + *) $as_unset $ac_var ;;
57204 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
57206 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
57207 + *${as_nl}ac_space=\ *)
57209 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
57210 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
57212 + "s/'\''/'\''\\\\'\'''\''/g;
57213 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
57217 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
57218 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57228 @@ -1135,22 +1613,28 @@ _ASBOX
57230 for ac_var in $ac_subst_vars
57232 - eval ac_val=$`echo $ac_var`
57233 - echo "$ac_var='"'"'$ac_val'"'"'"
57234 + eval ac_val=\$$ac_var
57236 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
57238 + echo "$ac_var='\''$ac_val'\''"
57242 if test -n "$ac_subst_files"; then
57244 -## ------------- ##
57245 -## Output files. ##
57246 -## ------------- ##
57247 +## ------------------- ##
57248 +## File substitutions. ##
57249 +## ------------------- ##
57252 for ac_var in $ac_subst_files
57254 - eval ac_val=$`echo $ac_var`
57255 - echo "$ac_var='"'"'$ac_val'"'"'"
57256 + eval ac_val=\$$ac_var
57258 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
57260 + echo "$ac_var='\''$ac_val'\''"
57264 @@ -1162,26 +1646,24 @@ _ASBOX
57268 - sed "/^$/d" confdefs.h | sort
57272 test "$ac_signal" != 0 &&
57273 echo "$as_me: caught signal $ac_signal"
57274 echo "$as_me: exit $exit_status"
57276 - rm -f core *.core &&
57277 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
57278 + rm -f core *.core core.conftest.* &&
57279 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
57283 for ac_signal in 1 2 13 15; do
57284 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
57288 # confdefs.h avoids OS command line length limits that DEFS can exceed.
57289 -rm -rf conftest* confdefs.h
57290 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
57292 +rm -f -r conftest* confdefs.h
57294 # Predefined preprocessor variables.
57296 @@ -1212,14 +1694,17 @@ _ACEOF
57298 # Let the site file select an alternate cache file if it wants to.
57299 # Prefer explicitly selected file to automatically selected ones.
57300 -if test -z "$CONFIG_SITE"; then
57301 - if test "x$prefix" != xNONE; then
57302 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
57304 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
57306 +if test -n "$CONFIG_SITE"; then
57307 + set x "$CONFIG_SITE"
57308 +elif test "x$prefix" != xNONE; then
57309 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
57311 + set x "$ac_default_prefix/share/config.site" \
57312 + "$ac_default_prefix/etc/config.site"
57314 -for ac_site_file in $CONFIG_SITE; do
57318 if test -r "$ac_site_file"; then
57319 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
57320 echo "$as_me: loading site script $ac_site_file" >&6;}
57321 @@ -1235,8 +1720,8 @@ if test -r "$cache_file"; then
57322 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
57323 echo "$as_me: loading cache $cache_file" >&6;}
57324 case $cache_file in
57325 - [\\/]* | ?:[\\/]* ) . $cache_file;;
57326 - *) . ./$cache_file;;
57327 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
57328 + *) . "./$cache_file";;
57332 @@ -1248,12 +1733,11 @@ fi
57333 # Check that the precious variables saved in the cache have kept the same
57335 ac_cache_corrupted=false
57336 -for ac_var in `(set) 2>&1 |
57337 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
57338 +for ac_var in $ac_precious_vars; do
57339 eval ac_old_set=\$ac_cv_env_${ac_var}_set
57340 eval ac_new_set=\$ac_env_${ac_var}_set
57341 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
57342 - eval ac_new_val="\$ac_env_${ac_var}_value"
57343 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
57344 + eval ac_new_val=\$ac_env_${ac_var}_value
57345 case $ac_old_set,$ac_new_set in
57347 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
57348 @@ -1278,8 +1762,7 @@ echo "$as_me: current value: $ac_new_v
57349 # Pass precious variables to config.status.
57350 if test "$ac_new_set" = set; then
57351 case $ac_new_val in
57352 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
57353 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
57354 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
57355 *) ac_arg=$ac_var=$ac_new_val ;;
57357 case " $ac_configure_args " in
57358 @@ -1296,12 +1779,6 @@ echo "$as_me: error: run \`make distclea
57359 { (exit 1); exit 1; }; }
57363 -ac_cpp='$CPP $CPPFLAGS'
57364 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57365 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57366 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
57371 @@ -1318,108 +1795,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
57376 +ac_cpp='$CPP $CPPFLAGS'
57377 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57378 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57379 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
57384 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
57385 - if test -f $ac_dir/install-sh; then
57386 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
57387 + if test -f "$ac_dir/install-sh"; then
57389 ac_install_sh="$ac_aux_dir/install-sh -c"
57391 - elif test -f $ac_dir/install.sh; then
57392 + elif test -f "$ac_dir/install.sh"; then
57394 ac_install_sh="$ac_aux_dir/install.sh -c"
57396 - elif test -f $ac_dir/shtool; then
57397 + elif test -f "$ac_dir/shtool"; then
57399 ac_install_sh="$ac_aux_dir/shtool install -c"
57403 if test -z "$ac_aux_dir"; then
57404 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
57405 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
57406 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
57407 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
57408 { (exit 1); exit 1; }; }
57410 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
57411 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
57412 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
57414 +# These three variables are undocumented and unsupported,
57415 +# and are intended to be withdrawn in a future Autoconf release.
57416 +# They can cause serious problems if a builder's source tree is in a directory
57417 +# whose full name contains unusual characters.
57418 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
57419 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
57420 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
57423 # Make sure we can run config.sub.
57424 -$ac_config_sub sun4 >/dev/null 2>&1 ||
57425 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
57426 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
57427 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
57428 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
57429 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
57430 { (exit 1); exit 1; }; }
57432 -echo "$as_me:$LINENO: checking build system type" >&5
57433 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
57434 +{ echo "$as_me:$LINENO: checking build system type" >&5
57435 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
57436 if test "${ac_cv_build+set}" = set; then
57437 echo $ECHO_N "(cached) $ECHO_C" >&6
57439 - ac_cv_build_alias=$build_alias
57440 -test -z "$ac_cv_build_alias" &&
57441 - ac_cv_build_alias=`$ac_config_guess`
57442 -test -z "$ac_cv_build_alias" &&
57443 + ac_build_alias=$build_alias
57444 +test "x$ac_build_alias" = x &&
57445 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
57446 +test "x$ac_build_alias" = x &&
57447 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
57448 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
57449 { (exit 1); exit 1; }; }
57450 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
57451 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
57452 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
57453 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
57454 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
57455 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
57456 { (exit 1); exit 1; }; }
57459 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
57460 -echo "${ECHO_T}$ac_cv_build" >&6
57461 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
57462 +echo "${ECHO_T}$ac_cv_build" >&6; }
57463 +case $ac_cv_build in
57465 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
57466 +echo "$as_me: error: invalid value of canonical build" >&2;}
57467 + { (exit 1); exit 1; }; };;
57470 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
57471 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
57472 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
57473 +ac_save_IFS=$IFS; IFS='-'
57474 +set x $ac_cv_build
57479 +# Remember, the first character of IFS is used to create $*,
57480 +# except with old shells:
57483 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
57486 -echo "$as_me:$LINENO: checking host system type" >&5
57487 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
57488 +{ echo "$as_me:$LINENO: checking host system type" >&5
57489 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
57490 if test "${ac_cv_host+set}" = set; then
57491 echo $ECHO_N "(cached) $ECHO_C" >&6
57493 - ac_cv_host_alias=$host_alias
57494 -test -z "$ac_cv_host_alias" &&
57495 - ac_cv_host_alias=$ac_cv_build_alias
57496 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
57497 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
57498 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
57499 + if test "x$host_alias" = x; then
57500 + ac_cv_host=$ac_cv_build
57502 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
57503 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
57504 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
57505 { (exit 1); exit 1; }; }
57509 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
57510 -echo "${ECHO_T}$ac_cv_host" >&6
57511 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
57512 +echo "${ECHO_T}$ac_cv_host" >&6; }
57513 +case $ac_cv_host in
57515 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
57516 +echo "$as_me: error: invalid value of canonical host" >&2;}
57517 + { (exit 1); exit 1; }; };;
57520 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
57521 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
57522 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
57523 +ac_save_IFS=$IFS; IFS='-'
57529 +# Remember, the first character of IFS is used to create $*,
57530 +# except with old shells:
57533 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
57536 -echo "$as_me:$LINENO: checking target system type" >&5
57537 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
57538 +{ echo "$as_me:$LINENO: checking target system type" >&5
57539 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
57540 if test "${ac_cv_target+set}" = set; then
57541 echo $ECHO_N "(cached) $ECHO_C" >&6
57543 - ac_cv_target_alias=$target_alias
57544 -test "x$ac_cv_target_alias" = "x" &&
57545 - ac_cv_target_alias=$ac_cv_host_alias
57546 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
57547 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
57548 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
57549 + if test "x$target_alias" = x; then
57550 + ac_cv_target=$ac_cv_host
57552 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
57553 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
57554 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
57555 { (exit 1); exit 1; }; }
57559 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
57560 -echo "${ECHO_T}$ac_cv_target" >&6
57561 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
57562 +echo "${ECHO_T}$ac_cv_target" >&6; }
57563 +case $ac_cv_target in
57565 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
57566 +echo "$as_me: error: invalid value of canonical target" >&2;}
57567 + { (exit 1); exit 1; }; };;
57569 target=$ac_cv_target
57570 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
57571 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
57572 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
57573 +ac_save_IFS=$IFS; IFS='-'
57574 +set x $ac_cv_target
57579 +# Remember, the first character of IFS is used to create $*,
57580 +# except with old shells:
57583 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
57586 # The aliases save the names the user supplied, while $host etc.
57587 @@ -1436,8 +1968,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
57588 if test -n "$ac_tool_prefix"; then
57589 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
57590 set dummy ${ac_tool_prefix}gcc; ac_word=$2
57591 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57592 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57593 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57594 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57595 if test "${ac_cv_prog_CC+set}" = set; then
57596 echo $ECHO_N "(cached) $ECHO_C" >&6
57598 @@ -1450,32 +1982,34 @@ do
57600 test -z "$as_dir" && as_dir=.
57601 for ac_exec_ext in '' $ac_executable_extensions; do
57602 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57603 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57604 ac_cv_prog_CC="${ac_tool_prefix}gcc"
57605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57615 if test -n "$CC"; then
57616 - echo "$as_me:$LINENO: result: $CC" >&5
57617 -echo "${ECHO_T}$CC" >&6
57618 + { echo "$as_me:$LINENO: result: $CC" >&5
57619 +echo "${ECHO_T}$CC" >&6; }
57621 - echo "$as_me:$LINENO: result: no" >&5
57622 -echo "${ECHO_T}no" >&6
57623 + { echo "$as_me:$LINENO: result: no" >&5
57624 +echo "${ECHO_T}no" >&6; }
57629 if test -z "$ac_cv_prog_CC"; then
57631 # Extract the first word of "gcc", so it can be a program name with args.
57632 set dummy gcc; ac_word=$2
57633 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57634 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57635 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57636 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
57638 echo $ECHO_N "(cached) $ECHO_C" >&6
57640 @@ -1488,36 +2022,51 @@ do
57642 test -z "$as_dir" && as_dir=.
57643 for ac_exec_ext in '' $ac_executable_extensions; do
57644 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57645 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57646 ac_cv_prog_ac_ct_CC="gcc"
57647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57656 ac_ct_CC=$ac_cv_prog_ac_ct_CC
57657 if test -n "$ac_ct_CC"; then
57658 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57659 -echo "${ECHO_T}$ac_ct_CC" >&6
57660 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57661 +echo "${ECHO_T}$ac_ct_CC" >&6; }
57663 - echo "$as_me:$LINENO: result: no" >&5
57664 -echo "${ECHO_T}no" >&6
57665 + { echo "$as_me:$LINENO: result: no" >&5
57666 +echo "${ECHO_T}no" >&6; }
57670 + if test "x$ac_ct_CC" = x; then
57673 + case $cross_compiling:$ac_tool_warned in
57675 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
57676 +whose name does not start with the host triplet. If you think this
57677 +configuration is useful to you, please write to autoconf@gnu.org." >&5
57678 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
57679 +whose name does not start with the host triplet. If you think this
57680 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
57681 +ac_tool_warned=yes ;;
57686 CC="$ac_cv_prog_CC"
57689 if test -z "$CC"; then
57690 - if test -n "$ac_tool_prefix"; then
57691 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
57692 + if test -n "$ac_tool_prefix"; then
57693 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
57694 set dummy ${ac_tool_prefix}cc; ac_word=$2
57695 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57696 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57697 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57698 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57699 if test "${ac_cv_prog_CC+set}" = set; then
57700 echo $ECHO_N "(cached) $ECHO_C" >&6
57702 @@ -1530,74 +2079,34 @@ do
57704 test -z "$as_dir" && as_dir=.
57705 for ac_exec_ext in '' $ac_executable_extensions; do
57706 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57707 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57708 ac_cv_prog_CC="${ac_tool_prefix}cc"
57709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57719 if test -n "$CC"; then
57720 - echo "$as_me:$LINENO: result: $CC" >&5
57721 -echo "${ECHO_T}$CC" >&6
57723 - echo "$as_me:$LINENO: result: no" >&5
57724 -echo "${ECHO_T}no" >&6
57728 -if test -z "$ac_cv_prog_CC"; then
57730 - # Extract the first word of "cc", so it can be a program name with args.
57731 -set dummy cc; ac_word=$2
57732 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57733 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57734 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
57735 - echo $ECHO_N "(cached) $ECHO_C" >&6
57737 - if test -n "$ac_ct_CC"; then
57738 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
57740 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57741 -for as_dir in $PATH
57744 - test -z "$as_dir" && as_dir=.
57745 - for ac_exec_ext in '' $ac_executable_extensions; do
57746 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57747 - ac_cv_prog_ac_ct_CC="cc"
57748 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57756 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
57757 -if test -n "$ac_ct_CC"; then
57758 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57759 -echo "${ECHO_T}$ac_ct_CC" >&6
57760 + { echo "$as_me:$LINENO: result: $CC" >&5
57761 +echo "${ECHO_T}$CC" >&6; }
57763 - echo "$as_me:$LINENO: result: no" >&5
57764 -echo "${ECHO_T}no" >&6
57765 + { echo "$as_me:$LINENO: result: no" >&5
57766 +echo "${ECHO_T}no" >&6; }
57771 - CC="$ac_cv_prog_CC"
57776 if test -z "$CC"; then
57777 # Extract the first word of "cc", so it can be a program name with args.
57778 set dummy cc; ac_word=$2
57779 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57780 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57781 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57782 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57783 if test "${ac_cv_prog_CC+set}" = set; then
57784 echo $ECHO_N "(cached) $ECHO_C" >&6
57786 @@ -1611,7 +2120,7 @@ do
57788 test -z "$as_dir" && as_dir=.
57789 for ac_exec_ext in '' $ac_executable_extensions; do
57790 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57791 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57792 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
57793 ac_prog_rejected=yes
57795 @@ -1622,6 +2131,7 @@ do
57801 if test $ac_prog_rejected = yes; then
57802 # We found a bogon in the path, so make sure we never use it.
57803 @@ -1639,22 +2149,23 @@ fi
57806 if test -n "$CC"; then
57807 - echo "$as_me:$LINENO: result: $CC" >&5
57808 -echo "${ECHO_T}$CC" >&6
57809 + { echo "$as_me:$LINENO: result: $CC" >&5
57810 +echo "${ECHO_T}$CC" >&6; }
57812 - echo "$as_me:$LINENO: result: no" >&5
57813 -echo "${ECHO_T}no" >&6
57814 + { echo "$as_me:$LINENO: result: no" >&5
57815 +echo "${ECHO_T}no" >&6; }
57820 if test -z "$CC"; then
57821 if test -n "$ac_tool_prefix"; then
57822 - for ac_prog in cl
57823 + for ac_prog in cl.exe
57825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
57826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
57827 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57828 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57829 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57830 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57831 if test "${ac_cv_prog_CC+set}" = set; then
57832 echo $ECHO_N "(cached) $ECHO_C" >&6
57834 @@ -1667,36 +2178,38 @@ do
57836 test -z "$as_dir" && as_dir=.
57837 for ac_exec_ext in '' $ac_executable_extensions; do
57838 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57839 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57840 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
57841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57851 if test -n "$CC"; then
57852 - echo "$as_me:$LINENO: result: $CC" >&5
57853 -echo "${ECHO_T}$CC" >&6
57854 + { echo "$as_me:$LINENO: result: $CC" >&5
57855 +echo "${ECHO_T}$CC" >&6; }
57857 - echo "$as_me:$LINENO: result: no" >&5
57858 -echo "${ECHO_T}no" >&6
57859 + { echo "$as_me:$LINENO: result: no" >&5
57860 +echo "${ECHO_T}no" >&6; }
57864 test -n "$CC" && break
57867 if test -z "$CC"; then
57869 - for ac_prog in cl
57870 + for ac_prog in cl.exe
57872 # Extract the first word of "$ac_prog", so it can be a program name with args.
57873 set dummy $ac_prog; ac_word=$2
57874 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57875 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57876 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57877 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57878 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
57879 echo $ECHO_N "(cached) $ECHO_C" >&6
57881 @@ -1709,29 +2222,45 @@ do
57883 test -z "$as_dir" && as_dir=.
57884 for ac_exec_ext in '' $ac_executable_extensions; do
57885 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57886 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57887 ac_cv_prog_ac_ct_CC="$ac_prog"
57888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
57898 if test -n "$ac_ct_CC"; then
57899 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57900 -echo "${ECHO_T}$ac_ct_CC" >&6
57901 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57902 +echo "${ECHO_T}$ac_ct_CC" >&6; }
57904 - echo "$as_me:$LINENO: result: no" >&5
57905 -echo "${ECHO_T}no" >&6
57906 + { echo "$as_me:$LINENO: result: no" >&5
57907 +echo "${ECHO_T}no" >&6; }
57911 test -n "$ac_ct_CC" && break
57915 + if test "x$ac_ct_CC" = x; then
57918 + case $cross_compiling:$ac_tool_warned in
57920 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
57921 +whose name does not start with the host triplet. If you think this
57922 +configuration is useful to you, please write to autoconf@gnu.org." >&5
57923 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
57924 +whose name does not start with the host triplet. If you think this
57925 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
57926 +ac_tool_warned=yes ;;
57933 @@ -1744,21 +2273,35 @@ See \`config.log' for more details." >&2
57934 { (exit 1); exit 1; }; }
57936 # Provide some information about the compiler.
57937 -echo "$as_me:$LINENO:" \
57938 - "checking for C compiler version" >&5
57939 +echo "$as_me:$LINENO: checking for C compiler version" >&5
57940 ac_compiler=`set X $ac_compile; echo $2`
57941 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
57942 - (eval $ac_compiler --version </dev/null >&5) 2>&5
57943 +{ (ac_try="$ac_compiler --version >&5"
57944 +case "(($ac_try" in
57945 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57946 + *) ac_try_echo=$ac_try;;
57948 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57949 + (eval "$ac_compiler --version >&5") 2>&5
57951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57952 (exit $ac_status); }
57953 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
57954 - (eval $ac_compiler -v </dev/null >&5) 2>&5
57955 +{ (ac_try="$ac_compiler -v >&5"
57956 +case "(($ac_try" in
57957 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57958 + *) ac_try_echo=$ac_try;;
57960 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57961 + (eval "$ac_compiler -v >&5") 2>&5
57963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57964 (exit $ac_status); }
57965 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
57966 - (eval $ac_compiler -V </dev/null >&5) 2>&5
57967 +{ (ac_try="$ac_compiler -V >&5"
57968 +case "(($ac_try" in
57969 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
57970 + *) ac_try_echo=$ac_try;;
57972 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
57973 + (eval "$ac_compiler -V >&5") 2>&5
57975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57976 (exit $ac_status); }
57977 @@ -1783,47 +2326,77 @@ ac_clean_files="$ac_clean_files a.out a.
57978 # Try to create an executable without -o first, disregard a.out.
57979 # It will help us diagnose broken compilers, and finding out an intuition
57981 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
57982 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
57983 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
57984 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
57985 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
57986 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
57987 - (eval $ac_link_default) 2>&5
57989 +# List of possible output files, starting from the most likely.
57990 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
57991 +# only as a last resort. b.out is created by i960 compilers.
57992 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
57994 +# The IRIX 6 linker writes into existing files which may not be
57995 +# executable, retaining their permissions. Remove them first so a
57996 +# subsequent execution test works.
57998 +for ac_file in $ac_files
58001 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
58002 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
58007 +if { (ac_try="$ac_link_default"
58008 +case "(($ac_try" in
58009 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58010 + *) ac_try_echo=$ac_try;;
58012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58013 + (eval "$ac_link_default") 2>&5
58015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58016 (exit $ac_status); }; then
58017 - # Find the output, starting from the most likely. This scheme is
58018 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
58021 -# Be careful to initialize this variable, since it used to be cached.
58022 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
58024 -# b.out is created by i960 compilers.
58025 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
58026 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
58027 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
58028 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
58029 +# so that the user can short-circuit this test for compilers unknown to
58031 +for ac_file in $ac_files ''
58033 test -f "$ac_file" || continue
58035 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
58037 - conftest.$ac_ext )
58038 - # This is the source file.
58039 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
58042 # We found the default executable, but exeext='' is most
58046 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
58047 - # FIXME: I believe we export ac_cv_exeext for Libtool,
58048 - # but it would be cool to find out if it's true. Does anybody
58049 - # maintain Libtool? --akim.
58050 - export ac_cv_exeext
58051 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
58053 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
58055 + # We set ac_cv_exeext here because the later test for it is not
58056 + # safe: cross compilers may not add the suffix if given an `-o'
58057 + # argument, so we may need to know it at that point already.
58058 + # Even if this section looks crufty: it has the advantage of
58059 + # actually working.
58065 +test "$ac_cv_exeext" = no && ac_cv_exeext=
58071 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
58072 +echo "${ECHO_T}$ac_file" >&6; }
58073 +if test -z "$ac_file"; then
58074 echo "$as_me: failed program was:" >&5
58075 sed 's/^/| /' conftest.$ac_ext >&5
58077 @@ -1835,19 +2408,21 @@ See \`config.log' for more details." >&2
58080 ac_exeext=$ac_cv_exeext
58081 -echo "$as_me:$LINENO: result: $ac_file" >&5
58082 -echo "${ECHO_T}$ac_file" >&6
58084 -# Check the compiler produces executables we can run. If not, either
58085 +# Check that the compiler produces executables we can run. If not, either
58086 # the compiler is broken, or we cross compile.
58087 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
58088 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
58089 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
58090 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
58091 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
58092 # If not cross compiling, check that we can run a simple program.
58093 if test "$cross_compiling" != yes; then
58094 if { ac_try='./$ac_file'
58095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58096 - (eval $ac_try) 2>&5
58097 + { (case "(($ac_try" in
58098 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58099 + *) ac_try_echo=$ac_try;;
58101 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58102 + (eval "$ac_try") 2>&5
58104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58105 (exit $ac_status); }; }; then
58106 @@ -1866,22 +2441,27 @@ See \`config.log' for more details." >&2
58110 -echo "$as_me:$LINENO: result: yes" >&5
58111 -echo "${ECHO_T}yes" >&6
58112 +{ echo "$as_me:$LINENO: result: yes" >&5
58113 +echo "${ECHO_T}yes" >&6; }
58115 rm -f a.out a.exe conftest$ac_cv_exeext b.out
58116 ac_clean_files=$ac_clean_files_save
58117 -# Check the compiler produces executables we can run. If not, either
58118 +# Check that the compiler produces executables we can run. If not, either
58119 # the compiler is broken, or we cross compile.
58120 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
58121 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
58122 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
58123 -echo "${ECHO_T}$cross_compiling" >&6
58125 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
58126 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
58127 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58128 - (eval $ac_link) 2>&5
58129 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
58130 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
58131 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
58132 +echo "${ECHO_T}$cross_compiling" >&6; }
58134 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
58135 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
58136 +if { (ac_try="$ac_link"
58137 +case "(($ac_try" in
58138 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58139 + *) ac_try_echo=$ac_try;;
58141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58142 + (eval "$ac_link") 2>&5
58144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58145 (exit $ac_status); }; then
58146 @@ -1892,9 +2472,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
58147 for ac_file in conftest.exe conftest conftest.*; do
58148 test -f "$ac_file" || continue
58150 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
58151 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
58152 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
58153 - export ac_cv_exeext
58157 @@ -1908,14 +2487,14 @@ See \`config.log' for more details." >&2
58160 rm -f conftest$ac_cv_exeext
58161 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
58162 -echo "${ECHO_T}$ac_cv_exeext" >&6
58163 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
58164 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
58166 rm -f conftest.$ac_ext
58167 EXEEXT=$ac_cv_exeext
58169 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
58170 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
58171 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
58172 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
58173 if test "${ac_cv_objext+set}" = set; then
58174 echo $ECHO_N "(cached) $ECHO_C" >&6
58176 @@ -1935,14 +2514,20 @@ main ()
58179 rm -f conftest.o conftest.obj
58180 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58181 - (eval $ac_compile) 2>&5
58182 +if { (ac_try="$ac_compile"
58183 +case "(($ac_try" in
58184 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58185 + *) ac_try_echo=$ac_try;;
58187 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58188 + (eval "$ac_compile") 2>&5
58190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58191 (exit $ac_status); }; then
58192 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
58193 + for ac_file in conftest.o conftest.obj conftest.*; do
58194 + test -f "$ac_file" || continue;
58196 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
58197 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
58198 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
58201 @@ -1960,12 +2545,12 @@ fi
58203 rm -f conftest.$ac_cv_objext conftest.$ac_ext
58205 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
58206 -echo "${ECHO_T}$ac_cv_objext" >&6
58207 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
58208 +echo "${ECHO_T}$ac_cv_objext" >&6; }
58209 OBJEXT=$ac_cv_objext
58211 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
58212 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
58213 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
58214 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
58215 if test "${ac_cv_c_compiler_gnu+set}" = set; then
58216 echo $ECHO_N "(cached) $ECHO_C" >&6
58218 @@ -1988,50 +2573,49 @@ main ()
58221 rm -f conftest.$ac_objext
58222 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58223 - (eval $ac_compile) 2>conftest.er1
58224 +if { (ac_try="$ac_compile"
58225 +case "(($ac_try" in
58226 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58227 + *) ac_try_echo=$ac_try;;
58229 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58230 + (eval "$ac_compile") 2>conftest.er1
58232 grep -v '^ *+' conftest.er1 >conftest.err
58234 cat conftest.err >&5
58235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58236 - (exit $ac_status); } &&
58237 - { ac_try='test -z "$ac_c_werror_flag"
58238 - || test ! -s conftest.err'
58239 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58240 - (eval $ac_try) 2>&5
58242 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58243 - (exit $ac_status); }; } &&
58244 - { ac_try='test -s conftest.$ac_objext'
58245 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58246 - (eval $ac_try) 2>&5
58248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58249 - (exit $ac_status); }; }; then
58250 + (exit $ac_status); } && {
58251 + test -z "$ac_c_werror_flag" ||
58252 + test ! -s conftest.err
58253 + } && test -s conftest.$ac_objext; then
58254 ac_compiler_gnu=yes
58256 echo "$as_me: failed program was:" >&5
58257 sed 's/^/| /' conftest.$ac_ext >&5
58259 -ac_compiler_gnu=no
58260 + ac_compiler_gnu=no
58262 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58264 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
58268 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
58269 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
58270 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
58271 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
58272 GCC=`test $ac_compiler_gnu = yes && echo yes`
58273 ac_test_CFLAGS=${CFLAGS+set}
58274 ac_save_CFLAGS=$CFLAGS
58276 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
58277 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
58278 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
58279 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
58280 if test "${ac_cv_prog_cc_g+set}" = set; then
58281 echo $ECHO_N "(cached) $ECHO_C" >&6
58283 - cat >conftest.$ac_ext <<_ACEOF
58284 + ac_save_c_werror_flag=$ac_c_werror_flag
58285 + ac_c_werror_flag=yes
58286 + ac_cv_prog_cc_g=no
58288 + cat >conftest.$ac_ext <<_ACEOF
58291 cat confdefs.h >>conftest.$ac_ext
58292 @@ -2047,38 +2631,118 @@ main ()
58295 rm -f conftest.$ac_objext
58296 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58297 - (eval $ac_compile) 2>conftest.er1
58298 +if { (ac_try="$ac_compile"
58299 +case "(($ac_try" in
58300 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58301 + *) ac_try_echo=$ac_try;;
58303 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58304 + (eval "$ac_compile") 2>conftest.er1
58306 grep -v '^ *+' conftest.er1 >conftest.err
58308 cat conftest.err >&5
58309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58310 - (exit $ac_status); } &&
58311 - { ac_try='test -z "$ac_c_werror_flag"
58312 - || test ! -s conftest.err'
58313 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58314 - (eval $ac_try) 2>&5
58315 + (exit $ac_status); } && {
58316 + test -z "$ac_c_werror_flag" ||
58317 + test ! -s conftest.err
58318 + } && test -s conftest.$ac_objext; then
58319 + ac_cv_prog_cc_g=yes
58321 + echo "$as_me: failed program was:" >&5
58322 +sed 's/^/| /' conftest.$ac_ext >&5
58325 + cat >conftest.$ac_ext <<_ACEOF
58328 +cat confdefs.h >>conftest.$ac_ext
58329 +cat >>conftest.$ac_ext <<_ACEOF
58330 +/* end confdefs.h. */
58340 +rm -f conftest.$ac_objext
58341 +if { (ac_try="$ac_compile"
58342 +case "(($ac_try" in
58343 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58344 + *) ac_try_echo=$ac_try;;
58346 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58347 + (eval "$ac_compile") 2>conftest.er1
58349 + grep -v '^ *+' conftest.er1 >conftest.err
58350 + rm -f conftest.er1
58351 + cat conftest.err >&5
58352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58353 - (exit $ac_status); }; } &&
58354 - { ac_try='test -s conftest.$ac_objext'
58355 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58356 - (eval $ac_try) 2>&5
58357 + (exit $ac_status); } && {
58358 + test -z "$ac_c_werror_flag" ||
58359 + test ! -s conftest.err
58360 + } && test -s conftest.$ac_objext; then
58363 + echo "$as_me: failed program was:" >&5
58364 +sed 's/^/| /' conftest.$ac_ext >&5
58366 + ac_c_werror_flag=$ac_save_c_werror_flag
58368 + cat >conftest.$ac_ext <<_ACEOF
58371 +cat confdefs.h >>conftest.$ac_ext
58372 +cat >>conftest.$ac_ext <<_ACEOF
58373 +/* end confdefs.h. */
58383 +rm -f conftest.$ac_objext
58384 +if { (ac_try="$ac_compile"
58385 +case "(($ac_try" in
58386 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58387 + *) ac_try_echo=$ac_try;;
58389 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58390 + (eval "$ac_compile") 2>conftest.er1
58392 + grep -v '^ *+' conftest.er1 >conftest.err
58393 + rm -f conftest.er1
58394 + cat conftest.err >&5
58395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58396 - (exit $ac_status); }; }; then
58397 + (exit $ac_status); } && {
58398 + test -z "$ac_c_werror_flag" ||
58399 + test ! -s conftest.err
58400 + } && test -s conftest.$ac_objext; then
58401 ac_cv_prog_cc_g=yes
58403 echo "$as_me: failed program was:" >&5
58404 sed 's/^/| /' conftest.$ac_ext >&5
58406 -ac_cv_prog_cc_g=no
58410 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58413 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58415 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58417 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58418 + ac_c_werror_flag=$ac_save_c_werror_flag
58420 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
58421 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
58422 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
58423 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
58424 if test "$ac_test_CFLAGS" = set; then
58425 CFLAGS=$ac_save_CFLAGS
58426 elif test $ac_cv_prog_cc_g = yes; then
58427 @@ -2094,12 +2758,12 @@ else
58431 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
58432 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
58433 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
58434 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
58435 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
58436 +if test "${ac_cv_prog_cc_c89+set}" = set; then
58437 echo $ECHO_N "(cached) $ECHO_C" >&6
58439 - ac_cv_prog_cc_stdc=no
58440 + ac_cv_prog_cc_c89=no
58442 cat >conftest.$ac_ext <<_ACEOF
58444 @@ -2133,12 +2797,17 @@ static char *f (char * (*g) (char **, in
58445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
58446 function prototypes and stuff, but not '\xHH' hex character constants.
58447 These don't provoke an error unfortunately, instead are silently treated
58448 - as 'x'. The following induces an error, until -std1 is added to get
58449 + as 'x'. The following induces an error, until -std is added to get
58450 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
58451 array size at least. It's necessary to write '\x00'==0 to get something
58452 - that's true only with -std1. */
58453 + that's true only with -std. */
58454 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
58456 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
58457 + inside strings and character constants. */
58458 +#define FOO(x) 'x'
58459 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
58461 int test (int i, double x);
58462 struct s1 {int (*f) (int a);};
58463 struct s2 {int (*f) (double a);};
58464 @@ -2153,335 +2822,144 @@ return f (e, argv, 0) != argv[0] || f
58468 -# Don't try gcc -ansi; that turns off useful extensions and
58469 -# breaks some systems' header files.
58470 -# AIX -qlanglvl=ansi
58471 -# Ultrix and OSF/1 -std1
58472 -# HP-UX 10.20 and later -Ae
58473 -# HP-UX older versions -Aa -D_HPUX_SOURCE
58474 -# SVR4 -Xc -D__EXTENSIONS__
58475 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
58476 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
58477 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
58479 CC="$ac_save_CC $ac_arg"
58480 rm -f conftest.$ac_objext
58481 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58482 - (eval $ac_compile) 2>conftest.er1
58483 +if { (ac_try="$ac_compile"
58484 +case "(($ac_try" in
58485 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58486 + *) ac_try_echo=$ac_try;;
58488 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58489 + (eval "$ac_compile") 2>conftest.er1
58491 grep -v '^ *+' conftest.er1 >conftest.err
58493 cat conftest.err >&5
58494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58495 - (exit $ac_status); } &&
58496 - { ac_try='test -z "$ac_c_werror_flag"
58497 - || test ! -s conftest.err'
58498 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58499 - (eval $ac_try) 2>&5
58501 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58502 - (exit $ac_status); }; } &&
58503 - { ac_try='test -s conftest.$ac_objext'
58504 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58505 - (eval $ac_try) 2>&5
58507 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58508 - (exit $ac_status); }; }; then
58509 - ac_cv_prog_cc_stdc=$ac_arg
58511 + (exit $ac_status); } && {
58512 + test -z "$ac_c_werror_flag" ||
58513 + test ! -s conftest.err
58514 + } && test -s conftest.$ac_objext; then
58515 + ac_cv_prog_cc_c89=$ac_arg
58517 echo "$as_me: failed program was:" >&5
58518 sed 's/^/| /' conftest.$ac_ext >&5
58522 -rm -f conftest.err conftest.$ac_objext
58524 +rm -f core conftest.err conftest.$ac_objext
58525 + test "x$ac_cv_prog_cc_c89" != "xno" && break
58527 -rm -f conftest.$ac_ext conftest.$ac_objext
58528 +rm -f conftest.$ac_ext
58533 -case "x$ac_cv_prog_cc_stdc" in
58535 - echo "$as_me:$LINENO: result: none needed" >&5
58536 -echo "${ECHO_T}none needed" >&6 ;;
58538 +case "x$ac_cv_prog_cc_c89" in
58540 + { echo "$as_me:$LINENO: result: none needed" >&5
58541 +echo "${ECHO_T}none needed" >&6; } ;;
58543 + { echo "$as_me:$LINENO: result: unsupported" >&5
58544 +echo "${ECHO_T}unsupported" >&6; } ;;
58546 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
58547 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
58548 - CC="$CC $ac_cv_prog_cc_stdc" ;;
58549 + CC="$CC $ac_cv_prog_cc_c89"
58550 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
58551 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
58554 -# Some people use a C++ compiler to compile C. Since we use `exit',
58555 -# in C++ we need to declare it. In case someone uses the same compiler
58556 -# for both compiling C and C++ we need to have the C++ compiler decide
58557 -# the declaration of exit, since it's the most demanding environment.
58560 +ac_cpp='$CPP $CPPFLAGS'
58561 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58562 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58563 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
58566 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
58567 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
58568 +if test "${ac_cv_search_strerror+set}" = set; then
58569 + echo $ECHO_N "(cached) $ECHO_C" >&6
58571 + ac_func_search_save_LIBS=$LIBS
58572 cat >conftest.$ac_ext <<_ACEOF
58573 -#ifndef __cplusplus
58577 -rm -f conftest.$ac_objext
58578 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58579 - (eval $ac_compile) 2>conftest.er1
58581 - grep -v '^ *+' conftest.er1 >conftest.err
58582 - rm -f conftest.er1
58583 - cat conftest.err >&5
58584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58585 - (exit $ac_status); } &&
58586 - { ac_try='test -z "$ac_c_werror_flag"
58587 - || test ! -s conftest.err'
58588 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58589 - (eval $ac_try) 2>&5
58591 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58592 - (exit $ac_status); }; } &&
58593 - { ac_try='test -s conftest.$ac_objext'
58594 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58595 - (eval $ac_try) 2>&5
58597 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58598 - (exit $ac_status); }; }; then
58599 - for ac_declaration in \
58601 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
58602 - 'extern "C" void std::exit (int); using std::exit;' \
58603 - 'extern "C" void exit (int) throw ();' \
58604 - 'extern "C" void exit (int);' \
58605 - 'void exit (int);'
58607 - cat >conftest.$ac_ext <<_ACEOF
58610 cat confdefs.h >>conftest.$ac_ext
58611 cat >>conftest.$ac_ext <<_ACEOF
58612 /* end confdefs.h. */
58614 -#include <stdlib.h>
58616 +/* Override any GCC internal prototype to avoid an error.
58617 + Use char because int might match the return type of a GCC
58618 + builtin and then its argument prototype would still apply. */
58619 +#ifdef __cplusplus
58627 +return strerror ();
58632 -rm -f conftest.$ac_objext
58633 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58634 - (eval $ac_compile) 2>conftest.er1
58635 +for ac_lib in '' cposix; do
58636 + if test -z "$ac_lib"; then
58637 + ac_res="none required"
58640 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
58642 + rm -f conftest.$ac_objext conftest$ac_exeext
58643 +if { (ac_try="$ac_link"
58644 +case "(($ac_try" in
58645 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58646 + *) ac_try_echo=$ac_try;;
58648 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58649 + (eval "$ac_link") 2>conftest.er1
58651 grep -v '^ *+' conftest.er1 >conftest.err
58653 cat conftest.err >&5
58654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58655 - (exit $ac_status); } &&
58656 - { ac_try='test -z "$ac_c_werror_flag"
58657 - || test ! -s conftest.err'
58658 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58659 - (eval $ac_try) 2>&5
58661 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58662 - (exit $ac_status); }; } &&
58663 - { ac_try='test -s conftest.$ac_objext'
58664 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58665 - (eval $ac_try) 2>&5
58667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58668 - (exit $ac_status); }; }; then
58670 + (exit $ac_status); } && {
58671 + test -z "$ac_c_werror_flag" ||
58672 + test ! -s conftest.err
58673 + } && test -s conftest$ac_exeext &&
58674 + $as_test_x conftest$ac_exeext; then
58675 + ac_cv_search_strerror=$ac_res
58677 echo "$as_me: failed program was:" >&5
58678 sed 's/^/| /' conftest.$ac_ext >&5
58682 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58683 - cat >conftest.$ac_ext <<_ACEOF
58686 -cat confdefs.h >>conftest.$ac_ext
58687 -cat >>conftest.$ac_ext <<_ACEOF
58688 -/* end confdefs.h. */
58698 -rm -f conftest.$ac_objext
58699 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58700 - (eval $ac_compile) 2>conftest.er1
58702 - grep -v '^ *+' conftest.er1 >conftest.err
58703 - rm -f conftest.er1
58704 - cat conftest.err >&5
58705 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58706 - (exit $ac_status); } &&
58707 - { ac_try='test -z "$ac_c_werror_flag"
58708 - || test ! -s conftest.err'
58709 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58710 - (eval $ac_try) 2>&5
58712 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58713 - (exit $ac_status); }; } &&
58714 - { ac_try='test -s conftest.$ac_objext'
58715 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58716 - (eval $ac_try) 2>&5
58718 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58719 - (exit $ac_status); }; }; then
58722 - echo "$as_me: failed program was:" >&5
58723 -sed 's/^/| /' conftest.$ac_ext >&5
58726 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58729 -if test -n "$ac_declaration"; then
58730 - echo '#ifdef __cplusplus' >>confdefs.h
58731 - echo $ac_declaration >>confdefs.h
58732 - echo '#endif' >>confdefs.h
58736 - echo "$as_me: failed program was:" >&5
58737 -sed 's/^/| /' conftest.$ac_ext >&5
58739 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58740 + conftest$ac_exeext
58741 + if test "${ac_cv_search_strerror+set}" = set; then
58744 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58746 -ac_cpp='$CPP $CPPFLAGS'
58747 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
58752 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
58753 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
58755 if test "${ac_cv_search_strerror+set}" = set; then
58756 - echo $ECHO_N "(cached) $ECHO_C" >&6
58758 - ac_func_search_save_LIBS=$LIBS
58759 -ac_cv_search_strerror=no
58760 -cat >conftest.$ac_ext <<_ACEOF
58763 -cat confdefs.h >>conftest.$ac_ext
58764 -cat >>conftest.$ac_ext <<_ACEOF
58765 -/* end confdefs.h. */
58767 -/* Override any gcc2 internal prototype to avoid an error. */
58768 -#ifdef __cplusplus
58771 -/* We use char because int might match the return type of a gcc2
58772 - builtin and then its argument prototype would still apply. */
58782 -rm -f conftest.$ac_objext conftest$ac_exeext
58783 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58784 - (eval $ac_link) 2>conftest.er1
58786 - grep -v '^ *+' conftest.er1 >conftest.err
58787 - rm -f conftest.er1
58788 - cat conftest.err >&5
58789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58790 - (exit $ac_status); } &&
58791 - { ac_try='test -z "$ac_c_werror_flag"
58792 - || test ! -s conftest.err'
58793 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58794 - (eval $ac_try) 2>&5
58796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58797 - (exit $ac_status); }; } &&
58798 - { ac_try='test -s conftest$ac_exeext'
58799 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58800 - (eval $ac_try) 2>&5
58802 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58803 - (exit $ac_status); }; }; then
58804 - ac_cv_search_strerror="none required"
58806 - echo "$as_me: failed program was:" >&5
58807 -sed 's/^/| /' conftest.$ac_ext >&5
58810 -rm -f conftest.err conftest.$ac_objext \
58811 - conftest$ac_exeext conftest.$ac_ext
58812 -if test "$ac_cv_search_strerror" = no; then
58813 - for ac_lib in cposix; do
58814 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
58815 - cat >conftest.$ac_ext <<_ACEOF
58818 -cat confdefs.h >>conftest.$ac_ext
58819 -cat >>conftest.$ac_ext <<_ACEOF
58820 -/* end confdefs.h. */
58822 -/* Override any gcc2 internal prototype to avoid an error. */
58823 -#ifdef __cplusplus
58826 -/* We use char because int might match the return type of a gcc2
58827 - builtin and then its argument prototype would still apply. */
58837 -rm -f conftest.$ac_objext conftest$ac_exeext
58838 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58839 - (eval $ac_link) 2>conftest.er1
58841 - grep -v '^ *+' conftest.er1 >conftest.err
58842 - rm -f conftest.er1
58843 - cat conftest.err >&5
58844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58845 - (exit $ac_status); } &&
58846 - { ac_try='test -z "$ac_c_werror_flag"
58847 - || test ! -s conftest.err'
58848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58849 - (eval $ac_try) 2>&5
58851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58852 - (exit $ac_status); }; } &&
58853 - { ac_try='test -s conftest$ac_exeext'
58854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58855 - (eval $ac_try) 2>&5
58857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58858 - (exit $ac_status); }; }; then
58859 - ac_cv_search_strerror="-l$ac_lib"
58863 - echo "$as_me: failed program was:" >&5
58864 -sed 's/^/| /' conftest.$ac_ext >&5
58867 -rm -f conftest.err conftest.$ac_objext \
58868 - conftest$ac_exeext conftest.$ac_ext
58870 + ac_cv_search_strerror=no
58872 +rm conftest.$ac_ext
58873 LIBS=$ac_func_search_save_LIBS
58875 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
58876 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
58877 -if test "$ac_cv_search_strerror" != no; then
58878 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
58879 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
58880 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
58881 +ac_res=$ac_cv_search_strerror
58882 +if test "$ac_res" != no; then
58883 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
58887 @@ -2501,8 +2979,8 @@ am__api_version="1.9"
58888 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
58889 # OS/2's system install, which has a completely different semantic
58890 # ./install, which can be erroneously created by make from ./install.sh.
58891 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
58892 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
58893 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
58894 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
58895 if test -z "$INSTALL"; then
58896 if test "${ac_cv_path_install+set}" = set; then
58897 echo $ECHO_N "(cached) $ECHO_C" >&6
58898 @@ -2524,7 +3002,7 @@ case $as_dir/ in
58900 for ac_prog in ginstall scoinst install; do
58901 for ac_exec_ext in '' $ac_executable_extensions; do
58902 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
58903 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
58904 if test $ac_prog = install &&
58905 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
58906 # AIX install. It has an incompatible calling convention.
58907 @@ -2543,21 +3021,22 @@ case $as_dir/ in
58915 if test "${ac_cv_path_install+set}" = set; then
58916 INSTALL=$ac_cv_path_install
58918 - # As a last resort, use the slow shell script. We don't cache a
58919 - # path for INSTALL within a source directory, because that will
58920 + # As a last resort, use the slow shell script. Don't cache a
58921 + # value for INSTALL within a source directory, because that will
58922 # break other packages using the cache if that directory is
58923 - # removed, or if the path is relative.
58924 + # removed, or if the value is a relative name.
58925 INSTALL=$ac_install_sh
58928 -echo "$as_me:$LINENO: result: $INSTALL" >&5
58929 -echo "${ECHO_T}$INSTALL" >&6
58930 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
58931 +echo "${ECHO_T}$INSTALL" >&6; }
58933 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
58934 # It thinks the first close brace ends the variable substitution.
58935 @@ -2567,8 +3046,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
58937 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
58939 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
58940 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
58941 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
58942 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
58945 echo timestamp > conftest.file
58946 @@ -2610,20 +3089,20 @@ echo "$as_me: error: newly created file
58947 Check your system clock" >&2;}
58948 { (exit 1); exit 1; }; }
58950 -echo "$as_me:$LINENO: result: yes" >&5
58951 -echo "${ECHO_T}yes" >&6
58952 +{ echo "$as_me:$LINENO: result: yes" >&5
58953 +echo "${ECHO_T}yes" >&6; }
58954 test "$program_prefix" != NONE &&
58955 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
58956 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
58957 # Use a double $ so make ignores it.
58958 test "$program_suffix" != NONE &&
58959 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
58960 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
58961 # Double any \ or $. echo might interpret backslashes.
58962 # By default was `s,x,x', remove it if useless.
58963 cat <<\_ACEOF >conftest.sed
58964 s/[\\$]/&&/g;s/;s,x,x,$//
58966 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
58968 +rm -f conftest.sed
58970 # expand $ac_aux_dir to an absolute path
58971 am_aux_dir=`cd $ac_aux_dir && pwd`
58972 @@ -2675,8 +3154,8 @@ for ac_prog in gawk mawk nawk awk
58974 # Extract the first word of "$ac_prog", so it can be a program name with args.
58975 set dummy $ac_prog; ac_word=$2
58976 -echo "$as_me:$LINENO: checking for $ac_word" >&5
58977 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
58978 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
58979 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
58980 if test "${ac_cv_prog_AWK+set}" = set; then
58981 echo $ECHO_N "(cached) $ECHO_C" >&6
58983 @@ -2689,54 +3168,57 @@ do
58985 test -z "$as_dir" && as_dir=.
58986 for ac_exec_ext in '' $ac_executable_extensions; do
58987 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
58988 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
58989 ac_cv_prog_AWK="$ac_prog"
58990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
58999 AWK=$ac_cv_prog_AWK
59000 if test -n "$AWK"; then
59001 - echo "$as_me:$LINENO: result: $AWK" >&5
59002 -echo "${ECHO_T}$AWK" >&6
59003 + { echo "$as_me:$LINENO: result: $AWK" >&5
59004 +echo "${ECHO_T}$AWK" >&6; }
59006 - echo "$as_me:$LINENO: result: no" >&5
59007 -echo "${ECHO_T}no" >&6
59008 + { echo "$as_me:$LINENO: result: no" >&5
59009 +echo "${ECHO_T}no" >&6; }
59013 test -n "$AWK" && break
59016 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
59017 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
59018 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
59019 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
59020 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
59021 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
59022 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
59023 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
59024 echo $ECHO_N "(cached) $ECHO_C" >&6
59026 cat >conftest.make <<\_ACEOF
59029 - @echo 'ac_maketemp="$(MAKE)"'
59030 + @echo '@@@%%%=$(MAKE)=@@@%%%'
59032 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
59033 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
59034 -if test -n "$ac_maketemp"; then
59035 - eval ac_cv_prog_make_${ac_make}_set=yes
59037 - eval ac_cv_prog_make_${ac_make}_set=no
59039 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
59040 + *@@@%%%=?*=@@@%%%*)
59041 + eval ac_cv_prog_make_${ac_make}_set=yes;;
59043 + eval ac_cv_prog_make_${ac_make}_set=no;;
59045 rm -f conftest.make
59047 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
59048 - echo "$as_me:$LINENO: result: yes" >&5
59049 -echo "${ECHO_T}yes" >&6
59050 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
59051 + { echo "$as_me:$LINENO: result: yes" >&5
59052 +echo "${ECHO_T}yes" >&6; }
59055 - echo "$as_me:$LINENO: result: no" >&5
59056 -echo "${ECHO_T}no" >&6
59057 + { echo "$as_me:$LINENO: result: no" >&5
59058 +echo "${ECHO_T}no" >&6; }
59059 SET_MAKE="MAKE=${MAKE-make}"
59062 @@ -2751,7 +3233,7 @@ rmdir .tst 2>/dev/null
59064 DEPDIR="${am__leading_dot}deps"
59066 - ac_config_commands="$ac_config_commands depfiles"
59067 +ac_config_commands="$ac_config_commands depfiles"
59070 am_make=${MAKE-make}
59071 @@ -2761,8 +3243,8 @@ am__doit:
59074 # If we don't find an include directive, just comment out the code.
59075 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
59076 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
59077 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
59078 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
59082 @@ -2789,15 +3271,15 @@ if test "$am__include" = "#"; then
59086 -echo "$as_me:$LINENO: result: $_am_result" >&5
59087 -echo "${ECHO_T}$_am_result" >&6
59088 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
59089 +echo "${ECHO_T}$_am_result" >&6; }
59090 rm -f confinc confmf
59092 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
59093 +# Check whether --enable-dependency-tracking was given.
59094 if test "${enable_dependency_tracking+set}" = set; then
59095 - enableval="$enable_dependency_tracking"
59096 + enableval=$enable_dependency_tracking;
59100 if test "x$enable_dependency_tracking" != xno; then
59101 am_depcomp="$ac_aux_dir/depcomp"
59103 @@ -2872,8 +3354,8 @@ if test "$cross_compiling" != no; then
59104 if test -n "$ac_tool_prefix"; then
59105 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
59106 set dummy ${ac_tool_prefix}strip; ac_word=$2
59107 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59108 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59109 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59110 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59111 if test "${ac_cv_prog_STRIP+set}" = set; then
59112 echo $ECHO_N "(cached) $ECHO_C" >&6
59114 @@ -2886,32 +3368,34 @@ do
59116 test -z "$as_dir" && as_dir=.
59117 for ac_exec_ext in '' $ac_executable_extensions; do
59118 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59119 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59120 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
59121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59130 STRIP=$ac_cv_prog_STRIP
59131 if test -n "$STRIP"; then
59132 - echo "$as_me:$LINENO: result: $STRIP" >&5
59133 -echo "${ECHO_T}$STRIP" >&6
59134 + { echo "$as_me:$LINENO: result: $STRIP" >&5
59135 +echo "${ECHO_T}$STRIP" >&6; }
59137 - echo "$as_me:$LINENO: result: no" >&5
59138 -echo "${ECHO_T}no" >&6
59139 + { echo "$as_me:$LINENO: result: no" >&5
59140 +echo "${ECHO_T}no" >&6; }
59145 if test -z "$ac_cv_prog_STRIP"; then
59147 # Extract the first word of "strip", so it can be a program name with args.
59148 set dummy strip; ac_word=$2
59149 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59150 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59151 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59152 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59153 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
59154 echo $ECHO_N "(cached) $ECHO_C" >&6
59156 @@ -2924,27 +3408,41 @@ do
59158 test -z "$as_dir" && as_dir=.
59159 for ac_exec_ext in '' $ac_executable_extensions; do
59160 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59161 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59162 ac_cv_prog_ac_ct_STRIP="strip"
59163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59170 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
59173 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
59174 if test -n "$ac_ct_STRIP"; then
59175 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59176 -echo "${ECHO_T}$ac_ct_STRIP" >&6
59177 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59178 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
59180 - echo "$as_me:$LINENO: result: no" >&5
59181 -echo "${ECHO_T}no" >&6
59182 + { echo "$as_me:$LINENO: result: no" >&5
59183 +echo "${ECHO_T}no" >&6; }
59186 - STRIP=$ac_ct_STRIP
59187 + if test "x$ac_ct_STRIP" = x; then
59190 + case $cross_compiling:$ac_tool_warned in
59192 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
59193 +whose name does not start with the host triplet. If you think this
59194 +configuration is useful to you, please write to autoconf@gnu.org." >&5
59195 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
59196 +whose name does not start with the host triplet. If you think this
59197 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
59198 +ac_tool_warned=yes ;;
59200 + STRIP=$ac_ct_STRIP
59203 STRIP="$ac_cv_prog_STRIP"
59205 @@ -2965,8 +3463,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
59207 depcc="$CC" am_compiler_list=
59209 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
59210 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
59211 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
59212 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
59213 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
59214 echo $ECHO_N "(cached) $ECHO_C" >&6
59216 @@ -3055,8 +3553,8 @@ else
59220 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
59221 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
59222 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
59223 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
59224 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
59227 @@ -3074,10 +3572,9 @@ fi
59231 -# Check whether --enable-shared or --disable-shared was given.
59232 +# Check whether --enable-shared was given.
59233 if test "${enable_shared+set}" = set; then
59234 - enableval="$enable_shared"
59235 - p=${PACKAGE-default}
59236 + enableval=$enable_shared; p=${PACKAGE-default}
59238 yes) enable_shared=yes ;;
59239 no) enable_shared=no ;;
59240 @@ -3095,11 +3592,11 @@ no) enable_shared=no ;;
59245 -# Check whether --enable-static or --disable-static was given.
59248 +# Check whether --enable-static was given.
59249 if test "${enable_static+set}" = set; then
59250 - enableval="$enable_static"
59251 - p=${PACKAGE-default}
59252 + enableval=$enable_static; p=${PACKAGE-default}
59254 yes) enable_static=yes ;;
59255 no) enable_static=no ;;
59256 @@ -3117,11 +3614,11 @@ no) enable_static=no ;;
59261 -# Check whether --enable-fast-install or --disable-fast-install was given.
59264 +# Check whether --enable-fast-install was given.
59265 if test "${enable_fast_install+set}" = set; then
59266 - enableval="$enable_fast_install"
59267 - p=${PACKAGE-default}
59268 + enableval=$enable_fast_install; p=${PACKAGE-default}
59270 yes) enable_fast_install=yes ;;
59271 no) enable_fast_install=no ;;
59272 @@ -3139,20 +3636,21 @@ no) enable_fast_install=no ;;
59275 enable_fast_install=yes
59280 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
59281 +# Check whether --with-gnu-ld was given.
59282 if test "${with_gnu_ld+set}" = set; then
59283 - withval="$with_gnu_ld"
59284 - test "$withval" = no || with_gnu_ld=yes
59285 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
59292 if test "$GCC" = yes; then
59293 # Check if gcc -print-prog-name=ld gives a path.
59294 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
59295 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
59296 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
59297 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
59300 # gcc leaves a trailing carriage return which upsets mingw
59301 @@ -3181,11 +3679,11 @@ echo $ECHO_N "checking for ld used by GC
59304 elif test "$with_gnu_ld" = yes; then
59305 - echo "$as_me:$LINENO: checking for GNU ld" >&5
59306 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
59307 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
59308 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
59310 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
59311 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
59312 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
59313 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
59315 if test "${lt_cv_path_LD+set}" = set; then
59316 echo $ECHO_N "(cached) $ECHO_C" >&6
59317 @@ -3214,17 +3712,17 @@ fi
59319 LD="$lt_cv_path_LD"
59320 if test -n "$LD"; then
59321 - echo "$as_me:$LINENO: result: $LD" >&5
59322 -echo "${ECHO_T}$LD" >&6
59323 + { echo "$as_me:$LINENO: result: $LD" >&5
59324 +echo "${ECHO_T}$LD" >&6; }
59326 - echo "$as_me:$LINENO: result: no" >&5
59327 -echo "${ECHO_T}no" >&6
59328 + { echo "$as_me:$LINENO: result: no" >&5
59329 +echo "${ECHO_T}no" >&6; }
59331 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
59332 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
59333 { (exit 1); exit 1; }; }
59334 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
59335 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
59336 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
59337 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
59338 if test "${lt_cv_prog_gnu_ld+set}" = set; then
59339 echo $ECHO_N "(cached) $ECHO_C" >&6
59341 @@ -3235,25 +3733,25 @@ else
59342 lt_cv_prog_gnu_ld=no
59345 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
59346 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
59347 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
59348 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
59349 with_gnu_ld=$lt_cv_prog_gnu_ld
59352 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
59353 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
59354 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
59355 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
59356 if test "${lt_cv_ld_reload_flag+set}" = set; then
59357 echo $ECHO_N "(cached) $ECHO_C" >&6
59359 lt_cv_ld_reload_flag='-r'
59361 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
59362 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
59363 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
59364 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
59365 reload_flag=$lt_cv_ld_reload_flag
59366 test -n "$reload_flag" && reload_flag=" $reload_flag"
59368 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
59369 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
59370 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
59371 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
59372 if test "${lt_cv_path_NM+set}" = set; then
59373 echo $ECHO_N "(cached) $ECHO_C" >&6
59375 @@ -3288,22 +3786,22 @@ fi
59378 NM="$lt_cv_path_NM"
59379 -echo "$as_me:$LINENO: result: $NM" >&5
59380 -echo "${ECHO_T}$NM" >&6
59381 +{ echo "$as_me:$LINENO: result: $NM" >&5
59382 +echo "${ECHO_T}$NM" >&6; }
59384 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
59385 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
59386 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
59387 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
59389 if test "$LN_S" = "ln -s"; then
59390 - echo "$as_me:$LINENO: result: yes" >&5
59391 -echo "${ECHO_T}yes" >&6
59392 + { echo "$as_me:$LINENO: result: yes" >&5
59393 +echo "${ECHO_T}yes" >&6; }
59395 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
59396 -echo "${ECHO_T}no, using $LN_S" >&6
59397 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
59398 +echo "${ECHO_T}no, using $LN_S" >&6; }
59401 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
59402 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
59403 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
59404 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
59405 if test "${lt_cv_deplibs_check_method+set}" = set; then
59406 echo $ECHO_N "(cached) $ECHO_C" >&6
59408 @@ -3465,8 +3963,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
59412 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
59413 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
59414 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
59415 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
59416 file_magic_cmd=$lt_cv_file_magic_cmd
59417 deplibs_check_method=$lt_cv_deplibs_check_method
59419 @@ -3476,8 +3974,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
59420 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
59422 # find the maximum length of command line arguments
59423 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
59424 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
59425 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
59426 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
59427 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
59428 echo $ECHO_N "(cached) $ECHO_C" >&6
59430 @@ -3528,11 +4026,11 @@ else
59433 if test -n "$lt_cv_sys_max_cmd_len" ; then
59434 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
59435 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
59436 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
59437 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
59439 - echo "$as_me:$LINENO: result: none" >&5
59440 -echo "${ECHO_T}none" >&6
59441 + { echo "$as_me:$LINENO: result: none" >&5
59442 +echo "${ECHO_T}none" >&6; }
59446 @@ -3540,8 +4038,8 @@ fi
59447 case $deplibs_check_method in
59449 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
59450 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
59451 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
59452 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
59453 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
59454 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
59455 echo $ECHO_N "(cached) $ECHO_C" >&6
59457 @@ -3595,17 +4093,17 @@ fi
59459 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
59460 if test -n "$MAGIC_CMD"; then
59461 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59462 -echo "${ECHO_T}$MAGIC_CMD" >&6
59463 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59464 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
59466 - echo "$as_me:$LINENO: result: no" >&5
59467 -echo "${ECHO_T}no" >&6
59468 + { echo "$as_me:$LINENO: result: no" >&5
59469 +echo "${ECHO_T}no" >&6; }
59472 if test -z "$lt_cv_path_MAGIC_CMD"; then
59473 if test -n "$ac_tool_prefix"; then
59474 - echo "$as_me:$LINENO: checking for file" >&5
59475 -echo $ECHO_N "checking for file... $ECHO_C" >&6
59476 + { echo "$as_me:$LINENO: checking for file" >&5
59477 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
59478 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
59479 echo $ECHO_N "(cached) $ECHO_C" >&6
59481 @@ -3659,11 +4157,11 @@ fi
59483 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
59484 if test -n "$MAGIC_CMD"; then
59485 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59486 -echo "${ECHO_T}$MAGIC_CMD" >&6
59487 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59488 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
59490 - echo "$as_me:$LINENO: result: no" >&5
59491 -echo "${ECHO_T}no" >&6
59492 + { echo "$as_me:$LINENO: result: no" >&5
59493 +echo "${ECHO_T}no" >&6; }
59497 @@ -3678,8 +4176,8 @@ esac
59498 if test -n "$ac_tool_prefix"; then
59499 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
59500 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
59501 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59502 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59503 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59504 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59505 if test "${ac_cv_prog_RANLIB+set}" = set; then
59506 echo $ECHO_N "(cached) $ECHO_C" >&6
59508 @@ -3692,32 +4190,34 @@ do
59510 test -z "$as_dir" && as_dir=.
59511 for ac_exec_ext in '' $ac_executable_extensions; do
59512 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59513 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59514 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
59515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59524 RANLIB=$ac_cv_prog_RANLIB
59525 if test -n "$RANLIB"; then
59526 - echo "$as_me:$LINENO: result: $RANLIB" >&5
59527 -echo "${ECHO_T}$RANLIB" >&6
59528 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
59529 +echo "${ECHO_T}$RANLIB" >&6; }
59531 - echo "$as_me:$LINENO: result: no" >&5
59532 -echo "${ECHO_T}no" >&6
59533 + { echo "$as_me:$LINENO: result: no" >&5
59534 +echo "${ECHO_T}no" >&6; }
59539 if test -z "$ac_cv_prog_RANLIB"; then
59540 ac_ct_RANLIB=$RANLIB
59541 # Extract the first word of "ranlib", so it can be a program name with args.
59542 set dummy ranlib; ac_word=$2
59543 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59544 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59545 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59546 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59547 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
59548 echo $ECHO_N "(cached) $ECHO_C" >&6
59550 @@ -3730,27 +4230,41 @@ do
59552 test -z "$as_dir" && as_dir=.
59553 for ac_exec_ext in '' $ac_executable_extensions; do
59554 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59555 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59556 ac_cv_prog_ac_ct_RANLIB="ranlib"
59557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59564 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
59567 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
59568 if test -n "$ac_ct_RANLIB"; then
59569 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
59570 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
59571 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
59572 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
59574 - echo "$as_me:$LINENO: result: no" >&5
59575 -echo "${ECHO_T}no" >&6
59576 + { echo "$as_me:$LINENO: result: no" >&5
59577 +echo "${ECHO_T}no" >&6; }
59580 - RANLIB=$ac_ct_RANLIB
59581 + if test "x$ac_ct_RANLIB" = x; then
59584 + case $cross_compiling:$ac_tool_warned in
59586 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
59587 +whose name does not start with the host triplet. If you think this
59588 +configuration is useful to you, please write to autoconf@gnu.org." >&5
59589 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
59590 +whose name does not start with the host triplet. If you think this
59591 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
59592 +ac_tool_warned=yes ;;
59594 + RANLIB=$ac_ct_RANLIB
59597 RANLIB="$ac_cv_prog_RANLIB"
59599 @@ -3758,8 +4272,8 @@ fi
59600 if test -n "$ac_tool_prefix"; then
59601 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
59602 set dummy ${ac_tool_prefix}strip; ac_word=$2
59603 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59604 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59605 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59606 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59607 if test "${ac_cv_prog_STRIP+set}" = set; then
59608 echo $ECHO_N "(cached) $ECHO_C" >&6
59610 @@ -3772,32 +4286,34 @@ do
59612 test -z "$as_dir" && as_dir=.
59613 for ac_exec_ext in '' $ac_executable_extensions; do
59614 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59615 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59616 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
59617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59626 STRIP=$ac_cv_prog_STRIP
59627 if test -n "$STRIP"; then
59628 - echo "$as_me:$LINENO: result: $STRIP" >&5
59629 -echo "${ECHO_T}$STRIP" >&6
59630 + { echo "$as_me:$LINENO: result: $STRIP" >&5
59631 +echo "${ECHO_T}$STRIP" >&6; }
59633 - echo "$as_me:$LINENO: result: no" >&5
59634 -echo "${ECHO_T}no" >&6
59635 + { echo "$as_me:$LINENO: result: no" >&5
59636 +echo "${ECHO_T}no" >&6; }
59641 if test -z "$ac_cv_prog_STRIP"; then
59643 # Extract the first word of "strip", so it can be a program name with args.
59644 set dummy strip; ac_word=$2
59645 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59646 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59647 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59648 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
59650 echo $ECHO_N "(cached) $ECHO_C" >&6
59652 @@ -3810,27 +4326,41 @@ do
59654 test -z "$as_dir" && as_dir=.
59655 for ac_exec_ext in '' $ac_executable_extensions; do
59656 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59657 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59658 ac_cv_prog_ac_ct_STRIP="strip"
59659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59666 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
59669 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
59670 if test -n "$ac_ct_STRIP"; then
59671 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59672 -echo "${ECHO_T}$ac_ct_STRIP" >&6
59673 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59674 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
59676 - echo "$as_me:$LINENO: result: no" >&5
59677 -echo "${ECHO_T}no" >&6
59678 + { echo "$as_me:$LINENO: result: no" >&5
59679 +echo "${ECHO_T}no" >&6; }
59682 - STRIP=$ac_ct_STRIP
59683 + if test "x$ac_ct_STRIP" = x; then
59686 + case $cross_compiling:$ac_tool_warned in
59688 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
59689 +whose name does not start with the host triplet. If you think this
59690 +configuration is useful to you, please write to autoconf@gnu.org." >&5
59691 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
59692 +whose name does not start with the host triplet. If you think this
59693 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
59694 +ac_tool_warned=yes ;;
59696 + STRIP=$ac_ct_STRIP
59699 STRIP="$ac_cv_prog_STRIP"
59701 @@ -3845,22 +4375,22 @@ test "$GCC" = yes && libtool_flags="$lib
59702 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
59705 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
59706 +# Check whether --enable-libtool-lock was given.
59707 if test "${enable_libtool_lock+set}" = set; then
59708 - enableval="$enable_libtool_lock"
59709 + enableval=$enable_libtool_lock;
59713 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
59714 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
59717 -# Check whether --with-pic or --without-pic was given.
59718 +# Check whether --with-pic was given.
59719 if test "${with_pic+set}" = set; then
59720 - withval="$with_pic"
59721 - pic_mode="$withval"
59722 + withval=$with_pic; pic_mode="$withval"
59728 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
59729 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
59731 @@ -3869,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags
59734 # Find out which ABI we are using.
59735 - echo '#line 3872 "configure"' > conftest.$ac_ext
59736 + echo '#line 4402 "configure"' > conftest.$ac_ext
59737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59738 (eval $ac_compile) 2>&5
59740 @@ -3974,13 +4504,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
59741 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
59742 SAVE_CFLAGS="$CFLAGS"
59743 CFLAGS="$CFLAGS -belf"
59744 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
59745 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
59746 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
59747 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
59748 if test "${lt_cv_cc_needs_belf+set}" = set; then
59749 echo $ECHO_N "(cached) $ECHO_C" >&6
59754 ac_cpp='$CPP $CPPFLAGS'
59755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59756 @@ -4003,35 +4532,32 @@ main ()
59759 rm -f conftest.$ac_objext conftest$ac_exeext
59760 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59761 - (eval $ac_link) 2>conftest.er1
59762 +if { (ac_try="$ac_link"
59763 +case "(($ac_try" in
59764 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59765 + *) ac_try_echo=$ac_try;;
59767 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59768 + (eval "$ac_link") 2>conftest.er1
59770 grep -v '^ *+' conftest.er1 >conftest.err
59772 cat conftest.err >&5
59773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59774 - (exit $ac_status); } &&
59775 - { ac_try='test -z "$ac_c_werror_flag"
59776 - || test ! -s conftest.err'
59777 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59778 - (eval $ac_try) 2>&5
59780 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
59781 - (exit $ac_status); }; } &&
59782 - { ac_try='test -s conftest$ac_exeext'
59783 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59784 - (eval $ac_try) 2>&5
59786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
59787 - (exit $ac_status); }; }; then
59788 + (exit $ac_status); } && {
59789 + test -z "$ac_c_werror_flag" ||
59790 + test ! -s conftest.err
59791 + } && test -s conftest$ac_exeext &&
59792 + $as_test_x conftest$ac_exeext; then
59793 lt_cv_cc_needs_belf=yes
59795 echo "$as_me: failed program was:" >&5
59796 sed 's/^/| /' conftest.$ac_ext >&5
59798 -lt_cv_cc_needs_belf=no
59799 + lt_cv_cc_needs_belf=no
59801 -rm -f conftest.err conftest.$ac_objext \
59803 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59804 conftest$ac_exeext conftest.$ac_ext
59806 ac_cpp='$CPP $CPPFLAGS'
59807 @@ -4040,8 +4566,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
59808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59811 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
59812 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
59813 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
59814 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
59815 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
59816 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
59817 CFLAGS="$SAVE_CFLAGS"
59818 @@ -4071,39 +4597,58 @@ _ACEOF
59820 # The following way of writing the cache mishandles newlines in values,
59821 # but we know of no workaround that is simple, portable, and efficient.
59822 -# So, don't put newlines in cache variables' values.
59823 +# So, we kill variables containing newlines.
59824 # Ultrix sh set writes to stderr and can't be redirected directly,
59825 # and sets the high bit in the cache file unless we assign to the vars.
59828 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59829 + eval ac_val=\$$ac_var
59830 + case $ac_val in #(
59832 + case $ac_var in #(
59833 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
59834 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
59836 + case $ac_var in #(
59837 + _ | IFS | as_nl) ;; #(
59838 + *) $as_unset $ac_var ;;
59844 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
59846 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
59847 + *${as_nl}ac_space=\ *)
59848 # `set' does not quote correctly, so add quotes (double-quote
59849 # substitution turns \\\\ into \\, and sed turns \\ into \).
59852 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59856 # `set' quotes correctly as required by POSIX, so do not add quotes.
59858 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
59859 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59867 + /^ac_cv_env_/b end
59871 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59873 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59874 - : end' >>confcache
59875 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
59876 - if test -w $cache_file; then
59877 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
59878 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59879 + :end' >>confcache
59880 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59881 + if test -w "$cache_file"; then
59882 + test "x$cache_file" != "x/dev/null" &&
59883 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
59884 +echo "$as_me: updating cache $cache_file" >&6;}
59885 cat confcache >$cache_file
59887 - echo "not updating unwritable cache $cache_file"
59888 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
59889 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59893 @@ -4129,8 +4674,8 @@ if test -r "$cache_file"; then
59894 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
59895 echo "$as_me: loading cache $cache_file" >&6;}
59896 case $cache_file in
59897 - [\\/]* | ?:[\\/]* ) . $cache_file;;
59898 - *) . ./$cache_file;;
59899 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
59900 + *) . "./$cache_file";;
59904 @@ -4157,15 +4702,14 @@ exec 5>>./config.log
59908 -# Check whether --with-lib-path or --without-lib-path was given.
59909 +# Check whether --with-lib-path was given.
59910 if test "${with_lib_path+set}" = set; then
59911 - withval="$with_lib_path"
59912 - LIB_PATH=$withval
59914 -# Check whether --enable-targets or --disable-targets was given.
59915 + withval=$with_lib_path; LIB_PATH=$withval
59918 +# Check whether --enable-targets was given.
59919 if test "${enable_targets+set}" = set; then
59920 - enableval="$enable_targets"
59921 - case "${enableval}" in
59922 + enableval=$enable_targets; case "${enableval}" in
59923 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
59924 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
59925 { (exit 1); exit 1; }; }
59926 @@ -4173,10 +4717,10 @@ echo "$as_me: error: enable-targets opti
59927 no) enable_targets= ;;
59928 *) enable_targets=$enableval ;;
59930 -fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
59932 +# Check whether --enable-64-bit-bfd was given.
59933 if test "${enable_64_bit_bfd+set}" = set; then
59934 - enableval="$enable_64_bit_bfd"
59935 - case "${enableval}" in
59936 + enableval=$enable_64_bit_bfd; case "${enableval}" in
59937 yes) want64=true ;;
59938 no) want64=false ;;
59939 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
59940 @@ -4185,12 +4729,12 @@ echo "$as_me: error: bad value ${enablev
59947 -# Check whether --with-sysroot or --without-sysroot was given.
59948 -if test "${with_sysroot+set}" = set; then
59949 - withval="$with_sysroot"
59951 +# Check whether --with-sysroot was given.
59952 +if test "${with_sysroot+set}" = set; then
59953 + withval=$with_sysroot;
59954 case ${with_sysroot} in
59955 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
59956 *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
59957 @@ -4222,7 +4766,8 @@ else
59958 TARGET_SYSTEM_ROOT=
59959 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
59967 @@ -4230,17 +4775,17 @@ fi;
59969 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
59971 -# Check whether --enable-werror or --disable-werror was given.
59972 +# Check whether --enable-werror was given.
59973 if test "${enable_werror+set}" = set; then
59974 - enableval="$enable_werror"
59975 - case "${enableval}" in
59976 + enableval=$enable_werror; case "${enableval}" in
59977 yes | y) ERROR_ON_WARNING="yes" ;;
59978 no | n) ERROR_ON_WARNING="no" ;;
59979 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
59980 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
59981 { (exit 1); exit 1; }; } ;;
59987 # Enable -Werror by default when using gcc
59988 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
59989 @@ -4257,10 +4802,9 @@ if test "${GCC}" = yes ; then
59990 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
59993 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
59994 +# Check whether --enable-build-warnings was given.
59995 if test "${enable_build_warnings+set}" = set; then
59996 - enableval="$enable_build_warnings"
59997 - case "${enableval}" in
59998 + enableval=$enable_build_warnings; case "${enableval}" in
59999 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
60000 no) if test "${GCC}" = yes ; then
60002 @@ -4271,7 +4815,8 @@ if test "${enable_build_warnings+set}" =
60003 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
60004 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
60010 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
60011 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
60012 @@ -4281,7 +4826,7 @@ fi
60016 - ac_config_headers="$ac_config_headers config.h:config.in"
60017 +ac_config_headers="$ac_config_headers config.h:config.in"
60020 if test -z "$target" ; then
60021 @@ -4305,8 +4850,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
60022 if test -n "$ac_tool_prefix"; then
60023 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
60024 set dummy ${ac_tool_prefix}gcc; ac_word=$2
60025 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60026 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60027 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60028 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60029 if test "${ac_cv_prog_CC+set}" = set; then
60030 echo $ECHO_N "(cached) $ECHO_C" >&6
60032 @@ -4319,32 +4864,34 @@ do
60034 test -z "$as_dir" && as_dir=.
60035 for ac_exec_ext in '' $ac_executable_extensions; do
60036 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60037 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60038 ac_cv_prog_CC="${ac_tool_prefix}gcc"
60039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60049 if test -n "$CC"; then
60050 - echo "$as_me:$LINENO: result: $CC" >&5
60051 -echo "${ECHO_T}$CC" >&6
60052 + { echo "$as_me:$LINENO: result: $CC" >&5
60053 +echo "${ECHO_T}$CC" >&6; }
60055 - echo "$as_me:$LINENO: result: no" >&5
60056 -echo "${ECHO_T}no" >&6
60057 + { echo "$as_me:$LINENO: result: no" >&5
60058 +echo "${ECHO_T}no" >&6; }
60063 if test -z "$ac_cv_prog_CC"; then
60065 # Extract the first word of "gcc", so it can be a program name with args.
60066 set dummy gcc; ac_word=$2
60067 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60068 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60069 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60070 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60071 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
60072 echo $ECHO_N "(cached) $ECHO_C" >&6
60074 @@ -4357,36 +4904,51 @@ do
60076 test -z "$as_dir" && as_dir=.
60077 for ac_exec_ext in '' $ac_executable_extensions; do
60078 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60079 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60080 ac_cv_prog_ac_ct_CC="gcc"
60081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60090 ac_ct_CC=$ac_cv_prog_ac_ct_CC
60091 if test -n "$ac_ct_CC"; then
60092 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60093 -echo "${ECHO_T}$ac_ct_CC" >&6
60094 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60095 +echo "${ECHO_T}$ac_ct_CC" >&6; }
60097 - echo "$as_me:$LINENO: result: no" >&5
60098 -echo "${ECHO_T}no" >&6
60099 + { echo "$as_me:$LINENO: result: no" >&5
60100 +echo "${ECHO_T}no" >&6; }
60104 + if test "x$ac_ct_CC" = x; then
60107 + case $cross_compiling:$ac_tool_warned in
60109 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
60110 +whose name does not start with the host triplet. If you think this
60111 +configuration is useful to you, please write to autoconf@gnu.org." >&5
60112 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
60113 +whose name does not start with the host triplet. If you think this
60114 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
60115 +ac_tool_warned=yes ;;
60120 CC="$ac_cv_prog_CC"
60123 if test -z "$CC"; then
60124 - if test -n "$ac_tool_prefix"; then
60125 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
60126 + if test -n "$ac_tool_prefix"; then
60127 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
60128 set dummy ${ac_tool_prefix}cc; ac_word=$2
60129 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60130 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60131 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60132 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60133 if test "${ac_cv_prog_CC+set}" = set; then
60134 echo $ECHO_N "(cached) $ECHO_C" >&6
60136 @@ -4399,74 +4961,34 @@ do
60138 test -z "$as_dir" && as_dir=.
60139 for ac_exec_ext in '' $ac_executable_extensions; do
60140 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60141 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60142 ac_cv_prog_CC="${ac_tool_prefix}cc"
60143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60153 if test -n "$CC"; then
60154 - echo "$as_me:$LINENO: result: $CC" >&5
60155 -echo "${ECHO_T}$CC" >&6
60157 - echo "$as_me:$LINENO: result: no" >&5
60158 -echo "${ECHO_T}no" >&6
60162 -if test -z "$ac_cv_prog_CC"; then
60164 - # Extract the first word of "cc", so it can be a program name with args.
60165 -set dummy cc; ac_word=$2
60166 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60167 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60168 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
60169 - echo $ECHO_N "(cached) $ECHO_C" >&6
60171 - if test -n "$ac_ct_CC"; then
60172 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
60174 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
60175 -for as_dir in $PATH
60178 - test -z "$as_dir" && as_dir=.
60179 - for ac_exec_ext in '' $ac_executable_extensions; do
60180 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60181 - ac_cv_prog_ac_ct_CC="cc"
60182 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60190 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
60191 -if test -n "$ac_ct_CC"; then
60192 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60193 -echo "${ECHO_T}$ac_ct_CC" >&6
60194 + { echo "$as_me:$LINENO: result: $CC" >&5
60195 +echo "${ECHO_T}$CC" >&6; }
60197 - echo "$as_me:$LINENO: result: no" >&5
60198 -echo "${ECHO_T}no" >&6
60199 + { echo "$as_me:$LINENO: result: no" >&5
60200 +echo "${ECHO_T}no" >&6; }
60205 - CC="$ac_cv_prog_CC"
60210 if test -z "$CC"; then
60211 # Extract the first word of "cc", so it can be a program name with args.
60212 set dummy cc; ac_word=$2
60213 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60214 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60215 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60216 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60217 if test "${ac_cv_prog_CC+set}" = set; then
60218 echo $ECHO_N "(cached) $ECHO_C" >&6
60220 @@ -4480,7 +5002,7 @@ do
60222 test -z "$as_dir" && as_dir=.
60223 for ac_exec_ext in '' $ac_executable_extensions; do
60224 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60225 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
60227 ac_prog_rejected=yes
60229 @@ -4491,6 +5013,7 @@ do
60235 if test $ac_prog_rejected = yes; then
60236 # We found a bogon in the path, so make sure we never use it.
60237 @@ -4508,22 +5031,23 @@ fi
60240 if test -n "$CC"; then
60241 - echo "$as_me:$LINENO: result: $CC" >&5
60242 -echo "${ECHO_T}$CC" >&6
60243 + { echo "$as_me:$LINENO: result: $CC" >&5
60244 +echo "${ECHO_T}$CC" >&6; }
60246 - echo "$as_me:$LINENO: result: no" >&5
60247 -echo "${ECHO_T}no" >&6
60248 + { echo "$as_me:$LINENO: result: no" >&5
60249 +echo "${ECHO_T}no" >&6; }
60254 if test -z "$CC"; then
60255 if test -n "$ac_tool_prefix"; then
60256 - for ac_prog in cl
60257 + for ac_prog in cl.exe
60259 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
60260 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
60261 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60262 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60263 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60264 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60265 if test "${ac_cv_prog_CC+set}" = set; then
60266 echo $ECHO_N "(cached) $ECHO_C" >&6
60268 @@ -4536,36 +5060,38 @@ do
60270 test -z "$as_dir" && as_dir=.
60271 for ac_exec_ext in '' $ac_executable_extensions; do
60272 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60273 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60274 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
60275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60285 if test -n "$CC"; then
60286 - echo "$as_me:$LINENO: result: $CC" >&5
60287 -echo "${ECHO_T}$CC" >&6
60288 + { echo "$as_me:$LINENO: result: $CC" >&5
60289 +echo "${ECHO_T}$CC" >&6; }
60291 - echo "$as_me:$LINENO: result: no" >&5
60292 -echo "${ECHO_T}no" >&6
60293 + { echo "$as_me:$LINENO: result: no" >&5
60294 +echo "${ECHO_T}no" >&6; }
60298 test -n "$CC" && break
60301 if test -z "$CC"; then
60303 - for ac_prog in cl
60304 + for ac_prog in cl.exe
60306 # Extract the first word of "$ac_prog", so it can be a program name with args.
60307 set dummy $ac_prog; ac_word=$2
60308 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60309 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60310 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60311 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
60313 echo $ECHO_N "(cached) $ECHO_C" >&6
60315 @@ -4578,29 +5104,45 @@ do
60317 test -z "$as_dir" && as_dir=.
60318 for ac_exec_ext in '' $ac_executable_extensions; do
60319 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60320 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60321 ac_cv_prog_ac_ct_CC="$ac_prog"
60322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
60332 if test -n "$ac_ct_CC"; then
60333 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60334 -echo "${ECHO_T}$ac_ct_CC" >&6
60335 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60336 +echo "${ECHO_T}$ac_ct_CC" >&6; }
60338 - echo "$as_me:$LINENO: result: no" >&5
60339 -echo "${ECHO_T}no" >&6
60340 + { echo "$as_me:$LINENO: result: no" >&5
60341 +echo "${ECHO_T}no" >&6; }
60345 test -n "$ac_ct_CC" && break
60349 + if test "x$ac_ct_CC" = x; then
60352 + case $cross_compiling:$ac_tool_warned in
60354 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
60355 +whose name does not start with the host triplet. If you think this
60356 +configuration is useful to you, please write to autoconf@gnu.org." >&5
60357 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
60358 +whose name does not start with the host triplet. If you think this
60359 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
60360 +ac_tool_warned=yes ;;
60367 @@ -4613,27 +5155,41 @@ See \`config.log' for more details." >&2
60368 { (exit 1); exit 1; }; }
60370 # Provide some information about the compiler.
60371 -echo "$as_me:$LINENO:" \
60372 - "checking for C compiler version" >&5
60373 +echo "$as_me:$LINENO: checking for C compiler version" >&5
60374 ac_compiler=`set X $ac_compile; echo $2`
60375 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
60376 - (eval $ac_compiler --version </dev/null >&5) 2>&5
60377 +{ (ac_try="$ac_compiler --version >&5"
60378 +case "(($ac_try" in
60379 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60380 + *) ac_try_echo=$ac_try;;
60382 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60383 + (eval "$ac_compiler --version >&5") 2>&5
60385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60386 (exit $ac_status); }
60387 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
60388 - (eval $ac_compiler -v </dev/null >&5) 2>&5
60389 +{ (ac_try="$ac_compiler -v >&5"
60390 +case "(($ac_try" in
60391 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60392 + *) ac_try_echo=$ac_try;;
60394 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60395 + (eval "$ac_compiler -v >&5") 2>&5
60397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60398 (exit $ac_status); }
60399 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
60400 - (eval $ac_compiler -V </dev/null >&5) 2>&5
60401 +{ (ac_try="$ac_compiler -V >&5"
60402 +case "(($ac_try" in
60403 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60404 + *) ac_try_echo=$ac_try;;
60406 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60407 + (eval "$ac_compiler -V >&5") 2>&5
60409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410 (exit $ac_status); }
60412 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
60413 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
60414 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
60415 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
60416 if test "${ac_cv_c_compiler_gnu+set}" = set; then
60417 echo $ECHO_N "(cached) $ECHO_C" >&6
60419 @@ -4656,50 +5212,49 @@ main ()
60422 rm -f conftest.$ac_objext
60423 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60424 - (eval $ac_compile) 2>conftest.er1
60425 +if { (ac_try="$ac_compile"
60426 +case "(($ac_try" in
60427 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60428 + *) ac_try_echo=$ac_try;;
60430 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60431 + (eval "$ac_compile") 2>conftest.er1
60433 grep -v '^ *+' conftest.er1 >conftest.err
60435 cat conftest.err >&5
60436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60437 - (exit $ac_status); } &&
60438 - { ac_try='test -z "$ac_c_werror_flag"
60439 - || test ! -s conftest.err'
60440 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60441 - (eval $ac_try) 2>&5
60443 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60444 - (exit $ac_status); }; } &&
60445 - { ac_try='test -s conftest.$ac_objext'
60446 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60447 - (eval $ac_try) 2>&5
60449 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60450 - (exit $ac_status); }; }; then
60451 + (exit $ac_status); } && {
60452 + test -z "$ac_c_werror_flag" ||
60453 + test ! -s conftest.err
60454 + } && test -s conftest.$ac_objext; then
60455 ac_compiler_gnu=yes
60457 echo "$as_me: failed program was:" >&5
60458 sed 's/^/| /' conftest.$ac_ext >&5
60460 -ac_compiler_gnu=no
60461 + ac_compiler_gnu=no
60463 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60465 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60466 ac_cv_c_compiler_gnu=$ac_compiler_gnu
60469 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
60470 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
60471 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
60472 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
60473 GCC=`test $ac_compiler_gnu = yes && echo yes`
60474 ac_test_CFLAGS=${CFLAGS+set}
60475 ac_save_CFLAGS=$CFLAGS
60477 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
60478 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
60479 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
60480 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
60481 if test "${ac_cv_prog_cc_g+set}" = set; then
60482 echo $ECHO_N "(cached) $ECHO_C" >&6
60484 - cat >conftest.$ac_ext <<_ACEOF
60485 + ac_save_c_werror_flag=$ac_c_werror_flag
60486 + ac_c_werror_flag=yes
60487 + ac_cv_prog_cc_g=no
60489 + cat >conftest.$ac_ext <<_ACEOF
60492 cat confdefs.h >>conftest.$ac_ext
60493 @@ -4715,59 +5270,139 @@ main ()
60496 rm -f conftest.$ac_objext
60497 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60498 - (eval $ac_compile) 2>conftest.er1
60499 +if { (ac_try="$ac_compile"
60500 +case "(($ac_try" in
60501 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60502 + *) ac_try_echo=$ac_try;;
60504 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60505 + (eval "$ac_compile") 2>conftest.er1
60507 grep -v '^ *+' conftest.er1 >conftest.err
60509 cat conftest.err >&5
60510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60511 - (exit $ac_status); } &&
60512 - { ac_try='test -z "$ac_c_werror_flag"
60513 - || test ! -s conftest.err'
60514 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60515 - (eval $ac_try) 2>&5
60517 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60518 - (exit $ac_status); }; } &&
60519 - { ac_try='test -s conftest.$ac_objext'
60520 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60521 - (eval $ac_try) 2>&5
60523 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60524 - (exit $ac_status); }; }; then
60525 + (exit $ac_status); } && {
60526 + test -z "$ac_c_werror_flag" ||
60527 + test ! -s conftest.err
60528 + } && test -s conftest.$ac_objext; then
60529 ac_cv_prog_cc_g=yes
60531 echo "$as_me: failed program was:" >&5
60532 sed 's/^/| /' conftest.$ac_ext >&5
60534 -ac_cv_prog_cc_g=no
60536 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60538 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
60539 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
60540 -if test "$ac_test_CFLAGS" = set; then
60541 - CFLAGS=$ac_save_CFLAGS
60542 -elif test $ac_cv_prog_cc_g = yes; then
60543 - if test "$GCC" = yes; then
60549 - if test "$GCC" = yes; then
60555 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
60556 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
60557 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
60558 - echo $ECHO_N "(cached) $ECHO_C" >&6
60560 - ac_cv_prog_cc_stdc=no
60562 + cat >conftest.$ac_ext <<_ACEOF
60565 +cat confdefs.h >>conftest.$ac_ext
60566 +cat >>conftest.$ac_ext <<_ACEOF
60567 +/* end confdefs.h. */
60577 +rm -f conftest.$ac_objext
60578 +if { (ac_try="$ac_compile"
60579 +case "(($ac_try" in
60580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60581 + *) ac_try_echo=$ac_try;;
60583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60584 + (eval "$ac_compile") 2>conftest.er1
60586 + grep -v '^ *+' conftest.er1 >conftest.err
60587 + rm -f conftest.er1
60588 + cat conftest.err >&5
60589 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
60590 + (exit $ac_status); } && {
60591 + test -z "$ac_c_werror_flag" ||
60592 + test ! -s conftest.err
60593 + } && test -s conftest.$ac_objext; then
60596 + echo "$as_me: failed program was:" >&5
60597 +sed 's/^/| /' conftest.$ac_ext >&5
60599 + ac_c_werror_flag=$ac_save_c_werror_flag
60601 + cat >conftest.$ac_ext <<_ACEOF
60604 +cat confdefs.h >>conftest.$ac_ext
60605 +cat >>conftest.$ac_ext <<_ACEOF
60606 +/* end confdefs.h. */
60616 +rm -f conftest.$ac_objext
60617 +if { (ac_try="$ac_compile"
60618 +case "(($ac_try" in
60619 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60620 + *) ac_try_echo=$ac_try;;
60622 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60623 + (eval "$ac_compile") 2>conftest.er1
60625 + grep -v '^ *+' conftest.er1 >conftest.err
60626 + rm -f conftest.er1
60627 + cat conftest.err >&5
60628 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
60629 + (exit $ac_status); } && {
60630 + test -z "$ac_c_werror_flag" ||
60631 + test ! -s conftest.err
60632 + } && test -s conftest.$ac_objext; then
60633 + ac_cv_prog_cc_g=yes
60635 + echo "$as_me: failed program was:" >&5
60636 +sed 's/^/| /' conftest.$ac_ext >&5
60641 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60644 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60647 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60648 + ac_c_werror_flag=$ac_save_c_werror_flag
60650 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
60651 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
60652 +if test "$ac_test_CFLAGS" = set; then
60653 + CFLAGS=$ac_save_CFLAGS
60654 +elif test $ac_cv_prog_cc_g = yes; then
60655 + if test "$GCC" = yes; then
60661 + if test "$GCC" = yes; then
60667 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
60668 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
60669 +if test "${ac_cv_prog_cc_c89+set}" = set; then
60670 + echo $ECHO_N "(cached) $ECHO_C" >&6
60672 + ac_cv_prog_cc_c89=no
60674 cat >conftest.$ac_ext <<_ACEOF
60676 @@ -4801,12 +5436,17 @@ static char *f (char * (*g) (char **, in
60677 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
60678 function prototypes and stuff, but not '\xHH' hex character constants.
60679 These don't provoke an error unfortunately, instead are silently treated
60680 - as 'x'. The following induces an error, until -std1 is added to get
60681 + as 'x'. The following induces an error, until -std is added to get
60682 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
60683 array size at least. It's necessary to write '\x00'==0 to get something
60684 - that's true only with -std1. */
60685 + that's true only with -std. */
60686 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
60688 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
60689 + inside strings and character constants. */
60690 +#define FOO(x) 'x'
60691 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
60693 int test (int i, double x);
60694 struct s1 {int (*f) (int a);};
60695 struct s2 {int (*f) (double a);};
60696 @@ -4821,205 +5461,57 @@ return f (e, argv, 0) != argv[0] || f
60700 -# Don't try gcc -ansi; that turns off useful extensions and
60701 -# breaks some systems' header files.
60702 -# AIX -qlanglvl=ansi
60703 -# Ultrix and OSF/1 -std1
60704 -# HP-UX 10.20 and later -Ae
60705 -# HP-UX older versions -Aa -D_HPUX_SOURCE
60706 -# SVR4 -Xc -D__EXTENSIONS__
60707 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
60708 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
60709 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
60711 CC="$ac_save_CC $ac_arg"
60712 rm -f conftest.$ac_objext
60713 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60714 - (eval $ac_compile) 2>conftest.er1
60715 +if { (ac_try="$ac_compile"
60716 +case "(($ac_try" in
60717 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60718 + *) ac_try_echo=$ac_try;;
60720 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60721 + (eval "$ac_compile") 2>conftest.er1
60723 grep -v '^ *+' conftest.er1 >conftest.err
60725 cat conftest.err >&5
60726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60727 - (exit $ac_status); } &&
60728 - { ac_try='test -z "$ac_c_werror_flag"
60729 - || test ! -s conftest.err'
60730 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60731 - (eval $ac_try) 2>&5
60733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60734 - (exit $ac_status); }; } &&
60735 - { ac_try='test -s conftest.$ac_objext'
60736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60737 - (eval $ac_try) 2>&5
60739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60740 - (exit $ac_status); }; }; then
60741 - ac_cv_prog_cc_stdc=$ac_arg
60743 + (exit $ac_status); } && {
60744 + test -z "$ac_c_werror_flag" ||
60745 + test ! -s conftest.err
60746 + } && test -s conftest.$ac_objext; then
60747 + ac_cv_prog_cc_c89=$ac_arg
60749 echo "$as_me: failed program was:" >&5
60750 sed 's/^/| /' conftest.$ac_ext >&5
60754 -rm -f conftest.err conftest.$ac_objext
60756 +rm -f core conftest.err conftest.$ac_objext
60757 + test "x$ac_cv_prog_cc_c89" != "xno" && break
60759 -rm -f conftest.$ac_ext conftest.$ac_objext
60760 +rm -f conftest.$ac_ext
60765 -case "x$ac_cv_prog_cc_stdc" in
60767 - echo "$as_me:$LINENO: result: none needed" >&5
60768 -echo "${ECHO_T}none needed" >&6 ;;
60770 +case "x$ac_cv_prog_cc_c89" in
60772 + { echo "$as_me:$LINENO: result: none needed" >&5
60773 +echo "${ECHO_T}none needed" >&6; } ;;
60775 + { echo "$as_me:$LINENO: result: unsupported" >&5
60776 +echo "${ECHO_T}unsupported" >&6; } ;;
60778 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
60779 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
60780 - CC="$CC $ac_cv_prog_cc_stdc" ;;
60781 + CC="$CC $ac_cv_prog_cc_c89"
60782 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
60783 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
60786 -# Some people use a C++ compiler to compile C. Since we use `exit',
60787 -# in C++ we need to declare it. In case someone uses the same compiler
60788 -# for both compiling C and C++ we need to have the C++ compiler decide
60789 -# the declaration of exit, since it's the most demanding environment.
60790 -cat >conftest.$ac_ext <<_ACEOF
60791 -#ifndef __cplusplus
60795 -rm -f conftest.$ac_objext
60796 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60797 - (eval $ac_compile) 2>conftest.er1
60799 - grep -v '^ *+' conftest.er1 >conftest.err
60800 - rm -f conftest.er1
60801 - cat conftest.err >&5
60802 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60803 - (exit $ac_status); } &&
60804 - { ac_try='test -z "$ac_c_werror_flag"
60805 - || test ! -s conftest.err'
60806 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60807 - (eval $ac_try) 2>&5
60809 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60810 - (exit $ac_status); }; } &&
60811 - { ac_try='test -s conftest.$ac_objext'
60812 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60813 - (eval $ac_try) 2>&5
60815 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60816 - (exit $ac_status); }; }; then
60817 - for ac_declaration in \
60819 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
60820 - 'extern "C" void std::exit (int); using std::exit;' \
60821 - 'extern "C" void exit (int) throw ();' \
60822 - 'extern "C" void exit (int);' \
60823 - 'void exit (int);'
60825 - cat >conftest.$ac_ext <<_ACEOF
60828 -cat confdefs.h >>conftest.$ac_ext
60829 -cat >>conftest.$ac_ext <<_ACEOF
60830 -/* end confdefs.h. */
60832 -#include <stdlib.h>
60841 -rm -f conftest.$ac_objext
60842 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60843 - (eval $ac_compile) 2>conftest.er1
60845 - grep -v '^ *+' conftest.er1 >conftest.err
60846 - rm -f conftest.er1
60847 - cat conftest.err >&5
60848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60849 - (exit $ac_status); } &&
60850 - { ac_try='test -z "$ac_c_werror_flag"
60851 - || test ! -s conftest.err'
60852 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60853 - (eval $ac_try) 2>&5
60855 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60856 - (exit $ac_status); }; } &&
60857 - { ac_try='test -s conftest.$ac_objext'
60858 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60859 - (eval $ac_try) 2>&5
60861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60862 - (exit $ac_status); }; }; then
60865 - echo "$as_me: failed program was:" >&5
60866 -sed 's/^/| /' conftest.$ac_ext >&5
60870 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60871 - cat >conftest.$ac_ext <<_ACEOF
60874 -cat confdefs.h >>conftest.$ac_ext
60875 -cat >>conftest.$ac_ext <<_ACEOF
60876 -/* end confdefs.h. */
60886 -rm -f conftest.$ac_objext
60887 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60888 - (eval $ac_compile) 2>conftest.er1
60890 - grep -v '^ *+' conftest.er1 >conftest.err
60891 - rm -f conftest.er1
60892 - cat conftest.err >&5
60893 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60894 - (exit $ac_status); } &&
60895 - { ac_try='test -z "$ac_c_werror_flag"
60896 - || test ! -s conftest.err'
60897 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60898 - (eval $ac_try) 2>&5
60900 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60901 - (exit $ac_status); }; } &&
60902 - { ac_try='test -s conftest.$ac_objext'
60903 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60904 - (eval $ac_try) 2>&5
60906 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60907 - (exit $ac_status); }; }; then
60910 - echo "$as_me: failed program was:" >&5
60911 -sed 's/^/| /' conftest.$ac_ext >&5
60914 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60917 -if test -n "$ac_declaration"; then
60918 - echo '#ifdef __cplusplus' >>confdefs.h
60919 - echo $ac_declaration >>confdefs.h
60920 - echo '#endif' >>confdefs.h
60924 - echo "$as_me: failed program was:" >&5
60925 -sed 's/^/| /' conftest.$ac_ext >&5
60928 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60930 ac_cpp='$CPP $CPPFLAGS'
60931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 @@ -5039,8 +5531,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
60933 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
60934 # OS/2's system install, which has a completely different semantic
60935 # ./install, which can be erroneously created by make from ./install.sh.
60936 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
60937 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
60938 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
60939 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
60940 if test -z "$INSTALL"; then
60941 if test "${ac_cv_path_install+set}" = set; then
60942 echo $ECHO_N "(cached) $ECHO_C" >&6
60943 @@ -5062,7 +5554,7 @@ case $as_dir/ in
60945 for ac_prog in ginstall scoinst install; do
60946 for ac_exec_ext in '' $ac_executable_extensions; do
60947 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
60948 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
60949 if test $ac_prog = install &&
60950 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
60951 # AIX install. It has an incompatible calling convention.
60952 @@ -5081,21 +5573,22 @@ case $as_dir/ in
60960 if test "${ac_cv_path_install+set}" = set; then
60961 INSTALL=$ac_cv_path_install
60963 - # As a last resort, use the slow shell script. We don't cache a
60964 - # path for INSTALL within a source directory, because that will
60965 + # As a last resort, use the slow shell script. Don't cache a
60966 + # value for INSTALL within a source directory, because that will
60967 # break other packages using the cache if that directory is
60968 - # removed, or if the path is relative.
60969 + # removed, or if the value is a relative name.
60970 INSTALL=$ac_install_sh
60973 -echo "$as_me:$LINENO: result: $INSTALL" >&5
60974 -echo "${ECHO_T}$INSTALL" >&6
60975 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
60976 +echo "${ECHO_T}$INSTALL" >&6; }
60978 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
60979 # It thinks the first close brace ends the variable substitution.
60980 @@ -5110,8 +5603,8 @@ ALL_LINGUAS="fr sv tr es da vi zh_CN"
60981 if test -n "$ac_tool_prefix"; then
60982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
60983 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
60984 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60985 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60986 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60987 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60988 if test "${ac_cv_prog_RANLIB+set}" = set; then
60989 echo $ECHO_N "(cached) $ECHO_C" >&6
60991 @@ -5124,32 +5617,34 @@ do
60993 test -z "$as_dir" && as_dir=.
60994 for ac_exec_ext in '' $ac_executable_extensions; do
60995 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60996 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60997 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
60998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
61007 RANLIB=$ac_cv_prog_RANLIB
61008 if test -n "$RANLIB"; then
61009 - echo "$as_me:$LINENO: result: $RANLIB" >&5
61010 -echo "${ECHO_T}$RANLIB" >&6
61011 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
61012 +echo "${ECHO_T}$RANLIB" >&6; }
61014 - echo "$as_me:$LINENO: result: no" >&5
61015 -echo "${ECHO_T}no" >&6
61016 + { echo "$as_me:$LINENO: result: no" >&5
61017 +echo "${ECHO_T}no" >&6; }
61022 if test -z "$ac_cv_prog_RANLIB"; then
61023 ac_ct_RANLIB=$RANLIB
61024 # Extract the first word of "ranlib", so it can be a program name with args.
61025 set dummy ranlib; ac_word=$2
61026 -echo "$as_me:$LINENO: checking for $ac_word" >&5
61027 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
61028 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
61029 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
61030 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
61031 echo $ECHO_N "(cached) $ECHO_C" >&6
61033 @@ -5162,27 +5657,41 @@ do
61035 test -z "$as_dir" && as_dir=.
61036 for ac_exec_ext in '' $ac_executable_extensions; do
61037 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61038 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
61039 ac_cv_prog_ac_ct_RANLIB="ranlib"
61040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
61047 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
61050 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
61051 if test -n "$ac_ct_RANLIB"; then
61052 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
61053 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
61054 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
61055 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
61057 - echo "$as_me:$LINENO: result: no" >&5
61058 -echo "${ECHO_T}no" >&6
61059 + { echo "$as_me:$LINENO: result: no" >&5
61060 +echo "${ECHO_T}no" >&6; }
61063 - RANLIB=$ac_ct_RANLIB
61064 + if test "x$ac_ct_RANLIB" = x; then
61067 + case $cross_compiling:$ac_tool_warned in
61069 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
61070 +whose name does not start with the host triplet. If you think this
61071 +configuration is useful to you, please write to autoconf@gnu.org." >&5
61072 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
61073 +whose name does not start with the host triplet. If you think this
61074 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
61075 +ac_tool_warned=yes ;;
61077 + RANLIB=$ac_ct_RANLIB
61080 RANLIB="$ac_cv_prog_RANLIB"
61082 @@ -5192,8 +5701,8 @@ ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61086 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
61087 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
61088 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
61089 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
61090 # On Suns, sometimes $CPP names a directory.
61091 if test -n "$CPP" && test -d "$CPP"; then
61093 @@ -5227,24 +5736,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61097 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61098 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61099 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61100 +case "(($ac_try" in
61101 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61102 + *) ac_try_echo=$ac_try;;
61104 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61105 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61107 grep -v '^ *+' conftest.er1 >conftest.err
61109 cat conftest.err >&5
61110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61111 - (exit $ac_status); } >/dev/null; then
61112 - if test -s conftest.err; then
61113 - ac_cpp_err=$ac_c_preproc_warn_flag
61114 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61121 -if test -z "$ac_cpp_err"; then
61122 + (exit $ac_status); } >/dev/null && {
61123 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61124 + test ! -s conftest.err
61128 echo "$as_me: failed program was:" >&5
61129 @@ -5253,9 +5760,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
61130 # Broken: fails on valid input.
61134 rm -f conftest.err conftest.$ac_ext
61136 - # OK, works on sane cases. Now check whether non-existent headers
61137 + # OK, works on sane cases. Now check whether nonexistent headers
61138 # can be detected and how.
61139 cat >conftest.$ac_ext <<_ACEOF
61141 @@ -5265,24 +5773,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61142 /* end confdefs.h. */
61143 #include <ac_nonexistent.h>
61145 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61146 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61147 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61148 +case "(($ac_try" in
61149 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61150 + *) ac_try_echo=$ac_try;;
61152 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61153 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61155 grep -v '^ *+' conftest.er1 >conftest.err
61157 cat conftest.err >&5
61158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61159 - (exit $ac_status); } >/dev/null; then
61160 - if test -s conftest.err; then
61161 - ac_cpp_err=$ac_c_preproc_warn_flag
61162 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61169 -if test -z "$ac_cpp_err"; then
61170 + (exit $ac_status); } >/dev/null && {
61171 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61172 + test ! -s conftest.err
61174 # Broken: success on invalid input.
61177 @@ -5293,6 +5799,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
61182 rm -f conftest.err conftest.$ac_ext
61185 @@ -5310,8 +5817,8 @@ fi
61187 ac_cv_prog_CPP=$CPP
61189 -echo "$as_me:$LINENO: result: $CPP" >&5
61190 -echo "${ECHO_T}$CPP" >&6
61191 +{ echo "$as_me:$LINENO: result: $CPP" >&5
61192 +echo "${ECHO_T}$CPP" >&6; }
61193 ac_preproc_ok=false
61194 for ac_c_preproc_warn_flag in '' yes
61196 @@ -5334,24 +5841,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61200 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61201 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61202 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61203 +case "(($ac_try" in
61204 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61205 + *) ac_try_echo=$ac_try;;
61207 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61208 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61210 grep -v '^ *+' conftest.er1 >conftest.err
61212 cat conftest.err >&5
61213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214 - (exit $ac_status); } >/dev/null; then
61215 - if test -s conftest.err; then
61216 - ac_cpp_err=$ac_c_preproc_warn_flag
61217 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61224 -if test -z "$ac_cpp_err"; then
61225 + (exit $ac_status); } >/dev/null && {
61226 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61227 + test ! -s conftest.err
61231 echo "$as_me: failed program was:" >&5
61232 @@ -5360,9 +5865,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
61233 # Broken: fails on valid input.
61237 rm -f conftest.err conftest.$ac_ext
61239 - # OK, works on sane cases. Now check whether non-existent headers
61240 + # OK, works on sane cases. Now check whether nonexistent headers
61241 # can be detected and how.
61242 cat >conftest.$ac_ext <<_ACEOF
61244 @@ -5372,24 +5878,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61245 /* end confdefs.h. */
61246 #include <ac_nonexistent.h>
61248 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61249 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61250 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61251 +case "(($ac_try" in
61252 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61253 + *) ac_try_echo=$ac_try;;
61255 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61256 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61258 grep -v '^ *+' conftest.er1 >conftest.err
61260 cat conftest.err >&5
61261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61262 - (exit $ac_status); } >/dev/null; then
61263 - if test -s conftest.err; then
61264 - ac_cpp_err=$ac_c_preproc_warn_flag
61265 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61272 -if test -z "$ac_cpp_err"; then
61273 + (exit $ac_status); } >/dev/null && {
61274 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61275 + test ! -s conftest.err
61277 # Broken: success on invalid input.
61280 @@ -5400,6 +5904,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
61285 rm -f conftest.err conftest.$ac_ext
61288 @@ -5422,79 +5927,222 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
61289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61292 -echo "$as_me:$LINENO: checking for egrep" >&5
61293 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
61294 -if test "${ac_cv_prog_egrep+set}" = set; then
61295 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
61296 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
61297 +if test "${ac_cv_path_GREP+set}" = set; then
61298 + echo $ECHO_N "(cached) $ECHO_C" >&6
61300 + # Extract the first word of "grep ggrep" to use in msg output
61301 +if test -z "$GREP"; then
61302 +set dummy grep ggrep; ac_prog_name=$2
61303 +if test "${ac_cv_path_GREP+set}" = set; then
61304 echo $ECHO_N "(cached) $ECHO_C" >&6
61306 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
61307 - then ac_cv_prog_egrep='grep -E'
61308 - else ac_cv_prog_egrep='egrep'
61309 + ac_path_GREP_found=false
61310 +# Loop through the user's path and test for each of PROGNAME-LIST
61311 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61312 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
61315 + test -z "$as_dir" && as_dir=.
61316 + for ac_prog in grep ggrep; do
61317 + for ac_exec_ext in '' $ac_executable_extensions; do
61318 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
61319 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
61320 + # Check for GNU ac_path_GREP and select it if it is found.
61321 + # Check for GNU $ac_path_GREP
61322 +case `"$ac_path_GREP" --version 2>&1` in
61324 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
61327 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
61330 + cat "conftest.in" "conftest.in" >"conftest.tmp"
61331 + mv "conftest.tmp" "conftest.in"
61332 + cp "conftest.in" "conftest.nl"
61333 + echo 'GREP' >> "conftest.nl"
61334 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
61335 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
61336 + ac_count=`expr $ac_count + 1`
61337 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
61338 + # Best one so far, save it but keep looking for a better one
61339 + ac_cv_path_GREP="$ac_path_GREP"
61340 + ac_path_GREP_max=$ac_count
61343 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
61344 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
61345 - EGREP=$ac_cv_prog_egrep
61346 + # 10*(2^10) chars as input seems more than enough
61347 + test $ac_count -gt 10 && break
61349 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
61353 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
61354 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
61355 -if test "${ac_cv_header_stdc+set}" = set; then
61356 - echo $ECHO_N "(cached) $ECHO_C" >&6
61358 - cat >conftest.$ac_ext <<_ACEOF
61361 -cat confdefs.h >>conftest.$ac_ext
61362 -cat >>conftest.$ac_ext <<_ACEOF
61363 -/* end confdefs.h. */
61364 -#include <stdlib.h>
61365 -#include <stdarg.h>
61366 -#include <string.h>
61367 -#include <float.h>
61368 + $ac_path_GREP_found && break 3
61382 -rm -f conftest.$ac_objext
61383 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61384 - (eval $ac_compile) 2>conftest.er1
61386 - grep -v '^ *+' conftest.er1 >conftest.err
61387 - rm -f conftest.er1
61388 - cat conftest.err >&5
61389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61390 - (exit $ac_status); } &&
61391 - { ac_try='test -z "$ac_c_werror_flag"
61392 - || test ! -s conftest.err'
61393 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61394 - (eval $ac_try) 2>&5
61396 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61397 - (exit $ac_status); }; } &&
61398 - { ac_try='test -s conftest.$ac_objext'
61399 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61400 - (eval $ac_try) 2>&5
61402 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61403 - (exit $ac_status); }; }; then
61404 - ac_cv_header_stdc=yes
61406 - echo "$as_me: failed program was:" >&5
61407 -sed 's/^/| /' conftest.$ac_ext >&5
61409 -ac_cv_header_stdc=no
61411 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61413 -if test $ac_cv_header_stdc = yes; then
61414 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
61415 - cat >conftest.$ac_ext <<_ACEOF
61416 +GREP="$ac_cv_path_GREP"
61417 +if test -z "$GREP"; then
61418 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
61419 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
61420 + { (exit 1); exit 1; }; }
61424 + ac_cv_path_GREP=$GREP
61429 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
61430 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
61431 + GREP="$ac_cv_path_GREP"
61434 +{ echo "$as_me:$LINENO: checking for egrep" >&5
61435 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
61436 +if test "${ac_cv_path_EGREP+set}" = set; then
61437 + echo $ECHO_N "(cached) $ECHO_C" >&6
61439 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
61440 + then ac_cv_path_EGREP="$GREP -E"
61442 + # Extract the first word of "egrep" to use in msg output
61443 +if test -z "$EGREP"; then
61444 +set dummy egrep; ac_prog_name=$2
61445 +if test "${ac_cv_path_EGREP+set}" = set; then
61446 + echo $ECHO_N "(cached) $ECHO_C" >&6
61448 + ac_path_EGREP_found=false
61449 +# Loop through the user's path and test for each of PROGNAME-LIST
61450 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61451 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
61454 + test -z "$as_dir" && as_dir=.
61455 + for ac_prog in egrep; do
61456 + for ac_exec_ext in '' $ac_executable_extensions; do
61457 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
61458 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
61459 + # Check for GNU ac_path_EGREP and select it if it is found.
61460 + # Check for GNU $ac_path_EGREP
61461 +case `"$ac_path_EGREP" --version 2>&1` in
61463 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
61466 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
61469 + cat "conftest.in" "conftest.in" >"conftest.tmp"
61470 + mv "conftest.tmp" "conftest.in"
61471 + cp "conftest.in" "conftest.nl"
61472 + echo 'EGREP' >> "conftest.nl"
61473 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
61474 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
61475 + ac_count=`expr $ac_count + 1`
61476 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
61477 + # Best one so far, save it but keep looking for a better one
61478 + ac_cv_path_EGREP="$ac_path_EGREP"
61479 + ac_path_EGREP_max=$ac_count
61481 + # 10*(2^10) chars as input seems more than enough
61482 + test $ac_count -gt 10 && break
61484 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
61488 + $ac_path_EGREP_found && break 3
61498 +EGREP="$ac_cv_path_EGREP"
61499 +if test -z "$EGREP"; then
61500 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
61501 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
61502 + { (exit 1); exit 1; }; }
61506 + ac_cv_path_EGREP=$EGREP
61512 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
61513 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
61514 + EGREP="$ac_cv_path_EGREP"
61517 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
61518 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
61519 +if test "${ac_cv_header_stdc+set}" = set; then
61520 + echo $ECHO_N "(cached) $ECHO_C" >&6
61522 + cat >conftest.$ac_ext <<_ACEOF
61525 +cat confdefs.h >>conftest.$ac_ext
61526 +cat >>conftest.$ac_ext <<_ACEOF
61527 +/* end confdefs.h. */
61528 +#include <stdlib.h>
61529 +#include <stdarg.h>
61530 +#include <string.h>
61531 +#include <float.h>
61541 +rm -f conftest.$ac_objext
61542 +if { (ac_try="$ac_compile"
61543 +case "(($ac_try" in
61544 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61545 + *) ac_try_echo=$ac_try;;
61547 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61548 + (eval "$ac_compile") 2>conftest.er1
61550 + grep -v '^ *+' conftest.er1 >conftest.err
61551 + rm -f conftest.er1
61552 + cat conftest.err >&5
61553 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
61554 + (exit $ac_status); } && {
61555 + test -z "$ac_c_werror_flag" ||
61556 + test ! -s conftest.err
61557 + } && test -s conftest.$ac_objext; then
61558 + ac_cv_header_stdc=yes
61560 + echo "$as_me: failed program was:" >&5
61561 +sed 's/^/| /' conftest.$ac_ext >&5
61563 + ac_cv_header_stdc=no
61566 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61568 +if test $ac_cv_header_stdc = yes; then
61569 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
61570 + cat >conftest.$ac_ext <<_ACEOF
61573 cat confdefs.h >>conftest.$ac_ext
61574 @@ -5546,6 +6194,7 @@ cat confdefs.h >>conftest.$ac_ext
61575 cat >>conftest.$ac_ext <<_ACEOF
61576 /* end confdefs.h. */
61578 +#include <stdlib.h>
61579 #if ((' ' & 0x0FF) == 0x020)
61580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
61581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
61582 @@ -5565,18 +6214,27 @@ main ()
61583 for (i = 0; i < 256; i++)
61584 if (XOR (islower (i), ISLOWER (i))
61585 || toupper (i) != TOUPPER (i))
61592 rm -f conftest$ac_exeext
61593 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61594 - (eval $ac_link) 2>&5
61595 +if { (ac_try="$ac_link"
61596 +case "(($ac_try" in
61597 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61598 + *) ac_try_echo=$ac_try;;
61600 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61601 + (eval "$ac_link") 2>&5
61603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
61605 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61606 - (eval $ac_try) 2>&5
61607 + { (case "(($ac_try" in
61608 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61609 + *) ac_try_echo=$ac_try;;
61611 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61612 + (eval "$ac_try") 2>&5
61614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61615 (exit $ac_status); }; }; then
61616 @@ -5589,12 +6247,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
61617 ( exit $ac_status )
61618 ac_cv_header_stdc=no
61620 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61621 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61627 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
61628 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
61629 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
61630 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
61631 if test $ac_cv_header_stdc = yes; then
61633 cat >>confdefs.h <<\_ACEOF
61634 @@ -5603,8 +6263,8 @@ _ACEOF
61638 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
61639 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
61640 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
61641 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
61642 if test "${ac_cv_c_const+set}" = set; then
61643 echo $ECHO_N "(cached) $ECHO_C" >&6
61645 @@ -5622,10 +6282,10 @@ main ()
61646 #ifndef __cplusplus
61647 /* Ultrix mips cc rejects this. */
61648 typedef int charset[2];
61650 + const charset cs;
61651 /* SunOS 4.1.1 cc rejects this. */
61652 - char const *const *ccp;
61654 + char const *const *pcpcc;
61656 /* NEC SVR4.0.2 mips cc rejects this. */
61657 struct point {int x, y;};
61658 static struct point const zero = {0,0};
61659 @@ -5634,16 +6294,17 @@ main ()
61660 an arm of an if-expression whose if-part is not a constant
61662 const char *g = "string";
61663 - ccp = &g + (g ? g-g : 0);
61664 + pcpcc = &g + (g ? g-g : 0);
61665 /* HPUX 7.0 cc rejects these. */
61667 - p = (char**) ccp;
61668 - ccp = (char const *const *) p;
61670 + ppc = (char**) pcpcc;
61671 + pcpcc = (char const *const *) ppc;
61672 { /* SCO 3.2v4 cc rejects this. */
61674 char const *s = 0 ? (char *) 0 : (char const *) 0;
61679 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
61680 int x[] = {25, 17};
61681 @@ -5662,7 +6323,9 @@ main ()
61683 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
61684 const int foo = 10;
61685 + if (!foo) return 0;
61687 + return !cs[0] && !zero.x;
61691 @@ -5670,38 +6333,34 @@ main ()
61694 rm -f conftest.$ac_objext
61695 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61696 - (eval $ac_compile) 2>conftest.er1
61697 +if { (ac_try="$ac_compile"
61698 +case "(($ac_try" in
61699 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61700 + *) ac_try_echo=$ac_try;;
61702 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61703 + (eval "$ac_compile") 2>conftest.er1
61705 grep -v '^ *+' conftest.er1 >conftest.err
61707 cat conftest.err >&5
61708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61709 - (exit $ac_status); } &&
61710 - { ac_try='test -z "$ac_c_werror_flag"
61711 - || test ! -s conftest.err'
61712 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61713 - (eval $ac_try) 2>&5
61715 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61716 - (exit $ac_status); }; } &&
61717 - { ac_try='test -s conftest.$ac_objext'
61718 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61719 - (eval $ac_try) 2>&5
61721 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61722 - (exit $ac_status); }; }; then
61723 + (exit $ac_status); } && {
61724 + test -z "$ac_c_werror_flag" ||
61725 + test ! -s conftest.err
61726 + } && test -s conftest.$ac_objext; then
61729 echo "$as_me: failed program was:" >&5
61730 sed 's/^/| /' conftest.$ac_ext >&5
61735 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61737 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61739 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
61740 -echo "${ECHO_T}$ac_cv_c_const" >&6
61741 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
61742 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
61743 if test $ac_cv_c_const = no; then
61745 cat >>confdefs.h <<\_ACEOF
61746 @@ -5710,8 +6369,8 @@ _ACEOF
61750 -echo "$as_me:$LINENO: checking for inline" >&5
61751 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
61752 +{ echo "$as_me:$LINENO: checking for inline" >&5
61753 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
61754 if test "${ac_cv_c_inline+set}" = set; then
61755 echo $ECHO_N "(cached) $ECHO_C" >&6
61757 @@ -5731,39 +6390,37 @@ $ac_kw foo_t foo () {return 0; }
61760 rm -f conftest.$ac_objext
61761 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61762 - (eval $ac_compile) 2>conftest.er1
61763 +if { (ac_try="$ac_compile"
61764 +case "(($ac_try" in
61765 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61766 + *) ac_try_echo=$ac_try;;
61768 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61769 + (eval "$ac_compile") 2>conftest.er1
61771 grep -v '^ *+' conftest.er1 >conftest.err
61773 cat conftest.err >&5
61774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61775 - (exit $ac_status); } &&
61776 - { ac_try='test -z "$ac_c_werror_flag"
61777 - || test ! -s conftest.err'
61778 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61779 - (eval $ac_try) 2>&5
61781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61782 - (exit $ac_status); }; } &&
61783 - { ac_try='test -s conftest.$ac_objext'
61784 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61785 - (eval $ac_try) 2>&5
61787 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61788 - (exit $ac_status); }; }; then
61789 - ac_cv_c_inline=$ac_kw; break
61790 + (exit $ac_status); } && {
61791 + test -z "$ac_c_werror_flag" ||
61792 + test ! -s conftest.err
61793 + } && test -s conftest.$ac_objext; then
61794 + ac_cv_c_inline=$ac_kw
61796 echo "$as_me: failed program was:" >&5
61797 sed 's/^/| /' conftest.$ac_ext >&5
61801 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61803 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61804 + test "$ac_cv_c_inline" != no && break
61808 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
61809 -echo "${ECHO_T}$ac_cv_c_inline" >&6
61810 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
61811 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
61814 case $ac_cv_c_inline in
61815 @@ -5795,9 +6452,9 @@ for ac_header in sys/types.h sys/stat.h
61816 inttypes.h stdint.h unistd.h
61818 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61819 -echo "$as_me:$LINENO: checking for $ac_header" >&5
61820 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61821 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
61822 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
61823 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
61824 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
61825 echo $ECHO_N "(cached) $ECHO_C" >&6
61827 cat >conftest.$ac_ext <<_ACEOF
61828 @@ -5811,38 +6468,35 @@ $ac_includes_default
61829 #include <$ac_header>
61831 rm -f conftest.$ac_objext
61832 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61833 - (eval $ac_compile) 2>conftest.er1
61834 +if { (ac_try="$ac_compile"
61835 +case "(($ac_try" in
61836 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61837 + *) ac_try_echo=$ac_try;;
61839 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61840 + (eval "$ac_compile") 2>conftest.er1
61842 grep -v '^ *+' conftest.er1 >conftest.err
61844 cat conftest.err >&5
61845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61846 - (exit $ac_status); } &&
61847 - { ac_try='test -z "$ac_c_werror_flag"
61848 - || test ! -s conftest.err'
61849 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61850 - (eval $ac_try) 2>&5
61852 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61853 - (exit $ac_status); }; } &&
61854 - { ac_try='test -s conftest.$ac_objext'
61855 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61856 - (eval $ac_try) 2>&5
61858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61859 - (exit $ac_status); }; }; then
61860 + (exit $ac_status); } && {
61861 + test -z "$ac_c_werror_flag" ||
61862 + test ! -s conftest.err
61863 + } && test -s conftest.$ac_objext; then
61864 eval "$as_ac_Header=yes"
61866 echo "$as_me: failed program was:" >&5
61867 sed 's/^/| /' conftest.$ac_ext >&5
61869 -eval "$as_ac_Header=no"
61870 + eval "$as_ac_Header=no"
61872 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61874 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61876 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61877 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61878 +ac_res=`eval echo '${'$as_ac_Header'}'`
61879 + { echo "$as_me:$LINENO: result: $ac_res" >&5
61880 +echo "${ECHO_T}$ac_res" >&6; }
61881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61882 cat >>confdefs.h <<_ACEOF
61883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61884 @@ -5853,8 +6507,8 @@ fi
61888 -echo "$as_me:$LINENO: checking for off_t" >&5
61889 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
61890 +{ echo "$as_me:$LINENO: checking for off_t" >&5
61891 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
61892 if test "${ac_cv_type_off_t+set}" = set; then
61893 echo $ECHO_N "(cached) $ECHO_C" >&6
61895 @@ -5865,62 +6519,59 @@ cat confdefs.h >>conftest.$ac_ext
61896 cat >>conftest.$ac_ext <<_ACEOF
61897 /* end confdefs.h. */
61898 $ac_includes_default
61899 +typedef off_t ac__type_new_;
61904 +if ((ac__type_new_ *) 0)
61906 -if (sizeof (off_t))
61907 +if (sizeof (ac__type_new_))
61913 rm -f conftest.$ac_objext
61914 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61915 - (eval $ac_compile) 2>conftest.er1
61916 +if { (ac_try="$ac_compile"
61917 +case "(($ac_try" in
61918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61919 + *) ac_try_echo=$ac_try;;
61921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61922 + (eval "$ac_compile") 2>conftest.er1
61924 grep -v '^ *+' conftest.er1 >conftest.err
61926 cat conftest.err >&5
61927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61928 - (exit $ac_status); } &&
61929 - { ac_try='test -z "$ac_c_werror_flag"
61930 - || test ! -s conftest.err'
61931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61932 - (eval $ac_try) 2>&5
61934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61935 - (exit $ac_status); }; } &&
61936 - { ac_try='test -s conftest.$ac_objext'
61937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61938 - (eval $ac_try) 2>&5
61940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61941 - (exit $ac_status); }; }; then
61942 + (exit $ac_status); } && {
61943 + test -z "$ac_c_werror_flag" ||
61944 + test ! -s conftest.err
61945 + } && test -s conftest.$ac_objext; then
61946 ac_cv_type_off_t=yes
61948 echo "$as_me: failed program was:" >&5
61949 sed 's/^/| /' conftest.$ac_ext >&5
61951 -ac_cv_type_off_t=no
61952 + ac_cv_type_off_t=no
61954 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61956 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61958 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
61959 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
61960 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
61961 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
61962 if test $ac_cv_type_off_t = yes; then
61966 cat >>confdefs.h <<_ACEOF
61967 -#define off_t long
61968 +#define off_t long int
61973 -echo "$as_me:$LINENO: checking for size_t" >&5
61974 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
61975 +{ echo "$as_me:$LINENO: checking for size_t" >&5
61976 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
61977 if test "${ac_cv_type_size_t+set}" = set; then
61978 echo $ECHO_N "(cached) $ECHO_C" >&6
61980 @@ -5931,64 +6582,61 @@ cat confdefs.h >>conftest.$ac_ext
61981 cat >>conftest.$ac_ext <<_ACEOF
61982 /* end confdefs.h. */
61983 $ac_includes_default
61984 +typedef size_t ac__type_new_;
61989 +if ((ac__type_new_ *) 0)
61991 -if (sizeof (size_t))
61992 +if (sizeof (ac__type_new_))
61998 rm -f conftest.$ac_objext
61999 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62000 - (eval $ac_compile) 2>conftest.er1
62001 +if { (ac_try="$ac_compile"
62002 +case "(($ac_try" in
62003 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62004 + *) ac_try_echo=$ac_try;;
62006 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62007 + (eval "$ac_compile") 2>conftest.er1
62009 grep -v '^ *+' conftest.er1 >conftest.err
62011 cat conftest.err >&5
62012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62013 - (exit $ac_status); } &&
62014 - { ac_try='test -z "$ac_c_werror_flag"
62015 - || test ! -s conftest.err'
62016 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62017 - (eval $ac_try) 2>&5
62019 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62020 - (exit $ac_status); }; } &&
62021 - { ac_try='test -s conftest.$ac_objext'
62022 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62023 - (eval $ac_try) 2>&5
62025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62026 - (exit $ac_status); }; }; then
62027 + (exit $ac_status); } && {
62028 + test -z "$ac_c_werror_flag" ||
62029 + test ! -s conftest.err
62030 + } && test -s conftest.$ac_objext; then
62031 ac_cv_type_size_t=yes
62033 echo "$as_me: failed program was:" >&5
62034 sed 's/^/| /' conftest.$ac_ext >&5
62036 -ac_cv_type_size_t=no
62037 + ac_cv_type_size_t=no
62039 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62041 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62043 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
62044 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
62045 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
62046 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
62047 if test $ac_cv_type_size_t = yes; then
62051 cat >>confdefs.h <<_ACEOF
62052 -#define size_t unsigned
62053 +#define size_t unsigned int
62058 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
62059 # for constant arguments. Useless!
62060 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
62061 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
62062 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
62063 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
62064 if test "${ac_cv_working_alloca_h+set}" = set; then
62065 echo $ECHO_N "(cached) $ECHO_C" >&6
62067 @@ -6003,44 +6651,42 @@ int
62070 char *p = (char *) alloca (2 * sizeof (int));
62076 rm -f conftest.$ac_objext conftest$ac_exeext
62077 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62078 - (eval $ac_link) 2>conftest.er1
62079 +if { (ac_try="$ac_link"
62080 +case "(($ac_try" in
62081 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62082 + *) ac_try_echo=$ac_try;;
62084 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62085 + (eval "$ac_link") 2>conftest.er1
62087 grep -v '^ *+' conftest.er1 >conftest.err
62089 cat conftest.err >&5
62090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62091 - (exit $ac_status); } &&
62092 - { ac_try='test -z "$ac_c_werror_flag"
62093 - || test ! -s conftest.err'
62094 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62095 - (eval $ac_try) 2>&5
62097 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62098 - (exit $ac_status); }; } &&
62099 - { ac_try='test -s conftest$ac_exeext'
62100 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62101 - (eval $ac_try) 2>&5
62103 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62104 - (exit $ac_status); }; }; then
62105 + (exit $ac_status); } && {
62106 + test -z "$ac_c_werror_flag" ||
62107 + test ! -s conftest.err
62108 + } && test -s conftest$ac_exeext &&
62109 + $as_test_x conftest$ac_exeext; then
62110 ac_cv_working_alloca_h=yes
62112 echo "$as_me: failed program was:" >&5
62113 sed 's/^/| /' conftest.$ac_ext >&5
62115 -ac_cv_working_alloca_h=no
62116 + ac_cv_working_alloca_h=no
62118 -rm -f conftest.err conftest.$ac_objext \
62120 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62121 conftest$ac_exeext conftest.$ac_ext
62123 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
62124 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
62125 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
62126 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
62127 if test $ac_cv_working_alloca_h = yes; then
62129 cat >>confdefs.h <<\_ACEOF
62130 @@ -6049,8 +6695,8 @@ _ACEOF
62134 -echo "$as_me:$LINENO: checking for alloca" >&5
62135 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
62136 +{ echo "$as_me:$LINENO: checking for alloca" >&5
62137 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
62138 if test "${ac_cv_func_alloca_works+set}" = set; then
62139 echo $ECHO_N "(cached) $ECHO_C" >&6
62141 @@ -6067,7 +6713,7 @@ cat >>conftest.$ac_ext <<_ACEOF
62142 # include <malloc.h>
62143 # define alloca _alloca
62145 -# if HAVE_ALLOCA_H
62146 +# ifdef HAVE_ALLOCA_H
62147 # include <alloca.h>
62150 @@ -6085,44 +6731,42 @@ int
62153 char *p = (char *) alloca (1);
62159 rm -f conftest.$ac_objext conftest$ac_exeext
62160 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62161 - (eval $ac_link) 2>conftest.er1
62162 +if { (ac_try="$ac_link"
62163 +case "(($ac_try" in
62164 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62165 + *) ac_try_echo=$ac_try;;
62167 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62168 + (eval "$ac_link") 2>conftest.er1
62170 grep -v '^ *+' conftest.er1 >conftest.err
62172 cat conftest.err >&5
62173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62174 - (exit $ac_status); } &&
62175 - { ac_try='test -z "$ac_c_werror_flag"
62176 - || test ! -s conftest.err'
62177 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62178 - (eval $ac_try) 2>&5
62180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62181 - (exit $ac_status); }; } &&
62182 - { ac_try='test -s conftest$ac_exeext'
62183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62184 - (eval $ac_try) 2>&5
62186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62187 - (exit $ac_status); }; }; then
62188 + (exit $ac_status); } && {
62189 + test -z "$ac_c_werror_flag" ||
62190 + test ! -s conftest.err
62191 + } && test -s conftest$ac_exeext &&
62192 + $as_test_x conftest$ac_exeext; then
62193 ac_cv_func_alloca_works=yes
62195 echo "$as_me: failed program was:" >&5
62196 sed 's/^/| /' conftest.$ac_ext >&5
62198 -ac_cv_func_alloca_works=no
62199 + ac_cv_func_alloca_works=no
62201 -rm -f conftest.err conftest.$ac_objext \
62203 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62204 conftest$ac_exeext conftest.$ac_ext
62206 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
62207 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
62208 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
62209 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
62211 if test $ac_cv_func_alloca_works = yes; then
62213 @@ -6136,15 +6780,15 @@ else
62214 # contain a buggy version. If you still want to use their alloca,
62215 # use ar to extract alloca.o from them instead of compiling alloca.c.
62217 -ALLOCA=alloca.$ac_objext
62218 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
62220 cat >>confdefs.h <<\_ACEOF
62225 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
62226 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
62227 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
62228 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
62229 if test "${ac_cv_os_cray+set}" = set; then
62230 echo $ECHO_N "(cached) $ECHO_C" >&6
62232 @@ -6154,7 +6798,7 @@ _ACEOF
62233 cat confdefs.h >>conftest.$ac_ext
62234 cat >>conftest.$ac_ext <<_ACEOF
62235 /* end confdefs.h. */
62236 -#if defined(CRAY) && ! defined(CRAY2)
62237 +#if defined CRAY && ! defined CRAY2
62241 @@ -6170,14 +6814,14 @@ fi
62245 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
62246 -echo "${ECHO_T}$ac_cv_os_cray" >&6
62247 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
62248 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
62249 if test $ac_cv_os_cray = yes; then
62250 for ac_func in _getb67 GETB67 getb67; do
62251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62252 -echo "$as_me:$LINENO: checking for $ac_func" >&5
62253 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62254 -if eval "test \"\${$as_ac_var+set}\" = set"; then
62255 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
62256 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62257 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62258 echo $ECHO_N "(cached) $ECHO_C" >&6
62260 cat >conftest.$ac_ext <<_ACEOF
62261 @@ -6203,68 +6847,60 @@ cat >>conftest.$ac_ext <<_ACEOF
62265 -/* Override any gcc2 internal prototype to avoid an error. */
62266 +/* Override any GCC internal prototype to avoid an error.
62267 + Use char because int might match the return type of a GCC
62268 + builtin and then its argument prototype would still apply. */
62273 -/* We use char because int might match the return type of a gcc2
62274 - builtin and then its argument prototype would still apply. */
62276 /* The GNU C library defines this for functions which it implements
62277 to always fail with ENOSYS. Some functions are actually named
62278 something starting with __ and the normal name is an alias. */
62279 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62280 +#if defined __stub_$ac_func || defined __stub___$ac_func
62283 -char (*f) () = $ac_func;
62285 -#ifdef __cplusplus
62292 -return f != $ac_func;
62293 +return $ac_func ();
62298 rm -f conftest.$ac_objext conftest$ac_exeext
62299 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62300 - (eval $ac_link) 2>conftest.er1
62301 +if { (ac_try="$ac_link"
62302 +case "(($ac_try" in
62303 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62304 + *) ac_try_echo=$ac_try;;
62306 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62307 + (eval "$ac_link") 2>conftest.er1
62309 grep -v '^ *+' conftest.er1 >conftest.err
62311 cat conftest.err >&5
62312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62313 - (exit $ac_status); } &&
62314 - { ac_try='test -z "$ac_c_werror_flag"
62315 - || test ! -s conftest.err'
62316 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62317 - (eval $ac_try) 2>&5
62319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62320 - (exit $ac_status); }; } &&
62321 - { ac_try='test -s conftest$ac_exeext'
62322 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62323 - (eval $ac_try) 2>&5
62325 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62326 - (exit $ac_status); }; }; then
62327 + (exit $ac_status); } && {
62328 + test -z "$ac_c_werror_flag" ||
62329 + test ! -s conftest.err
62330 + } && test -s conftest$ac_exeext &&
62331 + $as_test_x conftest$ac_exeext; then
62332 eval "$as_ac_var=yes"
62334 echo "$as_me: failed program was:" >&5
62335 sed 's/^/| /' conftest.$ac_ext >&5
62337 -eval "$as_ac_var=no"
62338 + eval "$as_ac_var=no"
62340 -rm -f conftest.err conftest.$ac_objext \
62342 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62343 conftest$ac_exeext conftest.$ac_ext
62345 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62346 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62347 +ac_res=`eval echo '${'$as_ac_var'}'`
62348 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62349 +echo "${ECHO_T}$ac_res" >&6; }
62350 if test `eval echo '${'$as_ac_var'}'` = yes; then
62352 cat >>confdefs.h <<_ACEOF
62353 @@ -6277,8 +6913,8 @@ fi
62357 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
62358 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
62359 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
62360 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
62361 if test "${ac_cv_c_stack_direction+set}" = set; then
62362 echo $ECHO_N "(cached) $ECHO_C" >&6
62364 @@ -6291,6 +6927,7 @@ _ACEOF
62365 cat confdefs.h >>conftest.$ac_ext
62366 cat >>conftest.$ac_ext <<_ACEOF
62367 /* end confdefs.h. */
62368 +$ac_includes_default
62370 find_stack_direction ()
62372 @@ -6308,17 +6945,26 @@ find_stack_direction ()
62376 - exit (find_stack_direction () < 0);
62377 + return find_stack_direction () < 0;
62380 rm -f conftest$ac_exeext
62381 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62382 - (eval $ac_link) 2>&5
62383 +if { (ac_try="$ac_link"
62384 +case "(($ac_try" in
62385 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62386 + *) ac_try_echo=$ac_try;;
62388 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62389 + (eval "$ac_link") 2>&5
62391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
62393 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62394 - (eval $ac_try) 2>&5
62395 + { (case "(($ac_try" in
62396 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62397 + *) ac_try_echo=$ac_try;;
62399 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62400 + (eval "$ac_try") 2>&5
62402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62403 (exit $ac_status); }; }; then
62404 @@ -6331,11 +6977,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
62405 ( exit $ac_status )
62406 ac_cv_c_stack_direction=-1
62408 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62409 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62414 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
62415 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
62416 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
62417 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
62419 cat >>confdefs.h <<_ACEOF
62420 #define STACK_DIRECTION $ac_cv_c_stack_direction
62421 @@ -6349,18 +6997,19 @@ fi
62422 for ac_header in stdlib.h unistd.h
62424 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62425 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62426 - echo "$as_me:$LINENO: checking for $ac_header" >&5
62427 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62428 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62429 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62430 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
62431 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62432 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62433 echo $ECHO_N "(cached) $ECHO_C" >&6
62435 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62436 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62437 +ac_res=`eval echo '${'$as_ac_Header'}'`
62438 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62439 +echo "${ECHO_T}$ac_res" >&6; }
62441 # Is the header compilable?
62442 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
62443 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62444 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
62445 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
62446 cat >conftest.$ac_ext <<_ACEOF
62449 @@ -6371,41 +7020,37 @@ $ac_includes_default
62450 #include <$ac_header>
62452 rm -f conftest.$ac_objext
62453 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62454 - (eval $ac_compile) 2>conftest.er1
62455 +if { (ac_try="$ac_compile"
62456 +case "(($ac_try" in
62457 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62458 + *) ac_try_echo=$ac_try;;
62460 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62461 + (eval "$ac_compile") 2>conftest.er1
62463 grep -v '^ *+' conftest.er1 >conftest.err
62465 cat conftest.err >&5
62466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62467 - (exit $ac_status); } &&
62468 - { ac_try='test -z "$ac_c_werror_flag"
62469 - || test ! -s conftest.err'
62470 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62471 - (eval $ac_try) 2>&5
62473 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62474 - (exit $ac_status); }; } &&
62475 - { ac_try='test -s conftest.$ac_objext'
62476 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62477 - (eval $ac_try) 2>&5
62479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480 - (exit $ac_status); }; }; then
62481 + (exit $ac_status); } && {
62482 + test -z "$ac_c_werror_flag" ||
62483 + test ! -s conftest.err
62484 + } && test -s conftest.$ac_objext; then
62485 ac_header_compiler=yes
62487 echo "$as_me: failed program was:" >&5
62488 sed 's/^/| /' conftest.$ac_ext >&5
62490 -ac_header_compiler=no
62491 + ac_header_compiler=no
62493 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62494 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62495 -echo "${ECHO_T}$ac_header_compiler" >&6
62497 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62498 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62499 +echo "${ECHO_T}$ac_header_compiler" >&6; }
62501 # Is the header present?
62502 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
62503 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62504 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
62505 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
62506 cat >conftest.$ac_ext <<_ACEOF
62509 @@ -6414,24 +7059,22 @@ cat >>conftest.$ac_ext <<_ACEOF
62510 /* end confdefs.h. */
62511 #include <$ac_header>
62513 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62514 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62515 +if { (ac_try="$ac_cpp conftest.$ac_ext"
62516 +case "(($ac_try" in
62517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62518 + *) ac_try_echo=$ac_try;;
62520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62521 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
62523 grep -v '^ *+' conftest.er1 >conftest.err
62525 cat conftest.err >&5
62526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62527 - (exit $ac_status); } >/dev/null; then
62528 - if test -s conftest.err; then
62529 - ac_cpp_err=$ac_c_preproc_warn_flag
62530 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62537 -if test -z "$ac_cpp_err"; then
62538 + (exit $ac_status); } >/dev/null && {
62539 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
62540 + test ! -s conftest.err
62542 ac_header_preproc=yes
62544 echo "$as_me: failed program was:" >&5
62545 @@ -6439,9 +7082,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
62547 ac_header_preproc=no
62550 rm -f conftest.err conftest.$ac_ext
62551 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62552 -echo "${ECHO_T}$ac_header_preproc" >&6
62553 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62554 +echo "${ECHO_T}$ac_header_preproc" >&6; }
62556 # So? What about this header?
62557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62558 @@ -6465,25 +7109,19 @@ echo "$as_me: WARNING: $ac_header: s
62559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62560 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62561 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62564 -## ------------------------------------------ ##
62565 -## Report this to the AC_PACKAGE_NAME lists. ##
62566 -## ------------------------------------------ ##
62569 - sed "s/^/$as_me: WARNING: /" >&2
62573 -echo "$as_me:$LINENO: checking for $ac_header" >&5
62574 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62575 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62576 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
62577 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62578 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62579 echo $ECHO_N "(cached) $ECHO_C" >&6
62581 eval "$as_ac_Header=\$ac_header_preproc"
62583 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62584 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62585 +ac_res=`eval echo '${'$as_ac_Header'}'`
62586 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62587 +echo "${ECHO_T}$ac_res" >&6; }
62590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62591 @@ -6499,9 +7137,9 @@ done
62592 for ac_func in getpagesize
62594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62595 -echo "$as_me:$LINENO: checking for $ac_func" >&5
62596 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62597 -if eval "test \"\${$as_ac_var+set}\" = set"; then
62598 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
62599 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62600 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62601 echo $ECHO_N "(cached) $ECHO_C" >&6
62603 cat >conftest.$ac_ext <<_ACEOF
62604 @@ -6527,68 +7165,60 @@ cat >>conftest.$ac_ext <<_ACEOF
62608 -/* Override any gcc2 internal prototype to avoid an error. */
62609 +/* Override any GCC internal prototype to avoid an error.
62610 + Use char because int might match the return type of a GCC
62611 + builtin and then its argument prototype would still apply. */
62616 -/* We use char because int might match the return type of a gcc2
62617 - builtin and then its argument prototype would still apply. */
62619 /* The GNU C library defines this for functions which it implements
62620 to always fail with ENOSYS. Some functions are actually named
62621 something starting with __ and the normal name is an alias. */
62622 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62623 +#if defined __stub_$ac_func || defined __stub___$ac_func
62626 -char (*f) () = $ac_func;
62628 -#ifdef __cplusplus
62635 -return f != $ac_func;
62636 +return $ac_func ();
62641 rm -f conftest.$ac_objext conftest$ac_exeext
62642 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62643 - (eval $ac_link) 2>conftest.er1
62644 +if { (ac_try="$ac_link"
62645 +case "(($ac_try" in
62646 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62647 + *) ac_try_echo=$ac_try;;
62649 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62650 + (eval "$ac_link") 2>conftest.er1
62652 grep -v '^ *+' conftest.er1 >conftest.err
62654 cat conftest.err >&5
62655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62656 - (exit $ac_status); } &&
62657 - { ac_try='test -z "$ac_c_werror_flag"
62658 - || test ! -s conftest.err'
62659 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62660 - (eval $ac_try) 2>&5
62662 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62663 - (exit $ac_status); }; } &&
62664 - { ac_try='test -s conftest$ac_exeext'
62665 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62666 - (eval $ac_try) 2>&5
62668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62669 - (exit $ac_status); }; }; then
62670 + (exit $ac_status); } && {
62671 + test -z "$ac_c_werror_flag" ||
62672 + test ! -s conftest.err
62673 + } && test -s conftest$ac_exeext &&
62674 + $as_test_x conftest$ac_exeext; then
62675 eval "$as_ac_var=yes"
62677 echo "$as_me: failed program was:" >&5
62678 sed 's/^/| /' conftest.$ac_ext >&5
62680 -eval "$as_ac_var=no"
62681 + eval "$as_ac_var=no"
62683 -rm -f conftest.err conftest.$ac_objext \
62685 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62686 conftest$ac_exeext conftest.$ac_ext
62688 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62689 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62690 +ac_res=`eval echo '${'$as_ac_var'}'`
62691 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62692 +echo "${ECHO_T}$ac_res" >&6; }
62693 if test `eval echo '${'$as_ac_var'}'` = yes; then
62694 cat >>confdefs.h <<_ACEOF
62695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62696 @@ -6597,8 +7227,8 @@ _ACEOF
62700 -echo "$as_me:$LINENO: checking for working mmap" >&5
62701 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
62702 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
62703 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
62704 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
62705 echo $ECHO_N "(cached) $ECHO_C" >&6
62707 @@ -6640,21 +7270,21 @@ $ac_includes_default
62709 #include <sys/mman.h>
62711 -#if !STDC_HEADERS && !HAVE_STDLIB_H
62712 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
62716 /* This mess was copied from the GNU getpagesize.h. */
62717 -#if !HAVE_GETPAGESIZE
62718 +#ifndef HAVE_GETPAGESIZE
62719 /* Assume that all systems that can run configure have sys/param.h. */
62720 -# if !HAVE_SYS_PARAM_H
62721 +# ifndef HAVE_SYS_PARAM_H
62722 # define HAVE_SYS_PARAM_H 1
62725 # ifdef _SC_PAGESIZE
62726 # define getpagesize() sysconf(_SC_PAGESIZE)
62727 # else /* no _SC_PAGESIZE */
62728 -# if HAVE_SYS_PARAM_H
62729 +# ifdef HAVE_SYS_PARAM_H
62730 # include <sys/param.h>
62731 # ifdef EXEC_PAGESIZE
62732 # define getpagesize() EXEC_PAGESIZE
62733 @@ -6693,15 +7323,15 @@ main ()
62734 /* First, make a file with some known garbage in it. */
62735 data = (char *) malloc (pagesize);
62739 for (i = 0; i < pagesize; ++i)
62740 *(data + i) = rand ();
62742 fd = creat ("conftest.mmap", 0600);
62746 if (write (fd, data, pagesize) != pagesize)
62751 /* Next, try to mmap the file at a fixed address which already has
62752 @@ -6709,17 +7339,17 @@ main ()
62753 we see the same garbage. */
62754 fd = open ("conftest.mmap", O_RDWR);
62758 data2 = (char *) malloc (2 * pagesize);
62761 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
62763 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
62764 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
62765 MAP_PRIVATE | MAP_FIXED, fd, 0L))
62768 for (i = 0; i < pagesize; ++i)
62769 if (*(data + i) != *(data2 + i))
62773 /* Finally, make sure that changes to the mapped area do not
62774 percolate back to the file as seen by read(). (This is a bug on
62775 @@ -6728,24 +7358,33 @@ main ()
62776 *(data2 + i) = *(data2 + i) + 1;
62777 data3 = (char *) malloc (pagesize);
62781 if (read (fd, data3, pagesize) != pagesize)
62784 for (i = 0; i < pagesize; ++i)
62785 if (*(data + i) != *(data3 + i))
62793 rm -f conftest$ac_exeext
62794 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62795 - (eval $ac_link) 2>&5
62796 +if { (ac_try="$ac_link"
62797 +case "(($ac_try" in
62798 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62799 + *) ac_try_echo=$ac_try;;
62801 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62802 + (eval "$ac_link") 2>&5
62804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
62806 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62807 - (eval $ac_try) 2>&5
62808 + { (case "(($ac_try" in
62809 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62810 + *) ac_try_echo=$ac_try;;
62812 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62813 + (eval "$ac_try") 2>&5
62815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62816 (exit $ac_status); }; }; then
62817 @@ -6758,11 +7397,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
62818 ( exit $ac_status )
62819 ac_cv_func_mmap_fixed_mapped=no
62821 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62822 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62827 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
62828 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
62829 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
62830 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
62831 if test $ac_cv_func_mmap_fixed_mapped = yes; then
62833 cat >>confdefs.h <<\_ACEOF
62834 @@ -6786,18 +7427,19 @@ for ac_header in argz.h limits.h locale.
62835 unistd.h values.h sys/param.h
62837 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62838 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62839 - echo "$as_me:$LINENO: checking for $ac_header" >&5
62840 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62841 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62842 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62843 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
62844 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62845 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62846 echo $ECHO_N "(cached) $ECHO_C" >&6
62848 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62849 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62850 +ac_res=`eval echo '${'$as_ac_Header'}'`
62851 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62852 +echo "${ECHO_T}$ac_res" >&6; }
62854 # Is the header compilable?
62855 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
62856 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62857 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
62858 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
62859 cat >conftest.$ac_ext <<_ACEOF
62862 @@ -6808,41 +7450,37 @@ $ac_includes_default
62863 #include <$ac_header>
62865 rm -f conftest.$ac_objext
62866 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62867 - (eval $ac_compile) 2>conftest.er1
62868 +if { (ac_try="$ac_compile"
62869 +case "(($ac_try" in
62870 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62871 + *) ac_try_echo=$ac_try;;
62873 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62874 + (eval "$ac_compile") 2>conftest.er1
62876 grep -v '^ *+' conftest.er1 >conftest.err
62878 cat conftest.err >&5
62879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62880 - (exit $ac_status); } &&
62881 - { ac_try='test -z "$ac_c_werror_flag"
62882 - || test ! -s conftest.err'
62883 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62884 - (eval $ac_try) 2>&5
62886 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62887 - (exit $ac_status); }; } &&
62888 - { ac_try='test -s conftest.$ac_objext'
62889 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62890 - (eval $ac_try) 2>&5
62892 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62893 - (exit $ac_status); }; }; then
62894 + (exit $ac_status); } && {
62895 + test -z "$ac_c_werror_flag" ||
62896 + test ! -s conftest.err
62897 + } && test -s conftest.$ac_objext; then
62898 ac_header_compiler=yes
62900 echo "$as_me: failed program was:" >&5
62901 sed 's/^/| /' conftest.$ac_ext >&5
62903 -ac_header_compiler=no
62904 + ac_header_compiler=no
62906 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62907 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62908 -echo "${ECHO_T}$ac_header_compiler" >&6
62910 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62911 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62912 +echo "${ECHO_T}$ac_header_compiler" >&6; }
62914 # Is the header present?
62915 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
62916 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62917 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
62918 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
62919 cat >conftest.$ac_ext <<_ACEOF
62922 @@ -6851,24 +7489,22 @@ cat >>conftest.$ac_ext <<_ACEOF
62923 /* end confdefs.h. */
62924 #include <$ac_header>
62926 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62927 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62928 +if { (ac_try="$ac_cpp conftest.$ac_ext"
62929 +case "(($ac_try" in
62930 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62931 + *) ac_try_echo=$ac_try;;
62933 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62934 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
62936 grep -v '^ *+' conftest.er1 >conftest.err
62938 cat conftest.err >&5
62939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940 - (exit $ac_status); } >/dev/null; then
62941 - if test -s conftest.err; then
62942 - ac_cpp_err=$ac_c_preproc_warn_flag
62943 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62950 -if test -z "$ac_cpp_err"; then
62951 + (exit $ac_status); } >/dev/null && {
62952 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
62953 + test ! -s conftest.err
62955 ac_header_preproc=yes
62957 echo "$as_me: failed program was:" >&5
62958 @@ -6876,9 +7512,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
62960 ac_header_preproc=no
62963 rm -f conftest.err conftest.$ac_ext
62964 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62965 -echo "${ECHO_T}$ac_header_preproc" >&6
62966 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62967 +echo "${ECHO_T}$ac_header_preproc" >&6; }
62969 # So? What about this header?
62970 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62971 @@ -6902,25 +7539,19 @@ echo "$as_me: WARNING: $ac_header: s
62972 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62973 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62974 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62977 -## ------------------------------------------ ##
62978 -## Report this to the AC_PACKAGE_NAME lists. ##
62979 -## ------------------------------------------ ##
62982 - sed "s/^/$as_me: WARNING: /" >&2
62986 -echo "$as_me:$LINENO: checking for $ac_header" >&5
62987 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62988 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62989 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
62990 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62991 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62992 echo $ECHO_N "(cached) $ECHO_C" >&6
62994 eval "$as_ac_Header=\$ac_header_preproc"
62996 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62997 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62998 +ac_res=`eval echo '${'$as_ac_Header'}'`
62999 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63000 +echo "${ECHO_T}$ac_res" >&6; }
63003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63004 @@ -6946,9 +7577,9 @@ for ac_func in getcwd munmap putenv sete
63005 __argz_count __argz_stringify __argz_next
63007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63008 -echo "$as_me:$LINENO: checking for $ac_func" >&5
63009 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63010 -if eval "test \"\${$as_ac_var+set}\" = set"; then
63011 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
63012 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63013 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63014 echo $ECHO_N "(cached) $ECHO_C" >&6
63016 cat >conftest.$ac_ext <<_ACEOF
63017 @@ -6974,68 +7605,60 @@ cat >>conftest.$ac_ext <<_ACEOF
63021 -/* Override any gcc2 internal prototype to avoid an error. */
63022 +/* Override any GCC internal prototype to avoid an error.
63023 + Use char because int might match the return type of a GCC
63024 + builtin and then its argument prototype would still apply. */
63029 -/* We use char because int might match the return type of a gcc2
63030 - builtin and then its argument prototype would still apply. */
63032 /* The GNU C library defines this for functions which it implements
63033 to always fail with ENOSYS. Some functions are actually named
63034 something starting with __ and the normal name is an alias. */
63035 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63036 +#if defined __stub_$ac_func || defined __stub___$ac_func
63039 -char (*f) () = $ac_func;
63041 -#ifdef __cplusplus
63048 -return f != $ac_func;
63049 +return $ac_func ();
63054 rm -f conftest.$ac_objext conftest$ac_exeext
63055 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63056 - (eval $ac_link) 2>conftest.er1
63057 +if { (ac_try="$ac_link"
63058 +case "(($ac_try" in
63059 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63060 + *) ac_try_echo=$ac_try;;
63062 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63063 + (eval "$ac_link") 2>conftest.er1
63065 grep -v '^ *+' conftest.er1 >conftest.err
63067 cat conftest.err >&5
63068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63069 - (exit $ac_status); } &&
63070 - { ac_try='test -z "$ac_c_werror_flag"
63071 - || test ! -s conftest.err'
63072 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63073 - (eval $ac_try) 2>&5
63075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63076 - (exit $ac_status); }; } &&
63077 - { ac_try='test -s conftest$ac_exeext'
63078 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63079 - (eval $ac_try) 2>&5
63081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 - (exit $ac_status); }; }; then
63083 + (exit $ac_status); } && {
63084 + test -z "$ac_c_werror_flag" ||
63085 + test ! -s conftest.err
63086 + } && test -s conftest$ac_exeext &&
63087 + $as_test_x conftest$ac_exeext; then
63088 eval "$as_ac_var=yes"
63090 echo "$as_me: failed program was:" >&5
63091 sed 's/^/| /' conftest.$ac_ext >&5
63093 -eval "$as_ac_var=no"
63094 + eval "$as_ac_var=no"
63096 -rm -f conftest.err conftest.$ac_objext \
63098 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63099 conftest$ac_exeext conftest.$ac_ext
63101 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63102 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63103 +ac_res=`eval echo '${'$as_ac_var'}'`
63104 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63105 +echo "${ECHO_T}$ac_res" >&6; }
63106 if test `eval echo '${'$as_ac_var'}'` = yes; then
63107 cat >>confdefs.h <<_ACEOF
63108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63109 @@ -7050,9 +7673,9 @@ done
63110 for ac_func in stpcpy
63112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63113 -echo "$as_me:$LINENO: checking for $ac_func" >&5
63114 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63115 -if eval "test \"\${$as_ac_var+set}\" = set"; then
63116 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
63117 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63118 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63119 echo $ECHO_N "(cached) $ECHO_C" >&6
63121 cat >conftest.$ac_ext <<_ACEOF
63122 @@ -7078,68 +7701,60 @@ cat >>conftest.$ac_ext <<_ACEOF
63126 -/* Override any gcc2 internal prototype to avoid an error. */
63127 +/* Override any GCC internal prototype to avoid an error.
63128 + Use char because int might match the return type of a GCC
63129 + builtin and then its argument prototype would still apply. */
63134 -/* We use char because int might match the return type of a gcc2
63135 - builtin and then its argument prototype would still apply. */
63137 /* The GNU C library defines this for functions which it implements
63138 to always fail with ENOSYS. Some functions are actually named
63139 something starting with __ and the normal name is an alias. */
63140 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63141 +#if defined __stub_$ac_func || defined __stub___$ac_func
63144 -char (*f) () = $ac_func;
63146 -#ifdef __cplusplus
63153 -return f != $ac_func;
63154 +return $ac_func ();
63159 rm -f conftest.$ac_objext conftest$ac_exeext
63160 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63161 - (eval $ac_link) 2>conftest.er1
63162 +if { (ac_try="$ac_link"
63163 +case "(($ac_try" in
63164 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63165 + *) ac_try_echo=$ac_try;;
63167 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63168 + (eval "$ac_link") 2>conftest.er1
63170 grep -v '^ *+' conftest.er1 >conftest.err
63172 cat conftest.err >&5
63173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63174 - (exit $ac_status); } &&
63175 - { ac_try='test -z "$ac_c_werror_flag"
63176 - || test ! -s conftest.err'
63177 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63178 - (eval $ac_try) 2>&5
63180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63181 - (exit $ac_status); }; } &&
63182 - { ac_try='test -s conftest$ac_exeext'
63183 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63184 - (eval $ac_try) 2>&5
63186 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63187 - (exit $ac_status); }; }; then
63188 + (exit $ac_status); } && {
63189 + test -z "$ac_c_werror_flag" ||
63190 + test ! -s conftest.err
63191 + } && test -s conftest$ac_exeext &&
63192 + $as_test_x conftest$ac_exeext; then
63193 eval "$as_ac_var=yes"
63195 echo "$as_me: failed program was:" >&5
63196 sed 's/^/| /' conftest.$ac_ext >&5
63198 -eval "$as_ac_var=no"
63199 + eval "$as_ac_var=no"
63201 -rm -f conftest.err conftest.$ac_objext \
63203 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63204 conftest$ac_exeext conftest.$ac_ext
63206 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63207 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63208 +ac_res=`eval echo '${'$as_ac_var'}'`
63209 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63210 +echo "${ECHO_T}$ac_res" >&6; }
63211 if test `eval echo '${'$as_ac_var'}'` = yes; then
63212 cat >>confdefs.h <<_ACEOF
63213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63214 @@ -7158,8 +7773,8 @@ _ACEOF
63217 if test $ac_cv_header_locale_h = yes; then
63218 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
63219 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
63220 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
63221 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
63222 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
63223 echo $ECHO_N "(cached) $ECHO_C" >&6
63225 @@ -7179,39 +7794,36 @@ return LC_MESSAGES
63228 rm -f conftest.$ac_objext conftest$ac_exeext
63229 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63230 - (eval $ac_link) 2>conftest.er1
63231 +if { (ac_try="$ac_link"
63232 +case "(($ac_try" in
63233 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63234 + *) ac_try_echo=$ac_try;;
63236 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63237 + (eval "$ac_link") 2>conftest.er1
63239 grep -v '^ *+' conftest.er1 >conftest.err
63241 cat conftest.err >&5
63242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63243 - (exit $ac_status); } &&
63244 - { ac_try='test -z "$ac_c_werror_flag"
63245 - || test ! -s conftest.err'
63246 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63247 - (eval $ac_try) 2>&5
63249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63250 - (exit $ac_status); }; } &&
63251 - { ac_try='test -s conftest$ac_exeext'
63252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63253 - (eval $ac_try) 2>&5
63255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63256 - (exit $ac_status); }; }; then
63257 + (exit $ac_status); } && {
63258 + test -z "$ac_c_werror_flag" ||
63259 + test ! -s conftest.err
63260 + } && test -s conftest$ac_exeext &&
63261 + $as_test_x conftest$ac_exeext; then
63262 am_cv_val_LC_MESSAGES=yes
63264 echo "$as_me: failed program was:" >&5
63265 sed 's/^/| /' conftest.$ac_ext >&5
63267 -am_cv_val_LC_MESSAGES=no
63268 + am_cv_val_LC_MESSAGES=no
63270 -rm -f conftest.err conftest.$ac_objext \
63272 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63273 conftest$ac_exeext conftest.$ac_ext
63275 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
63276 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
63277 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
63278 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
63279 if test $am_cv_val_LC_MESSAGES = yes; then
63281 cat >>confdefs.h <<\_ACEOF
63282 @@ -7220,34 +7832,34 @@ _ACEOF
63286 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
63287 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
63288 - # Check whether --enable-nls or --disable-nls was given.
63289 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
63290 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
63291 + # Check whether --enable-nls was given.
63292 if test "${enable_nls+set}" = set; then
63293 - enableval="$enable_nls"
63294 - USE_NLS=$enableval
63295 + enableval=$enable_nls; USE_NLS=$enableval
63299 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
63300 -echo "${ECHO_T}$USE_NLS" >&6
63303 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
63304 +echo "${ECHO_T}$USE_NLS" >&6; }
63307 USE_INCLUDED_LIBINTL=no
63309 if test "$USE_NLS" = "yes"; then
63310 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
63311 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
63312 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
63313 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
63315 -# Check whether --with-included-gettext or --without-included-gettext was given.
63316 +# Check whether --with-included-gettext was given.
63317 if test "${with_included_gettext+set}" = set; then
63318 - withval="$with_included_gettext"
63319 - nls_cv_force_use_gnu_gettext=$withval
63320 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
63322 nls_cv_force_use_gnu_gettext=no
63324 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
63325 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
63328 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
63329 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
63331 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
63332 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
63333 @@ -7256,17 +7868,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
63336 if test "${ac_cv_header_libintl_h+set}" = set; then
63337 - echo "$as_me:$LINENO: checking for libintl.h" >&5
63338 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
63339 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
63340 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
63341 if test "${ac_cv_header_libintl_h+set}" = set; then
63342 echo $ECHO_N "(cached) $ECHO_C" >&6
63344 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63345 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
63346 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63347 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
63349 # Is the header compilable?
63350 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
63351 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
63352 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
63353 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
63354 cat >conftest.$ac_ext <<_ACEOF
63357 @@ -7277,41 +7889,37 @@ $ac_includes_default
63358 #include <libintl.h>
63360 rm -f conftest.$ac_objext
63361 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63362 - (eval $ac_compile) 2>conftest.er1
63363 +if { (ac_try="$ac_compile"
63364 +case "(($ac_try" in
63365 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63366 + *) ac_try_echo=$ac_try;;
63368 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63369 + (eval "$ac_compile") 2>conftest.er1
63371 grep -v '^ *+' conftest.er1 >conftest.err
63373 cat conftest.err >&5
63374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63375 - (exit $ac_status); } &&
63376 - { ac_try='test -z "$ac_c_werror_flag"
63377 - || test ! -s conftest.err'
63378 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63379 - (eval $ac_try) 2>&5
63381 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63382 - (exit $ac_status); }; } &&
63383 - { ac_try='test -s conftest.$ac_objext'
63384 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63385 - (eval $ac_try) 2>&5
63387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63388 - (exit $ac_status); }; }; then
63389 + (exit $ac_status); } && {
63390 + test -z "$ac_c_werror_flag" ||
63391 + test ! -s conftest.err
63392 + } && test -s conftest.$ac_objext; then
63393 ac_header_compiler=yes
63395 echo "$as_me: failed program was:" >&5
63396 sed 's/^/| /' conftest.$ac_ext >&5
63398 -ac_header_compiler=no
63399 + ac_header_compiler=no
63401 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63402 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63403 -echo "${ECHO_T}$ac_header_compiler" >&6
63405 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63406 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63407 +echo "${ECHO_T}$ac_header_compiler" >&6; }
63409 # Is the header present?
63410 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
63411 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
63412 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
63413 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
63414 cat >conftest.$ac_ext <<_ACEOF
63417 @@ -7320,24 +7928,22 @@ cat >>conftest.$ac_ext <<_ACEOF
63418 /* end confdefs.h. */
63419 #include <libintl.h>
63421 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63422 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63423 +if { (ac_try="$ac_cpp conftest.$ac_ext"
63424 +case "(($ac_try" in
63425 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63426 + *) ac_try_echo=$ac_try;;
63428 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63429 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
63431 grep -v '^ *+' conftest.er1 >conftest.err
63433 cat conftest.err >&5
63434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63435 - (exit $ac_status); } >/dev/null; then
63436 - if test -s conftest.err; then
63437 - ac_cpp_err=$ac_c_preproc_warn_flag
63438 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63445 -if test -z "$ac_cpp_err"; then
63446 + (exit $ac_status); } >/dev/null && {
63447 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
63448 + test ! -s conftest.err
63450 ac_header_preproc=yes
63452 echo "$as_me: failed program was:" >&5
63453 @@ -7345,9 +7951,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
63455 ac_header_preproc=no
63458 rm -f conftest.err conftest.$ac_ext
63459 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63460 -echo "${ECHO_T}$ac_header_preproc" >&6
63461 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63462 +echo "${ECHO_T}$ac_header_preproc" >&6; }
63464 # So? What about this header?
63465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63466 @@ -7371,30 +7978,23 @@ echo "$as_me: WARNING: libintl.h: se
63467 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
63468 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
63469 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
63472 -## ------------------------------------------ ##
63473 -## Report this to the AC_PACKAGE_NAME lists. ##
63474 -## ------------------------------------------ ##
63477 - sed "s/^/$as_me: WARNING: /" >&2
63481 -echo "$as_me:$LINENO: checking for libintl.h" >&5
63482 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
63483 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
63484 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
63485 if test "${ac_cv_header_libintl_h+set}" = set; then
63486 echo $ECHO_N "(cached) $ECHO_C" >&6
63488 ac_cv_header_libintl_h=$ac_header_preproc
63490 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63491 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
63492 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63493 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
63496 if test $ac_cv_header_libintl_h = yes; then
63497 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
63498 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
63499 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
63500 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
63501 if test "${gt_cv_func_gettext_libc+set}" = set; then
63502 echo $ECHO_N "(cached) $ECHO_C" >&6
63504 @@ -7414,43 +8014,40 @@ return (int) gettext ("")
63507 rm -f conftest.$ac_objext conftest$ac_exeext
63508 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63509 - (eval $ac_link) 2>conftest.er1
63510 +if { (ac_try="$ac_link"
63511 +case "(($ac_try" in
63512 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63513 + *) ac_try_echo=$ac_try;;
63515 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63516 + (eval "$ac_link") 2>conftest.er1
63518 grep -v '^ *+' conftest.er1 >conftest.err
63520 cat conftest.err >&5
63521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63522 - (exit $ac_status); } &&
63523 - { ac_try='test -z "$ac_c_werror_flag"
63524 - || test ! -s conftest.err'
63525 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63526 - (eval $ac_try) 2>&5
63528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63529 - (exit $ac_status); }; } &&
63530 - { ac_try='test -s conftest$ac_exeext'
63531 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63532 - (eval $ac_try) 2>&5
63534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535 - (exit $ac_status); }; }; then
63536 + (exit $ac_status); } && {
63537 + test -z "$ac_c_werror_flag" ||
63538 + test ! -s conftest.err
63539 + } && test -s conftest$ac_exeext &&
63540 + $as_test_x conftest$ac_exeext; then
63541 gt_cv_func_gettext_libc=yes
63543 echo "$as_me: failed program was:" >&5
63544 sed 's/^/| /' conftest.$ac_ext >&5
63546 -gt_cv_func_gettext_libc=no
63547 + gt_cv_func_gettext_libc=no
63549 -rm -f conftest.err conftest.$ac_objext \
63551 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63552 conftest$ac_exeext conftest.$ac_ext
63554 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
63555 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
63556 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
63557 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
63559 if test "$gt_cv_func_gettext_libc" != "yes"; then
63560 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
63561 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
63562 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
63563 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
63564 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
63565 echo $ECHO_N "(cached) $ECHO_C" >&6
63567 @@ -7463,59 +8060,56 @@ cat confdefs.h >>conftest.$ac_ext
63568 cat >>conftest.$ac_ext <<_ACEOF
63569 /* end confdefs.h. */
63571 -/* Override any gcc2 internal prototype to avoid an error. */
63572 +/* Override any GCC internal prototype to avoid an error.
63573 + Use char because int might match the return type of a GCC
63574 + builtin and then its argument prototype would still apply. */
63578 -/* We use char because int might match the return type of a gcc2
63579 - builtin and then its argument prototype would still apply. */
63580 char bindtextdomain ();
63584 -bindtextdomain ();
63585 +return bindtextdomain ();
63590 rm -f conftest.$ac_objext conftest$ac_exeext
63591 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63592 - (eval $ac_link) 2>conftest.er1
63593 +if { (ac_try="$ac_link"
63594 +case "(($ac_try" in
63595 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63596 + *) ac_try_echo=$ac_try;;
63598 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63599 + (eval "$ac_link") 2>conftest.er1
63601 grep -v '^ *+' conftest.er1 >conftest.err
63603 cat conftest.err >&5
63604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63605 - (exit $ac_status); } &&
63606 - { ac_try='test -z "$ac_c_werror_flag"
63607 - || test ! -s conftest.err'
63608 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63609 - (eval $ac_try) 2>&5
63611 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612 - (exit $ac_status); }; } &&
63613 - { ac_try='test -s conftest$ac_exeext'
63614 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63615 - (eval $ac_try) 2>&5
63617 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63618 - (exit $ac_status); }; }; then
63619 + (exit $ac_status); } && {
63620 + test -z "$ac_c_werror_flag" ||
63621 + test ! -s conftest.err
63622 + } && test -s conftest$ac_exeext &&
63623 + $as_test_x conftest$ac_exeext; then
63624 ac_cv_lib_intl_bindtextdomain=yes
63626 echo "$as_me: failed program was:" >&5
63627 sed 's/^/| /' conftest.$ac_ext >&5
63629 -ac_cv_lib_intl_bindtextdomain=no
63630 + ac_cv_lib_intl_bindtextdomain=no
63632 -rm -f conftest.err conftest.$ac_objext \
63634 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63635 conftest$ac_exeext conftest.$ac_ext
63636 LIBS=$ac_check_lib_save_LIBS
63638 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
63639 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
63640 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
63641 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
63642 if test $ac_cv_lib_intl_bindtextdomain = yes; then
63643 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
63644 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
63645 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
63646 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
63647 if test "${gt_cv_func_gettext_libintl+set}" = set; then
63648 echo $ECHO_N "(cached) $ECHO_C" >&6
63650 @@ -7535,39 +8129,36 @@ return (int) gettext ("")
63653 rm -f conftest.$ac_objext conftest$ac_exeext
63654 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63655 - (eval $ac_link) 2>conftest.er1
63656 +if { (ac_try="$ac_link"
63657 +case "(($ac_try" in
63658 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63659 + *) ac_try_echo=$ac_try;;
63661 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63662 + (eval "$ac_link") 2>conftest.er1
63664 grep -v '^ *+' conftest.er1 >conftest.err
63666 cat conftest.err >&5
63667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63668 - (exit $ac_status); } &&
63669 - { ac_try='test -z "$ac_c_werror_flag"
63670 - || test ! -s conftest.err'
63671 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63672 - (eval $ac_try) 2>&5
63674 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63675 - (exit $ac_status); }; } &&
63676 - { ac_try='test -s conftest$ac_exeext'
63677 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63678 - (eval $ac_try) 2>&5
63680 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63681 - (exit $ac_status); }; }; then
63682 + (exit $ac_status); } && {
63683 + test -z "$ac_c_werror_flag" ||
63684 + test ! -s conftest.err
63685 + } && test -s conftest$ac_exeext &&
63686 + $as_test_x conftest$ac_exeext; then
63687 gt_cv_func_gettext_libintl=yes
63689 echo "$as_me: failed program was:" >&5
63690 sed 's/^/| /' conftest.$ac_ext >&5
63692 -gt_cv_func_gettext_libintl=no
63693 + gt_cv_func_gettext_libintl=no
63695 -rm -f conftest.err conftest.$ac_objext \
63697 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63698 conftest$ac_exeext conftest.$ac_ext
63700 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
63701 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
63702 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
63703 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
63707 @@ -7581,8 +8172,8 @@ _ACEOF
63709 # Extract the first word of "msgfmt", so it can be a program name with args.
63710 set dummy msgfmt; ac_word=$2
63711 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63712 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63713 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63714 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63715 if test "${ac_cv_path_MSGFMT+set}" = set; then
63716 echo $ECHO_N "(cached) $ECHO_C" >&6
63718 @@ -7608,20 +8199,20 @@ esac
63720 MSGFMT="$ac_cv_path_MSGFMT"
63721 if test -n "$MSGFMT"; then
63722 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
63723 -echo "${ECHO_T}$MSGFMT" >&6
63724 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
63725 +echo "${ECHO_T}$MSGFMT" >&6; }
63727 - echo "$as_me:$LINENO: result: no" >&5
63728 -echo "${ECHO_T}no" >&6
63729 + { echo "$as_me:$LINENO: result: no" >&5
63730 +echo "${ECHO_T}no" >&6; }
63732 if test "$MSGFMT" != "no"; then
63734 for ac_func in dcgettext
63736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63737 -echo "$as_me:$LINENO: checking for $ac_func" >&5
63738 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63739 -if eval "test \"\${$as_ac_var+set}\" = set"; then
63740 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
63741 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63742 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63743 echo $ECHO_N "(cached) $ECHO_C" >&6
63745 cat >conftest.$ac_ext <<_ACEOF
63746 @@ -7647,68 +8238,60 @@ cat >>conftest.$ac_ext <<_ACEOF
63750 -/* Override any gcc2 internal prototype to avoid an error. */
63751 +/* Override any GCC internal prototype to avoid an error.
63752 + Use char because int might match the return type of a GCC
63753 + builtin and then its argument prototype would still apply. */
63758 -/* We use char because int might match the return type of a gcc2
63759 - builtin and then its argument prototype would still apply. */
63761 /* The GNU C library defines this for functions which it implements
63762 to always fail with ENOSYS. Some functions are actually named
63763 something starting with __ and the normal name is an alias. */
63764 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63765 +#if defined __stub_$ac_func || defined __stub___$ac_func
63768 -char (*f) () = $ac_func;
63770 -#ifdef __cplusplus
63777 -return f != $ac_func;
63778 +return $ac_func ();
63783 rm -f conftest.$ac_objext conftest$ac_exeext
63784 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63785 - (eval $ac_link) 2>conftest.er1
63786 +if { (ac_try="$ac_link"
63787 +case "(($ac_try" in
63788 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63789 + *) ac_try_echo=$ac_try;;
63791 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63792 + (eval "$ac_link") 2>conftest.er1
63794 grep -v '^ *+' conftest.er1 >conftest.err
63796 cat conftest.err >&5
63797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63798 - (exit $ac_status); } &&
63799 - { ac_try='test -z "$ac_c_werror_flag"
63800 - || test ! -s conftest.err'
63801 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63802 - (eval $ac_try) 2>&5
63804 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63805 - (exit $ac_status); }; } &&
63806 - { ac_try='test -s conftest$ac_exeext'
63807 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63808 - (eval $ac_try) 2>&5
63810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63811 - (exit $ac_status); }; }; then
63812 + (exit $ac_status); } && {
63813 + test -z "$ac_c_werror_flag" ||
63814 + test ! -s conftest.err
63815 + } && test -s conftest$ac_exeext &&
63816 + $as_test_x conftest$ac_exeext; then
63817 eval "$as_ac_var=yes"
63819 echo "$as_me: failed program was:" >&5
63820 sed 's/^/| /' conftest.$ac_ext >&5
63822 -eval "$as_ac_var=no"
63823 + eval "$as_ac_var=no"
63825 -rm -f conftest.err conftest.$ac_objext \
63827 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63828 conftest$ac_exeext conftest.$ac_ext
63830 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63831 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63832 +ac_res=`eval echo '${'$as_ac_var'}'`
63833 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63834 +echo "${ECHO_T}$ac_res" >&6; }
63835 if test `eval echo '${'$as_ac_var'}'` = yes; then
63836 cat >>confdefs.h <<_ACEOF
63837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63838 @@ -7719,8 +8302,8 @@ done
63840 # Extract the first word of "gmsgfmt", so it can be a program name with args.
63841 set dummy gmsgfmt; ac_word=$2
63842 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63843 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63844 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63845 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63846 if test "${ac_cv_path_GMSGFMT+set}" = set; then
63847 echo $ECHO_N "(cached) $ECHO_C" >&6
63849 @@ -7735,32 +8318,33 @@ do
63851 test -z "$as_dir" && as_dir=.
63852 for ac_exec_ext in '' $ac_executable_extensions; do
63853 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
63854 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63855 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
63856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
63863 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
63867 GMSGFMT=$ac_cv_path_GMSGFMT
63869 if test -n "$GMSGFMT"; then
63870 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
63871 -echo "${ECHO_T}$GMSGFMT" >&6
63872 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
63873 +echo "${ECHO_T}$GMSGFMT" >&6; }
63875 - echo "$as_me:$LINENO: result: no" >&5
63876 -echo "${ECHO_T}no" >&6
63877 + { echo "$as_me:$LINENO: result: no" >&5
63878 +echo "${ECHO_T}no" >&6; }
63882 # Extract the first word of "xgettext", so it can be a program name with args.
63883 set dummy xgettext; ac_word=$2
63884 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63885 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63886 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63887 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63888 if test "${ac_cv_path_XGETTEXT+set}" = set; then
63889 echo $ECHO_N "(cached) $ECHO_C" >&6
63891 @@ -7786,11 +8370,11 @@ esac
63893 XGETTEXT="$ac_cv_path_XGETTEXT"
63894 if test -n "$XGETTEXT"; then
63895 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
63896 -echo "${ECHO_T}$XGETTEXT" >&6
63897 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
63898 +echo "${ECHO_T}$XGETTEXT" >&6; }
63900 - echo "$as_me:$LINENO: result: no" >&5
63901 -echo "${ECHO_T}no" >&6
63902 + { echo "$as_me:$LINENO: result: no" >&5
63903 +echo "${ECHO_T}no" >&6; }
63906 cat >conftest.$ac_ext <<_ACEOF
63907 @@ -7810,37 +8394,34 @@ extern int _nl_msg_cat_cntr;
63910 rm -f conftest.$ac_objext conftest$ac_exeext
63911 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63912 - (eval $ac_link) 2>conftest.er1
63913 +if { (ac_try="$ac_link"
63914 +case "(($ac_try" in
63915 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63916 + *) ac_try_echo=$ac_try;;
63918 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63919 + (eval "$ac_link") 2>conftest.er1
63921 grep -v '^ *+' conftest.er1 >conftest.err
63923 cat conftest.err >&5
63924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63925 - (exit $ac_status); } &&
63926 - { ac_try='test -z "$ac_c_werror_flag"
63927 - || test ! -s conftest.err'
63928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63929 - (eval $ac_try) 2>&5
63931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63932 - (exit $ac_status); }; } &&
63933 - { ac_try='test -s conftest$ac_exeext'
63934 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63935 - (eval $ac_try) 2>&5
63937 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63938 - (exit $ac_status); }; }; then
63939 + (exit $ac_status); } && {
63940 + test -z "$ac_c_werror_flag" ||
63941 + test ! -s conftest.err
63942 + } && test -s conftest$ac_exeext &&
63943 + $as_test_x conftest$ac_exeext; then
63947 echo "$as_me: failed program was:" >&5
63948 sed 's/^/| /' conftest.$ac_ext >&5
63954 -rm -f conftest.err conftest.$ac_objext \
63956 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63957 conftest$ac_exeext conftest.$ac_ext
63960 @@ -7862,8 +8443,8 @@ fi
63961 INTLOBJS="\$(GETTOBJS)"
63962 # Extract the first word of "msgfmt", so it can be a program name with args.
63963 set dummy msgfmt; ac_word=$2
63964 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63965 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63966 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63967 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63968 if test "${ac_cv_path_MSGFMT+set}" = set; then
63969 echo $ECHO_N "(cached) $ECHO_C" >&6
63971 @@ -7889,17 +8470,17 @@ esac
63973 MSGFMT="$ac_cv_path_MSGFMT"
63974 if test -n "$MSGFMT"; then
63975 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
63976 -echo "${ECHO_T}$MSGFMT" >&6
63977 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
63978 +echo "${ECHO_T}$MSGFMT" >&6; }
63980 - echo "$as_me:$LINENO: result: no" >&5
63981 -echo "${ECHO_T}no" >&6
63982 + { echo "$as_me:$LINENO: result: no" >&5
63983 +echo "${ECHO_T}no" >&6; }
63986 # Extract the first word of "gmsgfmt", so it can be a program name with args.
63987 set dummy gmsgfmt; ac_word=$2
63988 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63989 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63990 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63991 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63992 if test "${ac_cv_path_GMSGFMT+set}" = set; then
63993 echo $ECHO_N "(cached) $ECHO_C" >&6
63995 @@ -7914,32 +8495,33 @@ do
63997 test -z "$as_dir" && as_dir=.
63998 for ac_exec_ext in '' $ac_executable_extensions; do
63999 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
64000 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64001 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
64002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64009 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
64013 GMSGFMT=$ac_cv_path_GMSGFMT
64015 if test -n "$GMSGFMT"; then
64016 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
64017 -echo "${ECHO_T}$GMSGFMT" >&6
64018 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
64019 +echo "${ECHO_T}$GMSGFMT" >&6; }
64021 - echo "$as_me:$LINENO: result: no" >&5
64022 -echo "${ECHO_T}no" >&6
64023 + { echo "$as_me:$LINENO: result: no" >&5
64024 +echo "${ECHO_T}no" >&6; }
64028 # Extract the first word of "xgettext", so it can be a program name with args.
64029 set dummy xgettext; ac_word=$2
64030 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64031 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64032 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64033 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64034 if test "${ac_cv_path_XGETTEXT+set}" = set; then
64035 echo $ECHO_N "(cached) $ECHO_C" >&6
64037 @@ -7965,11 +8547,11 @@ esac
64039 XGETTEXT="$ac_cv_path_XGETTEXT"
64040 if test -n "$XGETTEXT"; then
64041 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
64042 -echo "${ECHO_T}$XGETTEXT" >&6
64043 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
64044 +echo "${ECHO_T}$XGETTEXT" >&6; }
64046 - echo "$as_me:$LINENO: result: no" >&5
64047 -echo "${ECHO_T}no" >&6
64048 + { echo "$as_me:$LINENO: result: no" >&5
64049 +echo "${ECHO_T}no" >&6; }
64053 @@ -7988,8 +8570,8 @@ fi
64054 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
64057 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
64058 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
64059 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
64060 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
64064 @@ -8038,8 +8620,8 @@ _ACEOF
64065 if test "x$ALL_LINGUAS" = "x"; then
64068 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
64069 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
64070 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
64071 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
64073 for lang in ${LINGUAS=$ALL_LINGUAS}; do
64074 case "$ALL_LINGUAS" in
64075 @@ -8047,8 +8629,8 @@ echo $ECHO_N "checking for catalogs to b
64078 LINGUAS=$NEW_LINGUAS
64079 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
64080 -echo "${ECHO_T}$LINGUAS" >&6
64081 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
64082 +echo "${ECHO_T}$LINGUAS" >&6; }
64085 if test -n "$LINGUAS"; then
64086 @@ -8067,17 +8649,17 @@ echo "${ECHO_T}$LINGUAS" >&6
64087 if test -f $srcdir/po2tbl.sed.in; then
64088 if test "$CATOBJEXT" = ".cat"; then
64089 if test "${ac_cv_header_linux_version_h+set}" = set; then
64090 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
64091 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
64092 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
64093 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
64094 if test "${ac_cv_header_linux_version_h+set}" = set; then
64095 echo $ECHO_N "(cached) $ECHO_C" >&6
64097 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64098 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
64099 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64100 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
64102 # Is the header compilable?
64103 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
64104 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
64105 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
64106 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
64107 cat >conftest.$ac_ext <<_ACEOF
64110 @@ -8088,41 +8670,37 @@ $ac_includes_default
64111 #include <linux/version.h>
64113 rm -f conftest.$ac_objext
64114 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64115 - (eval $ac_compile) 2>conftest.er1
64116 +if { (ac_try="$ac_compile"
64117 +case "(($ac_try" in
64118 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64119 + *) ac_try_echo=$ac_try;;
64121 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64122 + (eval "$ac_compile") 2>conftest.er1
64124 grep -v '^ *+' conftest.er1 >conftest.err
64126 cat conftest.err >&5
64127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64128 - (exit $ac_status); } &&
64129 - { ac_try='test -z "$ac_c_werror_flag"
64130 - || test ! -s conftest.err'
64131 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64132 - (eval $ac_try) 2>&5
64134 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64135 - (exit $ac_status); }; } &&
64136 - { ac_try='test -s conftest.$ac_objext'
64137 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64138 - (eval $ac_try) 2>&5
64140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64141 - (exit $ac_status); }; }; then
64142 + (exit $ac_status); } && {
64143 + test -z "$ac_c_werror_flag" ||
64144 + test ! -s conftest.err
64145 + } && test -s conftest.$ac_objext; then
64146 ac_header_compiler=yes
64148 echo "$as_me: failed program was:" >&5
64149 sed 's/^/| /' conftest.$ac_ext >&5
64151 -ac_header_compiler=no
64152 + ac_header_compiler=no
64154 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64155 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64156 -echo "${ECHO_T}$ac_header_compiler" >&6
64158 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64159 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64160 +echo "${ECHO_T}$ac_header_compiler" >&6; }
64162 # Is the header present?
64163 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
64164 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
64165 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
64166 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
64167 cat >conftest.$ac_ext <<_ACEOF
64170 @@ -8131,24 +8709,22 @@ cat >>conftest.$ac_ext <<_ACEOF
64171 /* end confdefs.h. */
64172 #include <linux/version.h>
64174 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64175 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64176 +if { (ac_try="$ac_cpp conftest.$ac_ext"
64177 +case "(($ac_try" in
64178 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64179 + *) ac_try_echo=$ac_try;;
64181 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64182 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
64184 grep -v '^ *+' conftest.er1 >conftest.err
64186 cat conftest.err >&5
64187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64188 - (exit $ac_status); } >/dev/null; then
64189 - if test -s conftest.err; then
64190 - ac_cpp_err=$ac_c_preproc_warn_flag
64191 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64198 -if test -z "$ac_cpp_err"; then
64199 + (exit $ac_status); } >/dev/null && {
64200 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
64201 + test ! -s conftest.err
64203 ac_header_preproc=yes
64205 echo "$as_me: failed program was:" >&5
64206 @@ -8156,9 +8732,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
64208 ac_header_preproc=no
64211 rm -f conftest.err conftest.$ac_ext
64212 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64213 -echo "${ECHO_T}$ac_header_preproc" >&6
64214 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64215 +echo "${ECHO_T}$ac_header_preproc" >&6; }
64217 # So? What about this header?
64218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64219 @@ -8182,25 +8759,18 @@ echo "$as_me: WARNING: linux/version.h:
64220 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
64221 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
64222 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
64225 -## ------------------------------------------ ##
64226 -## Report this to the AC_PACKAGE_NAME lists. ##
64227 -## ------------------------------------------ ##
64230 - sed "s/^/$as_me: WARNING: /" >&2
64234 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
64235 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
64236 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
64237 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
64238 if test "${ac_cv_header_linux_version_h+set}" = set; then
64239 echo $ECHO_N "(cached) $ECHO_C" >&6
64241 ac_cv_header_linux_version_h=$ac_header_preproc
64243 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64244 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
64245 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64246 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
64249 if test $ac_cv_header_linux_version_h = yes; then
64250 @@ -8256,8 +8826,8 @@ for ac_prog in 'bison -y' byacc
64252 # Extract the first word of "$ac_prog", so it can be a program name with args.
64253 set dummy $ac_prog; ac_word=$2
64254 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64255 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64256 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64257 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64258 if test "${ac_cv_prog_YACC+set}" = set; then
64259 echo $ECHO_N "(cached) $ECHO_C" >&6
64261 @@ -8270,25 +8840,27 @@ do
64263 test -z "$as_dir" && as_dir=.
64264 for ac_exec_ext in '' $ac_executable_extensions; do
64265 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
64266 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64267 ac_cv_prog_YACC="$ac_prog"
64268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64277 YACC=$ac_cv_prog_YACC
64278 if test -n "$YACC"; then
64279 - echo "$as_me:$LINENO: result: $YACC" >&5
64280 -echo "${ECHO_T}$YACC" >&6
64281 + { echo "$as_me:$LINENO: result: $YACC" >&5
64282 +echo "${ECHO_T}$YACC" >&6; }
64284 - echo "$as_me:$LINENO: result: no" >&5
64285 -echo "${ECHO_T}no" >&6
64286 + { echo "$as_me:$LINENO: result: no" >&5
64287 +echo "${ECHO_T}no" >&6; }
64291 test -n "$YACC" && break
64293 test -n "$YACC" || YACC="yacc"
64294 @@ -8297,8 +8869,8 @@ for ac_prog in flex lex
64296 # Extract the first word of "$ac_prog", so it can be a program name with args.
64297 set dummy $ac_prog; ac_word=$2
64298 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64299 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64300 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64301 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64302 if test "${ac_cv_prog_LEX+set}" = set; then
64303 echo $ECHO_N "(cached) $ECHO_C" >&6
64305 @@ -8311,253 +8883,182 @@ do
64307 test -z "$as_dir" && as_dir=.
64308 for ac_exec_ext in '' $ac_executable_extensions; do
64309 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
64310 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64311 ac_cv_prog_LEX="$ac_prog"
64312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64321 LEX=$ac_cv_prog_LEX
64322 if test -n "$LEX"; then
64323 - echo "$as_me:$LINENO: result: $LEX" >&5
64324 -echo "${ECHO_T}$LEX" >&6
64325 + { echo "$as_me:$LINENO: result: $LEX" >&5
64326 +echo "${ECHO_T}$LEX" >&6; }
64328 - echo "$as_me:$LINENO: result: no" >&5
64329 -echo "${ECHO_T}no" >&6
64330 + { echo "$as_me:$LINENO: result: no" >&5
64331 +echo "${ECHO_T}no" >&6; }
64335 test -n "$LEX" && break
64337 test -n "$LEX" || LEX=":"
64339 -if test -z "$LEXLIB"
64341 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
64342 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
64343 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
64344 - echo $ECHO_N "(cached) $ECHO_C" >&6
64346 - ac_check_lib_save_LIBS=$LIBS
64348 -cat >conftest.$ac_ext <<_ACEOF
64351 -cat confdefs.h >>conftest.$ac_ext
64352 -cat >>conftest.$ac_ext <<_ACEOF
64353 -/* end confdefs.h. */
64355 -/* Override any gcc2 internal prototype to avoid an error. */
64356 -#ifdef __cplusplus
64358 +if test "x$LEX" != "x:"; then
64359 + cat >conftest.l <<_ACEOF
64365 +e { yyless (input () != 0); }
64366 +f { unput (yytext[0]); }
64367 +. { BEGIN INITIAL; }
64369 +#ifdef YYTEXT_POINTER
64370 +extern char *yytext;
64372 -/* We use char because int might match the return type of a gcc2
64373 - builtin and then its argument prototype would still apply. */
64382 + return ! yylex () + ! yywrap ();
64385 -rm -f conftest.$ac_objext conftest$ac_exeext
64386 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64387 - (eval $ac_link) 2>conftest.er1
64389 - grep -v '^ *+' conftest.er1 >conftest.err
64390 - rm -f conftest.er1
64391 - cat conftest.err >&5
64392 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64393 - (exit $ac_status); } &&
64394 - { ac_try='test -z "$ac_c_werror_flag"
64395 - || test ! -s conftest.err'
64396 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64397 - (eval $ac_try) 2>&5
64399 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64400 - (exit $ac_status); }; } &&
64401 - { ac_try='test -s conftest$ac_exeext'
64402 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64403 - (eval $ac_try) 2>&5
64404 +{ (ac_try="$LEX conftest.l"
64405 +case "(($ac_try" in
64406 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64407 + *) ac_try_echo=$ac_try;;
64409 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64410 + (eval "$LEX conftest.l") 2>&5
64412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64413 - (exit $ac_status); }; }; then
64414 - ac_cv_lib_fl_yywrap=yes
64415 + (exit $ac_status); }
64416 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
64417 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
64418 +if test "${ac_cv_prog_lex_root+set}" = set; then
64419 + echo $ECHO_N "(cached) $ECHO_C" >&6
64421 - echo "$as_me: failed program was:" >&5
64422 -sed 's/^/| /' conftest.$ac_ext >&5
64424 -ac_cv_lib_fl_yywrap=no
64425 +if test -f lex.yy.c; then
64426 + ac_cv_prog_lex_root=lex.yy
64427 +elif test -f lexyy.c; then
64428 + ac_cv_prog_lex_root=lexyy
64430 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
64431 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
64432 + { (exit 1); exit 1; }; }
64434 -rm -f conftest.err conftest.$ac_objext \
64435 - conftest$ac_exeext conftest.$ac_ext
64436 -LIBS=$ac_check_lib_save_LIBS
64438 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
64439 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
64440 -if test $ac_cv_lib_fl_yywrap = yes; then
64443 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
64444 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
64445 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
64446 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
64447 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
64448 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
64450 +if test -z "${LEXLIB+set}"; then
64451 + { echo "$as_me:$LINENO: checking lex library" >&5
64452 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
64453 +if test "${ac_cv_lib_lex+set}" = set; then
64454 echo $ECHO_N "(cached) $ECHO_C" >&6
64456 - ac_check_lib_save_LIBS=$LIBS
64458 -cat >conftest.$ac_ext <<_ACEOF
64461 -cat confdefs.h >>conftest.$ac_ext
64462 -cat >>conftest.$ac_ext <<_ACEOF
64463 -/* end confdefs.h. */
64465 -/* Override any gcc2 internal prototype to avoid an error. */
64466 -#ifdef __cplusplus
64469 -/* We use char because int might match the return type of a gcc2
64470 - builtin and then its argument prototype would still apply. */
64479 + ac_save_LIBS=$LIBS
64480 + ac_cv_lib_lex='none needed'
64481 + for ac_lib in '' -lfl -ll; do
64482 + LIBS="$ac_lib $ac_save_LIBS"
64483 + cat >conftest.$ac_ext <<_ACEOF
64484 +`cat $LEX_OUTPUT_ROOT.c`
64486 rm -f conftest.$ac_objext conftest$ac_exeext
64487 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64488 - (eval $ac_link) 2>conftest.er1
64489 +if { (ac_try="$ac_link"
64490 +case "(($ac_try" in
64491 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64492 + *) ac_try_echo=$ac_try;;
64494 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64495 + (eval "$ac_link") 2>conftest.er1
64497 grep -v '^ *+' conftest.er1 >conftest.err
64499 cat conftest.err >&5
64500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64501 - (exit $ac_status); } &&
64502 - { ac_try='test -z "$ac_c_werror_flag"
64503 - || test ! -s conftest.err'
64504 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64505 - (eval $ac_try) 2>&5
64507 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64508 - (exit $ac_status); }; } &&
64509 - { ac_try='test -s conftest$ac_exeext'
64510 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64511 - (eval $ac_try) 2>&5
64513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64514 - (exit $ac_status); }; }; then
64515 - ac_cv_lib_l_yywrap=yes
64516 + (exit $ac_status); } && {
64517 + test -z "$ac_c_werror_flag" ||
64518 + test ! -s conftest.err
64519 + } && test -s conftest$ac_exeext &&
64520 + $as_test_x conftest$ac_exeext; then
64521 + ac_cv_lib_lex=$ac_lib
64523 echo "$as_me: failed program was:" >&5
64524 sed 's/^/| /' conftest.$ac_ext >&5
64526 -ac_cv_lib_l_yywrap=no
64528 -rm -f conftest.err conftest.$ac_objext \
64529 - conftest$ac_exeext conftest.$ac_ext
64530 -LIBS=$ac_check_lib_save_LIBS
64532 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
64533 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
64534 -if test $ac_cv_lib_l_yywrap = yes; then
64541 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64542 + conftest$ac_exeext conftest.$ac_ext
64543 + test "$ac_cv_lib_lex" != 'none needed' && break
64545 + LIBS=$ac_save_LIBS
64547 -if test "x$LEX" != "x:"; then
64548 - echo "$as_me:$LINENO: checking lex output file root" >&5
64549 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
64550 -if test "${ac_cv_prog_lex_root+set}" = set; then
64551 - echo $ECHO_N "(cached) $ECHO_C" >&6
64553 - # The minimal lex program is just a single line: %%. But some broken lexes
64554 -# (Solaris, I think it was) want two %% lines, so accommodate them.
64555 -cat >conftest.l <<_ACEOF
64559 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
64560 - (eval $LEX conftest.l) 2>&5
64562 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64563 - (exit $ac_status); }
64564 -if test -f lex.yy.c; then
64565 - ac_cv_prog_lex_root=lex.yy
64566 -elif test -f lexyy.c; then
64567 - ac_cv_prog_lex_root=lexyy
64569 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
64570 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
64571 - { (exit 1); exit 1; }; }
64573 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
64574 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
64575 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
64577 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
64578 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
64580 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
64582 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
64583 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
64585 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
64586 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
64587 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
64588 echo $ECHO_N "(cached) $ECHO_C" >&6
64590 # POSIX says lex can declare yytext either as a pointer or an array; the
64591 -# default is implementation-dependent. Figure out which it is, since
64592 +# default is implementation-dependent. Figure out which it is, since
64593 # not all implementations provide the %pointer and %array declarations.
64594 ac_cv_prog_lex_yytext_pointer=no
64595 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
64597 -LIBS="$LIBS $LEXLIB"
64598 +LIBS="$LEXLIB $ac_save_LIBS"
64599 cat >conftest.$ac_ext <<_ACEOF
64600 +#define YYTEXT_POINTER 1
64601 `cat $LEX_OUTPUT_ROOT.c`
64603 rm -f conftest.$ac_objext conftest$ac_exeext
64604 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64605 - (eval $ac_link) 2>conftest.er1
64606 +if { (ac_try="$ac_link"
64607 +case "(($ac_try" in
64608 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64609 + *) ac_try_echo=$ac_try;;
64611 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64612 + (eval "$ac_link") 2>conftest.er1
64614 grep -v '^ *+' conftest.er1 >conftest.err
64616 cat conftest.err >&5
64617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64618 - (exit $ac_status); } &&
64619 - { ac_try='test -z "$ac_c_werror_flag"
64620 - || test ! -s conftest.err'
64621 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64622 - (eval $ac_try) 2>&5
64624 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64625 - (exit $ac_status); }; } &&
64626 - { ac_try='test -s conftest$ac_exeext'
64627 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64628 - (eval $ac_try) 2>&5
64630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64631 - (exit $ac_status); }; }; then
64632 + (exit $ac_status); } && {
64633 + test -z "$ac_c_werror_flag" ||
64634 + test ! -s conftest.err
64635 + } && test -s conftest$ac_exeext &&
64636 + $as_test_x conftest$ac_exeext; then
64637 ac_cv_prog_lex_yytext_pointer=yes
64639 echo "$as_me: failed program was:" >&5
64640 sed 's/^/| /' conftest.$ac_ext >&5
64644 -rm -f conftest.err conftest.$ac_objext \
64646 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64647 conftest$ac_exeext conftest.$ac_ext
64649 -rm -f "${LEX_OUTPUT_ROOT}.c"
64652 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
64653 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
64654 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
64655 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
64656 if test $ac_cv_prog_lex_yytext_pointer = yes; then
64658 cat >>confdefs.h <<\_ACEOF
64659 @@ -8565,23 +9066,24 @@ cat >>confdefs.h <<\_ACEOF
64663 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
64666 if test "$LEX" = :; then
64667 LEX=${am_missing_run}flex
64670 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
64671 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
64672 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
64673 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
64674 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
64675 + # Check whether --enable-maintainer-mode was given.
64676 if test "${enable_maintainer_mode+set}" = set; then
64677 - enableval="$enable_maintainer_mode"
64678 - USE_MAINTAINER_MODE=$enableval
64679 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
64681 USE_MAINTAINER_MODE=no
64683 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
64684 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
64687 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
64688 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
64691 if test $USE_MAINTAINER_MODE = yes; then
64692 @@ -8611,18 +9113,19 @@ fi
64693 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h
64695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64696 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64697 - echo "$as_me:$LINENO: checking for $ac_header" >&5
64698 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64699 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64700 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64701 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
64702 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
64703 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64704 echo $ECHO_N "(cached) $ECHO_C" >&6
64706 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64707 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64708 +ac_res=`eval echo '${'$as_ac_Header'}'`
64709 + { echo "$as_me:$LINENO: result: $ac_res" >&5
64710 +echo "${ECHO_T}$ac_res" >&6; }
64712 # Is the header compilable?
64713 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
64714 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64715 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
64716 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
64717 cat >conftest.$ac_ext <<_ACEOF
64720 @@ -8633,41 +9136,37 @@ $ac_includes_default
64721 #include <$ac_header>
64723 rm -f conftest.$ac_objext
64724 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64725 - (eval $ac_compile) 2>conftest.er1
64726 +if { (ac_try="$ac_compile"
64727 +case "(($ac_try" in
64728 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64729 + *) ac_try_echo=$ac_try;;
64731 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64732 + (eval "$ac_compile") 2>conftest.er1
64734 grep -v '^ *+' conftest.er1 >conftest.err
64736 cat conftest.err >&5
64737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64738 - (exit $ac_status); } &&
64739 - { ac_try='test -z "$ac_c_werror_flag"
64740 - || test ! -s conftest.err'
64741 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64742 - (eval $ac_try) 2>&5
64744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64745 - (exit $ac_status); }; } &&
64746 - { ac_try='test -s conftest.$ac_objext'
64747 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64748 - (eval $ac_try) 2>&5
64750 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64751 - (exit $ac_status); }; }; then
64752 + (exit $ac_status); } && {
64753 + test -z "$ac_c_werror_flag" ||
64754 + test ! -s conftest.err
64755 + } && test -s conftest.$ac_objext; then
64756 ac_header_compiler=yes
64758 echo "$as_me: failed program was:" >&5
64759 sed 's/^/| /' conftest.$ac_ext >&5
64761 -ac_header_compiler=no
64762 + ac_header_compiler=no
64764 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64765 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64766 -echo "${ECHO_T}$ac_header_compiler" >&6
64768 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64769 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64770 +echo "${ECHO_T}$ac_header_compiler" >&6; }
64772 # Is the header present?
64773 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
64774 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64775 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
64776 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
64777 cat >conftest.$ac_ext <<_ACEOF
64780 @@ -8676,24 +9175,22 @@ cat >>conftest.$ac_ext <<_ACEOF
64781 /* end confdefs.h. */
64782 #include <$ac_header>
64784 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64785 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64786 +if { (ac_try="$ac_cpp conftest.$ac_ext"
64787 +case "(($ac_try" in
64788 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64789 + *) ac_try_echo=$ac_try;;
64791 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64792 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
64794 grep -v '^ *+' conftest.er1 >conftest.err
64796 cat conftest.err >&5
64797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64798 - (exit $ac_status); } >/dev/null; then
64799 - if test -s conftest.err; then
64800 - ac_cpp_err=$ac_c_preproc_warn_flag
64801 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64808 -if test -z "$ac_cpp_err"; then
64809 + (exit $ac_status); } >/dev/null && {
64810 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
64811 + test ! -s conftest.err
64813 ac_header_preproc=yes
64815 echo "$as_me: failed program was:" >&5
64816 @@ -8701,9 +9198,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
64818 ac_header_preproc=no
64821 rm -f conftest.err conftest.$ac_ext
64822 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64823 -echo "${ECHO_T}$ac_header_preproc" >&6
64824 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64825 +echo "${ECHO_T}$ac_header_preproc" >&6; }
64827 # So? What about this header?
64828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64829 @@ -8727,25 +9225,19 @@ echo "$as_me: WARNING: $ac_header: s
64830 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64831 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64832 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64835 -## ------------------------------------------ ##
64836 -## Report this to the AC_PACKAGE_NAME lists. ##
64837 -## ------------------------------------------ ##
64840 - sed "s/^/$as_me: WARNING: /" >&2
64844 -echo "$as_me:$LINENO: checking for $ac_header" >&5
64845 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64846 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64847 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
64848 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
64849 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64850 echo $ECHO_N "(cached) $ECHO_C" >&6
64852 eval "$as_ac_Header=\$ac_header_preproc"
64854 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64855 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64856 +ac_res=`eval echo '${'$as_ac_Header'}'`
64857 + { echo "$as_me:$LINENO: result: $ac_res" >&5
64858 +echo "${ECHO_T}$ac_res" >&6; }
64861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64862 @@ -8763,9 +9255,9 @@ done
64863 for ac_func in sbrk realpath glob
64865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64866 -echo "$as_me:$LINENO: checking for $ac_func" >&5
64867 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64868 -if eval "test \"\${$as_ac_var+set}\" = set"; then
64869 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
64870 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64871 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64872 echo $ECHO_N "(cached) $ECHO_C" >&6
64874 cat >conftest.$ac_ext <<_ACEOF
64875 @@ -8791,68 +9283,60 @@ cat >>conftest.$ac_ext <<_ACEOF
64879 -/* Override any gcc2 internal prototype to avoid an error. */
64880 +/* Override any GCC internal prototype to avoid an error.
64881 + Use char because int might match the return type of a GCC
64882 + builtin and then its argument prototype would still apply. */
64887 -/* We use char because int might match the return type of a gcc2
64888 - builtin and then its argument prototype would still apply. */
64890 /* The GNU C library defines this for functions which it implements
64891 to always fail with ENOSYS. Some functions are actually named
64892 something starting with __ and the normal name is an alias. */
64893 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64894 +#if defined __stub_$ac_func || defined __stub___$ac_func
64897 -char (*f) () = $ac_func;
64899 -#ifdef __cplusplus
64906 -return f != $ac_func;
64907 +return $ac_func ();
64912 rm -f conftest.$ac_objext conftest$ac_exeext
64913 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64914 - (eval $ac_link) 2>conftest.er1
64915 +if { (ac_try="$ac_link"
64916 +case "(($ac_try" in
64917 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64918 + *) ac_try_echo=$ac_try;;
64920 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64921 + (eval "$ac_link") 2>conftest.er1
64923 grep -v '^ *+' conftest.er1 >conftest.err
64925 cat conftest.err >&5
64926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64927 - (exit $ac_status); } &&
64928 - { ac_try='test -z "$ac_c_werror_flag"
64929 - || test ! -s conftest.err'
64930 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64931 - (eval $ac_try) 2>&5
64933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64934 - (exit $ac_status); }; } &&
64935 - { ac_try='test -s conftest$ac_exeext'
64936 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64937 - (eval $ac_try) 2>&5
64939 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64940 - (exit $ac_status); }; }; then
64941 + (exit $ac_status); } && {
64942 + test -z "$ac_c_werror_flag" ||
64943 + test ! -s conftest.err
64944 + } && test -s conftest$ac_exeext &&
64945 + $as_test_x conftest$ac_exeext; then
64946 eval "$as_ac_var=yes"
64948 echo "$as_me: failed program was:" >&5
64949 sed 's/^/| /' conftest.$ac_ext >&5
64951 -eval "$as_ac_var=no"
64952 + eval "$as_ac_var=no"
64954 -rm -f conftest.err conftest.$ac_objext \
64956 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64957 conftest$ac_exeext conftest.$ac_ext
64959 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64960 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64961 +ac_res=`eval echo '${'$as_ac_var'}'`
64962 + { echo "$as_me:$LINENO: result: $ac_res" >&5
64963 +echo "${ECHO_T}$ac_res" >&6; }
64964 if test `eval echo '${'$as_ac_var'}'` = yes; then
64965 cat >>confdefs.h <<_ACEOF
64966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64967 @@ -8869,9 +9353,9 @@ done
64968 ac_header_dirent=no
64969 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
64970 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
64971 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
64972 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
64973 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64974 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
64975 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
64976 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64977 echo $ECHO_N "(cached) $ECHO_C" >&6
64979 cat >conftest.$ac_ext <<_ACEOF
64980 @@ -8893,38 +9377,35 @@ return 0;
64983 rm -f conftest.$ac_objext
64984 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64985 - (eval $ac_compile) 2>conftest.er1
64986 +if { (ac_try="$ac_compile"
64987 +case "(($ac_try" in
64988 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64989 + *) ac_try_echo=$ac_try;;
64991 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64992 + (eval "$ac_compile") 2>conftest.er1
64994 grep -v '^ *+' conftest.er1 >conftest.err
64996 cat conftest.err >&5
64997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64998 - (exit $ac_status); } &&
64999 - { ac_try='test -z "$ac_c_werror_flag"
65000 - || test ! -s conftest.err'
65001 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65002 - (eval $ac_try) 2>&5
65004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65005 - (exit $ac_status); }; } &&
65006 - { ac_try='test -s conftest.$ac_objext'
65007 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65008 - (eval $ac_try) 2>&5
65010 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65011 - (exit $ac_status); }; }; then
65012 + (exit $ac_status); } && {
65013 + test -z "$ac_c_werror_flag" ||
65014 + test ! -s conftest.err
65015 + } && test -s conftest.$ac_objext; then
65016 eval "$as_ac_Header=yes"
65018 echo "$as_me: failed program was:" >&5
65019 sed 's/^/| /' conftest.$ac_ext >&5
65021 -eval "$as_ac_Header=no"
65022 + eval "$as_ac_Header=no"
65024 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65026 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65028 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65029 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65030 +ac_res=`eval echo '${'$as_ac_Header'}'`
65031 + { echo "$as_me:$LINENO: result: $ac_res" >&5
65032 +echo "${ECHO_T}$ac_res" >&6; }
65033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65034 cat >>confdefs.h <<_ACEOF
65035 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
65036 @@ -8936,13 +9417,12 @@ fi
65038 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
65039 if test $ac_header_dirent = dirent.h; then
65040 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
65041 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
65042 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
65043 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
65044 if test "${ac_cv_search_opendir+set}" = set; then
65045 echo $ECHO_N "(cached) $ECHO_C" >&6
65047 ac_func_search_save_LIBS=$LIBS
65048 -ac_cv_search_opendir=no
65049 cat >conftest.$ac_ext <<_ACEOF
65052 @@ -8950,126 +9430,83 @@ cat confdefs.h >>conftest.$ac_ext
65053 cat >>conftest.$ac_ext <<_ACEOF
65054 /* end confdefs.h. */
65056 -/* Override any gcc2 internal prototype to avoid an error. */
65057 +/* Override any GCC internal prototype to avoid an error.
65058 + Use char because int might match the return type of a GCC
65059 + builtin and then its argument prototype would still apply. */
65063 -/* We use char because int might match the return type of a gcc2
65064 - builtin and then its argument prototype would still apply. */
65070 +return opendir ();
65075 -rm -f conftest.$ac_objext conftest$ac_exeext
65076 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65077 - (eval $ac_link) 2>conftest.er1
65078 +for ac_lib in '' dir; do
65079 + if test -z "$ac_lib"; then
65080 + ac_res="none required"
65083 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65085 + rm -f conftest.$ac_objext conftest$ac_exeext
65086 +if { (ac_try="$ac_link"
65087 +case "(($ac_try" in
65088 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65089 + *) ac_try_echo=$ac_try;;
65091 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65092 + (eval "$ac_link") 2>conftest.er1
65094 grep -v '^ *+' conftest.er1 >conftest.err
65096 cat conftest.err >&5
65097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65098 - (exit $ac_status); } &&
65099 - { ac_try='test -z "$ac_c_werror_flag"
65100 - || test ! -s conftest.err'
65101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65102 - (eval $ac_try) 2>&5
65104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65105 - (exit $ac_status); }; } &&
65106 - { ac_try='test -s conftest$ac_exeext'
65107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65108 - (eval $ac_try) 2>&5
65110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65111 - (exit $ac_status); }; }; then
65112 - ac_cv_search_opendir="none required"
65113 + (exit $ac_status); } && {
65114 + test -z "$ac_c_werror_flag" ||
65115 + test ! -s conftest.err
65116 + } && test -s conftest$ac_exeext &&
65117 + $as_test_x conftest$ac_exeext; then
65118 + ac_cv_search_opendir=$ac_res
65120 echo "$as_me: failed program was:" >&5
65121 sed 's/^/| /' conftest.$ac_ext >&5
65125 -rm -f conftest.err conftest.$ac_objext \
65126 - conftest$ac_exeext conftest.$ac_ext
65127 -if test "$ac_cv_search_opendir" = no; then
65128 - for ac_lib in dir; do
65129 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65130 - cat >conftest.$ac_ext <<_ACEOF
65133 -cat confdefs.h >>conftest.$ac_ext
65134 -cat >>conftest.$ac_ext <<_ACEOF
65135 -/* end confdefs.h. */
65137 -/* Override any gcc2 internal prototype to avoid an error. */
65138 -#ifdef __cplusplus
65141 -/* We use char because int might match the return type of a gcc2
65142 - builtin and then its argument prototype would still apply. */
65152 -rm -f conftest.$ac_objext conftest$ac_exeext
65153 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65154 - (eval $ac_link) 2>conftest.er1
65156 - grep -v '^ *+' conftest.er1 >conftest.err
65157 - rm -f conftest.er1
65158 - cat conftest.err >&5
65159 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65160 - (exit $ac_status); } &&
65161 - { ac_try='test -z "$ac_c_werror_flag"
65162 - || test ! -s conftest.err'
65163 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65164 - (eval $ac_try) 2>&5
65166 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167 - (exit $ac_status); }; } &&
65168 - { ac_try='test -s conftest$ac_exeext'
65169 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65170 - (eval $ac_try) 2>&5
65172 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65173 - (exit $ac_status); }; }; then
65174 - ac_cv_search_opendir="-l$ac_lib"
65177 - echo "$as_me: failed program was:" >&5
65178 -sed 's/^/| /' conftest.$ac_ext >&5
65180 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65181 + conftest$ac_exeext
65182 + if test "${ac_cv_search_opendir+set}" = set; then
65185 -rm -f conftest.err conftest.$ac_objext \
65186 - conftest$ac_exeext conftest.$ac_ext
65189 +if test "${ac_cv_search_opendir+set}" = set; then
65192 + ac_cv_search_opendir=no
65194 +rm conftest.$ac_ext
65195 LIBS=$ac_func_search_save_LIBS
65197 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65198 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
65199 -if test "$ac_cv_search_opendir" != no; then
65200 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
65201 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65202 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
65203 +ac_res=$ac_cv_search_opendir
65204 +if test "$ac_res" != no; then
65205 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
65210 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
65211 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
65212 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
65213 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
65214 if test "${ac_cv_search_opendir+set}" = set; then
65215 echo $ECHO_N "(cached) $ECHO_C" >&6
65217 ac_func_search_save_LIBS=$LIBS
65218 -ac_cv_search_opendir=no
65219 cat >conftest.$ac_ext <<_ACEOF
65222 @@ -9077,123 +9514,81 @@ cat confdefs.h >>conftest.$ac_ext
65223 cat >>conftest.$ac_ext <<_ACEOF
65224 /* end confdefs.h. */
65226 -/* Override any gcc2 internal prototype to avoid an error. */
65227 +/* Override any GCC internal prototype to avoid an error.
65228 + Use char because int might match the return type of a GCC
65229 + builtin and then its argument prototype would still apply. */
65233 -/* We use char because int might match the return type of a gcc2
65234 - builtin and then its argument prototype would still apply. */
65240 +return opendir ();
65245 -rm -f conftest.$ac_objext conftest$ac_exeext
65246 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65247 - (eval $ac_link) 2>conftest.er1
65248 +for ac_lib in '' x; do
65249 + if test -z "$ac_lib"; then
65250 + ac_res="none required"
65253 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65255 + rm -f conftest.$ac_objext conftest$ac_exeext
65256 +if { (ac_try="$ac_link"
65257 +case "(($ac_try" in
65258 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65259 + *) ac_try_echo=$ac_try;;
65261 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65262 + (eval "$ac_link") 2>conftest.er1
65264 grep -v '^ *+' conftest.er1 >conftest.err
65266 cat conftest.err >&5
65267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65268 - (exit $ac_status); } &&
65269 - { ac_try='test -z "$ac_c_werror_flag"
65270 - || test ! -s conftest.err'
65271 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65272 - (eval $ac_try) 2>&5
65274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65275 - (exit $ac_status); }; } &&
65276 - { ac_try='test -s conftest$ac_exeext'
65277 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65278 - (eval $ac_try) 2>&5
65280 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65281 - (exit $ac_status); }; }; then
65282 - ac_cv_search_opendir="none required"
65283 + (exit $ac_status); } && {
65284 + test -z "$ac_c_werror_flag" ||
65285 + test ! -s conftest.err
65286 + } && test -s conftest$ac_exeext &&
65287 + $as_test_x conftest$ac_exeext; then
65288 + ac_cv_search_opendir=$ac_res
65290 echo "$as_me: failed program was:" >&5
65291 sed 's/^/| /' conftest.$ac_ext >&5
65294 -rm -f conftest.err conftest.$ac_objext \
65295 - conftest$ac_exeext conftest.$ac_ext
65296 -if test "$ac_cv_search_opendir" = no; then
65297 - for ac_lib in x; do
65298 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65299 - cat >conftest.$ac_ext <<_ACEOF
65302 -cat confdefs.h >>conftest.$ac_ext
65303 -cat >>conftest.$ac_ext <<_ACEOF
65304 -/* end confdefs.h. */
65306 -/* Override any gcc2 internal prototype to avoid an error. */
65307 -#ifdef __cplusplus
65310 -/* We use char because int might match the return type of a gcc2
65311 - builtin and then its argument prototype would still apply. */
65321 -rm -f conftest.$ac_objext conftest$ac_exeext
65322 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65323 - (eval $ac_link) 2>conftest.er1
65325 - grep -v '^ *+' conftest.er1 >conftest.err
65326 - rm -f conftest.er1
65327 - cat conftest.err >&5
65328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65329 - (exit $ac_status); } &&
65330 - { ac_try='test -z "$ac_c_werror_flag"
65331 - || test ! -s conftest.err'
65332 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65333 - (eval $ac_try) 2>&5
65335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65336 - (exit $ac_status); }; } &&
65337 - { ac_try='test -s conftest$ac_exeext'
65338 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65339 - (eval $ac_try) 2>&5
65341 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65342 - (exit $ac_status); }; }; then
65343 - ac_cv_search_opendir="-l$ac_lib"
65346 - echo "$as_me: failed program was:" >&5
65347 -sed 's/^/| /' conftest.$ac_ext >&5
65350 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65351 + conftest$ac_exeext
65352 + if test "${ac_cv_search_opendir+set}" = set; then
65355 -rm -f conftest.err conftest.$ac_objext \
65356 - conftest$ac_exeext conftest.$ac_ext
65359 +if test "${ac_cv_search_opendir+set}" = set; then
65362 + ac_cv_search_opendir=no
65364 +rm conftest.$ac_ext
65365 LIBS=$ac_func_search_save_LIBS
65367 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65368 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
65369 -if test "$ac_cv_search_opendir" != no; then
65370 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
65371 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65372 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
65373 +ac_res=$ac_cv_search_opendir
65374 +if test "$ac_res" != no; then
65375 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
65382 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
65383 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
65384 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
65385 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
65386 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
65387 echo $ECHO_N "(cached) $ECHO_C" >&6
65389 @@ -9213,39 +9608,35 @@ extern int getopt (int, char *const*, co
65392 rm -f conftest.$ac_objext
65393 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65394 - (eval $ac_compile) 2>conftest.er1
65395 +if { (ac_try="$ac_compile"
65396 +case "(($ac_try" in
65397 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65398 + *) ac_try_echo=$ac_try;;
65400 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65401 + (eval "$ac_compile") 2>conftest.er1
65403 grep -v '^ *+' conftest.er1 >conftest.err
65405 cat conftest.err >&5
65406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65407 - (exit $ac_status); } &&
65408 - { ac_try='test -z "$ac_c_werror_flag"
65409 - || test ! -s conftest.err'
65410 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65411 - (eval $ac_try) 2>&5
65413 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65414 - (exit $ac_status); }; } &&
65415 - { ac_try='test -s conftest.$ac_objext'
65416 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65417 - (eval $ac_try) 2>&5
65419 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65420 - (exit $ac_status); }; }; then
65421 + (exit $ac_status); } && {
65422 + test -z "$ac_c_werror_flag" ||
65423 + test ! -s conftest.err
65424 + } && test -s conftest.$ac_objext; then
65425 ld_cv_decl_getopt_unistd_h=yes
65427 echo "$as_me: failed program was:" >&5
65428 sed 's/^/| /' conftest.$ac_ext >&5
65430 -ld_cv_decl_getopt_unistd_h=no
65431 + ld_cv_decl_getopt_unistd_h=no
65433 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65435 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65438 -echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
65439 -echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
65440 +{ echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
65441 +echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6; }
65442 if test $ld_cv_decl_getopt_unistd_h = yes; then
65444 cat >>confdefs.h <<\_ACEOF
65445 @@ -9264,8 +9655,8 @@ _ACEOF
65449 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
65450 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
65451 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
65452 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
65453 if test "${ac_cv_have_decl_strstr+set}" = set; then
65454 echo $ECHO_N "(cached) $ECHO_C" >&6
65456 @@ -9280,7 +9671,7 @@ int
65460 - char *p = (char *) strstr;
65465 @@ -9288,38 +9679,34 @@ main ()
65468 rm -f conftest.$ac_objext
65469 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65470 - (eval $ac_compile) 2>conftest.er1
65471 +if { (ac_try="$ac_compile"
65472 +case "(($ac_try" in
65473 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65474 + *) ac_try_echo=$ac_try;;
65476 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65477 + (eval "$ac_compile") 2>conftest.er1
65479 grep -v '^ *+' conftest.er1 >conftest.err
65481 cat conftest.err >&5
65482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65483 - (exit $ac_status); } &&
65484 - { ac_try='test -z "$ac_c_werror_flag"
65485 - || test ! -s conftest.err'
65486 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65487 - (eval $ac_try) 2>&5
65489 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65490 - (exit $ac_status); }; } &&
65491 - { ac_try='test -s conftest.$ac_objext'
65492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65493 - (eval $ac_try) 2>&5
65495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65496 - (exit $ac_status); }; }; then
65497 + (exit $ac_status); } && {
65498 + test -z "$ac_c_werror_flag" ||
65499 + test ! -s conftest.err
65500 + } && test -s conftest.$ac_objext; then
65501 ac_cv_have_decl_strstr=yes
65503 echo "$as_me: failed program was:" >&5
65504 sed 's/^/| /' conftest.$ac_ext >&5
65506 -ac_cv_have_decl_strstr=no
65507 + ac_cv_have_decl_strstr=no
65509 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65511 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65513 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
65514 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
65515 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
65516 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
65517 if test $ac_cv_have_decl_strstr = yes; then
65519 cat >>confdefs.h <<_ACEOF
65520 @@ -9334,8 +9721,8 @@ _ACEOF
65524 -echo "$as_me:$LINENO: checking whether free is declared" >&5
65525 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
65526 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
65527 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
65528 if test "${ac_cv_have_decl_free+set}" = set; then
65529 echo $ECHO_N "(cached) $ECHO_C" >&6
65531 @@ -9350,7 +9737,7 @@ int
65535 - char *p = (char *) free;
65540 @@ -9358,38 +9745,34 @@ main ()
65543 rm -f conftest.$ac_objext
65544 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65545 - (eval $ac_compile) 2>conftest.er1
65546 +if { (ac_try="$ac_compile"
65547 +case "(($ac_try" in
65548 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65549 + *) ac_try_echo=$ac_try;;
65551 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65552 + (eval "$ac_compile") 2>conftest.er1
65554 grep -v '^ *+' conftest.er1 >conftest.err
65556 cat conftest.err >&5
65557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65558 - (exit $ac_status); } &&
65559 - { ac_try='test -z "$ac_c_werror_flag"
65560 - || test ! -s conftest.err'
65561 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65562 - (eval $ac_try) 2>&5
65564 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65565 - (exit $ac_status); }; } &&
65566 - { ac_try='test -s conftest.$ac_objext'
65567 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65568 - (eval $ac_try) 2>&5
65570 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 - (exit $ac_status); }; }; then
65572 + (exit $ac_status); } && {
65573 + test -z "$ac_c_werror_flag" ||
65574 + test ! -s conftest.err
65575 + } && test -s conftest.$ac_objext; then
65576 ac_cv_have_decl_free=yes
65578 echo "$as_me: failed program was:" >&5
65579 sed 's/^/| /' conftest.$ac_ext >&5
65581 -ac_cv_have_decl_free=no
65582 + ac_cv_have_decl_free=no
65584 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65586 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
65589 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
65590 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
65591 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
65592 if test $ac_cv_have_decl_free = yes; then
65594 cat >>confdefs.h <<_ACEOF
65595 @@ -9404,8 +9787,8 @@ _ACEOF
65599 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
65600 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
65601 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
65602 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
65603 if test "${ac_cv_have_decl_sbrk+set}" = set; then
65604 echo $ECHO_N "(cached) $ECHO_C" >&6
65606 @@ -9420,7 +9803,7 @@ int
65610 - char *p = (char *) sbrk;
65615 @@ -9428,38 +9811,34 @@ main ()
65618 rm -f conftest.$ac_objext
65619 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65620 - (eval $ac_compile) 2>conftest.er1
65621 +if { (ac_try="$ac_compile"
65622 +case "(($ac_try" in
65623 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65624 + *) ac_try_echo=$ac_try;;
65626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65627 + (eval "$ac_compile") 2>conftest.er1
65629 grep -v '^ *+' conftest.er1 >conftest.err
65631 cat conftest.err >&5
65632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65633 - (exit $ac_status); } &&
65634 - { ac_try='test -z "$ac_c_werror_flag"
65635 - || test ! -s conftest.err'
65636 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65637 - (eval $ac_try) 2>&5
65639 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65640 - (exit $ac_status); }; } &&
65641 - { ac_try='test -s conftest.$ac_objext'
65642 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65643 - (eval $ac_try) 2>&5
65645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65646 - (exit $ac_status); }; }; then
65647 + (exit $ac_status); } && {
65648 + test -z "$ac_c_werror_flag" ||
65649 + test ! -s conftest.err
65650 + } && test -s conftest.$ac_objext; then
65651 ac_cv_have_decl_sbrk=yes
65653 echo "$as_me: failed program was:" >&5
65654 sed 's/^/| /' conftest.$ac_ext >&5
65656 -ac_cv_have_decl_sbrk=no
65657 + ac_cv_have_decl_sbrk=no
65659 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65661 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65663 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
65664 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
65665 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
65666 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
65667 if test $ac_cv_have_decl_sbrk = yes; then
65669 cat >>confdefs.h <<_ACEOF
65670 @@ -9474,8 +9853,8 @@ _ACEOF
65674 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
65675 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
65676 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
65677 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
65678 if test "${ac_cv_have_decl_getenv+set}" = set; then
65679 echo $ECHO_N "(cached) $ECHO_C" >&6
65681 @@ -9490,7 +9869,7 @@ int
65685 - char *p = (char *) getenv;
65690 @@ -9498,38 +9877,34 @@ main ()
65693 rm -f conftest.$ac_objext
65694 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65695 - (eval $ac_compile) 2>conftest.er1
65696 +if { (ac_try="$ac_compile"
65697 +case "(($ac_try" in
65698 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65699 + *) ac_try_echo=$ac_try;;
65701 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65702 + (eval "$ac_compile") 2>conftest.er1
65704 grep -v '^ *+' conftest.er1 >conftest.err
65706 cat conftest.err >&5
65707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65708 - (exit $ac_status); } &&
65709 - { ac_try='test -z "$ac_c_werror_flag"
65710 - || test ! -s conftest.err'
65711 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65712 - (eval $ac_try) 2>&5
65714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65715 - (exit $ac_status); }; } &&
65716 - { ac_try='test -s conftest.$ac_objext'
65717 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65718 - (eval $ac_try) 2>&5
65720 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65721 - (exit $ac_status); }; }; then
65722 + (exit $ac_status); } && {
65723 + test -z "$ac_c_werror_flag" ||
65724 + test ! -s conftest.err
65725 + } && test -s conftest.$ac_objext; then
65726 ac_cv_have_decl_getenv=yes
65728 echo "$as_me: failed program was:" >&5
65729 sed 's/^/| /' conftest.$ac_ext >&5
65731 -ac_cv_have_decl_getenv=no
65732 + ac_cv_have_decl_getenv=no
65734 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65736 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65738 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
65739 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
65740 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
65741 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
65742 if test $ac_cv_have_decl_getenv = yes; then
65744 cat >>confdefs.h <<_ACEOF
65745 @@ -9544,8 +9919,8 @@ _ACEOF
65749 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
65750 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
65751 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
65752 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
65753 if test "${ac_cv_have_decl_environ+set}" = set; then
65754 echo $ECHO_N "(cached) $ECHO_C" >&6
65756 @@ -9560,7 +9935,7 @@ int
65760 - char *p = (char *) environ;
65765 @@ -9568,38 +9943,34 @@ main ()
65768 rm -f conftest.$ac_objext
65769 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65770 - (eval $ac_compile) 2>conftest.er1
65771 +if { (ac_try="$ac_compile"
65772 +case "(($ac_try" in
65773 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65774 + *) ac_try_echo=$ac_try;;
65776 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65777 + (eval "$ac_compile") 2>conftest.er1
65779 grep -v '^ *+' conftest.er1 >conftest.err
65781 cat conftest.err >&5
65782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65783 - (exit $ac_status); } &&
65784 - { ac_try='test -z "$ac_c_werror_flag"
65785 - || test ! -s conftest.err'
65786 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65787 - (eval $ac_try) 2>&5
65789 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65790 - (exit $ac_status); }; } &&
65791 - { ac_try='test -s conftest.$ac_objext'
65792 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65793 - (eval $ac_try) 2>&5
65795 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65796 - (exit $ac_status); }; }; then
65797 + (exit $ac_status); } && {
65798 + test -z "$ac_c_werror_flag" ||
65799 + test ! -s conftest.err
65800 + } && test -s conftest.$ac_objext; then
65801 ac_cv_have_decl_environ=yes
65803 echo "$as_me: failed program was:" >&5
65804 sed 's/^/| /' conftest.$ac_ext >&5
65806 -ac_cv_have_decl_environ=no
65807 + ac_cv_have_decl_environ=no
65809 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65811 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65813 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
65814 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
65815 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
65816 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
65817 if test $ac_cv_have_decl_environ = yes; then
65819 cat >>confdefs.h <<_ACEOF
65820 @@ -9623,8 +9994,8 @@ fi
65821 # broken Microsoft MSVC compiler, which limits the length of string
65822 # constants, while still supporting pre-ANSI compilers which do not
65823 # support string concatenation.
65824 -echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
65825 -echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
65826 +{ echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
65827 +echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6; }
65828 if test "${ld_cv_string_concatenation+set}" = set; then
65829 echo $ECHO_N "(cached) $ECHO_C" >&6
65831 @@ -9644,39 +10015,35 @@ char *a = "a" "a";
65834 rm -f conftest.$ac_objext
65835 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65836 - (eval $ac_compile) 2>conftest.er1
65837 +if { (ac_try="$ac_compile"
65838 +case "(($ac_try" in
65839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65840 + *) ac_try_echo=$ac_try;;
65842 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65843 + (eval "$ac_compile") 2>conftest.er1
65845 grep -v '^ *+' conftest.er1 >conftest.err
65847 cat conftest.err >&5
65848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65849 - (exit $ac_status); } &&
65850 - { ac_try='test -z "$ac_c_werror_flag"
65851 - || test ! -s conftest.err'
65852 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65853 - (eval $ac_try) 2>&5
65855 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65856 - (exit $ac_status); }; } &&
65857 - { ac_try='test -s conftest.$ac_objext'
65858 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65859 - (eval $ac_try) 2>&5
65861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 - (exit $ac_status); }; }; then
65863 + (exit $ac_status); } && {
65864 + test -z "$ac_c_werror_flag" ||
65865 + test ! -s conftest.err
65866 + } && test -s conftest.$ac_objext; then
65867 ld_cv_string_concatenation=yes
65869 echo "$as_me: failed program was:" >&5
65870 sed 's/^/| /' conftest.$ac_ext >&5
65872 -ld_cv_string_concatenation=no
65873 + ld_cv_string_concatenation=no
65875 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65877 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65880 -echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
65881 -echo "${ECHO_T}$ld_cv_string_concatenation" >&6
65882 +{ echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
65883 +echo "${ECHO_T}$ld_cv_string_concatenation" >&6; }
65884 if test "$ld_cv_string_concatenation" = "yes"; then
65885 STRINGIFY=astring.sed
65887 @@ -9801,8 +10168,10 @@ fi
65891 - ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
65892 - ac_config_commands="$ac_config_commands default"
65893 +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
65895 +ac_config_commands="$ac_config_commands default"
65897 cat >confcache <<\_ACEOF
65898 # This file is a shell script that caches the results of configure
65899 # tests run on this system so they can be shared between configure
65900 @@ -9821,39 +10190,58 @@ _ACEOF
65902 # The following way of writing the cache mishandles newlines in values,
65903 # but we know of no workaround that is simple, portable, and efficient.
65904 -# So, don't put newlines in cache variables' values.
65905 +# So, we kill variables containing newlines.
65906 # Ultrix sh set writes to stderr and can't be redirected directly,
65907 # and sets the high bit in the cache file unless we assign to the vars.
65910 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65911 + eval ac_val=\$$ac_var
65912 + case $ac_val in #(
65914 + case $ac_var in #(
65915 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
65916 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
65918 + case $ac_var in #(
65919 + _ | IFS | as_nl) ;; #(
65920 + *) $as_unset $ac_var ;;
65926 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
65928 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
65929 + *${as_nl}ac_space=\ *)
65930 # `set' does not quote correctly, so add quotes (double-quote
65931 # substitution turns \\\\ into \\, and sed turns \\ into \).
65934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
65938 # `set' quotes correctly as required by POSIX, so do not add quotes.
65940 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
65941 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
65949 + /^ac_cv_env_/b end
65953 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
65955 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65956 - : end' >>confcache
65957 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
65958 - if test -w $cache_file; then
65959 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
65960 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
65961 + :end' >>confcache
65962 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
65963 + if test -w "$cache_file"; then
65964 + test "x$cache_file" != "x/dev/null" &&
65965 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
65966 +echo "$as_me: updating cache $cache_file" >&6;}
65967 cat confcache >$cache_file
65969 - echo "not updating unwritable cache $cache_file"
65970 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
65971 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
65975 @@ -9862,32 +10250,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
65976 # Let make expand exec_prefix.
65977 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
65979 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
65980 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
65981 -# trailing colons and then remove the whole line if VPATH becomes empty
65982 -# (actually we leave an empty line to preserve line numbers).
65983 -if test "x$srcdir" = x.; then
65984 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
65985 -s/:*\$(srcdir):*/:/;
65986 -s/:*\${srcdir}:*/:/;
65987 -s/:*@srcdir@:*/:/;
65988 -s/^\([^=]*=[ ]*\):*/\1/;
65994 DEFS=-DHAVE_CONFIG_H
65998 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
65999 # 1. Remove the extension, and $U if already installed.
66000 - ac_i=`echo "$ac_i" |
66001 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
66003 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
66004 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
66005 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66006 + ac_i=`echo "$ac_i" | sed "$ac_script"`
66007 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66008 + # will be set to the directory where LIBOBJS objects are built.
66009 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66010 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
66012 LIBOBJS=$ac_libobjs
66014 @@ -9939,17 +10313,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
66015 ## M4sh Initialization. ##
66016 ## --------------------- ##
66018 -# Be Bourne compatible
66019 +# Be more Bourne compatible
66020 +DUALCASE=1; export DUALCASE # for MKS sh
66021 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66024 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66025 # is contrary to our usage. Disable this feature.
66026 alias -g '${1+"$@"}'='"$@"'
66027 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
66029 + setopt NO_GLOB_SUBST
66031 + case `(set -o) 2>/dev/null` in
66032 + *posix*) set -o posix ;;
66041 +# Avoid depending upon Character Ranges.
66042 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66043 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66044 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66045 +as_cr_digits='0123456789'
66046 +as_cr_alnum=$as_cr_Letters$as_cr_digits
66048 +# The user is always right.
66049 +if test "${PATH_SEPARATOR+set}" != set; then
66050 + echo "#! /bin/sh" >conf$$.sh
66051 + echo "exit 0" >>conf$$.sh
66052 + chmod +x conf$$.sh
66053 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66054 + PATH_SEPARATOR=';'
66060 -DUALCASE=1; export DUALCASE # for MKS sh
66062 # Support unset when possible.
66063 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
66064 @@ -9959,8 +10361,43 @@ else
66069 +# We need space, tab and new line, in precisely that order. Quoting is
66070 +# there to prevent editors from complaining about space-tab.
66071 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
66072 +# splitting by setting IFS to empty value.)
66077 +# Find who we are. Look in the path if we contain no directory separator.
66079 + *[\\/]* ) as_myself=$0 ;;
66080 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66081 +for as_dir in $PATH
66084 + test -z "$as_dir" && as_dir=.
66085 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66091 +# We did not find ourselves, most probably we were run as `sh COMMAND'
66092 +# in which case we are not to be found in the path.
66093 +if test "x$as_myself" = x; then
66096 +if test ! -f "$as_myself"; then
66097 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66098 + { (exit 1); exit 1; }
66101 # Work around bugs in pre-3.0 UWIN ksh.
66102 -$as_unset ENV MAIL MAILPATH
66103 +for as_var in ENV MAIL MAILPATH
66104 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66109 @@ -9974,18 +10411,19 @@ do
66110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
66111 eval $as_var=C; export $as_var
66113 - $as_unset $as_var
66114 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66118 # Required to use basename.
66119 -if expr a : '\(a\)' >/dev/null 2>&1; then
66120 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66121 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66127 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66128 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66129 as_basename=basename
66132 @@ -9993,159 +10431,120 @@ fi
66135 # Name of the executable.
66136 -as_me=`$as_basename "$0" ||
66137 +as_me=`$as_basename -- "$0" ||
66138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66139 X"$0" : 'X\(//\)$' \| \
66140 - X"$0" : 'X\(/\)$' \| \
66141 - . : '\(.\)' 2>/dev/null ||
66142 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66144 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
66145 - /^X\/\(\/\/\)$/{ s//\1/; q; }
66146 - /^X\/\(\/\).*/{ s//\1/; q; }
66150 -# PATH needs CR, and LINENO needs CR and PATH.
66151 -# Avoid depending upon Character Ranges.
66152 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66153 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66154 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66155 -as_cr_digits='0123456789'
66156 -as_cr_alnum=$as_cr_Letters$as_cr_digits
66157 + sed '/^.*\/\([^/][^/]*\)\/*$/{
66171 -# The user is always right.
66172 -if test "${PATH_SEPARATOR+set}" != set; then
66173 - echo "#! /bin/sh" >conf$$.sh
66174 - echo "exit 0" >>conf$$.sh
66175 - chmod +x conf$$.sh
66176 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66177 - PATH_SEPARATOR=';'
66187 - as_lineno_1=$LINENO
66188 - as_lineno_2=$LINENO
66189 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66190 - test "x$as_lineno_1" != "x$as_lineno_2" &&
66191 - test "x$as_lineno_3" = "x$as_lineno_2" || {
66192 - # Find who we are. Look in the path if we contain no path at all
66193 - # relative or not.
66195 - *[\\/]* ) as_myself=$0 ;;
66196 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66197 -for as_dir in $PATH
66200 - test -z "$as_dir" && as_dir=.
66201 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66206 - # We did not find ourselves, most probably we were run as `sh COMMAND'
66207 - # in which case we are not to be found in the path.
66208 - if test "x$as_myself" = x; then
66211 - if test ! -f "$as_myself"; then
66212 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
66213 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
66214 - { (exit 1); exit 1; }; }
66216 - case $CONFIG_SHELL in
66218 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66219 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
66222 - test -z "$as_dir" && as_dir=.
66223 - for as_base in sh bash ksh sh5; do
66226 - if ("$as_dir/$as_base" -c '
66227 as_lineno_1=$LINENO
66228 as_lineno_2=$LINENO
66229 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66230 test "x$as_lineno_1" != "x$as_lineno_2" &&
66231 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
66232 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
66233 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
66234 - CONFIG_SHELL=$as_dir/$as_base
66235 - export CONFIG_SHELL
66236 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
66243 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
66245 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
66246 # uniformly replaced by the line number. The first 'sed' inserts a
66247 - # line-number line before each line; the second 'sed' does the real
66248 - # work. The second script uses 'N' to pair each line-number line
66249 - # with the numbered line, and appends trailing '-' during
66250 - # substitution so that $LINENO is not a special case at line end.
66251 + # line-number line after each line using $LINENO; the second 'sed'
66252 + # does the real work. The second script uses 'N' to pair each
66253 + # line-number line with the line containing $LINENO, and appends
66254 + # trailing '-' during substitution so that $LINENO is not a special
66255 + # case at line end.
66256 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
66257 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
66258 - sed '=' <$as_myself |
66259 + # scripts with optimization help from Paolo Bonzini. Blame Lee
66260 + # E. McMahon (1931-1989) for sed's syntax. :-)
66266 + s/[$]LINENO.*/&-/
66273 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
66275 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
66278 - s,^['$as_cr_digits']*\n,,
66280 ' >$as_me.lineno &&
66281 - chmod +x $as_me.lineno ||
66282 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
66283 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
66284 + chmod +x "$as_me.lineno" ||
66285 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
66286 { (exit 1); exit 1; }; }
66288 # Don't try to exec as it changes $[0], causing all sort of problems
66289 # (the dirname of $[0] is not the place where we might find the
66290 - # original and so on. Autoconf is especially sensible to this).
66291 - . ./$as_me.lineno
66292 + # original and so on. Autoconf is especially sensitive to this).
66293 + . "./$as_me.lineno"
66294 # Exit status is that of the last command.
66299 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
66300 - *c*,-n*) ECHO_N= ECHO_C='
66302 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
66303 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
66304 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66305 + as_dirname=dirname
66310 +ECHO_C= ECHO_N= ECHO_T=
66311 +case `echo -n x` in
66313 + case `echo 'x\c'` in
66314 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66321 -if expr a : '\(a\)' >/dev/null 2>&1; then
66322 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66323 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66329 rm -f conf$$ conf$$.exe conf$$.file
66330 +if test -d conf$$.dir; then
66331 + rm -f conf$$.dir/conf$$.file
66337 if ln -s conf$$.file conf$$ 2>/dev/null; then
66338 - # We could just check for DJGPP; but this test a) works b) is more generic
66339 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
66340 - if test -f conf$$.exe; then
66341 - # Don't use ln at all; we don't have any links
66343 + # ... but there are two gotchas:
66344 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66345 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66346 + # In both cases, we have to default to `cp -p'.
66347 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66352 elif ln conf$$.file conf$$ 2>/dev/null; then
66357 -rm -f conf$$ conf$$.exe conf$$.file
66358 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66359 +rmdir conf$$.dir 2>/dev/null
66361 if mkdir -p . 2>/dev/null; then
66363 @@ -10154,7 +10553,28 @@ else
66367 -as_executable_p="test -f"
66368 +if test -x / >/dev/null 2>&1; then
66369 + as_test_x='test -x'
66371 + if ls -dL / >/dev/null 2>&1; then
66378 + if test -d "$1"; then
66384 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
66385 + ???[sx]*):;;*)false;;esac;fi
66389 +as_executable_p=$as_test_x
66391 # Sed expression to map a string onto a valid CPP name.
66392 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66393 @@ -10163,31 +10583,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
66394 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66398 -# We need space, tab and new line, in precisely that order.
66408 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
66409 +# Save the log message, to keep $[0] and so on meaningful, and to
66410 # report actual input values of CONFIG_FILES etc. instead of their
66411 -# values after options handling. Logging --version etc. is OK.
66412 -exec 5>>config.log
66415 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66416 -## Running $as_me. ##
66421 +# values after options handling.
66423 This file was extended by $as_me, which was
66424 -generated by GNU Autoconf 2.59. Invocation command line was
66425 +generated by GNU Autoconf 2.61. Invocation command line was
66427 CONFIG_FILES = $CONFIG_FILES
66428 CONFIG_HEADERS = $CONFIG_HEADERS
66429 @@ -10195,30 +10598,20 @@ generated by GNU Autoconf 2.59. Invocat
66430 CONFIG_COMMANDS = $CONFIG_COMMANDS
66434 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
66436 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
66441 +cat >>$CONFIG_STATUS <<_ACEOF
66442 # Files that config.status was made for.
66443 -if test -n "$ac_config_files"; then
66444 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
66447 -if test -n "$ac_config_headers"; then
66448 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
66451 -if test -n "$ac_config_links"; then
66452 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
66454 +config_files="$ac_config_files"
66455 +config_headers="$ac_config_headers"
66456 +config_commands="$ac_config_commands"
66458 -if test -n "$ac_config_commands"; then
66459 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
66463 cat >>$CONFIG_STATUS <<\_ACEOF
66466 \`$as_me' instantiates files from templates according to the
66467 current configuration.
66468 @@ -10226,7 +10619,7 @@ current configuration.
66469 Usage: $0 [OPTIONS] [FILE]...
66471 -h, --help print this help, then exit
66472 - -V, --version print version number, then exit
66473 + -V, --version print version number and configuration settings, then exit
66474 -q, --quiet do not print progress messages
66475 -d, --debug don't remove temporary files
66476 --recheck update $as_me by reconfiguring in the same conditions
66477 @@ -10245,19 +10638,21 @@ Configuration commands:
66480 Report bugs to <bug-autoconf@gnu.org>."
66484 cat >>$CONFIG_STATUS <<_ACEOF
66487 -configured by $0, generated by GNU Autoconf 2.59,
66488 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
66489 +configured by $0, generated by GNU Autoconf 2.61,
66490 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66492 -Copyright (C) 2003 Free Software Foundation, Inc.
66493 +Copyright (C) 2006 Free Software Foundation, Inc.
66494 This config.status script is free software; the Free Software Foundation
66495 gives unlimited permission to copy, distribute and modify it."
66497 -INSTALL="$INSTALL"
66501 +INSTALL='$INSTALL'
66504 cat >>$CONFIG_STATUS <<\_ACEOF
66505 @@ -10268,39 +10663,24 @@ while test $# != 0
66509 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
66510 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
66511 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
66512 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66521 - *) # This is not an option, so the user has probably given explicit
66524 - ac_need_defaults=false;;
66528 # Handling of the options.
66530 -cat >>$CONFIG_STATUS <<\_ACEOF
66531 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66533 - --version | --vers* | -V )
66534 - echo "$ac_cs_version"; exit 0 ;;
66536 - # Conflict between --help and --header
66537 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
66538 -Try \`$0 --help' for more information." >&5
66539 -echo "$as_me: error: ambiguous option: $1
66540 -Try \`$0 --help' for more information." >&2;}
66541 - { (exit 1); exit 1; }; };;
66542 - --help | --hel | -h )
66543 - echo "$ac_cs_usage"; exit 0 ;;
66544 - --debug | --d* | -d )
66545 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66546 + echo "$ac_cs_version"; exit ;;
66547 + --debug | --debu | --deb | --de | --d | -d )
66549 --file | --fil | --fi | --f )
66551 @@ -10310,18 +10690,24 @@ Try \`$0 --help' for more information."
66553 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
66554 ac_need_defaults=false;;
66556 + # Conflict between --help and --header
66557 + { echo "$as_me: error: ambiguous option: $1
66558 +Try \`$0 --help' for more information." >&2
66559 + { (exit 1); exit 1; }; };;
66560 + --help | --hel | -h )
66561 + echo "$ac_cs_usage"; exit ;;
66562 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66563 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66566 # This is an error.
66567 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
66568 -Try \`$0 --help' for more information." >&5
66569 -echo "$as_me: error: unrecognized option: $1
66570 -Try \`$0 --help' for more information." >&2;}
66571 + -*) { echo "$as_me: error: unrecognized option: $1
66572 +Try \`$0 --help' for more information." >&2
66573 { (exit 1); exit 1; }; } ;;
66575 - *) ac_config_targets="$ac_config_targets $1" ;;
66576 + *) ac_config_targets="$ac_config_targets $1"
66577 + ac_need_defaults=false ;;
66581 @@ -10337,39 +10723,51 @@ fi
66583 cat >>$CONFIG_STATUS <<_ACEOF
66584 if \$ac_cs_recheck; then
66585 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
66586 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66587 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
66588 + CONFIG_SHELL=$SHELL
66589 + export CONFIG_SHELL
66590 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66594 +cat >>$CONFIG_STATUS <<\_ACEOF
66595 +exec 5>>config.log
66598 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66599 +## Running $as_me. ##
66605 cat >>$CONFIG_STATUS <<_ACEOF
66607 -# INIT-COMMANDS section.
66611 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
66617 cat >>$CONFIG_STATUS <<\_ACEOF
66619 +# Handling of arguments.
66620 for ac_config_target in $ac_config_targets
66622 - case "$ac_config_target" in
66623 - # Handling of arguments.
66624 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66625 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
66626 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
66627 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
66628 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
66629 + case $ac_config_target in
66630 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
66631 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
66632 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66633 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
66634 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
66636 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
66637 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
66638 { (exit 1); exit 1; }; };;
66643 # If the user did not use the arguments to specify the items to instantiate,
66644 # then the envvar interface is used. Set only those that are not.
66645 # We use the long form for the default assignment because of an extremely
66646 @@ -10381,640 +10779,634 @@ if $ac_need_defaults; then
66649 # Have a temporary directory for convenience. Make it in the build tree
66650 -# simply because there is no reason to put it here, and in addition,
66651 +# simply because there is no reason against having it here, and in addition,
66652 # creating and moving files from /tmp can sometimes cause problems.
66653 -# Create a temporary directory, and hook for its removal unless debugging.
66654 +# Hook for its removal unless debugging.
66655 +# Note that there is a small window in which the directory will not be cleaned:
66656 +# after its creation but before its name has been assigned to `$tmp'.
66659 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
66661 + trap 'exit_status=$?
66662 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66664 trap '{ (exit 1); exit 1; }' 1 2 13 15
66667 # Create a (secure) tmp directory for tmp files.
66670 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
66671 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66672 test -n "$tmp" && test -d "$tmp"
66675 - tmp=./confstat$$-$RANDOM
66676 - (umask 077 && mkdir $tmp)
66677 + tmp=./conf$$-$RANDOM
66678 + (umask 077 && mkdir "$tmp")
66681 echo "$me: cannot create a temporary directory in ." >&2
66682 { (exit 1); exit 1; }
66687 -cat >>$CONFIG_STATUS <<_ACEOF
66690 -# CONFIG_FILES section.
66691 +# Set up the sed scripts for CONFIG_FILES section.
66694 # No need to generate the scripts if there are no CONFIG_FILES.
66695 # This happens for instance when ./config.status config.h
66696 -if test -n "\$CONFIG_FILES"; then
66697 - # Protect against being on the right side of a sed subst in config.status.
66698 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
66699 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
66700 -s,@SHELL@,$SHELL,;t t
66701 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
66702 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
66703 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
66704 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
66705 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
66706 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
66707 -s,@exec_prefix@,$exec_prefix,;t t
66708 -s,@prefix@,$prefix,;t t
66709 -s,@program_transform_name@,$program_transform_name,;t t
66710 -s,@bindir@,$bindir,;t t
66711 -s,@sbindir@,$sbindir,;t t
66712 -s,@libexecdir@,$libexecdir,;t t
66713 -s,@datadir@,$datadir,;t t
66714 -s,@sysconfdir@,$sysconfdir,;t t
66715 -s,@sharedstatedir@,$sharedstatedir,;t t
66716 -s,@localstatedir@,$localstatedir,;t t
66717 -s,@libdir@,$libdir,;t t
66718 -s,@includedir@,$includedir,;t t
66719 -s,@oldincludedir@,$oldincludedir,;t t
66720 -s,@infodir@,$infodir,;t t
66721 -s,@mandir@,$mandir,;t t
66722 -s,@build_alias@,$build_alias,;t t
66723 -s,@host_alias@,$host_alias,;t t
66724 -s,@target_alias@,$target_alias,;t t
66725 -s,@DEFS@,$DEFS,;t t
66726 -s,@ECHO_C@,$ECHO_C,;t t
66727 -s,@ECHO_N@,$ECHO_N,;t t
66728 -s,@ECHO_T@,$ECHO_T,;t t
66729 -s,@LIBS@,$LIBS,;t t
66730 -s,@build@,$build,;t t
66731 -s,@build_cpu@,$build_cpu,;t t
66732 -s,@build_vendor@,$build_vendor,;t t
66733 -s,@build_os@,$build_os,;t t
66734 -s,@host@,$host,;t t
66735 -s,@host_cpu@,$host_cpu,;t t
66736 -s,@host_vendor@,$host_vendor,;t t
66737 -s,@host_os@,$host_os,;t t
66738 -s,@target@,$target,;t t
66739 -s,@target_cpu@,$target_cpu,;t t
66740 -s,@target_vendor@,$target_vendor,;t t
66741 -s,@target_os@,$target_os,;t t
66743 -s,@CFLAGS@,$CFLAGS,;t t
66744 -s,@LDFLAGS@,$LDFLAGS,;t t
66745 -s,@CPPFLAGS@,$CPPFLAGS,;t t
66746 -s,@ac_ct_CC@,$ac_ct_CC,;t t
66747 -s,@EXEEXT@,$EXEEXT,;t t
66748 -s,@OBJEXT@,$OBJEXT,;t t
66749 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
66750 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
66751 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
66752 -s,@CYGPATH_W@,$CYGPATH_W,;t t
66753 -s,@PACKAGE@,$PACKAGE,;t t
66754 -s,@VERSION@,$VERSION,;t t
66755 -s,@ACLOCAL@,$ACLOCAL,;t t
66756 -s,@AUTOCONF@,$AUTOCONF,;t t
66757 -s,@AUTOMAKE@,$AUTOMAKE,;t t
66758 -s,@AUTOHEADER@,$AUTOHEADER,;t t
66759 -s,@MAKEINFO@,$MAKEINFO,;t t
66760 -s,@install_sh@,$install_sh,;t t
66761 -s,@STRIP@,$STRIP,;t t
66762 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
66763 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
66764 -s,@mkdir_p@,$mkdir_p,;t t
66766 -s,@SET_MAKE@,$SET_MAKE,;t t
66767 -s,@am__leading_dot@,$am__leading_dot,;t t
66768 -s,@AMTAR@,$AMTAR,;t t
66769 -s,@am__tar@,$am__tar,;t t
66770 -s,@am__untar@,$am__untar,;t t
66771 -s,@DEPDIR@,$DEPDIR,;t t
66772 -s,@am__include@,$am__include,;t t
66773 -s,@am__quote@,$am__quote,;t t
66774 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
66775 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
66776 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
66777 -s,@CCDEPMODE@,$CCDEPMODE,;t t
66778 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
66779 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
66780 -s,@LN_S@,$LN_S,;t t
66781 -s,@RANLIB@,$RANLIB,;t t
66782 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
66783 -s,@LIBTOOL@,$LIBTOOL,;t t
66784 -s,@use_sysroot@,$use_sysroot,;t t
66785 -s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
66786 -s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
66787 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
66788 -s,@NO_WERROR@,$NO_WERROR,;t t
66790 -s,@EGREP@,$EGREP,;t t
66791 -s,@ALLOCA@,$ALLOCA,;t t
66792 -s,@USE_NLS@,$USE_NLS,;t t
66793 -s,@MSGFMT@,$MSGFMT,;t t
66794 -s,@GMSGFMT@,$GMSGFMT,;t t
66795 -s,@XGETTEXT@,$XGETTEXT,;t t
66796 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
66797 -s,@CATALOGS@,$CATALOGS,;t t
66798 -s,@CATOBJEXT@,$CATOBJEXT,;t t
66799 -s,@DATADIRNAME@,$DATADIRNAME,;t t
66800 -s,@GMOFILES@,$GMOFILES,;t t
66801 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
66802 -s,@INTLDEPS@,$INTLDEPS,;t t
66803 -s,@INTLLIBS@,$INTLLIBS,;t t
66804 -s,@INTLOBJS@,$INTLOBJS,;t t
66805 -s,@POFILES@,$POFILES,;t t
66806 -s,@POSUB@,$POSUB,;t t
66807 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
66808 -s,@GT_NO@,$GT_NO,;t t
66809 -s,@GT_YES@,$GT_YES,;t t
66810 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
66812 -s,@YACC@,$YACC,;t t
66814 -s,@LEXLIB@,$LEXLIB,;t t
66815 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
66816 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
66817 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
66818 -s,@MAINT@,$MAINT,;t t
66819 -s,@HDEFINES@,$HDEFINES,;t t
66820 -s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
66821 -s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
66822 -s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
66823 -s,@STRINGIFY@,$STRINGIFY,;t t
66824 -s,@EMUL@,$EMUL,;t t
66825 -s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
66826 -s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
66827 -s,@LIB_PATH@,$LIB_PATH,;t t
66828 -s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
66829 -s,@TESTBFDLIB@,$TESTBFDLIB,;t t
66830 -s,@datarootdir@,$datarootdir,;t t
66831 -s,@docdir@,$docdir,;t t
66832 -s,@htmldir@,$htmldir,;t t
66833 -s,@LIBOBJS@,$LIBOBJS,;t t
66834 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
66841 - cat >>$CONFIG_STATUS <<\_ACEOF
66842 - # Split the substitutions into bite-sized pieces for seds with
66843 - # small command number limits, like on Digital OSF/1 and HP-UX.
66844 - ac_max_sed_lines=48
66845 - ac_sed_frag=1 # Number of current file.
66846 - ac_beg=1 # First line for current file.
66847 - ac_end=$ac_max_sed_lines # Line after last line for current file.
66850 - while $ac_more_lines; do
66851 - if test $ac_beg -gt 1; then
66852 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
66854 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
66856 - if test ! -s $tmp/subs.frag; then
66857 - ac_more_lines=false
66859 - # The purpose of the label and of the branching condition is to
66860 - # speed up the sed processing (if there are no `@' at all, there
66861 - # is no need to browse any of the substitutions).
66862 - # These are the two extra sed commands mentioned above.
66864 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
66865 - if test -z "$ac_sed_cmds"; then
66866 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
66868 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
66870 - ac_sed_frag=`expr $ac_sed_frag + 1`
66872 - ac_end=`expr $ac_end + $ac_max_sed_lines`
66875 - if test -z "$ac_sed_cmds"; then
66877 +if test -n "$CONFIG_FILES"; then
66881 +# Create sed commands to just substitute file output variables.
66883 +# Remaining file output variables are in a fragment that also has non-file
66884 +# output varibles.
66889 +for ac_last_try in false false false false false :; do
66890 + cat >conf$$subs.sed <<_ACEOF
66891 +SHELL!$SHELL$ac_delim
66892 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
66893 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
66894 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
66895 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
66896 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
66897 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
66898 +exec_prefix!$exec_prefix$ac_delim
66899 +prefix!$prefix$ac_delim
66900 +program_transform_name!$program_transform_name$ac_delim
66901 +bindir!$bindir$ac_delim
66902 +sbindir!$sbindir$ac_delim
66903 +libexecdir!$libexecdir$ac_delim
66904 +datarootdir!$datarootdir$ac_delim
66905 +datadir!$datadir$ac_delim
66906 +sysconfdir!$sysconfdir$ac_delim
66907 +sharedstatedir!$sharedstatedir$ac_delim
66908 +localstatedir!$localstatedir$ac_delim
66909 +includedir!$includedir$ac_delim
66910 +oldincludedir!$oldincludedir$ac_delim
66911 +docdir!$docdir$ac_delim
66912 +infodir!$infodir$ac_delim
66913 +htmldir!$htmldir$ac_delim
66914 +dvidir!$dvidir$ac_delim
66915 +pdfdir!$pdfdir$ac_delim
66916 +psdir!$psdir$ac_delim
66917 +libdir!$libdir$ac_delim
66918 +localedir!$localedir$ac_delim
66919 +mandir!$mandir$ac_delim
66920 +DEFS!$DEFS$ac_delim
66921 +ECHO_C!$ECHO_C$ac_delim
66922 +ECHO_N!$ECHO_N$ac_delim
66923 +ECHO_T!$ECHO_T$ac_delim
66924 +LIBS!$LIBS$ac_delim
66925 +build_alias!$build_alias$ac_delim
66926 +host_alias!$host_alias$ac_delim
66927 +target_alias!$target_alias$ac_delim
66928 +build!$build$ac_delim
66929 +build_cpu!$build_cpu$ac_delim
66930 +build_vendor!$build_vendor$ac_delim
66931 +build_os!$build_os$ac_delim
66932 +host!$host$ac_delim
66933 +host_cpu!$host_cpu$ac_delim
66934 +host_vendor!$host_vendor$ac_delim
66935 +host_os!$host_os$ac_delim
66936 +target!$target$ac_delim
66937 +target_cpu!$target_cpu$ac_delim
66938 +target_vendor!$target_vendor$ac_delim
66939 +target_os!$target_os$ac_delim
66941 +CFLAGS!$CFLAGS$ac_delim
66942 +LDFLAGS!$LDFLAGS$ac_delim
66943 +CPPFLAGS!$CPPFLAGS$ac_delim
66944 +ac_ct_CC!$ac_ct_CC$ac_delim
66945 +EXEEXT!$EXEEXT$ac_delim
66946 +OBJEXT!$OBJEXT$ac_delim
66947 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
66948 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
66949 +INSTALL_DATA!$INSTALL_DATA$ac_delim
66950 +CYGPATH_W!$CYGPATH_W$ac_delim
66951 +PACKAGE!$PACKAGE$ac_delim
66952 +VERSION!$VERSION$ac_delim
66953 +ACLOCAL!$ACLOCAL$ac_delim
66954 +AUTOCONF!$AUTOCONF$ac_delim
66955 +AUTOMAKE!$AUTOMAKE$ac_delim
66956 +AUTOHEADER!$AUTOHEADER$ac_delim
66957 +MAKEINFO!$MAKEINFO$ac_delim
66958 +install_sh!$install_sh$ac_delim
66959 +STRIP!$STRIP$ac_delim
66960 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
66961 +mkdir_p!$mkdir_p$ac_delim
66963 +SET_MAKE!$SET_MAKE$ac_delim
66964 +am__leading_dot!$am__leading_dot$ac_delim
66965 +AMTAR!$AMTAR$ac_delim
66966 +am__tar!$am__tar$ac_delim
66967 +am__untar!$am__untar$ac_delim
66968 +DEPDIR!$DEPDIR$ac_delim
66969 +am__include!$am__include$ac_delim
66970 +am__quote!$am__quote$ac_delim
66971 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
66972 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
66973 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
66974 +CCDEPMODE!$CCDEPMODE$ac_delim
66975 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
66976 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
66977 +LN_S!$LN_S$ac_delim
66978 +RANLIB!$RANLIB$ac_delim
66979 +LIBTOOL!$LIBTOOL$ac_delim
66980 +use_sysroot!$use_sysroot$ac_delim
66981 +TARGET_SYSTEM_ROOT!$TARGET_SYSTEM_ROOT$ac_delim
66982 +TARGET_SYSTEM_ROOT_DEFINE!$TARGET_SYSTEM_ROOT_DEFINE$ac_delim
66983 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
66984 +NO_WERROR!$NO_WERROR$ac_delim
66987 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
66989 + elif $ac_last_try; then
66990 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
66991 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
66992 + { (exit 1); exit 1; }; }
66994 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
66996 -fi # test -n "$CONFIG_FILES"
66999 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
67000 +if test -n "$ac_eof"; then
67001 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
67002 + ac_eof=`expr $ac_eof + 1`
67005 +cat >>$CONFIG_STATUS <<_ACEOF
67006 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
67007 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67008 +/^[ ]*@TDIRS@[ ]*$/{
67014 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
67015 +s/^/s,@/; s/!/@,|#_!!_#|/
67018 +s/'"$ac_delim"'$/,g/; t
67020 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
67021 +' >>$CONFIG_STATUS <conf$$subs.sed
67022 +rm -f conf$$subs.sed
67023 +cat >>$CONFIG_STATUS <<_ACEOF
67029 +for ac_last_try in false false false false false :; do
67030 + cat >conf$$subs.sed <<_ACEOF
67032 +GREP!$GREP$ac_delim
67033 +EGREP!$EGREP$ac_delim
67034 +ALLOCA!$ALLOCA$ac_delim
67035 +USE_NLS!$USE_NLS$ac_delim
67036 +MSGFMT!$MSGFMT$ac_delim
67037 +GMSGFMT!$GMSGFMT$ac_delim
67038 +XGETTEXT!$XGETTEXT$ac_delim
67039 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
67040 +CATALOGS!$CATALOGS$ac_delim
67041 +CATOBJEXT!$CATOBJEXT$ac_delim
67042 +DATADIRNAME!$DATADIRNAME$ac_delim
67043 +GMOFILES!$GMOFILES$ac_delim
67044 +INSTOBJEXT!$INSTOBJEXT$ac_delim
67045 +INTLDEPS!$INTLDEPS$ac_delim
67046 +INTLLIBS!$INTLLIBS$ac_delim
67047 +INTLOBJS!$INTLOBJS$ac_delim
67048 +POFILES!$POFILES$ac_delim
67049 +POSUB!$POSUB$ac_delim
67050 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
67051 +GT_NO!$GT_NO$ac_delim
67052 +GT_YES!$GT_YES$ac_delim
67053 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
67055 +YACC!$YACC$ac_delim
67056 +YFLAGS!$YFLAGS$ac_delim
67058 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
67059 +LEXLIB!$LEXLIB$ac_delim
67060 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
67061 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
67062 +MAINT!$MAINT$ac_delim
67063 +HDEFINES!$HDEFINES$ac_delim
67064 +HOSTING_CRT0!$HOSTING_CRT0$ac_delim
67065 +HOSTING_LIBS!$HOSTING_LIBS$ac_delim
67066 +NATIVE_LIB_DIRS!$NATIVE_LIB_DIRS$ac_delim
67067 +STRINGIFY!$STRINGIFY$ac_delim
67068 +EMUL!$EMUL$ac_delim
67069 +EMULATION_OFILES!$EMULATION_OFILES$ac_delim
67070 +EMUL_EXTRA_OFILES!$EMUL_EXTRA_OFILES$ac_delim
67071 +LIB_PATH!$LIB_PATH$ac_delim
67072 +EMULATION_LIBPATH!$EMULATION_LIBPATH$ac_delim
67073 +TESTBFDLIB!$TESTBFDLIB$ac_delim
67074 +LIBOBJS!$LIBOBJS$ac_delim
67075 +LTLIBOBJS!$LTLIBOBJS$ac_delim
67078 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
67080 + elif $ac_last_try; then
67081 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
67082 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
67083 + { (exit 1); exit 1; }; }
67085 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67089 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
67090 +if test -n "$ac_eof"; then
67091 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
67092 + ac_eof=`expr $ac_eof + 1`
67095 +cat >>$CONFIG_STATUS <<_ACEOF
67096 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
67097 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
67100 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
67101 +s/^/s,@/; s/!/@,|#_!!_#|/
67104 +s/'"$ac_delim"'$/,g/; t
67106 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
67107 +' >>$CONFIG_STATUS <conf$$subs.sed
67108 +rm -f conf$$subs.sed
67109 +cat >>$CONFIG_STATUS <<_ACEOF
67116 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
67117 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67118 +# trailing colons and then remove the whole line if VPATH becomes empty
67119 +# (actually we leave an empty line to preserve line numbers).
67120 +if test "x$srcdir" = x.; then
67121 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
67122 +s/:*\$(srcdir):*/:/
67123 +s/:*\${srcdir}:*/:/
67125 +s/^\([^=]*=[ ]*\):*/\1/
67131 cat >>$CONFIG_STATUS <<\_ACEOF
67132 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
67133 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
67135 - - | *:- | *:-:* ) # input from stdin
67137 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67138 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67139 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67140 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67141 - * ) ac_file_in=$ac_file.in ;;
67142 +fi # test -n "$CONFIG_FILES"
67145 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
67148 + :[FHLC]) ac_mode=$ac_tag; continue;;
67150 + case $ac_mode$ac_tag in
67152 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
67153 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
67154 + { (exit 1); exit 1; }; };;
67155 + :[FH]-) ac_tag=-:-;;
67156 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67167 + :L) ac_source=$1;;
67173 + -) ac_f="$tmp/stdin";;
67174 + *) # Look for the file first in the build tree, then in the source tree
67175 + # (if the path is not absolute). The absolute path cannot be DOS-style,
67176 + # because $ac_f cannot contain `:'.
67177 + test -f "$ac_f" ||
67180 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67182 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
67183 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
67184 + { (exit 1); exit 1; }; };;
67186 + ac_file_inputs="$ac_file_inputs $ac_f"
67189 + # Let's still pretend it is `configure' which instantiates (i.e., don't
67190 + # use $as_me), people would be surprised to read:
67191 + # /* config.h. Generated by config.status. */
67192 + configure_input="Generated from "`IFS=:
67193 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
67194 + if test x"$ac_file" != x-; then
67195 + configure_input="$ac_file. $configure_input"
67196 + { echo "$as_me:$LINENO: creating $ac_file" >&5
67197 +echo "$as_me: creating $ac_file" >&6;}
67201 + *:-:* | *:-) cat >"$tmp/stdin";;
67206 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
67207 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
67208 + ac_dir=`$as_dirname -- "$ac_file" ||
67209 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67210 X"$ac_file" : 'X\(//\)[^/]' \| \
67211 X"$ac_file" : 'X\(//\)$' \| \
67212 - X"$ac_file" : 'X\(/\)' \| \
67213 - . : '\(.\)' 2>/dev/null ||
67214 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67216 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67217 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67218 - /^X\(\/\/\)$/{ s//\1/; q; }
67219 - /^X\(\/\).*/{ s//\1/; q; }
67221 - { if $as_mkdir_p; then
67222 - mkdir -p "$ac_dir"
67225 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67229 + /^X\(\/\/\)[^/].*/{
67242 + { as_dir="$ac_dir"
67243 + case $as_dir in #(
67244 + -*) as_dir=./$as_dir;;
67246 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
67248 - while test ! -d "$as_dir"; do
67249 - as_dirs="$as_dir $as_dirs"
67250 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
67252 + case $as_dir in #(
67253 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
67254 + *) as_qdir=$as_dir;;
67256 + as_dirs="'$as_qdir' $as_dirs"
67257 + as_dir=`$as_dirname -- "$as_dir" ||
67258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67259 X"$as_dir" : 'X\(//\)[^/]' \| \
67260 X"$as_dir" : 'X\(//\)$' \| \
67261 - X"$as_dir" : 'X\(/\)' \| \
67262 - . : '\(.\)' 2>/dev/null ||
67263 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
67265 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67266 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67267 - /^X\(\/\/\)$/{ s//\1/; q; }
67268 - /^X\(\/\).*/{ s//\1/; q; }
67270 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67274 + /^X\(\/\/\)[^/].*/{
67287 + test -d "$as_dir" && break
67289 - test ! -n "$as_dirs" || mkdir $as_dirs
67290 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
67291 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
67292 + test -z "$as_dirs" || eval "mkdir $as_dirs"
67293 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
67294 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
67295 { (exit 1); exit 1; }; }; }
67299 -if test "$ac_dir" != .; then
67301 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67303 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
67304 - # A "../" for each directory in $ac_dir_suffix.
67305 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
67307 - ac_dir_suffix= ac_top_builddir=
67309 + # A ".." for each directory in $ac_dir_suffix.
67310 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
67311 + case $ac_top_builddir_sub in
67312 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67313 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67316 +ac_abs_top_builddir=$ac_pwd
67317 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
67318 +# for backward compatibility:
67319 +ac_top_builddir=$ac_top_build_prefix
67322 - .) # No --srcdir option. We are building in place.
67323 + .) # We are building in place.
67325 - if test -z "$ac_top_builddir"; then
67328 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
67330 - [\\/]* | ?:[\\/]* ) # Absolute path.
67331 + ac_top_srcdir=$ac_top_builddir_sub
67332 + ac_abs_top_srcdir=$ac_pwd ;;
67333 + [\\/]* | ?:[\\/]* ) # Absolute name.
67334 ac_srcdir=$srcdir$ac_dir_suffix;
67335 - ac_top_srcdir=$srcdir ;;
67336 - *) # Relative path.
67337 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
67338 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
67340 + ac_top_srcdir=$srcdir
67341 + ac_abs_top_srcdir=$srcdir ;;
67342 + *) # Relative name.
67343 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67344 + ac_top_srcdir=$ac_top_build_prefix$srcdir
67345 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67347 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67349 -# Do not use `cd foo && pwd` to compute absolute paths, because
67350 -# the directories may not exist.
67352 -.) ac_abs_builddir="$ac_dir";;
67354 - case "$ac_dir" in
67355 - .) ac_abs_builddir=`pwd`;;
67356 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
67357 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
67360 -case $ac_abs_builddir in
67361 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
67363 - case ${ac_top_builddir}. in
67364 - .) ac_abs_top_builddir=$ac_abs_builddir;;
67365 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
67366 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
67369 -case $ac_abs_builddir in
67370 -.) ac_abs_srcdir=$ac_srcdir;;
67372 - case $ac_srcdir in
67373 - .) ac_abs_srcdir=$ac_abs_builddir;;
67374 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
67375 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
67378 -case $ac_abs_builddir in
67379 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
67381 - case $ac_top_srcdir in
67382 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
67383 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
67384 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
67395 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67396 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
67397 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67401 - if test x"$ac_file" != x-; then
67402 - { echo "$as_me:$LINENO: creating $ac_file" >&5
67403 -echo "$as_me: creating $ac_file" >&6;}
67406 - # Let's still pretend it is `configure' which instantiates (i.e., don't
67407 - # use $as_me), people would be surprised to read:
67408 - # /* config.h. Generated by config.status. */
67409 - if test x"$ac_file" = x-; then
67412 - configure_input="$ac_file. "
67414 - configure_input=$configure_input"Generated from `echo $ac_file_in |
67415 - sed 's,.*/,,'` by configure."
67417 - # First look for the input files in the build tree, otherwise in the
67419 - ac_file_inputs=`IFS=:
67420 - for f in $ac_file_in; do
67422 - -) echo $tmp/stdin ;;
67424 - # Absolute (can't be DOS-style, as IFS=:)
67425 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67426 -echo "$as_me: error: cannot find input file: $f" >&2;}
67427 - { (exit 1); exit 1; }; }
67430 - if test -f "$f"; then
67433 - elif test -f "$srcdir/$f"; then
67435 - echo "$srcdir/$f"
67438 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67439 -echo "$as_me: error: cannot find input file: $f" >&2;}
67440 - { (exit 1); exit 1; }; }
67443 - done` || { (exit 1); exit 1; }
67444 +cat >>$CONFIG_STATUS <<\_ACEOF
67445 +# If the template does not know about datarootdir, expand it.
67446 +# FIXME: This hack should be removed a few years after 2.60.
67447 +ac_datarootdir_hack=; ac_datarootdir_seen=
67449 +case `sed -n '/datarootdir/ {
67458 +' $ac_file_inputs` in
67459 +*datarootdir*) ac_datarootdir_seen=yes;;
67460 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67461 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67462 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67464 cat >>$CONFIG_STATUS <<_ACEOF
67465 + ac_datarootdir_hack='
67466 + s&@datadir@&$datadir&g
67467 + s&@docdir@&$docdir&g
67468 + s&@infodir@&$infodir&g
67469 + s&@localedir@&$localedir&g
67470 + s&@mandir@&$mandir&g
67471 + s&\\\${datarootdir}&$datarootdir&g' ;;
67475 +# Neutralize VPATH when `$srcdir' = `.'.
67476 +# Shell code in configure.ac might set extrasub.
67477 +# FIXME: do we really want to maintain this feature?
67478 +cat >>$CONFIG_STATUS <<_ACEOF
67482 cat >>$CONFIG_STATUS <<\_ACEOF
67484 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67485 -s,@configure_input@,$configure_input,;t t
67486 -s,@srcdir@,$ac_srcdir,;t t
67487 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
67488 -s,@top_srcdir@,$ac_top_srcdir,;t t
67489 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
67490 -s,@builddir@,$ac_builddir,;t t
67491 -s,@abs_builddir@,$ac_abs_builddir,;t t
67492 -s,@top_builddir@,$ac_top_builddir,;t t
67493 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
67494 -s,@INSTALL@,$ac_INSTALL,;t t
67495 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
67497 - if test x"$ac_file" != x-; then
67498 - mv $tmp/out $ac_file
67506 -cat >>$CONFIG_STATUS <<\_ACEOF
67509 -# CONFIG_HEADER section.
67512 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
67513 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
67515 -# ac_d sets the value in "#define NAME VALUE" lines.
67516 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
67517 -ac_dB='[ ].*$,\1#\2'
67520 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
67521 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
67522 -ac_uB='$,\1#\2define\3'
67525 +s&@configure_input@&$configure_input&;t t
67526 +s&@top_builddir@&$ac_top_builddir_sub&;t t
67527 +s&@srcdir@&$ac_srcdir&;t t
67528 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
67529 +s&@top_srcdir@&$ac_top_srcdir&;t t
67530 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67531 +s&@builddir@&$ac_builddir&;t t
67532 +s&@abs_builddir@&$ac_abs_builddir&;t t
67533 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67534 +s&@INSTALL@&$ac_INSTALL&;t t
67535 +$ac_datarootdir_hack
67536 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
67538 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67539 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67540 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67541 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67542 +which seems to be undefined. Please make sure it is defined." >&5
67543 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67544 +which seems to be undefined. Please make sure it is defined." >&2;}
67546 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
67547 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
67548 + rm -f "$tmp/stdin"
67550 - - | *:- | *:-:* ) # input from stdin
67552 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67553 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67554 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67555 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67556 - * ) ac_file_in=$ac_file.in ;;
67557 + -) cat "$tmp/out"; rm -f "$tmp/out";;
67558 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
67567 +# Transform confdefs.h into a sed script `conftest.defines', that
67568 +# substitutes the proper values into config.h.in to produce config.h.
67569 +rm -f conftest.defines conftest.tail
67570 +# First, append a space to every undef/define line, to ease matching.
67571 +echo 's/$/ /' >conftest.defines
67572 +# Then, protect against being on the right side of a sed subst, or in
67573 +# an unquoted here document, in config.status. If some macros were
67574 +# called several times there might be several #defines for the same
67575 +# symbol, which is useless. But do not sort them, since the last
67576 +# AC_DEFINE must be honored.
67577 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67578 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
67579 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
67580 +# PARAMS is the parameter list in the macro definition--in most cases, it's
67581 +# just an empty string.
67582 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
67583 +ac_dB='\\)[ (].*,\\1define\\2'
67587 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
67588 -echo "$as_me: creating $ac_file" >&6;}
67590 - # First look for the input files in the build tree, otherwise in the
67592 - ac_file_inputs=`IFS=:
67593 - for f in $ac_file_in; do
67595 - -) echo $tmp/stdin ;;
67597 - # Absolute (can't be DOS-style, as IFS=:)
67598 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67599 -echo "$as_me: error: cannot find input file: $f" >&2;}
67600 - { (exit 1); exit 1; }; }
67601 - # Do quote $f, to prevent DOS paths from being IFS'd.
67604 - if test -f "$f"; then
67607 - elif test -f "$srcdir/$f"; then
67609 - echo "$srcdir/$f"
67612 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67613 -echo "$as_me: error: cannot find input file: $f" >&2;}
67614 - { (exit 1); exit 1; }; }
67617 - done` || { (exit 1); exit 1; }
67618 - # Remove the trailing spaces.
67619 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
67623 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
67624 -# `conftest.undefs', that substitutes the proper values into
67625 -# config.h.in to produce config.h. The first handles `#define'
67626 -# templates, and the second `#undef' templates.
67627 -# And first: Protect against being on the right side of a sed subst in
67628 -# config.status. Protect against being in an unquoted here document
67629 -# in config.status.
67630 -rm -f conftest.defines conftest.undefs
67631 -# Using a here document instead of a string reduces the quoting nightmare.
67632 -# Putting comments in sed scripts is not portable.
67634 -# `end' is used to avoid that the second main sed command (meant for
67635 -# 0-ary CPP macros) applies to n-ary macro definitions.
67636 -# See the Autoconf documentation for `clear'.
67637 -cat >confdef2sed.sed <<\_ACEOF
67642 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
67644 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
67647 -# If some macros were called several times there might be several times
67648 -# the same #defines, which is useless. Nevertheless, we may not want to
67649 -# sort them, since we want the *last* AC-DEFINE to be honored.
67650 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
67651 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
67652 -rm -f confdef2sed.sed
67657 + s/^[ ]*#[ ]*define[ ][ ]*//
67662 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
67663 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
67664 + ' >>conftest.defines
67666 -# This sed command replaces #undef with comments. This is necessary, for
67667 +# Remove the space that was appended to ease matching.
67668 +# Then replace #undef with comments. This is necessary, for
67669 # example, in the case of _POSIX_SOURCE, which is predefined and required
67670 # on some systems where configure will not decide to define it.
67671 -cat >>conftest.undefs <<\_ACEOF
67672 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
67673 +# (The regexp can be short, since the line contains either #define or #undef.)
67675 +s,^[ #]*u.*,/* & */,' >>conftest.defines
67677 +# Break up conftest.defines:
67678 +ac_max_sed_lines=50
67680 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
67681 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
67682 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
67684 +ac_in='$ac_file_inputs'
67685 +ac_out='"$tmp/out1"'
67686 +ac_nxt='"$tmp/out2"'
67690 + # Write a here document:
67691 + cat >>$CONFIG_STATUS <<_ACEOF
67692 + # First, check the format of the line:
67693 + cat >"\$tmp/defines.sed" <<\\CEOF
67694 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
67695 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
67700 -# Break up conftest.defines because some shells have a limit on the size
67701 -# of here documents, and old seds have small limits too (100 cmds).
67702 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
67703 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
67704 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
67705 -echo ' :' >>$CONFIG_STATUS
67706 -rm -f conftest.tail
67707 -while grep . conftest.defines >/dev/null
67709 - # Write a limited-size here document to $tmp/defines.sed.
67710 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
67711 - # Speed up: don't consider the non `#define' lines.
67712 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
67713 - # Work around the forget-to-reset-the-flag bug.
67714 - echo 't clr' >>$CONFIG_STATUS
67715 - echo ': clr' >>$CONFIG_STATUS
67716 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
67717 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
67719 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
67721 - mv $tmp/out $tmp/in
67722 -' >>$CONFIG_STATUS
67723 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
67724 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
67725 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
67726 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
67727 + grep . conftest.tail >/dev/null || break
67728 rm -f conftest.defines
67729 mv conftest.tail conftest.defines
67731 -rm -f conftest.defines
67732 -echo ' fi # grep' >>$CONFIG_STATUS
67733 -echo >>$CONFIG_STATUS
67735 -# Break up conftest.undefs because some shells have a limit on the size
67736 -# of here documents, and old seds have small limits too (100 cmds).
67737 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
67738 -rm -f conftest.tail
67739 -while grep . conftest.undefs >/dev/null
67741 - # Write a limited-size here document to $tmp/undefs.sed.
67742 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
67743 - # Speed up: don't consider the non `#undef'
67744 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
67745 - # Work around the forget-to-reset-the-flag bug.
67746 - echo 't clr' >>$CONFIG_STATUS
67747 - echo ': clr' >>$CONFIG_STATUS
67748 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
67750 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
67752 - mv $tmp/out $tmp/in
67753 -' >>$CONFIG_STATUS
67754 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
67755 - rm -f conftest.undefs
67756 - mv conftest.tail conftest.undefs
67758 -rm -f conftest.undefs
67759 +rm -f conftest.defines conftest.tail
67761 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
67762 cat >>$CONFIG_STATUS <<\_ACEOF
67763 - # Let's still pretend it is `configure' which instantiates (i.e., don't
67764 - # use $as_me), people would be surprised to read:
67765 - # /* config.h. Generated by config.status. */
67766 - if test x"$ac_file" = x-; then
67767 - echo "/* Generated by configure. */" >$tmp/config.h
67769 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
67771 - cat $tmp/in >>$tmp/config.h
67773 if test x"$ac_file" != x-; then
67774 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
67775 + echo "/* $configure_input */" >"$tmp/config.h"
67776 + cat "$ac_result" >>"$tmp/config.h"
67777 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
67778 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
67779 echo "$as_me: $ac_file is unchanged" >&6;}
67781 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
67782 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67783 - X"$ac_file" : 'X\(//\)[^/]' \| \
67784 - X"$ac_file" : 'X\(//\)$' \| \
67785 - X"$ac_file" : 'X\(/\)' \| \
67786 - . : '\(.\)' 2>/dev/null ||
67787 -echo X"$ac_file" |
67788 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67789 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67790 - /^X\(\/\/\)$/{ s//\1/; q; }
67791 - /^X\(\/\).*/{ s//\1/; q; }
67793 - { if $as_mkdir_p; then
67794 - mkdir -p "$ac_dir"
67798 - while test ! -d "$as_dir"; do
67799 - as_dirs="$as_dir $as_dirs"
67800 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
67801 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67802 - X"$as_dir" : 'X\(//\)[^/]' \| \
67803 - X"$as_dir" : 'X\(//\)$' \| \
67804 - X"$as_dir" : 'X\(/\)' \| \
67805 - . : '\(.\)' 2>/dev/null ||
67807 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67808 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67809 - /^X\(\/\/\)$/{ s//\1/; q; }
67810 - /^X\(\/\).*/{ s//\1/; q; }
67813 - test ! -n "$as_dirs" || mkdir $as_dirs
67814 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
67815 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
67816 - { (exit 1); exit 1; }; }; }
67819 - mv $tmp/config.h $ac_file
67820 + mv "$tmp/config.h" $ac_file
67823 - cat $tmp/config.h
67824 - rm -f $tmp/config.h
67825 + echo "/* $configure_input */"
67828 + rm -f "$tmp/out12"
67829 # Compute $ac_file's index in $config_headers.
67831 for _am_header in $config_headers :; do
67832 @@ -11025,135 +11417,39 @@ for _am_header in $config_headers :; do
67833 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67836 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
67837 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
67838 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67839 X$ac_file : 'X\(//\)[^/]' \| \
67840 X$ac_file : 'X\(//\)$' \| \
67841 - X$ac_file : 'X\(/\)' \| \
67842 - . : '\(.\)' 2>/dev/null ||
67843 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
67845 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67846 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67847 - /^X\(\/\/\)$/{ s//\1/; q; }
67848 - /^X\(\/\).*/{ s//\1/; q; }
67849 - s/.*/./; q'`/stamp-h$_am_stamp_count
67852 -cat >>$CONFIG_STATUS <<\_ACEOF
67855 -# CONFIG_COMMANDS section.
67857 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
67858 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
67859 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
67860 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
67861 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67862 - X"$ac_dest" : 'X\(//\)[^/]' \| \
67863 - X"$ac_dest" : 'X\(//\)$' \| \
67864 - X"$ac_dest" : 'X\(/\)' \| \
67865 - . : '\(.\)' 2>/dev/null ||
67866 -echo X"$ac_dest" |
67867 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67868 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67869 - /^X\(\/\/\)$/{ s//\1/; q; }
67870 - /^X\(\/\).*/{ s//\1/; q; }
67872 - { if $as_mkdir_p; then
67873 - mkdir -p "$ac_dir"
67877 - while test ! -d "$as_dir"; do
67878 - as_dirs="$as_dir $as_dirs"
67879 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
67880 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67881 - X"$as_dir" : 'X\(//\)[^/]' \| \
67882 - X"$as_dir" : 'X\(//\)$' \| \
67883 - X"$as_dir" : 'X\(/\)' \| \
67884 - . : '\(.\)' 2>/dev/null ||
67886 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67887 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67888 - /^X\(\/\/\)$/{ s//\1/; q; }
67889 - /^X\(\/\).*/{ s//\1/; q; }
67892 - test ! -n "$as_dirs" || mkdir $as_dirs
67893 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
67894 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
67895 - { (exit 1); exit 1; }; }; }
67899 -if test "$ac_dir" != .; then
67900 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
67901 - # A "../" for each directory in $ac_dir_suffix.
67902 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
67904 - ac_dir_suffix= ac_top_builddir=
67908 - .) # No --srcdir option. We are building in place.
67910 - if test -z "$ac_top_builddir"; then
67913 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
67915 - [\\/]* | ?:[\\/]* ) # Absolute path.
67916 - ac_srcdir=$srcdir$ac_dir_suffix;
67917 - ac_top_srcdir=$srcdir ;;
67918 - *) # Relative path.
67919 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
67920 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
67922 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67926 + /^X\(\/\/\)[^/].*/{
67938 + s/.*/./; q'`/stamp-h$_am_stamp_count
67941 -# Do not use `cd foo && pwd` to compute absolute paths, because
67942 -# the directories may not exist.
67944 -.) ac_abs_builddir="$ac_dir";;
67946 - case "$ac_dir" in
67947 - .) ac_abs_builddir=`pwd`;;
67948 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
67949 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
67952 -case $ac_abs_builddir in
67953 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
67955 - case ${ac_top_builddir}. in
67956 - .) ac_abs_top_builddir=$ac_abs_builddir;;
67957 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
67958 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
67961 -case $ac_abs_builddir in
67962 -.) ac_abs_srcdir=$ac_srcdir;;
67964 - case $ac_srcdir in
67965 - .) ac_abs_srcdir=$ac_abs_builddir;;
67966 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
67967 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
67970 -case $ac_abs_builddir in
67971 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
67973 - case $ac_top_srcdir in
67974 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
67975 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
67976 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
67979 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
67980 +echo "$as_me: executing $ac_file commands" >&6;}
67985 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
67986 -echo "$as_me: executing $ac_dest commands" >&6;}
67988 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
67989 + case $ac_file$ac_mode in
67990 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
67991 # Strip MF so we end up with the name of the file.
67992 mf=`echo "$mf" | sed -e 's/:.*$//'`
67993 # Check whether this is an Automake generated Makefile or not.
67994 @@ -11163,18 +11459,29 @@ echo "$as_me: executing $ac_dest command
67995 # each Makefile.in and add a new line on top of each file to say so.
67996 # So let's grep whole file.
67997 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
67998 - dirpart=`(dirname "$mf") 2>/dev/null ||
67999 + dirpart=`$as_dirname -- "$mf" ||
68000 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68001 X"$mf" : 'X\(//\)[^/]' \| \
68002 X"$mf" : 'X\(//\)$' \| \
68003 - X"$mf" : 'X\(/\)' \| \
68004 - . : '\(.\)' 2>/dev/null ||
68005 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
68007 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
68008 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
68009 - /^X\(\/\/\)$/{ s//\1/; q; }
68010 - /^X\(\/\).*/{ s//\1/; q; }
68012 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68016 + /^X\(\/\/\)[^/].*/{
68032 @@ -11196,54 +11503,80 @@ echo X"$mf" |
68033 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
68034 # Make sure the directory exists.
68035 test -f "$dirpart/$file" && continue
68036 - fdir=`(dirname "$file") 2>/dev/null ||
68037 + fdir=`$as_dirname -- "$file" ||
68038 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68039 X"$file" : 'X\(//\)[^/]' \| \
68040 X"$file" : 'X\(//\)$' \| \
68041 - X"$file" : 'X\(/\)' \| \
68042 - . : '\(.\)' 2>/dev/null ||
68043 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
68045 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
68046 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
68047 - /^X\(\/\/\)$/{ s//\1/; q; }
68048 - /^X\(\/\).*/{ s//\1/; q; }
68050 - { if $as_mkdir_p; then
68051 - mkdir -p $dirpart/$fdir
68053 - as_dir=$dirpart/$fdir
68054 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68058 + /^X\(\/\/\)[^/].*/{
68071 + { as_dir=$dirpart/$fdir
68072 + case $as_dir in #(
68073 + -*) as_dir=./$as_dir;;
68075 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
68077 - while test ! -d "$as_dir"; do
68078 - as_dirs="$as_dir $as_dirs"
68079 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
68081 + case $as_dir in #(
68082 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
68083 + *) as_qdir=$as_dir;;
68085 + as_dirs="'$as_qdir' $as_dirs"
68086 + as_dir=`$as_dirname -- "$as_dir" ||
68087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68088 X"$as_dir" : 'X\(//\)[^/]' \| \
68089 X"$as_dir" : 'X\(//\)$' \| \
68090 - X"$as_dir" : 'X\(/\)' \| \
68091 - . : '\(.\)' 2>/dev/null ||
68092 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
68094 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
68095 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
68096 - /^X\(\/\/\)$/{ s//\1/; q; }
68097 - /^X\(\/\).*/{ s//\1/; q; }
68099 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68103 + /^X\(\/\/\)[^/].*/{
68116 + test -d "$as_dir" && break
68118 - test ! -n "$as_dirs" || mkdir $as_dirs
68119 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
68120 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
68121 + test -z "$as_dirs" || eval "mkdir $as_dirs"
68122 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
68123 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
68124 { (exit 1); exit 1; }; }; }
68126 # echo "creating $dirpart/$file"
68127 echo '# dummy' > "$dirpart/$file"
68131 - default ) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
68132 + "default":C) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
68139 -cat >>$CONFIG_STATUS <<\_ACEOF
68141 { (exit 0); exit 0; }
68143 --- a/ld/configure.tgt
68144 +++ b/ld/configure.tgt
68145 @@ -81,8 +81,10 @@ xscale-*-coff) targ_emul=armcoff ;;
68146 xscale-*-elf) targ_emul=armelf
68148 avr-*-*) targ_emul=avr2
68149 - targ_extra_emuls="avr1 avr3 avr4 avr5"
68151 + targ_extra_emuls="avr1 avr3 avr4 avr5" ;;
68152 +avr32-*-none) targ_emul=avr32elf_ap7000
68153 + targ_extra_emuls="avr32elf_uc3a0128 avr32elf_uc3a0256 avr32elf_uc3a0512 avr32elf_uc3a1128 avr32elf_uc3a1256 avr32elf_uc3a1512 avr32elf_uc3b064 avr32elf_uc3b0128 avr32elf_uc3b0256 avr32elf_uc3b164 avr32elf_uc3b1128 avr32elf_uc3b1256" ;;
68154 +avr32-*-linux*) targ_emul=avr32linux ;;
68155 bfin-*-elf) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
68156 bfin-*-uclinux*) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
68157 cr16c-*-elf*) targ_emul=elf32cr16c
68159 +++ b/ld/emulparams/avr32elf_ap7000.sh
68162 +SCRIPT_NAME=elf_xip
68163 +TEMPLATE_NAME=elf32
68164 +EXTRA_EM_FILE=avr32elf
68165 +OUTPUT_FORMAT="elf32-avr32"
68173 +TEXT_START_ADDR=0xa0000000
68174 +DATA_SEGMENT_ALIGN=8
68177 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH
68178 + . = . & 0x9fffffff;"
68182 + FLASH (rxai) : ORIGIN = 0x00000000, LENGTH = 0x4000000
68183 + SRAM (rwxa) : ORIGIN = 0x24000000, LENGTH = 0x8000
68185 +RO_LMA_REGION="FLASH"
68186 +RO_VMA_REGION="FLASH"
68187 +RW_LMA_REGION="FLASH"
68188 +RW_VMA_REGION="SRAM"
68191 +STACK_ADDR="ORIGIN(SRAM) + LENGTH(SRAM) - ${STACK_SIZE}"
68193 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68194 + . = ${STACK_ADDR};
68195 + __heap_end__ = .;"
68197 +++ b/ld/emulparams/avr32elf.sh
68201 +TEMPLATE_NAME=elf32
68202 +EXTRA_EM_FILE=avr32elf
68203 +OUTPUT_FORMAT="elf32-avr32"
68204 +TEXT_START_ADDR=0xa0000000
68210 +INITIAL_READONLY_SECTIONS=".reset : AT(0x0) { *(.reset) }
68211 + . = . & 0x9fffffff;"
68212 +DATA_START_SYMBOLS="__data_init_start__ = .;
68213 + __data_init_end__ = .;
68214 + __data_start__ = .;"
68216 +OTHER_BSS_SYMBOLS='__bss_start__ = .;'
68217 +OTHER_BSS_END_SYMBOLS="_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
68219 + __heap_start__ = .;
68220 + __heap_end__ = 0x82000000;"
68222 +STACK_ADDR=0x82000000
68225 +++ b/ld/emulparams/avr32elf_uc3a0128.sh
68228 +SCRIPT_NAME=elf_xip
68229 +TEMPLATE_NAME=elf32
68230 +EXTRA_EM_FILE=avr32elf
68231 +OUTPUT_FORMAT="elf32-avr32"
68239 +TEXT_START_ADDR=0x80000000
68240 +DATA_SEGMENT_ALIGN=8
68243 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68247 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68248 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68249 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68250 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68252 +RO_LMA_REGION="FLASH"
68253 +RO_VMA_REGION="FLASH"
68254 +RW_LMA_REGION="FLASH"
68255 +RW_VMA_REGION="INTRAM"
68258 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68260 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68261 + . = ${STACK_ADDR};
68262 + __heap_end__ = .;"
68264 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68265 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68267 \ No newline at end of file
68269 +++ b/ld/emulparams/avr32elf_uc3a0256.sh
68272 +SCRIPT_NAME=elf_xip
68273 +TEMPLATE_NAME=elf32
68274 +EXTRA_EM_FILE=avr32elf
68275 +OUTPUT_FORMAT="elf32-avr32"
68283 +TEXT_START_ADDR=0x80000000
68284 +DATA_SEGMENT_ALIGN=8
68287 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68291 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68292 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68293 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68294 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68296 +RO_LMA_REGION="FLASH"
68297 +RO_VMA_REGION="FLASH"
68298 +RW_LMA_REGION="FLASH"
68299 +RW_VMA_REGION="INTRAM"
68302 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68304 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68305 + . = ${STACK_ADDR};
68306 + __heap_end__ = .;"
68308 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68309 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68311 +++ b/ld/emulparams/avr32elf_uc3a0512.sh
68314 +SCRIPT_NAME=elf_xip
68315 +TEMPLATE_NAME=elf32
68316 +EXTRA_EM_FILE=avr32elf
68317 +OUTPUT_FORMAT="elf32-avr32"
68325 +TEXT_START_ADDR=0x80000000
68326 +DATA_SEGMENT_ALIGN=8
68329 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68333 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x80000
68334 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68335 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68336 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68338 +RO_LMA_REGION="FLASH"
68339 +RO_VMA_REGION="FLASH"
68340 +RW_LMA_REGION="FLASH"
68341 +RW_VMA_REGION="INTRAM"
68344 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68346 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68347 + . = ${STACK_ADDR};
68348 + __heap_end__ = .;"
68350 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68351 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68353 +++ b/ld/emulparams/avr32elf_uc3a1128.sh
68356 +SCRIPT_NAME=elf_xip
68357 +TEMPLATE_NAME=elf32
68358 +EXTRA_EM_FILE=avr32elf
68359 +OUTPUT_FORMAT="elf32-avr32"
68367 +TEXT_START_ADDR=0x80000000
68368 +DATA_SEGMENT_ALIGN=8
68371 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68375 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68376 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68377 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68378 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68380 +RO_LMA_REGION="FLASH"
68381 +RO_VMA_REGION="FLASH"
68382 +RW_LMA_REGION="FLASH"
68383 +RW_VMA_REGION="INTRAM"
68386 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68388 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68389 + . = ${STACK_ADDR};
68390 + __heap_end__ = .;"
68392 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68393 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68395 +++ b/ld/emulparams/avr32elf_uc3a1256.sh
68398 +SCRIPT_NAME=elf_xip
68399 +TEMPLATE_NAME=elf32
68400 +EXTRA_EM_FILE=avr32elf
68401 +OUTPUT_FORMAT="elf32-avr32"
68409 +TEXT_START_ADDR=0x80000000
68410 +DATA_SEGMENT_ALIGN=8
68413 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68417 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68418 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68419 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68420 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68422 +RO_LMA_REGION="FLASH"
68423 +RO_VMA_REGION="FLASH"
68424 +RW_LMA_REGION="FLASH"
68425 +RW_VMA_REGION="INTRAM"
68428 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68430 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68431 + . = ${STACK_ADDR};
68432 + __heap_end__ = .;"
68434 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68435 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68437 +++ b/ld/emulparams/avr32elf_uc3a1512.sh
68440 +SCRIPT_NAME=elf_xip
68441 +TEMPLATE_NAME=elf32
68442 +EXTRA_EM_FILE=avr32elf
68443 +OUTPUT_FORMAT="elf32-avr32"
68451 +TEXT_START_ADDR=0x80000000
68452 +DATA_SEGMENT_ALIGN=8
68455 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68459 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x80000
68460 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68461 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68462 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68464 +RO_LMA_REGION="FLASH"
68465 +RO_VMA_REGION="FLASH"
68466 +RW_LMA_REGION="FLASH"
68467 +RW_VMA_REGION="INTRAM"
68470 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68472 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68473 + . = ${STACK_ADDR};
68474 + __heap_end__ = .;"
68476 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68477 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68479 +++ b/ld/emulparams/avr32elf_uc3b0128.sh
68482 +SCRIPT_NAME=elf_xip
68483 +TEMPLATE_NAME=elf32
68484 +EXTRA_EM_FILE=avr32elf
68485 +OUTPUT_FORMAT="elf32-avr32"
68493 +TEXT_START_ADDR=0x80000000
68494 +DATA_SEGMENT_ALIGN=8
68497 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68501 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68502 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68503 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68504 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68506 +RO_LMA_REGION="FLASH"
68507 +RO_VMA_REGION="FLASH"
68508 +RW_LMA_REGION="FLASH"
68509 +RW_VMA_REGION="INTRAM"
68512 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68514 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68515 + . = ${STACK_ADDR};
68516 + __heap_end__ = .;"
68518 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68519 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68521 +++ b/ld/emulparams/avr32elf_uc3b0256.sh
68524 +SCRIPT_NAME=elf_xip
68525 +TEMPLATE_NAME=elf32
68526 +EXTRA_EM_FILE=avr32elf
68527 +OUTPUT_FORMAT="elf32-avr32"
68535 +TEXT_START_ADDR=0x80000000
68536 +DATA_SEGMENT_ALIGN=8
68539 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68543 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68544 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68545 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68546 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68548 +RO_LMA_REGION="FLASH"
68549 +RO_VMA_REGION="FLASH"
68550 +RW_LMA_REGION="FLASH"
68551 +RW_VMA_REGION="INTRAM"
68554 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68556 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68557 + . = ${STACK_ADDR};
68558 + __heap_end__ = .;"
68560 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68561 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68563 \ No newline at end of file
68565 +++ b/ld/emulparams/avr32elf_uc3b064.sh
68568 +SCRIPT_NAME=elf_xip
68569 +TEMPLATE_NAME=elf32
68570 +EXTRA_EM_FILE=avr32elf
68571 +OUTPUT_FORMAT="elf32-avr32"
68579 +TEXT_START_ADDR=0x80000000
68580 +DATA_SEGMENT_ALIGN=8
68583 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68587 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x10000
68588 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x4000
68589 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68590 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68592 +RO_LMA_REGION="FLASH"
68593 +RO_VMA_REGION="FLASH"
68594 +RW_LMA_REGION="FLASH"
68595 +RW_VMA_REGION="INTRAM"
68598 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68600 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68601 + . = ${STACK_ADDR};
68602 + __heap_end__ = .;"
68604 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68605 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68607 +++ b/ld/emulparams/avr32elf_uc3b1128.sh
68610 +SCRIPT_NAME=elf_xip
68611 +TEMPLATE_NAME=elf32
68612 +EXTRA_EM_FILE=avr32elf
68613 +OUTPUT_FORMAT="elf32-avr32"
68621 +TEXT_START_ADDR=0x80000000
68622 +DATA_SEGMENT_ALIGN=8
68625 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68629 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68630 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68631 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68632 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68634 +RO_LMA_REGION="FLASH"
68635 +RO_VMA_REGION="FLASH"
68636 +RW_LMA_REGION="FLASH"
68637 +RW_VMA_REGION="INTRAM"
68640 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68642 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68643 + . = ${STACK_ADDR};
68644 + __heap_end__ = .;"
68646 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68647 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68649 +++ b/ld/emulparams/avr32elf_uc3b1256.sh
68652 +SCRIPT_NAME=elf_xip
68653 +TEMPLATE_NAME=elf32
68654 +EXTRA_EM_FILE=avr32elf
68655 +OUTPUT_FORMAT="elf32-avr32"
68663 +TEXT_START_ADDR=0x80000000
68664 +DATA_SEGMENT_ALIGN=8
68667 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68671 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68672 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68673 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68674 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68676 +RO_LMA_REGION="FLASH"
68677 +RO_VMA_REGION="FLASH"
68678 +RW_LMA_REGION="FLASH"
68679 +RW_VMA_REGION="INTRAM"
68682 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68684 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68685 + . = ${STACK_ADDR};
68686 + __heap_end__ = .;"
68688 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68689 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68691 +++ b/ld/emulparams/avr32elf_uc3b164.sh
68694 +SCRIPT_NAME=elf_xip
68695 +TEMPLATE_NAME=elf32
68696 +EXTRA_EM_FILE=avr32elf
68697 +OUTPUT_FORMAT="elf32-avr32"
68705 +TEXT_START_ADDR=0x80000000
68706 +DATA_SEGMENT_ALIGN=8
68709 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68713 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x10000
68714 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x4000
68715 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68716 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68718 +RO_LMA_REGION="FLASH"
68719 +RO_VMA_REGION="FLASH"
68720 +RW_LMA_REGION="FLASH"
68721 +RW_VMA_REGION="INTRAM"
68724 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68726 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68727 + . = ${STACK_ADDR};
68728 + __heap_end__ = .;"
68730 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68731 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68733 \ No newline at end of file
68735 +++ b/ld/emulparams/avr32linux.sh
68739 +TEMPLATE_NAME=elf32
68740 +EXTRA_EM_FILE=avr32elf
68741 +OUTPUT_FORMAT="elf32-avr32"
68742 +GENERATE_SHLIB_SCRIPT=yes
68743 +MAXPAGESIZE=0x1000
68744 +TEXT_START_ADDR=0x00001000
68747 +# This appears to place the GOT before the data section, which is
68748 +# essential for uClinux. We don't use those .s* sections on AVR32
68749 +# anyway, so it shouldn't hurt for regular Linux either...
68752 +++ b/ld/emultempl/avr32elf.em
68754 +# This shell script emits a C file. -*- C -*-
68755 +# Copyright (C) 2007 Atmel Corporation
68757 +# This file is part of GLD, the Gnu Linker.
68759 +# This program is free software; you can redistribute it and/or modify
68760 +# it under the terms of the GNU General Public License as published by
68761 +# the Free Software Foundation; either version 2 of the License, or
68762 +# (at your option) any later version.
68764 +# This program is distributed in the hope that it will be useful,
68765 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
68766 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68767 +# GNU General Public License for more details.
68769 +# You should have received a copy of the GNU General Public License
68770 +# along with this program; if not, write to the Free Software
68771 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
68774 +# This file is sourced from elf32.em, and defines extra avr32-elf
68775 +# specific routines.
68778 +cat >> e${EMULATION_NAME}.c <<EOF
68780 +#include "libbfd.h"
68781 +#include "elf32-avr32.h"
68783 +/* Whether to allow direct references (sub or mov) to SEC_DATA and
68784 + !SEC_CONTENTS sections when optimizing. Not enabled by default
68785 + since it might cause link errors. */
68786 +static int direct_data_refs = 0;
68788 +static void avr32_elf_after_open (void)
68790 + bfd_elf32_avr32_set_options (&link_info, direct_data_refs);
68791 + gld${EMULATION_NAME}_after_open ();
68796 +# Define some shell vars to insert bits of code into the standard elf
68797 +# parse_args and list_options functions.
68799 +PARSE_AND_LIST_PROLOGUE='
68800 +#define OPTION_DIRECT_DATA 300
68801 +#define OPTION_NO_DIRECT_DATA 301
68804 +PARSE_AND_LIST_LONGOPTS='
68805 + { "direct-data", no_argument, NULL, OPTION_DIRECT_DATA },
68806 + { "no-direct-data", no_argument, NULL, OPTION_NO_DIRECT_DATA },
68809 +PARSE_AND_LIST_OPTIONS='
68810 + fprintf (file, _(" --direct-data\t\tAllow direct data references when optimizing\n"));
68811 + fprintf (file, _(" --no-direct-data\tDo not allow direct data references when optimizing\n"));
68814 +PARSE_AND_LIST_ARGS_CASES='
68815 + case OPTION_DIRECT_DATA:
68816 + direct_data_refs = 1;
68818 + case OPTION_NO_DIRECT_DATA:
68819 + direct_data_refs = 0;
68823 +# Replace some of the standard ELF functions with our own versions.
68825 +LDEMUL_AFTER_OPEN=avr32_elf_after_open
68829 -This is .././ld/ld.info, produced by makeinfo version 4.8 from
68830 -.././ld/ld.texinfo.
68832 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.info,
68833 +produced by makeinfo version 4.8 from
68834 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.texinfo.
68836 START-INFO-DIR-ENTRY
68837 * Ld: (ld). The GNU linker.
68838 @@ -4192,6 +4194,8 @@ not listed.
68840 * ARM:: `ld' and the ARM family
68842 +* AVR32:: `ld' and AVR32 processors
68844 * HPPA ELF32:: `ld' and HPPA 32-bit ELF
68846 * MMIX:: `ld' and MMIX
68847 @@ -4285,7 +4289,7 @@ target subroutine is a leaf routine (tha
68848 not itself call any subroutines).
68851 -File: ld.info, Node: ARM, Next: HPPA ELF32, Prev: i960, Up: Machine Dependent
68852 ++File: ld.info, Node: ARM, Next: AVR32, Prev: i960, Up: Machine Dependent
68854 4.3 `ld' and the ARM family
68855 ===========================
68856 @@ -4351,9 +4355,33 @@ entry. This should lead to such calls ex
68857 to specify it if you are using that target.
68860 -File: ld.info, Node: HPPA ELF32, Next: MMIX, Prev: ARM, Up: Machine Dependent
68861 +File: ld.info, Node: AVR32, Next: HPPA ELF32, Prev: ARM, Up: Machine Dependent
68863 +4.4 `ld' and AVR32 processors
68864 +=============================
68868 +`--no-direct-data'
68869 + Taking the address of a symbol can often be done by using a direct
68870 + `mov' or pc-relative `sub' instruction, which is faster than using
68871 + a PC- or GOT-relative load, especially on the uC3 processors.
68872 + However, this does not always work when dealing with symbols in
68873 + the `.data' section so this optimization is disabled by default.
68875 + Specifying `--direct-data' will enable this optimization. Note
68876 + that this may cause `relocation truncated to fit' errors for
68877 + certain large programs. If this happens, the optimization can be
68878 + turned off by specifying `--no-direct-data'.
68880 + All known issues with direct data optimizations are detected at
68881 + link time, so if the linker doesn't complain, the result should
68885 +File: ld.info, Node: HPPA ELF32, Next: MMIX, Prev: AVR32, Up: Machine Dependent
68887 -4.4 `ld' and HPPA 32-bit ELF Support
68888 +4.5 `ld' and HPPA 32-bit ELF Support
68889 ====================================
68891 When generating a shared library, `ld' will by default generate import
68892 @@ -4384,7 +4412,7 @@ large, it may not be possible for a bran
68894 File: ld.info, Node: MMIX, Next: MSP430, Prev: HPPA ELF32, Up: Machine Dependent
68900 For MMIX, there is a choice of generating `ELF' object files or `mmo'
68901 @@ -4412,7 +4440,7 @@ section, are left out from an mmo file.
68903 File: ld.info, Node: MSP430, Next: PowerPC ELF32, Prev: MMIX, Up: Machine Dependent
68905 -4.6 `ld' and MSP430
68906 +4.7 `ld' and MSP430
68907 ===================
68909 For the MSP430 it is possible to select the MPU architecture. The flag
68910 @@ -4446,7 +4474,7 @@ specific:
68912 File: ld.info, Node: PowerPC ELF32, Next: PowerPC64 ELF64, Prev: MSP430, Up: Machine Dependent
68914 -4.7 `ld' and PowerPC 32-bit ELF Support
68915 +4.8 `ld' and PowerPC 32-bit ELF Support
68916 =======================================
68918 Branches on PowerPC processors are limited to a signed 26-bit
68919 @@ -4577,7 +4605,7 @@ File: ld.info, Node: PowerPC64 ELF64,
68921 File: ld.info, Node: TI COFF, Next: WIN32, Prev: PowerPC64 ELF64, Up: Machine Dependent
68923 -4.9 `ld''s Support for Various TI COFF Versions
68924 +4.10 `ld''s Support for Various TI COFF Versions
68925 ===============================================
68927 The `--format' switch allows selection of one of the various TI COFF
68928 @@ -4589,7 +4617,7 @@ depends on the default specified by the
68930 File: ld.info, Node: WIN32, Next: Xtensa, Prev: TI COFF, Up: Machine Dependent
68932 -4.10 `ld' and WIN32 (cygwin/mingw)
68933 +4.11 `ld' and WIN32 (cygwin/mingw)
68934 ==================================
68936 This section describes some of the win32 specific `ld' issues. See
68937 @@ -4986,7 +5014,7 @@ _weak externals_
68939 File: ld.info, Node: Xtensa, Prev: WIN32, Up: Machine Dependent
68941 -4.11 `ld' and Xtensa Processors
68942 +4.12 `ld' and Xtensa Processors
68943 ===============================
68945 The default `ld' behavior for Xtensa processors is to interpret
68946 @@ -5954,6 +5982,7 @@ Index
68947 * --default-symver: Options. (line 849)
68948 * --defsym SYMBOL=EXP: Options. (line 739)
68949 * --demangle[=STYLE]: Options. (line 752)
68950 +* --direct-data: AVR32. (line 6)
68951 * --disable-auto-image-base: Options. (line 1495)
68952 * --disable-auto-import: Options. (line 1624)
68953 * --disable-new-dtags: Options. (line 1295)
68954 @@ -6016,6 +6045,7 @@ Index
68955 * --no-check-sections: Options. (line 701)
68956 * --no-define-common: Options. (line 723)
68957 * --no-demangle: Options. (line 752)
68958 +* --no-direct-data: AVR32. (line 6)
68959 * --no-dotsyms: PowerPC64 ELF64. (line 33)
68960 * --no-gc-sections: Options. (line 784)
68961 * --no-keep-memory: Options. (line 804)
68962 @@ -6200,6 +6230,7 @@ Index
68963 * AT(LMA): Output Section LMA. (line 6)
68964 * AT>LMA_REGION: Output Section LMA. (line 6)
68965 * automatic data imports: WIN32. (line 170)
68966 +* AVR32 options: AVR32. (line 6)
68967 * back end: BFD. (line 6)
68968 * BASE (MRI): MRI. (line 54)
68969 * BE8: ARM. (line 23)
68970 @@ -6611,81 +6642,161 @@ Index
68975 -Node: Overview
\7f1109
68976 -Node: Invocation
\7f2223
68977 -Node: Options
\7f2631
68978 -Node: Environment
\7f77286
68979 -Node: Scripts
\7f79046
68980 -Node: Basic Script Concepts
\7f80780
68981 -Node: Script Format
\7f83487
68982 -Node: Simple Example
\7f84350
68983 -Node: Simple Commands
\7f87446
68984 -Node: Entry Point
\7f87897
68985 -Node: File Commands
\7f88656
68986 -Node: Format Commands
\7f92522
68987 -Node: Miscellaneous Commands
\7f94488
68988 -Node: Assignments
\7f96718
68989 -Node: Simple Assignments
\7f97209
68990 -Node: PROVIDE
\7f98945
68991 -Node: PROVIDE_HIDDEN
\7f100150
68992 -Node: Source Code Reference
\7f100394
68993 -Node: SECTIONS
\7f103974
68994 -Node: Output Section Description
\7f105865
68995 -Node: Output Section Name
\7f106918
68996 -Node: Output Section Address
\7f107794
68997 -Node: Input Section
\7f109443
68998 -Node: Input Section Basics
\7f110244
68999 -Node: Input Section Wildcards
\7f112596
69000 -Node: Input Section Common
\7f117329
69001 -Node: Input Section Keep
\7f118811
69002 -Node: Input Section Example
\7f119301
69003 -Node: Output Section Data
\7f120269
69004 -Node: Output Section Keywords
\7f123046
69005 -Node: Output Section Discarding
\7f126615
69006 -Node: Output Section Attributes
\7f127571
69007 -Node: Output Section Type
\7f128575
69008 -Node: Output Section LMA
\7f129729
69009 -Node: Forced Output Alignment
\7f132000
69010 -Node: Forced Input Alignment
\7f132268
69011 -Node: Output Section Region
\7f132653
69012 -Node: Output Section Phdr
\7f133083
69013 -Node: Output Section Fill
\7f133747
69014 -Node: Overlay Description
\7f134889
69015 -Node: MEMORY
\7f139137
69016 -Node: PHDRS
\7f143337
69017 -Node: VERSION
\7f148376
69018 -Node: Expressions
\7f156167
69019 -Node: Constants
\7f157045
69020 -Node: Symbols
\7f157606
69021 -Node: Orphan Sections
\7f158344
69022 -Node: Location Counter
\7f159107
69023 -Node: Operators
\7f163411
69024 -Node: Evaluation
\7f164333
69025 -Node: Expression Section
\7f165697
69026 -Node: Builtin Functions
\7f167186
69027 -Node: Implicit Linker Scripts
\7f174678
69028 -Node: Machine Dependent
\7f175453
69029 -Node: H8/300
\7f176314
69030 -Node: i960
\7f177939
69031 -Node: ARM
\7f179624
69032 -Node: HPPA ELF32
\7f182540
69033 -Node: MMIX
\7f184163
69034 -Node: MSP430
\7f185380
69035 -Node: PowerPC ELF32
\7f186428
69036 -Node: PowerPC64 ELF64
\7f188719
69037 -Node: TI COFF
\7f193133
69038 -Node: WIN32
\7f193665
69039 -Node: Xtensa
\7f211739
69040 -Node: BFD
\7f214861
69041 -Node: BFD outline
\7f216316
69042 -Node: BFD information loss
\7f217602
69043 -Node: Canonical format
\7f220119
69044 -Node: Reporting Bugs
\7f224476
69045 -Node: Bug Criteria
\7f225170
69046 -Node: Bug Reporting
\7f225869
69047 -Node: MRI
\7f232894
69048 -Node: GNU Free Documentation License
\7f237537
69049 -Node: Index
\7f257251
69052 +Node: Overview
\7f1249
69053 +Node: Invocation
\7f2363
69054 +Node: Options
\7f2771
69055 +Node: Environment
\7f77426
69056 +Node: Scripts
\7f79186
69057 +Node: Basic Script Concepts
\7f80920
69058 +Node: Script Format
\7f83627
69059 +Node: Simple Example
\7f84490
69060 +Node: Simple Commands
\7f87586
69061 +Node: Entry Point
\7f88037
69062 +Node: File Commands
\7f88796
69063 +Node: Format Commands
\7f92662
69064 +Node: Miscellaneous Commands
\7f94628
69065 +Node: Assignments
\7f96858
69066 +Node: Simple Assignments
\7f97349
69067 +Node: PROVIDE
\7f99085
69068 +Node: PROVIDE_HIDDEN
\7f100290
69069 +Node: Source Code Reference
\7f100534
69070 +Node: SECTIONS
\7f104114
69071 +Node: Output Section Description
\7f106005
69072 +Node: Output Section Name
\7f107058
69073 +Node: Output Section Address
\7f107934
69074 +Node: Input Section
\7f109583
69075 +Node: Input Section Basics
\7f110384
69076 +Node: Input Section Wildcards
\7f112736
69077 +Node: Input Section Common
\7f117469
69078 +Node: Input Section Keep
\7f118951
69079 +Node: Input Section Example
\7f119441
69080 +Node: Output Section Data
\7f120409
69081 +Node: Output Section Keywords
\7f123186
69082 +Node: Output Section Discarding
\7f126755
69083 +Node: Output Section Attributes
\7f127711
69084 +Node: Output Section Type
\7f128715
69085 +Node: Output Section LMA
\7f129869
69086 +Node: Forced Output Alignment
\7f132140
69087 +Node: Forced Input Alignment
\7f132408
69088 +Node: Output Section Region
\7f132793
69089 +Node: Output Section Phdr
\7f133223
69090 +Node: Output Section Fill
\7f133887
69091 +Node: Overlay Description
\7f135029
69092 +Node: MEMORY
\7f139277
69093 +Node: PHDRS
\7f143477
69094 +Node: VERSION
\7f148516
69095 +Node: Expressions
\7f156307
69096 +Node: Constants
\7f157185
69097 +Node: Symbols
\7f157746
69098 +Node: Orphan Sections
\7f158484
69099 +Node: Location Counter
\7f159247
69100 +Node: Operators
\7f163551
69101 +Node: Evaluation
\7f164473
69102 +Node: Expression Section
\7f165837
69103 +Node: Builtin Functions
\7f167326
69104 +Node: Implicit Linker Scripts
\7f174818
69105 +Node: Machine Dependent
\7f175593
69106 +Node: H8/300
\7f176454
69107 +Node: i960
\7f178079
69108 +Node: ARM
\7f179764
69109 +Node: HPPA ELF32
\7f182680
69110 +Node: MMIX
\7f184303
69111 +Node: MSP430
\7f185520
69112 +Node: PowerPC ELF32
\7f186568
69113 +Node: PowerPC64 ELF64
\7f188859
69114 +Node: TI COFF
\7f193273
69115 +Node: WIN32
\7f193805
69116 +Node: Xtensa
\7f211879
69117 +Node: BFD
\7f215001
69118 +Node: BFD outline
\7f216456
69119 +Node: BFD information loss
\7f217742
69120 +Node: Canonical format
\7f220259
69121 +Node: Reporting Bugs
\7f224616
69122 +Node: Bug Criteria
\7f225310
69123 +Node: Bug Reporting
\7f226009
69124 +Node: MRI
\7f233034
69125 +Node: GNU Free Documentation License
\7f237677
69126 +Node: Index
\7f257391
69129 +Node: Overview
\7f1093
69130 +Node: Invocation
\7f2207
69131 +Node: Options
\7f2615
69132 +Node: Environment
\7f77270
69133 +Node: Scripts
\7f79030
69134 +Node: Basic Script Concepts
\7f80764
69135 +Node: Script Format
\7f83471
69136 +Node: Simple Example
\7f84334
69137 +Node: Simple Commands
\7f87430
69138 +Node: Entry Point
\7f87881
69139 +Node: File Commands
\7f88640
69140 +Node: Format Commands
\7f92506
69141 +Node: Miscellaneous Commands
\7f94472
69142 +Node: Assignments
\7f96702
69143 +Node: Simple Assignments
\7f97193
69144 +Node: PROVIDE
\7f98929
69145 +Node: PROVIDE_HIDDEN
\7f100134
69146 +Node: Source Code Reference
\7f100378
69147 +Node: SECTIONS
\7f103958
69148 +Node: Output Section Description
\7f105849
69149 +Node: Output Section Name
\7f106902
69150 +Node: Output Section Address
\7f107778
69151 +Node: Input Section
\7f109427
69152 +Node: Input Section Basics
\7f110228
69153 +Node: Input Section Wildcards
\7f112580
69154 +Node: Input Section Common
\7f117313
69155 +Node: Input Section Keep
\7f118795
69156 +Node: Input Section Example
\7f119285
69157 +Node: Output Section Data
\7f120253
69158 +Node: Output Section Keywords
\7f123030
69159 +Node: Output Section Discarding
\7f126599
69160 +Node: Output Section Attributes
\7f127555
69161 +Node: Output Section Type
\7f128559
69162 +Node: Output Section LMA
\7f129713
69163 +Node: Forced Output Alignment
\7f131984
69164 +Node: Forced Input Alignment
\7f132252
69165 +Node: Output Section Region
\7f132637
69166 +Node: Output Section Phdr
\7f133067
69167 +Node: Output Section Fill
\7f133731
69168 +Node: Overlay Description
\7f134873
69169 +Node: MEMORY
\7f139121
69170 +Node: PHDRS
\7f143321
69171 +Node: VERSION
\7f148360
69172 +Node: Expressions
\7f156151
69173 +Node: Constants
\7f157029
69174 +Node: Symbols
\7f157590
69175 +Node: Orphan Sections
\7f158328
69176 +Node: Location Counter
\7f159091
69177 +Node: Operators
\7f163395
69178 +Node: Evaluation
\7f164317
69179 +Node: Expression Section
\7f165681
69180 +Node: Builtin Functions
\7f167170
69181 +Node: Implicit Linker Scripts
\7f174662
69182 +Node: Machine Dependent
\7f175437
69183 +Node: H8/300
\7f176357
69184 +Node: i960
\7f177982
69185 +Node: ARM
\7f179667
69186 +Node: AVR32
\7f182578
69187 +Node: HPPA ELF32
\7f183526
69188 +Node: MMIX
\7f185151
69189 +Node: MSP430
\7f186368
69190 +Node: PowerPC ELF32
\7f187416
69191 +Node: PowerPC64 ELF64
\7f189707
69192 +Node: TI COFF
\7f194121
69193 +Node: WIN32
\7f194655
69194 +Node: Xtensa
\7f212729
69195 +Node: BFD
\7f215851
69196 +Node: BFD outline
\7f217306
69197 +Node: BFD information loss
\7f218592
69198 +Node: Canonical format
\7f221109
69199 +Node: Reporting Bugs
\7f225466
69200 +Node: Bug Criteria
\7f226160
69201 +Node: Bug Reporting
\7f226859
69202 +Node: MRI
\7f233884
69203 +Node: GNU Free Documentation License
\7f238527
69204 +Node: Index
\7f258241
69209 +++ b/ld/ld.info.mine
69212 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.info,
69213 +produced by makeinfo version 4.8 from
69214 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.texinfo.
69216 +START-INFO-DIR-ENTRY
69217 +* Ld: (ld). The GNU linker.
69218 +END-INFO-DIR-ENTRY
69220 + This file documents the GNU linker LD version 2.17.
69222 + Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001,
69223 +2002, 2003, 2004 Free Software Foundation, Inc.
69226 +File: ld.info, Node: Top, Next: Overview, Up: (dir)
69231 +This file documents the GNU linker ld version 2.17.
69233 + This document is distributed under the terms of the GNU Free
69234 +Documentation License. A copy of the license is included in the
69235 +section entitled "GNU Free Documentation License".
69239 +* Overview:: Overview
69240 +* Invocation:: Invocation
69241 +* Scripts:: Linker Scripts
69243 +* Machine Dependent:: Machine Dependent Features
69247 +* Reporting Bugs:: Reporting Bugs
69248 +* MRI:: MRI Compatible Script Files
69249 +* GNU Free Documentation License:: GNU Free Documentation License
69253 +File: ld.info, Node: Overview, Next: Invocation, Prev: Top, Up: Top
69258 +`ld' combines a number of object and archive files, relocates their
69259 +data and ties up symbol references. Usually the last step in compiling
69260 +a program is to run `ld'.
69262 + `ld' accepts Linker Command Language files written in a superset of
69263 +AT&T's Link Editor Command Language syntax, to provide explicit and
69264 +total control over the linking process.
69266 + This version of `ld' uses the general purpose BFD libraries to
69267 +operate on object files. This allows `ld' to read, combine, and write
69268 +object files in many different formats--for example, COFF or `a.out'.
69269 +Different formats may be linked together to produce any available kind
69270 +of object file. *Note BFD::, for more information.
69272 + Aside from its flexibility, the GNU linker is more helpful than other
69273 +linkers in providing diagnostic information. Many linkers abandon
69274 +execution immediately upon encountering an error; whenever possible,
69275 +`ld' continues executing, allowing you to identify other errors (or, in
69276 +some cases, to get an output file in spite of the error).
69279 +File: ld.info, Node: Invocation, Next: Scripts, Prev: Overview, Up: Top
69284 +The GNU linker `ld' is meant to cover a broad range of situations, and
69285 +to be as compatible as possible with other linkers. As a result, you
69286 +have many choices to control its behavior.
69290 +* Options:: Command Line Options
69291 +* Environment:: Environment Variables
69294 +File: ld.info, Node: Options, Next: Environment, Up: Invocation
69296 +2.1 Command Line Options
69297 +========================
69299 + The linker supports a plethora of command-line options, but in actual
69300 +practice few of them are used in any particular context. For instance,
69301 +a frequent use of `ld' is to link standard Unix object files on a
69302 +standard, supported Unix system. On such a system, to link a file
69305 + ld -o OUTPUT /lib/crt0.o hello.o -lc
69307 + This tells `ld' to produce a file called OUTPUT as the result of
69308 +linking the file `/lib/crt0.o' with `hello.o' and the library `libc.a',
69309 +which will come from the standard search directories. (See the
69310 +discussion of the `-l' option below.)
69312 + Some of the command-line options to `ld' may be specified at any
69313 +point in the command line. However, options which refer to files, such
69314 +as `-l' or `-T', cause the file to be read at the point at which the
69315 +option appears in the command line, relative to the object files and
69316 +other file options. Repeating non-file options with a different
69317 +argument will either have no further effect, or override prior
69318 +occurrences (those further to the left on the command line) of that
69319 +option. Options which may be meaningfully specified more than once are
69320 +noted in the descriptions below.
69322 + Non-option arguments are object files or archives which are to be
69323 +linked together. They may follow, precede, or be mixed in with
69324 +command-line options, except that an object file argument may not be
69325 +placed between an option and its argument.
69327 + Usually the linker is invoked with at least one object file, but you
69328 +can specify other forms of binary input files using `-l', `-R', and the
69329 +script command language. If _no_ binary input files at all are
69330 +specified, the linker does not produce any output, and issues the
69331 +message `No input files'.
69333 + If the linker cannot recognize the format of an object file, it will
69334 +assume that it is a linker script. A script specified in this way
69335 +augments the main linker script used for the link (either the default
69336 +linker script or the one specified by using `-T'). This feature
69337 +permits the linker to link against a file which appears to be an object
69338 +or an archive, but actually merely defines some symbol values, or uses
69339 +`INPUT' or `GROUP' to load other objects. Note that specifying a
69340 +script in this way merely augments the main linker script; use the `-T'
69341 +option to replace the default linker script entirely. *Note Scripts::.
69343 + For options whose names are a single letter, option arguments must
69344 +either follow the option letter without intervening whitespace, or be
69345 +given as separate arguments immediately following the option that
69348 + For options whose names are multiple letters, either one dash or two
69349 +can precede the option name; for example, `-trace-symbol' and
69350 +`--trace-symbol' are equivalent. Note--there is one exception to this
69351 +rule. Multiple letter options that start with a lower case 'o' can
69352 +only be preceeded by two dashes. This is to reduce confusion with the
69353 +`-o' option. So for example `-omagic' sets the output file name to
69354 +`magic' whereas `--omagic' sets the NMAGIC flag on the output.
69356 + Arguments to multiple-letter options must either be separated from
69357 +the option name by an equals sign, or be given as separate arguments
69358 +immediately following the option that requires them. For example,
69359 +`--trace-symbol foo' and `--trace-symbol=foo' are equivalent. Unique
69360 +abbreviations of the names of multiple-letter options are accepted.
69362 + Note--if the linker is being invoked indirectly, via a compiler
69363 +driver (e.g. `gcc') then all the linker command line options should be
69364 +prefixed by `-Wl,' (or whatever is appropriate for the particular
69365 +compiler driver) like this:
69367 + gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup
69369 + This is important, because otherwise the compiler driver program may
69370 +silently drop the linker options, resulting in a bad link.
69372 + Here is a table of the generic command line switches accepted by the
69376 + Read command-line options from FILE. The options read are
69377 + inserted in place of the original @FILE option. If FILE does not
69378 + exist, or cannot be read, then the option will be treated
69379 + literally, and not removed.
69381 + Options in FILE are separated by whitespace. A whitespace
69382 + character may be included in an option by surrounding the entire
69383 + option in either single or double quotes. Any character
69384 + (including a backslash) may be included by prefixing the character
69385 + to be included with a backslash. The FILE may itself contain
69386 + additional @FILE options; any such options will be processed
69390 + This option is supported for HP/UX compatibility. The KEYWORD
69391 + argument must be one of the strings `archive', `shared', or
69392 + `default'. `-aarchive' is functionally equivalent to `-Bstatic',
69393 + and the other two keywords are functionally equivalent to
69394 + `-Bdynamic'. This option may be used any number of times.
69397 +`--architecture=ARCHITECTURE'
69398 + In the current release of `ld', this option is useful only for the
69399 + Intel 960 family of architectures. In that `ld' configuration, the
69400 + ARCHITECTURE argument identifies the particular architecture in
69401 + the 960 family, enabling some safeguards and modifying the
69402 + archive-library search path. *Note `ld' and the Intel 960 family:
69403 + i960, for details.
69405 + Future releases of `ld' may support similar functionality for
69406 + other architecture families.
69409 +`--format=INPUT-FORMAT'
69410 + `ld' may be configured to support more than one kind of object
69411 + file. If your `ld' is configured this way, you can use the `-b'
69412 + option to specify the binary format for input object files that
69413 + follow this option on the command line. Even when `ld' is
69414 + configured to support alternative object formats, you don't
69415 + usually need to specify this, as `ld' should be configured to
69416 + expect as a default input format the most usual format on each
69417 + machine. INPUT-FORMAT is a text string, the name of a particular
69418 + format supported by the BFD libraries. (You can list the
69419 + available binary formats with `objdump -i'.) *Note BFD::.
69421 + You may want to use this option if you are linking files with an
69422 + unusual binary format. You can also use `-b' to switch formats
69423 + explicitly (when linking object files of different formats), by
69424 + including `-b INPUT-FORMAT' before each group of object files in a
69425 + particular format.
69427 + The default format is taken from the environment variable
69428 + `GNUTARGET'. *Note Environment::. You can also define the input
69429 + format from a script, using the command `TARGET'; see *Note Format
69432 +`-c MRI-COMMANDFILE'
69433 +`--mri-script=MRI-COMMANDFILE'
69434 + For compatibility with linkers produced by MRI, `ld' accepts script
69435 + files written in an alternate, restricted command language,
69436 + described in *Note MRI Compatible Script Files: MRI. Introduce
69437 + MRI script files with the option `-c'; use the `-T' option to run
69438 + linker scripts written in the general-purpose `ld' scripting
69439 + language. If MRI-CMDFILE does not exist, `ld' looks for it in the
69440 + directories specified by any `-L' options.
69445 + These three options are equivalent; multiple forms are supported
69446 + for compatibility with other linkers. They assign space to common
69447 + symbols even if a relocatable output file is specified (with
69448 + `-r'). The script command `FORCE_COMMON_ALLOCATION' has the same
69449 + effect. *Note Miscellaneous Commands::.
69453 + Use ENTRY as the explicit symbol for beginning execution of your
69454 + program, rather than the default entry point. If there is no
69455 + symbol named ENTRY, the linker will try to parse ENTRY as a number,
69456 + and use that as the entry address (the number will be interpreted
69457 + in base 10; you may use a leading `0x' for base 16, or a leading
69458 + `0' for base 8). *Note Entry Point::, for a discussion of defaults
69459 + and other ways of specifying the entry point.
69461 +`--exclude-libs LIB,LIB,...'
69462 + Specifies a list of archive libraries from which symbols should
69463 + not be automatically exported. The library names may be delimited
69464 + by commas or colons. Specifying `--exclude-libs ALL' excludes
69465 + symbols in all archive libraries from automatic export. This
69466 + option is available only for the i386 PE targeted port of the
69467 + linker and for ELF targeted ports. For i386 PE, symbols
69468 + explicitly listed in a .def file are still exported, regardless of
69469 + this option. For ELF targeted ports, symbols affected by this
69470 + option will be treated as hidden.
69473 +`--export-dynamic'
69474 + When creating a dynamically linked executable, add all symbols to
69475 + the dynamic symbol table. The dynamic symbol table is the set of
69476 + symbols which are visible from dynamic objects at run time.
69478 + If you do not use this option, the dynamic symbol table will
69479 + normally contain only those symbols which are referenced by some
69480 + dynamic object mentioned in the link.
69482 + If you use `dlopen' to load a dynamic object which needs to refer
69483 + back to the symbols defined by the program, rather than some other
69484 + dynamic object, then you will probably need to use this option when
69485 + linking the program itself.
69487 + You can also use the version script to control what symbols should
69488 + be added to the dynamic symbol table if the output format supports
69489 + it. See the description of `--version-script' in *Note VERSION::.
69492 + Link big-endian objects. This affects the default output format.
69495 + Link little-endian objects. This affects the default output
69499 +`--auxiliary NAME'
69500 + When creating an ELF shared object, set the internal DT_AUXILIARY
69501 + field to the specified name. This tells the dynamic linker that
69502 + the symbol table of the shared object should be used as an
69503 + auxiliary filter on the symbol table of the shared object NAME.
69505 + If you later link a program against this filter object, then, when
69506 + you run the program, the dynamic linker will see the DT_AUXILIARY
69507 + field. If the dynamic linker resolves any symbols from the filter
69508 + object, it will first check whether there is a definition in the
69509 + shared object NAME. If there is one, it will be used instead of
69510 + the definition in the filter object. The shared object NAME need
69511 + not exist. Thus the shared object NAME may be used to provide an
69512 + alternative implementation of certain functions, perhaps for
69513 + debugging or for machine specific performance.
69515 + This option may be specified more than once. The DT_AUXILIARY
69516 + entries will be created in the order in which they appear on the
69521 + When creating an ELF shared object, set the internal DT_FILTER
69522 + field to the specified name. This tells the dynamic linker that
69523 + the symbol table of the shared object which is being created
69524 + should be used as a filter on the symbol table of the shared
69527 + If you later link a program against this filter object, then, when
69528 + you run the program, the dynamic linker will see the DT_FILTER
69529 + field. The dynamic linker will resolve symbols according to the
69530 + symbol table of the filter object as usual, but it will actually
69531 + link to the definitions found in the shared object NAME. Thus the
69532 + filter object can be used to select a subset of the symbols
69533 + provided by the object NAME.
69535 + Some older linkers used the `-F' option throughout a compilation
69536 + toolchain for specifying object-file format for both input and
69537 + output object files. The GNU linker uses other mechanisms for
69538 + this purpose: the `-b', `--format', `--oformat' options, the
69539 + `TARGET' command in linker scripts, and the `GNUTARGET'
69540 + environment variable. The GNU linker will ignore the `-F' option
69541 + when not creating an ELF shared object.
69544 + When creating an ELF executable or shared object, call NAME when
69545 + the executable or shared object is unloaded, by setting DT_FINI to
69546 + the address of the function. By default, the linker uses `_fini'
69547 + as the function to call.
69550 + Ignored. Provided for compatibility with other tools.
69554 + Set the maximum size of objects to be optimized using the GP
69555 + register to SIZE. This is only meaningful for object file formats
69556 + such as MIPS ECOFF which supports putting large and small objects
69557 + into different sections. This is ignored for other object file
69562 + When creating an ELF shared object, set the internal DT_SONAME
69563 + field to the specified name. When an executable is linked with a
69564 + shared object which has a DT_SONAME field, then when the
69565 + executable is run the dynamic linker will attempt to load the
69566 + shared object specified by the DT_SONAME field rather than the
69567 + using the file name given to the linker.
69570 + Perform an incremental link (same as option `-r').
69573 + When creating an ELF executable or shared object, call NAME when
69574 + the executable or shared object is loaded, by setting DT_INIT to
69575 + the address of the function. By default, the linker uses `_init'
69576 + as the function to call.
69579 +`--library=ARCHIVE'
69580 + Add archive file ARCHIVE to the list of files to link. This
69581 + option may be used any number of times. `ld' will search its
69582 + path-list for occurrences of `libARCHIVE.a' for every ARCHIVE
69585 + On systems which support shared libraries, `ld' may also search for
69586 + libraries with extensions other than `.a'. Specifically, on ELF
69587 + and SunOS systems, `ld' will search a directory for a library with
69588 + an extension of `.so' before searching for one with an extension of
69589 + `.a'. By convention, a `.so' extension indicates a shared library.
69591 + The linker will search an archive only once, at the location where
69592 + it is specified on the command line. If the archive defines a
69593 + symbol which was undefined in some object which appeared before
69594 + the archive on the command line, the linker will include the
69595 + appropriate file(s) from the archive. However, an undefined
69596 + symbol in an object appearing later on the command line will not
69597 + cause the linker to search the archive again.
69599 + See the `-(' option for a way to force the linker to search
69600 + archives multiple times.
69602 + You may list the same archive multiple times on the command line.
69604 + This type of archive searching is standard for Unix linkers.
69605 + However, if you are using `ld' on AIX, note that it is different
69606 + from the behaviour of the AIX linker.
69609 +`--library-path=SEARCHDIR'
69610 + Add path SEARCHDIR to the list of paths that `ld' will search for
69611 + archive libraries and `ld' control scripts. You may use this
69612 + option any number of times. The directories are searched in the
69613 + order in which they are specified on the command line.
69614 + Directories specified on the command line are searched before the
69615 + default directories. All `-L' options apply to all `-l' options,
69616 + regardless of the order in which the options appear.
69618 + If SEARCHDIR begins with `=', then the `=' will be replaced by the
69619 + "sysroot prefix", a path specified when the linker is configured.
69621 + The default set of paths searched (without being specified with
69622 + `-L') depends on which emulation mode `ld' is using, and in some
69623 + cases also on how it was configured. *Note Environment::.
69625 + The paths can also be specified in a link script with the
69626 + `SEARCH_DIR' command. Directories specified this way are searched
69627 + at the point in which the linker script appears in the command
69631 + Emulate the EMULATION linker. You can list the available
69632 + emulations with the `--verbose' or `-V' options.
69634 + If the `-m' option is not used, the emulation is taken from the
69635 + `LDEMULATION' environment variable, if that is defined.
69637 + Otherwise, the default emulation depends upon how the linker was
69642 + Print a link map to the standard output. A link map provides
69643 + information about the link, including the following:
69645 + * Where object files are mapped into memory.
69647 + * How common symbols are allocated.
69649 + * All archive members included in the link, with a mention of
69650 + the symbol which caused the archive member to be brought in.
69652 + * The values assigned to symbols.
69654 + Note - symbols whose values are computed by an expression
69655 + which involves a reference to a previous value of the same
69656 + symbol may not have correct result displayed in the link map.
69657 + This is because the linker discards intermediate results and
69658 + only retains the final value of an expression. Under such
69659 + circumstances the linker will display the final value
69660 + enclosed by square brackets. Thus for example a linker
69661 + script containing:
69667 + will produce the following output in the link map if the `-M'
69670 + 0x00000001 foo = 0x1
69671 + [0x0000000c] foo = (foo * 0x4)
69672 + [0x0000000c] foo = (foo + 0x8)
69674 + See *Note Expressions:: for more information about
69675 + expressions in linker scripts.
69679 + Turn off page alignment of sections, and mark the output as
69680 + `NMAGIC' if possible.
69684 + Set the text and data sections to be readable and writable. Also,
69685 + do not page-align the data segment, and disable linking against
69686 + shared libraries. If the output format supports Unix style magic
69687 + numbers, mark the output as `OMAGIC'. Note: Although a writable
69688 + text section is allowed for PE-COFF targets, it does not conform
69689 + to the format specification published by Microsoft.
69692 + This option negates most of the effects of the `-N' option. It
69693 + sets the text section to be read-only, and forces the data segment
69694 + to be page-aligned. Note - this option does not enable linking
69695 + against shared libraries. Use `-Bdynamic' for this.
69699 + Use OUTPUT as the name for the program produced by `ld'; if this
69700 + option is not specified, the name `a.out' is used by default. The
69701 + script command `OUTPUT' can also specify the output file name.
69704 + If LEVEL is a numeric values greater than zero `ld' optimizes the
69705 + output. This might take significantly longer and therefore
69706 + probably should only be enabled for the final binary.
69710 + Leave relocation sections and contents in fully linked
69711 + exececutables. Post link analysis and optimization tools may need
69712 + this information in order to perform correct modifications of
69713 + executables. This results in larger executables.
69715 + This option is currently only supported on ELF platforms.
69718 + Force the output file to have dynamic sections. This option is
69719 + specific to VxWorks targets.
69723 + Generate relocatable output--i.e., generate an output file that
69724 + can in turn serve as input to `ld'. This is often called "partial
69725 + linking". As a side effect, in environments that support standard
69726 + Unix magic numbers, this option also sets the output file's magic
69727 + number to `OMAGIC'. If this option is not specified, an absolute
69728 + file is produced. When linking C++ programs, this option _will
69729 + not_ resolve references to constructors; to do that, use `-Ur'.
69731 + When an input file does not have the same format as the output
69732 + file, partial linking is only supported if that input file does
69733 + not contain any relocations. Different output formats can have
69734 + further restrictions; for example some `a.out'-based formats do
69735 + not support partial linking with input files in other formats at
69738 + This option does the same thing as `-i'.
69741 +`--just-symbols=FILENAME'
69742 + Read symbol names and their addresses from FILENAME, but do not
69743 + relocate it or include it in the output. This allows your output
69744 + file to refer symbolically to absolute locations of memory defined
69745 + in other programs. You may use this option more than once.
69747 + For compatibility with other ELF linkers, if the `-R' option is
69748 + followed by a directory name, rather than a file name, it is
69749 + treated as the `-rpath' option.
69753 + Omit all symbol information from the output file.
69757 + Omit debugger symbol information (but not all symbols) from the
69762 + Print the names of the input files as `ld' processes them.
69765 +`--script=SCRIPTFILE'
69766 + Use SCRIPTFILE as the linker script. This script replaces `ld''s
69767 + default linker script (rather than adding to it), so COMMANDFILE
69768 + must specify everything necessary to describe the output file.
69769 + *Note Scripts::. If SCRIPTFILE does not exist in the current
69770 + directory, `ld' looks for it in the directories specified by any
69771 + preceding `-L' options. Multiple `-T' options accumulate.
69774 +`--undefined=SYMBOL'
69775 + Force SYMBOL to be entered in the output file as an undefined
69776 + symbol. Doing this may, for example, trigger linking of additional
69777 + modules from standard libraries. `-u' may be repeated with
69778 + different option arguments to enter additional undefined symbols.
69779 + This option is equivalent to the `EXTERN' linker script command.
69782 + For anything other than C++ programs, this option is equivalent to
69783 + `-r': it generates relocatable output--i.e., an output file that
69784 + can in turn serve as input to `ld'. When linking C++ programs,
69785 + `-Ur' _does_ resolve references to constructors, unlike `-r'. It
69786 + does not work to use `-Ur' on files that were themselves linked
69787 + with `-Ur'; once the constructor table has been built, it cannot
69788 + be added to. Use `-Ur' only for the last partial link, and `-r'
69791 +`--unique[=SECTION]'
69792 + Creates a separate output section for every input section matching
69793 + SECTION, or if the optional wildcard SECTION argument is missing,
69794 + for every orphan input section. An orphan section is one not
69795 + specifically mentioned in a linker script. You may use this option
69796 + multiple times on the command line; It prevents the normal
69797 + merging of input sections with the same name, overriding output
69798 + section assignments in a linker script.
69803 + Display the version number for `ld'. The `-V' option also lists
69804 + the supported emulations.
69808 + Delete all local symbols.
69811 +`--discard-locals'
69812 + Delete all temporary local symbols. For most targets, this is all
69813 + local symbols whose names begin with `L'.
69816 +`--trace-symbol=SYMBOL'
69817 + Print the name of each linked file in which SYMBOL appears. This
69818 + option may be given any number of times. On many systems it is
69819 + necessary to prepend an underscore.
69821 + This option is useful when you have an undefined symbol in your
69822 + link but don't know where the reference is coming from.
69825 + Add PATH to the default library search path. This option exists
69826 + for Solaris compatibility.
69829 + The recognized keywords are:
69831 + Combines multiple reloc sections and sorts them to make
69832 + dynamic symbol lookup caching possible.
69835 + Disallows undefined symbols in object files. Undefined
69836 + symbols in shared libraries are still allowed.
69839 + Marks the object as requiring executable stack.
69842 + This option is only meaningful when building a shared object.
69843 + It marks the object so that its runtime initialization will
69844 + occur before the runtime initialization of any other objects
69845 + brought into the process at the same time. Similarly the
69846 + runtime finalization of the object will occur after the
69847 + runtime finalization of any other objects.
69850 + Marks the object that its symbol table interposes before all
69851 + symbols but the primary executable.
69854 + Marks the object that its filters be processed immediately at
69858 + Allows multiple definitions.
69861 + Disables multiple reloc sections combining.
69864 + Disables production of copy relocs.
69867 + Marks the object that the search for dependencies of this
69868 + object will ignore any default library search paths.
69871 + Marks the object shouldn't be unloaded at runtime.
69874 + Marks the object not available to `dlopen'.
69877 + Marks the object can not be dumped by `dldump'.
69880 + Marks the object as not requiring executable stack.
69883 + Don't create an ELF `PT_GNU_RELRO' segment header in the
69887 + When generating an executable or shared library, mark it to
69888 + tell the dynamic linker to resolve all symbols when the
69889 + program is started, or when the shared library is linked to
69890 + using dlopen, instead of deferring function call resolution
69891 + to the point when the function is first called.
69894 + Marks the object may contain $ORIGIN.
69897 + Create an ELF `PT_GNU_RELRO' segment header in the object.
69900 + Other keywords are ignored for Solaris compatibility.
69903 +`--start-group ARCHIVES --end-group'
69904 + The ARCHIVES should be a list of archive files. They may be
69905 + either explicit file names, or `-l' options.
69907 + The specified archives are searched repeatedly until no new
69908 + undefined references are created. Normally, an archive is
69909 + searched only once in the order that it is specified on the
69910 + command line. If a symbol in that archive is needed to resolve an
69911 + undefined symbol referred to by an object in an archive that
69912 + appears later on the command line, the linker would not be able to
69913 + resolve that reference. By grouping the archives, they all be
69914 + searched repeatedly until all possible references are resolved.
69916 + Using this option has a significant performance cost. It is best
69917 + to use it only when there are unavoidable circular references
69918 + between two or more archives.
69920 +`--accept-unknown-input-arch'
69921 +`--no-accept-unknown-input-arch'
69922 + Tells the linker to accept input files whose architecture cannot be
69923 + recognised. The assumption is that the user knows what they are
69924 + doing and deliberately wants to link in these unknown input files.
69925 + This was the default behaviour of the linker, before release
69926 + 2.14. The default behaviour from release 2.14 onwards is to
69927 + reject such input files, and so the `--accept-unknown-input-arch'
69928 + option has been added to restore the old behaviour.
69932 + This option affects ELF DT_NEEDED tags for dynamic libraries
69933 + mentioned on the command line after the `--as-needed' option.
69934 + Normally, the linker will add a DT_NEEDED tag for each dynamic
69935 + library mentioned on the command line, regardless of whether the
69936 + library is actually needed. `--as-needed' causes DT_NEEDED tags
69937 + to only be emitted for libraries that satisfy some symbol
69938 + reference from regular objects which is undefined at the point
69939 + that the library was linked. `--no-as-needed' restores the
69940 + default behaviour.
69944 + This option affects the treatment of dynamic libraries from ELF
69945 + DT_NEEDED tags in dynamic libraries mentioned on the command line
69946 + after the `--no-add-needed' option. Normally, the linker will add
69947 + a DT_NEEDED tag for each dynamic library from DT_NEEDED tags.
69948 + `--no-add-needed' causes DT_NEEDED tags will never be emitted for
69949 + those libraries from DT_NEEDED tags. `--add-needed' restores the
69950 + default behaviour.
69953 + This option is ignored for SunOS compatibility.
69958 + Link against dynamic libraries. This is only meaningful on
69959 + platforms for which shared libraries are supported. This option
69960 + is normally the default on such platforms. The different variants
69961 + of this option are for compatibility with various systems. You
69962 + may use this option multiple times on the command line: it affects
69963 + library searching for `-l' options which follow it.
69966 + Set the `DF_1_GROUP' flag in the `DT_FLAGS_1' entry in the dynamic
69967 + section. This causes the runtime linker to handle lookups in this
69968 + object and its dependencies to be performed only inside the group.
69969 + `--unresolved-symbols=report-all' is implied. This option is only
69970 + meaningful on ELF platforms which support shared libraries.
69976 + Do not link against shared libraries. This is only meaningful on
69977 + platforms for which shared libraries are supported. The different
69978 + variants of this option are for compatibility with various
69979 + systems. You may use this option multiple times on the command
69980 + line: it affects library searching for `-l' options which follow
69981 + it. This option also implies `--unresolved-symbols=report-all'.
69982 + This option can be used with `-shared'. Doing so means that a
69983 + shared library is being created but that all of the library's
69984 + external references must be resolved by pulling in entries from
69985 + static libraries.
69988 + When creating a shared library, bind references to global symbols
69989 + to the definition within the shared library, if any. Normally, it
69990 + is possible for a program linked against a shared library to
69991 + override the definition within the shared library. This option is
69992 + only meaningful on ELF platforms which support shared libraries.
69994 +`--check-sections'
69995 +`--no-check-sections'
69996 + Asks the linker _not_ to check section addresses after they have
69997 + been assigned to see if there are any overlaps. Normally the
69998 + linker will perform this check, and if it finds any overlaps it
69999 + will produce suitable error messages. The linker does know about,
70000 + and does make allowances for sections in overlays. The default
70001 + behaviour can be restored by using the command line switch
70002 + `--check-sections'.
70005 + Output a cross reference table. If a linker map file is being
70006 + generated, the cross reference table is printed to the map file.
70007 + Otherwise, it is printed on the standard output.
70009 + The format of the table is intentionally simple, so that it may be
70010 + easily processed by a script if necessary. The symbols are
70011 + printed out, sorted by name. For each symbol, a list of file
70012 + names is given. If the symbol is defined, the first file listed
70013 + is the location of the definition. The remaining files contain
70014 + references to the symbol.
70016 +`--no-define-common'
70017 + This option inhibits the assignment of addresses to common symbols.
70018 + The script command `INHIBIT_COMMON_ALLOCATION' has the same effect.
70019 + *Note Miscellaneous Commands::.
70021 + The `--no-define-common' option allows decoupling the decision to
70022 + assign addresses to Common symbols from the choice of the output
70023 + file type; otherwise a non-Relocatable output type forces
70024 + assigning addresses to Common symbols. Using `--no-define-common'
70025 + allows Common symbols that are referenced from a shared library to
70026 + be assigned addresses only in the main program. This eliminates
70027 + the unused duplicate space in the shared library, and also
70028 + prevents any possible confusion over resolving to the wrong
70029 + duplicate when there are many dynamic modules with specialized
70030 + search paths for runtime symbol resolution.
70032 +`--defsym SYMBOL=EXPRESSION'
70033 + Create a global symbol in the output file, containing the absolute
70034 + address given by EXPRESSION. You may use this option as many
70035 + times as necessary to define multiple symbols in the command line.
70036 + A limited form of arithmetic is supported for the EXPRESSION in
70037 + this context: you may give a hexadecimal constant or the name of
70038 + an existing symbol, or use `+' and `-' to add or subtract
70039 + hexadecimal constants or symbols. If you need more elaborate
70040 + expressions, consider using the linker command language from a
70041 + script (*note Assignment: Symbol Definitions: Assignments.).
70042 + _Note:_ there should be no white space between SYMBOL, the equals
70043 + sign ("<=>"), and EXPRESSION.
70045 +`--demangle[=STYLE]'
70047 + These options control whether to demangle symbol names in error
70048 + messages and other output. When the linker is told to demangle,
70049 + it tries to present symbol names in a readable fashion: it strips
70050 + leading underscores if they are used by the object file format,
70051 + and converts C++ mangled symbol names into user readable names.
70052 + Different compilers have different mangling styles. The optional
70053 + demangling style argument can be used to choose an appropriate
70054 + demangling style for your compiler. The linker will demangle by
70055 + default unless the environment variable `COLLECT_NO_DEMANGLE' is
70056 + set. These options may be used to override the default.
70058 +`--dynamic-linker FILE'
70059 + Set the name of the dynamic linker. This is only meaningful when
70060 + generating dynamically linked ELF executables. The default dynamic
70061 + linker is normally correct; don't use this unless you know what
70064 +`--fatal-warnings'
70065 + Treat all warnings as errors.
70067 +`--force-exe-suffix'
70068 + Make sure that an output file has a .exe suffix.
70070 + If a successfully built fully linked output file does not have a
70071 + `.exe' or `.dll' suffix, this option forces the linker to copy the
70072 + output file to one of the same name with a `.exe' suffix. This
70073 + option is useful when using unmodified Unix makefiles on a
70074 + Microsoft Windows host, since some versions of Windows won't run
70075 + an image unless it ends in a `.exe' suffix.
70077 +`--no-gc-sections'
70079 + Enable garbage collection of unused input sections. It is ignored
70080 + on targets that do not support this option. This option is not
70081 + compatible with `-r'. The default behaviour (of not performing
70082 + this garbage collection) can be restored by specifying
70083 + `--no-gc-sections' on the command line.
70086 + Print a summary of the command-line options on the standard output
70090 + Print a summary of all target specific options on the standard
70094 + Print a link map to the file MAPFILE. See the description of the
70095 + `-M' option, above.
70097 +`--no-keep-memory'
70098 + `ld' normally optimizes for speed over memory usage by caching the
70099 + symbol tables of input files in memory. This option tells `ld' to
70100 + instead optimize for memory usage, by rereading the symbol tables
70101 + as necessary. This may be required if `ld' runs out of memory
70102 + space while linking a large executable.
70106 + Report unresolved symbol references from regular object files.
70107 + This is done even if the linker is creating a non-symbolic shared
70108 + library. The switch `--[no-]allow-shlib-undefined' controls the
70109 + behaviour for reporting unresolved references found in shared
70110 + libraries being linked in.
70112 +`--allow-multiple-definition'
70114 + Normally when a symbol is defined multiple times, the linker will
70115 + report a fatal error. These options allow multiple definitions and
70116 + the first definition will be used.
70118 +`--allow-shlib-undefined'
70119 +`--no-allow-shlib-undefined'
70120 + Allows (the default) or disallows undefined symbols in shared
70121 + libraries. This switch is similar to `--no-undefined' except that
70122 + it determines the behaviour when the undefined symbols are in a
70123 + shared library rather than a regular object file. It does not
70124 + affect how undefined symbols in regular object files are handled.
70126 + The reason that `--allow-shlib-undefined' is the default is that
70127 + the shared library being specified at link time may not be the
70128 + same as the one that is available at load time, so the symbols
70129 + might actually be resolvable at load time. Plus there are some
70130 + systems, (eg BeOS) where undefined symbols in shared libraries is
70131 + normal. (The kernel patches them at load time to select which
70132 + function is most appropriate for the current architecture. This
70133 + is used for example to dynamically select an appropriate memset
70134 + function). Apparently it is also normal for HPPA shared libraries
70135 + to have undefined symbols.
70137 +`--no-undefined-version'
70138 + Normally when a symbol has an undefined version, the linker will
70139 + ignore it. This option disallows symbols with undefined version
70140 + and a fatal error will be issued instead.
70142 +`--default-symver'
70143 + Create and use a default symbol version (the soname) for
70144 + unversioned exported symbols.
70146 +`--default-imported-symver'
70147 + Create and use a default symbol version (the soname) for
70148 + unversioned imported symbols.
70150 +`--no-warn-mismatch'
70151 + Normally `ld' will give an error if you try to link together input
70152 + files that are mismatched for some reason, perhaps because they
70153 + have been compiled for different processors or for different
70154 + endiannesses. This option tells `ld' that it should silently
70155 + permit such possible errors. This option should only be used with
70156 + care, in cases when you have taken some special action that
70157 + ensures that the linker errors are inappropriate.
70159 +`--no-whole-archive'
70160 + Turn off the effect of the `--whole-archive' option for subsequent
70163 +`--noinhibit-exec'
70164 + Retain the executable output file whenever it is still usable.
70165 + Normally, the linker will not produce an output file if it
70166 + encounters errors during the link process; it exits without
70167 + writing an output file when it issues any error whatsoever.
70170 + Only search library directories explicitly specified on the
70171 + command line. Library directories specified in linker scripts
70172 + (including linker scripts specified on the command line) are
70175 +`--oformat OUTPUT-FORMAT'
70176 + `ld' may be configured to support more than one kind of object
70177 + file. If your `ld' is configured this way, you can use the
70178 + `--oformat' option to specify the binary format for the output
70179 + object file. Even when `ld' is configured to support alternative
70180 + object formats, you don't usually need to specify this, as `ld'
70181 + should be configured to produce as a default output format the most
70182 + usual format on each machine. OUTPUT-FORMAT is a text string, the
70183 + name of a particular format supported by the BFD libraries. (You
70184 + can list the available binary formats with `objdump -i'.) The
70185 + script command `OUTPUT_FORMAT' can also specify the output format,
70186 + but this option overrides it. *Note BFD::.
70189 +`--pic-executable'
70190 + Create a position independent executable. This is currently only
70191 + supported on ELF platforms. Position independent executables are
70192 + similar to shared libraries in that they are relocated by the
70193 + dynamic linker to the virtual address the OS chooses for them
70194 + (which can vary between invocations). Like normal dynamically
70195 + linked executables they can be executed and symbols defined in the
70196 + executable cannot be overridden by shared libraries.
70199 + This option is ignored for Linux compatibility.
70202 + This option is ignored for SVR4 compatibility.
70205 + An option with machine dependent effects. This option is only
70206 + supported on a few targets. *Note `ld' and the H8/300: H8/300.
70207 + *Note `ld' and the Intel 960 family: i960. *Note `ld' and Xtensa
70208 + Processors: Xtensa. *Note `ld' and PowerPC 32-bit ELF Support:
70211 + On some platforms, the `--relax' option performs global
70212 + optimizations that become possible when the linker resolves
70213 + addressing in the program, such as relaxing address modes and
70214 + synthesizing new instructions in the output object file.
70216 + On some platforms these link time global optimizations may make
70217 + symbolic debugging of the resulting executable impossible. This
70218 + is known to be the case for the Matsushita MN10200 and MN10300
70219 + family of processors.
70221 + On platforms where this is not supported, `--relax' is accepted,
70224 +`--retain-symbols-file FILENAME'
70225 + Retain _only_ the symbols listed in the file FILENAME, discarding
70226 + all others. FILENAME is simply a flat file, with one symbol name
70227 + per line. This option is especially useful in environments (such
70228 + as VxWorks) where a large global symbol table is accumulated
70229 + gradually, to conserve run-time memory.
70231 + `--retain-symbols-file' does _not_ discard undefined symbols, or
70232 + symbols needed for relocations.
70234 + You may only specify `--retain-symbols-file' once in the command
70235 + line. It overrides `-s' and `-S'.
70238 + Add a directory to the runtime library search path. This is used
70239 + when linking an ELF executable with shared objects. All `-rpath'
70240 + arguments are concatenated and passed to the runtime linker, which
70241 + uses them to locate shared objects at runtime. The `-rpath'
70242 + option is also used when locating shared objects which are needed
70243 + by shared objects explicitly included in the link; see the
70244 + description of the `-rpath-link' option. If `-rpath' is not used
70245 + when linking an ELF executable, the contents of the environment
70246 + variable `LD_RUN_PATH' will be used if it is defined.
70248 + The `-rpath' option may also be used on SunOS. By default, on
70249 + SunOS, the linker will form a runtime search patch out of all the
70250 + `-L' options it is given. If a `-rpath' option is used, the
70251 + runtime search path will be formed exclusively using the `-rpath'
70252 + options, ignoring the `-L' options. This can be useful when using
70253 + gcc, which adds many `-L' options which may be on NFS mounted
70256 + For compatibility with other ELF linkers, if the `-R' option is
70257 + followed by a directory name, rather than a file name, it is
70258 + treated as the `-rpath' option.
70261 + When using ELF or SunOS, one shared library may require another.
70262 + This happens when an `ld -shared' link includes a shared library
70263 + as one of the input files.
70265 + When the linker encounters such a dependency when doing a
70266 + non-shared, non-relocatable link, it will automatically try to
70267 + locate the required shared library and include it in the link, if
70268 + it is not included explicitly. In such a case, the `-rpath-link'
70269 + option specifies the first set of directories to search. The
70270 + `-rpath-link' option may specify a sequence of directory names
70271 + either by specifying a list of names separated by colons, or by
70272 + appearing multiple times.
70274 + This option should be used with caution as it overrides the search
70275 + path that may have been hard compiled into a shared library. In
70276 + such a case it is possible to use unintentionally a different
70277 + search path than the runtime linker would do.
70279 + The linker uses the following search paths to locate required
70280 + shared libraries.
70281 + 1. Any directories specified by `-rpath-link' options.
70283 + 2. Any directories specified by `-rpath' options. The difference
70284 + between `-rpath' and `-rpath-link' is that directories
70285 + specified by `-rpath' options are included in the executable
70286 + and used at runtime, whereas the `-rpath-link' option is only
70287 + effective at link time. It is for the native linker only.
70289 + 3. On an ELF system, if the `-rpath' and `rpath-link' options
70290 + were not used, search the contents of the environment variable
70291 + `LD_RUN_PATH'. It is for the native linker only.
70293 + 4. On SunOS, if the `-rpath' option was not used, search any
70294 + directories specified using `-L' options.
70296 + 5. For a native linker, the contents of the environment variable
70297 + `LD_LIBRARY_PATH'.
70299 + 6. For a native ELF linker, the directories in `DT_RUNPATH' or
70300 + `DT_RPATH' of a shared library are searched for shared
70301 + libraries needed by it. The `DT_RPATH' entries are ignored if
70302 + `DT_RUNPATH' entries exist.
70304 + 7. The default directories, normally `/lib' and `/usr/lib'.
70306 + 8. For a native linker on an ELF system, if the file
70307 + `/etc/ld.so.conf' exists, the list of directories found in
70310 + If the required shared library is not found, the linker will issue
70311 + a warning and continue with the link.
70315 + Create a shared library. This is currently only supported on ELF,
70316 + XCOFF and SunOS platforms. On SunOS, the linker will
70317 + automatically create a shared library if the `-e' option is not
70318 + used and there are undefined symbols in the link.
70321 + This option tells `ld' to sort the common symbols by size when it
70322 + places them in the appropriate output sections. First come all
70323 + the one byte symbols, then all the two byte, then all the four
70324 + byte, and then everything else. This is to prevent gaps between
70325 + symbols due to alignment constraints.
70327 +`--sort-section name'
70328 + This option will apply `SORT_BY_NAME' to all wildcard section
70329 + patterns in the linker script.
70331 +`--sort-section alignment'
70332 + This option will apply `SORT_BY_ALIGNMENT' to all wildcard section
70333 + patterns in the linker script.
70335 +`--split-by-file [SIZE]'
70336 + Similar to `--split-by-reloc' but creates a new output section for
70337 + each input file when SIZE is reached. SIZE defaults to a size of
70340 +`--split-by-reloc [COUNT]'
70341 + Tries to creates extra sections in the output file so that no
70342 + single output section in the file contains more than COUNT
70343 + relocations. This is useful when generating huge relocatable
70344 + files for downloading into certain real time kernels with the COFF
70345 + object file format; since COFF cannot represent more than 65535
70346 + relocations in a single section. Note that this will fail to work
70347 + with object file formats which do not support arbitrary sections.
70348 + The linker will not split up individual input sections for
70349 + redistribution, so if a single input section contains more than
70350 + COUNT relocations one output section will contain that many
70351 + relocations. COUNT defaults to a value of 32768.
70354 + Compute and display statistics about the operation of the linker,
70355 + such as execution time and memory usage.
70357 +`--sysroot=DIRECTORY'
70358 + Use DIRECTORY as the location of the sysroot, overriding the
70359 + configure-time default. This option is only supported by linkers
70360 + that were configured using `--with-sysroot'.
70362 +`--traditional-format'
70363 + For some targets, the output of `ld' is different in some ways from
70364 + the output of some existing linker. This switch requests `ld' to
70365 + use the traditional format instead.
70367 + For example, on SunOS, `ld' combines duplicate entries in the
70368 + symbol string table. This can reduce the size of an output file
70369 + with full debugging information by over 30 percent.
70370 + Unfortunately, the SunOS `dbx' program can not read the resulting
70371 + program (`gdb' has no trouble). The `--traditional-format' switch
70372 + tells `ld' to not combine duplicate entries.
70374 +`--section-start SECTIONNAME=ORG'
70375 + Locate a section in the output file at the absolute address given
70376 + by ORG. You may use this option as many times as necessary to
70377 + locate multiple sections in the command line. ORG must be a
70378 + single hexadecimal integer; for compatibility with other linkers,
70379 + you may omit the leading `0x' usually associated with hexadecimal
70380 + values. _Note:_ there should be no white space between
70381 + SECTIONNAME, the equals sign ("<=>"), and ORG.
70386 + Same as -section-start, with `.bss', `.data' or `.text' as the
70389 +`--unresolved-symbols=METHOD'
70390 + Determine how to handle unresolved symbols. There are four
70391 + possible values for `method':
70394 + Do not report any unresolved symbols.
70397 + Report all unresolved symbols. This is the default.
70399 + `ignore-in-object-files'
70400 + Report unresolved symbols that are contained in shared
70401 + libraries, but ignore them if they come from regular object
70404 + `ignore-in-shared-libs'
70405 + Report unresolved symbols that come from regular object
70406 + files, but ignore them if they come from shared libraries.
70407 + This can be useful when creating a dynamic binary and it is
70408 + known that all the shared libraries that it should be
70409 + referencing are included on the linker's command line.
70411 + The behaviour for shared libraries on their own can also be
70412 + controlled by the `--[no-]allow-shlib-undefined' option.
70414 + Normally the linker will generate an error message for each
70415 + reported unresolved symbol but the option
70416 + `--warn-unresolved-symbols' can change this to a warning.
70420 + Display the version number for `ld' and list the linker emulations
70421 + supported. Display which input files can and cannot be opened.
70422 + Display the linker script being used by the linker.
70424 +`--version-script=VERSION-SCRIPTFILE'
70425 + Specify the name of a version script to the linker. This is
70426 + typically used when creating shared libraries to specify
70427 + additional information about the version hierarchy for the library
70428 + being created. This option is only meaningful on ELF platforms
70429 + which support shared libraries. *Note VERSION::.
70432 + Warn when a common symbol is combined with another common symbol
70433 + or with a symbol definition. Unix linkers allow this somewhat
70434 + sloppy practise, but linkers on some other operating systems do
70435 + not. This option allows you to find potential problems from
70436 + combining global symbols. Unfortunately, some C libraries use
70437 + this practise, so you may get some warnings about symbols in the
70438 + libraries as well as in your programs.
70440 + There are three kinds of global symbols, illustrated here by C
70444 + A definition, which goes in the initialized data section of
70448 + An undefined reference, which does not allocate space. There
70449 + must be either a definition or a common symbol for the
70450 + variable somewhere.
70453 + A common symbol. If there are only (one or more) common
70454 + symbols for a variable, it goes in the uninitialized data
70455 + area of the output file. The linker merges multiple common
70456 + symbols for the same variable into a single symbol. If they
70457 + are of different sizes, it picks the largest size. The
70458 + linker turns a common symbol into a declaration, if there is
70459 + a definition of the same variable.
70461 + The `--warn-common' option can produce five kinds of warnings.
70462 + Each warning consists of a pair of lines: the first describes the
70463 + symbol just encountered, and the second describes the previous
70464 + symbol encountered with the same name. One or both of the two
70465 + symbols will be a common symbol.
70467 + 1. Turning a common symbol into a reference, because there is
70468 + already a definition for the symbol.
70469 + FILE(SECTION): warning: common of `SYMBOL'
70470 + overridden by definition
70471 + FILE(SECTION): warning: defined here
70473 + 2. Turning a common symbol into a reference, because a later
70474 + definition for the symbol is encountered. This is the same
70475 + as the previous case, except that the symbols are encountered
70476 + in a different order.
70477 + FILE(SECTION): warning: definition of `SYMBOL'
70478 + overriding common
70479 + FILE(SECTION): warning: common is here
70481 + 3. Merging a common symbol with a previous same-sized common
70483 + FILE(SECTION): warning: multiple common
70485 + FILE(SECTION): warning: previous common is here
70487 + 4. Merging a common symbol with a previous larger common symbol.
70488 + FILE(SECTION): warning: common of `SYMBOL'
70489 + overridden by larger common
70490 + FILE(SECTION): warning: larger common is here
70492 + 5. Merging a common symbol with a previous smaller common
70493 + symbol. This is the same as the previous case, except that
70494 + the symbols are encountered in a different order.
70495 + FILE(SECTION): warning: common of `SYMBOL'
70496 + overriding smaller common
70497 + FILE(SECTION): warning: smaller common is here
70499 +`--warn-constructors'
70500 + Warn if any global constructors are used. This is only useful for
70501 + a few object file formats. For formats like COFF or ELF, the
70502 + linker can not detect the use of global constructors.
70504 +`--warn-multiple-gp'
70505 + Warn if multiple global pointer values are required in the output
70506 + file. This is only meaningful for certain processors, such as the
70507 + Alpha. Specifically, some processors put large-valued constants
70508 + in a special section. A special register (the global pointer)
70509 + points into the middle of this section, so that constants can be
70510 + loaded efficiently via a base-register relative addressing mode.
70511 + Since the offset in base-register relative mode is fixed and
70512 + relatively small (e.g., 16 bits), this limits the maximum size of
70513 + the constant pool. Thus, in large programs, it is often necessary
70514 + to use multiple global pointer values in order to be able to
70515 + address all possible constants. This option causes a warning to
70516 + be issued whenever this case occurs.
70519 + Only warn once for each undefined symbol, rather than once per
70520 + module which refers to it.
70522 +`--warn-section-align'
70523 + Warn if the address of an output section is changed because of
70524 + alignment. Typically, the alignment will be set by an input
70525 + section. The address will only be changed if it not explicitly
70526 + specified; that is, if the `SECTIONS' command does not specify a
70527 + start address for the section (*note SECTIONS::).
70529 +`--warn-shared-textrel'
70530 + Warn if the linker adds a DT_TEXTREL to a shared object.
70532 +`--warn-unresolved-symbols'
70533 + If the linker is going to report an unresolved symbol (see the
70534 + option `--unresolved-symbols') it will normally generate an error.
70535 + This option makes it generate a warning instead.
70537 +`--error-unresolved-symbols'
70538 + This restores the linker's default behaviour of generating errors
70539 + when it is reporting unresolved symbols.
70542 + For each archive mentioned on the command line after the
70543 + `--whole-archive' option, include every object file in the archive
70544 + in the link, rather than searching the archive for the required
70545 + object files. This is normally used to turn an archive file into
70546 + a shared library, forcing every object to be included in the
70547 + resulting shared library. This option may be used more than once.
70549 + Two notes when using this option from gcc: First, gcc doesn't know
70550 + about this option, so you have to use `-Wl,-whole-archive'.
70551 + Second, don't forget to use `-Wl,-no-whole-archive' after your
70552 + list of archives, because gcc will add its own list of archives to
70553 + your link and you may not want this flag to affect those as well.
70556 + Use a wrapper function for SYMBOL. Any undefined reference to
70557 + SYMBOL will be resolved to `__wrap_SYMBOL'. Any undefined
70558 + reference to `__real_SYMBOL' will be resolved to SYMBOL.
70560 + This can be used to provide a wrapper for a system function. The
70561 + wrapper function should be called `__wrap_SYMBOL'. If it wishes
70562 + to call the system function, it should call `__real_SYMBOL'.
70564 + Here is a trivial example:
70567 + __wrap_malloc (size_t c)
70569 + printf ("malloc called with %zu\n", c);
70570 + return __real_malloc (c);
70573 + If you link other code with this file using `--wrap malloc', then
70574 + all calls to `malloc' will call the function `__wrap_malloc'
70575 + instead. The call to `__real_malloc' in `__wrap_malloc' will call
70576 + the real `malloc' function.
70578 + You may wish to provide a `__real_malloc' function as well, so that
70579 + links without the `--wrap' option will succeed. If you do this,
70580 + you should not put the definition of `__real_malloc' in the same
70581 + file as `__wrap_malloc'; if you do, the assembler may resolve the
70582 + call before the linker has a chance to wrap it to `malloc'.
70585 + Request creation of `.eh_frame_hdr' section and ELF
70586 + `PT_GNU_EH_FRAME' segment header.
70588 +`--enable-new-dtags'
70589 +`--disable-new-dtags'
70590 + This linker can create the new dynamic tags in ELF. But the older
70591 + ELF systems may not understand them. If you specify
70592 + `--enable-new-dtags', the dynamic tags will be created as needed.
70593 + If you specify `--disable-new-dtags', no new dynamic tags will be
70594 + created. By default, the new dynamic tags are not created. Note
70595 + that those options are only available for ELF systems.
70597 +`--hash-size=NUMBER'
70598 + Set the default size of the linker's hash tables to a prime number
70599 + close to NUMBER. Increasing this value can reduce the length of
70600 + time it takes the linker to perform its tasks, at the expense of
70601 + increasing the linker's memory requirements. Similarly reducing
70602 + this value can reduce the memory requirements at the expense of
70605 +`--reduce-memory-overheads'
70606 + This option reduces memory requirements at ld runtime, at the
70607 + expense of linking speed. This was introduced to select the old
70608 + O(n^2) algorithm for link map file generation, rather than the new
70609 + O(n) algorithm which uses about 40% more memory for symbol storage.
70611 + Another effect of the switch is to set the default hash table size
70612 + to 1021, which again saves memory at the cost of lengthening the
70613 + linker's run time. This is not done however if the `--hash-size'
70614 + switch has been used.
70616 + The `--reduce-memory-overheads' switch may be also be used to
70617 + enable other tradeoffs in future versions of the linker.
70620 +2.1.1 Options Specific to i386 PE Targets
70621 +-----------------------------------------
70623 +The i386 PE linker supports the `-shared' option, which causes the
70624 +output to be a dynamically linked library (DLL) instead of a normal
70625 +executable. You should name the output `*.dll' when you use this
70626 +option. In addition, the linker fully supports the standard `*.def'
70627 +files, which may be specified on the linker command line like an object
70628 +file (in fact, it should precede archives it exports symbols from, to
70629 +ensure that they get linked in, just like a normal object file).
70631 + In addition to the options common to all targets, the i386 PE linker
70632 +support additional command line options that are specific to the i386
70633 +PE target. Options that take values may be separated from their values
70634 +by either a space or an equals sign.
70636 +`--add-stdcall-alias'
70637 + If given, symbols with a stdcall suffix (@NN) will be exported
70638 + as-is and also with the suffix stripped. [This option is specific
70639 + to the i386 PE targeted port of the linker]
70641 +`--base-file FILE'
70642 + Use FILE as the name of a file in which to save the base addresses
70643 + of all the relocations needed for generating DLLs with `dlltool'.
70644 + [This is an i386 PE specific option]
70647 + Create a DLL instead of a regular executable. You may also use
70648 + `-shared' or specify a `LIBRARY' in a given `.def' file. [This
70649 + option is specific to the i386 PE targeted port of the linker]
70651 +`--enable-stdcall-fixup'
70652 +`--disable-stdcall-fixup'
70653 + If the link finds a symbol that it cannot resolve, it will attempt
70654 + to do "fuzzy linking" by looking for another defined symbol that
70655 + differs only in the format of the symbol name (cdecl vs stdcall)
70656 + and will resolve that symbol by linking to the match. For
70657 + example, the undefined symbol `_foo' might be linked to the
70658 + function `_foo@12', or the undefined symbol `_bar@16' might be
70659 + linked to the function `_bar'. When the linker does this, it
70660 + prints a warning, since it normally should have failed to link,
70661 + but sometimes import libraries generated from third-party dlls may
70662 + need this feature to be usable. If you specify
70663 + `--enable-stdcall-fixup', this feature is fully enabled and
70664 + warnings are not printed. If you specify
70665 + `--disable-stdcall-fixup', this feature is disabled and such
70666 + mismatches are considered to be errors. [This option is specific
70667 + to the i386 PE targeted port of the linker]
70669 +`--export-all-symbols'
70670 + If given, all global symbols in the objects used to build a DLL
70671 + will be exported by the DLL. Note that this is the default if
70672 + there otherwise wouldn't be any exported symbols. When symbols are
70673 + explicitly exported via DEF files or implicitly exported via
70674 + function attributes, the default is to not export anything else
70675 + unless this option is given. Note that the symbols `DllMain@12',
70676 + `DllEntryPoint@0', `DllMainCRTStartup@12', and `impure_ptr' will
70677 + not be automatically exported. Also, symbols imported from other
70678 + DLLs will not be re-exported, nor will symbols specifying the
70679 + DLL's internal layout such as those beginning with `_head_' or
70680 + ending with `_iname'. In addition, no symbols from `libgcc',
70681 + `libstd++', `libmingw32', or `crtX.o' will be exported. Symbols
70682 + whose names begin with `__rtti_' or `__builtin_' will not be
70683 + exported, to help with C++ DLLs. Finally, there is an extensive
70684 + list of cygwin-private symbols that are not exported (obviously,
70685 + this applies on when building DLLs for cygwin targets). These
70686 + cygwin-excludes are: `_cygwin_dll_entry@12',
70687 + `_cygwin_crt0_common@8', `_cygwin_noncygwin_dll_entry@12',
70688 + `_fmode', `_impure_ptr', `cygwin_attach_dll', `cygwin_premain0',
70689 + `cygwin_premain1', `cygwin_premain2', `cygwin_premain3', and
70690 + `environ'. [This option is specific to the i386 PE targeted port
70693 +`--exclude-symbols SYMBOL,SYMBOL,...'
70694 + Specifies a list of symbols which should not be automatically
70695 + exported. The symbol names may be delimited by commas or colons.
70696 + [This option is specific to the i386 PE targeted port of the
70699 +`--file-alignment'
70700 + Specify the file alignment. Sections in the file will always
70701 + begin at file offsets which are multiples of this number. This
70702 + defaults to 512. [This option is specific to the i386 PE targeted
70703 + port of the linker]
70706 +`--heap RESERVE,COMMIT'
70707 + Specify the amount of memory to reserve (and optionally commit) to
70708 + be used as heap for this program. The default is 1Mb reserved, 4K
70709 + committed. [This option is specific to the i386 PE targeted port
70712 +`--image-base VALUE'
70713 + Use VALUE as the base address of your program or dll. This is the
70714 + lowest memory location that will be used when your program or dll
70715 + is loaded. To reduce the need to relocate and improve performance
70716 + of your dlls, each should have a unique base address and not
70717 + overlap any other dlls. The default is 0x400000 for executables,
70718 + and 0x10000000 for dlls. [This option is specific to the i386 PE
70719 + targeted port of the linker]
70722 + If given, the stdcall suffixes (@NN) will be stripped from symbols
70723 + before they are exported. [This option is specific to the i386 PE
70724 + targeted port of the linker]
70726 +`--large-address-aware'
70727 + If given, the appropriate bit in the "Charateristics" field of the
70728 + COFF header is set to indicate that this executable supports
70729 + virtual addresses greater than 2 gigabytes. This should be used
70730 + in conjuction with the /3GB or /USERVA=VALUE megabytes switch in
70731 + the "[operating systems]" section of the BOOT.INI. Otherwise,
70732 + this bit has no effect. [This option is specific to PE targeted
70733 + ports of the linker]
70735 +`--major-image-version VALUE'
70736 + Sets the major number of the "image version". Defaults to 1.
70737 + [This option is specific to the i386 PE targeted port of the
70740 +`--major-os-version VALUE'
70741 + Sets the major number of the "os version". Defaults to 4. [This
70742 + option is specific to the i386 PE targeted port of the linker]
70744 +`--major-subsystem-version VALUE'
70745 + Sets the major number of the "subsystem version". Defaults to 4.
70746 + [This option is specific to the i386 PE targeted port of the
70749 +`--minor-image-version VALUE'
70750 + Sets the minor number of the "image version". Defaults to 0.
70751 + [This option is specific to the i386 PE targeted port of the
70754 +`--minor-os-version VALUE'
70755 + Sets the minor number of the "os version". Defaults to 0. [This
70756 + option is specific to the i386 PE targeted port of the linker]
70758 +`--minor-subsystem-version VALUE'
70759 + Sets the minor number of the "subsystem version". Defaults to 0.
70760 + [This option is specific to the i386 PE targeted port of the
70763 +`--output-def FILE'
70764 + The linker will create the file FILE which will contain a DEF file
70765 + corresponding to the DLL the linker is generating. This DEF file
70766 + (which should be called `*.def') may be used to create an import
70767 + library with `dlltool' or may be used as a reference to
70768 + automatically or implicitly exported symbols. [This option is
70769 + specific to the i386 PE targeted port of the linker]
70771 +`--out-implib FILE'
70772 + The linker will create the file FILE which will contain an import
70773 + lib corresponding to the DLL the linker is generating. This import
70774 + lib (which should be called `*.dll.a' or `*.a' may be used to link
70775 + clients against the generated DLL; this behaviour makes it
70776 + possible to skip a separate `dlltool' import library creation step.
70777 + [This option is specific to the i386 PE targeted port of the
70780 +`--enable-auto-image-base'
70781 + Automatically choose the image base for DLLs, unless one is
70782 + specified using the `--image-base' argument. By using a hash
70783 + generated from the dllname to create unique image bases for each
70784 + DLL, in-memory collisions and relocations which can delay program
70785 + execution are avoided. [This option is specific to the i386 PE
70786 + targeted port of the linker]
70788 +`--disable-auto-image-base'
70789 + Do not automatically generate a unique image base. If there is no
70790 + user-specified image base (`--image-base') then use the platform
70791 + default. [This option is specific to the i386 PE targeted port of
70794 +`--dll-search-prefix STRING'
70795 + When linking dynamically to a dll without an import library,
70796 + search for `<string><basename>.dll' in preference to
70797 + `lib<basename>.dll'. This behaviour allows easy distinction
70798 + between DLLs built for the various "subplatforms": native, cygwin,
70799 + uwin, pw, etc. For instance, cygwin DLLs typically use
70800 + `--dll-search-prefix=cyg'. [This option is specific to the i386
70801 + PE targeted port of the linker]
70803 +`--enable-auto-import'
70804 + Do sophisticated linking of `_symbol' to `__imp__symbol' for DATA
70805 + imports from DLLs, and create the necessary thunking symbols when
70806 + building the import libraries with those DATA exports. Note: Use
70807 + of the 'auto-import' extension will cause the text section of the
70808 + image file to be made writable. This does not conform to the
70809 + PE-COFF format specification published by Microsoft.
70811 + Using 'auto-import' generally will 'just work' - but sometimes you
70812 + may see this message:
70814 + "variable '<var>' can't be auto-imported. Please read the
70815 + documentation for ld's `--enable-auto-import' for details."
70817 + This message occurs when some (sub)expression accesses an address
70818 + ultimately given by the sum of two constants (Win32 import tables
70819 + only allow one). Instances where this may occur include accesses
70820 + to member fields of struct variables imported from a DLL, as well
70821 + as using a constant index into an array variable imported from a
70822 + DLL. Any multiword variable (arrays, structs, long long, etc) may
70823 + trigger this error condition. However, regardless of the exact
70824 + data type of the offending exported variable, ld will always
70825 + detect it, issue the warning, and exit.
70827 + There are several ways to address this difficulty, regardless of
70828 + the data type of the exported variable:
70830 + One way is to use -enable-runtime-pseudo-reloc switch. This leaves
70831 + the task of adjusting references in your client code for runtime
70832 + environment, so this method works only when runtime environment
70833 + supports this feature.
70835 + A second solution is to force one of the 'constants' to be a
70836 + variable - that is, unknown and un-optimizable at compile time.
70837 + For arrays, there are two possibilities: a) make the indexee (the
70838 + array's address) a variable, or b) make the 'constant' index a
70841 + extern type extern_array[];
70842 + extern_array[1] -->
70843 + { volatile type *t=extern_array; t[1] }
70847 + extern type extern_array[];
70848 + extern_array[1] -->
70849 + { volatile int t=1; extern_array[t] }
70851 + For structs (and most other multiword data types) the only option
70852 + is to make the struct itself (or the long long, or the ...)
70855 + extern struct s extern_struct;
70856 + extern_struct.field -->
70857 + { volatile struct s *t=&extern_struct; t->field }
70861 + extern long long extern_ll;
70863 + { volatile long long * local_ll=&extern_ll; *local_ll }
70865 + A third method of dealing with this difficulty is to abandon
70866 + 'auto-import' for the offending symbol and mark it with
70867 + `__declspec(dllimport)'. However, in practise that requires using
70868 + compile-time #defines to indicate whether you are building a DLL,
70869 + building client code that will link to the DLL, or merely
70870 + building/linking to a static library. In making the choice
70871 + between the various methods of resolving the 'direct address with
70872 + constant offset' problem, you should consider typical real-world
70877 + extern int arr[];
70880 + void main(int argc, char **argv){
70881 + printf("%d\n",arr[1]);
70886 + extern int arr[];
70889 + void main(int argc, char **argv){
70890 + /* This workaround is for win32 and cygwin; do not "optimize" */
70891 + volatile int *parr = arr;
70892 + printf("%d\n",parr[1]);
70897 + /* Note: auto-export is assumed (no __declspec(dllexport)) */
70898 + #if (defined(_WIN32) || defined(__CYGWIN__)) && \
70899 + !(defined(FOO_BUILD_DLL) || defined(FOO_STATIC))
70900 + #define FOO_IMPORT __declspec(dllimport)
70902 + #define FOO_IMPORT
70904 + extern FOO_IMPORT int arr[];
70907 + void main(int argc, char **argv){
70908 + printf("%d\n",arr[1]);
70911 + A fourth way to avoid this problem is to re-code your library to
70912 + use a functional interface rather than a data interface for the
70913 + offending variables (e.g. set_foo() and get_foo() accessor
70914 + functions). [This option is specific to the i386 PE targeted port
70917 +`--disable-auto-import'
70918 + Do not attempt to do sophisticated linking of `_symbol' to
70919 + `__imp__symbol' for DATA imports from DLLs. [This option is
70920 + specific to the i386 PE targeted port of the linker]
70922 +`--enable-runtime-pseudo-reloc'
70923 + If your code contains expressions described in -enable-auto-import
70924 + section, that is, DATA imports from DLL with non-zero offset, this
70925 + switch will create a vector of 'runtime pseudo relocations' which
70926 + can be used by runtime environment to adjust references to such
70927 + data in your client code. [This option is specific to the i386 PE
70928 + targeted port of the linker]
70930 +`--disable-runtime-pseudo-reloc'
70931 + Do not create pseudo relocations for non-zero offset DATA imports
70932 + from DLLs. This is the default. [This option is specific to the
70933 + i386 PE targeted port of the linker]
70935 +`--enable-extra-pe-debug'
70936 + Show additional debug info related to auto-import symbol thunking.
70937 + [This option is specific to the i386 PE targeted port of the
70940 +`--section-alignment'
70941 + Sets the section alignment. Sections in memory will always begin
70942 + at addresses which are a multiple of this number. Defaults to
70943 + 0x1000. [This option is specific to the i386 PE targeted port of
70947 +`--stack RESERVE,COMMIT'
70948 + Specify the amount of memory to reserve (and optionally commit) to
70949 + be used as stack for this program. The default is 2Mb reserved, 4K
70950 + committed. [This option is specific to the i386 PE targeted port
70953 +`--subsystem WHICH'
70954 +`--subsystem WHICH:MAJOR'
70955 +`--subsystem WHICH:MAJOR.MINOR'
70956 + Specifies the subsystem under which your program will execute. The
70957 + legal values for WHICH are `native', `windows', `console',
70958 + `posix', and `xbox'. You may optionally set the subsystem version
70959 + also. Numeric values are also accepted for WHICH. [This option
70960 + is specific to the i386 PE targeted port of the linker]
70964 +File: ld.info, Node: Environment, Prev: Options, Up: Invocation
70966 +2.2 Environment Variables
70967 +=========================
70969 +You can change the behaviour of `ld' with the environment variables
70970 +`GNUTARGET', `LDEMULATION' and `COLLECT_NO_DEMANGLE'.
70972 + `GNUTARGET' determines the input-file object format if you don't use
70973 +`-b' (or its synonym `--format'). Its value should be one of the BFD
70974 +names for an input format (*note BFD::). If there is no `GNUTARGET' in
70975 +the environment, `ld' uses the natural format of the target. If
70976 +`GNUTARGET' is set to `default' then BFD attempts to discover the input
70977 +format by examining binary input files; this method often succeeds, but
70978 +there are potential ambiguities, since there is no method of ensuring
70979 +that the magic number used to specify object-file formats is unique.
70980 +However, the configuration procedure for BFD on each system places the
70981 +conventional format for that system first in the search-list, so
70982 +ambiguities are resolved in favor of convention.
70984 + `LDEMULATION' determines the default emulation if you don't use the
70985 +`-m' option. The emulation can affect various aspects of linker
70986 +behaviour, particularly the default linker script. You can list the
70987 +available emulations with the `--verbose' or `-V' options. If the `-m'
70988 +option is not used, and the `LDEMULATION' environment variable is not
70989 +defined, the default emulation depends upon how the linker was
70992 + Normally, the linker will default to demangling symbols. However, if
70993 +`COLLECT_NO_DEMANGLE' is set in the environment, then it will default
70994 +to not demangling symbols. This environment variable is used in a
70995 +similar fashion by the `gcc' linker wrapper program. The default may
70996 +be overridden by the `--demangle' and `--no-demangle' options.
70999 +File: ld.info, Node: Scripts, Next: Machine Dependent, Prev: Invocation, Up: Top
71004 +Every link is controlled by a "linker script". This script is written
71005 +in the linker command language.
71007 + The main purpose of the linker script is to describe how the
71008 +sections in the input files should be mapped into the output file, and
71009 +to control the memory layout of the output file. Most linker scripts
71010 +do nothing more than this. However, when necessary, the linker script
71011 +can also direct the linker to perform many other operations, using the
71012 +commands described below.
71014 + The linker always uses a linker script. If you do not supply one
71015 +yourself, the linker will use a default script that is compiled into the
71016 +linker executable. You can use the `--verbose' command line option to
71017 +display the default linker script. Certain command line options, such
71018 +as `-r' or `-N', will affect the default linker script.
71020 + You may supply your own linker script by using the `-T' command line
71021 +option. When you do this, your linker script will replace the default
71024 + You may also use linker scripts implicitly by naming them as input
71025 +files to the linker, as though they were files to be linked. *Note
71026 +Implicit Linker Scripts::.
71030 +* Basic Script Concepts:: Basic Linker Script Concepts
71031 +* Script Format:: Linker Script Format
71032 +* Simple Example:: Simple Linker Script Example
71033 +* Simple Commands:: Simple Linker Script Commands
71034 +* Assignments:: Assigning Values to Symbols
71035 +* SECTIONS:: SECTIONS Command
71036 +* MEMORY:: MEMORY Command
71037 +* PHDRS:: PHDRS Command
71038 +* VERSION:: VERSION Command
71039 +* Expressions:: Expressions in Linker Scripts
71040 +* Implicit Linker Scripts:: Implicit Linker Scripts
71043 +File: ld.info, Node: Basic Script Concepts, Next: Script Format, Up: Scripts
71045 +3.1 Basic Linker Script Concepts
71046 +================================
71048 +We need to define some basic concepts and vocabulary in order to
71049 +describe the linker script language.
71051 + The linker combines input files into a single output file. The
71052 +output file and each input file are in a special data format known as an
71053 +"object file format". Each file is called an "object file". The
71054 +output file is often called an "executable", but for our purposes we
71055 +will also call it an object file. Each object file has, among other
71056 +things, a list of "sections". We sometimes refer to a section in an
71057 +input file as an "input section"; similarly, a section in the output
71058 +file is an "output section".
71060 + Each section in an object file has a name and a size. Most sections
71061 +also have an associated block of data, known as the "section contents".
71062 +A section may be marked as "loadable", which mean that the contents
71063 +should be loaded into memory when the output file is run. A section
71064 +with no contents may be "allocatable", which means that an area in
71065 +memory should be set aside, but nothing in particular should be loaded
71066 +there (in some cases this memory must be zeroed out). A section which
71067 +is neither loadable nor allocatable typically contains some sort of
71068 +debugging information.
71070 + Every loadable or allocatable output section has two addresses. The
71071 +first is the "VMA", or virtual memory address. This is the address the
71072 +section will have when the output file is run. The second is the
71073 +"LMA", or load memory address. This is the address at which the
71074 +section will be loaded. In most cases the two addresses will be the
71075 +same. An example of when they might be different is when a data section
71076 +is loaded into ROM, and then copied into RAM when the program starts up
71077 +(this technique is often used to initialize global variables in a ROM
71078 +based system). In this case the ROM address would be the LMA, and the
71079 +RAM address would be the VMA.
71081 + You can see the sections in an object file by using the `objdump'
71082 +program with the `-h' option.
71084 + Every object file also has a list of "symbols", known as the "symbol
71085 +table". A symbol may be defined or undefined. Each symbol has a name,
71086 +and each defined symbol has an address, among other information. If
71087 +you compile a C or C++ program into an object file, you will get a
71088 +defined symbol for every defined function and global or static
71089 +variable. Every undefined function or global variable which is
71090 +referenced in the input file will become an undefined symbol.
71092 + You can see the symbols in an object file by using the `nm' program,
71093 +or by using the `objdump' program with the `-t' option.
71096 +File: ld.info, Node: Script Format, Next: Simple Example, Prev: Basic Script Concepts, Up: Scripts
71098 +3.2 Linker Script Format
71099 +========================
71101 +Linker scripts are text files.
71103 + You write a linker script as a series of commands. Each command is
71104 +either a keyword, possibly followed by arguments, or an assignment to a
71105 +symbol. You may separate commands using semicolons. Whitespace is
71106 +generally ignored.
71108 + Strings such as file or format names can normally be entered
71109 +directly. If the file name contains a character such as a comma which
71110 +would otherwise serve to separate file names, you may put the file name
71111 +in double quotes. There is no way to use a double quote character in a
71114 + You may include comments in linker scripts just as in C, delimited by
71115 +`/*' and `*/'. As in C, comments are syntactically equivalent to
71119 +File: ld.info, Node: Simple Example, Next: Simple Commands, Prev: Script Format, Up: Scripts
71121 +3.3 Simple Linker Script Example
71122 +================================
71124 +Many linker scripts are fairly simple.
71126 + The simplest possible linker script has just one command:
71127 +`SECTIONS'. You use the `SECTIONS' command to describe the memory
71128 +layout of the output file.
71130 + The `SECTIONS' command is a powerful command. Here we will describe
71131 +a simple use of it. Let's assume your program consists only of code,
71132 +initialized data, and uninitialized data. These will be in the
71133 +`.text', `.data', and `.bss' sections, respectively. Let's assume
71134 +further that these are the only sections which appear in your input
71137 + For this example, let's say that the code should be loaded at address
71138 +0x10000, and that the data should start at address 0x8000000. Here is a
71139 +linker script which will do that:
71143 + .text : { *(.text) }
71145 + .data : { *(.data) }
71146 + .bss : { *(.bss) }
71149 + You write the `SECTIONS' command as the keyword `SECTIONS', followed
71150 +by a series of symbol assignments and output section descriptions
71151 +enclosed in curly braces.
71153 + The first line inside the `SECTIONS' command of the above example
71154 +sets the value of the special symbol `.', which is the location
71155 +counter. If you do not specify the address of an output section in some
71156 +other way (other ways are described later), the address is set from the
71157 +current value of the location counter. The location counter is then
71158 +incremented by the size of the output section. At the start of the
71159 +`SECTIONS' command, the location counter has the value `0'.
71161 + The second line defines an output section, `.text'. The colon is
71162 +required syntax which may be ignored for now. Within the curly braces
71163 +after the output section name, you list the names of the input sections
71164 +which should be placed into this output section. The `*' is a wildcard
71165 +which matches any file name. The expression `*(.text)' means all
71166 +`.text' input sections in all input files.
71168 + Since the location counter is `0x10000' when the output section
71169 +`.text' is defined, the linker will set the address of the `.text'
71170 +section in the output file to be `0x10000'.
71172 + The remaining lines define the `.data' and `.bss' sections in the
71173 +output file. The linker will place the `.data' output section at
71174 +address `0x8000000'. After the linker places the `.data' output
71175 +section, the value of the location counter will be `0x8000000' plus the
71176 +size of the `.data' output section. The effect is that the linker will
71177 +place the `.bss' output section immediately after the `.data' output
71178 +section in memory.
71180 + The linker will ensure that each output section has the required
71181 +alignment, by increasing the location counter if necessary. In this
71182 +example, the specified addresses for the `.text' and `.data' sections
71183 +will probably satisfy any alignment constraints, but the linker may
71184 +have to create a small gap between the `.data' and `.bss' sections.
71186 + That's it! That's a simple and complete linker script.
71189 +File: ld.info, Node: Simple Commands, Next: Assignments, Prev: Simple Example, Up: Scripts
71191 +3.4 Simple Linker Script Commands
71192 +=================================
71194 +In this section we describe the simple linker script commands.
71198 +* Entry Point:: Setting the entry point
71199 +* File Commands:: Commands dealing with files
71201 +* Format Commands:: Commands dealing with object file formats
71203 +* Miscellaneous Commands:: Other linker script commands
71206 +File: ld.info, Node: Entry Point, Next: File Commands, Up: Simple Commands
71208 +3.4.1 Setting the Entry Point
71209 +-----------------------------
71211 +The first instruction to execute in a program is called the "entry
71212 +point". You can use the `ENTRY' linker script command to set the entry
71213 +point. The argument is a symbol name:
71216 + There are several ways to set the entry point. The linker will set
71217 +the entry point by trying each of the following methods in order, and
71218 +stopping when one of them succeeds:
71219 + * the `-e' ENTRY command-line option;
71221 + * the `ENTRY(SYMBOL)' command in a linker script;
71223 + * the value of the symbol `start', if defined;
71225 + * the address of the first byte of the `.text' section, if present;
71227 + * The address `0'.
71230 +File: ld.info, Node: File Commands, Next: Format Commands, Prev: Entry Point, Up: Simple Commands
71232 +3.4.2 Commands Dealing with Files
71233 +---------------------------------
71235 +Several linker script commands deal with files.
71237 +`INCLUDE FILENAME'
71238 + Include the linker script FILENAME at this point. The file will
71239 + be searched for in the current directory, and in any directory
71240 + specified with the `-L' option. You can nest calls to `INCLUDE'
71241 + up to 10 levels deep.
71243 +`INPUT(FILE, FILE, ...)'
71244 +`INPUT(FILE FILE ...)'
71245 + The `INPUT' command directs the linker to include the named files
71246 + in the link, as though they were named on the command line.
71248 + For example, if you always want to include `subr.o' any time you do
71249 + a link, but you can't be bothered to put it on every link command
71250 + line, then you can put `INPUT (subr.o)' in your linker script.
71252 + In fact, if you like, you can list all of your input files in the
71253 + linker script, and then invoke the linker with nothing but a `-T'
71256 + In case a "sysroot prefix" is configured, and the filename starts
71257 + with the `/' character, and the script being processed was located
71258 + inside the "sysroot prefix", the filename will be looked for in
71259 + the "sysroot prefix". Otherwise, the linker will try to open the
71260 + file in the current directory. If it is not found, the linker
71261 + will search through the archive library search path. See the
71262 + description of `-L' in *Note Command Line Options: Options.
71264 + If you use `INPUT (-lFILE)', `ld' will transform the name to
71265 + `libFILE.a', as with the command line argument `-l'.
71267 + When you use the `INPUT' command in an implicit linker script, the
71268 + files will be included in the link at the point at which the linker
71269 + script file is included. This can affect archive searching.
71271 +`GROUP(FILE, FILE, ...)'
71272 +`GROUP(FILE FILE ...)'
71273 + The `GROUP' command is like `INPUT', except that the named files
71274 + should all be archives, and they are searched repeatedly until no
71275 + new undefined references are created. See the description of `-('
71276 + in *Note Command Line Options: Options.
71278 +`AS_NEEDED(FILE, FILE, ...)'
71279 +`AS_NEEDED(FILE FILE ...)'
71280 + This construct can appear only inside of the `INPUT' or `GROUP'
71281 + commands, among other filenames. The files listed will be handled
71282 + as if they appear directly in the `INPUT' or `GROUP' commands,
71283 + with the exception of ELF shared libraries, that will be added only
71284 + when they are actually needed. This construct essentially enables
71285 + `--as-needed' option for all the files listed inside of it and
71286 + restores previous `--as-needed' resp. `--no-as-needed' setting
71289 +`OUTPUT(FILENAME)'
71290 + The `OUTPUT' command names the output file. Using
71291 + `OUTPUT(FILENAME)' in the linker script is exactly like using `-o
71292 + FILENAME' on the command line (*note Command Line Options:
71293 + Options.). If both are used, the command line option takes
71296 + You can use the `OUTPUT' command to define a default name for the
71297 + output file other than the usual default of `a.out'.
71299 +`SEARCH_DIR(PATH)'
71300 + The `SEARCH_DIR' command adds PATH to the list of paths where `ld'
71301 + looks for archive libraries. Using `SEARCH_DIR(PATH)' is exactly
71302 + like using `-L PATH' on the command line (*note Command Line
71303 + Options: Options.). If both are used, then the linker will search
71304 + both paths. Paths specified using the command line option are
71307 +`STARTUP(FILENAME)'
71308 + The `STARTUP' command is just like the `INPUT' command, except
71309 + that FILENAME will become the first input file to be linked, as
71310 + though it were specified first on the command line. This may be
71311 + useful when using a system in which the entry point is always the
71312 + start of the first file.
71315 +File: ld.info, Node: Format Commands, Next: Miscellaneous Commands, Prev: File Commands, Up: Simple Commands
71317 +3.4.3 Commands Dealing with Object File Formats
71318 +-----------------------------------------------
71320 +A couple of linker script commands deal with object file formats.
71322 +`OUTPUT_FORMAT(BFDNAME)'
71323 +`OUTPUT_FORMAT(DEFAULT, BIG, LITTLE)'
71324 + The `OUTPUT_FORMAT' command names the BFD format to use for the
71325 + output file (*note BFD::). Using `OUTPUT_FORMAT(BFDNAME)' is
71326 + exactly like using `--oformat BFDNAME' on the command line (*note
71327 + Command Line Options: Options.). If both are used, the command
71328 + line option takes precedence.
71330 + You can use `OUTPUT_FORMAT' with three arguments to use different
71331 + formats based on the `-EB' and `-EL' command line options. This
71332 + permits the linker script to set the output format based on the
71333 + desired endianness.
71335 + If neither `-EB' nor `-EL' are used, then the output format will
71336 + be the first argument, DEFAULT. If `-EB' is used, the output
71337 + format will be the second argument, BIG. If `-EL' is used, the
71338 + output format will be the third argument, LITTLE.
71340 + For example, the default linker script for the MIPS ELF target
71341 + uses this command:
71342 + OUTPUT_FORMAT(elf32-bigmips, elf32-bigmips, elf32-littlemips)
71343 + This says that the default format for the output file is
71344 + `elf32-bigmips', but if the user uses the `-EL' command line
71345 + option, the output file will be created in the `elf32-littlemips'
71349 + The `TARGET' command names the BFD format to use when reading input
71350 + files. It affects subsequent `INPUT' and `GROUP' commands. This
71351 + command is like using `-b BFDNAME' on the command line (*note
71352 + Command Line Options: Options.). If the `TARGET' command is used
71353 + but `OUTPUT_FORMAT' is not, then the last `TARGET' command is also
71354 + used to set the format for the output file. *Note BFD::.
71357 +File: ld.info, Node: Miscellaneous Commands, Prev: Format Commands, Up: Simple Commands
71359 +3.4.4 Other Linker Script Commands
71360 +----------------------------------
71362 +There are a few other linker scripts commands.
71364 +`ASSERT(EXP, MESSAGE)'
71365 + Ensure that EXP is non-zero. If it is zero, then exit the linker
71366 + with an error code, and print MESSAGE.
71368 +`EXTERN(SYMBOL SYMBOL ...)'
71369 + Force SYMBOL to be entered in the output file as an undefined
71370 + symbol. Doing this may, for example, trigger linking of additional
71371 + modules from standard libraries. You may list several SYMBOLs for
71372 + each `EXTERN', and you may use `EXTERN' multiple times. This
71373 + command has the same effect as the `-u' command-line option.
71375 +`FORCE_COMMON_ALLOCATION'
71376 + This command has the same effect as the `-d' command-line option:
71377 + to make `ld' assign space to common symbols even if a relocatable
71378 + output file is specified (`-r').
71380 +`INHIBIT_COMMON_ALLOCATION'
71381 + This command has the same effect as the `--no-define-common'
71382 + command-line option: to make `ld' omit the assignment of addresses
71383 + to common symbols even for a non-relocatable output file.
71385 +`NOCROSSREFS(SECTION SECTION ...)'
71386 + This command may be used to tell `ld' to issue an error about any
71387 + references among certain output sections.
71389 + In certain types of programs, particularly on embedded systems when
71390 + using overlays, when one section is loaded into memory, another
71391 + section will not be. Any direct references between the two
71392 + sections would be errors. For example, it would be an error if
71393 + code in one section called a function defined in the other section.
71395 + The `NOCROSSREFS' command takes a list of output section names. If
71396 + `ld' detects any cross references between the sections, it reports
71397 + an error and returns a non-zero exit status. Note that the
71398 + `NOCROSSREFS' command uses output section names, not input section
71401 +`OUTPUT_ARCH(BFDARCH)'
71402 + Specify a particular output machine architecture. The argument is
71403 + one of the names used by the BFD library (*note BFD::). You can
71404 + see the architecture of an object file by using the `objdump'
71405 + program with the `-f' option.
71408 +File: ld.info, Node: Assignments, Next: SECTIONS, Prev: Simple Commands, Up: Scripts
71410 +3.5 Assigning Values to Symbols
71411 +===============================
71413 +You may assign a value to a symbol in a linker script. This will define
71414 +the symbol and place it into the symbol table with a global scope.
71418 +* Simple Assignments:: Simple Assignments
71419 +* PROVIDE:: PROVIDE
71420 +* PROVIDE_HIDDEN:: PROVIDE_HIDDEN
71421 +* Source Code Reference:: How to use a linker script defined symbol in source code
71424 +File: ld.info, Node: Simple Assignments, Next: PROVIDE, Up: Assignments
71426 +3.5.1 Simple Assignments
71427 +------------------------
71429 +You may assign to a symbol using any of the C assignment operators:
71431 +`SYMBOL = EXPRESSION ;'
71432 +`SYMBOL += EXPRESSION ;'
71433 +`SYMBOL -= EXPRESSION ;'
71434 +`SYMBOL *= EXPRESSION ;'
71435 +`SYMBOL /= EXPRESSION ;'
71436 +`SYMBOL <<= EXPRESSION ;'
71437 +`SYMBOL >>= EXPRESSION ;'
71438 +`SYMBOL &= EXPRESSION ;'
71439 +`SYMBOL |= EXPRESSION ;'
71441 + The first case will define SYMBOL to the value of EXPRESSION. In
71442 +the other cases, SYMBOL must already be defined, and the value will be
71443 +adjusted accordingly.
71445 + The special symbol name `.' indicates the location counter. You may
71446 +only use this within a `SECTIONS' command. *Note Location Counter::.
71448 + The semicolon after EXPRESSION is required.
71450 + Expressions are defined below; see *Note Expressions::.
71452 + You may write symbol assignments as commands in their own right, or
71453 +as statements within a `SECTIONS' command, or as part of an output
71454 +section description in a `SECTIONS' command.
71456 + The section of the symbol will be set from the section of the
71457 +expression; for more information, see *Note Expression Section::.
71459 + Here is an example showing the three different places that symbol
71460 +assignments may be used:
71462 + floating_point = 0;
71470 + _bdata = (. + 3) & ~ 3;
71471 + .data : { *(.data) }
71473 + In this example, the symbol `floating_point' will be defined as
71474 +zero. The symbol `_etext' will be defined as the address following the
71475 +last `.text' input section. The symbol `_bdata' will be defined as the
71476 +address following the `.text' output section aligned upward to a 4 byte
71480 +File: ld.info, Node: PROVIDE, Next: PROVIDE_HIDDEN, Prev: Simple Assignments, Up: Assignments
71485 +In some cases, it is desirable for a linker script to define a symbol
71486 +only if it is referenced and is not defined by any object included in
71487 +the link. For example, traditional linkers defined the symbol `etext'.
71488 +However, ANSI C requires that the user be able to use `etext' as a
71489 +function name without encountering an error. The `PROVIDE' keyword may
71490 +be used to define a symbol, such as `etext', only if it is referenced
71491 +but not defined. The syntax is `PROVIDE(SYMBOL = EXPRESSION)'.
71493 + Here is an example of using `PROVIDE' to define `etext':
71500 + PROVIDE(etext = .);
71504 + In this example, if the program defines `_etext' (with a leading
71505 +underscore), the linker will give a multiple definition error. If, on
71506 +the other hand, the program defines `etext' (with no leading
71507 +underscore), the linker will silently use the definition in the program.
71508 +If the program references `etext' but does not define it, the linker
71509 +will use the definition in the linker script.
71512 +File: ld.info, Node: PROVIDE_HIDDEN, Next: Source Code Reference, Prev: PROVIDE, Up: Assignments
71514 +3.5.3 PROVIDE_HIDDEN
71515 +--------------------
71517 +Similar to `PROVIDE'. For ELF targeted ports, the symbol will be
71518 +hidden and won't be exported.
71521 +File: ld.info, Node: Source Code Reference, Prev: PROVIDE_HIDDEN, Up: Assignments
71523 +3.5.4 Source Code Reference
71524 +---------------------------
71526 +Accessing a linker script defined variable from source code is not
71527 +intuitive. In particular a linker script symbol is not equivalent to a
71528 +variable declaration in a high level language, it is instead a symbol
71529 +that does not have a value.
71531 + Before going further, it is important to note that compilers often
71532 +transform names in the source code into different names when they are
71533 +stored in the symbol table. For example, Fortran compilers commonly
71534 +prepend or append an underscore, and C++ performs extensive `name
71535 +mangling'. Therefore there might be a discrepancy between the name of
71536 +a variable as it is used in source code and the name of the same
71537 +variable as it is defined in a linker script. For example in C a
71538 +linker script variable might be referred to as:
71542 + But in the linker script it might be defined as:
71546 + In the remaining examples however it is assumed that no name
71547 +transformation has taken place.
71549 + When a symbol is declared in a high level language such as C, two
71550 +things happen. The first is that the compiler reserves enough space in
71551 +the program's memory to hold the _value_ of the symbol. The second is
71552 +that the compiler creates an entry in the program's symbol table which
71553 +holds the symbol's _address_. ie the symbol table contains the address
71554 +of the block of memory holding the symbol's value. So for example the
71555 +following C declaration, at file scope:
71559 + creates a entry called `foo' in the symbol table. This entry holds
71560 +the address of an `int' sized block of memory where the number 1000 is
71563 + When a program references a symbol the compiler generates code that
71564 +first accesses the symbol table to find the address of the symbol's
71565 +memory block and then code to read the value from that memory block.
71570 + looks up the symbol `foo' in the symbol table, gets the address
71571 +associated with this symbol and then writes the value 1 into that
71576 + looks up the symbol `foo' in the symbol table, gets it address and
71577 +then copies this address into the block of memory associated with the
71580 + Linker scripts symbol declarations, by contrast, create an entry in
71581 +the symbol table but do not assign any memory to them. Thus they are
71582 +an address without a value. So for example the linker script
71587 + creates an entry in the symbol table called `foo' which holds the
71588 +address of memory location 1000, but nothing special is stored at
71589 +address 1000. This means that you cannot access the _value_ of a
71590 +linker script defined symbol - it has no value - all you can do is
71591 +access the _address_ of a linker script defined symbol.
71593 + Hence when you are using a linker script defined symbol in source
71594 +code you should always take the address of the symbol, and never
71595 +attempt to use its value. For example suppose you want to copy the
71596 +contents of a section of memory called .ROM into a section called
71597 +.FLASH and the linker script contains these declarations:
71599 + start_of_ROM = .ROM;
71600 + end_of_ROM = .ROM + sizeof (.ROM) - 1;
71601 + start_of_FLASH = .FLASH;
71603 + Then the C source code to perform the copy would be:
71605 + extern char start_of_ROM, end_of_ROM, start_of_FLASH;
71607 + memcpy (& start_of_FLASH, & start_of_ROM, & end_of_ROM - & start_of_ROM);
71609 + Note the use of the `&' operators. These are correct.
71612 +File: ld.info, Node: SECTIONS, Next: MEMORY, Prev: Assignments, Up: Scripts
71614 +3.6 SECTIONS Command
71615 +====================
71617 +The `SECTIONS' command tells the linker how to map input sections into
71618 +output sections, and how to place the output sections in memory.
71620 + The format of the `SECTIONS' command is:
71628 + Each SECTIONS-COMMAND may of be one of the following:
71630 + * an `ENTRY' command (*note Entry command: Entry Point.)
71632 + * a symbol assignment (*note Assignments::)
71634 + * an output section description
71636 + * an overlay description
71638 + The `ENTRY' command and symbol assignments are permitted inside the
71639 +`SECTIONS' command for convenience in using the location counter in
71640 +those commands. This can also make the linker script easier to
71641 +understand because you can use those commands at meaningful points in
71642 +the layout of the output file.
71644 + Output section descriptions and overlay descriptions are described
71647 + If you do not use a `SECTIONS' command in your linker script, the
71648 +linker will place each input section into an identically named output
71649 +section in the order that the sections are first encountered in the
71650 +input files. If all input sections are present in the first file, for
71651 +example, the order of sections in the output file will match the order
71652 +in the first input file. The first section will be at address zero.
71656 +* Output Section Description:: Output section description
71657 +* Output Section Name:: Output section name
71658 +* Output Section Address:: Output section address
71659 +* Input Section:: Input section description
71660 +* Output Section Data:: Output section data
71661 +* Output Section Keywords:: Output section keywords
71662 +* Output Section Discarding:: Output section discarding
71663 +* Output Section Attributes:: Output section attributes
71664 +* Overlay Description:: Overlay description
71667 +File: ld.info, Node: Output Section Description, Next: Output Section Name, Up: SECTIONS
71669 +3.6.1 Output Section Description
71670 +--------------------------------
71672 +The full description of an output section looks like this:
71673 + SECTION [ADDRESS] [(TYPE)] :
71674 + [AT(LMA)] [ALIGN(SECTION_ALIGN)] [SUBALIGN(SUBSECTION_ALIGN)]
71676 + OUTPUT-SECTION-COMMAND
71677 + OUTPUT-SECTION-COMMAND
71679 + } [>REGION] [AT>LMA_REGION] [:PHDR :PHDR ...] [=FILLEXP]
71681 + Most output sections do not use most of the optional section
71684 + The whitespace around SECTION is required, so that the section name
71685 +is unambiguous. The colon and the curly braces are also required. The
71686 +line breaks and other white space are optional.
71688 + Each OUTPUT-SECTION-COMMAND may be one of the following:
71690 + * a symbol assignment (*note Assignments::)
71692 + * an input section description (*note Input Section::)
71694 + * data values to include directly (*note Output Section Data::)
71696 + * a special output section keyword (*note Output Section Keywords::)
71699 +File: ld.info, Node: Output Section Name, Next: Output Section Address, Prev: Output Section Description, Up: SECTIONS
71701 +3.6.2 Output Section Name
71702 +-------------------------
71704 +The name of the output section is SECTION. SECTION must meet the
71705 +constraints of your output format. In formats which only support a
71706 +limited number of sections, such as `a.out', the name must be one of
71707 +the names supported by the format (`a.out', for example, allows only
71708 +`.text', `.data' or `.bss'). If the output format supports any number
71709 +of sections, but with numbers and not names (as is the case for Oasys),
71710 +the name should be supplied as a quoted numeric string. A section name
71711 +may consist of any sequence of characters, but a name which contains
71712 +any unusual characters such as commas must be quoted.
71714 + The output section name `/DISCARD/' is special; *Note Output Section
71718 +File: ld.info, Node: Output Section Address, Next: Input Section, Prev: Output Section Name, Up: SECTIONS
71720 +3.6.3 Output Section Address
71721 +----------------------------
71723 +The ADDRESS is an expression for the VMA (the virtual memory address)
71724 +of the output section. If you do not provide ADDRESS, the linker will
71725 +set it based on REGION if present, or otherwise based on the current
71726 +value of the location counter.
71728 + If you provide ADDRESS, the address of the output section will be
71729 +set to precisely that. If you provide neither ADDRESS nor REGION, then
71730 +the address of the output section will be set to the current value of
71731 +the location counter aligned to the alignment requirements of the
71732 +output section. The alignment requirement of the output section is the
71733 +strictest alignment of any input section contained within the output
71737 + .text . : { *(.text) }
71739 + .text : { *(.text) }
71740 + are subtly different. The first will set the address of the `.text'
71741 +output section to the current value of the location counter. The
71742 +second will set it to the current value of the location counter aligned
71743 +to the strictest alignment of a `.text' input section.
71745 + The ADDRESS may be an arbitrary expression; *Note Expressions::.
71746 +For example, if you want to align the section on a 0x10 byte boundary,
71747 +so that the lowest four bits of the section address are zero, you could
71748 +do something like this:
71749 + .text ALIGN(0x10) : { *(.text) }
71750 + This works because `ALIGN' returns the current location counter
71751 +aligned upward to the specified value.
71753 + Specifying ADDRESS for a section will change the value of the
71757 +File: ld.info, Node: Input Section, Next: Output Section Data, Prev: Output Section Address, Up: SECTIONS
71759 +3.6.4 Input Section Description
71760 +-------------------------------
71762 +The most common output section command is an input section description.
71764 + The input section description is the most basic linker script
71765 +operation. You use output sections to tell the linker how to lay out
71766 +your program in memory. You use input section descriptions to tell the
71767 +linker how to map the input files into your memory layout.
71771 +* Input Section Basics:: Input section basics
71772 +* Input Section Wildcards:: Input section wildcard patterns
71773 +* Input Section Common:: Input section for common symbols
71774 +* Input Section Keep:: Input section and garbage collection
71775 +* Input Section Example:: Input section example
71778 +File: ld.info, Node: Input Section Basics, Next: Input Section Wildcards, Up: Input Section
71780 +3.6.4.1 Input Section Basics
71781 +............................
71783 +An input section description consists of a file name optionally followed
71784 +by a list of section names in parentheses.
71786 + The file name and the section name may be wildcard patterns, which we
71787 +describe further below (*note Input Section Wildcards::).
71789 + The most common input section description is to include all input
71790 +sections with a particular name in the output section. For example, to
71791 +include all input `.text' sections, you would write:
71793 + Here the `*' is a wildcard which matches any file name. To exclude
71794 +a list of files from matching the file name wildcard, EXCLUDE_FILE may
71795 +be used to match all files except the ones specified in the
71796 +EXCLUDE_FILE list. For example:
71797 + (*(EXCLUDE_FILE (*crtend.o *otherfile.o) .ctors))
71798 + will cause all .ctors sections from all files except `crtend.o' and
71799 +`otherfile.o' to be included.
71801 + There are two ways to include more than one section:
71803 + *(.text) *(.rdata)
71804 + The difference between these is the order in which the `.text' and
71805 +`.rdata' input sections will appear in the output section. In the
71806 +first example, they will be intermingled, appearing in the same order as
71807 +they are found in the linker input. In the second example, all `.text'
71808 +input sections will appear first, followed by all `.rdata' input
71811 + You can specify a file name to include sections from a particular
71812 +file. You would do this if one or more of your files contain special
71813 +data that needs to be at a particular location in memory. For example:
71816 + If you use a file name without a list of sections, then all sections
71817 +in the input file will be included in the output section. This is not
71818 +commonly done, but it may by useful on occasion. For example:
71821 + When you use a file name which does not contain any wild card
71822 +characters, the linker will first see if you also specified the file
71823 +name on the linker command line or in an `INPUT' command. If you did
71824 +not, the linker will attempt to open the file as an input file, as
71825 +though it appeared on the command line. Note that this differs from an
71826 +`INPUT' command, because the linker will not search for the file in the
71827 +archive search path.
71830 +File: ld.info, Node: Input Section Wildcards, Next: Input Section Common, Prev: Input Section Basics, Up: Input Section
71832 +3.6.4.2 Input Section Wildcard Patterns
71833 +.......................................
71835 +In an input section description, either the file name or the section
71836 +name or both may be wildcard patterns.
71838 + The file name of `*' seen in many examples is a simple wildcard
71839 +pattern for the file name.
71841 + The wildcard patterns are like those used by the Unix shell.
71844 + matches any number of characters
71847 + matches any single character
71850 + matches a single instance of any of the CHARS; the `-' character
71851 + may be used to specify a range of characters, as in `[a-z]' to
71852 + match any lower case letter
71855 + quotes the following character
71857 + When a file name is matched with a wildcard, the wildcard characters
71858 +will not match a `/' character (used to separate directory names on
71859 +Unix). A pattern consisting of a single `*' character is an exception;
71860 +it will always match any file name, whether it contains a `/' or not.
71861 +In a section name, the wildcard characters will match a `/' character.
71863 + File name wildcard patterns only match files which are explicitly
71864 +specified on the command line or in an `INPUT' command. The linker
71865 +does not search directories to expand wildcards.
71867 + If a file name matches more than one wildcard pattern, or if a file
71868 +name appears explicitly and is also matched by a wildcard pattern, the
71869 +linker will use the first match in the linker script. For example, this
71870 +sequence of input section descriptions is probably in error, because the
71871 +`data.o' rule will not be used:
71872 + .data : { *(.data) }
71873 + .data1 : { data.o(.data) }
71875 + Normally, the linker will place files and sections matched by
71876 +wildcards in the order in which they are seen during the link. You can
71877 +change this by using the `SORT_BY_NAME' keyword, which appears before a
71878 +wildcard pattern in parentheses (e.g., `SORT_BY_NAME(.text*)'). When
71879 +the `SORT_BY_NAME' keyword is used, the linker will sort the files or
71880 +sections into ascending order by name before placing them in the output
71883 + `SORT_BY_ALIGNMENT' is very similar to `SORT_BY_NAME'. The
71884 +difference is `SORT_BY_ALIGNMENT' will sort sections into ascending
71885 +order by alignment before placing them in the output file.
71887 + `SORT' is an alias for `SORT_BY_NAME'.
71889 + When there are nested section sorting commands in linker script,
71890 +there can be at most 1 level of nesting for section sorting commands.
71892 + 1. `SORT_BY_NAME' (`SORT_BY_ALIGNMENT' (wildcard section pattern)).
71893 + It will sort the input sections by name first, then by alignment
71894 + if 2 sections have the same name.
71896 + 2. `SORT_BY_ALIGNMENT' (`SORT_BY_NAME' (wildcard section pattern)).
71897 + It will sort the input sections by alignment first, then by name
71898 + if 2 sections have the same alignment.
71900 + 3. `SORT_BY_NAME' (`SORT_BY_NAME' (wildcard section pattern)) is
71901 + treated the same as `SORT_BY_NAME' (wildcard section pattern).
71903 + 4. `SORT_BY_ALIGNMENT' (`SORT_BY_ALIGNMENT' (wildcard section
71904 + pattern)) is treated the same as `SORT_BY_ALIGNMENT' (wildcard
71905 + section pattern).
71907 + 5. All other nested section sorting commands are invalid.
71909 + When both command line section sorting option and linker script
71910 +section sorting command are used, section sorting command always takes
71911 +precedence over the command line option.
71913 + If the section sorting command in linker script isn't nested, the
71914 +command line option will make the section sorting command to be treated
71915 +as nested sorting command.
71917 + 1. `SORT_BY_NAME' (wildcard section pattern ) with `--sort-sections
71918 + alignment' is equivalent to `SORT_BY_NAME' (`SORT_BY_ALIGNMENT'
71919 + (wildcard section pattern)).
71921 + 2. `SORT_BY_ALIGNMENT' (wildcard section pattern) with
71922 + `--sort-section name' is equivalent to `SORT_BY_ALIGNMENT'
71923 + (`SORT_BY_NAME' (wildcard section pattern)).
71925 + If the section sorting command in linker script is nested, the
71926 +command line option will be ignored.
71928 + If you ever get confused about where input sections are going, use
71929 +the `-M' linker option to generate a map file. The map file shows
71930 +precisely how input sections are mapped to output sections.
71932 + This example shows how wildcard patterns might be used to partition
71933 +files. This linker script directs the linker to place all `.text'
71934 +sections in `.text' and all `.bss' sections in `.bss'. The linker will
71935 +place the `.data' section from all files beginning with an upper case
71936 +character in `.DATA'; for all other files, the linker will place the
71937 +`.data' section in `.data'.
71939 + .text : { *(.text) }
71940 + .DATA : { [A-Z]*(.data) }
71941 + .data : { *(.data) }
71942 + .bss : { *(.bss) }
71946 +File: ld.info, Node: Input Section Common, Next: Input Section Keep, Prev: Input Section Wildcards, Up: Input Section
71948 +3.6.4.3 Input Section for Common Symbols
71949 +........................................
71951 +A special notation is needed for common symbols, because in many object
71952 +file formats common symbols do not have a particular input section. The
71953 +linker treats common symbols as though they are in an input section
71956 + You may use file names with the `COMMON' section just as with any
71957 +other input sections. You can use this to place common symbols from a
71958 +particular input file in one section while common symbols from other
71959 +input files are placed in another section.
71961 + In most cases, common symbols in input files will be placed in the
71962 +`.bss' section in the output file. For example:
71963 + .bss { *(.bss) *(COMMON) }
71965 + Some object file formats have more than one type of common symbol.
71966 +For example, the MIPS ELF object file format distinguishes standard
71967 +common symbols and small common symbols. In this case, the linker will
71968 +use a different special section name for other types of common symbols.
71969 +In the case of MIPS ELF, the linker uses `COMMON' for standard common
71970 +symbols and `.scommon' for small common symbols. This permits you to
71971 +map the different types of common symbols into memory at different
71974 + You will sometimes see `[COMMON]' in old linker scripts. This
71975 +notation is now considered obsolete. It is equivalent to `*(COMMON)'.
71978 +File: ld.info, Node: Input Section Keep, Next: Input Section Example, Prev: Input Section Common, Up: Input Section
71980 +3.6.4.4 Input Section and Garbage Collection
71981 +............................................
71983 +When link-time garbage collection is in use (`--gc-sections'), it is
71984 +often useful to mark sections that should not be eliminated. This is
71985 +accomplished by surrounding an input section's wildcard entry with
71986 +`KEEP()', as in `KEEP(*(.init))' or `KEEP(SORT_BY_NAME(*)(.ctors))'.
71989 +File: ld.info, Node: Input Section Example, Prev: Input Section Keep, Up: Input Section
71991 +3.6.4.5 Input Section Example
71992 +.............................
71994 +The following example is a complete linker script. It tells the linker
71995 +to read all of the sections from file `all.o' and place them at the
71996 +start of output section `outputa' which starts at location `0x10000'.
71997 +All of section `.input1' from file `foo.o' follows immediately, in the
71998 +same output section. All of section `.input2' from `foo.o' goes into
71999 +output section `outputb', followed by section `.input1' from `foo1.o'.
72000 +All of the remaining `.input1' and `.input2' sections from any files
72001 +are written to output section `outputc'.
72004 + outputa 0x10000 :
72022 +File: ld.info, Node: Output Section Data, Next: Output Section Keywords, Prev: Input Section, Up: SECTIONS
72024 +3.6.5 Output Section Data
72025 +-------------------------
72027 +You can include explicit bytes of data in an output section by using
72028 +`BYTE', `SHORT', `LONG', `QUAD', or `SQUAD' as an output section
72029 +command. Each keyword is followed by an expression in parentheses
72030 +providing the value to store (*note Expressions::). The value of the
72031 +expression is stored at the current value of the location counter.
72033 + The `BYTE', `SHORT', `LONG', and `QUAD' commands store one, two,
72034 +four, and eight bytes (respectively). After storing the bytes, the
72035 +location counter is incremented by the number of bytes stored.
72037 + For example, this will store the byte 1 followed by the four byte
72038 +value of the symbol `addr':
72042 + When using a 64 bit host or target, `QUAD' and `SQUAD' are the same;
72043 +they both store an 8 byte, or 64 bit, value. When both host and target
72044 +are 32 bits, an expression is computed as 32 bits. In this case `QUAD'
72045 +stores a 32 bit value zero extended to 64 bits, and `SQUAD' stores a 32
72046 +bit value sign extended to 64 bits.
72048 + If the object file format of the output file has an explicit
72049 +endianness, which is the normal case, the value will be stored in that
72050 +endianness. When the object file format does not have an explicit
72051 +endianness, as is true of, for example, S-records, the value will be
72052 +stored in the endianness of the first input object file.
72054 + Note--these commands only work inside a section description and not
72055 +between them, so the following will produce an error from the linker:
72056 + SECTIONS { .text : { *(.text) } LONG(1) .data : { *(.data) } }
72057 + whereas this will work:
72058 + SECTIONS { .text : { *(.text) ; LONG(1) } .data : { *(.data) } }
72060 + You may use the `FILL' command to set the fill pattern for the
72061 +current section. It is followed by an expression in parentheses. Any
72062 +otherwise unspecified regions of memory within the section (for example,
72063 +gaps left due to the required alignment of input sections) are filled
72064 +with the value of the expression, repeated as necessary. A `FILL'
72065 +statement covers memory locations after the point at which it occurs in
72066 +the section definition; by including more than one `FILL' statement,
72067 +you can have different fill patterns in different parts of an output
72070 + This example shows how to fill unspecified regions of memory with the
72074 + The `FILL' command is similar to the `=FILLEXP' output section
72075 +attribute, but it only affects the part of the section following the
72076 +`FILL' command, rather than the entire section. If both are used, the
72077 +`FILL' command takes precedence. *Note Output Section Fill::, for
72078 +details on the fill expression.
72081 +File: ld.info, Node: Output Section Keywords, Next: Output Section Discarding, Prev: Output Section Data, Up: SECTIONS
72083 +3.6.6 Output Section Keywords
72084 +-----------------------------
72086 +There are a couple of keywords which can appear as output section
72089 +`CREATE_OBJECT_SYMBOLS'
72090 + The command tells the linker to create a symbol for each input
72091 + file. The name of each symbol will be the name of the
72092 + corresponding input file. The section of each symbol will be the
72093 + output section in which the `CREATE_OBJECT_SYMBOLS' command
72096 + This is conventional for the a.out object file format. It is not
72097 + normally used for any other object file format.
72100 + When linking using the a.out object file format, the linker uses an
72101 + unusual set construct to support C++ global constructors and
72102 + destructors. When linking object file formats which do not support
72103 + arbitrary sections, such as ECOFF and XCOFF, the linker will
72104 + automatically recognize C++ global constructors and destructors by
72105 + name. For these object file formats, the `CONSTRUCTORS' command
72106 + tells the linker to place constructor information in the output
72107 + section where the `CONSTRUCTORS' command appears. The
72108 + `CONSTRUCTORS' command is ignored for other object file formats.
72110 + The symbol `__CTOR_LIST__' marks the start of the global
72111 + constructors, and the symbol `__CTOR_END__' marks the end.
72112 + Similarly, `__DTOR_LIST__' and `__DTOR_END__' mark the start and
72113 + end of the global destructors. The first word in the list is the
72114 + number of entries, followed by the address of each constructor or
72115 + destructor, followed by a zero word. The compiler must arrange to
72116 + actually run the code. For these object file formats GNU C++
72117 + normally calls constructors from a subroutine `__main'; a call to
72118 + `__main' is automatically inserted into the startup code for
72119 + `main'. GNU C++ normally runs destructors either by using
72120 + `atexit', or directly from the function `exit'.
72122 + For object file formats such as `COFF' or `ELF' which support
72123 + arbitrary section names, GNU C++ will normally arrange to put the
72124 + addresses of global constructors and destructors into the `.ctors'
72125 + and `.dtors' sections. Placing the following sequence into your
72126 + linker script will build the sort of table which the GNU C++
72127 + runtime code expects to see.
72129 + __CTOR_LIST__ = .;
72130 + LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
72133 + __CTOR_END__ = .;
72134 + __DTOR_LIST__ = .;
72135 + LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
72138 + __DTOR_END__ = .;
72140 + If you are using the GNU C++ support for initialization priority,
72141 + which provides some control over the order in which global
72142 + constructors are run, you must sort the constructors at link time
72143 + to ensure that they are executed in the correct order. When using
72144 + the `CONSTRUCTORS' command, use `SORT_BY_NAME(CONSTRUCTORS)'
72145 + instead. When using the `.ctors' and `.dtors' sections, use
72146 + `*(SORT_BY_NAME(.ctors))' and `*(SORT_BY_NAME(.dtors))' instead of
72147 + just `*(.ctors)' and `*(.dtors)'.
72149 + Normally the compiler and linker will handle these issues
72150 + automatically, and you will not need to concern yourself with
72151 + them. However, you may need to consider this if you are using C++
72152 + and writing your own linker scripts.
72156 +File: ld.info, Node: Output Section Discarding, Next: Output Section Attributes, Prev: Output Section Keywords, Up: SECTIONS
72158 +3.6.7 Output Section Discarding
72159 +-------------------------------
72161 +The linker will not create output section which do not have any
72162 +contents. This is for convenience when referring to input sections that
72163 +may or may not be present in any of the input files. For example:
72165 + will only create a `.foo' section in the output file if there is a
72166 +`.foo' section in at least one input file.
72168 + If you use anything other than an input section description as an
72169 +output section command, such as a symbol assignment, then the output
72170 +section will always be created, even if there are no matching input
72173 + The special output section name `/DISCARD/' may be used to discard
72174 +input sections. Any input sections which are assigned to an output
72175 +section named `/DISCARD/' are not included in the output file.
72178 +File: ld.info, Node: Output Section Attributes, Next: Overlay Description, Prev: Output Section Discarding, Up: SECTIONS
72180 +3.6.8 Output Section Attributes
72181 +-------------------------------
72183 +We showed above that the full description of an output section looked
72185 + SECTION [ADDRESS] [(TYPE)] :
72186 + [AT(LMA)] [ALIGN(SECTION_ALIGN)] [SUBALIGN(SUBSECTION_ALIGN)]
72188 + OUTPUT-SECTION-COMMAND
72189 + OUTPUT-SECTION-COMMAND
72191 + } [>REGION] [AT>LMA_REGION] [:PHDR :PHDR ...] [=FILLEXP]
72192 +We've already described SECTION, ADDRESS, and
72193 +OUTPUT-SECTION-COMMAND. In this section we will describe the remaining
72194 +section attributes.
72198 +* Output Section Type:: Output section type
72199 +* Output Section LMA:: Output section LMA
72200 +* Forced Output Alignment:: Forced Output Alignment
72201 +* Forced Input Alignment:: Forced Input Alignment
72202 +* Output Section Region:: Output section region
72203 +* Output Section Phdr:: Output section phdr
72204 +* Output Section Fill:: Output section fill
72207 +File: ld.info, Node: Output Section Type, Next: Output Section LMA, Up: Output Section Attributes
72209 +3.6.8.1 Output Section Type
72210 +...........................
72212 +Each output section may have a type. The type is a keyword in
72213 +parentheses. The following types are defined:
72216 + The section should be marked as not loadable, so that it will not
72217 + be loaded into memory when the program is run.
72223 + These type names are supported for backward compatibility, and are
72224 + rarely used. They all have the same effect: the section should be
72225 + marked as not allocatable, so that no memory is allocated for the
72226 + section when the program is run.
72228 + The linker normally sets the attributes of an output section based on
72229 +the input sections which map into it. You can override this by using
72230 +the section type. For example, in the script sample below, the `ROM'
72231 +section is addressed at memory location `0' and does not need to be
72232 +loaded when the program is run. The contents of the `ROM' section will
72233 +appear in the linker output file as usual.
72235 + ROM 0 (NOLOAD) : { ... }
72240 +File: ld.info, Node: Output Section LMA, Next: Forced Output Alignment, Prev: Output Section Type, Up: Output Section Attributes
72242 +3.6.8.2 Output Section LMA
72243 +..........................
72245 +Every section has a virtual address (VMA) and a load address (LMA); see
72246 +*Note Basic Script Concepts::. The address expression which may appear
72247 +in an output section description sets the VMA (*note Output Section
72250 + The linker will normally set the LMA equal to the VMA. You can
72251 +change that by using the `AT' keyword. The expression LMA that follows
72252 +the `AT' keyword specifies the load address of the section.
72254 + Alternatively, with `AT>LMA_REGION' expression, you may specify a
72255 +memory region for the section's load address. *Note MEMORY::. Note
72256 +that if the section has not had a VMA assigned to it then the linker
72257 +will use the LMA_REGION as the VMA region as well. *Note Output
72260 + This feature is designed to make it easy to build a ROM image. For
72261 +example, the following linker script creates three output sections: one
72262 +called `.text', which starts at `0x1000', one called `.mdata', which is
72263 +loaded at the end of the `.text' section even though its VMA is
72264 +`0x2000', and one called `.bss' to hold uninitialized data at address
72265 +`0x3000'. The symbol `_data' is defined with the value `0x2000', which
72266 +shows that the location counter holds the VMA value, not the LMA value.
72270 + .text 0x1000 : { *(.text) _etext = . ; }
72272 + AT ( ADDR (.text) + SIZEOF (.text) )
72273 + { _data = . ; *(.data); _edata = . ; }
72275 + { _bstart = . ; *(.bss) *(COMMON) ; _bend = . ;}
72278 + The run-time initialization code for use with a program generated
72279 +with this linker script would include something like the following, to
72280 +copy the initialized data from the ROM image to its runtime address.
72281 +Notice how this code takes advantage of the symbols defined by the
72284 + extern char _etext, _data, _edata, _bstart, _bend;
72285 + char *src = &_etext;
72286 + char *dst = &_data;
72288 + /* ROM has data at end of text; copy it. */
72289 + while (dst < &_edata) {
72294 + for (dst = &_bstart; dst< &_bend; dst++)
72298 +File: ld.info, Node: Forced Output Alignment, Next: Forced Input Alignment, Prev: Output Section LMA, Up: Output Section Attributes
72300 +3.6.8.3 Forced Output Alignment
72301 +...............................
72303 +You can increase an output section's alignment by using ALIGN.
72306 +File: ld.info, Node: Forced Input Alignment, Next: Output Section Region, Prev: Forced Output Alignment, Up: Output Section Attributes
72308 +3.6.8.4 Forced Input Alignment
72309 +..............................
72311 +You can force input section alignment within an output section by using
72312 +SUBALIGN. The value specified overrides any alignment given by input
72313 +sections, whether larger or smaller.
72316 +File: ld.info, Node: Output Section Region, Next: Output Section Phdr, Prev: Forced Input Alignment, Up: Output Section Attributes
72318 +3.6.8.5 Output Section Region
72319 +.............................
72321 +You can assign a section to a previously defined region of memory by
72322 +using `>REGION'. *Note MEMORY::.
72324 + Here is a simple example:
72325 + MEMORY { rom : ORIGIN = 0x1000, LENGTH = 0x1000 }
72326 + SECTIONS { ROM : { *(.text) } >rom }
72329 +File: ld.info, Node: Output Section Phdr, Next: Output Section Fill, Prev: Output Section Region, Up: Output Section Attributes
72331 +3.6.8.6 Output Section Phdr
72332 +...........................
72334 +You can assign a section to a previously defined program segment by
72335 +using `:PHDR'. *Note PHDRS::. If a section is assigned to one or more
72336 +segments, then all subsequent allocated sections will be assigned to
72337 +those segments as well, unless they use an explicitly `:PHDR' modifier.
72338 +You can use `:NONE' to tell the linker to not put the section in any
72341 + Here is a simple example:
72342 + PHDRS { text PT_LOAD ; }
72343 + SECTIONS { .text : { *(.text) } :text }
72346 +File: ld.info, Node: Output Section Fill, Prev: Output Section Phdr, Up: Output Section Attributes
72348 +3.6.8.7 Output Section Fill
72349 +...........................
72351 +You can set the fill pattern for an entire section by using `=FILLEXP'.
72352 +FILLEXP is an expression (*note Expressions::). Any otherwise
72353 +unspecified regions of memory within the output section (for example,
72354 +gaps left due to the required alignment of input sections) will be
72355 +filled with the value, repeated as necessary. If the fill expression
72356 +is a simple hex number, ie. a string of hex digit starting with `0x'
72357 +and without a trailing `k' or `M', then an arbitrarily long sequence of
72358 +hex digits can be used to specify the fill pattern; Leading zeros
72359 +become part of the pattern too. For all other cases, including extra
72360 +parentheses or a unary `+', the fill pattern is the four least
72361 +significant bytes of the value of the expression. In all cases, the
72362 +number is big-endian.
72364 + You can also change the fill value with a `FILL' command in the
72365 +output section commands; (*note Output Section Data::).
72367 + Here is a simple example:
72368 + SECTIONS { .text : { *(.text) } =0x90909090 }
72371 +File: ld.info, Node: Overlay Description, Prev: Output Section Attributes, Up: SECTIONS
72373 +3.6.9 Overlay Description
72374 +-------------------------
72376 +An overlay description provides an easy way to describe sections which
72377 +are to be loaded as part of a single memory image but are to be run at
72378 +the same memory address. At run time, some sort of overlay manager will
72379 +copy the overlaid sections in and out of the runtime memory address as
72380 +required, perhaps by simply manipulating addressing bits. This approach
72381 +can be useful, for example, when a certain region of memory is faster
72384 + Overlays are described using the `OVERLAY' command. The `OVERLAY'
72385 +command is used within a `SECTIONS' command, like an output section
72386 +description. The full syntax of the `OVERLAY' command is as follows:
72387 + OVERLAY [START] : [NOCROSSREFS] [AT ( LDADDR )]
72391 + OUTPUT-SECTION-COMMAND
72392 + OUTPUT-SECTION-COMMAND
72394 + } [:PHDR...] [=FILL]
72397 + OUTPUT-SECTION-COMMAND
72398 + OUTPUT-SECTION-COMMAND
72400 + } [:PHDR...] [=FILL]
72402 + } [>REGION] [:PHDR...] [=FILL]
72404 + Everything is optional except `OVERLAY' (a keyword), and each
72405 +section must have a name (SECNAME1 and SECNAME2 above). The section
72406 +definitions within the `OVERLAY' construct are identical to those
72407 +within the general `SECTIONS' contruct (*note SECTIONS::), except that
72408 +no addresses and no memory regions may be defined for sections within
72411 + The sections are all defined with the same starting address. The
72412 +load addresses of the sections are arranged such that they are
72413 +consecutive in memory starting at the load address used for the
72414 +`OVERLAY' as a whole (as with normal section definitions, the load
72415 +address is optional, and defaults to the start address; the start
72416 +address is also optional, and defaults to the current value of the
72417 +location counter).
72419 + If the `NOCROSSREFS' keyword is used, and there any references among
72420 +the sections, the linker will report an error. Since the sections all
72421 +run at the same address, it normally does not make sense for one
72422 +section to refer directly to another. *Note NOCROSSREFS: Miscellaneous
72425 + For each section within the `OVERLAY', the linker automatically
72426 +defines two symbols. The symbol `__load_start_SECNAME' is defined as
72427 +the starting load address of the section. The symbol
72428 +`__load_stop_SECNAME' is defined as the final load address of the
72429 +section. Any characters within SECNAME which are not legal within C
72430 +identifiers are removed. C (or assembler) code may use these symbols
72431 +to move the overlaid sections around as necessary.
72433 + At the end of the overlay, the value of the location counter is set
72434 +to the start address of the overlay plus the size of the largest
72437 + Here is an example. Remember that this would appear inside a
72438 +`SECTIONS' construct.
72439 + OVERLAY 0x1000 : AT (0x4000)
72441 + .text0 { o1/*.o(.text) }
72442 + .text1 { o2/*.o(.text) }
72444 +This will define both `.text0' and `.text1' to start at address
72445 +0x1000. `.text0' will be loaded at address 0x4000, and `.text1' will
72446 +be loaded immediately after `.text0'. The following symbols will be
72447 +defined: `__load_start_text0', `__load_stop_text0',
72448 +`__load_start_text1', `__load_stop_text1'.
72450 + C code to copy overlay `.text1' into the overlay area might look
72451 +like the following.
72453 + extern char __load_start_text1, __load_stop_text1;
72454 + memcpy ((char *) 0x1000, &__load_start_text1,
72455 + &__load_stop_text1 - &__load_start_text1);
72457 + Note that the `OVERLAY' command is just syntactic sugar, since
72458 +everything it does can be done using the more basic commands. The above
72459 +example could have been written identically as follows.
72461 + .text0 0x1000 : AT (0x4000) { o1/*.o(.text) }
72462 + __load_start_text0 = LOADADDR (.text0);
72463 + __load_stop_text0 = LOADADDR (.text0) + SIZEOF (.text0);
72464 + .text1 0x1000 : AT (0x4000 + SIZEOF (.text0)) { o2/*.o(.text) }
72465 + __load_start_text1 = LOADADDR (.text1);
72466 + __load_stop_text1 = LOADADDR (.text1) + SIZEOF (.text1);
72467 + . = 0x1000 + MAX (SIZEOF (.text0), SIZEOF (.text1));
72470 +File: ld.info, Node: MEMORY, Next: PHDRS, Prev: SECTIONS, Up: Scripts
72472 +3.7 MEMORY Command
72473 +==================
72475 +The linker's default configuration permits allocation of all available
72476 +memory. You can override this by using the `MEMORY' command.
72478 + The `MEMORY' command describes the location and size of blocks of
72479 +memory in the target. You can use it to describe which memory regions
72480 +may be used by the linker, and which memory regions it must avoid. You
72481 +can then assign sections to particular memory regions. The linker will
72482 +set section addresses based on the memory regions, and will warn about
72483 +regions that become too full. The linker will not shuffle sections
72484 +around to fit into the available regions.
72486 + A linker script may contain at most one use of the `MEMORY' command.
72487 +However, you can define as many blocks of memory within it as you
72488 +wish. The syntax is:
72491 + NAME [(ATTR)] : ORIGIN = ORIGIN, LENGTH = LEN
72495 + The NAME is a name used in the linker script to refer to the region.
72496 +The region name has no meaning outside of the linker script. Region
72497 +names are stored in a separate name space, and will not conflict with
72498 +symbol names, file names, or section names. Each memory region must
72499 +have a distinct name.
72501 + The ATTR string is an optional list of attributes that specify
72502 +whether to use a particular memory region for an input section which is
72503 +not explicitly mapped in the linker script. As described in *Note
72504 +SECTIONS::, if you do not specify an output section for some input
72505 +section, the linker will create an output section with the same name as
72506 +the input section. If you define region attributes, the linker will use
72507 +them to select the memory region for the output section that it creates.
72509 + The ATTR string must consist only of the following characters:
72511 + Read-only section
72514 + Read/write section
72517 + Executable section
72520 + Allocatable section
72523 + Initialized section
72529 + Invert the sense of any of the preceding attributes
72531 + If a unmapped section matches any of the listed attributes other than
72532 +`!', it will be placed in the memory region. The `!' attribute
72533 +reverses this test, so that an unmapped section will be placed in the
72534 +memory region only if it does not match any of the listed attributes.
72536 + The ORIGIN is an numerical expression for the start address of the
72537 +memory region. The expression must evaluate to a constant and it
72538 +cannot involve any symbols. The keyword `ORIGIN' may be abbreviated to
72539 +`org' or `o' (but not, for example, `ORG').
72541 + The LEN is an expression for the size in bytes of the memory region.
72542 +As with the ORIGIN expression, the expression must be numerical only
72543 +and must evaluate to a constant. The keyword `LENGTH' may be
72544 +abbreviated to `len' or `l'.
72546 + In the following example, we specify that there are two memory
72547 +regions available for allocation: one starting at `0' for 256 kilobytes,
72548 +and the other starting at `0x40000000' for four megabytes. The linker
72549 +will place into the `rom' memory region every section which is not
72550 +explicitly mapped into a memory region, and is either read-only or
72551 +executable. The linker will place other sections which are not
72552 +explicitly mapped into a memory region into the `ram' memory region.
72556 + rom (rx) : ORIGIN = 0, LENGTH = 256K
72557 + ram (!rx) : org = 0x40000000, l = 4M
72560 + Once you define a memory region, you can direct the linker to place
72561 +specific output sections into that memory region by using the `>REGION'
72562 +output section attribute. For example, if you have a memory region
72563 +named `mem', you would use `>mem' in the output section definition.
72564 +*Note Output Section Region::. If no address was specified for the
72565 +output section, the linker will set the address to the next available
72566 +address within the memory region. If the combined output sections
72567 +directed to a memory region are too large for the region, the linker
72568 +will issue an error message.
72570 + It is possible to access the origin and length of a memory in an
72571 +expression via the `ORIGIN(MEMORY)' and `LENGTH(MEMORY)' functions:
72573 + _fstack = ORIGIN(ram) + LENGTH(ram) - 4;
72576 +File: ld.info, Node: PHDRS, Next: VERSION, Prev: MEMORY, Up: Scripts
72581 +The ELF object file format uses "program headers", also knows as
72582 +"segments". The program headers describe how the program should be
72583 +loaded into memory. You can print them out by using the `objdump'
72584 +program with the `-p' option.
72586 + When you run an ELF program on a native ELF system, the system loader
72587 +reads the program headers in order to figure out how to load the
72588 +program. This will only work if the program headers are set correctly.
72589 +This manual does not describe the details of how the system loader
72590 +interprets program headers; for more information, see the ELF ABI.
72592 + The linker will create reasonable program headers by default.
72593 +However, in some cases, you may need to specify the program headers more
72594 +precisely. You may use the `PHDRS' command for this purpose. When the
72595 +linker sees the `PHDRS' command in the linker script, it will not
72596 +create any program headers other than the ones specified.
72598 + The linker only pays attention to the `PHDRS' command when
72599 +generating an ELF output file. In other cases, the linker will simply
72602 + This is the syntax of the `PHDRS' command. The words `PHDRS',
72603 +`FILEHDR', `AT', and `FLAGS' are keywords.
72607 + NAME TYPE [ FILEHDR ] [ PHDRS ] [ AT ( ADDRESS ) ]
72608 + [ FLAGS ( FLAGS ) ] ;
72611 + The NAME is used only for reference in the `SECTIONS' command of the
72612 +linker script. It is not put into the output file. Program header
72613 +names are stored in a separate name space, and will not conflict with
72614 +symbol names, file names, or section names. Each program header must
72615 +have a distinct name.
72617 + Certain program header types describe segments of memory which the
72618 +system loader will load from the file. In the linker script, you
72619 +specify the contents of these segments by placing allocatable output
72620 +sections in the segments. You use the `:PHDR' output section attribute
72621 +to place a section in a particular segment. *Note Output Section
72624 + It is normal to put certain sections in more than one segment. This
72625 +merely implies that one segment of memory contains another. You may
72626 +repeat `:PHDR', using it once for each segment which should contain the
72629 + If you place a section in one or more segments using `:PHDR', then
72630 +the linker will place all subsequent allocatable sections which do not
72631 +specify `:PHDR' in the same segments. This is for convenience, since
72632 +generally a whole set of contiguous sections will be placed in a single
72633 +segment. You can use `:NONE' to override the default segment and tell
72634 +the linker to not put the section in any segment at all.
72636 + You may use the `FILEHDR' and `PHDRS' keywords appear after the
72637 +program header type to further describe the contents of the segment.
72638 +The `FILEHDR' keyword means that the segment should include the ELF
72639 +file header. The `PHDRS' keyword means that the segment should include
72640 +the ELF program headers themselves.
72642 + The TYPE may be one of the following. The numbers indicate the
72643 +value of the keyword.
72646 + Indicates an unused program header.
72649 + Indicates that this program header describes a segment to be
72650 + loaded from the file.
72653 + Indicates a segment where dynamic linking information can be found.
72656 + Indicates a segment where the name of the program interpreter may
72660 + Indicates a segment holding note information.
72663 + A reserved program header type, defined but not specified by the
72667 + Indicates a segment where the program headers may be found.
72670 + An expression giving the numeric type of the program header. This
72671 + may be used for types not defined above.
72673 + You can specify that a segment should be loaded at a particular
72674 +address in memory by using an `AT' expression. This is identical to the
72675 +`AT' command used as an output section attribute (*note Output Section
72676 +LMA::). The `AT' command for a program header overrides the output
72677 +section attribute.
72679 + The linker will normally set the segment flags based on the sections
72680 +which comprise the segment. You may use the `FLAGS' keyword to
72681 +explicitly specify the segment flags. The value of FLAGS must be an
72682 +integer. It is used to set the `p_flags' field of the program header.
72684 + Here is an example of `PHDRS'. This shows a typical set of program
72685 +headers used on a native ELF system.
72689 + headers PT_PHDR PHDRS ;
72690 + interp PT_INTERP ;
72691 + text PT_LOAD FILEHDR PHDRS ;
72693 + dynamic PT_DYNAMIC ;
72698 + . = SIZEOF_HEADERS;
72699 + .interp : { *(.interp) } :text :interp
72700 + .text : { *(.text) } :text
72701 + .rodata : { *(.rodata) } /* defaults to :text */
72703 + . = . + 0x1000; /* move to a new page in memory */
72704 + .data : { *(.data) } :data
72705 + .dynamic : { *(.dynamic) } :data :dynamic
72710 +File: ld.info, Node: VERSION, Next: Expressions, Prev: PHDRS, Up: Scripts
72712 +3.9 VERSION Command
72713 +===================
72715 +The linker supports symbol versions when using ELF. Symbol versions are
72716 +only useful when using shared libraries. The dynamic linker can use
72717 +symbol versions to select a specific version of a function when it runs
72718 +a program that may have been linked against an earlier version of the
72721 + You can include a version script directly in the main linker script,
72722 +or you can supply the version script as an implicit linker script. You
72723 +can also use the `--version-script' linker option.
72725 + The syntax of the `VERSION' command is simply
72726 + VERSION { version-script-commands }
72728 + The format of the version script commands is identical to that used
72729 +by Sun's linker in Solaris 2.5. The version script defines a tree of
72730 +version nodes. You specify the node names and interdependencies in the
72731 +version script. You can specify which symbols are bound to which
72732 +version nodes, and you can reduce a specified set of symbols to local
72733 +scope so that they are not globally visible outside of the shared
72736 + The easiest way to demonstrate the version script language is with a
72756 + "int f(int, double)";
72760 + This example version script defines three version nodes. The first
72761 +version node defined is `VERS_1.1'; it has no other dependencies. The
72762 +script binds the symbol `foo1' to `VERS_1.1'. It reduces a number of
72763 +symbols to local scope so that they are not visible outside of the
72764 +shared library; this is done using wildcard patterns, so that any
72765 +symbol whose name begins with `old', `original', or `new' is matched.
72766 +The wildcard patterns available are the same as those used in the shell
72767 +when matching filenames (also known as "globbing"). However, if you
72768 +specify the symbol name inside double quotes, then the name is treated
72769 +as literal, rather than as a glob pattern.
72771 + Next, the version script defines node `VERS_1.2'. This node depends
72772 +upon `VERS_1.1'. The script binds the symbol `foo2' to the version
72775 + Finally, the version script defines node `VERS_2.0'. This node
72776 +depends upon `VERS_1.2'. The scripts binds the symbols `bar1' and
72777 +`bar2' are bound to the version node `VERS_2.0'.
72779 + When the linker finds a symbol defined in a library which is not
72780 +specifically bound to a version node, it will effectively bind it to an
72781 +unspecified base version of the library. You can bind all otherwise
72782 +unspecified symbols to a given version node by using `global: *;'
72783 +somewhere in the version script.
72785 + The names of the version nodes have no specific meaning other than
72786 +what they might suggest to the person reading them. The `2.0' version
72787 +could just as well have appeared in between `1.1' and `1.2'. However,
72788 +this would be a confusing way to write a version script.
72790 + Node name can be omited, provided it is the only version node in the
72791 +version script. Such version script doesn't assign any versions to
72792 +symbols, only selects which symbols will be globally visible out and
72795 + { global: foo; bar; local: *; };
72797 + When you link an application against a shared library that has
72798 +versioned symbols, the application itself knows which version of each
72799 +symbol it requires, and it also knows which version nodes it needs from
72800 +each shared library it is linked against. Thus at runtime, the dynamic
72801 +loader can make a quick check to make sure that the libraries you have
72802 +linked against do in fact supply all of the version nodes that the
72803 +application will need to resolve all of the dynamic symbols. In this
72804 +way it is possible for the dynamic linker to know with certainty that
72805 +all external symbols that it needs will be resolvable without having to
72806 +search for each symbol reference.
72808 + The symbol versioning is in effect a much more sophisticated way of
72809 +doing minor version checking that SunOS does. The fundamental problem
72810 +that is being addressed here is that typically references to external
72811 +functions are bound on an as-needed basis, and are not all bound when
72812 +the application starts up. If a shared library is out of date, a
72813 +required interface may be missing; when the application tries to use
72814 +that interface, it may suddenly and unexpectedly fail. With symbol
72815 +versioning, the user will get a warning when they start their program if
72816 +the libraries being used with the application are too old.
72818 + There are several GNU extensions to Sun's versioning approach. The
72819 +first of these is the ability to bind a symbol to a version node in the
72820 +source file where the symbol is defined instead of in the versioning
72821 +script. This was done mainly to reduce the burden on the library
72822 +maintainer. You can do this by putting something like:
72823 + __asm__(".symver original_foo,foo@VERS_1.1");
72824 + in the C source file. This renames the function `original_foo' to
72825 +be an alias for `foo' bound to the version node `VERS_1.1'. The
72826 +`local:' directive can be used to prevent the symbol `original_foo'
72827 +from being exported. A `.symver' directive takes precedence over a
72830 + The second GNU extension is to allow multiple versions of the same
72831 +function to appear in a given shared library. In this way you can make
72832 +an incompatible change to an interface without increasing the major
72833 +version number of the shared library, while still allowing applications
72834 +linked against the old interface to continue to function.
72836 + To do this, you must use multiple `.symver' directives in the source
72837 +file. Here is an example:
72839 + __asm__(".symver original_foo,foo@");
72840 + __asm__(".symver old_foo,foo@VERS_1.1");
72841 + __asm__(".symver old_foo1,foo@VERS_1.2");
72842 + __asm__(".symver new_foo,foo@@VERS_2.0");
72844 + In this example, `foo@' represents the symbol `foo' bound to the
72845 +unspecified base version of the symbol. The source file that contains
72846 +this example would define 4 C functions: `original_foo', `old_foo',
72847 +`old_foo1', and `new_foo'.
72849 + When you have multiple definitions of a given symbol, there needs to
72850 +be some way to specify a default version to which external references to
72851 +this symbol will be bound. You can do this with the `foo@@VERS_2.0'
72852 +type of `.symver' directive. You can only declare one version of a
72853 +symbol as the default in this manner; otherwise you would effectively
72854 +have multiple definitions of the same symbol.
72856 + If you wish to bind a reference to a specific version of the symbol
72857 +within the shared library, you can use the aliases of convenience
72858 +(i.e., `old_foo'), or you can use the `.symver' directive to
72859 +specifically bind to an external version of the function in question.
72861 + You can also specify the language in the version script:
72863 + VERSION extern "lang" { version-script-commands }
72865 + The supported `lang's are `C', `C++', and `Java'. The linker will
72866 +iterate over the list of symbols at the link time and demangle them
72867 +according to `lang' before matching them to the patterns specified in
72868 +`version-script-commands'.
72870 + Demangled names may contains spaces and other special characters. As
72871 +described above, you can use a glob pattern to match demangled names,
72872 +or you can use a double-quoted string to match the string exactly. In
72873 +the latter case, be aware that minor differences (such as differing
72874 +whitespace) between the version script and the demangler output will
72875 +cause a mismatch. As the exact string generated by the demangler might
72876 +change in the future, even if the mangled name does not, you should
72877 +check that all of your version directives are behaving as you expect
72881 +File: ld.info, Node: Expressions, Next: Implicit Linker Scripts, Prev: VERSION, Up: Scripts
72883 +3.10 Expressions in Linker Scripts
72884 +==================================
72886 +The syntax for expressions in the linker script language is identical to
72887 +that of C expressions. All expressions are evaluated as integers. All
72888 +expressions are evaluated in the same size, which is 32 bits if both the
72889 +host and target are 32 bits, and is otherwise 64 bits.
72891 + You can use and set symbol values in expressions.
72893 + The linker defines several special purpose builtin functions for use
72898 +* Constants:: Constants
72899 +* Symbols:: Symbol Names
72900 +* Orphan Sections:: Orphan Sections
72901 +* Location Counter:: The Location Counter
72902 +* Operators:: Operators
72903 +* Evaluation:: Evaluation
72904 +* Expression Section:: The Section of an Expression
72905 +* Builtin Functions:: Builtin Functions
72908 +File: ld.info, Node: Constants, Next: Symbols, Up: Expressions
72913 +All constants are integers.
72915 + As in C, the linker considers an integer beginning with `0' to be
72916 +octal, and an integer beginning with `0x' or `0X' to be hexadecimal.
72917 +The linker considers other integers to be decimal.
72919 + In addition, you can use the suffixes `K' and `M' to scale a
72920 +constant by `1024' or `1024*1024' respectively. For example, the
72921 +following all refer to the same quantity:
72924 + _fourk_3 = 0x1000;
72927 +File: ld.info, Node: Symbols, Next: Orphan Sections, Prev: Constants, Up: Expressions
72929 +3.10.2 Symbol Names
72930 +-------------------
72932 +Unless quoted, symbol names start with a letter, underscore, or period
72933 +and may include letters, digits, underscores, periods, and hyphens.
72934 +Unquoted symbol names must not conflict with any keywords. You can
72935 +specify a symbol which contains odd characters or has the same name as a
72936 +keyword by surrounding the symbol name in double quotes:
72938 + "with a space" = "also with a space" + 10;
72940 + Since symbols can contain many non-alphabetic characters, it is
72941 +safest to delimit symbols with spaces. For example, `A-B' is one
72942 +symbol, whereas `A - B' is an expression involving subtraction.
72945 +File: ld.info, Node: Orphan Sections, Next: Location Counter, Prev: Symbols, Up: Expressions
72947 +3.10.3 Orphan Sections
72948 +----------------------
72950 +Orphan sections are sections present in the input files which are not
72951 +explicitly placed into the output file by the linker script. The
72952 +linker will still copy these sections into the output file, but it has
72953 +to guess as to where they should be placed. The linker uses a simple
72954 +heuristic to do this. It attempts to place orphan sections after
72955 +non-orphan sections of the same attribute, such as code vs data,
72956 +loadable vs non-loadable, etc. If there is not enough room to do this
72957 +then it places at the end of the file.
72959 + For ELF targets, the attribute of the section includes section type
72960 +as well as section flag.
72963 +File: ld.info, Node: Location Counter, Next: Operators, Prev: Orphan Sections, Up: Expressions
72965 +3.10.4 The Location Counter
72966 +---------------------------
72968 +The special linker variable "dot" `.' always contains the current
72969 +output location counter. Since the `.' always refers to a location in
72970 +an output section, it may only appear in an expression within a
72971 +`SECTIONS' command. The `.' symbol may appear anywhere that an
72972 +ordinary symbol is allowed in an expression.
72974 + Assigning a value to `.' will cause the location counter to be
72975 +moved. This may be used to create holes in the output section. The
72976 +location counter may never be moved backwards.
72989 + In the previous example, the `.text' section from `file1' is located
72990 +at the beginning of the output section `output'. It is followed by a
72991 +1000 byte gap. Then the `.text' section from `file2' appears, also
72992 +with a 1000 byte gap following before the `.text' section from `file3'.
72993 +The notation `= 0x12345678' specifies what data to write in the gaps
72994 +(*note Output Section Fill::).
72996 + Note: `.' actually refers to the byte offset from the start of the
72997 +current containing object. Normally this is the `SECTIONS' statement,
72998 +whose start address is 0, hence `.' can be used as an absolute address.
72999 +If `.' is used inside a section description however, it refers to the
73000 +byte offset from the start of that section, not an absolute address.
73001 +Thus in a script like this:
73017 + The `.text' section will be assigned a starting address of 0x100 and
73018 +a size of exactly 0x200 bytes, even if there is not enough data in the
73019 +`.text' input sections to fill this area. (If there is too much data,
73020 +an error will be produced because this would be an attempt to move `.'
73021 +backwards). The `.data' section will start at 0x500 and it will have
73022 +an extra 0x600 bytes worth of space after the end of the values from
73023 +the `.data' input sections and before the end of the `.data' output
73026 + Setting symbols to the value of the location counter outside of an
73027 +output section statement can result in unexpected values if the linker
73028 +needs to place orphan sections. For example, given the following:
73032 + start_of_text = . ;
73033 + .text: { *(.text) }
73034 + end_of_text = . ;
73036 + start_of_data = . ;
73037 + .data: { *(.data) }
73038 + end_of_data = . ;
73041 + If the linker needs to place some input section, e.g. `.rodata', not
73042 +mentioned in the script, it might choose to place that section between
73043 +`.text' and `.data'. You might think the linker should place `.rodata'
73044 +on the blank line in the above script, but blank lines are of no
73045 +particular significance to the linker. As well, the linker doesn't
73046 +associate the above symbol names with their sections. Instead, it
73047 +assumes that all assignments or other statements belong to the previous
73048 +output section, except for the special case of an assignment to `.'.
73049 +I.e., the linker will place the orphan `.rodata' section as if the
73050 +script was written as follows:
73054 + start_of_text = . ;
73055 + .text: { *(.text) }
73056 + end_of_text = . ;
73058 + start_of_data = . ;
73059 + .rodata: { *(.rodata) }
73060 + .data: { *(.data) }
73061 + end_of_data = . ;
73064 + This may or may not be the script author's intention for the value of
73065 +`start_of_data'. One way to influence the orphan section placement is
73066 +to assign the location counter to itself, as the linker assumes that an
73067 +assignment to `.' is setting the start address of a following output
73068 +section and thus should be grouped with that section. So you could
73073 + start_of_text = . ;
73074 + .text: { *(.text) }
73075 + end_of_text = . ;
73078 + start_of_data = . ;
73079 + .data: { *(.data) }
73080 + end_of_data = . ;
73083 + Now, the orphan `.rodata' section will be placed between
73084 +`end_of_text' and `start_of_data'.
73087 +File: ld.info, Node: Operators, Next: Evaluation, Prev: Location Counter, Up: Expressions
73092 +The linker recognizes the standard C set of arithmetic operators, with
73093 +the standard bindings and precedence levels:
73094 + precedence associativity Operators Notes
73100 + 5 left == != > < <= >=
73106 + 11 right &= += -= *= /= (2)
73108 + Notes: (1) Prefix operators (2) *Note Assignments::.
73111 +File: ld.info, Node: Evaluation, Next: Expression Section, Prev: Operators, Up: Expressions
73116 +The linker evaluates expressions lazily. It only computes the value of
73117 +an expression when absolutely necessary.
73119 + The linker needs some information, such as the value of the start
73120 +address of the first section, and the origins and lengths of memory
73121 +regions, in order to do any linking at all. These values are computed
73122 +as soon as possible when the linker reads in the linker script.
73124 + However, other values (such as symbol values) are not known or needed
73125 +until after storage allocation. Such values are evaluated later, when
73126 +other information (such as the sizes of output sections) is available
73127 +for use in the symbol assignment expression.
73129 + The sizes of sections cannot be known until after allocation, so
73130 +assignments dependent upon these are not performed until after
73133 + Some expressions, such as those depending upon the location counter
73134 +`.', must be evaluated during section allocation.
73136 + If the result of an expression is required, but the value is not
73137 +available, then an error results. For example, a script like the
73141 + .text 9+this_isnt_constant :
73144 +will cause the error message `non constant expression for initial
73148 +File: ld.info, Node: Expression Section, Next: Builtin Functions, Prev: Evaluation, Up: Expressions
73150 +3.10.7 The Section of an Expression
73151 +-----------------------------------
73153 +When the linker evaluates an expression, the result is either absolute
73154 +or relative to some section. A relative expression is expressed as a
73155 +fixed offset from the base of a section.
73157 + The position of the expression within the linker script determines
73158 +whether it is absolute or relative. An expression which appears within
73159 +an output section definition is relative to the base of the output
73160 +section. An expression which appears elsewhere will be absolute.
73162 + A symbol set to a relative expression will be relocatable if you
73163 +request relocatable output using the `-r' option. That means that a
73164 +further link operation may change the value of the symbol. The symbol's
73165 +section will be the section of the relative expression.
73167 + A symbol set to an absolute expression will retain the same value
73168 +through any further link operation. The symbol will be absolute, and
73169 +will not have any particular associated section.
73171 + You can use the builtin function `ABSOLUTE' to force an expression
73172 +to be absolute when it would otherwise be relative. For example, to
73173 +create an absolute symbol set to the address of the end of the output
73177 + .data : { *(.data) _edata = ABSOLUTE(.); }
73179 + If `ABSOLUTE' were not used, `_edata' would be relative to the
73183 +File: ld.info, Node: Builtin Functions, Prev: Expression Section, Up: Expressions
73185 +3.10.8 Builtin Functions
73186 +------------------------
73188 +The linker script language includes a number of builtin functions for
73189 +use in linker script expressions.
73192 + Return the absolute (non-relocatable, as opposed to non-negative)
73193 + value of the expression EXP. Primarily useful to assign an
73194 + absolute value to a symbol within a section definition, where
73195 + symbol values are normally section relative. *Note Expression
73199 + Return the absolute address (the VMA) of the named SECTION. Your
73200 + script must previously have defined the location of that section.
73201 + In the following example, `symbol_1' and `symbol_2' are assigned
73202 + identical values:
73206 + start_of_output_1 = ABSOLUTE(.);
73211 + symbol_1 = ADDR(.output1);
73212 + symbol_2 = start_of_output_1;
73217 +`ALIGN(EXP,ALIGN)'
73218 + Return the location counter (`.') or arbitrary expression aligned
73219 + to the next ALIGN boundary. The single operand `ALIGN' doesn't
73220 + change the value of the location counter--it just does arithmetic
73221 + on it. The two operand `ALIGN' allows an arbitrary expression to
73222 + be aligned upwards (`ALIGN(ALIGN)' is equivalent to `ALIGN(.,
73225 + Here is an example which aligns the output `.data' section to the
73226 + next `0x2000' byte boundary after the preceding section and sets a
73227 + variable within the section to the next `0x8000' boundary after the
73230 + .data ALIGN(0x2000): {
73232 + variable = ALIGN(0x8000);
73235 + The first use of `ALIGN' in this example specifies the
73236 + location of a section because it is used as the optional ADDRESS
73237 + attribute of a section definition (*note Output Section
73238 + Address::). The second use of `ALIGN' is used to defines the
73239 + value of a symbol.
73241 + The builtin function `NEXT' is closely related to `ALIGN'.
73244 + This is a synonym for `ALIGN', for compatibility with older linker
73245 + scripts. It is most often seen when setting the address of an
73248 +`DATA_SEGMENT_ALIGN(MAXPAGESIZE, COMMONPAGESIZE)'
73249 + This is equivalent to either
73250 + (ALIGN(MAXPAGESIZE) + (. & (MAXPAGESIZE - 1)))
73252 + (ALIGN(MAXPAGESIZE) + (. & (MAXPAGESIZE - COMMONPAGESIZE)))
73253 + depending on whether the latter uses fewer COMMONPAGESIZE sized
73254 + pages for the data segment (area between the result of this
73255 + expression and `DATA_SEGMENT_END') than the former or not. If the
73256 + latter form is used, it means COMMONPAGESIZE bytes of runtime
73257 + memory will be saved at the expense of up to COMMONPAGESIZE wasted
73258 + bytes in the on-disk file.
73260 + This expression can only be used directly in `SECTIONS' commands,
73261 + not in any output section descriptions and only once in the linker
73262 + script. COMMONPAGESIZE should be less or equal to MAXPAGESIZE and
73263 + should be the system page size the object wants to be optimized
73264 + for (while still working on system page sizes up to MAXPAGESIZE).
73267 + . = DATA_SEGMENT_ALIGN(0x10000, 0x2000);
73269 +`DATA_SEGMENT_END(EXP)'
73270 + This defines the end of data segment for `DATA_SEGMENT_ALIGN'
73271 + evaluation purposes.
73273 + . = DATA_SEGMENT_END(.);
73275 +`DATA_SEGMENT_RELRO_END(OFFSET, EXP)'
73276 + This defines the end of the `PT_GNU_RELRO' segment when `-z relro'
73277 + option is used. Second argument is returned. When `-z relro'
73278 + option is not present, `DATA_SEGMENT_RELRO_END' does nothing,
73279 + otherwise `DATA_SEGMENT_ALIGN' is padded so that EXP + OFFSET is
73280 + aligned to the most commonly used page boundary for particular
73281 + target. If present in the linker script, it must always come in
73282 + between `DATA_SEGMENT_ALIGN' and `DATA_SEGMENT_END'.
73284 + . = DATA_SEGMENT_RELRO_END(24, .);
73287 + Return 1 if SYMBOL is in the linker global symbol table and is
73288 + defined before the statement using DEFINED in the script, otherwise
73289 + return 0. You can use this function to provide default values for
73290 + symbols. For example, the following script fragment shows how to
73291 + set a global symbol `begin' to the first location in the `.text'
73292 + section--but if a symbol called `begin' already existed, its value
73297 + begin = DEFINED(begin) ? begin : . ;
73304 + Return the length of the memory region named MEMORY.
73306 +`LOADADDR(SECTION)'
73307 + Return the absolute LMA of the named SECTION. This is normally
73308 + the same as `ADDR', but it may be different if the `AT' attribute
73309 + is used in the output section definition (*note Output Section
73313 + Returns the maximum of EXP1 and EXP2.
73316 + Returns the minimum of EXP1 and EXP2.
73319 + Return the next unallocated address that is a multiple of EXP.
73320 + This function is closely related to `ALIGN(EXP)'; unless you use
73321 + the `MEMORY' command to define discontinuous memory for the output
73322 + file, the two functions are equivalent.
73325 + Return the origin of the memory region named MEMORY.
73327 +`SEGMENT_START(SEGMENT, DEFAULT)'
73328 + Return the base address of the named SEGMENT. If an explicit
73329 + value has been given for this segment (with a command-line `-T'
73330 + option) that value will be returned; otherwise the value will be
73331 + DEFAULT. At present, the `-T' command-line option can only be
73332 + used to set the base address for the "text", "data", and "bss"
73333 + sections, but you use `SEGMENT_START' with any segment name.
73336 + Return the size in bytes of the named SECTION, if that section has
73337 + been allocated. If the section has not been allocated when this is
73338 + evaluated, the linker will report an error. In the following
73339 + example, `symbol_1' and `symbol_2' are assigned identical values:
73346 + symbol_1 = .end - .start ;
73347 + symbol_2 = SIZEOF(.output);
73352 + Return the size in bytes of the output file's headers. This is
73353 + information which appears at the start of the output file. You
73354 + can use this number when setting the start address of the first
73355 + section, if you choose, to facilitate paging.
73357 + When producing an ELF output file, if the linker script uses the
73358 + `SIZEOF_HEADERS' builtin function, the linker must compute the
73359 + number of program headers before it has determined all the section
73360 + addresses and sizes. If the linker later discovers that it needs
73361 + additional program headers, it will report an error `not enough
73362 + room for program headers'. To avoid this error, you must avoid
73363 + using the `SIZEOF_HEADERS' function, or you must rework your linker
73364 + script to avoid forcing the linker to use additional program
73365 + headers, or you must define the program headers yourself using the
73366 + `PHDRS' command (*note PHDRS::).
73369 +File: ld.info, Node: Implicit Linker Scripts, Prev: Expressions, Up: Scripts
73371 +3.11 Implicit Linker Scripts
73372 +============================
73374 +If you specify a linker input file which the linker can not recognize as
73375 +an object file or an archive file, it will try to read the file as a
73376 +linker script. If the file can not be parsed as a linker script, the
73377 +linker will report an error.
73379 + An implicit linker script will not replace the default linker script.
73381 + Typically an implicit linker script would contain only symbol
73382 +assignments, or the `INPUT', `GROUP', or `VERSION' commands.
73384 + Any input files read because of an implicit linker script will be
73385 +read at the position in the command line where the implicit linker
73386 +script was read. This can affect archive searching.
73389 +File: ld.info, Node: Machine Dependent, Next: BFD, Prev: Scripts, Up: Top
73391 +4 Machine Dependent Features
73392 +****************************
73394 +`ld' has additional features on some platforms; the following sections
73395 +describe them. Machines where `ld' has no additional functionality are
73401 +* H8/300:: `ld' and the H8/300
73403 +* i960:: `ld' and the Intel 960 family
73405 +* ARM:: `ld' and the ARM family
73407 +* HPPA ELF32:: `ld' and HPPA 32-bit ELF
73409 +* MMIX:: `ld' and MMIX
73411 +* MSP430:: `ld' and MSP430
73413 +* PowerPC ELF32:: `ld' and PowerPC 32-bit ELF Support
73415 +* PowerPC64 ELF64:: `ld' and PowerPC64 64-bit ELF Support
73417 +* TI COFF:: `ld' and TI COFF
73419 +* WIN32:: `ld' and WIN32 (cygwin/mingw)
73421 +* Xtensa:: `ld' and Xtensa Processors
73424 +File: ld.info, Node: H8/300, Next: i960, Up: Machine Dependent
73426 +4.1 `ld' and the H8/300
73427 +=======================
73429 +For the H8/300, `ld' can perform these global optimizations when you
73430 +specify the `--relax' command-line option.
73432 +_relaxing address modes_
73433 + `ld' finds all `jsr' and `jmp' instructions whose targets are
73434 + within eight bits, and turns them into eight-bit program-counter
73435 + relative `bsr' and `bra' instructions, respectively.
73437 +_synthesizing instructions_
73438 + `ld' finds all `mov.b' instructions which use the sixteen-bit
73439 + absolute address form, but refer to the top page of memory, and
73440 + changes them to use the eight-bit address form. (That is: the
73441 + linker turns `mov.b `@'AA:16' into `mov.b `@'AA:8' whenever the
73442 + address AA is in the top page of memory).
73444 +_bit manipulation instructions_
73445 + `ld' finds all bit manipulation instructions like `band, bclr,
73446 + biand, bild, bior, bist, bixor, bld, bnot, bor, bset, bst, btst,
73447 + bxor' which use 32 bit and 16 bit absolute address form, but refer
73448 + to the top page of memory, and changes them to use the 8 bit
73449 + address form. (That is: the linker turns `bset #xx:3,`@'AA:32'
73450 + into `bset #xx:3,`@'AA:8' whenever the address AA is in the top
73453 +_system control instructions_
73454 + `ld' finds all `ldc.w, stc.w' instrcutions which use the 32 bit
73455 + absolute address form, but refer to the top page of memory, and
73456 + changes them to use 16 bit address form. (That is: the linker
73457 + turns `ldc.w `@'AA:32,ccr' into `ldc.w `@'AA:16,ccr' whenever the
73458 + address AA is in the top page of memory).
73461 +File: ld.info, Node: i960, Next: ARM, Prev: H8/300, Up: Machine Dependent
73463 +4.2 `ld' and the Intel 960 Family
73464 +=================================
73466 +You can use the `-AARCHITECTURE' command line option to specify one of
73467 +the two-letter names identifying members of the 960 family; the option
73468 +specifies the desired output target, and warns of any incompatible
73469 +instructions in the input files. It also modifies the linker's search
73470 +strategy for archive libraries, to support the use of libraries
73471 +specific to each particular architecture, by including in the search
73472 +loop names suffixed with the string identifying the architecture.
73474 + For example, if your `ld' command line included `-ACA' as well as
73475 +`-ltry', the linker would look (in its built-in search paths, and in
73476 +any paths you specify with `-L') for a library with the names
73483 +The first two possibilities would be considered in any event; the last
73484 +two are due to the use of `-ACA'.
73486 + You can meaningfully use `-A' more than once on a command line, since
73487 +the 960 architecture family allows combination of target architectures;
73488 +each use will add another pair of name variants to search for when `-l'
73489 +specifies a library.
73491 + `ld' supports the `--relax' option for the i960 family. If you
73492 +specify `--relax', `ld' finds all `balx' and `calx' instructions whose
73493 +targets are within 24 bits, and turns them into 24-bit program-counter
73494 +relative `bal' and `cal' instructions, respectively. `ld' also turns
73495 +`cal' instructions into `bal' instructions when it determines that the
73496 +target subroutine is a leaf routine (that is, the target subroutine does
73497 +not itself call any subroutines).
73500 +File: ld.info, Node: ARM, Next: HPPA ELF32, Prev: i960, Up: Machine Dependent
73502 +4.3 `ld' and the ARM family
73503 +===========================
73505 +For the ARM, `ld' will generate code stubs to allow functions calls
73506 +betweem ARM and Thumb code. These stubs only work with code that has
73507 +been compiled and assembled with the `-mthumb-interwork' command line
73508 +option. If it is necessary to link with old ARM object files or
73509 +libraries, which have not been compiled with the -mthumb-interwork
73510 +option then the `--support-old-code' command line switch should be
73511 +given to the linker. This will make it generate larger stub functions
73512 +which will work with non-interworking aware ARM code. Note, however,
73513 +the linker does not support generating stubs for function calls to
73514 +non-interworking aware Thumb code.
73516 + The `--thumb-entry' switch is a duplicate of the generic `--entry'
73517 +switch, in that it sets the program's starting address. But it also
73518 +sets the bottom bit of the address, so that it can be branched to using
73519 +a BX instruction, and the program will start executing in Thumb mode
73522 + The `--be8' switch instructs `ld' to generate BE8 format
73523 +executables. This option is only valid when linking big-endian objects.
73524 +The resulting image will contain big-endian data and little-endian code.
73526 + The `R_ARM_TARGET1' relocation is typically used for entries in the
73527 +`.init_array' section. It is interpreted as either `R_ARM_REL32' or
73528 +`R_ARM_ABS32', depending on the target. The `--target1-rel' and
73529 +`--target1-abs' switches override the default.
73531 + The `--target2=type' switch overrides the default definition of the
73532 +`R_ARM_TARGET2' relocation. Valid values for `type', their meanings,
73533 +and target defaults are as follows:
73535 + `R_ARM_REL32' (arm*-*-elf, arm*-*-eabi)
73538 + `R_ARM_ABS32' (arm*-*-symbianelf)
73541 + `R_ARM_GOT_PREL' (arm*-*-linux, arm*-*-*bsd)
73543 + The `R_ARM_V4BX' relocation (defined by the ARM AAELF specification)
73544 +enables objects compiled for the ARMv4 architecture to be
73545 +interworking-safe when linked with other objects compiled for ARMv4t,
73546 +but also allows pure ARMv4 binaries to be built from the same ARMv4
73549 + In the latter case, the switch `--fix-v4bx' must be passed to the
73550 +linker, which causes v4t `BX rM' instructions to be rewritten as `MOV
73551 +PC,rM', since v4 processors do not have a `BX' instruction.
73553 + In the former case, the switch should not be used, and `R_ARM_V4BX'
73554 +relocations are ignored.
73556 + The `--use-blx' switch enables the linker to use ARM/Thumb BLX
73557 +instructions (available on ARMv5t and above) in various situations.
73558 +Currently it is used to perform calls via the PLT from Thumb code using
73559 +BLX rather than using BX and a mode-switching stub before each PLT
73560 +entry. This should lead to such calls executing slightly faster.
73562 + This option is enabled implicitly for SymbianOS, so there is no need
73563 +to specify it if you are using that target.
73566 +File: ld.info, Node: HPPA ELF32, Next: MMIX, Prev: ARM, Up: Machine Dependent
73568 +4.4 `ld' and HPPA 32-bit ELF Support
73569 +====================================
73571 +When generating a shared library, `ld' will by default generate import
73572 +stubs suitable for use with a single sub-space application. The
73573 +`--multi-subspace' switch causes `ld' to generate export stubs, and
73574 +different (larger) import stubs suitable for use with multiple
73577 + Long branch stubs and import/export stubs are placed by `ld' in stub
73578 +sections located between groups of input sections. `--stub-group-size'
73579 +specifies the maximum size of a group of input sections handled by one
73580 +stub section. Since branch offsets are signed, a stub section may
73581 +serve two groups of input sections, one group before the stub section,
73582 +and one group after it. However, when using conditional branches that
73583 +require stubs, it may be better (for branch prediction) that stub
73584 +sections only serve one group of input sections. A negative value for
73585 +`N' chooses this scheme, ensuring that branches to stubs always use a
73586 +negative offset. Two special values of `N' are recognized, `1' and
73587 +`-1'. These both instruct `ld' to automatically size input section
73588 +groups for the branch types detected, with the same behaviour regarding
73589 +stub placement as other positive or negative values of `N' respectively.
73591 + Note that `--stub-group-size' does not split input sections. A
73592 +single input section larger than the group size specified will of course
73593 +create a larger group (of one section). If input sections are too
73594 +large, it may not be possible for a branch to reach its stub.
73597 +File: ld.info, Node: MMIX, Next: MSP430, Prev: HPPA ELF32, Up: Machine Dependent
73602 +For MMIX, there is a choice of generating `ELF' object files or `mmo'
73603 +object files when linking. The simulator `mmix' understands the `mmo'
73604 +format. The binutils `objcopy' utility can translate between the two
73607 + There is one special section, the `.MMIX.reg_contents' section.
73608 +Contents in this section is assumed to correspond to that of global
73609 +registers, and symbols referring to it are translated to special
73610 +symbols, equal to registers. In a final link, the start address of the
73611 +`.MMIX.reg_contents' section corresponds to the first allocated global
73612 +register multiplied by 8. Register `$255' is not included in this
73613 +section; it is always set to the program entry, which is at the symbol
73614 +`Main' for `mmo' files.
73616 + Symbols with the prefix `__.MMIX.start.', for example
73617 +`__.MMIX.start..text' and `__.MMIX.start..data' are special; there must
73618 +be only one each, even if they are local. The default linker script
73619 +uses these to set the default start address of a section.
73621 + Initial and trailing multiples of zero-valued 32-bit words in a
73622 +section, are left out from an mmo file.
73625 +File: ld.info, Node: MSP430, Next: PowerPC ELF32, Prev: MMIX, Up: Machine Dependent
73627 +4.6 `ld' and MSP430
73628 +===================
73630 +For the MSP430 it is possible to select the MPU architecture. The flag
73631 +`-m [mpu type]' will select an appropriate linker script for selected
73632 +MPU type. (To get a list of known MPUs just pass `-m help' option to
73635 + The linker will recognize some extra sections which are MSP430
73639 + Defines a portion of ROM where interrupt vectors located.
73642 + Defines the bootloader portion of the ROM (if applicable). Any
73643 + code in this section will be uploaded to the MPU.
73646 + Defines an information memory section (if applicable). Any code in
73647 + this section will be uploaded to the MPU.
73649 +``.infomemnobits''
73650 + This is the same as the `.infomem' section except that any code in
73651 + this section will not be uploaded to the MPU.
73654 + Denotes a portion of RAM located above `.bss' section.
73656 + The last two sections are used by gcc.
73659 +File: ld.info, Node: PowerPC ELF32, Next: PowerPC64 ELF64, Prev: MSP430, Up: Machine Dependent
73661 +4.7 `ld' and PowerPC 32-bit ELF Support
73662 +=======================================
73664 +Branches on PowerPC processors are limited to a signed 26-bit
73665 +displacement, which may result in `ld' giving `relocation truncated to
73666 +fit' errors with very large programs. `--relax' enables the generation
73667 +of trampolines that can access the entire 32-bit address space. These
73668 +trampolines are inserted at section boundaries, so may not themselves
73669 +be reachable if an input section exceeds 33M in size.
73672 + Current PowerPC GCC accepts a `-msecure-plt' option that generates
73673 + code capable of using a newer PLT and GOT layout that has the
73674 + security advantage of no executable section ever needing to be
73675 + writable and no writable section ever being executable. PowerPC
73676 + `ld' will generate this layout, including stubs to access the PLT,
73677 + if all input files (including startup and static libraries) were
73678 + compiled with `-msecure-plt'. `--bss-plt' forces the old BSS PLT
73679 + (and GOT layout) which can give slightly better performance.
73682 + The new secure PLT and GOT are placed differently relative to other
73683 + sections compared to older BSS PLT and GOT placement. The
73684 + location of `.plt' must change because the new secure PLT is an
73685 + initialized section while the old PLT is uninitialized. The
73686 + reason for the `.got' change is more subtle: The new placement
73687 + allows `.got' to be read-only in applications linked with `-z
73688 + relro -z now'. However, this placement means that `.sdata' cannot
73689 + always be used in shared libraries, because the PowerPC ABI
73690 + accesses `.sdata' in shared libraries from the GOT pointer.
73691 + `--sdata-got' forces the old GOT placement. PowerPC GCC doesn't
73692 + use `.sdata' in shared libraries, so this option is really only
73693 + useful for other compilers that may do so.
73695 +`--emit-stub-syms'
73696 + This option causes `ld' to label linker stubs with a local symbol
73697 + that encodes the stub type and destination.
73699 +`--no-tls-optimize'
73700 + PowerPC `ld' normally performs some optimization of code sequences
73701 + used to access Thread-Local Storage. Use this option to disable
73702 + the optimization.
73705 +File: ld.info, Node: PowerPC64 ELF64, Next: TI COFF, Prev: PowerPC ELF32, Up: Machine Dependent
73707 +4.8 `ld' and PowerPC64 64-bit ELF Support
73708 +=========================================
73710 +`--stub-group-size'
73711 + Long branch stubs, PLT call stubs and TOC adjusting stubs are
73712 + placed by `ld' in stub sections located between groups of input
73713 + sections. `--stub-group-size' specifies the maximum size of a
73714 + group of input sections handled by one stub section. Since branch
73715 + offsets are signed, a stub section may serve two groups of input
73716 + sections, one group before the stub section, and one group after
73717 + it. However, when using conditional branches that require stubs,
73718 + it may be better (for branch prediction) that stub sections only
73719 + serve one group of input sections. A negative value for `N'
73720 + chooses this scheme, ensuring that branches to stubs always use a
73721 + negative offset. Two special values of `N' are recognized, `1'
73722 + and `-1'. These both instruct `ld' to automatically size input
73723 + section groups for the branch types detected, with the same
73724 + behaviour regarding stub placement as other positive or negative
73725 + values of `N' respectively.
73727 + Note that `--stub-group-size' does not split input sections. A
73728 + single input section larger than the group size specified will of
73729 + course create a larger group (of one section). If input sections
73730 + are too large, it may not be possible for a branch to reach its
73733 +`--emit-stub-syms'
73734 + This option causes `ld' to label linker stubs with a local symbol
73735 + that encodes the stub type and destination.
73737 +`--dotsyms, --no-dotsyms'
73738 + These two options control how `ld' interprets version patterns in
73739 + a version script. Older PowerPC64 compilers emitted both a
73740 + function descriptor symbol with the same name as the function, and
73741 + a code entry symbol with the name prefixed by a dot (`.'). To
73742 + properly version a function `foo', the version script thus needs
73743 + to control both `foo' and `.foo'. The option `--dotsyms', on by
73744 + default, automatically adds the required dot-prefixed patterns.
73745 + Use `--no-dotsyms' to disable this feature.
73747 +`--no-tls-optimize'
73748 + PowerPC64 `ld' normally performs some optimization of code
73749 + sequences used to access Thread-Local Storage. Use this option to
73750 + disable the optimization.
73752 +`--no-opd-optimize'
73753 + PowerPC64 `ld' normally removes `.opd' section entries
73754 + corresponding to deleted link-once functions, or functions removed
73755 + by the action of `--gc-sections' or linker scrip `/DISCARD/'. Use
73756 + this option to disable `.opd' optimization.
73758 +`--non-overlapping-opd'
73759 + Some PowerPC64 compilers have an option to generate compressed
73760 + `.opd' entries spaced 16 bytes apart, overlapping the third word,
73761 + the static chain pointer (unused in C) with the first word of the
73762 + next entry. This option expands such entries to the full 24 bytes.
73764 +`--no-toc-optimize'
73765 + PowerPC64 `ld' normally removes unused `.toc' section entries.
73766 + Such entries are detected by examining relocations that reference
73767 + the TOC in code sections. A reloc in a deleted code section marks
73768 + a TOC word as unneeded, while a reloc in a kept code section marks
73769 + a TOC word as needed. Since the TOC may reference itself, TOC
73770 + relocs are also examined. TOC words marked as both needed and
73771 + unneeded will of course be kept. TOC words without any referencing
73772 + reloc are assumed to be part of a multi-word entry, and are kept or
73773 + discarded as per the nearest marked preceding word. This works
73774 + reliably for compiler generated code, but may be incorrect if
73775 + assembly code is used to insert TOC entries. Use this option to
73776 + disable the optimization.
73779 + By default, PowerPC64 GCC generates code for a TOC model where TOC
73780 + entries are accessed with a 16-bit offset from r2. This limits the
73781 + total TOC size to 64K. PowerPC64 `ld' extends this limit by
73782 + grouping code sections such that each group uses less than 64K for
73783 + its TOC entries, then inserts r2 adjusting stubs between
73784 + inter-group calls. `ld' does not split apart input sections, so
73785 + cannot help if a single input file has a `.toc' section that
73786 + exceeds 64K, most likely from linking multiple files with `ld -r'.
73787 + Use this option to turn off this feature.
73790 +File: ld.info, Node: TI COFF, Next: WIN32, Prev: PowerPC64 ELF64, Up: Machine Dependent
73792 +4.9 `ld''s Support for Various TI COFF Versions
73793 +===============================================
73795 +The `--format' switch allows selection of one of the various TI COFF
73796 +versions. The latest of this writing is 2; versions 0 and 1 are also
73797 +supported. The TI COFF versions also vary in header byte-order format;
73798 +`ld' will read any version or byte order, but the output header format
73799 +depends on the default specified by the specific target.
73802 +File: ld.info, Node: WIN32, Next: Xtensa, Prev: TI COFF, Up: Machine Dependent
73804 +4.10 `ld' and WIN32 (cygwin/mingw)
73805 +==================================
73807 +This section describes some of the win32 specific `ld' issues. See
73808 +*Note Command Line Options: Options. for detailed decription of the
73809 +command line options mentioned here.
73811 +_import libraries_
73812 + The standard Windows linker creates and uses so-called import
73813 + libraries, which contains information for linking to dll's. They
73814 + are regular static archives and are handled as any other static
73815 + archive. The cygwin and mingw ports of `ld' have specific support
73816 + for creating such libraries provided with the `--out-implib'
73817 + command line option.
73819 +_exporting DLL symbols_
73820 + The cygwin/mingw `ld' has several ways to export symbols for dll's.
73822 + _using auto-export functionality_
73823 + By default `ld' exports symbols with the auto-export
73824 + functionality, which is controlled by the following command
73827 + * -export-all-symbols [This is the default]
73829 + * -exclude-symbols
73833 + If, however, `--export-all-symbols' is not given explicitly
73834 + on the command line, then the default auto-export behavior
73835 + will be _disabled_ if either of the following are true:
73837 + * A DEF file is used.
73839 + * Any symbol in any object file was marked with the
73840 + __declspec(dllexport) attribute.
73842 + _using a DEF file_
73843 + Another way of exporting symbols is using a DEF file. A DEF
73844 + file is an ASCII file containing definitions of symbols which
73845 + should be exported when a dll is created. Usually it is
73846 + named `<dll name>.def' and is added as any other object file
73847 + to the linker's command line. The file's name must end in
73848 + `.def' or `.DEF'.
73850 + gcc -o <output> <objectfiles> <dll name>.def
73852 + Using a DEF file turns off the normal auto-export behavior,
73853 + unless the `--export-all-symbols' option is also used.
73855 + Here is an example of a DEF file for a shared library called
73858 + LIBRARY "xyz.dll" BASE=0x20000000
73864 + another_foo = abc.dll.afoo
73867 + This example defines a DLL with a non-default base address
73868 + and five symbols in the export table. The third exported
73869 + symbol `_bar' is an alias for the second. The fourth symbol,
73870 + `another_foo' is resolved by "forwarding" to another module
73871 + and treating it as an alias for `afoo' exported from the DLL
73872 + `abc.dll'. The final symbol `var1' is declared to be a data
73875 + The optional `LIBRARY <name>' command indicates the _internal_
73876 + name of the output DLL. If `<name>' does not include a suffix,
73877 + the default library suffix, `.DLL' is appended.
73879 + When the .DEF file is used to build an application. rather
73880 + than a library, the `NAME <name>' command shoud be used
73881 + instead of `LIBRARY'. If `<name>' does not include a suffix,
73882 + the default executable suffix, `.EXE' is appended.
73884 + With either `LIBRARY <name>' or `NAME <name>' the optional
73885 + specification `BASE = <number>' may be used to specify a
73886 + non-default base address for the image.
73888 + If neither `LIBRARY <name>' nor `NAME <name>' is specified,
73889 + or they specify an empty string, the internal name is the
73890 + same as the filename specified on the command line.
73892 + The complete specification of an export symbol is:
73895 + ( ( ( <name1> [ = <name2> ] )
73896 + | ( <name1> = <module-name> . <external-name>))
73897 + [ @ <integer> ] [NONAME] [DATA] [CONSTANT] [PRIVATE] ) *
73899 + Declares `<name1>' as an exported symbol from the DLL, or
73900 + declares `<name1>' as an exported alias for `<name2>'; or
73901 + declares `<name1>' as a "forward" alias for the symbol
73902 + `<external-name>' in the DLL `<module-name>'. Optionally,
73903 + the symbol may be exported by the specified ordinal
73904 + `<integer>' alias.
73906 + The optional keywords that follow the declaration indicate:
73908 + `NONAME': Do not put the symbol name in the DLL's export
73909 + table. It will still be exported by its ordinal alias
73910 + (either the value specified by the .def specification or,
73911 + otherwise, the value assigned by the linker). The symbol
73912 + name, however, does remain visible in the import library (if
73913 + any), unless `PRIVATE' is also specified.
73915 + `DATA': The symbol is a variable or object, rather than a
73916 + function. The import lib will export only an indirect
73917 + reference to `foo' as the symbol `_imp__foo' (ie, `foo' must
73918 + be resolved as `*_imp__foo').
73920 + `CONSTANT': Like `DATA', but put the undecorated `foo' as
73921 + well as `_imp__foo' into the import library. Both refer to the
73922 + read-only import address table's pointer to the variable, not
73923 + to the variable itself. This can be dangerous. If the user
73924 + code fails to add the `dllimport' attribute and also fails to
73925 + explicitly add the extra indirection that the use of the
73926 + attribute enforces, the application will behave unexpectedly.
73928 + `PRIVATE': Put the symbol in the DLL's export table, but do
73929 + not put it into the static import library used to resolve
73930 + imports at link time. The symbol can still be imported using
73931 + the `LoadLibrary/GetProcAddress' API at runtime or by by
73932 + using the GNU ld extension of linking directly to the DLL
73933 + without an import library.
73935 + See ld/deffilep.y in the binutils sources for the full
73936 + specification of other DEF file statements
73938 + While linking a shared dll, `ld' is able to create a DEF file
73939 + with the `--output-def <file>' command line option.
73941 + _Using decorations_
73942 + Another way of marking symbols for export is to modify the
73943 + source code itself, so that when building the DLL each symbol
73944 + to be exported is declared as:
73946 + __declspec(dllexport) int a_variable
73947 + __declspec(dllexport) void a_function(int with_args)
73949 + All such symbols will be exported from the DLL. If, however,
73950 + any of the object files in the DLL contain symbols decorated
73951 + in this way, then the normal auto-export behavior is
73952 + disabled, unless the `--export-all-symbols' option is also
73955 + Note that object files that wish to access these symbols must
73956 + _not_ decorate them with dllexport. Instead, they should use
73957 + dllimport, instead:
73959 + __declspec(dllimport) int a_variable
73960 + __declspec(dllimport) void a_function(int with_args)
73962 + This complicates the structure of library header files,
73963 + because when included by the library itself the header must
73964 + declare the variables and functions as dllexport, but when
73965 + included by client code the header must declare them as
73966 + dllimport. There are a number of idioms that are typically
73967 + used to do this; often client code can omit the __declspec()
73968 + declaration completely. See `--enable-auto-import' and
73969 + `automatic data imports' for more imformation.
73971 +_automatic data imports_
73972 + The standard Windows dll format supports data imports from dlls
73973 + only by adding special decorations (dllimport/dllexport), which
73974 + let the compiler produce specific assembler instructions to deal
73975 + with this issue. This increases the effort necessary to port
73976 + existing Un*x code to these platforms, especially for large c++
73977 + libraries and applications. The auto-import feature, which was
73978 + initially provided by Paul Sokolovsky, allows one to omit the
73979 + decorations to archieve a behavior that conforms to that on
73980 + POSIX/Un*x platforms. This feature is enabled with the
73981 + `--enable-auto-import' command-line option, although it is enabled
73982 + by default on cygwin/mingw. The `--enable-auto-import' option
73983 + itself now serves mainly to suppress any warnings that are
73984 + ordinarily emitted when linked objects trigger the feature's use.
73986 + auto-import of variables does not always work flawlessly without
73987 + additional assistance. Sometimes, you will see this message
73989 + "variable '<var>' can't be auto-imported. Please read the
73990 + documentation for ld's `--enable-auto-import' for details."
73992 + The `--enable-auto-import' documentation explains why this error
73993 + occurs, and several methods that can be used to overcome this
73994 + difficulty. One of these methods is the _runtime pseudo-relocs_
73995 + feature, described below.
73997 + For complex variables imported from DLLs (such as structs or
73998 + classes), object files typically contain a base address for the
73999 + variable and an offset (_addend_) within the variable-to specify a
74000 + particular field or public member, for instance. Unfortunately,
74001 + the runtime loader used in win32 environments is incapable of
74002 + fixing these references at runtime without the additional
74003 + information supplied by dllimport/dllexport decorations. The
74004 + standard auto-import feature described above is unable to resolve
74005 + these references.
74007 + The `--enable-runtime-pseudo-relocs' switch allows these
74008 + references to be resolved without error, while leaving the task of
74009 + adjusting the references themselves (with their non-zero addends)
74010 + to specialized code provided by the runtime environment. Recent
74011 + versions of the cygwin and mingw environments and compilers
74012 + provide this runtime support; older versions do not. However, the
74013 + support is only necessary on the developer's platform; the
74014 + compiled result will run without error on an older system.
74016 + `--enable-runtime-pseudo-relocs' is not the default; it must be
74017 + explicitly enabled as needed.
74019 +_direct linking to a dll_
74020 + The cygwin/mingw ports of `ld' support the direct linking,
74021 + including data symbols, to a dll without the usage of any import
74022 + libraries. This is much faster and uses much less memory than
74023 + does the traditional import library method, expecially when
74024 + linking large libraries or applications. When `ld' creates an
74025 + import lib, each function or variable exported from the dll is
74026 + stored in its own bfd, even though a single bfd could contain many
74027 + exports. The overhead involved in storing, loading, and
74028 + processing so many bfd's is quite large, and explains the
74029 + tremendous time, memory, and storage needed to link against
74030 + particularly large or complex libraries when using import libs.
74032 + Linking directly to a dll uses no extra command-line switches
74033 + other than `-L' and `-l', because `ld' already searches for a
74034 + number of names to match each library. All that is needed from
74035 + the developer's perspective is an understanding of this search, in
74036 + order to force ld to select the dll instead of an import library.
74038 + For instance, when ld is called with the argument `-lxxx' it will
74039 + attempt to find, in the first directory of its search path,
74048 + before moving on to the next directory in the search path.
74050 + (*) Actually, this is not `cygxxx.dll' but in fact is
74051 + `<prefix>xxx.dll', where `<prefix>' is set by the `ld' option
74052 + `--dll-search-prefix=<prefix>'. In the case of cygwin, the
74053 + standard gcc spec file includes `--dll-search-prefix=cyg', so in
74054 + effect we actually search for `cygxxx.dll'.
74056 + Other win32-based unix environments, such as mingw or pw32, may
74057 + use other `<prefix>'es, although at present only cygwin makes use
74058 + of this feature. It was originally intended to help avoid name
74059 + conflicts among dll's built for the various win32/un*x
74060 + environments, so that (for example) two versions of a zlib dll
74061 + could coexist on the same machine.
74063 + The generic cygwin/mingw path layout uses a `bin' directory for
74064 + applications and dll's and a `lib' directory for the import
74065 + libraries (using cygwin nomenclature):
74070 + libxxx.dll.a (in case of dll's)
74071 + libxxx.a (in case of static archive)
74073 + Linking directly to a dll without using the import library can be
74076 + 1. Use the dll directly by adding the `bin' path to the link line
74077 + gcc -Wl,-verbose -o a.exe -L../bin/ -lxxx
74079 + However, as the dll's often have version numbers appended to their
74080 + names (`cygncurses-5.dll') this will often fail, unless one
74081 + specifies `-L../bin -lncurses-5' to include the version. Import
74082 + libs are generally not versioned, and do not have this difficulty.
74084 + 2. Create a symbolic link from the dll to a file in the `lib'
74085 + directory according to the above mentioned search pattern. This
74086 + should be used to avoid unwanted changes in the tools needed for
74087 + making the app/dll.
74089 + ln -s bin/cygxxx.dll lib/[cyg|lib|]xxx.dll[.a]
74091 + Then you can link without any make environment changes.
74093 + gcc -Wl,-verbose -o a.exe -L../lib/ -lxxx
74095 + This technique also avoids the version number problems, because
74096 + the following is perfectly legal
74101 + libxxx.dll.a -> ../bin/cygxxx-5.dll
74103 + Linking directly to a dll without using an import lib will work
74104 + even when auto-import features are exercised, and even when
74105 + `--enable-runtime-pseudo-relocs' is used.
74107 + Given the improvements in speed and memory usage, one might
74108 + justifiably wonder why import libraries are used at all. There
74111 + 1. Until recently, the link-directly-to-dll functionality did _not_
74112 + work with auto-imported data.
74114 + 2. Sometimes it is necessary to include pure static objects within
74115 + the import library (which otherwise contains only bfd's for
74116 + indirection symbols that point to the exports of a dll). Again,
74117 + the import lib for the cygwin kernel makes use of this ability,
74118 + and it is not possible to do this without an import lib.
74120 + So, import libs are not going away. But the ability to replace
74121 + true import libs with a simple symbolic link to (or a copy of) a
74122 + dll, in most cases, is a useful addition to the suite of tools
74123 + binutils makes available to the win32 developer. Given the
74124 + massive improvements in memory requirements during linking, storage
74125 + requirements, and linking speed, we expect that many developers
74126 + will soon begin to use this feature whenever possible.
74130 + _adding additional names_
74131 + Sometimes, it is useful to export symbols with additional
74132 + names. A symbol `foo' will be exported as `foo', but it can
74133 + also be exported as `_foo' by using special directives in the
74134 + DEF file when creating the dll. This will affect also the
74135 + optional created import library. Consider the following DEF
74138 + LIBRARY "xyz.dll" BASE=0x61000000
74144 + The line `_foo = foo' maps the symbol `foo' to `_foo'.
74146 + Another method for creating a symbol alias is to create it in
74147 + the source code using the "weak" attribute:
74149 + void foo () { /* Do something. */; }
74150 + void _foo () __attribute__ ((weak, alias ("foo")));
74152 + See the gcc manual for more information about attributes and
74155 + _renaming symbols_
74156 + Sometimes it is useful to rename exports. For instance, the
74157 + cygwin kernel does this regularly. A symbol `_foo' can be
74158 + exported as `foo' but not as `_foo' by using special
74159 + directives in the DEF file. (This will also affect the import
74160 + library, if it is created). In the following example:
74162 + LIBRARY "xyz.dll" BASE=0x61000000
74167 + The line `_foo = foo' maps the exported symbol `foo' to
74170 + Note: using a DEF file disables the default auto-export behavior,
74171 + unless the `--export-all-symbols' command line option is used.
74172 + If, however, you are trying to rename symbols, then you should list
74173 + _all_ desired exports in the DEF file, including the symbols that
74174 + are not being renamed, and do _not_ use the `--export-all-symbols'
74175 + option. If you list only the renamed symbols in the DEF file, and
74176 + use `--export-all-symbols' to handle the other symbols, then the
74177 + both the new names _and_ the original names for the renamed
74178 + symbols will be exported. In effect, you'd be aliasing those
74179 + symbols, not renaming them, which is probably not what you wanted.
74182 + The Windows object format, PE, specifies a form of weak symbols
74183 + called weak externals. When a weak symbol is linked and the
74184 + symbol is not defined, the weak symbol becomes an alias for some
74185 + other symbol. There are three variants of weak externals:
74186 + * Definition is searched for in objects and libraries,
74187 + historically called lazy externals.
74189 + * Definition is searched for only in other objects, not in
74190 + libraries. This form is not presently implemented.
74192 + * No search; the symbol is an alias. This form is not presently
74194 + As a GNU extension, weak symbols that do not specify an alternate
74195 + symbol are supported. If the symbol is undefined when linking,
74196 + the symbol uses a default value.
74199 +File: ld.info, Node: Xtensa, Prev: WIN32, Up: Machine Dependent
74201 +4.11 `ld' and Xtensa Processors
74202 +===============================
74204 +The default `ld' behavior for Xtensa processors is to interpret
74205 +`SECTIONS' commands so that lists of explicitly named sections in a
74206 +specification with a wildcard file will be interleaved when necessary to
74207 +keep literal pools within the range of PC-relative load offsets. For
74208 +example, with the command:
74213 + *(.literal .text)
74217 +`ld' may interleave some of the `.literal' and `.text' sections from
74218 +different object files to ensure that the literal pools are within the
74219 +range of PC-relative load offsets. A valid interleaving might place
74220 +the `.literal' sections from an initial group of files followed by the
74221 +`.text' sections of that group of files. Then, the `.literal' sections
74222 +from the rest of the files and the `.text' sections from the rest of
74223 +the files would follow.
74225 + Relaxation is enabled by default for the Xtensa version of `ld' and
74226 +provides two important link-time optimizations. The first optimization
74227 +is to combine identical literal values to reduce code size. A redundant
74228 +literal will be removed and all the `L32R' instructions that use it
74229 +will be changed to reference an identical literal, as long as the
74230 +location of the replacement literal is within the offset range of all
74231 +the `L32R' instructions. The second optimization is to remove
74232 +unnecessary overhead from assembler-generated "longcall" sequences of
74233 +`L32R'/`CALLXN' when the target functions are within range of direct
74234 +`CALLN' instructions.
74236 + For each of these cases where an indirect call sequence can be
74237 +optimized to a direct call, the linker will change the `CALLXN'
74238 +instruction to a `CALLN' instruction, remove the `L32R' instruction,
74239 +and remove the literal referenced by the `L32R' instruction if it is
74240 +not used for anything else. Removing the `L32R' instruction always
74241 +reduces code size but can potentially hurt performance by changing the
74242 +alignment of subsequent branch targets. By default, the linker will
74243 +always preserve alignments, either by switching some instructions
74244 +between 24-bit encodings and the equivalent density instructions or by
74245 +inserting a no-op in place of the `L32R' instruction that was removed.
74246 +If code size is more important than performance, the `--size-opt'
74247 +option can be used to prevent the linker from widening density
74248 +instructions or inserting no-ops, except in a few cases where no-ops
74249 +are required for correctness.
74251 + The following Xtensa-specific command-line options can be used to
74252 +control the linker:
74255 + Since the Xtensa version of `ld' enables the `--relax' option by
74256 + default, the `--no-relax' option is provided to disable relaxation.
74259 + When optimizing indirect calls to direct calls, optimize for code
74260 + size more than performance. With this option, the linker will not
74261 + insert no-ops or widen density instructions to preserve branch
74262 + target alignment. There may still be some cases where no-ops are
74263 + required to preserve the correctness of the code.
74266 +File: ld.info, Node: BFD, Next: Reporting Bugs, Prev: Machine Dependent, Up: Top
74271 +The linker accesses object and archive files using the BFD libraries.
74272 +These libraries allow the linker to use the same routines to operate on
74273 +object files whatever the object file format. A different object file
74274 +format can be supported simply by creating a new BFD back end and adding
74275 +it to the library. To conserve runtime memory, however, the linker and
74276 +associated tools are usually configured to support only a subset of the
74277 +object file formats available. You can use `objdump -i' (*note
74278 +objdump: (binutils.info)objdump.) to list all the formats available for
74279 +your configuration.
74281 + As with most implementations, BFD is a compromise between several
74282 +conflicting requirements. The major factor influencing BFD design was
74283 +efficiency: any time used converting between formats is time which
74284 +would not have been spent had BFD not been involved. This is partly
74285 +offset by abstraction payback; since BFD simplifies applications and
74286 +back ends, more time and care may be spent optimizing algorithms for a
74289 + One minor artifact of the BFD solution which you should bear in mind
74290 +is the potential for information loss. There are two places where
74291 +useful information can be lost using the BFD mechanism: during
74292 +conversion and during output. *Note BFD information loss::.
74296 +* BFD outline:: How it works: an outline of BFD
74299 +File: ld.info, Node: BFD outline, Up: BFD
74301 +5.1 How It Works: An Outline of BFD
74302 +===================================
74304 +When an object file is opened, BFD subroutines automatically determine
74305 +the format of the input object file. They then build a descriptor in
74306 +memory with pointers to routines that will be used to access elements of
74307 +the object file's data structures.
74309 + As different information from the object files is required, BFD
74310 +reads from different sections of the file and processes them. For
74311 +example, a very common operation for the linker is processing symbol
74312 +tables. Each BFD back end provides a routine for converting between
74313 +the object file's representation of symbols and an internal canonical
74314 +format. When the linker asks for the symbol table of an object file, it
74315 +calls through a memory pointer to the routine from the relevant BFD
74316 +back end which reads and converts the table into a canonical form. The
74317 +linker then operates upon the canonical form. When the link is finished
74318 +and the linker writes the output file's symbol table, another BFD back
74319 +end routine is called to take the newly created symbol table and
74320 +convert it into the chosen output format.
74324 +* BFD information loss:: Information Loss
74325 +* Canonical format:: The BFD canonical object-file format
74328 +File: ld.info, Node: BFD information loss, Next: Canonical format, Up: BFD outline
74330 +5.1.1 Information Loss
74331 +----------------------
74333 +_Information can be lost during output._ The output formats supported
74334 +by BFD do not provide identical facilities, and information which can
74335 +be described in one form has nowhere to go in another format. One
74336 +example of this is alignment information in `b.out'. There is nowhere
74337 +in an `a.out' format file to store alignment information on the
74338 +contained data, so when a file is linked from `b.out' and an `a.out'
74339 +image is produced, alignment information will not propagate to the
74340 +output file. (The linker will still use the alignment information
74341 +internally, so the link is performed correctly).
74343 + Another example is COFF section names. COFF files may contain an
74344 +unlimited number of sections, each one with a textual section name. If
74345 +the target of the link is a format which does not have many sections
74346 +(e.g., `a.out') or has sections without names (e.g., the Oasys format),
74347 +the link cannot be done simply. You can circumvent this problem by
74348 +describing the desired input-to-output section mapping with the linker
74351 + _Information can be lost during canonicalization._ The BFD internal
74352 +canonical form of the external formats is not exhaustive; there are
74353 +structures in input formats for which there is no direct representation
74354 +internally. This means that the BFD back ends cannot maintain all
74355 +possible data richness through the transformation between external to
74356 +internal and back to external formats.
74358 + This limitation is only a problem when an application reads one
74359 +format and writes another. Each BFD back end is responsible for
74360 +maintaining as much data as possible, and the internal BFD canonical
74361 +form has structures which are opaque to the BFD core, and exported only
74362 +to the back ends. When a file is read in one format, the canonical form
74363 +is generated for BFD and the application. At the same time, the back
74364 +end saves away any information which may otherwise be lost. If the data
74365 +is then written back in the same format, the back end routine will be
74366 +able to use the canonical form provided by the BFD core as well as the
74367 +information it prepared earlier. Since there is a great deal of
74368 +commonality between back ends, there is no information lost when
74369 +linking or copying big endian COFF to little endian COFF, or `a.out' to
74370 +`b.out'. When a mixture of formats is linked, the information is only
74371 +lost from the files whose format differs from the destination.
74374 +File: ld.info, Node: Canonical format, Prev: BFD information loss, Up: BFD outline
74376 +5.1.2 The BFD canonical object-file format
74377 +------------------------------------------
74379 +The greatest potential for loss of information occurs when there is the
74380 +least overlap between the information provided by the source format,
74381 +that stored by the canonical format, and that needed by the destination
74382 +format. A brief description of the canonical form may help you
74383 +understand which kinds of data you can count on preserving across
74387 + Information stored on a per-file basis includes target machine
74388 + architecture, particular implementation format type, a demand
74389 + pageable bit, and a write protected bit. Information like Unix
74390 + magic numbers is not stored here--only the magic numbers' meaning,
74391 + so a `ZMAGIC' file would have both the demand pageable bit and the
74392 + write protected text bit set. The byte order of the target is
74393 + stored on a per-file basis, so that big- and little-endian object
74394 + files may be used with one another.
74397 + Each section in the input file contains the name of the section,
74398 + the section's original address in the object file, size and
74399 + alignment information, various flags, and pointers into other BFD
74403 + Each symbol contains a pointer to the information for the object
74404 + file which originally defined it, its name, its value, and various
74405 + flag bits. When a BFD back end reads in a symbol table, it
74406 + relocates all symbols to make them relative to the base of the
74407 + section where they were defined. Doing this ensures that each
74408 + symbol points to its containing section. Each symbol also has a
74409 + varying amount of hidden private data for the BFD back end. Since
74410 + the symbol points to the original file, the private data format
74411 + for that symbol is accessible. `ld' can operate on a collection
74412 + of symbols of wildly different formats without problems.
74414 + Normal global and simple local symbols are maintained on output,
74415 + so an output file (no matter its format) will retain symbols
74416 + pointing to functions and to global, static, and common variables.
74417 + Some symbol information is not worth retaining; in `a.out', type
74418 + information is stored in the symbol table as long symbol names.
74419 + This information would be useless to most COFF debuggers; the
74420 + linker has command line switches to allow users to throw it away.
74422 + There is one word of type information within the symbol, so if the
74423 + format supports symbol type information within symbols (for
74424 + example, COFF, IEEE, Oasys) and the type is simple enough to fit
74425 + within one word (nearly everything but aggregates), the
74426 + information will be preserved.
74428 +_relocation level_
74429 + Each canonical BFD relocation record contains a pointer to the
74430 + symbol to relocate to, the offset of the data to relocate, the
74431 + section the data is in, and a pointer to a relocation type
74432 + descriptor. Relocation is performed by passing messages through
74433 + the relocation type descriptor and the symbol pointer. Therefore,
74434 + relocations can be performed on output data using a relocation
74435 + method that is only available in one of the input formats. For
74436 + instance, Oasys provides a byte relocation format. A relocation
74437 + record requesting this relocation type would point indirectly to a
74438 + routine to perform this, so the relocation may be performed on a
74439 + byte being written to a 68k COFF file, even though 68k COFF has no
74440 + such relocation type.
74443 + Object formats can contain, for debugging purposes, some form of
74444 + mapping between symbols, source line numbers, and addresses in the
74445 + output file. These addresses have to be relocated along with the
74446 + symbol information. Each symbol with an associated list of line
74447 + number records points to the first record of the list. The head
74448 + of a line number list consists of a pointer to the symbol, which
74449 + allows finding out the address of the function whose line number
74450 + is being described. The rest of the list is made up of pairs:
74451 + offsets into the section and line numbers. Any format which can
74452 + simply derive this information can pass it successfully between
74453 + formats (COFF, IEEE and Oasys).
74456 +File: ld.info, Node: Reporting Bugs, Next: MRI, Prev: BFD, Up: Top
74461 +Your bug reports play an essential role in making `ld' reliable.
74463 + Reporting a bug may help you by bringing a solution to your problem,
74464 +or it may not. But in any case the principal function of a bug report
74465 +is to help the entire community by making the next version of `ld' work
74466 +better. Bug reports are your contribution to the maintenance of `ld'.
74468 + In order for a bug report to serve its purpose, you must include the
74469 +information that enables us to fix the bug.
74473 +* Bug Criteria:: Have you found a bug?
74474 +* Bug Reporting:: How to report bugs
74477 +File: ld.info, Node: Bug Criteria, Next: Bug Reporting, Up: Reporting Bugs
74479 +6.1 Have You Found a Bug?
74480 +=========================
74482 +If you are not sure whether you have found a bug, here are some
74485 + * If the linker gets a fatal signal, for any input whatever, that is
74486 + a `ld' bug. Reliable linkers never crash.
74488 + * If `ld' produces an error message for valid input, that is a bug.
74490 + * If `ld' does not produce an error message for invalid input, that
74491 + may be a bug. In the general case, the linker can not verify that
74492 + object files are correct.
74494 + * If you are an experienced user of linkers, your suggestions for
74495 + improvement of `ld' are welcome in any case.
74498 +File: ld.info, Node: Bug Reporting, Prev: Bug Criteria, Up: Reporting Bugs
74500 +6.2 How to Report Bugs
74501 +======================
74503 +A number of companies and individuals offer support for GNU products.
74504 +If you obtained `ld' from a support organization, we recommend you
74505 +contact that organization first.
74507 + You can find contact information for many support companies and
74508 +individuals in the file `etc/SERVICE' in the GNU Emacs distribution.
74510 + Otherwise, send bug reports for `ld' to `bug-binutils@gnu.org'.
74512 + The fundamental principle of reporting bugs usefully is this:
74513 +*report all the facts*. If you are not sure whether to state a fact or
74514 +leave it out, state it!
74516 + Often people omit facts because they think they know what causes the
74517 +problem and assume that some details do not matter. Thus, you might
74518 +assume that the name of a symbol you use in an example does not matter.
74519 +Well, probably it does not, but one cannot be sure. Perhaps the bug
74520 +is a stray memory reference which happens to fetch from the location
74521 +where that name is stored in memory; perhaps, if the name were
74522 +different, the contents of that location would fool the linker into
74523 +doing the right thing despite the bug. Play it safe and give a
74524 +specific, complete example. That is the easiest thing for you to do,
74525 +and the most helpful.
74527 + Keep in mind that the purpose of a bug report is to enable us to fix
74528 +the bug if it is new to us. Therefore, always write your bug reports
74529 +on the assumption that the bug has not been reported previously.
74531 + Sometimes people give a few sketchy facts and ask, "Does this ring a
74532 +bell?" This cannot help us fix a bug, so it is basically useless. We
74533 +respond by asking for enough details to enable us to investigate. You
74534 +might as well expedite matters by sending them to begin with.
74536 + To enable us to fix the bug, you should include all these things:
74538 + * The version of `ld'. `ld' announces it if you start it with the
74539 + `--version' argument.
74541 + Without this, we will not know whether there is any point in
74542 + looking for the bug in the current version of `ld'.
74544 + * Any patches you may have applied to the `ld' source, including any
74545 + patches made to the `BFD' library.
74547 + * The type of machine you are using, and the operating system name
74548 + and version number.
74550 + * What compiler (and its version) was used to compile `ld'--e.g.
74553 + * The command arguments you gave the linker to link your example and
74554 + observe the bug. To guarantee you will not omit something
74555 + important, list them all. A copy of the Makefile (or the output
74556 + from make) is sufficient.
74558 + If we were to try to guess the arguments, we would probably guess
74559 + wrong and then we might not encounter the bug.
74561 + * A complete input file, or set of input files, that will reproduce
74562 + the bug. It is generally most helpful to send the actual object
74563 + files provided that they are reasonably small. Say no more than
74564 + 10K. For bigger files you can either make them available by FTP
74565 + or HTTP or else state that you are willing to send the object
74566 + file(s) to whomever requests them. (Note - your email will be
74567 + going to a mailing list, so we do not want to clog it up with
74568 + large attachments). But small attachments are best.
74570 + If the source files were assembled using `gas' or compiled using
74571 + `gcc', then it may be OK to send the source files rather than the
74572 + object files. In this case, be sure to say exactly what version of
74573 + `gas' or `gcc' was used to produce the object files. Also say how
74574 + `gas' or `gcc' were configured.
74576 + * A description of what behavior you observe that you believe is
74577 + incorrect. For example, "It gets a fatal signal."
74579 + Of course, if the bug is that `ld' gets a fatal signal, then we
74580 + will certainly notice it. But if the bug is incorrect output, we
74581 + might not notice unless it is glaringly wrong. You might as well
74582 + not give us a chance to make a mistake.
74584 + Even if the problem you experience is a fatal signal, you should
74585 + still say so explicitly. Suppose something strange is going on,
74586 + such as, your copy of `ld' is out of synch, or you have
74587 + encountered a bug in the C library on your system. (This has
74588 + happened!) Your copy might crash and ours would not. If you told
74589 + us to expect a crash, then when ours fails to crash, we would know
74590 + that the bug was not happening for us. If you had not told us to
74591 + expect a crash, then we would not be able to draw any conclusion
74592 + from our observations.
74594 + * If you wish to suggest changes to the `ld' source, send us context
74595 + diffs, as generated by `diff' with the `-u', `-c', or `-p' option.
74596 + Always send diffs from the old file to the new file. If you even
74597 + discuss something in the `ld' source, refer to it by context, not
74600 + The line numbers in our development sources will not match those
74601 + in your sources. Your line numbers would convey no useful
74602 + information to us.
74604 + Here are some things that are not necessary:
74606 + * A description of the envelope of the bug.
74608 + Often people who encounter a bug spend a lot of time investigating
74609 + which changes to the input file will make the bug go away and which
74610 + changes will not affect it.
74612 + This is often time consuming and not very useful, because the way
74613 + we will find the bug is by running a single example under the
74614 + debugger with breakpoints, not by pure deduction from a series of
74615 + examples. We recommend that you save your time for something else.
74617 + Of course, if you can find a simpler example to report _instead_
74618 + of the original one, that is a convenience for us. Errors in the
74619 + output will be easier to spot, running under the debugger will take
74620 + less time, and so on.
74622 + However, simplification is not vital; if you do not want to do
74623 + this, report the bug anyway and send us the entire test case you
74626 + * A patch for the bug.
74628 + A patch for the bug does help us if it is a good one. But do not
74629 + omit the necessary information, such as the test case, on the
74630 + assumption that a patch is all we need. We might see problems
74631 + with your patch and decide to fix the problem another way, or we
74632 + might not understand it at all.
74634 + Sometimes with a program as complicated as `ld' it is very hard to
74635 + construct an example that will make the program follow a certain
74636 + path through the code. If you do not send us the example, we will
74637 + not be able to construct one, so we will not be able to verify
74638 + that the bug is fixed.
74640 + And if we cannot understand what bug you are trying to fix, or why
74641 + your patch should be an improvement, we will not install it. A
74642 + test case will help us to understand.
74644 + * A guess about what the bug is or what it depends on.
74646 + Such guesses are usually wrong. Even we cannot guess right about
74647 + such things without first using the debugger to find the facts.
74650 +File: ld.info, Node: MRI, Next: GNU Free Documentation License, Prev: Reporting Bugs, Up: Top
74652 +Appendix A MRI Compatible Script Files
74653 +**************************************
74655 +To aid users making the transition to GNU `ld' from the MRI linker,
74656 +`ld' can use MRI compatible linker scripts as an alternative to the
74657 +more general-purpose linker scripting language described in *Note
74658 +Scripts::. MRI compatible linker scripts have a much simpler command
74659 +set than the scripting language otherwise used with `ld'. GNU `ld'
74660 +supports the most commonly used MRI linker commands; these commands are
74663 + In general, MRI scripts aren't of much use with the `a.out' object
74664 +file format, since it only has three sections and MRI scripts lack some
74665 +features to make use of them.
74667 + You can specify a file containing an MRI-compatible script using the
74668 +`-c' command-line option.
74670 + Each command in an MRI-compatible script occupies its own line; each
74671 +command line starts with the keyword that identifies the command (though
74672 +blank lines are also allowed for punctuation). If a line of an
74673 +MRI-compatible script begins with an unrecognized keyword, `ld' issues
74674 +a warning message, but continues processing the script.
74676 + Lines beginning with `*' are comments.
74678 + You can write these commands using all upper-case letters, or all
74679 +lower case; for example, `chip' is the same as `CHIP'. The following
74680 +list shows only the upper-case form of each command.
74682 +`ABSOLUTE SECNAME'
74683 +`ABSOLUTE SECNAME, SECNAME, ... SECNAME'
74684 + Normally, `ld' includes in the output file all sections from all
74685 + the input files. However, in an MRI-compatible script, you can
74686 + use the `ABSOLUTE' command to restrict the sections that will be
74687 + present in your output program. If the `ABSOLUTE' command is used
74688 + at all in a script, then only the sections named explicitly in
74689 + `ABSOLUTE' commands will appear in the linker output. You can
74690 + still use other input sections (whatever you select on the command
74691 + line, or using `LOAD') to resolve addresses in the output file.
74693 +`ALIAS OUT-SECNAME, IN-SECNAME'
74694 + Use this command to place the data from input section IN-SECNAME
74695 + in a section called OUT-SECNAME in the linker output file.
74697 + IN-SECNAME may be an integer.
74699 +`ALIGN SECNAME = EXPRESSION'
74700 + Align the section called SECNAME to EXPRESSION. The EXPRESSION
74701 + should be a power of two.
74704 + Use the value of EXPRESSION as the lowest address (other than
74705 + absolute addresses) in the output file.
74708 +`CHIP EXPRESSION, EXPRESSION'
74709 + This command does nothing; it is accepted only for compatibility.
74712 + This command does nothing whatever; it's only accepted for
74715 +`FORMAT OUTPUT-FORMAT'
74716 + Similar to the `OUTPUT_FORMAT' command in the more general linker
74717 + language, but restricted to one of these output formats:
74719 + 1. S-records, if OUTPUT-FORMAT is `S'
74721 + 2. IEEE, if OUTPUT-FORMAT is `IEEE'
74723 + 3. COFF (the `coff-m68k' variant in BFD), if OUTPUT-FORMAT is
74726 +`LIST ANYTHING...'
74727 + Print (to the standard output file) a link map, as produced by the
74728 + `ld' command-line option `-M'.
74730 + The keyword `LIST' may be followed by anything on the same line,
74731 + with no change in its effect.
74734 +`LOAD FILENAME, FILENAME, ... FILENAME'
74735 + Include one or more object file FILENAME in the link; this has the
74736 + same effect as specifying FILENAME directly on the `ld' command
74739 +`NAME OUTPUT-NAME'
74740 + OUTPUT-NAME is the name for the program produced by `ld'; the
74741 + MRI-compatible command `NAME' is equivalent to the command-line
74742 + option `-o' or the general script language command `OUTPUT'.
74744 +`ORDER SECNAME, SECNAME, ... SECNAME'
74745 +`ORDER SECNAME SECNAME SECNAME'
74746 + Normally, `ld' orders the sections in its output file in the order
74747 + in which they first appear in the input files. In an
74748 + MRI-compatible script, you can override this ordering with the
74749 + `ORDER' command. The sections you list with `ORDER' will appear
74750 + first in your output file, in the order specified.
74752 +`PUBLIC NAME=EXPRESSION'
74753 +`PUBLIC NAME,EXPRESSION'
74754 +`PUBLIC NAME EXPRESSION'
74755 + Supply a value (EXPRESSION) for external symbol NAME used in the
74756 + linker input files.
74758 +`SECT SECNAME, EXPRESSION'
74759 +`SECT SECNAME=EXPRESSION'
74760 +`SECT SECNAME EXPRESSION'
74761 + You can use any of these three forms of the `SECT' command to
74762 + specify the start address (EXPRESSION) for section SECNAME. If
74763 + you have more than one `SECT' statement for the same SECNAME, only
74764 + the _first_ sets the start address.
74767 +File: ld.info, Node: GNU Free Documentation License, Next: Index, Prev: MRI, Up: Top
74769 +Appendix B GNU Free Documentation License
74770 +*****************************************
74772 + Version 1.1, March 2000
74774 + Copyright (C) 2000, 2003 Free Software Foundation, Inc.
74775 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
74777 + Everyone is permitted to copy and distribute verbatim copies
74778 + of this license document, but changing it is not allowed.
74783 + The purpose of this License is to make a manual, textbook, or other
74784 + written document "free" in the sense of freedom: to assure everyone
74785 + the effective freedom to copy and redistribute it, with or without
74786 + modifying it, either commercially or noncommercially. Secondarily,
74787 + this License preserves for the author and publisher a way to get
74788 + credit for their work, while not being considered responsible for
74789 + modifications made by others.
74791 + This License is a kind of "copyleft", which means that derivative
74792 + works of the document must themselves be free in the same sense.
74793 + It complements the GNU General Public License, which is a copyleft
74794 + license designed for free software.
74796 + We have designed this License in order to use it for manuals for
74797 + free software, because free software needs free documentation: a
74798 + free program should come with manuals providing the same freedoms
74799 + that the software does. But this License is not limited to
74800 + software manuals; it can be used for any textual work, regardless
74801 + of subject matter or whether it is published as a printed book.
74802 + We recommend this License principally for works whose purpose is
74803 + instruction or reference.
74806 + 1. APPLICABILITY AND DEFINITIONS
74808 + This License applies to any manual or other work that contains a
74809 + notice placed by the copyright holder saying it can be distributed
74810 + under the terms of this License. The "Document", below, refers to
74811 + any such manual or work. Any member of the public is a licensee,
74812 + and is addressed as "you."
74814 + A "Modified Version" of the Document means any work containing the
74815 + Document or a portion of it, either copied verbatim, or with
74816 + modifications and/or translated into another language.
74818 + A "Secondary Section" is a named appendix or a front-matter
74819 + section of the Document that deals exclusively with the
74820 + relationship of the publishers or authors of the Document to the
74821 + Document's overall subject (or to related matters) and contains
74822 + nothing that could fall directly within that overall subject.
74823 + (For example, if the Document is in part a textbook of
74824 + mathematics, a Secondary Section may not explain any mathematics.)
74825 + The relationship could be a matter of historical connection with
74826 + the subject or with related matters, or of legal, commercial,
74827 + philosophical, ethical or political position regarding them.
74829 + The "Invariant Sections" are certain Secondary Sections whose
74830 + titles are designated, as being those of Invariant Sections, in
74831 + the notice that says that the Document is released under this
74834 + The "Cover Texts" are certain short passages of text that are
74835 + listed, as Front-Cover Texts or Back-Cover Texts, in the notice
74836 + that says that the Document is released under this License.
74838 + A "Transparent" copy of the Document means a machine-readable copy,
74839 + represented in a format whose specification is available to the
74840 + general public, whose contents can be viewed and edited directly
74841 + and straightforwardly with generic text editors or (for images
74842 + composed of pixels) generic paint programs or (for drawings) some
74843 + widely available drawing editor, and that is suitable for input to
74844 + text formatters or for automatic translation to a variety of
74845 + formats suitable for input to text formatters. A copy made in an
74846 + otherwise Transparent file format whose markup has been designed
74847 + to thwart or discourage subsequent modification by readers is not
74848 + Transparent. A copy that is not "Transparent" is called "Opaque."
74850 + Examples of suitable formats for Transparent copies include plain
74851 + ASCII without markup, Texinfo input format, LaTeX input format,
74852 + SGML or XML using a publicly available DTD, and
74853 + standard-conforming simple HTML designed for human modification.
74854 + Opaque formats include PostScript, PDF, proprietary formats that
74855 + can be read and edited only by proprietary word processors, SGML
74856 + or XML for which the DTD and/or processing tools are not generally
74857 + available, and the machine-generated HTML produced by some word
74858 + processors for output purposes only.
74860 + The "Title Page" means, for a printed book, the title page itself,
74861 + plus such following pages as are needed to hold, legibly, the
74862 + material this License requires to appear in the title page. For
74863 + works in formats which do not have any title page as such, "Title
74864 + Page" means the text near the most prominent appearance of the
74865 + work's title, preceding the beginning of the body of the text.
74867 + 2. VERBATIM COPYING
74869 + You may copy and distribute the Document in any medium, either
74870 + commercially or noncommercially, provided that this License, the
74871 + copyright notices, and the license notice saying this License
74872 + applies to the Document are reproduced in all copies, and that you
74873 + add no other conditions whatsoever to those of this License. You
74874 + may not use technical measures to obstruct or control the reading
74875 + or further copying of the copies you make or distribute. However,
74876 + you may accept compensation in exchange for copies. If you
74877 + distribute a large enough number of copies you must also follow
74878 + the conditions in section 3.
74880 + You may also lend copies, under the same conditions stated above,
74881 + and you may publicly display copies.
74883 + 3. COPYING IN QUANTITY
74885 + If you publish printed copies of the Document numbering more than
74886 + 100, and the Document's license notice requires Cover Texts, you
74887 + must enclose the copies in covers that carry, clearly and legibly,
74888 + all these Cover Texts: Front-Cover Texts on the front cover, and
74889 + Back-Cover Texts on the back cover. Both covers must also clearly
74890 + and legibly identify you as the publisher of these copies. The
74891 + front cover must present the full title with all words of the
74892 + title equally prominent and visible. You may add other material
74893 + on the covers in addition. Copying with changes limited to the
74894 + covers, as long as they preserve the title of the Document and
74895 + satisfy these conditions, can be treated as verbatim copying in
74898 + If the required texts for either cover are too voluminous to fit
74899 + legibly, you should put the first ones listed (as many as fit
74900 + reasonably) on the actual cover, and continue the rest onto
74903 + If you publish or distribute Opaque copies of the Document
74904 + numbering more than 100, you must either include a
74905 + machine-readable Transparent copy along with each Opaque copy, or
74906 + state in or with each Opaque copy a publicly-accessible
74907 + computer-network location containing a complete Transparent copy
74908 + of the Document, free of added material, which the general
74909 + network-using public has access to download anonymously at no
74910 + charge using public-standard network protocols. If you use the
74911 + latter option, you must take reasonably prudent steps, when you
74912 + begin distribution of Opaque copies in quantity, to ensure that
74913 + this Transparent copy will remain thus accessible at the stated
74914 + location until at least one year after the last time you
74915 + distribute an Opaque copy (directly or through your agents or
74916 + retailers) of that edition to the public.
74918 + It is requested, but not required, that you contact the authors of
74919 + the Document well before redistributing any large number of
74920 + copies, to give them a chance to provide you with an updated
74921 + version of the Document.
74925 + You may copy and distribute a Modified Version of the Document
74926 + under the conditions of sections 2 and 3 above, provided that you
74927 + release the Modified Version under precisely this License, with
74928 + the Modified Version filling the role of the Document, thus
74929 + licensing distribution and modification of the Modified Version to
74930 + whoever possesses a copy of it. In addition, you must do these
74931 + things in the Modified Version:
74933 + A. Use in the Title Page (and on the covers, if any) a title
74934 + distinct from that of the Document, and from those of previous
74935 + versions (which should, if there were any, be listed in the
74936 + History section of the Document). You may use the same title
74937 + as a previous version if the original publisher of that version
74938 + gives permission.
74939 + B. List on the Title Page, as authors, one or more persons or
74940 + entities responsible for authorship of the modifications in the
74941 + Modified Version, together with at least five of the principal
74942 + authors of the Document (all of its principal authors, if it
74943 + has less than five).
74944 + C. State on the Title page the name of the publisher of the
74945 + Modified Version, as the publisher.
74946 + D. Preserve all the copyright notices of the Document.
74947 + E. Add an appropriate copyright notice for your modifications
74948 + adjacent to the other copyright notices.
74949 + F. Include, immediately after the copyright notices, a license
74950 + notice giving the public permission to use the Modified Version
74951 + under the terms of this License, in the form shown in the
74953 + G. Preserve in that license notice the full lists of Invariant
74954 + Sections and required Cover Texts given in the Document's
74956 + H. Include an unaltered copy of this License.
74957 + I. Preserve the section entitled "History", and its title, and add
74958 + to it an item stating at least the title, year, new authors, and
74959 + publisher of the Modified Version as given on the Title Page.
74960 + If there is no section entitled "History" in the Document,
74961 + create one stating the title, year, authors, and publisher of
74962 + the Document as given on its Title Page, then add an item
74963 + describing the Modified Version as stated in the previous
74965 + J. Preserve the network location, if any, given in the Document for
74966 + public access to a Transparent copy of the Document, and
74967 + likewise the network locations given in the Document for
74968 + previous versions it was based on. These may be placed in the
74969 + "History" section. You may omit a network location for a work
74970 + that was published at least four years before the Document
74971 + itself, or if the original publisher of the version it refers
74972 + to gives permission.
74973 + K. In any section entitled "Acknowledgements" or "Dedications",
74974 + preserve the section's title, and preserve in the section all the
74975 + substance and tone of each of the contributor acknowledgements
74976 + and/or dedications given therein.
74977 + L. Preserve all the Invariant Sections of the Document,
74978 + unaltered in their text and in their titles. Section numbers
74979 + or the equivalent are not considered part of the section titles.
74980 + M. Delete any section entitled "Endorsements." Such a section
74981 + may not be included in the Modified Version.
74982 + N. Do not retitle any existing section as "Endorsements" or to
74983 + conflict in title with any Invariant Section.
74985 + If the Modified Version includes new front-matter sections or
74986 + appendices that qualify as Secondary Sections and contain no
74987 + material copied from the Document, you may at your option
74988 + designate some or all of these sections as invariant. To do this,
74989 + add their titles to the list of Invariant Sections in the Modified
74990 + Version's license notice. These titles must be distinct from any
74991 + other section titles.
74993 + You may add a section entitled "Endorsements", provided it contains
74994 + nothing but endorsements of your Modified Version by various
74995 + parties-for example, statements of peer review or that the text has
74996 + been approved by an organization as the authoritative definition
74999 + You may add a passage of up to five words as a Front-Cover Text,
75000 + and a passage of up to 25 words as a Back-Cover Text, to the end
75001 + of the list of Cover Texts in the Modified Version. Only one
75002 + passage of Front-Cover Text and one of Back-Cover Text may be
75003 + added by (or through arrangements made by) any one entity. If the
75004 + Document already includes a cover text for the same cover,
75005 + previously added by you or by arrangement made by the same entity
75006 + you are acting on behalf of, you may not add another; but you may
75007 + replace the old one, on explicit permission from the previous
75008 + publisher that added the old one.
75010 + The author(s) and publisher(s) of the Document do not by this
75011 + License give permission to use their names for publicity for or to
75012 + assert or imply endorsement of any Modified Version.
75014 + 5. COMBINING DOCUMENTS
75016 + You may combine the Document with other documents released under
75017 + this License, under the terms defined in section 4 above for
75018 + modified versions, provided that you include in the combination
75019 + all of the Invariant Sections of all of the original documents,
75020 + unmodified, and list them all as Invariant Sections of your
75021 + combined work in its license notice.
75023 + The combined work need only contain one copy of this License, and
75024 + multiple identical Invariant Sections may be replaced with a single
75025 + copy. If there are multiple Invariant Sections with the same name
75026 + but different contents, make the title of each such section unique
75027 + by adding at the end of it, in parentheses, the name of the
75028 + original author or publisher of that section if known, or else a
75029 + unique number. Make the same adjustment to the section titles in
75030 + the list of Invariant Sections in the license notice of the
75033 + In the combination, you must combine any sections entitled
75034 + "History" in the various original documents, forming one section
75035 + entitled "History"; likewise combine any sections entitled
75036 + "Acknowledgements", and any sections entitled "Dedications." You
75037 + must delete all sections entitled "Endorsements."
75039 + 6. COLLECTIONS OF DOCUMENTS
75041 + You may make a collection consisting of the Document and other
75042 + documents released under this License, and replace the individual
75043 + copies of this License in the various documents with a single copy
75044 + that is included in the collection, provided that you follow the
75045 + rules of this License for verbatim copying of each of the
75046 + documents in all other respects.
75048 + You may extract a single document from such a collection, and
75049 + distribute it individually under this License, provided you insert
75050 + a copy of this License into the extracted document, and follow
75051 + this License in all other respects regarding verbatim copying of
75054 + 7. AGGREGATION WITH INDEPENDENT WORKS
75056 + A compilation of the Document or its derivatives with other
75057 + separate and independent documents or works, in or on a volume of
75058 + a storage or distribution medium, does not as a whole count as a
75059 + Modified Version of the Document, provided no compilation
75060 + copyright is claimed for the compilation. Such a compilation is
75061 + called an "aggregate", and this License does not apply to the
75062 + other self-contained works thus compiled with the Document, on
75063 + account of their being thus compiled, if they are not themselves
75064 + derivative works of the Document.
75066 + If the Cover Text requirement of section 3 is applicable to these
75067 + copies of the Document, then if the Document is less than one
75068 + quarter of the entire aggregate, the Document's Cover Texts may be
75069 + placed on covers that surround only the Document within the
75070 + aggregate. Otherwise they must appear on covers around the whole
75075 + Translation is considered a kind of modification, so you may
75076 + distribute translations of the Document under the terms of section
75077 + 4. Replacing Invariant Sections with translations requires special
75078 + permission from their copyright holders, but you may include
75079 + translations of some or all Invariant Sections in addition to the
75080 + original versions of these Invariant Sections. You may include a
75081 + translation of this License provided that you also include the
75082 + original English version of this License. In case of a
75083 + disagreement between the translation and the original English
75084 + version of this License, the original English version will prevail.
75088 + You may not copy, modify, sublicense, or distribute the Document
75089 + except as expressly provided for under this License. Any other
75090 + attempt to copy, modify, sublicense or distribute the Document is
75091 + void, and will automatically terminate your rights under this
75092 + License. However, parties who have received copies, or rights,
75093 + from you under this License will not have their licenses
75094 + terminated so long as such parties remain in full compliance.
75096 + 10. FUTURE REVISIONS OF THIS LICENSE
75098 + The Free Software Foundation may publish new, revised versions of
75099 + the GNU Free Documentation License from time to time. Such new
75100 + versions will be similar in spirit to the present version, but may
75101 + differ in detail to address new problems or concerns. See
75102 + http://www.gnu.org/copyleft/.
75104 + Each version of the License is given a distinguishing version
75105 + number. If the Document specifies that a particular numbered
75106 + version of this License "or any later version" applies to it, you
75107 + have the option of following the terms and conditions either of
75108 + that specified version or of any later version that has been
75109 + published (not as a draft) by the Free Software Foundation. If
75110 + the Document does not specify a version number of this License,
75111 + you may choose any version ever published (not as a draft) by the
75112 + Free Software Foundation.
75115 +ADDENDUM: How to use this License for your documents
75116 +====================================================
75118 +To use this License in a document you have written, include a copy of
75119 +the License in the document and put the following copyright and license
75120 +notices just after the title page:
75122 + Copyright (C) YEAR YOUR NAME.
75123 + Permission is granted to copy, distribute and/or modify this document
75124 + under the terms of the GNU Free Documentation License, Version 1.1
75125 + or any later version published by the Free Software Foundation;
75126 + with the Invariant Sections being LIST THEIR TITLES, with the
75127 + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
75128 + A copy of the license is included in the section entitled "GNU
75129 + Free Documentation License."
75131 + If you have no Invariant Sections, write "with no Invariant Sections"
75132 +instead of saying which ones are invariant. If you have no Front-Cover
75133 +Texts, write "no Front-Cover Texts" instead of "Front-Cover Texts being
75134 +LIST"; likewise for Back-Cover Texts.
75136 + If your document contains nontrivial examples of program code, we
75137 +recommend releasing these examples in parallel under your choice of
75138 +free software license, such as the GNU General Public License, to
75139 +permit their use in free software.
75142 +File: ld.info, Node: Index, Prev: GNU Free Documentation License, Up: Top