1 diff -Nrup binutils-2.17/bfd/aclocal.m4 binutils-2.17.atmel.1.3.0/bfd/aclocal.m4
2 --- binutils-2.17/bfd/aclocal.m4 2005-09-30 20:38:50.000000000 +0200
3 +++ binutils-2.17.atmel.1.3.0/bfd/aclocal.m4 2007-03-26 10:30:51.000000000 +0200
5 -# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
6 +# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
8 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9 # 2005 Free Software Foundation, Inc.
10 @@ -28,7 +28,7 @@ AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api
11 # Call AM_AUTOMAKE_VERSION so it can be traced.
12 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
13 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
14 - [AM_AUTOMAKE_VERSION([1.9.5])])
15 + [AM_AUTOMAKE_VERSION([1.9.6])])
17 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
19 diff -Nrup binutils-2.17/bfd/archures.c binutils-2.17.atmel.1.3.0/bfd/archures.c
20 --- binutils-2.17/bfd/archures.c 2006-03-06 14:42:03.000000000 +0100
21 +++ binutils-2.17.atmel.1.3.0/bfd/archures.c 2007-03-26 10:20:30.000000000 +0200
22 @@ -334,6 +334,9 @@ DESCRIPTION
23 .#define bfd_mach_avr3 3
24 .#define bfd_mach_avr4 4
25 .#define bfd_mach_avr5 5
26 +. bfd_arch_avr32, {* Atmel AVR32 *}
27 +.#define bfd_mach_avr32_ap 7000
28 +.#define bfd_mach_avr32_uc 3000
29 . bfd_arch_bfin, {* ADI Blackfin *}
30 .#define bfd_mach_bfin 1
31 . bfd_arch_cr16c, {* National Semiconductor CompactRISC. *}
32 @@ -423,6 +426,7 @@ extern const bfd_arch_info_type bfd_alph
33 extern const bfd_arch_info_type bfd_arc_arch;
34 extern const bfd_arch_info_type bfd_arm_arch;
35 extern const bfd_arch_info_type bfd_avr_arch;
36 +extern const bfd_arch_info_type bfd_avr32_arch;
37 extern const bfd_arch_info_type bfd_bfin_arch;
38 extern const bfd_arch_info_type bfd_cr16c_arch;
39 extern const bfd_arch_info_type bfd_cris_arch;
40 @@ -490,6 +494,7 @@ static const bfd_arch_info_type * const
48 diff -Nrup binutils-2.17/bfd/bfd-in2.h binutils-2.17.atmel.1.3.0/bfd/bfd-in2.h
49 --- binutils-2.17/bfd/bfd-in2.h 2006-03-26 01:38:42.000000000 +0100
50 +++ binutils-2.17.atmel.1.3.0/bfd/bfd-in2.h 2007-03-26 10:33:41.000000000 +0200
51 @@ -1931,6 +1931,9 @@ enum bfd_architecture
52 #define bfd_mach_avr3 3
53 #define bfd_mach_avr4 4
54 #define bfd_mach_avr5 5
55 + bfd_arch_avr32, /* Atmel AVR32 */
56 +#define bfd_mach_avr32_ap 7000
57 +#define bfd_mach_avr32_uc 3000
58 bfd_arch_bfin, /* ADI Blackfin */
59 #define bfd_mach_bfin 1
60 bfd_arch_cr16c, /* National Semiconductor CompactRISC. */
61 @@ -3577,6 +3580,87 @@ instructions */
65 +/* Difference between two labels: L2 - L1. The value of L1 is encoded
66 +as sym + addend, while the initial difference after assembly is
67 +inserted into the object file by the assembler. */
68 + BFD_RELOC_AVR32_DIFF32,
69 + BFD_RELOC_AVR32_DIFF16,
70 + BFD_RELOC_AVR32_DIFF8,
72 +/* Reference to a symbol through the Global Offset Table. The linker
73 +will allocate an entry for symbol in the GOT and insert the offset
74 +of this entry as the relocation value. */
75 + BFD_RELOC_AVR32_GOT32,
76 + BFD_RELOC_AVR32_GOT16,
77 + BFD_RELOC_AVR32_GOT8,
79 +/* Normal (non-pc-relative) code relocations. Alignment and signedness
80 +is indicated by the suffixes. S means signed, U means unsigned. W
81 +means word-aligned, H means halfword-aligned, neither means
82 +byte-aligned (no alignment.) SUB5 is the same relocation as 16S. */
83 + BFD_RELOC_AVR32_21S,
84 + BFD_RELOC_AVR32_16U,
85 + BFD_RELOC_AVR32_16S,
86 + BFD_RELOC_AVR32_SUB5,
87 + BFD_RELOC_AVR32_8S_EXT,
90 +/* PC-relative relocations are signed if neither 'U' nor 'S' is
91 +specified. However, we explicitly tack on a 'B' to indicate no
92 +alignment, to avoid confusion with data relocs. All of these resolve
93 +to sym + addend - offset, except the one with 'N' (negated) suffix.
94 +This particular one resolves to offset - sym - addend. */
95 + BFD_RELOC_AVR32_22H_PCREL,
96 + BFD_RELOC_AVR32_18W_PCREL,
97 + BFD_RELOC_AVR32_16B_PCREL,
98 + BFD_RELOC_AVR32_16N_PCREL,
99 + BFD_RELOC_AVR32_14UW_PCREL,
100 + BFD_RELOC_AVR32_11H_PCREL,
101 + BFD_RELOC_AVR32_10UW_PCREL,
102 + BFD_RELOC_AVR32_9H_PCREL,
103 + BFD_RELOC_AVR32_9UW_PCREL,
105 +/* Subtract the link-time address of the GOT from (symbol + addend)
106 +and insert the result. */
107 + BFD_RELOC_AVR32_GOTPC,
109 +/* Reference to a symbol through the GOT. The linker will allocate an
110 +entry for symbol in the GOT and insert the offset of this entry as
111 +the relocation value. addend must be zero. As usual, 'S' means
112 +signed, 'W' means word-aligned, etc. */
113 + BFD_RELOC_AVR32_GOTCALL,
114 + BFD_RELOC_AVR32_LDA_GOT,
115 + BFD_RELOC_AVR32_GOT21S,
116 + BFD_RELOC_AVR32_GOT18SW,
117 + BFD_RELOC_AVR32_GOT16S,
119 +/* 32-bit constant pool entry. I don't think 8- and 16-bit entries make
120 +a whole lot of sense. */
121 + BFD_RELOC_AVR32_32_CPENT,
123 +/* Constant pool references. Some of these relocations are signed,
124 +others are unsigned. It doesn't really matter, since the constant
125 +pool always comes after the code that references it. */
126 + BFD_RELOC_AVR32_CPCALL,
127 + BFD_RELOC_AVR32_16_CP,
128 + BFD_RELOC_AVR32_9W_CP,
130 +/* sym must be the absolute symbol. The addend specifies the alignment
131 +order, e.g. if addend is 2, the linker must add padding so that the
132 +next address is aligned to a 4-byte boundary. */
133 + BFD_RELOC_AVR32_ALIGN,
135 +/* Code relocations that will never make it to the output file. */
136 + BFD_RELOC_AVR32_14UW,
137 + BFD_RELOC_AVR32_10UW,
138 + BFD_RELOC_AVR32_10SW,
139 + BFD_RELOC_AVR32_STHH_W,
140 + BFD_RELOC_AVR32_7UW,
141 + BFD_RELOC_AVR32_6S,
142 + BFD_RELOC_AVR32_6UW,
143 + BFD_RELOC_AVR32_4UH,
144 + BFD_RELOC_AVR32_3U,
149 diff -Nrup binutils-2.17/bfd/config.bfd binutils-2.17.atmel.1.3.0/bfd/config.bfd
150 --- binutils-2.17/bfd/config.bfd 2006-04-05 14:41:57.000000000 +0200
151 +++ binutils-2.17.atmel.1.3.0/bfd/config.bfd 2007-03-26 10:20:30.000000000 +0200
152 @@ -317,6 +317,10 @@ case "${targ}" in
157 + targ_defvec=bfd_elf32_avr32_vec
160 c30-*-*aout* | tic30-*-*aout*)
161 targ_defvec=tic30_aout_vec
163 diff -Nrup binutils-2.17/bfd/config.in binutils-2.17.atmel.1.3.0/bfd/config.in
164 --- binutils-2.17/bfd/config.in 2005-11-03 17:06:10.000000000 +0100
165 +++ binutils-2.17.atmel.1.3.0/bfd/config.in 2007-03-26 10:30:55.000000000 +0200
166 @@ -313,18 +313,18 @@
167 /* Define to the version of this package. */
168 #undef PACKAGE_VERSION
170 -/* The size of a `long', as computed by sizeof. */
171 +/* The size of `long', as computed by sizeof. */
174 -/* The size of a `long long', as computed by sizeof. */
175 +/* The size of `long long', as computed by sizeof. */
176 #undef SIZEOF_LONG_LONG
178 -/* The size of a `off_t', as computed by sizeof. */
179 +/* The size of `off_t', as computed by sizeof. */
182 /* If using the C implementation of alloca, define if you know the
183 direction of stack growth for your system; otherwise it will be
184 - automatically deduced at run-time.
185 + automatically deduced at runtime.
186 STACK_DIRECTION > 0 => grows toward higher addresses
187 STACK_DIRECTION < 0 => grows toward lower addresses
188 STACK_DIRECTION = 0 => direction of growth unknown */
193 -/* Define to `long' if <sys/types.h> does not define. */
194 +/* Define to `long int' if <sys/types.h> does not define. */
197 -/* Define to `unsigned' if <sys/types.h> does not define. */
198 +/* Define to `unsigned int' if <sys/types.h> does not define. */
200 diff -Nrup binutils-2.17/bfd/configure binutils-2.17.atmel.1.3.0/bfd/configure
201 --- binutils-2.17/bfd/configure 2006-06-23 20:17:03.000000000 +0200
202 +++ binutils-2.17.atmel.1.3.0/bfd/configure 2007-03-26 10:30:54.000000000 +0200
205 # Guess values for system-dependent variables and create Makefiles.
206 -# Generated by GNU Autoconf 2.59.
207 +# Generated by GNU Autoconf 2.61.
209 -# Copyright (C) 2003 Free Software Foundation, Inc.
210 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
211 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
212 # This configure script is free software; the Free Software Foundation
213 # gives unlimited permission to copy, distribute and modify it.
214 ## --------------------- ##
215 ## M4sh Initialization. ##
216 ## --------------------- ##
218 -# Be Bourne compatible
219 +# Be more Bourne compatible
220 +DUALCASE=1; export DUALCASE # for MKS sh
221 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
224 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
225 # is contrary to our usage. Disable this feature.
226 alias -g '${1+"$@"}'='"$@"'
227 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
229 + setopt NO_GLOB_SUBST
231 + case `(set -o) 2>/dev/null` in
232 + *posix*) set -o posix ;;
241 +# Avoid depending upon Character Ranges.
242 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
243 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
244 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
245 +as_cr_digits='0123456789'
246 +as_cr_alnum=$as_cr_Letters$as_cr_digits
248 +# The user is always right.
249 +if test "${PATH_SEPARATOR+set}" != set; then
250 + echo "#! /bin/sh" >conf$$.sh
251 + echo "exit 0" >>conf$$.sh
253 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
260 -DUALCASE=1; export DUALCASE # for MKS sh
262 # Support unset when possible.
263 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
264 @@ -29,8 +58,43 @@ else
269 +# We need space, tab and new line, in precisely that order. Quoting is
270 +# there to prevent editors from complaining about space-tab.
271 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
272 +# splitting by setting IFS to empty value.)
277 +# Find who we are. Look in the path if we contain no directory separator.
279 + *[\\/]* ) as_myself=$0 ;;
280 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
284 + test -z "$as_dir" && as_dir=.
285 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
291 +# We did not find ourselves, most probably we were run as `sh COMMAND'
292 +# in which case we are not to be found in the path.
293 +if test "x$as_myself" = x; then
296 +if test ! -f "$as_myself"; then
297 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
298 + { (exit 1); exit 1; }
301 # Work around bugs in pre-3.0 UWIN ksh.
302 -$as_unset ENV MAIL MAILPATH
303 +for as_var in ENV MAIL MAILPATH
304 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
309 @@ -44,18 +108,19 @@ do
310 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
311 eval $as_var=C; export $as_var
314 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
318 # Required to use basename.
319 -if expr a : '\(a\)' >/dev/null 2>&1; then
320 +if expr a : '\(a\)' >/dev/null 2>&1 &&
321 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
327 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
328 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
332 @@ -63,157 +128,388 @@ fi
335 # Name of the executable.
336 -as_me=`$as_basename "$0" ||
337 +as_me=`$as_basename -- "$0" ||
338 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
339 X"$0" : 'X\(//\)$' \| \
340 - X"$0" : 'X\(/\)$' \| \
341 - . : '\(.\)' 2>/dev/null ||
342 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
344 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
345 - /^X\/\(\/\/\)$/{ s//\1/; q; }
346 - /^X\/\(\/\).*/{ s//\1/; q; }
348 + sed '/^.*\/\([^/][^/]*\)\/*$/{
365 -# PATH needs CR, and LINENO needs CR and PATH.
366 -# Avoid depending upon Character Ranges.
367 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
368 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
369 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
370 -as_cr_digits='0123456789'
371 -as_cr_alnum=$as_cr_Letters$as_cr_digits
373 -# The user is always right.
374 -if test "${PATH_SEPARATOR+set}" != set; then
375 - echo "#! /bin/sh" >conf$$.sh
376 - echo "exit 0" >>conf$$.sh
378 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
384 +if test "x$CONFIG_SHELL" = x; then
385 + if (eval ":") 2>/dev/null; then
386 + as_have_required=yes
388 + as_have_required=no
391 + if test $as_have_required = yes && (eval ":
392 +(as_func_return () {
395 +as_func_success () {
398 +as_func_failure () {
401 +as_func_ret_success () {
404 +as_func_ret_failure () {
409 +if as_func_success; then
413 + echo as_func_success failed.
416 +if as_func_failure; then
418 + echo as_func_failure succeeded.
421 - as_lineno_1=$LINENO
422 - as_lineno_2=$LINENO
423 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
424 - test "x$as_lineno_1" != "x$as_lineno_2" &&
425 - test "x$as_lineno_3" = "x$as_lineno_2" || {
426 - # Find who we are. Look in the path if we contain no path at all
429 - *[\\/]* ) as_myself=$0 ;;
430 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
434 - test -z "$as_dir" && as_dir=.
435 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
437 +if as_func_ret_success; then
441 + echo as_func_ret_success failed.
446 - # We did not find ourselves, most probably we were run as `sh COMMAND'
447 - # in which case we are not to be found in the path.
448 - if test "x$as_myself" = x; then
451 - if test ! -f "$as_myself"; then
452 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
453 - { (exit 1); exit 1; }; }
455 - case $CONFIG_SHELL in
457 +if as_func_ret_failure; then
459 + echo as_func_ret_failure succeeded.
462 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
466 + echo positional parameters were not saved.
469 +test \$exitcode = 0) || { (exit 1); exit 1; }
472 + as_lineno_1=\$LINENO
473 + as_lineno_2=\$LINENO
474 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
475 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
476 +") 2> /dev/null; then
479 + as_candidate_shells=
480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
481 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
484 test -z "$as_dir" && as_dir=.
485 - for as_base in sh bash ksh sh5; do
489 - if ("$as_dir/$as_base" -c '
490 + for as_base in sh bash ksh sh5; do
491 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
498 + for as_shell in $as_candidate_shells $SHELL; do
499 + # Try only shells that exist, to save several forks.
500 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
501 + { ("$as_shell") 2> /dev/null <<\_ASEOF
502 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
505 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
506 + # is contrary to our usage. Disable this feature.
507 + alias -g '${1+"$@"}'='"$@"'
508 + setopt NO_GLOB_SUBST
510 + case `(set -o) 2>/dev/null` in
511 + *posix*) set -o posix ;;
520 + CONFIG_SHELL=$as_shell
521 + as_have_required=yes
522 + if { "$as_shell" 2> /dev/null <<\_ASEOF
523 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
526 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
527 + # is contrary to our usage. Disable this feature.
528 + alias -g '${1+"$@"}'='"$@"'
529 + setopt NO_GLOB_SUBST
531 + case `(set -o) 2>/dev/null` in
532 + *posix*) set -o posix ;;
539 +(as_func_return () {
542 +as_func_success () {
545 +as_func_failure () {
548 +as_func_ret_success () {
551 +as_func_ret_failure () {
556 +if as_func_success; then
560 + echo as_func_success failed.
563 +if as_func_failure; then
565 + echo as_func_failure succeeded.
568 +if as_func_ret_success; then
572 + echo as_func_ret_success failed.
575 +if as_func_ret_failure; then
577 + echo as_func_ret_failure succeeded.
580 +if ( set x; as_func_ret_success y && test x = "$1" ); then
584 + echo positional parameters were not saved.
587 +test $exitcode = 0) || { (exit 1); exit 1; }
592 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
593 test "x$as_lineno_1" != "x$as_lineno_2" &&
594 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
595 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
596 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
597 - CONFIG_SHELL=$as_dir/$as_base
598 - export CONFIG_SHELL
599 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
606 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
617 + if test "x$CONFIG_SHELL" != x; then
618 + for as_var in BASH_ENV ENV
619 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
621 + export CONFIG_SHELL
622 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
626 + if test $as_have_required = no; then
627 + echo This script requires a shell more modern than all the
628 + echo shells that I found on your system. Please install a
629 + echo modern shell, or manually run the script under such a
630 + echo shell if you do have one.
631 + { (exit 1); exit 1; }
641 +(eval "as_func_return () {
644 +as_func_success () {
647 +as_func_failure () {
650 +as_func_ret_success () {
653 +as_func_ret_failure () {
658 +if as_func_success; then
662 + echo as_func_success failed.
665 +if as_func_failure; then
667 + echo as_func_failure succeeded.
670 +if as_func_ret_success; then
674 + echo as_func_ret_success failed.
677 +if as_func_ret_failure; then
679 + echo as_func_ret_failure succeeded.
682 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
686 + echo positional parameters were not saved.
689 +test \$exitcode = 0") || {
690 + echo No shell found that supports shell functions.
691 + echo Please tell autoconf@gnu.org about your system,
692 + echo including any error possibly output before this
698 + as_lineno_1=$LINENO
699 + as_lineno_2=$LINENO
700 + test "x$as_lineno_1" != "x$as_lineno_2" &&
701 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
703 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
704 # uniformly replaced by the line number. The first 'sed' inserts a
705 - # line-number line before each line; the second 'sed' does the real
706 - # work. The second script uses 'N' to pair each line-number line
707 - # with the numbered line, and appends trailing '-' during
708 - # substitution so that $LINENO is not a special case at line end.
709 + # line-number line after each line using $LINENO; the second 'sed'
710 + # does the real work. The second script uses 'N' to pair each
711 + # line-number line with the line containing $LINENO, and appends
712 + # trailing '-' during substitution so that $LINENO is not a special
713 + # case at line end.
714 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
715 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
716 - sed '=' <$as_myself |
717 + # scripts with optimization help from Paolo Bonzini. Blame Lee
718 + # E. McMahon (1931-1989) for sed's syntax. :-)
731 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
733 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
736 - s,^['$as_cr_digits']*\n,,
739 - chmod +x $as_me.lineno ||
740 + chmod +x "$as_me.lineno" ||
741 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
742 { (exit 1); exit 1; }; }
744 # Don't try to exec as it changes $[0], causing all sort of problems
745 # (the dirname of $[0] is not the place where we might find the
746 - # original and so on. Autoconf is especially sensible to this).
748 + # original and so on. Autoconf is especially sensitive to this).
749 + . "./$as_me.lineno"
750 # Exit status is that of the last command.
755 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
756 - *c*,-n*) ECHO_N= ECHO_C='
758 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
759 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
760 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
766 +ECHO_C= ECHO_N= ECHO_T=
769 + case `echo 'x\c'` in
770 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
777 -if expr a : '\(a\)' >/dev/null 2>&1; then
778 +if expr a : '\(a\)' >/dev/null 2>&1 &&
779 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
785 rm -f conf$$ conf$$.exe conf$$.file
786 +if test -d conf$$.dir; then
787 + rm -f conf$$.dir/conf$$.file
793 if ln -s conf$$.file conf$$ 2>/dev/null; then
794 - # We could just check for DJGPP; but this test a) works b) is more generic
795 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
796 - if test -f conf$$.exe; then
797 - # Don't use ln at all; we don't have any links
799 + # ... but there are two gotchas:
800 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
801 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
802 + # In both cases, we have to default to `cp -p'.
803 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
808 elif ln conf$$.file conf$$ 2>/dev/null; then
813 -rm -f conf$$ conf$$.exe conf$$.file
814 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
815 +rmdir conf$$.dir 2>/dev/null
817 if mkdir -p . 2>/dev/null; then
819 @@ -222,7 +518,28 @@ else
823 -as_executable_p="test -f"
824 +if test -x / >/dev/null 2>&1; then
825 + as_test_x='test -x'
827 + if ls -dL / >/dev/null 2>&1; then
834 + if test -d "$1"; then
840 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
841 + ???[sx]*):;;*)false;;esac;fi
845 +as_executable_p=$as_test_x
847 # Sed expression to map a string onto a valid CPP name.
848 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
849 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
850 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
854 -# We need space, tab and new line, in precisely that order.
862 +exec 7<&0 </dev/null 6>&1
865 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
866 # so uname gets run too.
867 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
874 ac_default_prefix=/usr/local
876 ac_config_libobj_dir=.
882 SHELL=${CONFIG_SHELL-/bin/sh}
884 -# Maximum number of lines to put in a shell here document.
885 -# This variable seems obsolete. It should probably be removed, and
886 -# only ac_max_sed_lines should be used.
887 -: ${ac_max_here_lines=38}
889 # Identity of this package.
892 @@ -275,42 +580,199 @@ ac_unique_file="libbfd.c"
893 # Factoring default headers for most tests.
894 ac_includes_default="\
896 -#if HAVE_SYS_TYPES_H
897 +#ifdef HAVE_SYS_TYPES_H
898 # include <sys/types.h>
901 +#ifdef HAVE_SYS_STAT_H
902 # include <sys/stat.h>
910 +# ifdef HAVE_STDLIB_H
915 -# if !STDC_HEADERS && HAVE_MEMORY_H
916 +#ifdef HAVE_STRING_H
917 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
923 +#ifdef HAVE_STRINGS_H
924 # include <strings.h>
927 +#ifdef HAVE_INTTYPES_H
928 # include <inttypes.h>
931 -# include <stdint.h>
935 +#ifdef HAVE_STDINT_H
936 +# include <stdint.h>
938 +#ifdef HAVE_UNISTD_H
942 -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'
943 +ac_subst_vars='SHELL
952 +program_transform_name
1012 +INSTALL_STRIP_PROGRAM
1028 +am__fastdepCC_FALSE
1035 +MAINTAINER_MODE_TRUE
1036 +MAINTAINER_MODE_FALSE
1038 +INSTALL_LIBBFD_TRUE
1039 +INSTALL_LIBBFD_FALSE
1041 +target_noncanonical
1052 +USE_INCLUDED_LIBINTL
1069 +BFD_HOST_64BIT_LONG
1071 +BFD_HOST_64_BIT_DEFINED
1086 +bfd_default_target_size
1093 + ac_precious_vars='build_alias
1104 # Initialize some variables set by options.
1106 @@ -337,34 +799,48 @@ x_libraries=NONE
1107 # and all the variables that are supposed to be based on exec_prefix
1108 # by default will actually change.
1109 # Use braces instead of parens because sh, perl, etc. also accept them.
1110 +# (The list follows the same order as the GNU Coding Standards.)
1111 bindir='${exec_prefix}/bin'
1112 sbindir='${exec_prefix}/sbin'
1113 libexecdir='${exec_prefix}/libexec'
1114 -datadir='${prefix}/share'
1115 +datarootdir='${prefix}/share'
1116 +datadir='${datarootdir}'
1117 sysconfdir='${prefix}/etc'
1118 sharedstatedir='${prefix}/com'
1119 localstatedir='${prefix}/var'
1120 -libdir='${exec_prefix}/lib'
1121 includedir='${prefix}/include'
1122 oldincludedir='/usr/include'
1123 -infodir='${prefix}/info'
1124 -mandir='${prefix}/man'
1125 +docdir='${datarootdir}/doc/${PACKAGE}'
1126 +infodir='${datarootdir}/info'
1127 +htmldir='${docdir}'
1131 +libdir='${exec_prefix}/lib'
1132 +localedir='${datarootdir}/locale'
1133 +mandir='${datarootdir}/man'
1139 # If the previous option needs an argument, assign it.
1140 if test -n "$ac_prev"; then
1141 - eval "$ac_prev=\$ac_option"
1142 + eval $ac_prev=\$ac_option
1147 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1148 + case $ac_option in
1149 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1150 + *) ac_optarg=yes ;;
1153 # Accept the important Cygnus configure options, so we can diagnose typos.
1155 - case $ac_option in
1156 + case $ac_dashdash$ac_option in
1158 + ac_dashdash=yes ;;
1160 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1162 @@ -386,33 +862,45 @@ do
1163 --config-cache | -C)
1164 cache_file=config.cache ;;
1166 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1167 + -datadir | --datadir | --datadi | --datad)
1169 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1171 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir=$ac_optarg ;;
1174 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 + | --dataroo | --dataro | --datar)
1176 + ac_prev=datarootdir ;;
1177 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 + datarootdir=$ac_optarg ;;
1181 -disable-* | --disable-*)
1182 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1185 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1187 { (exit 1); exit 1; }; }
1188 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1189 - eval "enable_$ac_feature=no" ;;
1190 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1191 + eval enable_$ac_feature=no ;;
1193 + -docdir | --docdir | --docdi | --doc | --do)
1195 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1196 + docdir=$ac_optarg ;;
1198 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1200 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1201 + dvidir=$ac_optarg ;;
1203 -enable-* | --enable-*)
1204 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1205 # Reject names that are not valid shell variable names.
1206 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1207 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1208 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1209 { (exit 1); exit 1; }; }
1210 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1211 - case $ac_option in
1212 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1213 - *) ac_optarg=yes ;;
1215 - eval "enable_$ac_feature='$ac_optarg'" ;;
1216 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1217 + eval enable_$ac_feature=\$ac_optarg ;;
1219 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1220 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1221 @@ -439,6 +927,12 @@ do
1222 -host=* | --host=* | --hos=* | --ho=*)
1223 host_alias=$ac_optarg ;;
1225 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1226 + ac_prev=htmldir ;;
1227 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1229 + htmldir=$ac_optarg ;;
1231 -includedir | --includedir | --includedi | --included | --include \
1232 | --includ | --inclu | --incl | --inc)
1233 ac_prev=includedir ;;
1234 @@ -463,13 +957,16 @@ do
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1238 + -localedir | --localedir | --localedi | --localed | --locale)
1239 + ac_prev=localedir ;;
1240 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 + localedir=$ac_optarg ;;
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 - | --localstate | --localstat | --localsta | --localst \
1245 - | --locals | --local | --loca | --loc | --lo)
1246 + | --localstate | --localstat | --localsta | --localst | --locals)
1247 ac_prev=localstatedir ;;
1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1249 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1250 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1251 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 @@ -534,6 +1031,16 @@ do
1256 | --progr-tra=* | --program-tr=* | --program-t=*)
1257 program_transform_name=$ac_optarg ;;
1259 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1261 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1262 + pdfdir=$ac_optarg ;;
1264 + -psdir | --psdir | --psdi | --psd | --ps)
1266 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1267 + psdir=$ac_optarg ;;
1269 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1270 | -silent | --silent | --silen | --sile | --sil)
1272 @@ -586,24 +1093,20 @@ do
1274 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1275 # Reject names that are not valid shell variable names.
1276 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1277 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1278 { echo "$as_me: error: invalid package name: $ac_package" >&2
1279 { (exit 1); exit 1; }; }
1280 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1281 - case $ac_option in
1282 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1283 - *) ac_optarg=yes ;;
1285 - eval "with_$ac_package='$ac_optarg'" ;;
1286 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1287 + eval with_$ac_package=\$ac_optarg ;;
1289 -without-* | --without-*)
1290 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1291 # Reject names that are not valid shell variable names.
1292 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1293 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294 { echo "$as_me: error: invalid package name: $ac_package" >&2
1295 { (exit 1); exit 1; }; }
1296 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1297 - eval "with_$ac_package=no" ;;
1298 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1299 + eval with_$ac_package=no ;;
1302 # Obsolete; use --with-x.
1303 @@ -634,8 +1137,7 @@ Try \`$0 --help' for more information."
1304 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1305 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1306 { (exit 1); exit 1; }; }
1307 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1308 - eval "$ac_envvar='$ac_optarg'"
1309 + eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 @@ -655,27 +1157,19 @@ if test -n "$ac_prev"; then
1314 { (exit 1); exit 1; }; }
1317 -# Be sure to have absolute paths.
1318 -for ac_var in exec_prefix prefix
1320 - eval ac_val=$`echo $ac_var`
1322 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1323 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1324 - { (exit 1); exit 1; }; };;
1328 -# Be sure to have absolute paths.
1329 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1330 - localstatedir libdir includedir oldincludedir infodir mandir
1331 +# Be sure to have absolute directory names.
1332 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1333 + datadir sysconfdir sharedstatedir localstatedir includedir \
1334 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1335 + libdir localedir mandir
1337 - eval ac_val=$`echo $ac_var`
1338 + eval ac_val=\$$ac_var
1340 - [\\/$]* | ?:[\\/]* ) ;;
1341 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1342 - { (exit 1); exit 1; }; };;
1343 + [\\/$]* | ?:[\\/]* ) continue;;
1344 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1346 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1347 + { (exit 1); exit 1; }; }
1350 # There might be people who depend on the old broken behavior: `$host'
1351 @@ -702,74 +1196,76 @@ test -n "$host_alias" && ac_tool_prefix=
1352 test "$silent" = yes && exec 6>/dev/null
1355 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1356 +ac_ls_di=`ls -di .` &&
1357 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1358 + { echo "$as_me: error: Working directory cannot be determined" >&2
1359 + { (exit 1); exit 1; }; }
1360 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1361 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1362 + { (exit 1); exit 1; }; }
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 - # Try the directory containing this script, then its parent.
1369 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1370 + # Try the directory containing this script, then the parent directory.
1371 + ac_confdir=`$as_dirname -- "$0" ||
1372 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1373 X"$0" : 'X\(//\)[^/]' \| \
1374 X"$0" : 'X\(//\)$' \| \
1375 - X"$0" : 'X\(/\)' \| \
1376 - . : '\(.\)' 2>/dev/null ||
1377 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1379 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1380 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1381 - /^X\(\/\/\)$/{ s//\1/; q; }
1382 - /^X\(\/\).*/{ s//\1/; q; }
1384 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 + /^X\(\/\/\)[^/].*/{
1402 - if test ! -r $srcdir/$ac_unique_file; then
1403 + if test ! -r "$srcdir/$ac_unique_file"; then
1407 ac_srcdir_defaulted=no
1409 -if test ! -r $srcdir/$ac_unique_file; then
1410 - if test "$ac_srcdir_defaulted" = yes; then
1411 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1412 - { (exit 1); exit 1; }; }
1414 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1415 - { (exit 1); exit 1; }; }
1418 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1419 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1420 - { (exit 1); exit 1; }; }
1421 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1422 -ac_env_build_alias_set=${build_alias+set}
1423 -ac_env_build_alias_value=$build_alias
1424 -ac_cv_env_build_alias_set=${build_alias+set}
1425 -ac_cv_env_build_alias_value=$build_alias
1426 -ac_env_host_alias_set=${host_alias+set}
1427 -ac_env_host_alias_value=$host_alias
1428 -ac_cv_env_host_alias_set=${host_alias+set}
1429 -ac_cv_env_host_alias_value=$host_alias
1430 -ac_env_target_alias_set=${target_alias+set}
1431 -ac_env_target_alias_value=$target_alias
1432 -ac_cv_env_target_alias_set=${target_alias+set}
1433 -ac_cv_env_target_alias_value=$target_alias
1434 -ac_env_CC_set=${CC+set}
1435 -ac_env_CC_value=$CC
1436 -ac_cv_env_CC_set=${CC+set}
1437 -ac_cv_env_CC_value=$CC
1438 -ac_env_CFLAGS_set=${CFLAGS+set}
1439 -ac_env_CFLAGS_value=$CFLAGS
1440 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1441 -ac_cv_env_CFLAGS_value=$CFLAGS
1442 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1443 -ac_env_LDFLAGS_value=$LDFLAGS
1444 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1445 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1446 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1447 -ac_env_CPPFLAGS_value=$CPPFLAGS
1448 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1449 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1450 -ac_env_CPP_set=${CPP+set}
1451 -ac_env_CPP_value=$CPP
1452 -ac_cv_env_CPP_set=${CPP+set}
1453 -ac_cv_env_CPP_value=$CPP
1454 +if test ! -r "$srcdir/$ac_unique_file"; then
1455 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1456 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1457 + { (exit 1); exit 1; }; }
1459 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1462 + { (exit 1); exit 1; }; }
1464 +# When building in place, set srcdir=.
1465 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1468 +# Remove unnecessary trailing slashes from srcdir.
1469 +# Double slashes in file names in object file debugging info
1470 +# mess up M-x gdb in Emacs.
1472 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1474 +for ac_var in $ac_precious_vars; do
1475 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1476 + eval ac_env_${ac_var}_value=\$${ac_var}
1477 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1478 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1482 # Report the --help message.
1483 @@ -798,9 +1294,6 @@ Configuration:
1484 -n, --no-create do not create output files
1485 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1490 Installation directories:
1491 --prefix=PREFIX install architecture-independent files in PREFIX
1492 [$ac_default_prefix]
1493 @@ -818,15 +1311,22 @@ Fine tuning of the installation director
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1498 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1499 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1500 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1501 --libdir=DIR object code libraries [EPREFIX/lib]
1502 --includedir=DIR C header files [PREFIX/include]
1503 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1504 - --infodir=DIR info documentation [PREFIX/info]
1505 - --mandir=DIR man documentation [PREFIX/man]
1506 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1507 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1508 + --infodir=DIR info documentation [DATAROOTDIR/info]
1509 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1510 + --mandir=DIR man documentation [DATAROOTDIR/man]
1511 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1512 + --htmldir=DIR html documentation [DOCDIR]
1513 + --dvidir=DIR dvi documentation [DOCDIR]
1514 + --pdfdir=DIR pdf documentation [DOCDIR]
1515 + --psdir=DIR ps documentation [DOCDIR]
1519 @@ -880,126 +1380,95 @@ Some influential environment variables:
1520 CFLAGS C compiler flags
1521 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1522 nonstandard directory <lib dir>
1523 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1524 - headers in a nonstandard directory <include dir>
1525 + LIBS libraries to pass to the linker, e.g. -l<library>
1526 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1527 + you have headers in a nonstandard directory <include dir>
1530 Use these variables to override the choices made by `configure' or to help
1531 it to find libraries and programs with nonstandard names/locations.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1540 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1541 - test -d $ac_dir || continue
1542 + test -d "$ac_dir" || continue
1545 -if test "$ac_dir" != .; then
1547 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1550 - # A "../" for each directory in $ac_dir_suffix.
1551 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1553 - ac_dir_suffix= ac_top_builddir=
1555 + # A ".." for each directory in $ac_dir_suffix.
1556 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1557 + case $ac_top_builddir_sub in
1558 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1559 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1562 +ac_abs_top_builddir=$ac_pwd
1563 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1564 +# for backward compatibility:
1565 +ac_top_builddir=$ac_top_build_prefix
1568 - .) # No --srcdir option. We are building in place.
1569 + .) # We are building in place.
1571 - if test -z "$ac_top_builddir"; then
1574 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1576 - [\\/]* | ?:[\\/]* ) # Absolute path.
1577 + ac_top_srcdir=$ac_top_builddir_sub
1578 + ac_abs_top_srcdir=$ac_pwd ;;
1579 + [\\/]* | ?:[\\/]* ) # Absolute name.
1580 ac_srcdir=$srcdir$ac_dir_suffix;
1581 - ac_top_srcdir=$srcdir ;;
1582 - *) # Relative path.
1583 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1584 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1587 -# Do not use `cd foo && pwd` to compute absolute paths, because
1588 -# the directories may not exist.
1590 -.) ac_abs_builddir="$ac_dir";;
1593 - .) ac_abs_builddir=`pwd`;;
1594 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1595 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1598 -case $ac_abs_builddir in
1599 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1601 - case ${ac_top_builddir}. in
1602 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1603 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1604 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1607 -case $ac_abs_builddir in
1608 -.) ac_abs_srcdir=$ac_srcdir;;
1610 - case $ac_srcdir in
1611 - .) ac_abs_srcdir=$ac_abs_builddir;;
1612 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1613 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1616 -case $ac_abs_builddir in
1617 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1619 - case $ac_top_srcdir in
1620 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1621 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1622 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1627 - # Check for guested configure; otherwise get Cygnus style configure.
1628 - if test -f $ac_srcdir/configure.gnu; then
1630 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1631 - elif test -f $ac_srcdir/configure; then
1633 - $SHELL $ac_srcdir/configure --help=recursive
1634 - elif test -f $ac_srcdir/configure.ac ||
1635 - test -f $ac_srcdir/configure.in; then
1637 - $ac_configure --help
1638 + ac_top_srcdir=$srcdir
1639 + ac_abs_top_srcdir=$srcdir ;;
1640 + *) # Relative name.
1641 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1643 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647 + cd "$ac_dir" || { ac_status=$?; continue; }
1648 + # Check for guested configure.
1649 + if test -f "$ac_srcdir/configure.gnu"; then
1651 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652 + elif test -f "$ac_srcdir/configure"; then
1654 + $SHELL "$ac_srcdir/configure" --help=recursive
1656 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1659 + fi || ac_status=$?
1660 + cd "$ac_pwd" || { ac_status=$?; break; }
1664 -test -n "$ac_init_help" && exit 0
1665 +test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1669 +generated by GNU Autoconf 2.61
1671 -Copyright (C) 2003 Free Software Foundation, Inc.
1672 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1673 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1682 +cat >config.log <<_ACEOF
1683 This file contains any messages produced by compilers while
1684 running configure, to aid debugging if configure makes a mistake.
1686 It was created by $as_me, which was
1687 -generated by GNU Autoconf 2.59. Invocation command line was
1688 +generated by GNU Autoconf 2.61. Invocation command line was
1697 @@ -1018,7 +1487,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
1698 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1699 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1700 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1701 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1702 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1703 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1704 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1705 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1706 @@ -1032,6 +1501,7 @@ do
1707 test -z "$as_dir" && as_dir=.
1708 echo "PATH: $as_dir"
1714 @@ -1053,7 +1523,6 @@ _ACEOF
1719 ac_must_keep_next=false
1722 @@ -1064,7 +1533,7 @@ do
1723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1724 | -silent | --silent | --silen | --sile | --sil)
1726 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1728 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1731 @@ -1086,9 +1555,7 @@ do
1732 -* ) ac_must_keep_next=true ;;
1735 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1736 - # Get rid of the leading space.
1738 + ac_configure_args="$ac_configure_args '$ac_arg'"
1742 @@ -1099,8 +1566,8 @@ $as_unset ac_configure_args1 || test "${
1743 # When interrupted or exit'd, cleanup temporary files, and complete
1744 # config.log. We remove comments because anyway the quotes in there
1745 # would cause problems or look ugly.
1746 -# WARNING: Be sure not to use single quotes in there, as some shells,
1747 -# such as our DU 5.0 friend, will then `close' the trap.
1748 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1749 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1750 trap 'exit_status=$?
1751 # Save into config.log some information that might help in debugging.
1753 @@ -1113,20 +1580,34 @@ trap 'exit_status=$?
1756 # The following way of writing the cache mishandles newlines in values,
1759 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1760 + eval ac_val=\$$ac_var
1761 + case $ac_val in #(
1763 + case $ac_var in #(
1764 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1765 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1767 + case $ac_var in #(
1768 + _ | IFS | as_nl) ;; #(
1769 + *) $as_unset $ac_var ;;
1774 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1776 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1777 + *${as_nl}ac_space=\ *)
1779 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1780 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1782 + "s/'\''/'\''\\\\'\'''\''/g;
1783 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1787 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1788 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1798 @@ -1137,22 +1618,28 @@ _ASBOX
1800 for ac_var in $ac_subst_vars
1802 - eval ac_val=$`echo $ac_var`
1803 - echo "$ac_var='"'"'$ac_val'"'"'"
1804 + eval ac_val=\$$ac_var
1806 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1808 + echo "$ac_var='\''$ac_val'\''"
1812 if test -n "$ac_subst_files"; then
1814 -## ------------- ##
1815 -## Output files. ##
1816 -## ------------- ##
1817 +## ------------------- ##
1818 +## File substitutions. ##
1819 +## ------------------- ##
1822 for ac_var in $ac_subst_files
1824 - eval ac_val=$`echo $ac_var`
1825 - echo "$ac_var='"'"'$ac_val'"'"'"
1826 + eval ac_val=\$$ac_var
1828 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830 + echo "$ac_var='\''$ac_val'\''"
1834 @@ -1164,26 +1651,24 @@ _ASBOX
1838 - sed "/^$/d" confdefs.h | sort
1842 test "$ac_signal" != 0 &&
1843 echo "$as_me: caught signal $ac_signal"
1844 echo "$as_me: exit $exit_status"
1846 - rm -f core *.core &&
1847 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1848 + rm -f core *.core core.conftest.* &&
1849 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1853 for ac_signal in 1 2 13 15; do
1854 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1858 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1859 -rm -rf conftest* confdefs.h
1860 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1862 +rm -f -r conftest* confdefs.h
1864 # Predefined preprocessor variables.
1866 @@ -1214,14 +1699,17 @@ _ACEOF
1868 # Let the site file select an alternate cache file if it wants to.
1869 # Prefer explicitly selected file to automatically selected ones.
1870 -if test -z "$CONFIG_SITE"; then
1871 - if test "x$prefix" != xNONE; then
1872 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1874 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1876 +if test -n "$CONFIG_SITE"; then
1877 + set x "$CONFIG_SITE"
1878 +elif test "x$prefix" != xNONE; then
1879 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1881 + set x "$ac_default_prefix/share/config.site" \
1882 + "$ac_default_prefix/etc/config.site"
1884 -for ac_site_file in $CONFIG_SITE; do
1888 if test -r "$ac_site_file"; then
1889 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1890 echo "$as_me: loading site script $ac_site_file" >&6;}
1891 @@ -1237,8 +1725,8 @@ if test -r "$cache_file"; then
1892 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1893 echo "$as_me: loading cache $cache_file" >&6;}
1895 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1896 - *) . ./$cache_file;;
1897 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1898 + *) . "./$cache_file";;
1902 @@ -1250,12 +1738,11 @@ fi
1903 # Check that the precious variables saved in the cache have kept the same
1905 ac_cache_corrupted=false
1906 -for ac_var in `(set) 2>&1 |
1907 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1908 +for ac_var in $ac_precious_vars; do
1909 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1910 eval ac_new_set=\$ac_env_${ac_var}_set
1911 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1912 - eval ac_new_val="\$ac_env_${ac_var}_value"
1913 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1914 + eval ac_new_val=\$ac_env_${ac_var}_value
1915 case $ac_old_set,$ac_new_set in
1917 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1918 @@ -1280,8 +1767,7 @@ echo "$as_me: current value: $ac_new_v
1919 # Pass precious variables to config.status.
1920 if test "$ac_new_set" = set; then
1922 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1923 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1924 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1925 *) ac_arg=$ac_var=$ac_new_val ;;
1927 case " $ac_configure_args " in
1928 @@ -1298,12 +1784,6 @@ echo "$as_me: error: run \`make distclea
1929 { (exit 1); exit 1; }; }
1933 -ac_cpp='$CPP $CPPFLAGS'
1934 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1935 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1936 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1941 @@ -1320,109 +1800,164 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1946 +ac_cpp='$CPP $CPPFLAGS'
1947 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1948 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1949 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1955 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1956 - if test -f $ac_dir/install-sh; then
1957 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1958 + if test -f "$ac_dir/install-sh"; then
1960 ac_install_sh="$ac_aux_dir/install-sh -c"
1962 - elif test -f $ac_dir/install.sh; then
1963 + elif test -f "$ac_dir/install.sh"; then
1965 ac_install_sh="$ac_aux_dir/install.sh -c"
1967 - elif test -f $ac_dir/shtool; then
1968 + elif test -f "$ac_dir/shtool"; then
1970 ac_install_sh="$ac_aux_dir/shtool install -c"
1974 if test -z "$ac_aux_dir"; then
1975 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1976 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1977 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1978 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1979 { (exit 1); exit 1; }; }
1981 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1982 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1983 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1985 +# These three variables are undocumented and unsupported,
1986 +# and are intended to be withdrawn in a future Autoconf release.
1987 +# They can cause serious problems if a builder's source tree is in a directory
1988 +# whose full name contains unusual characters.
1989 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1990 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1991 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1994 # Make sure we can run config.sub.
1995 -$ac_config_sub sun4 >/dev/null 2>&1 ||
1996 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1997 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1998 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1999 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2000 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2001 { (exit 1); exit 1; }; }
2003 -echo "$as_me:$LINENO: checking build system type" >&5
2004 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
2005 +{ echo "$as_me:$LINENO: checking build system type" >&5
2006 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2007 if test "${ac_cv_build+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 - ac_cv_build_alias=$build_alias
2011 -test -z "$ac_cv_build_alias" &&
2012 - ac_cv_build_alias=`$ac_config_guess`
2013 -test -z "$ac_cv_build_alias" &&
2014 + ac_build_alias=$build_alias
2015 +test "x$ac_build_alias" = x &&
2016 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2017 +test "x$ac_build_alias" = x &&
2018 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2019 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2020 { (exit 1); exit 1; }; }
2021 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2022 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2023 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2024 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2025 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2026 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2027 { (exit 1); exit 1; }; }
2030 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2031 -echo "${ECHO_T}$ac_cv_build" >&6
2032 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2033 +echo "${ECHO_T}$ac_cv_build" >&6; }
2034 +case $ac_cv_build in
2036 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2037 +echo "$as_me: error: invalid value of canonical build" >&2;}
2038 + { (exit 1); exit 1; }; };;
2041 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2042 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2043 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2044 +ac_save_IFS=$IFS; IFS='-'
2050 +# Remember, the first character of IFS is used to create $*,
2051 +# except with old shells:
2054 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2057 -echo "$as_me:$LINENO: checking host system type" >&5
2058 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
2059 +{ echo "$as_me:$LINENO: checking host system type" >&5
2060 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2061 if test "${ac_cv_host+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 - ac_cv_host_alias=$host_alias
2065 -test -z "$ac_cv_host_alias" &&
2066 - ac_cv_host_alias=$ac_cv_build_alias
2067 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2068 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2069 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2070 + if test "x$host_alias" = x; then
2071 + ac_cv_host=$ac_cv_build
2073 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2074 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2075 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2076 { (exit 1); exit 1; }; }
2080 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2081 -echo "${ECHO_T}$ac_cv_host" >&6
2082 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2083 +echo "${ECHO_T}$ac_cv_host" >&6; }
2084 +case $ac_cv_host in
2086 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2087 +echo "$as_me: error: invalid value of canonical host" >&2;}
2088 + { (exit 1); exit 1; }; };;
2091 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2092 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2093 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2094 +ac_save_IFS=$IFS; IFS='-'
2100 +# Remember, the first character of IFS is used to create $*,
2101 +# except with old shells:
2104 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2107 -echo "$as_me:$LINENO: checking target system type" >&5
2108 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
2109 +{ echo "$as_me:$LINENO: checking target system type" >&5
2110 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2111 if test "${ac_cv_target+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 - ac_cv_target_alias=$target_alias
2115 -test "x$ac_cv_target_alias" = "x" &&
2116 - ac_cv_target_alias=$ac_cv_host_alias
2117 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2118 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2119 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2120 + if test "x$target_alias" = x; then
2121 + ac_cv_target=$ac_cv_host
2123 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2124 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2125 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2126 { (exit 1); exit 1; }; }
2130 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2131 -echo "${ECHO_T}$ac_cv_target" >&6
2132 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2133 +echo "${ECHO_T}$ac_cv_target" >&6; }
2134 +case $ac_cv_target in
2136 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2137 +echo "$as_me: error: invalid value of canonical target" >&2;}
2138 + { (exit 1); exit 1; }; };;
2140 target=$ac_cv_target
2141 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2142 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2143 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2144 +ac_save_IFS=$IFS; IFS='-'
2145 +set x $ac_cv_target
2150 +# Remember, the first character of IFS is used to create $*,
2151 +# except with old shells:
2154 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2157 # The aliases save the names the user supplied, while $host etc.
2158 @@ -1439,8 +1974,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2159 if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2161 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2162 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2163 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2165 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 @@ -1453,32 +1988,34 @@ do
2171 test -z "$as_dir" && as_dir=.
2172 for ac_exec_ext in '' $ac_executable_extensions; do
2173 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2174 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2175 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 if test -n "$CC"; then
2187 - echo "$as_me:$LINENO: result: $CC" >&5
2188 -echo "${ECHO_T}$CC" >&6
2189 + { echo "$as_me:$LINENO: result: $CC" >&5
2190 +echo "${ECHO_T}$CC" >&6; }
2192 - echo "$as_me:$LINENO: result: no" >&5
2193 -echo "${ECHO_T}no" >&6
2194 + { echo "$as_me:$LINENO: result: no" >&5
2195 +echo "${ECHO_T}no" >&6; }
2200 if test -z "$ac_cv_prog_CC"; then
2202 # Extract the first word of "gcc", so it can be a program name with args.
2203 set dummy gcc; ac_word=$2
2204 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2206 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2207 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 @@ -1491,36 +2028,51 @@ do
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2217 ac_cv_prog_ac_ct_CC="gcc"
2218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2227 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2228 if test -n "$ac_ct_CC"; then
2229 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2230 -echo "${ECHO_T}$ac_ct_CC" >&6
2231 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2232 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2234 - echo "$as_me:$LINENO: result: no" >&5
2235 -echo "${ECHO_T}no" >&6
2236 + { echo "$as_me:$LINENO: result: no" >&5
2237 +echo "${ECHO_T}no" >&6; }
2241 + if test "x$ac_ct_CC" = x; then
2244 + case $cross_compiling:$ac_tool_warned in
2246 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2247 +whose name does not start with the host triplet. If you think this
2248 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2249 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2250 +whose name does not start with the host triplet. If you think this
2251 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2252 +ac_tool_warned=yes ;;
2260 if test -z "$CC"; then
2261 - if test -n "$ac_tool_prefix"; then
2262 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2263 + if test -n "$ac_tool_prefix"; then
2264 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2265 set dummy ${ac_tool_prefix}cc; ac_word=$2
2266 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2267 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2268 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2269 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2270 if test "${ac_cv_prog_CC+set}" = set; then
2271 echo $ECHO_N "(cached) $ECHO_C" >&6
2273 @@ -1533,74 +2085,34 @@ do
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2278 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC="${ac_tool_prefix}cc"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 - echo "$as_me:$LINENO: result: $CC" >&5
2292 -echo "${ECHO_T}$CC" >&6
2294 - echo "$as_me:$LINENO: result: no" >&5
2295 -echo "${ECHO_T}no" >&6
2299 -if test -z "$ac_cv_prog_CC"; then
2301 - # Extract the first word of "cc", so it can be a program name with args.
2302 -set dummy cc; ac_word=$2
2303 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2304 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2305 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2306 - echo $ECHO_N "(cached) $ECHO_C" >&6
2308 - if test -n "$ac_ct_CC"; then
2309 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2311 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2312 -for as_dir in $PATH
2315 - test -z "$as_dir" && as_dir=.
2316 - for ac_exec_ext in '' $ac_executable_extensions; do
2317 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 - ac_cv_prog_ac_ct_CC="cc"
2319 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2328 -if test -n "$ac_ct_CC"; then
2329 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2330 -echo "${ECHO_T}$ac_ct_CC" >&6
2331 + { echo "$as_me:$LINENO: result: $CC" >&5
2332 +echo "${ECHO_T}$CC" >&6; }
2334 - echo "$as_me:$LINENO: result: no" >&5
2335 -echo "${ECHO_T}no" >&6
2336 + { echo "$as_me:$LINENO: result: no" >&5
2337 +echo "${ECHO_T}no" >&6; }
2342 - CC="$ac_cv_prog_CC"
2347 if test -z "$CC"; then
2348 # Extract the first word of "cc", so it can be a program name with args.
2349 set dummy cc; ac_word=$2
2350 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2352 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2354 if test "${ac_cv_prog_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 @@ -1614,7 +2126,7 @@ do
2359 test -z "$as_dir" && as_dir=.
2360 for ac_exec_ext in '' $ac_executable_extensions; do
2361 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2362 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2363 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2364 ac_prog_rejected=yes
2366 @@ -1625,6 +2137,7 @@ do
2372 if test $ac_prog_rejected = yes; then
2373 # We found a bogon in the path, so make sure we never use it.
2374 @@ -1642,22 +2155,23 @@ fi
2377 if test -n "$CC"; then
2378 - echo "$as_me:$LINENO: result: $CC" >&5
2379 -echo "${ECHO_T}$CC" >&6
2380 + { echo "$as_me:$LINENO: result: $CC" >&5
2381 +echo "${ECHO_T}$CC" >&6; }
2383 - echo "$as_me:$LINENO: result: no" >&5
2384 -echo "${ECHO_T}no" >&6
2385 + { echo "$as_me:$LINENO: result: no" >&5
2386 +echo "${ECHO_T}no" >&6; }
2391 if test -z "$CC"; then
2392 if test -n "$ac_tool_prefix"; then
2394 + for ac_prog in cl.exe
2396 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2398 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2399 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2400 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2402 if test "${ac_cv_prog_CC+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 @@ -1670,36 +2184,38 @@ do
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2411 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CC"; then
2423 - echo "$as_me:$LINENO: result: $CC" >&5
2424 -echo "${ECHO_T}$CC" >&6
2425 + { echo "$as_me:$LINENO: result: $CC" >&5
2426 +echo "${ECHO_T}$CC" >&6; }
2428 - echo "$as_me:$LINENO: result: no" >&5
2429 -echo "${ECHO_T}no" >&6
2430 + { echo "$as_me:$LINENO: result: no" >&5
2431 +echo "${ECHO_T}no" >&6; }
2435 test -n "$CC" && break
2438 if test -z "$CC"; then
2441 + for ac_prog in cl.exe
2443 # Extract the first word of "$ac_prog", so it can be a program name with args.
2444 set dummy $ac_prog; ac_word=$2
2445 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2447 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2448 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2449 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2450 echo $ECHO_N "(cached) $ECHO_C" >&6
2452 @@ -1712,29 +2228,45 @@ do
2454 test -z "$as_dir" && as_dir=.
2455 for ac_exec_ext in '' $ac_executable_extensions; do
2456 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2457 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2458 ac_cv_prog_ac_ct_CC="$ac_prog"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2468 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2469 if test -n "$ac_ct_CC"; then
2470 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2471 -echo "${ECHO_T}$ac_ct_CC" >&6
2472 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2473 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2475 - echo "$as_me:$LINENO: result: no" >&5
2476 -echo "${ECHO_T}no" >&6
2477 + { echo "$as_me:$LINENO: result: no" >&5
2478 +echo "${ECHO_T}no" >&6; }
2482 test -n "$ac_ct_CC" && break
2486 + if test "x$ac_ct_CC" = x; then
2489 + case $cross_compiling:$ac_tool_warned in
2491 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2492 +whose name does not start with the host triplet. If you think this
2493 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2494 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2495 +whose name does not start with the host triplet. If you think this
2496 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2497 +ac_tool_warned=yes ;;
2504 @@ -1747,21 +2279,35 @@ See \`config.log' for more details." >&2
2505 { (exit 1); exit 1; }; }
2507 # Provide some information about the compiler.
2508 -echo "$as_me:$LINENO:" \
2509 - "checking for C compiler version" >&5
2510 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2511 ac_compiler=`set X $ac_compile; echo $2`
2512 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2513 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2514 +{ (ac_try="$ac_compiler --version >&5"
2515 +case "(($ac_try" in
2516 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 + *) ac_try_echo=$ac_try;;
2519 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 + (eval "$ac_compiler --version >&5") 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }
2524 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2525 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2526 +{ (ac_try="$ac_compiler -v >&5"
2527 +case "(($ac_try" in
2528 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2529 + *) ac_try_echo=$ac_try;;
2531 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2532 + (eval "$ac_compiler -v >&5") 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2537 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2538 +{ (ac_try="$ac_compiler -V >&5"
2539 +case "(($ac_try" in
2540 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 + *) ac_try_echo=$ac_try;;
2543 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2544 + (eval "$ac_compiler -V >&5") 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }
2548 @@ -1786,47 +2332,77 @@ ac_clean_files="$ac_clean_files a.out a.
2549 # Try to create an executable without -o first, disregard a.out.
2550 # It will help us diagnose broken compilers, and finding out an intuition
2552 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2553 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2554 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2555 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2556 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2557 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2558 - (eval $ac_link_default) 2>&5
2560 +# List of possible output files, starting from the most likely.
2561 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2562 +# only as a last resort. b.out is created by i960 compilers.
2563 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2565 +# The IRIX 6 linker writes into existing files which may not be
2566 +# executable, retaining their permissions. Remove them first so a
2567 +# subsequent execution test works.
2569 +for ac_file in $ac_files
2572 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2573 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2578 +if { (ac_try="$ac_link_default"
2579 +case "(($ac_try" in
2580 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 + *) ac_try_echo=$ac_try;;
2583 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2584 + (eval "$ac_link_default") 2>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); }; then
2588 - # Find the output, starting from the most likely. This scheme is
2589 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2592 -# Be careful to initialize this variable, since it used to be cached.
2593 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2595 -# b.out is created by i960 compilers.
2596 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2597 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2598 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2599 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2600 +# so that the user can short-circuit this test for compilers unknown to
2602 +for ac_file in $ac_files ''
2604 test -f "$ac_file" || continue
2606 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2608 - conftest.$ac_ext )
2609 - # This is the source file.
2610 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2613 # We found the default executable, but exeext='' is most
2617 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2618 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2619 - # but it would be cool to find out if it's true. Does anybody
2620 - # maintain Libtool? --akim.
2621 - export ac_cv_exeext
2622 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2624 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2626 + # We set ac_cv_exeext here because the later test for it is not
2627 + # safe: cross compilers may not add the suffix if given an `-o'
2628 + # argument, so we may need to know it at that point already.
2629 + # Even if this section looks crufty: it has the advantage of
2630 + # actually working.
2636 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2642 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2643 +echo "${ECHO_T}$ac_file" >&6; }
2644 +if test -z "$ac_file"; then
2645 echo "$as_me: failed program was:" >&5
2646 sed 's/^/| /' conftest.$ac_ext >&5
2648 @@ -1838,19 +2414,21 @@ See \`config.log' for more details." >&2
2651 ac_exeext=$ac_cv_exeext
2652 -echo "$as_me:$LINENO: result: $ac_file" >&5
2653 -echo "${ECHO_T}$ac_file" >&6
2655 -# Check the compiler produces executables we can run. If not, either
2656 +# Check that the compiler produces executables we can run. If not, either
2657 # the compiler is broken, or we cross compile.
2658 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2659 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2660 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2661 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2662 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2663 # If not cross compiling, check that we can run a simple program.
2664 if test "$cross_compiling" != yes; then
2665 if { ac_try='./$ac_file'
2666 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 - (eval $ac_try) 2>&5
2668 + { (case "(($ac_try" in
2669 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 + *) ac_try_echo=$ac_try;;
2672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673 + (eval "$ac_try") 2>&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then
2677 @@ -1869,22 +2447,27 @@ See \`config.log' for more details." >&2
2681 -echo "$as_me:$LINENO: result: yes" >&5
2682 -echo "${ECHO_T}yes" >&6
2683 +{ echo "$as_me:$LINENO: result: yes" >&5
2684 +echo "${ECHO_T}yes" >&6; }
2686 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2687 ac_clean_files=$ac_clean_files_save
2688 -# Check the compiler produces executables we can run. If not, either
2689 +# Check that the compiler produces executables we can run. If not, either
2690 # the compiler is broken, or we cross compile.
2691 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2692 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2693 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2694 -echo "${ECHO_T}$cross_compiling" >&6
2696 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2697 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2698 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2699 - (eval $ac_link) 2>&5
2700 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2701 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2702 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2703 +echo "${ECHO_T}$cross_compiling" >&6; }
2705 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2706 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2707 +if { (ac_try="$ac_link"
2708 +case "(($ac_try" in
2709 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2710 + *) ac_try_echo=$ac_try;;
2712 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 + (eval "$ac_link") 2>&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; then
2717 @@ -1895,9 +2478,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
2718 for ac_file in conftest.exe conftest conftest.*; do
2719 test -f "$ac_file" || continue
2721 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2722 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2723 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2724 - export ac_cv_exeext
2728 @@ -1911,14 +2493,14 @@ See \`config.log' for more details." >&2
2731 rm -f conftest$ac_cv_exeext
2732 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2733 -echo "${ECHO_T}$ac_cv_exeext" >&6
2734 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2735 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2737 rm -f conftest.$ac_ext
2738 EXEEXT=$ac_cv_exeext
2740 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2741 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2742 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2743 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2744 if test "${ac_cv_objext+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 @@ -1938,14 +2520,20 @@ main ()
2750 rm -f conftest.o conftest.obj
2751 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2752 - (eval $ac_compile) 2>&5
2753 +if { (ac_try="$ac_compile"
2754 +case "(($ac_try" in
2755 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 + *) ac_try_echo=$ac_try;;
2758 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2759 + (eval "$ac_compile") 2>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; then
2763 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2764 + for ac_file in conftest.o conftest.obj conftest.*; do
2765 + test -f "$ac_file" || continue;
2767 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2768 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2769 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2772 @@ -1963,12 +2551,12 @@ fi
2774 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2776 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2777 -echo "${ECHO_T}$ac_cv_objext" >&6
2778 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2779 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2780 OBJEXT=$ac_cv_objext
2782 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2783 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2784 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2785 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2786 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 @@ -1991,50 +2579,49 @@ main ()
2792 rm -f conftest.$ac_objext
2793 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2794 - (eval $ac_compile) 2>conftest.er1
2795 +if { (ac_try="$ac_compile"
2796 +case "(($ac_try" in
2797 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 + *) ac_try_echo=$ac_try;;
2800 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 + (eval "$ac_compile") 2>conftest.er1
2803 grep -v '^ *+' conftest.er1 >conftest.err
2805 cat conftest.err >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 - (exit $ac_status); } &&
2808 - { ac_try='test -z "$ac_c_werror_flag"
2809 - || test ! -s conftest.err'
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); }; } &&
2815 - { ac_try='test -s conftest.$ac_objext'
2816 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2817 - (eval $ac_try) 2>&5
2819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 - (exit $ac_status); }; }; then
2821 + (exit $ac_status); } && {
2822 + test -z "$ac_c_werror_flag" ||
2823 + test ! -s conftest.err
2824 + } && test -s conftest.$ac_objext; then
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2831 + ac_compiler_gnu=no
2833 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2835 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2839 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2840 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2841 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2842 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2843 GCC=`test $ac_compiler_gnu = yes && echo yes`
2844 ac_test_CFLAGS=${CFLAGS+set}
2845 ac_save_CFLAGS=$CFLAGS
2847 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2848 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2849 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2850 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2851 if test "${ac_cv_prog_cc_g+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2854 - cat >conftest.$ac_ext <<_ACEOF
2855 + ac_save_c_werror_flag=$ac_c_werror_flag
2856 + ac_c_werror_flag=yes
2857 + ac_cv_prog_cc_g=no
2859 + cat >conftest.$ac_ext <<_ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 @@ -2050,38 +2637,118 @@ main ()
2866 rm -f conftest.$ac_objext
2867 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 - (eval $ac_compile) 2>conftest.er1
2869 +if { (ac_try="$ac_compile"
2870 +case "(($ac_try" in
2871 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2872 + *) ac_try_echo=$ac_try;;
2874 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2875 + (eval "$ac_compile") 2>conftest.er1
2877 grep -v '^ *+' conftest.er1 >conftest.err
2879 cat conftest.err >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 - (exit $ac_status); } &&
2882 - { ac_try='test -z "$ac_c_werror_flag"
2883 - || test ! -s conftest.err'
2884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2885 - (eval $ac_try) 2>&5
2886 + (exit $ac_status); } && {
2887 + test -z "$ac_c_werror_flag" ||
2888 + test ! -s conftest.err
2889 + } && test -s conftest.$ac_objext; then
2890 + ac_cv_prog_cc_g=yes
2892 + echo "$as_me: failed program was:" >&5
2893 +sed 's/^/| /' conftest.$ac_ext >&5
2896 + cat >conftest.$ac_ext <<_ACEOF
2899 +cat confdefs.h >>conftest.$ac_ext
2900 +cat >>conftest.$ac_ext <<_ACEOF
2901 +/* end confdefs.h. */
2911 +rm -f conftest.$ac_objext
2912 +if { (ac_try="$ac_compile"
2913 +case "(($ac_try" in
2914 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 + *) ac_try_echo=$ac_try;;
2917 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 + (eval "$ac_compile") 2>conftest.er1
2920 + grep -v '^ *+' conftest.er1 >conftest.err
2921 + rm -f conftest.er1
2922 + cat conftest.err >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 - (exit $ac_status); }; } &&
2925 - { ac_try='test -s conftest.$ac_objext'
2926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 - (eval $ac_try) 2>&5
2928 + (exit $ac_status); } && {
2929 + test -z "$ac_c_werror_flag" ||
2930 + test ! -s conftest.err
2931 + } && test -s conftest.$ac_objext; then
2934 + echo "$as_me: failed program was:" >&5
2935 +sed 's/^/| /' conftest.$ac_ext >&5
2937 + ac_c_werror_flag=$ac_save_c_werror_flag
2939 + cat >conftest.$ac_ext <<_ACEOF
2942 +cat confdefs.h >>conftest.$ac_ext
2943 +cat >>conftest.$ac_ext <<_ACEOF
2944 +/* end confdefs.h. */
2954 +rm -f conftest.$ac_objext
2955 +if { (ac_try="$ac_compile"
2956 +case "(($ac_try" in
2957 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 + *) ac_try_echo=$ac_try;;
2960 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961 + (eval "$ac_compile") 2>conftest.er1
2963 + grep -v '^ *+' conftest.er1 >conftest.err
2964 + rm -f conftest.er1
2965 + cat conftest.err >&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 - (exit $ac_status); }; }; then
2968 + (exit $ac_status); } && {
2969 + test -z "$ac_c_werror_flag" ||
2970 + test ! -s conftest.err
2971 + } && test -s conftest.$ac_objext; then
2974 echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2980 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2982 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 + ac_c_werror_flag=$ac_save_c_werror_flag
2991 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2992 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2993 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2994 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2995 if test "$ac_test_CFLAGS" = set; then
2996 CFLAGS=$ac_save_CFLAGS
2997 elif test $ac_cv_prog_cc_g = yes; then
2998 @@ -2097,12 +2764,12 @@ else
3002 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3003 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3004 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
3005 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3006 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3007 +if test "${ac_cv_prog_cc_c89+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 - ac_cv_prog_cc_stdc=no
3011 + ac_cv_prog_cc_c89=no
3013 cat >conftest.$ac_ext <<_ACEOF
3015 @@ -2136,12 +2803,17 @@ static char *f (char * (*g) (char **, in
3016 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3017 function prototypes and stuff, but not '\xHH' hex character constants.
3018 These don't provoke an error unfortunately, instead are silently treated
3019 - as 'x'. The following induces an error, until -std1 is added to get
3020 + as 'x'. The following induces an error, until -std is added to get
3021 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3022 array size at least. It's necessary to write '\x00'==0 to get something
3023 - that's true only with -std1. */
3024 + that's true only with -std. */
3025 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3027 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3028 + inside strings and character constants. */
3030 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 @@ -2156,335 +2828,144 @@ return f (e, argv, 0) != argv[0] || f
3039 -# Don't try gcc -ansi; that turns off useful extensions and
3040 -# breaks some systems' header files.
3041 -# AIX -qlanglvl=ansi
3042 -# Ultrix and OSF/1 -std1
3043 -# HP-UX 10.20 and later -Ae
3044 -# HP-UX older versions -Aa -D_HPUX_SOURCE
3045 -# SVR4 -Xc -D__EXTENSIONS__
3046 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3047 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3048 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3050 CC="$ac_save_CC $ac_arg"
3051 rm -f conftest.$ac_objext
3052 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3053 - (eval $ac_compile) 2>conftest.er1
3054 +if { (ac_try="$ac_compile"
3055 +case "(($ac_try" in
3056 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 + *) ac_try_echo=$ac_try;;
3059 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 + (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 - (exit $ac_status); } &&
3067 - { ac_try='test -z "$ac_c_werror_flag"
3068 - || test ! -s conftest.err'
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); }; } &&
3074 - { ac_try='test -s conftest.$ac_objext'
3075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 - (eval $ac_try) 2>&5
3078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 - (exit $ac_status); }; }; then
3080 - ac_cv_prog_cc_stdc=$ac_arg
3082 + (exit $ac_status); } && {
3083 + test -z "$ac_c_werror_flag" ||
3084 + test ! -s conftest.err
3085 + } && test -s conftest.$ac_objext; then
3086 + ac_cv_prog_cc_c89=$ac_arg
3088 echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3093 -rm -f conftest.err conftest.$ac_objext
3095 +rm -f core conftest.err conftest.$ac_objext
3096 + test "x$ac_cv_prog_cc_c89" != "xno" && break
3098 -rm -f conftest.$ac_ext conftest.$ac_objext
3099 +rm -f conftest.$ac_ext
3104 -case "x$ac_cv_prog_cc_stdc" in
3106 - echo "$as_me:$LINENO: result: none needed" >&5
3107 -echo "${ECHO_T}none needed" >&6 ;;
3109 +case "x$ac_cv_prog_cc_c89" in
3111 + { echo "$as_me:$LINENO: result: none needed" >&5
3112 +echo "${ECHO_T}none needed" >&6; } ;;
3114 + { echo "$as_me:$LINENO: result: unsupported" >&5
3115 +echo "${ECHO_T}unsupported" >&6; } ;;
3117 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3118 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3119 - CC="$CC $ac_cv_prog_cc_stdc" ;;
3120 + CC="$CC $ac_cv_prog_cc_c89"
3121 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3122 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3125 -# Some people use a C++ compiler to compile C. Since we use `exit',
3126 -# in C++ we need to declare it. In case someone uses the same compiler
3127 -# for both compiling C and C++ we need to have the C++ compiler decide
3128 -# the declaration of exit, since it's the most demanding environment.
3131 +ac_cpp='$CPP $CPPFLAGS'
3132 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3133 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3134 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3137 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3138 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3139 +if test "${ac_cv_search_strerror+set}" = set; then
3140 + echo $ECHO_N "(cached) $ECHO_C" >&6
3142 + ac_func_search_save_LIBS=$LIBS
3143 cat >conftest.$ac_ext <<_ACEOF
3144 -#ifndef __cplusplus
3148 -rm -f conftest.$ac_objext
3149 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 - (eval $ac_compile) 2>conftest.er1
3152 - grep -v '^ *+' conftest.er1 >conftest.err
3153 - rm -f conftest.er1
3154 - cat conftest.err >&5
3155 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 - (exit $ac_status); } &&
3157 - { ac_try='test -z "$ac_c_werror_flag"
3158 - || test ! -s conftest.err'
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); }; } &&
3164 - { ac_try='test -s conftest.$ac_objext'
3165 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 - (eval $ac_try) 2>&5
3168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 - (exit $ac_status); }; }; then
3170 - for ac_declaration in \
3172 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3173 - 'extern "C" void std::exit (int); using std::exit;' \
3174 - 'extern "C" void exit (int) throw ();' \
3175 - 'extern "C" void exit (int);' \
3176 - 'void exit (int);'
3178 - cat >conftest.$ac_ext <<_ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h. */
3185 -#include <stdlib.h>
3187 +/* Override any GCC internal prototype to avoid an error.
3188 + Use char because int might match the return type of a GCC
3189 + builtin and then its argument prototype would still apply. */
3198 +return strerror ();
3203 -rm -f conftest.$ac_objext
3204 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3205 - (eval $ac_compile) 2>conftest.er1
3206 +for ac_lib in '' cposix; do
3207 + if test -z "$ac_lib"; then
3208 + ac_res="none required"
3211 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3213 + rm -f conftest.$ac_objext conftest$ac_exeext
3214 +if { (ac_try="$ac_link"
3215 +case "(($ac_try" in
3216 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217 + *) ac_try_echo=$ac_try;;
3219 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220 + (eval "$ac_link") 2>conftest.er1
3222 grep -v '^ *+' conftest.er1 >conftest.err
3224 cat conftest.err >&5
3225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226 - (exit $ac_status); } &&
3227 - { ac_try='test -z "$ac_c_werror_flag"
3228 - || test ! -s conftest.err'
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); }; } &&
3234 - { ac_try='test -s conftest.$ac_objext'
3235 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 - (eval $ac_try) 2>&5
3238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 - (exit $ac_status); }; }; then
3241 + (exit $ac_status); } && {
3242 + test -z "$ac_c_werror_flag" ||
3243 + test ! -s conftest.err
3244 + } && test -s conftest$ac_exeext &&
3245 + $as_test_x conftest$ac_exeext; then
3246 + ac_cv_search_strerror=$ac_res
3248 echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3253 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3254 - cat >conftest.$ac_ext <<_ACEOF
3257 -cat confdefs.h >>conftest.$ac_ext
3258 -cat >>conftest.$ac_ext <<_ACEOF
3259 -/* end confdefs.h. */
3269 -rm -f conftest.$ac_objext
3270 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3271 - (eval $ac_compile) 2>conftest.er1
3273 - grep -v '^ *+' conftest.er1 >conftest.err
3274 - rm -f conftest.er1
3275 - cat conftest.err >&5
3276 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 - (exit $ac_status); } &&
3278 - { ac_try='test -z "$ac_c_werror_flag"
3279 - || test ! -s conftest.err'
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); }; } &&
3285 - { ac_try='test -s conftest.$ac_objext'
3286 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 - (eval $ac_try) 2>&5
3289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 - (exit $ac_status); }; }; then
3293 - echo "$as_me: failed program was:" >&5
3294 -sed 's/^/| /' conftest.$ac_ext >&5
3297 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3300 -if test -n "$ac_declaration"; then
3301 - echo '#ifdef __cplusplus' >>confdefs.h
3302 - echo $ac_declaration >>confdefs.h
3303 - echo '#endif' >>confdefs.h
3307 - echo "$as_me: failed program was:" >&5
3308 -sed 's/^/| /' conftest.$ac_ext >&5
3310 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3311 + conftest$ac_exeext
3312 + if test "${ac_cv_search_strerror+set}" = set; then
3315 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3317 -ac_cpp='$CPP $CPPFLAGS'
3318 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
3323 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
3324 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3326 if test "${ac_cv_search_strerror+set}" = set; then
3327 - echo $ECHO_N "(cached) $ECHO_C" >&6
3329 - ac_func_search_save_LIBS=$LIBS
3330 -ac_cv_search_strerror=no
3331 -cat >conftest.$ac_ext <<_ACEOF
3334 -cat confdefs.h >>conftest.$ac_ext
3335 -cat >>conftest.$ac_ext <<_ACEOF
3336 -/* end confdefs.h. */
3338 -/* Override any gcc2 internal prototype to avoid an error. */
3342 -/* We use char because int might match the return type of a gcc2
3343 - builtin and then its argument prototype would still apply. */
3353 -rm -f conftest.$ac_objext conftest$ac_exeext
3354 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3355 - (eval $ac_link) 2>conftest.er1
3357 - grep -v '^ *+' conftest.er1 >conftest.err
3358 - rm -f conftest.er1
3359 - cat conftest.err >&5
3360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 - (exit $ac_status); } &&
3362 - { ac_try='test -z "$ac_c_werror_flag"
3363 - || test ! -s conftest.err'
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); }; } &&
3369 - { ac_try='test -s conftest$ac_exeext'
3370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3371 - (eval $ac_try) 2>&5
3373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 - (exit $ac_status); }; }; then
3375 - ac_cv_search_strerror="none required"
3377 - echo "$as_me: failed program was:" >&5
3378 -sed 's/^/| /' conftest.$ac_ext >&5
3381 -rm -f conftest.err conftest.$ac_objext \
3382 - conftest$ac_exeext conftest.$ac_ext
3383 -if test "$ac_cv_search_strerror" = no; then
3384 - for ac_lib in cposix; do
3385 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3386 - cat >conftest.$ac_ext <<_ACEOF
3389 -cat confdefs.h >>conftest.$ac_ext
3390 -cat >>conftest.$ac_ext <<_ACEOF
3391 -/* end confdefs.h. */
3393 -/* Override any gcc2 internal prototype to avoid an error. */
3397 -/* We use char because int might match the return type of a gcc2
3398 - builtin and then its argument prototype would still apply. */
3408 -rm -f conftest.$ac_objext conftest$ac_exeext
3409 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3410 - (eval $ac_link) 2>conftest.er1
3412 - grep -v '^ *+' conftest.er1 >conftest.err
3413 - rm -f conftest.er1
3414 - cat conftest.err >&5
3415 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 - (exit $ac_status); } &&
3417 - { ac_try='test -z "$ac_c_werror_flag"
3418 - || test ! -s conftest.err'
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); }; } &&
3424 - { ac_try='test -s conftest$ac_exeext'
3425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3426 - (eval $ac_try) 2>&5
3428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 - (exit $ac_status); }; }; then
3430 - ac_cv_search_strerror="-l$ac_lib"
3434 - echo "$as_me: failed program was:" >&5
3435 -sed 's/^/| /' conftest.$ac_ext >&5
3438 -rm -f conftest.err conftest.$ac_objext \
3439 - conftest$ac_exeext conftest.$ac_ext
3441 + ac_cv_search_strerror=no
3443 +rm conftest.$ac_ext
3444 LIBS=$ac_func_search_save_LIBS
3446 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3447 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
3448 -if test "$ac_cv_search_strerror" != no; then
3449 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3450 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3451 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3452 +ac_res=$ac_cv_search_strerror
3453 +if test "$ac_res" != no; then
3454 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3458 @@ -2503,8 +2984,8 @@ am__api_version="1.9"
3459 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3460 # OS/2's system install, which has a completely different semantic
3461 # ./install, which can be erroneously created by make from ./install.sh.
3462 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3463 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3464 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3465 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3466 if test -z "$INSTALL"; then
3467 if test "${ac_cv_path_install+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 @@ -2526,7 +3007,7 @@ case $as_dir/ in
3471 for ac_prog in ginstall scoinst install; do
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3474 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3475 if test $ac_prog = install &&
3476 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3477 # AIX install. It has an incompatible calling convention.
3478 @@ -2545,21 +3026,22 @@ case $as_dir/ in
3486 if test "${ac_cv_path_install+set}" = set; then
3487 INSTALL=$ac_cv_path_install
3489 - # As a last resort, use the slow shell script. We don't cache a
3490 - # path for INSTALL within a source directory, because that will
3491 + # As a last resort, use the slow shell script. Don't cache a
3492 + # value for INSTALL within a source directory, because that will
3493 # break other packages using the cache if that directory is
3494 - # removed, or if the path is relative.
3495 + # removed, or if the value is a relative name.
3496 INSTALL=$ac_install_sh
3499 -echo "$as_me:$LINENO: result: $INSTALL" >&5
3500 -echo "${ECHO_T}$INSTALL" >&6
3501 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3502 +echo "${ECHO_T}$INSTALL" >&6; }
3504 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3505 # It thinks the first close brace ends the variable substitution.
3506 @@ -2569,8 +3051,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
3508 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3510 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3511 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
3512 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
3513 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
3516 echo timestamp > conftest.file
3517 @@ -2612,20 +3094,20 @@ echo "$as_me: error: newly created file
3518 Check your system clock" >&2;}
3519 { (exit 1); exit 1; }; }
3521 -echo "$as_me:$LINENO: result: yes" >&5
3522 -echo "${ECHO_T}yes" >&6
3523 +{ echo "$as_me:$LINENO: result: yes" >&5
3524 +echo "${ECHO_T}yes" >&6; }
3525 test "$program_prefix" != NONE &&
3526 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
3527 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
3528 # Use a double $ so make ignores it.
3529 test "$program_suffix" != NONE &&
3530 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
3531 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3532 # Double any \ or $. echo might interpret backslashes.
3533 # By default was `s,x,x', remove it if useless.
3534 cat <<\_ACEOF >conftest.sed
3535 s/[\\$]/&&/g;s/;s,x,x,$//
3537 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
3541 # expand $ac_aux_dir to an absolute path
3542 am_aux_dir=`cd $ac_aux_dir && pwd`
3543 @@ -2677,8 +3159,8 @@ for ac_prog in gawk mawk nawk awk
3545 # Extract the first word of "$ac_prog", so it can be a program name with args.
3546 set dummy $ac_prog; ac_word=$2
3547 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3548 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3549 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3550 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3551 if test "${ac_cv_prog_AWK+set}" = set; then
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 @@ -2691,54 +3173,57 @@ do
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3560 ac_cv_prog_AWK="$ac_prog"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 if test -n "$AWK"; then
3572 - echo "$as_me:$LINENO: result: $AWK" >&5
3573 -echo "${ECHO_T}$AWK" >&6
3574 + { echo "$as_me:$LINENO: result: $AWK" >&5
3575 +echo "${ECHO_T}$AWK" >&6; }
3577 - echo "$as_me:$LINENO: result: no" >&5
3578 -echo "${ECHO_T}no" >&6
3579 + { echo "$as_me:$LINENO: result: no" >&5
3580 +echo "${ECHO_T}no" >&6; }
3584 test -n "$AWK" && break
3587 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3588 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3589 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3590 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3591 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3592 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3593 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3594 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 cat >conftest.make <<\_ACEOF
3600 - @echo 'ac_maketemp="$(MAKE)"'
3601 + @echo '@@@%%%=$(MAKE)=@@@%%%'
3603 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3604 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3605 -if test -n "$ac_maketemp"; then
3606 - eval ac_cv_prog_make_${ac_make}_set=yes
3608 - eval ac_cv_prog_make_${ac_make}_set=no
3610 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
3611 + *@@@%%%=?*=@@@%%%*)
3612 + eval ac_cv_prog_make_${ac_make}_set=yes;;
3614 + eval ac_cv_prog_make_${ac_make}_set=no;;
3618 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3619 - echo "$as_me:$LINENO: result: yes" >&5
3620 -echo "${ECHO_T}yes" >&6
3621 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3622 + { echo "$as_me:$LINENO: result: yes" >&5
3623 +echo "${ECHO_T}yes" >&6; }
3626 - echo "$as_me:$LINENO: result: no" >&5
3627 -echo "${ECHO_T}no" >&6
3628 + { echo "$as_me:$LINENO: result: no" >&5
3629 +echo "${ECHO_T}no" >&6; }
3630 SET_MAKE="MAKE=${MAKE-make}"
3633 @@ -2753,7 +3238,7 @@ rmdir .tst 2>/dev/null
3635 DEPDIR="${am__leading_dot}deps"
3637 - ac_config_commands="$ac_config_commands depfiles"
3638 +ac_config_commands="$ac_config_commands depfiles"
3641 am_make=${MAKE-make}
3642 @@ -2763,8 +3248,8 @@ am__doit:
3645 # If we don't find an include directive, just comment out the code.
3646 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3647 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3648 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3649 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3653 @@ -2791,15 +3276,15 @@ if test "$am__include" = "#"; then
3657 -echo "$as_me:$LINENO: result: $_am_result" >&5
3658 -echo "${ECHO_T}$_am_result" >&6
3659 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
3660 +echo "${ECHO_T}$_am_result" >&6; }
3661 rm -f confinc confmf
3663 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3664 +# Check whether --enable-dependency-tracking was given.
3665 if test "${enable_dependency_tracking+set}" = set; then
3666 - enableval="$enable_dependency_tracking"
3667 + enableval=$enable_dependency_tracking;
3671 if test "x$enable_dependency_tracking" != xno; then
3672 am_depcomp="$ac_aux_dir/depcomp"
3674 @@ -2874,8 +3359,8 @@ if test "$cross_compiling" != no; then
3675 if test -n "$ac_tool_prefix"; then
3676 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3677 set dummy ${ac_tool_prefix}strip; ac_word=$2
3678 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3679 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3680 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3681 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3682 if test "${ac_cv_prog_STRIP+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 @@ -2888,32 +3373,34 @@ do
3687 test -z "$as_dir" && as_dir=.
3688 for ac_exec_ext in '' $ac_executable_extensions; do
3689 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3690 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 STRIP=$ac_cv_prog_STRIP
3702 if test -n "$STRIP"; then
3703 - echo "$as_me:$LINENO: result: $STRIP" >&5
3704 -echo "${ECHO_T}$STRIP" >&6
3705 + { echo "$as_me:$LINENO: result: $STRIP" >&5
3706 +echo "${ECHO_T}$STRIP" >&6; }
3708 - echo "$as_me:$LINENO: result: no" >&5
3709 -echo "${ECHO_T}no" >&6
3710 + { echo "$as_me:$LINENO: result: no" >&5
3711 +echo "${ECHO_T}no" >&6; }
3716 if test -z "$ac_cv_prog_STRIP"; then
3718 # Extract the first word of "strip", so it can be a program name with args.
3719 set dummy strip; ac_word=$2
3720 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3721 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3722 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3723 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3724 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 @@ -2926,27 +3413,41 @@ do
3729 test -z "$as_dir" && as_dir=.
3730 for ac_exec_ext in '' $ac_executable_extensions; do
3731 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3732 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_ac_ct_STRIP="strip"
3734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3744 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3745 if test -n "$ac_ct_STRIP"; then
3746 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3747 -echo "${ECHO_T}$ac_ct_STRIP" >&6
3748 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3749 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
3751 - echo "$as_me:$LINENO: result: no" >&5
3752 -echo "${ECHO_T}no" >&6
3753 + { echo "$as_me:$LINENO: result: no" >&5
3754 +echo "${ECHO_T}no" >&6; }
3757 - STRIP=$ac_ct_STRIP
3758 + if test "x$ac_ct_STRIP" = x; then
3761 + case $cross_compiling:$ac_tool_warned in
3763 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3764 +whose name does not start with the host triplet. If you think this
3765 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3766 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3767 +whose name does not start with the host triplet. If you think this
3768 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3769 +ac_tool_warned=yes ;;
3771 + STRIP=$ac_ct_STRIP
3774 STRIP="$ac_cv_prog_STRIP"
3776 @@ -2967,8 +3468,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
3778 depcc="$CC" am_compiler_list=
3780 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3781 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3782 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3783 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3784 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3785 echo $ECHO_N "(cached) $ECHO_C" >&6
3787 @@ -3057,8 +3558,8 @@ else
3791 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3792 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3793 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3794 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3795 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3798 @@ -3079,8 +3580,8 @@ fi
3799 if test -n "$ac_tool_prefix"; then
3800 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3801 set dummy ${ac_tool_prefix}ar; ac_word=$2
3802 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3803 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3804 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3805 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3806 if test "${ac_cv_prog_AR+set}" = set; then
3807 echo $ECHO_N "(cached) $ECHO_C" >&6
3809 @@ -3093,32 +3594,34 @@ do
3811 test -z "$as_dir" && as_dir=.
3812 for ac_exec_ext in '' $ac_executable_extensions; do
3813 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3815 ac_cv_prog_AR="${ac_tool_prefix}ar"
3816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 if test -n "$AR"; then
3827 - echo "$as_me:$LINENO: result: $AR" >&5
3828 -echo "${ECHO_T}$AR" >&6
3829 + { echo "$as_me:$LINENO: result: $AR" >&5
3830 +echo "${ECHO_T}$AR" >&6; }
3832 - echo "$as_me:$LINENO: result: no" >&5
3833 -echo "${ECHO_T}no" >&6
3834 + { echo "$as_me:$LINENO: result: no" >&5
3835 +echo "${ECHO_T}no" >&6; }
3840 if test -z "$ac_cv_prog_AR"; then
3842 # Extract the first word of "ar", so it can be a program name with args.
3843 set dummy ar; ac_word=$2
3844 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3845 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3846 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3847 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3848 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 @@ -3131,26 +3634,41 @@ do
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_prog_ac_ct_AR="ar"
3858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3868 if test -n "$ac_ct_AR"; then
3869 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3870 -echo "${ECHO_T}$ac_ct_AR" >&6
3871 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3872 +echo "${ECHO_T}$ac_ct_AR" >&6; }
3874 - echo "$as_me:$LINENO: result: no" >&5
3875 -echo "${ECHO_T}no" >&6
3876 + { echo "$as_me:$LINENO: result: no" >&5
3877 +echo "${ECHO_T}no" >&6; }
3881 + if test "x$ac_ct_AR" = x; then
3884 + case $cross_compiling:$ac_tool_warned in
3886 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3887 +whose name does not start with the host triplet. If you think this
3888 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3889 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3890 +whose name does not start with the host triplet. If you think this
3891 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3892 +ac_tool_warned=yes ;;
3899 @@ -3158,8 +3676,8 @@ fi
3900 if test -n "$ac_tool_prefix"; then
3901 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3902 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3903 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3906 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3907 if test "${ac_cv_prog_RANLIB+set}" = set; then
3908 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 @@ -3172,32 +3690,34 @@ do
3912 test -z "$as_dir" && as_dir=.
3913 for ac_exec_ext in '' $ac_executable_extensions; do
3914 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 RANLIB=$ac_cv_prog_RANLIB
3927 if test -n "$RANLIB"; then
3928 - echo "$as_me:$LINENO: result: $RANLIB" >&5
3929 -echo "${ECHO_T}$RANLIB" >&6
3930 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
3931 +echo "${ECHO_T}$RANLIB" >&6; }
3933 - echo "$as_me:$LINENO: result: no" >&5
3934 -echo "${ECHO_T}no" >&6
3935 + { echo "$as_me:$LINENO: result: no" >&5
3936 +echo "${ECHO_T}no" >&6; }
3941 if test -z "$ac_cv_prog_RANLIB"; then
3942 ac_ct_RANLIB=$RANLIB
3943 # Extract the first word of "ranlib", so it can be a program name with args.
3944 set dummy ranlib; ac_word=$2
3945 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3946 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3947 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3949 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 @@ -3210,36 +3730,49 @@ do
3954 test -z "$as_dir" && as_dir=.
3955 for ac_exec_ext in '' $ac_executable_extensions; do
3956 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3957 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3958 ac_cv_prog_ac_ct_RANLIB="ranlib"
3959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3969 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3970 if test -n "$ac_ct_RANLIB"; then
3971 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3972 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
3973 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3974 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3976 - echo "$as_me:$LINENO: result: no" >&5
3977 -echo "${ECHO_T}no" >&6
3978 + { echo "$as_me:$LINENO: result: no" >&5
3979 +echo "${ECHO_T}no" >&6; }
3982 - RANLIB=$ac_ct_RANLIB
3983 + if test "x$ac_ct_RANLIB" = x; then
3986 + case $cross_compiling:$ac_tool_warned in
3988 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3989 +whose name does not start with the host triplet. If you think this
3990 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3991 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3992 +whose name does not start with the host triplet. If you think this
3993 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3994 +ac_tool_warned=yes ;;
3996 + RANLIB=$ac_ct_RANLIB
3999 RANLIB="$ac_cv_prog_RANLIB"
4003 -# Check whether --enable-shared or --disable-shared was given.
4004 +# Check whether --enable-shared was given.
4005 if test "${enable_shared+set}" = set; then
4006 - enableval="$enable_shared"
4007 - p=${PACKAGE-default}
4008 + enableval=$enable_shared; p=${PACKAGE-default}
4010 yes) enable_shared=yes ;;
4011 no) enable_shared=no ;;
4012 @@ -3257,12 +3790,12 @@ no) enable_shared=no ;;
4020 -# Check whether --enable-static or --disable-static was given.
4021 +# Check whether --enable-static was given.
4022 if test "${enable_static+set}" = set; then
4023 - enableval="$enable_static"
4024 - p=${PACKAGE-default}
4025 + enableval=$enable_static; p=${PACKAGE-default}
4027 yes) enable_static=yes ;;
4028 no) enable_static=no ;;
4029 @@ -3280,11 +3813,11 @@ no) enable_static=no ;;
4034 -# Check whether --enable-fast-install or --disable-fast-install was given.
4037 +# Check whether --enable-fast-install was given.
4038 if test "${enable_fast_install+set}" = set; then
4039 - enableval="$enable_fast_install"
4040 - p=${PACKAGE-default}
4041 + enableval=$enable_fast_install; p=${PACKAGE-default}
4043 yes) enable_fast_install=yes ;;
4044 no) enable_fast_install=no ;;
4045 @@ -3302,20 +3835,21 @@ no) enable_fast_install=no ;;
4048 enable_fast_install=yes
4053 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
4054 +# Check whether --with-gnu-ld was given.
4055 if test "${with_gnu_ld+set}" = set; then
4056 - withval="$with_gnu_ld"
4057 - test "$withval" = no || with_gnu_ld=yes
4058 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4065 if test "$GCC" = yes; then
4066 # Check if gcc -print-prog-name=ld gives a path.
4067 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4068 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
4069 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
4070 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
4073 # gcc leaves a trailing carriage return which upsets mingw
4074 @@ -3344,11 +3878,11 @@ echo $ECHO_N "checking for ld used by GC
4077 elif test "$with_gnu_ld" = yes; then
4078 - echo "$as_me:$LINENO: checking for GNU ld" >&5
4079 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4080 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
4081 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4083 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4084 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4085 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4086 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4088 if test "${lt_cv_path_LD+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 @@ -3377,17 +3911,17 @@ fi
4093 if test -n "$LD"; then
4094 - echo "$as_me:$LINENO: result: $LD" >&5
4095 -echo "${ECHO_T}$LD" >&6
4096 + { echo "$as_me:$LINENO: result: $LD" >&5
4097 +echo "${ECHO_T}$LD" >&6; }
4099 - echo "$as_me:$LINENO: result: no" >&5
4100 -echo "${ECHO_T}no" >&6
4101 + { echo "$as_me:$LINENO: result: no" >&5
4102 +echo "${ECHO_T}no" >&6; }
4104 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4105 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4106 { (exit 1); exit 1; }; }
4107 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4108 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4109 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4110 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4111 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 @@ -3398,25 +3932,25 @@ else
4115 lt_cv_prog_gnu_ld=no
4118 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4119 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4120 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4121 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4122 with_gnu_ld=$lt_cv_prog_gnu_ld
4125 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4126 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4127 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4128 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4129 if test "${lt_cv_ld_reload_flag+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 lt_cv_ld_reload_flag='-r'
4134 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4135 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4136 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4137 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4138 reload_flag=$lt_cv_ld_reload_flag
4139 test -n "$reload_flag" && reload_flag=" $reload_flag"
4141 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4142 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4143 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4144 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4145 if test "${lt_cv_path_NM+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 @@ -3451,22 +3985,22 @@ fi
4152 -echo "$as_me:$LINENO: result: $NM" >&5
4153 -echo "${ECHO_T}$NM" >&6
4154 +{ echo "$as_me:$LINENO: result: $NM" >&5
4155 +echo "${ECHO_T}$NM" >&6; }
4157 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
4158 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4159 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4160 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4162 if test "$LN_S" = "ln -s"; then
4163 - echo "$as_me:$LINENO: result: yes" >&5
4164 -echo "${ECHO_T}yes" >&6
4165 + { echo "$as_me:$LINENO: result: yes" >&5
4166 +echo "${ECHO_T}yes" >&6; }
4168 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4169 -echo "${ECHO_T}no, using $LN_S" >&6
4170 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4171 +echo "${ECHO_T}no, using $LN_S" >&6; }
4174 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4175 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
4176 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
4177 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
4178 if test "${lt_cv_deplibs_check_method+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 @@ -3628,8 +4162,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4185 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4186 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4187 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4188 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4189 file_magic_cmd=$lt_cv_file_magic_cmd
4190 deplibs_check_method=$lt_cv_deplibs_check_method
4192 @@ -3639,8 +4173,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
4193 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4195 # find the maximum length of command line arguments
4196 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4197 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4198 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4199 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
4200 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 @@ -3691,11 +4225,11 @@ else
4206 if test -n "$lt_cv_sys_max_cmd_len" ; then
4207 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4208 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4209 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4210 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
4212 - echo "$as_me:$LINENO: result: none" >&5
4213 -echo "${ECHO_T}none" >&6
4214 + { echo "$as_me:$LINENO: result: none" >&5
4215 +echo "${ECHO_T}none" >&6; }
4219 @@ -3703,8 +4237,8 @@ fi
4220 case $deplibs_check_method in
4222 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4223 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4224 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4225 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4226 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
4227 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 @@ -3758,17 +4292,17 @@ fi
4232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4233 if test -n "$MAGIC_CMD"; then
4234 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4235 -echo "${ECHO_T}$MAGIC_CMD" >&6
4236 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4237 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4239 - echo "$as_me:$LINENO: result: no" >&5
4240 -echo "${ECHO_T}no" >&6
4241 + { echo "$as_me:$LINENO: result: no" >&5
4242 +echo "${ECHO_T}no" >&6; }
4245 if test -z "$lt_cv_path_MAGIC_CMD"; then
4246 if test -n "$ac_tool_prefix"; then
4247 - echo "$as_me:$LINENO: checking for file" >&5
4248 -echo $ECHO_N "checking for file... $ECHO_C" >&6
4249 + { echo "$as_me:$LINENO: checking for file" >&5
4250 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
4251 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 @@ -3822,11 +4356,11 @@ fi
4256 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4257 if test -n "$MAGIC_CMD"; then
4258 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4259 -echo "${ECHO_T}$MAGIC_CMD" >&6
4260 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4261 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
4263 - echo "$as_me:$LINENO: result: no" >&5
4264 -echo "${ECHO_T}no" >&6
4265 + { echo "$as_me:$LINENO: result: no" >&5
4266 +echo "${ECHO_T}no" >&6; }
4270 @@ -3841,8 +4375,8 @@ esac
4271 if test -n "$ac_tool_prefix"; then
4272 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4273 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4274 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4277 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4278 if test "${ac_cv_prog_RANLIB+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 @@ -3855,32 +4389,34 @@ do
4283 test -z "$as_dir" && as_dir=.
4284 for ac_exec_ext in '' $ac_executable_extensions; do
4285 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4286 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 RANLIB=$ac_cv_prog_RANLIB
4298 if test -n "$RANLIB"; then
4299 - echo "$as_me:$LINENO: result: $RANLIB" >&5
4300 -echo "${ECHO_T}$RANLIB" >&6
4301 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
4302 +echo "${ECHO_T}$RANLIB" >&6; }
4304 - echo "$as_me:$LINENO: result: no" >&5
4305 -echo "${ECHO_T}no" >&6
4306 + { echo "$as_me:$LINENO: result: no" >&5
4307 +echo "${ECHO_T}no" >&6; }
4312 if test -z "$ac_cv_prog_RANLIB"; then
4313 ac_ct_RANLIB=$RANLIB
4314 # Extract the first word of "ranlib", so it can be a program name with args.
4315 set dummy ranlib; ac_word=$2
4316 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4318 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 @@ -3893,27 +4429,41 @@ do
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4329 ac_cv_prog_ac_ct_RANLIB="ranlib"
4330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4340 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4341 if test -n "$ac_ct_RANLIB"; then
4342 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4343 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
4344 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4345 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4347 - echo "$as_me:$LINENO: result: no" >&5
4348 -echo "${ECHO_T}no" >&6
4349 + { echo "$as_me:$LINENO: result: no" >&5
4350 +echo "${ECHO_T}no" >&6; }
4353 - RANLIB=$ac_ct_RANLIB
4354 + if test "x$ac_ct_RANLIB" = x; then
4357 + case $cross_compiling:$ac_tool_warned in
4359 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4360 +whose name does not start with the host triplet. If you think this
4361 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4362 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4363 +whose name does not start with the host triplet. If you think this
4364 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4365 +ac_tool_warned=yes ;;
4367 + RANLIB=$ac_ct_RANLIB
4370 RANLIB="$ac_cv_prog_RANLIB"
4372 @@ -3921,8 +4471,8 @@ fi
4373 if test -n "$ac_tool_prefix"; then
4374 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4375 set dummy ${ac_tool_prefix}strip; ac_word=$2
4376 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4377 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4378 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4379 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4380 if test "${ac_cv_prog_STRIP+set}" = set; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 @@ -3935,32 +4485,34 @@ do
4385 test -z "$as_dir" && as_dir=.
4386 for ac_exec_ext in '' $ac_executable_extensions; do
4387 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4389 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 STRIP=$ac_cv_prog_STRIP
4400 if test -n "$STRIP"; then
4401 - echo "$as_me:$LINENO: result: $STRIP" >&5
4402 -echo "${ECHO_T}$STRIP" >&6
4403 + { echo "$as_me:$LINENO: result: $STRIP" >&5
4404 +echo "${ECHO_T}$STRIP" >&6; }
4406 - echo "$as_me:$LINENO: result: no" >&5
4407 -echo "${ECHO_T}no" >&6
4408 + { echo "$as_me:$LINENO: result: no" >&5
4409 +echo "${ECHO_T}no" >&6; }
4414 if test -z "$ac_cv_prog_STRIP"; then
4416 # Extract the first word of "strip", so it can be a program name with args.
4417 set dummy strip; ac_word=$2
4418 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4419 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4420 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4421 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4422 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 @@ -3973,27 +4525,41 @@ do
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4431 ac_cv_prog_ac_ct_STRIP="strip"
4432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4442 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4443 if test -n "$ac_ct_STRIP"; then
4444 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4445 -echo "${ECHO_T}$ac_ct_STRIP" >&6
4446 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4447 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
4449 - echo "$as_me:$LINENO: result: no" >&5
4450 -echo "${ECHO_T}no" >&6
4451 + { echo "$as_me:$LINENO: result: no" >&5
4452 +echo "${ECHO_T}no" >&6; }
4455 - STRIP=$ac_ct_STRIP
4456 + if test "x$ac_ct_STRIP" = x; then
4459 + case $cross_compiling:$ac_tool_warned in
4461 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4462 +whose name does not start with the host triplet. If you think this
4463 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4464 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4465 +whose name does not start with the host triplet. If you think this
4466 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4467 +ac_tool_warned=yes ;;
4469 + STRIP=$ac_ct_STRIP
4472 STRIP="$ac_cv_prog_STRIP"
4474 @@ -4008,22 +4574,22 @@ test "$GCC" = yes && libtool_flags="$lib
4475 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4478 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4479 +# Check whether --enable-libtool-lock was given.
4480 if test "${enable_libtool_lock+set}" = set; then
4481 - enableval="$enable_libtool_lock"
4482 + enableval=$enable_libtool_lock;
4486 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4487 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4490 -# Check whether --with-pic or --without-pic was given.
4491 +# Check whether --with-pic was given.
4492 if test "${with_pic+set}" = set; then
4493 - withval="$with_pic"
4494 - pic_mode="$withval"
4495 + withval=$with_pic; pic_mode="$withval"
4501 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4502 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4504 @@ -4032,7 +4598,7 @@ test x"$pic_mode" = xno && libtool_flags
4507 # Find out which ABI we are using.
4508 - echo '#line 4035 "configure"' > conftest.$ac_ext
4509 + echo '#line 4601 "configure"' > conftest.$ac_ext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4511 (eval $ac_compile) 2>&5
4513 @@ -4137,13 +4703,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
4514 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4515 SAVE_CFLAGS="$CFLAGS"
4516 CFLAGS="$CFLAGS -belf"
4517 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4518 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4519 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4520 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4521 if test "${lt_cv_cc_needs_belf+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4527 ac_cpp='$CPP $CPPFLAGS'
4528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 @@ -4166,35 +4731,32 @@ main ()
4532 rm -f conftest.$ac_objext conftest$ac_exeext
4533 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4534 - (eval $ac_link) 2>conftest.er1
4535 +if { (ac_try="$ac_link"
4536 +case "(($ac_try" in
4537 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538 + *) ac_try_echo=$ac_try;;
4540 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4541 + (eval "$ac_link") 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 - (exit $ac_status); } &&
4548 - { ac_try='test -z "$ac_c_werror_flag"
4549 - || test ! -s conftest.err'
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); }; } &&
4555 - { ac_try='test -s conftest$ac_exeext'
4556 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557 - (eval $ac_try) 2>&5
4559 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 - (exit $ac_status); }; }; then
4561 + (exit $ac_status); } && {
4562 + test -z "$ac_c_werror_flag" ||
4563 + test ! -s conftest.err
4564 + } && test -s conftest$ac_exeext &&
4565 + $as_test_x conftest$ac_exeext; then
4566 lt_cv_cc_needs_belf=yes
4568 echo "$as_me: failed program was:" >&5
4569 sed 's/^/| /' conftest.$ac_ext >&5
4571 -lt_cv_cc_needs_belf=no
4572 + lt_cv_cc_needs_belf=no
4574 -rm -f conftest.err conftest.$ac_objext \
4576 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4577 conftest$ac_exeext conftest.$ac_ext
4579 ac_cpp='$CPP $CPPFLAGS'
4580 @@ -4203,8 +4765,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
4581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4584 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4585 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4586 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4587 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4588 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4589 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4590 CFLAGS="$SAVE_CFLAGS"
4591 @@ -4234,39 +4796,58 @@ _ACEOF
4593 # The following way of writing the cache mishandles newlines in values,
4594 # but we know of no workaround that is simple, portable, and efficient.
4595 -# So, don't put newlines in cache variables' values.
4596 +# So, we kill variables containing newlines.
4597 # Ultrix sh set writes to stderr and can't be redirected directly,
4598 # and sets the high bit in the cache file unless we assign to the vars.
4601 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4602 + eval ac_val=\$$ac_var
4603 + case $ac_val in #(
4605 + case $ac_var in #(
4606 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4607 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4609 + case $ac_var in #(
4610 + _ | IFS | as_nl) ;; #(
4611 + *) $as_unset $ac_var ;;
4617 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
4619 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
4620 + *${as_nl}ac_space=\ *)
4621 # `set' does not quote correctly, so add quotes (double-quote
4622 # substitution turns \\\\ into \\, and sed turns \\ into \).
4625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4629 # `set' quotes correctly as required by POSIX, so do not add quotes.
4631 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4632 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4640 + /^ac_cv_env_/b end
4644 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4646 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4647 - : end' >>confcache
4648 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
4649 - if test -w $cache_file; then
4650 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4651 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4653 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4654 + if test -w "$cache_file"; then
4655 + test "x$cache_file" != "x/dev/null" &&
4656 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4657 +echo "$as_me: updating cache $cache_file" >&6;}
4658 cat confcache >$cache_file
4660 - echo "not updating unwritable cache $cache_file"
4661 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4662 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4666 @@ -4292,8 +4873,8 @@ if test -r "$cache_file"; then
4667 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4668 echo "$as_me: loading cache $cache_file" >&6;}
4670 - [\\/]* | ?:[\\/]* ) . $cache_file;;
4671 - *) . ./$cache_file;;
4672 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
4673 + *) . "./$cache_file";;
4677 @@ -4319,10 +4900,9 @@ exec 5>>./config.log
4681 -# Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
4682 +# Check whether --enable-64-bit-bfd was given.
4683 if test "${enable_64_bit_bfd+set}" = set; then
4684 - enableval="$enable_64_bit_bfd"
4685 - case "${enableval}" in
4686 + enableval=$enable_64_bit_bfd; case "${enableval}" in
4689 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
4690 @@ -4331,10 +4911,10 @@ echo "$as_me: error: bad value ${enablev
4694 -fi; # Check whether --enable-targets or --disable-targets was given.
4696 +# Check whether --enable-targets was given.
4697 if test "${enable_targets+set}" = set; then
4698 - enableval="$enable_targets"
4699 - case "${enableval}" in
4700 + enableval=$enable_targets; case "${enableval}" in
4701 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
4702 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
4703 { (exit 1); exit 1; }; }
4704 @@ -4342,21 +4922,21 @@ echo "$as_me: error: enable-targets opti
4705 no) enable_targets= ;;
4706 *) enable_targets=$enableval ;;
4708 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
4710 +# Check whether --enable-commonbfdlib was given.
4711 if test "${enable_commonbfdlib+set}" = set; then
4712 - enableval="$enable_commonbfdlib"
4713 - case "${enableval}" in
4714 + enableval=$enable_commonbfdlib; case "${enableval}" in
4715 yes) commonbfdlib=true ;;
4716 no) commonbfdlib=false ;;
4717 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
4718 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
4719 { (exit 1); exit 1; }; } ;;
4722 -# Check whether --with-mmap or --without-mmap was given.
4725 +# Check whether --with-mmap was given.
4726 if test "${with_mmap+set}" = set; then
4727 - withval="$with_mmap"
4728 - case "${withval}" in
4729 + withval=$with_mmap; case "${withval}" in
4730 yes) want_mmap=true ;;
4731 no) want_mmap=false ;;
4732 *) { { echo "$as_me:$LINENO: error: bad value ${withval} for BFD with-mmap option" >&5
4733 @@ -4365,11 +4945,11 @@ echo "$as_me: error: bad value ${withval
4738 -# Check whether --enable-secureplt or --disable-secureplt was given.
4741 +# Check whether --enable-secureplt was given.
4742 if test "${enable_secureplt+set}" = set; then
4743 - enableval="$enable_secureplt"
4744 - case "${enableval}" in
4745 + enableval=$enable_secureplt; case "${enableval}" in
4746 yes) use_secureplt=true ;;
4747 no) use_secureplt=false ;;
4748 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for secureplt option" >&5
4749 @@ -4378,7 +4958,8 @@ echo "$as_me: error: bad value ${enablev
4753 -fi; if test $use_secureplt = true; then
4755 +if test $use_secureplt = true; then
4757 cat >>confdefs.h <<\_ACEOF
4758 #define USE_SECUREPLT 1
4759 @@ -4389,17 +4970,17 @@ fi
4761 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
4763 -# Check whether --enable-werror or --disable-werror was given.
4764 +# Check whether --enable-werror was given.
4765 if test "${enable_werror+set}" = set; then
4766 - enableval="$enable_werror"
4767 - case "${enableval}" in
4768 + enableval=$enable_werror; case "${enableval}" in
4769 yes | y) ERROR_ON_WARNING="yes" ;;
4770 no | n) ERROR_ON_WARNING="no" ;;
4771 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
4772 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
4773 { (exit 1); exit 1; }; } ;;
4779 # Enable -Werror by default when using gcc
4780 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
4781 @@ -4416,10 +4997,9 @@ if test "${GCC}" = yes ; then
4782 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
4785 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
4786 +# Check whether --enable-build-warnings was given.
4787 if test "${enable_build_warnings+set}" = set; then
4788 - enableval="$enable_build_warnings"
4789 - case "${enableval}" in
4790 + enableval=$enable_build_warnings; case "${enableval}" in
4791 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
4792 no) if test "${GCC}" = yes ; then
4794 @@ -4430,7 +5010,8 @@ if test "${enable_build_warnings+set}" =
4795 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
4796 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
4802 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
4803 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
4804 @@ -4440,7 +5021,7 @@ fi
4808 - ac_config_headers="$ac_config_headers config.h:config.in"
4809 +ac_config_headers="$ac_config_headers config.h:config.in"
4812 if test -z "$target" ; then
4813 @@ -4449,17 +5030,17 @@ echo "$as_me: error: Unrecognized target
4814 { (exit 1); exit 1; }; }
4817 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4818 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4819 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4820 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4821 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
4822 + # Check whether --enable-maintainer-mode was given.
4823 if test "${enable_maintainer_mode+set}" = set; then
4824 - enableval="$enable_maintainer_mode"
4825 - USE_MAINTAINER_MODE=$enableval
4826 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4828 USE_MAINTAINER_MODE=no
4830 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4831 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4834 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4835 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
4838 if test $USE_MAINTAINER_MODE = yes; then
4839 @@ -4488,21 +5069,21 @@ esac
4840 *) target_noncanonical=${target_alias} ;;
4843 -echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4844 -echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6
4845 - # Check whether --enable-install-libbfd or --disable-install-libbfd was given.
4846 +{ echo "$as_me:$LINENO: checking whether to install libbfd" >&5
4847 +echo $ECHO_N "checking whether to install libbfd... $ECHO_C" >&6; }
4848 + # Check whether --enable-install-libbfd was given.
4849 if test "${enable_install_libbfd+set}" = set; then
4850 - enableval="$enable_install_libbfd"
4851 - install_libbfd_p=$enableval
4852 + enableval=$enable_install_libbfd; install_libbfd_p=$enableval
4854 if test "${host}" = "${target}" || test "$enable_shared" = "yes"; then
4855 install_libbfd_p=yes
4860 - echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4861 -echo "${ECHO_T}$install_libbfd_p" >&6
4864 + { echo "$as_me:$LINENO: result: $install_libbfd_p" >&5
4865 +echo "${ECHO_T}$install_libbfd_p" >&6; }
4868 if test $install_libbfd_p = yes; then
4869 @@ -4545,8 +5126,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
4870 if test -n "$ac_tool_prefix"; then
4871 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4872 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4873 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4874 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4875 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4876 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4877 if test "${ac_cv_prog_CC+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 @@ -4559,32 +5140,34 @@ do
4882 test -z "$as_dir" && as_dir=.
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4885 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 if test -n "$CC"; then
4898 - echo "$as_me:$LINENO: result: $CC" >&5
4899 -echo "${ECHO_T}$CC" >&6
4900 + { echo "$as_me:$LINENO: result: $CC" >&5
4901 +echo "${ECHO_T}$CC" >&6; }
4903 - echo "$as_me:$LINENO: result: no" >&5
4904 -echo "${ECHO_T}no" >&6
4905 + { echo "$as_me:$LINENO: result: no" >&5
4906 +echo "${ECHO_T}no" >&6; }
4911 if test -z "$ac_cv_prog_CC"; then
4913 # Extract the first word of "gcc", so it can be a program name with args.
4914 set dummy gcc; ac_word=$2
4915 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4916 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4917 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4919 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 @@ -4597,36 +5180,51 @@ do
4924 test -z "$as_dir" && as_dir=.
4925 for ac_exec_ext in '' $ac_executable_extensions; do
4926 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4927 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_ac_ct_CC="gcc"
4929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4939 if test -n "$ac_ct_CC"; then
4940 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4941 -echo "${ECHO_T}$ac_ct_CC" >&6
4942 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4943 +echo "${ECHO_T}$ac_ct_CC" >&6; }
4945 - echo "$as_me:$LINENO: result: no" >&5
4946 -echo "${ECHO_T}no" >&6
4947 + { echo "$as_me:$LINENO: result: no" >&5
4948 +echo "${ECHO_T}no" >&6; }
4952 + if test "x$ac_ct_CC" = x; then
4955 + case $cross_compiling:$ac_tool_warned in
4957 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4958 +whose name does not start with the host triplet. If you think this
4959 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4960 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4961 +whose name does not start with the host triplet. If you think this
4962 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4963 +ac_tool_warned=yes ;;
4971 if test -z "$CC"; then
4972 - if test -n "$ac_tool_prefix"; then
4973 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4974 + if test -n "$ac_tool_prefix"; then
4975 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4976 set dummy ${ac_tool_prefix}cc; ac_word=$2
4977 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4978 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4979 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4980 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4981 if test "${ac_cv_prog_CC+set}" = set; then
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
4984 @@ -4639,74 +5237,34 @@ do
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4990 ac_cv_prog_CC="${ac_tool_prefix}cc"
4991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 if test -n "$CC"; then
5002 - echo "$as_me:$LINENO: result: $CC" >&5
5003 -echo "${ECHO_T}$CC" >&6
5005 - echo "$as_me:$LINENO: result: no" >&5
5006 -echo "${ECHO_T}no" >&6
5010 -if test -z "$ac_cv_prog_CC"; then
5012 - # Extract the first word of "cc", so it can be a program name with args.
5013 -set dummy cc; ac_word=$2
5014 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5015 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5016 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5017 - echo $ECHO_N "(cached) $ECHO_C" >&6
5019 - if test -n "$ac_ct_CC"; then
5020 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5022 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 -for as_dir in $PATH
5026 - test -z "$as_dir" && as_dir=.
5027 - for ac_exec_ext in '' $ac_executable_extensions; do
5028 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 - ac_cv_prog_ac_ct_CC="cc"
5030 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
5039 -if test -n "$ac_ct_CC"; then
5040 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5041 -echo "${ECHO_T}$ac_ct_CC" >&6
5042 + { echo "$as_me:$LINENO: result: $CC" >&5
5043 +echo "${ECHO_T}$CC" >&6; }
5045 - echo "$as_me:$LINENO: result: no" >&5
5046 -echo "${ECHO_T}no" >&6
5047 + { echo "$as_me:$LINENO: result: no" >&5
5048 +echo "${ECHO_T}no" >&6; }
5053 - CC="$ac_cv_prog_CC"
5058 if test -z "$CC"; then
5059 # Extract the first word of "cc", so it can be a program name with args.
5060 set dummy cc; ac_word=$2
5061 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5062 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5063 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5065 if test "${ac_cv_prog_CC+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5068 @@ -4720,7 +5278,7 @@ do
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5075 ac_prog_rejected=yes
5077 @@ -4731,6 +5289,7 @@ do
5083 if test $ac_prog_rejected = yes; then
5084 # We found a bogon in the path, so make sure we never use it.
5085 @@ -4748,22 +5307,23 @@ fi
5088 if test -n "$CC"; then
5089 - echo "$as_me:$LINENO: result: $CC" >&5
5090 -echo "${ECHO_T}$CC" >&6
5091 + { echo "$as_me:$LINENO: result: $CC" >&5
5092 +echo "${ECHO_T}$CC" >&6; }
5094 - echo "$as_me:$LINENO: result: no" >&5
5095 -echo "${ECHO_T}no" >&6
5096 + { echo "$as_me:$LINENO: result: no" >&5
5097 +echo "${ECHO_T}no" >&6; }
5102 if test -z "$CC"; then
5103 if test -n "$ac_tool_prefix"; then
5105 + for ac_prog in cl.exe
5107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5108 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5109 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5110 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5111 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5112 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5113 if test "${ac_cv_prog_CC+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 @@ -4776,36 +5336,38 @@ do
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5121 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5133 if test -n "$CC"; then
5134 - echo "$as_me:$LINENO: result: $CC" >&5
5135 -echo "${ECHO_T}$CC" >&6
5136 + { echo "$as_me:$LINENO: result: $CC" >&5
5137 +echo "${ECHO_T}$CC" >&6; }
5139 - echo "$as_me:$LINENO: result: no" >&5
5140 -echo "${ECHO_T}no" >&6
5141 + { echo "$as_me:$LINENO: result: no" >&5
5142 +echo "${ECHO_T}no" >&6; }
5146 test -n "$CC" && break
5149 if test -z "$CC"; then
5152 + for ac_prog in cl.exe
5154 # Extract the first word of "$ac_prog", so it can be a program name with args.
5155 set dummy $ac_prog; ac_word=$2
5156 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5157 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5158 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5159 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
5161 echo $ECHO_N "(cached) $ECHO_C" >&6
5163 @@ -4818,29 +5380,45 @@ do
5165 test -z "$as_dir" && as_dir=.
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5168 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5169 ac_cv_prog_ac_ct_CC="$ac_prog"
5170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5180 if test -n "$ac_ct_CC"; then
5181 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5182 -echo "${ECHO_T}$ac_ct_CC" >&6
5183 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
5184 +echo "${ECHO_T}$ac_ct_CC" >&6; }
5186 - echo "$as_me:$LINENO: result: no" >&5
5187 -echo "${ECHO_T}no" >&6
5188 + { echo "$as_me:$LINENO: result: no" >&5
5189 +echo "${ECHO_T}no" >&6; }
5193 test -n "$ac_ct_CC" && break
5197 + if test "x$ac_ct_CC" = x; then
5200 + case $cross_compiling:$ac_tool_warned in
5202 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5203 +whose name does not start with the host triplet. If you think this
5204 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5205 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5206 +whose name does not start with the host triplet. If you think this
5207 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5208 +ac_tool_warned=yes ;;
5215 @@ -4853,27 +5431,41 @@ See \`config.log' for more details." >&2
5216 { (exit 1); exit 1; }; }
5218 # Provide some information about the compiler.
5219 -echo "$as_me:$LINENO:" \
5220 - "checking for C compiler version" >&5
5221 +echo "$as_me:$LINENO: checking for C compiler version" >&5
5222 ac_compiler=`set X $ac_compile; echo $2`
5223 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5224 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5225 +{ (ac_try="$ac_compiler --version >&5"
5226 +case "(($ac_try" in
5227 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 + *) ac_try_echo=$ac_try;;
5230 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5231 + (eval "$ac_compiler --version >&5") 2>&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); }
5235 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5236 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5237 +{ (ac_try="$ac_compiler -v >&5"
5238 +case "(($ac_try" in
5239 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5240 + *) ac_try_echo=$ac_try;;
5242 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5243 + (eval "$ac_compiler -v >&5") 2>&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }
5247 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5248 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5249 +{ (ac_try="$ac_compiler -V >&5"
5250 +case "(($ac_try" in
5251 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5252 + *) ac_try_echo=$ac_try;;
5254 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255 + (eval "$ac_compiler -V >&5") 2>&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }
5260 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5261 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
5262 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5263 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
5264 if test "${ac_cv_c_compiler_gnu+set}" = set; then
5265 echo $ECHO_N "(cached) $ECHO_C" >&6
5267 @@ -4896,50 +5488,49 @@ main ()
5270 rm -f conftest.$ac_objext
5271 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 - (eval $ac_compile) 2>conftest.er1
5273 +if { (ac_try="$ac_compile"
5274 +case "(($ac_try" in
5275 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5276 + *) ac_try_echo=$ac_try;;
5278 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5279 + (eval "$ac_compile") 2>conftest.er1
5281 grep -v '^ *+' conftest.er1 >conftest.err
5283 cat conftest.err >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 - (exit $ac_status); } &&
5286 - { ac_try='test -z "$ac_c_werror_flag"
5287 - || test ! -s conftest.err'
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); }; } &&
5293 - { ac_try='test -s conftest.$ac_objext'
5294 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 - (eval $ac_try) 2>&5
5297 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 - (exit $ac_status); }; }; then
5299 + (exit $ac_status); } && {
5300 + test -z "$ac_c_werror_flag" ||
5301 + test ! -s conftest.err
5302 + } && test -s conftest.$ac_objext; then
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5309 + ac_compiler_gnu=no
5311 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5313 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5314 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5317 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5318 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
5319 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5320 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
5321 GCC=`test $ac_compiler_gnu = yes && echo yes`
5322 ac_test_CFLAGS=${CFLAGS+set}
5323 ac_save_CFLAGS=$CFLAGS
5325 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5326 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
5327 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5328 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
5329 if test "${ac_cv_prog_cc_g+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 - cat >conftest.$ac_ext <<_ACEOF
5333 + ac_save_c_werror_flag=$ac_c_werror_flag
5334 + ac_c_werror_flag=yes
5335 + ac_cv_prog_cc_g=no
5337 + cat >conftest.$ac_ext <<_ACEOF
5340 cat confdefs.h >>conftest.$ac_ext
5341 @@ -4955,46 +5546,126 @@ main ()
5344 rm -f conftest.$ac_objext
5345 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5346 - (eval $ac_compile) 2>conftest.er1
5347 +if { (ac_try="$ac_compile"
5348 +case "(($ac_try" in
5349 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5350 + *) ac_try_echo=$ac_try;;
5352 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5353 + (eval "$ac_compile") 2>conftest.er1
5355 grep -v '^ *+' conftest.er1 >conftest.err
5357 cat conftest.err >&5
5358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359 - (exit $ac_status); } &&
5360 - { ac_try='test -z "$ac_c_werror_flag"
5361 - || test ! -s conftest.err'
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); }; } &&
5367 - { ac_try='test -s conftest.$ac_objext'
5368 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 - (eval $ac_try) 2>&5
5371 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 - (exit $ac_status); }; }; then
5373 + (exit $ac_status); } && {
5374 + test -z "$ac_c_werror_flag" ||
5375 + test ! -s conftest.err
5376 + } && test -s conftest.$ac_objext; then
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.$ac_ext >&5
5384 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5386 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5387 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5388 -if test "$ac_test_CFLAGS" = set; then
5389 - CFLAGS=$ac_save_CFLAGS
5390 -elif test $ac_cv_prog_cc_g = yes; then
5391 - if test "$GCC" = yes; then
5397 + cat >conftest.$ac_ext <<_ACEOF
5400 +cat confdefs.h >>conftest.$ac_ext
5401 +cat >>conftest.$ac_ext <<_ACEOF
5402 +/* end confdefs.h. */
5412 +rm -f conftest.$ac_objext
5413 +if { (ac_try="$ac_compile"
5414 +case "(($ac_try" in
5415 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5416 + *) ac_try_echo=$ac_try;;
5418 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5419 + (eval "$ac_compile") 2>conftest.er1
5421 + grep -v '^ *+' conftest.er1 >conftest.err
5422 + rm -f conftest.er1
5423 + cat conftest.err >&5
5424 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 + (exit $ac_status); } && {
5426 + test -z "$ac_c_werror_flag" ||
5427 + test ! -s conftest.err
5428 + } && test -s conftest.$ac_objext; then
5431 + echo "$as_me: failed program was:" >&5
5432 +sed 's/^/| /' conftest.$ac_ext >&5
5434 + ac_c_werror_flag=$ac_save_c_werror_flag
5436 + cat >conftest.$ac_ext <<_ACEOF
5439 +cat confdefs.h >>conftest.$ac_ext
5440 +cat >>conftest.$ac_ext <<_ACEOF
5441 +/* end confdefs.h. */
5451 +rm -f conftest.$ac_objext
5452 +if { (ac_try="$ac_compile"
5453 +case "(($ac_try" in
5454 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5455 + *) ac_try_echo=$ac_try;;
5457 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5458 + (eval "$ac_compile") 2>conftest.er1
5460 + grep -v '^ *+' conftest.er1 >conftest.err
5461 + rm -f conftest.er1
5462 + cat conftest.err >&5
5463 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 + (exit $ac_status); } && {
5465 + test -z "$ac_c_werror_flag" ||
5466 + test ! -s conftest.err
5467 + } && test -s conftest.$ac_objext; then
5468 + ac_cv_prog_cc_g=yes
5470 + echo "$as_me: failed program was:" >&5
5471 +sed 's/^/| /' conftest.$ac_ext >&5
5476 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5482 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5483 + ac_c_werror_flag=$ac_save_c_werror_flag
5485 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5486 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5487 +if test "$ac_test_CFLAGS" = set; then
5488 + CFLAGS=$ac_save_CFLAGS
5489 +elif test $ac_cv_prog_cc_g = yes; then
5490 + if test "$GCC" = yes; then
5496 if test "$GCC" = yes; then
5498 @@ -5002,12 +5673,12 @@ else
5502 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5503 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5504 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
5505 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5506 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5507 +if test "${ac_cv_prog_cc_c89+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 - ac_cv_prog_cc_stdc=no
5511 + ac_cv_prog_cc_c89=no
5513 cat >conftest.$ac_ext <<_ACEOF
5515 @@ -5041,12 +5712,17 @@ static char *f (char * (*g) (char **, in
5516 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5517 function prototypes and stuff, but not '\xHH' hex character constants.
5518 These don't provoke an error unfortunately, instead are silently treated
5519 - as 'x'. The following induces an error, until -std1 is added to get
5520 + as 'x'. The following induces an error, until -std is added to get
5521 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5522 array size at least. It's necessary to write '\x00'==0 to get something
5523 - that's true only with -std1. */
5524 + that's true only with -std. */
5525 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5527 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5528 + inside strings and character constants. */
5530 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5532 int test (int i, double x);
5533 struct s1 {int (*f) (int a);};
5534 struct s2 {int (*f) (double a);};
5535 @@ -5061,205 +5737,57 @@ return f (e, argv, 0) != argv[0] || f
5539 -# Don't try gcc -ansi; that turns off useful extensions and
5540 -# breaks some systems' header files.
5541 -# AIX -qlanglvl=ansi
5542 -# Ultrix and OSF/1 -std1
5543 -# HP-UX 10.20 and later -Ae
5544 -# HP-UX older versions -Aa -D_HPUX_SOURCE
5545 -# SVR4 -Xc -D__EXTENSIONS__
5546 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5547 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5548 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5550 CC="$ac_save_CC $ac_arg"
5551 rm -f conftest.$ac_objext
5552 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5553 - (eval $ac_compile) 2>conftest.er1
5554 +if { (ac_try="$ac_compile"
5555 +case "(($ac_try" in
5556 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5557 + *) ac_try_echo=$ac_try;;
5559 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5560 + (eval "$ac_compile") 2>conftest.er1
5562 grep -v '^ *+' conftest.er1 >conftest.err
5564 cat conftest.err >&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 - (exit $ac_status); } &&
5567 - { ac_try='test -z "$ac_c_werror_flag"
5568 - || test ! -s conftest.err'
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); }; } &&
5574 - { ac_try='test -s conftest.$ac_objext'
5575 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5576 - (eval $ac_try) 2>&5
5578 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 - (exit $ac_status); }; }; then
5580 - ac_cv_prog_cc_stdc=$ac_arg
5582 + (exit $ac_status); } && {
5583 + test -z "$ac_c_werror_flag" ||
5584 + test ! -s conftest.err
5585 + } && test -s conftest.$ac_objext; then
5586 + ac_cv_prog_cc_c89=$ac_arg
5588 echo "$as_me: failed program was:" >&5
5589 sed 's/^/| /' conftest.$ac_ext >&5
5593 -rm -f conftest.err conftest.$ac_objext
5595 +rm -f core conftest.err conftest.$ac_objext
5596 + test "x$ac_cv_prog_cc_c89" != "xno" && break
5598 -rm -f conftest.$ac_ext conftest.$ac_objext
5599 +rm -f conftest.$ac_ext
5604 -case "x$ac_cv_prog_cc_stdc" in
5606 - echo "$as_me:$LINENO: result: none needed" >&5
5607 -echo "${ECHO_T}none needed" >&6 ;;
5609 +case "x$ac_cv_prog_cc_c89" in
5611 + { echo "$as_me:$LINENO: result: none needed" >&5
5612 +echo "${ECHO_T}none needed" >&6; } ;;
5614 + { echo "$as_me:$LINENO: result: unsupported" >&5
5615 +echo "${ECHO_T}unsupported" >&6; } ;;
5617 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5618 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5619 - CC="$CC $ac_cv_prog_cc_stdc" ;;
5620 + CC="$CC $ac_cv_prog_cc_c89"
5621 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5622 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5625 -# Some people use a C++ compiler to compile C. Since we use `exit',
5626 -# in C++ we need to declare it. In case someone uses the same compiler
5627 -# for both compiling C and C++ we need to have the C++ compiler decide
5628 -# the declaration of exit, since it's the most demanding environment.
5629 -cat >conftest.$ac_ext <<_ACEOF
5630 -#ifndef __cplusplus
5634 -rm -f conftest.$ac_objext
5635 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5636 - (eval $ac_compile) 2>conftest.er1
5638 - grep -v '^ *+' conftest.er1 >conftest.err
5639 - rm -f conftest.er1
5640 - cat conftest.err >&5
5641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642 - (exit $ac_status); } &&
5643 - { ac_try='test -z "$ac_c_werror_flag"
5644 - || test ! -s conftest.err'
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); }; } &&
5650 - { ac_try='test -s conftest.$ac_objext'
5651 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5652 - (eval $ac_try) 2>&5
5654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 - (exit $ac_status); }; }; then
5656 - for ac_declaration in \
5658 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
5659 - 'extern "C" void std::exit (int); using std::exit;' \
5660 - 'extern "C" void exit (int) throw ();' \
5661 - 'extern "C" void exit (int);' \
5662 - 'void exit (int);'
5664 - cat >conftest.$ac_ext <<_ACEOF
5667 -cat confdefs.h >>conftest.$ac_ext
5668 -cat >>conftest.$ac_ext <<_ACEOF
5669 -/* end confdefs.h. */
5671 -#include <stdlib.h>
5680 -rm -f conftest.$ac_objext
5681 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5682 - (eval $ac_compile) 2>conftest.er1
5684 - grep -v '^ *+' conftest.er1 >conftest.err
5685 - rm -f conftest.er1
5686 - cat conftest.err >&5
5687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 - (exit $ac_status); } &&
5689 - { ac_try='test -z "$ac_c_werror_flag"
5690 - || test ! -s conftest.err'
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); }; } &&
5696 - { ac_try='test -s conftest.$ac_objext'
5697 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5698 - (eval $ac_try) 2>&5
5700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 - (exit $ac_status); }; }; then
5704 - echo "$as_me: failed program was:" >&5
5705 -sed 's/^/| /' conftest.$ac_ext >&5
5709 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5710 - cat >conftest.$ac_ext <<_ACEOF
5713 -cat confdefs.h >>conftest.$ac_ext
5714 -cat >>conftest.$ac_ext <<_ACEOF
5715 -/* end confdefs.h. */
5725 -rm -f conftest.$ac_objext
5726 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5727 - (eval $ac_compile) 2>conftest.er1
5729 - grep -v '^ *+' conftest.er1 >conftest.err
5730 - rm -f conftest.er1
5731 - cat conftest.err >&5
5732 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 - (exit $ac_status); } &&
5734 - { ac_try='test -z "$ac_c_werror_flag"
5735 - || test ! -s conftest.err'
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); }; } &&
5741 - { ac_try='test -s conftest.$ac_objext'
5742 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5743 - (eval $ac_try) 2>&5
5745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 - (exit $ac_status); }; }; then
5749 - echo "$as_me: failed program was:" >&5
5750 -sed 's/^/| /' conftest.$ac_ext >&5
5753 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5756 -if test -n "$ac_declaration"; then
5757 - echo '#ifdef __cplusplus' >>confdefs.h
5758 - echo $ac_declaration >>confdefs.h
5759 - echo '#endif' >>confdefs.h
5763 - echo "$as_me: failed program was:" >&5
5764 -sed 's/^/| /' conftest.$ac_ext >&5
5767 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5769 ac_cpp='$CPP $CPPFLAGS'
5770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5771 @@ -5277,8 +5805,8 @@ ALL_LINGUAS="fr tr ja es sv da zh_CN ro
5772 if test -n "$ac_tool_prefix"; then
5773 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5774 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5775 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5776 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5777 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5778 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5779 if test "${ac_cv_prog_RANLIB+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 @@ -5291,32 +5819,34 @@ do
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5788 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 RANLIB=$ac_cv_prog_RANLIB
5799 if test -n "$RANLIB"; then
5800 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5801 -echo "${ECHO_T}$RANLIB" >&6
5802 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5803 +echo "${ECHO_T}$RANLIB" >&6; }
5805 - echo "$as_me:$LINENO: result: no" >&5
5806 -echo "${ECHO_T}no" >&6
5807 + { echo "$as_me:$LINENO: result: no" >&5
5808 +echo "${ECHO_T}no" >&6; }
5813 if test -z "$ac_cv_prog_RANLIB"; then
5814 ac_ct_RANLIB=$RANLIB
5815 # Extract the first word of "ranlib", so it can be a program name with args.
5816 set dummy ranlib; ac_word=$2
5817 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5818 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5819 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5820 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5821 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 @@ -5329,27 +5859,41 @@ do
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_ac_ct_RANLIB="ranlib"
5831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5841 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5842 if test -n "$ac_ct_RANLIB"; then
5843 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5844 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5845 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5846 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5848 - echo "$as_me:$LINENO: result: no" >&5
5849 -echo "${ECHO_T}no" >&6
5850 + { echo "$as_me:$LINENO: result: no" >&5
5851 +echo "${ECHO_T}no" >&6; }
5854 - RANLIB=$ac_ct_RANLIB
5855 + if test "x$ac_ct_RANLIB" = x; then
5858 + case $cross_compiling:$ac_tool_warned in
5860 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5861 +whose name does not start with the host triplet. If you think this
5862 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5863 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5864 +whose name does not start with the host triplet. If you think this
5865 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5866 +ac_tool_warned=yes ;;
5868 + RANLIB=$ac_ct_RANLIB
5871 RANLIB="$ac_cv_prog_RANLIB"
5873 @@ -5359,8 +5903,8 @@ ac_cpp='$CPP $CPPFLAGS'
5874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5877 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5878 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5879 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5880 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5881 # On Suns, sometimes $CPP names a directory.
5882 if test -n "$CPP" && test -d "$CPP"; then
5884 @@ -5394,24 +5938,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5888 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5889 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5890 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5891 +case "(($ac_try" in
5892 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5893 + *) ac_try_echo=$ac_try;;
5895 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5896 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5898 grep -v '^ *+' conftest.er1 >conftest.err
5900 cat conftest.err >&5
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 - (exit $ac_status); } >/dev/null; then
5903 - if test -s conftest.err; then
5904 - ac_cpp_err=$ac_c_preproc_warn_flag
5905 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5912 -if test -z "$ac_cpp_err"; then
5913 + (exit $ac_status); } >/dev/null && {
5914 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5915 + test ! -s conftest.err
5919 echo "$as_me: failed program was:" >&5
5920 @@ -5420,9 +5962,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
5921 # Broken: fails on valid input.
5925 rm -f conftest.err conftest.$ac_ext
5927 - # OK, works on sane cases. Now check whether non-existent headers
5928 + # OK, works on sane cases. Now check whether nonexistent headers
5929 # can be detected and how.
5930 cat >conftest.$ac_ext <<_ACEOF
5932 @@ -5432,24 +5975,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5933 /* end confdefs.h. */
5934 #include <ac_nonexistent.h>
5936 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5937 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5938 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5939 +case "(($ac_try" in
5940 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5941 + *) ac_try_echo=$ac_try;;
5943 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5944 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5946 grep -v '^ *+' conftest.er1 >conftest.err
5948 cat conftest.err >&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 - (exit $ac_status); } >/dev/null; then
5951 - if test -s conftest.err; then
5952 - ac_cpp_err=$ac_c_preproc_warn_flag
5953 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5960 -if test -z "$ac_cpp_err"; then
5961 + (exit $ac_status); } >/dev/null && {
5962 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5963 + test ! -s conftest.err
5965 # Broken: success on invalid input.
5968 @@ -5460,6 +6001,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
5973 rm -f conftest.err conftest.$ac_ext
5976 @@ -5477,8 +6019,8 @@ fi
5980 -echo "$as_me:$LINENO: result: $CPP" >&5
5981 -echo "${ECHO_T}$CPP" >&6
5982 +{ echo "$as_me:$LINENO: result: $CPP" >&5
5983 +echo "${ECHO_T}$CPP" >&6; }
5985 for ac_c_preproc_warn_flag in '' yes
5987 @@ -5501,24 +6043,22 @@ cat >>conftest.$ac_ext <<_ACEOF
5991 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5992 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5993 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5994 +case "(($ac_try" in
5995 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5996 + *) ac_try_echo=$ac_try;;
5998 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5999 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6001 grep -v '^ *+' conftest.er1 >conftest.err
6003 cat conftest.err >&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 - (exit $ac_status); } >/dev/null; then
6006 - if test -s conftest.err; then
6007 - ac_cpp_err=$ac_c_preproc_warn_flag
6008 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6015 -if test -z "$ac_cpp_err"; then
6016 + (exit $ac_status); } >/dev/null && {
6017 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6018 + test ! -s conftest.err
6022 echo "$as_me: failed program was:" >&5
6023 @@ -5527,9 +6067,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
6024 # Broken: fails on valid input.
6028 rm -f conftest.err conftest.$ac_ext
6030 - # OK, works on sane cases. Now check whether non-existent headers
6031 + # OK, works on sane cases. Now check whether nonexistent headers
6032 # can be detected and how.
6033 cat >conftest.$ac_ext <<_ACEOF
6035 @@ -5539,24 +6080,22 @@ cat >>conftest.$ac_ext <<_ACEOF
6036 /* end confdefs.h. */
6037 #include <ac_nonexistent.h>
6039 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6040 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6041 +if { (ac_try="$ac_cpp conftest.$ac_ext"
6042 +case "(($ac_try" in
6043 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6044 + *) ac_try_echo=$ac_try;;
6046 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6047 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6049 grep -v '^ *+' conftest.er1 >conftest.err
6051 cat conftest.err >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 - (exit $ac_status); } >/dev/null; then
6054 - if test -s conftest.err; then
6055 - ac_cpp_err=$ac_c_preproc_warn_flag
6056 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6063 -if test -z "$ac_cpp_err"; then
6064 + (exit $ac_status); } >/dev/null && {
6065 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6066 + test ! -s conftest.err
6068 # Broken: success on invalid input.
6071 @@ -5567,6 +6106,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
6076 rm -f conftest.err conftest.$ac_ext
6079 @@ -5589,87 +6129,230 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
6080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6083 -echo "$as_me:$LINENO: checking for egrep" >&5
6084 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6085 -if test "${ac_cv_prog_egrep+set}" = set; then
6086 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6087 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6088 +if test "${ac_cv_path_GREP+set}" = set; then
6089 + echo $ECHO_N "(cached) $ECHO_C" >&6
6091 + # Extract the first word of "grep ggrep" to use in msg output
6092 +if test -z "$GREP"; then
6093 +set dummy grep ggrep; ac_prog_name=$2
6094 +if test "${ac_cv_path_GREP+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6098 - then ac_cv_prog_egrep='grep -E'
6099 - else ac_cv_prog_egrep='egrep'
6100 + ac_path_GREP_found=false
6101 +# Loop through the user's path and test for each of PROGNAME-LIST
6102 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6106 + test -z "$as_dir" && as_dir=.
6107 + for ac_prog in grep ggrep; do
6108 + for ac_exec_ext in '' $ac_executable_extensions; do
6109 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6110 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6111 + # Check for GNU ac_path_GREP and select it if it is found.
6112 + # Check for GNU $ac_path_GREP
6113 +case `"$ac_path_GREP" --version 2>&1` in
6115 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6118 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6121 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6122 + mv "conftest.tmp" "conftest.in"
6123 + cp "conftest.in" "conftest.nl"
6124 + echo 'GREP' >> "conftest.nl"
6125 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6126 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6127 + ac_count=`expr $ac_count + 1`
6128 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
6129 + # Best one so far, save it but keep looking for a better one
6130 + ac_cv_path_GREP="$ac_path_GREP"
6131 + ac_path_GREP_max=$ac_count
6134 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6135 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6136 - EGREP=$ac_cv_prog_egrep
6137 + # 10*(2^10) chars as input seems more than enough
6138 + test $ac_count -gt 10 && break
6140 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6144 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6145 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6146 -if test "${ac_cv_header_stdc+set}" = set; then
6147 - echo $ECHO_N "(cached) $ECHO_C" >&6
6149 - cat >conftest.$ac_ext <<_ACEOF
6152 -cat confdefs.h >>conftest.$ac_ext
6153 -cat >>conftest.$ac_ext <<_ACEOF
6154 -/* end confdefs.h. */
6155 -#include <stdlib.h>
6156 -#include <stdarg.h>
6157 -#include <string.h>
6159 + $ac_path_GREP_found && break 3
6173 -rm -f conftest.$ac_objext
6174 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175 - (eval $ac_compile) 2>conftest.er1
6177 - grep -v '^ *+' conftest.er1 >conftest.err
6178 - rm -f conftest.er1
6179 - cat conftest.err >&5
6180 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 - (exit $ac_status); } &&
6182 - { ac_try='test -z "$ac_c_werror_flag"
6183 - || test ! -s conftest.err'
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); }; } &&
6189 - { ac_try='test -s conftest.$ac_objext'
6190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6191 - (eval $ac_try) 2>&5
6193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6194 - (exit $ac_status); }; }; then
6195 - ac_cv_header_stdc=yes
6197 - echo "$as_me: failed program was:" >&5
6198 -sed 's/^/| /' conftest.$ac_ext >&5
6200 -ac_cv_header_stdc=no
6202 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6204 -if test $ac_cv_header_stdc = yes; then
6205 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6206 - cat >conftest.$ac_ext <<_ACEOF
6209 -cat confdefs.h >>conftest.$ac_ext
6210 -cat >>conftest.$ac_ext <<_ACEOF
6211 -/* end confdefs.h. */
6212 -#include <string.h>
6213 +GREP="$ac_cv_path_GREP"
6214 +if test -z "$GREP"; then
6215 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6216 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6217 + { (exit 1); exit 1; }; }
6222 + ac_cv_path_GREP=$GREP
6227 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6228 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6229 + GREP="$ac_cv_path_GREP"
6232 +{ echo "$as_me:$LINENO: checking for egrep" >&5
6233 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6234 +if test "${ac_cv_path_EGREP+set}" = set; then
6235 + echo $ECHO_N "(cached) $ECHO_C" >&6
6237 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6238 + then ac_cv_path_EGREP="$GREP -E"
6240 + # Extract the first word of "egrep" to use in msg output
6241 +if test -z "$EGREP"; then
6242 +set dummy egrep; ac_prog_name=$2
6243 +if test "${ac_cv_path_EGREP+set}" = set; then
6244 + echo $ECHO_N "(cached) $ECHO_C" >&6
6246 + ac_path_EGREP_found=false
6247 +# Loop through the user's path and test for each of PROGNAME-LIST
6248 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6252 + test -z "$as_dir" && as_dir=.
6253 + for ac_prog in egrep; do
6254 + for ac_exec_ext in '' $ac_executable_extensions; do
6255 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6256 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6257 + # Check for GNU ac_path_EGREP and select it if it is found.
6258 + # Check for GNU $ac_path_EGREP
6259 +case `"$ac_path_EGREP" --version 2>&1` in
6261 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6264 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6267 + cat "conftest.in" "conftest.in" >"conftest.tmp"
6268 + mv "conftest.tmp" "conftest.in"
6269 + cp "conftest.in" "conftest.nl"
6270 + echo 'EGREP' >> "conftest.nl"
6271 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6272 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6273 + ac_count=`expr $ac_count + 1`
6274 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6275 + # Best one so far, save it but keep looking for a better one
6276 + ac_cv_path_EGREP="$ac_path_EGREP"
6277 + ac_path_EGREP_max=$ac_count
6279 + # 10*(2^10) chars as input seems more than enough
6280 + test $ac_count -gt 10 && break
6282 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6286 + $ac_path_EGREP_found && break 3
6296 +EGREP="$ac_cv_path_EGREP"
6297 +if test -z "$EGREP"; then
6298 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6299 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6300 + { (exit 1); exit 1; }; }
6304 + ac_cv_path_EGREP=$EGREP
6310 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6311 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6312 + EGREP="$ac_cv_path_EGREP"
6315 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6316 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6317 +if test "${ac_cv_header_stdc+set}" = set; then
6318 + echo $ECHO_N "(cached) $ECHO_C" >&6
6320 + cat >conftest.$ac_ext <<_ACEOF
6323 +cat confdefs.h >>conftest.$ac_ext
6324 +cat >>conftest.$ac_ext <<_ACEOF
6325 +/* end confdefs.h. */
6326 +#include <stdlib.h>
6327 +#include <stdarg.h>
6328 +#include <string.h>
6339 +rm -f conftest.$ac_objext
6340 +if { (ac_try="$ac_compile"
6341 +case "(($ac_try" in
6342 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6343 + *) ac_try_echo=$ac_try;;
6345 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6346 + (eval "$ac_compile") 2>conftest.er1
6348 + grep -v '^ *+' conftest.er1 >conftest.err
6349 + rm -f conftest.er1
6350 + cat conftest.err >&5
6351 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 + (exit $ac_status); } && {
6353 + test -z "$ac_c_werror_flag" ||
6354 + test ! -s conftest.err
6355 + } && test -s conftest.$ac_objext; then
6356 + ac_cv_header_stdc=yes
6358 + echo "$as_me: failed program was:" >&5
6359 +sed 's/^/| /' conftest.$ac_ext >&5
6361 + ac_cv_header_stdc=no
6364 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6366 +if test $ac_cv_header_stdc = yes; then
6367 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6368 + cat >conftest.$ac_ext <<_ACEOF
6371 +cat confdefs.h >>conftest.$ac_ext
6372 +cat >>conftest.$ac_ext <<_ACEOF
6373 +/* end confdefs.h. */
6374 +#include <string.h>
6377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6378 $EGREP "memchr" >/dev/null 2>&1; then
6380 @@ -5713,6 +6396,7 @@ cat confdefs.h >>conftest.$ac_ext
6381 cat >>conftest.$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6384 +#include <stdlib.h>
6385 #if ((' ' & 0x0FF) == 0x020)
6386 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6387 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6388 @@ -5732,18 +6416,27 @@ main ()
6389 for (i = 0; i < 256; i++)
6390 if (XOR (islower (i), ISLOWER (i))
6391 || toupper (i) != TOUPPER (i))
6398 rm -f conftest$ac_exeext
6399 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6400 - (eval $ac_link) 2>&5
6401 +if { (ac_try="$ac_link"
6402 +case "(($ac_try" in
6403 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6404 + *) ac_try_echo=$ac_try;;
6406 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6407 + (eval "$ac_link") 2>&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6411 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 - (eval $ac_try) 2>&5
6413 + { (case "(($ac_try" in
6414 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6415 + *) ac_try_echo=$ac_try;;
6417 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6418 + (eval "$ac_try") 2>&5
6420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6421 (exit $ac_status); }; }; then
6422 @@ -5756,12 +6449,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
6424 ac_cv_header_stdc=no
6426 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6427 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6433 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6434 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
6435 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6436 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6437 if test $ac_cv_header_stdc = yes; then
6439 cat >>confdefs.h <<\_ACEOF
6440 @@ -5770,8 +6465,8 @@ _ACEOF
6444 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6445 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6446 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6447 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
6448 if test "${ac_cv_c_const+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6451 @@ -5789,10 +6484,10 @@ main ()
6453 /* Ultrix mips cc rejects this. */
6454 typedef int charset[2];
6457 /* SunOS 4.1.1 cc rejects this. */
6458 - char const *const *ccp;
6460 + char const *const *pcpcc;
6462 /* NEC SVR4.0.2 mips cc rejects this. */
6463 struct point {int x, y;};
6464 static struct point const zero = {0,0};
6465 @@ -5801,16 +6496,17 @@ main ()
6466 an arm of an if-expression whose if-part is not a constant
6468 const char *g = "string";
6469 - ccp = &g + (g ? g-g : 0);
6470 + pcpcc = &g + (g ? g-g : 0);
6471 /* HPUX 7.0 cc rejects these. */
6474 - ccp = (char const *const *) p;
6476 + ppc = (char**) pcpcc;
6477 + pcpcc = (char const *const *) ppc;
6478 { /* SCO 3.2v4 cc rejects this. */
6480 char const *s = 0 ? (char *) 0 : (char const *) 0;
6485 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6487 @@ -5829,7 +6525,9 @@ main ()
6489 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6491 + if (!foo) return 0;
6493 + return !cs[0] && !zero.x;
6497 @@ -5837,38 +6535,34 @@ main ()
6500 rm -f conftest.$ac_objext
6501 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6502 - (eval $ac_compile) 2>conftest.er1
6503 +if { (ac_try="$ac_compile"
6504 +case "(($ac_try" in
6505 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6506 + *) ac_try_echo=$ac_try;;
6508 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6509 + (eval "$ac_compile") 2>conftest.er1
6511 grep -v '^ *+' conftest.er1 >conftest.err
6513 cat conftest.err >&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 - (exit $ac_status); } &&
6516 - { ac_try='test -z "$ac_c_werror_flag"
6517 - || test ! -s conftest.err'
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); }; } &&
6523 - { ac_try='test -s conftest.$ac_objext'
6524 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525 - (eval $ac_try) 2>&5
6527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 - (exit $ac_status); }; }; then
6529 + (exit $ac_status); } && {
6530 + test -z "$ac_c_werror_flag" ||
6531 + test ! -s conftest.err
6532 + } && test -s conftest.$ac_objext; then
6535 echo "$as_me: failed program was:" >&5
6536 sed 's/^/| /' conftest.$ac_ext >&5
6541 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6543 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6546 -echo "${ECHO_T}$ac_cv_c_const" >&6
6547 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6548 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
6549 if test $ac_cv_c_const = no; then
6551 cat >>confdefs.h <<\_ACEOF
6552 @@ -5877,8 +6571,8 @@ _ACEOF
6556 -echo "$as_me:$LINENO: checking for inline" >&5
6557 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
6558 +{ echo "$as_me:$LINENO: checking for inline" >&5
6559 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
6560 if test "${ac_cv_c_inline+set}" = set; then
6561 echo $ECHO_N "(cached) $ECHO_C" >&6
6563 @@ -5898,39 +6592,37 @@ $ac_kw foo_t foo () {return 0; }
6566 rm -f conftest.$ac_objext
6567 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6568 - (eval $ac_compile) 2>conftest.er1
6569 +if { (ac_try="$ac_compile"
6570 +case "(($ac_try" in
6571 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6572 + *) ac_try_echo=$ac_try;;
6574 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6575 + (eval "$ac_compile") 2>conftest.er1
6577 grep -v '^ *+' conftest.er1 >conftest.err
6579 cat conftest.err >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 - (exit $ac_status); } &&
6582 - { ac_try='test -z "$ac_c_werror_flag"
6583 - || test ! -s conftest.err'
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); }; } &&
6589 - { ac_try='test -s conftest.$ac_objext'
6590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6591 - (eval $ac_try) 2>&5
6593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 - (exit $ac_status); }; }; then
6595 - ac_cv_c_inline=$ac_kw; break
6596 + (exit $ac_status); } && {
6597 + test -z "$ac_c_werror_flag" ||
6598 + test ! -s conftest.err
6599 + } && test -s conftest.$ac_objext; then
6600 + ac_cv_c_inline=$ac_kw
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6607 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6609 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6610 + test "$ac_cv_c_inline" != no && break
6614 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6615 -echo "${ECHO_T}$ac_cv_c_inline" >&6
6616 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6617 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
6620 case $ac_cv_c_inline in
6621 @@ -5962,9 +6654,9 @@ for ac_header in sys/types.h sys/stat.h
6622 inttypes.h stdint.h unistd.h
6624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6625 -echo "$as_me:$LINENO: checking for $ac_header" >&5
6626 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6627 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
6628 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6629 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6630 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6631 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 cat >conftest.$ac_ext <<_ACEOF
6634 @@ -5978,38 +6670,35 @@ $ac_includes_default
6635 #include <$ac_header>
6637 rm -f conftest.$ac_objext
6638 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6639 - (eval $ac_compile) 2>conftest.er1
6640 +if { (ac_try="$ac_compile"
6641 +case "(($ac_try" in
6642 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6643 + *) ac_try_echo=$ac_try;;
6645 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6646 + (eval "$ac_compile") 2>conftest.er1
6648 grep -v '^ *+' conftest.er1 >conftest.err
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 - (exit $ac_status); } &&
6653 - { ac_try='test -z "$ac_c_werror_flag"
6654 - || test ! -s conftest.err'
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); }; } &&
6660 - { ac_try='test -s conftest.$ac_objext'
6661 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662 - (eval $ac_try) 2>&5
6664 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6665 - (exit $ac_status); }; }; then
6666 + (exit $ac_status); } && {
6667 + test -z "$ac_c_werror_flag" ||
6668 + test ! -s conftest.err
6669 + } && test -s conftest.$ac_objext; then
6670 eval "$as_ac_Header=yes"
6672 echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.$ac_ext >&5
6675 -eval "$as_ac_Header=no"
6676 + eval "$as_ac_Header=no"
6678 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6680 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6682 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6683 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6684 +ac_res=`eval echo '${'$as_ac_Header'}'`
6685 + { echo "$as_me:$LINENO: result: $ac_res" >&5
6686 +echo "${ECHO_T}$ac_res" >&6; }
6687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6688 cat >>confdefs.h <<_ACEOF
6689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6690 @@ -6020,8 +6709,8 @@ fi
6694 -echo "$as_me:$LINENO: checking for off_t" >&5
6695 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6696 +{ echo "$as_me:$LINENO: checking for off_t" >&5
6697 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6698 if test "${ac_cv_type_off_t+set}" = set; then
6699 echo $ECHO_N "(cached) $ECHO_C" >&6
6701 @@ -6032,62 +6721,59 @@ cat confdefs.h >>conftest.$ac_ext
6702 cat >>conftest.$ac_ext <<_ACEOF
6703 /* end confdefs.h. */
6704 $ac_includes_default
6705 +typedef off_t ac__type_new_;
6710 +if ((ac__type_new_ *) 0)
6712 -if (sizeof (off_t))
6713 +if (sizeof (ac__type_new_))
6719 rm -f conftest.$ac_objext
6720 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6721 - (eval $ac_compile) 2>conftest.er1
6722 +if { (ac_try="$ac_compile"
6723 +case "(($ac_try" in
6724 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6725 + *) ac_try_echo=$ac_try;;
6727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728 + (eval "$ac_compile") 2>conftest.er1
6730 grep -v '^ *+' conftest.er1 >conftest.err
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 - (exit $ac_status); } &&
6735 - { ac_try='test -z "$ac_c_werror_flag"
6736 - || test ! -s conftest.err'
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); }; } &&
6742 - { ac_try='test -s conftest.$ac_objext'
6743 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6744 - (eval $ac_try) 2>&5
6746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6747 - (exit $ac_status); }; }; then
6748 + (exit $ac_status); } && {
6749 + test -z "$ac_c_werror_flag" ||
6750 + test ! -s conftest.err
6751 + } && test -s conftest.$ac_objext; then
6752 ac_cv_type_off_t=yes
6754 echo "$as_me: failed program was:" >&5
6755 sed 's/^/| /' conftest.$ac_ext >&5
6757 -ac_cv_type_off_t=no
6758 + ac_cv_type_off_t=no
6760 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6762 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6764 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6765 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
6766 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6767 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6768 if test $ac_cv_type_off_t = yes; then
6772 cat >>confdefs.h <<_ACEOF
6774 +#define off_t long int
6779 -echo "$as_me:$LINENO: checking for size_t" >&5
6780 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6781 +{ echo "$as_me:$LINENO: checking for size_t" >&5
6782 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
6783 if test "${ac_cv_type_size_t+set}" = set; then
6784 echo $ECHO_N "(cached) $ECHO_C" >&6
6786 @@ -6098,64 +6784,61 @@ cat confdefs.h >>conftest.$ac_ext
6787 cat >>conftest.$ac_ext <<_ACEOF
6788 /* end confdefs.h. */
6789 $ac_includes_default
6790 +typedef size_t ac__type_new_;
6795 +if ((ac__type_new_ *) 0)
6797 -if (sizeof (size_t))
6798 +if (sizeof (ac__type_new_))
6804 rm -f conftest.$ac_objext
6805 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6806 - (eval $ac_compile) 2>conftest.er1
6807 +if { (ac_try="$ac_compile"
6808 +case "(($ac_try" in
6809 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6810 + *) ac_try_echo=$ac_try;;
6812 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6813 + (eval "$ac_compile") 2>conftest.er1
6815 grep -v '^ *+' conftest.er1 >conftest.err
6817 cat conftest.err >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 - (exit $ac_status); } &&
6820 - { ac_try='test -z "$ac_c_werror_flag"
6821 - || test ! -s conftest.err'
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); }; } &&
6827 - { ac_try='test -s conftest.$ac_objext'
6828 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 - (eval $ac_try) 2>&5
6831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6832 - (exit $ac_status); }; }; then
6833 + (exit $ac_status); } && {
6834 + test -z "$ac_c_werror_flag" ||
6835 + test ! -s conftest.err
6836 + } && test -s conftest.$ac_objext; then
6837 ac_cv_type_size_t=yes
6839 echo "$as_me: failed program was:" >&5
6840 sed 's/^/| /' conftest.$ac_ext >&5
6842 -ac_cv_type_size_t=no
6843 + ac_cv_type_size_t=no
6845 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6847 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6849 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6850 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
6851 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6852 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
6853 if test $ac_cv_type_size_t = yes; then
6857 cat >>confdefs.h <<_ACEOF
6858 -#define size_t unsigned
6859 +#define size_t unsigned int
6864 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6865 # for constant arguments. Useless!
6866 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
6867 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
6868 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
6869 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6870 if test "${ac_cv_working_alloca_h+set}" = set; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 @@ -6170,44 +6853,42 @@ int
6876 char *p = (char *) alloca (2 * sizeof (int));
6882 rm -f conftest.$ac_objext conftest$ac_exeext
6883 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6884 - (eval $ac_link) 2>conftest.er1
6885 +if { (ac_try="$ac_link"
6886 +case "(($ac_try" in
6887 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 + *) ac_try_echo=$ac_try;;
6890 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 + (eval "$ac_link") 2>conftest.er1
6893 grep -v '^ *+' conftest.er1 >conftest.err
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 - (exit $ac_status); } &&
6898 - { ac_try='test -z "$ac_c_werror_flag"
6899 - || test ! -s conftest.err'
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); }; } &&
6905 - { ac_try='test -s conftest$ac_exeext'
6906 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 - (eval $ac_try) 2>&5
6909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 - (exit $ac_status); }; }; then
6911 + (exit $ac_status); } && {
6912 + test -z "$ac_c_werror_flag" ||
6913 + test ! -s conftest.err
6914 + } && test -s conftest$ac_exeext &&
6915 + $as_test_x conftest$ac_exeext; then
6916 ac_cv_working_alloca_h=yes
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.$ac_ext >&5
6921 -ac_cv_working_alloca_h=no
6922 + ac_cv_working_alloca_h=no
6924 -rm -f conftest.err conftest.$ac_objext \
6926 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6927 conftest$ac_exeext conftest.$ac_ext
6929 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6930 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
6931 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6932 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6933 if test $ac_cv_working_alloca_h = yes; then
6935 cat >>confdefs.h <<\_ACEOF
6936 @@ -6216,8 +6897,8 @@ _ACEOF
6940 -echo "$as_me:$LINENO: checking for alloca" >&5
6941 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
6942 +{ echo "$as_me:$LINENO: checking for alloca" >&5
6943 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6944 if test "${ac_cv_func_alloca_works+set}" = set; then
6945 echo $ECHO_N "(cached) $ECHO_C" >&6
6947 @@ -6234,7 +6915,7 @@ cat >>conftest.$ac_ext <<_ACEOF
6948 # include <malloc.h>
6949 # define alloca _alloca
6952 +# ifdef HAVE_ALLOCA_H
6953 # include <alloca.h>
6956 @@ -6252,44 +6933,42 @@ int
6959 char *p = (char *) alloca (1);
6965 rm -f conftest.$ac_objext conftest$ac_exeext
6966 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6967 - (eval $ac_link) 2>conftest.er1
6968 +if { (ac_try="$ac_link"
6969 +case "(($ac_try" in
6970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6971 + *) ac_try_echo=$ac_try;;
6973 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6974 + (eval "$ac_link") 2>conftest.er1
6976 grep -v '^ *+' conftest.er1 >conftest.err
6978 cat conftest.err >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 - (exit $ac_status); } &&
6981 - { ac_try='test -z "$ac_c_werror_flag"
6982 - || test ! -s conftest.err'
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); }; } &&
6988 - { ac_try='test -s conftest$ac_exeext'
6989 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 - (eval $ac_try) 2>&5
6992 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 - (exit $ac_status); }; }; then
6994 + (exit $ac_status); } && {
6995 + test -z "$ac_c_werror_flag" ||
6996 + test ! -s conftest.err
6997 + } && test -s conftest$ac_exeext &&
6998 + $as_test_x conftest$ac_exeext; then
6999 ac_cv_func_alloca_works=yes
7001 echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.$ac_ext >&5
7004 -ac_cv_func_alloca_works=no
7005 + ac_cv_func_alloca_works=no
7007 -rm -f conftest.err conftest.$ac_objext \
7009 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7010 conftest$ac_exeext conftest.$ac_ext
7012 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7013 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
7014 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
7015 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
7017 if test $ac_cv_func_alloca_works = yes; then
7019 @@ -6303,15 +6982,15 @@ else
7020 # contain a buggy version. If you still want to use their alloca,
7021 # use ar to extract alloca.o from them instead of compiling alloca.c.
7023 -ALLOCA=alloca.$ac_objext
7024 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7026 cat >>confdefs.h <<\_ACEOF
7031 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7032 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
7033 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
7034 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
7035 if test "${ac_cv_os_cray+set}" = set; then
7036 echo $ECHO_N "(cached) $ECHO_C" >&6
7038 @@ -6321,7 +7000,7 @@ _ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 -#if defined(CRAY) && ! defined(CRAY2)
7043 +#if defined CRAY && ! defined CRAY2
7047 @@ -6337,14 +7016,14 @@ fi
7051 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7052 -echo "${ECHO_T}$ac_cv_os_cray" >&6
7053 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
7054 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
7055 if test $ac_cv_os_cray = yes; then
7056 for ac_func in _getb67 GETB67 getb67; do
7057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7058 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7059 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7060 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7061 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7062 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7063 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7064 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 cat >conftest.$ac_ext <<_ACEOF
7067 @@ -6370,68 +7049,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7071 -/* Override any gcc2 internal prototype to avoid an error. */
7072 +/* Override any GCC internal prototype to avoid an error.
7073 + Use char because int might match the return type of a GCC
7074 + builtin and then its argument prototype would still apply. */
7079 -/* We use char because int might match the return type of a gcc2
7080 - builtin and then its argument prototype would still apply. */
7082 /* The GNU C library defines this for functions which it implements
7083 to always fail with ENOSYS. Some functions are actually named
7084 something starting with __ and the normal name is an alias. */
7085 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7086 +#if defined __stub_$ac_func || defined __stub___$ac_func
7089 -char (*f) () = $ac_func;
7098 -return f != $ac_func;
7099 +return $ac_func ();
7104 rm -f conftest.$ac_objext conftest$ac_exeext
7105 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7106 - (eval $ac_link) 2>conftest.er1
7107 +if { (ac_try="$ac_link"
7108 +case "(($ac_try" in
7109 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7110 + *) ac_try_echo=$ac_try;;
7112 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7113 + (eval "$ac_link") 2>conftest.er1
7115 grep -v '^ *+' conftest.er1 >conftest.err
7117 cat conftest.err >&5
7118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119 - (exit $ac_status); } &&
7120 - { ac_try='test -z "$ac_c_werror_flag"
7121 - || test ! -s conftest.err'
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); }; } &&
7127 - { ac_try='test -s conftest$ac_exeext'
7128 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 - (eval $ac_try) 2>&5
7131 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 - (exit $ac_status); }; }; then
7133 + (exit $ac_status); } && {
7134 + test -z "$ac_c_werror_flag" ||
7135 + test ! -s conftest.err
7136 + } && test -s conftest$ac_exeext &&
7137 + $as_test_x conftest$ac_exeext; then
7138 eval "$as_ac_var=yes"
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7143 -eval "$as_ac_var=no"
7144 + eval "$as_ac_var=no"
7146 -rm -f conftest.err conftest.$ac_objext \
7148 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7149 conftest$ac_exeext conftest.$ac_ext
7151 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7152 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7153 +ac_res=`eval echo '${'$as_ac_var'}'`
7154 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7155 +echo "${ECHO_T}$ac_res" >&6; }
7156 if test `eval echo '${'$as_ac_var'}'` = yes; then
7158 cat >>confdefs.h <<_ACEOF
7159 @@ -6444,8 +7115,8 @@ fi
7163 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7164 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
7165 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7166 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7167 if test "${ac_cv_c_stack_direction+set}" = set; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6
7170 @@ -6458,6 +7129,7 @@ _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 +$ac_includes_default
7176 find_stack_direction ()
7178 @@ -6475,17 +7147,26 @@ find_stack_direction ()
7182 - exit (find_stack_direction () < 0);
7183 + return find_stack_direction () < 0;
7186 rm -f conftest$ac_exeext
7187 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7188 - (eval $ac_link) 2>&5
7189 +if { (ac_try="$ac_link"
7190 +case "(($ac_try" in
7191 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7192 + *) ac_try_echo=$ac_try;;
7194 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7195 + (eval "$ac_link") 2>&5
7197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7199 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 - (eval $ac_try) 2>&5
7201 + { (case "(($ac_try" in
7202 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7203 + *) ac_try_echo=$ac_try;;
7205 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7206 + (eval "$ac_try") 2>&5
7208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); }; }; then
7210 @@ -6498,11 +7179,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
7212 ac_cv_c_stack_direction=-1
7214 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7215 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7220 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7221 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
7222 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7223 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7225 cat >>confdefs.h <<_ACEOF
7226 #define STACK_DIRECTION $ac_cv_c_stack_direction
7227 @@ -6516,18 +7199,19 @@ fi
7228 for ac_header in stdlib.h unistd.h
7230 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7232 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7233 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7234 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7235 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7236 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7237 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7238 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6
7241 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7242 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7243 +ac_res=`eval echo '${'$as_ac_Header'}'`
7244 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7245 +echo "${ECHO_T}$ac_res" >&6; }
7247 # Is the header compilable?
7248 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7249 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7250 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7251 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7252 cat >conftest.$ac_ext <<_ACEOF
7255 @@ -6538,41 +7222,37 @@ $ac_includes_default
7256 #include <$ac_header>
7258 rm -f conftest.$ac_objext
7259 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7260 - (eval $ac_compile) 2>conftest.er1
7261 +if { (ac_try="$ac_compile"
7262 +case "(($ac_try" in
7263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7264 + *) ac_try_echo=$ac_try;;
7266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7267 + (eval "$ac_compile") 2>conftest.er1
7269 grep -v '^ *+' conftest.er1 >conftest.err
7271 cat conftest.err >&5
7272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273 - (exit $ac_status); } &&
7274 - { ac_try='test -z "$ac_c_werror_flag"
7275 - || test ! -s conftest.err'
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); }; } &&
7281 - { ac_try='test -s conftest.$ac_objext'
7282 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 - (eval $ac_try) 2>&5
7285 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 - (exit $ac_status); }; }; then
7287 + (exit $ac_status); } && {
7288 + test -z "$ac_c_werror_flag" ||
7289 + test ! -s conftest.err
7290 + } && test -s conftest.$ac_objext; then
7291 ac_header_compiler=yes
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.$ac_ext >&5
7296 -ac_header_compiler=no
7297 + ac_header_compiler=no
7299 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7300 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7301 -echo "${ECHO_T}$ac_header_compiler" >&6
7303 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7304 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7305 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7307 # Is the header present?
7308 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7309 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7310 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7311 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7312 cat >conftest.$ac_ext <<_ACEOF
7315 @@ -6581,24 +7261,22 @@ cat >>conftest.$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7317 #include <$ac_header>
7319 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7320 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7321 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7322 +case "(($ac_try" in
7323 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7324 + *) ac_try_echo=$ac_try;;
7326 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7327 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7329 grep -v '^ *+' conftest.er1 >conftest.err
7331 cat conftest.err >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 - (exit $ac_status); } >/dev/null; then
7334 - if test -s conftest.err; then
7335 - ac_cpp_err=$ac_c_preproc_warn_flag
7336 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7343 -if test -z "$ac_cpp_err"; then
7344 + (exit $ac_status); } >/dev/null && {
7345 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7346 + test ! -s conftest.err
7348 ac_header_preproc=yes
7350 echo "$as_me: failed program was:" >&5
7351 @@ -6606,9 +7284,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
7353 ac_header_preproc=no
7356 rm -f conftest.err conftest.$ac_ext
7357 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7358 -echo "${ECHO_T}$ac_header_preproc" >&6
7359 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7360 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7362 # So? What about this header?
7363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7364 @@ -6632,25 +7311,19 @@ echo "$as_me: WARNING: $ac_header: s
7365 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7366 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7367 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7370 -## ------------------------------------------ ##
7371 -## Report this to the AC_PACKAGE_NAME lists. ##
7372 -## ------------------------------------------ ##
7375 - sed "s/^/$as_me: WARNING: /" >&2
7379 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7380 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7381 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7382 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7383 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7384 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7385 echo $ECHO_N "(cached) $ECHO_C" >&6
7387 eval "$as_ac_Header=\$ac_header_preproc"
7389 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7390 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7391 +ac_res=`eval echo '${'$as_ac_Header'}'`
7392 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7393 +echo "${ECHO_T}$ac_res" >&6; }
7396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7397 @@ -6666,9 +7339,9 @@ done
7398 for ac_func in getpagesize
7400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7401 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7402 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7403 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7404 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7405 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7406 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7407 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 cat >conftest.$ac_ext <<_ACEOF
7410 @@ -6694,68 +7367,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7414 -/* Override any gcc2 internal prototype to avoid an error. */
7415 +/* Override any GCC internal prototype to avoid an error.
7416 + Use char because int might match the return type of a GCC
7417 + builtin and then its argument prototype would still apply. */
7422 -/* We use char because int might match the return type of a gcc2
7423 - builtin and then its argument prototype would still apply. */
7425 /* The GNU C library defines this for functions which it implements
7426 to always fail with ENOSYS. Some functions are actually named
7427 something starting with __ and the normal name is an alias. */
7428 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7429 +#if defined __stub_$ac_func || defined __stub___$ac_func
7432 -char (*f) () = $ac_func;
7441 -return f != $ac_func;
7442 +return $ac_func ();
7447 rm -f conftest.$ac_objext conftest$ac_exeext
7448 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7449 - (eval $ac_link) 2>conftest.er1
7450 +if { (ac_try="$ac_link"
7451 +case "(($ac_try" in
7452 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453 + *) ac_try_echo=$ac_try;;
7455 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456 + (eval "$ac_link") 2>conftest.er1
7458 grep -v '^ *+' conftest.er1 >conftest.err
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 - (exit $ac_status); } &&
7463 - { ac_try='test -z "$ac_c_werror_flag"
7464 - || test ! -s conftest.err'
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); }; } &&
7470 - { ac_try='test -s conftest$ac_exeext'
7471 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7472 - (eval $ac_try) 2>&5
7474 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 - (exit $ac_status); }; }; then
7476 + (exit $ac_status); } && {
7477 + test -z "$ac_c_werror_flag" ||
7478 + test ! -s conftest.err
7479 + } && test -s conftest$ac_exeext &&
7480 + $as_test_x conftest$ac_exeext; then
7481 eval "$as_ac_var=yes"
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 -eval "$as_ac_var=no"
7487 + eval "$as_ac_var=no"
7489 -rm -f conftest.err conftest.$ac_objext \
7491 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7492 conftest$ac_exeext conftest.$ac_ext
7494 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7495 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7496 +ac_res=`eval echo '${'$as_ac_var'}'`
7497 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7498 +echo "${ECHO_T}$ac_res" >&6; }
7499 if test `eval echo '${'$as_ac_var'}'` = yes; then
7500 cat >>confdefs.h <<_ACEOF
7501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7502 @@ -6764,8 +7429,8 @@ _ACEOF
7506 -echo "$as_me:$LINENO: checking for working mmap" >&5
7507 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
7508 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
7509 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7510 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7511 echo $ECHO_N "(cached) $ECHO_C" >&6
7513 @@ -6807,21 +7472,21 @@ $ac_includes_default
7515 #include <sys/mman.h>
7517 -#if !STDC_HEADERS && !HAVE_STDLIB_H
7518 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7522 /* This mess was copied from the GNU getpagesize.h. */
7523 -#if !HAVE_GETPAGESIZE
7524 +#ifndef HAVE_GETPAGESIZE
7525 /* Assume that all systems that can run configure have sys/param.h. */
7526 -# if !HAVE_SYS_PARAM_H
7527 +# ifndef HAVE_SYS_PARAM_H
7528 # define HAVE_SYS_PARAM_H 1
7531 # ifdef _SC_PAGESIZE
7532 # define getpagesize() sysconf(_SC_PAGESIZE)
7533 # else /* no _SC_PAGESIZE */
7534 -# if HAVE_SYS_PARAM_H
7535 +# ifdef HAVE_SYS_PARAM_H
7536 # include <sys/param.h>
7537 # ifdef EXEC_PAGESIZE
7538 # define getpagesize() EXEC_PAGESIZE
7539 @@ -6860,15 +7525,15 @@ main ()
7540 /* First, make a file with some known garbage in it. */
7541 data = (char *) malloc (pagesize);
7545 for (i = 0; i < pagesize; ++i)
7546 *(data + i) = rand ();
7548 fd = creat ("conftest.mmap", 0600);
7552 if (write (fd, data, pagesize) != pagesize)
7557 /* Next, try to mmap the file at a fixed address which already has
7558 @@ -6876,17 +7541,17 @@ main ()
7559 we see the same garbage. */
7560 fd = open ("conftest.mmap", O_RDWR);
7564 data2 = (char *) malloc (2 * pagesize);
7567 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
7569 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7570 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7571 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7574 for (i = 0; i < pagesize; ++i)
7575 if (*(data + i) != *(data2 + i))
7579 /* Finally, make sure that changes to the mapped area do not
7580 percolate back to the file as seen by read(). (This is a bug on
7581 @@ -6895,24 +7560,33 @@ main ()
7582 *(data2 + i) = *(data2 + i) + 1;
7583 data3 = (char *) malloc (pagesize);
7587 if (read (fd, data3, pagesize) != pagesize)
7590 for (i = 0; i < pagesize; ++i)
7591 if (*(data + i) != *(data3 + i))
7599 rm -f conftest$ac_exeext
7600 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7601 - (eval $ac_link) 2>&5
7602 +if { (ac_try="$ac_link"
7603 +case "(($ac_try" in
7604 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7605 + *) ac_try_echo=$ac_try;;
7607 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7608 + (eval "$ac_link") 2>&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7612 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613 - (eval $ac_try) 2>&5
7614 + { (case "(($ac_try" in
7615 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7616 + *) ac_try_echo=$ac_try;;
7618 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7619 + (eval "$ac_try") 2>&5
7621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7622 (exit $ac_status); }; }; then
7623 @@ -6925,11 +7599,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
7625 ac_cv_func_mmap_fixed_mapped=no
7627 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7628 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7633 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7634 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
7635 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7636 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7637 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7639 cat >>confdefs.h <<\_ACEOF
7640 @@ -6953,18 +7629,19 @@ for ac_header in argz.h limits.h locale.
7641 unistd.h values.h sys/param.h
7643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7644 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7645 - echo "$as_me:$LINENO: checking for $ac_header" >&5
7646 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7647 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7648 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7649 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
7650 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7651 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7655 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7656 +ac_res=`eval echo '${'$as_ac_Header'}'`
7657 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7658 +echo "${ECHO_T}$ac_res" >&6; }
7660 # Is the header compilable?
7661 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
7662 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7663 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7664 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7665 cat >conftest.$ac_ext <<_ACEOF
7668 @@ -6975,41 +7652,37 @@ $ac_includes_default
7669 #include <$ac_header>
7671 rm -f conftest.$ac_objext
7672 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7673 - (eval $ac_compile) 2>conftest.er1
7674 +if { (ac_try="$ac_compile"
7675 +case "(($ac_try" in
7676 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7677 + *) ac_try_echo=$ac_try;;
7679 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7680 + (eval "$ac_compile") 2>conftest.er1
7682 grep -v '^ *+' conftest.er1 >conftest.err
7684 cat conftest.err >&5
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 - (exit $ac_status); } &&
7687 - { ac_try='test -z "$ac_c_werror_flag"
7688 - || test ! -s conftest.err'
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); }; } &&
7694 - { ac_try='test -s conftest.$ac_objext'
7695 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7696 - (eval $ac_try) 2>&5
7698 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7699 - (exit $ac_status); }; }; then
7700 + (exit $ac_status); } && {
7701 + test -z "$ac_c_werror_flag" ||
7702 + test ! -s conftest.err
7703 + } && test -s conftest.$ac_objext; then
7704 ac_header_compiler=yes
7706 echo "$as_me: failed program was:" >&5
7707 sed 's/^/| /' conftest.$ac_ext >&5
7709 -ac_header_compiler=no
7710 + ac_header_compiler=no
7712 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7713 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7714 -echo "${ECHO_T}$ac_header_compiler" >&6
7716 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7717 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7718 +echo "${ECHO_T}$ac_header_compiler" >&6; }
7720 # Is the header present?
7721 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
7722 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7723 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7724 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7725 cat >conftest.$ac_ext <<_ACEOF
7728 @@ -7018,24 +7691,22 @@ cat >>conftest.$ac_ext <<_ACEOF
7729 /* end confdefs.h. */
7730 #include <$ac_header>
7732 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7733 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7734 +if { (ac_try="$ac_cpp conftest.$ac_ext"
7735 +case "(($ac_try" in
7736 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7737 + *) ac_try_echo=$ac_try;;
7739 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7740 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7742 grep -v '^ *+' conftest.er1 >conftest.err
7744 cat conftest.err >&5
7745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 - (exit $ac_status); } >/dev/null; then
7747 - if test -s conftest.err; then
7748 - ac_cpp_err=$ac_c_preproc_warn_flag
7749 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7756 -if test -z "$ac_cpp_err"; then
7757 + (exit $ac_status); } >/dev/null && {
7758 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7759 + test ! -s conftest.err
7761 ac_header_preproc=yes
7763 echo "$as_me: failed program was:" >&5
7764 @@ -7043,9 +7714,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
7766 ac_header_preproc=no
7769 rm -f conftest.err conftest.$ac_ext
7770 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7771 -echo "${ECHO_T}$ac_header_preproc" >&6
7772 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7773 +echo "${ECHO_T}$ac_header_preproc" >&6; }
7775 # So? What about this header?
7776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7777 @@ -7069,25 +7741,19 @@ echo "$as_me: WARNING: $ac_header: s
7778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7783 -## ------------------------------------------ ##
7784 -## Report this to the AC_PACKAGE_NAME lists. ##
7785 -## ------------------------------------------ ##
7788 - sed "s/^/$as_me: WARNING: /" >&2
7792 -echo "$as_me:$LINENO: checking for $ac_header" >&5
7793 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7794 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
7795 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7796 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7797 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7798 echo $ECHO_N "(cached) $ECHO_C" >&6
7800 eval "$as_ac_Header=\$ac_header_preproc"
7802 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7803 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7804 +ac_res=`eval echo '${'$as_ac_Header'}'`
7805 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7806 +echo "${ECHO_T}$ac_res" >&6; }
7809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7810 @@ -7113,9 +7779,9 @@ for ac_func in getcwd munmap putenv sete
7811 __argz_count __argz_stringify __argz_next
7813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7814 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7815 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7816 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7817 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7818 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7819 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7820 echo $ECHO_N "(cached) $ECHO_C" >&6
7822 cat >conftest.$ac_ext <<_ACEOF
7823 @@ -7141,68 +7807,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7827 -/* Override any gcc2 internal prototype to avoid an error. */
7828 +/* Override any GCC internal prototype to avoid an error.
7829 + Use char because int might match the return type of a GCC
7830 + builtin and then its argument prototype would still apply. */
7835 -/* We use char because int might match the return type of a gcc2
7836 - builtin and then its argument prototype would still apply. */
7838 /* The GNU C library defines this for functions which it implements
7839 to always fail with ENOSYS. Some functions are actually named
7840 something starting with __ and the normal name is an alias. */
7841 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7842 +#if defined __stub_$ac_func || defined __stub___$ac_func
7845 -char (*f) () = $ac_func;
7854 -return f != $ac_func;
7855 +return $ac_func ();
7860 rm -f conftest.$ac_objext conftest$ac_exeext
7861 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7862 - (eval $ac_link) 2>conftest.er1
7863 +if { (ac_try="$ac_link"
7864 +case "(($ac_try" in
7865 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7866 + *) ac_try_echo=$ac_try;;
7868 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 + (eval "$ac_link") 2>conftest.er1
7871 grep -v '^ *+' conftest.er1 >conftest.err
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 - (exit $ac_status); } &&
7876 - { ac_try='test -z "$ac_c_werror_flag"
7877 - || test ! -s conftest.err'
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); }; } &&
7883 - { ac_try='test -s conftest$ac_exeext'
7884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 - (eval $ac_try) 2>&5
7887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 - (exit $ac_status); }; }; then
7889 + (exit $ac_status); } && {
7890 + test -z "$ac_c_werror_flag" ||
7891 + test ! -s conftest.err
7892 + } && test -s conftest$ac_exeext &&
7893 + $as_test_x conftest$ac_exeext; then
7894 eval "$as_ac_var=yes"
7896 echo "$as_me: failed program was:" >&5
7897 sed 's/^/| /' conftest.$ac_ext >&5
7899 -eval "$as_ac_var=no"
7900 + eval "$as_ac_var=no"
7902 -rm -f conftest.err conftest.$ac_objext \
7904 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7905 conftest$ac_exeext conftest.$ac_ext
7907 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7908 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7909 +ac_res=`eval echo '${'$as_ac_var'}'`
7910 + { echo "$as_me:$LINENO: result: $ac_res" >&5
7911 +echo "${ECHO_T}$ac_res" >&6; }
7912 if test `eval echo '${'$as_ac_var'}'` = yes; then
7913 cat >>confdefs.h <<_ACEOF
7914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7915 @@ -7217,9 +7875,9 @@ done
7916 for ac_func in stpcpy
7918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7919 -echo "$as_me:$LINENO: checking for $ac_func" >&5
7920 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7921 -if eval "test \"\${$as_ac_var+set}\" = set"; then
7922 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7923 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7924 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7925 echo $ECHO_N "(cached) $ECHO_C" >&6
7927 cat >conftest.$ac_ext <<_ACEOF
7928 @@ -7245,68 +7903,60 @@ cat >>conftest.$ac_ext <<_ACEOF
7932 -/* Override any gcc2 internal prototype to avoid an error. */
7933 +/* Override any GCC internal prototype to avoid an error.
7934 + Use char because int might match the return type of a GCC
7935 + builtin and then its argument prototype would still apply. */
7940 -/* We use char because int might match the return type of a gcc2
7941 - builtin and then its argument prototype would still apply. */
7943 /* The GNU C library defines this for functions which it implements
7944 to always fail with ENOSYS. Some functions are actually named
7945 something starting with __ and the normal name is an alias. */
7946 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7947 +#if defined __stub_$ac_func || defined __stub___$ac_func
7950 -char (*f) () = $ac_func;
7959 -return f != $ac_func;
7960 +return $ac_func ();
7965 rm -f conftest.$ac_objext conftest$ac_exeext
7966 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7967 - (eval $ac_link) 2>conftest.er1
7968 +if { (ac_try="$ac_link"
7969 +case "(($ac_try" in
7970 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7971 + *) ac_try_echo=$ac_try;;
7973 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7974 + (eval "$ac_link") 2>conftest.er1
7976 grep -v '^ *+' conftest.er1 >conftest.err
7978 cat conftest.err >&5
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 - (exit $ac_status); } &&
7981 - { ac_try='test -z "$ac_c_werror_flag"
7982 - || test ! -s conftest.err'
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); }; } &&
7988 - { ac_try='test -s conftest$ac_exeext'
7989 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 - (eval $ac_try) 2>&5
7992 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7993 - (exit $ac_status); }; }; then
7994 + (exit $ac_status); } && {
7995 + test -z "$ac_c_werror_flag" ||
7996 + test ! -s conftest.err
7997 + } && test -s conftest$ac_exeext &&
7998 + $as_test_x conftest$ac_exeext; then
7999 eval "$as_ac_var=yes"
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8004 -eval "$as_ac_var=no"
8005 + eval "$as_ac_var=no"
8007 -rm -f conftest.err conftest.$ac_objext \
8009 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8010 conftest$ac_exeext conftest.$ac_ext
8012 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8013 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8014 +ac_res=`eval echo '${'$as_ac_var'}'`
8015 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8016 +echo "${ECHO_T}$ac_res" >&6; }
8017 if test `eval echo '${'$as_ac_var'}'` = yes; then
8018 cat >>confdefs.h <<_ACEOF
8019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8020 @@ -7325,8 +7975,8 @@ _ACEOF
8023 if test $ac_cv_header_locale_h = yes; then
8024 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8025 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
8026 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
8027 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
8028 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
8029 echo $ECHO_N "(cached) $ECHO_C" >&6
8031 @@ -7346,39 +7996,36 @@ return LC_MESSAGES
8034 rm -f conftest.$ac_objext conftest$ac_exeext
8035 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8036 - (eval $ac_link) 2>conftest.er1
8037 +if { (ac_try="$ac_link"
8038 +case "(($ac_try" in
8039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8040 + *) ac_try_echo=$ac_try;;
8042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8043 + (eval "$ac_link") 2>conftest.er1
8045 grep -v '^ *+' conftest.er1 >conftest.err
8047 cat conftest.err >&5
8048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049 - (exit $ac_status); } &&
8050 - { ac_try='test -z "$ac_c_werror_flag"
8051 - || test ! -s conftest.err'
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); }; } &&
8057 - { ac_try='test -s conftest$ac_exeext'
8058 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059 - (eval $ac_try) 2>&5
8061 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 - (exit $ac_status); }; }; then
8063 + (exit $ac_status); } && {
8064 + test -z "$ac_c_werror_flag" ||
8065 + test ! -s conftest.err
8066 + } && test -s conftest$ac_exeext &&
8067 + $as_test_x conftest$ac_exeext; then
8068 am_cv_val_LC_MESSAGES=yes
8070 echo "$as_me: failed program was:" >&5
8071 sed 's/^/| /' conftest.$ac_ext >&5
8073 -am_cv_val_LC_MESSAGES=no
8074 + am_cv_val_LC_MESSAGES=no
8076 -rm -f conftest.err conftest.$ac_objext \
8078 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8079 conftest$ac_exeext conftest.$ac_ext
8081 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8082 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
8083 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
8084 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
8085 if test $am_cv_val_LC_MESSAGES = yes; then
8087 cat >>confdefs.h <<\_ACEOF
8088 @@ -7387,34 +8034,34 @@ _ACEOF
8092 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8093 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
8094 - # Check whether --enable-nls or --disable-nls was given.
8095 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
8096 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
8097 + # Check whether --enable-nls was given.
8098 if test "${enable_nls+set}" = set; then
8099 - enableval="$enable_nls"
8100 - USE_NLS=$enableval
8101 + enableval=$enable_nls; USE_NLS=$enableval
8105 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
8106 -echo "${ECHO_T}$USE_NLS" >&6
8109 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
8110 +echo "${ECHO_T}$USE_NLS" >&6; }
8113 USE_INCLUDED_LIBINTL=no
8115 if test "$USE_NLS" = "yes"; then
8116 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8117 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
8118 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
8119 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
8121 -# Check whether --with-included-gettext or --without-included-gettext was given.
8122 +# Check whether --with-included-gettext was given.
8123 if test "${with_included_gettext+set}" = set; then
8124 - withval="$with_included_gettext"
8125 - nls_cv_force_use_gnu_gettext=$withval
8126 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
8128 nls_cv_force_use_gnu_gettext=no
8130 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8131 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
8134 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
8135 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
8137 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
8138 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
8139 @@ -7423,17 +8070,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
8142 if test "${ac_cv_header_libintl_h+set}" = set; then
8143 - echo "$as_me:$LINENO: checking for libintl.h" >&5
8144 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8145 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
8146 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8147 if test "${ac_cv_header_libintl_h+set}" = set; then
8148 echo $ECHO_N "(cached) $ECHO_C" >&6
8150 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8151 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8152 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8153 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8155 # Is the header compilable?
8156 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
8157 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
8158 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
8159 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
8160 cat >conftest.$ac_ext <<_ACEOF
8163 @@ -7444,41 +8091,37 @@ $ac_includes_default
8164 #include <libintl.h>
8166 rm -f conftest.$ac_objext
8167 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8168 - (eval $ac_compile) 2>conftest.er1
8169 +if { (ac_try="$ac_compile"
8170 +case "(($ac_try" in
8171 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8172 + *) ac_try_echo=$ac_try;;
8174 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8175 + (eval "$ac_compile") 2>conftest.er1
8177 grep -v '^ *+' conftest.er1 >conftest.err
8179 cat conftest.err >&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 - (exit $ac_status); } &&
8182 - { ac_try='test -z "$ac_c_werror_flag"
8183 - || test ! -s conftest.err'
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); }; } &&
8189 - { ac_try='test -s conftest.$ac_objext'
8190 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8191 - (eval $ac_try) 2>&5
8193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 - (exit $ac_status); }; }; then
8195 + (exit $ac_status); } && {
8196 + test -z "$ac_c_werror_flag" ||
8197 + test ! -s conftest.err
8198 + } && test -s conftest.$ac_objext; then
8199 ac_header_compiler=yes
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 -ac_header_compiler=no
8205 + ac_header_compiler=no
8207 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8208 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8209 -echo "${ECHO_T}$ac_header_compiler" >&6
8211 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8212 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8213 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8215 # Is the header present?
8216 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
8217 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
8218 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
8219 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
8220 cat >conftest.$ac_ext <<_ACEOF
8223 @@ -7487,24 +8130,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8224 /* end confdefs.h. */
8225 #include <libintl.h>
8227 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8228 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8229 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8230 +case "(($ac_try" in
8231 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8232 + *) ac_try_echo=$ac_try;;
8234 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8235 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8237 grep -v '^ *+' conftest.er1 >conftest.err
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 - (exit $ac_status); } >/dev/null; then
8242 - if test -s conftest.err; then
8243 - ac_cpp_err=$ac_c_preproc_warn_flag
8244 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8251 -if test -z "$ac_cpp_err"; then
8252 + (exit $ac_status); } >/dev/null && {
8253 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8254 + test ! -s conftest.err
8256 ac_header_preproc=yes
8258 echo "$as_me: failed program was:" >&5
8259 @@ -7512,9 +8153,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
8261 ac_header_preproc=no
8264 rm -f conftest.err conftest.$ac_ext
8265 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8266 -echo "${ECHO_T}$ac_header_preproc" >&6
8267 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8268 +echo "${ECHO_T}$ac_header_preproc" >&6; }
8270 # So? What about this header?
8271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8272 @@ -7538,30 +8180,23 @@ echo "$as_me: WARNING: libintl.h: se
8273 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
8274 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
8275 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
8278 -## ------------------------------------------ ##
8279 -## Report this to the AC_PACKAGE_NAME lists. ##
8280 -## ------------------------------------------ ##
8283 - sed "s/^/$as_me: WARNING: /" >&2
8287 -echo "$as_me:$LINENO: checking for libintl.h" >&5
8288 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
8289 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
8290 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
8291 if test "${ac_cv_header_libintl_h+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8294 ac_cv_header_libintl_h=$ac_header_preproc
8296 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8297 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
8298 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
8299 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
8302 if test $ac_cv_header_libintl_h = yes; then
8303 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
8304 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
8305 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
8306 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
8307 if test "${gt_cv_func_gettext_libc+set}" = set; then
8308 echo $ECHO_N "(cached) $ECHO_C" >&6
8310 @@ -7581,43 +8216,40 @@ return (int) gettext ("")
8313 rm -f conftest.$ac_objext conftest$ac_exeext
8314 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8315 - (eval $ac_link) 2>conftest.er1
8316 +if { (ac_try="$ac_link"
8317 +case "(($ac_try" in
8318 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 + *) ac_try_echo=$ac_try;;
8321 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 + (eval "$ac_link") 2>conftest.er1
8324 grep -v '^ *+' conftest.er1 >conftest.err
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 - (exit $ac_status); } &&
8329 - { ac_try='test -z "$ac_c_werror_flag"
8330 - || test ! -s conftest.err'
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); }; } &&
8336 - { ac_try='test -s conftest$ac_exeext'
8337 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 - (eval $ac_try) 2>&5
8340 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341 - (exit $ac_status); }; }; then
8342 + (exit $ac_status); } && {
8343 + test -z "$ac_c_werror_flag" ||
8344 + test ! -s conftest.err
8345 + } && test -s conftest$ac_exeext &&
8346 + $as_test_x conftest$ac_exeext; then
8347 gt_cv_func_gettext_libc=yes
8349 echo "$as_me: failed program was:" >&5
8350 sed 's/^/| /' conftest.$ac_ext >&5
8352 -gt_cv_func_gettext_libc=no
8353 + gt_cv_func_gettext_libc=no
8355 -rm -f conftest.err conftest.$ac_objext \
8357 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8358 conftest$ac_exeext conftest.$ac_ext
8360 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8361 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
8362 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
8363 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
8365 if test "$gt_cv_func_gettext_libc" != "yes"; then
8366 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8367 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
8368 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
8369 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
8370 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
8371 echo $ECHO_N "(cached) $ECHO_C" >&6
8373 @@ -7630,59 +8262,56 @@ cat confdefs.h >>conftest.$ac_ext
8374 cat >>conftest.$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8377 -/* Override any gcc2 internal prototype to avoid an error. */
8378 +/* Override any GCC internal prototype to avoid an error.
8379 + Use char because int might match the return type of a GCC
8380 + builtin and then its argument prototype would still apply. */
8384 -/* We use char because int might match the return type of a gcc2
8385 - builtin and then its argument prototype would still apply. */
8386 char bindtextdomain ();
8391 +return bindtextdomain ();
8396 rm -f conftest.$ac_objext conftest$ac_exeext
8397 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8398 - (eval $ac_link) 2>conftest.er1
8399 +if { (ac_try="$ac_link"
8400 +case "(($ac_try" in
8401 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8402 + *) ac_try_echo=$ac_try;;
8404 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8405 + (eval "$ac_link") 2>conftest.er1
8407 grep -v '^ *+' conftest.er1 >conftest.err
8409 cat conftest.err >&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 - (exit $ac_status); } &&
8412 - { ac_try='test -z "$ac_c_werror_flag"
8413 - || test ! -s conftest.err'
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); }; } &&
8419 - { ac_try='test -s conftest$ac_exeext'
8420 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8421 - (eval $ac_try) 2>&5
8423 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 - (exit $ac_status); }; }; then
8425 + (exit $ac_status); } && {
8426 + test -z "$ac_c_werror_flag" ||
8427 + test ! -s conftest.err
8428 + } && test -s conftest$ac_exeext &&
8429 + $as_test_x conftest$ac_exeext; then
8430 ac_cv_lib_intl_bindtextdomain=yes
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8435 -ac_cv_lib_intl_bindtextdomain=no
8436 + ac_cv_lib_intl_bindtextdomain=no
8438 -rm -f conftest.err conftest.$ac_objext \
8440 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8441 conftest$ac_exeext conftest.$ac_ext
8442 LIBS=$ac_check_lib_save_LIBS
8444 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8445 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
8446 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
8447 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
8448 if test $ac_cv_lib_intl_bindtextdomain = yes; then
8449 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8450 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
8451 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
8452 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
8453 if test "${gt_cv_func_gettext_libintl+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 @@ -7702,39 +8331,36 @@ return (int) gettext ("")
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8461 - (eval $ac_link) 2>conftest.er1
8462 +if { (ac_try="$ac_link"
8463 +case "(($ac_try" in
8464 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8465 + *) ac_try_echo=$ac_try;;
8467 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8468 + (eval "$ac_link") 2>conftest.er1
8470 grep -v '^ *+' conftest.er1 >conftest.err
8472 cat conftest.err >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 - (exit $ac_status); } &&
8475 - { ac_try='test -z "$ac_c_werror_flag"
8476 - || test ! -s conftest.err'
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); }; } &&
8482 - { ac_try='test -s conftest$ac_exeext'
8483 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8484 - (eval $ac_try) 2>&5
8486 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 - (exit $ac_status); }; }; then
8488 + (exit $ac_status); } && {
8489 + test -z "$ac_c_werror_flag" ||
8490 + test ! -s conftest.err
8491 + } && test -s conftest$ac_exeext &&
8492 + $as_test_x conftest$ac_exeext; then
8493 gt_cv_func_gettext_libintl=yes
8495 echo "$as_me: failed program was:" >&5
8496 sed 's/^/| /' conftest.$ac_ext >&5
8498 -gt_cv_func_gettext_libintl=no
8499 + gt_cv_func_gettext_libintl=no
8501 -rm -f conftest.err conftest.$ac_objext \
8503 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8504 conftest$ac_exeext conftest.$ac_ext
8506 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8507 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
8508 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
8509 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
8513 @@ -7748,8 +8374,8 @@ _ACEOF
8515 # Extract the first word of "msgfmt", so it can be a program name with args.
8516 set dummy msgfmt; ac_word=$2
8517 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8518 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8519 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8520 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8521 if test "${ac_cv_path_MSGFMT+set}" = set; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 @@ -7775,20 +8401,20 @@ esac
8526 MSGFMT="$ac_cv_path_MSGFMT"
8527 if test -n "$MSGFMT"; then
8528 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8529 -echo "${ECHO_T}$MSGFMT" >&6
8530 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8531 +echo "${ECHO_T}$MSGFMT" >&6; }
8533 - echo "$as_me:$LINENO: result: no" >&5
8534 -echo "${ECHO_T}no" >&6
8535 + { echo "$as_me:$LINENO: result: no" >&5
8536 +echo "${ECHO_T}no" >&6; }
8538 if test "$MSGFMT" != "no"; then
8540 for ac_func in dcgettext
8542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8543 -echo "$as_me:$LINENO: checking for $ac_func" >&5
8544 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8545 -if eval "test \"\${$as_ac_var+set}\" = set"; then
8546 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8547 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8548 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8551 cat >conftest.$ac_ext <<_ACEOF
8552 @@ -7814,68 +8440,60 @@ cat >>conftest.$ac_ext <<_ACEOF
8556 -/* Override any gcc2 internal prototype to avoid an error. */
8557 +/* Override any GCC internal prototype to avoid an error.
8558 + Use char because int might match the return type of a GCC
8559 + builtin and then its argument prototype would still apply. */
8564 -/* We use char because int might match the return type of a gcc2
8565 - builtin and then its argument prototype would still apply. */
8567 /* The GNU C library defines this for functions which it implements
8568 to always fail with ENOSYS. Some functions are actually named
8569 something starting with __ and the normal name is an alias. */
8570 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8571 +#if defined __stub_$ac_func || defined __stub___$ac_func
8574 -char (*f) () = $ac_func;
8583 -return f != $ac_func;
8584 +return $ac_func ();
8589 rm -f conftest.$ac_objext conftest$ac_exeext
8590 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8591 - (eval $ac_link) 2>conftest.er1
8592 +if { (ac_try="$ac_link"
8593 +case "(($ac_try" in
8594 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8595 + *) ac_try_echo=$ac_try;;
8597 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8598 + (eval "$ac_link") 2>conftest.er1
8600 grep -v '^ *+' conftest.er1 >conftest.err
8602 cat conftest.err >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 - (exit $ac_status); } &&
8605 - { ac_try='test -z "$ac_c_werror_flag"
8606 - || test ! -s conftest.err'
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); }; } &&
8612 - { ac_try='test -s conftest$ac_exeext'
8613 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 - (eval $ac_try) 2>&5
8616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 - (exit $ac_status); }; }; then
8618 + (exit $ac_status); } && {
8619 + test -z "$ac_c_werror_flag" ||
8620 + test ! -s conftest.err
8621 + } && test -s conftest$ac_exeext &&
8622 + $as_test_x conftest$ac_exeext; then
8623 eval "$as_ac_var=yes"
8625 echo "$as_me: failed program was:" >&5
8626 sed 's/^/| /' conftest.$ac_ext >&5
8628 -eval "$as_ac_var=no"
8629 + eval "$as_ac_var=no"
8631 -rm -f conftest.err conftest.$ac_objext \
8633 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8634 conftest$ac_exeext conftest.$ac_ext
8636 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8637 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8638 +ac_res=`eval echo '${'$as_ac_var'}'`
8639 + { echo "$as_me:$LINENO: result: $ac_res" >&5
8640 +echo "${ECHO_T}$ac_res" >&6; }
8641 if test `eval echo '${'$as_ac_var'}'` = yes; then
8642 cat >>confdefs.h <<_ACEOF
8643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8644 @@ -7886,8 +8504,8 @@ done
8646 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8647 set dummy gmsgfmt; ac_word=$2
8648 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8649 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8650 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8651 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8652 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8653 echo $ECHO_N "(cached) $ECHO_C" >&6
8655 @@ -7902,32 +8520,33 @@ do
8657 test -z "$as_dir" && as_dir=.
8658 for ac_exec_ext in '' $ac_executable_extensions; do
8659 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8660 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8669 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8673 GMSGFMT=$ac_cv_path_GMSGFMT
8675 if test -n "$GMSGFMT"; then
8676 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8677 -echo "${ECHO_T}$GMSGFMT" >&6
8678 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8679 +echo "${ECHO_T}$GMSGFMT" >&6; }
8681 - echo "$as_me:$LINENO: result: no" >&5
8682 -echo "${ECHO_T}no" >&6
8683 + { echo "$as_me:$LINENO: result: no" >&5
8684 +echo "${ECHO_T}no" >&6; }
8688 # Extract the first word of "xgettext", so it can be a program name with args.
8689 set dummy xgettext; ac_word=$2
8690 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8691 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8692 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8693 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8694 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 @@ -7953,11 +8572,11 @@ esac
8699 XGETTEXT="$ac_cv_path_XGETTEXT"
8700 if test -n "$XGETTEXT"; then
8701 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8702 -echo "${ECHO_T}$XGETTEXT" >&6
8703 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8704 +echo "${ECHO_T}$XGETTEXT" >&6; }
8706 - echo "$as_me:$LINENO: result: no" >&5
8707 -echo "${ECHO_T}no" >&6
8708 + { echo "$as_me:$LINENO: result: no" >&5
8709 +echo "${ECHO_T}no" >&6; }
8712 cat >conftest.$ac_ext <<_ACEOF
8713 @@ -7977,37 +8596,34 @@ extern int _nl_msg_cat_cntr;
8716 rm -f conftest.$ac_objext conftest$ac_exeext
8717 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8718 - (eval $ac_link) 2>conftest.er1
8719 +if { (ac_try="$ac_link"
8720 +case "(($ac_try" in
8721 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8722 + *) ac_try_echo=$ac_try;;
8724 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 + (eval "$ac_link") 2>conftest.er1
8727 grep -v '^ *+' conftest.er1 >conftest.err
8729 cat conftest.err >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 - (exit $ac_status); } &&
8732 - { ac_try='test -z "$ac_c_werror_flag"
8733 - || test ! -s conftest.err'
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); }; } &&
8739 - { ac_try='test -s conftest$ac_exeext'
8740 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8741 - (eval $ac_try) 2>&5
8743 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 - (exit $ac_status); }; }; then
8745 + (exit $ac_status); } && {
8746 + test -z "$ac_c_werror_flag" ||
8747 + test ! -s conftest.err
8748 + } && test -s conftest$ac_exeext &&
8749 + $as_test_x conftest$ac_exeext; then
8753 echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.$ac_ext >&5
8760 -rm -f conftest.err conftest.$ac_objext \
8762 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8763 conftest$ac_exeext conftest.$ac_ext
8766 @@ -8029,8 +8645,8 @@ fi
8767 INTLOBJS="\$(GETTOBJS)"
8768 # Extract the first word of "msgfmt", so it can be a program name with args.
8769 set dummy msgfmt; ac_word=$2
8770 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8771 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8772 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8773 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8774 if test "${ac_cv_path_MSGFMT+set}" = set; then
8775 echo $ECHO_N "(cached) $ECHO_C" >&6
8777 @@ -8056,17 +8672,17 @@ esac
8779 MSGFMT="$ac_cv_path_MSGFMT"
8780 if test -n "$MSGFMT"; then
8781 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
8782 -echo "${ECHO_T}$MSGFMT" >&6
8783 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
8784 +echo "${ECHO_T}$MSGFMT" >&6; }
8786 - echo "$as_me:$LINENO: result: no" >&5
8787 -echo "${ECHO_T}no" >&6
8788 + { echo "$as_me:$LINENO: result: no" >&5
8789 +echo "${ECHO_T}no" >&6; }
8792 # Extract the first word of "gmsgfmt", so it can be a program name with args.
8793 set dummy gmsgfmt; ac_word=$2
8794 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8795 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8796 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8797 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8798 if test "${ac_cv_path_GMSGFMT+set}" = set; then
8799 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 @@ -8081,32 +8697,33 @@ do
8803 test -z "$as_dir" && as_dir=.
8804 for ac_exec_ext in '' $ac_executable_extensions; do
8805 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8806 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8807 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
8808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
8819 GMSGFMT=$ac_cv_path_GMSGFMT
8821 if test -n "$GMSGFMT"; then
8822 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8823 -echo "${ECHO_T}$GMSGFMT" >&6
8824 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
8825 +echo "${ECHO_T}$GMSGFMT" >&6; }
8827 - echo "$as_me:$LINENO: result: no" >&5
8828 -echo "${ECHO_T}no" >&6
8829 + { echo "$as_me:$LINENO: result: no" >&5
8830 +echo "${ECHO_T}no" >&6; }
8834 # Extract the first word of "xgettext", so it can be a program name with args.
8835 set dummy xgettext; ac_word=$2
8836 -echo "$as_me:$LINENO: checking for $ac_word" >&5
8837 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8838 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8839 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8840 if test "${ac_cv_path_XGETTEXT+set}" = set; then
8841 echo $ECHO_N "(cached) $ECHO_C" >&6
8843 @@ -8132,11 +8749,11 @@ esac
8845 XGETTEXT="$ac_cv_path_XGETTEXT"
8846 if test -n "$XGETTEXT"; then
8847 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8848 -echo "${ECHO_T}$XGETTEXT" >&6
8849 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
8850 +echo "${ECHO_T}$XGETTEXT" >&6; }
8852 - echo "$as_me:$LINENO: result: no" >&5
8853 -echo "${ECHO_T}no" >&6
8854 + { echo "$as_me:$LINENO: result: no" >&5
8855 +echo "${ECHO_T}no" >&6; }
8859 @@ -8155,8 +8772,8 @@ fi
8860 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
8863 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8864 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
8865 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
8866 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
8870 @@ -8205,8 +8822,8 @@ _ACEOF
8871 if test "x$ALL_LINGUAS" = "x"; then
8874 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8875 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
8876 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
8877 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
8879 for lang in ${LINGUAS=$ALL_LINGUAS}; do
8880 case "$ALL_LINGUAS" in
8881 @@ -8214,8 +8831,8 @@ echo $ECHO_N "checking for catalogs to b
8884 LINGUAS=$NEW_LINGUAS
8885 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
8886 -echo "${ECHO_T}$LINGUAS" >&6
8887 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
8888 +echo "${ECHO_T}$LINGUAS" >&6; }
8891 if test -n "$LINGUAS"; then
8892 @@ -8234,17 +8851,17 @@ echo "${ECHO_T}$LINGUAS" >&6
8893 if test -f $srcdir/po2tbl.sed.in; then
8894 if test "$CATOBJEXT" = ".cat"; then
8895 if test "${ac_cv_header_linux_version_h+set}" = set; then
8896 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
8897 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
8898 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
8899 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
8900 if test "${ac_cv_header_linux_version_h+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8904 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
8905 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
8906 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
8908 # Is the header compilable?
8909 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8910 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
8911 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
8912 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
8913 cat >conftest.$ac_ext <<_ACEOF
8916 @@ -8255,41 +8872,37 @@ $ac_includes_default
8917 #include <linux/version.h>
8919 rm -f conftest.$ac_objext
8920 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8921 - (eval $ac_compile) 2>conftest.er1
8922 +if { (ac_try="$ac_compile"
8923 +case "(($ac_try" in
8924 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925 + *) ac_try_echo=$ac_try;;
8927 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8928 + (eval "$ac_compile") 2>conftest.er1
8930 grep -v '^ *+' conftest.er1 >conftest.err
8932 cat conftest.err >&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 - (exit $ac_status); } &&
8935 - { ac_try='test -z "$ac_c_werror_flag"
8936 - || test ! -s conftest.err'
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); }; } &&
8942 - { ac_try='test -s conftest.$ac_objext'
8943 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 - (eval $ac_try) 2>&5
8946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 - (exit $ac_status); }; }; then
8948 + (exit $ac_status); } && {
8949 + test -z "$ac_c_werror_flag" ||
8950 + test ! -s conftest.err
8951 + } && test -s conftest.$ac_objext; then
8952 ac_header_compiler=yes
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.$ac_ext >&5
8957 -ac_header_compiler=no
8958 + ac_header_compiler=no
8960 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8961 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8962 -echo "${ECHO_T}$ac_header_compiler" >&6
8964 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8966 +echo "${ECHO_T}$ac_header_compiler" >&6; }
8968 # Is the header present?
8969 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8970 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
8971 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
8972 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
8973 cat >conftest.$ac_ext <<_ACEOF
8976 @@ -8298,24 +8911,22 @@ cat >>conftest.$ac_ext <<_ACEOF
8977 /* end confdefs.h. */
8978 #include <linux/version.h>
8980 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8981 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8982 +if { (ac_try="$ac_cpp conftest.$ac_ext"
8983 +case "(($ac_try" in
8984 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8985 + *) ac_try_echo=$ac_try;;
8987 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8988 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8990 grep -v '^ *+' conftest.er1 >conftest.err
8992 cat conftest.err >&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 - (exit $ac_status); } >/dev/null; then
8995 - if test -s conftest.err; then
8996 - ac_cpp_err=$ac_c_preproc_warn_flag
8997 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9004 -if test -z "$ac_cpp_err"; then
9005 + (exit $ac_status); } >/dev/null && {
9006 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9007 + test ! -s conftest.err
9009 ac_header_preproc=yes
9011 echo "$as_me: failed program was:" >&5
9012 @@ -8323,9 +8934,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
9014 ac_header_preproc=no
9017 rm -f conftest.err conftest.$ac_ext
9018 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9019 -echo "${ECHO_T}$ac_header_preproc" >&6
9020 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9021 +echo "${ECHO_T}$ac_header_preproc" >&6; }
9023 # So? What about this header?
9024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9025 @@ -8349,25 +8961,18 @@ echo "$as_me: WARNING: linux/version.h:
9026 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
9027 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
9028 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
9031 -## ------------------------------------------ ##
9032 -## Report this to the AC_PACKAGE_NAME lists. ##
9033 -## ------------------------------------------ ##
9036 - sed "s/^/$as_me: WARNING: /" >&2
9040 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
9041 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
9042 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
9043 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
9044 if test "${ac_cv_header_linux_version_h+set}" = set; then
9045 echo $ECHO_N "(cached) $ECHO_C" >&6
9047 ac_cv_header_linux_version_h=$ac_header_preproc
9049 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9050 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
9051 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
9052 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
9055 if test $ac_cv_header_linux_version_h = yes; then
9056 @@ -8434,8 +9039,8 @@ fi
9057 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9058 # OS/2's system install, which has a completely different semantic
9059 # ./install, which can be erroneously created by make from ./install.sh.
9060 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9061 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9062 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9063 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
9064 if test -z "$INSTALL"; then
9065 if test "${ac_cv_path_install+set}" = set; then
9066 echo $ECHO_N "(cached) $ECHO_C" >&6
9067 @@ -8457,7 +9062,7 @@ case $as_dir/ in
9069 for ac_prog in ginstall scoinst install; do
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9072 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
9073 if test $ac_prog = install &&
9074 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
9075 # AIX install. It has an incompatible calling convention.
9076 @@ -8476,21 +9081,22 @@ case $as_dir/ in
9084 if test "${ac_cv_path_install+set}" = set; then
9085 INSTALL=$ac_cv_path_install
9087 - # As a last resort, use the slow shell script. We don't cache a
9088 - # path for INSTALL within a source directory, because that will
9089 + # As a last resort, use the slow shell script. Don't cache a
9090 + # value for INSTALL within a source directory, because that will
9091 # break other packages using the cache if that directory is
9092 - # removed, or if the path is relative.
9093 + # removed, or if the value is a relative name.
9094 INSTALL=$ac_install_sh
9097 -echo "$as_me:$LINENO: result: $INSTALL" >&5
9098 -echo "${ECHO_T}$INSTALL" >&6
9099 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
9100 +echo "${ECHO_T}$INSTALL" >&6; }
9102 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9103 # It thinks the first close brace ends the variable substitution.
9104 @@ -8507,8 +9113,8 @@ BFD_HOST_64_BIT_DEFINED=0
9108 -echo "$as_me:$LINENO: checking for long long" >&5
9109 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9110 +{ echo "$as_me:$LINENO: checking for long long" >&5
9111 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9112 if test "${bfd_cv_has_long_long+set}" = set; then
9113 echo $ECHO_N "(cached) $ECHO_C" >&6
9115 @@ -8528,43 +9134,39 @@ unsigned long long ll = 1844674407370955
9118 rm -f conftest.$ac_objext
9119 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9120 - (eval $ac_compile) 2>conftest.er1
9121 +if { (ac_try="$ac_compile"
9122 +case "(($ac_try" in
9123 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9124 + *) ac_try_echo=$ac_try;;
9126 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9127 + (eval "$ac_compile") 2>conftest.er1
9129 grep -v '^ *+' conftest.er1 >conftest.err
9131 cat conftest.err >&5
9132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9133 - (exit $ac_status); } &&
9134 - { ac_try='test -z "$ac_c_werror_flag"
9135 - || test ! -s conftest.err'
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); }; } &&
9141 - { ac_try='test -s conftest.$ac_objext'
9142 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9143 - (eval $ac_try) 2>&5
9145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 - (exit $ac_status); }; }; then
9147 + (exit $ac_status); } && {
9148 + test -z "$ac_c_werror_flag" ||
9149 + test ! -s conftest.err
9150 + } && test -s conftest.$ac_objext; then
9151 bfd_cv_has_long_long=yes
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.$ac_ext >&5
9156 -bfd_cv_has_long_long=no
9157 + bfd_cv_has_long_long=no
9159 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9161 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9164 -echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9165 -echo "${ECHO_T}$bfd_cv_has_long_long" >&6
9166 +{ echo "$as_me:$LINENO: result: $bfd_cv_has_long_long" >&5
9167 +echo "${ECHO_T}$bfd_cv_has_long_long" >&6; }
9168 if test $bfd_cv_has_long_long = yes; then
9169 BFD_HOST_LONG_LONG=1
9170 - echo "$as_me:$LINENO: checking for long long" >&5
9171 -echo $ECHO_N "checking for long long... $ECHO_C" >&6
9172 + { echo "$as_me:$LINENO: checking for long long" >&5
9173 +echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
9174 if test "${ac_cv_type_long_long+set}" = set; then
9175 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 @@ -8575,61 +9177,57 @@ cat confdefs.h >>conftest.$ac_ext
9178 cat >>conftest.$ac_ext <<_ACEOF
9179 /* end confdefs.h. */
9180 $ac_includes_default
9181 +typedef long long ac__type_new_;
9185 -if ((long long *) 0)
9186 +if ((ac__type_new_ *) 0)
9188 -if (sizeof (long long))
9189 +if (sizeof (ac__type_new_))
9195 rm -f conftest.$ac_objext
9196 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9197 - (eval $ac_compile) 2>conftest.er1
9198 +if { (ac_try="$ac_compile"
9199 +case "(($ac_try" in
9200 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9201 + *) ac_try_echo=$ac_try;;
9203 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9204 + (eval "$ac_compile") 2>conftest.er1
9206 grep -v '^ *+' conftest.er1 >conftest.err
9208 cat conftest.err >&5
9209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9210 - (exit $ac_status); } &&
9211 - { ac_try='test -z "$ac_c_werror_flag"
9212 - || test ! -s conftest.err'
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); }; } &&
9218 - { ac_try='test -s conftest.$ac_objext'
9219 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 - (eval $ac_try) 2>&5
9222 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 - (exit $ac_status); }; }; then
9224 + (exit $ac_status); } && {
9225 + test -z "$ac_c_werror_flag" ||
9226 + test ! -s conftest.err
9227 + } && test -s conftest.$ac_objext; then
9228 ac_cv_type_long_long=yes
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 -ac_cv_type_long_long=no
9234 + ac_cv_type_long_long=no
9236 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9238 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9240 -echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9241 -echo "${ECHO_T}$ac_cv_type_long_long" >&6
9242 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
9243 +echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
9245 -echo "$as_me:$LINENO: checking size of long long" >&5
9246 -echo $ECHO_N "checking size of long long... $ECHO_C" >&6
9247 +# The cast to long int works around a bug in the HP C Compiler
9248 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9249 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9250 +# This bug is HP SR number 8606223364.
9251 +{ echo "$as_me:$LINENO: checking size of long long" >&5
9252 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
9253 if test "${ac_cv_sizeof_long_long+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6
9256 - if test "$ac_cv_type_long_long" = yes; then
9257 - # The cast to unsigned long works around a bug in the HP C Compiler
9258 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9259 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9260 - # This bug is HP SR number 8606223364.
9261 if test "$cross_compiling" = yes; then
9262 # Depending upon the size, compute the lo and hi bounds.
9263 cat >conftest.$ac_ext <<_ACEOF
9264 @@ -8639,10 +9237,11 @@ cat confdefs.h >>conftest.$ac_ext
9265 cat >>conftest.$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9267 $ac_includes_default
9268 + typedef long long ac__type_sizeof_;
9272 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
9273 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9277 @@ -8650,27 +9249,22 @@ test_array [0] = 0
9280 rm -f conftest.$ac_objext
9281 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9282 - (eval $ac_compile) 2>conftest.er1
9283 +if { (ac_try="$ac_compile"
9284 +case "(($ac_try" in
9285 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9286 + *) ac_try_echo=$ac_try;;
9288 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9289 + (eval "$ac_compile") 2>conftest.er1
9291 grep -v '^ *+' conftest.er1 >conftest.err
9293 cat conftest.err >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 - (exit $ac_status); } &&
9296 - { ac_try='test -z "$ac_c_werror_flag"
9297 - || test ! -s conftest.err'
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); }; } &&
9303 - { ac_try='test -s conftest.$ac_objext'
9304 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9305 - (eval $ac_try) 2>&5
9307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9308 - (exit $ac_status); }; }; then
9309 + (exit $ac_status); } && {
9310 + test -z "$ac_c_werror_flag" ||
9311 + test ! -s conftest.err
9312 + } && test -s conftest.$ac_objext; then
9315 cat >conftest.$ac_ext <<_ACEOF
9316 @@ -8680,10 +9274,11 @@ cat confdefs.h >>conftest.$ac_ext
9317 cat >>conftest.$ac_ext <<_ACEOF
9318 /* end confdefs.h. */
9319 $ac_includes_default
9320 + typedef long long ac__type_sizeof_;
9324 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9325 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9329 @@ -8691,56 +9286,53 @@ test_array [0] = 0
9332 rm -f conftest.$ac_objext
9333 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9334 - (eval $ac_compile) 2>conftest.er1
9335 +if { (ac_try="$ac_compile"
9336 +case "(($ac_try" in
9337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9338 + *) ac_try_echo=$ac_try;;
9340 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341 + (eval "$ac_compile") 2>conftest.er1
9343 grep -v '^ *+' conftest.er1 >conftest.err
9345 cat conftest.err >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 - (exit $ac_status); } &&
9348 - { ac_try='test -z "$ac_c_werror_flag"
9349 - || test ! -s conftest.err'
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); }; } &&
9355 - { ac_try='test -s conftest.$ac_objext'
9356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9357 - (eval $ac_try) 2>&5
9359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 - (exit $ac_status); }; }; then
9361 + (exit $ac_status); } && {
9362 + test -z "$ac_c_werror_flag" ||
9363 + test ! -s conftest.err
9364 + } && test -s conftest.$ac_objext; then
9365 ac_hi=$ac_mid; break
9367 echo "$as_me: failed program was:" >&5
9368 sed 's/^/| /' conftest.$ac_ext >&5
9370 -ac_lo=`expr $ac_mid + 1`
9371 - if test $ac_lo -le $ac_mid; then
9375 - ac_mid=`expr 2 '*' $ac_mid + 1`
9376 + ac_lo=`expr $ac_mid + 1`
9377 + if test $ac_lo -le $ac_mid; then
9381 + ac_mid=`expr 2 '*' $ac_mid + 1`
9383 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9385 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9388 echo "$as_me: failed program was:" >&5
9389 sed 's/^/| /' conftest.$ac_ext >&5
9391 -cat >conftest.$ac_ext <<_ACEOF
9392 + cat >conftest.$ac_ext <<_ACEOF
9395 cat confdefs.h >>conftest.$ac_ext
9396 cat >>conftest.$ac_ext <<_ACEOF
9397 /* end confdefs.h. */
9398 $ac_includes_default
9399 + typedef long long ac__type_sizeof_;
9403 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
9404 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9408 @@ -8748,27 +9340,22 @@ test_array [0] = 0
9411 rm -f conftest.$ac_objext
9412 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9413 - (eval $ac_compile) 2>conftest.er1
9414 +if { (ac_try="$ac_compile"
9415 +case "(($ac_try" in
9416 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9417 + *) ac_try_echo=$ac_try;;
9419 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9420 + (eval "$ac_compile") 2>conftest.er1
9422 grep -v '^ *+' conftest.er1 >conftest.err
9424 cat conftest.err >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 - (exit $ac_status); } &&
9427 - { ac_try='test -z "$ac_c_werror_flag"
9428 - || test ! -s conftest.err'
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); }; } &&
9434 - { ac_try='test -s conftest.$ac_objext'
9435 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 - (eval $ac_try) 2>&5
9438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 - (exit $ac_status); }; }; then
9440 + (exit $ac_status); } && {
9441 + test -z "$ac_c_werror_flag" ||
9442 + test ! -s conftest.err
9443 + } && test -s conftest.$ac_objext; then
9446 cat >conftest.$ac_ext <<_ACEOF
9447 @@ -8778,10 +9365,11 @@ cat confdefs.h >>conftest.$ac_ext
9448 cat >>conftest.$ac_ext <<_ACEOF
9449 /* end confdefs.h. */
9450 $ac_includes_default
9451 + typedef long long ac__type_sizeof_;
9455 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
9456 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
9460 @@ -8789,50 +9377,48 @@ test_array [0] = 0
9463 rm -f conftest.$ac_objext
9464 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9465 - (eval $ac_compile) 2>conftest.er1
9466 +if { (ac_try="$ac_compile"
9467 +case "(($ac_try" in
9468 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9469 + *) ac_try_echo=$ac_try;;
9471 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9472 + (eval "$ac_compile") 2>conftest.er1
9474 grep -v '^ *+' conftest.er1 >conftest.err
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 - (exit $ac_status); } &&
9479 - { ac_try='test -z "$ac_c_werror_flag"
9480 - || test ! -s conftest.err'
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); }; } &&
9486 - { ac_try='test -s conftest.$ac_objext'
9487 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 - (eval $ac_try) 2>&5
9490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 - (exit $ac_status); }; }; then
9492 + (exit $ac_status); } && {
9493 + test -z "$ac_c_werror_flag" ||
9494 + test ! -s conftest.err
9495 + } && test -s conftest.$ac_objext; then
9496 ac_lo=$ac_mid; break
9498 echo "$as_me: failed program was:" >&5
9499 sed 's/^/| /' conftest.$ac_ext >&5
9501 -ac_hi=`expr '(' $ac_mid ')' - 1`
9502 - if test $ac_mid -le $ac_hi; then
9506 - ac_mid=`expr 2 '*' $ac_mid`
9507 + ac_hi=`expr '(' $ac_mid ')' - 1`
9508 + if test $ac_mid -le $ac_hi; then
9512 + ac_mid=`expr 2 '*' $ac_mid`
9514 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9516 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9519 echo "$as_me: failed program was:" >&5
9520 sed 's/^/| /' conftest.$ac_ext >&5
9525 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9527 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9529 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9531 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9532 # Binary search between lo and hi bounds.
9533 while test "x$ac_lo" != "x$ac_hi"; do
9534 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9535 @@ -8843,10 +9429,11 @@ cat confdefs.h >>conftest.$ac_ext
9536 cat >>conftest.$ac_ext <<_ACEOF
9537 /* end confdefs.h. */
9538 $ac_includes_default
9539 + typedef long long ac__type_sizeof_;
9543 -static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
9544 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9548 @@ -8854,52 +9441,45 @@ test_array [0] = 0
9551 rm -f conftest.$ac_objext
9552 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9553 - (eval $ac_compile) 2>conftest.er1
9554 +if { (ac_try="$ac_compile"
9555 +case "(($ac_try" in
9556 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9557 + *) ac_try_echo=$ac_try;;
9559 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9560 + (eval "$ac_compile") 2>conftest.er1
9562 grep -v '^ *+' conftest.er1 >conftest.err
9564 cat conftest.err >&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 - (exit $ac_status); } &&
9567 - { ac_try='test -z "$ac_c_werror_flag"
9568 - || test ! -s conftest.err'
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); }; } &&
9574 - { ac_try='test -s conftest.$ac_objext'
9575 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 - (eval $ac_try) 2>&5
9578 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 - (exit $ac_status); }; }; then
9580 + (exit $ac_status); } && {
9581 + test -z "$ac_c_werror_flag" ||
9582 + test ! -s conftest.err
9583 + } && test -s conftest.$ac_objext; then
9586 echo "$as_me: failed program was:" >&5
9587 sed 's/^/| /' conftest.$ac_ext >&5
9589 -ac_lo=`expr '(' $ac_mid ')' + 1`
9590 + ac_lo=`expr '(' $ac_mid ')' + 1`
9592 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9594 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9597 ?*) ac_cv_sizeof_long_long=$ac_lo;;
9598 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9599 +'') if test "$ac_cv_type_long_long" = yes; then
9600 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9601 See \`config.log' for more details." >&5
9602 -echo "$as_me: error: cannot compute sizeof (long long), 77
9603 +echo "$as_me: error: cannot compute sizeof (long long)
9604 See \`config.log' for more details." >&2;}
9605 - { (exit 1); exit 1; }; } ;;
9606 + { (exit 77); exit 77; }; }
9608 + ac_cv_sizeof_long_long=0
9612 - if test "$cross_compiling" = yes; then
9613 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9614 -See \`config.log' for more details." >&5
9615 -echo "$as_me: error: cannot run test program while cross compiling
9616 -See \`config.log' for more details." >&2;}
9617 - { (exit 1); exit 1; }; }
9619 cat >conftest.$ac_ext <<_ACEOF
9622 @@ -8907,8 +9487,9 @@ cat confdefs.h >>conftest.$ac_ext
9623 cat >>conftest.$ac_ext <<_ACEOF
9624 /* end confdefs.h. */
9625 $ac_includes_default
9626 -long longval () { return (long) (sizeof (long long)); }
9627 -unsigned long ulongval () { return (long) (sizeof (long long)); }
9628 + typedef long long ac__type_sizeof_;
9629 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
9630 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
9634 @@ -8917,35 +9498,44 @@ main ()
9636 FILE *f = fopen ("conftest.val", "w");
9639 - if (((long) (sizeof (long long))) < 0)
9641 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
9643 - long i = longval ();
9644 - if (i != ((long) (sizeof (long long))))
9646 + long int i = longval ();
9647 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9649 fprintf (f, "%ld\n", i);
9653 - unsigned long i = ulongval ();
9654 - if (i != ((long) (sizeof (long long))))
9656 + unsigned long int i = ulongval ();
9657 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
9659 fprintf (f, "%lu\n", i);
9661 - exit (ferror (f) || fclose (f) != 0);
9662 + return ferror (f) || fclose (f) != 0;
9668 rm -f conftest$ac_exeext
9669 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9670 - (eval $ac_link) 2>&5
9671 +if { (ac_try="$ac_link"
9672 +case "(($ac_try" in
9673 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9674 + *) ac_try_echo=$ac_try;;
9676 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9677 + (eval "$ac_link") 2>&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9681 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9682 - (eval $ac_try) 2>&5
9683 + { (case "(($ac_try" in
9684 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9685 + *) ac_try_echo=$ac_try;;
9687 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9688 + (eval "$ac_try") 2>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); }; }; then
9692 @@ -8956,22 +9546,25 @@ echo "$as_me: failed program was:" >&5
9693 sed 's/^/| /' conftest.$ac_ext >&5
9696 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
9697 +if test "$ac_cv_type_long_long" = yes; then
9698 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
9699 See \`config.log' for more details." >&5
9700 -echo "$as_me: error: cannot compute sizeof (long long), 77
9701 +echo "$as_me: error: cannot compute sizeof (long long)
9702 See \`config.log' for more details." >&2;}
9703 - { (exit 1); exit 1; }; }
9705 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9706 + { (exit 77); exit 77; }; }
9708 + ac_cv_sizeof_long_long=0
9711 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9715 - ac_cv_sizeof_long_long=0
9718 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9719 -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
9720 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
9721 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
9725 cat >>confdefs.h <<_ACEOF
9726 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9728 @@ -8979,8 +9572,8 @@ _ACEOF
9732 -echo "$as_me:$LINENO: checking for long" >&5
9733 -echo $ECHO_N "checking for long... $ECHO_C" >&6
9734 +{ echo "$as_me:$LINENO: checking for long" >&5
9735 +echo $ECHO_N "checking for long... $ECHO_C" >&6; }
9736 if test "${ac_cv_type_long+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9739 @@ -8991,61 +9584,57 @@ cat confdefs.h >>conftest.$ac_ext
9740 cat >>conftest.$ac_ext <<_ACEOF
9741 /* end confdefs.h. */
9742 $ac_includes_default
9743 +typedef long ac__type_new_;
9748 +if ((ac__type_new_ *) 0)
9751 +if (sizeof (ac__type_new_))
9757 rm -f conftest.$ac_objext
9758 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9759 - (eval $ac_compile) 2>conftest.er1
9760 +if { (ac_try="$ac_compile"
9761 +case "(($ac_try" in
9762 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 + *) ac_try_echo=$ac_try;;
9765 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9766 + (eval "$ac_compile") 2>conftest.er1
9768 grep -v '^ *+' conftest.er1 >conftest.err
9770 cat conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 - (exit $ac_status); } &&
9773 - { ac_try='test -z "$ac_c_werror_flag"
9774 - || test ! -s conftest.err'
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); }; } &&
9780 - { ac_try='test -s conftest.$ac_objext'
9781 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 - (eval $ac_try) 2>&5
9784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 - (exit $ac_status); }; }; then
9786 + (exit $ac_status); } && {
9787 + test -z "$ac_c_werror_flag" ||
9788 + test ! -s conftest.err
9789 + } && test -s conftest.$ac_objext; then
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9796 + ac_cv_type_long=no
9798 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9800 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9802 -echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9803 -echo "${ECHO_T}$ac_cv_type_long" >&6
9804 +{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
9805 +echo "${ECHO_T}$ac_cv_type_long" >&6; }
9807 -echo "$as_me:$LINENO: checking size of long" >&5
9808 -echo $ECHO_N "checking size of long... $ECHO_C" >&6
9809 +# The cast to long int works around a bug in the HP C Compiler
9810 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9811 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9812 +# This bug is HP SR number 8606223364.
9813 +{ echo "$as_me:$LINENO: checking size of long" >&5
9814 +echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
9815 if test "${ac_cv_sizeof_long+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 - if test "$ac_cv_type_long" = yes; then
9819 - # The cast to unsigned long works around a bug in the HP C Compiler
9820 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
9821 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
9822 - # This bug is HP SR number 8606223364.
9823 if test "$cross_compiling" = yes; then
9824 # Depending upon the size, compute the lo and hi bounds.
9825 cat >conftest.$ac_ext <<_ACEOF
9826 @@ -9055,10 +9644,11 @@ cat confdefs.h >>conftest.$ac_ext
9827 cat >>conftest.$ac_ext <<_ACEOF
9828 /* end confdefs.h. */
9829 $ac_includes_default
9830 + typedef long ac__type_sizeof_;
9834 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
9835 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
9839 @@ -9066,27 +9656,22 @@ test_array [0] = 0
9842 rm -f conftest.$ac_objext
9843 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9844 - (eval $ac_compile) 2>conftest.er1
9845 +if { (ac_try="$ac_compile"
9846 +case "(($ac_try" in
9847 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9848 + *) ac_try_echo=$ac_try;;
9850 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9851 + (eval "$ac_compile") 2>conftest.er1
9853 grep -v '^ *+' conftest.er1 >conftest.err
9855 cat conftest.err >&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 - (exit $ac_status); } &&
9858 - { ac_try='test -z "$ac_c_werror_flag"
9859 - || test ! -s conftest.err'
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); }; } &&
9865 - { ac_try='test -s conftest.$ac_objext'
9866 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9867 - (eval $ac_try) 2>&5
9869 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 - (exit $ac_status); }; }; then
9871 + (exit $ac_status); } && {
9872 + test -z "$ac_c_werror_flag" ||
9873 + test ! -s conftest.err
9874 + } && test -s conftest.$ac_objext; then
9877 cat >conftest.$ac_ext <<_ACEOF
9878 @@ -9096,10 +9681,11 @@ cat confdefs.h >>conftest.$ac_ext
9879 cat >>conftest.$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9881 $ac_includes_default
9882 + typedef long ac__type_sizeof_;
9886 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
9887 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
9891 @@ -9107,56 +9693,53 @@ test_array [0] = 0
9894 rm -f conftest.$ac_objext
9895 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9896 - (eval $ac_compile) 2>conftest.er1
9897 +if { (ac_try="$ac_compile"
9898 +case "(($ac_try" in
9899 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9900 + *) ac_try_echo=$ac_try;;
9902 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9903 + (eval "$ac_compile") 2>conftest.er1
9905 grep -v '^ *+' conftest.er1 >conftest.err
9907 cat conftest.err >&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 - (exit $ac_status); } &&
9910 - { ac_try='test -z "$ac_c_werror_flag"
9911 - || test ! -s conftest.err'
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); }; } &&
9917 - { ac_try='test -s conftest.$ac_objext'
9918 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919 - (eval $ac_try) 2>&5
9921 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922 - (exit $ac_status); }; }; then
9923 + (exit $ac_status); } && {
9924 + test -z "$ac_c_werror_flag" ||
9925 + test ! -s conftest.err
9926 + } && test -s conftest.$ac_objext; then
9927 ac_hi=$ac_mid; break
9929 echo "$as_me: failed program was:" >&5
9930 sed 's/^/| /' conftest.$ac_ext >&5
9932 -ac_lo=`expr $ac_mid + 1`
9933 - if test $ac_lo -le $ac_mid; then
9937 - ac_mid=`expr 2 '*' $ac_mid + 1`
9938 + ac_lo=`expr $ac_mid + 1`
9939 + if test $ac_lo -le $ac_mid; then
9943 + ac_mid=`expr 2 '*' $ac_mid + 1`
9945 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9947 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.$ac_ext >&5
9953 -cat >conftest.$ac_ext <<_ACEOF
9954 + cat >conftest.$ac_ext <<_ACEOF
9957 cat confdefs.h >>conftest.$ac_ext
9958 cat >>conftest.$ac_ext <<_ACEOF
9959 /* end confdefs.h. */
9960 $ac_includes_default
9961 + typedef long ac__type_sizeof_;
9965 -static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
9966 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
9970 @@ -9164,27 +9747,22 @@ test_array [0] = 0
9973 rm -f conftest.$ac_objext
9974 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9975 - (eval $ac_compile) 2>conftest.er1
9976 +if { (ac_try="$ac_compile"
9977 +case "(($ac_try" in
9978 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9979 + *) ac_try_echo=$ac_try;;
9981 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9982 + (eval "$ac_compile") 2>conftest.er1
9984 grep -v '^ *+' conftest.er1 >conftest.err
9986 cat conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 - (exit $ac_status); } &&
9989 - { ac_try='test -z "$ac_c_werror_flag"
9990 - || test ! -s conftest.err'
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); }; } &&
9996 - { ac_try='test -s conftest.$ac_objext'
9997 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9998 - (eval $ac_try) 2>&5
10000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 - (exit $ac_status); }; }; then
10002 + (exit $ac_status); } && {
10003 + test -z "$ac_c_werror_flag" ||
10004 + test ! -s conftest.err
10005 + } && test -s conftest.$ac_objext; then
10008 cat >conftest.$ac_ext <<_ACEOF
10009 @@ -9194,10 +9772,11 @@ cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10012 $ac_includes_default
10013 + typedef long ac__type_sizeof_;
10017 -static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
10018 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
10022 @@ -9205,50 +9784,48 @@ test_array [0] = 0
10025 rm -f conftest.$ac_objext
10026 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10027 - (eval $ac_compile) 2>conftest.er1
10028 +if { (ac_try="$ac_compile"
10029 +case "(($ac_try" in
10030 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10031 + *) ac_try_echo=$ac_try;;
10033 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10034 + (eval "$ac_compile") 2>conftest.er1
10036 grep -v '^ *+' conftest.er1 >conftest.err
10038 cat conftest.err >&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 - (exit $ac_status); } &&
10041 - { ac_try='test -z "$ac_c_werror_flag"
10042 - || test ! -s conftest.err'
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); }; } &&
10048 - { ac_try='test -s conftest.$ac_objext'
10049 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10050 - (eval $ac_try) 2>&5
10052 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10053 - (exit $ac_status); }; }; then
10054 + (exit $ac_status); } && {
10055 + test -z "$ac_c_werror_flag" ||
10056 + test ! -s conftest.err
10057 + } && test -s conftest.$ac_objext; then
10058 ac_lo=$ac_mid; break
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 -ac_hi=`expr '(' $ac_mid ')' - 1`
10064 - if test $ac_mid -le $ac_hi; then
10068 - ac_mid=`expr 2 '*' $ac_mid`
10069 + ac_hi=`expr '(' $ac_mid ')' - 1`
10070 + if test $ac_mid -le $ac_hi; then
10074 + ac_mid=`expr 2 '*' $ac_mid`
10076 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10078 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10081 echo "$as_me: failed program was:" >&5
10082 sed 's/^/| /' conftest.$ac_ext >&5
10087 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10089 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10091 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10093 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10094 # Binary search between lo and hi bounds.
10095 while test "x$ac_lo" != "x$ac_hi"; do
10096 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10097 @@ -9259,10 +9836,11 @@ cat confdefs.h >>conftest.$ac_ext
10098 cat >>conftest.$ac_ext <<_ACEOF
10099 /* end confdefs.h. */
10100 $ac_includes_default
10101 + typedef long ac__type_sizeof_;
10105 -static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
10106 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
10110 @@ -9270,52 +9848,45 @@ test_array [0] = 0
10113 rm -f conftest.$ac_objext
10114 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10115 - (eval $ac_compile) 2>conftest.er1
10116 +if { (ac_try="$ac_compile"
10117 +case "(($ac_try" in
10118 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10119 + *) ac_try_echo=$ac_try;;
10121 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10122 + (eval "$ac_compile") 2>conftest.er1
10124 grep -v '^ *+' conftest.er1 >conftest.err
10126 cat conftest.err >&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 - (exit $ac_status); } &&
10129 - { ac_try='test -z "$ac_c_werror_flag"
10130 - || test ! -s conftest.err'
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); }; } &&
10136 - { ac_try='test -s conftest.$ac_objext'
10137 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 - (eval $ac_try) 2>&5
10140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 - (exit $ac_status); }; }; then
10142 + (exit $ac_status); } && {
10143 + test -z "$ac_c_werror_flag" ||
10144 + test ! -s conftest.err
10145 + } && test -s conftest.$ac_objext; then
10148 echo "$as_me: failed program was:" >&5
10149 sed 's/^/| /' conftest.$ac_ext >&5
10151 -ac_lo=`expr '(' $ac_mid ')' + 1`
10152 + ac_lo=`expr '(' $ac_mid ')' + 1`
10154 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10156 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10159 ?*) ac_cv_sizeof_long=$ac_lo;;
10160 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10161 +'') if test "$ac_cv_type_long" = yes; then
10162 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10163 See \`config.log' for more details." >&5
10164 -echo "$as_me: error: cannot compute sizeof (long), 77
10165 +echo "$as_me: error: cannot compute sizeof (long)
10166 See \`config.log' for more details." >&2;}
10167 - { (exit 1); exit 1; }; } ;;
10168 + { (exit 77); exit 77; }; }
10170 + ac_cv_sizeof_long=0
10174 - if test "$cross_compiling" = yes; then
10175 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10176 -See \`config.log' for more details." >&5
10177 -echo "$as_me: error: cannot run test program while cross compiling
10178 -See \`config.log' for more details." >&2;}
10179 - { (exit 1); exit 1; }; }
10181 cat >conftest.$ac_ext <<_ACEOF
10184 @@ -9323,8 +9894,9 @@ cat confdefs.h >>conftest.$ac_ext
10185 cat >>conftest.$ac_ext <<_ACEOF
10186 /* end confdefs.h. */
10187 $ac_includes_default
10188 -long longval () { return (long) (sizeof (long)); }
10189 -unsigned long ulongval () { return (long) (sizeof (long)); }
10190 + typedef long ac__type_sizeof_;
10191 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
10192 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
10194 #include <stdlib.h>
10196 @@ -9333,35 +9905,44 @@ main ()
10198 FILE *f = fopen ("conftest.val", "w");
10201 - if (((long) (sizeof (long))) < 0)
10203 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
10205 - long i = longval ();
10206 - if (i != ((long) (sizeof (long))))
10208 + long int i = longval ();
10209 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10211 fprintf (f, "%ld\n", i);
10215 - unsigned long i = ulongval ();
10216 - if (i != ((long) (sizeof (long))))
10218 + unsigned long int i = ulongval ();
10219 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
10221 fprintf (f, "%lu\n", i);
10223 - exit (ferror (f) || fclose (f) != 0);
10224 + return ferror (f) || fclose (f) != 0;
10230 rm -f conftest$ac_exeext
10231 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10232 - (eval $ac_link) 2>&5
10233 +if { (ac_try="$ac_link"
10234 +case "(($ac_try" in
10235 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10236 + *) ac_try_echo=$ac_try;;
10238 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10239 + (eval "$ac_link") 2>&5
10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10242 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10243 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10244 - (eval $ac_try) 2>&5
10245 + { (case "(($ac_try" in
10246 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247 + *) ac_try_echo=$ac_try;;
10249 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10250 + (eval "$ac_try") 2>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); }; }; then
10254 @@ -9372,22 +9953,25 @@ echo "$as_me: failed program was:" >&5
10255 sed 's/^/| /' conftest.$ac_ext >&5
10257 ( exit $ac_status )
10258 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
10259 +if test "$ac_cv_type_long" = yes; then
10260 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
10261 See \`config.log' for more details." >&5
10262 -echo "$as_me: error: cannot compute sizeof (long), 77
10263 +echo "$as_me: error: cannot compute sizeof (long)
10264 See \`config.log' for more details." >&2;}
10265 - { (exit 1); exit 1; }; }
10267 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10268 + { (exit 77); exit 77; }; }
10270 + ac_cv_sizeof_long=0
10273 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10277 - ac_cv_sizeof_long=0
10280 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10281 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6
10282 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
10283 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
10287 cat >>confdefs.h <<_ACEOF
10288 #define SIZEOF_LONG $ac_cv_sizeof_long
10290 @@ -9428,8 +10012,8 @@ fi
10291 if test "x$cross_compiling" = "xno"; then
10292 EXEEXT_FOR_BUILD='$(EXEEXT)'
10294 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10295 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
10296 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
10297 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
10298 if test "${bfd_cv_build_exeext+set}" = set; then
10299 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 @@ -9446,8 +10030,8 @@ else
10303 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
10305 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10306 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
10307 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
10308 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
10309 EXEEXT_FOR_BUILD=""
10310 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
10312 @@ -9462,18 +10046,19 @@ fi
10313 for ac_header in stddef.h string.h strings.h stdlib.h time.h unistd.h
10315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10316 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10317 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10318 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10319 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10320 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10321 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10322 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10323 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10326 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10327 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10328 +ac_res=`eval echo '${'$as_ac_Header'}'`
10329 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10330 +echo "${ECHO_T}$ac_res" >&6; }
10332 # Is the header compilable?
10333 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10334 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10335 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10336 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10337 cat >conftest.$ac_ext <<_ACEOF
10340 @@ -9484,41 +10069,37 @@ $ac_includes_default
10341 #include <$ac_header>
10343 rm -f conftest.$ac_objext
10344 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10345 - (eval $ac_compile) 2>conftest.er1
10346 +if { (ac_try="$ac_compile"
10347 +case "(($ac_try" in
10348 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10349 + *) ac_try_echo=$ac_try;;
10351 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10352 + (eval "$ac_compile") 2>conftest.er1
10354 grep -v '^ *+' conftest.er1 >conftest.err
10356 cat conftest.err >&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 - (exit $ac_status); } &&
10359 - { ac_try='test -z "$ac_c_werror_flag"
10360 - || test ! -s conftest.err'
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); }; } &&
10366 - { ac_try='test -s conftest.$ac_objext'
10367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 - (eval $ac_try) 2>&5
10370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 - (exit $ac_status); }; }; then
10372 + (exit $ac_status); } && {
10373 + test -z "$ac_c_werror_flag" ||
10374 + test ! -s conftest.err
10375 + } && test -s conftest.$ac_objext; then
10376 ac_header_compiler=yes
10378 echo "$as_me: failed program was:" >&5
10379 sed 's/^/| /' conftest.$ac_ext >&5
10381 -ac_header_compiler=no
10382 + ac_header_compiler=no
10384 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10385 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10386 -echo "${ECHO_T}$ac_header_compiler" >&6
10388 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10389 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10390 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10392 # Is the header present?
10393 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10394 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10395 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10396 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10397 cat >conftest.$ac_ext <<_ACEOF
10400 @@ -9527,24 +10108,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10401 /* end confdefs.h. */
10402 #include <$ac_header>
10404 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10405 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10406 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10407 +case "(($ac_try" in
10408 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10409 + *) ac_try_echo=$ac_try;;
10411 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10412 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10414 grep -v '^ *+' conftest.er1 >conftest.err
10416 cat conftest.err >&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 - (exit $ac_status); } >/dev/null; then
10419 - if test -s conftest.err; then
10420 - ac_cpp_err=$ac_c_preproc_warn_flag
10421 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10428 -if test -z "$ac_cpp_err"; then
10429 + (exit $ac_status); } >/dev/null && {
10430 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10431 + test ! -s conftest.err
10433 ac_header_preproc=yes
10435 echo "$as_me: failed program was:" >&5
10436 @@ -9552,9 +10131,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10438 ac_header_preproc=no
10441 rm -f conftest.err conftest.$ac_ext
10442 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10443 -echo "${ECHO_T}$ac_header_preproc" >&6
10444 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10445 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10447 # So? What about this header?
10448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10449 @@ -9578,25 +10158,19 @@ echo "$as_me: WARNING: $ac_header: s
10450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10455 -## ------------------------------------------ ##
10456 -## Report this to the AC_PACKAGE_NAME lists. ##
10457 -## ------------------------------------------ ##
10460 - sed "s/^/$as_me: WARNING: /" >&2
10464 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10465 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10466 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10467 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10468 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10469 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 eval "$as_ac_Header=\$ac_header_preproc"
10474 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10475 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10476 +ac_res=`eval echo '${'$as_ac_Header'}'`
10477 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10478 +echo "${ECHO_T}$ac_res" >&6; }
10481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10482 @@ -9614,18 +10188,19 @@ done
10483 for ac_header in fcntl.h sys/file.h sys/time.h
10485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10486 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10487 - echo "$as_me:$LINENO: checking for $ac_header" >&5
10488 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10489 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10490 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10491 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
10492 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10493 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10494 echo $ECHO_N "(cached) $ECHO_C" >&6
10496 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10497 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10498 +ac_res=`eval echo '${'$as_ac_Header'}'`
10499 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10500 +echo "${ECHO_T}$ac_res" >&6; }
10502 # Is the header compilable?
10503 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
10504 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10505 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10506 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10507 cat >conftest.$ac_ext <<_ACEOF
10510 @@ -9636,41 +10211,37 @@ $ac_includes_default
10511 #include <$ac_header>
10513 rm -f conftest.$ac_objext
10514 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10515 - (eval $ac_compile) 2>conftest.er1
10516 +if { (ac_try="$ac_compile"
10517 +case "(($ac_try" in
10518 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10519 + *) ac_try_echo=$ac_try;;
10521 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10522 + (eval "$ac_compile") 2>conftest.er1
10524 grep -v '^ *+' conftest.er1 >conftest.err
10526 cat conftest.err >&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 - (exit $ac_status); } &&
10529 - { ac_try='test -z "$ac_c_werror_flag"
10530 - || test ! -s conftest.err'
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); }; } &&
10536 - { ac_try='test -s conftest.$ac_objext'
10537 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 - (eval $ac_try) 2>&5
10540 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 - (exit $ac_status); }; }; then
10542 + (exit $ac_status); } && {
10543 + test -z "$ac_c_werror_flag" ||
10544 + test ! -s conftest.err
10545 + } && test -s conftest.$ac_objext; then
10546 ac_header_compiler=yes
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10551 -ac_header_compiler=no
10552 + ac_header_compiler=no
10554 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10555 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10556 -echo "${ECHO_T}$ac_header_compiler" >&6
10558 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10559 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10560 +echo "${ECHO_T}$ac_header_compiler" >&6; }
10562 # Is the header present?
10563 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
10564 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10565 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10566 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10567 cat >conftest.$ac_ext <<_ACEOF
10570 @@ -9679,24 +10250,22 @@ cat >>conftest.$ac_ext <<_ACEOF
10571 /* end confdefs.h. */
10572 #include <$ac_header>
10574 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10575 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10576 +if { (ac_try="$ac_cpp conftest.$ac_ext"
10577 +case "(($ac_try" in
10578 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10579 + *) ac_try_echo=$ac_try;;
10581 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10582 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10584 grep -v '^ *+' conftest.er1 >conftest.err
10586 cat conftest.err >&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 - (exit $ac_status); } >/dev/null; then
10589 - if test -s conftest.err; then
10590 - ac_cpp_err=$ac_c_preproc_warn_flag
10591 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10598 -if test -z "$ac_cpp_err"; then
10599 + (exit $ac_status); } >/dev/null && {
10600 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10601 + test ! -s conftest.err
10603 ac_header_preproc=yes
10605 echo "$as_me: failed program was:" >&5
10606 @@ -9704,9 +10273,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
10608 ac_header_preproc=no
10611 rm -f conftest.err conftest.$ac_ext
10612 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10613 -echo "${ECHO_T}$ac_header_preproc" >&6
10614 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10615 +echo "${ECHO_T}$ac_header_preproc" >&6; }
10617 # So? What about this header?
10618 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10619 @@ -9730,25 +10300,19 @@ echo "$as_me: WARNING: $ac_header: s
10620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10625 -## ------------------------------------------ ##
10626 -## Report this to the AC_PACKAGE_NAME lists. ##
10627 -## ------------------------------------------ ##
10630 - sed "s/^/$as_me: WARNING: /" >&2
10634 -echo "$as_me:$LINENO: checking for $ac_header" >&5
10635 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10636 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10637 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10638 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10639 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10640 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 eval "$as_ac_Header=\$ac_header_preproc"
10644 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10645 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10646 +ac_res=`eval echo '${'$as_ac_Header'}'`
10647 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10648 +echo "${ECHO_T}$ac_res" >&6; }
10651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10652 @@ -9760,8 +10324,8 @@ fi
10656 -echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10657 -echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10658 +{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10659 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
10660 if test "${ac_cv_header_time+set}" = set; then
10661 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 @@ -9785,38 +10349,34 @@ return 0;
10666 rm -f conftest.$ac_objext
10667 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10668 - (eval $ac_compile) 2>conftest.er1
10669 +if { (ac_try="$ac_compile"
10670 +case "(($ac_try" in
10671 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10672 + *) ac_try_echo=$ac_try;;
10674 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10675 + (eval "$ac_compile") 2>conftest.er1
10677 grep -v '^ *+' conftest.er1 >conftest.err
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 - (exit $ac_status); } &&
10682 - { ac_try='test -z "$ac_c_werror_flag"
10683 - || test ! -s conftest.err'
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); }; } &&
10689 - { ac_try='test -s conftest.$ac_objext'
10690 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10691 - (eval $ac_try) 2>&5
10693 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 - (exit $ac_status); }; }; then
10695 + (exit $ac_status); } && {
10696 + test -z "$ac_c_werror_flag" ||
10697 + test ! -s conftest.err
10698 + } && test -s conftest.$ac_objext; then
10699 ac_cv_header_time=yes
10701 echo "$as_me: failed program was:" >&5
10702 sed 's/^/| /' conftest.$ac_ext >&5
10704 -ac_cv_header_time=no
10705 + ac_cv_header_time=no
10707 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10709 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10711 -echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10712 -echo "${ECHO_T}$ac_cv_header_time" >&6
10713 +{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10714 +echo "${ECHO_T}$ac_cv_header_time" >&6; }
10715 if test $ac_cv_header_time = yes; then
10717 cat >>confdefs.h <<\_ACEOF
10718 @@ -9833,9 +10393,9 @@ fi
10719 ac_header_dirent=no
10720 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
10721 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10722 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10723 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
10724 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
10725 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10726 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
10727 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10728 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 cat >conftest.$ac_ext <<_ACEOF
10731 @@ -9857,38 +10417,35 @@ return 0;
10734 rm -f conftest.$ac_objext
10735 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10736 - (eval $ac_compile) 2>conftest.er1
10737 +if { (ac_try="$ac_compile"
10738 +case "(($ac_try" in
10739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10740 + *) ac_try_echo=$ac_try;;
10742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10743 + (eval "$ac_compile") 2>conftest.er1
10745 grep -v '^ *+' conftest.er1 >conftest.err
10747 cat conftest.err >&5
10748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10749 - (exit $ac_status); } &&
10750 - { ac_try='test -z "$ac_c_werror_flag"
10751 - || test ! -s conftest.err'
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); }; } &&
10757 - { ac_try='test -s conftest.$ac_objext'
10758 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10759 - (eval $ac_try) 2>&5
10761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 - (exit $ac_status); }; }; then
10763 + (exit $ac_status); } && {
10764 + test -z "$ac_c_werror_flag" ||
10765 + test ! -s conftest.err
10766 + } && test -s conftest.$ac_objext; then
10767 eval "$as_ac_Header=yes"
10769 echo "$as_me: failed program was:" >&5
10770 sed 's/^/| /' conftest.$ac_ext >&5
10772 -eval "$as_ac_Header=no"
10773 + eval "$as_ac_Header=no"
10775 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10777 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10779 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10780 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10781 +ac_res=`eval echo '${'$as_ac_Header'}'`
10782 + { echo "$as_me:$LINENO: result: $ac_res" >&5
10783 +echo "${ECHO_T}$ac_res" >&6; }
10784 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10785 cat >>confdefs.h <<_ACEOF
10786 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10787 @@ -9900,13 +10457,12 @@ fi
10789 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10790 if test $ac_header_dirent = dirent.h; then
10791 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10792 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10793 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10794 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10795 if test "${ac_cv_search_opendir+set}" = set; then
10796 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 ac_func_search_save_LIBS=$LIBS
10799 -ac_cv_search_opendir=no
10800 cat >conftest.$ac_ext <<_ACEOF
10803 @@ -9914,126 +10470,83 @@ cat confdefs.h >>conftest.$ac_ext
10804 cat >>conftest.$ac_ext <<_ACEOF
10805 /* end confdefs.h. */
10807 -/* Override any gcc2 internal prototype to avoid an error. */
10808 +/* Override any GCC internal prototype to avoid an error.
10809 + Use char because int might match the return type of a GCC
10810 + builtin and then its argument prototype would still apply. */
10814 -/* We use char because int might match the return type of a gcc2
10815 - builtin and then its argument prototype would still apply. */
10821 +return opendir ();
10826 -rm -f conftest.$ac_objext conftest$ac_exeext
10827 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10828 - (eval $ac_link) 2>conftest.er1
10829 +for ac_lib in '' dir; do
10830 + if test -z "$ac_lib"; then
10831 + ac_res="none required"
10834 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10836 + rm -f conftest.$ac_objext conftest$ac_exeext
10837 +if { (ac_try="$ac_link"
10838 +case "(($ac_try" in
10839 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10840 + *) ac_try_echo=$ac_try;;
10842 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10843 + (eval "$ac_link") 2>conftest.er1
10845 grep -v '^ *+' conftest.er1 >conftest.err
10847 cat conftest.err >&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 - (exit $ac_status); } &&
10850 - { ac_try='test -z "$ac_c_werror_flag"
10851 - || test ! -s conftest.err'
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); }; } &&
10857 - { ac_try='test -s conftest$ac_exeext'
10858 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859 - (eval $ac_try) 2>&5
10861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862 - (exit $ac_status); }; }; then
10863 - ac_cv_search_opendir="none required"
10864 + (exit $ac_status); } && {
10865 + test -z "$ac_c_werror_flag" ||
10866 + test ! -s conftest.err
10867 + } && test -s conftest$ac_exeext &&
10868 + $as_test_x conftest$ac_exeext; then
10869 + ac_cv_search_opendir=$ac_res
10871 echo "$as_me: failed program was:" >&5
10872 sed 's/^/| /' conftest.$ac_ext >&5
10875 -rm -f conftest.err conftest.$ac_objext \
10876 - conftest$ac_exeext conftest.$ac_ext
10877 -if test "$ac_cv_search_opendir" = no; then
10878 - for ac_lib in dir; do
10879 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10880 - cat >conftest.$ac_ext <<_ACEOF
10883 -cat confdefs.h >>conftest.$ac_ext
10884 -cat >>conftest.$ac_ext <<_ACEOF
10885 -/* end confdefs.h. */
10887 -/* Override any gcc2 internal prototype to avoid an error. */
10888 -#ifdef __cplusplus
10891 -/* We use char because int might match the return type of a gcc2
10892 - builtin and then its argument prototype would still apply. */
10902 -rm -f conftest.$ac_objext conftest$ac_exeext
10903 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 - (eval $ac_link) 2>conftest.er1
10906 - grep -v '^ *+' conftest.er1 >conftest.err
10907 - rm -f conftest.er1
10908 - cat conftest.err >&5
10909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 - (exit $ac_status); } &&
10911 - { ac_try='test -z "$ac_c_werror_flag"
10912 - || test ! -s conftest.err'
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); }; } &&
10918 - { ac_try='test -s conftest$ac_exeext'
10919 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 - (eval $ac_try) 2>&5
10922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 - (exit $ac_status); }; }; then
10924 - ac_cv_search_opendir="-l$ac_lib"
10927 - echo "$as_me: failed program was:" >&5
10928 -sed 's/^/| /' conftest.$ac_ext >&5
10931 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10932 + conftest$ac_exeext
10933 + if test "${ac_cv_search_opendir+set}" = set; then
10936 -rm -f conftest.err conftest.$ac_objext \
10937 - conftest$ac_exeext conftest.$ac_ext
10940 +if test "${ac_cv_search_opendir+set}" = set; then
10943 + ac_cv_search_opendir=no
10945 +rm conftest.$ac_ext
10946 LIBS=$ac_func_search_save_LIBS
10948 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10949 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
10950 -if test "$ac_cv_search_opendir" != no; then
10951 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
10952 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10953 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
10954 +ac_res=$ac_cv_search_opendir
10955 +if test "$ac_res" != no; then
10956 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10961 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
10962 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
10963 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
10964 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
10965 if test "${ac_cv_search_opendir+set}" = set; then
10966 echo $ECHO_N "(cached) $ECHO_C" >&6
10968 ac_func_search_save_LIBS=$LIBS
10969 -ac_cv_search_opendir=no
10970 cat >conftest.$ac_ext <<_ACEOF
10973 @@ -10041,122 +10554,80 @@ cat confdefs.h >>conftest.$ac_ext
10974 cat >>conftest.$ac_ext <<_ACEOF
10975 /* end confdefs.h. */
10977 -/* Override any gcc2 internal prototype to avoid an error. */
10978 +/* Override any GCC internal prototype to avoid an error.
10979 + Use char because int might match the return type of a GCC
10980 + builtin and then its argument prototype would still apply. */
10984 -/* We use char because int might match the return type of a gcc2
10985 - builtin and then its argument prototype would still apply. */
10991 +return opendir ();
10996 -rm -f conftest.$ac_objext conftest$ac_exeext
10997 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10998 - (eval $ac_link) 2>conftest.er1
10999 +for ac_lib in '' x; do
11000 + if test -z "$ac_lib"; then
11001 + ac_res="none required"
11004 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11006 + rm -f conftest.$ac_objext conftest$ac_exeext
11007 +if { (ac_try="$ac_link"
11008 +case "(($ac_try" in
11009 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11010 + *) ac_try_echo=$ac_try;;
11012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11013 + (eval "$ac_link") 2>conftest.er1
11015 grep -v '^ *+' conftest.er1 >conftest.err
11017 cat conftest.err >&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 - (exit $ac_status); } &&
11020 - { ac_try='test -z "$ac_c_werror_flag"
11021 - || test ! -s conftest.err'
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); }; } &&
11027 - { ac_try='test -s conftest$ac_exeext'
11028 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11029 - (eval $ac_try) 2>&5
11031 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 - (exit $ac_status); }; }; then
11033 - ac_cv_search_opendir="none required"
11034 + (exit $ac_status); } && {
11035 + test -z "$ac_c_werror_flag" ||
11036 + test ! -s conftest.err
11037 + } && test -s conftest$ac_exeext &&
11038 + $as_test_x conftest$ac_exeext; then
11039 + ac_cv_search_opendir=$ac_res
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11045 -rm -f conftest.err conftest.$ac_objext \
11046 - conftest$ac_exeext conftest.$ac_ext
11047 -if test "$ac_cv_search_opendir" = no; then
11048 - for ac_lib in x; do
11049 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11050 - cat >conftest.$ac_ext <<_ACEOF
11053 -cat confdefs.h >>conftest.$ac_ext
11054 -cat >>conftest.$ac_ext <<_ACEOF
11055 -/* end confdefs.h. */
11057 -/* Override any gcc2 internal prototype to avoid an error. */
11058 -#ifdef __cplusplus
11061 -/* We use char because int might match the return type of a gcc2
11062 - builtin and then its argument prototype would still apply. */
11072 -rm -f conftest.$ac_objext conftest$ac_exeext
11073 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11074 - (eval $ac_link) 2>conftest.er1
11076 - grep -v '^ *+' conftest.er1 >conftest.err
11077 - rm -f conftest.er1
11078 - cat conftest.err >&5
11079 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 - (exit $ac_status); } &&
11081 - { ac_try='test -z "$ac_c_werror_flag"
11082 - || test ! -s conftest.err'
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); }; } &&
11088 - { ac_try='test -s conftest$ac_exeext'
11089 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11090 - (eval $ac_try) 2>&5
11092 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 - (exit $ac_status); }; }; then
11094 - ac_cv_search_opendir="-l$ac_lib"
11097 - echo "$as_me: failed program was:" >&5
11098 -sed 's/^/| /' conftest.$ac_ext >&5
11101 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11102 + conftest$ac_exeext
11103 + if test "${ac_cv_search_opendir+set}" = set; then
11106 -rm -f conftest.err conftest.$ac_objext \
11107 - conftest$ac_exeext conftest.$ac_ext
11110 +if test "${ac_cv_search_opendir+set}" = set; then
11113 + ac_cv_search_opendir=no
11115 +rm conftest.$ac_ext
11116 LIBS=$ac_func_search_save_LIBS
11118 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11119 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
11120 -if test "$ac_cv_search_opendir" != no; then
11121 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11122 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11123 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
11124 +ac_res=$ac_cv_search_opendir
11125 +if test "$ac_res" != no; then
11126 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11132 -echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11133 -echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
11134 +{ echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
11135 +echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6; }
11136 if test "${gcc_cv_header_string+set}" = set; then
11137 echo $ECHO_N "(cached) $ECHO_C" >&6
11139 @@ -10177,38 +10648,34 @@ main ()
11142 rm -f conftest.$ac_objext
11143 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11144 - (eval $ac_compile) 2>conftest.er1
11145 +if { (ac_try="$ac_compile"
11146 +case "(($ac_try" in
11147 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11148 + *) ac_try_echo=$ac_try;;
11150 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11151 + (eval "$ac_compile") 2>conftest.er1
11153 grep -v '^ *+' conftest.er1 >conftest.err
11155 cat conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 - (exit $ac_status); } &&
11158 - { ac_try='test -z "$ac_c_werror_flag"
11159 - || test ! -s conftest.err'
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); }; } &&
11165 - { ac_try='test -s conftest.$ac_objext'
11166 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11167 - (eval $ac_try) 2>&5
11169 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 - (exit $ac_status); }; }; then
11171 + (exit $ac_status); } && {
11172 + test -z "$ac_c_werror_flag" ||
11173 + test ! -s conftest.err
11174 + } && test -s conftest.$ac_objext; then
11175 gcc_cv_header_string=yes
11177 echo "$as_me: failed program was:" >&5
11178 sed 's/^/| /' conftest.$ac_ext >&5
11180 -gcc_cv_header_string=no
11181 + gcc_cv_header_string=no
11183 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11185 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11187 -echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11188 -echo "${ECHO_T}$gcc_cv_header_string" >&6
11189 +{ echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
11190 +echo "${ECHO_T}$gcc_cv_header_string" >&6; }
11191 if test $gcc_cv_header_string = yes; then
11193 cat >>confdefs.h <<\_ACEOF
11194 @@ -10227,9 +10694,9 @@ fi
11195 for ac_func in fcntl getpagesize setitimer sysconf fdopen getuid getgid
11197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11198 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11199 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11200 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11201 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11202 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11203 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11204 echo $ECHO_N "(cached) $ECHO_C" >&6
11206 cat >conftest.$ac_ext <<_ACEOF
11207 @@ -10255,68 +10722,60 @@ cat >>conftest.$ac_ext <<_ACEOF
11211 -/* Override any gcc2 internal prototype to avoid an error. */
11212 +/* Override any GCC internal prototype to avoid an error.
11213 + Use char because int might match the return type of a GCC
11214 + builtin and then its argument prototype would still apply. */
11219 -/* We use char because int might match the return type of a gcc2
11220 - builtin and then its argument prototype would still apply. */
11222 /* The GNU C library defines this for functions which it implements
11223 to always fail with ENOSYS. Some functions are actually named
11224 something starting with __ and the normal name is an alias. */
11225 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11226 +#if defined __stub_$ac_func || defined __stub___$ac_func
11229 -char (*f) () = $ac_func;
11231 -#ifdef __cplusplus
11238 -return f != $ac_func;
11239 +return $ac_func ();
11244 rm -f conftest.$ac_objext conftest$ac_exeext
11245 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11246 - (eval $ac_link) 2>conftest.er1
11247 +if { (ac_try="$ac_link"
11248 +case "(($ac_try" in
11249 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11250 + *) ac_try_echo=$ac_try;;
11252 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11253 + (eval "$ac_link") 2>conftest.er1
11255 grep -v '^ *+' conftest.er1 >conftest.err
11257 cat conftest.err >&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 - (exit $ac_status); } &&
11260 - { ac_try='test -z "$ac_c_werror_flag"
11261 - || test ! -s conftest.err'
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); }; } &&
11267 - { ac_try='test -s conftest$ac_exeext'
11268 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 - (eval $ac_try) 2>&5
11271 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 - (exit $ac_status); }; }; then
11273 + (exit $ac_status); } && {
11274 + test -z "$ac_c_werror_flag" ||
11275 + test ! -s conftest.err
11276 + } && test -s conftest$ac_exeext &&
11277 + $as_test_x conftest$ac_exeext; then
11278 eval "$as_ac_var=yes"
11280 echo "$as_me: failed program was:" >&5
11281 sed 's/^/| /' conftest.$ac_ext >&5
11283 -eval "$as_ac_var=no"
11284 + eval "$as_ac_var=no"
11286 -rm -f conftest.err conftest.$ac_objext \
11288 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11289 conftest$ac_exeext conftest.$ac_ext
11291 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11292 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11293 +ac_res=`eval echo '${'$as_ac_var'}'`
11294 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11295 +echo "${ECHO_T}$ac_res" >&6; }
11296 if test `eval echo '${'$as_ac_var'}'` = yes; then
11297 cat >>confdefs.h <<_ACEOF
11298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11299 @@ -10329,9 +10788,9 @@ done
11300 for ac_func in strtoull
11302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11303 -echo "$as_me:$LINENO: checking for $ac_func" >&5
11304 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11305 -if eval "test \"\${$as_ac_var+set}\" = set"; then
11306 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11307 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11308 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11311 cat >conftest.$ac_ext <<_ACEOF
11312 @@ -10357,68 +10816,60 @@ cat >>conftest.$ac_ext <<_ACEOF
11316 -/* Override any gcc2 internal prototype to avoid an error. */
11317 +/* Override any GCC internal prototype to avoid an error.
11318 + Use char because int might match the return type of a GCC
11319 + builtin and then its argument prototype would still apply. */
11324 -/* We use char because int might match the return type of a gcc2
11325 - builtin and then its argument prototype would still apply. */
11327 /* The GNU C library defines this for functions which it implements
11328 to always fail with ENOSYS. Some functions are actually named
11329 something starting with __ and the normal name is an alias. */
11330 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11331 +#if defined __stub_$ac_func || defined __stub___$ac_func
11334 -char (*f) () = $ac_func;
11336 -#ifdef __cplusplus
11343 -return f != $ac_func;
11344 +return $ac_func ();
11349 rm -f conftest.$ac_objext conftest$ac_exeext
11350 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11351 - (eval $ac_link) 2>conftest.er1
11352 +if { (ac_try="$ac_link"
11353 +case "(($ac_try" in
11354 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11355 + *) ac_try_echo=$ac_try;;
11357 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11358 + (eval "$ac_link") 2>conftest.er1
11360 grep -v '^ *+' conftest.er1 >conftest.err
11362 cat conftest.err >&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 - (exit $ac_status); } &&
11365 - { ac_try='test -z "$ac_c_werror_flag"
11366 - || test ! -s conftest.err'
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); }; } &&
11372 - { ac_try='test -s conftest$ac_exeext'
11373 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11374 - (eval $ac_try) 2>&5
11376 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11377 - (exit $ac_status); }; }; then
11378 + (exit $ac_status); } && {
11379 + test -z "$ac_c_werror_flag" ||
11380 + test ! -s conftest.err
11381 + } && test -s conftest$ac_exeext &&
11382 + $as_test_x conftest$ac_exeext; then
11383 eval "$as_ac_var=yes"
11385 echo "$as_me: failed program was:" >&5
11386 sed 's/^/| /' conftest.$ac_ext >&5
11388 -eval "$as_ac_var=no"
11389 + eval "$as_ac_var=no"
11391 -rm -f conftest.err conftest.$ac_objext \
11393 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11394 conftest$ac_exeext conftest.$ac_ext
11396 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11397 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11398 +ac_res=`eval echo '${'$as_ac_var'}'`
11399 + { echo "$as_me:$LINENO: result: $ac_res" >&5
11400 +echo "${ECHO_T}$ac_res" >&6; }
11401 if test `eval echo '${'$as_ac_var'}'` = yes; then
11402 cat >>confdefs.h <<_ACEOF
11403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11404 @@ -10428,8 +10879,8 @@ fi
11408 -echo "$as_me:$LINENO: checking whether basename is declared" >&5
11409 -echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
11410 +{ echo "$as_me:$LINENO: checking whether basename is declared" >&5
11411 +echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6; }
11412 if test "${ac_cv_have_decl_basename+set}" = set; then
11413 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 @@ -10444,7 +10895,7 @@ int
11419 - char *p = (char *) basename;
11424 @@ -10452,38 +10903,34 @@ main ()
11427 rm -f conftest.$ac_objext
11428 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11429 - (eval $ac_compile) 2>conftest.er1
11430 +if { (ac_try="$ac_compile"
11431 +case "(($ac_try" in
11432 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11433 + *) ac_try_echo=$ac_try;;
11435 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11436 + (eval "$ac_compile") 2>conftest.er1
11438 grep -v '^ *+' conftest.er1 >conftest.err
11440 cat conftest.err >&5
11441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 - (exit $ac_status); } &&
11443 - { ac_try='test -z "$ac_c_werror_flag"
11444 - || test ! -s conftest.err'
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); }; } &&
11450 - { ac_try='test -s conftest.$ac_objext'
11451 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11452 - (eval $ac_try) 2>&5
11454 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 - (exit $ac_status); }; }; then
11456 + (exit $ac_status); } && {
11457 + test -z "$ac_c_werror_flag" ||
11458 + test ! -s conftest.err
11459 + } && test -s conftest.$ac_objext; then
11460 ac_cv_have_decl_basename=yes
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 -ac_cv_have_decl_basename=no
11466 + ac_cv_have_decl_basename=no
11468 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11470 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11472 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11473 -echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
11474 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
11475 +echo "${ECHO_T}$ac_cv_have_decl_basename" >&6; }
11476 if test $ac_cv_have_decl_basename = yes; then
11478 cat >>confdefs.h <<_ACEOF
11479 @@ -10500,8 +10947,8 @@ _ACEOF
11483 -echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11484 -echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6
11485 +{ echo "$as_me:$LINENO: checking whether ftello is declared" >&5
11486 +echo $ECHO_N "checking whether ftello is declared... $ECHO_C" >&6; }
11487 if test "${ac_cv_have_decl_ftello+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 @@ -10516,7 +10963,7 @@ int
11494 - char *p = (char *) ftello;
11499 @@ -10524,38 +10971,34 @@ main ()
11502 rm -f conftest.$ac_objext
11503 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11504 - (eval $ac_compile) 2>conftest.er1
11505 +if { (ac_try="$ac_compile"
11506 +case "(($ac_try" in
11507 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11508 + *) ac_try_echo=$ac_try;;
11510 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11511 + (eval "$ac_compile") 2>conftest.er1
11513 grep -v '^ *+' conftest.er1 >conftest.err
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 - (exit $ac_status); } &&
11518 - { ac_try='test -z "$ac_c_werror_flag"
11519 - || test ! -s conftest.err'
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); }; } &&
11525 - { ac_try='test -s conftest.$ac_objext'
11526 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 - (eval $ac_try) 2>&5
11529 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 - (exit $ac_status); }; }; then
11531 + (exit $ac_status); } && {
11532 + test -z "$ac_c_werror_flag" ||
11533 + test ! -s conftest.err
11534 + } && test -s conftest.$ac_objext; then
11535 ac_cv_have_decl_ftello=yes
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11540 -ac_cv_have_decl_ftello=no
11541 + ac_cv_have_decl_ftello=no
11543 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11545 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11547 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11548 -echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6
11549 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello" >&5
11550 +echo "${ECHO_T}$ac_cv_have_decl_ftello" >&6; }
11551 if test $ac_cv_have_decl_ftello = yes; then
11553 cat >>confdefs.h <<_ACEOF
11554 @@ -10572,8 +11015,8 @@ _ACEOF
11558 -echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11559 -echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6
11560 +{ echo "$as_me:$LINENO: checking whether ftello64 is declared" >&5
11561 +echo $ECHO_N "checking whether ftello64 is declared... $ECHO_C" >&6; }
11562 if test "${ac_cv_have_decl_ftello64+set}" = set; then
11563 echo $ECHO_N "(cached) $ECHO_C" >&6
11565 @@ -10588,7 +11031,7 @@ int
11569 - char *p = (char *) ftello64;
11574 @@ -10596,38 +11039,34 @@ main ()
11577 rm -f conftest.$ac_objext
11578 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11579 - (eval $ac_compile) 2>conftest.er1
11580 +if { (ac_try="$ac_compile"
11581 +case "(($ac_try" in
11582 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11583 + *) ac_try_echo=$ac_try;;
11585 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 + (eval "$ac_compile") 2>conftest.er1
11588 grep -v '^ *+' conftest.er1 >conftest.err
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 - (exit $ac_status); } &&
11593 - { ac_try='test -z "$ac_c_werror_flag"
11594 - || test ! -s conftest.err'
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); }; } &&
11600 - { ac_try='test -s conftest.$ac_objext'
11601 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602 - (eval $ac_try) 2>&5
11604 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 - (exit $ac_status); }; }; then
11606 + (exit $ac_status); } && {
11607 + test -z "$ac_c_werror_flag" ||
11608 + test ! -s conftest.err
11609 + } && test -s conftest.$ac_objext; then
11610 ac_cv_have_decl_ftello64=yes
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.$ac_ext >&5
11615 -ac_cv_have_decl_ftello64=no
11616 + ac_cv_have_decl_ftello64=no
11618 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11620 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11622 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11623 -echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6
11624 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ftello64" >&5
11625 +echo "${ECHO_T}$ac_cv_have_decl_ftello64" >&6; }
11626 if test $ac_cv_have_decl_ftello64 = yes; then
11628 cat >>confdefs.h <<_ACEOF
11629 @@ -10644,8 +11083,8 @@ _ACEOF
11633 -echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11634 -echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6
11635 +{ echo "$as_me:$LINENO: checking whether fseeko is declared" >&5
11636 +echo $ECHO_N "checking whether fseeko is declared... $ECHO_C" >&6; }
11637 if test "${ac_cv_have_decl_fseeko+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11640 @@ -10660,7 +11099,7 @@ int
11644 - char *p = (char *) fseeko;
11649 @@ -10668,38 +11107,34 @@ main ()
11652 rm -f conftest.$ac_objext
11653 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11654 - (eval $ac_compile) 2>conftest.er1
11655 +if { (ac_try="$ac_compile"
11656 +case "(($ac_try" in
11657 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11658 + *) ac_try_echo=$ac_try;;
11660 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11661 + (eval "$ac_compile") 2>conftest.er1
11663 grep -v '^ *+' conftest.er1 >conftest.err
11665 cat conftest.err >&5
11666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 - (exit $ac_status); } &&
11668 - { ac_try='test -z "$ac_c_werror_flag"
11669 - || test ! -s conftest.err'
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); }; } &&
11675 - { ac_try='test -s conftest.$ac_objext'
11676 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 - (eval $ac_try) 2>&5
11679 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 - (exit $ac_status); }; }; then
11681 + (exit $ac_status); } && {
11682 + test -z "$ac_c_werror_flag" ||
11683 + test ! -s conftest.err
11684 + } && test -s conftest.$ac_objext; then
11685 ac_cv_have_decl_fseeko=yes
11687 echo "$as_me: failed program was:" >&5
11688 sed 's/^/| /' conftest.$ac_ext >&5
11690 -ac_cv_have_decl_fseeko=no
11691 + ac_cv_have_decl_fseeko=no
11693 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11695 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11697 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11698 -echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6
11699 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko" >&5
11700 +echo "${ECHO_T}$ac_cv_have_decl_fseeko" >&6; }
11701 if test $ac_cv_have_decl_fseeko = yes; then
11703 cat >>confdefs.h <<_ACEOF
11704 @@ -10716,8 +11151,8 @@ _ACEOF
11708 -echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11709 -echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6
11710 +{ echo "$as_me:$LINENO: checking whether fseeko64 is declared" >&5
11711 +echo $ECHO_N "checking whether fseeko64 is declared... $ECHO_C" >&6; }
11712 if test "${ac_cv_have_decl_fseeko64+set}" = set; then
11713 echo $ECHO_N "(cached) $ECHO_C" >&6
11715 @@ -10732,7 +11167,7 @@ int
11719 - char *p = (char *) fseeko64;
11724 @@ -10740,38 +11175,34 @@ main ()
11727 rm -f conftest.$ac_objext
11728 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11729 - (eval $ac_compile) 2>conftest.er1
11730 +if { (ac_try="$ac_compile"
11731 +case "(($ac_try" in
11732 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11733 + *) ac_try_echo=$ac_try;;
11735 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11736 + (eval "$ac_compile") 2>conftest.er1
11738 grep -v '^ *+' conftest.er1 >conftest.err
11740 cat conftest.err >&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 - (exit $ac_status); } &&
11743 - { ac_try='test -z "$ac_c_werror_flag"
11744 - || test ! -s conftest.err'
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); }; } &&
11750 - { ac_try='test -s conftest.$ac_objext'
11751 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11752 - (eval $ac_try) 2>&5
11754 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11755 - (exit $ac_status); }; }; then
11756 + (exit $ac_status); } && {
11757 + test -z "$ac_c_werror_flag" ||
11758 + test ! -s conftest.err
11759 + } && test -s conftest.$ac_objext; then
11760 ac_cv_have_decl_fseeko64=yes
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.$ac_ext >&5
11765 -ac_cv_have_decl_fseeko64=no
11766 + ac_cv_have_decl_fseeko64=no
11768 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11770 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11772 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11773 -echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6
11774 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fseeko64" >&5
11775 +echo "${ECHO_T}$ac_cv_have_decl_fseeko64" >&6; }
11776 if test $ac_cv_have_decl_fseeko64 = yes; then
11778 cat >>confdefs.h <<_ACEOF
11779 @@ -10799,8 +11230,8 @@ _ACEOF
11783 -echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11784 -echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6
11785 +{ echo "$as_me:$LINENO: checking whether ffs is declared" >&5
11786 +echo $ECHO_N "checking whether ffs is declared... $ECHO_C" >&6; }
11787 if test "${ac_cv_have_decl_ffs+set}" = set; then
11788 echo $ECHO_N "(cached) $ECHO_C" >&6
11790 @@ -10815,7 +11246,7 @@ int
11794 - char *p = (char *) ffs;
11799 @@ -10823,38 +11254,34 @@ main ()
11802 rm -f conftest.$ac_objext
11803 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11804 - (eval $ac_compile) 2>conftest.er1
11805 +if { (ac_try="$ac_compile"
11806 +case "(($ac_try" in
11807 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11808 + *) ac_try_echo=$ac_try;;
11810 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11811 + (eval "$ac_compile") 2>conftest.er1
11813 grep -v '^ *+' conftest.er1 >conftest.err
11815 cat conftest.err >&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 - (exit $ac_status); } &&
11818 - { ac_try='test -z "$ac_c_werror_flag"
11819 - || test ! -s conftest.err'
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); }; } &&
11825 - { ac_try='test -s conftest.$ac_objext'
11826 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 - (eval $ac_try) 2>&5
11829 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 - (exit $ac_status); }; }; then
11831 + (exit $ac_status); } && {
11832 + test -z "$ac_c_werror_flag" ||
11833 + test ! -s conftest.err
11834 + } && test -s conftest.$ac_objext; then
11835 ac_cv_have_decl_ffs=yes
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.$ac_ext >&5
11840 -ac_cv_have_decl_ffs=no
11841 + ac_cv_have_decl_ffs=no
11843 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11845 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11847 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11848 -echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6
11849 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ffs" >&5
11850 +echo "${ECHO_T}$ac_cv_have_decl_ffs" >&6; }
11851 if test $ac_cv_have_decl_ffs = yes; then
11853 cat >>confdefs.h <<_ACEOF
11854 @@ -10871,8 +11298,8 @@ _ACEOF
11858 -echo "$as_me:$LINENO: checking whether free is declared" >&5
11859 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
11860 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
11861 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
11862 if test "${ac_cv_have_decl_free+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11865 @@ -10887,7 +11314,7 @@ int
11869 - char *p = (char *) free;
11874 @@ -10895,38 +11322,34 @@ main ()
11877 rm -f conftest.$ac_objext
11878 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11879 - (eval $ac_compile) 2>conftest.er1
11880 +if { (ac_try="$ac_compile"
11881 +case "(($ac_try" in
11882 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11883 + *) ac_try_echo=$ac_try;;
11885 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11886 + (eval "$ac_compile") 2>conftest.er1
11888 grep -v '^ *+' conftest.er1 >conftest.err
11890 cat conftest.err >&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 - (exit $ac_status); } &&
11893 - { ac_try='test -z "$ac_c_werror_flag"
11894 - || test ! -s conftest.err'
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); }; } &&
11900 - { ac_try='test -s conftest.$ac_objext'
11901 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 - (eval $ac_try) 2>&5
11904 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 - (exit $ac_status); }; }; then
11906 + (exit $ac_status); } && {
11907 + test -z "$ac_c_werror_flag" ||
11908 + test ! -s conftest.err
11909 + } && test -s conftest.$ac_objext; then
11910 ac_cv_have_decl_free=yes
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.$ac_ext >&5
11915 -ac_cv_have_decl_free=no
11916 + ac_cv_have_decl_free=no
11918 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11920 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11922 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11923 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
11924 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
11925 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
11926 if test $ac_cv_have_decl_free = yes; then
11928 cat >>confdefs.h <<_ACEOF
11929 @@ -10943,8 +11366,8 @@ _ACEOF
11933 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11934 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
11935 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
11936 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
11937 if test "${ac_cv_have_decl_getenv+set}" = set; then
11938 echo $ECHO_N "(cached) $ECHO_C" >&6
11940 @@ -10959,7 +11382,7 @@ int
11944 - char *p = (char *) getenv;
11949 @@ -10967,38 +11390,34 @@ main ()
11952 rm -f conftest.$ac_objext
11953 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11954 - (eval $ac_compile) 2>conftest.er1
11955 +if { (ac_try="$ac_compile"
11956 +case "(($ac_try" in
11957 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11958 + *) ac_try_echo=$ac_try;;
11960 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11961 + (eval "$ac_compile") 2>conftest.er1
11963 grep -v '^ *+' conftest.er1 >conftest.err
11965 cat conftest.err >&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 - (exit $ac_status); } &&
11968 - { ac_try='test -z "$ac_c_werror_flag"
11969 - || test ! -s conftest.err'
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); }; } &&
11975 - { ac_try='test -s conftest.$ac_objext'
11976 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 - (eval $ac_try) 2>&5
11979 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 - (exit $ac_status); }; }; then
11981 + (exit $ac_status); } && {
11982 + test -z "$ac_c_werror_flag" ||
11983 + test ! -s conftest.err
11984 + } && test -s conftest.$ac_objext; then
11985 ac_cv_have_decl_getenv=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 -ac_cv_have_decl_getenv=no
11991 + ac_cv_have_decl_getenv=no
11993 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11995 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11997 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
11998 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
11999 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
12000 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
12001 if test $ac_cv_have_decl_getenv = yes; then
12003 cat >>confdefs.h <<_ACEOF
12004 @@ -11015,8 +11434,8 @@ _ACEOF
12008 -echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12009 -echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6
12010 +{ echo "$as_me:$LINENO: checking whether malloc is declared" >&5
12011 +echo $ECHO_N "checking whether malloc is declared... $ECHO_C" >&6; }
12012 if test "${ac_cv_have_decl_malloc+set}" = set; then
12013 echo $ECHO_N "(cached) $ECHO_C" >&6
12015 @@ -11031,7 +11450,7 @@ int
12019 - char *p = (char *) malloc;
12024 @@ -11039,38 +11458,34 @@ main ()
12027 rm -f conftest.$ac_objext
12028 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12029 - (eval $ac_compile) 2>conftest.er1
12030 +if { (ac_try="$ac_compile"
12031 +case "(($ac_try" in
12032 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12033 + *) ac_try_echo=$ac_try;;
12035 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12036 + (eval "$ac_compile") 2>conftest.er1
12038 grep -v '^ *+' conftest.er1 >conftest.err
12040 cat conftest.err >&5
12041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 - (exit $ac_status); } &&
12043 - { ac_try='test -z "$ac_c_werror_flag"
12044 - || test ! -s conftest.err'
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); }; } &&
12050 - { ac_try='test -s conftest.$ac_objext'
12051 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12052 - (eval $ac_try) 2>&5
12054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 - (exit $ac_status); }; }; then
12056 + (exit $ac_status); } && {
12057 + test -z "$ac_c_werror_flag" ||
12058 + test ! -s conftest.err
12059 + } && test -s conftest.$ac_objext; then
12060 ac_cv_have_decl_malloc=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 -ac_cv_have_decl_malloc=no
12066 + ac_cv_have_decl_malloc=no
12068 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12070 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12072 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12073 -echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6
12074 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_malloc" >&5
12075 +echo "${ECHO_T}$ac_cv_have_decl_malloc" >&6; }
12076 if test $ac_cv_have_decl_malloc = yes; then
12078 cat >>confdefs.h <<_ACEOF
12079 @@ -11087,8 +11502,8 @@ _ACEOF
12083 -echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12084 -echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6
12085 +{ echo "$as_me:$LINENO: checking whether realloc is declared" >&5
12086 +echo $ECHO_N "checking whether realloc is declared... $ECHO_C" >&6; }
12087 if test "${ac_cv_have_decl_realloc+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12090 @@ -11103,7 +11518,7 @@ int
12094 - char *p = (char *) realloc;
12099 @@ -11111,38 +11526,34 @@ main ()
12102 rm -f conftest.$ac_objext
12103 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12104 - (eval $ac_compile) 2>conftest.er1
12105 +if { (ac_try="$ac_compile"
12106 +case "(($ac_try" in
12107 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12108 + *) ac_try_echo=$ac_try;;
12110 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12111 + (eval "$ac_compile") 2>conftest.er1
12113 grep -v '^ *+' conftest.er1 >conftest.err
12115 cat conftest.err >&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 - (exit $ac_status); } &&
12118 - { ac_try='test -z "$ac_c_werror_flag"
12119 - || test ! -s conftest.err'
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); }; } &&
12125 - { ac_try='test -s conftest.$ac_objext'
12126 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 - (eval $ac_try) 2>&5
12129 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 - (exit $ac_status); }; }; then
12131 + (exit $ac_status); } && {
12132 + test -z "$ac_c_werror_flag" ||
12133 + test ! -s conftest.err
12134 + } && test -s conftest.$ac_objext; then
12135 ac_cv_have_decl_realloc=yes
12137 echo "$as_me: failed program was:" >&5
12138 sed 's/^/| /' conftest.$ac_ext >&5
12140 -ac_cv_have_decl_realloc=no
12141 + ac_cv_have_decl_realloc=no
12143 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12145 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12147 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12148 -echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6
12149 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_realloc" >&5
12150 +echo "${ECHO_T}$ac_cv_have_decl_realloc" >&6; }
12151 if test $ac_cv_have_decl_realloc = yes; then
12153 cat >>confdefs.h <<_ACEOF
12154 @@ -11159,8 +11570,8 @@ _ACEOF
12158 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12159 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
12160 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
12161 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
12162 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 @@ -11175,7 +11586,7 @@ int
12169 - char *p = (char *) stpcpy;
12174 @@ -11183,38 +11594,34 @@ main ()
12177 rm -f conftest.$ac_objext
12178 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12179 - (eval $ac_compile) 2>conftest.er1
12180 +if { (ac_try="$ac_compile"
12181 +case "(($ac_try" in
12182 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12183 + *) ac_try_echo=$ac_try;;
12185 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12186 + (eval "$ac_compile") 2>conftest.er1
12188 grep -v '^ *+' conftest.er1 >conftest.err
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 - (exit $ac_status); } &&
12193 - { ac_try='test -z "$ac_c_werror_flag"
12194 - || test ! -s conftest.err'
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); }; } &&
12200 - { ac_try='test -s conftest.$ac_objext'
12201 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12202 - (eval $ac_try) 2>&5
12204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 - (exit $ac_status); }; }; then
12206 + (exit $ac_status); } && {
12207 + test -z "$ac_c_werror_flag" ||
12208 + test ! -s conftest.err
12209 + } && test -s conftest.$ac_objext; then
12210 ac_cv_have_decl_stpcpy=yes
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.$ac_ext >&5
12215 -ac_cv_have_decl_stpcpy=no
12216 + ac_cv_have_decl_stpcpy=no
12218 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12220 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12222 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12223 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
12224 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
12225 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
12226 if test $ac_cv_have_decl_stpcpy = yes; then
12228 cat >>confdefs.h <<_ACEOF
12229 @@ -11231,8 +11638,8 @@ _ACEOF
12233 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12234 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
12235 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
12236 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
12237 if test "${ac_cv_have_decl_strstr+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12240 @@ -11247,7 +11654,7 @@ int
12244 - char *p = (char *) strstr;
12249 @@ -11255,38 +11662,34 @@ main ()
12252 rm -f conftest.$ac_objext
12253 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12254 - (eval $ac_compile) 2>conftest.er1
12255 +if { (ac_try="$ac_compile"
12256 +case "(($ac_try" in
12257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 + *) ac_try_echo=$ac_try;;
12260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 + (eval "$ac_compile") 2>conftest.er1
12263 grep -v '^ *+' conftest.er1 >conftest.err
12265 cat conftest.err >&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 - (exit $ac_status); } &&
12268 - { ac_try='test -z "$ac_c_werror_flag"
12269 - || test ! -s conftest.err'
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); }; } &&
12275 - { ac_try='test -s conftest.$ac_objext'
12276 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 - (eval $ac_try) 2>&5
12279 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 - (exit $ac_status); }; }; then
12281 + (exit $ac_status); } && {
12282 + test -z "$ac_c_werror_flag" ||
12283 + test ! -s conftest.err
12284 + } && test -s conftest.$ac_objext; then
12285 ac_cv_have_decl_strstr=yes
12287 echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12290 -ac_cv_have_decl_strstr=no
12291 + ac_cv_have_decl_strstr=no
12293 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12295 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12297 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12298 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
12299 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
12300 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
12301 if test $ac_cv_have_decl_strstr = yes; then
12303 cat >>confdefs.h <<_ACEOF
12304 @@ -11303,8 +11706,8 @@ _ACEOF
12308 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12309 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
12310 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
12311 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
12312 if test "${ac_cv_have_decl_snprintf+set}" = set; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 @@ -11319,7 +11722,7 @@ int
12319 - char *p = (char *) snprintf;
12324 @@ -11327,38 +11730,34 @@ main ()
12327 rm -f conftest.$ac_objext
12328 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12329 - (eval $ac_compile) 2>conftest.er1
12330 +if { (ac_try="$ac_compile"
12331 +case "(($ac_try" in
12332 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12333 + *) ac_try_echo=$ac_try;;
12335 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12336 + (eval "$ac_compile") 2>conftest.er1
12338 grep -v '^ *+' conftest.er1 >conftest.err
12340 cat conftest.err >&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 - (exit $ac_status); } &&
12343 - { ac_try='test -z "$ac_c_werror_flag"
12344 - || test ! -s conftest.err'
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); }; } &&
12350 - { ac_try='test -s conftest.$ac_objext'
12351 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 - (eval $ac_try) 2>&5
12354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 - (exit $ac_status); }; }; then
12356 + (exit $ac_status); } && {
12357 + test -z "$ac_c_werror_flag" ||
12358 + test ! -s conftest.err
12359 + } && test -s conftest.$ac_objext; then
12360 ac_cv_have_decl_snprintf=yes
12362 echo "$as_me: failed program was:" >&5
12363 sed 's/^/| /' conftest.$ac_ext >&5
12365 -ac_cv_have_decl_snprintf=no
12366 + ac_cv_have_decl_snprintf=no
12368 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12370 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12372 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12373 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
12374 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
12375 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
12376 if test $ac_cv_have_decl_snprintf = yes; then
12378 cat >>confdefs.h <<_ACEOF
12379 @@ -11375,8 +11774,8 @@ _ACEOF
12383 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12384 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
12385 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
12386 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
12387 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
12388 echo $ECHO_N "(cached) $ECHO_C" >&6
12390 @@ -11391,7 +11790,7 @@ int
12394 - char *p = (char *) vsnprintf;
12395 + (void) vsnprintf;
12399 @@ -11399,38 +11798,34 @@ main ()
12402 rm -f conftest.$ac_objext
12403 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12404 - (eval $ac_compile) 2>conftest.er1
12405 +if { (ac_try="$ac_compile"
12406 +case "(($ac_try" in
12407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12408 + *) ac_try_echo=$ac_try;;
12410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12411 + (eval "$ac_compile") 2>conftest.er1
12413 grep -v '^ *+' conftest.er1 >conftest.err
12415 cat conftest.err >&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 - (exit $ac_status); } &&
12418 - { ac_try='test -z "$ac_c_werror_flag"
12419 - || test ! -s conftest.err'
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); }; } &&
12425 - { ac_try='test -s conftest.$ac_objext'
12426 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 - (eval $ac_try) 2>&5
12429 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 - (exit $ac_status); }; }; then
12431 + (exit $ac_status); } && {
12432 + test -z "$ac_c_werror_flag" ||
12433 + test ! -s conftest.err
12434 + } && test -s conftest.$ac_objext; then
12435 ac_cv_have_decl_vsnprintf=yes
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12440 -ac_cv_have_decl_vsnprintf=no
12441 + ac_cv_have_decl_vsnprintf=no
12443 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12445 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12447 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12448 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
12449 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
12450 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
12451 if test $ac_cv_have_decl_vsnprintf = yes; then
12453 cat >>confdefs.h <<_ACEOF
12454 @@ -11609,8 +12004,8 @@ if test "${target}" = "${host}"; then
12455 COREFLAG="$COREFLAG -DAIX_CORE_DUMPX_CORE"
12456 # Not all versions of AIX with -DAIX_CORE_DUMPX_CORE
12457 # have c_impl as a member of struct core_dumpx
12458 - echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12459 -echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6
12460 + { echo "$as_me:$LINENO: checking for c_impl in struct core_dumpx" >&5
12461 +echo $ECHO_N "checking for c_impl in struct core_dumpx... $ECHO_C" >&6; }
12462 cat >conftest.$ac_ext <<_ACEOF
12465 @@ -11627,42 +12022,38 @@ struct core_dumpx c; c.c_impl = 0;
12468 rm -f conftest.$ac_objext
12469 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12470 - (eval $ac_compile) 2>conftest.er1
12471 +if { (ac_try="$ac_compile"
12472 +case "(($ac_try" in
12473 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12474 + *) ac_try_echo=$ac_try;;
12476 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12477 + (eval "$ac_compile") 2>conftest.er1
12479 grep -v '^ *+' conftest.er1 >conftest.err
12481 cat conftest.err >&5
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 - (exit $ac_status); } &&
12484 - { ac_try='test -z "$ac_c_werror_flag"
12485 - || test ! -s conftest.err'
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); }; } &&
12491 - { ac_try='test -s conftest.$ac_objext'
12492 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 - (eval $ac_try) 2>&5
12495 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 - (exit $ac_status); }; }; then
12497 + (exit $ac_status); } && {
12498 + test -z "$ac_c_werror_flag" ||
12499 + test ! -s conftest.err
12500 + } && test -s conftest.$ac_objext; then
12502 cat >>confdefs.h <<\_ACEOF
12503 #define HAVE_ST_C_IMPL 1
12506 - echo "$as_me:$LINENO: result: yes" >&5
12507 -echo "${ECHO_T}yes" >&6
12508 + { echo "$as_me:$LINENO: result: yes" >&5
12509 +echo "${ECHO_T}yes" >&6; }
12511 echo "$as_me: failed program was:" >&5
12512 sed 's/^/| /' conftest.$ac_ext >&5
12514 -echo "$as_me:$LINENO: result: no" >&5
12515 -echo "${ECHO_T}no" >&6
12516 + { echo "$as_me:$LINENO: result: no" >&5
12517 +echo "${ECHO_T}no" >&6; }
12519 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12521 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12523 rs6000-*-aix4*) COREFILE=rs6000-core.lo ;;
12524 rs6000-*-*) COREFILE=rs6000-core.lo ;;
12525 @@ -11726,18 +12117,19 @@ rm -f conftest.err conftest.$ac_objext c
12526 for ac_header in sys/procfs.h
12528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12529 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12530 - echo "$as_me:$LINENO: checking for $ac_header" >&5
12531 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12532 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12533 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12534 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
12535 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12536 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12539 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12540 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12541 +ac_res=`eval echo '${'$as_ac_Header'}'`
12542 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12543 +echo "${ECHO_T}$ac_res" >&6; }
12545 # Is the header compilable?
12546 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
12547 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12548 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
12549 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12550 cat >conftest.$ac_ext <<_ACEOF
12553 @@ -11748,41 +12140,37 @@ $ac_includes_default
12554 #include <$ac_header>
12556 rm -f conftest.$ac_objext
12557 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12558 - (eval $ac_compile) 2>conftest.er1
12559 +if { (ac_try="$ac_compile"
12560 +case "(($ac_try" in
12561 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12562 + *) ac_try_echo=$ac_try;;
12564 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12565 + (eval "$ac_compile") 2>conftest.er1
12567 grep -v '^ *+' conftest.er1 >conftest.err
12569 cat conftest.err >&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 - (exit $ac_status); } &&
12572 - { ac_try='test -z "$ac_c_werror_flag"
12573 - || test ! -s conftest.err'
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); }; } &&
12579 - { ac_try='test -s conftest.$ac_objext'
12580 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12581 - (eval $ac_try) 2>&5
12583 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 - (exit $ac_status); }; }; then
12585 + (exit $ac_status); } && {
12586 + test -z "$ac_c_werror_flag" ||
12587 + test ! -s conftest.err
12588 + } && test -s conftest.$ac_objext; then
12589 ac_header_compiler=yes
12591 echo "$as_me: failed program was:" >&5
12592 sed 's/^/| /' conftest.$ac_ext >&5
12594 -ac_header_compiler=no
12595 + ac_header_compiler=no
12597 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12598 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12599 -echo "${ECHO_T}$ac_header_compiler" >&6
12601 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12602 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12603 +echo "${ECHO_T}$ac_header_compiler" >&6; }
12605 # Is the header present?
12606 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
12607 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12608 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
12609 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12610 cat >conftest.$ac_ext <<_ACEOF
12613 @@ -11791,24 +12179,22 @@ cat >>conftest.$ac_ext <<_ACEOF
12614 /* end confdefs.h. */
12615 #include <$ac_header>
12617 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12618 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12619 +if { (ac_try="$ac_cpp conftest.$ac_ext"
12620 +case "(($ac_try" in
12621 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12622 + *) ac_try_echo=$ac_try;;
12624 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12625 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12627 grep -v '^ *+' conftest.er1 >conftest.err
12629 cat conftest.err >&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 - (exit $ac_status); } >/dev/null; then
12632 - if test -s conftest.err; then
12633 - ac_cpp_err=$ac_c_preproc_warn_flag
12634 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12641 -if test -z "$ac_cpp_err"; then
12642 + (exit $ac_status); } >/dev/null && {
12643 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12644 + test ! -s conftest.err
12646 ac_header_preproc=yes
12648 echo "$as_me: failed program was:" >&5
12649 @@ -11816,9 +12202,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
12651 ac_header_preproc=no
12654 rm -f conftest.err conftest.$ac_ext
12655 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12656 -echo "${ECHO_T}$ac_header_preproc" >&6
12657 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12658 +echo "${ECHO_T}$ac_header_preproc" >&6; }
12660 # So? What about this header?
12661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12662 @@ -11842,25 +12229,19 @@ echo "$as_me: WARNING: $ac_header: s
12663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12664 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12668 -## ------------------------------------------ ##
12669 -## Report this to the AC_PACKAGE_NAME lists. ##
12670 -## ------------------------------------------ ##
12673 - sed "s/^/$as_me: WARNING: /" >&2
12677 -echo "$as_me:$LINENO: checking for $ac_header" >&5
12678 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12679 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
12680 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
12681 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12682 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 eval "$as_ac_Header=\$ac_header_preproc"
12687 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12688 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12689 +ac_res=`eval echo '${'$as_ac_Header'}'`
12690 + { echo "$as_me:$LINENO: result: $ac_res" >&5
12691 +echo "${ECHO_T}$ac_res" >&6; }
12694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12695 @@ -11873,8 +12254,8 @@ fi
12698 if test "$ac_cv_header_sys_procfs_h" = yes; then
12699 - echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12700 -echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6
12701 + { echo "$as_me:$LINENO: checking for prstatus_t in sys/procfs.h" >&5
12702 +echo $ECHO_N "checking for prstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12703 if test "${bfd_cv_have_sys_procfs_type_prstatus_t+set}" = set; then
12704 echo $ECHO_N "(cached) $ECHO_C" >&6
12706 @@ -11896,36 +12277,32 @@ prstatus_t avar
12709 rm -f conftest.$ac_objext
12710 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12711 - (eval $ac_compile) 2>conftest.er1
12712 +if { (ac_try="$ac_compile"
12713 +case "(($ac_try" in
12714 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12715 + *) ac_try_echo=$ac_try;;
12717 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12718 + (eval "$ac_compile") 2>conftest.er1
12720 grep -v '^ *+' conftest.er1 >conftest.err
12722 cat conftest.err >&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 - (exit $ac_status); } &&
12725 - { ac_try='test -z "$ac_c_werror_flag"
12726 - || test ! -s conftest.err'
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); }; } &&
12732 - { ac_try='test -s conftest.$ac_objext'
12733 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 - (eval $ac_try) 2>&5
12736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 - (exit $ac_status); }; }; then
12738 + (exit $ac_status); } && {
12739 + test -z "$ac_c_werror_flag" ||
12740 + test ! -s conftest.err
12741 + } && test -s conftest.$ac_objext; then
12742 bfd_cv_have_sys_procfs_type_prstatus_t=yes
12744 echo "$as_me: failed program was:" >&5
12745 sed 's/^/| /' conftest.$ac_ext >&5
12747 -bfd_cv_have_sys_procfs_type_prstatus_t=no
12748 + bfd_cv_have_sys_procfs_type_prstatus_t=no
12751 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12753 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12756 if test $bfd_cv_have_sys_procfs_type_prstatus_t = yes; then
12757 @@ -11935,11 +12312,11 @@ cat >>confdefs.h <<\_ACEOF
12761 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12762 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6
12763 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus_t" >&5
12764 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus_t" >&6; }
12766 - echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12767 -echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6
12768 + { echo "$as_me:$LINENO: checking for prstatus32_t in sys/procfs.h" >&5
12769 +echo $ECHO_N "checking for prstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
12770 if test "${bfd_cv_have_sys_procfs_type_prstatus32_t+set}" = set; then
12771 echo $ECHO_N "(cached) $ECHO_C" >&6
12773 @@ -11961,36 +12338,32 @@ prstatus32_t avar
12776 rm -f conftest.$ac_objext
12777 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12778 - (eval $ac_compile) 2>conftest.er1
12779 +if { (ac_try="$ac_compile"
12780 +case "(($ac_try" in
12781 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782 + *) ac_try_echo=$ac_try;;
12784 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12785 + (eval "$ac_compile") 2>conftest.er1
12787 grep -v '^ *+' conftest.er1 >conftest.err
12789 cat conftest.err >&5
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 - (exit $ac_status); } &&
12792 - { ac_try='test -z "$ac_c_werror_flag"
12793 - || test ! -s conftest.err'
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); }; } &&
12799 - { ac_try='test -s conftest.$ac_objext'
12800 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12801 - (eval $ac_try) 2>&5
12803 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 - (exit $ac_status); }; }; then
12805 + (exit $ac_status); } && {
12806 + test -z "$ac_c_werror_flag" ||
12807 + test ! -s conftest.err
12808 + } && test -s conftest.$ac_objext; then
12809 bfd_cv_have_sys_procfs_type_prstatus32_t=yes
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12814 -bfd_cv_have_sys_procfs_type_prstatus32_t=no
12815 + bfd_cv_have_sys_procfs_type_prstatus32_t=no
12818 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12820 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12823 if test $bfd_cv_have_sys_procfs_type_prstatus32_t = yes; then
12824 @@ -12000,11 +12373,11 @@ cat >>confdefs.h <<\_ACEOF
12828 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12829 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6
12830 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prstatus32_t" >&5
12831 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prstatus32_t" >&6; }
12833 - echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12834 -echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12835 + { echo "$as_me:$LINENO: checking for prstatus_t.pr_who in sys/procfs.h" >&5
12836 +echo $ECHO_N "checking for prstatus_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12837 if test "${bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who+set}" = set; then
12838 echo $ECHO_N "(cached) $ECHO_C" >&6
12840 @@ -12026,36 +12399,32 @@ prstatus_t avar; void* aref = (void*) &a
12843 rm -f conftest.$ac_objext
12844 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 - (eval $ac_compile) 2>conftest.er1
12846 +if { (ac_try="$ac_compile"
12847 +case "(($ac_try" in
12848 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12849 + *) ac_try_echo=$ac_try;;
12851 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12852 + (eval "$ac_compile") 2>conftest.er1
12854 grep -v '^ *+' conftest.er1 >conftest.err
12856 cat conftest.err >&5
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 - (exit $ac_status); } &&
12859 - { ac_try='test -z "$ac_c_werror_flag"
12860 - || test ! -s conftest.err'
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); }; } &&
12866 - { ac_try='test -s conftest.$ac_objext'
12867 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12868 - (eval $ac_try) 2>&5
12870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12871 - (exit $ac_status); }; }; then
12872 + (exit $ac_status); } && {
12873 + test -z "$ac_c_werror_flag" ||
12874 + test ! -s conftest.err
12875 + } && test -s conftest.$ac_objext; then
12876 bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=yes
12878 echo "$as_me: failed program was:" >&5
12879 sed 's/^/| /' conftest.$ac_ext >&5
12881 -bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12882 + bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who=no
12885 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12887 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890 if test $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who = yes; then
12891 @@ -12065,11 +12434,11 @@ cat >>confdefs.h <<\_ACEOF
12895 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12896 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6
12897 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&5
12898 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus_t_pr_who" >&6; }
12900 - echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12901 -echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6
12902 + { echo "$as_me:$LINENO: checking for prstatus32_t.pr_who in sys/procfs.h" >&5
12903 +echo $ECHO_N "checking for prstatus32_t.pr_who in sys/procfs.h... $ECHO_C" >&6; }
12904 if test "${bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who+set}" = set; then
12905 echo $ECHO_N "(cached) $ECHO_C" >&6
12907 @@ -12091,36 +12460,32 @@ prstatus32_t avar; void* aref = (void*)
12910 rm -f conftest.$ac_objext
12911 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12912 - (eval $ac_compile) 2>conftest.er1
12913 +if { (ac_try="$ac_compile"
12914 +case "(($ac_try" in
12915 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12916 + *) ac_try_echo=$ac_try;;
12918 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12919 + (eval "$ac_compile") 2>conftest.er1
12921 grep -v '^ *+' conftest.er1 >conftest.err
12923 cat conftest.err >&5
12924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925 - (exit $ac_status); } &&
12926 - { ac_try='test -z "$ac_c_werror_flag"
12927 - || test ! -s conftest.err'
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); }; } &&
12933 - { ac_try='test -s conftest.$ac_objext'
12934 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12935 - (eval $ac_try) 2>&5
12937 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12938 - (exit $ac_status); }; }; then
12939 + (exit $ac_status); } && {
12940 + test -z "$ac_c_werror_flag" ||
12941 + test ! -s conftest.err
12942 + } && test -s conftest.$ac_objext; then
12943 bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=yes
12945 echo "$as_me: failed program was:" >&5
12946 sed 's/^/| /' conftest.$ac_ext >&5
12948 -bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12949 + bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who=no
12952 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12954 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12957 if test $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who = yes; then
12958 @@ -12130,11 +12495,11 @@ cat >>confdefs.h <<\_ACEOF
12962 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12963 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6
12964 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&5
12965 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_prstatus32_t_pr_who" >&6; }
12967 - echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12968 -echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6
12969 + { echo "$as_me:$LINENO: checking for pstatus_t in sys/procfs.h" >&5
12970 +echo $ECHO_N "checking for pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
12971 if test "${bfd_cv_have_sys_procfs_type_pstatus_t+set}" = set; then
12972 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 @@ -12156,36 +12521,32 @@ pstatus_t avar
12977 rm -f conftest.$ac_objext
12978 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12979 - (eval $ac_compile) 2>conftest.er1
12980 +if { (ac_try="$ac_compile"
12981 +case "(($ac_try" in
12982 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12983 + *) ac_try_echo=$ac_try;;
12985 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12986 + (eval "$ac_compile") 2>conftest.er1
12988 grep -v '^ *+' conftest.er1 >conftest.err
12990 cat conftest.err >&5
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 - (exit $ac_status); } &&
12993 - { ac_try='test -z "$ac_c_werror_flag"
12994 - || test ! -s conftest.err'
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); }; } &&
13000 - { ac_try='test -s conftest.$ac_objext'
13001 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 - (eval $ac_try) 2>&5
13004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 - (exit $ac_status); }; }; then
13006 + (exit $ac_status); } && {
13007 + test -z "$ac_c_werror_flag" ||
13008 + test ! -s conftest.err
13009 + } && test -s conftest.$ac_objext; then
13010 bfd_cv_have_sys_procfs_type_pstatus_t=yes
13012 echo "$as_me: failed program was:" >&5
13013 sed 's/^/| /' conftest.$ac_ext >&5
13015 -bfd_cv_have_sys_procfs_type_pstatus_t=no
13016 + bfd_cv_have_sys_procfs_type_pstatus_t=no
13019 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13021 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13024 if test $bfd_cv_have_sys_procfs_type_pstatus_t = yes; then
13025 @@ -12195,11 +12556,11 @@ cat >>confdefs.h <<\_ACEOF
13029 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13030 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6
13031 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus_t" >&5
13032 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus_t" >&6; }
13034 - echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13035 -echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6
13036 + { echo "$as_me:$LINENO: checking for pxstatus_t in sys/procfs.h" >&5
13037 +echo $ECHO_N "checking for pxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13038 if test "${bfd_cv_have_sys_procfs_type_pxstatus_t+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 @@ -12221,36 +12582,32 @@ pxstatus_t avar
13044 rm -f conftest.$ac_objext
13045 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13046 - (eval $ac_compile) 2>conftest.er1
13047 +if { (ac_try="$ac_compile"
13048 +case "(($ac_try" in
13049 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13050 + *) ac_try_echo=$ac_try;;
13052 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13053 + (eval "$ac_compile") 2>conftest.er1
13055 grep -v '^ *+' conftest.er1 >conftest.err
13057 cat conftest.err >&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 - (exit $ac_status); } &&
13060 - { ac_try='test -z "$ac_c_werror_flag"
13061 - || test ! -s conftest.err'
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); }; } &&
13067 - { ac_try='test -s conftest.$ac_objext'
13068 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 - (eval $ac_try) 2>&5
13071 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 - (exit $ac_status); }; }; then
13073 + (exit $ac_status); } && {
13074 + test -z "$ac_c_werror_flag" ||
13075 + test ! -s conftest.err
13076 + } && test -s conftest.$ac_objext; then
13077 bfd_cv_have_sys_procfs_type_pxstatus_t=yes
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13082 -bfd_cv_have_sys_procfs_type_pxstatus_t=no
13083 + bfd_cv_have_sys_procfs_type_pxstatus_t=no
13086 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13088 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13091 if test $bfd_cv_have_sys_procfs_type_pxstatus_t = yes; then
13092 @@ -12260,11 +12617,11 @@ cat >>confdefs.h <<\_ACEOF
13096 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13097 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6
13098 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pxstatus_t" >&5
13099 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pxstatus_t" >&6; }
13101 - echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13102 -echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6
13103 + { echo "$as_me:$LINENO: checking for pstatus32_t in sys/procfs.h" >&5
13104 +echo $ECHO_N "checking for pstatus32_t in sys/procfs.h... $ECHO_C" >&6; }
13105 if test "${bfd_cv_have_sys_procfs_type_pstatus32_t+set}" = set; then
13106 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 @@ -12286,36 +12643,32 @@ pstatus32_t avar
13111 rm -f conftest.$ac_objext
13112 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13113 - (eval $ac_compile) 2>conftest.er1
13114 +if { (ac_try="$ac_compile"
13115 +case "(($ac_try" in
13116 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117 + *) ac_try_echo=$ac_try;;
13119 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13120 + (eval "$ac_compile") 2>conftest.er1
13122 grep -v '^ *+' conftest.er1 >conftest.err
13124 cat conftest.err >&5
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 - (exit $ac_status); } &&
13127 - { ac_try='test -z "$ac_c_werror_flag"
13128 - || test ! -s conftest.err'
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); }; } &&
13134 - { ac_try='test -s conftest.$ac_objext'
13135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 - (eval $ac_try) 2>&5
13138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 - (exit $ac_status); }; }; then
13140 + (exit $ac_status); } && {
13141 + test -z "$ac_c_werror_flag" ||
13142 + test ! -s conftest.err
13143 + } && test -s conftest.$ac_objext; then
13144 bfd_cv_have_sys_procfs_type_pstatus32_t=yes
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13149 -bfd_cv_have_sys_procfs_type_pstatus32_t=no
13150 + bfd_cv_have_sys_procfs_type_pstatus32_t=no
13153 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13155 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13158 if test $bfd_cv_have_sys_procfs_type_pstatus32_t = yes; then
13159 @@ -12325,11 +12678,11 @@ cat >>confdefs.h <<\_ACEOF
13163 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13164 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6
13165 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_pstatus32_t" >&5
13166 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_pstatus32_t" >&6; }
13168 - echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13169 -echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6
13170 + { echo "$as_me:$LINENO: checking for prpsinfo_t in sys/procfs.h" >&5
13171 +echo $ECHO_N "checking for prpsinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13172 if test "${bfd_cv_have_sys_procfs_type_prpsinfo_t+set}" = set; then
13173 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 @@ -12351,36 +12704,32 @@ prpsinfo_t avar
13178 rm -f conftest.$ac_objext
13179 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13180 - (eval $ac_compile) 2>conftest.er1
13181 +if { (ac_try="$ac_compile"
13182 +case "(($ac_try" in
13183 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13184 + *) ac_try_echo=$ac_try;;
13186 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13187 + (eval "$ac_compile") 2>conftest.er1
13189 grep -v '^ *+' conftest.er1 >conftest.err
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 - (exit $ac_status); } &&
13194 - { ac_try='test -z "$ac_c_werror_flag"
13195 - || test ! -s conftest.err'
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); }; } &&
13201 - { ac_try='test -s conftest.$ac_objext'
13202 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 - (eval $ac_try) 2>&5
13205 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 - (exit $ac_status); }; }; then
13207 + (exit $ac_status); } && {
13208 + test -z "$ac_c_werror_flag" ||
13209 + test ! -s conftest.err
13210 + } && test -s conftest.$ac_objext; then
13211 bfd_cv_have_sys_procfs_type_prpsinfo_t=yes
13213 echo "$as_me: failed program was:" >&5
13214 sed 's/^/| /' conftest.$ac_ext >&5
13216 -bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13217 + bfd_cv_have_sys_procfs_type_prpsinfo_t=no
13220 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13222 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13225 if test $bfd_cv_have_sys_procfs_type_prpsinfo_t = yes; then
13226 @@ -12390,11 +12739,11 @@ cat >>confdefs.h <<\_ACEOF
13230 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13231 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6
13232 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo_t" >&5
13233 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo_t" >&6; }
13235 - echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13236 -echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6
13237 + { echo "$as_me:$LINENO: checking for prpsinfo32_t in sys/procfs.h" >&5
13238 +echo $ECHO_N "checking for prpsinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13239 if test "${bfd_cv_have_sys_procfs_type_prpsinfo32_t+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13242 @@ -12416,36 +12765,32 @@ prpsinfo32_t avar
13245 rm -f conftest.$ac_objext
13246 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13247 - (eval $ac_compile) 2>conftest.er1
13248 +if { (ac_try="$ac_compile"
13249 +case "(($ac_try" in
13250 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13251 + *) ac_try_echo=$ac_try;;
13253 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13254 + (eval "$ac_compile") 2>conftest.er1
13256 grep -v '^ *+' conftest.er1 >conftest.err
13258 cat conftest.err >&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 - (exit $ac_status); } &&
13261 - { ac_try='test -z "$ac_c_werror_flag"
13262 - || test ! -s conftest.err'
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); }; } &&
13268 - { ac_try='test -s conftest.$ac_objext'
13269 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 - (eval $ac_try) 2>&5
13272 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 - (exit $ac_status); }; }; then
13274 + (exit $ac_status); } && {
13275 + test -z "$ac_c_werror_flag" ||
13276 + test ! -s conftest.err
13277 + } && test -s conftest.$ac_objext; then
13278 bfd_cv_have_sys_procfs_type_prpsinfo32_t=yes
13280 echo "$as_me: failed program was:" >&5
13281 sed 's/^/| /' conftest.$ac_ext >&5
13283 -bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13284 + bfd_cv_have_sys_procfs_type_prpsinfo32_t=no
13287 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13289 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13292 if test $bfd_cv_have_sys_procfs_type_prpsinfo32_t = yes; then
13293 @@ -12455,11 +12800,11 @@ cat >>confdefs.h <<\_ACEOF
13297 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13298 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6
13299 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&5
13300 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_prpsinfo32_t" >&6; }
13302 - echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13303 -echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6
13304 + { echo "$as_me:$LINENO: checking for psinfo_t in sys/procfs.h" >&5
13305 +echo $ECHO_N "checking for psinfo_t in sys/procfs.h... $ECHO_C" >&6; }
13306 if test "${bfd_cv_have_sys_procfs_type_psinfo_t+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13309 @@ -12481,36 +12826,32 @@ psinfo_t avar
13312 rm -f conftest.$ac_objext
13313 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13314 - (eval $ac_compile) 2>conftest.er1
13315 +if { (ac_try="$ac_compile"
13316 +case "(($ac_try" in
13317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13318 + *) ac_try_echo=$ac_try;;
13320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13321 + (eval "$ac_compile") 2>conftest.er1
13323 grep -v '^ *+' conftest.er1 >conftest.err
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 - (exit $ac_status); } &&
13328 - { ac_try='test -z "$ac_c_werror_flag"
13329 - || test ! -s conftest.err'
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); }; } &&
13335 - { ac_try='test -s conftest.$ac_objext'
13336 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13337 - (eval $ac_try) 2>&5
13339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 - (exit $ac_status); }; }; then
13341 + (exit $ac_status); } && {
13342 + test -z "$ac_c_werror_flag" ||
13343 + test ! -s conftest.err
13344 + } && test -s conftest.$ac_objext; then
13345 bfd_cv_have_sys_procfs_type_psinfo_t=yes
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.$ac_ext >&5
13350 -bfd_cv_have_sys_procfs_type_psinfo_t=no
13351 + bfd_cv_have_sys_procfs_type_psinfo_t=no
13354 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13356 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13359 if test $bfd_cv_have_sys_procfs_type_psinfo_t = yes; then
13360 @@ -12520,11 +12861,11 @@ cat >>confdefs.h <<\_ACEOF
13364 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13365 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6
13366 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo_t" >&5
13367 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo_t" >&6; }
13369 - echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13370 -echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6
13371 + { echo "$as_me:$LINENO: checking for psinfo32_t in sys/procfs.h" >&5
13372 +echo $ECHO_N "checking for psinfo32_t in sys/procfs.h... $ECHO_C" >&6; }
13373 if test "${bfd_cv_have_sys_procfs_type_psinfo32_t+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 @@ -12546,36 +12887,32 @@ psinfo32_t avar
13379 rm -f conftest.$ac_objext
13380 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13381 - (eval $ac_compile) 2>conftest.er1
13382 +if { (ac_try="$ac_compile"
13383 +case "(($ac_try" in
13384 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13385 + *) ac_try_echo=$ac_try;;
13387 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13388 + (eval "$ac_compile") 2>conftest.er1
13390 grep -v '^ *+' conftest.er1 >conftest.err
13392 cat conftest.err >&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 - (exit $ac_status); } &&
13395 - { ac_try='test -z "$ac_c_werror_flag"
13396 - || test ! -s conftest.err'
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); }; } &&
13402 - { ac_try='test -s conftest.$ac_objext'
13403 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 - (eval $ac_try) 2>&5
13406 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 - (exit $ac_status); }; }; then
13408 + (exit $ac_status); } && {
13409 + test -z "$ac_c_werror_flag" ||
13410 + test ! -s conftest.err
13411 + } && test -s conftest.$ac_objext; then
13412 bfd_cv_have_sys_procfs_type_psinfo32_t=yes
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13417 -bfd_cv_have_sys_procfs_type_psinfo32_t=no
13418 + bfd_cv_have_sys_procfs_type_psinfo32_t=no
13421 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13423 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13426 if test $bfd_cv_have_sys_procfs_type_psinfo32_t = yes; then
13427 @@ -12585,11 +12922,11 @@ cat >>confdefs.h <<\_ACEOF
13431 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13432 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6
13433 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_psinfo32_t" >&5
13434 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_psinfo32_t" >&6; }
13436 - echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13437 -echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6
13438 + { echo "$as_me:$LINENO: checking for lwpstatus_t in sys/procfs.h" >&5
13439 +echo $ECHO_N "checking for lwpstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13440 if test "${bfd_cv_have_sys_procfs_type_lwpstatus_t+set}" = set; then
13441 echo $ECHO_N "(cached) $ECHO_C" >&6
13443 @@ -12611,36 +12948,32 @@ lwpstatus_t avar
13446 rm -f conftest.$ac_objext
13447 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13448 - (eval $ac_compile) 2>conftest.er1
13449 +if { (ac_try="$ac_compile"
13450 +case "(($ac_try" in
13451 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13452 + *) ac_try_echo=$ac_try;;
13454 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13455 + (eval "$ac_compile") 2>conftest.er1
13457 grep -v '^ *+' conftest.er1 >conftest.err
13459 cat conftest.err >&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 - (exit $ac_status); } &&
13462 - { ac_try='test -z "$ac_c_werror_flag"
13463 - || test ! -s conftest.err'
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); }; } &&
13469 - { ac_try='test -s conftest.$ac_objext'
13470 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 - (eval $ac_try) 2>&5
13473 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 - (exit $ac_status); }; }; then
13475 + (exit $ac_status); } && {
13476 + test -z "$ac_c_werror_flag" ||
13477 + test ! -s conftest.err
13478 + } && test -s conftest.$ac_objext; then
13479 bfd_cv_have_sys_procfs_type_lwpstatus_t=yes
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13484 -bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13485 + bfd_cv_have_sys_procfs_type_lwpstatus_t=no
13488 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13490 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13493 if test $bfd_cv_have_sys_procfs_type_lwpstatus_t = yes; then
13494 @@ -12650,11 +12983,11 @@ cat >>confdefs.h <<\_ACEOF
13498 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13499 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6
13500 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpstatus_t" >&5
13501 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpstatus_t" >&6; }
13503 - echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13504 -echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6
13505 + { echo "$as_me:$LINENO: checking for lwpxstatus_t in sys/procfs.h" >&5
13506 +echo $ECHO_N "checking for lwpxstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13507 if test "${bfd_cv_have_sys_procfs_type_lwpxstatus_t+set}" = set; then
13508 echo $ECHO_N "(cached) $ECHO_C" >&6
13510 @@ -12676,36 +13009,32 @@ lwpxstatus_t avar
13513 rm -f conftest.$ac_objext
13514 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13515 - (eval $ac_compile) 2>conftest.er1
13516 +if { (ac_try="$ac_compile"
13517 +case "(($ac_try" in
13518 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13519 + *) ac_try_echo=$ac_try;;
13521 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13522 + (eval "$ac_compile") 2>conftest.er1
13524 grep -v '^ *+' conftest.er1 >conftest.err
13526 cat conftest.err >&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 - (exit $ac_status); } &&
13529 - { ac_try='test -z "$ac_c_werror_flag"
13530 - || test ! -s conftest.err'
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); }; } &&
13536 - { ac_try='test -s conftest.$ac_objext'
13537 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 - (eval $ac_try) 2>&5
13540 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 - (exit $ac_status); }; }; then
13542 + (exit $ac_status); } && {
13543 + test -z "$ac_c_werror_flag" ||
13544 + test ! -s conftest.err
13545 + } && test -s conftest.$ac_objext; then
13546 bfd_cv_have_sys_procfs_type_lwpxstatus_t=yes
13548 echo "$as_me: failed program was:" >&5
13549 sed 's/^/| /' conftest.$ac_ext >&5
13551 -bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13552 + bfd_cv_have_sys_procfs_type_lwpxstatus_t=no
13555 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13557 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13560 if test $bfd_cv_have_sys_procfs_type_lwpxstatus_t = yes; then
13561 @@ -12715,11 +13044,11 @@ cat >>confdefs.h <<\_ACEOF
13565 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13566 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6
13567 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&5
13568 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_lwpxstatus_t" >&6; }
13570 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13571 -echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6
13572 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_context in sys/procfs.h" >&5
13573 +echo $ECHO_N "checking for lwpstatus_t.pr_context in sys/procfs.h... $ECHO_C" >&6; }
13574 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context+set}" = set; then
13575 echo $ECHO_N "(cached) $ECHO_C" >&6
13577 @@ -12741,36 +13070,32 @@ lwpstatus_t avar; void* aref = (void*) &
13580 rm -f conftest.$ac_objext
13581 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13582 - (eval $ac_compile) 2>conftest.er1
13583 +if { (ac_try="$ac_compile"
13584 +case "(($ac_try" in
13585 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 + *) ac_try_echo=$ac_try;;
13588 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13589 + (eval "$ac_compile") 2>conftest.er1
13591 grep -v '^ *+' conftest.er1 >conftest.err
13593 cat conftest.err >&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 - (exit $ac_status); } &&
13596 - { ac_try='test -z "$ac_c_werror_flag"
13597 - || test ! -s conftest.err'
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); }; } &&
13603 - { ac_try='test -s conftest.$ac_objext'
13604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13605 - (eval $ac_try) 2>&5
13607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 - (exit $ac_status); }; }; then
13609 + (exit $ac_status); } && {
13610 + test -z "$ac_c_werror_flag" ||
13611 + test ! -s conftest.err
13612 + } && test -s conftest.$ac_objext; then
13613 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=yes
13615 echo "$as_me: failed program was:" >&5
13616 sed 's/^/| /' conftest.$ac_ext >&5
13618 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13619 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context=no
13622 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13624 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13627 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context = yes; then
13628 @@ -12780,11 +13105,11 @@ cat >>confdefs.h <<\_ACEOF
13632 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13633 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6
13634 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&5
13635 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_context" >&6; }
13637 - echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13638 -echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6
13639 + { echo "$as_me:$LINENO: checking for lwpstatus_t.pr_reg in sys/procfs.h" >&5
13640 +echo $ECHO_N "checking for lwpstatus_t.pr_reg in sys/procfs.h... $ECHO_C" >&6; }
13641 if test "${bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg+set}" = set; then
13642 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 @@ -12806,36 +13131,32 @@ lwpstatus_t avar; void* aref = (void*) &
13647 rm -f conftest.$ac_objext
13648 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13649 - (eval $ac_compile) 2>conftest.er1
13650 +if { (ac_try="$ac_compile"
13651 +case "(($ac_try" in
13652 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 + *) ac_try_echo=$ac_try;;
13655 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 + (eval "$ac_compile") 2>conftest.er1
13658 grep -v '^ *+' conftest.er1 >conftest.err
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 - (exit $ac_status); } &&
13663 - { ac_try='test -z "$ac_c_werror_flag"
13664 - || test ! -s conftest.err'
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); }; } &&
13670 - { ac_try='test -s conftest.$ac_objext'
13671 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 - (eval $ac_try) 2>&5
13674 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 - (exit $ac_status); }; }; then
13676 + (exit $ac_status); } && {
13677 + test -z "$ac_c_werror_flag" ||
13678 + test ! -s conftest.err
13679 + } && test -s conftest.$ac_objext; then
13680 bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=yes
13682 echo "$as_me: failed program was:" >&5
13683 sed 's/^/| /' conftest.$ac_ext >&5
13685 -bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13686 + bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg=no
13689 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13691 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13694 if test $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg = yes; then
13695 @@ -12845,11 +13166,11 @@ cat >>confdefs.h <<\_ACEOF
13699 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13700 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6
13701 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&5
13702 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_member_lwpstatus_t_pr_reg" >&6; }
13704 - echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13705 -echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6
13706 + { echo "$as_me:$LINENO: checking for win32_pstatus_t in sys/procfs.h" >&5
13707 +echo $ECHO_N "checking for win32_pstatus_t in sys/procfs.h... $ECHO_C" >&6; }
13708 if test "${bfd_cv_have_sys_procfs_type_win32_pstatus_t+set}" = set; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13711 @@ -12871,36 +13192,32 @@ win32_pstatus_t avar
13714 rm -f conftest.$ac_objext
13715 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13716 - (eval $ac_compile) 2>conftest.er1
13717 +if { (ac_try="$ac_compile"
13718 +case "(($ac_try" in
13719 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13720 + *) ac_try_echo=$ac_try;;
13722 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13723 + (eval "$ac_compile") 2>conftest.er1
13725 grep -v '^ *+' conftest.er1 >conftest.err
13727 cat conftest.err >&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 - (exit $ac_status); } &&
13730 - { ac_try='test -z "$ac_c_werror_flag"
13731 - || test ! -s conftest.err'
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); }; } &&
13737 - { ac_try='test -s conftest.$ac_objext'
13738 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13739 - (eval $ac_try) 2>&5
13741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 - (exit $ac_status); }; }; then
13743 + (exit $ac_status); } && {
13744 + test -z "$ac_c_werror_flag" ||
13745 + test ! -s conftest.err
13746 + } && test -s conftest.$ac_objext; then
13747 bfd_cv_have_sys_procfs_type_win32_pstatus_t=yes
13749 echo "$as_me: failed program was:" >&5
13750 sed 's/^/| /' conftest.$ac_ext >&5
13752 -bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13753 + bfd_cv_have_sys_procfs_type_win32_pstatus_t=no
13756 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13758 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13761 if test $bfd_cv_have_sys_procfs_type_win32_pstatus_t = yes; then
13762 @@ -12910,8 +13227,8 @@ cat >>confdefs.h <<\_ACEOF
13766 - echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13767 -echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6
13768 + { echo "$as_me:$LINENO: result: $bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&5
13769 +echo "${ECHO_T}$bfd_cv_have_sys_procfs_type_win32_pstatus_t" >&6; }
13773 @@ -13070,6 +13387,7 @@ do
13774 bfd_efi_app_ia64_vec) tb="$tb efi-app-ia64.lo pepigen.lo cofflink.lo"; target_size=64 ;;
13775 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
13776 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
13777 + bfd_elf32_avr32_vec) tb="$tb elf32-avr32.lo elf32.lo $elf" ;;
13778 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13779 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
13780 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
13781 @@ -13389,8 +13707,8 @@ echo "$as_me: WARNING: your compiler may
13783 if test -n "$GCC" ; then
13785 - echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13786 -echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6
13787 + { echo "$as_me:$LINENO: checking for gcc version with buggy 64-bit support" >&5
13788 +echo $ECHO_N "checking for gcc version with buggy 64-bit support... $ECHO_C" >&6; }
13789 # Add more tests for gcc versions with non-working 64-bit support here.
13790 cat >conftest.$ac_ext <<_ACEOF
13792 @@ -13403,11 +13721,11 @@ _ACEOF
13793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13794 $EGREP ": 2 : 91 : 1 :" >/dev/null 2>&1; then
13796 - echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13797 -echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6
13798 + { echo "$as_me:$LINENO: result: yes: egcs-1.1.2 on ix86 spotted" >&5
13799 +echo "${ECHO_T}yes: egcs-1.1.2 on ix86 spotted" >&6; }
13801 - echo "$as_me:$LINENO: result: no" >&5
13802 -echo "${ECHO_T}no" >&6
13803 + { echo "$as_me:$LINENO: result: no" >&5
13804 +echo "${ECHO_T}no" >&6; }
13808 @@ -13445,9 +13763,9 @@ esac
13809 for ac_func in ftello ftello64 fseeko fseeko64 fopen64
13811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13812 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13813 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13814 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13815 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13816 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13817 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 cat >conftest.$ac_ext <<_ACEOF
13821 @@ -13473,68 +13791,60 @@ cat >>conftest.$ac_ext <<_ACEOF
13825 -/* Override any gcc2 internal prototype to avoid an error. */
13826 +/* Override any GCC internal prototype to avoid an error.
13827 + Use char because int might match the return type of a GCC
13828 + builtin and then its argument prototype would still apply. */
13833 -/* We use char because int might match the return type of a gcc2
13834 - builtin and then its argument prototype would still apply. */
13836 /* The GNU C library defines this for functions which it implements
13837 to always fail with ENOSYS. Some functions are actually named
13838 something starting with __ and the normal name is an alias. */
13839 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13840 +#if defined __stub_$ac_func || defined __stub___$ac_func
13843 -char (*f) () = $ac_func;
13845 -#ifdef __cplusplus
13852 -return f != $ac_func;
13853 +return $ac_func ();
13858 rm -f conftest.$ac_objext conftest$ac_exeext
13859 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13860 - (eval $ac_link) 2>conftest.er1
13861 +if { (ac_try="$ac_link"
13862 +case "(($ac_try" in
13863 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13864 + *) ac_try_echo=$ac_try;;
13866 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13867 + (eval "$ac_link") 2>conftest.er1
13869 grep -v '^ *+' conftest.er1 >conftest.err
13871 cat conftest.err >&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 - (exit $ac_status); } &&
13874 - { ac_try='test -z "$ac_c_werror_flag"
13875 - || test ! -s conftest.err'
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); }; } &&
13881 - { ac_try='test -s conftest$ac_exeext'
13882 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 - (eval $ac_try) 2>&5
13885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 - (exit $ac_status); }; }; then
13887 + (exit $ac_status); } && {
13888 + test -z "$ac_c_werror_flag" ||
13889 + test ! -s conftest.err
13890 + } && test -s conftest$ac_exeext &&
13891 + $as_test_x conftest$ac_exeext; then
13892 eval "$as_ac_var=yes"
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13897 -eval "$as_ac_var=no"
13898 + eval "$as_ac_var=no"
13900 -rm -f conftest.err conftest.$ac_objext \
13902 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13903 conftest$ac_exeext conftest.$ac_ext
13905 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13906 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13907 +ac_res=`eval echo '${'$as_ac_var'}'`
13908 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13909 +echo "${ECHO_T}$ac_res" >&6; }
13910 if test `eval echo '${'$as_ac_var'}'` = yes; then
13911 cat >>confdefs.h <<_ACEOF
13912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13913 @@ -13544,8 +13854,8 @@ fi
13916 if test x"$ac_cv_func_ftello" = xyes -a x"$ac_cv_func_fseeko" = xyes; then
13917 - echo "$as_me:$LINENO: checking for off_t" >&5
13918 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13919 + { echo "$as_me:$LINENO: checking for off_t" >&5
13920 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
13921 if test "${ac_cv_type_off_t+set}" = set; then
13922 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 @@ -13556,61 +13866,57 @@ cat confdefs.h >>conftest.$ac_ext
13925 cat >>conftest.$ac_ext <<_ACEOF
13926 /* end confdefs.h. */
13927 $ac_includes_default
13928 +typedef off_t ac__type_new_;
13933 +if ((ac__type_new_ *) 0)
13935 -if (sizeof (off_t))
13936 +if (sizeof (ac__type_new_))
13942 rm -f conftest.$ac_objext
13943 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13944 - (eval $ac_compile) 2>conftest.er1
13945 +if { (ac_try="$ac_compile"
13946 +case "(($ac_try" in
13947 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13948 + *) ac_try_echo=$ac_try;;
13950 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13951 + (eval "$ac_compile") 2>conftest.er1
13953 grep -v '^ *+' conftest.er1 >conftest.err
13955 cat conftest.err >&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 - (exit $ac_status); } &&
13958 - { ac_try='test -z "$ac_c_werror_flag"
13959 - || test ! -s conftest.err'
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); }; } &&
13965 - { ac_try='test -s conftest.$ac_objext'
13966 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 - (eval $ac_try) 2>&5
13969 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 - (exit $ac_status); }; }; then
13971 + (exit $ac_status); } && {
13972 + test -z "$ac_c_werror_flag" ||
13973 + test ! -s conftest.err
13974 + } && test -s conftest.$ac_objext; then
13975 ac_cv_type_off_t=yes
13977 echo "$as_me: failed program was:" >&5
13978 sed 's/^/| /' conftest.$ac_ext >&5
13980 -ac_cv_type_off_t=no
13981 + ac_cv_type_off_t=no
13983 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13985 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13987 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13988 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
13989 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13990 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
13992 -echo "$as_me:$LINENO: checking size of off_t" >&5
13993 -echo $ECHO_N "checking size of off_t... $ECHO_C" >&6
13994 +# The cast to long int works around a bug in the HP C Compiler
13995 +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13996 +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13997 +# This bug is HP SR number 8606223364.
13998 +{ echo "$as_me:$LINENO: checking size of off_t" >&5
13999 +echo $ECHO_N "checking size of off_t... $ECHO_C" >&6; }
14000 if test "${ac_cv_sizeof_off_t+set}" = set; then
14001 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 - if test "$ac_cv_type_off_t" = yes; then
14004 - # The cast to unsigned long works around a bug in the HP C Compiler
14005 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14006 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14007 - # This bug is HP SR number 8606223364.
14008 if test "$cross_compiling" = yes; then
14009 # Depending upon the size, compute the lo and hi bounds.
14010 cat >conftest.$ac_ext <<_ACEOF
14011 @@ -13620,10 +13926,11 @@ cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 $ac_includes_default
14015 + typedef off_t ac__type_sizeof_;
14019 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= 0)];
14020 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14024 @@ -13631,27 +13938,22 @@ test_array [0] = 0
14027 rm -f conftest.$ac_objext
14028 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14029 - (eval $ac_compile) 2>conftest.er1
14030 +if { (ac_try="$ac_compile"
14031 +case "(($ac_try" in
14032 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14033 + *) ac_try_echo=$ac_try;;
14035 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14036 + (eval "$ac_compile") 2>conftest.er1
14038 grep -v '^ *+' conftest.er1 >conftest.err
14040 cat conftest.err >&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 - (exit $ac_status); } &&
14043 - { ac_try='test -z "$ac_c_werror_flag"
14044 - || test ! -s conftest.err'
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); }; } &&
14050 - { ac_try='test -s conftest.$ac_objext'
14051 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 - (eval $ac_try) 2>&5
14054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 - (exit $ac_status); }; }; then
14056 + (exit $ac_status); } && {
14057 + test -z "$ac_c_werror_flag" ||
14058 + test ! -s conftest.err
14059 + } && test -s conftest.$ac_objext; then
14062 cat >conftest.$ac_ext <<_ACEOF
14063 @@ -13661,10 +13963,11 @@ cat confdefs.h >>conftest.$ac_ext
14064 cat >>conftest.$ac_ext <<_ACEOF
14065 /* end confdefs.h. */
14066 $ac_includes_default
14067 + typedef off_t ac__type_sizeof_;
14071 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14072 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14076 @@ -13672,56 +13975,53 @@ test_array [0] = 0
14079 rm -f conftest.$ac_objext
14080 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14081 - (eval $ac_compile) 2>conftest.er1
14082 +if { (ac_try="$ac_compile"
14083 +case "(($ac_try" in
14084 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 + *) ac_try_echo=$ac_try;;
14087 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 + (eval "$ac_compile") 2>conftest.er1
14090 grep -v '^ *+' conftest.er1 >conftest.err
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 - (exit $ac_status); } &&
14095 - { ac_try='test -z "$ac_c_werror_flag"
14096 - || test ! -s conftest.err'
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); }; } &&
14102 - { ac_try='test -s conftest.$ac_objext'
14103 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 - (eval $ac_try) 2>&5
14106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14107 - (exit $ac_status); }; }; then
14108 + (exit $ac_status); } && {
14109 + test -z "$ac_c_werror_flag" ||
14110 + test ! -s conftest.err
14111 + } && test -s conftest.$ac_objext; then
14112 ac_hi=$ac_mid; break
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.$ac_ext >&5
14117 -ac_lo=`expr $ac_mid + 1`
14118 - if test $ac_lo -le $ac_mid; then
14122 - ac_mid=`expr 2 '*' $ac_mid + 1`
14123 + ac_lo=`expr $ac_mid + 1`
14124 + if test $ac_lo -le $ac_mid; then
14128 + ac_mid=`expr 2 '*' $ac_mid + 1`
14130 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14132 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14138 -cat >conftest.$ac_ext <<_ACEOF
14139 + cat >conftest.$ac_ext <<_ACEOF
14142 cat confdefs.h >>conftest.$ac_ext
14143 cat >>conftest.$ac_ext <<_ACEOF
14144 /* end confdefs.h. */
14145 $ac_includes_default
14146 + typedef off_t ac__type_sizeof_;
14150 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) < 0)];
14151 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14155 @@ -13729,27 +14029,22 @@ test_array [0] = 0
14158 rm -f conftest.$ac_objext
14159 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 - (eval $ac_compile) 2>conftest.er1
14161 +if { (ac_try="$ac_compile"
14162 +case "(($ac_try" in
14163 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14164 + *) ac_try_echo=$ac_try;;
14166 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 + (eval "$ac_compile") 2>conftest.er1
14169 grep -v '^ *+' conftest.er1 >conftest.err
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 - (exit $ac_status); } &&
14174 - { ac_try='test -z "$ac_c_werror_flag"
14175 - || test ! -s conftest.err'
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); }; } &&
14181 - { ac_try='test -s conftest.$ac_objext'
14182 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 - (eval $ac_try) 2>&5
14185 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 - (exit $ac_status); }; }; then
14187 + (exit $ac_status); } && {
14188 + test -z "$ac_c_werror_flag" ||
14189 + test ! -s conftest.err
14190 + } && test -s conftest.$ac_objext; then
14193 cat >conftest.$ac_ext <<_ACEOF
14194 @@ -13759,10 +14054,11 @@ cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 $ac_includes_default
14198 + typedef off_t ac__type_sizeof_;
14202 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) >= $ac_mid)];
14203 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14207 @@ -13770,50 +14066,48 @@ test_array [0] = 0
14210 rm -f conftest.$ac_objext
14211 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 - (eval $ac_compile) 2>conftest.er1
14213 +if { (ac_try="$ac_compile"
14214 +case "(($ac_try" in
14215 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14216 + *) ac_try_echo=$ac_try;;
14218 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14219 + (eval "$ac_compile") 2>conftest.er1
14221 grep -v '^ *+' conftest.er1 >conftest.err
14223 cat conftest.err >&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 - (exit $ac_status); } &&
14226 - { ac_try='test -z "$ac_c_werror_flag"
14227 - || test ! -s conftest.err'
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); }; } &&
14233 - { ac_try='test -s conftest.$ac_objext'
14234 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 - (eval $ac_try) 2>&5
14237 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 - (exit $ac_status); }; }; then
14239 + (exit $ac_status); } && {
14240 + test -z "$ac_c_werror_flag" ||
14241 + test ! -s conftest.err
14242 + } && test -s conftest.$ac_objext; then
14243 ac_lo=$ac_mid; break
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.$ac_ext >&5
14248 -ac_hi=`expr '(' $ac_mid ')' - 1`
14249 - if test $ac_mid -le $ac_hi; then
14253 - ac_mid=`expr 2 '*' $ac_mid`
14254 + ac_hi=`expr '(' $ac_mid ')' - 1`
14255 + if test $ac_mid -le $ac_hi; then
14259 + ac_mid=`expr 2 '*' $ac_mid`
14261 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14263 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14266 echo "$as_me: failed program was:" >&5
14267 sed 's/^/| /' conftest.$ac_ext >&5
14272 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14274 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14276 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14278 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14279 # Binary search between lo and hi bounds.
14280 while test "x$ac_lo" != "x$ac_hi"; do
14281 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14282 @@ -13824,10 +14118,11 @@ cat confdefs.h >>conftest.$ac_ext
14283 cat >>conftest.$ac_ext <<_ACEOF
14284 /* end confdefs.h. */
14285 $ac_includes_default
14286 + typedef off_t ac__type_sizeof_;
14290 -static int test_array [1 - 2 * !(((long) (sizeof (off_t))) <= $ac_mid)];
14291 +static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14295 @@ -13835,52 +14130,45 @@ test_array [0] = 0
14298 rm -f conftest.$ac_objext
14299 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14300 - (eval $ac_compile) 2>conftest.er1
14301 +if { (ac_try="$ac_compile"
14302 +case "(($ac_try" in
14303 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14304 + *) ac_try_echo=$ac_try;;
14306 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14307 + (eval "$ac_compile") 2>conftest.er1
14309 grep -v '^ *+' conftest.er1 >conftest.err
14311 cat conftest.err >&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 - (exit $ac_status); } &&
14314 - { ac_try='test -z "$ac_c_werror_flag"
14315 - || test ! -s conftest.err'
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); }; } &&
14321 - { ac_try='test -s conftest.$ac_objext'
14322 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323 - (eval $ac_try) 2>&5
14325 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 - (exit $ac_status); }; }; then
14327 + (exit $ac_status); } && {
14328 + test -z "$ac_c_werror_flag" ||
14329 + test ! -s conftest.err
14330 + } && test -s conftest.$ac_objext; then
14333 echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14336 -ac_lo=`expr '(' $ac_mid ')' + 1`
14337 + ac_lo=`expr '(' $ac_mid ')' + 1`
14339 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14341 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14344 ?*) ac_cv_sizeof_off_t=$ac_lo;;
14345 -'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14346 +'') if test "$ac_cv_type_off_t" = yes; then
14347 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14348 See \`config.log' for more details." >&5
14349 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14350 +echo "$as_me: error: cannot compute sizeof (off_t)
14351 See \`config.log' for more details." >&2;}
14352 - { (exit 1); exit 1; }; } ;;
14353 + { (exit 77); exit 77; }; }
14355 + ac_cv_sizeof_off_t=0
14359 - if test "$cross_compiling" = yes; then
14360 - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14361 -See \`config.log' for more details." >&5
14362 -echo "$as_me: error: cannot run test program while cross compiling
14363 -See \`config.log' for more details." >&2;}
14364 - { (exit 1); exit 1; }; }
14366 cat >conftest.$ac_ext <<_ACEOF
14369 @@ -13888,8 +14176,9 @@ cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372 $ac_includes_default
14373 -long longval () { return (long) (sizeof (off_t)); }
14374 -unsigned long ulongval () { return (long) (sizeof (off_t)); }
14375 + typedef off_t ac__type_sizeof_;
14376 +static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14377 +static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14379 #include <stdlib.h>
14381 @@ -13898,35 +14187,44 @@ main ()
14383 FILE *f = fopen ("conftest.val", "w");
14386 - if (((long) (sizeof (off_t))) < 0)
14388 + if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14390 - long i = longval ();
14391 - if (i != ((long) (sizeof (off_t))))
14393 + long int i = longval ();
14394 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14396 fprintf (f, "%ld\n", i);
14400 - unsigned long i = ulongval ();
14401 - if (i != ((long) (sizeof (off_t))))
14403 + unsigned long int i = ulongval ();
14404 + if (i != ((long int) (sizeof (ac__type_sizeof_))))
14406 fprintf (f, "%lu\n", i);
14408 - exit (ferror (f) || fclose (f) != 0);
14409 + return ferror (f) || fclose (f) != 0;
14415 rm -f conftest$ac_exeext
14416 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14417 - (eval $ac_link) 2>&5
14418 +if { (ac_try="$ac_link"
14419 +case "(($ac_try" in
14420 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14421 + *) ac_try_echo=$ac_try;;
14423 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14424 + (eval "$ac_link") 2>&5
14426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14428 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14429 - (eval $ac_try) 2>&5
14430 + { (case "(($ac_try" in
14431 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14432 + *) ac_try_echo=$ac_try;;
14434 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14435 + (eval "$ac_try") 2>&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; }; then
14439 @@ -13937,30 +14235,33 @@ echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.$ac_ext >&5
14442 ( exit $ac_status )
14443 -{ { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t), 77
14444 +if test "$ac_cv_type_off_t" = yes; then
14445 + { { echo "$as_me:$LINENO: error: cannot compute sizeof (off_t)
14446 See \`config.log' for more details." >&5
14447 -echo "$as_me: error: cannot compute sizeof (off_t), 77
14448 +echo "$as_me: error: cannot compute sizeof (off_t)
14449 See \`config.log' for more details." >&2;}
14450 - { (exit 1); exit 1; }; }
14452 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14453 + { (exit 77); exit 77; }; }
14455 + ac_cv_sizeof_off_t=0
14458 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14462 - ac_cv_sizeof_off_t=0
14465 -echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14466 -echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6
14467 +{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_off_t" >&5
14468 +echo "${ECHO_T}$ac_cv_sizeof_off_t" >&6; }
14472 cat >>confdefs.h <<_ACEOF
14473 #define SIZEOF_OFF_T $ac_cv_sizeof_off_t
14478 -echo "$as_me:$LINENO: checking file_ptr type" >&5
14479 -echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6
14480 +{ echo "$as_me:$LINENO: checking file_ptr type" >&5
14481 +echo $ECHO_N "checking file_ptr type... $ECHO_C" >&6; }
14482 bfd_file_ptr="long"
14483 bfd_ufile_ptr="unsigned long"
14484 if test x"$ac_cv_func_ftello64" = xyes -a x"$ac_cv_func_fseeko64" = xyes \
14485 @@ -13968,8 +14269,8 @@ if test x"$ac_cv_func_ftello64" = xyes -
14486 bfd_file_ptr=BFD_HOST_64_BIT
14487 bfd_ufile_ptr=BFD_HOST_U_64_BIT
14489 -echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14490 -echo "${ECHO_T}$bfd_file_ptr" >&6
14491 +{ echo "$as_me:$LINENO: result: $bfd_file_ptr" >&5
14492 +echo "${ECHO_T}$bfd_file_ptr" >&6; }
14496 @@ -13987,18 +14288,19 @@ test -n "${havevecs}" && tdefaults="${td
14497 for ac_header in stdlib.h unistd.h
14499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14500 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14501 - echo "$as_me:$LINENO: checking for $ac_header" >&5
14502 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14503 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14504 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14505 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
14506 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14507 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14508 echo $ECHO_N "(cached) $ECHO_C" >&6
14510 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14511 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14512 +ac_res=`eval echo '${'$as_ac_Header'}'`
14513 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14514 +echo "${ECHO_T}$ac_res" >&6; }
14516 # Is the header compilable?
14517 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
14518 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14519 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
14520 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
14521 cat >conftest.$ac_ext <<_ACEOF
14524 @@ -14009,41 +14311,37 @@ $ac_includes_default
14525 #include <$ac_header>
14527 rm -f conftest.$ac_objext
14528 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14529 - (eval $ac_compile) 2>conftest.er1
14530 +if { (ac_try="$ac_compile"
14531 +case "(($ac_try" in
14532 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14533 + *) ac_try_echo=$ac_try;;
14535 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14536 + (eval "$ac_compile") 2>conftest.er1
14538 grep -v '^ *+' conftest.er1 >conftest.err
14540 cat conftest.err >&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 - (exit $ac_status); } &&
14543 - { ac_try='test -z "$ac_c_werror_flag"
14544 - || test ! -s conftest.err'
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); }; } &&
14550 - { ac_try='test -s conftest.$ac_objext'
14551 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14552 - (eval $ac_try) 2>&5
14554 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 - (exit $ac_status); }; }; then
14556 + (exit $ac_status); } && {
14557 + test -z "$ac_c_werror_flag" ||
14558 + test ! -s conftest.err
14559 + } && test -s conftest.$ac_objext; then
14560 ac_header_compiler=yes
14562 echo "$as_me: failed program was:" >&5
14563 sed 's/^/| /' conftest.$ac_ext >&5
14565 -ac_header_compiler=no
14566 + ac_header_compiler=no
14568 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14569 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14570 -echo "${ECHO_T}$ac_header_compiler" >&6
14572 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14573 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14574 +echo "${ECHO_T}$ac_header_compiler" >&6; }
14576 # Is the header present?
14577 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
14578 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14579 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
14580 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
14581 cat >conftest.$ac_ext <<_ACEOF
14584 @@ -14052,24 +14350,22 @@ cat >>conftest.$ac_ext <<_ACEOF
14585 /* end confdefs.h. */
14586 #include <$ac_header>
14588 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14589 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14590 +if { (ac_try="$ac_cpp conftest.$ac_ext"
14591 +case "(($ac_try" in
14592 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14593 + *) ac_try_echo=$ac_try;;
14595 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14596 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14598 grep -v '^ *+' conftest.er1 >conftest.err
14600 cat conftest.err >&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 - (exit $ac_status); } >/dev/null; then
14603 - if test -s conftest.err; then
14604 - ac_cpp_err=$ac_c_preproc_warn_flag
14605 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14612 -if test -z "$ac_cpp_err"; then
14613 + (exit $ac_status); } >/dev/null && {
14614 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14615 + test ! -s conftest.err
14617 ac_header_preproc=yes
14619 echo "$as_me: failed program was:" >&5
14620 @@ -14077,9 +14373,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
14622 ac_header_preproc=no
14625 rm -f conftest.err conftest.$ac_ext
14626 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14627 -echo "${ECHO_T}$ac_header_preproc" >&6
14628 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14629 +echo "${ECHO_T}$ac_header_preproc" >&6; }
14631 # So? What about this header?
14632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14633 @@ -14103,25 +14400,19 @@ echo "$as_me: WARNING: $ac_header: s
14634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14639 -## ------------------------------------------ ##
14640 -## Report this to the AC_PACKAGE_NAME lists. ##
14641 -## ------------------------------------------ ##
14644 - sed "s/^/$as_me: WARNING: /" >&2
14648 -echo "$as_me:$LINENO: checking for $ac_header" >&5
14649 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14650 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
14651 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
14652 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14653 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14656 eval "$as_ac_Header=\$ac_header_preproc"
14658 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14659 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14660 +ac_res=`eval echo '${'$as_ac_Header'}'`
14661 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14662 +echo "${ECHO_T}$ac_res" >&6; }
14665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14666 @@ -14137,9 +14428,9 @@ done
14667 for ac_func in getpagesize
14669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14670 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14671 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14672 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14673 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14674 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14675 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 cat >conftest.$ac_ext <<_ACEOF
14679 @@ -14165,68 +14456,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14683 -/* Override any gcc2 internal prototype to avoid an error. */
14684 +/* Override any GCC internal prototype to avoid an error.
14685 + Use char because int might match the return type of a GCC
14686 + builtin and then its argument prototype would still apply. */
14691 -/* We use char because int might match the return type of a gcc2
14692 - builtin and then its argument prototype would still apply. */
14694 /* The GNU C library defines this for functions which it implements
14695 to always fail with ENOSYS. Some functions are actually named
14696 something starting with __ and the normal name is an alias. */
14697 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14698 +#if defined __stub_$ac_func || defined __stub___$ac_func
14701 -char (*f) () = $ac_func;
14703 -#ifdef __cplusplus
14710 -return f != $ac_func;
14711 +return $ac_func ();
14716 rm -f conftest.$ac_objext conftest$ac_exeext
14717 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14718 - (eval $ac_link) 2>conftest.er1
14719 +if { (ac_try="$ac_link"
14720 +case "(($ac_try" in
14721 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14722 + *) ac_try_echo=$ac_try;;
14724 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14725 + (eval "$ac_link") 2>conftest.er1
14727 grep -v '^ *+' conftest.er1 >conftest.err
14729 cat conftest.err >&5
14730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 - (exit $ac_status); } &&
14732 - { ac_try='test -z "$ac_c_werror_flag"
14733 - || test ! -s conftest.err'
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); }; } &&
14739 - { ac_try='test -s conftest$ac_exeext'
14740 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14741 - (eval $ac_try) 2>&5
14743 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 - (exit $ac_status); }; }; then
14745 + (exit $ac_status); } && {
14746 + test -z "$ac_c_werror_flag" ||
14747 + test ! -s conftest.err
14748 + } && test -s conftest$ac_exeext &&
14749 + $as_test_x conftest$ac_exeext; then
14750 eval "$as_ac_var=yes"
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14755 -eval "$as_ac_var=no"
14756 + eval "$as_ac_var=no"
14758 -rm -f conftest.err conftest.$ac_objext \
14760 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14761 conftest$ac_exeext conftest.$ac_ext
14763 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14764 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14765 +ac_res=`eval echo '${'$as_ac_var'}'`
14766 + { echo "$as_me:$LINENO: result: $ac_res" >&5
14767 +echo "${ECHO_T}$ac_res" >&6; }
14768 if test `eval echo '${'$as_ac_var'}'` = yes; then
14769 cat >>confdefs.h <<_ACEOF
14770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14771 @@ -14235,8 +14518,8 @@ _ACEOF
14775 -echo "$as_me:$LINENO: checking for working mmap" >&5
14776 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14777 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
14778 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
14779 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 @@ -14278,21 +14561,21 @@ $ac_includes_default
14784 #include <sys/mman.h>
14786 -#if !STDC_HEADERS && !HAVE_STDLIB_H
14787 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
14791 /* This mess was copied from the GNU getpagesize.h. */
14792 -#if !HAVE_GETPAGESIZE
14793 +#ifndef HAVE_GETPAGESIZE
14794 /* Assume that all systems that can run configure have sys/param.h. */
14795 -# if !HAVE_SYS_PARAM_H
14796 +# ifndef HAVE_SYS_PARAM_H
14797 # define HAVE_SYS_PARAM_H 1
14800 # ifdef _SC_PAGESIZE
14801 # define getpagesize() sysconf(_SC_PAGESIZE)
14802 # else /* no _SC_PAGESIZE */
14803 -# if HAVE_SYS_PARAM_H
14804 +# ifdef HAVE_SYS_PARAM_H
14805 # include <sys/param.h>
14806 # ifdef EXEC_PAGESIZE
14807 # define getpagesize() EXEC_PAGESIZE
14808 @@ -14331,15 +14614,15 @@ main ()
14809 /* First, make a file with some known garbage in it. */
14810 data = (char *) malloc (pagesize);
14814 for (i = 0; i < pagesize; ++i)
14815 *(data + i) = rand ();
14817 fd = creat ("conftest.mmap", 0600);
14821 if (write (fd, data, pagesize) != pagesize)
14826 /* Next, try to mmap the file at a fixed address which already has
14827 @@ -14347,17 +14630,17 @@ main ()
14828 we see the same garbage. */
14829 fd = open ("conftest.mmap", O_RDWR);
14833 data2 = (char *) malloc (2 * pagesize);
14836 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14838 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
14839 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14840 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14843 for (i = 0; i < pagesize; ++i)
14844 if (*(data + i) != *(data2 + i))
14848 /* Finally, make sure that changes to the mapped area do not
14849 percolate back to the file as seen by read(). (This is a bug on
14850 @@ -14366,24 +14649,33 @@ main ()
14851 *(data2 + i) = *(data2 + i) + 1;
14852 data3 = (char *) malloc (pagesize);
14856 if (read (fd, data3, pagesize) != pagesize)
14859 for (i = 0; i < pagesize; ++i)
14860 if (*(data + i) != *(data3 + i))
14868 rm -f conftest$ac_exeext
14869 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14870 - (eval $ac_link) 2>&5
14871 +if { (ac_try="$ac_link"
14872 +case "(($ac_try" in
14873 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14874 + *) ac_try_echo=$ac_try;;
14876 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14877 + (eval "$ac_link") 2>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14881 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14882 - (eval $ac_try) 2>&5
14883 + { (case "(($ac_try" in
14884 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14885 + *) ac_try_echo=$ac_try;;
14887 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14888 + (eval "$ac_try") 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; }; then
14892 @@ -14396,11 +14688,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
14893 ( exit $ac_status )
14894 ac_cv_func_mmap_fixed_mapped=no
14896 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14897 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14902 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14903 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14904 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14905 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
14906 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14908 cat >>confdefs.h <<\_ACEOF
14909 @@ -14415,9 +14709,9 @@ rm -f conftest.mmap
14910 for ac_func in madvise mprotect
14912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14913 -echo "$as_me:$LINENO: checking for $ac_func" >&5
14914 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14915 -if eval "test \"\${$as_ac_var+set}\" = set"; then
14916 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
14917 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14918 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 cat >conftest.$ac_ext <<_ACEOF
14922 @@ -14443,68 +14737,60 @@ cat >>conftest.$ac_ext <<_ACEOF
14926 -/* Override any gcc2 internal prototype to avoid an error. */
14927 +/* Override any GCC internal prototype to avoid an error.
14928 + Use char because int might match the return type of a GCC
14929 + builtin and then its argument prototype would still apply. */
14934 -/* We use char because int might match the return type of a gcc2
14935 - builtin and then its argument prototype would still apply. */
14937 /* The GNU C library defines this for functions which it implements
14938 to always fail with ENOSYS. Some functions are actually named
14939 something starting with __ and the normal name is an alias. */
14940 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14941 +#if defined __stub_$ac_func || defined __stub___$ac_func
14944 -char (*f) () = $ac_func;
14946 -#ifdef __cplusplus
14953 -return f != $ac_func;
14954 +return $ac_func ();
14959 rm -f conftest.$ac_objext conftest$ac_exeext
14960 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14961 - (eval $ac_link) 2>conftest.er1
14962 +if { (ac_try="$ac_link"
14963 +case "(($ac_try" in
14964 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14965 + *) ac_try_echo=$ac_try;;
14967 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14968 + (eval "$ac_link") 2>conftest.er1
14970 grep -v '^ *+' conftest.er1 >conftest.err
14972 cat conftest.err >&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 - (exit $ac_status); } &&
14975 - { ac_try='test -z "$ac_c_werror_flag"
14976 - || test ! -s conftest.err'
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); }; } &&
14982 - { ac_try='test -s conftest$ac_exeext'
14983 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 - (eval $ac_try) 2>&5
14986 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 - (exit $ac_status); }; }; then
14988 + (exit $ac_status); } && {
14989 + test -z "$ac_c_werror_flag" ||
14990 + test ! -s conftest.err
14991 + } && test -s conftest$ac_exeext &&
14992 + $as_test_x conftest$ac_exeext; then
14993 eval "$as_ac_var=yes"
14995 echo "$as_me: failed program was:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 -eval "$as_ac_var=no"
14999 + eval "$as_ac_var=no"
15001 -rm -f conftest.err conftest.$ac_objext \
15003 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15004 conftest$ac_exeext conftest.$ac_ext
15006 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15007 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15008 +ac_res=`eval echo '${'$as_ac_var'}'`
15009 + { echo "$as_me:$LINENO: result: $ac_res" >&5
15010 +echo "${ECHO_T}$ac_res" >&6; }
15011 if test `eval echo '${'$as_ac_var'}'` = yes; then
15012 cat >>confdefs.h <<_ACEOF
15013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15014 @@ -14522,9 +14808,9 @@ _ACEOF
15017 rm -f doc/config.status
15018 - ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15019 +ac_config_files="$ac_config_files Makefile doc/Makefile bfd-in3.h:bfd-in2.h po/Makefile.in:po/Make-in"
15021 - ac_config_commands="$ac_config_commands default"
15022 +ac_config_commands="$ac_config_commands default"
15026 @@ -14549,39 +14835,58 @@ _ACEOF
15028 # The following way of writing the cache mishandles newlines in values,
15029 # but we know of no workaround that is simple, portable, and efficient.
15030 -# So, don't put newlines in cache variables' values.
15031 +# So, we kill variables containing newlines.
15032 # Ultrix sh set writes to stderr and can't be redirected directly,
15033 # and sets the high bit in the cache file unless we assign to the vars.
15036 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15037 + eval ac_val=\$$ac_var
15038 + case $ac_val in #(
15040 + case $ac_var in #(
15041 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15042 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15044 + case $ac_var in #(
15045 + _ | IFS | as_nl) ;; #(
15046 + *) $as_unset $ac_var ;;
15052 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
15054 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
15055 + *${as_nl}ac_space=\ *)
15056 # `set' does not quote correctly, so add quotes (double-quote
15057 # substitution turns \\\\ into \\, and sed turns \\ into \).
15060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15064 # `set' quotes correctly as required by POSIX, so do not add quotes.
15066 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15067 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15075 + /^ac_cv_env_/b end
15079 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15081 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15082 - : end' >>confcache
15083 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
15084 - if test -w $cache_file; then
15085 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15086 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15087 + :end' >>confcache
15088 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15089 + if test -w "$cache_file"; then
15090 + test "x$cache_file" != "x/dev/null" &&
15091 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15092 +echo "$as_me: updating cache $cache_file" >&6;}
15093 cat confcache >$cache_file
15095 - echo "not updating unwritable cache $cache_file"
15096 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15097 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15101 @@ -14590,32 +14895,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
15102 # Let make expand exec_prefix.
15103 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15105 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
15106 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15107 -# trailing colons and then remove the whole line if VPATH becomes empty
15108 -# (actually we leave an empty line to preserve line numbers).
15109 -if test "x$srcdir" = x.; then
15110 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
15111 -s/:*\$(srcdir):*/:/;
15112 -s/:*\${srcdir}:*/:/;
15113 -s/:*@srcdir@:*/:/;
15114 -s/^\([^=]*=[ ]*\):*/\1/;
15120 DEFS=-DHAVE_CONFIG_H
15124 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15125 # 1. Remove the extension, and $U if already installed.
15126 - ac_i=`echo "$ac_i" |
15127 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15129 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15130 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15131 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15132 + ac_i=`echo "$ac_i" | sed "$ac_script"`
15133 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15134 + # will be set to the directory where LIBOBJS objects are built.
15135 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15136 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15138 LIBOBJS=$ac_libobjs
15140 @@ -14674,17 +14965,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
15141 ## M4sh Initialization. ##
15142 ## --------------------- ##
15144 -# Be Bourne compatible
15145 +# Be more Bourne compatible
15146 +DUALCASE=1; export DUALCASE # for MKS sh
15147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15150 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15151 # is contrary to our usage. Disable this feature.
15152 alias -g '${1+"$@"}'='"$@"'
15153 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15155 + setopt NO_GLOB_SUBST
15157 + case `(set -o) 2>/dev/null` in
15158 + *posix*) set -o posix ;;
15167 +# Avoid depending upon Character Ranges.
15168 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15169 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15170 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15171 +as_cr_digits='0123456789'
15172 +as_cr_alnum=$as_cr_Letters$as_cr_digits
15174 +# The user is always right.
15175 +if test "${PATH_SEPARATOR+set}" != set; then
15176 + echo "#! /bin/sh" >conf$$.sh
15177 + echo "exit 0" >>conf$$.sh
15178 + chmod +x conf$$.sh
15179 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15180 + PATH_SEPARATOR=';'
15186 -DUALCASE=1; export DUALCASE # for MKS sh
15188 # Support unset when possible.
15189 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
15190 @@ -14694,8 +15013,43 @@ else
15195 +# We need space, tab and new line, in precisely that order. Quoting is
15196 +# there to prevent editors from complaining about space-tab.
15197 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15198 +# splitting by setting IFS to empty value.)
15203 +# Find who we are. Look in the path if we contain no directory separator.
15205 + *[\\/]* ) as_myself=$0 ;;
15206 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15207 +for as_dir in $PATH
15210 + test -z "$as_dir" && as_dir=.
15211 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15217 +# We did not find ourselves, most probably we were run as `sh COMMAND'
15218 +# in which case we are not to be found in the path.
15219 +if test "x$as_myself" = x; then
15222 +if test ! -f "$as_myself"; then
15223 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15224 + { (exit 1); exit 1; }
15227 # Work around bugs in pre-3.0 UWIN ksh.
15228 -$as_unset ENV MAIL MAILPATH
15229 +for as_var in ENV MAIL MAILPATH
15230 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15235 @@ -14709,18 +15063,19 @@ do
15236 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15237 eval $as_var=C; export $as_var
15239 - $as_unset $as_var
15240 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
15244 # Required to use basename.
15245 -if expr a : '\(a\)' >/dev/null 2>&1; then
15246 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15247 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15253 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
15254 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15255 as_basename=basename
15258 @@ -14728,159 +15083,120 @@ fi
15261 # Name of the executable.
15262 -as_me=`$as_basename "$0" ||
15263 +as_me=`$as_basename -- "$0" ||
15264 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15265 X"$0" : 'X\(//\)$' \| \
15266 - X"$0" : 'X\(/\)$' \| \
15267 - . : '\(.\)' 2>/dev/null ||
15268 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15270 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15271 - /^X\/\(\/\/\)$/{ s//\1/; q; }
15272 - /^X\/\(\/\).*/{ s//\1/; q; }
15274 + sed '/^.*\/\([^/][^/]*\)\/*$/{
15289 -# PATH needs CR, and LINENO needs CR and PATH.
15290 -# Avoid depending upon Character Ranges.
15291 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15292 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15293 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15294 -as_cr_digits='0123456789'
15295 -as_cr_alnum=$as_cr_Letters$as_cr_digits
15297 -# The user is always right.
15298 -if test "${PATH_SEPARATOR+set}" != set; then
15299 - echo "#! /bin/sh" >conf$$.sh
15300 - echo "exit 0" >>conf$$.sh
15301 - chmod +x conf$$.sh
15302 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
15303 - PATH_SEPARATOR=';'
15313 - as_lineno_1=$LINENO
15314 - as_lineno_2=$LINENO
15315 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15316 - test "x$as_lineno_1" != "x$as_lineno_2" &&
15317 - test "x$as_lineno_3" = "x$as_lineno_2" || {
15318 - # Find who we are. Look in the path if we contain no path at all
15319 - # relative or not.
15321 - *[\\/]* ) as_myself=$0 ;;
15322 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15323 -for as_dir in $PATH
15326 - test -z "$as_dir" && as_dir=.
15327 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15332 - # We did not find ourselves, most probably we were run as `sh COMMAND'
15333 - # in which case we are not to be found in the path.
15334 - if test "x$as_myself" = x; then
15337 - if test ! -f "$as_myself"; then
15338 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15339 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15340 - { (exit 1); exit 1; }; }
15342 - case $CONFIG_SHELL in
15344 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15345 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
15348 - test -z "$as_dir" && as_dir=.
15349 - for as_base in sh bash ksh sh5; do
15352 - if ("$as_dir/$as_base" -c '
15353 as_lineno_1=$LINENO
15354 as_lineno_2=$LINENO
15355 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15356 test "x$as_lineno_1" != "x$as_lineno_2" &&
15357 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
15358 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
15359 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
15360 - CONFIG_SHELL=$as_dir/$as_base
15361 - export CONFIG_SHELL
15362 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15369 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
15371 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15372 # uniformly replaced by the line number. The first 'sed' inserts a
15373 - # line-number line before each line; the second 'sed' does the real
15374 - # work. The second script uses 'N' to pair each line-number line
15375 - # with the numbered line, and appends trailing '-' during
15376 - # substitution so that $LINENO is not a special case at line end.
15377 + # line-number line after each line using $LINENO; the second 'sed'
15378 + # does the real work. The second script uses 'N' to pair each
15379 + # line-number line with the line containing $LINENO, and appends
15380 + # trailing '-' during substitution so that $LINENO is not a special
15381 + # case at line end.
15382 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15383 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15384 - sed '=' <$as_myself |
15385 + # scripts with optimization help from Paolo Bonzini. Blame Lee
15386 + # E. McMahon (1931-1989) for sed's syntax. :-)
15392 + s/[$]LINENO.*/&-/
15399 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15401 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
15404 - s,^['$as_cr_digits']*\n,,
15406 ' >$as_me.lineno &&
15407 - chmod +x $as_me.lineno ||
15408 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15409 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15410 + chmod +x "$as_me.lineno" ||
15411 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
15412 { (exit 1); exit 1; }; }
15414 # Don't try to exec as it changes $[0], causing all sort of problems
15415 # (the dirname of $[0] is not the place where we might find the
15416 - # original and so on. Autoconf is especially sensible to this).
15417 - . ./$as_me.lineno
15418 + # original and so on. Autoconf is especially sensitive to this).
15419 + . "./$as_me.lineno"
15420 # Exit status is that of the last command.
15425 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15426 - *c*,-n*) ECHO_N= ECHO_C='
15428 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
15429 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
15430 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15431 + as_dirname=dirname
15436 +ECHO_C= ECHO_N= ECHO_T=
15437 +case `echo -n x` in
15439 + case `echo 'x\c'` in
15440 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15447 -if expr a : '\(a\)' >/dev/null 2>&1; then
15448 +if expr a : '\(a\)' >/dev/null 2>&1 &&
15449 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
15455 rm -f conf$$ conf$$.exe conf$$.file
15456 +if test -d conf$$.dir; then
15457 + rm -f conf$$.dir/conf$$.file
15463 if ln -s conf$$.file conf$$ 2>/dev/null; then
15464 - # We could just check for DJGPP; but this test a) works b) is more generic
15465 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15466 - if test -f conf$$.exe; then
15467 - # Don't use ln at all; we don't have any links
15469 + # ... but there are two gotchas:
15470 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15471 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15472 + # In both cases, we have to default to `cp -p'.
15473 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15478 elif ln conf$$.file conf$$ 2>/dev/null; then
15483 -rm -f conf$$ conf$$.exe conf$$.file
15484 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15485 +rmdir conf$$.dir 2>/dev/null
15487 if mkdir -p . 2>/dev/null; then
15489 @@ -14889,7 +15205,28 @@ else
15493 -as_executable_p="test -f"
15494 +if test -x / >/dev/null 2>&1; then
15495 + as_test_x='test -x'
15497 + if ls -dL / >/dev/null 2>&1; then
15504 + if test -d "$1"; then
15510 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
15511 + ???[sx]*):;;*)false;;esac;fi
15515 +as_executable_p=$as_test_x
15517 # Sed expression to map a string onto a valid CPP name.
15518 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15519 @@ -14898,31 +15235,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
15520 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15524 -# We need space, tab and new line, in precisely that order.
15534 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
15535 +# Save the log message, to keep $[0] and so on meaningful, and to
15536 # report actual input values of CONFIG_FILES etc. instead of their
15537 -# values after options handling. Logging --version etc. is OK.
15538 -exec 5>>config.log
15541 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15542 -## Running $as_me. ##
15547 +# values after options handling.
15549 This file was extended by $as_me, which was
15550 -generated by GNU Autoconf 2.59. Invocation command line was
15551 +generated by GNU Autoconf 2.61. Invocation command line was
15553 CONFIG_FILES = $CONFIG_FILES
15554 CONFIG_HEADERS = $CONFIG_HEADERS
15555 @@ -14930,30 +15250,20 @@ generated by GNU Autoconf 2.59. Invocat
15556 CONFIG_COMMANDS = $CONFIG_COMMANDS
15560 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15562 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
15567 +cat >>$CONFIG_STATUS <<_ACEOF
15568 # Files that config.status was made for.
15569 -if test -n "$ac_config_files"; then
15570 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15572 +config_files="$ac_config_files"
15573 +config_headers="$ac_config_headers"
15574 +config_commands="$ac_config_commands"
15576 -if test -n "$ac_config_headers"; then
15577 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15580 -if test -n "$ac_config_links"; then
15581 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15584 -if test -n "$ac_config_commands"; then
15585 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15589 cat >>$CONFIG_STATUS <<\_ACEOF
15592 \`$as_me' instantiates files from templates according to the
15593 current configuration.
15594 @@ -14961,7 +15271,7 @@ current configuration.
15595 Usage: $0 [OPTIONS] [FILE]...
15597 -h, --help print this help, then exit
15598 - -V, --version print version number, then exit
15599 + -V, --version print version number and configuration settings, then exit
15600 -q, --quiet do not print progress messages
15601 -d, --debug don't remove temporary files
15602 --recheck update $as_me by reconfiguring in the same conditions
15603 @@ -14980,19 +15290,21 @@ Configuration commands:
15606 Report bugs to <bug-autoconf@gnu.org>."
15610 cat >>$CONFIG_STATUS <<_ACEOF
15613 -configured by $0, generated by GNU Autoconf 2.59,
15614 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15615 +configured by $0, generated by GNU Autoconf 2.61,
15616 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15618 -Copyright (C) 2003 Free Software Foundation, Inc.
15619 +Copyright (C) 2006 Free Software Foundation, Inc.
15620 This config.status script is free software; the Free Software Foundation
15621 gives unlimited permission to copy, distribute and modify it."
15623 -INSTALL="$INSTALL"
15627 +INSTALL='$INSTALL'
15630 cat >>$CONFIG_STATUS <<\_ACEOF
15631 @@ -15003,39 +15315,24 @@ while test $# != 0
15635 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
15636 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
15637 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
15638 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15647 - *) # This is not an option, so the user has probably given explicit
15650 - ac_need_defaults=false;;
15654 # Handling of the options.
15656 -cat >>$CONFIG_STATUS <<\_ACEOF
15657 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15659 - --version | --vers* | -V )
15660 - echo "$ac_cs_version"; exit 0 ;;
15662 - # Conflict between --help and --header
15663 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
15664 -Try \`$0 --help' for more information." >&5
15665 -echo "$as_me: error: ambiguous option: $1
15666 -Try \`$0 --help' for more information." >&2;}
15667 - { (exit 1); exit 1; }; };;
15668 - --help | --hel | -h )
15669 - echo "$ac_cs_usage"; exit 0 ;;
15670 - --debug | --d* | -d )
15671 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15672 + echo "$ac_cs_version"; exit ;;
15673 + --debug | --debu | --deb | --de | --d | -d )
15675 --file | --fil | --fi | --f )
15677 @@ -15045,18 +15342,24 @@ Try \`$0 --help' for more information."
15679 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
15680 ac_need_defaults=false;;
15682 + # Conflict between --help and --header
15683 + { echo "$as_me: error: ambiguous option: $1
15684 +Try \`$0 --help' for more information." >&2
15685 + { (exit 1); exit 1; }; };;
15686 + --help | --hel | -h )
15687 + echo "$ac_cs_usage"; exit ;;
15688 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15689 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15692 # This is an error.
15693 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15694 -Try \`$0 --help' for more information." >&5
15695 -echo "$as_me: error: unrecognized option: $1
15696 -Try \`$0 --help' for more information." >&2;}
15697 + -*) { echo "$as_me: error: unrecognized option: $1
15698 +Try \`$0 --help' for more information." >&2
15699 { (exit 1); exit 1; }; } ;;
15701 - *) ac_config_targets="$ac_config_targets $1" ;;
15702 + *) ac_config_targets="$ac_config_targets $1"
15703 + ac_need_defaults=false ;;
15707 @@ -15072,42 +15375,54 @@ fi
15709 cat >>$CONFIG_STATUS <<_ACEOF
15710 if \$ac_cs_recheck; then
15711 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15712 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15713 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15714 + CONFIG_SHELL=$SHELL
15715 + export CONFIG_SHELL
15716 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15720 +cat >>$CONFIG_STATUS <<\_ACEOF
15721 +exec 5>>config.log
15724 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15725 +## Running $as_me. ##
15731 cat >>$CONFIG_STATUS <<_ACEOF
15733 -# INIT-COMMANDS section.
15737 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15744 cat >>$CONFIG_STATUS <<\_ACEOF
15746 +# Handling of arguments.
15747 for ac_config_target in $ac_config_targets
15749 - case "$ac_config_target" in
15750 - # Handling of arguments.
15751 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15752 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15753 - "bfd-in3.h" ) CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15754 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15755 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15756 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15757 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15758 + case $ac_config_target in
15759 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15760 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
15761 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15762 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15763 + "bfd-in3.h") CONFIG_FILES="$CONFIG_FILES bfd-in3.h:bfd-in2.h" ;;
15764 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
15765 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
15767 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15768 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15769 { (exit 1); exit 1; }; };;
15774 # If the user did not use the arguments to specify the items to instantiate,
15775 # then the envvar interface is used. Set only those that are not.
15776 # We use the long form for the default assignment because of an extremely
15777 @@ -15119,401 +15434,504 @@ if $ac_need_defaults; then
15780 # Have a temporary directory for convenience. Make it in the build tree
15781 -# simply because there is no reason to put it here, and in addition,
15782 +# simply because there is no reason against having it here, and in addition,
15783 # creating and moving files from /tmp can sometimes cause problems.
15784 -# Create a temporary directory, and hook for its removal unless debugging.
15785 +# Hook for its removal unless debugging.
15786 +# Note that there is a small window in which the directory will not be cleaned:
15787 +# after its creation but before its name has been assigned to `$tmp'.
15790 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15792 + trap 'exit_status=$?
15793 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15795 trap '{ (exit 1); exit 1; }' 1 2 13 15
15798 # Create a (secure) tmp directory for tmp files.
15801 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15802 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15803 test -n "$tmp" && test -d "$tmp"
15806 - tmp=./confstat$$-$RANDOM
15807 - (umask 077 && mkdir $tmp)
15808 + tmp=./conf$$-$RANDOM
15809 + (umask 077 && mkdir "$tmp")
15812 echo "$me: cannot create a temporary directory in ." >&2
15813 { (exit 1); exit 1; }
15818 -cat >>$CONFIG_STATUS <<_ACEOF
15821 -# CONFIG_FILES section.
15822 +# Set up the sed scripts for CONFIG_FILES section.
15825 # No need to generate the scripts if there are no CONFIG_FILES.
15826 # This happens for instance when ./config.status config.h
15827 -if test -n "\$CONFIG_FILES"; then
15828 - # Protect against being on the right side of a sed subst in config.status.
15829 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15830 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15831 -s,@SHELL@,$SHELL,;t t
15832 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15833 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15834 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15835 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15836 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15837 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15838 -s,@exec_prefix@,$exec_prefix,;t t
15839 -s,@prefix@,$prefix,;t t
15840 -s,@program_transform_name@,$program_transform_name,;t t
15841 -s,@bindir@,$bindir,;t t
15842 -s,@sbindir@,$sbindir,;t t
15843 -s,@libexecdir@,$libexecdir,;t t
15844 -s,@datadir@,$datadir,;t t
15845 -s,@sysconfdir@,$sysconfdir,;t t
15846 -s,@sharedstatedir@,$sharedstatedir,;t t
15847 -s,@localstatedir@,$localstatedir,;t t
15848 -s,@libdir@,$libdir,;t t
15849 -s,@includedir@,$includedir,;t t
15850 -s,@oldincludedir@,$oldincludedir,;t t
15851 -s,@infodir@,$infodir,;t t
15852 -s,@mandir@,$mandir,;t t
15853 -s,@build_alias@,$build_alias,;t t
15854 -s,@host_alias@,$host_alias,;t t
15855 -s,@target_alias@,$target_alias,;t t
15856 -s,@DEFS@,$DEFS,;t t
15857 -s,@ECHO_C@,$ECHO_C,;t t
15858 -s,@ECHO_N@,$ECHO_N,;t t
15859 -s,@ECHO_T@,$ECHO_T,;t t
15860 -s,@LIBS@,$LIBS,;t t
15861 -s,@build@,$build,;t t
15862 -s,@build_cpu@,$build_cpu,;t t
15863 -s,@build_vendor@,$build_vendor,;t t
15864 -s,@build_os@,$build_os,;t t
15865 -s,@host@,$host,;t t
15866 -s,@host_cpu@,$host_cpu,;t t
15867 -s,@host_vendor@,$host_vendor,;t t
15868 -s,@host_os@,$host_os,;t t
15869 -s,@target@,$target,;t t
15870 -s,@target_cpu@,$target_cpu,;t t
15871 -s,@target_vendor@,$target_vendor,;t t
15872 -s,@target_os@,$target_os,;t t
15874 -s,@CFLAGS@,$CFLAGS,;t t
15875 -s,@LDFLAGS@,$LDFLAGS,;t t
15876 -s,@CPPFLAGS@,$CPPFLAGS,;t t
15877 -s,@ac_ct_CC@,$ac_ct_CC,;t t
15878 -s,@EXEEXT@,$EXEEXT,;t t
15879 -s,@OBJEXT@,$OBJEXT,;t t
15880 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15881 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15882 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15883 -s,@CYGPATH_W@,$CYGPATH_W,;t t
15884 -s,@PACKAGE@,$PACKAGE,;t t
15885 -s,@VERSION@,$VERSION,;t t
15886 -s,@ACLOCAL@,$ACLOCAL,;t t
15887 -s,@AUTOCONF@,$AUTOCONF,;t t
15888 -s,@AUTOMAKE@,$AUTOMAKE,;t t
15889 -s,@AUTOHEADER@,$AUTOHEADER,;t t
15890 -s,@MAKEINFO@,$MAKEINFO,;t t
15891 -s,@install_sh@,$install_sh,;t t
15892 -s,@STRIP@,$STRIP,;t t
15893 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15894 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15895 -s,@mkdir_p@,$mkdir_p,;t t
15897 -s,@SET_MAKE@,$SET_MAKE,;t t
15898 -s,@am__leading_dot@,$am__leading_dot,;t t
15899 -s,@AMTAR@,$AMTAR,;t t
15900 -s,@am__tar@,$am__tar,;t t
15901 -s,@am__untar@,$am__untar,;t t
15902 -s,@DEPDIR@,$DEPDIR,;t t
15903 -s,@am__include@,$am__include,;t t
15904 -s,@am__quote@,$am__quote,;t t
15905 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15906 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15907 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15908 -s,@CCDEPMODE@,$CCDEPMODE,;t t
15909 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15910 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15912 -s,@ac_ct_AR@,$ac_ct_AR,;t t
15913 -s,@RANLIB@,$RANLIB,;t t
15914 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15915 -s,@LN_S@,$LN_S,;t t
15916 -s,@LIBTOOL@,$LIBTOOL,;t t
15917 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
15918 -s,@NO_WERROR@,$NO_WERROR,;t t
15919 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
15920 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
15921 -s,@MAINT@,$MAINT,;t t
15922 -s,@INSTALL_LIBBFD_TRUE@,$INSTALL_LIBBFD_TRUE,;t t
15923 -s,@INSTALL_LIBBFD_FALSE@,$INSTALL_LIBBFD_FALSE,;t t
15924 -s,@host_noncanonical@,$host_noncanonical,;t t
15925 -s,@target_noncanonical@,$target_noncanonical,;t t
15926 -s,@bfdlibdir@,$bfdlibdir,;t t
15927 -s,@bfdincludedir@,$bfdincludedir,;t t
15929 -s,@EGREP@,$EGREP,;t t
15930 -s,@ALLOCA@,$ALLOCA,;t t
15931 -s,@USE_NLS@,$USE_NLS,;t t
15932 -s,@MSGFMT@,$MSGFMT,;t t
15933 -s,@GMSGFMT@,$GMSGFMT,;t t
15934 -s,@XGETTEXT@,$XGETTEXT,;t t
15935 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15936 -s,@CATALOGS@,$CATALOGS,;t t
15937 -s,@CATOBJEXT@,$CATOBJEXT,;t t
15938 -s,@DATADIRNAME@,$DATADIRNAME,;t t
15939 -s,@GMOFILES@,$GMOFILES,;t t
15940 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15941 -s,@INTLDEPS@,$INTLDEPS,;t t
15942 -s,@INTLLIBS@,$INTLLIBS,;t t
15943 -s,@INTLOBJS@,$INTLOBJS,;t t
15944 -s,@POFILES@,$POFILES,;t t
15945 -s,@POSUB@,$POSUB,;t t
15946 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
15947 -s,@GT_NO@,$GT_NO,;t t
15948 -s,@GT_YES@,$GT_YES,;t t
15949 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15951 -s,@HDEFINES@,$HDEFINES,;t t
15952 -s,@BFD_HOST_64BIT_LONG@,$BFD_HOST_64BIT_LONG,;t t
15953 -s,@BFD_HOST_LONG_LONG@,$BFD_HOST_LONG_LONG,;t t
15954 -s,@BFD_HOST_64_BIT_DEFINED@,$BFD_HOST_64_BIT_DEFINED,;t t
15955 -s,@BFD_HOST_64_BIT@,$BFD_HOST_64_BIT,;t t
15956 -s,@BFD_HOST_U_64_BIT@,$BFD_HOST_U_64_BIT,;t t
15957 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
15958 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
15959 -s,@COREFILE@,$COREFILE,;t t
15960 -s,@COREFLAG@,$COREFLAG,;t t
15961 -s,@WIN32LDFLAGS@,$WIN32LDFLAGS,;t t
15962 -s,@WIN32LIBADD@,$WIN32LIBADD,;t t
15963 -s,@TDEFINES@,$TDEFINES,;t t
15964 -s,@wordsize@,$wordsize,;t t
15965 -s,@bfd_libs@,$bfd_libs,;t t
15966 -s,@all_backends@,$all_backends,;t t
15967 -s,@bfd_backends@,$bfd_backends,;t t
15968 -s,@bfd_machines@,$bfd_machines,;t t
15969 -s,@bfd_default_target_size@,$bfd_default_target_size,;t t
15970 -s,@bfd_file_ptr@,$bfd_file_ptr,;t t
15971 -s,@bfd_ufile_ptr@,$bfd_ufile_ptr,;t t
15972 -s,@tdefaults@,$tdefaults,;t t
15973 -s,@datarootdir@,$datarootdir,;t t
15974 -s,@docdir@,$docdir,;t t
15975 -s,@htmldir@,$htmldir,;t t
15976 -s,@LIBOBJS@,$LIBOBJS,;t t
15977 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15982 - cat >>$CONFIG_STATUS <<\_ACEOF
15983 - # Split the substitutions into bite-sized pieces for seds with
15984 - # small command number limits, like on Digital OSF/1 and HP-UX.
15985 - ac_max_sed_lines=48
15986 - ac_sed_frag=1 # Number of current file.
15987 - ac_beg=1 # First line for current file.
15988 - ac_end=$ac_max_sed_lines # Line after last line for current file.
15991 - while $ac_more_lines; do
15992 - if test $ac_beg -gt 1; then
15993 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15995 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15997 - if test ! -s $tmp/subs.frag; then
15998 - ac_more_lines=false
16000 - # The purpose of the label and of the branching condition is to
16001 - # speed up the sed processing (if there are no `@' at all, there
16002 - # is no need to browse any of the substitutions).
16003 - # These are the two extra sed commands mentioned above.
16005 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
16006 - if test -z "$ac_sed_cmds"; then
16007 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
16009 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16011 - ac_sed_frag=`expr $ac_sed_frag + 1`
16013 - ac_end=`expr $ac_end + $ac_max_sed_lines`
16016 - if test -z "$ac_sed_cmds"; then
16018 +if test -n "$CONFIG_FILES"; then
16025 +for ac_last_try in false false false false false :; do
16026 + cat >conf$$subs.sed <<_ACEOF
16027 +SHELL!$SHELL$ac_delim
16028 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
16029 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
16030 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
16031 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
16032 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
16033 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
16034 +exec_prefix!$exec_prefix$ac_delim
16035 +prefix!$prefix$ac_delim
16036 +program_transform_name!$program_transform_name$ac_delim
16037 +bindir!$bindir$ac_delim
16038 +sbindir!$sbindir$ac_delim
16039 +libexecdir!$libexecdir$ac_delim
16040 +datarootdir!$datarootdir$ac_delim
16041 +datadir!$datadir$ac_delim
16042 +sysconfdir!$sysconfdir$ac_delim
16043 +sharedstatedir!$sharedstatedir$ac_delim
16044 +localstatedir!$localstatedir$ac_delim
16045 +includedir!$includedir$ac_delim
16046 +oldincludedir!$oldincludedir$ac_delim
16047 +docdir!$docdir$ac_delim
16048 +infodir!$infodir$ac_delim
16049 +htmldir!$htmldir$ac_delim
16050 +dvidir!$dvidir$ac_delim
16051 +pdfdir!$pdfdir$ac_delim
16052 +psdir!$psdir$ac_delim
16053 +libdir!$libdir$ac_delim
16054 +localedir!$localedir$ac_delim
16055 +mandir!$mandir$ac_delim
16056 +DEFS!$DEFS$ac_delim
16057 +ECHO_C!$ECHO_C$ac_delim
16058 +ECHO_N!$ECHO_N$ac_delim
16059 +ECHO_T!$ECHO_T$ac_delim
16060 +LIBS!$LIBS$ac_delim
16061 +build_alias!$build_alias$ac_delim
16062 +host_alias!$host_alias$ac_delim
16063 +target_alias!$target_alias$ac_delim
16064 +build!$build$ac_delim
16065 +build_cpu!$build_cpu$ac_delim
16066 +build_vendor!$build_vendor$ac_delim
16067 +build_os!$build_os$ac_delim
16068 +host!$host$ac_delim
16069 +host_cpu!$host_cpu$ac_delim
16070 +host_vendor!$host_vendor$ac_delim
16071 +host_os!$host_os$ac_delim
16072 +target!$target$ac_delim
16073 +target_cpu!$target_cpu$ac_delim
16074 +target_vendor!$target_vendor$ac_delim
16075 +target_os!$target_os$ac_delim
16077 +CFLAGS!$CFLAGS$ac_delim
16078 +LDFLAGS!$LDFLAGS$ac_delim
16079 +CPPFLAGS!$CPPFLAGS$ac_delim
16080 +ac_ct_CC!$ac_ct_CC$ac_delim
16081 +EXEEXT!$EXEEXT$ac_delim
16082 +OBJEXT!$OBJEXT$ac_delim
16083 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
16084 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
16085 +INSTALL_DATA!$INSTALL_DATA$ac_delim
16086 +CYGPATH_W!$CYGPATH_W$ac_delim
16087 +PACKAGE!$PACKAGE$ac_delim
16088 +VERSION!$VERSION$ac_delim
16089 +ACLOCAL!$ACLOCAL$ac_delim
16090 +AUTOCONF!$AUTOCONF$ac_delim
16091 +AUTOMAKE!$AUTOMAKE$ac_delim
16092 +AUTOHEADER!$AUTOHEADER$ac_delim
16093 +MAKEINFO!$MAKEINFO$ac_delim
16094 +install_sh!$install_sh$ac_delim
16095 +STRIP!$STRIP$ac_delim
16096 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
16097 +mkdir_p!$mkdir_p$ac_delim
16099 +SET_MAKE!$SET_MAKE$ac_delim
16100 +am__leading_dot!$am__leading_dot$ac_delim
16101 +AMTAR!$AMTAR$ac_delim
16102 +am__tar!$am__tar$ac_delim
16103 +am__untar!$am__untar$ac_delim
16104 +DEPDIR!$DEPDIR$ac_delim
16105 +am__include!$am__include$ac_delim
16106 +am__quote!$am__quote$ac_delim
16107 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
16108 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
16109 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
16110 +CCDEPMODE!$CCDEPMODE$ac_delim
16111 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
16112 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
16114 +RANLIB!$RANLIB$ac_delim
16115 +LN_S!$LN_S$ac_delim
16116 +LIBTOOL!$LIBTOOL$ac_delim
16117 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
16118 +NO_WERROR!$NO_WERROR$ac_delim
16119 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
16120 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
16121 +MAINT!$MAINT$ac_delim
16122 +INSTALL_LIBBFD_TRUE!$INSTALL_LIBBFD_TRUE$ac_delim
16123 +INSTALL_LIBBFD_FALSE!$INSTALL_LIBBFD_FALSE$ac_delim
16126 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
16128 + elif $ac_last_try; then
16129 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16130 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16131 + { (exit 1); exit 1; }; }
16133 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16135 -fi # test -n "$CONFIG_FILES"
16138 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16139 +if test -n "$ac_eof"; then
16140 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16141 + ac_eof=`expr $ac_eof + 1`
16144 +cat >>$CONFIG_STATUS <<_ACEOF
16145 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
16146 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16149 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16150 +s/^/s,@/; s/!/@,|#_!!_#|/
16153 +s/'"$ac_delim"'$/,g/; t
16155 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16156 +' >>$CONFIG_STATUS <conf$$subs.sed
16157 +rm -f conf$$subs.sed
16158 +cat >>$CONFIG_STATUS <<_ACEOF
16164 +for ac_last_try in false false false false false :; do
16165 + cat >conf$$subs.sed <<_ACEOF
16166 +host_noncanonical!$host_noncanonical$ac_delim
16167 +target_noncanonical!$target_noncanonical$ac_delim
16168 +bfdlibdir!$bfdlibdir$ac_delim
16169 +bfdincludedir!$bfdincludedir$ac_delim
16171 +GREP!$GREP$ac_delim
16172 +EGREP!$EGREP$ac_delim
16173 +ALLOCA!$ALLOCA$ac_delim
16174 +USE_NLS!$USE_NLS$ac_delim
16175 +MSGFMT!$MSGFMT$ac_delim
16176 +GMSGFMT!$GMSGFMT$ac_delim
16177 +XGETTEXT!$XGETTEXT$ac_delim
16178 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
16179 +CATALOGS!$CATALOGS$ac_delim
16180 +CATOBJEXT!$CATOBJEXT$ac_delim
16181 +DATADIRNAME!$DATADIRNAME$ac_delim
16182 +GMOFILES!$GMOFILES$ac_delim
16183 +INSTOBJEXT!$INSTOBJEXT$ac_delim
16184 +INTLDEPS!$INTLDEPS$ac_delim
16185 +INTLLIBS!$INTLLIBS$ac_delim
16186 +INTLOBJS!$INTLOBJS$ac_delim
16187 +POFILES!$POFILES$ac_delim
16188 +POSUB!$POSUB$ac_delim
16189 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
16190 +GT_NO!$GT_NO$ac_delim
16191 +GT_YES!$GT_YES$ac_delim
16192 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
16194 +HDEFINES!$HDEFINES$ac_delim
16195 +BFD_HOST_64BIT_LONG!$BFD_HOST_64BIT_LONG$ac_delim
16196 +BFD_HOST_LONG_LONG!$BFD_HOST_LONG_LONG$ac_delim
16197 +BFD_HOST_64_BIT_DEFINED!$BFD_HOST_64_BIT_DEFINED$ac_delim
16198 +BFD_HOST_64_BIT!$BFD_HOST_64_BIT$ac_delim
16199 +BFD_HOST_U_64_BIT!$BFD_HOST_U_64_BIT$ac_delim
16200 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
16201 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
16202 +COREFILE!$COREFILE$ac_delim
16203 +COREFLAG!$COREFLAG$ac_delim
16204 +WIN32LDFLAGS!$WIN32LDFLAGS$ac_delim
16205 +WIN32LIBADD!$WIN32LIBADD$ac_delim
16206 +TDEFINES!$TDEFINES$ac_delim
16207 +wordsize!$wordsize$ac_delim
16208 +bfd_libs!$bfd_libs$ac_delim
16209 +all_backends!$all_backends$ac_delim
16210 +bfd_backends!$bfd_backends$ac_delim
16211 +bfd_machines!$bfd_machines$ac_delim
16212 +bfd_default_target_size!$bfd_default_target_size$ac_delim
16213 +bfd_file_ptr!$bfd_file_ptr$ac_delim
16214 +bfd_ufile_ptr!$bfd_ufile_ptr$ac_delim
16215 +tdefaults!$tdefaults$ac_delim
16216 +LIBOBJS!$LIBOBJS$ac_delim
16217 +LTLIBOBJS!$LTLIBOBJS$ac_delim
16220 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 52; then
16222 + elif $ac_last_try; then
16223 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
16224 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
16225 + { (exit 1); exit 1; }; }
16227 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16231 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
16232 +if test -n "$ac_eof"; then
16233 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
16234 + ac_eof=`expr $ac_eof + 1`
16237 +cat >>$CONFIG_STATUS <<_ACEOF
16238 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
16239 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
16242 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
16243 +s/^/s,@/; s/!/@,|#_!!_#|/
16246 +s/'"$ac_delim"'$/,g/; t
16248 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
16249 +' >>$CONFIG_STATUS <conf$$subs.sed
16250 +rm -f conf$$subs.sed
16251 +cat >>$CONFIG_STATUS <<_ACEOF
16258 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
16259 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16260 +# trailing colons and then remove the whole line if VPATH becomes empty
16261 +# (actually we leave an empty line to preserve line numbers).
16262 +if test "x$srcdir" = x.; then
16263 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
16264 +s/:*\$(srcdir):*/:/
16265 +s/:*\${srcdir}:*/:/
16267 +s/^\([^=]*=[ ]*\):*/\1/
16273 cat >>$CONFIG_STATUS <<\_ACEOF
16274 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
16275 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16277 - - | *:- | *:-:* ) # input from stdin
16279 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16280 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16281 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16282 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16283 - * ) ac_file_in=$ac_file.in ;;
16284 +fi # test -n "$CONFIG_FILES"
16287 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
16290 + :[FHLC]) ac_mode=$ac_tag; continue;;
16292 + case $ac_mode$ac_tag in
16294 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
16295 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
16296 + { (exit 1); exit 1; }; };;
16297 + :[FH]-) ac_tag=-:-;;
16298 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16309 + :L) ac_source=$1;;
16315 + -) ac_f="$tmp/stdin";;
16316 + *) # Look for the file first in the build tree, then in the source tree
16317 + # (if the path is not absolute). The absolute path cannot be DOS-style,
16318 + # because $ac_f cannot contain `:'.
16319 + test -f "$ac_f" ||
16322 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16324 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
16325 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
16326 + { (exit 1); exit 1; }; };;
16328 + ac_file_inputs="$ac_file_inputs $ac_f"
16331 + # Let's still pretend it is `configure' which instantiates (i.e., don't
16332 + # use $as_me), people would be surprised to read:
16333 + # /* config.h. Generated by config.status. */
16334 + configure_input="Generated from "`IFS=:
16335 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
16336 + if test x"$ac_file" != x-; then
16337 + configure_input="$ac_file. $configure_input"
16338 + { echo "$as_me:$LINENO: creating $ac_file" >&5
16339 +echo "$as_me: creating $ac_file" >&6;}
16343 + *:-:* | *:-) cat >"$tmp/stdin";;
16348 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16349 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16350 + ac_dir=`$as_dirname -- "$ac_file" ||
16351 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16352 X"$ac_file" : 'X\(//\)[^/]' \| \
16353 X"$ac_file" : 'X\(//\)$' \| \
16354 - X"$ac_file" : 'X\(/\)' \| \
16355 - . : '\(.\)' 2>/dev/null ||
16356 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16358 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16359 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16360 - /^X\(\/\/\)$/{ s//\1/; q; }
16361 - /^X\(\/\).*/{ s//\1/; q; }
16363 - { if $as_mkdir_p; then
16364 - mkdir -p "$ac_dir"
16367 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16371 + /^X\(\/\/\)[^/].*/{
16384 + { as_dir="$ac_dir"
16385 + case $as_dir in #(
16386 + -*) as_dir=./$as_dir;;
16388 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
16390 - while test ! -d "$as_dir"; do
16391 - as_dirs="$as_dir $as_dirs"
16392 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16394 + case $as_dir in #(
16395 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
16396 + *) as_qdir=$as_dir;;
16398 + as_dirs="'$as_qdir' $as_dirs"
16399 + as_dir=`$as_dirname -- "$as_dir" ||
16400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16401 X"$as_dir" : 'X\(//\)[^/]' \| \
16402 X"$as_dir" : 'X\(//\)$' \| \
16403 - X"$as_dir" : 'X\(/\)' \| \
16404 - . : '\(.\)' 2>/dev/null ||
16405 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16407 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16408 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16409 - /^X\(\/\/\)$/{ s//\1/; q; }
16410 - /^X\(\/\).*/{ s//\1/; q; }
16412 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16416 + /^X\(\/\/\)[^/].*/{
16429 + test -d "$as_dir" && break
16431 - test ! -n "$as_dirs" || mkdir $as_dirs
16432 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16433 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16434 + test -z "$as_dirs" || eval "mkdir $as_dirs"
16435 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
16436 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
16437 { (exit 1); exit 1; }; }; }
16441 -if test "$ac_dir" != .; then
16443 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16445 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16446 - # A "../" for each directory in $ac_dir_suffix.
16447 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16449 - ac_dir_suffix= ac_top_builddir=
16451 + # A ".." for each directory in $ac_dir_suffix.
16452 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
16453 + case $ac_top_builddir_sub in
16454 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16455 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16458 +ac_abs_top_builddir=$ac_pwd
16459 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
16460 +# for backward compatibility:
16461 +ac_top_builddir=$ac_top_build_prefix
16464 - .) # No --srcdir option. We are building in place.
16465 + .) # We are building in place.
16467 - if test -z "$ac_top_builddir"; then
16470 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
16472 - [\\/]* | ?:[\\/]* ) # Absolute path.
16473 + ac_top_srcdir=$ac_top_builddir_sub
16474 + ac_abs_top_srcdir=$ac_pwd ;;
16475 + [\\/]* | ?:[\\/]* ) # Absolute name.
16476 ac_srcdir=$srcdir$ac_dir_suffix;
16477 - ac_top_srcdir=$srcdir ;;
16478 - *) # Relative path.
16479 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
16480 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
16482 + ac_top_srcdir=$srcdir
16483 + ac_abs_top_srcdir=$srcdir ;;
16484 + *) # Relative name.
16485 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16486 + ac_top_srcdir=$ac_top_build_prefix$srcdir
16487 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16489 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16491 -# Do not use `cd foo && pwd` to compute absolute paths, because
16492 -# the directories may not exist.
16494 -.) ac_abs_builddir="$ac_dir";;
16496 - case "$ac_dir" in
16497 - .) ac_abs_builddir=`pwd`;;
16498 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
16499 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
16502 -case $ac_abs_builddir in
16503 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
16505 - case ${ac_top_builddir}. in
16506 - .) ac_abs_top_builddir=$ac_abs_builddir;;
16507 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
16508 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
16511 -case $ac_abs_builddir in
16512 -.) ac_abs_srcdir=$ac_srcdir;;
16514 - case $ac_srcdir in
16515 - .) ac_abs_srcdir=$ac_abs_builddir;;
16516 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
16517 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
16520 -case $ac_abs_builddir in
16521 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
16523 - case $ac_top_srcdir in
16524 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
16525 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
16526 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
16537 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16538 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
16539 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16543 - if test x"$ac_file" != x-; then
16544 - { echo "$as_me:$LINENO: creating $ac_file" >&5
16545 -echo "$as_me: creating $ac_file" >&6;}
16548 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16549 - # use $as_me), people would be surprised to read:
16550 - # /* config.h. Generated by config.status. */
16551 - if test x"$ac_file" = x-; then
16554 - configure_input="$ac_file. "
16556 - configure_input=$configure_input"Generated from `echo $ac_file_in |
16557 - sed 's,.*/,,'` by configure."
16559 - # First look for the input files in the build tree, otherwise in the
16561 - ac_file_inputs=`IFS=:
16562 - for f in $ac_file_in; do
16564 - -) echo $tmp/stdin ;;
16566 - # Absolute (can't be DOS-style, as IFS=:)
16567 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16568 -echo "$as_me: error: cannot find input file: $f" >&2;}
16569 - { (exit 1); exit 1; }; }
16572 - if test -f "$f"; then
16575 - elif test -f "$srcdir/$f"; then
16577 - echo "$srcdir/$f"
16580 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16581 -echo "$as_me: error: cannot find input file: $f" >&2;}
16582 - { (exit 1); exit 1; }; }
16585 - done` || { (exit 1); exit 1; }
16586 +cat >>$CONFIG_STATUS <<\_ACEOF
16587 +# If the template does not know about datarootdir, expand it.
16588 +# FIXME: This hack should be removed a few years after 2.60.
16589 +ac_datarootdir_hack=; ac_datarootdir_seen=
16591 +case `sed -n '/datarootdir/ {
16600 +' $ac_file_inputs` in
16601 +*datarootdir*) ac_datarootdir_seen=yes;;
16602 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16603 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16604 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16606 +cat >>$CONFIG_STATUS <<_ACEOF
16607 + ac_datarootdir_hack='
16608 + s&@datadir@&$datadir&g
16609 + s&@docdir@&$docdir&g
16610 + s&@infodir@&$infodir&g
16611 + s&@localedir@&$localedir&g
16612 + s&@mandir@&$mandir&g
16613 + s&\\\${datarootdir}&$datarootdir&g' ;;
16617 +# Neutralize VPATH when `$srcdir' = `.'.
16618 +# Shell code in configure.ac might set extrasub.
16619 +# FIXME: do we really want to maintain this feature?
16620 cat >>$CONFIG_STATUS <<_ACEOF
16623 @@ -15521,248 +15939,130 @@ _ACEOF
16624 cat >>$CONFIG_STATUS <<\_ACEOF
16626 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16627 -s,@configure_input@,$configure_input,;t t
16628 -s,@srcdir@,$ac_srcdir,;t t
16629 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
16630 -s,@top_srcdir@,$ac_top_srcdir,;t t
16631 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
16632 -s,@builddir@,$ac_builddir,;t t
16633 -s,@abs_builddir@,$ac_abs_builddir,;t t
16634 -s,@top_builddir@,$ac_top_builddir,;t t
16635 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
16636 -s,@INSTALL@,$ac_INSTALL,;t t
16637 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16639 - if test x"$ac_file" != x-; then
16640 - mv $tmp/out $ac_file
16648 -cat >>$CONFIG_STATUS <<\_ACEOF
16651 -# CONFIG_HEADER section.
16654 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
16655 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
16657 -# ac_d sets the value in "#define NAME VALUE" lines.
16658 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16659 -ac_dB='[ ].*$,\1#\2'
16662 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16663 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16664 -ac_uB='$,\1#\2define\3'
16667 +s&@configure_input@&$configure_input&;t t
16668 +s&@top_builddir@&$ac_top_builddir_sub&;t t
16669 +s&@srcdir@&$ac_srcdir&;t t
16670 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
16671 +s&@top_srcdir@&$ac_top_srcdir&;t t
16672 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16673 +s&@builddir@&$ac_builddir&;t t
16674 +s&@abs_builddir@&$ac_abs_builddir&;t t
16675 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16676 +s&@INSTALL@&$ac_INSTALL&;t t
16677 +$ac_datarootdir_hack
16678 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
16680 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16681 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16682 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16683 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16684 +which seems to be undefined. Please make sure it is defined." >&5
16685 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16686 +which seems to be undefined. Please make sure it is defined." >&2;}
16688 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
16689 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16690 + rm -f "$tmp/stdin"
16692 - - | *:- | *:-:* ) # input from stdin
16694 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16695 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16696 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
16697 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
16698 - * ) ac_file_in=$ac_file.in ;;
16699 + -) cat "$tmp/out"; rm -f "$tmp/out";;
16700 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
16709 +# Transform confdefs.h into a sed script `conftest.defines', that
16710 +# substitutes the proper values into config.h.in to produce config.h.
16711 +rm -f conftest.defines conftest.tail
16712 +# First, append a space to every undef/define line, to ease matching.
16713 +echo 's/$/ /' >conftest.defines
16714 +# Then, protect against being on the right side of a sed subst, or in
16715 +# an unquoted here document, in config.status. If some macros were
16716 +# called several times there might be several #defines for the same
16717 +# symbol, which is useless. But do not sort them, since the last
16718 +# AC_DEFINE must be honored.
16719 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16720 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
16721 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
16722 +# PARAMS is the parameter list in the macro definition--in most cases, it's
16723 +# just an empty string.
16724 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
16725 +ac_dB='\\)[ (].*,\\1define\\2'
16729 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
16730 -echo "$as_me: creating $ac_file" >&6;}
16732 - # First look for the input files in the build tree, otherwise in the
16734 - ac_file_inputs=`IFS=:
16735 - for f in $ac_file_in; do
16737 - -) echo $tmp/stdin ;;
16739 - # Absolute (can't be DOS-style, as IFS=:)
16740 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16741 -echo "$as_me: error: cannot find input file: $f" >&2;}
16742 - { (exit 1); exit 1; }; }
16743 - # Do quote $f, to prevent DOS paths from being IFS'd.
16746 - if test -f "$f"; then
16749 - elif test -f "$srcdir/$f"; then
16751 - echo "$srcdir/$f"
16754 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16755 -echo "$as_me: error: cannot find input file: $f" >&2;}
16756 - { (exit 1); exit 1; }; }
16759 - done` || { (exit 1); exit 1; }
16760 - # Remove the trailing spaces.
16761 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16765 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
16766 -# `conftest.undefs', that substitutes the proper values into
16767 -# config.h.in to produce config.h. The first handles `#define'
16768 -# templates, and the second `#undef' templates.
16769 -# And first: Protect against being on the right side of a sed subst in
16770 -# config.status. Protect against being in an unquoted here document
16771 -# in config.status.
16772 -rm -f conftest.defines conftest.undefs
16773 -# Using a here document instead of a string reduces the quoting nightmare.
16774 -# Putting comments in sed scripts is not portable.
16776 -# `end' is used to avoid that the second main sed command (meant for
16777 -# 0-ary CPP macros) applies to n-ary macro definitions.
16778 -# See the Autoconf documentation for `clear'.
16779 -cat >confdef2sed.sed <<\_ACEOF
16784 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16786 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16789 -# If some macros were called several times there might be several times
16790 -# the same #defines, which is useless. Nevertheless, we may not want to
16791 -# sort them, since we want the *last* AC-DEFINE to be honored.
16792 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16793 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16794 -rm -f confdef2sed.sed
16799 + s/^[ ]*#[ ]*define[ ][ ]*//
16804 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
16805 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
16806 + ' >>conftest.defines
16808 -# This sed command replaces #undef with comments. This is necessary, for
16809 +# Remove the space that was appended to ease matching.
16810 +# Then replace #undef with comments. This is necessary, for
16811 # example, in the case of _POSIX_SOURCE, which is predefined and required
16812 # on some systems where configure will not decide to define it.
16813 -cat >>conftest.undefs <<\_ACEOF
16814 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16815 +# (The regexp can be short, since the line contains either #define or #undef.)
16817 +s,^[ #]*u.*,/* & */,' >>conftest.defines
16819 +# Break up conftest.defines:
16820 +ac_max_sed_lines=50
16822 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
16823 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
16824 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
16826 +ac_in='$ac_file_inputs'
16827 +ac_out='"$tmp/out1"'
16828 +ac_nxt='"$tmp/out2"'
16832 + # Write a here document:
16833 + cat >>$CONFIG_STATUS <<_ACEOF
16834 + # First, check the format of the line:
16835 + cat >"\$tmp/defines.sed" <<\\CEOF
16836 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
16837 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
16842 -# Break up conftest.defines because some shells have a limit on the size
16843 -# of here documents, and old seds have small limits too (100 cmds).
16844 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16845 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16846 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16847 -echo ' :' >>$CONFIG_STATUS
16848 -rm -f conftest.tail
16849 -while grep . conftest.defines >/dev/null
16851 - # Write a limited-size here document to $tmp/defines.sed.
16852 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16853 - # Speed up: don't consider the non `#define' lines.
16854 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16855 - # Work around the forget-to-reset-the-flag bug.
16856 - echo 't clr' >>$CONFIG_STATUS
16857 - echo ': clr' >>$CONFIG_STATUS
16858 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
16859 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
16861 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
16863 - mv $tmp/out $tmp/in
16864 -' >>$CONFIG_STATUS
16865 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
16866 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
16867 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
16868 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
16869 + grep . conftest.tail >/dev/null || break
16870 rm -f conftest.defines
16871 mv conftest.tail conftest.defines
16873 -rm -f conftest.defines
16874 -echo ' fi # grep' >>$CONFIG_STATUS
16875 -echo >>$CONFIG_STATUS
16877 -# Break up conftest.undefs because some shells have a limit on the size
16878 -# of here documents, and old seds have small limits too (100 cmds).
16879 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16880 -rm -f conftest.tail
16881 -while grep . conftest.undefs >/dev/null
16883 - # Write a limited-size here document to $tmp/undefs.sed.
16884 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16885 - # Speed up: don't consider the non `#undef'
16886 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16887 - # Work around the forget-to-reset-the-flag bug.
16888 - echo 't clr' >>$CONFIG_STATUS
16889 - echo ': clr' >>$CONFIG_STATUS
16890 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16892 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16894 - mv $tmp/out $tmp/in
16895 -' >>$CONFIG_STATUS
16896 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16897 - rm -f conftest.undefs
16898 - mv conftest.tail conftest.undefs
16900 -rm -f conftest.undefs
16901 +rm -f conftest.defines conftest.tail
16903 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
16904 cat >>$CONFIG_STATUS <<\_ACEOF
16905 - # Let's still pretend it is `configure' which instantiates (i.e., don't
16906 - # use $as_me), people would be surprised to read:
16907 - # /* config.h. Generated by config.status. */
16908 - if test x"$ac_file" = x-; then
16909 - echo "/* Generated by configure. */" >$tmp/config.h
16911 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16913 - cat $tmp/in >>$tmp/config.h
16915 if test x"$ac_file" != x-; then
16916 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
16917 + echo "/* $configure_input */" >"$tmp/config.h"
16918 + cat "$ac_result" >>"$tmp/config.h"
16919 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
16920 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16921 echo "$as_me: $ac_file is unchanged" >&6;}
16923 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
16924 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16925 - X"$ac_file" : 'X\(//\)[^/]' \| \
16926 - X"$ac_file" : 'X\(//\)$' \| \
16927 - X"$ac_file" : 'X\(/\)' \| \
16928 - . : '\(.\)' 2>/dev/null ||
16929 -echo X"$ac_file" |
16930 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16931 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16932 - /^X\(\/\/\)$/{ s//\1/; q; }
16933 - /^X\(\/\).*/{ s//\1/; q; }
16935 - { if $as_mkdir_p; then
16936 - mkdir -p "$ac_dir"
16940 - while test ! -d "$as_dir"; do
16941 - as_dirs="$as_dir $as_dirs"
16942 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
16943 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16944 - X"$as_dir" : 'X\(//\)[^/]' \| \
16945 - X"$as_dir" : 'X\(//\)$' \| \
16946 - X"$as_dir" : 'X\(/\)' \| \
16947 - . : '\(.\)' 2>/dev/null ||
16949 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16950 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16951 - /^X\(\/\/\)$/{ s//\1/; q; }
16952 - /^X\(\/\).*/{ s//\1/; q; }
16955 - test ! -n "$as_dirs" || mkdir $as_dirs
16956 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16957 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16958 - { (exit 1); exit 1; }; }; }
16961 - mv $tmp/config.h $ac_file
16962 + mv "$tmp/config.h" $ac_file
16965 - cat $tmp/config.h
16966 - rm -f $tmp/config.h
16967 + echo "/* $configure_input */"
16970 + rm -f "$tmp/out12"
16971 # Compute $ac_file's index in $config_headers.
16973 for _am_header in $config_headers :; do
16974 @@ -15773,135 +16073,39 @@ for _am_header in $config_headers :; do
16975 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16978 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16979 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
16980 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16981 X$ac_file : 'X\(//\)[^/]' \| \
16982 X$ac_file : 'X\(//\)$' \| \
16983 - X$ac_file : 'X\(/\)' \| \
16984 - . : '\(.\)' 2>/dev/null ||
16985 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
16987 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16988 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16989 - /^X\(\/\/\)$/{ s//\1/; q; }
16990 - /^X\(\/\).*/{ s//\1/; q; }
16991 - s/.*/./; q'`/stamp-h$_am_stamp_count
16994 -cat >>$CONFIG_STATUS <<\_ACEOF
16997 -# CONFIG_COMMANDS section.
16999 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
17000 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
17001 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
17002 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
17003 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17004 - X"$ac_dest" : 'X\(//\)[^/]' \| \
17005 - X"$ac_dest" : 'X\(//\)$' \| \
17006 - X"$ac_dest" : 'X\(/\)' \| \
17007 - . : '\(.\)' 2>/dev/null ||
17008 -echo X"$ac_dest" |
17009 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17010 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17011 - /^X\(\/\/\)$/{ s//\1/; q; }
17012 - /^X\(\/\).*/{ s//\1/; q; }
17014 - { if $as_mkdir_p; then
17015 - mkdir -p "$ac_dir"
17019 - while test ! -d "$as_dir"; do
17020 - as_dirs="$as_dir $as_dirs"
17021 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17022 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17023 - X"$as_dir" : 'X\(//\)[^/]' \| \
17024 - X"$as_dir" : 'X\(//\)$' \| \
17025 - X"$as_dir" : 'X\(/\)' \| \
17026 - . : '\(.\)' 2>/dev/null ||
17028 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17029 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17030 - /^X\(\/\/\)$/{ s//\1/; q; }
17031 - /^X\(\/\).*/{ s//\1/; q; }
17034 - test ! -n "$as_dirs" || mkdir $as_dirs
17035 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
17036 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
17037 - { (exit 1); exit 1; }; }; }
17041 -if test "$ac_dir" != .; then
17042 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17043 - # A "../" for each directory in $ac_dir_suffix.
17044 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17046 - ac_dir_suffix= ac_top_builddir=
17050 - .) # No --srcdir option. We are building in place.
17052 - if test -z "$ac_top_builddir"; then
17055 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
17057 - [\\/]* | ?:[\\/]* ) # Absolute path.
17058 - ac_srcdir=$srcdir$ac_dir_suffix;
17059 - ac_top_srcdir=$srcdir ;;
17060 - *) # Relative path.
17061 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17062 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
17064 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17068 + /^X\(\/\/\)[^/].*/{
17080 + s/.*/./; q'`/stamp-h$_am_stamp_count
17083 -# Do not use `cd foo && pwd` to compute absolute paths, because
17084 -# the directories may not exist.
17086 -.) ac_abs_builddir="$ac_dir";;
17088 - case "$ac_dir" in
17089 - .) ac_abs_builddir=`pwd`;;
17090 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
17091 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
17094 -case $ac_abs_builddir in
17095 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
17097 - case ${ac_top_builddir}. in
17098 - .) ac_abs_top_builddir=$ac_abs_builddir;;
17099 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
17100 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
17103 -case $ac_abs_builddir in
17104 -.) ac_abs_srcdir=$ac_srcdir;;
17106 - case $ac_srcdir in
17107 - .) ac_abs_srcdir=$ac_abs_builddir;;
17108 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
17109 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
17112 -case $ac_abs_builddir in
17113 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
17115 - case $ac_top_srcdir in
17116 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
17117 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
17118 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
17121 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
17122 +echo "$as_me: executing $ac_file commands" >&6;}
17127 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
17128 -echo "$as_me: executing $ac_dest commands" >&6;}
17130 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17131 + case $ac_file$ac_mode in
17132 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
17133 # Strip MF so we end up with the name of the file.
17134 mf=`echo "$mf" | sed -e 's/:.*$//'`
17135 # Check whether this is an Automake generated Makefile or not.
17136 @@ -15911,18 +16115,29 @@ echo "$as_me: executing $ac_dest command
17137 # each Makefile.in and add a new line on top of each file to say so.
17138 # So let's grep whole file.
17139 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
17140 - dirpart=`(dirname "$mf") 2>/dev/null ||
17141 + dirpart=`$as_dirname -- "$mf" ||
17142 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17143 X"$mf" : 'X\(//\)[^/]' \| \
17144 X"$mf" : 'X\(//\)$' \| \
17145 - X"$mf" : 'X\(/\)' \| \
17146 - . : '\(.\)' 2>/dev/null ||
17147 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17149 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17150 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17151 - /^X\(\/\/\)$/{ s//\1/; q; }
17152 - /^X\(\/\).*/{ s//\1/; q; }
17154 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17158 + /^X\(\/\/\)[^/].*/{
17174 @@ -15944,54 +16159,80 @@ echo X"$mf" |
17175 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17176 # Make sure the directory exists.
17177 test -f "$dirpart/$file" && continue
17178 - fdir=`(dirname "$file") 2>/dev/null ||
17179 + fdir=`$as_dirname -- "$file" ||
17180 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17181 X"$file" : 'X\(//\)[^/]' \| \
17182 X"$file" : 'X\(//\)$' \| \
17183 - X"$file" : 'X\(/\)' \| \
17184 - . : '\(.\)' 2>/dev/null ||
17185 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17187 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17188 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17189 - /^X\(\/\/\)$/{ s//\1/; q; }
17190 - /^X\(\/\).*/{ s//\1/; q; }
17192 - { if $as_mkdir_p; then
17193 - mkdir -p $dirpart/$fdir
17195 - as_dir=$dirpart/$fdir
17196 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17200 + /^X\(\/\/\)[^/].*/{
17213 + { as_dir=$dirpart/$fdir
17214 + case $as_dir in #(
17215 + -*) as_dir=./$as_dir;;
17217 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
17219 - while test ! -d "$as_dir"; do
17220 - as_dirs="$as_dir $as_dirs"
17221 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
17223 + case $as_dir in #(
17224 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
17225 + *) as_qdir=$as_dir;;
17227 + as_dirs="'$as_qdir' $as_dirs"
17228 + as_dir=`$as_dirname -- "$as_dir" ||
17229 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17230 X"$as_dir" : 'X\(//\)[^/]' \| \
17231 X"$as_dir" : 'X\(//\)$' \| \
17232 - X"$as_dir" : 'X\(/\)' \| \
17233 - . : '\(.\)' 2>/dev/null ||
17234 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17236 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17237 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17238 - /^X\(\/\/\)$/{ s//\1/; q; }
17239 - /^X\(\/\).*/{ s//\1/; q; }
17241 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17245 + /^X\(\/\/\)[^/].*/{
17258 + test -d "$as_dir" && break
17260 - test ! -n "$as_dirs" || mkdir $as_dirs
17261 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
17262 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
17263 + test -z "$as_dirs" || eval "mkdir $as_dirs"
17264 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17265 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
17266 { (exit 1); exit 1; }; }; }
17268 # echo "creating $dirpart/$file"
17269 echo '# dummy' > "$dirpart/$file"
17273 - default ) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17274 + "default":C) sed -e '/SRC-POTFILES =/r po/SRC-POTFILES' -e '/BLD-POTFILES =/r po/BLD-POTFILES' po/Makefile.in > po/Makefile ;;
17281 -cat >>$CONFIG_STATUS <<\_ACEOF
17283 { (exit 0); exit 0; }
17285 diff -Nrup binutils-2.17/bfd/cpu-avr32.c binutils-2.17.atmel.1.3.0/bfd/cpu-avr32.c
17286 --- binutils-2.17/bfd/cpu-avr32.c 1970-01-01 01:00:00.000000000 +0100
17287 +++ binutils-2.17.atmel.1.3.0/bfd/cpu-avr32.c 2007-05-31 17:03:36.000000000 +0200
17289 +/* BFD library support routines for AVR32.
17290 + Copyright 2003-2006 Atmel Corporation.
17292 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17294 + This is part of BFD, the Binary File Descriptor library.
17296 + This program is free software; you can redistribute it and/or modify
17297 + it under the terms of the GNU General Public License as published by
17298 + the Free Software Foundation; either version 2 of the License, or
17299 + (at your option) any later version.
17301 + This program is distributed in the hope that it will be useful,
17302 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17303 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17304 + GNU General Public License for more details.
17306 + You should have received a copy of the GNU General Public License
17307 + along with this program; if not, write to the Free Software
17308 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17311 +#include "sysdep.h"
17312 +#include "libbfd.h"
17314 +#define N(machine, print, default, next) \
17316 + 32, /* 32 bits in a word */ \
17317 + 32, /* 32 bits in an address */ \
17318 + 8, /* 8 bits in a byte */ \
17319 + bfd_arch_avr32, /* architecture */ \
17320 + machine, /* machine */ \
17321 + "avr32", /* arch name */ \
17322 + print, /* printable name */ \
17323 + 1, /* section align power */ \
17324 + default, /* the default machine? */ \
17325 + bfd_default_compatible, \
17326 + bfd_default_scan, \
17330 +static const bfd_arch_info_type cpu_info[] =
17332 + N(bfd_mach_avr32_ap, "avr32:ap", FALSE, &cpu_info[1]),
17333 + N(bfd_mach_avr32_uc, "avr32:uc", FALSE, NULL),
17336 +const bfd_arch_info_type bfd_avr32_arch =
17337 + N(bfd_mach_avr32_ap, "avr32", TRUE, &cpu_info[0]);
17338 diff -Nrup binutils-2.17/bfd/doc/bfd.info binutils-2.17.atmel.1.3.0/bfd/doc/bfd.info
17339 --- binutils-2.17/bfd/doc/bfd.info 2006-06-12 15:37:32.000000000 +0200
17340 +++ binutils-2.17.atmel.1.3.0/bfd/doc/bfd.info 2007-03-26 10:34:02.000000000 +0200
17342 -This is ../.././bfd/doc/bfd.info, produced by makeinfo version 4.8 from
17343 -../.././bfd/doc/bfd.texinfo.
17345 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/bfd/doc/bfd.info,
17346 +produced by makeinfo version 4.8 from
17347 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/bfd/doc/bfd.texinfo.
17349 START-INFO-DIR-ENTRY
17350 * Bfd: (bfd). The Binary File Descriptor library.
17351 @@ -10239,67 +10241,67 @@ Index
17356 -Node: Overview
\7f1056
17357 -Node: History
\7f2107
17358 -Node: How It Works
\7f3053
17359 -Node: What BFD Version 2 Can Do
\7f4595
17360 -Node: BFD information loss
\7f5910
17361 -Node: Canonical format
\7f8442
17362 -Node: BFD front end
\7f12814
17363 -Node: Memory Usage
\7f38428
17364 -Node: Initialization
\7f39656
17365 -Node: Sections
\7f40115
17366 -Node: Section Input
\7f40598
17367 -Node: Section Output
\7f41963
17368 -Node: typedef asection
\7f44449
17369 -Node: section prototypes
\7f69406
17370 -Node: Symbols
\7f79086
17371 -Node: Reading Symbols
\7f80681
17372 -Node: Writing Symbols
\7f81788
17373 -Node: Mini Symbols
\7f83497
17374 -Node: typedef asymbol
\7f84471
17375 -Node: symbol handling functions
\7f89389
17376 -Node: Archives
\7f94731
17377 -Node: Formats
\7f98457
17378 -Node: Relocations
\7f101405
17379 -Node: typedef arelent
\7f102132
17380 -Node: howto manager
\7f117943
17381 -Node: Core Files
\7f180223
17382 -Node: Targets
\7f182040
17383 -Node: bfd_target
\7f184010
17384 -Node: Architectures
\7f204090
17385 -Node: Opening and Closing
\7f225522
17386 -Node: Internal
\7f236524
17387 -Node: File Caching
\7f242857
17388 -Node: Linker Functions
\7f244771
17389 -Node: Creating a Linker Hash Table
\7f246444
17390 -Node: Adding Symbols to the Hash Table
\7f248182
17391 -Node: Differing file formats
\7f249082
17392 -Node: Adding symbols from an object file
\7f250830
17393 -Node: Adding symbols from an archive
\7f252981
17394 -Node: Performing the Final Link
\7f255395
17395 -Node: Information provided by the linker
\7f256637
17396 -Node: Relocating the section contents
\7f257791
17397 -Node: Writing the symbol table
\7f259542
17398 -Node: Hash Tables
\7f262535
17399 -Node: Creating and Freeing a Hash Table
\7f263733
17400 -Node: Looking Up or Entering a String
\7f264983
17401 -Node: Traversing a Hash Table
\7f266236
17402 -Node: Deriving a New Hash Table Type
\7f267025
17403 -Node: Define the Derived Structures
\7f268091
17404 -Node: Write the Derived Creation Routine
\7f269172
17405 -Node: Write Other Derived Routines
\7f271796
17406 -Node: BFD back ends
\7f273111
17407 -Node: What to Put Where
\7f273381
17408 -Node: aout
\7f273519
17409 -Node: coff
\7f279837
17410 -Node: elf
\7f304314
17411 -Node: mmo
\7f305177
17412 -Node: File layout
\7f306105
17413 -Node: Symbol-table
\7f311752
17414 -Node: mmo section mapping
\7f315521
17415 -Node: GNU Free Documentation License
\7f319173
17416 -Node: Index
\7f338898
17418 +Node: Overview
\7f1190
17419 +Node: History
\7f2241
17420 +Node: How It Works
\7f3187
17421 +Node: What BFD Version 2 Can Do
\7f4729
17422 +Node: BFD information loss
\7f6044
17423 +Node: Canonical format
\7f8576
17424 +Node: BFD front end
\7f12948
17425 +Node: Memory Usage
\7f38562
17426 +Node: Initialization
\7f39790
17427 +Node: Sections
\7f40249
17428 +Node: Section Input
\7f40732
17429 +Node: Section Output
\7f42097
17430 +Node: typedef asection
\7f44583
17431 +Node: section prototypes
\7f69540
17432 +Node: Symbols
\7f79220
17433 +Node: Reading Symbols
\7f80815
17434 +Node: Writing Symbols
\7f81922
17435 +Node: Mini Symbols
\7f83631
17436 +Node: typedef asymbol
\7f84605
17437 +Node: symbol handling functions
\7f89523
17438 +Node: Archives
\7f94865
17439 +Node: Formats
\7f98591
17440 +Node: Relocations
\7f101539
17441 +Node: typedef arelent
\7f102266
17442 +Node: howto manager
\7f118077
17443 +Node: Core Files
\7f180357
17444 +Node: Targets
\7f182174
17445 +Node: bfd_target
\7f184144
17446 +Node: Architectures
\7f204224
17447 +Node: Opening and Closing
\7f225656
17448 +Node: Internal
\7f236658
17449 +Node: File Caching
\7f242991
17450 +Node: Linker Functions
\7f244905
17451 +Node: Creating a Linker Hash Table
\7f246578
17452 +Node: Adding Symbols to the Hash Table
\7f248316
17453 +Node: Differing file formats
\7f249216
17454 +Node: Adding symbols from an object file
\7f250964
17455 +Node: Adding symbols from an archive
\7f253115
17456 +Node: Performing the Final Link
\7f255529
17457 +Node: Information provided by the linker
\7f256771
17458 +Node: Relocating the section contents
\7f257925
17459 +Node: Writing the symbol table
\7f259676
17460 +Node: Hash Tables
\7f262669
17461 +Node: Creating and Freeing a Hash Table
\7f263867
17462 +Node: Looking Up or Entering a String
\7f265117
17463 +Node: Traversing a Hash Table
\7f266370
17464 +Node: Deriving a New Hash Table Type
\7f267159
17465 +Node: Define the Derived Structures
\7f268225
17466 +Node: Write the Derived Creation Routine
\7f269306
17467 +Node: Write Other Derived Routines
\7f271930
17468 +Node: BFD back ends
\7f273245
17469 +Node: What to Put Where
\7f273515
17470 +Node: aout
\7f273653
17471 +Node: coff
\7f279971
17472 +Node: elf
\7f304448
17473 +Node: mmo
\7f305311
17474 +Node: File layout
\7f306239
17475 +Node: Symbol-table
\7f311886
17476 +Node: mmo section mapping
\7f315655
17477 +Node: GNU Free Documentation License
\7f319307
17478 +Node: Index
\7f339032
17481 diff -Nrup binutils-2.17/bfd/doc/Makefile.in binutils-2.17.atmel.1.3.0/bfd/doc/Makefile.in
17482 --- binutils-2.17/bfd/doc/Makefile.in 2006-04-06 23:49:26.000000000 +0200
17483 +++ binutils-2.17.atmel.1.3.0/bfd/doc/Makefile.in 2007-03-26 10:30:55.000000000 +0200
17485 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
17486 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
17487 # @configure_input@
17489 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
17490 @@ -105,6 +105,7 @@ EXEEXT = @EXEEXT@
17491 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
17492 GMOFILES = @GMOFILES@
17493 GMSGFMT = @GMSGFMT@
17497 HDEFINES = @HDEFINES@
17498 @@ -154,10 +155,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
17499 WIN32LDFLAGS = @WIN32LDFLAGS@
17500 WIN32LIBADD = @WIN32LIBADD@
17501 XGETTEXT = @XGETTEXT@
17502 -ac_ct_AR = @ac_ct_AR@
17503 ac_ct_CC = @ac_ct_CC@
17504 -ac_ct_RANLIB = @ac_ct_RANLIB@
17505 -ac_ct_STRIP = @ac_ct_STRIP@
17506 all_backends = @all_backends@
17507 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
17508 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
17509 @@ -183,6 +181,7 @@ build_vendor = @build_vendor@
17510 datadir = @datadir@
17511 datarootdir = @datarootdir@
17514 exec_prefix = @exec_prefix@
17516 host_alias = @host_alias@
17517 @@ -197,12 +196,15 @@ install_sh = @install_sh@
17520 libexecdir = @libexecdir@
17521 +localedir = @localedir@
17522 localstatedir = @localstatedir@
17524 mkdir_p = @mkdir_p@
17525 oldincludedir = @oldincludedir@
17528 program_transform_name = @program_transform_name@
17530 sbindir = @sbindir@
17531 sharedstatedir = @sharedstatedir@
17532 sysconfdir = @sysconfdir@
17533 @@ -364,9 +366,11 @@ distclean-libtool:
17534 restore=: && backupdir="$(am__leading_dot)am$$$$" && \
17535 am__cwd=`pwd` && cd $(srcdir) && \
17536 rm -rf $$backupdir && mkdir $$backupdir && \
17537 - for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17538 - if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17540 + if ($(MAKEINFO) --version) >/dev/null 2>&1; then \
17541 + for f in $@ $@-[0-9] $@-[0-9][0-9] $(@:.info=).i[0-9] $(@:.info=).i[0-9][0-9]; do \
17542 + if test -f $$f; then mv $$f $$backupdir; restore=mv; else :; fi; \
17546 if $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir) \
17548 @@ -408,6 +412,7 @@ bfd.dvi: bfd.texinfo
17549 bfd.pdf: bfd.texinfo
17550 bfd.html: bfd.texinfo
17552 + TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
17556 @@ -440,10 +445,13 @@ dist-info: $(INFO_DEPS)
17557 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
17559 if test -f $$base; then d=.; else d=$(srcdir); fi; \
17560 - for file in $$d/$$base*; do \
17561 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17562 - test -f $(distdir)/$$relfile || \
17563 - cp -p $$file $(distdir)/$$relfile; \
17564 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
17565 + 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 \
17566 + if test -f $$file; then \
17567 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
17568 + test -f $(distdir)/$$relfile || \
17569 + cp -p $$file $(distdir)/$$relfile; \
17574 diff -Nrup binutils-2.17/bfd/elf32-avr32.c binutils-2.17.atmel.1.3.0/bfd/elf32-avr32.c
17575 --- binutils-2.17/bfd/elf32-avr32.c 1970-01-01 01:00:00.000000000 +0100
17576 +++ binutils-2.17.atmel.1.3.0/bfd/elf32-avr32.c 2007-09-28 10:30:44.000000000 +0200
17578 +/* AVR32-specific support for 32-bit ELF.
17579 + Copyright 2003-2006 Atmel Corporation.
17581 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
17583 + This file is part of BFD, the Binary File Descriptor library.
17585 + This program is free software; you can redistribute it and/or modify
17586 + it under the terms of the GNU General Public License as published by
17587 + the Free Software Foundation; either version 2 of the License, or
17588 + (at your option) any later version.
17590 + This program is distributed in the hope that it will be useful,
17591 + but WITHOUT ANY WARRANTY; without even the implied warranty of
17592 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17593 + GNU General Public License for more details.
17595 + You should have received a copy of the GNU General Public License
17596 + along with this program; if not, write to the Free Software
17597 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
17600 +#include "sysdep.h"
17601 +#include "bfdlink.h"
17602 +#include "libbfd.h"
17603 +#include "elf-bfd.h"
17604 +#include "elf/avr32.h"
17605 +#include "elf32-avr32.h"
17608 +#define xRELAX_DEBUG
17611 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
17613 +# define pr_debug(fmt, args...) do { } while (0)
17616 +#ifdef RELAX_DEBUG
17617 +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
17619 +# define RDBG(fmt, args...) do { } while (0)
17622 +/* When things go wrong, we want it to blow up, damnit! */
17625 +#define BFD_ASSERT(expr) \
17630 + bfd_assert(__FILE__, __LINE__); \
17636 +/* The name of the dynamic interpreter. This is put in the .interp section. */
17637 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
17639 +#define AVR32_GOT_HEADER_SIZE 8
17640 +#define AVR32_FUNCTION_STUB_SIZE 8
17642 +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
17643 +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
17644 +#define ELF_R_SYM(x) ELF32_R_SYM(x)
17646 +#define NOP_OPCODE 0xd703
17649 +/* Mapping between BFD relocations and ELF relocations */
17651 +static reloc_howto_type *
17652 +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
17654 +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
17656 +/* Generic HOWTO */
17657 +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
17658 + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
17659 + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
17660 + FALSE, 0, mask, pcrel)
17662 +static reloc_howto_type elf_avr32_howto_table[] = {
17663 + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
17664 + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
17666 + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17667 + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
17668 + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
17669 + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
17670 + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
17671 + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
17673 + /* Difference between two symbol (sym2 - sym1). The reloc encodes
17674 + the value of sym1. The field contains the difference before any
17675 + relaxing is done. */
17676 + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17677 + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17678 + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17680 + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17681 + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
17682 + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
17684 + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17685 + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
17686 + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17687 + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
17688 + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
17690 + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
17691 + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17692 + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17693 + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17694 + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
17695 + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
17696 + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
17697 + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
17698 + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17700 + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
17701 + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
17703 + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17704 + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17705 + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17706 + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
17707 + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
17708 + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
17709 + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
17711 + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17712 + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
17713 + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
17714 + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
17716 + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
17717 + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17718 + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
17720 + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
17723 +struct elf_reloc_map
17725 + bfd_reloc_code_real_type bfd_reloc_val;
17726 + unsigned char elf_reloc_val;
17729 +static const struct elf_reloc_map avr32_reloc_map[] =
17731 + { BFD_RELOC_NONE, R_AVR32_NONE },
17733 + { BFD_RELOC_32, R_AVR32_32 },
17734 + { BFD_RELOC_16, R_AVR32_16 },
17735 + { BFD_RELOC_8, R_AVR32_8 },
17736 + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
17737 + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
17738 + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
17739 + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
17740 + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
17741 + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
17742 + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
17743 + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
17744 + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
17746 + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
17747 + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
17748 + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
17749 + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
17750 + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
17751 + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
17753 + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
17754 + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
17755 + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
17756 + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
17757 + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
17758 + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
17759 + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
17760 + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
17762 + { BFD_RELOC_HI16, R_AVR32_HI16 },
17763 + { BFD_RELOC_LO16, R_AVR32_LO16 },
17765 + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
17766 + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
17767 + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
17768 + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
17769 + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
17770 + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
17771 + /* GOT7UW should never be generated by the assembler */
17773 + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
17774 + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
17775 + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
17776 + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
17778 + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
17781 +static reloc_howto_type *
17782 +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
17783 + bfd_reloc_code_real_type code)
17787 + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
17789 + if (avr32_reloc_map[i].bfd_reloc_val == code)
17790 + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
17797 +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
17798 + arelent *cache_ptr,
17799 + Elf_Internal_Rela *dst)
17801 + unsigned int r_type;
17803 + r_type = ELF32_R_TYPE (dst->r_info);
17804 + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
17805 + cache_ptr->howto = &elf_avr32_howto_table[r_type];
17809 +/* AVR32 ELF linker hash table and associated hash entries. */
17811 +static struct bfd_hash_entry *
17812 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17813 + struct bfd_hash_table *table,
17814 + const char *string);
17816 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17817 + struct elf_link_hash_entry *dir,
17818 + struct elf_link_hash_entry *ind);
17819 +static struct bfd_link_hash_table *
17820 +avr32_elf_link_hash_table_create(bfd *abfd);
17823 + Try to limit memory usage to something reasonable when sorting the
17824 + GOT. If we ever get more than this many references to the same
17825 + symbol, we may need to do something special.
17827 +#define MAX_NR_GOT_HOLES 8192
17830 + AVR32 GOT entry. We need to keep track of refcounts and offsets
17831 + simultaneously, since we need the offsets during relaxation, and we
17832 + also want to be able to drop GOT entries during relaxation. In
17833 + addition to this, we want to keep the list of GOT entries sorted so
17834 + that we can keep the most-used entries at the lowest offsets.
17838 + struct got_entry *next;
17839 + struct got_entry **pprev;
17841 + bfd_signed_vma offset;
17844 +struct elf_avr32_link_hash_entry
17846 + struct elf_link_hash_entry root;
17848 + /* Number of runtime relocations against this symbol. */
17849 + unsigned int possibly_dynamic_relocs;
17851 + /* If there are anything but R_AVR32_GOT18 relocations against this
17852 + symbol, it means that someone may be taking the address of the
17853 + function, and we should therefore not create a stub. */
17854 + bfd_boolean no_fn_stub;
17856 + /* If there is a R_AVR32_32 relocation in a read-only section
17857 + against this symbol, we could be in trouble. If we're linking a
17858 + shared library or this symbol is defined in one, it means we must
17859 + emit a run-time reloc for it and that's not allowed in read-only
17861 + asection *readonly_reloc_sec;
17862 + bfd_vma readonly_reloc_offset;
17864 + /* Record which frag (if any) contains the symbol. This is used
17865 + during relaxation in order to avoid having to update all symbols
17866 + whenever we move something. For local symbols, this information
17867 + is in the local_sym_frag member of struct elf_obj_tdata. */
17868 + struct fragment *sym_frag;
17870 +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
17872 +struct elf_avr32_link_hash_table
17874 + struct elf_link_hash_table root;
17876 + /* Shortcuts to get to dynamic linker sections. */
17878 + asection *srelgot;
17881 + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
17882 + initial refcounts have been determined, we initialize
17883 + nr_got_holes to the highest refcount ever seen and allocate an
17884 + array of nr_got_holes entries for got_hole. Each GOT entry is
17885 + then stored in this array at the index given by its refcount.
17887 + When a GOT entry has its refcount decremented during relaxation,
17888 + it is moved to a lower index in the got_hole array.
17890 + struct got_entry **got_hole;
17891 + int nr_got_holes;
17893 + /* Dynamic relocations to local symbols. Only used when linking a
17894 + shared library and -Bsymbolic is not given. */
17895 + unsigned int local_dynamic_relocs;
17897 + bfd_boolean relocations_analyzed;
17898 + bfd_boolean symbols_adjusted;
17899 + bfd_boolean repeat_pass;
17900 + bfd_boolean direct_data_refs;
17901 + unsigned int relax_iteration;
17902 + unsigned int relax_pass;
17904 +#define avr32_elf_hash_table(p) \
17905 + ((struct elf_avr32_link_hash_table *)((p)->hash))
17907 +static struct bfd_hash_entry *
17908 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
17909 + struct bfd_hash_table *table,
17910 + const char *string)
17912 + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
17914 + /* Allocate the structure if it hasn't already been allocated by a
17917 + ret = (struct elf_avr32_link_hash_entry *)
17918 + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
17923 + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
17925 + /* Give the superclass a chance */
17926 + ret = (struct elf_avr32_link_hash_entry *)
17927 + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
17929 + return (struct bfd_hash_entry *)ret;
17932 +/* Copy data from an indirect symbol to its direct symbol, hiding the
17933 + old indirect symbol. Process additional relocation information.
17934 + Also called for weakdefs, in which case we just let
17935 + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
17938 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
17939 + struct elf_link_hash_entry *dir,
17940 + struct elf_link_hash_entry *ind)
17942 + struct elf_avr32_link_hash_entry *edir, *eind;
17944 + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
17946 + if (ind->root.type != bfd_link_hash_indirect)
17949 + edir = (struct elf_avr32_link_hash_entry *)dir;
17950 + eind = (struct elf_avr32_link_hash_entry *)ind;
17952 + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
17953 + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
17956 +static struct bfd_link_hash_table *
17957 +avr32_elf_link_hash_table_create(bfd *abfd)
17959 + struct elf_avr32_link_hash_table *ret;
17961 + ret = bfd_zmalloc(sizeof(*ret));
17965 + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
17966 + avr32_elf_link_hash_newfunc,
17967 + sizeof (struct elf_avr32_link_hash_entry)))
17973 + /* Prevent the BFD core from creating bogus got_entry pointers */
17974 + ret->root.init_got_refcount.glist = NULL;
17975 + ret->root.init_plt_refcount.glist = NULL;
17976 + ret->root.init_got_offset.glist = NULL;
17977 + ret->root.init_plt_offset.glist = NULL;
17979 + return &ret->root.root;
17983 +/* Initial analysis and creation of dynamic sections and symbols */
17986 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
17987 + unsigned int align_power);
17988 +static struct elf_link_hash_entry *
17989 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
17990 + const char *name, asection *sec,
17992 +static bfd_boolean
17993 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
17994 +static bfd_boolean
17995 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
17996 +static bfd_boolean
17997 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
17998 + const Elf_Internal_Rela *relocs);
17999 +static bfd_boolean
18000 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
18001 + struct elf_link_hash_entry *h);
18004 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
18005 + unsigned int align_power)
18009 + sec = bfd_make_section(dynobj, name);
18011 + || !bfd_set_section_flags(dynobj, sec, flags)
18012 + || !bfd_set_section_alignment(dynobj, sec, align_power))
18018 +static struct elf_link_hash_entry *
18019 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
18020 + const char *name, asection *sec,
18023 + struct bfd_link_hash_entry *bh = NULL;
18024 + struct elf_link_hash_entry *h;
18025 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
18027 + if (!(_bfd_generic_link_add_one_symbol
18028 + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
18029 + bed->collect, &bh)))
18032 + h = (struct elf_link_hash_entry *)bh;
18033 + h->def_regular = 1;
18034 + h->type = STT_OBJECT;
18035 + h->other = STV_HIDDEN;
18040 +static bfd_boolean
18041 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
18043 + struct elf_avr32_link_hash_table *htab;
18045 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
18047 + htab = avr32_elf_hash_table(info);
18048 + flags = bed->dynamic_sec_flags;
18053 + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
18054 + if (!htab->srelgot)
18055 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
18056 + flags | SEC_READONLY, 2);
18058 + if (!htab->sgot || !htab->srelgot)
18061 + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
18063 + if (!htab->root.hgot)
18066 + /* Make room for the GOT header */
18067 + htab->sgot->size += bed->got_header_size;
18072 +/* (1) Create all dynamic (i.e. linker generated) sections that we may
18073 + need during the link */
18075 +static bfd_boolean
18076 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
18078 + struct elf_avr32_link_hash_table *htab;
18080 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
18082 + pr_debug("(1) create dynamic sections\n");
18084 + htab = avr32_elf_hash_table(info);
18085 + flags = bed->dynamic_sec_flags;
18087 + if (!avr32_elf_create_got_section (dynobj, info))
18090 + if (!htab->sstub)
18091 + htab->sstub = create_dynamic_section(dynobj, ".stub",
18092 + flags | SEC_READONLY | SEC_CODE, 2);
18094 + if (!htab->sstub)
18100 +/* (2) Go through all the relocs and count any potential GOT- or
18101 + PLT-references to each symbol */
18103 +static bfd_boolean
18104 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
18105 + const Elf_Internal_Rela *relocs)
18107 + Elf_Internal_Shdr *symtab_hdr;
18108 + struct elf_avr32_link_hash_table *htab;
18109 + struct elf_link_hash_entry **sym_hashes;
18110 + const Elf_Internal_Rela *rel, *rel_end;
18111 + struct got_entry **local_got_ents;
18112 + struct got_entry *got;
18113 + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
18117 + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
18118 + abfd->filename, sec->name, sec->size);
18120 + if (info->relocatable)
18123 + dynobj = elf_hash_table(info)->dynobj;
18124 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18125 + sym_hashes = elf_sym_hashes(abfd);
18126 + htab = avr32_elf_hash_table(info);
18127 + local_got_ents = elf_local_got_ents(abfd);
18128 + sgot = htab->sgot;
18130 + rel_end = relocs + sec->reloc_count;
18131 + for (rel = relocs; rel < rel_end; rel++)
18133 + unsigned long r_symndx, r_type;
18134 + struct elf_avr32_link_hash_entry *h;
18136 + r_symndx = ELF32_R_SYM(rel->r_info);
18137 + r_type = ELF32_R_TYPE(rel->r_info);
18139 + /* Local symbols use local_got_ents, while others store the same
18140 + information in the hash entry */
18141 + if (r_symndx < symtab_hdr->sh_info)
18143 + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
18148 + h = (struct elf_avr32_link_hash_entry *)
18149 + sym_hashes[r_symndx - symtab_hdr->sh_info];
18150 + while (h->root.type == bfd_link_hash_indirect
18151 + || h->root.type == bfd_link_hash_warning)
18152 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18153 + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
18156 + /* Some relocs require special sections to be created. */
18159 + case R_AVR32_GOT32:
18160 + case R_AVR32_GOT16:
18161 + case R_AVR32_GOT8:
18162 + case R_AVR32_GOT21S:
18163 + case R_AVR32_GOT18SW:
18164 + case R_AVR32_GOT16S:
18165 + case R_AVR32_GOT7UW:
18166 + case R_AVR32_LDA_GOT:
18167 + case R_AVR32_GOTCALL:
18168 + if (rel->r_addend)
18170 + if (info->callbacks->reloc_dangerous
18171 + (info, _("Non-zero addend on GOT-relative relocation"),
18172 + abfd, sec, rel->r_offset) == FALSE)
18175 + /* fall through */
18176 + case R_AVR32_GOTPC:
18177 + if (dynobj == NULL)
18178 + elf_hash_table(info)->dynobj = dynobj = abfd;
18179 + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
18183 + /* We may need to create .rela.dyn later on. */
18184 + if (dynobj == NULL
18185 + && (info->shared || h != NULL)
18186 + && (sec->flags & SEC_ALLOC))
18187 + elf_hash_table(info)->dynobj = dynobj = abfd;
18191 + if (h != NULL && r_type != R_AVR32_GOT18SW)
18192 + h->no_fn_stub = TRUE;
18196 + case R_AVR32_GOT32:
18197 + case R_AVR32_GOT16:
18198 + case R_AVR32_GOT8:
18199 + case R_AVR32_GOT21S:
18200 + case R_AVR32_GOT18SW:
18201 + case R_AVR32_GOT16S:
18202 + case R_AVR32_GOT7UW:
18203 + case R_AVR32_LDA_GOT:
18204 + case R_AVR32_GOTCALL:
18207 + got = h->root.got.glist;
18210 + got = bfd_zalloc(abfd, sizeof(struct got_entry));
18213 + h->root.got.glist = got;
18218 + if (!local_got_ents)
18220 + bfd_size_type size;
18222 + struct got_entry *tmp_entry;
18224 + size = symtab_hdr->sh_info;
18225 + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
18226 + local_got_ents = bfd_zalloc(abfd, size);
18227 + if (!local_got_ents)
18230 + elf_local_got_ents(abfd) = local_got_ents;
18232 + tmp_entry = (struct got_entry *)(local_got_ents
18233 + + symtab_hdr->sh_info);
18234 + for (i = 0; i < symtab_hdr->sh_info; i++)
18235 + local_got_ents[i] = &tmp_entry[i];
18238 + got = local_got_ents[r_symndx];
18242 + if (got->refcount > htab->nr_got_holes)
18243 + htab->nr_got_holes = got->refcount;
18247 + if ((info->shared || h != NULL)
18248 + && (sec->flags & SEC_ALLOC))
18250 + if (htab->srelgot == NULL)
18252 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
18253 + bed->dynamic_sec_flags
18254 + | SEC_READONLY, 2);
18255 + if (htab->srelgot == NULL)
18259 + if (sec->flags & SEC_READONLY
18260 + && !h->readonly_reloc_sec)
18262 + h->readonly_reloc_sec = sec;
18263 + h->readonly_reloc_offset = rel->r_offset;
18268 + pr_debug("Non-GOT reference to symbol %s\n",
18269 + h->root.root.root.string);
18270 + h->possibly_dynamic_relocs++;
18274 + pr_debug("Non-GOT reference to local symbol %lu\n",
18276 + htab->local_dynamic_relocs++;
18282 + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
18289 +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
18290 + regular object. The current definition is in some section of the
18291 + dynamic object, but we're not including those sections. We have to
18292 + change the definition to something the rest of the link can
18295 +static bfd_boolean
18296 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
18297 + struct elf_link_hash_entry *h)
18299 + struct elf_avr32_link_hash_table *htab;
18300 + struct elf_avr32_link_hash_entry *havr;
18303 + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
18305 + htab = avr32_elf_hash_table(info);
18306 + havr = (struct elf_avr32_link_hash_entry *)h;
18307 + dynobj = elf_hash_table(info)->dynobj;
18309 + /* Make sure we know what is going on here. */
18310 + BFD_ASSERT (dynobj != NULL
18311 + && (h->u.weakdef != NULL
18312 + || (h->def_dynamic
18313 + && h->ref_regular
18314 + && !h->def_regular)));
18316 + /* We don't want dynamic relocations in read-only sections. */
18317 + if (havr->readonly_reloc_sec)
18319 + if (info->callbacks->reloc_dangerous
18320 + (info, _("dynamic relocation in read-only section"),
18321 + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
18322 + havr->readonly_reloc_offset) == FALSE)
18326 + /* If this is a function, create a stub if possible and set the
18327 + symbol to the stub location. */
18328 + if (0 && !havr->no_fn_stub)
18330 + if (!h->def_regular)
18332 + asection *s = htab->sstub;
18334 + BFD_ASSERT(s != NULL);
18336 + h->root.u.def.section = s;
18337 + h->root.u.def.value = s->size;
18338 + h->plt.offset = s->size;
18339 + s->size += AVR32_FUNCTION_STUB_SIZE;
18344 + else if (h->type == STT_FUNC)
18346 + /* This will set the entry for this symbol in the GOT to 0, and
18347 + the dynamic linker will take care of this. */
18348 + h->root.u.def.value = 0;
18352 + /* If this is a weak symbol, and there is a real definition, the
18353 + processor independent code will have arranged for us to see the
18354 + real definition first, and we can just use the same value. */
18355 + if (h->u.weakdef != NULL)
18357 + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
18358 + || h->u.weakdef->root.type == bfd_link_hash_defweak);
18359 + h->root.u.def.section = h->u.weakdef->root.u.def.section;
18360 + h->root.u.def.value = h->u.weakdef->root.u.def.value;
18364 + /* This is a reference to a symbol defined by a dynamic object which
18365 + is not a function. */
18371 +/* Garbage-collection of unused sections */
18374 +avr32_elf_gc_mark_hook(asection *sec,
18375 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18376 + Elf_Internal_Rela *rel,
18377 + struct elf_link_hash_entry *h,
18378 + Elf_Internal_Sym *sym)
18382 + switch (ELF32_R_TYPE(rel->r_info))
18384 + /* TODO: VTINHERIT/VTENTRY */
18386 + switch (h->root.type)
18388 + case bfd_link_hash_defined:
18389 + case bfd_link_hash_defweak:
18390 + return h->root.u.def.section;
18392 + case bfd_link_hash_common:
18393 + return h->root.u.c.p->section;
18401 + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
18406 +/* Update the GOT entry reference counts for the section being removed. */
18407 +static bfd_boolean
18408 +avr32_elf_gc_sweep_hook(bfd *abfd,
18409 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
18411 + const Elf_Internal_Rela *relocs)
18413 + Elf_Internal_Shdr *symtab_hdr;
18414 + struct elf_avr32_link_hash_entry **sym_hashes;
18415 + struct got_entry **local_got_ents;
18416 + const Elf_Internal_Rela *rel, *relend;
18418 + if (!(sec->flags & SEC_ALLOC))
18421 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
18422 + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
18423 + local_got_ents = elf_local_got_ents(abfd);
18425 + relend = relocs + sec->reloc_count;
18426 + for (rel = relocs; rel < relend; rel++)
18428 + unsigned long r_symndx;
18429 + unsigned int r_type;
18430 + struct elf_avr32_link_hash_entry *h = NULL;
18432 + r_symndx = ELF32_R_SYM(rel->r_info);
18433 + if (r_symndx >= symtab_hdr->sh_info)
18435 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
18436 + while (h->root.root.type == bfd_link_hash_indirect
18437 + || h->root.root.type == bfd_link_hash_warning)
18438 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
18441 + r_type = ELF32_R_TYPE(rel->r_info);
18445 + case R_AVR32_GOT32:
18446 + case R_AVR32_GOT16:
18447 + case R_AVR32_GOT8:
18448 + case R_AVR32_GOT21S:
18449 + case R_AVR32_GOT18SW:
18450 + case R_AVR32_GOT16S:
18451 + case R_AVR32_GOT7UW:
18452 + case R_AVR32_LDA_GOT:
18453 + case R_AVR32_GOTCALL:
18455 + h->root.got.glist->refcount--;
18457 + local_got_ents[r_symndx]->refcount--;
18461 + if (info->shared || h)
18464 + h->possibly_dynamic_relocs--;
18466 + avr32_elf_hash_table(info)->local_dynamic_relocs--;
18477 +/* Sizing and refcounting of dynamic sections */
18480 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18482 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18484 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
18485 +static bfd_boolean
18486 +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
18487 +static bfd_boolean
18488 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
18489 +static bfd_boolean
18490 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18491 + struct bfd_link_info *info);
18494 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18496 + /* TODO: Support got_refcount > htab->nr_got_holes by using a
18497 + different sort algorithm for those. */
18498 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18500 + got->pprev = &htab->got_hole[got->refcount];
18501 + got->next = htab->got_hole[got->refcount];
18503 + got->next->pprev = &got->next;
18505 + htab->got_hole[got->refcount] = got;
18508 +/* Decrement the refcount of a GOT entry and update its position in
18509 + the pigeonhole array. */
18511 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18513 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18514 + BFD_ASSERT(got->refcount > 0);
18517 + got->next->pprev = got->pprev;
18519 + *(got->pprev) = got->next;
18521 + insert_got_entry(htab, got);
18525 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
18528 + got->next->pprev = got->pprev;
18530 + *(got->pprev) = got->next;
18532 + insert_got_entry(htab, got);
18534 + BFD_ASSERT(got->refcount > 0);
18535 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
18538 +/* Assign offsets to all GOT entries we intend to keep. The entries
18539 + that are referenced most often are placed at low offsets so that we
18540 + can use compact instructions as much as possible.
18542 + Returns TRUE if any offsets or the total size of the GOT changed. */
18544 +static bfd_boolean
18545 +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
18547 + struct got_entry *got;
18548 + bfd_size_type got_size = 0;
18549 + bfd_boolean changed = FALSE;
18550 + bfd_signed_vma offset;
18553 + /* The GOT header provides the address of the DYNAMIC segment, so
18554 + we need that even if the GOT is otherwise empty. */
18555 + if (htab->root.dynamic_sections_created)
18556 + got_size = AVR32_GOT_HEADER_SIZE;
18558 + for (i = htab->nr_got_holes; i > 0; i--)
18560 + got = htab->got_hole[i];
18563 + if (got->refcount > 0)
18565 + offset = got_size;
18566 + if (got->offset != offset)
18568 + RDBG("GOT offset changed: %ld -> %ld\n",
18569 + got->offset, offset);
18572 + got->offset = offset;
18579 + if (htab->sgot->size != got_size)
18581 + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
18585 + htab->sgot->size = got_size;
18587 + RDBG("assign_got_offsets: total size %lu (%s)\n",
18588 + got_size, changed ? "changed" : "no change");
18593 +static bfd_boolean
18594 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
18596 + struct bfd_link_info *info = _info;
18597 + struct elf_avr32_link_hash_table *htab;
18598 + struct elf_avr32_link_hash_entry *havr;
18599 + struct got_entry *got;
18601 + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
18603 + if (h->root.type == bfd_link_hash_indirect)
18606 + if (h->root.type == bfd_link_hash_warning)
18607 + /* When warning symbols are created, they **replace** the "real"
18608 + entry in the hash table, thus we never get to see the real
18609 + symbol in a hash traversal. So look at it now. */
18610 + h = (struct elf_link_hash_entry *) h->root.u.i.link;
18612 + htab = avr32_elf_hash_table(info);
18613 + havr = (struct elf_avr32_link_hash_entry *)h;
18615 + got = h->got.glist;
18617 + /* If got is NULL, the symbol is never referenced through the GOT */
18618 + if (got && got->refcount > 0)
18620 + insert_got_entry(htab, got);
18622 + /* Shared libraries need relocs for all GOT entries unless the
18623 + symbol is forced local or -Bsymbolic is used. Others need
18624 + relocs for everything that is not guaranteed to be defined in
18625 + a regular object. */
18626 + if ((info->shared
18627 + && !info->symbolic
18628 + && h->dynindx != -1)
18629 + || (htab->root.dynamic_sections_created
18630 + && h->def_dynamic
18631 + && !h->def_regular))
18632 + htab->srelgot->size += sizeof(Elf32_External_Rela);
18635 + if (havr->possibly_dynamic_relocs
18637 + || (elf_hash_table(info)->dynamic_sections_created
18638 + && h->def_dynamic
18639 + && !h->def_regular)))
18641 + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
18642 + havr->possibly_dynamic_relocs, h->root.root.string);
18643 + htab->srelgot->size += (havr->possibly_dynamic_relocs
18644 + * sizeof(Elf32_External_Rela));
18650 +/* (4) Calculate the sizes of the linker-generated sections and
18651 + allocate memory for them. */
18653 +static bfd_boolean
18654 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
18655 + struct bfd_link_info *info)
18657 + struct elf_avr32_link_hash_table *htab;
18661 + bfd_boolean relocs;
18663 + pr_debug("(4) size dynamic sections\n");
18665 + htab = avr32_elf_hash_table(info);
18666 + dynobj = htab->root.dynobj;
18667 + BFD_ASSERT(dynobj != NULL);
18669 + if (htab->root.dynamic_sections_created)
18671 + /* Initialize the contents of the .interp section to the name of
18672 + the dynamic loader */
18673 + if (info->executable)
18675 + s = bfd_get_section_by_name(dynobj, ".interp");
18676 + BFD_ASSERT(s != NULL);
18677 + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
18678 + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
18682 + if (htab->nr_got_holes > 0)
18684 + /* Allocate holes for the pigeonhole sort algorithm */
18685 + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
18686 + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
18688 + /* TODO: Do something clever (different sorting algorithm) */
18689 + _bfd_error_handler(_("Highest refcount %d too high (max %d)\n"),
18690 + htab->nr_got_holes, MAX_NR_GOT_HOLES);
18691 + bfd_set_error(bfd_error_no_memory);
18694 + htab->got_hole = bfd_zalloc(output_bfd,
18695 + sizeof(struct got_entry *)
18696 + * (htab->nr_got_holes + 1));
18697 + if (!htab->got_hole)
18700 + /* Set up .got offsets for local syms. */
18701 + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
18703 + struct got_entry **local_got;
18704 + struct got_entry **end_local_got;
18705 + Elf_Internal_Shdr *symtab_hdr;
18706 + bfd_size_type locsymcount;
18708 + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
18710 + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
18712 + local_got = elf_local_got_ents(ibfd);
18716 + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
18717 + locsymcount = symtab_hdr->sh_info;
18718 + end_local_got = local_got + locsymcount;
18720 + for (; local_got < end_local_got; ++local_got)
18721 + insert_got_entry(htab, *local_got);
18725 + /* Allocate global sym .got entries and space for global sym
18726 + dynamic relocs */
18727 + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
18729 + /* Now that we have sorted the GOT entries, we are ready to
18730 + assign offsets and determine the initial size of the GOT. */
18732 + assign_got_offsets(htab);
18734 + /* Allocate space for local sym dynamic relocs */
18735 + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
18736 + if (htab->local_dynamic_relocs)
18737 + htab->srelgot->size += (htab->local_dynamic_relocs
18738 + * sizeof(Elf32_External_Rela));
18740 + /* We now have determined the sizes of the various dynamic
18741 + sections. Allocate memory for them. */
18743 + for (s = dynobj->sections; s; s = s->next)
18745 + if ((s->flags & SEC_LINKER_CREATED) == 0)
18748 + if (s == htab->sgot
18749 + || s == htab->sstub)
18751 + /* Strip this section if we don't need it */
18753 + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
18755 + if (s->size != 0)
18758 + s->reloc_count = 0;
18762 + /* It's not one of our sections */
18766 + if (s->size == 0)
18768 + /* Strip unneeded sections */
18769 + pr_debug("Stripping section %s from output...\n", s->name);
18770 + /* deleted function in 2.17
18771 + _bfd_strip_section_from_output(info, s);
18776 + s->contents = bfd_zalloc(dynobj, s->size);
18777 + if (s->contents == NULL)
18781 + if (htab->root.dynamic_sections_created)
18783 + /* Add some entries to the .dynamic section. We fill in the
18784 + values later, in sh_elf_finish_dynamic_sections, but we
18785 + must add the entries now so that we get the correct size for
18786 + the .dynamic section. The DT_DEBUG entry is filled in by the
18787 + dynamic linker and used by the debugger. */
18788 +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
18790 + if (!add_dynamic_entry(DT_PLTGOT, 0))
18792 + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
18795 + if (info->executable)
18797 + if (!add_dynamic_entry(DT_DEBUG, 0))
18802 + if (!add_dynamic_entry(DT_RELA, 0)
18803 + || !add_dynamic_entry(DT_RELASZ, 0)
18804 + || !add_dynamic_entry(DT_RELAENT,
18805 + sizeof(Elf32_External_Rela)))
18809 +#undef add_dynamic_entry
18815 +/* Access to internal relocations, section contents and symbols.
18816 + (stolen from the xtensa port) */
18818 +static Elf_Internal_Rela *
18819 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18821 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18823 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
18825 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
18828 +pin_contents (asection *sec, bfd_byte *contents);
18831 +release_contents (asection *sec, bfd_byte *contents);
18832 +static Elf_Internal_Sym *
18833 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
18836 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18839 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
18841 +/* During relaxation, we need to modify relocations, section contents,
18842 + and symbol definitions, and we need to keep the original values from
18843 + being reloaded from the input files, i.e., we need to "pin" the
18844 + modified values in memory. We also want to continue to observe the
18845 + setting of the "keep-memory" flag. The following functions wrap the
18846 + standard BFD functions to take care of this for us. */
18848 +static Elf_Internal_Rela *
18849 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18851 + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
18852 + to be clever here. */
18853 + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
18857 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18859 + elf_section_data (sec)->relocs = internal_relocs;
18863 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
18865 + if (internal_relocs
18866 + && elf_section_data (sec)->relocs != internal_relocs)
18867 + free (internal_relocs);
18871 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
18873 + bfd_byte *contents;
18874 + bfd_size_type sec_size;
18876 + sec_size = bfd_get_section_limit (abfd, sec);
18877 + contents = elf_section_data (sec)->this_hdr.contents;
18879 + if (contents == NULL && sec_size != 0)
18881 + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
18888 + elf_section_data (sec)->this_hdr.contents = contents;
18895 +pin_contents (asection *sec, bfd_byte *contents)
18897 + elf_section_data (sec)->this_hdr.contents = contents;
18901 +release_contents (asection *sec, bfd_byte *contents)
18903 + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
18907 +static Elf_Internal_Sym *
18908 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
18910 + Elf_Internal_Shdr *symtab_hdr;
18911 + Elf_Internal_Sym *isymbuf;
18912 + size_t locsymcount;
18914 + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
18915 + locsymcount = symtab_hdr->sh_info;
18917 + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
18918 + if (isymbuf == NULL && locsymcount != 0)
18920 + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
18921 + NULL, NULL, NULL);
18922 + if (isymbuf && keep_memory)
18923 + symtab_hdr->contents = (unsigned char *) isymbuf;
18931 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18933 + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
18938 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
18940 + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
18941 + != (unsigned char *)isymbuf))
18945 +
\f/* Data structures used during relaxation. */
18947 +enum relax_state_id {
18977 +enum reference_type {
18984 +struct relax_state
18986 + const char *name;
18987 + enum relax_state_id id;
18988 + enum relax_state_id direct;
18989 + enum relax_state_id next;
18990 + enum relax_state_id prev;
18992 + enum reference_type reftype;
18994 + unsigned int r_type;
18997 + bfd_vma opcode_mask;
18999 + bfd_signed_vma range_min;
19000 + bfd_signed_vma range_max;
19002 + bfd_size_type size;
19006 + * This is for relocs that
19007 + * a) has an addend or is of type R_AVR32_DIFF32, and
19008 + * b) references a different section than it's in, and
19009 + * c) references a section that is relaxable
19011 + * as well as relocs that references the constant pool, in which case
19012 + * the add_frag member points to the frag containing the constant pool
19015 + * Such relocs must be fixed up whenever we delete any code. Sections
19016 + * that don't have any relocs with all of the above properties don't
19017 + * have any additional reloc data, but sections that do will have
19018 + * additional data for all its relocs.
19020 +struct avr32_reloc_data
19022 + struct fragment *add_frag;
19023 + struct fragment *sub_frag;
19027 + * A 'fragment' is a relaxable entity, that is, code may be added or
19028 + * deleted at the end of a fragment. When this happens, all subsequent
19029 + * fragments in the list will have their offsets updated.
19033 + enum relax_state_id state;
19034 + enum relax_state_id initial_state;
19036 + Elf_Internal_Rela *rela;
19037 + bfd_size_type size;
19040 + int offset_adjust;
19041 + bfd_boolean has_grown;
19043 + /* Only used by constant pool entries. When this drops to zero, the
19044 + frag is discarded (i.e. size_adjust is set to -4.) */
19048 +struct avr32_relax_data
19050 + unsigned int frag_count;
19051 + struct fragment *frag;
19052 + struct avr32_reloc_data *reloc_data;
19054 + /* TRUE if this section has one or more relaxable relocations */
19055 + bfd_boolean is_relaxable;
19056 + unsigned int iteration;
19059 +struct avr32_section_data
19061 + struct bfd_elf_section_data elf;
19062 + struct avr32_relax_data relax_data;
19065 +
\f/* Relax state definitions */
19067 +#define PIC_MOV2_OPCODE 0xe0600000
19068 +#define PIC_MOV2_MASK 0xe1e00000
19069 +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
19070 +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
19071 +#define PIC_MCALL_OPCODE 0xf0160000
19072 +#define PIC_MCALL_MASK 0xffff0000
19073 +#define PIC_MCALL_RANGE_MIN (-131072)
19074 +#define PIC_MCALL_RANGE_MAX (131068)
19075 +#define RCALL2_OPCODE 0xe0a00000
19076 +#define RCALL2_MASK 0xe1ef0000
19077 +#define RCALL2_RANGE_MIN (-2097152)
19078 +#define RCALL2_RANGE_MAX (2097150)
19079 +#define RCALL1_OPCODE 0xc00c0000
19080 +#define RCALL1_MASK 0xf00c0000
19081 +#define RCALL1_RANGE_MIN (-1024)
19082 +#define RCALL1_RANGE_MAX (1022)
19083 +#define PIC_LDW4_OPCODE 0xecf00000
19084 +#define PIC_LDW4_MASK 0xfff00000
19085 +#define PIC_LDW4_RANGE_MIN (-32768)
19086 +#define PIC_LDW4_RANGE_MAX (32767)
19087 +#define PIC_LDW3_OPCODE 0x6c000000
19088 +#define PIC_LDW3_MASK 0xfe000000
19089 +#define PIC_LDW3_RANGE_MIN (0)
19090 +#define PIC_LDW3_RANGE_MAX (124)
19091 +#define SUB5_PC_OPCODE 0xfec00000
19092 +#define SUB5_PC_MASK 0xfff00000
19093 +#define SUB5_PC_RANGE_MIN (-32768)
19094 +#define SUB5_PC_RANGE_MAX (32767)
19095 +#define NOPIC_MCALL_OPCODE 0xf01f0000
19096 +#define NOPIC_MCALL_MASK 0xffff0000
19097 +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
19098 +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
19099 +#define NOPIC_LDW4_OPCODE 0xfef00000
19100 +#define NOPIC_LDW4_MASK 0xfff00000
19101 +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
19102 +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
19103 +#define LDDPC_OPCODE 0x48000000
19104 +#define LDDPC_MASK 0xf8000000
19105 +#define LDDPC_RANGE_MIN 0
19106 +#define LDDPC_RANGE_MAX 508
19108 +#define NOPIC_MOV2_OPCODE 0xe0600000
19109 +#define NOPIC_MOV2_MASK 0xe1e00000
19110 +#define NOPIC_MOV2_RANGE_MIN (-1048576)
19111 +#define NOPIC_MOV2_RANGE_MAX (1048575)
19112 +#define NOPIC_MOV1_OPCODE 0x30000000
19113 +#define NOPIC_MOV1_MASK 0xf0000000
19114 +#define NOPIC_MOV1_RANGE_MIN (-128)
19115 +#define NOPIC_MOV1_RANGE_MAX (127)
19117 +/* Only brc2 variants with cond[3] == 0 is considered, since the
19118 + others are not relaxable. bral is a special case and is handled
19120 +#define BRC2_OPCODE 0xe0800000
19121 +#define BRC2_MASK 0xe1e80000
19122 +#define BRC2_RANGE_MIN (-2097152)
19123 +#define BRC2_RANGE_MAX (2097150)
19124 +#define BRC1_OPCODE 0xc0000000
19125 +#define BRC1_MASK 0xf0080000
19126 +#define BRC1_RANGE_MIN (-256)
19127 +#define BRC1_RANGE_MAX (254)
19128 +#define BRAL_OPCODE 0xe08f0000
19129 +#define BRAL_MASK 0xe1ef0000
19130 +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
19131 +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
19132 +#define RJMP_OPCODE 0xc0080000
19133 +#define RJMP_MASK 0xf00c0000
19134 +#define RJMP_RANGE_MIN (-1024)
19135 +#define RJMP_RANGE_MAX (1022)
19137 +/* Define a relax state using the GOT */
19138 +#define RG(id, dir, next, prev, r_type, opc, size) \
19139 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
19140 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19141 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19142 +/* Define a relax state using the Constant Pool */
19143 +#define RC(id, dir, next, prev, r_type, opc, size) \
19144 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
19145 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19146 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19148 +/* Define a relax state using pc-relative direct reference */
19149 +#define RP(id, dir, next, prev, r_type, opc, size) \
19150 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
19151 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19152 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19154 +/* Define a relax state using non-pc-relative direct reference */
19155 +#define RD(id, dir, next, prev, r_type, opc, size) \
19156 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_ABSOLUTE, \
19157 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
19158 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
19160 +/* Define a relax state that will be handled specially */
19161 +#define RS(id, r_type, size) \
19162 + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
19163 + R_AVR32_##r_type, 0, 0, 0, 0, size }
19165 +const struct relax_state relax_state[RS_MAX] = {
19166 + RS(NONE, NONE, 0),
19167 + RS(ALIGN, ALIGN, 0),
19168 + RS(CPENT, 32_CPENT, 4),
19170 + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
19171 + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
19172 + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
19173 + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
19175 + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
19176 + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
19177 + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
19178 + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
19180 + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
19181 + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
19182 + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
19184 + RC(NOPIC_LDW4, NOPIC_MOV1, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
19185 + RC(NOPIC_LDDPC, NOPIC_MOV1, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
19186 + RP(NOPIC_SUB5, NOPIC_MOV1, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
19187 + RD(NOPIC_MOV2, NONE, NOPIC_MOV1, NOPIC_SUB5, 21S, NOPIC_MOV2, 4),
19188 + RD(NOPIC_MOV1, NONE, NONE, NOPIC_MOV2, 8S, NOPIC_MOV1, 2),
19190 + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
19191 + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
19192 + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
19193 + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
19194 + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
19195 + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
19198 +static bfd_boolean
19199 +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
19201 + struct avr32_section_data *sdata;
19203 + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
19207 + sec->used_by_bfd = sdata;
19208 + return _bfd_elf_new_section_hook(abfd, sec);
19211 +static struct avr32_relax_data *
19212 +avr32_relax_data(asection *sec)
19214 + struct avr32_section_data *sdata;
19216 + BFD_ASSERT(sec->used_by_bfd);
19218 + sdata = (struct avr32_section_data *)elf_section_data(sec);
19219 + return &sdata->relax_data;
19222 +
\f/* Link-time relaxation */
19224 +static bfd_boolean
19225 +avr32_elf_relax_section(bfd *abfd, asection *sec,
19226 + struct bfd_link_info *info, bfd_boolean *again);
19228 +enum relax_pass_id {
19229 + RELAX_PASS_SIZE_FRAGS,
19230 + RELAX_PASS_MOVE_DATA,
19233 +/* Stolen from the xtensa port */
19235 +internal_reloc_compare (const void *ap, const void *bp)
19237 + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
19238 + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
19240 + if (a->r_offset != b->r_offset)
19241 + return (a->r_offset - b->r_offset);
19243 + /* We don't need to sort on these criteria for correctness,
19244 + but enforcing a more strict ordering prevents unstable qsort
19245 + from behaving differently with different implementations.
19246 + Without the code below we get correct but different results
19247 + on Solaris 2.7 and 2.8. We would like to always produce the
19248 + same results no matter the host. */
19250 + if (a->r_info != b->r_info)
19251 + return (a->r_info - b->r_info);
19253 + return (a->r_addend - b->r_addend);
19256 +static enum relax_state_id
19257 +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19258 + const Elf_Internal_Rela *rela)
19260 + bfd_byte *contents;
19262 + enum relax_state_id rs = RS_NONE;
19264 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19268 + insn = bfd_get_32(abfd, contents + rela->r_offset);
19269 + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
19271 + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
19272 + /* Optimizing bral -> rjmp gets us into all kinds of
19273 + trouble with jump tables. Better not do it. */
19275 + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
19278 + release_contents(sec, contents);
19283 +static enum relax_state_id
19284 +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
19285 + const Elf_Internal_Rela *rela)
19287 + switch (ELF_R_TYPE(rela->r_info))
19289 + case R_AVR32_GOTCALL:
19290 + return RS_PIC_CALL;
19291 + case R_AVR32_GOT18SW:
19292 + return RS_PIC_MCALL;
19293 + case R_AVR32_LDA_GOT:
19294 + return RS_PIC_LDA;
19295 + case R_AVR32_GOT16S:
19296 + return RS_PIC_LDW4;
19297 + case R_AVR32_CPCALL:
19298 + return RS_NOPIC_MCALL;
19299 + case R_AVR32_16_CP:
19300 + return RS_NOPIC_LDW4;
19301 + case R_AVR32_9W_CP:
19302 + return RS_NOPIC_LDDPC;
19303 + case R_AVR32_ALIGN:
19305 + case R_AVR32_32_CPENT:
19307 + case R_AVR32_22H_PCREL:
19308 + return get_pcrel22_relax_state(abfd, sec, info, rela);
19309 + case R_AVR32_9H_PCREL:
19316 +static bfd_boolean
19317 +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
19319 + switch (ELF_R_TYPE(rela->r_info))
19321 + case R_AVR32_CPCALL:
19322 + case R_AVR32_16_CP:
19323 + case R_AVR32_9W_CP:
19330 +static struct fragment *
19331 +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
19332 + struct avr32_relax_data *rd, enum relax_state_id state,
19333 + Elf_Internal_Rela *rela)
19335 + struct fragment *frag;
19336 + bfd_size_type r_size;
19337 + bfd_vma r_offset;
19338 + unsigned int i = rd->frag_count;
19340 + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
19342 + rd->frag_count++;
19343 + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
19349 + memset(frag, 0, sizeof(struct fragment));
19351 + if (state == RS_ALIGN)
19352 + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
19353 + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
19355 + r_size = relax_state[state].size;
19358 + r_offset = rela->r_offset;
19360 + r_offset = sec->size;
19364 + frag->offset = 0;
19365 + frag->size = r_offset + r_size;
19369 + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
19370 + frag->size = r_offset + r_size - frag->offset;
19373 + if (state != RS_CPENT)
19374 + /* Make sure we don't discard this frag */
19375 + frag->refcount = 1;
19377 + frag->initial_state = frag->state = state;
19378 + frag->rela = rela;
19383 +static struct fragment *
19384 +find_frag(asection *sec, bfd_vma offset)
19386 + struct fragment *first, *last;
19387 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19389 + if (rd->frag_count == 0)
19392 + first = &rd->frag[0];
19393 + last = &rd->frag[rd->frag_count - 1];
19395 + /* This may be a reloc referencing the end of a section. The last
19396 + frag will never have a reloc associated with it, so its size will
19397 + never change, thus the offset adjustment of the last frag will
19398 + always be the same as the offset adjustment of the end of the
19400 + if (offset == sec->size)
19402 + BFD_ASSERT(last->offset + last->size == sec->size);
19403 + BFD_ASSERT(!last->rela);
19407 + while (first <= last)
19409 + struct fragment *mid;
19411 + mid = (last - first) / 2 + first;
19412 + if ((mid->offset + mid->size) <= offset)
19414 + else if (mid->offset > offset)
19423 +/* Look through all relocs in a section and determine if any relocs
19424 + may be affected by relaxation in other sections. If so, allocate
19425 + an array of additional relocation data which links the affected
19426 + relocations to the frag(s) where the relaxation may occur.
19428 + This function also links cpool references to cpool entries and
19429 + increments the refcount of the latter when this happens. */
19431 +static bfd_boolean
19432 +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
19433 + struct bfd_link_info *info)
19435 + Elf_Internal_Shdr *symtab_hdr;
19436 + Elf_Internal_Sym *isymbuf = NULL;
19437 + struct avr32_relax_data *rd;
19439 + bfd_boolean ret = FALSE;
19441 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19442 + rd = avr32_relax_data(sec);
19444 + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
19446 + for (i = 0; i < sec->reloc_count; i++)
19448 + Elf_Internal_Rela *rel = &relocs[i];
19449 + asection *sym_sec;
19450 + unsigned long r_symndx;
19451 + bfd_vma sym_value;
19453 + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
19454 + && !reloc_is_cpool_ref(rel))
19457 + r_symndx = ELF_R_SYM(rel->r_info);
19459 + if (r_symndx < symtab_hdr->sh_info)
19461 + Elf_Internal_Sym *isym;
19464 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19468 + isym = &isymbuf[r_symndx];
19469 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19470 + sym_value = isym->st_value;
19474 + struct elf_link_hash_entry *h;
19476 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
19478 + while (h->root.type == bfd_link_hash_indirect
19479 + || h->root.type == bfd_link_hash_warning)
19480 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19482 + if (h->root.type != bfd_link_hash_defined
19483 + && h->root.type != bfd_link_hash_defweak)
19486 + sym_sec = h->root.u.def.section;
19487 + sym_value = h->root.u.def.value;
19490 + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
19492 + bfd_size_type size;
19493 + struct fragment *frag;
19495 + if (!rd->reloc_data)
19497 + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
19498 + rd->reloc_data = bfd_zalloc(abfd, size);
19499 + if (!rd->reloc_data)
19503 + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
19504 + i, rel->r_offset, sym_value, rel->r_addend);
19506 + frag = find_frag(sym_sec, sym_value + rel->r_addend);
19507 + BFD_ASSERT(frag);
19508 + rd->reloc_data[i].add_frag = frag;
19510 + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
19511 + frag->rela ? frag->rela->r_offset : sym_sec->size);
19513 + if (reloc_is_cpool_ref(rel))
19515 + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
19516 + frag->refcount++;
19519 + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
19521 + bfd_byte *contents;
19522 + bfd_signed_vma diff;
19524 + contents = retrieve_contents(abfd, sec, info->keep_memory);
19528 + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
19529 + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
19530 + BFD_ASSERT(frag);
19531 + rd->reloc_data[i].sub_frag = frag;
19533 + release_contents(sec, contents);
19541 + release_local_syms(abfd, isymbuf);
19545 +static bfd_boolean
19546 +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
19547 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
19549 + struct fragment *frag;
19552 + if (havr->root.root.type != bfd_link_hash_defined
19553 + && havr->root.root.type != bfd_link_hash_defweak)
19556 + sec = havr->root.root.u.def.section;
19557 + if (bfd_is_const_section(sec)
19558 + || !avr32_relax_data(sec)->is_relaxable)
19561 + frag = find_frag(sec, havr->root.root.u.def.value);
19565 + struct avr32_relax_data *rd = avr32_relax_data(sec);
19567 + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
19568 + sec->owner->filename, havr->root.root.root.string,
19569 + sec->name, havr->root.root.u.def.value, sec->size);
19570 + for (i = 0; i < rd->frag_count; i++)
19571 + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
19572 + rd->frag[i].offset + rd->frag[i].size);
19574 + BFD_ASSERT(frag);
19576 + havr->sym_frag = frag;
19580 +static bfd_boolean
19581 +analyze_relocations(struct bfd_link_info *info)
19586 + /* Divide all relaxable sections into fragments */
19587 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19589 + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
19591 + if (!(*info->callbacks->warning)
19592 + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
19597 + for (sec = abfd->sections; sec; sec = sec->next)
19599 + struct avr32_relax_data *rd;
19600 + struct fragment *frag;
19601 + Elf_Internal_Rela *relocs;
19603 + bfd_boolean ret = TRUE;
19605 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19608 + rd = avr32_relax_data(sec);
19610 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19614 + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
19615 + internal_reloc_compare);
19617 + for (i = 0; i < sec->reloc_count; i++)
19619 + enum relax_state_id state;
19622 + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
19623 + if (state == RS_ERROR)
19628 + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
19632 + pin_internal_relocs(sec, relocs);
19633 + rd->is_relaxable = TRUE;
19639 + release_internal_relocs(sec, relocs);
19643 + if (rd->is_relaxable)
19645 + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
19652 + /* Link each global symbol to the fragment where it's defined. */
19653 + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
19655 + /* Do the same for local symbols. */
19656 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19658 + Elf_Internal_Sym *isymbuf, *isym;
19659 + struct fragment **local_sym_frag;
19660 + unsigned int i, sym_count;
19662 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
19663 + if (sym_count == 0)
19666 + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
19667 + if (!local_sym_frag)
19669 + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
19671 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19675 + for (i = 0; i < sym_count; i++)
19677 + struct avr32_relax_data *rd;
19678 + struct fragment *frag;
19681 + isym = &isymbuf[i];
19683 + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19687 + rd = avr32_relax_data(sec);
19688 + if (!rd->is_relaxable)
19691 + frag = find_frag(sec, isym->st_value);
19692 + BFD_ASSERT(frag);
19694 + local_sym_frag[i] = frag;
19697 + release_local_syms(abfd, isymbuf);
19700 + /* And again for relocs with addends and constant pool references */
19701 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
19702 + for (sec = abfd->sections; sec; sec = sec->next)
19704 + Elf_Internal_Rela *relocs;
19707 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
19710 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19714 + ret = allocate_reloc_data(abfd, sec, relocs, info);
19716 + release_internal_relocs(sec, relocs);
19717 + if (ret == FALSE)
19724 +static bfd_boolean
19725 +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
19726 + bfd_vma symval, bfd_vma addr, struct got_entry *got,
19727 + struct avr32_reloc_data *ind_data,
19728 + bfd_signed_vma offset_adjust)
19730 + bfd_signed_vma target = 0;
19732 + switch (rs->reftype)
19734 + case REF_ABSOLUTE:
19738 + target = symval - addr;
19741 + /* cpool frags are always in the same section and always after
19742 + all frags referring to it. So it's always correct to add in
19743 + offset_adjust here. */
19744 + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
19745 + + offset_adjust - frag->offset - frag->offset_adjust);
19748 + target = got->offset;
19754 + if (target >= rs->range_min && target <= rs->range_max)
19760 +static bfd_boolean
19761 +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
19763 + struct elf_avr32_link_hash_table *htab;
19764 + struct avr32_relax_data *rd;
19765 + Elf_Internal_Shdr *symtab_hdr;
19766 + Elf_Internal_Rela *relocs = NULL;
19767 + Elf_Internal_Sym *isymbuf = NULL;
19768 + struct got_entry **local_got_ents;
19769 + struct fragment **local_sym_frag;
19770 + bfd_boolean ret = FALSE;
19771 + bfd_signed_vma delta = 0;
19774 + htab = avr32_elf_hash_table(info);
19775 + rd = avr32_relax_data(sec);
19777 + if (sec == htab->sgot)
19779 + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
19780 + sec->output_section->vma + sec->output_offset);
19781 + if (assign_got_offsets(htab))
19782 + htab->repeat_pass = TRUE;
19786 + if (!rd->is_relaxable)
19789 + if (!sec->rawsize)
19790 + sec->rawsize = sec->size;
19792 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
19793 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
19797 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
19801 + local_got_ents = elf_local_got_ents(abfd);
19802 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
19804 + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
19805 + abfd->filename, sec->name,
19806 + sec->output_section->vma + sec->output_offset, sec->size);
19808 + for (i = 0; i < rd->frag_count; i++)
19810 + struct fragment *frag = &rd->frag[i];
19811 + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
19812 + const struct relax_state *state, *next_state;
19813 + struct fragment *target_frag = NULL;
19814 + asection *sym_sec = NULL;
19815 + Elf_Internal_Rela *rela;
19816 + struct got_entry *got;
19817 + bfd_vma symval, r_offset, addend, addr;
19818 + bfd_signed_vma size_adjust = 0, distance;
19819 + unsigned long r_symndx;
19820 + bfd_boolean defined = TRUE, dynamic = FALSE;
19821 + unsigned char sym_type;
19823 + frag->offset_adjust += delta;
19824 + state = next_state = &relax_state[frag->state];
19825 + rela = frag->rela;
19827 + BFD_ASSERT(state->id == frag->state);
19829 + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
19830 + (frag->offset_adjust < 0)?'-':'+',
19831 + abs(frag->offset_adjust), state->name, state->size);
19835 + RDBG(": no reloc, ignoring\n");
19839 + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
19840 + BFD_ASSERT(state != RS_NONE);
19842 + r_offset = rela->r_offset + frag->offset_adjust;
19843 + addr = sec->output_section->vma + sec->output_offset + r_offset;
19845 + switch (frag->state)
19848 + size_adjust = ((addr + (1 << rela->r_addend) - 1)
19849 + & ~((1 << rela->r_addend) - 1));
19850 + size_adjust -= (sec->output_section->vma + sec->output_offset
19851 + + frag->offset + frag->offset_adjust
19852 + + frag->size + frag->size_adjust);
19854 + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
19855 + frag->size + frag->size_adjust + size_adjust);
19859 + if (frag->refcount == 0 && frag->size_adjust == 0)
19861 + RDBG(": discarding frag\n");
19862 + size_adjust = -4;
19864 + else if (frag->refcount > 0 && frag->size_adjust < 0)
19866 + RDBG(": un-discarding frag\n");
19872 + if (rd->reloc_data)
19873 + r_data = &rd->reloc_data[frag->rela - relocs];
19875 + /* If this is a cpool reference, we want the symbol that the
19876 + cpool entry refers to, not the symbol for the cpool entry
19877 + itself, as we already know what frag it's in. */
19878 + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
19880 + Elf_Internal_Rela *irela = r_data->add_frag->rela;
19882 + r_symndx = ELF_R_SYM(irela->r_info);
19883 + addend = irela->r_addend;
19885 + /* The constant pool must be in the same section as the
19886 + reloc referring to it. */
19887 + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
19889 + ind_data = r_data;
19890 + r_data = &rd->reloc_data[irela - relocs];
19894 + r_symndx = ELF_R_SYM(rela->r_info);
19895 + addend = rela->r_addend;
19898 + /* Get the value of the symbol referred to by the reloc. */
19899 + if (r_symndx < symtab_hdr->sh_info)
19901 + Elf_Internal_Sym *isym;
19903 + isym = isymbuf + r_symndx;
19906 + RDBG(" local sym %lu: ", r_symndx);
19908 + if (isym->st_shndx == SHN_UNDEF)
19910 + else if (isym->st_shndx == SHN_ABS)
19911 + sym_sec = bfd_abs_section_ptr;
19912 + else if (isym->st_shndx == SHN_COMMON)
19913 + sym_sec = bfd_com_section_ptr;
19915 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
19917 + symval = isym->st_value;
19918 + sym_type = ELF_ST_TYPE(isym->st_info);
19919 + target_frag = local_sym_frag[r_symndx];
19921 + if (local_got_ents)
19922 + got = local_got_ents[r_symndx];
19928 + /* Global symbol */
19929 + unsigned long index;
19930 + struct elf_link_hash_entry *h;
19931 + struct elf_avr32_link_hash_entry *havr;
19933 + index = r_symndx - symtab_hdr->sh_info;
19934 + h = elf_sym_hashes(abfd)[index];
19935 + BFD_ASSERT(h != NULL);
19937 + while (h->root.type == bfd_link_hash_indirect
19938 + || h->root.type == bfd_link_hash_warning)
19939 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
19941 + havr = (struct elf_avr32_link_hash_entry *)h;
19942 + got = h->got.glist;
19946 + RDBG(" %s: ", h->root.root.string);
19948 + if (h->root.type != bfd_link_hash_defined
19949 + && h->root.type != bfd_link_hash_defweak)
19954 + else if ((info->shared && !info->symbolic && h->dynindx != -1)
19955 + || (htab->root.dynamic_sections_created
19956 + && h->def_dynamic && !h->def_regular))
19958 + RDBG("(dynamic)");
19960 + sym_sec = h->root.u.def.section;
19964 + sym_sec = h->root.u.def.section;
19965 + symval = h->root.u.def.value;
19966 + target_frag = havr->sym_frag;
19969 + sym_type = h->type;
19972 + /* Thanks to elf32-ppc for this one. */
19973 + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
19975 + /* At this stage in linking, no SEC_MERGE symbol has been
19976 + adjusted, so all references to such symbols need to be
19977 + passed through _bfd_merged_section_offset. (Later, in
19978 + relocate_section, all SEC_MERGE symbols *except* for
19979 + section symbols have been adjusted.)
19981 + SEC_MERGE sections are not relaxed by us, as they
19982 + shouldn't contain any code. */
19984 + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
19986 + /* gas may reduce relocations against symbols in SEC_MERGE
19987 + sections to a relocation against the section symbol when
19988 + the original addend was zero. When the reloc is against
19989 + a section symbol we should include the addend in the
19990 + offset passed to _bfd_merged_section_offset, since the
19991 + location of interest is the original symbol. On the
19992 + other hand, an access to "sym+addend" where "sym" is not
19993 + a section symbol should not include the addend; Such an
19994 + access is presumed to be an offset from "sym"; The
19995 + location of interest is just "sym". */
19996 + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
19997 + (sym_type == STT_SECTION)?"section":"not section",
19998 + sym_sec->output_section->vma + sym_sec->output_offset,
20001 + if (sym_type == STT_SECTION)
20002 + symval += addend;
20004 + symval = (_bfd_merged_section_offset
20006 + elf_section_data(sym_sec)->sec_info, symval));
20008 + if (sym_type != STT_SECTION)
20009 + symval += addend;
20012 + symval += addend;
20014 + if (defined && !dynamic)
20016 + RDBG("0x%lx+0x%lx",
20017 + sym_sec->output_section->vma + sym_sec->output_offset,
20019 + symval += sym_sec->output_section->vma + sym_sec->output_offset;
20022 + if (r_data && r_data->add_frag)
20023 + /* If the add_frag pointer is set, it means that this reloc
20024 + has an addend that may be affected by relaxation. */
20025 + target_frag = r_data->add_frag;
20029 + symval += target_frag->offset_adjust;
20031 + /* If target_frag comes after this frag in the same
20032 + section, we should assume that it will be moved by
20033 + the same amount we are. */
20034 + if ((target_frag - rd->frag) < (int)rd->frag_count
20035 + && target_frag > frag)
20039 + distance = symval - addr;
20041 + /* First, try to make a direct reference. If the symbol is
20042 + dynamic or undefined, we must take care not to change its
20043 + reference type, that is, we can't make it direct.
20045 + Also, it seems like some sections may actually be resized
20046 + after the relaxation code is done, so we can't really
20047 + trust that our "distance" is correct. There's really no
20048 + easy solution to this problem, so we'll just disallow
20049 + direct references to SEC_DATA sections.
20051 + Oh, and .bss isn't actually SEC_DATA, so we disallow
20052 + !SEC_HAS_CONTENTS as well. */
20053 + if (!dynamic && defined
20054 + && (htab->direct_data_refs
20055 + || (!(sym_sec->flags & SEC_DATA)
20056 + && (sym_sec->flags & SEC_HAS_CONTENTS)))
20057 + && next_state->direct)
20059 + next_state = &relax_state[next_state->direct];
20060 + RDBG(" D-> %s", next_state->name);
20063 + /* Iterate backwards until we find a state that fits. */
20064 + while (next_state->prev
20065 + && !rs_is_good_enough(next_state, frag, symval, addr,
20066 + got, ind_data, delta))
20068 + next_state = &relax_state[next_state->prev];
20069 + RDBG(" P-> %s", next_state->name);
20072 + /* Then try to find the best possible state. */
20073 + while (next_state->next)
20075 + const struct relax_state *candidate;
20077 + candidate = &relax_state[next_state->next];
20078 + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
20079 + ind_data, delta))
20082 + next_state = candidate;
20083 + RDBG(" N-> %s", next_state->name);
20086 + RDBG(" [size %ld]\n", next_state->size);
20088 + BFD_ASSERT(next_state->id);
20089 + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
20091 + size_adjust = next_state->size - state->size;
20093 + /* There's a theoretical possibility that shrinking one frag
20094 + may cause another to grow, which may cause the first one to
20095 + grow as well, and we're back where we started. Avoid this
20096 + scenario by disallowing a frag that has grown to ever
20098 + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
20100 + if (frag->has_grown)
20101 + next_state = state;
20103 + unref_got_entry(htab, got);
20105 + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
20107 + ref_got_entry(htab, got);
20108 + frag->has_grown = TRUE;
20110 + else if (state->reftype == REF_CPOOL
20111 + && next_state->reftype != REF_CPOOL)
20113 + if (frag->has_grown)
20114 + next_state = state;
20116 + ind_data->add_frag->refcount--;
20118 + else if (state->reftype != REF_CPOOL
20119 + && next_state->reftype == REF_CPOOL)
20121 + ind_data->add_frag->refcount++;
20122 + frag->has_grown = TRUE;
20126 + if (frag->has_grown && size_adjust < 0)
20127 + next_state = state;
20128 + else if (size_adjust > 0)
20129 + frag->has_grown = TRUE;
20132 + size_adjust = next_state->size - state->size;
20133 + frag->state = next_state->id;
20139 + htab->repeat_pass = TRUE;
20141 + frag->size_adjust += size_adjust;
20142 + sec->size += size_adjust;
20143 + delta += size_adjust;
20145 + BFD_ASSERT((frag->offset + frag->offset_adjust
20146 + + frag->size + frag->size_adjust)
20147 + == (frag[1].offset + frag[1].offset_adjust + delta));
20153 + release_local_syms(abfd, isymbuf);
20154 + release_internal_relocs(sec, relocs);
20158 +static bfd_boolean
20159 +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
20160 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
20162 + struct elf_link_hash_entry *h = &havr->root;
20164 + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
20165 + || h->root.type == bfd_link_hash_defweak))
20167 + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
20168 + h->root.root.string, h->root.u.def.value,
20169 + h->root.u.def.value + havr->sym_frag->offset_adjust);
20170 + h->root.u.def.value += havr->sym_frag->offset_adjust;
20175 +static bfd_boolean
20176 +adjust_syms(struct bfd_link_info *info)
20178 + struct elf_avr32_link_hash_table *htab;
20181 + htab = avr32_elf_hash_table(info);
20182 + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
20184 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
20186 + Elf_Internal_Sym *isymbuf;
20187 + struct fragment **local_sym_frag, *frag;
20188 + unsigned int i, sym_count;
20190 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
20191 + if (sym_count == 0)
20194 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
20198 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
20200 + for (i = 0; i < sym_count; i++)
20202 + frag = local_sym_frag[i];
20205 + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
20206 + abfd->filename, i, isymbuf[i].st_value,
20207 + isymbuf[i].st_value + frag->offset_adjust);
20208 + isymbuf[i].st_value += frag->offset_adjust;
20212 + release_local_syms(abfd, isymbuf);
20215 + htab->symbols_adjusted = TRUE;
20219 +static bfd_boolean
20220 +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
20222 + struct avr32_relax_data *rd;
20223 + Elf_Internal_Rela *relocs;
20224 + Elf_Internal_Shdr *symtab_hdr;
20226 + bfd_boolean ret = FALSE;
20228 + rd = avr32_relax_data(sec);
20229 + if (!rd->reloc_data)
20232 + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
20233 + sec->reloc_count);
20235 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20239 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
20241 + for (i = 0; i < sec->reloc_count; i++)
20243 + Elf_Internal_Rela *rela = &relocs[i];
20244 + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
20245 + struct fragment *sym_frag;
20246 + unsigned long r_symndx;
20248 + if (r_data->add_frag)
20250 + r_symndx = ELF_R_SYM(rela->r_info);
20252 + if (r_symndx < symtab_hdr->sh_info)
20253 + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
20256 + struct elf_link_hash_entry *h;
20258 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
20260 + while (h->root.type == bfd_link_hash_indirect
20261 + || h->root.type == bfd_link_hash_warning)
20262 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20264 + BFD_ASSERT(h->root.type == bfd_link_hash_defined
20265 + || h->root.type == bfd_link_hash_defweak);
20267 + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
20270 + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
20272 + rela->r_addend + r_data->add_frag->offset_adjust
20273 + - (sym_frag ? sym_frag->offset_adjust : 0));
20275 + /* If this is against a section symbol, we won't find any
20276 + sym_frag, so we'll just adjust the addend. */
20277 + rela->r_addend += r_data->add_frag->offset_adjust;
20279 + rela->r_addend -= sym_frag->offset_adjust;
20281 + if (r_data->sub_frag)
20283 + bfd_byte *contents;
20284 + bfd_signed_vma diff;
20286 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20290 + /* I realize now that sub_frag is misnamed. It's
20291 + actually add_frag which is subtracted in this
20293 + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
20294 + diff += (r_data->sub_frag->offset_adjust
20295 + - r_data->add_frag->offset_adjust);
20296 + bfd_put_32(abfd, diff, contents + rela->r_offset);
20298 + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
20300 + release_contents(sec, contents);
20304 + BFD_ASSERT(!r_data->sub_frag);
20310 + release_internal_relocs(sec, relocs);
20314 +static bfd_boolean
20315 +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
20317 + struct elf_avr32_link_hash_table *htab;
20318 + struct avr32_relax_data *rd;
20319 + struct fragment *frag, *fragend;
20320 + Elf_Internal_Rela *relocs = NULL;
20321 + bfd_byte *contents = NULL;
20323 + bfd_boolean ret = FALSE;
20325 + htab = avr32_elf_hash_table(info);
20326 + rd = avr32_relax_data(sec);
20328 + if (!htab->symbols_adjusted)
20329 + if (!adjust_syms(info))
20332 + if (rd->is_relaxable)
20334 + /* Resize the section first, so that we can be sure that enough
20335 + memory is allocated in case the section has grown. */
20336 + if (sec->size > sec->rawsize
20337 + && elf_section_data(sec)->this_hdr.contents)
20339 + /* We must not use cached data if the section has grown. */
20340 + free(elf_section_data(sec)->this_hdr.contents);
20341 + elf_section_data(sec)->this_hdr.contents = NULL;
20344 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
20347 + contents = retrieve_contents(abfd, sec, info->keep_memory);
20351 + fragend = rd->frag + rd->frag_count;
20353 + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
20354 + abfd->filename, sec->name, relocs, contents);
20356 + /* First, move the data into place. We must take care to move
20357 + frags in the right order so that we don't accidentally
20358 + overwrite parts of the next frag. */
20359 + for (frag = rd->frag; frag < fragend; frag++)
20361 + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
20362 + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
20363 + abs(frag->offset_adjust),
20364 + frag->size, frag->size_adjust >= 0 ? '+' : '-',
20365 + abs(frag->size_adjust));
20366 + if (frag->offset_adjust > 0)
20368 + struct fragment *prev = frag - 1;
20369 + struct fragment *last;
20371 + for (last = frag; last < fragend && last->offset_adjust > 0;
20374 + if (last == fragend)
20377 + for (frag = last; frag != prev; frag--)
20379 + if (frag->offset_adjust
20380 + && frag->size + frag->size_adjust > 0)
20382 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20383 + frag->offset, frag->offset + frag->offset_adjust,
20384 + frag->size + frag->size_adjust);
20385 + memmove(contents + frag->offset + frag->offset_adjust,
20386 + contents + frag->offset,
20387 + frag->size + frag->size_adjust);
20392 + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
20394 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
20395 + frag->offset, frag->offset + frag->offset_adjust,
20396 + frag->size + frag->size_adjust);
20397 + memmove(contents + frag->offset + frag->offset_adjust,
20398 + contents + frag->offset,
20399 + frag->size + frag->size_adjust);
20405 + for (frag = rd->frag; frag < fragend; frag++)
20407 + const struct relax_state *state, *istate;
20408 + struct avr32_reloc_data *r_data = NULL;
20410 + istate = &relax_state[frag->initial_state];
20411 + state = &relax_state[frag->state];
20413 + if (rd->reloc_data)
20414 + r_data = &rd->reloc_data[frag->rela - relocs];
20416 + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
20417 + BFD_ASSERT(state->reftype != REF_CPOOL
20418 + || r_data->add_frag->refcount > 0);
20420 + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
20422 + struct fragment *ifrag;
20424 + /* An indirect reference through the cpool has been
20425 + converted to a direct reference. We must update the
20426 + reloc to point to the symbol itself instead of the
20427 + constant pool entry. The reloc type will be updated
20429 + ifrag = r_data->add_frag;
20430 + frag->rela->r_info = ifrag->rela->r_info;
20431 + frag->rela->r_addend = ifrag->rela->r_addend;
20433 + /* Copy the reloc data so the addend will be adjusted
20434 + correctly later. */
20435 + *r_data = rd->reloc_data[ifrag->rela - relocs];
20438 + /* Move all relocs covered by this frag. */
20440 + BFD_ASSERT(&relocs[i] <= frag->rela);
20442 + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
20444 + if (frag == rd->frag)
20445 + BFD_ASSERT(i == 0);
20447 + BFD_ASSERT(&relocs[i] > frag[-1].rela);
20449 + /* If non-null, frag->rela is the last relocation in the
20450 + fragment. frag->rela can only be null in the last
20451 + fragment, so in that case, we'll just do the rest. */
20452 + for (; (i < sec->reloc_count
20453 + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
20455 + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
20456 + relocs[i].r_offset + frag->offset_adjust);
20457 + relocs[i].r_offset += frag->offset_adjust;
20460 + if (frag->refcount == 0)
20462 + /* If this frag is to be discarded, make sure we won't
20463 + relocate it later on. */
20464 + BFD_ASSERT(frag->state == RS_CPENT);
20465 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20468 + else if (frag->state == RS_ALIGN)
20470 + bfd_vma addr, addr_end;
20472 + addr = frag->rela->r_offset;
20473 + addr_end = (frag->offset + frag->offset_adjust
20474 + + frag->size + frag->size_adjust);
20476 + /* If the section is executable, insert NOPs.
20477 + Otherwise, insert zeroes. */
20478 + if (sec->flags & SEC_CODE)
20482 + bfd_put_8(abfd, 0, contents + addr);
20486 + BFD_ASSERT(!((addr_end - addr) & 1));
20488 + while (addr < addr_end)
20490 + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
20495 + memset(contents + addr, 0, addr_end - addr);
20497 + else if (state->opcode_mask)
20501 + /* Update the opcode and the relocation type unless it's a
20502 + "special" relax state (i.e. RS_NONE, RS_ALIGN or
20503 + RS_CPENT.), in which case the opcode mask is zero. */
20504 + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
20505 + insn &= ~state->opcode_mask;
20506 + insn |= state->opcode;
20507 + RDBG(" 0x%lx: inserting insn %08lx\n",
20508 + frag->rela->r_offset, insn);
20509 + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
20511 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
20515 + if ((frag + 1) == fragend)
20516 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20517 + + frag->size_adjust) == sec->size);
20519 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
20520 + + frag->size_adjust)
20521 + == (frag[1].offset + frag[1].offset_adjust));
20525 + /* Adjust reloc addends and DIFF32 differences */
20526 + if (!adjust_relocs(abfd, sec, info))
20532 + release_contents(sec, contents);
20533 + release_internal_relocs(sec, relocs);
20537 +static bfd_boolean
20538 +avr32_elf_relax_section(bfd *abfd, asection *sec,
20539 + struct bfd_link_info *info, bfd_boolean *again)
20541 + struct elf_avr32_link_hash_table *htab;
20542 + struct avr32_relax_data *rd;
20545 + if (info->relocatable)
20548 + htab = avr32_elf_hash_table(info);
20549 + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
20550 + && sec != htab->sgot)
20553 + if (!htab->relocations_analyzed)
20555 + if (!analyze_relocations(info))
20557 + htab->relocations_analyzed = TRUE;
20560 + rd = avr32_relax_data(sec);
20562 + if (rd->iteration != htab->relax_iteration)
20564 + if (!htab->repeat_pass)
20565 + htab->relax_pass++;
20566 + htab->relax_iteration++;
20567 + htab->repeat_pass = FALSE;
20572 + switch (htab->relax_pass)
20574 + case RELAX_PASS_SIZE_FRAGS:
20575 + if (!avr32_size_frags(abfd, sec, info))
20579 + case RELAX_PASS_MOVE_DATA:
20580 + if (!avr32_move_data(abfd, sec, info))
20591 +static bfd_reloc_status_type
20592 +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
20593 + bfd_signed_vma relocation, reloc_howto_type *howto);
20594 +static bfd_reloc_status_type
20595 +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
20596 + asection *input_section, bfd_byte *contents,
20597 + Elf_Internal_Rela *rel, bfd_vma value);
20598 +static bfd_boolean
20599 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20600 + bfd *input_bfd, asection *input_section,
20601 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20602 + Elf_Internal_Sym *local_syms,
20603 + asection **local_sections);
20606 +#define symbol_address(symbol) \
20607 + symbol->value + symbol->section->output_section->vma \
20608 + + symbol->section->output_offset
20610 +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
20613 + unsigned long x; \
20614 + x = bfd_get_##size (abfd, data + reloc_entry->address); \
20615 + x &= ~reloc_entry->howto->dst_mask; \
20616 + x |= field & reloc_entry->howto->dst_mask; \
20617 + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
20621 +static bfd_reloc_status_type
20622 +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
20623 + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
20624 + bfd_signed_vma relocation,
20625 + reloc_howto_type *howto)
20629 + /* We take "complain_overflow_dont" to mean "don't complain on
20630 + alignment either". This way, we don't have to special-case
20632 + if (howto->complain_on_overflow == complain_overflow_dont)
20633 + return bfd_reloc_ok;
20635 + /* Check if the value is correctly aligned */
20636 + if (relocation & ((1 << howto->rightshift) - 1))
20638 + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
20639 + sec->owner->filename, sec->name, rela->r_offset,
20640 + howto->name, relocation, howto->rightshift);
20641 + return bfd_reloc_overflow;
20644 + /* Now, get rid of the unnecessary bits */
20645 + relocation >>= howto->rightshift;
20646 + reloc_u = (bfd_vma)relocation;
20648 + switch (howto->complain_on_overflow)
20650 + case complain_overflow_unsigned:
20651 + case complain_overflow_bitfield:
20652 + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
20654 + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
20655 + sec->owner->filename, sec->name, rela->r_offset,
20656 + howto->name, reloc_u, howto->bitsize);
20657 + RDBG("reloc vma: 0x%lx\n",
20658 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20660 + return bfd_reloc_overflow;
20663 + case complain_overflow_signed:
20664 + if (relocation > (1 << (howto->bitsize - 1)) - 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, reloc_u, 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;
20674 + if (relocation < -(1 << (howto->bitsize - 1)))
20676 + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
20677 + sec->owner->filename, sec->name, rela->r_offset,
20678 + howto->name, -relocation, howto->bitsize);
20679 + RDBG("reloc vma: 0x%lx\n",
20680 + sec->output_section->vma + sec->output_offset + rela->r_offset);
20682 + return bfd_reloc_overflow;
20689 + return bfd_reloc_ok;
20693 +static bfd_reloc_status_type
20694 +avr32_final_link_relocate(reloc_howto_type *howto,
20696 + asection *input_section,
20697 + bfd_byte *contents,
20698 + Elf_Internal_Rela *rel,
20702 + bfd_vma relocation;
20703 + bfd_reloc_status_type status;
20704 + bfd_byte *p = contents + rel->r_offset;
20707 + pr_debug(" (6b) final link relocate\n");
20709 + /* Sanity check the address */
20710 + if (rel->r_offset > input_section->size)
20712 + (*_bfd_error_handler)
20713 + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
20714 + input_bfd, input_section, rel->r_offset, input_section->size);
20715 + return bfd_reloc_outofrange;
20718 + relocation = value + rel->r_addend;
20720 + if (howto->pc_relative)
20724 + addr = input_section->output_section->vma
20725 + + input_section->output_offset + rel->r_offset;
20726 + addr &= ~0UL << howto->rightshift;
20727 + relocation -= addr;
20730 + switch (ELF32_R_TYPE(rel->r_info))
20732 + case R_AVR32_16N_PCREL:
20733 + /* sub reg, pc, . - (sym + addend) */
20734 + relocation = -relocation;
20738 + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
20740 + relocation >>= howto->rightshift;
20741 + if (howto->bitsize == 21)
20742 + field = (relocation & 0xffff)
20743 + | ((relocation & 0x10000) << 4)
20744 + | ((relocation & 0x1e0000) << 8);
20745 + else if (howto->bitsize == 12)
20746 + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
20747 + else if (howto->bitsize == 10)
20748 + field = ((relocation & 0xff) << 4)
20749 + | ((relocation & 0x300) >> 8);
20751 + field = relocation << howto->bitpos;
20753 + switch (howto->size)
20756 + x = bfd_get_8 (input_bfd, p);
20757 + x &= ~howto->dst_mask;
20758 + x |= field & howto->dst_mask;
20759 + bfd_put_8 (input_bfd, (bfd_vma) x, p);
20762 + x = bfd_get_16 (input_bfd, p);
20763 + x &= ~howto->dst_mask;
20764 + x |= field & howto->dst_mask;
20765 + bfd_put_16 (input_bfd, (bfd_vma) x, p);
20768 + x = bfd_get_32 (input_bfd, p);
20769 + x &= ~howto->dst_mask;
20770 + x |= field & howto->dst_mask;
20771 + bfd_put_32 (input_bfd, (bfd_vma) x, p);
20780 +/* (6) Apply relocations to the normal (non-dynamic) sections */
20782 +static bfd_boolean
20783 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
20784 + bfd *input_bfd, asection *input_section,
20785 + bfd_byte *contents, Elf_Internal_Rela *relocs,
20786 + Elf_Internal_Sym *local_syms,
20787 + asection **local_sections)
20789 + struct elf_avr32_link_hash_table *htab;
20790 + Elf_Internal_Shdr *symtab_hdr;
20791 + Elf_Internal_Rela *rel, *relend;
20792 + struct elf_link_hash_entry **sym_hashes;
20793 + struct got_entry **local_got_ents;
20795 + asection *srelgot;
20797 + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
20798 + input_bfd->filename, input_section->name, input_section->size);
20800 + /* If we're doing a partial link, we don't have to do anything since
20801 + we're using RELA relocations */
20802 + if (info->relocatable)
20805 + htab = avr32_elf_hash_table(info);
20806 + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
20807 + sym_hashes = elf_sym_hashes(input_bfd);
20808 + local_got_ents = elf_local_got_ents(input_bfd);
20809 + sgot = htab->sgot;
20810 + srelgot = htab->srelgot;
20812 + relend = relocs + input_section->reloc_count;
20813 + for (rel = relocs; rel < relend; rel++)
20815 + unsigned long r_type, r_symndx;
20816 + reloc_howto_type *howto;
20817 + Elf_Internal_Sym *sym = NULL;
20818 + struct elf_link_hash_entry *h = NULL;
20819 + asection *sec = NULL;
20822 + bfd_reloc_status_type status;
20824 + r_type = ELF32_R_TYPE(rel->r_info);
20825 + r_symndx = ELF32_R_SYM(rel->r_info);
20827 + if (r_type == R_AVR32_NONE
20828 + || r_type == R_AVR32_ALIGN
20829 + || r_type == R_AVR32_DIFF32
20830 + || r_type == R_AVR32_DIFF16
20831 + || r_type == R_AVR32_DIFF8)
20834 + /* Sanity check */
20835 + if (r_type > R_AVR32_max)
20837 + bfd_set_error(bfd_error_bad_value);
20841 + howto = &elf_avr32_howto_table[r_type];
20843 + if (r_symndx < symtab_hdr->sh_info)
20845 + sym = local_syms + r_symndx;
20846 + sec = local_sections[r_symndx];
20848 + pr_debug(" (6a) processing %s against local symbol %lu\n",
20849 + howto->name, r_symndx);
20851 + /* The following function changes rel->r_addend behind our back. */
20852 + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
20853 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20857 + if (sym_hashes == NULL)
20860 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
20861 + while (h->root.type == bfd_link_hash_indirect
20862 + || h->root.type == bfd_link_hash_warning)
20863 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
20865 + pr_debug(" (6a) processing %s against symbol %s\n",
20866 + howto->name, h->root.root.string);
20868 + if (h->root.type == bfd_link_hash_defined
20869 + || h->root.type == bfd_link_hash_defweak)
20873 + dyn = htab->root.dynamic_sections_created;
20874 + sec = h->root.u.def.section;
20876 + if (sec->output_section)
20877 + value = (h->root.u.def.value
20878 + + sec->output_section->vma
20879 + + sec->output_offset);
20881 + value = h->root.u.def.value;
20883 + else if (h->root.type == bfd_link_hash_undefweak)
20885 + else if (info->unresolved_syms_in_objects == RM_IGNORE
20886 + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
20891 + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
20892 + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
20893 + if (!info->callbacks->undefined_symbol
20894 + (info, h->root.root.string, input_bfd,
20895 + input_section, rel->r_offset, err))
20900 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
20905 + case R_AVR32_GOT32:
20906 + case R_AVR32_GOT16:
20907 + case R_AVR32_GOT8:
20908 + case R_AVR32_GOT21S:
20909 + case R_AVR32_GOT18SW:
20910 + case R_AVR32_GOT16S:
20911 + case R_AVR32_GOT7UW:
20912 + case R_AVR32_LDA_GOT:
20913 + case R_AVR32_GOTCALL:
20914 + BFD_ASSERT(sgot != NULL);
20918 + BFD_ASSERT(h->got.glist->refcount > 0);
20919 + offset = h->got.glist->offset;
20921 + BFD_ASSERT(offset < sgot->size);
20922 + if (!elf_hash_table(info)->dynamic_sections_created
20923 + || (h->def_regular
20924 + && (!info->shared
20925 + || info->symbolic
20926 + || h->dynindx == -1)))
20928 + /* This is actually a static link, or it is a
20929 + -Bsymbolic link and the symbol is defined
20930 + locally, or the symbol was forced to be local. */
20931 + bfd_put_32(output_bfd, value, sgot->contents + offset);
20936 + BFD_ASSERT(local_got_ents &&
20937 + local_got_ents[r_symndx]->refcount > 0);
20938 + offset = local_got_ents[r_symndx]->offset;
20940 + /* Local GOT entries don't have relocs. If this is a
20941 + shared library, the dynamic linker will add the load
20942 + address to the initial value at startup. */
20943 + BFD_ASSERT(offset < sgot->size);
20944 + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
20946 + bfd_put_32 (output_bfd, value, sgot->contents + offset);
20949 + value = sgot->output_offset + offset;
20950 + pr_debug("GOT reference: New value %lx\n", value);
20953 + case R_AVR32_GOTPC:
20954 + /* This relocation type is for constant pool entries used in
20955 + the calculation "Rd = PC - (PC - GOT)", where the
20956 + constant pool supplies the constant (PC - GOT)
20957 + offset. The symbol value + addend indicates where the
20958 + value of PC is taken. */
20959 + value -= sgot->output_section->vma;
20962 + case R_AVR32_32_PCREL:
20963 + /* We must adjust r_offset to account for discarded data in
20964 + the .eh_frame section. This is probably not the right
20965 + way to do this, since AFAICS all other architectures do
20966 + it some other way. I just can't figure out how... */
20968 + bfd_vma r_offset;
20970 + r_offset = _bfd_elf_section_offset(output_bfd, info,
20973 + if (r_offset == (bfd_vma)-1
20974 + || r_offset == (bfd_vma)-2)
20976 + rel->r_offset = r_offset;
20981 + /* We need to emit a run-time relocation in the following cases:
20982 + - we're creating a shared library
20983 + - the symbol is not defined in any regular objects
20985 + Of course, sections that aren't going to be part of the
20986 + run-time image will not get any relocs, and undefined
20987 + symbols won't have any either (only weak undefined
20988 + symbols should get this far). */
20989 + if ((info->shared
20990 + || (elf_hash_table(info)->dynamic_sections_created
20992 + && h->def_dynamic
20993 + && !h->def_regular))
20995 + && (input_section->flags & SEC_ALLOC))
20997 + Elf_Internal_Rela outrel;
20999 + bfd_boolean skip, relocate;
21000 + struct elf_avr32_link_hash_entry *avrh;
21002 + pr_debug("Going to generate dynamic reloc...\n");
21005 + relocate = FALSE;
21007 + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
21010 + if (outrel.r_offset == (bfd_vma)-1)
21012 + else if (outrel.r_offset == (bfd_vma)-2)
21013 + skip = TRUE, relocate = TRUE;
21015 + outrel.r_offset += (input_section->output_section->vma
21016 + + input_section->output_offset);
21018 + pr_debug(" ... offset %lx, dynindx %ld\n",
21019 + outrel.r_offset, h ? h->dynindx : -1);
21022 + memset(&outrel, 0, sizeof(outrel));
21025 + avrh = (struct elf_avr32_link_hash_entry *)h;
21026 + /* h->dynindx may be -1 if this symbol was marked to
21029 + || ((info->symbolic || h->dynindx == -1)
21030 + && h->def_regular))
21033 + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
21034 + outrel.r_addend = value + rel->r_addend;
21035 + pr_debug(" ... R_AVR32_RELATIVE\n");
21039 + BFD_ASSERT(h->dynindx != -1);
21041 + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
21042 + outrel.r_addend = rel->r_addend;
21043 + pr_debug(" ... R_AVR32_GLOB_DAT\n");
21047 + pr_debug("srelgot reloc_count: %d, size %lu\n",
21048 + srelgot->reloc_count, srelgot->size);
21050 + loc = srelgot->contents;
21051 + loc += srelgot->reloc_count++ * sizeof(Elf32_External_Rela);
21052 + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
21054 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
21055 + <= srelgot->size);
21063 + status = avr32_final_link_relocate(howto, input_bfd, input_section,
21064 + contents, rel, value);
21068 + case bfd_reloc_ok:
21071 + case bfd_reloc_overflow:
21073 + const char *name;
21076 + name = h->root.root.string;
21079 + name = bfd_elf_string_from_elf_section(input_bfd,
21080 + symtab_hdr->sh_link,
21082 + if (name == NULL)
21084 + if (*name == '\0')
21085 + name = bfd_section_name(input_bfd, sec);
21087 + if (!((*info->callbacks->reloc_overflow)
21088 + (info, (h ? &h->root : NULL), name, howto->name,
21089 + rel->r_addend, input_bfd, input_section, rel->r_offset)))
21094 + case bfd_reloc_outofrange:
21104 +/* Additional processing of dynamic sections after relocation */
21106 +static bfd_boolean
21107 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
21108 + struct elf_link_hash_entry *h,
21109 + Elf_Internal_Sym *sym);
21110 +static bfd_boolean
21111 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
21114 +/* (7) Initialize the contents of a dynamic symbol and/or emit
21115 + relocations for it */
21117 +static bfd_boolean
21118 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
21119 + struct elf_link_hash_entry *h,
21120 + Elf_Internal_Sym *sym)
21122 + struct elf_avr32_link_hash_table *htab;
21123 + struct got_entry *got;
21125 + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
21127 + htab = avr32_elf_hash_table(info);
21128 + got = h->got.glist;
21130 + if (got && got->refcount > 0)
21133 + asection *srelgot;
21134 + Elf_Internal_Rela rel;
21137 + /* This symbol has an entry in the GOT. Set it up. */
21138 + sgot = htab->sgot;
21139 + srelgot = htab->srelgot;
21140 + BFD_ASSERT(sgot && srelgot);
21142 + rel.r_offset = (sgot->output_section->vma
21143 + + sgot->output_offset
21146 + /* If this is a static link, or it is a -Bsymbolic link and the
21147 + symbol is defined locally or was forced to be local because
21148 + of a version file, we just want to emit a RELATIVE reloc. The
21149 + entry in the global offset table will already have been
21150 + initialized in the relocate_section function. */
21151 + if ((info->shared
21152 + && !info->symbolic
21153 + && h->dynindx != -1)
21154 + || (htab->root.dynamic_sections_created
21155 + && h->def_dynamic
21156 + && !h->def_regular))
21158 + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
21159 + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
21160 + rel.r_addend = 0;
21162 + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
21163 + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
21164 + srelgot->reloc_count, srelgot->size);
21166 + loc = (srelgot->contents
21167 + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
21168 + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
21170 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
21171 + <= srelgot->size);
21175 + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
21176 + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
21177 + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
21178 + sym->st_shndx = SHN_ABS;
21183 +/* (8) Do any remaining initialization of the dynamic sections */
21185 +static bfd_boolean
21186 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
21188 + struct elf_avr32_link_hash_table *htab;
21189 + asection *sgot, *sdyn;
21191 + pr_debug("(8) finish dynamic sections\n");
21193 + htab = avr32_elf_hash_table(info);
21194 + sgot = htab->sgot;
21195 + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
21197 + if (htab->root.dynamic_sections_created)
21199 + Elf32_External_Dyn *dyncon, *dynconend;
21201 + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
21203 + dyncon = (Elf32_External_Dyn *)sdyn->contents;
21204 + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
21205 + for (; dyncon < dynconend; dyncon++)
21207 + Elf_Internal_Dyn dyn;
21210 + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
21212 + switch (dyn.d_tag)
21218 + s = sgot->output_section;
21219 + BFD_ASSERT(s != NULL);
21220 + dyn.d_un.d_ptr = s->vma;
21221 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21224 + case DT_AVR32_GOTSZ:
21225 + s = sgot->output_section;
21226 + BFD_ASSERT(s != NULL);
21227 + dyn.d_un.d_val = s->size;
21228 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
21233 + /* Fill in the first two entries in the global offset table */
21234 + bfd_put_32(output_bfd,
21235 + sdyn->output_section->vma + sdyn->output_offset,
21238 + /* The runtime linker will fill this one in with the address of
21239 + the run-time link map */
21240 + bfd_put_32(output_bfd, 0, sgot->contents + 4);
21244 + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
21250 +/* AVR32-specific private ELF data */
21252 +static bfd_boolean
21253 +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
21254 +static bfd_boolean
21255 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
21256 +static bfd_boolean
21257 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
21258 +static bfd_boolean
21259 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
21261 +static bfd_boolean
21262 +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
21264 + elf_elfheader(abfd)->e_flags = flags;
21265 + elf_flags_init(abfd) = TRUE;
21270 +/* Copy backend specific data from one object module to another. */
21272 +static bfd_boolean
21273 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
21275 + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
21279 +/* Merge backend specific data from an object file to the output
21280 + object file when linking. */
21282 +static bfd_boolean
21283 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
21285 + flagword out_flags, in_flags;
21287 + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
21288 + ibfd->filename, obfd->filename);
21290 + in_flags = elf_elfheader(ibfd)->e_flags;
21291 + out_flags = elf_elfheader(obfd)->e_flags;
21293 + if (elf_flags_init(obfd))
21295 + /* If one of the inputs are non-PIC, the output must be
21296 + considered non-PIC. The same applies to linkrelax. */
21297 + if (!(in_flags & EF_AVR32_PIC))
21298 + out_flags &= ~EF_AVR32_PIC;
21299 + if (!(in_flags & EF_AVR32_LINKRELAX))
21300 + out_flags &= ~EF_AVR32_LINKRELAX;
21304 + elf_flags_init(obfd) = TRUE;
21305 + out_flags = in_flags;
21308 + elf_elfheader(obfd)->e_flags = out_flags;
21313 +static bfd_boolean
21314 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
21316 + FILE *file = (FILE *)ptr;
21317 + unsigned long flags;
21319 + BFD_ASSERT(abfd != NULL && ptr != NULL);
21321 + _bfd_elf_print_private_bfd_data(abfd, ptr);
21323 + flags = elf_elfheader(abfd)->e_flags;
21325 + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
21327 + if (flags & EF_AVR32_PIC)
21328 + fprintf(file, " [PIC]");
21329 + if (flags & EF_AVR32_LINKRELAX)
21330 + fprintf(file, " [linker relaxable]");
21332 + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
21335 + fprintf(file, _("<Unrecognized flag bits set>"));
21337 + fputc('\n', file);
21342 +/* Set avr32-specific linker options. */
21343 +void bfd_elf32_avr32_set_options(struct bfd_link_info *info,
21344 + int direct_data_refs)
21346 + struct elf_avr32_link_hash_table *htab;
21348 + htab = avr32_elf_hash_table (info);
21349 + htab->direct_data_refs = !!direct_data_refs;
21354 +/* Understanding core dumps */
21356 +static bfd_boolean
21357 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
21358 +static bfd_boolean
21359 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
21361 +static bfd_boolean
21362 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
21364 + /* Linux/AVR32B elf_prstatus */
21365 + if (note->descsz != 148)
21369 + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
21372 + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
21374 + /* Make a ".reg/999" section for pr_reg. The size is for 16
21375 + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
21376 + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
21377 + note->descpos + 72);
21380 +static bfd_boolean
21381 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
21383 + /* Linux/AVR32B elf_prpsinfo */
21384 + if (note->descsz != 128)
21387 + elf_tdata(abfd)->core_program
21388 + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
21389 + elf_tdata(abfd)->core_command
21390 + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
21392 + /* Note that for some reason, a spurious space is tacked
21393 + onto the end of the args in some (at least one anyway)
21394 + implementations, so strip it off if it exists. */
21397 + char *command = elf_tdata (abfd)->core_command;
21398 + int n = strlen (command);
21400 + if (0 < n && command[n - 1] == ' ')
21401 + command[n - 1] = '\0';
21408 +#define ELF_ARCH bfd_arch_avr32
21409 +#define ELF_MACHINE_CODE EM_AVR32
21410 +#define ELF_MAXPAGESIZE 0x1000
21412 +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
21413 +#define TARGET_BIG_NAME "elf32-avr32"
21415 +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
21416 +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
21418 +/* Only RELA relocations are used */
21419 +#define elf_backend_may_use_rel_p 0
21420 +#define elf_backend_may_use_rela_p 1
21421 +#define elf_backend_default_use_rela_p 1
21422 +#define elf_backend_rela_normal 1
21423 +#define elf_info_to_howto_rel NULL
21424 +#define elf_info_to_howto avr32_info_to_howto
21426 +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
21427 +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
21428 +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
21429 +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
21430 +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
21432 +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
21433 +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
21434 +#define elf_backend_relocate_section avr32_elf_relocate_section
21435 +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
21436 +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
21437 +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
21438 +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
21439 +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
21440 +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
21441 +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
21443 +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
21445 +/* Find out which symbols need an entry in .got. */
21446 +#define elf_backend_check_relocs avr32_check_relocs
21447 +#define elf_backend_can_refcount 1
21448 +#define elf_backend_can_gc_sections 1
21449 +#define elf_backend_plt_readonly 1
21450 +#define elf_backend_plt_not_loaded 1
21451 +#define elf_backend_want_plt_sym 0
21452 +#define elf_backend_plt_alignment 2
21453 +#define elf_backend_want_dynbss 0
21454 +#define elf_backend_want_got_plt 0
21455 +#define elf_backend_want_got_sym 1
21456 +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
21458 +#include "elf32-target.h"
21459 diff -Nrup binutils-2.17/bfd/elf32-avr32.c.orig binutils-2.17.atmel.1.3.0/bfd/elf32-avr32.c.orig
21460 --- binutils-2.17/bfd/elf32-avr32.c.orig 1970-01-01 01:00:00.000000000 +0100
21461 +++ binutils-2.17.atmel.1.3.0/bfd/elf32-avr32.c.orig 2007-05-31 17:03:36.000000000 +0200
21463 +/* AVR32-specific support for 32-bit ELF.
21464 + Copyright 2003-2006 Atmel Corporation.
21466 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
21468 + This file is part of BFD, the Binary File Descriptor library.
21470 + This program is free software; you can redistribute it and/or modify
21471 + it under the terms of the GNU General Public License as published by
21472 + the Free Software Foundation; either version 2 of the License, or
21473 + (at your option) any later version.
21475 + This program is distributed in the hope that it will be useful,
21476 + but WITHOUT ANY WARRANTY; without even the implied warranty of
21477 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21478 + GNU General Public License for more details.
21480 + You should have received a copy of the GNU General Public License
21481 + along with this program; if not, write to the Free Software
21482 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21485 +#include "sysdep.h"
21486 +#include "bfdlink.h"
21487 +#include "libbfd.h"
21488 +#include "elf-bfd.h"
21489 +#include "elf/avr32.h"
21492 +#define xRELAX_DEBUG
21495 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
21497 +# define pr_debug(fmt, args...) do { } while (0)
21500 +#ifdef RELAX_DEBUG
21501 +# define RDBG(fmt, args...) fprintf(stderr, fmt, ##args)
21503 +# define RDBG(fmt, args...) do { } while (0)
21506 +/* When things go wrong, we want it to blow up, damnit! */
21509 +#define BFD_ASSERT(expr) \
21514 + bfd_assert(__FILE__, __LINE__); \
21520 +/* The name of the dynamic interpreter. This is put in the .interp section. */
21521 +#define ELF_DYNAMIC_INTERPRETER "/lib/ld.so.1"
21523 +#define AVR32_GOT_HEADER_SIZE 8
21524 +#define AVR32_FUNCTION_STUB_SIZE 8
21526 +#define ELF_R_INFO(x, y) ELF32_R_INFO(x, y)
21527 +#define ELF_R_TYPE(x) ELF32_R_TYPE(x)
21528 +#define ELF_R_SYM(x) ELF32_R_SYM(x)
21530 +#define NOP_OPCODE 0xd703
21533 +/* Mapping between BFD relocations and ELF relocations */
21535 +static reloc_howto_type *
21536 +bfd_elf32_bfd_reloc_type_lookup(bfd *abfd, bfd_reloc_code_real_type code);
21538 +avr32_info_to_howto (bfd *abfd, arelent *cache_ptr, Elf_Internal_Rela *dst);
21540 +/* Generic HOWTO */
21541 +#define GENH(name, align, size, bitsize, pcrel, bitpos, complain, mask) \
21542 + HOWTO(name, align, size, bitsize, pcrel, bitpos, \
21543 + complain_overflow_##complain, bfd_elf_generic_reloc, #name, \
21544 + FALSE, 0, mask, pcrel)
21546 +static reloc_howto_type elf_avr32_howto_table[] = {
21547 + /* NAME ALN SZ BSZ PCREL BP COMPLAIN MASK */
21548 + GENH(R_AVR32_NONE, 0, 0, 0, FALSE, 0, dont, 0x00000000),
21550 + GENH(R_AVR32_32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21551 + GENH(R_AVR32_16, 0, 1, 16, FALSE, 0, bitfield, 0x0000ffff),
21552 + GENH(R_AVR32_8, 0, 0, 8, FALSE, 0, bitfield, 0x000000ff),
21553 + GENH(R_AVR32_32_PCREL, 0, 2, 32, TRUE, 0, signed, 0xffffffff),
21554 + GENH(R_AVR32_16_PCREL, 0, 1, 16, TRUE, 0, signed, 0x0000ffff),
21555 + GENH(R_AVR32_8_PCREL, 0, 0, 8, TRUE, 0, signed, 0x000000ff),
21557 + /* Difference between two symbol (sym2 - sym1). The reloc encodes
21558 + the value of sym1. The field contains the difference before any
21559 + relaxing is done. */
21560 + GENH(R_AVR32_DIFF32, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21561 + GENH(R_AVR32_DIFF16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
21562 + GENH(R_AVR32_DIFF8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
21564 + GENH(R_AVR32_GOT32, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
21565 + GENH(R_AVR32_GOT16, 0, 1, 16, FALSE, 0, signed, 0x0000ffff),
21566 + GENH(R_AVR32_GOT8, 0, 0, 8, FALSE, 0, signed, 0x000000ff),
21568 + GENH(R_AVR32_21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21569 + GENH(R_AVR32_16U, 0, 2, 16, FALSE, 0, unsigned, 0x0000ffff),
21570 + GENH(R_AVR32_16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
21571 + GENH(R_AVR32_8S, 0, 1, 8, FALSE, 4, signed, 0x00000ff0),
21572 + GENH(R_AVR32_8S_EXT, 0, 2, 8, FALSE, 0, signed, 0x000000ff),
21574 + GENH(R_AVR32_22H_PCREL, 1, 2, 21, TRUE, 0, signed, 0x1e10ffff),
21575 + GENH(R_AVR32_18W_PCREL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
21576 + GENH(R_AVR32_16B_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
21577 + GENH(R_AVR32_16N_PCREL, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
21578 + GENH(R_AVR32_14UW_PCREL, 2, 2, 12, TRUE, 0, unsigned, 0x0000f0ff),
21579 + GENH(R_AVR32_11H_PCREL, 1, 1, 10, TRUE, 4, signed, 0x00000ff3),
21580 + GENH(R_AVR32_10UW_PCREL, 2, 2, 8, TRUE, 0, unsigned, 0x000000ff),
21581 + GENH(R_AVR32_9H_PCREL, 1, 1, 8, TRUE, 4, signed, 0x00000ff0),
21582 + GENH(R_AVR32_9UW_PCREL, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
21584 + GENH(R_AVR32_HI16, 16, 2, 16, FALSE, 0, dont, 0x0000ffff),
21585 + GENH(R_AVR32_LO16, 0, 2, 16, FALSE, 0, dont, 0x0000ffff),
21587 + GENH(R_AVR32_GOTPC, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21588 + GENH(R_AVR32_GOTCALL, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21589 + GENH(R_AVR32_LDA_GOT, 2, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21590 + GENH(R_AVR32_GOT21S, 0, 2, 21, FALSE, 0, signed, 0x1e10ffff),
21591 + GENH(R_AVR32_GOT18SW, 2, 2, 16, FALSE, 0, signed, 0x0000ffff),
21592 + GENH(R_AVR32_GOT16S, 0, 2, 16, FALSE, 0, signed, 0x0000ffff),
21593 + GENH(R_AVR32_GOT7UW, 2, 1, 5, FALSE, 4, unsigned, 0x000001f0),
21595 + GENH(R_AVR32_32_CPENT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21596 + GENH(R_AVR32_CPCALL, 2, 2, 16, TRUE, 0, signed, 0x0000ffff),
21597 + GENH(R_AVR32_16_CP, 0, 2, 16, TRUE, 0, signed, 0x0000ffff),
21598 + GENH(R_AVR32_9W_CP, 2, 1, 7, TRUE, 4, unsigned, 0x000007f0),
21600 + GENH(R_AVR32_RELATIVE, 0, 2, 32, FALSE, 0, signed, 0xffffffff),
21601 + GENH(R_AVR32_GLOB_DAT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21602 + GENH(R_AVR32_JMP_SLOT, 0, 2, 32, FALSE, 0, dont, 0xffffffff),
21604 + GENH(R_AVR32_ALIGN, 0, 1, 0, FALSE, 0, unsigned, 0x00000000),
21607 +struct elf_reloc_map
21609 + bfd_reloc_code_real_type bfd_reloc_val;
21610 + unsigned char elf_reloc_val;
21613 +static const struct elf_reloc_map avr32_reloc_map[] =
21615 + { BFD_RELOC_NONE, R_AVR32_NONE },
21617 + { BFD_RELOC_32, R_AVR32_32 },
21618 + { BFD_RELOC_16, R_AVR32_16 },
21619 + { BFD_RELOC_8, R_AVR32_8 },
21620 + { BFD_RELOC_32_PCREL, R_AVR32_32_PCREL },
21621 + { BFD_RELOC_16_PCREL, R_AVR32_16_PCREL },
21622 + { BFD_RELOC_8_PCREL, R_AVR32_8_PCREL },
21623 + { BFD_RELOC_AVR32_DIFF32, R_AVR32_DIFF32 },
21624 + { BFD_RELOC_AVR32_DIFF16, R_AVR32_DIFF16 },
21625 + { BFD_RELOC_AVR32_DIFF8, R_AVR32_DIFF8 },
21626 + { BFD_RELOC_AVR32_GOT32, R_AVR32_GOT32 },
21627 + { BFD_RELOC_AVR32_GOT16, R_AVR32_GOT16 },
21628 + { BFD_RELOC_AVR32_GOT8, R_AVR32_GOT8 },
21630 + { BFD_RELOC_AVR32_21S, R_AVR32_21S },
21631 + { BFD_RELOC_AVR32_16U, R_AVR32_16U },
21632 + { BFD_RELOC_AVR32_16S, R_AVR32_16S },
21633 + { BFD_RELOC_AVR32_SUB5, R_AVR32_16S },
21634 + { BFD_RELOC_AVR32_8S_EXT, R_AVR32_8S_EXT },
21635 + { BFD_RELOC_AVR32_8S, R_AVR32_8S },
21637 + { BFD_RELOC_AVR32_22H_PCREL, R_AVR32_22H_PCREL },
21638 + { BFD_RELOC_AVR32_18W_PCREL, R_AVR32_18W_PCREL },
21639 + { BFD_RELOC_AVR32_16B_PCREL, R_AVR32_16B_PCREL },
21640 + { BFD_RELOC_AVR32_16N_PCREL, R_AVR32_16N_PCREL },
21641 + { BFD_RELOC_AVR32_11H_PCREL, R_AVR32_11H_PCREL },
21642 + { BFD_RELOC_AVR32_10UW_PCREL, R_AVR32_10UW_PCREL },
21643 + { BFD_RELOC_AVR32_9H_PCREL, R_AVR32_9H_PCREL },
21644 + { BFD_RELOC_AVR32_9UW_PCREL, R_AVR32_9UW_PCREL },
21646 + { BFD_RELOC_HI16, R_AVR32_HI16 },
21647 + { BFD_RELOC_LO16, R_AVR32_LO16 },
21649 + { BFD_RELOC_AVR32_GOTPC, R_AVR32_GOTPC },
21650 + { BFD_RELOC_AVR32_GOTCALL, R_AVR32_GOTCALL },
21651 + { BFD_RELOC_AVR32_LDA_GOT, R_AVR32_LDA_GOT },
21652 + { BFD_RELOC_AVR32_GOT21S, R_AVR32_GOT21S },
21653 + { BFD_RELOC_AVR32_GOT18SW, R_AVR32_GOT18SW },
21654 + { BFD_RELOC_AVR32_GOT16S, R_AVR32_GOT16S },
21655 + /* GOT7UW should never be generated by the assembler */
21657 + { BFD_RELOC_AVR32_32_CPENT, R_AVR32_32_CPENT },
21658 + { BFD_RELOC_AVR32_CPCALL, R_AVR32_CPCALL },
21659 + { BFD_RELOC_AVR32_16_CP, R_AVR32_16_CP },
21660 + { BFD_RELOC_AVR32_9W_CP, R_AVR32_9W_CP },
21662 + { BFD_RELOC_AVR32_ALIGN, R_AVR32_ALIGN },
21665 +static reloc_howto_type *
21666 +bfd_elf32_bfd_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED,
21667 + bfd_reloc_code_real_type code)
21671 + for (i = 0; i < sizeof(avr32_reloc_map) / sizeof(struct elf_reloc_map); i++)
21673 + if (avr32_reloc_map[i].bfd_reloc_val == code)
21674 + return &elf_avr32_howto_table[avr32_reloc_map[i].elf_reloc_val];
21681 +avr32_info_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
21682 + arelent *cache_ptr,
21683 + Elf_Internal_Rela *dst)
21685 + unsigned int r_type;
21687 + r_type = ELF32_R_TYPE (dst->r_info);
21688 + BFD_ASSERT (r_type < (unsigned int) R_AVR32_max);
21689 + cache_ptr->howto = &elf_avr32_howto_table[r_type];
21693 +/* AVR32 ELF linker hash table and associated hash entries. */
21695 +static struct bfd_hash_entry *
21696 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
21697 + struct bfd_hash_table *table,
21698 + const char *string);
21700 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
21701 + struct elf_link_hash_entry *dir,
21702 + struct elf_link_hash_entry *ind);
21703 +static struct bfd_link_hash_table *
21704 +avr32_elf_link_hash_table_create(bfd *abfd);
21707 + Try to limit memory usage to something reasonable when sorting the
21708 + GOT. If we ever get more than this many references to the same
21709 + symbol, we may need to do something special.
21711 +#define MAX_NR_GOT_HOLES 8192
21714 + AVR32 GOT entry. We need to keep track of refcounts and offsets
21715 + simultaneously, since we need the offsets during relaxation, and we
21716 + also want to be able to drop GOT entries during relaxation. In
21717 + addition to this, we want to keep the list of GOT entries sorted so
21718 + that we can keep the most-used entries at the lowest offsets.
21722 + struct got_entry *next;
21723 + struct got_entry **pprev;
21725 + bfd_signed_vma offset;
21728 +struct elf_avr32_link_hash_entry
21730 + struct elf_link_hash_entry root;
21732 + /* Number of runtime relocations against this symbol. */
21733 + unsigned int possibly_dynamic_relocs;
21735 + /* If there are anything but R_AVR32_GOT18 relocations against this
21736 + symbol, it means that someone may be taking the address of the
21737 + function, and we should therefore not create a stub. */
21738 + bfd_boolean no_fn_stub;
21740 + /* If there is a R_AVR32_32 relocation in a read-only section
21741 + against this symbol, we could be in trouble. If we're linking a
21742 + shared library or this symbol is defined in one, it means we must
21743 + emit a run-time reloc for it and that's not allowed in read-only
21745 + asection *readonly_reloc_sec;
21746 + bfd_vma readonly_reloc_offset;
21748 + /* Record which frag (if any) contains the symbol. This is used
21749 + during relaxation in order to avoid having to update all symbols
21750 + whenever we move something. For local symbols, this information
21751 + is in the local_sym_frag member of struct elf_obj_tdata. */
21752 + struct fragment *sym_frag;
21754 +#define avr32_elf_hash_entry(ent) ((struct elf_avr32_link_hash_entry *)(ent))
21756 +struct elf_avr32_link_hash_table
21758 + struct elf_link_hash_table root;
21760 + /* Shortcuts to get to dynamic linker sections. */
21762 + asection *srelgot;
21765 + /* We use a variation of Pigeonhole Sort to sort the GOT. After the
21766 + initial refcounts have been determined, we initialize
21767 + nr_got_holes to the highest refcount ever seen and allocate an
21768 + array of nr_got_holes entries for got_hole. Each GOT entry is
21769 + then stored in this array at the index given by its refcount.
21771 + When a GOT entry has its refcount decremented during relaxation,
21772 + it is moved to a lower index in the got_hole array.
21774 + struct got_entry **got_hole;
21775 + int nr_got_holes;
21777 + /* Dynamic relocations to local symbols. Only used when linking a
21778 + shared library and -Bsymbolic is not given. */
21779 + unsigned int local_dynamic_relocs;
21781 + bfd_boolean relocations_analyzed;
21782 + bfd_boolean symbols_adjusted;
21783 + bfd_boolean repeat_pass;
21784 + unsigned int relax_iteration;
21785 + unsigned int relax_pass;
21787 +#define avr32_elf_hash_table(p) \
21788 + ((struct elf_avr32_link_hash_table *)((p)->hash))
21790 +static struct bfd_hash_entry *
21791 +avr32_elf_link_hash_newfunc(struct bfd_hash_entry *entry,
21792 + struct bfd_hash_table *table,
21793 + const char *string)
21795 + struct elf_avr32_link_hash_entry *ret = avr32_elf_hash_entry(entry);
21797 + /* Allocate the structure if it hasn't already been allocated by a
21800 + ret = (struct elf_avr32_link_hash_entry *)
21801 + bfd_hash_allocate(table, sizeof(struct elf_avr32_link_hash_entry));
21806 + memset(ret, 0, sizeof(struct elf_avr32_link_hash_entry));
21808 + /* Give the superclass a chance */
21809 + ret = (struct elf_avr32_link_hash_entry *)
21810 + _bfd_elf_link_hash_newfunc((struct bfd_hash_entry *)ret, table, string);
21812 + return (struct bfd_hash_entry *)ret;
21815 +/* Copy data from an indirect symbol to its direct symbol, hiding the
21816 + old indirect symbol. Process additional relocation information.
21817 + Also called for weakdefs, in which case we just let
21818 + _bfd_elf_link_hash_copy_indirect copy the flags for us. */
21821 +avr32_elf_copy_indirect_symbol(struct bfd_link_info *info,
21822 + struct elf_link_hash_entry *dir,
21823 + struct elf_link_hash_entry *ind)
21825 + struct elf_avr32_link_hash_entry *edir, *eind;
21827 + _bfd_elf_link_hash_copy_indirect (info, dir, ind);
21829 + if (ind->root.type != bfd_link_hash_indirect)
21832 + edir = (struct elf_avr32_link_hash_entry *)dir;
21833 + eind = (struct elf_avr32_link_hash_entry *)ind;
21835 + edir->possibly_dynamic_relocs += eind->possibly_dynamic_relocs;
21836 + edir->no_fn_stub = edir->no_fn_stub || eind->no_fn_stub;
21839 +static struct bfd_link_hash_table *
21840 +avr32_elf_link_hash_table_create(bfd *abfd)
21842 + struct elf_avr32_link_hash_table *ret;
21844 + ret = bfd_zmalloc(sizeof(*ret));
21848 + if (! _bfd_elf_link_hash_table_init(&ret->root, abfd,
21849 + avr32_elf_link_hash_newfunc,
21850 + sizeof (struct elf_avr32_link_hash_entry)))
21856 + /* Prevent the BFD core from creating bogus got_entry pointers */
21857 + ret->root.init_got_refcount.glist = NULL;
21858 + ret->root.init_plt_refcount.glist = NULL;
21860 + return &ret->root.root;
21864 +/* Initial analysis and creation of dynamic sections and symbols */
21867 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
21868 + unsigned int align_power);
21869 +static struct elf_link_hash_entry *
21870 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
21871 + const char *name, asection *sec,
21873 +static bfd_boolean
21874 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info);
21875 +static bfd_boolean
21876 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info);
21877 +static bfd_boolean
21878 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
21879 + const Elf_Internal_Rela *relocs);
21880 +static bfd_boolean
21881 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
21882 + struct elf_link_hash_entry *h);
21885 +create_dynamic_section(bfd *dynobj, const char *name, flagword flags,
21886 + unsigned int align_power)
21890 + sec = bfd_make_section(dynobj, name);
21892 + || !bfd_set_section_flags(dynobj, sec, flags)
21893 + || !bfd_set_section_alignment(dynobj, sec, align_power))
21899 +static struct elf_link_hash_entry *
21900 +create_dynamic_symbol(bfd *dynobj, struct bfd_link_info *info,
21901 + const char *name, asection *sec,
21904 + struct bfd_link_hash_entry *bh = NULL;
21905 + struct elf_link_hash_entry *h;
21906 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
21908 + if (!(_bfd_generic_link_add_one_symbol
21909 + (info, dynobj, name, BSF_GLOBAL, sec, offset, NULL, FALSE,
21910 + bed->collect, &bh)))
21913 + h = (struct elf_link_hash_entry *)bh;
21914 + h->def_regular = 1;
21915 + h->type = STT_OBJECT;
21916 + h->other = STV_HIDDEN;
21921 +static bfd_boolean
21922 +avr32_elf_create_got_section (bfd *dynobj, struct bfd_link_info *info)
21924 + struct elf_avr32_link_hash_table *htab;
21926 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
21928 + htab = avr32_elf_hash_table(info);
21929 + flags = bed->dynamic_sec_flags;
21934 + htab->sgot = create_dynamic_section(dynobj, ".got", flags, 2);
21935 + if (!htab->srelgot)
21936 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
21937 + flags | SEC_READONLY, 2);
21939 + if (!htab->sgot || !htab->srelgot)
21942 + htab->root.hgot = create_dynamic_symbol(dynobj, info, "_GLOBAL_OFFSET_TABLE_",
21944 + if (!htab->root.hgot)
21947 + /* Make room for the GOT header */
21948 + htab->sgot->size += bed->got_header_size;
21953 +/* (1) Create all dynamic (i.e. linker generated) sections that we may
21954 + need during the link */
21956 +static bfd_boolean
21957 +avr32_elf_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info)
21959 + struct elf_avr32_link_hash_table *htab;
21961 + const struct elf_backend_data *bed = get_elf_backend_data (dynobj);
21963 + pr_debug("(1) create dynamic sections\n");
21965 + htab = avr32_elf_hash_table(info);
21966 + flags = bed->dynamic_sec_flags;
21968 + if (!avr32_elf_create_got_section (dynobj, info))
21971 + if (!htab->sstub)
21972 + htab->sstub = create_dynamic_section(dynobj, ".stub",
21973 + flags | SEC_READONLY | SEC_CODE, 2);
21975 + if (!htab->sstub)
21981 +/* (2) Go through all the relocs and count any potential GOT- or
21982 + PLT-references to each symbol */
21984 +static bfd_boolean
21985 +avr32_check_relocs (bfd *abfd, struct bfd_link_info *info, asection *sec,
21986 + const Elf_Internal_Rela *relocs)
21988 + Elf_Internal_Shdr *symtab_hdr;
21989 + struct elf_avr32_link_hash_table *htab;
21990 + struct elf_link_hash_entry **sym_hashes;
21991 + const Elf_Internal_Rela *rel, *rel_end;
21992 + struct got_entry **local_got_ents;
21993 + struct got_entry *got;
21994 + const struct elf_backend_data *bed = get_elf_backend_data (abfd);
21998 + pr_debug("(2) check relocs for %s:<%s> (size 0x%lx)\n",
21999 + abfd->filename, sec->name, sec->size);
22001 + if (info->relocatable)
22004 + dynobj = elf_hash_table(info)->dynobj;
22005 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
22006 + sym_hashes = elf_sym_hashes(abfd);
22007 + htab = avr32_elf_hash_table(info);
22008 + local_got_ents = elf_local_got_ents(abfd);
22009 + sgot = htab->sgot;
22011 + rel_end = relocs + sec->reloc_count;
22012 + for (rel = relocs; rel < rel_end; rel++)
22014 + unsigned long r_symndx, r_type;
22015 + struct elf_avr32_link_hash_entry *h;
22017 + r_symndx = ELF32_R_SYM(rel->r_info);
22018 + r_type = ELF32_R_TYPE(rel->r_info);
22020 + /* Local symbols use local_got_ents, while others store the same
22021 + information in the hash entry */
22022 + if (r_symndx < symtab_hdr->sh_info)
22024 + pr_debug(" (2a) processing local symbol %lu\n", r_symndx);
22029 + h = (struct elf_avr32_link_hash_entry *)
22030 + sym_hashes[r_symndx - symtab_hdr->sh_info];
22031 + while (h->root.type == bfd_link_hash_indirect
22032 + || h->root.type == bfd_link_hash_warning)
22033 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
22034 + pr_debug(" (2a) processing symbol %s\n", h->root.root.root.string);
22037 + /* Some relocs require special sections to be created. */
22040 + case R_AVR32_GOT32:
22041 + case R_AVR32_GOT16:
22042 + case R_AVR32_GOT8:
22043 + case R_AVR32_GOT21S:
22044 + case R_AVR32_GOT18SW:
22045 + case R_AVR32_GOT16S:
22046 + case R_AVR32_GOT7UW:
22047 + case R_AVR32_LDA_GOT:
22048 + case R_AVR32_GOTCALL:
22049 + if (rel->r_addend)
22051 + if (info->callbacks->reloc_dangerous
22052 + (info, _("Non-zero addend on GOT-relative relocation"),
22053 + abfd, sec, rel->r_offset) == FALSE)
22056 + /* fall through */
22057 + case R_AVR32_GOTPC:
22058 + if (dynobj == NULL)
22059 + elf_hash_table(info)->dynobj = dynobj = abfd;
22060 + if (sgot == NULL && !avr32_elf_create_got_section(dynobj, info))
22064 + /* We may need to create .rela.dyn later on. */
22065 + if (dynobj == NULL
22066 + && (info->shared || h != NULL)
22067 + && (sec->flags & SEC_ALLOC))
22068 + elf_hash_table(info)->dynobj = dynobj = abfd;
22072 + if (h != NULL && r_type != R_AVR32_GOT18SW)
22073 + h->no_fn_stub = TRUE;
22077 + case R_AVR32_GOT32:
22078 + case R_AVR32_GOT16:
22079 + case R_AVR32_GOT8:
22080 + case R_AVR32_GOT21S:
22081 + case R_AVR32_GOT18SW:
22082 + case R_AVR32_GOT16S:
22083 + case R_AVR32_GOT7UW:
22084 + case R_AVR32_LDA_GOT:
22085 + case R_AVR32_GOTCALL:
22088 + got = h->root.got.glist;
22091 + got = bfd_zalloc(abfd, sizeof(struct got_entry));
22094 + h->root.got.glist = got;
22099 + if (!local_got_ents)
22101 + bfd_size_type size;
22103 + struct got_entry *tmp_entry;
22105 + size = symtab_hdr->sh_info;
22106 + size *= sizeof(struct got_entry *) + sizeof(struct got_entry);
22107 + local_got_ents = bfd_zalloc(abfd, size);
22108 + if (!local_got_ents)
22111 + elf_local_got_ents(abfd) = local_got_ents;
22113 + tmp_entry = (struct got_entry *)(local_got_ents
22114 + + symtab_hdr->sh_info);
22115 + for (i = 0; i < symtab_hdr->sh_info; i++)
22116 + local_got_ents[i] = &tmp_entry[i];
22119 + got = local_got_ents[r_symndx];
22123 + if (got->refcount > htab->nr_got_holes)
22124 + htab->nr_got_holes = got->refcount;
22128 + if ((info->shared || h != NULL)
22129 + && (sec->flags & SEC_ALLOC))
22131 + if (htab->srelgot == NULL)
22133 + htab->srelgot = create_dynamic_section(dynobj, ".rela.got",
22134 + bed->dynamic_sec_flags
22135 + | SEC_READONLY, 2);
22136 + if (htab->srelgot == NULL)
22140 + if (sec->flags & SEC_READONLY
22141 + && !h->readonly_reloc_sec)
22143 + h->readonly_reloc_sec = sec;
22144 + h->readonly_reloc_offset = rel->r_offset;
22149 + pr_debug("Non-GOT reference to symbol %s\n",
22150 + h->root.root.root.string);
22151 + h->possibly_dynamic_relocs++;
22155 + pr_debug("Non-GOT reference to local symbol %lu\n",
22157 + htab->local_dynamic_relocs++;
22163 + /* TODO: GNU_VTINHERIT and GNU_VTENTRY */
22170 +/* (3) Adjust a symbol defined by a dynamic object and referenced by a
22171 + regular object. The current definition is in some section of the
22172 + dynamic object, but we're not including those sections. We have to
22173 + change the definition to something the rest of the link can
22176 +static bfd_boolean
22177 +avr32_elf_adjust_dynamic_symbol(struct bfd_link_info *info,
22178 + struct elf_link_hash_entry *h)
22180 + struct elf_avr32_link_hash_table *htab;
22181 + struct elf_avr32_link_hash_entry *havr;
22184 + pr_debug("(3) adjust dynamic symbol %s\n", h->root.root.string);
22186 + htab = avr32_elf_hash_table(info);
22187 + havr = (struct elf_avr32_link_hash_entry *)h;
22188 + dynobj = elf_hash_table(info)->dynobj;
22190 + /* Make sure we know what is going on here. */
22191 + BFD_ASSERT (dynobj != NULL
22192 + && (h->u.weakdef != NULL
22193 + || (h->def_dynamic
22194 + && h->ref_regular
22195 + && !h->def_regular)));
22197 + /* We don't want dynamic relocations in read-only sections. */
22198 + if (havr->readonly_reloc_sec)
22200 + if (info->callbacks->reloc_dangerous
22201 + (info, _("dynamic relocation in read-only section"),
22202 + havr->readonly_reloc_sec->owner, havr->readonly_reloc_sec,
22203 + havr->readonly_reloc_offset) == FALSE)
22207 + /* If this is a function, create a stub if possible and set the
22208 + symbol to the stub location. */
22209 + if (0 && !havr->no_fn_stub)
22211 + if (!h->def_regular)
22213 + asection *s = htab->sstub;
22215 + BFD_ASSERT(s != NULL);
22217 + h->root.u.def.section = s;
22218 + h->root.u.def.value = s->size;
22219 + h->plt.offset = s->size;
22220 + s->size += AVR32_FUNCTION_STUB_SIZE;
22225 + else if (h->type == STT_FUNC)
22227 + /* This will set the entry for this symbol in the GOT to 0, and
22228 + the dynamic linker will take care of this. */
22229 + h->root.u.def.value = 0;
22233 + /* If this is a weak symbol, and there is a real definition, the
22234 + processor independent code will have arranged for us to see the
22235 + real definition first, and we can just use the same value. */
22236 + if (h->u.weakdef != NULL)
22238 + BFD_ASSERT(h->u.weakdef->root.type == bfd_link_hash_defined
22239 + || h->u.weakdef->root.type == bfd_link_hash_defweak);
22240 + h->root.u.def.section = h->u.weakdef->root.u.def.section;
22241 + h->root.u.def.value = h->u.weakdef->root.u.def.value;
22245 + /* This is a reference to a symbol defined by a dynamic object which
22246 + is not a function. */
22252 +/* Garbage-collection of unused sections */
22255 +avr32_elf_gc_mark_hook(asection *sec,
22256 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
22257 + Elf_Internal_Rela *rel,
22258 + struct elf_link_hash_entry *h,
22259 + Elf_Internal_Sym *sym)
22263 + switch (ELF32_R_TYPE(rel->r_info))
22265 + /* TODO: VTINHERIT/VTENTRY */
22267 + switch (h->root.type)
22269 + case bfd_link_hash_defined:
22270 + case bfd_link_hash_defweak:
22271 + return h->root.u.def.section;
22273 + case bfd_link_hash_common:
22274 + return h->root.u.c.p->section;
22282 + return bfd_section_from_elf_index(sec->owner, sym->st_shndx);
22287 +/* Update the GOT entry reference counts for the section being removed. */
22288 +static bfd_boolean
22289 +avr32_elf_gc_sweep_hook(bfd *abfd,
22290 + struct bfd_link_info *info ATTRIBUTE_UNUSED,
22292 + const Elf_Internal_Rela *relocs)
22294 + Elf_Internal_Shdr *symtab_hdr;
22295 + struct elf_avr32_link_hash_entry **sym_hashes;
22296 + struct got_entry **local_got_ents;
22297 + const Elf_Internal_Rela *rel, *relend;
22299 + if (!(sec->flags & SEC_ALLOC))
22302 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
22303 + sym_hashes = (struct elf_avr32_link_hash_entry **)elf_sym_hashes(abfd);
22304 + local_got_ents = elf_local_got_ents(abfd);
22306 + relend = relocs + sec->reloc_count;
22307 + for (rel = relocs; rel < relend; rel++)
22309 + unsigned long r_symndx;
22310 + unsigned int r_type;
22311 + struct elf_avr32_link_hash_entry *h = NULL;
22313 + r_symndx = ELF32_R_SYM(rel->r_info);
22314 + if (r_symndx >= symtab_hdr->sh_info)
22316 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
22317 + while (h->root.root.type == bfd_link_hash_indirect
22318 + || h->root.root.type == bfd_link_hash_warning)
22319 + h = (struct elf_avr32_link_hash_entry *)h->root.root.u.i.link;
22322 + r_type = ELF32_R_TYPE(rel->r_info);
22326 + case R_AVR32_GOT32:
22327 + case R_AVR32_GOT16:
22328 + case R_AVR32_GOT8:
22329 + case R_AVR32_GOT21S:
22330 + case R_AVR32_GOT18SW:
22331 + case R_AVR32_GOT16S:
22332 + case R_AVR32_GOT7UW:
22333 + case R_AVR32_LDA_GOT:
22334 + case R_AVR32_GOTCALL:
22336 + h->root.got.glist->refcount--;
22338 + local_got_ents[r_symndx]->refcount--;
22342 + if (info->shared || h)
22345 + h->possibly_dynamic_relocs--;
22347 + avr32_elf_hash_table(info)->local_dynamic_relocs--;
22358 +/* Sizing and refcounting of dynamic sections */
22361 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
22363 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
22365 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got);
22366 +static bfd_boolean
22367 +assign_got_offsets(struct elf_avr32_link_hash_table *htab);
22368 +static bfd_boolean
22369 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info);
22370 +static bfd_boolean
22371 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
22372 + struct bfd_link_info *info);
22375 +insert_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
22377 + /* TODO: Support got_refcount > htab->nr_got_holes by using a
22378 + different sort algorithm for those. */
22379 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
22381 + got->pprev = &htab->got_hole[got->refcount];
22382 + got->next = htab->got_hole[got->refcount];
22384 + got->next->pprev = &got->next;
22386 + htab->got_hole[got->refcount] = got;
22389 +/* Decrement the refcount of a GOT entry and update its position in
22390 + the pigeonhole array. */
22392 +unref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
22394 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
22395 + BFD_ASSERT(got->refcount > 0);
22398 + got->next->pprev = got->pprev;
22400 + *(got->pprev) = got->next;
22402 + insert_got_entry(htab, got);
22406 +ref_got_entry(struct elf_avr32_link_hash_table *htab, struct got_entry *got)
22409 + got->next->pprev = got->pprev;
22411 + *(got->pprev) = got->next;
22413 + insert_got_entry(htab, got);
22415 + BFD_ASSERT(got->refcount > 0);
22416 + BFD_ASSERT(got->refcount <= htab->nr_got_holes);
22419 +/* Assign offsets to all GOT entries we intend to keep. The entries
22420 + that are referenced most often are placed at low offsets so that we
22421 + can use compact instructions as much as possible.
22423 + Returns TRUE if any offsets or the total size of the GOT changed. */
22425 +static bfd_boolean
22426 +assign_got_offsets(struct elf_avr32_link_hash_table *htab)
22428 + struct got_entry *got;
22429 + bfd_size_type got_size = 0;
22430 + bfd_boolean changed = FALSE;
22431 + bfd_signed_vma offset;
22434 + /* The GOT header provides the address of the DYNAMIC segment, so
22435 + we need that even if the GOT is otherwise empty. */
22436 + if (htab->root.dynamic_sections_created)
22437 + got_size = AVR32_GOT_HEADER_SIZE;
22439 + for (i = htab->nr_got_holes; i > 0; i--)
22441 + got = htab->got_hole[i];
22444 + if (got->refcount > 0)
22446 + offset = got_size;
22447 + if (got->offset != offset)
22449 + RDBG("GOT offset changed: %ld -> %ld\n",
22450 + got->offset, offset);
22453 + got->offset = offset;
22460 + if (htab->sgot->size != got_size)
22462 + RDBG("GOT size changed: %lu -> %lu\n", htab->sgot->size,
22466 + htab->sgot->size = got_size;
22468 + RDBG("assign_got_offsets: total size %lu (%s)\n",
22469 + got_size, changed ? "changed" : "no change");
22474 +static bfd_boolean
22475 +allocate_dynrelocs(struct elf_link_hash_entry *h, void *_info)
22477 + struct bfd_link_info *info = _info;
22478 + struct elf_avr32_link_hash_table *htab;
22479 + struct elf_avr32_link_hash_entry *havr;
22480 + struct got_entry *got;
22482 + pr_debug(" (4b) allocate_dynrelocs: %s\n", h->root.root.string);
22484 + if (h->root.type == bfd_link_hash_indirect)
22487 + if (h->root.type == bfd_link_hash_warning)
22488 + /* When warning symbols are created, they **replace** the "real"
22489 + entry in the hash table, thus we never get to see the real
22490 + symbol in a hash traversal. So look at it now. */
22491 + h = (struct elf_link_hash_entry *) h->root.u.i.link;
22493 + htab = avr32_elf_hash_table(info);
22494 + havr = (struct elf_avr32_link_hash_entry *)h;
22496 + got = h->got.glist;
22498 + /* If got is NULL, the symbol is never referenced through the GOT */
22499 + if (got && got->refcount > 0)
22501 + insert_got_entry(htab, got);
22503 + /* Shared libraries need relocs for all GOT entries unless the
22504 + symbol is forced local or -Bsymbolic is used. Others need
22505 + relocs for everything that is not guaranteed to be defined in
22506 + a regular object. */
22507 + if ((info->shared
22508 + && !info->symbolic
22509 + && h->dynindx != -1)
22510 + || (htab->root.dynamic_sections_created
22511 + && h->def_dynamic
22512 + && !h->def_regular))
22513 + htab->srelgot->size += sizeof(Elf32_External_Rela);
22516 + if (havr->possibly_dynamic_relocs
22518 + || (elf_hash_table(info)->dynamic_sections_created
22519 + && h->def_dynamic
22520 + && !h->def_regular)))
22522 + pr_debug("Allocating %d dynamic reloc against symbol %s...\n",
22523 + havr->possibly_dynamic_relocs, h->root.root.string);
22524 + htab->srelgot->size += (havr->possibly_dynamic_relocs
22525 + * sizeof(Elf32_External_Rela));
22531 +/* (4) Calculate the sizes of the linker-generated sections and
22532 + allocate memory for them. */
22534 +static bfd_boolean
22535 +avr32_elf_size_dynamic_sections (bfd *output_bfd,
22536 + struct bfd_link_info *info)
22538 + struct elf_avr32_link_hash_table *htab;
22542 + bfd_boolean relocs;
22544 + pr_debug("(4) size dynamic sections\n");
22546 + htab = avr32_elf_hash_table(info);
22547 + dynobj = htab->root.dynobj;
22548 + BFD_ASSERT(dynobj != NULL);
22550 + if (htab->root.dynamic_sections_created)
22552 + /* Initialize the contents of the .interp section to the name of
22553 + the dynamic loader */
22554 + if (info->executable)
22556 + s = bfd_get_section_by_name(dynobj, ".interp");
22557 + BFD_ASSERT(s != NULL);
22558 + s->size = sizeof(ELF_DYNAMIC_INTERPRETER);
22559 + s->contents = (unsigned char *)ELF_DYNAMIC_INTERPRETER;
22563 + if (htab->nr_got_holes > 0)
22565 + /* Allocate holes for the pigeonhole sort algorithm */
22566 + pr_debug("Highest GOT refcount: %d\n", htab->nr_got_holes);
22567 + if (htab->nr_got_holes >= MAX_NR_GOT_HOLES)
22569 + /* TODO: Do something clever (different sorting algorithm) */
22570 + _bfd_error_handler(_("Highest refcount %d too high (max %d)\n"),
22571 + htab->nr_got_holes, MAX_NR_GOT_HOLES);
22572 + bfd_set_error(bfd_error_no_memory);
22575 + htab->got_hole = bfd_zalloc(output_bfd,
22576 + sizeof(struct got_entry *)
22577 + * (htab->nr_got_holes + 1));
22578 + if (!htab->got_hole)
22581 + /* Set up .got offsets for local syms. */
22582 + for (ibfd = info->input_bfds; ibfd != NULL; ibfd = ibfd->link_next)
22584 + struct got_entry **local_got;
22585 + struct got_entry **end_local_got;
22586 + Elf_Internal_Shdr *symtab_hdr;
22587 + bfd_size_type locsymcount;
22589 + pr_debug(" (4a) processing file %s...\n", ibfd->filename);
22591 + BFD_ASSERT(bfd_get_flavour(ibfd) == bfd_target_elf_flavour);
22593 + local_got = elf_local_got_ents(ibfd);
22597 + symtab_hdr = &elf_tdata(ibfd)->symtab_hdr;
22598 + locsymcount = symtab_hdr->sh_info;
22599 + end_local_got = local_got + locsymcount;
22601 + for (; local_got < end_local_got; ++local_got)
22602 + insert_got_entry(htab, *local_got);
22606 + /* Allocate global sym .got entries and space for global sym
22607 + dynamic relocs */
22608 + elf_link_hash_traverse(&htab->root, allocate_dynrelocs, info);
22610 + /* Now that we have sorted the GOT entries, we are ready to
22611 + assign offsets and determine the initial size of the GOT. */
22613 + assign_got_offsets(htab);
22615 + /* Allocate space for local sym dynamic relocs */
22616 + BFD_ASSERT(htab->local_dynamic_relocs == 0 || info->shared);
22617 + if (htab->local_dynamic_relocs)
22618 + htab->srelgot->size += (htab->local_dynamic_relocs
22619 + * sizeof(Elf32_External_Rela));
22621 + /* We now have determined the sizes of the various dynamic
22622 + sections. Allocate memory for them. */
22624 + for (s = dynobj->sections; s; s = s->next)
22626 + if ((s->flags & SEC_LINKER_CREATED) == 0)
22629 + if (s == htab->sgot
22630 + || s == htab->sstub)
22632 + /* Strip this section if we don't need it */
22634 + else if (strncmp (bfd_get_section_name(dynobj, s), ".rela", 5) == 0)
22636 + if (s->size != 0)
22639 + s->reloc_count = 0;
22643 + /* It's not one of our sections */
22647 + if (s->size == 0)
22649 + /* Strip unneeded sections */
22650 + pr_debug("Stripping section %s from output...\n", s->name);
22651 + /* deleted function in 2.17
22652 + _bfd_strip_section_from_output(info, s);
22657 + s->contents = bfd_zalloc(dynobj, s->size);
22658 + if (s->contents == NULL)
22662 + if (htab->root.dynamic_sections_created)
22664 + /* Add some entries to the .dynamic section. We fill in the
22665 + values later, in sh_elf_finish_dynamic_sections, but we
22666 + must add the entries now so that we get the correct size for
22667 + the .dynamic section. The DT_DEBUG entry is filled in by the
22668 + dynamic linker and used by the debugger. */
22669 +#define add_dynamic_entry(TAG, VAL) _bfd_elf_add_dynamic_entry(info, TAG, VAL)
22671 + if (!add_dynamic_entry(DT_PLTGOT, 0))
22673 + if (!add_dynamic_entry(DT_AVR32_GOTSZ, 0))
22676 + if (info->executable)
22678 + if (!add_dynamic_entry(DT_DEBUG, 0))
22683 + if (!add_dynamic_entry(DT_RELA, 0)
22684 + || !add_dynamic_entry(DT_RELASZ, 0)
22685 + || !add_dynamic_entry(DT_RELAENT,
22686 + sizeof(Elf32_External_Rela)))
22690 +#undef add_dynamic_entry
22696 +/* Access to internal relocations, section contents and symbols.
22697 + (stolen from the xtensa port) */
22699 +static Elf_Internal_Rela *
22700 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory);
22702 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
22704 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs);
22706 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory);
22709 +pin_contents (asection *sec, bfd_byte *contents);
22712 +release_contents (asection *sec, bfd_byte *contents);
22713 +static Elf_Internal_Sym *
22714 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory);
22717 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
22720 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf);
22722 +/* During relaxation, we need to modify relocations, section contents,
22723 + and symbol definitions, and we need to keep the original values from
22724 + being reloaded from the input files, i.e., we need to "pin" the
22725 + modified values in memory. We also want to continue to observe the
22726 + setting of the "keep-memory" flag. The following functions wrap the
22727 + standard BFD functions to take care of this for us. */
22729 +static Elf_Internal_Rela *
22730 +retrieve_internal_relocs (bfd *abfd, asection *sec, bfd_boolean keep_memory)
22732 + /* _bfd_elf_link_read_relocs knows about caching, so no need for us
22733 + to be clever here. */
22734 + return _bfd_elf_link_read_relocs(abfd, sec, NULL, NULL, keep_memory);
22738 +pin_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
22740 + elf_section_data (sec)->relocs = internal_relocs;
22744 +release_internal_relocs (asection *sec, Elf_Internal_Rela *internal_relocs)
22746 + if (internal_relocs
22747 + && elf_section_data (sec)->relocs != internal_relocs)
22748 + free (internal_relocs);
22752 +retrieve_contents (bfd *abfd, asection *sec, bfd_boolean keep_memory)
22754 + bfd_byte *contents;
22755 + bfd_size_type sec_size;
22757 + sec_size = bfd_get_section_limit (abfd, sec);
22758 + contents = elf_section_data (sec)->this_hdr.contents;
22760 + if (contents == NULL && sec_size != 0)
22762 + if (!bfd_malloc_and_get_section (abfd, sec, &contents))
22769 + elf_section_data (sec)->this_hdr.contents = contents;
22776 +pin_contents (asection *sec, bfd_byte *contents)
22778 + elf_section_data (sec)->this_hdr.contents = contents;
22782 +release_contents (asection *sec, bfd_byte *contents)
22784 + if (contents && elf_section_data (sec)->this_hdr.contents != contents)
22788 +static Elf_Internal_Sym *
22789 +retrieve_local_syms (bfd *input_bfd, bfd_boolean keep_memory)
22791 + Elf_Internal_Shdr *symtab_hdr;
22792 + Elf_Internal_Sym *isymbuf;
22793 + size_t locsymcount;
22795 + symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
22796 + locsymcount = symtab_hdr->sh_info;
22798 + isymbuf = (Elf_Internal_Sym *) symtab_hdr->contents;
22799 + if (isymbuf == NULL && locsymcount != 0)
22801 + isymbuf = bfd_elf_get_elf_syms (input_bfd, symtab_hdr, locsymcount, 0,
22802 + NULL, NULL, NULL);
22803 + if (isymbuf && keep_memory)
22804 + symtab_hdr->contents = (unsigned char *) isymbuf;
22812 +pin_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
22814 + elf_tdata (input_bfd)->symtab_hdr.contents = (unsigned char *)isymbuf;
22819 +release_local_syms (bfd *input_bfd, Elf_Internal_Sym *isymbuf)
22821 + if (isymbuf && (elf_tdata (input_bfd)->symtab_hdr.contents
22822 + != (unsigned char *)isymbuf))
22826 +
\f/* Data structures used during relaxation. */
22828 +enum relax_state_id {
22847 +#ifdef DHRYSTONE_FIX
22860 +enum reference_type {
22867 +struct relax_state
22869 + const char *name;
22870 + enum relax_state_id id;
22871 + enum relax_state_id direct;
22872 + enum relax_state_id next;
22873 + enum relax_state_id prev;
22875 + enum reference_type reftype;
22877 + unsigned int r_type;
22880 + bfd_vma opcode_mask;
22882 + bfd_signed_vma range_min;
22883 + bfd_signed_vma range_max;
22885 + bfd_size_type size;
22889 + * This is for relocs that
22890 + * a) has an addend or is of type R_AVR32_DIFF32, and
22891 + * b) references a different section than it's in, and
22892 + * c) references a section that is relaxable
22894 + * as well as relocs that references the constant pool, in which case
22895 + * the add_frag member points to the frag containing the constant pool
22898 + * Such relocs must be fixed up whenever we delete any code. Sections
22899 + * that don't have any relocs with all of the above properties don't
22900 + * have any additional reloc data, but sections that do will have
22901 + * additional data for all its relocs.
22903 +struct avr32_reloc_data
22905 + struct fragment *add_frag;
22906 + struct fragment *sub_frag;
22910 + * A 'fragment' is a relaxable entity, that is, code may be added or
22911 + * deleted at the end of a fragment. When this happens, all subsequent
22912 + * fragments in the list will have their offsets updated.
22916 + enum relax_state_id state;
22917 + enum relax_state_id initial_state;
22919 + Elf_Internal_Rela *rela;
22920 + bfd_size_type size;
22923 + int offset_adjust;
22924 + bfd_boolean has_grown;
22926 + /* Only used by constant pool entries. When this drops to zero, the
22927 + frag is discarded (i.e. size_adjust is set to -4.) */
22931 +struct avr32_relax_data
22933 + unsigned int frag_count;
22934 + struct fragment *frag;
22935 + struct avr32_reloc_data *reloc_data;
22937 + /* TRUE if this section has one or more relaxable relocations */
22938 + bfd_boolean is_relaxable;
22939 + unsigned int iteration;
22942 +struct avr32_section_data
22944 + struct bfd_elf_section_data elf;
22945 + struct avr32_relax_data relax_data;
22948 +
\f/* Relax state definitions */
22950 +#define PIC_MOV2_OPCODE 0xe0600000
22951 +#define PIC_MOV2_MASK 0xe1e00000
22952 +#define PIC_MOV2_RANGE_MIN (-1048576 * 4)
22953 +#define PIC_MOV2_RANGE_MAX (1048575 * 4)
22954 +#define PIC_MCALL_OPCODE 0xf0160000
22955 +#define PIC_MCALL_MASK 0xffff0000
22956 +#define PIC_MCALL_RANGE_MIN (-131072)
22957 +#define PIC_MCALL_RANGE_MAX (131068)
22958 +#define RCALL2_OPCODE 0xe0a00000
22959 +#define RCALL2_MASK 0xe1ef0000
22960 +#define RCALL2_RANGE_MIN (-2097152)
22961 +#define RCALL2_RANGE_MAX (2097150)
22962 +#define RCALL1_OPCODE 0xc00c0000
22963 +#define RCALL1_MASK 0xf00c0000
22964 +#define RCALL1_RANGE_MIN (-1024)
22965 +#define RCALL1_RANGE_MAX (1022)
22966 +#define PIC_LDW4_OPCODE 0xecf00000
22967 +#define PIC_LDW4_MASK 0xfff00000
22968 +#define PIC_LDW4_RANGE_MIN (-32768)
22969 +#define PIC_LDW4_RANGE_MAX (32767)
22970 +#define PIC_LDW3_OPCODE 0x6c000000
22971 +#define PIC_LDW3_MASK 0xfe000000
22972 +#define PIC_LDW3_RANGE_MIN (0)
22973 +#define PIC_LDW3_RANGE_MAX (124)
22974 +#define SUB5_PC_OPCODE 0xfec00000
22975 +#define SUB5_PC_MASK 0xfff00000
22976 +#define SUB5_PC_RANGE_MIN (-32768)
22977 +#define SUB5_PC_RANGE_MAX (32767)
22978 +#define NOPIC_MCALL_OPCODE 0xf01f0000
22979 +#define NOPIC_MCALL_MASK 0xffff0000
22980 +#define NOPIC_MCALL_RANGE_MIN PIC_MCALL_RANGE_MIN
22981 +#define NOPIC_MCALL_RANGE_MAX PIC_MCALL_RANGE_MAX
22982 +#define NOPIC_LDW4_OPCODE 0xfef00000
22983 +#define NOPIC_LDW4_MASK 0xfff00000
22984 +#define NOPIC_LDW4_RANGE_MIN PIC_LDW4_RANGE_MIN
22985 +#define NOPIC_LDW4_RANGE_MAX PIC_LDW4_RANGE_MAX
22986 +#define LDDPC_OPCODE 0x48000000
22987 +#define LDDPC_MASK 0xf8000000
22988 +#define LDDPC_RANGE_MIN 0
22989 +#define LDDPC_RANGE_MAX 508
22991 +#ifdef DHRYSTONE_FIX
22992 +#define NOPIC_MOV2_OPCODE 0xe0600000
22993 +#define NOPIC_MOV2_MASK 0xe1e00000
22994 +#define NOPIC_MOV2_RANGE_MIN (-1048576)
22995 +#define NOPIC_MOV2_RANGE_MAX (1048575)
22996 +#define NOPIC_MOV1_OPCODE 0x30000000
22997 +#define NOPIC_MOV1_MASK 0xf0000000
22998 +#define NOPIC_MOV1_RANGE_MIN (-128)
22999 +#define NOPIC_MOV1_RANGE_MAX (127)
23002 +/* Only brc2 variants with cond[3] == 0 is considered, since the
23003 + others are not relaxable. bral is a special case and is handled
23005 +#define BRC2_OPCODE 0xe0800000
23006 +#define BRC2_MASK 0xe1e80000
23007 +#define BRC2_RANGE_MIN (-2097152)
23008 +#define BRC2_RANGE_MAX (2097150)
23009 +#define BRC1_OPCODE 0xc0000000
23010 +#define BRC1_MASK 0xf0080000
23011 +#define BRC1_RANGE_MIN (-256)
23012 +#define BRC1_RANGE_MAX (254)
23013 +#define BRAL_OPCODE 0xe08f0000
23014 +#define BRAL_MASK 0xe1ef0000
23015 +#define BRAL_RANGE_MIN BRC2_RANGE_MIN
23016 +#define BRAL_RANGE_MAX BRC2_RANGE_MAX
23017 +#define RJMP_OPCODE 0xc0080000
23018 +#define RJMP_MASK 0xf00c0000
23019 +#define RJMP_RANGE_MIN (-1024)
23020 +#define RJMP_RANGE_MAX (1022)
23022 +/* Define a relax state using the GOT */
23023 +#define RG(id, dir, next, prev, r_type, opc, size) \
23024 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_GOT, \
23025 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23026 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23027 +/* Define a relax state using the Constant Pool */
23028 +#define RC(id, dir, next, prev, r_type, opc, size) \
23029 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_CPOOL, \
23030 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23031 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23033 +/* Define a relax state using pc-relative direct reference */
23034 +#define RP(id, dir, next, prev, r_type, opc, size) \
23035 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_PCREL, \
23036 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23037 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23039 +#ifdef DHRYSTONE_FIX
23040 +/* Define a relax state using non-pc-relative direct reference */
23041 +#define RD(id, dir, next, prev, r_type, opc, size) \
23042 + { "RS_"#id, RS_##id, RS_##dir, RS_##next, RS_##prev, REF_ABSOLUTE, \
23043 + R_AVR32_##r_type, opc##_OPCODE, opc##_MASK, \
23044 + opc##_RANGE_MIN, opc##_RANGE_MAX, size }
23048 +/* Define a relax state that will be handled specially */
23049 +#define RS(id, r_type, size) \
23050 + { "RS_"#id, RS_##id, RS_NONE, RS_NONE, RS_NONE, REF_ABSOLUTE, \
23051 + R_AVR32_##r_type, 0, 0, 0, 0, size }
23053 +const struct relax_state relax_state[RS_MAX] = {
23054 + RS(NONE, NONE, 0),
23055 + RS(ALIGN, ALIGN, 0),
23056 + RS(CPENT, 32_CPENT, 4),
23058 + RG(PIC_CALL, PIC_RCALL1, PIC_MCALL, NONE, GOTCALL, PIC_MOV2, 10),
23059 + RG(PIC_MCALL, PIC_RCALL1, NONE, PIC_CALL, GOT18SW, PIC_MCALL, 4),
23060 + RP(PIC_RCALL2, NONE, PIC_RCALL1, PIC_MCALL, 22H_PCREL, RCALL2, 4),
23061 + RP(PIC_RCALL1, NONE, NONE, PIC_RCALL2, 11H_PCREL, RCALL1, 2),
23063 + RG(PIC_LDA, PIC_SUB5, PIC_LDW4, NONE, LDA_GOT, PIC_MOV2, 8),
23064 + RG(PIC_LDW4, PIC_SUB5, PIC_LDW3, PIC_LDA, GOT16S, PIC_LDW4, 4),
23065 + RG(PIC_LDW3, PIC_SUB5, NONE, PIC_LDW4, GOT7UW, PIC_LDW3, 2),
23066 + RP(PIC_SUB5, NONE, NONE, PIC_LDW3, 16N_PCREL, SUB5_PC, 4),
23068 + RC(NOPIC_MCALL, NOPIC_RCALL1, NONE, NONE, CPCALL, NOPIC_MCALL, 4),
23069 + RP(NOPIC_RCALL2, NONE, NOPIC_RCALL1, NOPIC_MCALL, 22H_PCREL, RCALL2, 4),
23070 + RP(NOPIC_RCALL1, NONE, NONE, NOPIC_RCALL2, 11H_PCREL, RCALL1, 2),
23072 +#ifdef DHRYSTONE_FIX
23073 + RC(NOPIC_LDW4, NOPIC_MOV1, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
23074 + RC(NOPIC_LDDPC, NOPIC_MOV1, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
23075 + RP(NOPIC_SUB5, NOPIC_MOV1, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
23076 + RD(NOPIC_MOV2, NONE, NOPIC_MOV1, NOPIC_SUB5, 21S, NOPIC_MOV2, 4),
23077 + RD(NOPIC_MOV1, NONE, NONE, NOPIC_MOV2, 8S, NOPIC_MOV1, 2),
23079 + RC(NOPIC_LDW4, NOPIC_SUB5, NOPIC_LDDPC, NONE, 16_CP, NOPIC_LDW4, 4),
23080 + RC(NOPIC_LDDPC, NOPIC_SUB5, NONE, NOPIC_LDW4, 9W_CP, LDDPC, 2),
23081 + RP(NOPIC_SUB5, NONE, NONE, NOPIC_LDDPC, 16N_PCREL, SUB5_PC, 4),
23084 + RP(RCALL2, NONE, RCALL1, NONE, 22H_PCREL, RCALL2, 4),
23085 + RP(RCALL1, NONE, NONE, RCALL2, 11H_PCREL, RCALL1, 2),
23086 + RP(BRC2, NONE, BRC1, NONE, 22H_PCREL, BRC2, 4),
23087 + RP(BRC1, NONE, NONE, BRC2, 9H_PCREL, BRC1, 2),
23088 + RP(BRAL, NONE, RJMP, NONE, 22H_PCREL, BRAL, 4),
23089 + RP(RJMP, NONE, NONE, BRAL, 11H_PCREL, RJMP, 2),
23092 +static bfd_boolean
23093 +avr32_elf_new_section_hook(bfd *abfd, asection *sec)
23095 + struct avr32_section_data *sdata;
23097 + sdata = bfd_zalloc(abfd, sizeof(struct avr32_section_data));
23101 + sec->used_by_bfd = sdata;
23102 + return _bfd_elf_new_section_hook(abfd, sec);
23105 +static struct avr32_relax_data *
23106 +avr32_relax_data(asection *sec)
23108 + struct avr32_section_data *sdata;
23110 + BFD_ASSERT(sec->used_by_bfd);
23112 + sdata = (struct avr32_section_data *)elf_section_data(sec);
23113 + return &sdata->relax_data;
23116 +
\f/* Link-time relaxation */
23118 +static bfd_boolean
23119 +avr32_elf_relax_section(bfd *abfd, asection *sec,
23120 + struct bfd_link_info *info, bfd_boolean *again);
23122 +enum relax_pass_id {
23123 + RELAX_PASS_SIZE_FRAGS,
23124 + RELAX_PASS_MOVE_DATA,
23127 +/* Stolen from the xtensa port */
23129 +internal_reloc_compare (const void *ap, const void *bp)
23131 + const Elf_Internal_Rela *a = (const Elf_Internal_Rela *) ap;
23132 + const Elf_Internal_Rela *b = (const Elf_Internal_Rela *) bp;
23134 + if (a->r_offset != b->r_offset)
23135 + return (a->r_offset - b->r_offset);
23137 + /* We don't need to sort on these criteria for correctness,
23138 + but enforcing a more strict ordering prevents unstable qsort
23139 + from behaving differently with different implementations.
23140 + Without the code below we get correct but different results
23141 + on Solaris 2.7 and 2.8. We would like to always produce the
23142 + same results no matter the host. */
23144 + if (a->r_info != b->r_info)
23145 + return (a->r_info - b->r_info);
23147 + return (a->r_addend - b->r_addend);
23150 +static enum relax_state_id
23151 +get_pcrel22_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
23152 + const Elf_Internal_Rela *rela)
23154 + bfd_byte *contents;
23156 + enum relax_state_id rs = RS_NONE;
23158 + contents = retrieve_contents(abfd, sec, info->keep_memory);
23162 + insn = bfd_get_32(abfd, contents + rela->r_offset);
23163 + if ((insn & RCALL2_MASK) == RCALL2_OPCODE)
23165 + else if ((insn & BRAL_MASK) == BRAL_OPCODE)
23166 + /* Optimizing bral -> rjmp gets us into all kinds of
23167 + trouble with jump tables. Better not do it. */
23169 + else if ((insn & BRC2_MASK) == BRC2_OPCODE)
23172 + release_contents(sec, contents);
23177 +static enum relax_state_id
23178 +get_initial_relax_state(bfd *abfd, asection *sec, struct bfd_link_info *info,
23179 + const Elf_Internal_Rela *rela)
23181 + switch (ELF_R_TYPE(rela->r_info))
23183 + case R_AVR32_GOTCALL:
23184 + return RS_PIC_CALL;
23185 + case R_AVR32_GOT18SW:
23186 + return RS_PIC_MCALL;
23187 + case R_AVR32_LDA_GOT:
23188 + return RS_PIC_LDA;
23189 + case R_AVR32_GOT16S:
23190 + return RS_PIC_LDW4;
23191 + case R_AVR32_CPCALL:
23192 + return RS_NOPIC_MCALL;
23193 + case R_AVR32_16_CP:
23194 + return RS_NOPIC_LDW4;
23195 + case R_AVR32_9W_CP:
23196 + return RS_NOPIC_LDDPC;
23197 + case R_AVR32_ALIGN:
23199 + case R_AVR32_32_CPENT:
23201 + case R_AVR32_22H_PCREL:
23202 + return get_pcrel22_relax_state(abfd, sec, info, rela);
23203 + case R_AVR32_9H_PCREL:
23210 +static bfd_boolean
23211 +reloc_is_cpool_ref(const Elf_Internal_Rela *rela)
23213 + switch (ELF_R_TYPE(rela->r_info))
23215 + case R_AVR32_CPCALL:
23216 + case R_AVR32_16_CP:
23217 + case R_AVR32_9W_CP:
23224 +static struct fragment *
23225 +new_frag(bfd *abfd ATTRIBUTE_UNUSED, asection *sec,
23226 + struct avr32_relax_data *rd, enum relax_state_id state,
23227 + Elf_Internal_Rela *rela)
23229 + struct fragment *frag;
23230 + bfd_size_type r_size;
23231 + bfd_vma r_offset;
23232 + unsigned int i = rd->frag_count;
23234 + BFD_ASSERT(state >= RS_NONE && state < RS_MAX);
23236 + rd->frag_count++;
23237 + frag = bfd_realloc(rd->frag, sizeof(struct fragment) * rd->frag_count);
23243 + memset(frag, 0, sizeof(struct fragment));
23245 + if (state == RS_ALIGN)
23246 + r_size = (((rela->r_offset + (1 << rela->r_addend) - 1)
23247 + & ~((1 << rela->r_addend) - 1)) - rela->r_offset);
23249 + r_size = relax_state[state].size;
23252 + r_offset = rela->r_offset;
23254 + r_offset = sec->size;
23258 + frag->offset = 0;
23259 + frag->size = r_offset + r_size;
23263 + frag->offset = rd->frag[i - 1].offset + rd->frag[i - 1].size;
23264 + frag->size = r_offset + r_size - frag->offset;
23267 + if (state != RS_CPENT)
23268 + /* Make sure we don't discard this frag */
23269 + frag->refcount = 1;
23271 + frag->initial_state = frag->state = state;
23272 + frag->rela = rela;
23277 +static struct fragment *
23278 +find_frag(asection *sec, bfd_vma offset)
23280 + struct fragment *first, *last;
23281 + struct avr32_relax_data *rd = avr32_relax_data(sec);
23283 + if (rd->frag_count == 0)
23286 + first = &rd->frag[0];
23287 + last = &rd->frag[rd->frag_count - 1];
23289 + /* This may be a reloc referencing the end of a section. The last
23290 + frag will never have a reloc associated with it, so its size will
23291 + never change, thus the offset adjustment of the last frag will
23292 + always be the same as the offset adjustment of the end of the
23294 + if (offset == sec->size)
23296 + BFD_ASSERT(last->offset + last->size == sec->size);
23297 + BFD_ASSERT(!last->rela);
23301 + while (first <= last)
23303 + struct fragment *mid;
23305 + mid = (last - first) / 2 + first;
23306 + if ((mid->offset + mid->size) <= offset)
23308 + else if (mid->offset > offset)
23317 +/* Look through all relocs in a section and determine if any relocs
23318 + may be affected by relaxation in other sections. If so, allocate
23319 + an array of additional relocation data which links the affected
23320 + relocations to the frag(s) where the relaxation may occur.
23322 + This function also links cpool references to cpool entries and
23323 + increments the refcount of the latter when this happens. */
23325 +static bfd_boolean
23326 +allocate_reloc_data(bfd *abfd, asection *sec, Elf_Internal_Rela *relocs,
23327 + struct bfd_link_info *info)
23329 + Elf_Internal_Shdr *symtab_hdr;
23330 + Elf_Internal_Sym *isymbuf = NULL;
23331 + struct avr32_relax_data *rd;
23333 + bfd_boolean ret = FALSE;
23335 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
23336 + rd = avr32_relax_data(sec);
23338 + RDBG("%s<%s>: allocate_reloc_data\n", abfd->filename, sec->name);
23340 + for (i = 0; i < sec->reloc_count; i++)
23342 + Elf_Internal_Rela *rel = &relocs[i];
23343 + asection *sym_sec;
23344 + unsigned long r_symndx;
23345 + bfd_vma sym_value;
23347 + if (!rel->r_addend && ELF_R_TYPE(rel->r_info) != R_AVR32_DIFF32
23348 + && !reloc_is_cpool_ref(rel))
23351 + r_symndx = ELF_R_SYM(rel->r_info);
23353 + if (r_symndx < symtab_hdr->sh_info)
23355 + Elf_Internal_Sym *isym;
23358 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
23362 + isym = &isymbuf[r_symndx];
23363 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
23364 + sym_value = isym->st_value;
23368 + struct elf_link_hash_entry *h;
23370 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
23372 + while (h->root.type == bfd_link_hash_indirect
23373 + || h->root.type == bfd_link_hash_warning)
23374 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
23376 + if (h->root.type != bfd_link_hash_defined
23377 + && h->root.type != bfd_link_hash_defweak)
23380 + sym_sec = h->root.u.def.section;
23381 + sym_value = h->root.u.def.value;
23384 + if (sym_sec && avr32_relax_data(sym_sec)->is_relaxable)
23386 + bfd_size_type size;
23387 + struct fragment *frag;
23389 + if (!rd->reloc_data)
23391 + size = sizeof(struct avr32_reloc_data) * sec->reloc_count;
23392 + rd->reloc_data = bfd_zalloc(abfd, size);
23393 + if (!rd->reloc_data)
23397 + RDBG("[%3d] 0x%04lx: target: 0x%lx + 0x%lx",
23398 + i, rel->r_offset, sym_value, rel->r_addend);
23400 + frag = find_frag(sym_sec, sym_value + rel->r_addend);
23401 + BFD_ASSERT(frag);
23402 + rd->reloc_data[i].add_frag = frag;
23404 + RDBG(" -> %s<%s>:%04lx\n", sym_sec->owner->filename, sym_sec->name,
23405 + frag->rela ? frag->rela->r_offset : sym_sec->size);
23407 + if (reloc_is_cpool_ref(rel))
23409 + BFD_ASSERT(ELF_R_TYPE(frag->rela->r_info) == R_AVR32_32_CPENT);
23410 + frag->refcount++;
23413 + if (ELF_R_TYPE(rel->r_info) == R_AVR32_DIFF32)
23415 + bfd_byte *contents;
23416 + bfd_signed_vma diff;
23418 + contents = retrieve_contents(abfd, sec, info->keep_memory);
23422 + diff = bfd_get_signed_32(abfd, contents + rel->r_offset);
23423 + frag = find_frag(sym_sec, sym_value + rel->r_addend + diff);
23424 + BFD_ASSERT(frag);
23425 + rd->reloc_data[i].sub_frag = frag;
23427 + release_contents(sec, contents);
23435 + release_local_syms(abfd, isymbuf);
23439 +static bfd_boolean
23440 +global_sym_set_frag(struct elf_avr32_link_hash_entry *havr,
23441 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
23443 + struct fragment *frag;
23446 + if (havr->root.root.type != bfd_link_hash_defined
23447 + && havr->root.root.type != bfd_link_hash_defweak)
23450 + sec = havr->root.root.u.def.section;
23451 + if (bfd_is_const_section(sec)
23452 + || !avr32_relax_data(sec)->is_relaxable)
23455 + frag = find_frag(sec, havr->root.root.u.def.value);
23459 + struct avr32_relax_data *rd = avr32_relax_data(sec);
23461 + RDBG("In %s: No frag for %s <%s+%lu> (limit %lu)\n",
23462 + sec->owner->filename, havr->root.root.root.string,
23463 + sec->name, havr->root.root.u.def.value, sec->size);
23464 + for (i = 0; i < rd->frag_count; i++)
23465 + RDBG(" %8lu - %8lu\n", rd->frag[i].offset,
23466 + rd->frag[i].offset + rd->frag[i].size);
23468 + BFD_ASSERT(frag);
23470 + havr->sym_frag = frag;
23474 +static bfd_boolean
23475 +analyze_relocations(struct bfd_link_info *info)
23480 + /* Divide all relaxable sections into fragments */
23481 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
23483 + if (!(elf_elfheader(abfd)->e_flags & EF_AVR32_LINKRELAX))
23485 + if (!(*info->callbacks->warning)
23486 + (info, _("input is not relaxable"), NULL, abfd, NULL, 0))
23491 + for (sec = abfd->sections; sec; sec = sec->next)
23493 + struct avr32_relax_data *rd;
23494 + struct fragment *frag;
23495 + Elf_Internal_Rela *relocs;
23497 + bfd_boolean ret = TRUE;
23499 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
23502 + rd = avr32_relax_data(sec);
23504 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
23508 + qsort(relocs, sec->reloc_count, sizeof(Elf_Internal_Rela),
23509 + internal_reloc_compare);
23511 + for (i = 0; i < sec->reloc_count; i++)
23513 + enum relax_state_id state;
23516 + state = get_initial_relax_state(abfd, sec, info, &relocs[i]);
23517 + if (state == RS_ERROR)
23522 + frag = new_frag(abfd, sec, rd, state, &relocs[i]);
23526 + pin_internal_relocs(sec, relocs);
23527 + rd->is_relaxable = TRUE;
23533 + release_internal_relocs(sec, relocs);
23537 + if (rd->is_relaxable)
23539 + frag = new_frag(abfd, sec, rd, RS_NONE, NULL);
23546 + /* Link each global symbol to the fragment where it's defined. */
23547 + elf_link_hash_traverse(elf_hash_table(info), global_sym_set_frag, info);
23549 + /* Do the same for local symbols. */
23550 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
23552 + Elf_Internal_Sym *isymbuf, *isym;
23553 + struct fragment **local_sym_frag;
23554 + unsigned int i, sym_count;
23556 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
23557 + if (sym_count == 0)
23560 + local_sym_frag = bfd_zalloc(abfd, sym_count * sizeof(struct fragment *));
23561 + if (!local_sym_frag)
23563 + elf_tdata(abfd)->local_sym_frag = local_sym_frag;
23565 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
23569 + for (i = 0; i < sym_count; i++)
23571 + struct avr32_relax_data *rd;
23572 + struct fragment *frag;
23575 + isym = &isymbuf[i];
23577 + sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
23581 + rd = avr32_relax_data(sec);
23582 + if (!rd->is_relaxable)
23585 + frag = find_frag(sec, isym->st_value);
23586 + BFD_ASSERT(frag);
23588 + local_sym_frag[i] = frag;
23591 + release_local_syms(abfd, isymbuf);
23594 + /* And again for relocs with addends and constant pool references */
23595 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
23596 + for (sec = abfd->sections; sec; sec = sec->next)
23598 + Elf_Internal_Rela *relocs;
23601 + if (!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
23604 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
23608 + ret = allocate_reloc_data(abfd, sec, relocs, info);
23610 + release_internal_relocs(sec, relocs);
23611 + if (ret == FALSE)
23618 +static bfd_boolean
23619 +rs_is_good_enough(const struct relax_state *rs, struct fragment *frag,
23620 + bfd_vma symval, bfd_vma addr, struct got_entry *got,
23621 + struct avr32_reloc_data *ind_data,
23622 + bfd_signed_vma offset_adjust)
23624 + bfd_signed_vma target = 0;
23626 + switch (rs->reftype)
23628 + case REF_ABSOLUTE:
23632 + target = symval - addr;
23635 + /* cpool frags are always in the same section and always after
23636 + all frags referring to it. So it's always correct to add in
23637 + offset_adjust here. */
23638 + target = (ind_data->add_frag->offset + ind_data->add_frag->offset_adjust
23639 + + offset_adjust - frag->offset - frag->offset_adjust);
23642 + target = got->offset;
23648 + if (target >= rs->range_min && target <= rs->range_max)
23654 +static bfd_boolean
23655 +avr32_size_frags(bfd *abfd, asection *sec, struct bfd_link_info *info)
23657 + struct elf_avr32_link_hash_table *htab;
23658 + struct avr32_relax_data *rd;
23659 + Elf_Internal_Shdr *symtab_hdr;
23660 + Elf_Internal_Rela *relocs = NULL;
23661 + Elf_Internal_Sym *isymbuf = NULL;
23662 + struct got_entry **local_got_ents;
23663 + struct fragment **local_sym_frag;
23664 + bfd_boolean ret = FALSE;
23665 + bfd_signed_vma delta = 0;
23668 + htab = avr32_elf_hash_table(info);
23669 + rd = avr32_relax_data(sec);
23671 + if (sec == htab->sgot)
23673 + RDBG("Relaxing GOT section (vma: 0x%lx)\n",
23674 + sec->output_section->vma + sec->output_offset);
23675 + if (assign_got_offsets(htab))
23676 + htab->repeat_pass = TRUE;
23680 + if (!rd->is_relaxable)
23683 + if (!sec->rawsize)
23684 + sec->rawsize = sec->size;
23686 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
23687 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
23691 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
23695 + local_got_ents = elf_local_got_ents(abfd);
23696 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
23698 + RDBG("size_frags: %s<%s>\n vma: 0x%08lx, size: 0x%08lx\n",
23699 + abfd->filename, sec->name,
23700 + sec->output_section->vma + sec->output_offset, sec->size);
23702 + for (i = 0; i < rd->frag_count; i++)
23704 + struct fragment *frag = &rd->frag[i];
23705 + struct avr32_reloc_data *r_data = NULL, *ind_data = NULL;
23706 + const struct relax_state *state, *next_state;
23707 + struct fragment *target_frag = NULL;
23708 + asection *sym_sec = NULL;
23709 + Elf_Internal_Rela *rela;
23710 + struct got_entry *got;
23711 + bfd_vma symval, r_offset, addend, addr;
23712 + bfd_signed_vma size_adjust = 0, distance;
23713 + unsigned long r_symndx;
23714 + bfd_boolean defined = TRUE, dynamic = FALSE;
23715 + unsigned char sym_type;
23717 + frag->offset_adjust += delta;
23718 + state = next_state = &relax_state[frag->state];
23719 + rela = frag->rela;
23721 + BFD_ASSERT(state->id == frag->state);
23723 + RDBG(" 0x%04lx%c%d: %s [size %ld]", rela ? rela->r_offset : sec->rawsize,
23724 + (frag->offset_adjust < 0)?'-':'+',
23725 + abs(frag->offset_adjust), state->name, state->size);
23729 + RDBG(": no reloc, ignoring\n");
23733 + BFD_ASSERT((unsigned int)(rela - relocs) < sec->reloc_count);
23734 + BFD_ASSERT(state != RS_NONE);
23736 + r_offset = rela->r_offset + frag->offset_adjust;
23737 + addr = sec->output_section->vma + sec->output_offset + r_offset;
23739 + switch (frag->state)
23742 + size_adjust = ((addr + (1 << rela->r_addend) - 1)
23743 + & ~((1 << rela->r_addend) - 1));
23744 + size_adjust -= (sec->output_section->vma + sec->output_offset
23745 + + frag->offset + frag->offset_adjust
23746 + + frag->size + frag->size_adjust);
23748 + RDBG(": adjusting size %lu -> %lu\n", frag->size + frag->size_adjust,
23749 + frag->size + frag->size_adjust + size_adjust);
23753 + if (frag->refcount == 0 && frag->size_adjust == 0)
23755 + RDBG(": discarding frag\n");
23756 + size_adjust = -4;
23758 + else if (frag->refcount > 0 && frag->size_adjust < 0)
23760 + RDBG(": un-discarding frag\n");
23766 + if (rd->reloc_data)
23767 + r_data = &rd->reloc_data[frag->rela - relocs];
23769 + /* If this is a cpool reference, we want the symbol that the
23770 + cpool entry refers to, not the symbol for the cpool entry
23771 + itself, as we already know what frag it's in. */
23772 + if (relax_state[frag->initial_state].reftype == REF_CPOOL)
23774 + Elf_Internal_Rela *irela = r_data->add_frag->rela;
23776 + r_symndx = ELF_R_SYM(irela->r_info);
23777 + addend = irela->r_addend;
23779 + /* The constant pool must be in the same section as the
23780 + reloc referring to it. */
23781 + BFD_ASSERT((unsigned long)(irela - relocs) < sec->reloc_count);
23783 + ind_data = r_data;
23784 + r_data = &rd->reloc_data[irela - relocs];
23788 + r_symndx = ELF_R_SYM(rela->r_info);
23789 + addend = rela->r_addend;
23792 + /* Get the value of the symbol referred to by the reloc. */
23793 + if (r_symndx < symtab_hdr->sh_info)
23795 + Elf_Internal_Sym *isym;
23797 + isym = isymbuf + r_symndx;
23800 + RDBG(" local sym %lu: ", r_symndx);
23802 + if (isym->st_shndx == SHN_UNDEF)
23804 + else if (isym->st_shndx == SHN_ABS)
23805 + sym_sec = bfd_abs_section_ptr;
23806 + else if (isym->st_shndx == SHN_COMMON)
23807 + sym_sec = bfd_com_section_ptr;
23809 + sym_sec = bfd_section_from_elf_index(abfd, isym->st_shndx);
23811 + symval = isym->st_value;
23812 + sym_type = ELF_ST_TYPE(isym->st_info);
23813 + target_frag = local_sym_frag[r_symndx];
23815 + if (local_got_ents)
23816 + got = local_got_ents[r_symndx];
23822 + /* Global symbol */
23823 + unsigned long index;
23824 + struct elf_link_hash_entry *h;
23825 + struct elf_avr32_link_hash_entry *havr;
23827 + index = r_symndx - symtab_hdr->sh_info;
23828 + h = elf_sym_hashes(abfd)[index];
23829 + BFD_ASSERT(h != NULL);
23831 + while (h->root.type == bfd_link_hash_indirect
23832 + || h->root.type == bfd_link_hash_warning)
23833 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
23835 + havr = (struct elf_avr32_link_hash_entry *)h;
23836 + got = h->got.glist;
23840 + RDBG(" %s: ", h->root.root.string);
23842 + if (h->root.type != bfd_link_hash_defined
23843 + && h->root.type != bfd_link_hash_defweak)
23848 + else if ((info->shared && !info->symbolic && h->dynindx != -1)
23849 + || (htab->root.dynamic_sections_created
23850 + && h->def_dynamic && !h->def_regular))
23852 + RDBG("(dynamic)");
23854 + sym_sec = h->root.u.def.section;
23858 + sym_sec = h->root.u.def.section;
23859 + symval = h->root.u.def.value;
23860 + target_frag = havr->sym_frag;
23863 + sym_type = h->type;
23866 + /* Thanks to elf32-ppc for this one. */
23867 + if (sym_sec && sym_sec->sec_info_type == ELF_INFO_TYPE_MERGE)
23869 + /* At this stage in linking, no SEC_MERGE symbol has been
23870 + adjusted, so all references to such symbols need to be
23871 + passed through _bfd_merged_section_offset. (Later, in
23872 + relocate_section, all SEC_MERGE symbols *except* for
23873 + section symbols have been adjusted.)
23875 + SEC_MERGE sections are not relaxed by us, as they
23876 + shouldn't contain any code. */
23878 + BFD_ASSERT(!target_frag && !(r_data && r_data->add_frag));
23880 + /* gas may reduce relocations against symbols in SEC_MERGE
23881 + sections to a relocation against the section symbol when
23882 + the original addend was zero. When the reloc is against
23883 + a section symbol we should include the addend in the
23884 + offset passed to _bfd_merged_section_offset, since the
23885 + location of interest is the original symbol. On the
23886 + other hand, an access to "sym+addend" where "sym" is not
23887 + a section symbol should not include the addend; Such an
23888 + access is presumed to be an offset from "sym"; The
23889 + location of interest is just "sym". */
23890 + RDBG("\n MERGE: %s: 0x%lx+0x%lx+0x%lx -> ",
23891 + (sym_type == STT_SECTION)?"section":"not section",
23892 + sym_sec->output_section->vma + sym_sec->output_offset,
23895 + if (sym_type == STT_SECTION)
23896 + symval += addend;
23898 + symval = (_bfd_merged_section_offset
23900 + elf_section_data(sym_sec)->sec_info, symval));
23902 + if (sym_type != STT_SECTION)
23903 + symval += addend;
23906 + symval += addend;
23908 + if (defined && !dynamic)
23910 + RDBG("0x%lx+0x%lx",
23911 + sym_sec->output_section->vma + sym_sec->output_offset,
23913 + symval += sym_sec->output_section->vma + sym_sec->output_offset;
23916 + if (r_data && r_data->add_frag)
23917 + /* If the add_frag pointer is set, it means that this reloc
23918 + has an addend that may be affected by relaxation. */
23919 + target_frag = r_data->add_frag;
23923 + symval += target_frag->offset_adjust;
23925 + /* If target_frag comes after this frag in the same
23926 + section, we should assume that it will be moved by
23927 + the same amount we are. */
23928 + if ((target_frag - rd->frag) < (int)rd->frag_count
23929 + && target_frag > frag)
23933 + distance = symval - addr;
23935 + /* First, try to make a direct reference. If the symbol is
23936 + dynamic or undefined, we must take care not to change its
23937 + reference type, that is, we can't make it direct.
23939 + Also, it seems like some sections may actually be resized
23940 + after the relaxation code is done, so we can't really
23941 + trust that our "distance" is correct. There's really no
23942 + easy solution to this problem, so we'll just disallow
23943 + direct references to SEC_DATA sections.
23945 + Oh, and .bss isn't actually SEC_DATA, so we disallow
23946 + !SEC_HAS_CONTENTS as well. */
23947 + if (!dynamic && defined
23948 +#ifndef DHRYSTONE_FIX
23949 + && !(sym_sec->flags & SEC_DATA)
23951 + && (sym_sec->flags & SEC_HAS_CONTENTS)
23952 + && next_state->direct)
23954 + next_state = &relax_state[next_state->direct];
23955 + RDBG(" D-> %s", next_state->name);
23958 + /* Iterate backwards until we find a state that fits. */
23959 + while (next_state->prev
23960 + && !rs_is_good_enough(next_state, frag, symval, addr,
23961 + got, ind_data, delta))
23963 + next_state = &relax_state[next_state->prev];
23964 + RDBG(" P-> %s", next_state->name);
23967 + /* Then try to find the best possible state. */
23968 + while (next_state->next)
23970 + const struct relax_state *candidate;
23972 + candidate = &relax_state[next_state->next];
23973 + if (!rs_is_good_enough(candidate, frag, symval, addr, got,
23974 + ind_data, delta))
23977 + next_state = candidate;
23978 + RDBG(" N-> %s", next_state->name);
23981 + RDBG(" [size %ld]\n", next_state->size);
23983 + BFD_ASSERT(next_state->id);
23984 + BFD_ASSERT(!dynamic || next_state->reftype == REF_GOT);
23986 + size_adjust = next_state->size - state->size;
23988 + /* There's a theoretical possibility that shrinking one frag
23989 + may cause another to grow, which may cause the first one to
23990 + grow as well, and we're back where we started. Avoid this
23991 + scenario by disallowing a frag that has grown to ever
23993 + if (state->reftype == REF_GOT && next_state->reftype != REF_GOT)
23995 + if (frag->has_grown)
23996 + next_state = state;
23998 + unref_got_entry(htab, got);
24000 + else if (state->reftype != REF_GOT && next_state->reftype == REF_GOT)
24002 + ref_got_entry(htab, got);
24003 + frag->has_grown = TRUE;
24005 + else if (state->reftype == REF_CPOOL
24006 + && next_state->reftype != REF_CPOOL)
24008 + if (frag->has_grown)
24009 + next_state = state;
24011 + ind_data->add_frag->refcount--;
24013 + else if (state->reftype != REF_CPOOL
24014 + && next_state->reftype == REF_CPOOL)
24016 + ind_data->add_frag->refcount++;
24017 + frag->has_grown = TRUE;
24021 + if (frag->has_grown && size_adjust < 0)
24022 + next_state = state;
24023 + else if (size_adjust > 0)
24024 + frag->has_grown = TRUE;
24027 + size_adjust = next_state->size - state->size;
24028 + frag->state = next_state->id;
24034 + htab->repeat_pass = TRUE;
24036 + frag->size_adjust += size_adjust;
24037 + sec->size += size_adjust;
24038 + delta += size_adjust;
24040 + BFD_ASSERT((frag->offset + frag->offset_adjust
24041 + + frag->size + frag->size_adjust)
24042 + == (frag[1].offset + frag[1].offset_adjust + delta));
24048 + release_local_syms(abfd, isymbuf);
24049 + release_internal_relocs(sec, relocs);
24053 +static bfd_boolean
24054 +adjust_global_symbol(struct elf_avr32_link_hash_entry *havr,
24055 + struct bfd_link_info *info ATTRIBUTE_UNUSED)
24057 + struct elf_link_hash_entry *h = &havr->root;
24059 + if (havr->sym_frag && (h->root.type == bfd_link_hash_defined
24060 + || h->root.type == bfd_link_hash_defweak))
24062 + RDBG("adjust_global_symbol: %s 0x%08lx -> 0x%08lx\n",
24063 + h->root.root.string, h->root.u.def.value,
24064 + h->root.u.def.value + havr->sym_frag->offset_adjust);
24065 + h->root.u.def.value += havr->sym_frag->offset_adjust;
24070 +static bfd_boolean
24071 +adjust_syms(struct bfd_link_info *info)
24073 + struct elf_avr32_link_hash_table *htab;
24076 + htab = avr32_elf_hash_table(info);
24077 + elf_link_hash_traverse(&htab->root, adjust_global_symbol, info);
24079 + for (abfd = info->input_bfds; abfd; abfd = abfd->link_next)
24081 + Elf_Internal_Sym *isymbuf;
24082 + struct fragment **local_sym_frag, *frag;
24083 + unsigned int i, sym_count;
24085 + sym_count = elf_tdata(abfd)->symtab_hdr.sh_info;
24086 + if (sym_count == 0)
24089 + isymbuf = retrieve_local_syms(abfd, info->keep_memory);
24093 + local_sym_frag = elf_tdata(abfd)->local_sym_frag;
24095 + for (i = 0; i < sym_count; i++)
24097 + frag = local_sym_frag[i];
24100 + RDBG("adjust_local_symbol: %s[%u] 0x%08lx -> 0x%08lx\n",
24101 + abfd->filename, i, isymbuf[i].st_value,
24102 + isymbuf[i].st_value + frag->offset_adjust);
24103 + isymbuf[i].st_value += frag->offset_adjust;
24107 + release_local_syms(abfd, isymbuf);
24110 + htab->symbols_adjusted = TRUE;
24114 +static bfd_boolean
24115 +adjust_relocs(bfd *abfd, asection *sec, struct bfd_link_info *info)
24117 + struct avr32_relax_data *rd;
24118 + Elf_Internal_Rela *relocs;
24119 + Elf_Internal_Shdr *symtab_hdr;
24121 + bfd_boolean ret = FALSE;
24123 + rd = avr32_relax_data(sec);
24124 + if (!rd->reloc_data)
24127 + RDBG("adjust_relocs: %s<%s> (count: %u)\n", abfd->filename, sec->name,
24128 + sec->reloc_count);
24130 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
24134 + symtab_hdr = &elf_tdata(abfd)->symtab_hdr;
24136 + for (i = 0; i < sec->reloc_count; i++)
24138 + Elf_Internal_Rela *rela = &relocs[i];
24139 + struct avr32_reloc_data *r_data = &rd->reloc_data[i];
24140 + struct fragment *sym_frag;
24141 + unsigned long r_symndx;
24143 + if (r_data->add_frag)
24145 + r_symndx = ELF_R_SYM(rela->r_info);
24147 + if (r_symndx < symtab_hdr->sh_info)
24148 + sym_frag = elf_tdata(abfd)->local_sym_frag[r_symndx];
24151 + struct elf_link_hash_entry *h;
24153 + h = elf_sym_hashes(abfd)[r_symndx - symtab_hdr->sh_info];
24155 + while (h->root.type == bfd_link_hash_indirect
24156 + || h->root.type == bfd_link_hash_warning)
24157 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
24159 + BFD_ASSERT(h->root.type == bfd_link_hash_defined
24160 + || h->root.type == bfd_link_hash_defweak);
24162 + sym_frag = ((struct elf_avr32_link_hash_entry *)h)->sym_frag;
24165 + RDBG(" addend: 0x%08lx -> 0x%08lx\n",
24167 + rela->r_addend + r_data->add_frag->offset_adjust
24168 + - (sym_frag ? sym_frag->offset_adjust : 0));
24170 + /* If this is against a section symbol, we won't find any
24171 + sym_frag, so we'll just adjust the addend. */
24172 + rela->r_addend += r_data->add_frag->offset_adjust;
24174 + rela->r_addend -= sym_frag->offset_adjust;
24176 + if (r_data->sub_frag)
24178 + bfd_byte *contents;
24179 + bfd_signed_vma diff;
24181 + contents = retrieve_contents(abfd, sec, info->keep_memory);
24185 + /* I realize now that sub_frag is misnamed. It's
24186 + actually add_frag which is subtracted in this
24188 + diff = bfd_get_signed_32(abfd, contents + rela->r_offset);
24189 + diff += (r_data->sub_frag->offset_adjust
24190 + - r_data->add_frag->offset_adjust);
24191 + bfd_put_32(abfd, diff, contents + rela->r_offset);
24193 + RDBG(" 0x%lx: DIFF32 updated: 0x%lx\n", rela->r_offset, diff);
24195 + release_contents(sec, contents);
24199 + BFD_ASSERT(!r_data->sub_frag);
24205 + release_internal_relocs(sec, relocs);
24209 +static bfd_boolean
24210 +avr32_move_data(bfd *abfd, asection *sec, struct bfd_link_info *info)
24212 + struct elf_avr32_link_hash_table *htab;
24213 + struct avr32_relax_data *rd;
24214 + struct fragment *frag, *fragend;
24215 + Elf_Internal_Rela *relocs = NULL;
24216 + bfd_byte *contents = NULL;
24218 + bfd_boolean ret = FALSE;
24220 + htab = avr32_elf_hash_table(info);
24221 + rd = avr32_relax_data(sec);
24223 + if (!htab->symbols_adjusted)
24224 + if (!adjust_syms(info))
24227 + if (rd->is_relaxable)
24229 + /* Resize the section first, so that we can be sure that enough
24230 + memory is allocated in case the section has grown. */
24231 + if (sec->size > sec->rawsize
24232 + && elf_section_data(sec)->this_hdr.contents)
24234 + /* We must not use cached data if the section has grown. */
24235 + free(elf_section_data(sec)->this_hdr.contents);
24236 + elf_section_data(sec)->this_hdr.contents = NULL;
24239 + relocs = retrieve_internal_relocs(abfd, sec, info->keep_memory);
24242 + contents = retrieve_contents(abfd, sec, info->keep_memory);
24246 + fragend = rd->frag + rd->frag_count;
24248 + RDBG("move_data: %s<%s>: relocs=%p, contents=%p\n",
24249 + abfd->filename, sec->name, relocs, contents);
24251 + /* First, move the data into place. We must take care to move
24252 + frags in the right order so that we don't accidentally
24253 + overwrite parts of the next frag. */
24254 + for (frag = rd->frag; frag < fragend; frag++)
24256 + RDBG(" 0x%08lx%c0x%x: size 0x%lx%c0x%x\n",
24257 + frag->offset, frag->offset_adjust >= 0 ? '+' : '-',
24258 + abs(frag->offset_adjust),
24259 + frag->size, frag->size_adjust >= 0 ? '+' : '-',
24260 + abs(frag->size_adjust));
24261 + if (frag->offset_adjust > 0)
24263 + struct fragment *prev = frag - 1;
24264 + struct fragment *last;
24266 + for (last = frag; last < fragend && last->offset_adjust > 0;
24269 + if (last == fragend)
24272 + for (frag = last; frag != prev; frag--)
24274 + if (frag->offset_adjust
24275 + && frag->size + frag->size_adjust > 0)
24277 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
24278 + frag->offset, frag->offset + frag->offset_adjust,
24279 + frag->size + frag->size_adjust);
24280 + memmove(contents + frag->offset + frag->offset_adjust,
24281 + contents + frag->offset,
24282 + frag->size + frag->size_adjust);
24287 + else if (frag->offset_adjust && frag->size + frag->size_adjust > 0)
24289 + RDBG("memmove 0x%lx -> 0x%lx (size %lu)\n",
24290 + frag->offset, frag->offset + frag->offset_adjust,
24291 + frag->size + frag->size_adjust);
24292 + memmove(contents + frag->offset + frag->offset_adjust,
24293 + contents + frag->offset,
24294 + frag->size + frag->size_adjust);
24300 + for (frag = rd->frag; frag < fragend; frag++)
24302 + const struct relax_state *state, *istate;
24303 + struct avr32_reloc_data *r_data = NULL;
24305 + istate = &relax_state[frag->initial_state];
24306 + state = &relax_state[frag->state];
24308 + if (rd->reloc_data)
24309 + r_data = &rd->reloc_data[frag->rela - relocs];
24311 + BFD_ASSERT((long)(frag->size + frag->size_adjust) >= 0);
24312 + BFD_ASSERT(state->reftype != REF_CPOOL
24313 + || r_data->add_frag->refcount > 0);
24315 + if (istate->reftype == REF_CPOOL && state->reftype != REF_CPOOL)
24317 + struct fragment *ifrag;
24319 + /* An indirect reference through the cpool has been
24320 + converted to a direct reference. We must update the
24321 + reloc to point to the symbol itself instead of the
24322 + constant pool entry. The reloc type will be updated
24324 + ifrag = r_data->add_frag;
24325 + frag->rela->r_info = ifrag->rela->r_info;
24326 + frag->rela->r_addend = ifrag->rela->r_addend;
24328 + /* Copy the reloc data so the addend will be adjusted
24329 + correctly later. */
24330 + *r_data = rd->reloc_data[ifrag->rela - relocs];
24333 + /* Move all relocs covered by this frag. */
24335 + BFD_ASSERT(&relocs[i] <= frag->rela);
24337 + BFD_ASSERT((frag + 1) == fragend && frag->state == RS_NONE);
24339 + if (frag == rd->frag)
24340 + BFD_ASSERT(i == 0);
24342 + BFD_ASSERT(&relocs[i] > frag[-1].rela);
24344 + /* If non-null, frag->rela is the last relocation in the
24345 + fragment. frag->rela can only be null in the last
24346 + fragment, so in that case, we'll just do the rest. */
24347 + for (; (i < sec->reloc_count
24348 + && (!frag->rela || &relocs[i] <= frag->rela)); i++)
24350 + RDBG("[%4u] r_offset 0x%08lx -> 0x%08lx\n", i, relocs[i].r_offset,
24351 + relocs[i].r_offset + frag->offset_adjust);
24352 + relocs[i].r_offset += frag->offset_adjust;
24355 + if (frag->refcount == 0)
24357 + /* If this frag is to be discarded, make sure we won't
24358 + relocate it later on. */
24359 + BFD_ASSERT(frag->state == RS_CPENT);
24360 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
24363 + else if (frag->state == RS_ALIGN)
24365 + bfd_vma addr, addr_end;
24367 + addr = frag->rela->r_offset;
24368 + addr_end = (frag->offset + frag->offset_adjust
24369 + + frag->size + frag->size_adjust);
24371 + /* If the section is executable, insert NOPs.
24372 + Otherwise, insert zeroes. */
24373 + if (sec->flags & SEC_CODE)
24377 + bfd_put_8(abfd, 0, contents + addr);
24381 + BFD_ASSERT(!((addr_end - addr) & 1));
24383 + while (addr < addr_end)
24385 + bfd_put_16(abfd, NOP_OPCODE, contents + addr);
24390 + memset(contents + addr, 0, addr_end - addr);
24392 + else if (state->opcode_mask)
24396 + /* Update the opcode and the relocation type unless it's a
24397 + "special" relax state (i.e. RS_NONE, RS_ALIGN or
24398 + RS_CPENT.), in which case the opcode mask is zero. */
24399 + insn = bfd_get_32(abfd, contents + frag->rela->r_offset);
24400 + insn &= ~state->opcode_mask;
24401 + insn |= state->opcode;
24402 + RDBG(" 0x%lx: inserting insn %08lx\n",
24403 + frag->rela->r_offset, insn);
24404 + bfd_put_32(abfd, insn, contents + frag->rela->r_offset);
24406 + frag->rela->r_info = ELF_R_INFO(ELF_R_SYM(frag->rela->r_info),
24410 + if ((frag + 1) == fragend)
24411 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
24412 + + frag->size_adjust) == sec->size);
24414 + BFD_ASSERT((frag->offset + frag->size + frag->offset_adjust
24415 + + frag->size_adjust)
24416 + == (frag[1].offset + frag[1].offset_adjust));
24420 + /* Adjust reloc addends and DIFF32 differences */
24421 + if (!adjust_relocs(abfd, sec, info))
24427 + release_contents(sec, contents);
24428 + release_internal_relocs(sec, relocs);
24432 +static bfd_boolean
24433 +avr32_elf_relax_section(bfd *abfd, asection *sec,
24434 + struct bfd_link_info *info, bfd_boolean *again)
24436 + struct elf_avr32_link_hash_table *htab;
24437 + struct avr32_relax_data *rd;
24440 + if (info->relocatable)
24443 + htab = avr32_elf_hash_table(info);
24444 + if ((!(sec->flags & SEC_RELOC) || sec->reloc_count == 0)
24445 + && sec != htab->sgot)
24448 + if (!htab->relocations_analyzed)
24450 + if (!analyze_relocations(info))
24452 + htab->relocations_analyzed = TRUE;
24455 + rd = avr32_relax_data(sec);
24457 + if (rd->iteration != htab->relax_iteration)
24459 + if (!htab->repeat_pass)
24460 + htab->relax_pass++;
24461 + htab->relax_iteration++;
24462 + htab->repeat_pass = FALSE;
24467 + switch (htab->relax_pass)
24469 + case RELAX_PASS_SIZE_FRAGS:
24470 + if (!avr32_size_frags(abfd, sec, info))
24474 + case RELAX_PASS_MOVE_DATA:
24475 + if (!avr32_move_data(abfd, sec, info))
24486 +static bfd_reloc_status_type
24487 +avr32_check_reloc_value(asection *sec, Elf_Internal_Rela *rela,
24488 + bfd_signed_vma relocation, reloc_howto_type *howto);
24489 +static bfd_reloc_status_type
24490 +avr32_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd,
24491 + asection *input_section, bfd_byte *contents,
24492 + Elf_Internal_Rela *rel, bfd_vma value);
24493 +static bfd_boolean
24494 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
24495 + bfd *input_bfd, asection *input_section,
24496 + bfd_byte *contents, Elf_Internal_Rela *relocs,
24497 + Elf_Internal_Sym *local_syms,
24498 + asection **local_sections);
24501 +#define symbol_address(symbol) \
24502 + symbol->value + symbol->section->output_section->vma \
24503 + + symbol->section->output_offset
24505 +#define avr32_elf_insert_field(size, field, abfd, reloc_entry, data) \
24508 + unsigned long x; \
24509 + x = bfd_get_##size (abfd, data + reloc_entry->address); \
24510 + x &= ~reloc_entry->howto->dst_mask; \
24511 + x |= field & reloc_entry->howto->dst_mask; \
24512 + bfd_put_##size (abfd, (bfd_vma) x, data + reloc_entry->address); \
24516 +static bfd_reloc_status_type
24517 +avr32_check_reloc_value(asection *sec ATTRIBUTE_UNUSED,
24518 + Elf_Internal_Rela *rela ATTRIBUTE_UNUSED,
24519 + bfd_signed_vma relocation,
24520 + reloc_howto_type *howto)
24524 + /* We take "complain_overflow_dont" to mean "don't complain on
24525 + alignment either". This way, we don't have to special-case
24527 + if (howto->complain_on_overflow == complain_overflow_dont)
24528 + return bfd_reloc_ok;
24530 + /* Check if the value is correctly aligned */
24531 + if (relocation & ((1 << howto->rightshift) - 1))
24533 + RDBG("misaligned: %s<%s+%lx>: %s: 0x%lx (align %u)\n",
24534 + sec->owner->filename, sec->name, rela->r_offset,
24535 + howto->name, relocation, howto->rightshift);
24536 + return bfd_reloc_overflow;
24539 + /* Now, get rid of the unnecessary bits */
24540 + relocation >>= howto->rightshift;
24541 + reloc_u = (bfd_vma)relocation;
24543 + switch (howto->complain_on_overflow)
24545 + case complain_overflow_unsigned:
24546 + case complain_overflow_bitfield:
24547 + if (reloc_u > (unsigned long)((1 << howto->bitsize) - 1))
24549 + RDBG("unsigned overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
24550 + sec->owner->filename, sec->name, rela->r_offset,
24551 + howto->name, reloc_u, howto->bitsize);
24552 + RDBG("reloc vma: 0x%lx\n",
24553 + sec->output_section->vma + sec->output_offset + rela->r_offset);
24555 + return bfd_reloc_overflow;
24558 + case complain_overflow_signed:
24559 + if (relocation > (1 << (howto->bitsize - 1)) - 1)
24561 + RDBG("signed overflow: %s<%s+%lx>: %s: 0x%lx (size %u)\n",
24562 + sec->owner->filename, sec->name, rela->r_offset,
24563 + howto->name, reloc_u, howto->bitsize);
24564 + RDBG("reloc vma: 0x%lx\n",
24565 + sec->output_section->vma + sec->output_offset + rela->r_offset);
24567 + return bfd_reloc_overflow;
24569 + if (relocation < -(1 << (howto->bitsize - 1)))
24571 + RDBG("signed overflow: %s<%s+%lx>: %s: -0x%lx (size %u)\n",
24572 + sec->owner->filename, sec->name, rela->r_offset,
24573 + howto->name, -relocation, howto->bitsize);
24574 + RDBG("reloc vma: 0x%lx\n",
24575 + sec->output_section->vma + sec->output_offset + rela->r_offset);
24577 + return bfd_reloc_overflow;
24584 + return bfd_reloc_ok;
24588 +static bfd_reloc_status_type
24589 +avr32_final_link_relocate(reloc_howto_type *howto,
24591 + asection *input_section,
24592 + bfd_byte *contents,
24593 + Elf_Internal_Rela *rel,
24597 + bfd_vma relocation;
24598 + bfd_reloc_status_type status;
24599 + bfd_byte *p = contents + rel->r_offset;
24602 + pr_debug(" (6b) final link relocate\n");
24604 + /* Sanity check the address */
24605 + if (rel->r_offset > input_section->size)
24607 + (*_bfd_error_handler)
24608 + ("%B: %A+0x%lx: offset out of range (section size: 0x%lx)",
24609 + input_bfd, input_section, rel->r_offset, input_section->size);
24610 + return bfd_reloc_outofrange;
24613 + relocation = value + rel->r_addend;
24615 + if (howto->pc_relative)
24619 + addr = input_section->output_section->vma
24620 + + input_section->output_offset + rel->r_offset;
24621 + addr &= ~0UL << howto->rightshift;
24622 + relocation -= addr;
24625 + switch (ELF32_R_TYPE(rel->r_info))
24627 + case R_AVR32_16N_PCREL:
24628 + /* sub reg, pc, . - (sym + addend) */
24629 + relocation = -relocation;
24633 + status = avr32_check_reloc_value(input_section, rel, relocation, howto);
24635 + relocation >>= howto->rightshift;
24636 + if (howto->bitsize == 21)
24637 + field = (relocation & 0xffff)
24638 + | ((relocation & 0x10000) << 4)
24639 + | ((relocation & 0x1e0000) << 8);
24640 + else if (howto->bitsize == 12)
24641 + field = (relocation & 0xff) | ((relocation & 0xf00) << 4);
24642 + else if (howto->bitsize == 10)
24643 + field = ((relocation & 0xff) << 4)
24644 + | ((relocation & 0x300) >> 8);
24646 + field = relocation << howto->bitpos;
24648 + switch (howto->size)
24651 + x = bfd_get_8 (input_bfd, p);
24652 + x &= ~howto->dst_mask;
24653 + x |= field & howto->dst_mask;
24654 + bfd_put_8 (input_bfd, (bfd_vma) x, p);
24657 + x = bfd_get_16 (input_bfd, p);
24658 + x &= ~howto->dst_mask;
24659 + x |= field & howto->dst_mask;
24660 + bfd_put_16 (input_bfd, (bfd_vma) x, p);
24663 + x = bfd_get_32 (input_bfd, p);
24664 + x &= ~howto->dst_mask;
24665 + x |= field & howto->dst_mask;
24666 + bfd_put_32 (input_bfd, (bfd_vma) x, p);
24675 +/* (6) Apply relocations to the normal (non-dynamic) sections */
24677 +static bfd_boolean
24678 +avr32_elf_relocate_section(bfd *output_bfd, struct bfd_link_info *info,
24679 + bfd *input_bfd, asection *input_section,
24680 + bfd_byte *contents, Elf_Internal_Rela *relocs,
24681 + Elf_Internal_Sym *local_syms,
24682 + asection **local_sections)
24684 + struct elf_avr32_link_hash_table *htab;
24685 + Elf_Internal_Shdr *symtab_hdr;
24686 + Elf_Internal_Rela *rel, *relend;
24687 + struct elf_link_hash_entry **sym_hashes;
24688 + struct got_entry **local_got_ents;
24690 + asection *srelgot;
24692 + pr_debug("(6) relocate section %s:<%s> (size 0x%lx)\n",
24693 + input_bfd->filename, input_section->name, input_section->size);
24695 + /* If we're doing a partial link, we don't have to do anything since
24696 + we're using RELA relocations */
24697 + if (info->relocatable)
24700 + htab = avr32_elf_hash_table(info);
24701 + symtab_hdr = &elf_tdata(input_bfd)->symtab_hdr;
24702 + sym_hashes = elf_sym_hashes(input_bfd);
24703 + local_got_ents = elf_local_got_ents(input_bfd);
24704 + sgot = htab->sgot;
24705 + srelgot = htab->srelgot;
24707 + relend = relocs + input_section->reloc_count;
24708 + for (rel = relocs; rel < relend; rel++)
24710 + unsigned long r_type, r_symndx;
24711 + reloc_howto_type *howto;
24712 + Elf_Internal_Sym *sym = NULL;
24713 + struct elf_link_hash_entry *h = NULL;
24714 + asection *sec = NULL;
24717 + bfd_reloc_status_type status;
24719 + r_type = ELF32_R_TYPE(rel->r_info);
24720 + r_symndx = ELF32_R_SYM(rel->r_info);
24722 + if (r_type == R_AVR32_NONE
24723 + || r_type == R_AVR32_ALIGN
24724 + || r_type == R_AVR32_DIFF32
24725 + || r_type == R_AVR32_DIFF16
24726 + || r_type == R_AVR32_DIFF8)
24729 + /* Sanity check */
24730 + if (r_type > R_AVR32_max)
24732 + bfd_set_error(bfd_error_bad_value);
24736 + howto = &elf_avr32_howto_table[r_type];
24738 + if (r_symndx < symtab_hdr->sh_info)
24740 + sym = local_syms + r_symndx;
24741 + sec = local_sections[r_symndx];
24743 + pr_debug(" (6a) processing %s against local symbol %lu\n",
24744 + howto->name, r_symndx);
24746 + /* The following function changes rel->r_addend behind our back. */
24747 + value = _bfd_elf_rela_local_sym(output_bfd, sym, &sec, rel);
24748 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
24752 + if (sym_hashes == NULL)
24755 + h = sym_hashes[r_symndx - symtab_hdr->sh_info];
24756 + while (h->root.type == bfd_link_hash_indirect
24757 + || h->root.type == bfd_link_hash_warning)
24758 + h = (struct elf_link_hash_entry *)h->root.u.i.link;
24760 + pr_debug(" (6a) processing %s against symbol %s\n",
24761 + howto->name, h->root.root.string);
24763 + if (h->root.type == bfd_link_hash_defined
24764 + || h->root.type == bfd_link_hash_defweak)
24768 + dyn = htab->root.dynamic_sections_created;
24769 + sec = h->root.u.def.section;
24771 + if (sec->output_section)
24772 + value = (h->root.u.def.value
24773 + + sec->output_section->vma
24774 + + sec->output_offset);
24776 + value = h->root.u.def.value;
24778 + else if (h->root.type == bfd_link_hash_undefweak)
24780 + else if (info->unresolved_syms_in_objects == RM_IGNORE
24781 + && ELF_ST_VISIBILITY(h->other) == STV_DEFAULT)
24786 + err = (info->unresolved_syms_in_objects == RM_GENERATE_ERROR
24787 + || ELF_ST_VISIBILITY(h->other) != STV_DEFAULT);
24788 + if (!info->callbacks->undefined_symbol
24789 + (info, h->root.root.string, input_bfd,
24790 + input_section, rel->r_offset, err))
24795 + pr_debug(" => value: %lx, addend: %lx\n", value, rel->r_addend);
24800 + case R_AVR32_GOT32:
24801 + case R_AVR32_GOT16:
24802 + case R_AVR32_GOT8:
24803 + case R_AVR32_GOT21S:
24804 + case R_AVR32_GOT18SW:
24805 + case R_AVR32_GOT16S:
24806 + case R_AVR32_GOT7UW:
24807 + case R_AVR32_LDA_GOT:
24808 + case R_AVR32_GOTCALL:
24809 + BFD_ASSERT(sgot != NULL);
24813 + BFD_ASSERT(h->got.glist->refcount > 0);
24814 + offset = h->got.glist->offset;
24816 + BFD_ASSERT(offset < sgot->size);
24817 + if (!elf_hash_table(info)->dynamic_sections_created
24818 + || (h->def_regular
24819 + && (!info->shared
24820 + || info->symbolic
24821 + || h->dynindx == -1)))
24823 + /* This is actually a static link, or it is a
24824 + -Bsymbolic link and the symbol is defined
24825 + locally, or the symbol was forced to be local. */
24826 + bfd_put_32(output_bfd, value, sgot->contents + offset);
24831 + BFD_ASSERT(local_got_ents &&
24832 + local_got_ents[r_symndx]->refcount > 0);
24833 + offset = local_got_ents[r_symndx]->offset;
24835 + /* Local GOT entries don't have relocs. If this is a
24836 + shared library, the dynamic linker will add the load
24837 + address to the initial value at startup. */
24838 + BFD_ASSERT(offset < sgot->size);
24839 + pr_debug("Initializing GOT entry at offset %lu: 0x%lx\n",
24841 + bfd_put_32 (output_bfd, value, sgot->contents + offset);
24844 + value = sgot->output_offset + offset;
24845 + pr_debug("GOT reference: New value %lx\n", value);
24848 + case R_AVR32_GOTPC:
24849 + /* This relocation type is for constant pool entries used in
24850 + the calculation "Rd = PC - (PC - GOT)", where the
24851 + constant pool supplies the constant (PC - GOT)
24852 + offset. The symbol value + addend indicates where the
24853 + value of PC is taken. */
24854 + value -= sgot->output_section->vma;
24857 + case R_AVR32_32_PCREL:
24858 + /* We must adjust r_offset to account for discarded data in
24859 + the .eh_frame section. This is probably not the right
24860 + way to do this, since AFAICS all other architectures do
24861 + it some other way. I just can't figure out how... */
24863 + bfd_vma r_offset;
24865 + r_offset = _bfd_elf_section_offset(output_bfd, info,
24868 + if (r_offset == (bfd_vma)-1
24869 + || r_offset == (bfd_vma)-2)
24871 + rel->r_offset = r_offset;
24876 + /* We need to emit a run-time relocation in the following cases:
24877 + - we're creating a shared library
24878 + - the symbol is not defined in any regular objects
24880 + Of course, sections that aren't going to be part of the
24881 + run-time image will not get any relocs, and undefined
24882 + symbols won't have any either (only weak undefined
24883 + symbols should get this far). */
24884 + if ((info->shared
24885 + || (elf_hash_table(info)->dynamic_sections_created
24887 + && h->def_dynamic
24888 + && !h->def_regular))
24890 + && (input_section->flags & SEC_ALLOC))
24892 + Elf_Internal_Rela outrel;
24894 + bfd_boolean skip, relocate;
24895 + struct elf_avr32_link_hash_entry *avrh;
24897 + pr_debug("Going to generate dynamic reloc...\n");
24900 + relocate = FALSE;
24902 + outrel.r_offset = _bfd_elf_section_offset(output_bfd, info,
24905 + if (outrel.r_offset == (bfd_vma)-1)
24907 + else if (outrel.r_offset == (bfd_vma)-2)
24908 + skip = TRUE, relocate = TRUE;
24910 + outrel.r_offset += (input_section->output_section->vma
24911 + + input_section->output_offset);
24913 + pr_debug(" ... offset %lx, dynindx %ld\n",
24914 + outrel.r_offset, h ? h->dynindx : -1);
24917 + memset(&outrel, 0, sizeof(outrel));
24920 + avrh = (struct elf_avr32_link_hash_entry *)h;
24921 + /* h->dynindx may be -1 if this symbol was marked to
24924 + || ((info->symbolic || h->dynindx == -1)
24925 + && h->def_regular))
24928 + outrel.r_info = ELF32_R_INFO(0, R_AVR32_RELATIVE);
24929 + outrel.r_addend = value + rel->r_addend;
24930 + pr_debug(" ... R_AVR32_RELATIVE\n");
24934 + BFD_ASSERT(h->dynindx != -1);
24936 + outrel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
24937 + outrel.r_addend = rel->r_addend;
24938 + pr_debug(" ... R_AVR32_GLOB_DAT\n");
24942 + pr_debug("srelgot reloc_count: %d, size %lu\n",
24943 + srelgot->reloc_count, srelgot->size);
24945 + loc = srelgot->contents;
24946 + loc += srelgot->reloc_count++ * sizeof(Elf32_External_Rela);
24947 + bfd_elf32_swap_reloca_out(output_bfd, &outrel, loc);
24949 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
24950 + <= srelgot->size);
24958 + status = avr32_final_link_relocate(howto, input_bfd, input_section,
24959 + contents, rel, value);
24963 + case bfd_reloc_ok:
24966 + case bfd_reloc_overflow:
24968 + const char *name;
24971 + name = h->root.root.string;
24974 + name = bfd_elf_string_from_elf_section(input_bfd,
24975 + symtab_hdr->sh_link,
24977 + if (name == NULL)
24979 + if (*name == '\0')
24980 + name = bfd_section_name(input_bfd, sec);
24982 + if (!((*info->callbacks->reloc_overflow)
24983 + (info, (h ? &h->root : NULL), name, howto->name,
24984 + rel->r_addend, input_bfd, input_section, rel->r_offset)))
24989 + case bfd_reloc_outofrange:
24999 +/* Additional processing of dynamic sections after relocation */
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);
25005 +static bfd_boolean
25006 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info);
25009 +/* (7) Initialize the contents of a dynamic symbol and/or emit
25010 + relocations for it */
25012 +static bfd_boolean
25013 +avr32_elf_finish_dynamic_symbol(bfd *output_bfd, struct bfd_link_info *info,
25014 + struct elf_link_hash_entry *h,
25015 + Elf_Internal_Sym *sym)
25017 + struct elf_avr32_link_hash_table *htab;
25018 + struct got_entry *got;
25020 + pr_debug("(7) finish dynamic symbol: %s\n", h->root.root.string);
25022 + htab = avr32_elf_hash_table(info);
25023 + got = h->got.glist;
25025 + if (got && got->refcount > 0)
25028 + asection *srelgot;
25029 + Elf_Internal_Rela rel;
25032 + /* This symbol has an entry in the GOT. Set it up. */
25033 + sgot = htab->sgot;
25034 + srelgot = htab->srelgot;
25035 + BFD_ASSERT(sgot && srelgot);
25037 + rel.r_offset = (sgot->output_section->vma
25038 + + sgot->output_offset
25041 + /* If this is a static link, or it is a -Bsymbolic link and the
25042 + symbol is defined locally or was forced to be local because
25043 + of a version file, we just want to emit a RELATIVE reloc. The
25044 + entry in the global offset table will already have been
25045 + initialized in the relocate_section function. */
25046 + if ((info->shared
25047 + && !info->symbolic
25048 + && h->dynindx != -1)
25049 + || (htab->root.dynamic_sections_created
25050 + && h->def_dynamic
25051 + && !h->def_regular))
25053 + bfd_put_32(output_bfd, 0, sgot->contents + got->offset);
25054 + rel.r_info = ELF32_R_INFO(h->dynindx, R_AVR32_GLOB_DAT);
25055 + rel.r_addend = 0;
25057 + pr_debug("GOT reloc R_AVR32_GLOB_DAT, dynindx: %ld\n", h->dynindx);
25058 + pr_debug(" srelgot reloc_count: %d, size: %lu\n",
25059 + srelgot->reloc_count, srelgot->size);
25061 + loc = (srelgot->contents
25062 + + srelgot->reloc_count++ * sizeof(Elf32_External_Rela));
25063 + bfd_elf32_swap_reloca_out(output_bfd, &rel, loc);
25065 + BFD_ASSERT(srelgot->reloc_count * sizeof(Elf32_External_Rela)
25066 + <= srelgot->size);
25070 + /* Mark _DYNAMIC and _GLOBAL_OFFSET_TABLE_ as absolute */
25071 + if (strcmp(h->root.root.string, "_DYNAMIC") == 0
25072 + || strcmp(h->root.root.string, "_GLOBAL_OFFSET_TABLE_") == 0)
25073 + sym->st_shndx = SHN_ABS;
25078 +/* (8) Do any remaining initialization of the dynamic sections */
25080 +static bfd_boolean
25081 +avr32_elf_finish_dynamic_sections(bfd *output_bfd, struct bfd_link_info *info)
25083 + struct elf_avr32_link_hash_table *htab;
25084 + asection *sgot, *sdyn;
25086 + pr_debug("(8) finish dynamic sections\n");
25088 + htab = avr32_elf_hash_table(info);
25089 + sgot = htab->sgot;
25090 + sdyn = bfd_get_section_by_name(htab->root.dynobj, ".dynamic");
25092 + if (htab->root.dynamic_sections_created)
25094 + Elf32_External_Dyn *dyncon, *dynconend;
25096 + BFD_ASSERT(sdyn && sgot && sgot->size >= AVR32_GOT_HEADER_SIZE);
25098 + dyncon = (Elf32_External_Dyn *)sdyn->contents;
25099 + dynconend = (Elf32_External_Dyn *)(sdyn->contents + sdyn->size);
25100 + for (; dyncon < dynconend; dyncon++)
25102 + Elf_Internal_Dyn dyn;
25105 + bfd_elf32_swap_dyn_in(htab->root.dynobj, dyncon, &dyn);
25107 + switch (dyn.d_tag)
25113 + s = sgot->output_section;
25114 + BFD_ASSERT(s != NULL);
25115 + dyn.d_un.d_ptr = s->vma;
25116 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
25119 + case DT_AVR32_GOTSZ:
25120 + s = sgot->output_section;
25121 + BFD_ASSERT(s != NULL);
25122 + dyn.d_un.d_val = s->size;
25123 + bfd_elf32_swap_dyn_out(output_bfd, &dyn, dyncon);
25128 + /* Fill in the first two entries in the global offset table */
25129 + bfd_put_32(output_bfd,
25130 + sdyn->output_section->vma + sdyn->output_offset,
25133 + /* The runtime linker will fill this one in with the address of
25134 + the run-time link map */
25135 + bfd_put_32(output_bfd, 0, sgot->contents + 4);
25139 + elf_section_data(sgot->output_section)->this_hdr.sh_entsize = 4;
25145 +/* AVR32-specific private ELF data */
25147 +static bfd_boolean
25148 +avr32_elf_set_private_flags(bfd *abfd, flagword flags);
25149 +static bfd_boolean
25150 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd);
25151 +static bfd_boolean
25152 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd);
25153 +static bfd_boolean
25154 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr);
25156 +static bfd_boolean
25157 +avr32_elf_set_private_flags(bfd *abfd, flagword flags)
25159 + elf_elfheader(abfd)->e_flags = flags;
25160 + elf_flags_init(abfd) = TRUE;
25165 +/* Copy backend specific data from one object module to another. */
25167 +static bfd_boolean
25168 +avr32_elf_copy_private_bfd_data(bfd *ibfd, bfd *obfd)
25170 + elf_elfheader(obfd)->e_flags = elf_elfheader(ibfd)->e_flags;
25174 +/* Merge backend specific data from an object file to the output
25175 + object file when linking. */
25177 +static bfd_boolean
25178 +avr32_elf_merge_private_bfd_data(bfd *ibfd, bfd *obfd)
25180 + flagword out_flags, in_flags;
25182 + pr_debug("(0) merge_private_bfd_data: %s -> %s\n",
25183 + ibfd->filename, obfd->filename);
25185 + in_flags = elf_elfheader(ibfd)->e_flags;
25186 + out_flags = elf_elfheader(obfd)->e_flags;
25188 + if (elf_flags_init(obfd))
25190 + /* If one of the inputs are non-PIC, the output must be
25191 + considered non-PIC. The same applies to linkrelax. */
25192 + if (!(in_flags & EF_AVR32_PIC))
25193 + out_flags &= ~EF_AVR32_PIC;
25194 + if (!(in_flags & EF_AVR32_LINKRELAX))
25195 + out_flags &= ~EF_AVR32_LINKRELAX;
25199 + elf_flags_init(obfd) = TRUE;
25200 + out_flags = in_flags;
25203 + elf_elfheader(obfd)->e_flags = out_flags;
25208 +static bfd_boolean
25209 +avr32_elf_print_private_bfd_data(bfd *abfd, void *ptr)
25211 + FILE *file = (FILE *)ptr;
25212 + unsigned long flags;
25214 + BFD_ASSERT(abfd != NULL && ptr != NULL);
25216 + _bfd_elf_print_private_bfd_data(abfd, ptr);
25218 + flags = elf_elfheader(abfd)->e_flags;
25220 + fprintf(file, _("private flags = %lx:"), elf_elfheader(abfd)->e_flags);
25222 + if (flags & EF_AVR32_PIC)
25223 + fprintf(file, " [PIC]");
25224 + if (flags & EF_AVR32_LINKRELAX)
25225 + fprintf(file, " [linker relaxable]");
25227 + flags &= ~(EF_AVR32_PIC | EF_AVR32_LINKRELAX);
25230 + fprintf(file, _("<Unrecognized flag bits set>"));
25232 + fputc('\n', file);
25238 +/* Understanding core dumps */
25240 +static bfd_boolean
25241 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note);
25242 +static bfd_boolean
25243 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note);
25245 +static bfd_boolean
25246 +avr32_elf_grok_prstatus(bfd *abfd, Elf_Internal_Note *note)
25248 + /* Linux/AVR32B elf_prstatus */
25249 + if (note->descsz != 148)
25253 + elf_tdata(abfd)->core_signal = bfd_get_16(abfd, note->descdata + 12);
25256 + elf_tdata(abfd)->core_pid = bfd_get_32(abfd, note->descdata + 24);
25258 + /* Make a ".reg/999" section for pr_reg. The size is for 16
25259 + general-purpose registers, SR and r12_orig (18 * 4 = 72). */
25260 + return _bfd_elfcore_make_pseudosection(abfd, ".reg", 72,
25261 + note->descpos + 72);
25264 +static bfd_boolean
25265 +avr32_elf_grok_psinfo(bfd *abfd, Elf_Internal_Note *note)
25267 + /* Linux/AVR32B elf_prpsinfo */
25268 + if (note->descsz != 128)
25271 + elf_tdata(abfd)->core_program
25272 + = _bfd_elfcore_strndup(abfd, note->descdata + 32, 16);
25273 + elf_tdata(abfd)->core_command
25274 + = _bfd_elfcore_strndup(abfd, note->descdata + 48, 80);
25276 + /* Note that for some reason, a spurious space is tacked
25277 + onto the end of the args in some (at least one anyway)
25278 + implementations, so strip it off if it exists. */
25281 + char *command = elf_tdata (abfd)->core_command;
25282 + int n = strlen (command);
25284 + if (0 < n && command[n - 1] == ' ')
25285 + command[n - 1] = '\0';
25292 +#define ELF_ARCH bfd_arch_avr32
25293 +#define ELF_MACHINE_CODE EM_AVR32
25294 +#define ELF_MAXPAGESIZE 0x1000
25296 +#define TARGET_BIG_SYM bfd_elf32_avr32_vec
25297 +#define TARGET_BIG_NAME "elf32-avr32"
25299 +#define elf_backend_grok_prstatus avr32_elf_grok_prstatus
25300 +#define elf_backend_grok_psinfo avr32_elf_grok_psinfo
25302 +/* Only RELA relocations are used */
25303 +#define elf_backend_may_use_rel_p 0
25304 +#define elf_backend_may_use_rela_p 1
25305 +#define elf_backend_default_use_rela_p 1
25306 +#define elf_backend_rela_normal 1
25307 +#define elf_info_to_howto_rel NULL
25308 +#define elf_info_to_howto avr32_info_to_howto
25310 +#define bfd_elf32_bfd_copy_private_bfd_data avr32_elf_copy_private_bfd_data
25311 +#define bfd_elf32_bfd_merge_private_bfd_data avr32_elf_merge_private_bfd_data
25312 +#define bfd_elf32_bfd_set_private_flags avr32_elf_set_private_flags
25313 +#define bfd_elf32_bfd_print_private_bfd_data avr32_elf_print_private_bfd_data
25314 +#define bfd_elf32_new_section_hook avr32_elf_new_section_hook
25316 +#define elf_backend_gc_mark_hook avr32_elf_gc_mark_hook
25317 +#define elf_backend_gc_sweep_hook avr32_elf_gc_sweep_hook
25318 +#define elf_backend_relocate_section avr32_elf_relocate_section
25319 +#define elf_backend_copy_indirect_symbol avr32_elf_copy_indirect_symbol
25320 +#define elf_backend_create_dynamic_sections avr32_elf_create_dynamic_sections
25321 +#define bfd_elf32_bfd_link_hash_table_create avr32_elf_link_hash_table_create
25322 +#define elf_backend_adjust_dynamic_symbol avr32_elf_adjust_dynamic_symbol
25323 +#define elf_backend_size_dynamic_sections avr32_elf_size_dynamic_sections
25324 +#define elf_backend_finish_dynamic_symbol avr32_elf_finish_dynamic_symbol
25325 +#define elf_backend_finish_dynamic_sections avr32_elf_finish_dynamic_sections
25327 +#define bfd_elf32_bfd_relax_section avr32_elf_relax_section
25329 +/* Find out which symbols need an entry in .got. */
25330 +#define elf_backend_check_relocs avr32_check_relocs
25331 +#define elf_backend_can_refcount 1
25332 +#define elf_backend_can_gc_sections 1
25333 +#define elf_backend_plt_readonly 1
25334 +#define elf_backend_plt_not_loaded 1
25335 +#define elf_backend_want_plt_sym 0
25336 +#define elf_backend_plt_alignment 2
25337 +#define elf_backend_want_dynbss 0
25338 +#define elf_backend_want_got_plt 0
25339 +#define elf_backend_want_got_sym 1
25340 +#define elf_backend_got_header_size AVR32_GOT_HEADER_SIZE
25342 +#include "elf32-target.h"
25343 diff -Nrup binutils-2.17/bfd/elf32-avr32.h binutils-2.17.atmel.1.3.0/bfd/elf32-avr32.h
25344 --- binutils-2.17/bfd/elf32-avr32.h 1970-01-01 01:00:00.000000000 +0100
25345 +++ binutils-2.17.atmel.1.3.0/bfd/elf32-avr32.h 2007-09-28 10:30:44.000000000 +0200
25347 +/* AVR32-specific support for 32-bit ELF.
25348 + Copyright 2007 Atmel Corporation.
25350 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
25352 + This file is part of BFD, the Binary File Descriptor library.
25354 + This program is free software; you can redistribute it and/or modify
25355 + it under the terms of the GNU General Public License as published by
25356 + the Free Software Foundation; either version 2 of the License, or
25357 + (at your option) any later version.
25359 + This program is distributed in the hope that it will be useful,
25360 + but WITHOUT ANY WARRANTY; without even the implied warranty of
25361 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25362 + GNU General Public License for more details.
25364 + You should have received a copy of the GNU General Public License
25365 + along with this program; if not, write to the Free Software
25366 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
25368 +void bfd_elf32_avr32_set_options(struct bfd_link_info *info,
25369 + int direct_data_refs);
25370 diff -Nrup binutils-2.17/bfd/elf-bfd.h binutils-2.17.atmel.1.3.0/bfd/elf-bfd.h
25371 --- binutils-2.17/bfd/elf-bfd.h 2006-03-16 13:20:15.000000000 +0100
25372 +++ binutils-2.17.atmel.1.3.0/bfd/elf-bfd.h 2007-03-26 10:20:30.000000000 +0200
25373 @@ -1307,6 +1307,10 @@ struct elf_obj_tdata
25374 find_nearest_line. */
25375 struct mips_elf_find_line *find_line_info;
25377 + /* Used by AVR32 ELF relaxation code. Contains an array of pointers
25378 + for each local symbol to the fragment where it is defined. */
25379 + struct fragment **local_sym_frag;
25381 /* A place to stash dwarf1 info for this bfd. */
25382 struct dwarf1_debug *dwarf1_find_line_info;
25384 diff -Nrup binutils-2.17/bfd/libbfd.h binutils-2.17.atmel.1.3.0/bfd/libbfd.h
25385 --- binutils-2.17/bfd/libbfd.h 2006-03-26 01:38:42.000000000 +0100
25386 +++ binutils-2.17.atmel.1.3.0/bfd/libbfd.h 2007-03-26 10:33:41.000000000 +0200
25387 @@ -1518,6 +1518,47 @@ static const char *const bfd_reloc_code_
25388 "BFD_RELOC_AVR_LDI",
25390 "BFD_RELOC_AVR_6_ADIW",
25391 + "BFD_RELOC_AVR32_DIFF32",
25392 + "BFD_RELOC_AVR32_DIFF16",
25393 + "BFD_RELOC_AVR32_DIFF8",
25394 + "BFD_RELOC_AVR32_GOT32",
25395 + "BFD_RELOC_AVR32_GOT16",
25396 + "BFD_RELOC_AVR32_GOT8",
25397 + "BFD_RELOC_AVR32_21S",
25398 + "BFD_RELOC_AVR32_16U",
25399 + "BFD_RELOC_AVR32_16S",
25400 + "BFD_RELOC_AVR32_SUB5",
25401 + "BFD_RELOC_AVR32_8S_EXT",
25402 + "BFD_RELOC_AVR32_8S",
25403 + "BFD_RELOC_AVR32_22H_PCREL",
25404 + "BFD_RELOC_AVR32_18W_PCREL",
25405 + "BFD_RELOC_AVR32_16B_PCREL",
25406 + "BFD_RELOC_AVR32_16N_PCREL",
25407 + "BFD_RELOC_AVR32_14UW_PCREL",
25408 + "BFD_RELOC_AVR32_11H_PCREL",
25409 + "BFD_RELOC_AVR32_10UW_PCREL",
25410 + "BFD_RELOC_AVR32_9H_PCREL",
25411 + "BFD_RELOC_AVR32_9UW_PCREL",
25412 + "BFD_RELOC_AVR32_GOTPC",
25413 + "BFD_RELOC_AVR32_GOTCALL",
25414 + "BFD_RELOC_AVR32_LDA_GOT",
25415 + "BFD_RELOC_AVR32_GOT21S",
25416 + "BFD_RELOC_AVR32_GOT18SW",
25417 + "BFD_RELOC_AVR32_GOT16S",
25418 + "BFD_RELOC_AVR32_32_CPENT",
25419 + "BFD_RELOC_AVR32_CPCALL",
25420 + "BFD_RELOC_AVR32_16_CP",
25421 + "BFD_RELOC_AVR32_9W_CP",
25422 + "BFD_RELOC_AVR32_ALIGN",
25423 + "BFD_RELOC_AVR32_14UW",
25424 + "BFD_RELOC_AVR32_10UW",
25425 + "BFD_RELOC_AVR32_10SW",
25426 + "BFD_RELOC_AVR32_STHH_W",
25427 + "BFD_RELOC_AVR32_7UW",
25428 + "BFD_RELOC_AVR32_6S",
25429 + "BFD_RELOC_AVR32_6UW",
25430 + "BFD_RELOC_AVR32_4UH",
25431 + "BFD_RELOC_AVR32_3U",
25432 "BFD_RELOC_390_12",
25433 "BFD_RELOC_390_GOT12",
25434 "BFD_RELOC_390_PLT32",
25435 diff -Nrup binutils-2.17/bfd/Makefile.am binutils-2.17.atmel.1.3.0/bfd/Makefile.am
25436 --- binutils-2.17/bfd/Makefile.am 2006-06-23 20:17:17.000000000 +0200
25437 +++ binutils-2.17.atmel.1.3.0/bfd/Makefile.am 2007-03-26 10:20:30.000000000 +0200
25439 AUTOMAKE_OPTIONS = 1.9 cygnus
25441 # Uncomment the following line when doing a release.
25445 INCDIR = $(srcdir)/../include
25446 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
25447 @@ -62,6 +62,7 @@ ALL_MACHINES = \
25455 @@ -234,6 +235,7 @@ BFD32_BACKENDS = \
25463 @@ -1265,6 +1267,10 @@ elf32-bfin.lo: elf32-bfin.c $(INCDIR)/fi
25464 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
25465 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
25466 $(INCDIR)/elf/reloc-macros.h elf32-target.h
25467 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
25468 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
25469 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
25471 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
25472 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
25473 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
25474 diff -Nrup binutils-2.17/bfd/Makefile.in binutils-2.17.atmel.1.3.0/bfd/Makefile.in
25475 --- binutils-2.17/bfd/Makefile.in 2006-06-23 20:17:19.000000000 +0200
25476 +++ binutils-2.17.atmel.1.3.0/bfd/Makefile.in 2007-03-26 10:30:55.000000000 +0200
25478 -# Makefile.in generated by automake 1.9.5 from Makefile.am.
25479 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
25480 # @configure_input@
25482 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
25487 -SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
25490 top_srcdir = @top_srcdir@
25492 @@ -141,6 +139,7 @@ EXEEXT = @EXEEXT@
25493 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
25494 GMOFILES = @GMOFILES@
25495 GMSGFMT = @GMSGFMT@
25499 HDEFINES = @HDEFINES@
25500 @@ -190,10 +189,7 @@ WARN_CFLAGS = @WARN_CFLAGS@
25501 WIN32LDFLAGS = @WIN32LDFLAGS@
25502 WIN32LIBADD = @WIN32LIBADD@
25503 XGETTEXT = @XGETTEXT@
25504 -ac_ct_AR = @ac_ct_AR@
25505 ac_ct_CC = @ac_ct_CC@
25506 -ac_ct_RANLIB = @ac_ct_RANLIB@
25507 -ac_ct_STRIP = @ac_ct_STRIP@
25508 all_backends = @all_backends@
25509 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
25510 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
25511 @@ -219,6 +215,7 @@ build_vendor = @build_vendor@
25512 datadir = @datadir@
25513 datarootdir = @datarootdir@
25516 exec_prefix = @exec_prefix@
25518 host_alias = @host_alias@
25519 @@ -233,12 +230,15 @@ install_sh = @install_sh@
25522 libexecdir = @libexecdir@
25523 +localedir = @localedir@
25524 localstatedir = @localstatedir@
25526 mkdir_p = @mkdir_p@
25527 oldincludedir = @oldincludedir@
25530 program_transform_name = @program_transform_name@
25532 sbindir = @sbindir@
25533 sharedstatedir = @sharedstatedir@
25534 sysconfdir = @sysconfdir@
25535 @@ -253,7 +253,7 @@ wordsize = @wordsize@
25536 AUTOMAKE_OPTIONS = 1.9 cygnus
25538 # Uncomment the following line when doing a release.
25541 INCDIR = $(srcdir)/../include
25542 CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
25544 @@ -298,6 +298,7 @@ ALL_MACHINES = \
25552 @@ -471,6 +472,7 @@ BFD32_BACKENDS = \
25560 @@ -1831,6 +1833,10 @@ elf32-bfin.lo: elf32-bfin.c $(INCDIR)/fi
25561 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
25562 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/bfin.h \
25563 $(INCDIR)/elf/reloc-macros.h elf32-target.h
25564 +elf32-avr32.lo: elf32-avr32.c $(INCDIR)/filenames.h elf-bfd.h \
25565 + $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
25566 + $(INCDIR)/bfdlink.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/reloc-macros.h \
25568 elf32-cr16c.lo: elf32-cr16c.c $(INCDIR)/filenames.h \
25569 $(INCDIR)/hashtab.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/cr16c.h \
25570 $(INCDIR)/elf/reloc-macros.h elf-bfd.h $(INCDIR)/elf/common.h \
25571 diff -Nrup binutils-2.17/bfd/reloc.c binutils-2.17.atmel.1.3.0/bfd/reloc.c
25572 --- binutils-2.17/bfd/reloc.c 2006-03-26 01:38:42.000000000 +0100
25573 +++ binutils-2.17.atmel.1.3.0/bfd/reloc.c 2007-03-26 10:20:30.000000000 +0200
25574 @@ -3714,6 +3714,129 @@ ENUMDOC
25578 + BFD_RELOC_AVR32_DIFF32
25580 + BFD_RELOC_AVR32_DIFF16
25582 + BFD_RELOC_AVR32_DIFF8
25584 + Difference between two labels: L2 - L1. The value of L1 is encoded
25585 + as sym + addend, while the initial difference after assembly is
25586 + inserted into the object file by the assembler.
25588 + BFD_RELOC_AVR32_GOT32
25590 + BFD_RELOC_AVR32_GOT16
25592 + BFD_RELOC_AVR32_GOT8
25594 + Reference to a symbol through the Global Offset Table. The linker
25595 + will allocate an entry for symbol in the GOT and insert the offset
25596 + of this entry as the relocation value.
25598 + BFD_RELOC_AVR32_21S
25600 + BFD_RELOC_AVR32_16U
25602 + BFD_RELOC_AVR32_16S
25604 + BFD_RELOC_AVR32_SUB5
25606 + BFD_RELOC_AVR32_8S_EXT
25608 + BFD_RELOC_AVR32_8S
25610 + Normal (non-pc-relative) code relocations. Alignment and signedness
25611 + is indicated by the suffixes. S means signed, U means unsigned. W
25612 + means word-aligned, H means halfword-aligned, neither means
25613 + byte-aligned (no alignment.) SUB5 is the same relocation as 16S.
25615 + BFD_RELOC_AVR32_22H_PCREL
25617 + BFD_RELOC_AVR32_18W_PCREL
25619 + BFD_RELOC_AVR32_16B_PCREL
25621 + BFD_RELOC_AVR32_16N_PCREL
25623 + BFD_RELOC_AVR32_14UW_PCREL
25625 + BFD_RELOC_AVR32_11H_PCREL
25627 + BFD_RELOC_AVR32_10UW_PCREL
25629 + BFD_RELOC_AVR32_9H_PCREL
25631 + BFD_RELOC_AVR32_9UW_PCREL
25633 + PC-relative relocations are signed if neither 'U' nor 'S' is
25634 + specified. However, we explicitly tack on a 'B' to indicate no
25635 + alignment, to avoid confusion with data relocs. All of these resolve
25636 + to sym + addend - offset, except the one with 'N' (negated) suffix.
25637 + This particular one resolves to offset - sym - addend.
25639 + BFD_RELOC_AVR32_GOTPC
25641 + Subtract the link-time address of the GOT from (symbol + addend)
25642 + and insert the result.
25644 + BFD_RELOC_AVR32_GOTCALL
25646 + BFD_RELOC_AVR32_LDA_GOT
25648 + BFD_RELOC_AVR32_GOT21S
25650 + BFD_RELOC_AVR32_GOT18SW
25652 + BFD_RELOC_AVR32_GOT16S
25654 + Reference to a symbol through the GOT. The linker will allocate an
25655 + entry for symbol in the GOT and insert the offset of this entry as
25656 + the relocation value. addend must be zero. As usual, 'S' means
25657 + signed, 'W' means word-aligned, etc.
25659 + BFD_RELOC_AVR32_32_CPENT
25661 + 32-bit constant pool entry. I don't think 8- and 16-bit entries make
25662 + a whole lot of sense.
25664 + BFD_RELOC_AVR32_CPCALL
25666 + BFD_RELOC_AVR32_16_CP
25668 + BFD_RELOC_AVR32_9W_CP
25670 + Constant pool references. Some of these relocations are signed,
25671 + others are unsigned. It doesn't really matter, since the constant
25672 + pool always comes after the code that references it.
25674 + BFD_RELOC_AVR32_ALIGN
25676 + sym must be the absolute symbol. The addend specifies the alignment
25677 + order, e.g. if addend is 2, the linker must add padding so that the
25678 + next address is aligned to a 4-byte boundary.
25680 + BFD_RELOC_AVR32_14UW
25682 + BFD_RELOC_AVR32_10UW
25684 + BFD_RELOC_AVR32_10SW
25686 + BFD_RELOC_AVR32_STHH_W
25688 + BFD_RELOC_AVR32_7UW
25690 + BFD_RELOC_AVR32_6S
25692 + BFD_RELOC_AVR32_6UW
25694 + BFD_RELOC_AVR32_4UH
25696 + BFD_RELOC_AVR32_3U
25698 + Code relocations that will never make it to the output file.
25704 diff -Nrup binutils-2.17/bfd/targets.c binutils-2.17.atmel.1.3.0/bfd/targets.c
25705 --- binutils-2.17/bfd/targets.c 2006-04-05 14:41:57.000000000 +0200
25706 +++ binutils-2.17.atmel.1.3.0/bfd/targets.c 2007-03-26 10:20:30.000000000 +0200
25707 @@ -553,6 +553,7 @@ extern const bfd_target b_out_vec_little
25708 extern const bfd_target bfd_efi_app_ia32_vec;
25709 extern const bfd_target bfd_efi_app_ia64_vec;
25710 extern const bfd_target bfd_elf32_avr_vec;
25711 +extern const bfd_target bfd_elf32_avr32_vec;
25712 extern const bfd_target bfd_elf32_bfin_vec;
25713 extern const bfd_target bfd_elf32_bfinfdpic_vec;
25714 extern const bfd_target bfd_elf32_big_generic_vec;
25715 @@ -855,6 +856,7 @@ static const bfd_target * const _bfd_tar
25716 &bfd_efi_app_ia64_vec,
25718 &bfd_elf32_avr_vec,
25719 + &bfd_elf32_avr32_vec,
25720 &bfd_elf32_bfin_vec,
25721 &bfd_elf32_bfinfdpic_vec,
25723 diff -Nrup binutils-2.17/binutils/config.in binutils-2.17.atmel.1.3.0/binutils/config.in
25724 --- binutils-2.17/binutils/config.in 2006-02-14 09:59:10.000000000 +0100
25725 +++ binutils-2.17.atmel.1.3.0/binutils/config.in 2007-03-26 10:32:11.000000000 +0200
25726 @@ -218,7 +218,7 @@
25728 /* If using the C implementation of alloca, define if you know the
25729 direction of stack growth for your system; otherwise it will be
25730 - automatically deduced at run-time.
25731 + automatically deduced at runtime.
25732 STACK_DIRECTION > 0 => grows toward higher addresses
25733 STACK_DIRECTION < 0 => grows toward lower addresses
25734 STACK_DIRECTION = 0 => direction of growth unknown */
25735 @@ -260,8 +260,8 @@
25739 -/* Define to `long' if <sys/types.h> does not define. */
25740 +/* Define to `long int' if <sys/types.h> does not define. */
25743 -/* Define to `unsigned' if <sys/types.h> does not define. */
25744 +/* Define to `unsigned int' if <sys/types.h> does not define. */
25746 diff -Nrup binutils-2.17/binutils/configure binutils-2.17.atmel.1.3.0/binutils/configure
25747 --- binutils-2.17/binutils/configure 2006-04-06 23:49:29.000000000 +0200
25748 +++ binutils-2.17.atmel.1.3.0/binutils/configure 2007-03-26 10:32:09.000000000 +0200
25751 # Guess values for system-dependent variables and create Makefiles.
25752 -# Generated by GNU Autoconf 2.59.
25753 +# Generated by GNU Autoconf 2.61.
25755 -# Copyright (C) 2003 Free Software Foundation, Inc.
25756 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
25757 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
25758 # This configure script is free software; the Free Software Foundation
25759 # gives unlimited permission to copy, distribute and modify it.
25760 ## --------------------- ##
25761 ## M4sh Initialization. ##
25762 ## --------------------- ##
25764 -# Be Bourne compatible
25765 +# Be more Bourne compatible
25766 +DUALCASE=1; export DUALCASE # for MKS sh
25767 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
25770 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
25771 # is contrary to our usage. Disable this feature.
25772 alias -g '${1+"$@"}'='"$@"'
25773 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
25775 + setopt NO_GLOB_SUBST
25777 + case `(set -o) 2>/dev/null` in
25778 + *posix*) set -o posix ;;
25787 +# Avoid depending upon Character Ranges.
25788 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25789 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25790 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25791 +as_cr_digits='0123456789'
25792 +as_cr_alnum=$as_cr_Letters$as_cr_digits
25794 +# The user is always right.
25795 +if test "${PATH_SEPARATOR+set}" != set; then
25796 + echo "#! /bin/sh" >conf$$.sh
25797 + echo "exit 0" >>conf$$.sh
25798 + chmod +x conf$$.sh
25799 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25800 + PATH_SEPARATOR=';'
25806 -DUALCASE=1; export DUALCASE # for MKS sh
25808 # Support unset when possible.
25809 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
25810 @@ -29,8 +58,43 @@ else
25815 +# We need space, tab and new line, in precisely that order. Quoting is
25816 +# there to prevent editors from complaining about space-tab.
25817 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
25818 +# splitting by setting IFS to empty value.)
25823 +# Find who we are. Look in the path if we contain no directory separator.
25825 + *[\\/]* ) as_myself=$0 ;;
25826 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25827 +for as_dir in $PATH
25830 + test -z "$as_dir" && as_dir=.
25831 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25837 +# We did not find ourselves, most probably we were run as `sh COMMAND'
25838 +# in which case we are not to be found in the path.
25839 +if test "x$as_myself" = x; then
25842 +if test ! -f "$as_myself"; then
25843 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25844 + { (exit 1); exit 1; }
25847 # Work around bugs in pre-3.0 UWIN ksh.
25848 -$as_unset ENV MAIL MAILPATH
25849 +for as_var in ENV MAIL MAILPATH
25850 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25855 @@ -44,18 +108,19 @@ do
25856 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
25857 eval $as_var=C; export $as_var
25859 - $as_unset $as_var
25860 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
25864 # Required to use basename.
25865 -if expr a : '\(a\)' >/dev/null 2>&1; then
25866 +if expr a : '\(a\)' >/dev/null 2>&1 &&
25867 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
25873 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
25874 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25875 as_basename=basename
25878 @@ -63,157 +128,388 @@ fi
25881 # Name of the executable.
25882 -as_me=`$as_basename "$0" ||
25883 +as_me=`$as_basename -- "$0" ||
25884 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25885 X"$0" : 'X\(//\)$' \| \
25886 - X"$0" : 'X\(/\)$' \| \
25887 - . : '\(.\)' 2>/dev/null ||
25888 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25890 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
25891 - /^X\/\(\/\/\)$/{ s//\1/; q; }
25892 - /^X\/\(\/\).*/{ s//\1/; q; }
25894 + sed '/^.*\/\([^/][^/]*\)\/*$/{
25911 -# PATH needs CR, and LINENO needs CR and PATH.
25912 -# Avoid depending upon Character Ranges.
25913 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25914 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25915 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25916 -as_cr_digits='0123456789'
25917 -as_cr_alnum=$as_cr_Letters$as_cr_digits
25919 -# The user is always right.
25920 -if test "${PATH_SEPARATOR+set}" != set; then
25921 - echo "#! /bin/sh" >conf$$.sh
25922 - echo "exit 0" >>conf$$.sh
25923 - chmod +x conf$$.sh
25924 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25925 - PATH_SEPARATOR=';'
25930 +if test "x$CONFIG_SHELL" = x; then
25931 + if (eval ":") 2>/dev/null; then
25932 + as_have_required=yes
25934 + as_have_required=no
25937 + if test $as_have_required = yes && (eval ":
25938 +(as_func_return () {
25941 +as_func_success () {
25944 +as_func_failure () {
25947 +as_func_ret_success () {
25950 +as_func_ret_failure () {
25955 +if as_func_success; then
25959 + echo as_func_success failed.
25962 +if as_func_failure; then
25964 + echo as_func_failure succeeded.
25967 - as_lineno_1=$LINENO
25968 - as_lineno_2=$LINENO
25969 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
25970 - test "x$as_lineno_1" != "x$as_lineno_2" &&
25971 - test "x$as_lineno_3" = "x$as_lineno_2" || {
25972 - # Find who we are. Look in the path if we contain no path at all
25973 - # relative or not.
25975 - *[\\/]* ) as_myself=$0 ;;
25976 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25977 -for as_dir in $PATH
25980 - test -z "$as_dir" && as_dir=.
25981 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25983 +if as_func_ret_success; then
25987 + echo as_func_ret_success failed.
25992 - # We did not find ourselves, most probably we were run as `sh COMMAND'
25993 - # in which case we are not to be found in the path.
25994 - if test "x$as_myself" = x; then
25997 - if test ! -f "$as_myself"; then
25998 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
25999 - { (exit 1); exit 1; }; }
26001 - case $CONFIG_SHELL in
26003 +if as_func_ret_failure; then
26005 + echo as_func_ret_failure succeeded.
26008 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
26012 + echo positional parameters were not saved.
26015 +test \$exitcode = 0) || { (exit 1); exit 1; }
26018 + as_lineno_1=\$LINENO
26019 + as_lineno_2=\$LINENO
26020 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
26021 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
26022 +") 2> /dev/null; then
26025 + as_candidate_shells=
26026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26027 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
26030 test -z "$as_dir" && as_dir=.
26031 - for as_base in sh bash ksh sh5; do
26035 - if ("$as_dir/$as_base" -c '
26036 + for as_base in sh bash ksh sh5; do
26037 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
26044 + for as_shell in $as_candidate_shells $SHELL; do
26045 + # Try only shells that exist, to save several forks.
26046 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
26047 + { ("$as_shell") 2> /dev/null <<\_ASEOF
26048 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26051 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26052 + # is contrary to our usage. Disable this feature.
26053 + alias -g '${1+"$@"}'='"$@"'
26054 + setopt NO_GLOB_SUBST
26056 + case `(set -o) 2>/dev/null` in
26057 + *posix*) set -o posix ;;
26066 + CONFIG_SHELL=$as_shell
26067 + as_have_required=yes
26068 + if { "$as_shell" 2> /dev/null <<\_ASEOF
26069 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26072 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
26073 + # is contrary to our usage. Disable this feature.
26074 + alias -g '${1+"$@"}'='"$@"'
26075 + setopt NO_GLOB_SUBST
26077 + case `(set -o) 2>/dev/null` in
26078 + *posix*) set -o posix ;;
26085 +(as_func_return () {
26088 +as_func_success () {
26091 +as_func_failure () {
26094 +as_func_ret_success () {
26097 +as_func_ret_failure () {
26102 +if as_func_success; then
26106 + echo as_func_success failed.
26109 +if as_func_failure; then
26111 + echo as_func_failure succeeded.
26114 +if as_func_ret_success; then
26118 + echo as_func_ret_success failed.
26121 +if as_func_ret_failure; then
26123 + echo as_func_ret_failure succeeded.
26126 +if ( set x; as_func_ret_success y && test x = "$1" ); then
26130 + echo positional parameters were not saved.
26133 +test $exitcode = 0) || { (exit 1); exit 1; }
26136 as_lineno_1=$LINENO
26137 as_lineno_2=$LINENO
26138 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26139 test "x$as_lineno_1" != "x$as_lineno_2" &&
26140 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
26141 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
26142 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
26143 - CONFIG_SHELL=$as_dir/$as_base
26144 - export CONFIG_SHELL
26145 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26152 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
26163 + if test "x$CONFIG_SHELL" != x; then
26164 + for as_var in BASH_ENV ENV
26165 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
26167 + export CONFIG_SHELL
26168 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
26172 + if test $as_have_required = no; then
26173 + echo This script requires a shell more modern than all the
26174 + echo shells that I found on your system. Please install a
26175 + echo modern shell, or manually run the script under such a
26176 + echo shell if you do have one.
26177 + { (exit 1); exit 1; }
26187 +(eval "as_func_return () {
26190 +as_func_success () {
26193 +as_func_failure () {
26196 +as_func_ret_success () {
26199 +as_func_ret_failure () {
26204 +if as_func_success; then
26208 + echo as_func_success failed.
26211 +if as_func_failure; then
26213 + echo as_func_failure succeeded.
26216 +if as_func_ret_success; then
26220 + echo as_func_ret_success failed.
26223 +if as_func_ret_failure; then
26225 + echo as_func_ret_failure succeeded.
26228 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
26232 + echo positional parameters were not saved.
26235 +test \$exitcode = 0") || {
26236 + echo No shell found that supports shell functions.
26237 + echo Please tell autoconf@gnu.org about your system,
26238 + echo including any error possibly output before this
26244 + as_lineno_1=$LINENO
26245 + as_lineno_2=$LINENO
26246 + test "x$as_lineno_1" != "x$as_lineno_2" &&
26247 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26249 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26250 # uniformly replaced by the line number. The first 'sed' inserts a
26251 - # line-number line before each line; the second 'sed' does the real
26252 - # work. The second script uses 'N' to pair each line-number line
26253 - # with the numbered line, and appends trailing '-' during
26254 - # substitution so that $LINENO is not a special case at line end.
26255 + # line-number line after each line using $LINENO; the second 'sed'
26256 + # does the real work. The second script uses 'N' to pair each
26257 + # line-number line with the line containing $LINENO, and appends
26258 + # trailing '-' during substitution so that $LINENO is not a special
26259 + # case at line end.
26260 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26261 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26262 - sed '=' <$as_myself |
26263 + # scripts with optimization help from Paolo Bonzini. Blame Lee
26264 + # E. McMahon (1931-1989) for sed's syntax. :-)
26270 + s/[$]LINENO.*/&-/
26277 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26279 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26282 - s,^['$as_cr_digits']*\n,,
26284 ' >$as_me.lineno &&
26285 - chmod +x $as_me.lineno ||
26286 + chmod +x "$as_me.lineno" ||
26287 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26288 { (exit 1); exit 1; }; }
26290 # Don't try to exec as it changes $[0], causing all sort of problems
26291 # (the dirname of $[0] is not the place where we might find the
26292 - # original and so on. Autoconf is especially sensible to this).
26293 - . ./$as_me.lineno
26294 + # original and so on. Autoconf is especially sensitive to this).
26295 + . "./$as_me.lineno"
26296 # Exit status is that of the last command.
26301 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26302 - *c*,-n*) ECHO_N= ECHO_C='
26304 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
26305 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
26306 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26307 + as_dirname=dirname
26312 +ECHO_C= ECHO_N= ECHO_T=
26313 +case `echo -n x` in
26315 + case `echo 'x\c'` in
26316 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26323 -if expr a : '\(a\)' >/dev/null 2>&1; then
26324 +if expr a : '\(a\)' >/dev/null 2>&1 &&
26325 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
26331 rm -f conf$$ conf$$.exe conf$$.file
26332 +if test -d conf$$.dir; then
26333 + rm -f conf$$.dir/conf$$.file
26339 if ln -s conf$$.file conf$$ 2>/dev/null; then
26340 - # We could just check for DJGPP; but this test a) works b) is more generic
26341 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26342 - if test -f conf$$.exe; then
26343 - # Don't use ln at all; we don't have any links
26345 + # ... but there are two gotchas:
26346 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26347 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26348 + # In both cases, we have to default to `cp -p'.
26349 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26354 elif ln conf$$.file conf$$ 2>/dev/null; then
26359 -rm -f conf$$ conf$$.exe conf$$.file
26360 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26361 +rmdir conf$$.dir 2>/dev/null
26363 if mkdir -p . 2>/dev/null; then
26365 @@ -222,7 +518,28 @@ else
26369 -as_executable_p="test -f"
26370 +if test -x / >/dev/null 2>&1; then
26371 + as_test_x='test -x'
26373 + if ls -dL / >/dev/null 2>&1; then
26380 + if test -d "$1"; then
26386 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26387 + ???[sx]*):;;*)false;;esac;fi
26391 +as_executable_p=$as_test_x
26393 # Sed expression to map a string onto a valid CPP name.
26394 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26395 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
26396 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26400 -# We need space, tab and new line, in precisely that order.
26408 +exec 7<&0 </dev/null 6>&1
26410 # Name of the host.
26411 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
26412 # so uname gets run too.
26413 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
26420 ac_default_prefix=/usr/local
26422 ac_config_libobj_dir=.
26428 SHELL=${CONFIG_SHELL-/bin/sh}
26430 -# Maximum number of lines to put in a shell here document.
26431 -# This variable seems obsolete. It should probably be removed, and
26432 -# only ac_max_sed_lines should be used.
26433 -: ${ac_max_here_lines=38}
26435 # Identity of this package.
26438 @@ -275,42 +580,193 @@ ac_unique_file="ar.c"
26439 # Factoring default headers for most tests.
26440 ac_includes_default="\
26442 -#if HAVE_SYS_TYPES_H
26443 +#ifdef HAVE_SYS_TYPES_H
26444 # include <sys/types.h>
26446 -#if HAVE_SYS_STAT_H
26447 +#ifdef HAVE_SYS_STAT_H
26448 # include <sys/stat.h>
26451 +#ifdef STDC_HEADERS
26452 # include <stdlib.h>
26453 # include <stddef.h>
26455 -# if HAVE_STDLIB_H
26456 +# ifdef HAVE_STDLIB_H
26457 # include <stdlib.h>
26461 -# if !STDC_HEADERS && HAVE_MEMORY_H
26462 +#ifdef HAVE_STRING_H
26463 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
26464 # include <memory.h>
26466 # include <string.h>
26468 -#if HAVE_STRINGS_H
26469 +#ifdef HAVE_STRINGS_H
26470 # include <strings.h>
26472 -#if HAVE_INTTYPES_H
26473 +#ifdef HAVE_INTTYPES_H
26474 # include <inttypes.h>
26476 -# if HAVE_STDINT_H
26477 -# include <stdint.h>
26481 +#ifdef HAVE_STDINT_H
26482 +# include <stdint.h>
26484 +#ifdef HAVE_UNISTD_H
26485 # include <unistd.h>
26488 -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'
26489 +ac_subst_vars='SHELL
26498 +program_transform_name
26558 +INSTALL_STRIP_PROGRAM
26573 +am__fastdepCC_TRUE
26574 +am__fastdepCC_FALSE
26593 +USE_INCLUDED_LIBINTL
26609 +MAINTAINER_MODE_TRUE
26610 +MAINTAINER_MODE_FALSE
26631 + ac_precious_vars='build_alias
26644 # Initialize some variables set by options.
26646 @@ -337,34 +793,48 @@ x_libraries=NONE
26647 # and all the variables that are supposed to be based on exec_prefix
26648 # by default will actually change.
26649 # Use braces instead of parens because sh, perl, etc. also accept them.
26650 +# (The list follows the same order as the GNU Coding Standards.)
26651 bindir='${exec_prefix}/bin'
26652 sbindir='${exec_prefix}/sbin'
26653 libexecdir='${exec_prefix}/libexec'
26654 -datadir='${prefix}/share'
26655 +datarootdir='${prefix}/share'
26656 +datadir='${datarootdir}'
26657 sysconfdir='${prefix}/etc'
26658 sharedstatedir='${prefix}/com'
26659 localstatedir='${prefix}/var'
26660 -libdir='${exec_prefix}/lib'
26661 includedir='${prefix}/include'
26662 oldincludedir='/usr/include'
26663 -infodir='${prefix}/info'
26664 -mandir='${prefix}/man'
26665 +docdir='${datarootdir}/doc/${PACKAGE}'
26666 +infodir='${datarootdir}/info'
26667 +htmldir='${docdir}'
26668 +dvidir='${docdir}'
26669 +pdfdir='${docdir}'
26671 +libdir='${exec_prefix}/lib'
26672 +localedir='${datarootdir}/locale'
26673 +mandir='${datarootdir}/man'
26679 # If the previous option needs an argument, assign it.
26680 if test -n "$ac_prev"; then
26681 - eval "$ac_prev=\$ac_option"
26682 + eval $ac_prev=\$ac_option
26687 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
26688 + case $ac_option in
26689 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
26690 + *) ac_optarg=yes ;;
26693 # Accept the important Cygnus configure options, so we can diagnose typos.
26695 - case $ac_option in
26696 + case $ac_dashdash$ac_option in
26698 + ac_dashdash=yes ;;
26700 -bindir | --bindir | --bindi | --bind | --bin | --bi)
26702 @@ -386,33 +856,45 @@ do
26703 --config-cache | -C)
26704 cache_file=config.cache ;;
26706 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
26707 + -datadir | --datadir | --datadi | --datad)
26709 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
26711 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
26712 datadir=$ac_optarg ;;
26714 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
26715 + | --dataroo | --dataro | --datar)
26716 + ac_prev=datarootdir ;;
26717 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
26718 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
26719 + datarootdir=$ac_optarg ;;
26721 -disable-* | --disable-*)
26722 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
26723 # Reject names that are not valid shell variable names.
26724 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26725 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26726 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
26727 { (exit 1); exit 1; }; }
26728 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
26729 - eval "enable_$ac_feature=no" ;;
26730 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
26731 + eval enable_$ac_feature=no ;;
26733 + -docdir | --docdir | --docdi | --doc | --do)
26734 + ac_prev=docdir ;;
26735 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
26736 + docdir=$ac_optarg ;;
26738 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
26739 + ac_prev=dvidir ;;
26740 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
26741 + dvidir=$ac_optarg ;;
26743 -enable-* | --enable-*)
26744 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
26745 # Reject names that are not valid shell variable names.
26746 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26747 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26748 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
26749 { (exit 1); exit 1; }; }
26750 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
26751 - case $ac_option in
26752 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
26753 - *) ac_optarg=yes ;;
26755 - eval "enable_$ac_feature='$ac_optarg'" ;;
26756 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
26757 + eval enable_$ac_feature=\$ac_optarg ;;
26759 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
26760 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
26761 @@ -439,6 +921,12 @@ do
26762 -host=* | --host=* | --hos=* | --ho=*)
26763 host_alias=$ac_optarg ;;
26765 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
26766 + ac_prev=htmldir ;;
26767 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
26769 + htmldir=$ac_optarg ;;
26771 -includedir | --includedir | --includedi | --included | --include \
26772 | --includ | --inclu | --incl | --inc)
26773 ac_prev=includedir ;;
26774 @@ -463,13 +951,16 @@ do
26775 | --libexe=* | --libex=* | --libe=*)
26776 libexecdir=$ac_optarg ;;
26778 + -localedir | --localedir | --localedi | --localed | --locale)
26779 + ac_prev=localedir ;;
26780 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
26781 + localedir=$ac_optarg ;;
26783 -localstatedir | --localstatedir | --localstatedi | --localstated \
26784 - | --localstate | --localstat | --localsta | --localst \
26785 - | --locals | --local | --loca | --loc | --lo)
26786 + | --localstate | --localstat | --localsta | --localst | --locals)
26787 ac_prev=localstatedir ;;
26788 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
26789 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
26790 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
26791 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
26792 localstatedir=$ac_optarg ;;
26794 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
26795 @@ -534,6 +1025,16 @@ do
26796 | --progr-tra=* | --program-tr=* | --program-t=*)
26797 program_transform_name=$ac_optarg ;;
26799 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
26800 + ac_prev=pdfdir ;;
26801 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
26802 + pdfdir=$ac_optarg ;;
26804 + -psdir | --psdir | --psdi | --psd | --ps)
26806 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
26807 + psdir=$ac_optarg ;;
26809 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26810 | -silent | --silent | --silen | --sile | --sil)
26812 @@ -586,24 +1087,20 @@ do
26813 -with-* | --with-*)
26814 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
26815 # Reject names that are not valid shell variable names.
26816 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26817 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26818 { echo "$as_me: error: invalid package name: $ac_package" >&2
26819 { (exit 1); exit 1; }; }
26820 - ac_package=`echo $ac_package| sed 's/-/_/g'`
26821 - case $ac_option in
26822 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
26823 - *) ac_optarg=yes ;;
26825 - eval "with_$ac_package='$ac_optarg'" ;;
26826 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
26827 + eval with_$ac_package=\$ac_optarg ;;
26829 -without-* | --without-*)
26830 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
26831 # Reject names that are not valid shell variable names.
26832 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
26833 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
26834 { echo "$as_me: error: invalid package name: $ac_package" >&2
26835 { (exit 1); exit 1; }; }
26836 - ac_package=`echo $ac_package | sed 's/-/_/g'`
26837 - eval "with_$ac_package=no" ;;
26838 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
26839 + eval with_$ac_package=no ;;
26842 # Obsolete; use --with-x.
26843 @@ -634,8 +1131,7 @@ Try \`$0 --help' for more information."
26844 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
26845 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
26846 { (exit 1); exit 1; }; }
26847 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
26848 - eval "$ac_envvar='$ac_optarg'"
26849 + eval $ac_envvar=\$ac_optarg
26850 export $ac_envvar ;;
26853 @@ -655,27 +1151,19 @@ if test -n "$ac_prev"; then
26854 { (exit 1); exit 1; }; }
26857 -# Be sure to have absolute paths.
26858 -for ac_var in exec_prefix prefix
26860 - eval ac_val=$`echo $ac_var`
26862 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
26863 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
26864 - { (exit 1); exit 1; }; };;
26868 -# Be sure to have absolute paths.
26869 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
26870 - localstatedir libdir includedir oldincludedir infodir mandir
26871 +# Be sure to have absolute directory names.
26872 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
26873 + datadir sysconfdir sharedstatedir localstatedir includedir \
26874 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
26875 + libdir localedir mandir
26877 - eval ac_val=$`echo $ac_var`
26878 + eval ac_val=\$$ac_var
26880 - [\\/$]* | ?:[\\/]* ) ;;
26881 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
26882 - { (exit 1); exit 1; }; };;
26883 + [\\/$]* | ?:[\\/]* ) continue;;
26884 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
26886 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
26887 + { (exit 1); exit 1; }; }
26890 # There might be people who depend on the old broken behavior: `$host'
26891 @@ -702,74 +1190,76 @@ test -n "$host_alias" && ac_tool_prefix=
26892 test "$silent" = yes && exec 6>/dev/null
26895 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
26896 +ac_ls_di=`ls -di .` &&
26897 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
26898 + { echo "$as_me: error: Working directory cannot be determined" >&2
26899 + { (exit 1); exit 1; }; }
26900 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
26901 + { echo "$as_me: error: pwd does not report name of working directory" >&2
26902 + { (exit 1); exit 1; }; }
26905 # Find the source files, if location was not specified.
26906 if test -z "$srcdir"; then
26907 ac_srcdir_defaulted=yes
26908 - # Try the directory containing this script, then its parent.
26909 - ac_confdir=`(dirname "$0") 2>/dev/null ||
26910 + # Try the directory containing this script, then the parent directory.
26911 + ac_confdir=`$as_dirname -- "$0" ||
26912 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26913 X"$0" : 'X\(//\)[^/]' \| \
26914 X"$0" : 'X\(//\)$' \| \
26915 - X"$0" : 'X\(/\)' \| \
26916 - . : '\(.\)' 2>/dev/null ||
26917 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26919 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
26920 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
26921 - /^X\(\/\/\)$/{ s//\1/; q; }
26922 - /^X\(\/\).*/{ s//\1/; q; }
26924 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26928 + /^X\(\/\/\)[^/].*/{
26942 - if test ! -r $srcdir/$ac_unique_file; then
26943 + if test ! -r "$srcdir/$ac_unique_file"; then
26947 ac_srcdir_defaulted=no
26949 -if test ! -r $srcdir/$ac_unique_file; then
26950 - if test "$ac_srcdir_defaulted" = yes; then
26951 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
26952 - { (exit 1); exit 1; }; }
26954 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
26955 - { (exit 1); exit 1; }; }
26958 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
26959 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
26960 - { (exit 1); exit 1; }; }
26961 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
26962 -ac_env_build_alias_set=${build_alias+set}
26963 -ac_env_build_alias_value=$build_alias
26964 -ac_cv_env_build_alias_set=${build_alias+set}
26965 -ac_cv_env_build_alias_value=$build_alias
26966 -ac_env_host_alias_set=${host_alias+set}
26967 -ac_env_host_alias_value=$host_alias
26968 -ac_cv_env_host_alias_set=${host_alias+set}
26969 -ac_cv_env_host_alias_value=$host_alias
26970 -ac_env_target_alias_set=${target_alias+set}
26971 -ac_env_target_alias_value=$target_alias
26972 -ac_cv_env_target_alias_set=${target_alias+set}
26973 -ac_cv_env_target_alias_value=$target_alias
26974 -ac_env_CC_set=${CC+set}
26975 -ac_env_CC_value=$CC
26976 -ac_cv_env_CC_set=${CC+set}
26977 -ac_cv_env_CC_value=$CC
26978 -ac_env_CFLAGS_set=${CFLAGS+set}
26979 -ac_env_CFLAGS_value=$CFLAGS
26980 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
26981 -ac_cv_env_CFLAGS_value=$CFLAGS
26982 -ac_env_LDFLAGS_set=${LDFLAGS+set}
26983 -ac_env_LDFLAGS_value=$LDFLAGS
26984 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
26985 -ac_cv_env_LDFLAGS_value=$LDFLAGS
26986 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
26987 -ac_env_CPPFLAGS_value=$CPPFLAGS
26988 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
26989 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
26990 -ac_env_CPP_set=${CPP+set}
26991 -ac_env_CPP_value=$CPP
26992 -ac_cv_env_CPP_set=${CPP+set}
26993 -ac_cv_env_CPP_value=$CPP
26994 +if test ! -r "$srcdir/$ac_unique_file"; then
26995 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
26996 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
26997 + { (exit 1); exit 1; }; }
26999 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
27001 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
27002 + { (exit 1); exit 1; }; }
27004 +# When building in place, set srcdir=.
27005 +if test "$ac_abs_confdir" = "$ac_pwd"; then
27008 +# Remove unnecessary trailing slashes from srcdir.
27009 +# Double slashes in file names in object file debugging info
27010 +# mess up M-x gdb in Emacs.
27012 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
27014 +for ac_var in $ac_precious_vars; do
27015 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
27016 + eval ac_env_${ac_var}_value=\$${ac_var}
27017 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
27018 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
27022 # Report the --help message.
27023 @@ -798,9 +1288,6 @@ Configuration:
27024 -n, --no-create do not create output files
27025 --srcdir=DIR find the sources in DIR [configure dir or \`..']
27030 Installation directories:
27031 --prefix=PREFIX install architecture-independent files in PREFIX
27032 [$ac_default_prefix]
27033 @@ -818,15 +1305,22 @@ Fine tuning of the installation director
27034 --bindir=DIR user executables [EPREFIX/bin]
27035 --sbindir=DIR system admin executables [EPREFIX/sbin]
27036 --libexecdir=DIR program executables [EPREFIX/libexec]
27037 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
27038 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
27039 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
27040 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
27041 --libdir=DIR object code libraries [EPREFIX/lib]
27042 --includedir=DIR C header files [PREFIX/include]
27043 --oldincludedir=DIR C header files for non-gcc [/usr/include]
27044 - --infodir=DIR info documentation [PREFIX/info]
27045 - --mandir=DIR man documentation [PREFIX/man]
27046 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
27047 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
27048 + --infodir=DIR info documentation [DATAROOTDIR/info]
27049 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
27050 + --mandir=DIR man documentation [DATAROOTDIR/man]
27051 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
27052 + --htmldir=DIR html documentation [DOCDIR]
27053 + --dvidir=DIR dvi documentation [DOCDIR]
27054 + --pdfdir=DIR pdf documentation [DOCDIR]
27055 + --psdir=DIR ps documentation [DOCDIR]
27059 @@ -876,126 +1370,100 @@ Some influential environment variables:
27060 CFLAGS C compiler flags
27061 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
27062 nonstandard directory <lib dir>
27063 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
27064 - headers in a nonstandard directory <include dir>
27065 + LIBS libraries to pass to the linker, e.g. -l<library>
27066 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
27067 + you have headers in a nonstandard directory <include dir>
27068 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
27069 + the first program found out of: `bison -y', `byacc', `yacc'.
27070 + YFLAGS The list of arguments that will be passed by default to $YACC.
27071 + This script will default YFLAGS to the empty string to avoid a
27072 + default value of `-d' given by some make applications.
27075 Use these variables to override the choices made by `configure' or to help
27076 it to find libraries and programs with nonstandard names/locations.
27082 if test "$ac_init_help" = "recursive"; then
27083 # If there are subdirs, report their specific --help.
27085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
27086 - test -d $ac_dir || continue
27087 + test -d "$ac_dir" || continue
27090 -if test "$ac_dir" != .; then
27092 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27094 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27095 - # A "../" for each directory in $ac_dir_suffix.
27096 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27098 - ac_dir_suffix= ac_top_builddir=
27100 + # A ".." for each directory in $ac_dir_suffix.
27101 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27102 + case $ac_top_builddir_sub in
27103 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27104 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27107 +ac_abs_top_builddir=$ac_pwd
27108 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
27109 +# for backward compatibility:
27110 +ac_top_builddir=$ac_top_build_prefix
27113 - .) # No --srcdir option. We are building in place.
27114 + .) # We are building in place.
27116 - if test -z "$ac_top_builddir"; then
27119 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27121 - [\\/]* | ?:[\\/]* ) # Absolute path.
27122 + ac_top_srcdir=$ac_top_builddir_sub
27123 + ac_abs_top_srcdir=$ac_pwd ;;
27124 + [\\/]* | ?:[\\/]* ) # Absolute name.
27125 ac_srcdir=$srcdir$ac_dir_suffix;
27126 - ac_top_srcdir=$srcdir ;;
27127 - *) # Relative path.
27128 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27129 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
27132 -# Do not use `cd foo && pwd` to compute absolute paths, because
27133 -# the directories may not exist.
27135 -.) ac_abs_builddir="$ac_dir";;
27137 - case "$ac_dir" in
27138 - .) ac_abs_builddir=`pwd`;;
27139 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27140 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
27143 -case $ac_abs_builddir in
27144 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
27146 - case ${ac_top_builddir}. in
27147 - .) ac_abs_top_builddir=$ac_abs_builddir;;
27148 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27149 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27152 -case $ac_abs_builddir in
27153 -.) ac_abs_srcdir=$ac_srcdir;;
27155 - case $ac_srcdir in
27156 - .) ac_abs_srcdir=$ac_abs_builddir;;
27157 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27158 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27161 -case $ac_abs_builddir in
27162 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
27164 - case $ac_top_srcdir in
27165 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
27166 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27167 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27172 - # Check for guested configure; otherwise get Cygnus style configure.
27173 - if test -f $ac_srcdir/configure.gnu; then
27175 - $SHELL $ac_srcdir/configure.gnu --help=recursive
27176 - elif test -f $ac_srcdir/configure; then
27178 - $SHELL $ac_srcdir/configure --help=recursive
27179 - elif test -f $ac_srcdir/configure.ac ||
27180 - test -f $ac_srcdir/configure.in; then
27182 - $ac_configure --help
27183 + ac_top_srcdir=$srcdir
27184 + ac_abs_top_srcdir=$srcdir ;;
27185 + *) # Relative name.
27186 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27187 + ac_top_srcdir=$ac_top_build_prefix$srcdir
27188 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27190 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27192 + cd "$ac_dir" || { ac_status=$?; continue; }
27193 + # Check for guested configure.
27194 + if test -f "$ac_srcdir/configure.gnu"; then
27196 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
27197 + elif test -f "$ac_srcdir/configure"; then
27199 + $SHELL "$ac_srcdir/configure" --help=recursive
27201 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
27204 + fi || ac_status=$?
27205 + cd "$ac_pwd" || { ac_status=$?; break; }
27209 -test -n "$ac_init_help" && exit 0
27210 +test -n "$ac_init_help" && exit $ac_status
27211 if $ac_init_version; then
27214 +generated by GNU Autoconf 2.61
27216 -Copyright (C) 2003 Free Software Foundation, Inc.
27217 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
27218 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
27219 This configure script is free software; the Free Software Foundation
27220 gives unlimited permission to copy, distribute and modify it.
27227 +cat >config.log <<_ACEOF
27228 This file contains any messages produced by compilers while
27229 running configure, to aid debugging if configure makes a mistake.
27231 It was created by $as_me, which was
27232 -generated by GNU Autoconf 2.59. Invocation command line was
27233 +generated by GNU Autoconf 2.61. Invocation command line was
27238 +exec 5>>config.log
27242 @@ -1014,7 +1482,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
27243 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
27244 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
27245 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
27246 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
27247 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
27248 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
27249 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
27250 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
27251 @@ -1028,6 +1496,7 @@ do
27252 test -z "$as_dir" && as_dir=.
27253 echo "PATH: $as_dir"
27259 @@ -1049,7 +1518,6 @@ _ACEOF
27261 ac_configure_args0=
27262 ac_configure_args1=
27264 ac_must_keep_next=false
27267 @@ -1060,7 +1528,7 @@ do
27268 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27269 | -silent | --silent | --silen | --sile | --sil)
27271 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
27273 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
27276 @@ -1082,9 +1550,7 @@ do
27277 -* ) ac_must_keep_next=true ;;
27280 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
27281 - # Get rid of the leading space.
27283 + ac_configure_args="$ac_configure_args '$ac_arg'"
27287 @@ -1095,8 +1561,8 @@ $as_unset ac_configure_args1 || test "${
27288 # When interrupted or exit'd, cleanup temporary files, and complete
27289 # config.log. We remove comments because anyway the quotes in there
27290 # would cause problems or look ugly.
27291 -# WARNING: Be sure not to use single quotes in there, as some shells,
27292 -# such as our DU 5.0 friend, will then `close' the trap.
27293 +# WARNING: Use '\'' to represent an apostrophe within the trap.
27294 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
27295 trap 'exit_status=$?
27296 # Save into config.log some information that might help in debugging.
27298 @@ -1109,20 +1575,34 @@ trap 'exit_status=$?
27301 # The following way of writing the cache mishandles newlines in values,
27304 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
27305 + eval ac_val=\$$ac_var
27306 + case $ac_val in #(
27308 + case $ac_var in #(
27309 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27310 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27312 + case $ac_var in #(
27313 + _ | IFS | as_nl) ;; #(
27314 + *) $as_unset $ac_var ;;
27319 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
27321 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
27322 + *${as_nl}ac_space=\ *)
27324 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
27325 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
27327 + "s/'\''/'\''\\\\'\'''\''/g;
27328 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
27332 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27333 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27343 @@ -1133,22 +1613,28 @@ _ASBOX
27345 for ac_var in $ac_subst_vars
27347 - eval ac_val=$`echo $ac_var`
27348 - echo "$ac_var='"'"'$ac_val'"'"'"
27349 + eval ac_val=\$$ac_var
27351 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
27353 + echo "$ac_var='\''$ac_val'\''"
27357 if test -n "$ac_subst_files"; then
27359 -## ------------- ##
27360 -## Output files. ##
27361 -## ------------- ##
27362 +## ------------------- ##
27363 +## File substitutions. ##
27364 +## ------------------- ##
27367 for ac_var in $ac_subst_files
27369 - eval ac_val=$`echo $ac_var`
27370 - echo "$ac_var='"'"'$ac_val'"'"'"
27371 + eval ac_val=\$$ac_var
27373 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
27375 + echo "$ac_var='\''$ac_val'\''"
27379 @@ -1160,26 +1646,24 @@ _ASBOX
27383 - sed "/^$/d" confdefs.h | sort
27387 test "$ac_signal" != 0 &&
27388 echo "$as_me: caught signal $ac_signal"
27389 echo "$as_me: exit $exit_status"
27391 - rm -f core *.core &&
27392 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
27393 + rm -f core *.core core.conftest.* &&
27394 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
27398 for ac_signal in 1 2 13 15; do
27399 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
27403 # confdefs.h avoids OS command line length limits that DEFS can exceed.
27404 -rm -rf conftest* confdefs.h
27405 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
27407 +rm -f -r conftest* confdefs.h
27409 # Predefined preprocessor variables.
27411 @@ -1210,14 +1694,17 @@ _ACEOF
27413 # Let the site file select an alternate cache file if it wants to.
27414 # Prefer explicitly selected file to automatically selected ones.
27415 -if test -z "$CONFIG_SITE"; then
27416 - if test "x$prefix" != xNONE; then
27417 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
27419 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
27421 +if test -n "$CONFIG_SITE"; then
27422 + set x "$CONFIG_SITE"
27423 +elif test "x$prefix" != xNONE; then
27424 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
27426 + set x "$ac_default_prefix/share/config.site" \
27427 + "$ac_default_prefix/etc/config.site"
27429 -for ac_site_file in $CONFIG_SITE; do
27433 if test -r "$ac_site_file"; then
27434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
27435 echo "$as_me: loading site script $ac_site_file" >&6;}
27436 @@ -1233,8 +1720,8 @@ if test -r "$cache_file"; then
27437 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
27438 echo "$as_me: loading cache $cache_file" >&6;}
27439 case $cache_file in
27440 - [\\/]* | ?:[\\/]* ) . $cache_file;;
27441 - *) . ./$cache_file;;
27442 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
27443 + *) . "./$cache_file";;
27447 @@ -1246,12 +1733,11 @@ fi
27448 # Check that the precious variables saved in the cache have kept the same
27450 ac_cache_corrupted=false
27451 -for ac_var in `(set) 2>&1 |
27452 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
27453 +for ac_var in $ac_precious_vars; do
27454 eval ac_old_set=\$ac_cv_env_${ac_var}_set
27455 eval ac_new_set=\$ac_env_${ac_var}_set
27456 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
27457 - eval ac_new_val="\$ac_env_${ac_var}_value"
27458 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
27459 + eval ac_new_val=\$ac_env_${ac_var}_value
27460 case $ac_old_set,$ac_new_set in
27462 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
27463 @@ -1276,8 +1762,7 @@ echo "$as_me: current value: $ac_new_v
27464 # Pass precious variables to config.status.
27465 if test "$ac_new_set" = set; then
27466 case $ac_new_val in
27467 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
27468 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
27469 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
27470 *) ac_arg=$ac_var=$ac_new_val ;;
27472 case " $ac_configure_args " in
27473 @@ -1294,12 +1779,6 @@ echo "$as_me: error: run \`make distclea
27474 { (exit 1); exit 1; }; }
27478 -ac_cpp='$CPP $CPPFLAGS'
27479 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27480 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27481 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
27486 @@ -1316,108 +1795,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
27491 +ac_cpp='$CPP $CPPFLAGS'
27492 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27493 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27494 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
27499 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
27500 - if test -f $ac_dir/install-sh; then
27501 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
27502 + if test -f "$ac_dir/install-sh"; then
27504 ac_install_sh="$ac_aux_dir/install-sh -c"
27506 - elif test -f $ac_dir/install.sh; then
27507 + elif test -f "$ac_dir/install.sh"; then
27509 ac_install_sh="$ac_aux_dir/install.sh -c"
27511 - elif test -f $ac_dir/shtool; then
27512 + elif test -f "$ac_dir/shtool"; then
27514 ac_install_sh="$ac_aux_dir/shtool install -c"
27518 if test -z "$ac_aux_dir"; then
27519 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
27520 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
27521 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
27522 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
27523 { (exit 1); exit 1; }; }
27525 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
27526 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
27527 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
27529 +# These three variables are undocumented and unsupported,
27530 +# and are intended to be withdrawn in a future Autoconf release.
27531 +# They can cause serious problems if a builder's source tree is in a directory
27532 +# whose full name contains unusual characters.
27533 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
27534 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
27535 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
27538 # Make sure we can run config.sub.
27539 -$ac_config_sub sun4 >/dev/null 2>&1 ||
27540 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
27541 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
27542 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
27543 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
27544 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
27545 { (exit 1); exit 1; }; }
27547 -echo "$as_me:$LINENO: checking build system type" >&5
27548 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
27549 +{ echo "$as_me:$LINENO: checking build system type" >&5
27550 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
27551 if test "${ac_cv_build+set}" = set; then
27552 echo $ECHO_N "(cached) $ECHO_C" >&6
27554 - ac_cv_build_alias=$build_alias
27555 -test -z "$ac_cv_build_alias" &&
27556 - ac_cv_build_alias=`$ac_config_guess`
27557 -test -z "$ac_cv_build_alias" &&
27558 + ac_build_alias=$build_alias
27559 +test "x$ac_build_alias" = x &&
27560 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
27561 +test "x$ac_build_alias" = x &&
27562 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
27563 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
27564 { (exit 1); exit 1; }; }
27565 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
27566 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
27567 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
27568 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
27569 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
27570 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
27571 { (exit 1); exit 1; }; }
27574 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
27575 -echo "${ECHO_T}$ac_cv_build" >&6
27576 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
27577 +echo "${ECHO_T}$ac_cv_build" >&6; }
27578 +case $ac_cv_build in
27580 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
27581 +echo "$as_me: error: invalid value of canonical build" >&2;}
27582 + { (exit 1); exit 1; }; };;
27585 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27586 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27587 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27588 +ac_save_IFS=$IFS; IFS='-'
27589 +set x $ac_cv_build
27594 +# Remember, the first character of IFS is used to create $*,
27595 +# except with old shells:
27598 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
27601 -echo "$as_me:$LINENO: checking host system type" >&5
27602 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
27603 +{ echo "$as_me:$LINENO: checking host system type" >&5
27604 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
27605 if test "${ac_cv_host+set}" = set; then
27606 echo $ECHO_N "(cached) $ECHO_C" >&6
27608 - ac_cv_host_alias=$host_alias
27609 -test -z "$ac_cv_host_alias" &&
27610 - ac_cv_host_alias=$ac_cv_build_alias
27611 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
27612 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
27613 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
27614 + if test "x$host_alias" = x; then
27615 + ac_cv_host=$ac_cv_build
27617 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
27618 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
27619 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
27620 { (exit 1); exit 1; }; }
27624 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
27625 -echo "${ECHO_T}$ac_cv_host" >&6
27626 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
27627 +echo "${ECHO_T}$ac_cv_host" >&6; }
27628 +case $ac_cv_host in
27630 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
27631 +echo "$as_me: error: invalid value of canonical host" >&2;}
27632 + { (exit 1); exit 1; }; };;
27635 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27636 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27637 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27638 +ac_save_IFS=$IFS; IFS='-'
27644 +# Remember, the first character of IFS is used to create $*,
27645 +# except with old shells:
27648 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
27651 -echo "$as_me:$LINENO: checking target system type" >&5
27652 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
27653 +{ echo "$as_me:$LINENO: checking target system type" >&5
27654 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
27655 if test "${ac_cv_target+set}" = set; then
27656 echo $ECHO_N "(cached) $ECHO_C" >&6
27658 - ac_cv_target_alias=$target_alias
27659 -test "x$ac_cv_target_alias" = "x" &&
27660 - ac_cv_target_alias=$ac_cv_host_alias
27661 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
27662 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
27663 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
27664 + if test "x$target_alias" = x; then
27665 + ac_cv_target=$ac_cv_host
27667 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
27668 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
27669 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
27670 { (exit 1); exit 1; }; }
27674 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
27675 -echo "${ECHO_T}$ac_cv_target" >&6
27676 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
27677 +echo "${ECHO_T}$ac_cv_target" >&6; }
27678 +case $ac_cv_target in
27680 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
27681 +echo "$as_me: error: invalid value of canonical target" >&2;}
27682 + { (exit 1); exit 1; }; };;
27684 target=$ac_cv_target
27685 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
27686 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
27687 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
27688 +ac_save_IFS=$IFS; IFS='-'
27689 +set x $ac_cv_target
27694 +# Remember, the first character of IFS is used to create $*,
27695 +# except with old shells:
27698 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
27701 # The aliases save the names the user supplied, while $host etc.
27702 @@ -1434,8 +1968,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
27703 if test -n "$ac_tool_prefix"; then
27704 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
27705 set dummy ${ac_tool_prefix}gcc; ac_word=$2
27706 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27707 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27708 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27709 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27710 if test "${ac_cv_prog_CC+set}" = set; then
27711 echo $ECHO_N "(cached) $ECHO_C" >&6
27713 @@ -1448,32 +1982,34 @@ do
27715 test -z "$as_dir" && as_dir=.
27716 for ac_exec_ext in '' $ac_executable_extensions; do
27717 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27718 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27719 ac_cv_prog_CC="${ac_tool_prefix}gcc"
27720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27730 if test -n "$CC"; then
27731 - echo "$as_me:$LINENO: result: $CC" >&5
27732 -echo "${ECHO_T}$CC" >&6
27733 + { echo "$as_me:$LINENO: result: $CC" >&5
27734 +echo "${ECHO_T}$CC" >&6; }
27736 - echo "$as_me:$LINENO: result: no" >&5
27737 -echo "${ECHO_T}no" >&6
27738 + { echo "$as_me:$LINENO: result: no" >&5
27739 +echo "${ECHO_T}no" >&6; }
27744 if test -z "$ac_cv_prog_CC"; then
27746 # Extract the first word of "gcc", so it can be a program name with args.
27747 set dummy gcc; ac_word=$2
27748 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27749 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27750 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27751 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27753 echo $ECHO_N "(cached) $ECHO_C" >&6
27755 @@ -1486,36 +2022,51 @@ do
27757 test -z "$as_dir" && as_dir=.
27758 for ac_exec_ext in '' $ac_executable_extensions; do
27759 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27760 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27761 ac_cv_prog_ac_ct_CC="gcc"
27762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27771 ac_ct_CC=$ac_cv_prog_ac_ct_CC
27772 if test -n "$ac_ct_CC"; then
27773 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27774 -echo "${ECHO_T}$ac_ct_CC" >&6
27775 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27776 +echo "${ECHO_T}$ac_ct_CC" >&6; }
27778 - echo "$as_me:$LINENO: result: no" >&5
27779 -echo "${ECHO_T}no" >&6
27780 + { echo "$as_me:$LINENO: result: no" >&5
27781 +echo "${ECHO_T}no" >&6; }
27785 + if test "x$ac_ct_CC" = x; then
27788 + case $cross_compiling:$ac_tool_warned in
27790 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
27791 +whose name does not start with the host triplet. If you think this
27792 +configuration is useful to you, please write to autoconf@gnu.org." >&5
27793 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
27794 +whose name does not start with the host triplet. If you think this
27795 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
27796 +ac_tool_warned=yes ;;
27801 CC="$ac_cv_prog_CC"
27804 if test -z "$CC"; then
27805 - if test -n "$ac_tool_prefix"; then
27806 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27807 + if test -n "$ac_tool_prefix"; then
27808 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
27809 set dummy ${ac_tool_prefix}cc; ac_word=$2
27810 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27811 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27812 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27813 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27814 if test "${ac_cv_prog_CC+set}" = set; then
27815 echo $ECHO_N "(cached) $ECHO_C" >&6
27817 @@ -1528,74 +2079,34 @@ do
27819 test -z "$as_dir" && as_dir=.
27820 for ac_exec_ext in '' $ac_executable_extensions; do
27821 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27822 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27823 ac_cv_prog_CC="${ac_tool_prefix}cc"
27824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27834 if test -n "$CC"; then
27835 - echo "$as_me:$LINENO: result: $CC" >&5
27836 -echo "${ECHO_T}$CC" >&6
27838 - echo "$as_me:$LINENO: result: no" >&5
27839 -echo "${ECHO_T}no" >&6
27843 -if test -z "$ac_cv_prog_CC"; then
27845 - # Extract the first word of "cc", so it can be a program name with args.
27846 -set dummy cc; ac_word=$2
27847 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27848 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27849 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27850 - echo $ECHO_N "(cached) $ECHO_C" >&6
27852 - if test -n "$ac_ct_CC"; then
27853 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
27855 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27856 -for as_dir in $PATH
27859 - test -z "$as_dir" && as_dir=.
27860 - for ac_exec_ext in '' $ac_executable_extensions; do
27861 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27862 - ac_cv_prog_ac_ct_CC="cc"
27863 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27871 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
27872 -if test -n "$ac_ct_CC"; then
27873 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
27874 -echo "${ECHO_T}$ac_ct_CC" >&6
27875 + { echo "$as_me:$LINENO: result: $CC" >&5
27876 +echo "${ECHO_T}$CC" >&6; }
27878 - echo "$as_me:$LINENO: result: no" >&5
27879 -echo "${ECHO_T}no" >&6
27880 + { echo "$as_me:$LINENO: result: no" >&5
27881 +echo "${ECHO_T}no" >&6; }
27886 - CC="$ac_cv_prog_CC"
27891 if test -z "$CC"; then
27892 # Extract the first word of "cc", so it can be a program name with args.
27893 set dummy cc; ac_word=$2
27894 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27895 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27896 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27897 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27898 if test "${ac_cv_prog_CC+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27901 @@ -1609,7 +2120,7 @@ do
27903 test -z "$as_dir" && as_dir=.
27904 for ac_exec_ext in '' $ac_executable_extensions; do
27905 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27906 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27907 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
27908 ac_prog_rejected=yes
27910 @@ -1620,6 +2131,7 @@ do
27916 if test $ac_prog_rejected = yes; then
27917 # We found a bogon in the path, so make sure we never use it.
27918 @@ -1637,22 +2149,23 @@ fi
27921 if test -n "$CC"; then
27922 - echo "$as_me:$LINENO: result: $CC" >&5
27923 -echo "${ECHO_T}$CC" >&6
27924 + { echo "$as_me:$LINENO: result: $CC" >&5
27925 +echo "${ECHO_T}$CC" >&6; }
27927 - echo "$as_me:$LINENO: result: no" >&5
27928 -echo "${ECHO_T}no" >&6
27929 + { echo "$as_me:$LINENO: result: no" >&5
27930 +echo "${ECHO_T}no" >&6; }
27935 if test -z "$CC"; then
27936 if test -n "$ac_tool_prefix"; then
27937 - for ac_prog in cl
27938 + for ac_prog in cl.exe
27940 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
27941 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
27942 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27943 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27944 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27945 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27946 if test "${ac_cv_prog_CC+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27949 @@ -1665,36 +2178,38 @@ do
27951 test -z "$as_dir" && as_dir=.
27952 for ac_exec_ext in '' $ac_executable_extensions; do
27953 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27954 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27955 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
27956 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27966 if test -n "$CC"; then
27967 - echo "$as_me:$LINENO: result: $CC" >&5
27968 -echo "${ECHO_T}$CC" >&6
27969 + { echo "$as_me:$LINENO: result: $CC" >&5
27970 +echo "${ECHO_T}$CC" >&6; }
27972 - echo "$as_me:$LINENO: result: no" >&5
27973 -echo "${ECHO_T}no" >&6
27974 + { echo "$as_me:$LINENO: result: no" >&5
27975 +echo "${ECHO_T}no" >&6; }
27979 test -n "$CC" && break
27982 if test -z "$CC"; then
27984 - for ac_prog in cl
27985 + for ac_prog in cl.exe
27987 # Extract the first word of "$ac_prog", so it can be a program name with args.
27988 set dummy $ac_prog; ac_word=$2
27989 -echo "$as_me:$LINENO: checking for $ac_word" >&5
27990 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27991 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27992 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27993 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
27994 echo $ECHO_N "(cached) $ECHO_C" >&6
27996 @@ -1707,29 +2222,45 @@ do
27998 test -z "$as_dir" && as_dir=.
27999 for ac_exec_ext in '' $ac_executable_extensions; do
28000 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28001 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28002 ac_cv_prog_ac_ct_CC="$ac_prog"
28003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
28013 if test -n "$ac_ct_CC"; then
28014 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
28015 -echo "${ECHO_T}$ac_ct_CC" >&6
28016 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
28017 +echo "${ECHO_T}$ac_ct_CC" >&6; }
28019 - echo "$as_me:$LINENO: result: no" >&5
28020 -echo "${ECHO_T}no" >&6
28021 + { echo "$as_me:$LINENO: result: no" >&5
28022 +echo "${ECHO_T}no" >&6; }
28026 test -n "$ac_ct_CC" && break
28030 + if test "x$ac_ct_CC" = x; then
28033 + case $cross_compiling:$ac_tool_warned in
28035 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28036 +whose name does not start with the host triplet. If you think this
28037 +configuration is useful to you, please write to autoconf@gnu.org." >&5
28038 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28039 +whose name does not start with the host triplet. If you think this
28040 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28041 +ac_tool_warned=yes ;;
28048 @@ -1742,21 +2273,35 @@ See \`config.log' for more details." >&2
28049 { (exit 1); exit 1; }; }
28051 # Provide some information about the compiler.
28052 -echo "$as_me:$LINENO:" \
28053 - "checking for C compiler version" >&5
28054 +echo "$as_me:$LINENO: checking for C compiler version" >&5
28055 ac_compiler=`set X $ac_compile; echo $2`
28056 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
28057 - (eval $ac_compiler --version </dev/null >&5) 2>&5
28058 +{ (ac_try="$ac_compiler --version >&5"
28059 +case "(($ac_try" in
28060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28061 + *) ac_try_echo=$ac_try;;
28063 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28064 + (eval "$ac_compiler --version >&5") 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }
28068 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
28069 - (eval $ac_compiler -v </dev/null >&5) 2>&5
28070 +{ (ac_try="$ac_compiler -v >&5"
28071 +case "(($ac_try" in
28072 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28073 + *) ac_try_echo=$ac_try;;
28075 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28076 + (eval "$ac_compiler -v >&5") 2>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); }
28080 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
28081 - (eval $ac_compiler -V </dev/null >&5) 2>&5
28082 +{ (ac_try="$ac_compiler -V >&5"
28083 +case "(($ac_try" in
28084 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 + *) ac_try_echo=$ac_try;;
28087 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 + (eval "$ac_compiler -V >&5") 2>&5
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }
28092 @@ -1781,47 +2326,77 @@ ac_clean_files="$ac_clean_files a.out a.
28093 # Try to create an executable without -o first, disregard a.out.
28094 # It will help us diagnose broken compilers, and finding out an intuition
28096 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28097 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
28098 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
28099 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
28100 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
28101 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
28102 - (eval $ac_link_default) 2>&5
28104 +# List of possible output files, starting from the most likely.
28105 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
28106 +# only as a last resort. b.out is created by i960 compilers.
28107 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
28109 +# The IRIX 6 linker writes into existing files which may not be
28110 +# executable, retaining their permissions. Remove them first so a
28111 +# subsequent execution test works.
28113 +for ac_file in $ac_files
28116 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
28117 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
28122 +if { (ac_try="$ac_link_default"
28123 +case "(($ac_try" in
28124 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28125 + *) ac_try_echo=$ac_try;;
28127 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28128 + (eval "$ac_link_default") 2>&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); }; then
28132 - # Find the output, starting from the most likely. This scheme is
28133 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
28136 -# Be careful to initialize this variable, since it used to be cached.
28137 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
28139 -# b.out is created by i960 compilers.
28140 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
28141 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
28142 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
28143 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
28144 +# so that the user can short-circuit this test for compilers unknown to
28146 +for ac_file in $ac_files ''
28148 test -f "$ac_file" || continue
28150 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
28152 - conftest.$ac_ext )
28153 - # This is the source file.
28154 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
28157 # We found the default executable, but exeext='' is most
28161 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28162 - # FIXME: I believe we export ac_cv_exeext for Libtool,
28163 - # but it would be cool to find out if it's true. Does anybody
28164 - # maintain Libtool? --akim.
28165 - export ac_cv_exeext
28166 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
28168 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28170 + # We set ac_cv_exeext here because the later test for it is not
28171 + # safe: cross compilers may not add the suffix if given an `-o'
28172 + # argument, so we may need to know it at that point already.
28173 + # Even if this section looks crufty: it has the advantage of
28174 + # actually working.
28180 +test "$ac_cv_exeext" = no && ac_cv_exeext=
28186 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
28187 +echo "${ECHO_T}$ac_file" >&6; }
28188 +if test -z "$ac_file"; then
28189 echo "$as_me: failed program was:" >&5
28190 sed 's/^/| /' conftest.$ac_ext >&5
28192 @@ -1833,19 +2408,21 @@ See \`config.log' for more details." >&2
28195 ac_exeext=$ac_cv_exeext
28196 -echo "$as_me:$LINENO: result: $ac_file" >&5
28197 -echo "${ECHO_T}$ac_file" >&6
28199 -# Check the compiler produces executables we can run. If not, either
28200 +# Check that the compiler produces executables we can run. If not, either
28201 # the compiler is broken, or we cross compile.
28202 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
28203 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
28204 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
28205 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
28206 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
28207 # If not cross compiling, check that we can run a simple program.
28208 if test "$cross_compiling" != yes; then
28209 if { ac_try='./$ac_file'
28210 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 - (eval $ac_try) 2>&5
28212 + { (case "(($ac_try" in
28213 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28214 + *) ac_try_echo=$ac_try;;
28216 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28217 + (eval "$ac_try") 2>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 @@ -1864,22 +2441,27 @@ See \`config.log' for more details." >&2
28225 -echo "$as_me:$LINENO: result: yes" >&5
28226 -echo "${ECHO_T}yes" >&6
28227 +{ echo "$as_me:$LINENO: result: yes" >&5
28228 +echo "${ECHO_T}yes" >&6; }
28230 rm -f a.out a.exe conftest$ac_cv_exeext b.out
28231 ac_clean_files=$ac_clean_files_save
28232 -# Check the compiler produces executables we can run. If not, either
28233 +# Check that the compiler produces executables we can run. If not, either
28234 # the compiler is broken, or we cross compile.
28235 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
28236 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
28237 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
28238 -echo "${ECHO_T}$cross_compiling" >&6
28240 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
28241 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
28242 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28243 - (eval $ac_link) 2>&5
28244 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
28245 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
28246 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
28247 +echo "${ECHO_T}$cross_compiling" >&6; }
28249 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
28250 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
28251 +if { (ac_try="$ac_link"
28252 +case "(($ac_try" in
28253 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28254 + *) ac_try_echo=$ac_try;;
28256 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28257 + (eval "$ac_link") 2>&5
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); }; then
28261 @@ -1890,9 +2472,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
28262 for ac_file in conftest.exe conftest conftest.*; do
28263 test -f "$ac_file" || continue
28265 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
28266 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
28267 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
28268 - export ac_cv_exeext
28272 @@ -1906,14 +2487,14 @@ See \`config.log' for more details." >&2
28275 rm -f conftest$ac_cv_exeext
28276 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
28277 -echo "${ECHO_T}$ac_cv_exeext" >&6
28278 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
28279 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
28281 rm -f conftest.$ac_ext
28282 EXEEXT=$ac_cv_exeext
28284 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
28285 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
28286 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
28287 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
28288 if test "${ac_cv_objext+set}" = set; then
28289 echo $ECHO_N "(cached) $ECHO_C" >&6
28291 @@ -1933,14 +2514,20 @@ main ()
28294 rm -f conftest.o conftest.obj
28295 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28296 - (eval $ac_compile) 2>&5
28297 +if { (ac_try="$ac_compile"
28298 +case "(($ac_try" in
28299 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28300 + *) ac_try_echo=$ac_try;;
28302 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28303 + (eval "$ac_compile") 2>&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); }; then
28307 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
28308 + for ac_file in conftest.o conftest.obj conftest.*; do
28309 + test -f "$ac_file" || continue;
28311 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
28312 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
28313 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
28316 @@ -1958,12 +2545,12 @@ fi
28318 rm -f conftest.$ac_cv_objext conftest.$ac_ext
28320 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28321 -echo "${ECHO_T}$ac_cv_objext" >&6
28322 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
28323 +echo "${ECHO_T}$ac_cv_objext" >&6; }
28324 OBJEXT=$ac_cv_objext
28326 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28327 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
28328 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
28329 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
28330 if test "${ac_cv_c_compiler_gnu+set}" = set; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6
28333 @@ -1986,50 +2573,49 @@ main ()
28336 rm -f conftest.$ac_objext
28337 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28338 - (eval $ac_compile) 2>conftest.er1
28339 +if { (ac_try="$ac_compile"
28340 +case "(($ac_try" in
28341 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28342 + *) ac_try_echo=$ac_try;;
28344 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28345 + (eval "$ac_compile") 2>conftest.er1
28347 grep -v '^ *+' conftest.er1 >conftest.err
28349 cat conftest.err >&5
28350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28351 - (exit $ac_status); } &&
28352 - { ac_try='test -z "$ac_c_werror_flag"
28353 - || test ! -s conftest.err'
28354 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28355 - (eval $ac_try) 2>&5
28357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28358 - (exit $ac_status); }; } &&
28359 - { ac_try='test -s conftest.$ac_objext'
28360 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28361 - (eval $ac_try) 2>&5
28363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28364 - (exit $ac_status); }; }; then
28365 + (exit $ac_status); } && {
28366 + test -z "$ac_c_werror_flag" ||
28367 + test ! -s conftest.err
28368 + } && test -s conftest.$ac_objext; then
28369 ac_compiler_gnu=yes
28371 echo "$as_me: failed program was:" >&5
28372 sed 's/^/| /' conftest.$ac_ext >&5
28374 -ac_compiler_gnu=no
28375 + ac_compiler_gnu=no
28377 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28379 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
28383 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
28384 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
28385 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
28386 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
28387 GCC=`test $ac_compiler_gnu = yes && echo yes`
28388 ac_test_CFLAGS=${CFLAGS+set}
28389 ac_save_CFLAGS=$CFLAGS
28391 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
28392 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
28393 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
28394 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
28395 if test "${ac_cv_prog_cc_g+set}" = set; then
28396 echo $ECHO_N "(cached) $ECHO_C" >&6
28398 - cat >conftest.$ac_ext <<_ACEOF
28399 + ac_save_c_werror_flag=$ac_c_werror_flag
28400 + ac_c_werror_flag=yes
28401 + ac_cv_prog_cc_g=no
28403 + cat >conftest.$ac_ext <<_ACEOF
28406 cat confdefs.h >>conftest.$ac_ext
28407 @@ -2045,38 +2631,118 @@ main ()
28410 rm -f conftest.$ac_objext
28411 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28412 - (eval $ac_compile) 2>conftest.er1
28413 +if { (ac_try="$ac_compile"
28414 +case "(($ac_try" in
28415 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28416 + *) ac_try_echo=$ac_try;;
28418 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28419 + (eval "$ac_compile") 2>conftest.er1
28421 grep -v '^ *+' conftest.er1 >conftest.err
28423 cat conftest.err >&5
28424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 - (exit $ac_status); } &&
28426 - { ac_try='test -z "$ac_c_werror_flag"
28427 - || test ! -s conftest.err'
28428 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28429 - (eval $ac_try) 2>&5
28430 + (exit $ac_status); } && {
28431 + test -z "$ac_c_werror_flag" ||
28432 + test ! -s conftest.err
28433 + } && test -s conftest.$ac_objext; then
28434 + ac_cv_prog_cc_g=yes
28436 + echo "$as_me: failed program was:" >&5
28437 +sed 's/^/| /' conftest.$ac_ext >&5
28440 + cat >conftest.$ac_ext <<_ACEOF
28443 +cat confdefs.h >>conftest.$ac_ext
28444 +cat >>conftest.$ac_ext <<_ACEOF
28445 +/* end confdefs.h. */
28455 +rm -f conftest.$ac_objext
28456 +if { (ac_try="$ac_compile"
28457 +case "(($ac_try" in
28458 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28459 + *) ac_try_echo=$ac_try;;
28461 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28462 + (eval "$ac_compile") 2>conftest.er1
28464 + grep -v '^ *+' conftest.er1 >conftest.err
28465 + rm -f conftest.er1
28466 + cat conftest.err >&5
28467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28468 - (exit $ac_status); }; } &&
28469 - { ac_try='test -s conftest.$ac_objext'
28470 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 - (eval $ac_try) 2>&5
28472 + (exit $ac_status); } && {
28473 + test -z "$ac_c_werror_flag" ||
28474 + test ! -s conftest.err
28475 + } && test -s conftest.$ac_objext; then
28478 + echo "$as_me: failed program was:" >&5
28479 +sed 's/^/| /' conftest.$ac_ext >&5
28481 + ac_c_werror_flag=$ac_save_c_werror_flag
28483 + cat >conftest.$ac_ext <<_ACEOF
28486 +cat confdefs.h >>conftest.$ac_ext
28487 +cat >>conftest.$ac_ext <<_ACEOF
28488 +/* end confdefs.h. */
28498 +rm -f conftest.$ac_objext
28499 +if { (ac_try="$ac_compile"
28500 +case "(($ac_try" in
28501 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28502 + *) ac_try_echo=$ac_try;;
28504 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28505 + (eval "$ac_compile") 2>conftest.er1
28507 + grep -v '^ *+' conftest.er1 >conftest.err
28508 + rm -f conftest.er1
28509 + cat conftest.err >&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 - (exit $ac_status); }; }; then
28512 + (exit $ac_status); } && {
28513 + test -z "$ac_c_werror_flag" ||
28514 + test ! -s conftest.err
28515 + } && test -s conftest.$ac_objext; then
28516 ac_cv_prog_cc_g=yes
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28521 -ac_cv_prog_cc_g=no
28525 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28528 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28530 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28532 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 + ac_c_werror_flag=$ac_save_c_werror_flag
28535 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
28536 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
28537 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
28538 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
28539 if test "$ac_test_CFLAGS" = set; then
28540 CFLAGS=$ac_save_CFLAGS
28541 elif test $ac_cv_prog_cc_g = yes; then
28542 @@ -2092,12 +2758,12 @@ else
28546 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
28547 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
28548 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
28549 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
28550 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
28551 +if test "${ac_cv_prog_cc_c89+set}" = set; then
28552 echo $ECHO_N "(cached) $ECHO_C" >&6
28554 - ac_cv_prog_cc_stdc=no
28555 + ac_cv_prog_cc_c89=no
28557 cat >conftest.$ac_ext <<_ACEOF
28559 @@ -2131,12 +2797,17 @@ static char *f (char * (*g) (char **, in
28560 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
28561 function prototypes and stuff, but not '\xHH' hex character constants.
28562 These don't provoke an error unfortunately, instead are silently treated
28563 - as 'x'. The following induces an error, until -std1 is added to get
28564 + as 'x'. The following induces an error, until -std is added to get
28565 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
28566 array size at least. It's necessary to write '\x00'==0 to get something
28567 - that's true only with -std1. */
28568 + that's true only with -std. */
28569 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
28571 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
28572 + inside strings and character constants. */
28573 +#define FOO(x) 'x'
28574 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
28576 int test (int i, double x);
28577 struct s1 {int (*f) (int a);};
28578 struct s2 {int (*f) (double a);};
28579 @@ -2151,335 +2822,144 @@ return f (e, argv, 0) != argv[0] || f
28583 -# Don't try gcc -ansi; that turns off useful extensions and
28584 -# breaks some systems' header files.
28585 -# AIX -qlanglvl=ansi
28586 -# Ultrix and OSF/1 -std1
28587 -# HP-UX 10.20 and later -Ae
28588 -# HP-UX older versions -Aa -D_HPUX_SOURCE
28589 -# SVR4 -Xc -D__EXTENSIONS__
28590 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28591 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
28592 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
28594 CC="$ac_save_CC $ac_arg"
28595 rm -f conftest.$ac_objext
28596 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28597 - (eval $ac_compile) 2>conftest.er1
28598 +if { (ac_try="$ac_compile"
28599 +case "(($ac_try" in
28600 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28601 + *) ac_try_echo=$ac_try;;
28603 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28604 + (eval "$ac_compile") 2>conftest.er1
28606 grep -v '^ *+' conftest.er1 >conftest.err
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 - (exit $ac_status); } &&
28611 - { ac_try='test -z "$ac_c_werror_flag"
28612 - || test ! -s conftest.err'
28613 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 - (eval $ac_try) 2>&5
28616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 - (exit $ac_status); }; } &&
28618 - { ac_try='test -s conftest.$ac_objext'
28619 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 - (eval $ac_try) 2>&5
28622 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 - (exit $ac_status); }; }; then
28624 - ac_cv_prog_cc_stdc=$ac_arg
28626 + (exit $ac_status); } && {
28627 + test -z "$ac_c_werror_flag" ||
28628 + test ! -s conftest.err
28629 + } && test -s conftest.$ac_objext; then
28630 + ac_cv_prog_cc_c89=$ac_arg
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.$ac_ext >&5
28637 -rm -f conftest.err conftest.$ac_objext
28639 +rm -f core conftest.err conftest.$ac_objext
28640 + test "x$ac_cv_prog_cc_c89" != "xno" && break
28642 -rm -f conftest.$ac_ext conftest.$ac_objext
28643 +rm -f conftest.$ac_ext
28648 -case "x$ac_cv_prog_cc_stdc" in
28650 - echo "$as_me:$LINENO: result: none needed" >&5
28651 -echo "${ECHO_T}none needed" >&6 ;;
28653 +case "x$ac_cv_prog_cc_c89" in
28655 + { echo "$as_me:$LINENO: result: none needed" >&5
28656 +echo "${ECHO_T}none needed" >&6; } ;;
28658 + { echo "$as_me:$LINENO: result: unsupported" >&5
28659 +echo "${ECHO_T}unsupported" >&6; } ;;
28661 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
28662 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
28663 - CC="$CC $ac_cv_prog_cc_stdc" ;;
28664 + CC="$CC $ac_cv_prog_cc_c89"
28665 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
28666 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
28669 -# Some people use a C++ compiler to compile C. Since we use `exit',
28670 -# in C++ we need to declare it. In case someone uses the same compiler
28671 -# for both compiling C and C++ we need to have the C++ compiler decide
28672 -# the declaration of exit, since it's the most demanding environment.
28675 +ac_cpp='$CPP $CPPFLAGS'
28676 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
28681 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
28682 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
28683 +if test "${ac_cv_search_strerror+set}" = set; then
28684 + echo $ECHO_N "(cached) $ECHO_C" >&6
28686 + ac_func_search_save_LIBS=$LIBS
28687 cat >conftest.$ac_ext <<_ACEOF
28688 -#ifndef __cplusplus
28692 -rm -f conftest.$ac_objext
28693 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28694 - (eval $ac_compile) 2>conftest.er1
28696 - grep -v '^ *+' conftest.er1 >conftest.err
28697 - rm -f conftest.er1
28698 - cat conftest.err >&5
28699 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 - (exit $ac_status); } &&
28701 - { ac_try='test -z "$ac_c_werror_flag"
28702 - || test ! -s conftest.err'
28703 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28704 - (eval $ac_try) 2>&5
28706 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 - (exit $ac_status); }; } &&
28708 - { ac_try='test -s conftest.$ac_objext'
28709 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 - (eval $ac_try) 2>&5
28712 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 - (exit $ac_status); }; }; then
28714 - for ac_declaration in \
28716 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
28717 - 'extern "C" void std::exit (int); using std::exit;' \
28718 - 'extern "C" void exit (int) throw ();' \
28719 - 'extern "C" void exit (int);' \
28720 - 'void exit (int);'
28722 - cat >conftest.$ac_ext <<_ACEOF
28725 cat confdefs.h >>conftest.$ac_ext
28726 cat >>conftest.$ac_ext <<_ACEOF
28727 /* end confdefs.h. */
28729 -#include <stdlib.h>
28731 +/* Override any GCC internal prototype to avoid an error.
28732 + Use char because int might match the return type of a GCC
28733 + builtin and then its argument prototype would still apply. */
28734 +#ifdef __cplusplus
28742 +return strerror ();
28747 -rm -f conftest.$ac_objext
28748 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28749 - (eval $ac_compile) 2>conftest.er1
28750 +for ac_lib in '' cposix; do
28751 + if test -z "$ac_lib"; then
28752 + ac_res="none required"
28755 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28757 + rm -f conftest.$ac_objext conftest$ac_exeext
28758 +if { (ac_try="$ac_link"
28759 +case "(($ac_try" in
28760 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28761 + *) ac_try_echo=$ac_try;;
28763 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28764 + (eval "$ac_link") 2>conftest.er1
28766 grep -v '^ *+' conftest.er1 >conftest.err
28768 cat conftest.err >&5
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 - (exit $ac_status); } &&
28771 - { ac_try='test -z "$ac_c_werror_flag"
28772 - || test ! -s conftest.err'
28773 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28774 - (eval $ac_try) 2>&5
28776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28777 - (exit $ac_status); }; } &&
28778 - { ac_try='test -s conftest.$ac_objext'
28779 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28780 - (eval $ac_try) 2>&5
28782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28783 - (exit $ac_status); }; }; then
28785 + (exit $ac_status); } && {
28786 + test -z "$ac_c_werror_flag" ||
28787 + test ! -s conftest.err
28788 + } && test -s conftest$ac_exeext &&
28789 + $as_test_x conftest$ac_exeext; then
28790 + ac_cv_search_strerror=$ac_res
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.$ac_ext >&5
28797 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28798 - cat >conftest.$ac_ext <<_ACEOF
28801 -cat confdefs.h >>conftest.$ac_ext
28802 -cat >>conftest.$ac_ext <<_ACEOF
28803 -/* end confdefs.h. */
28813 -rm -f conftest.$ac_objext
28814 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28815 - (eval $ac_compile) 2>conftest.er1
28817 - grep -v '^ *+' conftest.er1 >conftest.err
28818 - rm -f conftest.er1
28819 - cat conftest.err >&5
28820 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 - (exit $ac_status); } &&
28822 - { ac_try='test -z "$ac_c_werror_flag"
28823 - || test ! -s conftest.err'
28824 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28825 - (eval $ac_try) 2>&5
28827 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28828 - (exit $ac_status); }; } &&
28829 - { ac_try='test -s conftest.$ac_objext'
28830 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28831 - (eval $ac_try) 2>&5
28833 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28834 - (exit $ac_status); }; }; then
28837 - echo "$as_me: failed program was:" >&5
28838 -sed 's/^/| /' conftest.$ac_ext >&5
28841 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28844 -if test -n "$ac_declaration"; then
28845 - echo '#ifdef __cplusplus' >>confdefs.h
28846 - echo $ac_declaration >>confdefs.h
28847 - echo '#endif' >>confdefs.h
28851 - echo "$as_me: failed program was:" >&5
28852 -sed 's/^/| /' conftest.$ac_ext >&5
28854 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28855 + conftest$ac_exeext
28856 + if test "${ac_cv_search_strerror+set}" = set; then
28859 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28861 -ac_cpp='$CPP $CPPFLAGS'
28862 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28863 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28864 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
28867 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
28868 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
28870 if test "${ac_cv_search_strerror+set}" = set; then
28871 - echo $ECHO_N "(cached) $ECHO_C" >&6
28873 - ac_func_search_save_LIBS=$LIBS
28874 -ac_cv_search_strerror=no
28875 -cat >conftest.$ac_ext <<_ACEOF
28878 -cat confdefs.h >>conftest.$ac_ext
28879 -cat >>conftest.$ac_ext <<_ACEOF
28880 -/* end confdefs.h. */
28882 -/* Override any gcc2 internal prototype to avoid an error. */
28883 -#ifdef __cplusplus
28886 -/* We use char because int might match the return type of a gcc2
28887 - builtin and then its argument prototype would still apply. */
28897 -rm -f conftest.$ac_objext conftest$ac_exeext
28898 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28899 - (eval $ac_link) 2>conftest.er1
28901 - grep -v '^ *+' conftest.er1 >conftest.err
28902 - rm -f conftest.er1
28903 - cat conftest.err >&5
28904 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 - (exit $ac_status); } &&
28906 - { ac_try='test -z "$ac_c_werror_flag"
28907 - || test ! -s conftest.err'
28908 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28909 - (eval $ac_try) 2>&5
28911 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28912 - (exit $ac_status); }; } &&
28913 - { ac_try='test -s conftest$ac_exeext'
28914 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28915 - (eval $ac_try) 2>&5
28917 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28918 - (exit $ac_status); }; }; then
28919 - ac_cv_search_strerror="none required"
28921 - echo "$as_me: failed program was:" >&5
28922 -sed 's/^/| /' conftest.$ac_ext >&5
28925 -rm -f conftest.err conftest.$ac_objext \
28926 - conftest$ac_exeext conftest.$ac_ext
28927 -if test "$ac_cv_search_strerror" = no; then
28928 - for ac_lib in cposix; do
28929 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
28930 - cat >conftest.$ac_ext <<_ACEOF
28933 -cat confdefs.h >>conftest.$ac_ext
28934 -cat >>conftest.$ac_ext <<_ACEOF
28935 -/* end confdefs.h. */
28937 -/* Override any gcc2 internal prototype to avoid an error. */
28938 -#ifdef __cplusplus
28941 -/* We use char because int might match the return type of a gcc2
28942 - builtin and then its argument prototype would still apply. */
28952 -rm -f conftest.$ac_objext conftest$ac_exeext
28953 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28954 - (eval $ac_link) 2>conftest.er1
28956 - grep -v '^ *+' conftest.er1 >conftest.err
28957 - rm -f conftest.er1
28958 - cat conftest.err >&5
28959 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 - (exit $ac_status); } &&
28961 - { ac_try='test -z "$ac_c_werror_flag"
28962 - || test ! -s conftest.err'
28963 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28964 - (eval $ac_try) 2>&5
28966 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 - (exit $ac_status); }; } &&
28968 - { ac_try='test -s conftest$ac_exeext'
28969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 - (eval $ac_try) 2>&5
28972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 - (exit $ac_status); }; }; then
28974 - ac_cv_search_strerror="-l$ac_lib"
28978 - echo "$as_me: failed program was:" >&5
28979 -sed 's/^/| /' conftest.$ac_ext >&5
28982 -rm -f conftest.err conftest.$ac_objext \
28983 - conftest$ac_exeext conftest.$ac_ext
28985 + ac_cv_search_strerror=no
28987 +rm conftest.$ac_ext
28988 LIBS=$ac_func_search_save_LIBS
28990 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
28991 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
28992 -if test "$ac_cv_search_strerror" != no; then
28993 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
28994 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
28995 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
28996 +ac_res=$ac_cv_search_strerror
28997 +if test "$ac_res" != no; then
28998 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
29002 @@ -2499,8 +2979,8 @@ am__api_version="1.9"
29003 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
29004 # OS/2's system install, which has a completely different semantic
29005 # ./install, which can be erroneously created by make from ./install.sh.
29006 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
29007 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
29008 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
29009 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
29010 if test -z "$INSTALL"; then
29011 if test "${ac_cv_path_install+set}" = set; then
29012 echo $ECHO_N "(cached) $ECHO_C" >&6
29013 @@ -2522,7 +3002,7 @@ case $as_dir/ in
29015 for ac_prog in ginstall scoinst install; do
29016 for ac_exec_ext in '' $ac_executable_extensions; do
29017 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
29018 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
29019 if test $ac_prog = install &&
29020 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
29021 # AIX install. It has an incompatible calling convention.
29022 @@ -2541,21 +3021,22 @@ case $as_dir/ in
29030 if test "${ac_cv_path_install+set}" = set; then
29031 INSTALL=$ac_cv_path_install
29033 - # As a last resort, use the slow shell script. We don't cache a
29034 - # path for INSTALL within a source directory, because that will
29035 + # As a last resort, use the slow shell script. Don't cache a
29036 + # value for INSTALL within a source directory, because that will
29037 # break other packages using the cache if that directory is
29038 - # removed, or if the path is relative.
29039 + # removed, or if the value is a relative name.
29040 INSTALL=$ac_install_sh
29043 -echo "$as_me:$LINENO: result: $INSTALL" >&5
29044 -echo "${ECHO_T}$INSTALL" >&6
29045 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
29046 +echo "${ECHO_T}$INSTALL" >&6; }
29048 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
29049 # It thinks the first close brace ends the variable substitution.
29050 @@ -2565,8 +3046,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
29052 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
29054 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
29055 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
29056 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
29057 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
29060 echo timestamp > conftest.file
29061 @@ -2608,20 +3089,20 @@ echo "$as_me: error: newly created file
29062 Check your system clock" >&2;}
29063 { (exit 1); exit 1; }; }
29065 -echo "$as_me:$LINENO: result: yes" >&5
29066 -echo "${ECHO_T}yes" >&6
29067 +{ echo "$as_me:$LINENO: result: yes" >&5
29068 +echo "${ECHO_T}yes" >&6; }
29069 test "$program_prefix" != NONE &&
29070 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
29071 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
29072 # Use a double $ so make ignores it.
29073 test "$program_suffix" != NONE &&
29074 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
29075 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
29076 # Double any \ or $. echo might interpret backslashes.
29077 # By default was `s,x,x', remove it if useless.
29078 cat <<\_ACEOF >conftest.sed
29079 s/[\\$]/&&/g;s/;s,x,x,$//
29081 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
29083 +rm -f conftest.sed
29085 # expand $ac_aux_dir to an absolute path
29086 am_aux_dir=`cd $ac_aux_dir && pwd`
29087 @@ -2673,8 +3154,8 @@ for ac_prog in gawk mawk nawk awk
29089 # Extract the first word of "$ac_prog", so it can be a program name with args.
29090 set dummy $ac_prog; ac_word=$2
29091 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29092 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29093 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29094 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29095 if test "${ac_cv_prog_AWK+set}" = set; then
29096 echo $ECHO_N "(cached) $ECHO_C" >&6
29098 @@ -2687,54 +3168,57 @@ do
29100 test -z "$as_dir" && as_dir=.
29101 for ac_exec_ext in '' $ac_executable_extensions; do
29102 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29103 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29104 ac_cv_prog_AWK="$ac_prog"
29105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29114 AWK=$ac_cv_prog_AWK
29115 if test -n "$AWK"; then
29116 - echo "$as_me:$LINENO: result: $AWK" >&5
29117 -echo "${ECHO_T}$AWK" >&6
29118 + { echo "$as_me:$LINENO: result: $AWK" >&5
29119 +echo "${ECHO_T}$AWK" >&6; }
29121 - echo "$as_me:$LINENO: result: no" >&5
29122 -echo "${ECHO_T}no" >&6
29123 + { echo "$as_me:$LINENO: result: no" >&5
29124 +echo "${ECHO_T}no" >&6; }
29128 test -n "$AWK" && break
29131 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29132 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
29133 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
29134 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
29135 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
29136 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
29137 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
29138 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
29139 echo $ECHO_N "(cached) $ECHO_C" >&6
29141 cat >conftest.make <<\_ACEOF
29144 - @echo 'ac_maketemp="$(MAKE)"'
29145 + @echo '@@@%%%=$(MAKE)=@@@%%%'
29147 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29148 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
29149 -if test -n "$ac_maketemp"; then
29150 - eval ac_cv_prog_make_${ac_make}_set=yes
29152 - eval ac_cv_prog_make_${ac_make}_set=no
29154 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
29155 + *@@@%%%=?*=@@@%%%*)
29156 + eval ac_cv_prog_make_${ac_make}_set=yes;;
29158 + eval ac_cv_prog_make_${ac_make}_set=no;;
29160 rm -f conftest.make
29162 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
29163 - echo "$as_me:$LINENO: result: yes" >&5
29164 -echo "${ECHO_T}yes" >&6
29165 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
29166 + { echo "$as_me:$LINENO: result: yes" >&5
29167 +echo "${ECHO_T}yes" >&6; }
29170 - echo "$as_me:$LINENO: result: no" >&5
29171 -echo "${ECHO_T}no" >&6
29172 + { echo "$as_me:$LINENO: result: no" >&5
29173 +echo "${ECHO_T}no" >&6; }
29174 SET_MAKE="MAKE=${MAKE-make}"
29177 @@ -2749,7 +3233,7 @@ rmdir .tst 2>/dev/null
29179 DEPDIR="${am__leading_dot}deps"
29181 - ac_config_commands="$ac_config_commands depfiles"
29182 +ac_config_commands="$ac_config_commands depfiles"
29185 am_make=${MAKE-make}
29186 @@ -2759,8 +3243,8 @@ am__doit:
29189 # If we don't find an include directive, just comment out the code.
29190 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
29191 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
29192 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
29193 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
29197 @@ -2787,15 +3271,15 @@ if test "$am__include" = "#"; then
29201 -echo "$as_me:$LINENO: result: $_am_result" >&5
29202 -echo "${ECHO_T}$_am_result" >&6
29203 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
29204 +echo "${ECHO_T}$_am_result" >&6; }
29205 rm -f confinc confmf
29207 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
29208 +# Check whether --enable-dependency-tracking was given.
29209 if test "${enable_dependency_tracking+set}" = set; then
29210 - enableval="$enable_dependency_tracking"
29211 + enableval=$enable_dependency_tracking;
29215 if test "x$enable_dependency_tracking" != xno; then
29216 am_depcomp="$ac_aux_dir/depcomp"
29218 @@ -2870,8 +3354,8 @@ if test "$cross_compiling" != no; then
29219 if test -n "$ac_tool_prefix"; then
29220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
29221 set dummy ${ac_tool_prefix}strip; ac_word=$2
29222 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29223 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29224 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29225 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29226 if test "${ac_cv_prog_STRIP+set}" = set; then
29227 echo $ECHO_N "(cached) $ECHO_C" >&6
29229 @@ -2884,32 +3368,34 @@ do
29231 test -z "$as_dir" && as_dir=.
29232 for ac_exec_ext in '' $ac_executable_extensions; do
29233 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29234 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29235 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
29236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29245 STRIP=$ac_cv_prog_STRIP
29246 if test -n "$STRIP"; then
29247 - echo "$as_me:$LINENO: result: $STRIP" >&5
29248 -echo "${ECHO_T}$STRIP" >&6
29249 + { echo "$as_me:$LINENO: result: $STRIP" >&5
29250 +echo "${ECHO_T}$STRIP" >&6; }
29252 - echo "$as_me:$LINENO: result: no" >&5
29253 -echo "${ECHO_T}no" >&6
29254 + { echo "$as_me:$LINENO: result: no" >&5
29255 +echo "${ECHO_T}no" >&6; }
29260 if test -z "$ac_cv_prog_STRIP"; then
29262 # Extract the first word of "strip", so it can be a program name with args.
29263 set dummy strip; ac_word=$2
29264 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29265 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29266 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29267 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29268 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
29269 echo $ECHO_N "(cached) $ECHO_C" >&6
29271 @@ -2922,27 +3408,41 @@ do
29273 test -z "$as_dir" && as_dir=.
29274 for ac_exec_ext in '' $ac_executable_extensions; do
29275 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29276 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29277 ac_cv_prog_ac_ct_STRIP="strip"
29278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29285 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
29288 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
29289 if test -n "$ac_ct_STRIP"; then
29290 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29291 -echo "${ECHO_T}$ac_ct_STRIP" >&6
29292 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29293 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
29295 - echo "$as_me:$LINENO: result: no" >&5
29296 -echo "${ECHO_T}no" >&6
29297 + { echo "$as_me:$LINENO: result: no" >&5
29298 +echo "${ECHO_T}no" >&6; }
29301 - STRIP=$ac_ct_STRIP
29302 + if test "x$ac_ct_STRIP" = x; then
29305 + case $cross_compiling:$ac_tool_warned in
29307 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29308 +whose name does not start with the host triplet. If you think this
29309 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29310 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29311 +whose name does not start with the host triplet. If you think this
29312 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29313 +ac_tool_warned=yes ;;
29315 + STRIP=$ac_ct_STRIP
29318 STRIP="$ac_cv_prog_STRIP"
29320 @@ -2963,8 +3463,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
29322 depcc="$CC" am_compiler_list=
29324 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
29325 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
29326 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
29327 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
29328 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
29329 echo $ECHO_N "(cached) $ECHO_C" >&6
29331 @@ -3053,8 +3553,8 @@ else
29335 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
29336 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
29337 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
29338 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
29339 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
29342 @@ -3072,10 +3572,9 @@ fi
29346 -# Check whether --enable-shared or --disable-shared was given.
29347 +# Check whether --enable-shared was given.
29348 if test "${enable_shared+set}" = set; then
29349 - enableval="$enable_shared"
29350 - p=${PACKAGE-default}
29351 + enableval=$enable_shared; p=${PACKAGE-default}
29353 yes) enable_shared=yes ;;
29354 no) enable_shared=no ;;
29355 @@ -3093,11 +3592,11 @@ no) enable_shared=no ;;
29360 -# Check whether --enable-static or --disable-static was given.
29363 +# Check whether --enable-static was given.
29364 if test "${enable_static+set}" = set; then
29365 - enableval="$enable_static"
29366 - p=${PACKAGE-default}
29367 + enableval=$enable_static; p=${PACKAGE-default}
29369 yes) enable_static=yes ;;
29370 no) enable_static=no ;;
29371 @@ -3115,11 +3614,11 @@ no) enable_static=no ;;
29376 -# Check whether --enable-fast-install or --disable-fast-install was given.
29379 +# Check whether --enable-fast-install was given.
29380 if test "${enable_fast_install+set}" = set; then
29381 - enableval="$enable_fast_install"
29382 - p=${PACKAGE-default}
29383 + enableval=$enable_fast_install; p=${PACKAGE-default}
29385 yes) enable_fast_install=yes ;;
29386 no) enable_fast_install=no ;;
29387 @@ -3137,20 +3636,21 @@ no) enable_fast_install=no ;;
29390 enable_fast_install=yes
29395 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
29396 +# Check whether --with-gnu-ld was given.
29397 if test "${with_gnu_ld+set}" = set; then
29398 - withval="$with_gnu_ld"
29399 - test "$withval" = no || with_gnu_ld=yes
29400 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
29407 if test "$GCC" = yes; then
29408 # Check if gcc -print-prog-name=ld gives a path.
29409 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
29410 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
29411 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
29412 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
29415 # gcc leaves a trailing carriage return which upsets mingw
29416 @@ -3179,11 +3679,11 @@ echo $ECHO_N "checking for ld used by GC
29419 elif test "$with_gnu_ld" = yes; then
29420 - echo "$as_me:$LINENO: checking for GNU ld" >&5
29421 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
29422 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
29423 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
29425 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
29426 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
29427 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
29428 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
29430 if test "${lt_cv_path_LD+set}" = set; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29432 @@ -3212,17 +3712,17 @@ fi
29434 LD="$lt_cv_path_LD"
29435 if test -n "$LD"; then
29436 - echo "$as_me:$LINENO: result: $LD" >&5
29437 -echo "${ECHO_T}$LD" >&6
29438 + { echo "$as_me:$LINENO: result: $LD" >&5
29439 +echo "${ECHO_T}$LD" >&6; }
29441 - echo "$as_me:$LINENO: result: no" >&5
29442 -echo "${ECHO_T}no" >&6
29443 + { echo "$as_me:$LINENO: result: no" >&5
29444 +echo "${ECHO_T}no" >&6; }
29446 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
29447 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
29448 { (exit 1); exit 1; }; }
29449 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
29450 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
29451 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
29452 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
29453 if test "${lt_cv_prog_gnu_ld+set}" = set; then
29454 echo $ECHO_N "(cached) $ECHO_C" >&6
29456 @@ -3233,25 +3733,25 @@ else
29457 lt_cv_prog_gnu_ld=no
29460 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
29461 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
29462 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
29463 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
29464 with_gnu_ld=$lt_cv_prog_gnu_ld
29467 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
29468 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
29469 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
29470 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
29471 if test "${lt_cv_ld_reload_flag+set}" = set; then
29472 echo $ECHO_N "(cached) $ECHO_C" >&6
29474 lt_cv_ld_reload_flag='-r'
29476 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
29477 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
29478 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
29479 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
29480 reload_flag=$lt_cv_ld_reload_flag
29481 test -n "$reload_flag" && reload_flag=" $reload_flag"
29483 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
29484 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
29485 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
29486 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
29487 if test "${lt_cv_path_NM+set}" = set; then
29488 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 @@ -3286,22 +3786,22 @@ fi
29493 NM="$lt_cv_path_NM"
29494 -echo "$as_me:$LINENO: result: $NM" >&5
29495 -echo "${ECHO_T}$NM" >&6
29496 +{ echo "$as_me:$LINENO: result: $NM" >&5
29497 +echo "${ECHO_T}$NM" >&6; }
29499 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
29500 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
29501 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
29502 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
29504 if test "$LN_S" = "ln -s"; then
29505 - echo "$as_me:$LINENO: result: yes" >&5
29506 -echo "${ECHO_T}yes" >&6
29507 + { echo "$as_me:$LINENO: result: yes" >&5
29508 +echo "${ECHO_T}yes" >&6; }
29510 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
29511 -echo "${ECHO_T}no, using $LN_S" >&6
29512 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
29513 +echo "${ECHO_T}no, using $LN_S" >&6; }
29516 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
29517 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
29518 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
29519 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
29520 if test "${lt_cv_deplibs_check_method+set}" = set; then
29521 echo $ECHO_N "(cached) $ECHO_C" >&6
29523 @@ -3463,8 +3963,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
29527 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
29528 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
29529 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
29530 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
29531 file_magic_cmd=$lt_cv_file_magic_cmd
29532 deplibs_check_method=$lt_cv_deplibs_check_method
29534 @@ -3474,8 +3974,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
29535 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
29537 # find the maximum length of command line arguments
29538 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
29539 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
29540 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
29541 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
29542 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 @@ -3526,11 +4026,11 @@ else
29548 if test -n "$lt_cv_sys_max_cmd_len" ; then
29549 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
29550 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
29551 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
29552 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
29554 - echo "$as_me:$LINENO: result: none" >&5
29555 -echo "${ECHO_T}none" >&6
29556 + { echo "$as_me:$LINENO: result: none" >&5
29557 +echo "${ECHO_T}none" >&6; }
29561 @@ -3538,8 +4038,8 @@ fi
29562 case $deplibs_check_method in
29564 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
29565 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
29566 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
29567 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
29568 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
29569 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
29570 echo $ECHO_N "(cached) $ECHO_C" >&6
29572 @@ -3593,17 +4093,17 @@ fi
29574 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
29575 if test -n "$MAGIC_CMD"; then
29576 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29577 -echo "${ECHO_T}$MAGIC_CMD" >&6
29578 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29579 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
29581 - echo "$as_me:$LINENO: result: no" >&5
29582 -echo "${ECHO_T}no" >&6
29583 + { echo "$as_me:$LINENO: result: no" >&5
29584 +echo "${ECHO_T}no" >&6; }
29587 if test -z "$lt_cv_path_MAGIC_CMD"; then
29588 if test -n "$ac_tool_prefix"; then
29589 - echo "$as_me:$LINENO: checking for file" >&5
29590 -echo $ECHO_N "checking for file... $ECHO_C" >&6
29591 + { echo "$as_me:$LINENO: checking for file" >&5
29592 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
29593 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
29594 echo $ECHO_N "(cached) $ECHO_C" >&6
29596 @@ -3657,11 +4157,11 @@ fi
29598 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
29599 if test -n "$MAGIC_CMD"; then
29600 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29601 -echo "${ECHO_T}$MAGIC_CMD" >&6
29602 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
29603 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
29605 - echo "$as_me:$LINENO: result: no" >&5
29606 -echo "${ECHO_T}no" >&6
29607 + { echo "$as_me:$LINENO: result: no" >&5
29608 +echo "${ECHO_T}no" >&6; }
29612 @@ -3676,8 +4176,8 @@ esac
29613 if test -n "$ac_tool_prefix"; then
29614 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
29615 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
29616 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29617 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29618 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29619 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29620 if test "${ac_cv_prog_RANLIB+set}" = set; then
29621 echo $ECHO_N "(cached) $ECHO_C" >&6
29623 @@ -3690,32 +4190,34 @@ do
29625 test -z "$as_dir" && as_dir=.
29626 for ac_exec_ext in '' $ac_executable_extensions; do
29627 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29628 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
29630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29639 RANLIB=$ac_cv_prog_RANLIB
29640 if test -n "$RANLIB"; then
29641 - echo "$as_me:$LINENO: result: $RANLIB" >&5
29642 -echo "${ECHO_T}$RANLIB" >&6
29643 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
29644 +echo "${ECHO_T}$RANLIB" >&6; }
29646 - echo "$as_me:$LINENO: result: no" >&5
29647 -echo "${ECHO_T}no" >&6
29648 + { echo "$as_me:$LINENO: result: no" >&5
29649 +echo "${ECHO_T}no" >&6; }
29654 if test -z "$ac_cv_prog_RANLIB"; then
29655 ac_ct_RANLIB=$RANLIB
29656 # Extract the first word of "ranlib", so it can be a program name with args.
29657 set dummy ranlib; ac_word=$2
29658 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29659 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29660 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29661 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29662 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
29663 echo $ECHO_N "(cached) $ECHO_C" >&6
29665 @@ -3728,27 +4230,41 @@ do
29667 test -z "$as_dir" && as_dir=.
29668 for ac_exec_ext in '' $ac_executable_extensions; do
29669 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29670 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29671 ac_cv_prog_ac_ct_RANLIB="ranlib"
29672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29679 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
29682 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
29683 if test -n "$ac_ct_RANLIB"; then
29684 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
29685 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
29686 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
29687 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
29689 - echo "$as_me:$LINENO: result: no" >&5
29690 -echo "${ECHO_T}no" >&6
29691 + { echo "$as_me:$LINENO: result: no" >&5
29692 +echo "${ECHO_T}no" >&6; }
29695 - RANLIB=$ac_ct_RANLIB
29696 + if test "x$ac_ct_RANLIB" = x; then
29699 + case $cross_compiling:$ac_tool_warned in
29701 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29702 +whose name does not start with the host triplet. If you think this
29703 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29704 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29705 +whose name does not start with the host triplet. If you think this
29706 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29707 +ac_tool_warned=yes ;;
29709 + RANLIB=$ac_ct_RANLIB
29712 RANLIB="$ac_cv_prog_RANLIB"
29714 @@ -3756,8 +4272,8 @@ fi
29715 if test -n "$ac_tool_prefix"; then
29716 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
29717 set dummy ${ac_tool_prefix}strip; ac_word=$2
29718 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29719 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29720 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29721 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29722 if test "${ac_cv_prog_STRIP+set}" = set; then
29723 echo $ECHO_N "(cached) $ECHO_C" >&6
29725 @@ -3770,32 +4286,34 @@ do
29727 test -z "$as_dir" && as_dir=.
29728 for ac_exec_ext in '' $ac_executable_extensions; do
29729 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29730 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29731 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
29732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29741 STRIP=$ac_cv_prog_STRIP
29742 if test -n "$STRIP"; then
29743 - echo "$as_me:$LINENO: result: $STRIP" >&5
29744 -echo "${ECHO_T}$STRIP" >&6
29745 + { echo "$as_me:$LINENO: result: $STRIP" >&5
29746 +echo "${ECHO_T}$STRIP" >&6; }
29748 - echo "$as_me:$LINENO: result: no" >&5
29749 -echo "${ECHO_T}no" >&6
29750 + { echo "$as_me:$LINENO: result: no" >&5
29751 +echo "${ECHO_T}no" >&6; }
29756 if test -z "$ac_cv_prog_STRIP"; then
29758 # Extract the first word of "strip", so it can be a program name with args.
29759 set dummy strip; ac_word=$2
29760 -echo "$as_me:$LINENO: checking for $ac_word" >&5
29761 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29762 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
29763 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29764 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
29765 echo $ECHO_N "(cached) $ECHO_C" >&6
29767 @@ -3808,27 +4326,41 @@ do
29769 test -z "$as_dir" && as_dir=.
29770 for ac_exec_ext in '' $ac_executable_extensions; do
29771 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29772 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29773 ac_cv_prog_ac_ct_STRIP="strip"
29774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29781 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
29784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
29785 if test -n "$ac_ct_STRIP"; then
29786 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29787 -echo "${ECHO_T}$ac_ct_STRIP" >&6
29788 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
29789 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
29791 - echo "$as_me:$LINENO: result: no" >&5
29792 -echo "${ECHO_T}no" >&6
29793 + { echo "$as_me:$LINENO: result: no" >&5
29794 +echo "${ECHO_T}no" >&6; }
29797 - STRIP=$ac_ct_STRIP
29798 + if test "x$ac_ct_STRIP" = x; then
29801 + case $cross_compiling:$ac_tool_warned in
29803 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29804 +whose name does not start with the host triplet. If you think this
29805 +configuration is useful to you, please write to autoconf@gnu.org." >&5
29806 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29807 +whose name does not start with the host triplet. If you think this
29808 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29809 +ac_tool_warned=yes ;;
29811 + STRIP=$ac_ct_STRIP
29814 STRIP="$ac_cv_prog_STRIP"
29816 @@ -3843,22 +4375,22 @@ test "$GCC" = yes && libtool_flags="$lib
29817 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
29820 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
29821 +# Check whether --enable-libtool-lock was given.
29822 if test "${enable_libtool_lock+set}" = set; then
29823 - enableval="$enable_libtool_lock"
29824 + enableval=$enable_libtool_lock;
29828 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
29829 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
29832 -# Check whether --with-pic or --without-pic was given.
29833 +# Check whether --with-pic was given.
29834 if test "${with_pic+set}" = set; then
29835 - withval="$with_pic"
29836 - pic_mode="$withval"
29837 + withval=$with_pic; pic_mode="$withval"
29843 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
29844 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
29846 @@ -3867,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags
29849 # Find out which ABI we are using.
29850 - echo '#line 3870 "configure"' > conftest.$ac_ext
29851 + echo '#line 4402 "configure"' > conftest.$ac_ext
29852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29853 (eval $ac_compile) 2>&5
29855 @@ -3972,13 +4504,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
29856 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
29857 SAVE_CFLAGS="$CFLAGS"
29858 CFLAGS="$CFLAGS -belf"
29859 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
29860 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
29861 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
29862 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
29863 if test "${lt_cv_cc_needs_belf+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29869 ac_cpp='$CPP $CPPFLAGS'
29870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 @@ -4001,35 +4532,32 @@ main ()
29874 rm -f conftest.$ac_objext conftest$ac_exeext
29875 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29876 - (eval $ac_link) 2>conftest.er1
29877 +if { (ac_try="$ac_link"
29878 +case "(($ac_try" in
29879 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29880 + *) ac_try_echo=$ac_try;;
29882 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29883 + (eval "$ac_link") 2>conftest.er1
29885 grep -v '^ *+' conftest.er1 >conftest.err
29887 cat conftest.err >&5
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 - (exit $ac_status); } &&
29890 - { ac_try='test -z "$ac_c_werror_flag"
29891 - || test ! -s conftest.err'
29892 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 - (eval $ac_try) 2>&5
29895 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 - (exit $ac_status); }; } &&
29897 - { ac_try='test -s conftest$ac_exeext'
29898 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 - (eval $ac_try) 2>&5
29901 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 - (exit $ac_status); }; }; then
29903 + (exit $ac_status); } && {
29904 + test -z "$ac_c_werror_flag" ||
29905 + test ! -s conftest.err
29906 + } && test -s conftest$ac_exeext &&
29907 + $as_test_x conftest$ac_exeext; then
29908 lt_cv_cc_needs_belf=yes
29910 echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29913 -lt_cv_cc_needs_belf=no
29914 + lt_cv_cc_needs_belf=no
29916 -rm -f conftest.err conftest.$ac_objext \
29918 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29919 conftest$ac_exeext conftest.$ac_ext
29921 ac_cpp='$CPP $CPPFLAGS'
29922 @@ -4038,8 +4566,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
29923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29926 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
29927 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
29928 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
29929 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
29930 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
29931 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
29932 CFLAGS="$SAVE_CFLAGS"
29933 @@ -4069,39 +4597,58 @@ _ACEOF
29935 # The following way of writing the cache mishandles newlines in values,
29936 # but we know of no workaround that is simple, portable, and efficient.
29937 -# So, don't put newlines in cache variables' values.
29938 +# So, we kill variables containing newlines.
29939 # Ultrix sh set writes to stderr and can't be redirected directly,
29940 # and sets the high bit in the cache file unless we assign to the vars.
29943 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
29944 + eval ac_val=\$$ac_var
29945 + case $ac_val in #(
29947 + case $ac_var in #(
29948 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29949 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29951 + case $ac_var in #(
29952 + _ | IFS | as_nl) ;; #(
29953 + *) $as_unset $ac_var ;;
29959 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
29961 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
29962 + *${as_nl}ac_space=\ *)
29963 # `set' does not quote correctly, so add quotes (double-quote
29964 # substitution turns \\\\ into \\, and sed turns \\ into \).
29967 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29971 # `set' quotes correctly as required by POSIX, so do not add quotes.
29973 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29974 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29982 + /^ac_cv_env_/b end
29986 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29988 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29989 - : end' >>confcache
29990 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
29991 - if test -w $cache_file; then
29992 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29993 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29994 + :end' >>confcache
29995 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29996 + if test -w "$cache_file"; then
29997 + test "x$cache_file" != "x/dev/null" &&
29998 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
29999 +echo "$as_me: updating cache $cache_file" >&6;}
30000 cat confcache >$cache_file
30002 - echo "not updating unwritable cache $cache_file"
30003 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
30004 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30008 @@ -4127,8 +4674,8 @@ if test -r "$cache_file"; then
30009 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
30010 echo "$as_me: loading cache $cache_file" >&6;}
30011 case $cache_file in
30012 - [\\/]* | ?:[\\/]* ) . $cache_file;;
30013 - *) . ./$cache_file;;
30014 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
30015 + *) . "./$cache_file";;
30019 @@ -4154,10 +4701,9 @@ exec 5>>./config.log
30023 -# Check whether --enable-targets or --disable-targets was given.
30024 +# Check whether --enable-targets was given.
30025 if test "${enable_targets+set}" = set; then
30026 - enableval="$enable_targets"
30027 - case "${enableval}" in
30028 + enableval=$enable_targets; case "${enableval}" in
30029 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
30030 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
30031 { (exit 1); exit 1; }; }
30032 @@ -4165,31 +4711,32 @@ echo "$as_me: error: enable-targets opti
30033 no) enable_targets= ;;
30034 *) enable_targets=$enableval ;;
30036 -fi; # Check whether --enable-commonbfdlib or --disable-commonbfdlib was given.
30038 +# Check whether --enable-commonbfdlib was given.
30039 if test "${enable_commonbfdlib+set}" = set; then
30040 - enableval="$enable_commonbfdlib"
30041 - case "${enableval}" in
30042 + enableval=$enable_commonbfdlib; case "${enableval}" in
30043 yes) commonbfdlib=true ;;
30044 no) commonbfdlib=false ;;
30045 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for BFD commonbfdlib option" >&5
30046 echo "$as_me: error: bad value ${enableval} for BFD commonbfdlib option" >&2;}
30047 { (exit 1); exit 1; }; } ;;
30053 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
30055 -# Check whether --enable-werror or --disable-werror was given.
30056 +# Check whether --enable-werror was given.
30057 if test "${enable_werror+set}" = set; then
30058 - enableval="$enable_werror"
30059 - case "${enableval}" in
30060 + enableval=$enable_werror; case "${enableval}" in
30061 yes | y) ERROR_ON_WARNING="yes" ;;
30062 no | n) ERROR_ON_WARNING="no" ;;
30063 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
30064 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
30065 { (exit 1); exit 1; }; } ;;
30071 # Enable -Werror by default when using gcc
30072 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
30073 @@ -4206,10 +4753,9 @@ if test "${GCC}" = yes ; then
30074 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
30077 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
30078 +# Check whether --enable-build-warnings was given.
30079 if test "${enable_build_warnings+set}" = set; then
30080 - enableval="$enable_build_warnings"
30081 - case "${enableval}" in
30082 + enableval=$enable_build_warnings; case "${enableval}" in
30083 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
30084 no) if test "${GCC}" = yes ; then
30086 @@ -4220,7 +4766,8 @@ if test "${enable_build_warnings+set}" =
30087 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
30088 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
30094 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
30095 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
30096 @@ -4230,7 +4777,7 @@ fi
30100 - ac_config_headers="$ac_config_headers config.h:config.in"
30101 +ac_config_headers="$ac_config_headers config.h:config.in"
30104 if test -z "$target" ; then
30105 @@ -4252,8 +4799,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
30106 if test -n "$ac_tool_prefix"; then
30107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
30108 set dummy ${ac_tool_prefix}gcc; ac_word=$2
30109 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30110 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30111 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30112 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30113 if test "${ac_cv_prog_CC+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30116 @@ -4266,32 +4813,34 @@ do
30118 test -z "$as_dir" && as_dir=.
30119 for ac_exec_ext in '' $ac_executable_extensions; do
30120 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30121 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30122 ac_cv_prog_CC="${ac_tool_prefix}gcc"
30123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30133 if test -n "$CC"; then
30134 - echo "$as_me:$LINENO: result: $CC" >&5
30135 -echo "${ECHO_T}$CC" >&6
30136 + { echo "$as_me:$LINENO: result: $CC" >&5
30137 +echo "${ECHO_T}$CC" >&6; }
30139 - echo "$as_me:$LINENO: result: no" >&5
30140 -echo "${ECHO_T}no" >&6
30141 + { echo "$as_me:$LINENO: result: no" >&5
30142 +echo "${ECHO_T}no" >&6; }
30147 if test -z "$ac_cv_prog_CC"; then
30149 # Extract the first word of "gcc", so it can be a program name with args.
30150 set dummy gcc; ac_word=$2
30151 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30152 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30153 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30154 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
30156 echo $ECHO_N "(cached) $ECHO_C" >&6
30158 @@ -4304,36 +4853,51 @@ do
30160 test -z "$as_dir" && as_dir=.
30161 for ac_exec_ext in '' $ac_executable_extensions; do
30162 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30163 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30164 ac_cv_prog_ac_ct_CC="gcc"
30165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30174 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30175 if test -n "$ac_ct_CC"; then
30176 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30177 -echo "${ECHO_T}$ac_ct_CC" >&6
30178 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30179 +echo "${ECHO_T}$ac_ct_CC" >&6; }
30181 - echo "$as_me:$LINENO: result: no" >&5
30182 -echo "${ECHO_T}no" >&6
30183 + { echo "$as_me:$LINENO: result: no" >&5
30184 +echo "${ECHO_T}no" >&6; }
30188 + if test "x$ac_ct_CC" = x; then
30191 + case $cross_compiling:$ac_tool_warned in
30193 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30194 +whose name does not start with the host triplet. If you think this
30195 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30196 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30197 +whose name does not start with the host triplet. If you think this
30198 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30199 +ac_tool_warned=yes ;;
30204 CC="$ac_cv_prog_CC"
30207 if test -z "$CC"; then
30208 - if test -n "$ac_tool_prefix"; then
30209 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30210 + if test -n "$ac_tool_prefix"; then
30211 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
30212 set dummy ${ac_tool_prefix}cc; ac_word=$2
30213 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30214 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30215 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30216 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30217 if test "${ac_cv_prog_CC+set}" = set; then
30218 echo $ECHO_N "(cached) $ECHO_C" >&6
30220 @@ -4346,74 +4910,34 @@ do
30222 test -z "$as_dir" && as_dir=.
30223 for ac_exec_ext in '' $ac_executable_extensions; do
30224 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30225 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30226 ac_cv_prog_CC="${ac_tool_prefix}cc"
30227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30237 if test -n "$CC"; then
30238 - echo "$as_me:$LINENO: result: $CC" >&5
30239 -echo "${ECHO_T}$CC" >&6
30241 - echo "$as_me:$LINENO: result: no" >&5
30242 -echo "${ECHO_T}no" >&6
30246 -if test -z "$ac_cv_prog_CC"; then
30248 - # Extract the first word of "cc", so it can be a program name with args.
30249 -set dummy cc; ac_word=$2
30250 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30251 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30252 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
30253 - echo $ECHO_N "(cached) $ECHO_C" >&6
30255 - if test -n "$ac_ct_CC"; then
30256 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
30258 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30259 -for as_dir in $PATH
30262 - test -z "$as_dir" && as_dir=.
30263 - for ac_exec_ext in '' $ac_executable_extensions; do
30264 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30265 - ac_cv_prog_ac_ct_CC="cc"
30266 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30274 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
30275 -if test -n "$ac_ct_CC"; then
30276 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30277 -echo "${ECHO_T}$ac_ct_CC" >&6
30278 + { echo "$as_me:$LINENO: result: $CC" >&5
30279 +echo "${ECHO_T}$CC" >&6; }
30281 - echo "$as_me:$LINENO: result: no" >&5
30282 -echo "${ECHO_T}no" >&6
30283 + { echo "$as_me:$LINENO: result: no" >&5
30284 +echo "${ECHO_T}no" >&6; }
30289 - CC="$ac_cv_prog_CC"
30294 if test -z "$CC"; then
30295 # Extract the first word of "cc", so it can be a program name with args.
30296 set dummy cc; ac_word=$2
30297 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30298 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30299 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30300 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30301 if test "${ac_cv_prog_CC+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 @@ -4427,7 +4951,7 @@ do
30306 test -z "$as_dir" && as_dir=.
30307 for ac_exec_ext in '' $ac_executable_extensions; do
30308 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30309 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30310 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
30311 ac_prog_rejected=yes
30313 @@ -4438,6 +4962,7 @@ do
30319 if test $ac_prog_rejected = yes; then
30320 # We found a bogon in the path, so make sure we never use it.
30321 @@ -4455,22 +4980,23 @@ fi
30324 if test -n "$CC"; then
30325 - echo "$as_me:$LINENO: result: $CC" >&5
30326 -echo "${ECHO_T}$CC" >&6
30327 + { echo "$as_me:$LINENO: result: $CC" >&5
30328 +echo "${ECHO_T}$CC" >&6; }
30330 - echo "$as_me:$LINENO: result: no" >&5
30331 -echo "${ECHO_T}no" >&6
30332 + { echo "$as_me:$LINENO: result: no" >&5
30333 +echo "${ECHO_T}no" >&6; }
30338 if test -z "$CC"; then
30339 if test -n "$ac_tool_prefix"; then
30340 - for ac_prog in cl
30341 + for ac_prog in cl.exe
30343 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
30344 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
30345 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30346 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30347 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30348 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30349 if test "${ac_cv_prog_CC+set}" = set; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30352 @@ -4483,36 +5009,38 @@ do
30354 test -z "$as_dir" && as_dir=.
30355 for ac_exec_ext in '' $ac_executable_extensions; do
30356 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30357 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30358 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
30359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30369 if test -n "$CC"; then
30370 - echo "$as_me:$LINENO: result: $CC" >&5
30371 -echo "${ECHO_T}$CC" >&6
30372 + { echo "$as_me:$LINENO: result: $CC" >&5
30373 +echo "${ECHO_T}$CC" >&6; }
30375 - echo "$as_me:$LINENO: result: no" >&5
30376 -echo "${ECHO_T}no" >&6
30377 + { echo "$as_me:$LINENO: result: no" >&5
30378 +echo "${ECHO_T}no" >&6; }
30382 test -n "$CC" && break
30385 if test -z "$CC"; then
30387 - for ac_prog in cl
30388 + for ac_prog in cl.exe
30390 # Extract the first word of "$ac_prog", so it can be a program name with args.
30391 set dummy $ac_prog; ac_word=$2
30392 -echo "$as_me:$LINENO: checking for $ac_word" >&5
30393 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30394 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
30395 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30396 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
30397 echo $ECHO_N "(cached) $ECHO_C" >&6
30399 @@ -4525,29 +5053,45 @@ do
30401 test -z "$as_dir" && as_dir=.
30402 for ac_exec_ext in '' $ac_executable_extensions; do
30403 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30404 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30405 ac_cv_prog_ac_ct_CC="$ac_prog"
30406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30415 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30416 if test -n "$ac_ct_CC"; then
30417 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30418 -echo "${ECHO_T}$ac_ct_CC" >&6
30419 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
30420 +echo "${ECHO_T}$ac_ct_CC" >&6; }
30422 - echo "$as_me:$LINENO: result: no" >&5
30423 -echo "${ECHO_T}no" >&6
30424 + { echo "$as_me:$LINENO: result: no" >&5
30425 +echo "${ECHO_T}no" >&6; }
30429 test -n "$ac_ct_CC" && break
30433 + if test "x$ac_ct_CC" = x; then
30436 + case $cross_compiling:$ac_tool_warned in
30438 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30439 +whose name does not start with the host triplet. If you think this
30440 +configuration is useful to you, please write to autoconf@gnu.org." >&5
30441 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30442 +whose name does not start with the host triplet. If you think this
30443 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30444 +ac_tool_warned=yes ;;
30451 @@ -4560,27 +5104,41 @@ See \`config.log' for more details." >&2
30452 { (exit 1); exit 1; }; }
30454 # Provide some information about the compiler.
30455 -echo "$as_me:$LINENO:" \
30456 - "checking for C compiler version" >&5
30457 +echo "$as_me:$LINENO: checking for C compiler version" >&5
30458 ac_compiler=`set X $ac_compile; echo $2`
30459 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
30460 - (eval $ac_compiler --version </dev/null >&5) 2>&5
30461 +{ (ac_try="$ac_compiler --version >&5"
30462 +case "(($ac_try" in
30463 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30464 + *) ac_try_echo=$ac_try;;
30466 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30467 + (eval "$ac_compiler --version >&5") 2>&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }
30471 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
30472 - (eval $ac_compiler -v </dev/null >&5) 2>&5
30473 +{ (ac_try="$ac_compiler -v >&5"
30474 +case "(($ac_try" in
30475 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30476 + *) ac_try_echo=$ac_try;;
30478 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30479 + (eval "$ac_compiler -v >&5") 2>&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); }
30483 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
30484 - (eval $ac_compiler -V </dev/null >&5) 2>&5
30485 +{ (ac_try="$ac_compiler -V >&5"
30486 +case "(($ac_try" in
30487 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30488 + *) ac_try_echo=$ac_try;;
30490 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30491 + (eval "$ac_compiler -V >&5") 2>&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }
30496 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
30497 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
30498 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
30499 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
30500 if test "${ac_cv_c_compiler_gnu+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30503 @@ -4603,50 +5161,49 @@ main ()
30506 rm -f conftest.$ac_objext
30507 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30508 - (eval $ac_compile) 2>conftest.er1
30509 +if { (ac_try="$ac_compile"
30510 +case "(($ac_try" in
30511 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30512 + *) ac_try_echo=$ac_try;;
30514 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30515 + (eval "$ac_compile") 2>conftest.er1
30517 grep -v '^ *+' conftest.er1 >conftest.err
30519 cat conftest.err >&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 - (exit $ac_status); } &&
30522 - { ac_try='test -z "$ac_c_werror_flag"
30523 - || test ! -s conftest.err'
30524 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30525 - (eval $ac_try) 2>&5
30527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30528 - (exit $ac_status); }; } &&
30529 - { ac_try='test -s conftest.$ac_objext'
30530 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30531 - (eval $ac_try) 2>&5
30533 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30534 - (exit $ac_status); }; }; then
30535 + (exit $ac_status); } && {
30536 + test -z "$ac_c_werror_flag" ||
30537 + test ! -s conftest.err
30538 + } && test -s conftest.$ac_objext; then
30539 ac_compiler_gnu=yes
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 -ac_compiler_gnu=no
30545 + ac_compiler_gnu=no
30547 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30549 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30550 ac_cv_c_compiler_gnu=$ac_compiler_gnu
30553 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
30554 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
30555 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
30556 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
30557 GCC=`test $ac_compiler_gnu = yes && echo yes`
30558 ac_test_CFLAGS=${CFLAGS+set}
30559 ac_save_CFLAGS=$CFLAGS
30561 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
30562 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
30563 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
30564 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
30565 if test "${ac_cv_prog_cc_g+set}" = set; then
30566 echo $ECHO_N "(cached) $ECHO_C" >&6
30568 - cat >conftest.$ac_ext <<_ACEOF
30569 + ac_save_c_werror_flag=$ac_c_werror_flag
30570 + ac_c_werror_flag=yes
30571 + ac_cv_prog_cc_g=no
30573 + cat >conftest.$ac_ext <<_ACEOF
30576 cat confdefs.h >>conftest.$ac_ext
30577 @@ -4662,311 +5219,248 @@ main ()
30580 rm -f conftest.$ac_objext
30581 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30582 - (eval $ac_compile) 2>conftest.er1
30583 +if { (ac_try="$ac_compile"
30584 +case "(($ac_try" in
30585 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30586 + *) ac_try_echo=$ac_try;;
30588 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 + (eval "$ac_compile") 2>conftest.er1
30591 grep -v '^ *+' conftest.er1 >conftest.err
30593 cat conftest.err >&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 - (exit $ac_status); } &&
30596 - { ac_try='test -z "$ac_c_werror_flag"
30597 - || test ! -s conftest.err'
30598 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 - (eval $ac_try) 2>&5
30601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 - (exit $ac_status); }; } &&
30603 - { ac_try='test -s conftest.$ac_objext'
30604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30605 - (eval $ac_try) 2>&5
30607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 - (exit $ac_status); }; }; then
30609 + (exit $ac_status); } && {
30610 + test -z "$ac_c_werror_flag" ||
30611 + test ! -s conftest.err
30612 + } && test -s conftest.$ac_objext; then
30613 ac_cv_prog_cc_g=yes
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30618 -ac_cv_prog_cc_g=no
30620 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30622 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30623 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
30624 -if test "$ac_test_CFLAGS" = set; then
30625 - CFLAGS=$ac_save_CFLAGS
30626 -elif test $ac_cv_prog_cc_g = yes; then
30627 - if test "$GCC" = yes; then
30633 - if test "$GCC" = yes; then
30639 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
30640 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
30641 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
30642 - echo $ECHO_N "(cached) $ECHO_C" >&6
30644 - ac_cv_prog_cc_stdc=no
30646 -cat >conftest.$ac_ext <<_ACEOF
30648 + cat >conftest.$ac_ext <<_ACEOF
30651 cat confdefs.h >>conftest.$ac_ext
30652 cat >>conftest.$ac_ext <<_ACEOF
30653 /* end confdefs.h. */
30654 -#include <stdarg.h>
30655 -#include <stdio.h>
30656 -#include <sys/types.h>
30657 -#include <sys/stat.h>
30658 -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
30659 -struct buf { int x; };
30660 -FILE * (*rcsopen) (struct buf *, struct stat *, int);
30661 -static char *e (p, i)
30667 -static char *f (char * (*g) (char **, int), char **p, ...)
30672 - s = g (p, va_arg (v,int));
30677 -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
30678 - function prototypes and stuff, but not '\xHH' hex character constants.
30679 - These don't provoke an error unfortunately, instead are silently treated
30680 - as 'x'. The following induces an error, until -std1 is added to get
30681 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
30682 - array size at least. It's necessary to write '\x00'==0 to get something
30683 - that's true only with -std1. */
30684 -int osf4_cc_array ['\x00' == 0 ? 1 : -1];
30686 -int test (int i, double x);
30687 -struct s1 {int (*f) (int a);};
30688 -struct s2 {int (*f) (double a);};
30689 -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
30695 -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
30701 -# Don't try gcc -ansi; that turns off useful extensions and
30702 -# breaks some systems' header files.
30703 -# AIX -qlanglvl=ansi
30704 -# Ultrix and OSF/1 -std1
30705 -# HP-UX 10.20 and later -Ae
30706 -# HP-UX older versions -Aa -D_HPUX_SOURCE
30707 -# SVR4 -Xc -D__EXTENSIONS__
30708 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
30710 - CC="$ac_save_CC $ac_arg"
30711 - rm -f conftest.$ac_objext
30712 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30713 - (eval $ac_compile) 2>conftest.er1
30714 +rm -f conftest.$ac_objext
30715 +if { (ac_try="$ac_compile"
30716 +case "(($ac_try" in
30717 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30718 + *) ac_try_echo=$ac_try;;
30720 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30721 + (eval "$ac_compile") 2>conftest.er1
30723 grep -v '^ *+' conftest.er1 >conftest.err
30725 cat conftest.err >&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 - (exit $ac_status); } &&
30728 - { ac_try='test -z "$ac_c_werror_flag"
30729 - || test ! -s conftest.err'
30730 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 - (eval $ac_try) 2>&5
30733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 - (exit $ac_status); }; } &&
30735 - { ac_try='test -s conftest.$ac_objext'
30736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 - (eval $ac_try) 2>&5
30739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 - (exit $ac_status); }; }; then
30741 - ac_cv_prog_cc_stdc=$ac_arg
30743 + (exit $ac_status); } && {
30744 + test -z "$ac_c_werror_flag" ||
30745 + test ! -s conftest.err
30746 + } && test -s conftest.$ac_objext; then
30749 echo "$as_me: failed program was:" >&5
30750 sed 's/^/| /' conftest.$ac_ext >&5
30753 -rm -f conftest.err conftest.$ac_objext
30755 -rm -f conftest.$ac_ext conftest.$ac_objext
30760 -case "x$ac_cv_prog_cc_stdc" in
30762 - echo "$as_me:$LINENO: result: none needed" >&5
30763 -echo "${ECHO_T}none needed" >&6 ;;
30765 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
30766 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
30767 - CC="$CC $ac_cv_prog_cc_stdc" ;;
30770 -# Some people use a C++ compiler to compile C. Since we use `exit',
30771 -# in C++ we need to declare it. In case someone uses the same compiler
30772 -# for both compiling C and C++ we need to have the C++ compiler decide
30773 -# the declaration of exit, since it's the most demanding environment.
30774 -cat >conftest.$ac_ext <<_ACEOF
30775 -#ifndef __cplusplus
30779 -rm -f conftest.$ac_objext
30780 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30781 - (eval $ac_compile) 2>conftest.er1
30783 - grep -v '^ *+' conftest.er1 >conftest.err
30784 - rm -f conftest.er1
30785 - cat conftest.err >&5
30786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 - (exit $ac_status); } &&
30788 - { ac_try='test -z "$ac_c_werror_flag"
30789 - || test ! -s conftest.err'
30790 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30791 - (eval $ac_try) 2>&5
30793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30794 - (exit $ac_status); }; } &&
30795 - { ac_try='test -s conftest.$ac_objext'
30796 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30797 - (eval $ac_try) 2>&5
30799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 - (exit $ac_status); }; }; then
30801 - for ac_declaration in \
30803 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
30804 - 'extern "C" void std::exit (int); using std::exit;' \
30805 - 'extern "C" void exit (int) throw ();' \
30806 - 'extern "C" void exit (int);' \
30807 - 'void exit (int);'
30809 - cat >conftest.$ac_ext <<_ACEOF
30810 + ac_c_werror_flag=$ac_save_c_werror_flag
30812 + cat >conftest.$ac_ext <<_ACEOF
30815 cat confdefs.h >>conftest.$ac_ext
30816 cat >>conftest.$ac_ext <<_ACEOF
30817 /* end confdefs.h. */
30819 -#include <stdlib.h>
30830 rm -f conftest.$ac_objext
30831 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30832 - (eval $ac_compile) 2>conftest.er1
30833 +if { (ac_try="$ac_compile"
30834 +case "(($ac_try" in
30835 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30836 + *) ac_try_echo=$ac_try;;
30838 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30839 + (eval "$ac_compile") 2>conftest.er1
30841 grep -v '^ *+' conftest.er1 >conftest.err
30843 cat conftest.err >&5
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 - (exit $ac_status); } &&
30846 - { ac_try='test -z "$ac_c_werror_flag"
30847 - || test ! -s conftest.err'
30848 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30849 - (eval $ac_try) 2>&5
30851 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30852 - (exit $ac_status); }; } &&
30853 - { ac_try='test -s conftest.$ac_objext'
30854 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30855 - (eval $ac_try) 2>&5
30857 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 - (exit $ac_status); }; }; then
30860 + (exit $ac_status); } && {
30861 + test -z "$ac_c_werror_flag" ||
30862 + test ! -s conftest.err
30863 + } && test -s conftest.$ac_objext; then
30864 + ac_cv_prog_cc_g=yes
30866 echo "$as_me: failed program was:" >&5
30867 sed 's/^/| /' conftest.$ac_ext >&5
30872 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30873 - cat >conftest.$ac_ext <<_ACEOF
30875 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30878 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30882 + ac_c_werror_flag=$ac_save_c_werror_flag
30884 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
30885 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
30886 +if test "$ac_test_CFLAGS" = set; then
30887 + CFLAGS=$ac_save_CFLAGS
30888 +elif test $ac_cv_prog_cc_g = yes; then
30889 + if test "$GCC" = yes; then
30895 + if test "$GCC" = yes; then
30901 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
30902 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
30903 +if test "${ac_cv_prog_cc_c89+set}" = set; then
30904 + echo $ECHO_N "(cached) $ECHO_C" >&6
30906 + ac_cv_prog_cc_c89=no
30908 +cat >conftest.$ac_ext <<_ACEOF
30911 cat confdefs.h >>conftest.$ac_ext
30912 cat >>conftest.$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30915 +#include <stdarg.h>
30916 +#include <stdio.h>
30917 +#include <sys/types.h>
30918 +#include <sys/stat.h>
30919 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
30920 +struct buf { int x; };
30921 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
30922 +static char *e (p, i)
30928 +static char *f (char * (*g) (char **, int), char **p, ...)
30933 + s = g (p, va_arg (v,int));
30938 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
30939 + function prototypes and stuff, but not '\xHH' hex character constants.
30940 + These don't provoke an error unfortunately, instead are silently treated
30941 + as 'x'. The following induces an error, until -std is added to get
30942 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
30943 + array size at least. It's necessary to write '\x00'==0 to get something
30944 + that's true only with -std. */
30945 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
30947 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
30948 + inside strings and character constants. */
30949 +#define FOO(x) 'x'
30950 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
30952 +int test (int i, double x);
30953 +struct s1 {int (*f) (int a);};
30954 +struct s2 {int (*f) (double a);};
30955 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
30962 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
30967 -rm -f conftest.$ac_objext
30968 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30969 - (eval $ac_compile) 2>conftest.er1
30970 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
30971 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
30973 + CC="$ac_save_CC $ac_arg"
30974 + rm -f conftest.$ac_objext
30975 +if { (ac_try="$ac_compile"
30976 +case "(($ac_try" in
30977 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30978 + *) ac_try_echo=$ac_try;;
30980 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 + (eval "$ac_compile") 2>conftest.er1
30983 grep -v '^ *+' conftest.er1 >conftest.err
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 - (exit $ac_status); } &&
30988 - { ac_try='test -z "$ac_c_werror_flag"
30989 - || test ! -s conftest.err'
30990 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 - (eval $ac_try) 2>&5
30993 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 - (exit $ac_status); }; } &&
30995 - { ac_try='test -s conftest.$ac_objext'
30996 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30997 - (eval $ac_try) 2>&5
30999 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 - (exit $ac_status); }; }; then
31002 + (exit $ac_status); } && {
31003 + test -z "$ac_c_werror_flag" ||
31004 + test ! -s conftest.err
31005 + } && test -s conftest.$ac_objext; then
31006 + ac_cv_prog_cc_c89=$ac_arg
31008 echo "$as_me: failed program was:" >&5
31009 sed 's/^/| /' conftest.$ac_ext >&5
31013 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31015 +rm -f core conftest.err conftest.$ac_objext
31016 + test "x$ac_cv_prog_cc_c89" != "xno" && break
31019 -if test -n "$ac_declaration"; then
31020 - echo '#ifdef __cplusplus' >>confdefs.h
31021 - echo $ac_declaration >>confdefs.h
31022 - echo '#endif' >>confdefs.h
31023 +rm -f conftest.$ac_ext
31028 +case "x$ac_cv_prog_cc_c89" in
31030 + { echo "$as_me:$LINENO: result: none needed" >&5
31031 +echo "${ECHO_T}none needed" >&6; } ;;
31033 + { echo "$as_me:$LINENO: result: unsupported" >&5
31034 +echo "${ECHO_T}unsupported" >&6; } ;;
31036 + CC="$CC $ac_cv_prog_cc_c89"
31037 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
31038 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
31042 - echo "$as_me: failed program was:" >&5
31043 -sed 's/^/| /' conftest.$ac_ext >&5
31046 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31048 ac_cpp='$CPP $CPPFLAGS'
31049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 @@ -4984,8 +5478,8 @@ for ac_prog in 'bison -y' byacc
31052 # Extract the first word of "$ac_prog", so it can be a program name with args.
31053 set dummy $ac_prog; ac_word=$2
31054 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31055 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31056 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31057 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31058 if test "${ac_cv_prog_YACC+set}" = set; then
31059 echo $ECHO_N "(cached) $ECHO_C" >&6
31061 @@ -4998,25 +5492,27 @@ do
31063 test -z "$as_dir" && as_dir=.
31064 for ac_exec_ext in '' $ac_executable_extensions; do
31065 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31066 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31067 ac_cv_prog_YACC="$ac_prog"
31068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31077 YACC=$ac_cv_prog_YACC
31078 if test -n "$YACC"; then
31079 - echo "$as_me:$LINENO: result: $YACC" >&5
31080 -echo "${ECHO_T}$YACC" >&6
31081 + { echo "$as_me:$LINENO: result: $YACC" >&5
31082 +echo "${ECHO_T}$YACC" >&6; }
31084 - echo "$as_me:$LINENO: result: no" >&5
31085 -echo "${ECHO_T}no" >&6
31086 + { echo "$as_me:$LINENO: result: no" >&5
31087 +echo "${ECHO_T}no" >&6; }
31091 test -n "$YACC" && break
31093 test -n "$YACC" || YACC="yacc"
31094 @@ -5025,8 +5521,8 @@ for ac_prog in flex lex
31096 # Extract the first word of "$ac_prog", so it can be a program name with args.
31097 set dummy $ac_prog; ac_word=$2
31098 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31099 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31100 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31101 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31102 if test "${ac_cv_prog_LEX+set}" = set; then
31103 echo $ECHO_N "(cached) $ECHO_C" >&6
31105 @@ -5039,253 +5535,182 @@ do
31107 test -z "$as_dir" && as_dir=.
31108 for ac_exec_ext in '' $ac_executable_extensions; do
31109 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31110 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31111 ac_cv_prog_LEX="$ac_prog"
31112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31121 LEX=$ac_cv_prog_LEX
31122 if test -n "$LEX"; then
31123 - echo "$as_me:$LINENO: result: $LEX" >&5
31124 -echo "${ECHO_T}$LEX" >&6
31125 + { echo "$as_me:$LINENO: result: $LEX" >&5
31126 +echo "${ECHO_T}$LEX" >&6; }
31128 - echo "$as_me:$LINENO: result: no" >&5
31129 -echo "${ECHO_T}no" >&6
31130 + { echo "$as_me:$LINENO: result: no" >&5
31131 +echo "${ECHO_T}no" >&6; }
31135 test -n "$LEX" && break
31137 test -n "$LEX" || LEX=":"
31139 -if test -z "$LEXLIB"
31141 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
31142 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
31143 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
31144 - echo $ECHO_N "(cached) $ECHO_C" >&6
31146 - ac_check_lib_save_LIBS=$LIBS
31148 -cat >conftest.$ac_ext <<_ACEOF
31151 -cat confdefs.h >>conftest.$ac_ext
31152 -cat >>conftest.$ac_ext <<_ACEOF
31153 -/* end confdefs.h. */
31155 -/* Override any gcc2 internal prototype to avoid an error. */
31156 -#ifdef __cplusplus
31158 +if test "x$LEX" != "x:"; then
31159 + cat >conftest.l <<_ACEOF
31165 +e { yyless (input () != 0); }
31166 +f { unput (yytext[0]); }
31167 +. { BEGIN INITIAL; }
31169 +#ifdef YYTEXT_POINTER
31170 +extern char *yytext;
31172 -/* We use char because int might match the return type of a gcc2
31173 - builtin and then its argument prototype would still apply. */
31182 + return ! yylex () + ! yywrap ();
31185 -rm -f conftest.$ac_objext conftest$ac_exeext
31186 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31187 - (eval $ac_link) 2>conftest.er1
31189 - grep -v '^ *+' conftest.er1 >conftest.err
31190 - rm -f conftest.er1
31191 - cat conftest.err >&5
31192 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31193 - (exit $ac_status); } &&
31194 - { ac_try='test -z "$ac_c_werror_flag"
31195 - || test ! -s conftest.err'
31196 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31197 - (eval $ac_try) 2>&5
31199 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31200 - (exit $ac_status); }; } &&
31201 - { ac_try='test -s conftest$ac_exeext'
31202 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 - (eval $ac_try) 2>&5
31204 +{ (ac_try="$LEX conftest.l"
31205 +case "(($ac_try" in
31206 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31207 + *) ac_try_echo=$ac_try;;
31209 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31210 + (eval "$LEX conftest.l") 2>&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 - (exit $ac_status); }; }; then
31214 - ac_cv_lib_fl_yywrap=yes
31215 + (exit $ac_status); }
31216 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
31217 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
31218 +if test "${ac_cv_prog_lex_root+set}" = set; then
31219 + echo $ECHO_N "(cached) $ECHO_C" >&6
31221 - echo "$as_me: failed program was:" >&5
31222 -sed 's/^/| /' conftest.$ac_ext >&5
31224 -ac_cv_lib_fl_yywrap=no
31225 +if test -f lex.yy.c; then
31226 + ac_cv_prog_lex_root=lex.yy
31227 +elif test -f lexyy.c; then
31228 + ac_cv_prog_lex_root=lexyy
31230 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
31231 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
31232 + { (exit 1); exit 1; }; }
31234 -rm -f conftest.err conftest.$ac_objext \
31235 - conftest$ac_exeext conftest.$ac_ext
31236 -LIBS=$ac_check_lib_save_LIBS
31238 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
31239 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
31240 -if test $ac_cv_lib_fl_yywrap = yes; then
31243 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
31244 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
31245 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
31246 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
31247 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
31248 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
31250 +if test -z "${LEXLIB+set}"; then
31251 + { echo "$as_me:$LINENO: checking lex library" >&5
31252 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
31253 +if test "${ac_cv_lib_lex+set}" = set; then
31254 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 - ac_check_lib_save_LIBS=$LIBS
31258 -cat >conftest.$ac_ext <<_ACEOF
31261 -cat confdefs.h >>conftest.$ac_ext
31262 -cat >>conftest.$ac_ext <<_ACEOF
31263 -/* end confdefs.h. */
31265 -/* Override any gcc2 internal prototype to avoid an error. */
31266 -#ifdef __cplusplus
31269 -/* We use char because int might match the return type of a gcc2
31270 - builtin and then its argument prototype would still apply. */
31279 + ac_save_LIBS=$LIBS
31280 + ac_cv_lib_lex='none needed'
31281 + for ac_lib in '' -lfl -ll; do
31282 + LIBS="$ac_lib $ac_save_LIBS"
31283 + cat >conftest.$ac_ext <<_ACEOF
31284 +`cat $LEX_OUTPUT_ROOT.c`
31286 rm -f conftest.$ac_objext conftest$ac_exeext
31287 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31288 - (eval $ac_link) 2>conftest.er1
31289 +if { (ac_try="$ac_link"
31290 +case "(($ac_try" in
31291 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31292 + *) ac_try_echo=$ac_try;;
31294 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295 + (eval "$ac_link") 2>conftest.er1
31297 grep -v '^ *+' conftest.er1 >conftest.err
31299 cat conftest.err >&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 - (exit $ac_status); } &&
31302 - { ac_try='test -z "$ac_c_werror_flag"
31303 - || test ! -s conftest.err'
31304 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31305 - (eval $ac_try) 2>&5
31307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 - (exit $ac_status); }; } &&
31309 - { ac_try='test -s conftest$ac_exeext'
31310 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31311 - (eval $ac_try) 2>&5
31313 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 - (exit $ac_status); }; }; then
31315 - ac_cv_lib_l_yywrap=yes
31316 + (exit $ac_status); } && {
31317 + test -z "$ac_c_werror_flag" ||
31318 + test ! -s conftest.err
31319 + } && test -s conftest$ac_exeext &&
31320 + $as_test_x conftest$ac_exeext; then
31321 + ac_cv_lib_lex=$ac_lib
31323 echo "$as_me: failed program was:" >&5
31324 sed 's/^/| /' conftest.$ac_ext >&5
31326 -ac_cv_lib_l_yywrap=no
31328 -rm -f conftest.err conftest.$ac_objext \
31329 - conftest$ac_exeext conftest.$ac_ext
31330 -LIBS=$ac_check_lib_save_LIBS
31332 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
31333 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
31334 -if test $ac_cv_lib_l_yywrap = yes; then
31342 -if test "x$LEX" != "x:"; then
31343 - echo "$as_me:$LINENO: checking lex output file root" >&5
31344 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
31345 -if test "${ac_cv_prog_lex_root+set}" = set; then
31346 - echo $ECHO_N "(cached) $ECHO_C" >&6
31348 - # The minimal lex program is just a single line: %%. But some broken lexes
31349 -# (Solaris, I think it was) want two %% lines, so accommodate them.
31350 -cat >conftest.l <<_ACEOF
31354 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
31355 - (eval $LEX conftest.l) 2>&5
31357 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 - (exit $ac_status); }
31359 -if test -f lex.yy.c; then
31360 - ac_cv_prog_lex_root=lex.yy
31361 -elif test -f lexyy.c; then
31362 - ac_cv_prog_lex_root=lexyy
31364 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
31365 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
31366 - { (exit 1); exit 1; }; }
31369 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31370 + conftest$ac_exeext conftest.$ac_ext
31371 + test "$ac_cv_lib_lex" != 'none needed' && break
31373 + LIBS=$ac_save_LIBS
31376 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
31377 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
31378 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
31380 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
31381 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
31383 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
31385 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
31386 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
31388 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
31389 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
31390 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31393 # POSIX says lex can declare yytext either as a pointer or an array; the
31394 -# default is implementation-dependent. Figure out which it is, since
31395 +# default is implementation-dependent. Figure out which it is, since
31396 # not all implementations provide the %pointer and %array declarations.
31397 ac_cv_prog_lex_yytext_pointer=no
31398 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
31400 -LIBS="$LIBS $LEXLIB"
31401 +LIBS="$LEXLIB $ac_save_LIBS"
31402 cat >conftest.$ac_ext <<_ACEOF
31403 +#define YYTEXT_POINTER 1
31404 `cat $LEX_OUTPUT_ROOT.c`
31406 rm -f conftest.$ac_objext conftest$ac_exeext
31407 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31408 - (eval $ac_link) 2>conftest.er1
31409 +if { (ac_try="$ac_link"
31410 +case "(($ac_try" in
31411 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31412 + *) ac_try_echo=$ac_try;;
31414 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31415 + (eval "$ac_link") 2>conftest.er1
31417 grep -v '^ *+' conftest.er1 >conftest.err
31419 cat conftest.err >&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 - (exit $ac_status); } &&
31422 - { ac_try='test -z "$ac_c_werror_flag"
31423 - || test ! -s conftest.err'
31424 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31425 - (eval $ac_try) 2>&5
31427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 - (exit $ac_status); }; } &&
31429 - { ac_try='test -s conftest$ac_exeext'
31430 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31431 - (eval $ac_try) 2>&5
31433 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 - (exit $ac_status); }; }; then
31435 + (exit $ac_status); } && {
31436 + test -z "$ac_c_werror_flag" ||
31437 + test ! -s conftest.err
31438 + } && test -s conftest$ac_exeext &&
31439 + $as_test_x conftest$ac_exeext; then
31440 ac_cv_prog_lex_yytext_pointer=yes
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.$ac_ext >&5
31447 -rm -f conftest.err conftest.$ac_objext \
31449 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31450 conftest$ac_exeext conftest.$ac_ext
31452 -rm -f "${LEX_OUTPUT_ROOT}.c"
31455 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
31456 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
31457 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
31458 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
31459 if test $ac_cv_prog_lex_yytext_pointer = yes; then
31461 cat >>confdefs.h <<\_ACEOF
31462 @@ -5293,6 +5718,7 @@ cat >>confdefs.h <<\_ACEOF
31466 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
31469 if test "$LEX" = :; then
31470 @@ -5303,8 +5729,8 @@ ALL_LINGUAS="fr tr ja es sv da zh_CN ru
31471 if test -n "$ac_tool_prefix"; then
31472 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
31473 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
31474 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31475 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31476 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31477 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31478 if test "${ac_cv_prog_RANLIB+set}" = set; then
31479 echo $ECHO_N "(cached) $ECHO_C" >&6
31481 @@ -5317,32 +5743,34 @@ do
31483 test -z "$as_dir" && as_dir=.
31484 for ac_exec_ext in '' $ac_executable_extensions; do
31485 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31486 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31487 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
31488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31497 RANLIB=$ac_cv_prog_RANLIB
31498 if test -n "$RANLIB"; then
31499 - echo "$as_me:$LINENO: result: $RANLIB" >&5
31500 -echo "${ECHO_T}$RANLIB" >&6
31501 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
31502 +echo "${ECHO_T}$RANLIB" >&6; }
31504 - echo "$as_me:$LINENO: result: no" >&5
31505 -echo "${ECHO_T}no" >&6
31506 + { echo "$as_me:$LINENO: result: no" >&5
31507 +echo "${ECHO_T}no" >&6; }
31512 if test -z "$ac_cv_prog_RANLIB"; then
31513 ac_ct_RANLIB=$RANLIB
31514 # Extract the first word of "ranlib", so it can be a program name with args.
31515 set dummy ranlib; ac_word=$2
31516 -echo "$as_me:$LINENO: checking for $ac_word" >&5
31517 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31518 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31519 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31520 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
31521 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 @@ -5355,27 +5783,41 @@ do
31525 test -z "$as_dir" && as_dir=.
31526 for ac_exec_ext in '' $ac_executable_extensions; do
31527 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31528 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31529 ac_cv_prog_ac_ct_RANLIB="ranlib"
31530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31537 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
31540 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
31541 if test -n "$ac_ct_RANLIB"; then
31542 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
31543 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
31544 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
31545 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
31547 - echo "$as_me:$LINENO: result: no" >&5
31548 -echo "${ECHO_T}no" >&6
31549 + { echo "$as_me:$LINENO: result: no" >&5
31550 +echo "${ECHO_T}no" >&6; }
31553 - RANLIB=$ac_ct_RANLIB
31554 + if test "x$ac_ct_RANLIB" = x; then
31557 + case $cross_compiling:$ac_tool_warned in
31559 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31560 +whose name does not start with the host triplet. If you think this
31561 +configuration is useful to you, please write to autoconf@gnu.org." >&5
31562 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31563 +whose name does not start with the host triplet. If you think this
31564 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31565 +ac_tool_warned=yes ;;
31567 + RANLIB=$ac_ct_RANLIB
31570 RANLIB="$ac_cv_prog_RANLIB"
31572 @@ -5385,8 +5827,8 @@ ac_cpp='$CPP $CPPFLAGS'
31573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31576 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
31577 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
31578 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
31579 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
31580 # On Suns, sometimes $CPP names a directory.
31581 if test -n "$CPP" && test -d "$CPP"; then
31583 @@ -5420,24 +5862,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31587 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31588 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31589 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31590 +case "(($ac_try" in
31591 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31592 + *) ac_try_echo=$ac_try;;
31594 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31595 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31597 grep -v '^ *+' conftest.er1 >conftest.err
31599 cat conftest.err >&5
31600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31601 - (exit $ac_status); } >/dev/null; then
31602 - if test -s conftest.err; then
31603 - ac_cpp_err=$ac_c_preproc_warn_flag
31604 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31611 -if test -z "$ac_cpp_err"; then
31612 + (exit $ac_status); } >/dev/null && {
31613 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31614 + test ! -s conftest.err
31618 echo "$as_me: failed program was:" >&5
31619 @@ -5446,9 +5886,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
31620 # Broken: fails on valid input.
31624 rm -f conftest.err conftest.$ac_ext
31626 - # OK, works on sane cases. Now check whether non-existent headers
31627 + # OK, works on sane cases. Now check whether nonexistent headers
31628 # can be detected and how.
31629 cat >conftest.$ac_ext <<_ACEOF
31631 @@ -5458,24 +5899,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h. */
31633 #include <ac_nonexistent.h>
31635 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31636 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31637 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31638 +case "(($ac_try" in
31639 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31640 + *) ac_try_echo=$ac_try;;
31642 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31643 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31645 grep -v '^ *+' conftest.er1 >conftest.err
31647 cat conftest.err >&5
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 - (exit $ac_status); } >/dev/null; then
31650 - if test -s conftest.err; then
31651 - ac_cpp_err=$ac_c_preproc_warn_flag
31652 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31659 -if test -z "$ac_cpp_err"; then
31660 + (exit $ac_status); } >/dev/null && {
31661 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31662 + test ! -s conftest.err
31664 # Broken: success on invalid input.
31667 @@ -5486,6 +5925,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
31672 rm -f conftest.err conftest.$ac_ext
31675 @@ -5503,8 +5943,8 @@ fi
31677 ac_cv_prog_CPP=$CPP
31679 -echo "$as_me:$LINENO: result: $CPP" >&5
31680 -echo "${ECHO_T}$CPP" >&6
31681 +{ echo "$as_me:$LINENO: result: $CPP" >&5
31682 +echo "${ECHO_T}$CPP" >&6; }
31683 ac_preproc_ok=false
31684 for ac_c_preproc_warn_flag in '' yes
31686 @@ -5527,24 +5967,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31690 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31691 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31692 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31693 +case "(($ac_try" in
31694 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31695 + *) ac_try_echo=$ac_try;;
31697 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31698 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31700 grep -v '^ *+' conftest.er1 >conftest.err
31702 cat conftest.err >&5
31703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31704 - (exit $ac_status); } >/dev/null; then
31705 - if test -s conftest.err; then
31706 - ac_cpp_err=$ac_c_preproc_warn_flag
31707 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31714 -if test -z "$ac_cpp_err"; then
31715 + (exit $ac_status); } >/dev/null && {
31716 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31717 + test ! -s conftest.err
31721 echo "$as_me: failed program was:" >&5
31722 @@ -5553,9 +5991,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
31723 # Broken: fails on valid input.
31727 rm -f conftest.err conftest.$ac_ext
31729 - # OK, works on sane cases. Now check whether non-existent headers
31730 + # OK, works on sane cases. Now check whether nonexistent headers
31731 # can be detected and how.
31732 cat >conftest.$ac_ext <<_ACEOF
31734 @@ -5565,24 +6004,22 @@ cat >>conftest.$ac_ext <<_ACEOF
31735 /* end confdefs.h. */
31736 #include <ac_nonexistent.h>
31738 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31739 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31740 +if { (ac_try="$ac_cpp conftest.$ac_ext"
31741 +case "(($ac_try" in
31742 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31743 + *) ac_try_echo=$ac_try;;
31745 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31746 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31748 grep -v '^ *+' conftest.er1 >conftest.err
31750 cat conftest.err >&5
31751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31752 - (exit $ac_status); } >/dev/null; then
31753 - if test -s conftest.err; then
31754 - ac_cpp_err=$ac_c_preproc_warn_flag
31755 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31762 -if test -z "$ac_cpp_err"; then
31763 + (exit $ac_status); } >/dev/null && {
31764 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31765 + test ! -s conftest.err
31767 # Broken: success on invalid input.
31770 @@ -5593,6 +6030,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
31775 rm -f conftest.err conftest.$ac_ext
31778 @@ -5615,23 +6053,170 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
31779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31782 -echo "$as_me:$LINENO: checking for egrep" >&5
31783 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
31784 -if test "${ac_cv_prog_egrep+set}" = set; then
31785 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
31786 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
31787 +if test "${ac_cv_path_GREP+set}" = set; then
31788 + echo $ECHO_N "(cached) $ECHO_C" >&6
31790 + # Extract the first word of "grep ggrep" to use in msg output
31791 +if test -z "$GREP"; then
31792 +set dummy grep ggrep; ac_prog_name=$2
31793 +if test "${ac_cv_path_GREP+set}" = set; then
31794 + echo $ECHO_N "(cached) $ECHO_C" >&6
31796 + ac_path_GREP_found=false
31797 +# Loop through the user's path and test for each of PROGNAME-LIST
31798 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31799 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
31802 + test -z "$as_dir" && as_dir=.
31803 + for ac_prog in grep ggrep; do
31804 + for ac_exec_ext in '' $ac_executable_extensions; do
31805 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
31806 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
31807 + # Check for GNU ac_path_GREP and select it if it is found.
31808 + # Check for GNU $ac_path_GREP
31809 +case `"$ac_path_GREP" --version 2>&1` in
31811 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
31814 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
31817 + cat "conftest.in" "conftest.in" >"conftest.tmp"
31818 + mv "conftest.tmp" "conftest.in"
31819 + cp "conftest.in" "conftest.nl"
31820 + echo 'GREP' >> "conftest.nl"
31821 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31822 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
31823 + ac_count=`expr $ac_count + 1`
31824 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
31825 + # Best one so far, save it but keep looking for a better one
31826 + ac_cv_path_GREP="$ac_path_GREP"
31827 + ac_path_GREP_max=$ac_count
31829 + # 10*(2^10) chars as input seems more than enough
31830 + test $ac_count -gt 10 && break
31832 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31836 + $ac_path_GREP_found && break 3
31846 +GREP="$ac_cv_path_GREP"
31847 +if test -z "$GREP"; then
31848 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
31849 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
31850 + { (exit 1); exit 1; }; }
31854 + ac_cv_path_GREP=$GREP
31859 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
31860 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
31861 + GREP="$ac_cv_path_GREP"
31864 +{ echo "$as_me:$LINENO: checking for egrep" >&5
31865 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
31866 +if test "${ac_cv_path_EGREP+set}" = set; then
31867 + echo $ECHO_N "(cached) $ECHO_C" >&6
31869 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
31870 + then ac_cv_path_EGREP="$GREP -E"
31872 + # Extract the first word of "egrep" to use in msg output
31873 +if test -z "$EGREP"; then
31874 +set dummy egrep; ac_prog_name=$2
31875 +if test "${ac_cv_path_EGREP+set}" = set; then
31876 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
31879 - then ac_cv_prog_egrep='grep -E'
31880 - else ac_cv_prog_egrep='egrep'
31881 + ac_path_EGREP_found=false
31882 +# Loop through the user's path and test for each of PROGNAME-LIST
31883 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31884 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
31887 + test -z "$as_dir" && as_dir=.
31888 + for ac_prog in egrep; do
31889 + for ac_exec_ext in '' $ac_executable_extensions; do
31890 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
31891 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
31892 + # Check for GNU ac_path_EGREP and select it if it is found.
31893 + # Check for GNU $ac_path_EGREP
31894 +case `"$ac_path_EGREP" --version 2>&1` in
31896 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
31899 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
31902 + cat "conftest.in" "conftest.in" >"conftest.tmp"
31903 + mv "conftest.tmp" "conftest.in"
31904 + cp "conftest.in" "conftest.nl"
31905 + echo 'EGREP' >> "conftest.nl"
31906 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
31907 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
31908 + ac_count=`expr $ac_count + 1`
31909 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
31910 + # Best one so far, save it but keep looking for a better one
31911 + ac_cv_path_EGREP="$ac_path_EGREP"
31912 + ac_path_EGREP_max=$ac_count
31914 + # 10*(2^10) chars as input seems more than enough
31915 + test $ac_count -gt 10 && break
31917 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
31921 + $ac_path_EGREP_found && break 3
31931 +EGREP="$ac_cv_path_EGREP"
31932 +if test -z "$EGREP"; then
31933 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
31934 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
31935 + { (exit 1); exit 1; }; }
31939 + ac_cv_path_EGREP=$EGREP
31945 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
31946 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
31947 - EGREP=$ac_cv_prog_egrep
31948 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
31949 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
31950 + EGREP="$ac_cv_path_EGREP"
31953 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
31954 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
31955 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
31956 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
31957 if test "${ac_cv_header_stdc+set}" = set; then
31958 echo $ECHO_N "(cached) $ECHO_C" >&6
31960 @@ -5655,35 +6240,31 @@ main ()
31963 rm -f conftest.$ac_objext
31964 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31965 - (eval $ac_compile) 2>conftest.er1
31966 +if { (ac_try="$ac_compile"
31967 +case "(($ac_try" in
31968 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31969 + *) ac_try_echo=$ac_try;;
31971 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31972 + (eval "$ac_compile") 2>conftest.er1
31974 grep -v '^ *+' conftest.er1 >conftest.err
31976 cat conftest.err >&5
31977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31978 - (exit $ac_status); } &&
31979 - { ac_try='test -z "$ac_c_werror_flag"
31980 - || test ! -s conftest.err'
31981 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31982 - (eval $ac_try) 2>&5
31984 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 - (exit $ac_status); }; } &&
31986 - { ac_try='test -s conftest.$ac_objext'
31987 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31988 - (eval $ac_try) 2>&5
31990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31991 - (exit $ac_status); }; }; then
31992 + (exit $ac_status); } && {
31993 + test -z "$ac_c_werror_flag" ||
31994 + test ! -s conftest.err
31995 + } && test -s conftest.$ac_objext; then
31996 ac_cv_header_stdc=yes
31998 echo "$as_me: failed program was:" >&5
31999 sed 's/^/| /' conftest.$ac_ext >&5
32001 -ac_cv_header_stdc=no
32002 + ac_cv_header_stdc=no
32004 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32006 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32008 if test $ac_cv_header_stdc = yes; then
32009 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
32010 @@ -5739,6 +6320,7 @@ cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32014 +#include <stdlib.h>
32015 #if ((' ' & 0x0FF) == 0x020)
32016 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
32017 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
32018 @@ -5758,18 +6340,27 @@ main ()
32019 for (i = 0; i < 256; i++)
32020 if (XOR (islower (i), ISLOWER (i))
32021 || toupper (i) != TOUPPER (i))
32028 rm -f conftest$ac_exeext
32029 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32030 - (eval $ac_link) 2>&5
32031 +if { (ac_try="$ac_link"
32032 +case "(($ac_try" in
32033 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32034 + *) ac_try_echo=$ac_try;;
32036 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32037 + (eval "$ac_link") 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32041 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32042 - (eval $ac_try) 2>&5
32043 + { (case "(($ac_try" in
32044 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32045 + *) ac_try_echo=$ac_try;;
32047 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32048 + (eval "$ac_try") 2>&5
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); }; }; then
32052 @@ -5782,12 +6373,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
32053 ( exit $ac_status )
32054 ac_cv_header_stdc=no
32056 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32057 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32063 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
32064 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
32065 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
32066 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
32067 if test $ac_cv_header_stdc = yes; then
32069 cat >>confdefs.h <<\_ACEOF
32070 @@ -5796,8 +6389,8 @@ _ACEOF
32074 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
32075 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
32076 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
32077 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
32078 if test "${ac_cv_c_const+set}" = set; then
32079 echo $ECHO_N "(cached) $ECHO_C" >&6
32081 @@ -5815,10 +6408,10 @@ main ()
32082 #ifndef __cplusplus
32083 /* Ultrix mips cc rejects this. */
32084 typedef int charset[2];
32086 + const charset cs;
32087 /* SunOS 4.1.1 cc rejects this. */
32088 - char const *const *ccp;
32090 + char const *const *pcpcc;
32092 /* NEC SVR4.0.2 mips cc rejects this. */
32093 struct point {int x, y;};
32094 static struct point const zero = {0,0};
32095 @@ -5827,16 +6420,17 @@ main ()
32096 an arm of an if-expression whose if-part is not a constant
32098 const char *g = "string";
32099 - ccp = &g + (g ? g-g : 0);
32100 + pcpcc = &g + (g ? g-g : 0);
32101 /* HPUX 7.0 cc rejects these. */
32103 - p = (char**) ccp;
32104 - ccp = (char const *const *) p;
32106 + ppc = (char**) pcpcc;
32107 + pcpcc = (char const *const *) ppc;
32108 { /* SCO 3.2v4 cc rejects this. */
32110 char const *s = 0 ? (char *) 0 : (char const *) 0;
32115 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
32116 int x[] = {25, 17};
32117 @@ -5855,7 +6449,9 @@ main ()
32119 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
32120 const int foo = 10;
32121 + if (!foo) return 0;
32123 + return !cs[0] && !zero.x;
32127 @@ -5863,38 +6459,34 @@ main ()
32130 rm -f conftest.$ac_objext
32131 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32132 - (eval $ac_compile) 2>conftest.er1
32133 +if { (ac_try="$ac_compile"
32134 +case "(($ac_try" in
32135 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32136 + *) ac_try_echo=$ac_try;;
32138 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32139 + (eval "$ac_compile") 2>conftest.er1
32141 grep -v '^ *+' conftest.er1 >conftest.err
32143 cat conftest.err >&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 - (exit $ac_status); } &&
32146 - { ac_try='test -z "$ac_c_werror_flag"
32147 - || test ! -s conftest.err'
32148 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32149 - (eval $ac_try) 2>&5
32151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 - (exit $ac_status); }; } &&
32153 - { ac_try='test -s conftest.$ac_objext'
32154 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 - (eval $ac_try) 2>&5
32157 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 - (exit $ac_status); }; }; then
32159 + (exit $ac_status); } && {
32160 + test -z "$ac_c_werror_flag" ||
32161 + test ! -s conftest.err
32162 + } && test -s conftest.$ac_objext; then
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32171 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32173 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32175 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
32176 -echo "${ECHO_T}$ac_cv_c_const" >&6
32177 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
32178 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
32179 if test $ac_cv_c_const = no; then
32181 cat >>confdefs.h <<\_ACEOF
32182 @@ -5903,8 +6495,8 @@ _ACEOF
32186 -echo "$as_me:$LINENO: checking for inline" >&5
32187 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
32188 +{ echo "$as_me:$LINENO: checking for inline" >&5
32189 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
32190 if test "${ac_cv_c_inline+set}" = set; then
32191 echo $ECHO_N "(cached) $ECHO_C" >&6
32193 @@ -5924,39 +6516,37 @@ $ac_kw foo_t foo () {return 0; }
32196 rm -f conftest.$ac_objext
32197 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32198 - (eval $ac_compile) 2>conftest.er1
32199 +if { (ac_try="$ac_compile"
32200 +case "(($ac_try" in
32201 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32202 + *) ac_try_echo=$ac_try;;
32204 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32205 + (eval "$ac_compile") 2>conftest.er1
32207 grep -v '^ *+' conftest.er1 >conftest.err
32209 cat conftest.err >&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 - (exit $ac_status); } &&
32212 - { ac_try='test -z "$ac_c_werror_flag"
32213 - || test ! -s conftest.err'
32214 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32215 - (eval $ac_try) 2>&5
32217 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 - (exit $ac_status); }; } &&
32219 - { ac_try='test -s conftest.$ac_objext'
32220 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 - (eval $ac_try) 2>&5
32223 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 - (exit $ac_status); }; }; then
32225 - ac_cv_c_inline=$ac_kw; break
32226 + (exit $ac_status); } && {
32227 + test -z "$ac_c_werror_flag" ||
32228 + test ! -s conftest.err
32229 + } && test -s conftest.$ac_objext; then
32230 + ac_cv_c_inline=$ac_kw
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.$ac_ext >&5
32237 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32239 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 + test "$ac_cv_c_inline" != no && break
32244 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
32245 -echo "${ECHO_T}$ac_cv_c_inline" >&6
32246 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
32247 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
32250 case $ac_cv_c_inline in
32251 @@ -5988,9 +6578,9 @@ for ac_header in sys/types.h sys/stat.h
32252 inttypes.h stdint.h unistd.h
32254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32255 -echo "$as_me:$LINENO: checking for $ac_header" >&5
32256 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32257 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32258 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
32259 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32260 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 cat >conftest.$ac_ext <<_ACEOF
32264 @@ -6004,38 +6594,35 @@ $ac_includes_default
32265 #include <$ac_header>
32267 rm -f conftest.$ac_objext
32268 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32269 - (eval $ac_compile) 2>conftest.er1
32270 +if { (ac_try="$ac_compile"
32271 +case "(($ac_try" in
32272 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32273 + *) ac_try_echo=$ac_try;;
32275 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32276 + (eval "$ac_compile") 2>conftest.er1
32278 grep -v '^ *+' conftest.er1 >conftest.err
32280 cat conftest.err >&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 - (exit $ac_status); } &&
32283 - { ac_try='test -z "$ac_c_werror_flag"
32284 - || test ! -s conftest.err'
32285 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 - (eval $ac_try) 2>&5
32288 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 - (exit $ac_status); }; } &&
32290 - { ac_try='test -s conftest.$ac_objext'
32291 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 - (eval $ac_try) 2>&5
32294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 - (exit $ac_status); }; }; then
32296 + (exit $ac_status); } && {
32297 + test -z "$ac_c_werror_flag" ||
32298 + test ! -s conftest.err
32299 + } && test -s conftest.$ac_objext; then
32300 eval "$as_ac_Header=yes"
32302 echo "$as_me: failed program was:" >&5
32303 sed 's/^/| /' conftest.$ac_ext >&5
32305 -eval "$as_ac_Header=no"
32306 + eval "$as_ac_Header=no"
32308 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32310 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32312 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32313 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32314 +ac_res=`eval echo '${'$as_ac_Header'}'`
32315 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32316 +echo "${ECHO_T}$ac_res" >&6; }
32317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32318 cat >>confdefs.h <<_ACEOF
32319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32320 @@ -6046,8 +6633,8 @@ fi
32324 -echo "$as_me:$LINENO: checking for off_t" >&5
32325 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32326 +{ echo "$as_me:$LINENO: checking for off_t" >&5
32327 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
32328 if test "${ac_cv_type_off_t+set}" = set; then
32329 echo $ECHO_N "(cached) $ECHO_C" >&6
32331 @@ -6058,62 +6645,59 @@ cat confdefs.h >>conftest.$ac_ext
32332 cat >>conftest.$ac_ext <<_ACEOF
32333 /* end confdefs.h. */
32334 $ac_includes_default
32335 +typedef off_t ac__type_new_;
32340 +if ((ac__type_new_ *) 0)
32342 -if (sizeof (off_t))
32343 +if (sizeof (ac__type_new_))
32349 rm -f conftest.$ac_objext
32350 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32351 - (eval $ac_compile) 2>conftest.er1
32352 +if { (ac_try="$ac_compile"
32353 +case "(($ac_try" in
32354 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32355 + *) ac_try_echo=$ac_try;;
32357 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32358 + (eval "$ac_compile") 2>conftest.er1
32360 grep -v '^ *+' conftest.er1 >conftest.err
32362 cat conftest.err >&5
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 - (exit $ac_status); } &&
32365 - { ac_try='test -z "$ac_c_werror_flag"
32366 - || test ! -s conftest.err'
32367 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32368 - (eval $ac_try) 2>&5
32370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 - (exit $ac_status); }; } &&
32372 - { ac_try='test -s conftest.$ac_objext'
32373 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 - (eval $ac_try) 2>&5
32376 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 - (exit $ac_status); }; }; then
32378 + (exit $ac_status); } && {
32379 + test -z "$ac_c_werror_flag" ||
32380 + test ! -s conftest.err
32381 + } && test -s conftest.$ac_objext; then
32382 ac_cv_type_off_t=yes
32384 echo "$as_me: failed program was:" >&5
32385 sed 's/^/| /' conftest.$ac_ext >&5
32387 -ac_cv_type_off_t=no
32388 + ac_cv_type_off_t=no
32390 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32392 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32394 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32395 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
32396 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32397 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
32398 if test $ac_cv_type_off_t = yes; then
32402 cat >>confdefs.h <<_ACEOF
32403 -#define off_t long
32404 +#define off_t long int
32409 -echo "$as_me:$LINENO: checking for size_t" >&5
32410 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32411 +{ echo "$as_me:$LINENO: checking for size_t" >&5
32412 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
32413 if test "${ac_cv_type_size_t+set}" = set; then
32414 echo $ECHO_N "(cached) $ECHO_C" >&6
32416 @@ -6124,64 +6708,61 @@ cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32419 $ac_includes_default
32420 +typedef size_t ac__type_new_;
32425 +if ((ac__type_new_ *) 0)
32427 -if (sizeof (size_t))
32428 +if (sizeof (ac__type_new_))
32434 rm -f conftest.$ac_objext
32435 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32436 - (eval $ac_compile) 2>conftest.er1
32437 +if { (ac_try="$ac_compile"
32438 +case "(($ac_try" in
32439 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32440 + *) ac_try_echo=$ac_try;;
32442 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32443 + (eval "$ac_compile") 2>conftest.er1
32445 grep -v '^ *+' conftest.er1 >conftest.err
32447 cat conftest.err >&5
32448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32449 - (exit $ac_status); } &&
32450 - { ac_try='test -z "$ac_c_werror_flag"
32451 - || test ! -s conftest.err'
32452 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32453 - (eval $ac_try) 2>&5
32455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 - (exit $ac_status); }; } &&
32457 - { ac_try='test -s conftest.$ac_objext'
32458 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32459 - (eval $ac_try) 2>&5
32461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 - (exit $ac_status); }; }; then
32463 + (exit $ac_status); } && {
32464 + test -z "$ac_c_werror_flag" ||
32465 + test ! -s conftest.err
32466 + } && test -s conftest.$ac_objext; then
32467 ac_cv_type_size_t=yes
32469 echo "$as_me: failed program was:" >&5
32470 sed 's/^/| /' conftest.$ac_ext >&5
32472 -ac_cv_type_size_t=no
32473 + ac_cv_type_size_t=no
32475 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32477 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32480 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
32481 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32482 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
32483 if test $ac_cv_type_size_t = yes; then
32487 cat >>confdefs.h <<_ACEOF
32488 -#define size_t unsigned
32489 +#define size_t unsigned int
32494 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
32495 # for constant arguments. Useless!
32496 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
32497 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
32498 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
32499 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
32500 if test "${ac_cv_working_alloca_h+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 @@ -6196,44 +6777,42 @@ int
32506 char *p = (char *) alloca (2 * sizeof (int));
32512 rm -f conftest.$ac_objext conftest$ac_exeext
32513 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32514 - (eval $ac_link) 2>conftest.er1
32515 +if { (ac_try="$ac_link"
32516 +case "(($ac_try" in
32517 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32518 + *) ac_try_echo=$ac_try;;
32520 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32521 + (eval "$ac_link") 2>conftest.er1
32523 grep -v '^ *+' conftest.er1 >conftest.err
32525 cat conftest.err >&5
32526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32527 - (exit $ac_status); } &&
32528 - { ac_try='test -z "$ac_c_werror_flag"
32529 - || test ! -s conftest.err'
32530 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32531 - (eval $ac_try) 2>&5
32533 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 - (exit $ac_status); }; } &&
32535 - { ac_try='test -s conftest$ac_exeext'
32536 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32537 - (eval $ac_try) 2>&5
32539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 - (exit $ac_status); }; }; then
32541 + (exit $ac_status); } && {
32542 + test -z "$ac_c_werror_flag" ||
32543 + test ! -s conftest.err
32544 + } && test -s conftest$ac_exeext &&
32545 + $as_test_x conftest$ac_exeext; then
32546 ac_cv_working_alloca_h=yes
32548 echo "$as_me: failed program was:" >&5
32549 sed 's/^/| /' conftest.$ac_ext >&5
32551 -ac_cv_working_alloca_h=no
32552 + ac_cv_working_alloca_h=no
32554 -rm -f conftest.err conftest.$ac_objext \
32556 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32557 conftest$ac_exeext conftest.$ac_ext
32559 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
32560 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
32561 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
32562 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
32563 if test $ac_cv_working_alloca_h = yes; then
32565 cat >>confdefs.h <<\_ACEOF
32566 @@ -6242,8 +6821,8 @@ _ACEOF
32570 -echo "$as_me:$LINENO: checking for alloca" >&5
32571 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
32572 +{ echo "$as_me:$LINENO: checking for alloca" >&5
32573 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
32574 if test "${ac_cv_func_alloca_works+set}" = set; then
32575 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 @@ -6260,7 +6839,7 @@ cat >>conftest.$ac_ext <<_ACEOF
32578 # include <malloc.h>
32579 # define alloca _alloca
32581 -# if HAVE_ALLOCA_H
32582 +# ifdef HAVE_ALLOCA_H
32583 # include <alloca.h>
32586 @@ -6278,44 +6857,42 @@ int
32589 char *p = (char *) alloca (1);
32595 rm -f conftest.$ac_objext conftest$ac_exeext
32596 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32597 - (eval $ac_link) 2>conftest.er1
32598 +if { (ac_try="$ac_link"
32599 +case "(($ac_try" in
32600 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32601 + *) ac_try_echo=$ac_try;;
32603 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32604 + (eval "$ac_link") 2>conftest.er1
32606 grep -v '^ *+' conftest.er1 >conftest.err
32608 cat conftest.err >&5
32609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32610 - (exit $ac_status); } &&
32611 - { ac_try='test -z "$ac_c_werror_flag"
32612 - || test ! -s conftest.err'
32613 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 - (eval $ac_try) 2>&5
32616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 - (exit $ac_status); }; } &&
32618 - { ac_try='test -s conftest$ac_exeext'
32619 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 - (eval $ac_try) 2>&5
32622 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 - (exit $ac_status); }; }; then
32624 + (exit $ac_status); } && {
32625 + test -z "$ac_c_werror_flag" ||
32626 + test ! -s conftest.err
32627 + } && test -s conftest$ac_exeext &&
32628 + $as_test_x conftest$ac_exeext; then
32629 ac_cv_func_alloca_works=yes
32631 echo "$as_me: failed program was:" >&5
32632 sed 's/^/| /' conftest.$ac_ext >&5
32634 -ac_cv_func_alloca_works=no
32635 + ac_cv_func_alloca_works=no
32637 -rm -f conftest.err conftest.$ac_objext \
32639 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32640 conftest$ac_exeext conftest.$ac_ext
32642 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
32643 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
32644 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
32645 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
32647 if test $ac_cv_func_alloca_works = yes; then
32649 @@ -6329,15 +6906,15 @@ else
32650 # contain a buggy version. If you still want to use their alloca,
32651 # use ar to extract alloca.o from them instead of compiling alloca.c.
32653 -ALLOCA=alloca.$ac_objext
32654 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
32656 cat >>confdefs.h <<\_ACEOF
32661 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
32662 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
32663 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
32664 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
32665 if test "${ac_cv_os_cray+set}" = set; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32668 @@ -6347,7 +6924,7 @@ _ACEOF
32669 cat confdefs.h >>conftest.$ac_ext
32670 cat >>conftest.$ac_ext <<_ACEOF
32671 /* end confdefs.h. */
32672 -#if defined(CRAY) && ! defined(CRAY2)
32673 +#if defined CRAY && ! defined CRAY2
32677 @@ -6363,14 +6940,14 @@ fi
32681 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
32682 -echo "${ECHO_T}$ac_cv_os_cray" >&6
32683 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
32684 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
32685 if test $ac_cv_os_cray = yes; then
32686 for ac_func in _getb67 GETB67 getb67; do
32687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32688 -echo "$as_me:$LINENO: checking for $ac_func" >&5
32689 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32690 -if eval "test \"\${$as_ac_var+set}\" = set"; then
32691 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
32692 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32693 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32694 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 cat >conftest.$ac_ext <<_ACEOF
32697 @@ -6396,68 +6973,60 @@ cat >>conftest.$ac_ext <<_ACEOF
32701 -/* Override any gcc2 internal prototype to avoid an error. */
32702 +/* Override any GCC internal prototype to avoid an error.
32703 + Use char because int might match the return type of a GCC
32704 + builtin and then its argument prototype would still apply. */
32709 -/* We use char because int might match the return type of a gcc2
32710 - builtin and then its argument prototype would still apply. */
32712 /* The GNU C library defines this for functions which it implements
32713 to always fail with ENOSYS. Some functions are actually named
32714 something starting with __ and the normal name is an alias. */
32715 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32716 +#if defined __stub_$ac_func || defined __stub___$ac_func
32719 -char (*f) () = $ac_func;
32721 -#ifdef __cplusplus
32728 -return f != $ac_func;
32729 +return $ac_func ();
32734 rm -f conftest.$ac_objext conftest$ac_exeext
32735 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32736 - (eval $ac_link) 2>conftest.er1
32737 +if { (ac_try="$ac_link"
32738 +case "(($ac_try" in
32739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32740 + *) ac_try_echo=$ac_try;;
32742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32743 + (eval "$ac_link") 2>conftest.er1
32745 grep -v '^ *+' conftest.er1 >conftest.err
32747 cat conftest.err >&5
32748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32749 - (exit $ac_status); } &&
32750 - { ac_try='test -z "$ac_c_werror_flag"
32751 - || test ! -s conftest.err'
32752 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32753 - (eval $ac_try) 2>&5
32755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 - (exit $ac_status); }; } &&
32757 - { ac_try='test -s conftest$ac_exeext'
32758 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32759 - (eval $ac_try) 2>&5
32761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32762 - (exit $ac_status); }; }; then
32763 + (exit $ac_status); } && {
32764 + test -z "$ac_c_werror_flag" ||
32765 + test ! -s conftest.err
32766 + } && test -s conftest$ac_exeext &&
32767 + $as_test_x conftest$ac_exeext; then
32768 eval "$as_ac_var=yes"
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32773 -eval "$as_ac_var=no"
32774 + eval "$as_ac_var=no"
32776 -rm -f conftest.err conftest.$ac_objext \
32778 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32779 conftest$ac_exeext conftest.$ac_ext
32781 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32782 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32783 +ac_res=`eval echo '${'$as_ac_var'}'`
32784 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32785 +echo "${ECHO_T}$ac_res" >&6; }
32786 if test `eval echo '${'$as_ac_var'}'` = yes; then
32788 cat >>confdefs.h <<_ACEOF
32789 @@ -6470,8 +7039,8 @@ fi
32793 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
32794 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
32795 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
32796 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
32797 if test "${ac_cv_c_stack_direction+set}" = set; then
32798 echo $ECHO_N "(cached) $ECHO_C" >&6
32800 @@ -6484,6 +7053,7 @@ _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 +$ac_includes_default
32806 find_stack_direction ()
32808 @@ -6501,17 +7071,26 @@ find_stack_direction ()
32812 - exit (find_stack_direction () < 0);
32813 + return find_stack_direction () < 0;
32816 rm -f conftest$ac_exeext
32817 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32818 - (eval $ac_link) 2>&5
32819 +if { (ac_try="$ac_link"
32820 +case "(($ac_try" in
32821 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32822 + *) ac_try_echo=$ac_try;;
32824 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32825 + (eval "$ac_link") 2>&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32829 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32830 - (eval $ac_try) 2>&5
32831 + { (case "(($ac_try" in
32832 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32833 + *) ac_try_echo=$ac_try;;
32835 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32836 + (eval "$ac_try") 2>&5
32838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32839 (exit $ac_status); }; }; then
32840 @@ -6524,11 +7103,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
32841 ( exit $ac_status )
32842 ac_cv_c_stack_direction=-1
32844 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32845 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32850 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
32851 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
32852 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
32853 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
32855 cat >>confdefs.h <<_ACEOF
32856 #define STACK_DIRECTION $ac_cv_c_stack_direction
32857 @@ -6542,18 +7123,19 @@ fi
32858 for ac_header in stdlib.h unistd.h
32860 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32861 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32862 - echo "$as_me:$LINENO: checking for $ac_header" >&5
32863 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32864 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
32865 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32866 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
32867 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32868 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32869 echo $ECHO_N "(cached) $ECHO_C" >&6
32871 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32872 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32873 +ac_res=`eval echo '${'$as_ac_Header'}'`
32874 + { echo "$as_me:$LINENO: result: $ac_res" >&5
32875 +echo "${ECHO_T}$ac_res" >&6; }
32877 # Is the header compilable?
32878 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
32879 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32880 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
32881 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
32882 cat >conftest.$ac_ext <<_ACEOF
32885 @@ -6564,41 +7146,37 @@ $ac_includes_default
32886 #include <$ac_header>
32888 rm -f conftest.$ac_objext
32889 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32890 - (eval $ac_compile) 2>conftest.er1
32891 +if { (ac_try="$ac_compile"
32892 +case "(($ac_try" in
32893 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32894 + *) ac_try_echo=$ac_try;;
32896 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32897 + (eval "$ac_compile") 2>conftest.er1
32899 grep -v '^ *+' conftest.er1 >conftest.err
32901 cat conftest.err >&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 - (exit $ac_status); } &&
32904 - { ac_try='test -z "$ac_c_werror_flag"
32905 - || test ! -s conftest.err'
32906 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32907 - (eval $ac_try) 2>&5
32909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 - (exit $ac_status); }; } &&
32911 - { ac_try='test -s conftest.$ac_objext'
32912 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 - (eval $ac_try) 2>&5
32915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 - (exit $ac_status); }; }; then
32917 + (exit $ac_status); } && {
32918 + test -z "$ac_c_werror_flag" ||
32919 + test ! -s conftest.err
32920 + } && test -s conftest.$ac_objext; then
32921 ac_header_compiler=yes
32923 echo "$as_me: failed program was:" >&5
32924 sed 's/^/| /' conftest.$ac_ext >&5
32926 -ac_header_compiler=no
32927 + ac_header_compiler=no
32929 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32930 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32931 -echo "${ECHO_T}$ac_header_compiler" >&6
32933 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32934 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32935 +echo "${ECHO_T}$ac_header_compiler" >&6; }
32937 # Is the header present?
32938 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
32939 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32940 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
32941 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
32942 cat >conftest.$ac_ext <<_ACEOF
32945 @@ -6607,24 +7185,22 @@ cat >>conftest.$ac_ext <<_ACEOF
32946 /* end confdefs.h. */
32947 #include <$ac_header>
32949 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32950 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32951 +if { (ac_try="$ac_cpp conftest.$ac_ext"
32952 +case "(($ac_try" in
32953 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32954 + *) ac_try_echo=$ac_try;;
32956 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32957 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32959 grep -v '^ *+' conftest.er1 >conftest.err
32961 cat conftest.err >&5
32962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32963 - (exit $ac_status); } >/dev/null; then
32964 - if test -s conftest.err; then
32965 - ac_cpp_err=$ac_c_preproc_warn_flag
32966 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32973 -if test -z "$ac_cpp_err"; then
32974 + (exit $ac_status); } >/dev/null && {
32975 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32976 + test ! -s conftest.err
32978 ac_header_preproc=yes
32980 echo "$as_me: failed program was:" >&5
32981 @@ -6632,9 +7208,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
32983 ac_header_preproc=no
32986 rm -f conftest.err conftest.$ac_ext
32987 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32988 -echo "${ECHO_T}$ac_header_preproc" >&6
32989 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32990 +echo "${ECHO_T}$ac_header_preproc" >&6; }
32992 # So? What about this header?
32993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32994 @@ -6658,25 +7235,19 @@ echo "$as_me: WARNING: $ac_header: s
32995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33000 -## ------------------------------------------ ##
33001 -## Report this to the AC_PACKAGE_NAME lists. ##
33002 -## ------------------------------------------ ##
33005 - sed "s/^/$as_me: WARNING: /" >&2
33009 -echo "$as_me:$LINENO: checking for $ac_header" >&5
33010 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33011 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33012 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
33013 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33014 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33015 echo $ECHO_N "(cached) $ECHO_C" >&6
33017 eval "$as_ac_Header=\$ac_header_preproc"
33019 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33020 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33021 +ac_res=`eval echo '${'$as_ac_Header'}'`
33022 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33023 +echo "${ECHO_T}$ac_res" >&6; }
33026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33027 @@ -6692,9 +7263,9 @@ done
33028 for ac_func in getpagesize
33030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33031 -echo "$as_me:$LINENO: checking for $ac_func" >&5
33032 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33033 -if eval "test \"\${$as_ac_var+set}\" = set"; then
33034 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
33035 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33036 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33037 echo $ECHO_N "(cached) $ECHO_C" >&6
33039 cat >conftest.$ac_ext <<_ACEOF
33040 @@ -6720,68 +7291,60 @@ cat >>conftest.$ac_ext <<_ACEOF
33044 -/* Override any gcc2 internal prototype to avoid an error. */
33045 +/* Override any GCC internal prototype to avoid an error.
33046 + Use char because int might match the return type of a GCC
33047 + builtin and then its argument prototype would still apply. */
33052 -/* We use char because int might match the return type of a gcc2
33053 - builtin and then its argument prototype would still apply. */
33055 /* The GNU C library defines this for functions which it implements
33056 to always fail with ENOSYS. Some functions are actually named
33057 something starting with __ and the normal name is an alias. */
33058 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33059 +#if defined __stub_$ac_func || defined __stub___$ac_func
33062 -char (*f) () = $ac_func;
33064 -#ifdef __cplusplus
33071 -return f != $ac_func;
33072 +return $ac_func ();
33077 rm -f conftest.$ac_objext conftest$ac_exeext
33078 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33079 - (eval $ac_link) 2>conftest.er1
33080 +if { (ac_try="$ac_link"
33081 +case "(($ac_try" in
33082 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33083 + *) ac_try_echo=$ac_try;;
33085 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33086 + (eval "$ac_link") 2>conftest.er1
33088 grep -v '^ *+' conftest.er1 >conftest.err
33090 cat conftest.err >&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 - (exit $ac_status); } &&
33093 - { ac_try='test -z "$ac_c_werror_flag"
33094 - || test ! -s conftest.err'
33095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 - (eval $ac_try) 2>&5
33098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 - (exit $ac_status); }; } &&
33100 - { ac_try='test -s conftest$ac_exeext'
33101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 - (eval $ac_try) 2>&5
33104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 - (exit $ac_status); }; }; then
33106 + (exit $ac_status); } && {
33107 + test -z "$ac_c_werror_flag" ||
33108 + test ! -s conftest.err
33109 + } && test -s conftest$ac_exeext &&
33110 + $as_test_x conftest$ac_exeext; then
33111 eval "$as_ac_var=yes"
33113 echo "$as_me: failed program was:" >&5
33114 sed 's/^/| /' conftest.$ac_ext >&5
33116 -eval "$as_ac_var=no"
33117 + eval "$as_ac_var=no"
33119 -rm -f conftest.err conftest.$ac_objext \
33121 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33122 conftest$ac_exeext conftest.$ac_ext
33124 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33125 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33126 +ac_res=`eval echo '${'$as_ac_var'}'`
33127 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33128 +echo "${ECHO_T}$ac_res" >&6; }
33129 if test `eval echo '${'$as_ac_var'}'` = yes; then
33130 cat >>confdefs.h <<_ACEOF
33131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33132 @@ -6790,8 +7353,8 @@ _ACEOF
33136 -echo "$as_me:$LINENO: checking for working mmap" >&5
33137 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
33138 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
33139 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
33140 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
33141 echo $ECHO_N "(cached) $ECHO_C" >&6
33143 @@ -6833,21 +7396,21 @@ $ac_includes_default
33145 #include <sys/mman.h>
33147 -#if !STDC_HEADERS && !HAVE_STDLIB_H
33148 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
33152 /* This mess was copied from the GNU getpagesize.h. */
33153 -#if !HAVE_GETPAGESIZE
33154 +#ifndef HAVE_GETPAGESIZE
33155 /* Assume that all systems that can run configure have sys/param.h. */
33156 -# if !HAVE_SYS_PARAM_H
33157 +# ifndef HAVE_SYS_PARAM_H
33158 # define HAVE_SYS_PARAM_H 1
33161 # ifdef _SC_PAGESIZE
33162 # define getpagesize() sysconf(_SC_PAGESIZE)
33163 # else /* no _SC_PAGESIZE */
33164 -# if HAVE_SYS_PARAM_H
33165 +# ifdef HAVE_SYS_PARAM_H
33166 # include <sys/param.h>
33167 # ifdef EXEC_PAGESIZE
33168 # define getpagesize() EXEC_PAGESIZE
33169 @@ -6886,15 +7449,15 @@ main ()
33170 /* First, make a file with some known garbage in it. */
33171 data = (char *) malloc (pagesize);
33175 for (i = 0; i < pagesize; ++i)
33176 *(data + i) = rand ();
33178 fd = creat ("conftest.mmap", 0600);
33182 if (write (fd, data, pagesize) != pagesize)
33187 /* Next, try to mmap the file at a fixed address which already has
33188 @@ -6902,17 +7465,17 @@ main ()
33189 we see the same garbage. */
33190 fd = open ("conftest.mmap", O_RDWR);
33194 data2 = (char *) malloc (2 * pagesize);
33197 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
33199 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
33200 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
33201 MAP_PRIVATE | MAP_FIXED, fd, 0L))
33204 for (i = 0; i < pagesize; ++i)
33205 if (*(data + i) != *(data2 + i))
33209 /* Finally, make sure that changes to the mapped area do not
33210 percolate back to the file as seen by read(). (This is a bug on
33211 @@ -6921,24 +7484,33 @@ main ()
33212 *(data2 + i) = *(data2 + i) + 1;
33213 data3 = (char *) malloc (pagesize);
33217 if (read (fd, data3, pagesize) != pagesize)
33220 for (i = 0; i < pagesize; ++i)
33221 if (*(data + i) != *(data3 + i))
33229 rm -f conftest$ac_exeext
33230 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33231 - (eval $ac_link) 2>&5
33232 +if { (ac_try="$ac_link"
33233 +case "(($ac_try" in
33234 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33235 + *) ac_try_echo=$ac_try;;
33237 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33238 + (eval "$ac_link") 2>&5
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33242 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33243 - (eval $ac_try) 2>&5
33244 + { (case "(($ac_try" in
33245 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33246 + *) ac_try_echo=$ac_try;;
33248 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33249 + (eval "$ac_try") 2>&5
33251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33252 (exit $ac_status); }; }; then
33253 @@ -6951,11 +7523,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
33254 ( exit $ac_status )
33255 ac_cv_func_mmap_fixed_mapped=no
33257 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33258 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33263 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33264 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
33265 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
33266 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
33267 if test $ac_cv_func_mmap_fixed_mapped = yes; then
33269 cat >>confdefs.h <<\_ACEOF
33270 @@ -6979,18 +7553,19 @@ for ac_header in argz.h limits.h locale.
33271 unistd.h values.h sys/param.h
33273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33274 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33275 - echo "$as_me:$LINENO: checking for $ac_header" >&5
33276 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33277 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33278 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33279 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
33280 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33281 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33282 echo $ECHO_N "(cached) $ECHO_C" >&6
33284 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33285 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33286 +ac_res=`eval echo '${'$as_ac_Header'}'`
33287 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33288 +echo "${ECHO_T}$ac_res" >&6; }
33290 # Is the header compilable?
33291 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
33292 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
33293 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
33294 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
33295 cat >conftest.$ac_ext <<_ACEOF
33298 @@ -7001,41 +7576,37 @@ $ac_includes_default
33299 #include <$ac_header>
33301 rm -f conftest.$ac_objext
33302 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33303 - (eval $ac_compile) 2>conftest.er1
33304 +if { (ac_try="$ac_compile"
33305 +case "(($ac_try" in
33306 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33307 + *) ac_try_echo=$ac_try;;
33309 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33310 + (eval "$ac_compile") 2>conftest.er1
33312 grep -v '^ *+' conftest.er1 >conftest.err
33314 cat conftest.err >&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 - (exit $ac_status); } &&
33317 - { ac_try='test -z "$ac_c_werror_flag"
33318 - || test ! -s conftest.err'
33319 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320 - (eval $ac_try) 2>&5
33322 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323 - (exit $ac_status); }; } &&
33324 - { ac_try='test -s conftest.$ac_objext'
33325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33326 - (eval $ac_try) 2>&5
33328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329 - (exit $ac_status); }; }; then
33330 + (exit $ac_status); } && {
33331 + test -z "$ac_c_werror_flag" ||
33332 + test ! -s conftest.err
33333 + } && test -s conftest.$ac_objext; then
33334 ac_header_compiler=yes
33336 echo "$as_me: failed program was:" >&5
33337 sed 's/^/| /' conftest.$ac_ext >&5
33339 -ac_header_compiler=no
33340 + ac_header_compiler=no
33342 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33343 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33344 -echo "${ECHO_T}$ac_header_compiler" >&6
33346 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33347 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33348 +echo "${ECHO_T}$ac_header_compiler" >&6; }
33350 # Is the header present?
33351 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
33352 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
33353 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
33354 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
33355 cat >conftest.$ac_ext <<_ACEOF
33358 @@ -7044,24 +7615,22 @@ cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360 #include <$ac_header>
33362 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33363 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33364 +if { (ac_try="$ac_cpp conftest.$ac_ext"
33365 +case "(($ac_try" in
33366 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33367 + *) ac_try_echo=$ac_try;;
33369 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33370 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33372 grep -v '^ *+' conftest.er1 >conftest.err
33374 cat conftest.err >&5
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 - (exit $ac_status); } >/dev/null; then
33377 - if test -s conftest.err; then
33378 - ac_cpp_err=$ac_c_preproc_warn_flag
33379 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33386 -if test -z "$ac_cpp_err"; then
33387 + (exit $ac_status); } >/dev/null && {
33388 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33389 + test ! -s conftest.err
33391 ac_header_preproc=yes
33393 echo "$as_me: failed program was:" >&5
33394 @@ -7069,9 +7638,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
33396 ac_header_preproc=no
33399 rm -f conftest.err conftest.$ac_ext
33400 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33401 -echo "${ECHO_T}$ac_header_preproc" >&6
33402 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33403 +echo "${ECHO_T}$ac_header_preproc" >&6; }
33405 # So? What about this header?
33406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33407 @@ -7095,25 +7665,19 @@ echo "$as_me: WARNING: $ac_header: s
33408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
33409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
33410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
33413 -## ------------------------------------------ ##
33414 -## Report this to the AC_PACKAGE_NAME lists. ##
33415 -## ------------------------------------------ ##
33418 - sed "s/^/$as_me: WARNING: /" >&2
33422 -echo "$as_me:$LINENO: checking for $ac_header" >&5
33423 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33424 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
33425 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
33426 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
33427 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
33428 echo $ECHO_N "(cached) $ECHO_C" >&6
33430 eval "$as_ac_Header=\$ac_header_preproc"
33432 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33433 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33434 +ac_res=`eval echo '${'$as_ac_Header'}'`
33435 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33436 +echo "${ECHO_T}$ac_res" >&6; }
33439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33440 @@ -7139,9 +7703,9 @@ for ac_func in getcwd munmap putenv sete
33441 __argz_count __argz_stringify __argz_next
33443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33444 -echo "$as_me:$LINENO: checking for $ac_func" >&5
33445 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33446 -if eval "test \"\${$as_ac_var+set}\" = set"; then
33447 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
33448 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33449 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33450 echo $ECHO_N "(cached) $ECHO_C" >&6
33452 cat >conftest.$ac_ext <<_ACEOF
33453 @@ -7167,68 +7731,60 @@ cat >>conftest.$ac_ext <<_ACEOF
33457 -/* Override any gcc2 internal prototype to avoid an error. */
33458 +/* Override any GCC internal prototype to avoid an error.
33459 + Use char because int might match the return type of a GCC
33460 + builtin and then its argument prototype would still apply. */
33465 -/* We use char because int might match the return type of a gcc2
33466 - builtin and then its argument prototype would still apply. */
33468 /* The GNU C library defines this for functions which it implements
33469 to always fail with ENOSYS. Some functions are actually named
33470 something starting with __ and the normal name is an alias. */
33471 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33472 +#if defined __stub_$ac_func || defined __stub___$ac_func
33475 -char (*f) () = $ac_func;
33477 -#ifdef __cplusplus
33484 -return f != $ac_func;
33485 +return $ac_func ();
33490 rm -f conftest.$ac_objext conftest$ac_exeext
33491 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33492 - (eval $ac_link) 2>conftest.er1
33493 +if { (ac_try="$ac_link"
33494 +case "(($ac_try" in
33495 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33496 + *) ac_try_echo=$ac_try;;
33498 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33499 + (eval "$ac_link") 2>conftest.er1
33501 grep -v '^ *+' conftest.er1 >conftest.err
33503 cat conftest.err >&5
33504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33505 - (exit $ac_status); } &&
33506 - { ac_try='test -z "$ac_c_werror_flag"
33507 - || test ! -s conftest.err'
33508 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33509 - (eval $ac_try) 2>&5
33511 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33512 - (exit $ac_status); }; } &&
33513 - { ac_try='test -s conftest$ac_exeext'
33514 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33515 - (eval $ac_try) 2>&5
33517 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33518 - (exit $ac_status); }; }; then
33519 + (exit $ac_status); } && {
33520 + test -z "$ac_c_werror_flag" ||
33521 + test ! -s conftest.err
33522 + } && test -s conftest$ac_exeext &&
33523 + $as_test_x conftest$ac_exeext; then
33524 eval "$as_ac_var=yes"
33526 echo "$as_me: failed program was:" >&5
33527 sed 's/^/| /' conftest.$ac_ext >&5
33529 -eval "$as_ac_var=no"
33530 + eval "$as_ac_var=no"
33532 -rm -f conftest.err conftest.$ac_objext \
33534 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33535 conftest$ac_exeext conftest.$ac_ext
33537 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33538 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33539 +ac_res=`eval echo '${'$as_ac_var'}'`
33540 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33541 +echo "${ECHO_T}$ac_res" >&6; }
33542 if test `eval echo '${'$as_ac_var'}'` = yes; then
33543 cat >>confdefs.h <<_ACEOF
33544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33545 @@ -7243,9 +7799,9 @@ done
33546 for ac_func in stpcpy
33548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33549 -echo "$as_me:$LINENO: checking for $ac_func" >&5
33550 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33551 -if eval "test \"\${$as_ac_var+set}\" = set"; then
33552 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
33553 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33554 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33555 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 cat >conftest.$ac_ext <<_ACEOF
33558 @@ -7271,68 +7827,60 @@ cat >>conftest.$ac_ext <<_ACEOF
33562 -/* Override any gcc2 internal prototype to avoid an error. */
33563 +/* Override any GCC internal prototype to avoid an error.
33564 + Use char because int might match the return type of a GCC
33565 + builtin and then its argument prototype would still apply. */
33570 -/* We use char because int might match the return type of a gcc2
33571 - builtin and then its argument prototype would still apply. */
33573 /* The GNU C library defines this for functions which it implements
33574 to always fail with ENOSYS. Some functions are actually named
33575 something starting with __ and the normal name is an alias. */
33576 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33577 +#if defined __stub_$ac_func || defined __stub___$ac_func
33580 -char (*f) () = $ac_func;
33582 -#ifdef __cplusplus
33589 -return f != $ac_func;
33590 +return $ac_func ();
33595 rm -f conftest.$ac_objext conftest$ac_exeext
33596 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33597 - (eval $ac_link) 2>conftest.er1
33598 +if { (ac_try="$ac_link"
33599 +case "(($ac_try" in
33600 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33601 + *) ac_try_echo=$ac_try;;
33603 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33604 + (eval "$ac_link") 2>conftest.er1
33606 grep -v '^ *+' conftest.er1 >conftest.err
33608 cat conftest.err >&5
33609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33610 - (exit $ac_status); } &&
33611 - { ac_try='test -z "$ac_c_werror_flag"
33612 - || test ! -s conftest.err'
33613 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33614 - (eval $ac_try) 2>&5
33616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33617 - (exit $ac_status); }; } &&
33618 - { ac_try='test -s conftest$ac_exeext'
33619 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33620 - (eval $ac_try) 2>&5
33622 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 - (exit $ac_status); }; }; then
33624 + (exit $ac_status); } && {
33625 + test -z "$ac_c_werror_flag" ||
33626 + test ! -s conftest.err
33627 + } && test -s conftest$ac_exeext &&
33628 + $as_test_x conftest$ac_exeext; then
33629 eval "$as_ac_var=yes"
33631 echo "$as_me: failed program was:" >&5
33632 sed 's/^/| /' conftest.$ac_ext >&5
33634 -eval "$as_ac_var=no"
33635 + eval "$as_ac_var=no"
33637 -rm -f conftest.err conftest.$ac_objext \
33639 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33640 conftest$ac_exeext conftest.$ac_ext
33642 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33643 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33644 +ac_res=`eval echo '${'$as_ac_var'}'`
33645 + { echo "$as_me:$LINENO: result: $ac_res" >&5
33646 +echo "${ECHO_T}$ac_res" >&6; }
33647 if test `eval echo '${'$as_ac_var'}'` = yes; then
33648 cat >>confdefs.h <<_ACEOF
33649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33650 @@ -7351,8 +7899,8 @@ _ACEOF
33653 if test $ac_cv_header_locale_h = yes; then
33654 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
33655 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
33656 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
33657 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
33658 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
33659 echo $ECHO_N "(cached) $ECHO_C" >&6
33661 @@ -7372,39 +7920,36 @@ return LC_MESSAGES
33664 rm -f conftest.$ac_objext conftest$ac_exeext
33665 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33666 - (eval $ac_link) 2>conftest.er1
33667 +if { (ac_try="$ac_link"
33668 +case "(($ac_try" in
33669 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33670 + *) ac_try_echo=$ac_try;;
33672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33673 + (eval "$ac_link") 2>conftest.er1
33675 grep -v '^ *+' conftest.er1 >conftest.err
33677 cat conftest.err >&5
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 - (exit $ac_status); } &&
33680 - { ac_try='test -z "$ac_c_werror_flag"
33681 - || test ! -s conftest.err'
33682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33683 - (eval $ac_try) 2>&5
33685 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33686 - (exit $ac_status); }; } &&
33687 - { ac_try='test -s conftest$ac_exeext'
33688 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33689 - (eval $ac_try) 2>&5
33691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33692 - (exit $ac_status); }; }; then
33693 + (exit $ac_status); } && {
33694 + test -z "$ac_c_werror_flag" ||
33695 + test ! -s conftest.err
33696 + } && test -s conftest$ac_exeext &&
33697 + $as_test_x conftest$ac_exeext; then
33698 am_cv_val_LC_MESSAGES=yes
33700 echo "$as_me: failed program was:" >&5
33701 sed 's/^/| /' conftest.$ac_ext >&5
33703 -am_cv_val_LC_MESSAGES=no
33704 + am_cv_val_LC_MESSAGES=no
33706 -rm -f conftest.err conftest.$ac_objext \
33708 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33709 conftest$ac_exeext conftest.$ac_ext
33711 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
33712 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
33713 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
33714 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
33715 if test $am_cv_val_LC_MESSAGES = yes; then
33717 cat >>confdefs.h <<\_ACEOF
33718 @@ -7413,34 +7958,34 @@ _ACEOF
33722 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
33723 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
33724 - # Check whether --enable-nls or --disable-nls was given.
33725 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
33726 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
33727 + # Check whether --enable-nls was given.
33728 if test "${enable_nls+set}" = set; then
33729 - enableval="$enable_nls"
33730 - USE_NLS=$enableval
33731 + enableval=$enable_nls; USE_NLS=$enableval
33735 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
33736 -echo "${ECHO_T}$USE_NLS" >&6
33739 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
33740 +echo "${ECHO_T}$USE_NLS" >&6; }
33743 USE_INCLUDED_LIBINTL=no
33745 if test "$USE_NLS" = "yes"; then
33746 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
33747 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
33748 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
33749 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
33751 -# Check whether --with-included-gettext or --without-included-gettext was given.
33752 +# Check whether --with-included-gettext was given.
33753 if test "${with_included_gettext+set}" = set; then
33754 - withval="$with_included_gettext"
33755 - nls_cv_force_use_gnu_gettext=$withval
33756 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
33758 nls_cv_force_use_gnu_gettext=no
33760 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
33761 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
33764 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
33765 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
33767 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
33768 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
33769 @@ -7449,17 +7994,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
33772 if test "${ac_cv_header_libintl_h+set}" = set; then
33773 - echo "$as_me:$LINENO: checking for libintl.h" >&5
33774 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
33775 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
33776 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
33777 if test "${ac_cv_header_libintl_h+set}" = set; then
33778 echo $ECHO_N "(cached) $ECHO_C" >&6
33780 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33781 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
33782 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33783 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
33785 # Is the header compilable?
33786 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
33787 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
33788 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
33789 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
33790 cat >conftest.$ac_ext <<_ACEOF
33793 @@ -7470,41 +8015,37 @@ $ac_includes_default
33794 #include <libintl.h>
33796 rm -f conftest.$ac_objext
33797 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33798 - (eval $ac_compile) 2>conftest.er1
33799 +if { (ac_try="$ac_compile"
33800 +case "(($ac_try" in
33801 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33802 + *) ac_try_echo=$ac_try;;
33804 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33805 + (eval "$ac_compile") 2>conftest.er1
33807 grep -v '^ *+' conftest.er1 >conftest.err
33809 cat conftest.err >&5
33810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33811 - (exit $ac_status); } &&
33812 - { ac_try='test -z "$ac_c_werror_flag"
33813 - || test ! -s conftest.err'
33814 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 - (eval $ac_try) 2>&5
33817 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 - (exit $ac_status); }; } &&
33819 - { ac_try='test -s conftest.$ac_objext'
33820 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33821 - (eval $ac_try) 2>&5
33823 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33824 - (exit $ac_status); }; }; then
33825 + (exit $ac_status); } && {
33826 + test -z "$ac_c_werror_flag" ||
33827 + test ! -s conftest.err
33828 + } && test -s conftest.$ac_objext; then
33829 ac_header_compiler=yes
33831 echo "$as_me: failed program was:" >&5
33832 sed 's/^/| /' conftest.$ac_ext >&5
33834 -ac_header_compiler=no
33835 + ac_header_compiler=no
33837 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33838 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33839 -echo "${ECHO_T}$ac_header_compiler" >&6
33841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33842 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33843 +echo "${ECHO_T}$ac_header_compiler" >&6; }
33845 # Is the header present?
33846 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
33847 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
33848 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
33849 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
33850 cat >conftest.$ac_ext <<_ACEOF
33853 @@ -7513,24 +8054,22 @@ cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33855 #include <libintl.h>
33857 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33858 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33859 +if { (ac_try="$ac_cpp conftest.$ac_ext"
33860 +case "(($ac_try" in
33861 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33862 + *) ac_try_echo=$ac_try;;
33864 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33865 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
33867 grep -v '^ *+' conftest.er1 >conftest.err
33869 cat conftest.err >&5
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 - (exit $ac_status); } >/dev/null; then
33872 - if test -s conftest.err; then
33873 - ac_cpp_err=$ac_c_preproc_warn_flag
33874 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
33881 -if test -z "$ac_cpp_err"; then
33882 + (exit $ac_status); } >/dev/null && {
33883 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
33884 + test ! -s conftest.err
33886 ac_header_preproc=yes
33888 echo "$as_me: failed program was:" >&5
33889 @@ -7538,9 +8077,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
33891 ac_header_preproc=no
33894 rm -f conftest.err conftest.$ac_ext
33895 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33896 -echo "${ECHO_T}$ac_header_preproc" >&6
33897 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33898 +echo "${ECHO_T}$ac_header_preproc" >&6; }
33900 # So? What about this header?
33901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
33902 @@ -7564,30 +8104,23 @@ echo "$as_me: WARNING: libintl.h: se
33903 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
33904 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
33905 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
33908 -## ------------------------------------------ ##
33909 -## Report this to the AC_PACKAGE_NAME lists. ##
33910 -## ------------------------------------------ ##
33913 - sed "s/^/$as_me: WARNING: /" >&2
33917 -echo "$as_me:$LINENO: checking for libintl.h" >&5
33918 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
33919 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
33920 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
33921 if test "${ac_cv_header_libintl_h+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 ac_cv_header_libintl_h=$ac_header_preproc
33926 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33927 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
33928 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
33929 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
33932 if test $ac_cv_header_libintl_h = yes; then
33933 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
33934 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
33935 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
33936 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
33937 if test "${gt_cv_func_gettext_libc+set}" = set; then
33938 echo $ECHO_N "(cached) $ECHO_C" >&6
33940 @@ -7607,43 +8140,40 @@ return (int) gettext ("")
33943 rm -f conftest.$ac_objext conftest$ac_exeext
33944 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33945 - (eval $ac_link) 2>conftest.er1
33946 +if { (ac_try="$ac_link"
33947 +case "(($ac_try" in
33948 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33949 + *) ac_try_echo=$ac_try;;
33951 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33952 + (eval "$ac_link") 2>conftest.er1
33954 grep -v '^ *+' conftest.er1 >conftest.err
33956 cat conftest.err >&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 - (exit $ac_status); } &&
33959 - { ac_try='test -z "$ac_c_werror_flag"
33960 - || test ! -s conftest.err'
33961 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962 - (eval $ac_try) 2>&5
33964 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965 - (exit $ac_status); }; } &&
33966 - { ac_try='test -s conftest$ac_exeext'
33967 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33968 - (eval $ac_try) 2>&5
33970 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 - (exit $ac_status); }; }; then
33972 + (exit $ac_status); } && {
33973 + test -z "$ac_c_werror_flag" ||
33974 + test ! -s conftest.err
33975 + } && test -s conftest$ac_exeext &&
33976 + $as_test_x conftest$ac_exeext; then
33977 gt_cv_func_gettext_libc=yes
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.$ac_ext >&5
33982 -gt_cv_func_gettext_libc=no
33983 + gt_cv_func_gettext_libc=no
33985 -rm -f conftest.err conftest.$ac_objext \
33987 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33988 conftest$ac_exeext conftest.$ac_ext
33990 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
33991 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
33992 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
33993 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
33995 if test "$gt_cv_func_gettext_libc" != "yes"; then
33996 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
33997 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
33998 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
33999 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
34000 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34003 @@ -7656,59 +8186,56 @@ cat confdefs.h >>conftest.$ac_ext
34004 cat >>conftest.$ac_ext <<_ACEOF
34005 /* end confdefs.h. */
34007 -/* Override any gcc2 internal prototype to avoid an error. */
34008 +/* Override any GCC internal prototype to avoid an error.
34009 + Use char because int might match the return type of a GCC
34010 + builtin and then its argument prototype would still apply. */
34014 -/* We use char because int might match the return type of a gcc2
34015 - builtin and then its argument prototype would still apply. */
34016 char bindtextdomain ();
34020 -bindtextdomain ();
34021 +return bindtextdomain ();
34026 rm -f conftest.$ac_objext conftest$ac_exeext
34027 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34028 - (eval $ac_link) 2>conftest.er1
34029 +if { (ac_try="$ac_link"
34030 +case "(($ac_try" in
34031 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34032 + *) ac_try_echo=$ac_try;;
34034 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34035 + (eval "$ac_link") 2>conftest.er1
34037 grep -v '^ *+' conftest.er1 >conftest.err
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 - (exit $ac_status); } &&
34042 - { ac_try='test -z "$ac_c_werror_flag"
34043 - || test ! -s conftest.err'
34044 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 - (eval $ac_try) 2>&5
34047 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 - (exit $ac_status); }; } &&
34049 - { ac_try='test -s conftest$ac_exeext'
34050 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34051 - (eval $ac_try) 2>&5
34053 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 - (exit $ac_status); }; }; then
34055 + (exit $ac_status); } && {
34056 + test -z "$ac_c_werror_flag" ||
34057 + test ! -s conftest.err
34058 + } && test -s conftest$ac_exeext &&
34059 + $as_test_x conftest$ac_exeext; then
34060 ac_cv_lib_intl_bindtextdomain=yes
34062 echo "$as_me: failed program was:" >&5
34063 sed 's/^/| /' conftest.$ac_ext >&5
34065 -ac_cv_lib_intl_bindtextdomain=no
34066 + ac_cv_lib_intl_bindtextdomain=no
34068 -rm -f conftest.err conftest.$ac_objext \
34070 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34071 conftest$ac_exeext conftest.$ac_ext
34072 LIBS=$ac_check_lib_save_LIBS
34074 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
34075 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
34076 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
34077 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
34078 if test $ac_cv_lib_intl_bindtextdomain = yes; then
34079 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
34080 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
34081 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
34082 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
34083 if test "${gt_cv_func_gettext_libintl+set}" = set; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34086 @@ -7728,39 +8255,36 @@ return (int) gettext ("")
34089 rm -f conftest.$ac_objext conftest$ac_exeext
34090 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34091 - (eval $ac_link) 2>conftest.er1
34092 +if { (ac_try="$ac_link"
34093 +case "(($ac_try" in
34094 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34095 + *) ac_try_echo=$ac_try;;
34097 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34098 + (eval "$ac_link") 2>conftest.er1
34100 grep -v '^ *+' conftest.er1 >conftest.err
34102 cat conftest.err >&5
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 - (exit $ac_status); } &&
34105 - { ac_try='test -z "$ac_c_werror_flag"
34106 - || test ! -s conftest.err'
34107 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108 - (eval $ac_try) 2>&5
34110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 - (exit $ac_status); }; } &&
34112 - { ac_try='test -s conftest$ac_exeext'
34113 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34114 - (eval $ac_try) 2>&5
34116 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 - (exit $ac_status); }; }; then
34118 + (exit $ac_status); } && {
34119 + test -z "$ac_c_werror_flag" ||
34120 + test ! -s conftest.err
34121 + } && test -s conftest$ac_exeext &&
34122 + $as_test_x conftest$ac_exeext; then
34123 gt_cv_func_gettext_libintl=yes
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.$ac_ext >&5
34128 -gt_cv_func_gettext_libintl=no
34129 + gt_cv_func_gettext_libintl=no
34131 -rm -f conftest.err conftest.$ac_objext \
34133 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34134 conftest$ac_exeext conftest.$ac_ext
34136 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
34137 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
34138 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
34139 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
34143 @@ -7774,8 +8298,8 @@ _ACEOF
34145 # Extract the first word of "msgfmt", so it can be a program name with args.
34146 set dummy msgfmt; ac_word=$2
34147 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34148 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34149 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34150 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34151 if test "${ac_cv_path_MSGFMT+set}" = set; then
34152 echo $ECHO_N "(cached) $ECHO_C" >&6
34154 @@ -7801,20 +8325,20 @@ esac
34156 MSGFMT="$ac_cv_path_MSGFMT"
34157 if test -n "$MSGFMT"; then
34158 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
34159 -echo "${ECHO_T}$MSGFMT" >&6
34160 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
34161 +echo "${ECHO_T}$MSGFMT" >&6; }
34163 - echo "$as_me:$LINENO: result: no" >&5
34164 -echo "${ECHO_T}no" >&6
34165 + { echo "$as_me:$LINENO: result: no" >&5
34166 +echo "${ECHO_T}no" >&6; }
34168 if test "$MSGFMT" != "no"; then
34170 for ac_func in dcgettext
34172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34173 -echo "$as_me:$LINENO: checking for $ac_func" >&5
34174 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34175 -if eval "test \"\${$as_ac_var+set}\" = set"; then
34176 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
34177 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34178 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34179 echo $ECHO_N "(cached) $ECHO_C" >&6
34181 cat >conftest.$ac_ext <<_ACEOF
34182 @@ -7840,68 +8364,60 @@ cat >>conftest.$ac_ext <<_ACEOF
34186 -/* Override any gcc2 internal prototype to avoid an error. */
34187 +/* Override any GCC internal prototype to avoid an error.
34188 + Use char because int might match the return type of a GCC
34189 + builtin and then its argument prototype would still apply. */
34194 -/* We use char because int might match the return type of a gcc2
34195 - builtin and then its argument prototype would still apply. */
34197 /* The GNU C library defines this for functions which it implements
34198 to always fail with ENOSYS. Some functions are actually named
34199 something starting with __ and the normal name is an alias. */
34200 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34201 +#if defined __stub_$ac_func || defined __stub___$ac_func
34204 -char (*f) () = $ac_func;
34206 -#ifdef __cplusplus
34213 -return f != $ac_func;
34214 +return $ac_func ();
34219 rm -f conftest.$ac_objext conftest$ac_exeext
34220 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34221 - (eval $ac_link) 2>conftest.er1
34222 +if { (ac_try="$ac_link"
34223 +case "(($ac_try" in
34224 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34225 + *) ac_try_echo=$ac_try;;
34227 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34228 + (eval "$ac_link") 2>conftest.er1
34230 grep -v '^ *+' conftest.er1 >conftest.err
34232 cat conftest.err >&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 - (exit $ac_status); } &&
34235 - { ac_try='test -z "$ac_c_werror_flag"
34236 - || test ! -s conftest.err'
34237 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 - (eval $ac_try) 2>&5
34240 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 - (exit $ac_status); }; } &&
34242 - { ac_try='test -s conftest$ac_exeext'
34243 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 - (eval $ac_try) 2>&5
34246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 - (exit $ac_status); }; }; then
34248 + (exit $ac_status); } && {
34249 + test -z "$ac_c_werror_flag" ||
34250 + test ! -s conftest.err
34251 + } && test -s conftest$ac_exeext &&
34252 + $as_test_x conftest$ac_exeext; then
34253 eval "$as_ac_var=yes"
34255 echo "$as_me: failed program was:" >&5
34256 sed 's/^/| /' conftest.$ac_ext >&5
34258 -eval "$as_ac_var=no"
34259 + eval "$as_ac_var=no"
34261 -rm -f conftest.err conftest.$ac_objext \
34263 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34264 conftest$ac_exeext conftest.$ac_ext
34266 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34267 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34268 +ac_res=`eval echo '${'$as_ac_var'}'`
34269 + { echo "$as_me:$LINENO: result: $ac_res" >&5
34270 +echo "${ECHO_T}$ac_res" >&6; }
34271 if test `eval echo '${'$as_ac_var'}'` = yes; then
34272 cat >>confdefs.h <<_ACEOF
34273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34274 @@ -7912,8 +8428,8 @@ done
34276 # Extract the first word of "gmsgfmt", so it can be a program name with args.
34277 set dummy gmsgfmt; ac_word=$2
34278 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34279 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34280 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34281 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34282 if test "${ac_cv_path_GMSGFMT+set}" = set; then
34283 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 @@ -7928,32 +8444,33 @@ do
34287 test -z "$as_dir" && as_dir=.
34288 for ac_exec_ext in '' $ac_executable_extensions; do
34289 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34290 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34291 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
34292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34299 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
34303 GMSGFMT=$ac_cv_path_GMSGFMT
34305 if test -n "$GMSGFMT"; then
34306 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34307 -echo "${ECHO_T}$GMSGFMT" >&6
34308 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34309 +echo "${ECHO_T}$GMSGFMT" >&6; }
34311 - echo "$as_me:$LINENO: result: no" >&5
34312 -echo "${ECHO_T}no" >&6
34313 + { echo "$as_me:$LINENO: result: no" >&5
34314 +echo "${ECHO_T}no" >&6; }
34318 # Extract the first word of "xgettext", so it can be a program name with args.
34319 set dummy xgettext; ac_word=$2
34320 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34321 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34322 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34323 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34324 if test "${ac_cv_path_XGETTEXT+set}" = set; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34327 @@ -7979,11 +8496,11 @@ esac
34329 XGETTEXT="$ac_cv_path_XGETTEXT"
34330 if test -n "$XGETTEXT"; then
34331 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34332 -echo "${ECHO_T}$XGETTEXT" >&6
34333 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34334 +echo "${ECHO_T}$XGETTEXT" >&6; }
34336 - echo "$as_me:$LINENO: result: no" >&5
34337 -echo "${ECHO_T}no" >&6
34338 + { echo "$as_me:$LINENO: result: no" >&5
34339 +echo "${ECHO_T}no" >&6; }
34342 cat >conftest.$ac_ext <<_ACEOF
34343 @@ -8003,37 +8520,34 @@ extern int _nl_msg_cat_cntr;
34346 rm -f conftest.$ac_objext conftest$ac_exeext
34347 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34348 - (eval $ac_link) 2>conftest.er1
34349 +if { (ac_try="$ac_link"
34350 +case "(($ac_try" in
34351 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34352 + *) ac_try_echo=$ac_try;;
34354 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34355 + (eval "$ac_link") 2>conftest.er1
34357 grep -v '^ *+' conftest.er1 >conftest.err
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 - (exit $ac_status); } &&
34362 - { ac_try='test -z "$ac_c_werror_flag"
34363 - || test ! -s conftest.err'
34364 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 - (eval $ac_try) 2>&5
34367 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 - (exit $ac_status); }; } &&
34369 - { ac_try='test -s conftest$ac_exeext'
34370 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 - (eval $ac_try) 2>&5
34373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 - (exit $ac_status); }; }; then
34375 + (exit $ac_status); } && {
34376 + test -z "$ac_c_werror_flag" ||
34377 + test ! -s conftest.err
34378 + } && test -s conftest$ac_exeext &&
34379 + $as_test_x conftest$ac_exeext; then
34383 echo "$as_me: failed program was:" >&5
34384 sed 's/^/| /' conftest.$ac_ext >&5
34390 -rm -f conftest.err conftest.$ac_objext \
34392 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34393 conftest$ac_exeext conftest.$ac_ext
34396 @@ -8055,8 +8569,8 @@ fi
34397 INTLOBJS="\$(GETTOBJS)"
34398 # Extract the first word of "msgfmt", so it can be a program name with args.
34399 set dummy msgfmt; ac_word=$2
34400 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34401 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34402 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34403 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34404 if test "${ac_cv_path_MSGFMT+set}" = set; then
34405 echo $ECHO_N "(cached) $ECHO_C" >&6
34407 @@ -8082,17 +8596,17 @@ esac
34409 MSGFMT="$ac_cv_path_MSGFMT"
34410 if test -n "$MSGFMT"; then
34411 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
34412 -echo "${ECHO_T}$MSGFMT" >&6
34413 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
34414 +echo "${ECHO_T}$MSGFMT" >&6; }
34416 - echo "$as_me:$LINENO: result: no" >&5
34417 -echo "${ECHO_T}no" >&6
34418 + { echo "$as_me:$LINENO: result: no" >&5
34419 +echo "${ECHO_T}no" >&6; }
34422 # Extract the first word of "gmsgfmt", so it can be a program name with args.
34423 set dummy gmsgfmt; ac_word=$2
34424 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34425 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34426 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34427 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34428 if test "${ac_cv_path_GMSGFMT+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34431 @@ -8107,32 +8621,33 @@ do
34433 test -z "$as_dir" && as_dir=.
34434 for ac_exec_ext in '' $ac_executable_extensions; do
34435 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34436 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34437 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
34438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34445 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
34449 GMSGFMT=$ac_cv_path_GMSGFMT
34451 if test -n "$GMSGFMT"; then
34452 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34453 -echo "${ECHO_T}$GMSGFMT" >&6
34454 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
34455 +echo "${ECHO_T}$GMSGFMT" >&6; }
34457 - echo "$as_me:$LINENO: result: no" >&5
34458 -echo "${ECHO_T}no" >&6
34459 + { echo "$as_me:$LINENO: result: no" >&5
34460 +echo "${ECHO_T}no" >&6; }
34464 # Extract the first word of "xgettext", so it can be a program name with args.
34465 set dummy xgettext; ac_word=$2
34466 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34467 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34468 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34469 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34470 if test "${ac_cv_path_XGETTEXT+set}" = set; then
34471 echo $ECHO_N "(cached) $ECHO_C" >&6
34473 @@ -8158,11 +8673,11 @@ esac
34475 XGETTEXT="$ac_cv_path_XGETTEXT"
34476 if test -n "$XGETTEXT"; then
34477 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34478 -echo "${ECHO_T}$XGETTEXT" >&6
34479 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
34480 +echo "${ECHO_T}$XGETTEXT" >&6; }
34482 - echo "$as_me:$LINENO: result: no" >&5
34483 -echo "${ECHO_T}no" >&6
34484 + { echo "$as_me:$LINENO: result: no" >&5
34485 +echo "${ECHO_T}no" >&6; }
34489 @@ -8181,8 +8696,8 @@ fi
34490 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
34493 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
34494 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
34495 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
34496 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
34500 @@ -8231,8 +8746,8 @@ _ACEOF
34501 if test "x$ALL_LINGUAS" = "x"; then
34504 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
34505 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
34506 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
34507 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
34509 for lang in ${LINGUAS=$ALL_LINGUAS}; do
34510 case "$ALL_LINGUAS" in
34511 @@ -8240,8 +8755,8 @@ echo $ECHO_N "checking for catalogs to b
34514 LINGUAS=$NEW_LINGUAS
34515 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
34516 -echo "${ECHO_T}$LINGUAS" >&6
34517 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
34518 +echo "${ECHO_T}$LINGUAS" >&6; }
34521 if test -n "$LINGUAS"; then
34522 @@ -8260,17 +8775,17 @@ echo "${ECHO_T}$LINGUAS" >&6
34523 if test -f $srcdir/po2tbl.sed.in; then
34524 if test "$CATOBJEXT" = ".cat"; then
34525 if test "${ac_cv_header_linux_version_h+set}" = set; then
34526 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
34527 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
34528 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
34529 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
34530 if test "${ac_cv_header_linux_version_h+set}" = set; then
34531 echo $ECHO_N "(cached) $ECHO_C" >&6
34533 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34534 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
34535 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34536 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
34538 # Is the header compilable?
34539 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
34540 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
34541 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
34542 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
34543 cat >conftest.$ac_ext <<_ACEOF
34546 @@ -8281,41 +8796,37 @@ $ac_includes_default
34547 #include <linux/version.h>
34549 rm -f conftest.$ac_objext
34550 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34551 - (eval $ac_compile) 2>conftest.er1
34552 +if { (ac_try="$ac_compile"
34553 +case "(($ac_try" in
34554 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34555 + *) ac_try_echo=$ac_try;;
34557 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34558 + (eval "$ac_compile") 2>conftest.er1
34560 grep -v '^ *+' conftest.er1 >conftest.err
34562 cat conftest.err >&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 - (exit $ac_status); } &&
34565 - { ac_try='test -z "$ac_c_werror_flag"
34566 - || test ! -s conftest.err'
34567 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568 - (eval $ac_try) 2>&5
34570 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 - (exit $ac_status); }; } &&
34572 - { ac_try='test -s conftest.$ac_objext'
34573 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34574 - (eval $ac_try) 2>&5
34576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 - (exit $ac_status); }; }; then
34578 + (exit $ac_status); } && {
34579 + test -z "$ac_c_werror_flag" ||
34580 + test ! -s conftest.err
34581 + } && test -s conftest.$ac_objext; then
34582 ac_header_compiler=yes
34584 echo "$as_me: failed program was:" >&5
34585 sed 's/^/| /' conftest.$ac_ext >&5
34587 -ac_header_compiler=no
34588 + ac_header_compiler=no
34590 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34591 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34592 -echo "${ECHO_T}$ac_header_compiler" >&6
34594 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34596 +echo "${ECHO_T}$ac_header_compiler" >&6; }
34598 # Is the header present?
34599 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
34600 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
34601 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
34602 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
34603 cat >conftest.$ac_ext <<_ACEOF
34606 @@ -8324,24 +8835,22 @@ cat >>conftest.$ac_ext <<_ACEOF
34607 /* end confdefs.h. */
34608 #include <linux/version.h>
34610 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34611 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34612 +if { (ac_try="$ac_cpp conftest.$ac_ext"
34613 +case "(($ac_try" in
34614 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34615 + *) ac_try_echo=$ac_try;;
34617 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34618 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34620 grep -v '^ *+' conftest.er1 >conftest.err
34622 cat conftest.err >&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 - (exit $ac_status); } >/dev/null; then
34625 - if test -s conftest.err; then
34626 - ac_cpp_err=$ac_c_preproc_warn_flag
34627 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34634 -if test -z "$ac_cpp_err"; then
34635 + (exit $ac_status); } >/dev/null && {
34636 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
34637 + test ! -s conftest.err
34639 ac_header_preproc=yes
34641 echo "$as_me: failed program was:" >&5
34642 @@ -8349,9 +8858,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
34644 ac_header_preproc=no
34647 rm -f conftest.err conftest.$ac_ext
34648 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34649 -echo "${ECHO_T}$ac_header_preproc" >&6
34650 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34651 +echo "${ECHO_T}$ac_header_preproc" >&6; }
34653 # So? What about this header?
34654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34655 @@ -8375,25 +8885,18 @@ echo "$as_me: WARNING: linux/version.h:
34656 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
34657 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
34658 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
34661 -## ------------------------------------------ ##
34662 -## Report this to the AC_PACKAGE_NAME lists. ##
34663 -## ------------------------------------------ ##
34666 - sed "s/^/$as_me: WARNING: /" >&2
34670 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
34671 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
34672 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
34673 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
34674 if test "${ac_cv_header_linux_version_h+set}" = set; then
34675 echo $ECHO_N "(cached) $ECHO_C" >&6
34677 ac_cv_header_linux_version_h=$ac_header_preproc
34679 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34680 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
34681 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
34682 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
34685 if test $ac_cv_header_linux_version_h = yes; then
34686 @@ -8443,17 +8946,17 @@ fi
34690 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
34691 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
34692 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
34693 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
34694 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
34695 + # Check whether --enable-maintainer-mode was given.
34696 if test "${enable_maintainer_mode+set}" = set; then
34697 - enableval="$enable_maintainer_mode"
34698 - USE_MAINTAINER_MODE=$enableval
34699 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
34701 USE_MAINTAINER_MODE=no
34703 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
34704 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
34707 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
34708 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
34711 if test $USE_MAINTAINER_MODE = yes; then
34712 @@ -8493,8 +8996,8 @@ AR=${AR-ar}
34713 if test -n "$ac_tool_prefix"; then
34714 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34715 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34716 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34717 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34718 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34719 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34720 if test "${ac_cv_prog_RANLIB+set}" = set; then
34721 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 @@ -8507,32 +9010,34 @@ do
34725 test -z "$as_dir" && as_dir=.
34726 for ac_exec_ext in '' $ac_executable_extensions; do
34727 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34728 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34729 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34739 RANLIB=$ac_cv_prog_RANLIB
34740 if test -n "$RANLIB"; then
34741 - echo "$as_me:$LINENO: result: $RANLIB" >&5
34742 -echo "${ECHO_T}$RANLIB" >&6
34743 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
34744 +echo "${ECHO_T}$RANLIB" >&6; }
34746 - echo "$as_me:$LINENO: result: no" >&5
34747 -echo "${ECHO_T}no" >&6
34748 + { echo "$as_me:$LINENO: result: no" >&5
34749 +echo "${ECHO_T}no" >&6; }
34754 if test -z "$ac_cv_prog_RANLIB"; then
34755 ac_ct_RANLIB=$RANLIB
34756 # Extract the first word of "ranlib", so it can be a program name with args.
34757 set dummy ranlib; ac_word=$2
34758 -echo "$as_me:$LINENO: checking for $ac_word" >&5
34759 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34760 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34761 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34762 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34763 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 @@ -8545,27 +9050,41 @@ do
34767 test -z "$as_dir" && as_dir=.
34768 for ac_exec_ext in '' $ac_executable_extensions; do
34769 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34770 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34771 ac_cv_prog_ac_ct_RANLIB="ranlib"
34772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34779 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34782 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34783 if test -n "$ac_ct_RANLIB"; then
34784 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34785 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
34786 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34787 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
34789 - echo "$as_me:$LINENO: result: no" >&5
34790 -echo "${ECHO_T}no" >&6
34791 + { echo "$as_me:$LINENO: result: no" >&5
34792 +echo "${ECHO_T}no" >&6; }
34795 - RANLIB=$ac_ct_RANLIB
34796 + if test "x$ac_ct_RANLIB" = x; then
34799 + case $cross_compiling:$ac_tool_warned in
34801 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34802 +whose name does not start with the host triplet. If you think this
34803 +configuration is useful to you, please write to autoconf@gnu.org." >&5
34804 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34805 +whose name does not start with the host triplet. If you think this
34806 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34807 +ac_tool_warned=yes ;;
34809 + RANLIB=$ac_ct_RANLIB
34812 RANLIB="$ac_cv_prog_RANLIB"
34814 @@ -8583,8 +9102,8 @@ fi
34815 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34816 # OS/2's system install, which has a completely different semantic
34817 # ./install, which can be erroneously created by make from ./install.sh.
34818 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34819 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34820 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34821 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
34822 if test -z "$INSTALL"; then
34823 if test "${ac_cv_path_install+set}" = set; then
34824 echo $ECHO_N "(cached) $ECHO_C" >&6
34825 @@ -8606,7 +9125,7 @@ case $as_dir/ in
34827 for ac_prog in ginstall scoinst install; do
34828 for ac_exec_ext in '' $ac_executable_extensions; do
34829 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34830 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
34831 if test $ac_prog = install &&
34832 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34833 # AIX install. It has an incompatible calling convention.
34834 @@ -8625,21 +9144,22 @@ case $as_dir/ in
34842 if test "${ac_cv_path_install+set}" = set; then
34843 INSTALL=$ac_cv_path_install
34845 - # As a last resort, use the slow shell script. We don't cache a
34846 - # path for INSTALL within a source directory, because that will
34847 + # As a last resort, use the slow shell script. Don't cache a
34848 + # value for INSTALL within a source directory, because that will
34849 # break other packages using the cache if that directory is
34850 - # removed, or if the path is relative.
34851 + # removed, or if the value is a relative name.
34852 INSTALL=$ac_install_sh
34855 -echo "$as_me:$LINENO: result: $INSTALL" >&5
34856 -echo "${ECHO_T}$INSTALL" >&6
34857 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
34858 +echo "${ECHO_T}$INSTALL" >&6; }
34860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34861 # It thinks the first close brace ends the variable substitution.
34862 @@ -8663,8 +9183,8 @@ fi
34863 if test "x$cross_compiling" = "xno"; then
34864 EXEEXT_FOR_BUILD='$(EXEEXT)'
34866 - echo "$as_me:$LINENO: checking for build system executable suffix" >&5
34867 -echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6
34868 + { echo "$as_me:$LINENO: checking for build system executable suffix" >&5
34869 +echo $ECHO_N "checking for build system executable suffix... $ECHO_C" >&6; }
34870 if test "${bfd_cv_build_exeext+set}" = set; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 @@ -8681,8 +9201,8 @@ else
34875 test x"${bfd_cv_build_exeext}" = x && bfd_cv_build_exeext=no
34877 -echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
34878 -echo "${ECHO_T}$bfd_cv_build_exeext" >&6
34879 +{ echo "$as_me:$LINENO: result: $bfd_cv_build_exeext" >&5
34880 +echo "${ECHO_T}$bfd_cv_build_exeext" >&6; }
34881 EXEEXT_FOR_BUILD=""
34882 test x"${bfd_cv_build_exeext}" != xno && EXEEXT_FOR_BUILD=${bfd_cv_build_exeext}
34884 @@ -8704,18 +9224,19 @@ esac
34885 for ac_header in string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h
34887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34888 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
34889 - echo "$as_me:$LINENO: checking for $ac_header" >&5
34890 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34891 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
34892 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34893 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
34894 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34895 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34896 echo $ECHO_N "(cached) $ECHO_C" >&6
34898 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34899 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34900 +ac_res=`eval echo '${'$as_ac_Header'}'`
34901 + { echo "$as_me:$LINENO: result: $ac_res" >&5
34902 +echo "${ECHO_T}$ac_res" >&6; }
34904 # Is the header compilable?
34905 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
34906 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34907 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
34908 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
34909 cat >conftest.$ac_ext <<_ACEOF
34912 @@ -8726,41 +9247,37 @@ $ac_includes_default
34913 #include <$ac_header>
34915 rm -f conftest.$ac_objext
34916 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34917 - (eval $ac_compile) 2>conftest.er1
34918 +if { (ac_try="$ac_compile"
34919 +case "(($ac_try" in
34920 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34921 + *) ac_try_echo=$ac_try;;
34923 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34924 + (eval "$ac_compile") 2>conftest.er1
34926 grep -v '^ *+' conftest.er1 >conftest.err
34928 cat conftest.err >&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 - (exit $ac_status); } &&
34931 - { ac_try='test -z "$ac_c_werror_flag"
34932 - || test ! -s conftest.err'
34933 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34934 - (eval $ac_try) 2>&5
34936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34937 - (exit $ac_status); }; } &&
34938 - { ac_try='test -s conftest.$ac_objext'
34939 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34940 - (eval $ac_try) 2>&5
34942 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 - (exit $ac_status); }; }; then
34944 + (exit $ac_status); } && {
34945 + test -z "$ac_c_werror_flag" ||
34946 + test ! -s conftest.err
34947 + } && test -s conftest.$ac_objext; then
34948 ac_header_compiler=yes
34950 echo "$as_me: failed program was:" >&5
34951 sed 's/^/| /' conftest.$ac_ext >&5
34953 -ac_header_compiler=no
34954 + ac_header_compiler=no
34956 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34957 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34958 -echo "${ECHO_T}$ac_header_compiler" >&6
34960 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34962 +echo "${ECHO_T}$ac_header_compiler" >&6; }
34964 # Is the header present?
34965 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
34966 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34967 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
34968 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
34969 cat >conftest.$ac_ext <<_ACEOF
34972 @@ -8769,24 +9286,22 @@ cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 #include <$ac_header>
34976 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34977 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34978 +if { (ac_try="$ac_cpp conftest.$ac_ext"
34979 +case "(($ac_try" in
34980 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34981 + *) ac_try_echo=$ac_try;;
34983 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34984 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
34986 grep -v '^ *+' conftest.er1 >conftest.err
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 - (exit $ac_status); } >/dev/null; then
34991 - if test -s conftest.err; then
34992 - ac_cpp_err=$ac_c_preproc_warn_flag
34993 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
35000 -if test -z "$ac_cpp_err"; then
35001 + (exit $ac_status); } >/dev/null && {
35002 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35003 + test ! -s conftest.err
35005 ac_header_preproc=yes
35007 echo "$as_me: failed program was:" >&5
35008 @@ -8794,9 +9309,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
35010 ac_header_preproc=no
35013 rm -f conftest.err conftest.$ac_ext
35014 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35015 -echo "${ECHO_T}$ac_header_preproc" >&6
35016 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35017 +echo "${ECHO_T}$ac_header_preproc" >&6; }
35019 # So? What about this header?
35020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35021 @@ -8820,25 +9336,19 @@ echo "$as_me: WARNING: $ac_header: s
35022 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
35023 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
35024 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
35027 -## ------------------------------------------ ##
35028 -## Report this to the AC_PACKAGE_NAME lists. ##
35029 -## ------------------------------------------ ##
35032 - sed "s/^/$as_me: WARNING: /" >&2
35036 -echo "$as_me:$LINENO: checking for $ac_header" >&5
35037 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35038 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
35039 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
35040 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35041 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35042 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 eval "$as_ac_Header=\$ac_header_preproc"
35046 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35047 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35048 +ac_res=`eval echo '${'$as_ac_Header'}'`
35049 + { echo "$as_me:$LINENO: result: $ac_res" >&5
35050 +echo "${ECHO_T}$ac_res" >&6; }
35053 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35054 @@ -8850,8 +9360,8 @@ fi
35058 -echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
35059 -echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
35060 +{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
35061 +echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
35062 if test "${ac_cv_header_sys_wait_h+set}" = set; then
35063 echo $ECHO_N "(cached) $ECHO_C" >&6
35065 @@ -8864,7 +9374,7 @@ cat >>conftest.$ac_ext <<_ACEOF
35066 #include <sys/types.h>
35067 #include <sys/wait.h>
35068 #ifndef WEXITSTATUS
35069 -# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
35070 +# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
35073 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
35074 @@ -8881,38 +9391,34 @@ main ()
35077 rm -f conftest.$ac_objext
35078 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35079 - (eval $ac_compile) 2>conftest.er1
35080 +if { (ac_try="$ac_compile"
35081 +case "(($ac_try" in
35082 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35083 + *) ac_try_echo=$ac_try;;
35085 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35086 + (eval "$ac_compile") 2>conftest.er1
35088 grep -v '^ *+' conftest.er1 >conftest.err
35090 cat conftest.err >&5
35091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35092 - (exit $ac_status); } &&
35093 - { ac_try='test -z "$ac_c_werror_flag"
35094 - || test ! -s conftest.err'
35095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35096 - (eval $ac_try) 2>&5
35098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 - (exit $ac_status); }; } &&
35100 - { ac_try='test -s conftest.$ac_objext'
35101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35102 - (eval $ac_try) 2>&5
35104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 - (exit $ac_status); }; }; then
35106 + (exit $ac_status); } && {
35107 + test -z "$ac_c_werror_flag" ||
35108 + test ! -s conftest.err
35109 + } && test -s conftest.$ac_objext; then
35110 ac_cv_header_sys_wait_h=yes
35112 echo "$as_me: failed program was:" >&5
35113 sed 's/^/| /' conftest.$ac_ext >&5
35115 -ac_cv_header_sys_wait_h=no
35116 + ac_cv_header_sys_wait_h=no
35118 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35120 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35122 -echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
35123 -echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
35124 +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
35125 +echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
35126 if test $ac_cv_header_sys_wait_h = yes; then
35128 cat >>confdefs.h <<\_ACEOF
35129 @@ -8923,8 +9429,8 @@ fi
35131 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
35132 # for constant arguments. Useless!
35133 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
35134 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
35135 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
35136 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
35137 if test "${ac_cv_working_alloca_h+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 @@ -8939,44 +9445,42 @@ int
35143 char *p = (char *) alloca (2 * sizeof (int));
35149 rm -f conftest.$ac_objext conftest$ac_exeext
35150 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35151 - (eval $ac_link) 2>conftest.er1
35152 +if { (ac_try="$ac_link"
35153 +case "(($ac_try" in
35154 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35155 + *) ac_try_echo=$ac_try;;
35157 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35158 + (eval "$ac_link") 2>conftest.er1
35160 grep -v '^ *+' conftest.er1 >conftest.err
35162 cat conftest.err >&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 - (exit $ac_status); } &&
35165 - { ac_try='test -z "$ac_c_werror_flag"
35166 - || test ! -s conftest.err'
35167 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35168 - (eval $ac_try) 2>&5
35170 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35171 - (exit $ac_status); }; } &&
35172 - { ac_try='test -s conftest$ac_exeext'
35173 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35174 - (eval $ac_try) 2>&5
35176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 - (exit $ac_status); }; }; then
35178 + (exit $ac_status); } && {
35179 + test -z "$ac_c_werror_flag" ||
35180 + test ! -s conftest.err
35181 + } && test -s conftest$ac_exeext &&
35182 + $as_test_x conftest$ac_exeext; then
35183 ac_cv_working_alloca_h=yes
35185 echo "$as_me: failed program was:" >&5
35186 sed 's/^/| /' conftest.$ac_ext >&5
35188 -ac_cv_working_alloca_h=no
35189 + ac_cv_working_alloca_h=no
35191 -rm -f conftest.err conftest.$ac_objext \
35193 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35194 conftest$ac_exeext conftest.$ac_ext
35196 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
35197 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
35198 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
35199 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
35200 if test $ac_cv_working_alloca_h = yes; then
35202 cat >>confdefs.h <<\_ACEOF
35203 @@ -8985,8 +9489,8 @@ _ACEOF
35207 -echo "$as_me:$LINENO: checking for alloca" >&5
35208 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
35209 +{ echo "$as_me:$LINENO: checking for alloca" >&5
35210 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
35211 if test "${ac_cv_func_alloca_works+set}" = set; then
35212 echo $ECHO_N "(cached) $ECHO_C" >&6
35214 @@ -9003,7 +9507,7 @@ cat >>conftest.$ac_ext <<_ACEOF
35215 # include <malloc.h>
35216 # define alloca _alloca
35218 -# if HAVE_ALLOCA_H
35219 +# ifdef HAVE_ALLOCA_H
35220 # include <alloca.h>
35223 @@ -9021,44 +9525,42 @@ int
35226 char *p = (char *) alloca (1);
35232 rm -f conftest.$ac_objext conftest$ac_exeext
35233 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35234 - (eval $ac_link) 2>conftest.er1
35235 +if { (ac_try="$ac_link"
35236 +case "(($ac_try" in
35237 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35238 + *) ac_try_echo=$ac_try;;
35240 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35241 + (eval "$ac_link") 2>conftest.er1
35243 grep -v '^ *+' conftest.er1 >conftest.err
35245 cat conftest.err >&5
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 - (exit $ac_status); } &&
35248 - { ac_try='test -z "$ac_c_werror_flag"
35249 - || test ! -s conftest.err'
35250 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 - (eval $ac_try) 2>&5
35253 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 - (exit $ac_status); }; } &&
35255 - { ac_try='test -s conftest$ac_exeext'
35256 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35257 - (eval $ac_try) 2>&5
35259 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35260 - (exit $ac_status); }; }; then
35261 + (exit $ac_status); } && {
35262 + test -z "$ac_c_werror_flag" ||
35263 + test ! -s conftest.err
35264 + } && test -s conftest$ac_exeext &&
35265 + $as_test_x conftest$ac_exeext; then
35266 ac_cv_func_alloca_works=yes
35268 echo "$as_me: failed program was:" >&5
35269 sed 's/^/| /' conftest.$ac_ext >&5
35271 -ac_cv_func_alloca_works=no
35272 + ac_cv_func_alloca_works=no
35274 -rm -f conftest.err conftest.$ac_objext \
35276 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35277 conftest$ac_exeext conftest.$ac_ext
35279 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
35280 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
35281 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
35282 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
35284 if test $ac_cv_func_alloca_works = yes; then
35286 @@ -9072,15 +9574,15 @@ else
35287 # contain a buggy version. If you still want to use their alloca,
35288 # use ar to extract alloca.o from them instead of compiling alloca.c.
35290 -ALLOCA=alloca.$ac_objext
35291 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
35293 cat >>confdefs.h <<\_ACEOF
35298 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
35299 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
35300 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
35301 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
35302 if test "${ac_cv_os_cray+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35305 @@ -9090,7 +9592,7 @@ _ACEOF
35306 cat confdefs.h >>conftest.$ac_ext
35307 cat >>conftest.$ac_ext <<_ACEOF
35308 /* end confdefs.h. */
35309 -#if defined(CRAY) && ! defined(CRAY2)
35310 +#if defined CRAY && ! defined CRAY2
35314 @@ -9106,14 +9608,14 @@ fi
35318 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
35319 -echo "${ECHO_T}$ac_cv_os_cray" >&6
35320 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
35321 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
35322 if test $ac_cv_os_cray = yes; then
35323 for ac_func in _getb67 GETB67 getb67; do
35324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35325 -echo "$as_me:$LINENO: checking for $ac_func" >&5
35326 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35327 -if eval "test \"\${$as_ac_var+set}\" = set"; then
35328 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
35329 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35330 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35331 echo $ECHO_N "(cached) $ECHO_C" >&6
35333 cat >conftest.$ac_ext <<_ACEOF
35334 @@ -9139,68 +9641,60 @@ cat >>conftest.$ac_ext <<_ACEOF
35338 -/* Override any gcc2 internal prototype to avoid an error. */
35339 +/* Override any GCC internal prototype to avoid an error.
35340 + Use char because int might match the return type of a GCC
35341 + builtin and then its argument prototype would still apply. */
35346 -/* We use char because int might match the return type of a gcc2
35347 - builtin and then its argument prototype would still apply. */
35349 /* The GNU C library defines this for functions which it implements
35350 to always fail with ENOSYS. Some functions are actually named
35351 something starting with __ and the normal name is an alias. */
35352 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35353 +#if defined __stub_$ac_func || defined __stub___$ac_func
35356 -char (*f) () = $ac_func;
35358 -#ifdef __cplusplus
35365 -return f != $ac_func;
35366 +return $ac_func ();
35371 rm -f conftest.$ac_objext conftest$ac_exeext
35372 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35373 - (eval $ac_link) 2>conftest.er1
35374 +if { (ac_try="$ac_link"
35375 +case "(($ac_try" in
35376 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35377 + *) ac_try_echo=$ac_try;;
35379 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35380 + (eval "$ac_link") 2>conftest.er1
35382 grep -v '^ *+' conftest.er1 >conftest.err
35384 cat conftest.err >&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 - (exit $ac_status); } &&
35387 - { ac_try='test -z "$ac_c_werror_flag"
35388 - || test ! -s conftest.err'
35389 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390 - (eval $ac_try) 2>&5
35392 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393 - (exit $ac_status); }; } &&
35394 - { ac_try='test -s conftest$ac_exeext'
35395 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35396 - (eval $ac_try) 2>&5
35398 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35399 - (exit $ac_status); }; }; then
35400 + (exit $ac_status); } && {
35401 + test -z "$ac_c_werror_flag" ||
35402 + test ! -s conftest.err
35403 + } && test -s conftest$ac_exeext &&
35404 + $as_test_x conftest$ac_exeext; then
35405 eval "$as_ac_var=yes"
35407 echo "$as_me: failed program was:" >&5
35408 sed 's/^/| /' conftest.$ac_ext >&5
35410 -eval "$as_ac_var=no"
35411 + eval "$as_ac_var=no"
35413 -rm -f conftest.err conftest.$ac_objext \
35415 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35416 conftest$ac_exeext conftest.$ac_ext
35418 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35419 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35420 +ac_res=`eval echo '${'$as_ac_var'}'`
35421 + { echo "$as_me:$LINENO: result: $ac_res" >&5
35422 +echo "${ECHO_T}$ac_res" >&6; }
35423 if test `eval echo '${'$as_ac_var'}'` = yes; then
35425 cat >>confdefs.h <<_ACEOF
35426 @@ -9213,8 +9707,8 @@ fi
35430 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
35431 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
35432 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
35433 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
35434 if test "${ac_cv_c_stack_direction+set}" = set; then
35435 echo $ECHO_N "(cached) $ECHO_C" >&6
35437 @@ -9227,6 +9721,7 @@ _ACEOF
35438 cat confdefs.h >>conftest.$ac_ext
35439 cat >>conftest.$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35441 +$ac_includes_default
35443 find_stack_direction ()
35445 @@ -9244,17 +9739,26 @@ find_stack_direction ()
35449 - exit (find_stack_direction () < 0);
35450 + return find_stack_direction () < 0;
35453 rm -f conftest$ac_exeext
35454 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35455 - (eval $ac_link) 2>&5
35456 +if { (ac_try="$ac_link"
35457 +case "(($ac_try" in
35458 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35459 + *) ac_try_echo=$ac_try;;
35461 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35462 + (eval "$ac_link") 2>&5
35464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35466 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35467 - (eval $ac_try) 2>&5
35468 + { (case "(($ac_try" in
35469 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35470 + *) ac_try_echo=$ac_try;;
35472 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35473 + (eval "$ac_try") 2>&5
35475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35476 (exit $ac_status); }; }; then
35477 @@ -9267,11 +9771,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
35478 ( exit $ac_status )
35479 ac_cv_c_stack_direction=-1
35481 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35482 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35487 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
35488 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
35489 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
35490 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
35492 cat >>confdefs.h <<_ACEOF
35493 #define STACK_DIRECTION $ac_cv_c_stack_direction
35494 @@ -9288,9 +9794,9 @@ fi
35495 for ac_func in sbrk utimes setmode getc_unlocked strcoll
35497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35498 -echo "$as_me:$LINENO: checking for $ac_func" >&5
35499 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35500 -if eval "test \"\${$as_ac_var+set}\" = set"; then
35501 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
35502 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35503 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35504 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 cat >conftest.$ac_ext <<_ACEOF
35507 @@ -9316,68 +9822,60 @@ cat >>conftest.$ac_ext <<_ACEOF
35511 -/* Override any gcc2 internal prototype to avoid an error. */
35512 +/* Override any GCC internal prototype to avoid an error.
35513 + Use char because int might match the return type of a GCC
35514 + builtin and then its argument prototype would still apply. */
35519 -/* We use char because int might match the return type of a gcc2
35520 - builtin and then its argument prototype would still apply. */
35522 /* The GNU C library defines this for functions which it implements
35523 to always fail with ENOSYS. Some functions are actually named
35524 something starting with __ and the normal name is an alias. */
35525 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35526 +#if defined __stub_$ac_func || defined __stub___$ac_func
35529 -char (*f) () = $ac_func;
35531 -#ifdef __cplusplus
35538 -return f != $ac_func;
35539 +return $ac_func ();
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35546 - (eval $ac_link) 2>conftest.er1
35547 +if { (ac_try="$ac_link"
35548 +case "(($ac_try" in
35549 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35550 + *) ac_try_echo=$ac_try;;
35552 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35553 + (eval "$ac_link") 2>conftest.er1
35555 grep -v '^ *+' conftest.er1 >conftest.err
35557 cat conftest.err >&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 - (exit $ac_status); } &&
35560 - { ac_try='test -z "$ac_c_werror_flag"
35561 - || test ! -s conftest.err'
35562 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 - (eval $ac_try) 2>&5
35565 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 - (exit $ac_status); }; } &&
35567 - { ac_try='test -s conftest$ac_exeext'
35568 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 - (eval $ac_try) 2>&5
35571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 - (exit $ac_status); }; }; then
35573 + (exit $ac_status); } && {
35574 + test -z "$ac_c_werror_flag" ||
35575 + test ! -s conftest.err
35576 + } && test -s conftest$ac_exeext &&
35577 + $as_test_x conftest$ac_exeext; then
35578 eval "$as_ac_var=yes"
35580 echo "$as_me: failed program was:" >&5
35581 sed 's/^/| /' conftest.$ac_ext >&5
35583 -eval "$as_ac_var=no"
35584 + eval "$as_ac_var=no"
35586 -rm -f conftest.err conftest.$ac_objext \
35588 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35589 conftest$ac_exeext conftest.$ac_ext
35591 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35592 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35593 +ac_res=`eval echo '${'$as_ac_var'}'`
35594 + { echo "$as_me:$LINENO: result: $ac_res" >&5
35595 +echo "${ECHO_T}$ac_res" >&6; }
35596 if test `eval echo '${'$as_ac_var'}'` = yes; then
35597 cat >>confdefs.h <<_ACEOF
35598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35599 @@ -9389,8 +9887,8 @@ done
35601 # Check whether fopen64 is available and whether _LARGEFILE64_SOURCE
35602 # needs to be defined for it
35603 -echo "$as_me:$LINENO: checking for fopen64" >&5
35604 -echo $ECHO_N "checking for fopen64... $ECHO_C" >&6
35605 +{ echo "$as_me:$LINENO: checking for fopen64" >&5
35606 +echo $ECHO_N "checking for fopen64... $ECHO_C" >&6; }
35607 if test "${bu_cv_have_fopen64+set}" = set; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35610 @@ -9410,33 +9908,29 @@ FILE *f = fopen64 ("/tmp/foo","r");
35613 rm -f conftest.$ac_objext conftest$ac_exeext
35614 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35615 - (eval $ac_link) 2>conftest.er1
35616 +if { (ac_try="$ac_link"
35617 +case "(($ac_try" in
35618 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35619 + *) ac_try_echo=$ac_try;;
35621 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35622 + (eval "$ac_link") 2>conftest.er1
35624 grep -v '^ *+' conftest.er1 >conftest.err
35626 cat conftest.err >&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 - (exit $ac_status); } &&
35629 - { ac_try='test -z "$ac_c_werror_flag"
35630 - || test ! -s conftest.err'
35631 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35632 - (eval $ac_try) 2>&5
35634 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35635 - (exit $ac_status); }; } &&
35636 - { ac_try='test -s conftest$ac_exeext'
35637 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35638 - (eval $ac_try) 2>&5
35640 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 - (exit $ac_status); }; }; then
35642 + (exit $ac_status); } && {
35643 + test -z "$ac_c_werror_flag" ||
35644 + test ! -s conftest.err
35645 + } && test -s conftest$ac_exeext &&
35646 + $as_test_x conftest$ac_exeext; then
35647 bu_cv_have_fopen64=yes
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35652 -saved_CPPFLAGS=$CPPFLAGS
35653 + saved_CPPFLAGS=$CPPFLAGS
35654 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35655 cat >conftest.$ac_ext <<_ACEOF
35657 @@ -9454,44 +9948,42 @@ FILE *f = fopen64 ("/tmp/foo","r");
35660 rm -f conftest.$ac_objext conftest$ac_exeext
35661 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35662 - (eval $ac_link) 2>conftest.er1
35663 +if { (ac_try="$ac_link"
35664 +case "(($ac_try" in
35665 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35666 + *) ac_try_echo=$ac_try;;
35668 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35669 + (eval "$ac_link") 2>conftest.er1
35671 grep -v '^ *+' conftest.er1 >conftest.err
35673 cat conftest.err >&5
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 - (exit $ac_status); } &&
35676 - { ac_try='test -z "$ac_c_werror_flag"
35677 - || test ! -s conftest.err'
35678 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35679 - (eval $ac_try) 2>&5
35681 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35682 - (exit $ac_status); }; } &&
35683 - { ac_try='test -s conftest$ac_exeext'
35684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35685 - (eval $ac_try) 2>&5
35687 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35688 - (exit $ac_status); }; }; then
35689 + (exit $ac_status); } && {
35690 + test -z "$ac_c_werror_flag" ||
35691 + test ! -s conftest.err
35692 + } && test -s conftest$ac_exeext &&
35693 + $as_test_x conftest$ac_exeext; then
35694 bu_cv_have_fopen64="need -D_LARGEFILE64_SOURCE"
35696 echo "$as_me: failed program was:" >&5
35697 sed 's/^/| /' conftest.$ac_ext >&5
35699 -bu_cv_have_fopen64=no
35700 + bu_cv_have_fopen64=no
35702 -rm -f conftest.err conftest.$ac_objext \
35704 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35705 conftest$ac_exeext conftest.$ac_ext
35706 CPPFLAGS=$saved_CPPFLAGS
35708 -rm -f conftest.err conftest.$ac_objext \
35710 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35711 conftest$ac_exeext conftest.$ac_ext
35714 -echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
35715 -echo "${ECHO_T}$bu_cv_have_fopen64" >&6
35716 +{ echo "$as_me:$LINENO: result: $bu_cv_have_fopen64" >&5
35717 +echo "${ECHO_T}$bu_cv_have_fopen64" >&6; }
35718 if test "$bu_cv_have_fopen64" != no; then
35720 cat >>confdefs.h <<\_ACEOF
35721 @@ -9499,8 +9991,8 @@ cat >>confdefs.h <<\_ACEOF
35725 -echo "$as_me:$LINENO: checking for stat64" >&5
35726 -echo $ECHO_N "checking for stat64... $ECHO_C" >&6
35727 +{ echo "$as_me:$LINENO: checking for stat64" >&5
35728 +echo $ECHO_N "checking for stat64... $ECHO_C" >&6; }
35729 if test "${bu_cv_have_stat64+set}" = set; then
35730 echo $ECHO_N "(cached) $ECHO_C" >&6
35732 @@ -9520,33 +10012,29 @@ struct stat64 st; stat64 ("/tmp/foo", &s
35735 rm -f conftest.$ac_objext conftest$ac_exeext
35736 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35737 - (eval $ac_link) 2>conftest.er1
35738 +if { (ac_try="$ac_link"
35739 +case "(($ac_try" in
35740 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35741 + *) ac_try_echo=$ac_try;;
35743 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35744 + (eval "$ac_link") 2>conftest.er1
35746 grep -v '^ *+' conftest.er1 >conftest.err
35748 cat conftest.err >&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 - (exit $ac_status); } &&
35751 - { ac_try='test -z "$ac_c_werror_flag"
35752 - || test ! -s conftest.err'
35753 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35754 - (eval $ac_try) 2>&5
35756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 - (exit $ac_status); }; } &&
35758 - { ac_try='test -s conftest$ac_exeext'
35759 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 - (eval $ac_try) 2>&5
35762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 - (exit $ac_status); }; }; then
35764 + (exit $ac_status); } && {
35765 + test -z "$ac_c_werror_flag" ||
35766 + test ! -s conftest.err
35767 + } && test -s conftest$ac_exeext &&
35768 + $as_test_x conftest$ac_exeext; then
35769 bu_cv_have_stat64=yes
35771 echo "$as_me: failed program was:" >&5
35772 sed 's/^/| /' conftest.$ac_ext >&5
35774 -saved_CPPFLAGS=$CPPFLAGS
35775 + saved_CPPFLAGS=$CPPFLAGS
35776 CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35777 cat >conftest.$ac_ext <<_ACEOF
35779 @@ -9564,191 +10052,146 @@ struct stat64 st; stat64 ("/tmp/foo", &s
35782 rm -f conftest.$ac_objext conftest$ac_exeext
35783 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35784 - (eval $ac_link) 2>conftest.er1
35785 +if { (ac_try="$ac_link"
35786 +case "(($ac_try" in
35787 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35788 + *) ac_try_echo=$ac_try;;
35790 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35791 + (eval "$ac_link") 2>conftest.er1
35793 grep -v '^ *+' conftest.er1 >conftest.err
35795 cat conftest.err >&5
35796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35797 - (exit $ac_status); } &&
35798 - { ac_try='test -z "$ac_c_werror_flag"
35799 - || test ! -s conftest.err'
35800 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 - (eval $ac_try) 2>&5
35803 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 - (exit $ac_status); }; } &&
35805 - { ac_try='test -s conftest$ac_exeext'
35806 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35807 - (eval $ac_try) 2>&5
35809 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 - (exit $ac_status); }; }; then
35811 + (exit $ac_status); } && {
35812 + test -z "$ac_c_werror_flag" ||
35813 + test ! -s conftest.err
35814 + } && test -s conftest$ac_exeext &&
35815 + $as_test_x conftest$ac_exeext; then
35816 bu_cv_have_stat64="need -D_LARGEFILE64_SOURCE"
35818 echo "$as_me: failed program was:" >&5
35819 sed 's/^/| /' conftest.$ac_ext >&5
35821 -bu_cv_have_stat64=no
35822 + bu_cv_have_stat64=no
35824 -rm -f conftest.err conftest.$ac_objext \
35826 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35827 conftest$ac_exeext conftest.$ac_ext
35828 CPPFLAGS=$saved_CPPFLAGS
35830 -rm -f conftest.err conftest.$ac_objext \
35832 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35833 conftest$ac_exeext conftest.$ac_ext
35836 -echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
35837 -echo "${ECHO_T}$bu_cv_have_stat64" >&6
35838 +{ echo "$as_me:$LINENO: result: $bu_cv_have_stat64" >&5
35839 +echo "${ECHO_T}$bu_cv_have_stat64" >&6; }
35840 if test "$bu_cv_have_stat64" != no; then
35842 cat >>confdefs.h <<\_ACEOF
35843 #define HAVE_STAT64 1
35847 -if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
35848 - || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
35850 -cat >>confdefs.h <<\_ACEOF
35851 -#define _LARGEFILE64_SOURCE 1
35854 - CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35857 -# Some systems have frexp only in -lm, not in -lc.
35858 -echo "$as_me:$LINENO: checking for library containing frexp" >&5
35859 -echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6
35860 -if test "${ac_cv_search_frexp+set}" = set; then
35861 - echo $ECHO_N "(cached) $ECHO_C" >&6
35863 - ac_func_search_save_LIBS=$LIBS
35864 -ac_cv_search_frexp=no
35865 -cat >conftest.$ac_ext <<_ACEOF
35868 -cat confdefs.h >>conftest.$ac_ext
35869 -cat >>conftest.$ac_ext <<_ACEOF
35870 -/* end confdefs.h. */
35872 -/* Override any gcc2 internal prototype to avoid an error. */
35873 -#ifdef __cplusplus
35876 -/* We use char because int might match the return type of a gcc2
35877 - builtin and then its argument prototype would still apply. */
35887 -rm -f conftest.$ac_objext conftest$ac_exeext
35888 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35889 - (eval $ac_link) 2>conftest.er1
35891 - grep -v '^ *+' conftest.er1 >conftest.err
35892 - rm -f conftest.er1
35893 - cat conftest.err >&5
35894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 - (exit $ac_status); } &&
35896 - { ac_try='test -z "$ac_c_werror_flag"
35897 - || test ! -s conftest.err'
35898 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35899 - (eval $ac_try) 2>&5
35901 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 - (exit $ac_status); }; } &&
35903 - { ac_try='test -s conftest$ac_exeext'
35904 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 - (eval $ac_try) 2>&5
35907 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 - (exit $ac_status); }; }; then
35909 - ac_cv_search_frexp="none required"
35911 - echo "$as_me: failed program was:" >&5
35912 -sed 's/^/| /' conftest.$ac_ext >&5
35914 +if test "$bu_cv_have_fopen64" = "need -D_LARGEFILE64_SOURCE" \
35915 + || test "$bu_cv_have_stat64" = "need -D_LARGEFILE64_SOURCE"; then
35917 +cat >>confdefs.h <<\_ACEOF
35918 +#define _LARGEFILE64_SOURCE 1
35921 + CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE"
35923 -rm -f conftest.err conftest.$ac_objext \
35924 - conftest$ac_exeext conftest.$ac_ext
35925 -if test "$ac_cv_search_frexp" = no; then
35926 - for ac_lib in m; do
35927 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
35928 - cat >conftest.$ac_ext <<_ACEOF
35930 +# Some systems have frexp only in -lm, not in -lc.
35931 +{ echo "$as_me:$LINENO: checking for library containing frexp" >&5
35932 +echo $ECHO_N "checking for library containing frexp... $ECHO_C" >&6; }
35933 +if test "${ac_cv_search_frexp+set}" = set; then
35934 + echo $ECHO_N "(cached) $ECHO_C" >&6
35936 + ac_func_search_save_LIBS=$LIBS
35937 +cat >conftest.$ac_ext <<_ACEOF
35940 cat confdefs.h >>conftest.$ac_ext
35941 cat >>conftest.$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35944 -/* Override any gcc2 internal prototype to avoid an error. */
35945 +/* Override any GCC internal prototype to avoid an error.
35946 + Use char because int might match the return type of a GCC
35947 + builtin and then its argument prototype would still apply. */
35951 -/* We use char because int might match the return type of a gcc2
35952 - builtin and then its argument prototype would still apply. */
35963 -rm -f conftest.$ac_objext conftest$ac_exeext
35964 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35965 - (eval $ac_link) 2>conftest.er1
35966 +for ac_lib in '' m; do
35967 + if test -z "$ac_lib"; then
35968 + ac_res="none required"
35971 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
35973 + rm -f conftest.$ac_objext conftest$ac_exeext
35974 +if { (ac_try="$ac_link"
35975 +case "(($ac_try" in
35976 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35977 + *) ac_try_echo=$ac_try;;
35979 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35980 + (eval "$ac_link") 2>conftest.er1
35982 grep -v '^ *+' conftest.er1 >conftest.err
35984 cat conftest.err >&5
35985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35986 - (exit $ac_status); } &&
35987 - { ac_try='test -z "$ac_c_werror_flag"
35988 - || test ! -s conftest.err'
35989 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35990 - (eval $ac_try) 2>&5
35992 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 - (exit $ac_status); }; } &&
35994 - { ac_try='test -s conftest$ac_exeext'
35995 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35996 - (eval $ac_try) 2>&5
35998 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35999 - (exit $ac_status); }; }; then
36000 - ac_cv_search_frexp="-l$ac_lib"
36002 + (exit $ac_status); } && {
36003 + test -z "$ac_c_werror_flag" ||
36004 + test ! -s conftest.err
36005 + } && test -s conftest$ac_exeext &&
36006 + $as_test_x conftest$ac_exeext; then
36007 + ac_cv_search_frexp=$ac_res
36009 echo "$as_me: failed program was:" >&5
36010 sed 's/^/| /' conftest.$ac_ext >&5
36014 -rm -f conftest.err conftest.$ac_objext \
36015 - conftest$ac_exeext conftest.$ac_ext
36018 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36019 + conftest$ac_exeext
36020 + if test "${ac_cv_search_frexp+set}" = set; then
36024 +if test "${ac_cv_search_frexp+set}" = set; then
36027 + ac_cv_search_frexp=no
36029 +rm conftest.$ac_ext
36030 LIBS=$ac_func_search_save_LIBS
36032 -echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
36033 -echo "${ECHO_T}$ac_cv_search_frexp" >&6
36034 -if test "$ac_cv_search_frexp" != no; then
36035 - test "$ac_cv_search_frexp" = "none required" || LIBS="$ac_cv_search_frexp $LIBS"
36036 +{ echo "$as_me:$LINENO: result: $ac_cv_search_frexp" >&5
36037 +echo "${ECHO_T}$ac_cv_search_frexp" >&6; }
36038 +ac_res=$ac_cv_search_frexp
36039 +if test "$ac_res" != no; then
36040 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
36045 -echo "$as_me:$LINENO: checking for time_t in time.h" >&5
36046 -echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6
36047 +{ echo "$as_me:$LINENO: checking for time_t in time.h" >&5
36048 +echo $ECHO_N "checking for time_t in time.h... $ECHO_C" >&6; }
36049 if test "${bu_cv_decl_time_t_time_h+set}" = set; then
36050 echo $ECHO_N "(cached) $ECHO_C" >&6
36052 @@ -9768,39 +10211,35 @@ time_t i;
36055 rm -f conftest.$ac_objext
36056 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36057 - (eval $ac_compile) 2>conftest.er1
36058 +if { (ac_try="$ac_compile"
36059 +case "(($ac_try" in
36060 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36061 + *) ac_try_echo=$ac_try;;
36063 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36064 + (eval "$ac_compile") 2>conftest.er1
36066 grep -v '^ *+' conftest.er1 >conftest.err
36068 cat conftest.err >&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 - (exit $ac_status); } &&
36071 - { ac_try='test -z "$ac_c_werror_flag"
36072 - || test ! -s conftest.err'
36073 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36074 - (eval $ac_try) 2>&5
36076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 - (exit $ac_status); }; } &&
36078 - { ac_try='test -s conftest.$ac_objext'
36079 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 - (eval $ac_try) 2>&5
36082 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 - (exit $ac_status); }; }; then
36084 + (exit $ac_status); } && {
36085 + test -z "$ac_c_werror_flag" ||
36086 + test ! -s conftest.err
36087 + } && test -s conftest.$ac_objext; then
36088 bu_cv_decl_time_t_time_h=yes
36090 echo "$as_me: failed program was:" >&5
36091 sed 's/^/| /' conftest.$ac_ext >&5
36093 -bu_cv_decl_time_t_time_h=no
36094 + bu_cv_decl_time_t_time_h=no
36096 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36098 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36101 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
36102 -echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6
36103 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_time_h" >&5
36104 +echo "${ECHO_T}$bu_cv_decl_time_t_time_h" >&6; }
36105 if test $bu_cv_decl_time_t_time_h = yes; then
36107 cat >>confdefs.h <<\_ACEOF
36108 @@ -9809,8 +10248,8 @@ _ACEOF
36112 -echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
36113 -echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6
36114 +{ echo "$as_me:$LINENO: checking for time_t in sys/types.h" >&5
36115 +echo $ECHO_N "checking for time_t in sys/types.h... $ECHO_C" >&6; }
36116 if test "${bu_cv_decl_time_t_types_h+set}" = set; then
36117 echo $ECHO_N "(cached) $ECHO_C" >&6
36119 @@ -9830,39 +10269,35 @@ time_t i;
36122 rm -f conftest.$ac_objext
36123 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36124 - (eval $ac_compile) 2>conftest.er1
36125 +if { (ac_try="$ac_compile"
36126 +case "(($ac_try" in
36127 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36128 + *) ac_try_echo=$ac_try;;
36130 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36131 + (eval "$ac_compile") 2>conftest.er1
36133 grep -v '^ *+' conftest.er1 >conftest.err
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 - (exit $ac_status); } &&
36138 - { ac_try='test -z "$ac_c_werror_flag"
36139 - || test ! -s conftest.err'
36140 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36141 - (eval $ac_try) 2>&5
36143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 - (exit $ac_status); }; } &&
36145 - { ac_try='test -s conftest.$ac_objext'
36146 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36147 - (eval $ac_try) 2>&5
36149 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 - (exit $ac_status); }; }; then
36151 + (exit $ac_status); } && {
36152 + test -z "$ac_c_werror_flag" ||
36153 + test ! -s conftest.err
36154 + } && test -s conftest.$ac_objext; then
36155 bu_cv_decl_time_t_types_h=yes
36157 echo "$as_me: failed program was:" >&5
36158 sed 's/^/| /' conftest.$ac_ext >&5
36160 -bu_cv_decl_time_t_types_h=no
36161 + bu_cv_decl_time_t_types_h=no
36163 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36165 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36168 -echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
36169 -echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6
36170 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_time_t_types_h" >&5
36171 +echo "${ECHO_T}$bu_cv_decl_time_t_types_h" >&6; }
36172 if test $bu_cv_decl_time_t_types_h = yes; then
36174 cat >>confdefs.h <<\_ACEOF
36175 @@ -9871,8 +10306,8 @@ _ACEOF
36179 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
36180 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
36181 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
36182 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
36183 if test "${bu_cv_decl_getopt_unistd_h+set}" = set; then
36184 echo $ECHO_N "(cached) $ECHO_C" >&6
36186 @@ -9892,39 +10327,35 @@ extern int getopt (int, char *const*, co
36189 rm -f conftest.$ac_objext
36190 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36191 - (eval $ac_compile) 2>conftest.er1
36192 +if { (ac_try="$ac_compile"
36193 +case "(($ac_try" in
36194 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195 + *) ac_try_echo=$ac_try;;
36197 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 + (eval "$ac_compile") 2>conftest.er1
36200 grep -v '^ *+' conftest.er1 >conftest.err
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 - (exit $ac_status); } &&
36205 - { ac_try='test -z "$ac_c_werror_flag"
36206 - || test ! -s conftest.err'
36207 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 - (eval $ac_try) 2>&5
36210 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 - (exit $ac_status); }; } &&
36212 - { ac_try='test -s conftest.$ac_objext'
36213 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214 - (eval $ac_try) 2>&5
36216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 - (exit $ac_status); }; }; then
36218 + (exit $ac_status); } && {
36219 + test -z "$ac_c_werror_flag" ||
36220 + test ! -s conftest.err
36221 + } && test -s conftest.$ac_objext; then
36222 bu_cv_decl_getopt_unistd_h=yes
36224 echo "$as_me: failed program was:" >&5
36225 sed 's/^/| /' conftest.$ac_ext >&5
36227 -bu_cv_decl_getopt_unistd_h=no
36228 + bu_cv_decl_getopt_unistd_h=no
36230 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36232 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36235 -echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
36236 -echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6
36237 +{ echo "$as_me:$LINENO: result: $bu_cv_decl_getopt_unistd_h" >&5
36238 +echo "${ECHO_T}$bu_cv_decl_getopt_unistd_h" >&6; }
36239 if test $bu_cv_decl_getopt_unistd_h = yes; then
36241 cat >>confdefs.h <<\_ACEOF
36242 @@ -9935,8 +10366,8 @@ fi
36244 # Under Next 3.2 <utime.h> apparently does not define struct utimbuf
36246 -echo "$as_me:$LINENO: checking for utime.h" >&5
36247 -echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
36248 +{ echo "$as_me:$LINENO: checking for utime.h" >&5
36249 +echo $ECHO_N "checking for utime.h... $ECHO_C" >&6; }
36250 if test "${bu_cv_header_utime_h+set}" = set; then
36251 echo $ECHO_N "(cached) $ECHO_C" >&6
36253 @@ -9960,39 +10391,35 @@ struct utimbuf s;
36256 rm -f conftest.$ac_objext
36257 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36258 - (eval $ac_compile) 2>conftest.er1
36259 +if { (ac_try="$ac_compile"
36260 +case "(($ac_try" in
36261 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36262 + *) ac_try_echo=$ac_try;;
36264 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36265 + (eval "$ac_compile") 2>conftest.er1
36267 grep -v '^ *+' conftest.er1 >conftest.err
36269 cat conftest.err >&5
36270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36271 - (exit $ac_status); } &&
36272 - { ac_try='test -z "$ac_c_werror_flag"
36273 - || test ! -s conftest.err'
36274 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36275 - (eval $ac_try) 2>&5
36277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278 - (exit $ac_status); }; } &&
36279 - { ac_try='test -s conftest.$ac_objext'
36280 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36281 - (eval $ac_try) 2>&5
36283 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 - (exit $ac_status); }; }; then
36285 + (exit $ac_status); } && {
36286 + test -z "$ac_c_werror_flag" ||
36287 + test ! -s conftest.err
36288 + } && test -s conftest.$ac_objext; then
36289 bu_cv_header_utime_h=yes
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36294 -bu_cv_header_utime_h=no
36295 + bu_cv_header_utime_h=no
36297 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36299 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36302 -echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
36303 -echo "${ECHO_T}$bu_cv_header_utime_h" >&6
36304 +{ echo "$as_me:$LINENO: result: $bu_cv_header_utime_h" >&5
36305 +echo "${ECHO_T}$bu_cv_header_utime_h" >&6; }
36306 if test $bu_cv_header_utime_h = yes; then
36308 cat >>confdefs.h <<\_ACEOF
36309 @@ -10001,8 +10428,8 @@ _ACEOF
36313 -echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
36314 -echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6
36315 +{ echo "$as_me:$LINENO: checking whether fprintf is declared" >&5
36316 +echo $ECHO_N "checking whether fprintf is declared... $ECHO_C" >&6; }
36317 if test "${ac_cv_have_decl_fprintf+set}" = set; then
36318 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 @@ -10017,7 +10444,7 @@ int
36324 - char *p = (char *) fprintf;
36329 @@ -10025,38 +10452,34 @@ main ()
36332 rm -f conftest.$ac_objext
36333 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36334 - (eval $ac_compile) 2>conftest.er1
36335 +if { (ac_try="$ac_compile"
36336 +case "(($ac_try" in
36337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36338 + *) ac_try_echo=$ac_try;;
36340 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36341 + (eval "$ac_compile") 2>conftest.er1
36343 grep -v '^ *+' conftest.er1 >conftest.err
36345 cat conftest.err >&5
36346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36347 - (exit $ac_status); } &&
36348 - { ac_try='test -z "$ac_c_werror_flag"
36349 - || test ! -s conftest.err'
36350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36351 - (eval $ac_try) 2>&5
36353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36354 - (exit $ac_status); }; } &&
36355 - { ac_try='test -s conftest.$ac_objext'
36356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36357 - (eval $ac_try) 2>&5
36359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36360 - (exit $ac_status); }; }; then
36361 + (exit $ac_status); } && {
36362 + test -z "$ac_c_werror_flag" ||
36363 + test ! -s conftest.err
36364 + } && test -s conftest.$ac_objext; then
36365 ac_cv_have_decl_fprintf=yes
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.$ac_ext >&5
36370 -ac_cv_have_decl_fprintf=no
36371 + ac_cv_have_decl_fprintf=no
36373 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36375 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36377 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
36378 -echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6
36379 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf" >&5
36380 +echo "${ECHO_T}$ac_cv_have_decl_fprintf" >&6; }
36381 if test $ac_cv_have_decl_fprintf = yes; then
36383 cat >>confdefs.h <<_ACEOF
36384 @@ -10071,8 +10494,8 @@ _ACEOF
36388 -echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
36389 -echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6
36390 +{ echo "$as_me:$LINENO: checking whether stpcpy is declared" >&5
36391 +echo $ECHO_N "checking whether stpcpy is declared... $ECHO_C" >&6; }
36392 if test "${ac_cv_have_decl_stpcpy+set}" = set; then
36393 echo $ECHO_N "(cached) $ECHO_C" >&6
36395 @@ -10087,7 +10510,7 @@ int
36399 - char *p = (char *) stpcpy;
36404 @@ -10095,38 +10518,34 @@ main ()
36407 rm -f conftest.$ac_objext
36408 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36409 - (eval $ac_compile) 2>conftest.er1
36410 +if { (ac_try="$ac_compile"
36411 +case "(($ac_try" in
36412 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36413 + *) ac_try_echo=$ac_try;;
36415 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36416 + (eval "$ac_compile") 2>conftest.er1
36418 grep -v '^ *+' conftest.er1 >conftest.err
36420 cat conftest.err >&5
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 - (exit $ac_status); } &&
36423 - { ac_try='test -z "$ac_c_werror_flag"
36424 - || test ! -s conftest.err'
36425 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36426 - (eval $ac_try) 2>&5
36428 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 - (exit $ac_status); }; } &&
36430 - { ac_try='test -s conftest.$ac_objext'
36431 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36432 - (eval $ac_try) 2>&5
36434 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36435 - (exit $ac_status); }; }; then
36436 + (exit $ac_status); } && {
36437 + test -z "$ac_c_werror_flag" ||
36438 + test ! -s conftest.err
36439 + } && test -s conftest.$ac_objext; then
36440 ac_cv_have_decl_stpcpy=yes
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.$ac_ext >&5
36445 -ac_cv_have_decl_stpcpy=no
36446 + ac_cv_have_decl_stpcpy=no
36448 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36450 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36452 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
36453 -echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6
36454 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_stpcpy" >&5
36455 +echo "${ECHO_T}$ac_cv_have_decl_stpcpy" >&6; }
36456 if test $ac_cv_have_decl_stpcpy = yes; then
36458 cat >>confdefs.h <<_ACEOF
36459 @@ -10141,8 +10560,8 @@ _ACEOF
36463 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
36464 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
36465 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
36466 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
36467 if test "${ac_cv_have_decl_strstr+set}" = set; then
36468 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 @@ -10157,7 +10576,7 @@ int
36474 - char *p = (char *) strstr;
36479 @@ -10165,38 +10584,34 @@ main ()
36482 rm -f conftest.$ac_objext
36483 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36484 - (eval $ac_compile) 2>conftest.er1
36485 +if { (ac_try="$ac_compile"
36486 +case "(($ac_try" in
36487 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36488 + *) ac_try_echo=$ac_try;;
36490 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36491 + (eval "$ac_compile") 2>conftest.er1
36493 grep -v '^ *+' conftest.er1 >conftest.err
36495 cat conftest.err >&5
36496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497 - (exit $ac_status); } &&
36498 - { ac_try='test -z "$ac_c_werror_flag"
36499 - || test ! -s conftest.err'
36500 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501 - (eval $ac_try) 2>&5
36503 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504 - (exit $ac_status); }; } &&
36505 - { ac_try='test -s conftest.$ac_objext'
36506 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507 - (eval $ac_try) 2>&5
36509 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 - (exit $ac_status); }; }; then
36511 + (exit $ac_status); } && {
36512 + test -z "$ac_c_werror_flag" ||
36513 + test ! -s conftest.err
36514 + } && test -s conftest.$ac_objext; then
36515 ac_cv_have_decl_strstr=yes
36517 echo "$as_me: failed program was:" >&5
36518 sed 's/^/| /' conftest.$ac_ext >&5
36520 -ac_cv_have_decl_strstr=no
36521 + ac_cv_have_decl_strstr=no
36523 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36525 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
36528 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
36529 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
36530 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
36531 if test $ac_cv_have_decl_strstr = yes; then
36533 cat >>confdefs.h <<_ACEOF
36534 @@ -10211,8 +10626,8 @@ _ACEOF
36538 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
36539 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
36540 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
36541 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
36542 if test "${ac_cv_have_decl_sbrk+set}" = set; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36545 @@ -10227,7 +10642,7 @@ int
36549 - char *p = (char *) sbrk;
36554 @@ -10235,38 +10650,34 @@ main ()
36557 rm -f conftest.$ac_objext
36558 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36559 - (eval $ac_compile) 2>conftest.er1
36560 +if { (ac_try="$ac_compile"
36561 +case "(($ac_try" in
36562 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36563 + *) ac_try_echo=$ac_try;;
36565 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36566 + (eval "$ac_compile") 2>conftest.er1
36568 grep -v '^ *+' conftest.er1 >conftest.err
36570 cat conftest.err >&5
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 - (exit $ac_status); } &&
36573 - { ac_try='test -z "$ac_c_werror_flag"
36574 - || test ! -s conftest.err'
36575 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36576 - (eval $ac_try) 2>&5
36578 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 - (exit $ac_status); }; } &&
36580 - { ac_try='test -s conftest.$ac_objext'
36581 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36582 - (eval $ac_try) 2>&5
36584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 - (exit $ac_status); }; }; then
36586 + (exit $ac_status); } && {
36587 + test -z "$ac_c_werror_flag" ||
36588 + test ! -s conftest.err
36589 + } && test -s conftest.$ac_objext; then
36590 ac_cv_have_decl_sbrk=yes
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36595 -ac_cv_have_decl_sbrk=no
36596 + ac_cv_have_decl_sbrk=no
36598 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36600 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36602 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
36603 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
36604 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
36605 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
36606 if test $ac_cv_have_decl_sbrk = yes; then
36608 cat >>confdefs.h <<_ACEOF
36609 @@ -10281,8 +10692,8 @@ _ACEOF
36613 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
36614 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
36615 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
36616 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
36617 if test "${ac_cv_have_decl_getenv+set}" = set; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36620 @@ -10297,7 +10708,7 @@ int
36624 - char *p = (char *) getenv;
36629 @@ -10305,38 +10716,34 @@ main ()
36632 rm -f conftest.$ac_objext
36633 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36634 - (eval $ac_compile) 2>conftest.er1
36635 +if { (ac_try="$ac_compile"
36636 +case "(($ac_try" in
36637 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36638 + *) ac_try_echo=$ac_try;;
36640 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36641 + (eval "$ac_compile") 2>conftest.er1
36643 grep -v '^ *+' conftest.er1 >conftest.err
36645 cat conftest.err >&5
36646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36647 - (exit $ac_status); } &&
36648 - { ac_try='test -z "$ac_c_werror_flag"
36649 - || test ! -s conftest.err'
36650 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36651 - (eval $ac_try) 2>&5
36653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 - (exit $ac_status); }; } &&
36655 - { ac_try='test -s conftest.$ac_objext'
36656 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657 - (eval $ac_try) 2>&5
36659 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 - (exit $ac_status); }; }; then
36661 + (exit $ac_status); } && {
36662 + test -z "$ac_c_werror_flag" ||
36663 + test ! -s conftest.err
36664 + } && test -s conftest.$ac_objext; then
36665 ac_cv_have_decl_getenv=yes
36667 echo "$as_me: failed program was:" >&5
36668 sed 's/^/| /' conftest.$ac_ext >&5
36670 -ac_cv_have_decl_getenv=no
36671 + ac_cv_have_decl_getenv=no
36673 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36675 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36677 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
36678 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
36679 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
36680 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
36681 if test $ac_cv_have_decl_getenv = yes; then
36683 cat >>confdefs.h <<_ACEOF
36684 @@ -10351,8 +10758,8 @@ _ACEOF
36688 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
36689 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
36690 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
36691 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
36692 if test "${ac_cv_have_decl_environ+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 @@ -10367,7 +10774,7 @@ int
36699 - char *p = (char *) environ;
36704 @@ -10375,38 +10782,34 @@ main ()
36707 rm -f conftest.$ac_objext
36708 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36709 - (eval $ac_compile) 2>conftest.er1
36710 +if { (ac_try="$ac_compile"
36711 +case "(($ac_try" in
36712 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36713 + *) ac_try_echo=$ac_try;;
36715 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36716 + (eval "$ac_compile") 2>conftest.er1
36718 grep -v '^ *+' conftest.er1 >conftest.err
36720 cat conftest.err >&5
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 - (exit $ac_status); } &&
36723 - { ac_try='test -z "$ac_c_werror_flag"
36724 - || test ! -s conftest.err'
36725 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36726 - (eval $ac_try) 2>&5
36728 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36729 - (exit $ac_status); }; } &&
36730 - { ac_try='test -s conftest.$ac_objext'
36731 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 - (eval $ac_try) 2>&5
36734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 - (exit $ac_status); }; }; then
36736 + (exit $ac_status); } && {
36737 + test -z "$ac_c_werror_flag" ||
36738 + test ! -s conftest.err
36739 + } && test -s conftest.$ac_objext; then
36740 ac_cv_have_decl_environ=yes
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36745 -ac_cv_have_decl_environ=no
36746 + ac_cv_have_decl_environ=no
36748 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36750 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36752 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
36753 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
36754 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
36755 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
36756 if test $ac_cv_have_decl_environ = yes; then
36758 cat >>confdefs.h <<_ACEOF
36759 @@ -10421,8 +10824,8 @@ _ACEOF
36763 -echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
36764 -echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
36765 +{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
36766 +echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
36767 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
36768 echo $ECHO_N "(cached) $ECHO_C" >&6
36770 @@ -10437,7 +10840,7 @@ int
36773 #ifndef getc_unlocked
36774 - char *p = (char *) getc_unlocked;
36775 + (void) getc_unlocked;
36779 @@ -10445,38 +10848,34 @@ main ()
36782 rm -f conftest.$ac_objext
36783 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36784 - (eval $ac_compile) 2>conftest.er1
36785 +if { (ac_try="$ac_compile"
36786 +case "(($ac_try" in
36787 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36788 + *) ac_try_echo=$ac_try;;
36790 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36791 + (eval "$ac_compile") 2>conftest.er1
36793 grep -v '^ *+' conftest.er1 >conftest.err
36795 cat conftest.err >&5
36796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36797 - (exit $ac_status); } &&
36798 - { ac_try='test -z "$ac_c_werror_flag"
36799 - || test ! -s conftest.err'
36800 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36801 - (eval $ac_try) 2>&5
36803 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 - (exit $ac_status); }; } &&
36805 - { ac_try='test -s conftest.$ac_objext'
36806 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36807 - (eval $ac_try) 2>&5
36809 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36810 - (exit $ac_status); }; }; then
36811 + (exit $ac_status); } && {
36812 + test -z "$ac_c_werror_flag" ||
36813 + test ! -s conftest.err
36814 + } && test -s conftest.$ac_objext; then
36815 ac_cv_have_decl_getc_unlocked=yes
36817 echo "$as_me: failed program was:" >&5
36818 sed 's/^/| /' conftest.$ac_ext >&5
36820 -ac_cv_have_decl_getc_unlocked=no
36821 + ac_cv_have_decl_getc_unlocked=no
36823 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36825 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
36828 -echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
36829 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
36830 +echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
36831 if test $ac_cv_have_decl_getc_unlocked = yes; then
36833 cat >>confdefs.h <<_ACEOF
36834 @@ -10491,8 +10890,8 @@ _ACEOF
36838 -echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
36839 -echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6
36840 +{ echo "$as_me:$LINENO: checking whether snprintf is declared" >&5
36841 +echo $ECHO_N "checking whether snprintf is declared... $ECHO_C" >&6; }
36842 if test "${ac_cv_have_decl_snprintf+set}" = set; then
36843 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 @@ -10507,7 +10906,7 @@ int
36849 - char *p = (char *) snprintf;
36854 @@ -10515,38 +10914,34 @@ main ()
36857 rm -f conftest.$ac_objext
36858 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36859 - (eval $ac_compile) 2>conftest.er1
36860 +if { (ac_try="$ac_compile"
36861 +case "(($ac_try" in
36862 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36863 + *) ac_try_echo=$ac_try;;
36865 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36866 + (eval "$ac_compile") 2>conftest.er1
36868 grep -v '^ *+' conftest.er1 >conftest.err
36870 cat conftest.err >&5
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 - (exit $ac_status); } &&
36873 - { ac_try='test -z "$ac_c_werror_flag"
36874 - || test ! -s conftest.err'
36875 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36876 - (eval $ac_try) 2>&5
36878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36879 - (exit $ac_status); }; } &&
36880 - { ac_try='test -s conftest.$ac_objext'
36881 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 - (eval $ac_try) 2>&5
36884 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 - (exit $ac_status); }; }; then
36886 + (exit $ac_status); } && {
36887 + test -z "$ac_c_werror_flag" ||
36888 + test ! -s conftest.err
36889 + } && test -s conftest.$ac_objext; then
36890 ac_cv_have_decl_snprintf=yes
36892 echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36895 -ac_cv_have_decl_snprintf=no
36896 + ac_cv_have_decl_snprintf=no
36898 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36900 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
36903 -echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6
36904 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_snprintf" >&5
36905 +echo "${ECHO_T}$ac_cv_have_decl_snprintf" >&6; }
36906 if test $ac_cv_have_decl_snprintf = yes; then
36908 cat >>confdefs.h <<_ACEOF
36909 @@ -10561,8 +10956,8 @@ _ACEOF
36913 -echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
36914 -echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6
36915 +{ echo "$as_me:$LINENO: checking whether vsnprintf is declared" >&5
36916 +echo $ECHO_N "checking whether vsnprintf is declared... $ECHO_C" >&6; }
36917 if test "${ac_cv_have_decl_vsnprintf+set}" = set; then
36918 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 @@ -10577,7 +10972,7 @@ int
36924 - char *p = (char *) vsnprintf;
36925 + (void) vsnprintf;
36929 @@ -10585,38 +10980,34 @@ main ()
36932 rm -f conftest.$ac_objext
36933 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36934 - (eval $ac_compile) 2>conftest.er1
36935 +if { (ac_try="$ac_compile"
36936 +case "(($ac_try" in
36937 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36938 + *) ac_try_echo=$ac_try;;
36940 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36941 + (eval "$ac_compile") 2>conftest.er1
36943 grep -v '^ *+' conftest.er1 >conftest.err
36945 cat conftest.err >&5
36946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36947 - (exit $ac_status); } &&
36948 - { ac_try='test -z "$ac_c_werror_flag"
36949 - || test ! -s conftest.err'
36950 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36951 - (eval $ac_try) 2>&5
36953 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 - (exit $ac_status); }; } &&
36955 - { ac_try='test -s conftest.$ac_objext'
36956 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957 - (eval $ac_try) 2>&5
36959 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960 - (exit $ac_status); }; }; then
36961 + (exit $ac_status); } && {
36962 + test -z "$ac_c_werror_flag" ||
36963 + test ! -s conftest.err
36964 + } && test -s conftest.$ac_objext; then
36965 ac_cv_have_decl_vsnprintf=yes
36967 echo "$as_me: failed program was:" >&5
36968 sed 's/^/| /' conftest.$ac_ext >&5
36970 -ac_cv_have_decl_vsnprintf=no
36971 + ac_cv_have_decl_vsnprintf=no
36973 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36975 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36977 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
36978 -echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6
36979 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_vsnprintf" >&5
36980 +echo "${ECHO_T}$ac_cv_have_decl_vsnprintf" >&6; }
36981 if test $ac_cv_have_decl_vsnprintf = yes; then
36983 cat >>confdefs.h <<_ACEOF
36984 @@ -10817,8 +11208,10 @@ done
36988 - ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
36989 - ac_config_commands="$ac_config_commands default"
36990 +ac_config_files="$ac_config_files Makefile doc/Makefile po/Makefile.in:po/Make-in"
36992 +ac_config_commands="$ac_config_commands default"
36994 cat >confcache <<\_ACEOF
36995 # This file is a shell script that caches the results of configure
36996 # tests run on this system so they can be shared between configure
36997 @@ -10837,39 +11230,58 @@ _ACEOF
36999 # The following way of writing the cache mishandles newlines in values,
37000 # but we know of no workaround that is simple, portable, and efficient.
37001 -# So, don't put newlines in cache variables' values.
37002 +# So, we kill variables containing newlines.
37003 # Ultrix sh set writes to stderr and can't be redirected directly,
37004 # and sets the high bit in the cache file unless we assign to the vars.
37007 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37008 + eval ac_val=\$$ac_var
37009 + case $ac_val in #(
37011 + case $ac_var in #(
37012 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37013 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37015 + case $ac_var in #(
37016 + _ | IFS | as_nl) ;; #(
37017 + *) $as_unset $ac_var ;;
37023 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
37025 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
37026 + *${as_nl}ac_space=\ *)
37027 # `set' does not quote correctly, so add quotes (double-quote
37028 # substitution turns \\\\ into \\, and sed turns \\ into \).
37031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37035 # `set' quotes correctly as required by POSIX, so do not add quotes.
37037 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37038 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37046 + /^ac_cv_env_/b end
37050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37052 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37053 - : end' >>confcache
37054 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
37055 - if test -w $cache_file; then
37056 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37057 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37058 + :end' >>confcache
37059 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37060 + if test -w "$cache_file"; then
37061 + test "x$cache_file" != "x/dev/null" &&
37062 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37063 +echo "$as_me: updating cache $cache_file" >&6;}
37064 cat confcache >$cache_file
37066 - echo "not updating unwritable cache $cache_file"
37067 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37068 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37072 @@ -10878,32 +11290,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
37073 # Let make expand exec_prefix.
37074 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
37076 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
37077 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
37078 -# trailing colons and then remove the whole line if VPATH becomes empty
37079 -# (actually we leave an empty line to preserve line numbers).
37080 -if test "x$srcdir" = x.; then
37081 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
37082 -s/:*\$(srcdir):*/:/;
37083 -s/:*\${srcdir}:*/:/;
37084 -s/:*@srcdir@:*/:/;
37085 -s/^\([^=]*=[ ]*\):*/\1/;
37091 DEFS=-DHAVE_CONFIG_H
37095 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
37096 # 1. Remove the extension, and $U if already installed.
37097 - ac_i=`echo "$ac_i" |
37098 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
37100 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
37101 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
37102 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
37103 + ac_i=`echo "$ac_i" | sed "$ac_script"`
37104 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
37105 + # will be set to the directory where LIBOBJS objects are built.
37106 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
37107 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
37109 LIBOBJS=$ac_libobjs
37111 @@ -10955,17 +11353,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
37112 ## M4sh Initialization. ##
37113 ## --------------------- ##
37115 -# Be Bourne compatible
37116 +# Be more Bourne compatible
37117 +DUALCASE=1; export DUALCASE # for MKS sh
37118 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
37121 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
37122 # is contrary to our usage. Disable this feature.
37123 alias -g '${1+"$@"}'='"$@"'
37124 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
37126 + setopt NO_GLOB_SUBST
37128 + case `(set -o) 2>/dev/null` in
37129 + *posix*) set -o posix ;;
37138 +# Avoid depending upon Character Ranges.
37139 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37140 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37141 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37142 +as_cr_digits='0123456789'
37143 +as_cr_alnum=$as_cr_Letters$as_cr_digits
37145 +# The user is always right.
37146 +if test "${PATH_SEPARATOR+set}" != set; then
37147 + echo "#! /bin/sh" >conf$$.sh
37148 + echo "exit 0" >>conf$$.sh
37149 + chmod +x conf$$.sh
37150 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
37151 + PATH_SEPARATOR=';'
37157 -DUALCASE=1; export DUALCASE # for MKS sh
37159 # Support unset when possible.
37160 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
37161 @@ -10975,8 +11401,43 @@ else
37166 +# We need space, tab and new line, in precisely that order. Quoting is
37167 +# there to prevent editors from complaining about space-tab.
37168 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
37169 +# splitting by setting IFS to empty value.)
37174 +# Find who we are. Look in the path if we contain no directory separator.
37176 + *[\\/]* ) as_myself=$0 ;;
37177 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37178 +for as_dir in $PATH
37181 + test -z "$as_dir" && as_dir=.
37182 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37188 +# We did not find ourselves, most probably we were run as `sh COMMAND'
37189 +# in which case we are not to be found in the path.
37190 +if test "x$as_myself" = x; then
37193 +if test ! -f "$as_myself"; then
37194 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
37195 + { (exit 1); exit 1; }
37198 # Work around bugs in pre-3.0 UWIN ksh.
37199 -$as_unset ENV MAIL MAILPATH
37200 +for as_var in ENV MAIL MAILPATH
37201 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
37206 @@ -10990,18 +11451,19 @@ do
37207 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
37208 eval $as_var=C; export $as_var
37210 - $as_unset $as_var
37211 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
37215 # Required to use basename.
37216 -if expr a : '\(a\)' >/dev/null 2>&1; then
37217 +if expr a : '\(a\)' >/dev/null 2>&1 &&
37218 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
37224 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
37225 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
37226 as_basename=basename
37229 @@ -11009,159 +11471,120 @@ fi
37232 # Name of the executable.
37233 -as_me=`$as_basename "$0" ||
37234 +as_me=`$as_basename -- "$0" ||
37235 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37236 X"$0" : 'X\(//\)$' \| \
37237 - X"$0" : 'X\(/\)$' \| \
37238 - . : '\(.\)' 2>/dev/null ||
37239 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37241 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
37242 - /^X\/\(\/\/\)$/{ s//\1/; q; }
37243 - /^X\/\(\/\).*/{ s//\1/; q; }
37245 + sed '/^.*\/\([^/][^/]*\)\/*$/{
37260 -# PATH needs CR, and LINENO needs CR and PATH.
37261 -# Avoid depending upon Character Ranges.
37262 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37263 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37264 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37265 -as_cr_digits='0123456789'
37266 -as_cr_alnum=$as_cr_Letters$as_cr_digits
37268 -# The user is always right.
37269 -if test "${PATH_SEPARATOR+set}" != set; then
37270 - echo "#! /bin/sh" >conf$$.sh
37271 - echo "exit 0" >>conf$$.sh
37272 - chmod +x conf$$.sh
37273 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
37274 - PATH_SEPARATOR=';'
37284 - as_lineno_1=$LINENO
37285 - as_lineno_2=$LINENO
37286 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37287 - test "x$as_lineno_1" != "x$as_lineno_2" &&
37288 - test "x$as_lineno_3" = "x$as_lineno_2" || {
37289 - # Find who we are. Look in the path if we contain no path at all
37290 - # relative or not.
37292 - *[\\/]* ) as_myself=$0 ;;
37293 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37294 -for as_dir in $PATH
37297 - test -z "$as_dir" && as_dir=.
37298 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37303 - # We did not find ourselves, most probably we were run as `sh COMMAND'
37304 - # in which case we are not to be found in the path.
37305 - if test "x$as_myself" = x; then
37308 - if test ! -f "$as_myself"; then
37309 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
37310 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
37311 - { (exit 1); exit 1; }; }
37313 - case $CONFIG_SHELL in
37315 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37316 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
37319 - test -z "$as_dir" && as_dir=.
37320 - for as_base in sh bash ksh sh5; do
37323 - if ("$as_dir/$as_base" -c '
37324 as_lineno_1=$LINENO
37325 as_lineno_2=$LINENO
37326 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
37327 test "x$as_lineno_1" != "x$as_lineno_2" &&
37328 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
37329 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
37330 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
37331 - CONFIG_SHELL=$as_dir/$as_base
37332 - export CONFIG_SHELL
37333 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
37340 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
37342 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
37343 # uniformly replaced by the line number. The first 'sed' inserts a
37344 - # line-number line before each line; the second 'sed' does the real
37345 - # work. The second script uses 'N' to pair each line-number line
37346 - # with the numbered line, and appends trailing '-' during
37347 - # substitution so that $LINENO is not a special case at line end.
37348 + # line-number line after each line using $LINENO; the second 'sed'
37349 + # does the real work. The second script uses 'N' to pair each
37350 + # line-number line with the line containing $LINENO, and appends
37351 + # trailing '-' during substitution so that $LINENO is not a special
37352 + # case at line end.
37353 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
37354 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
37355 - sed '=' <$as_myself |
37356 + # scripts with optimization help from Paolo Bonzini. Blame Lee
37357 + # E. McMahon (1931-1989) for sed's syntax. :-)
37363 + s/[$]LINENO.*/&-/
37370 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
37372 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
37375 - s,^['$as_cr_digits']*\n,,
37377 ' >$as_me.lineno &&
37378 - chmod +x $as_me.lineno ||
37379 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
37380 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
37381 + chmod +x "$as_me.lineno" ||
37382 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
37383 { (exit 1); exit 1; }; }
37385 # Don't try to exec as it changes $[0], causing all sort of problems
37386 # (the dirname of $[0] is not the place where we might find the
37387 - # original and so on. Autoconf is especially sensible to this).
37388 - . ./$as_me.lineno
37389 + # original and so on. Autoconf is especially sensitive to this).
37390 + . "./$as_me.lineno"
37391 # Exit status is that of the last command.
37396 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
37397 - *c*,-n*) ECHO_N= ECHO_C='
37399 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
37400 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
37401 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37402 + as_dirname=dirname
37407 +ECHO_C= ECHO_N= ECHO_T=
37408 +case `echo -n x` in
37410 + case `echo 'x\c'` in
37411 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
37418 -if expr a : '\(a\)' >/dev/null 2>&1; then
37419 +if expr a : '\(a\)' >/dev/null 2>&1 &&
37420 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
37426 rm -f conf$$ conf$$.exe conf$$.file
37427 +if test -d conf$$.dir; then
37428 + rm -f conf$$.dir/conf$$.file
37434 if ln -s conf$$.file conf$$ 2>/dev/null; then
37435 - # We could just check for DJGPP; but this test a) works b) is more generic
37436 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
37437 - if test -f conf$$.exe; then
37438 - # Don't use ln at all; we don't have any links
37440 + # ... but there are two gotchas:
37441 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37442 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
37443 + # In both cases, we have to default to `cp -p'.
37444 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
37449 elif ln conf$$.file conf$$ 2>/dev/null; then
37454 -rm -f conf$$ conf$$.exe conf$$.file
37455 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
37456 +rmdir conf$$.dir 2>/dev/null
37458 if mkdir -p . 2>/dev/null; then
37460 @@ -11170,7 +11593,28 @@ else
37464 -as_executable_p="test -f"
37465 +if test -x / >/dev/null 2>&1; then
37466 + as_test_x='test -x'
37468 + if ls -dL / >/dev/null 2>&1; then
37475 + if test -d "$1"; then
37481 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
37482 + ???[sx]*):;;*)false;;esac;fi
37486 +as_executable_p=$as_test_x
37488 # Sed expression to map a string onto a valid CPP name.
37489 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
37490 @@ -11179,31 +11623,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
37491 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
37495 -# We need space, tab and new line, in precisely that order.
37505 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
37506 +# Save the log message, to keep $[0] and so on meaningful, and to
37507 # report actual input values of CONFIG_FILES etc. instead of their
37508 -# values after options handling. Logging --version etc. is OK.
37509 -exec 5>>config.log
37512 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37513 -## Running $as_me. ##
37518 +# values after options handling.
37520 This file was extended by $as_me, which was
37521 -generated by GNU Autoconf 2.59. Invocation command line was
37522 +generated by GNU Autoconf 2.61. Invocation command line was
37524 CONFIG_FILES = $CONFIG_FILES
37525 CONFIG_HEADERS = $CONFIG_HEADERS
37526 @@ -11211,30 +11638,20 @@ generated by GNU Autoconf 2.59. Invocat
37527 CONFIG_COMMANDS = $CONFIG_COMMANDS
37531 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
37533 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
37538 +cat >>$CONFIG_STATUS <<_ACEOF
37539 # Files that config.status was made for.
37540 -if test -n "$ac_config_files"; then
37541 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
37544 -if test -n "$ac_config_headers"; then
37545 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
37548 -if test -n "$ac_config_links"; then
37549 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
37551 +config_files="$ac_config_files"
37552 +config_headers="$ac_config_headers"
37553 +config_commands="$ac_config_commands"
37555 -if test -n "$ac_config_commands"; then
37556 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
37560 cat >>$CONFIG_STATUS <<\_ACEOF
37563 \`$as_me' instantiates files from templates according to the
37564 current configuration.
37565 @@ -11242,7 +11659,7 @@ current configuration.
37566 Usage: $0 [OPTIONS] [FILE]...
37568 -h, --help print this help, then exit
37569 - -V, --version print version number, then exit
37570 + -V, --version print version number and configuration settings, then exit
37571 -q, --quiet do not print progress messages
37572 -d, --debug don't remove temporary files
37573 --recheck update $as_me by reconfiguring in the same conditions
37574 @@ -11261,19 +11678,21 @@ Configuration commands:
37577 Report bugs to <bug-autoconf@gnu.org>."
37581 cat >>$CONFIG_STATUS <<_ACEOF
37584 -configured by $0, generated by GNU Autoconf 2.59,
37585 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
37586 +configured by $0, generated by GNU Autoconf 2.61,
37587 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
37589 -Copyright (C) 2003 Free Software Foundation, Inc.
37590 +Copyright (C) 2006 Free Software Foundation, Inc.
37591 This config.status script is free software; the Free Software Foundation
37592 gives unlimited permission to copy, distribute and modify it."
37594 -INSTALL="$INSTALL"
37598 +INSTALL='$INSTALL'
37601 cat >>$CONFIG_STATUS <<\_ACEOF
37602 @@ -11284,39 +11703,24 @@ while test $# != 0
37606 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
37607 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
37608 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
37609 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
37618 - *) # This is not an option, so the user has probably given explicit
37621 - ac_need_defaults=false;;
37625 # Handling of the options.
37627 -cat >>$CONFIG_STATUS <<\_ACEOF
37628 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37630 - --version | --vers* | -V )
37631 - echo "$ac_cs_version"; exit 0 ;;
37633 - # Conflict between --help and --header
37634 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
37635 -Try \`$0 --help' for more information." >&5
37636 -echo "$as_me: error: ambiguous option: $1
37637 -Try \`$0 --help' for more information." >&2;}
37638 - { (exit 1); exit 1; }; };;
37639 - --help | --hel | -h )
37640 - echo "$ac_cs_usage"; exit 0 ;;
37641 - --debug | --d* | -d )
37642 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
37643 + echo "$ac_cs_version"; exit ;;
37644 + --debug | --debu | --deb | --de | --d | -d )
37646 --file | --fil | --fi | --f )
37648 @@ -11326,18 +11730,24 @@ Try \`$0 --help' for more information."
37650 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
37651 ac_need_defaults=false;;
37653 + # Conflict between --help and --header
37654 + { echo "$as_me: error: ambiguous option: $1
37655 +Try \`$0 --help' for more information." >&2
37656 + { (exit 1); exit 1; }; };;
37657 + --help | --hel | -h )
37658 + echo "$ac_cs_usage"; exit ;;
37659 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
37660 | -silent | --silent | --silen | --sile | --sil | --si | --s)
37663 # This is an error.
37664 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
37665 -Try \`$0 --help' for more information." >&5
37666 -echo "$as_me: error: unrecognized option: $1
37667 -Try \`$0 --help' for more information." >&2;}
37668 + -*) { echo "$as_me: error: unrecognized option: $1
37669 +Try \`$0 --help' for more information." >&2
37670 { (exit 1); exit 1; }; } ;;
37672 - *) ac_config_targets="$ac_config_targets $1" ;;
37673 + *) ac_config_targets="$ac_config_targets $1"
37674 + ac_need_defaults=false ;;
37678 @@ -11353,40 +11763,52 @@ fi
37680 cat >>$CONFIG_STATUS <<_ACEOF
37681 if \$ac_cs_recheck; then
37682 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37683 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37684 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
37685 + CONFIG_SHELL=$SHELL
37686 + export CONFIG_SHELL
37687 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
37691 +cat >>$CONFIG_STATUS <<\_ACEOF
37692 +exec 5>>config.log
37695 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
37696 +## Running $as_me. ##
37702 cat >>$CONFIG_STATUS <<_ACEOF
37704 -# INIT-COMMANDS section.
37708 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
37714 cat >>$CONFIG_STATUS <<\_ACEOF
37716 +# Handling of arguments.
37717 for ac_config_target in $ac_config_targets
37719 - case "$ac_config_target" in
37720 - # Handling of arguments.
37721 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37722 - "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
37723 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
37724 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
37725 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37726 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
37727 + case $ac_config_target in
37728 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
37729 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
37730 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
37731 + "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
37732 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
37733 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
37735 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
37736 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
37737 { (exit 1); exit 1; }; };;
37742 # If the user did not use the arguments to specify the items to instantiate,
37743 # then the envvar interface is used. Set only those that are not.
37744 # We use the long form for the default assignment because of an extremely
37745 @@ -11398,391 +11820,496 @@ if $ac_need_defaults; then
37748 # Have a temporary directory for convenience. Make it in the build tree
37749 -# simply because there is no reason to put it here, and in addition,
37750 +# simply because there is no reason against having it here, and in addition,
37751 # creating and moving files from /tmp can sometimes cause problems.
37752 -# Create a temporary directory, and hook for its removal unless debugging.
37753 +# Hook for its removal unless debugging.
37754 +# Note that there is a small window in which the directory will not be cleaned:
37755 +# after its creation but before its name has been assigned to `$tmp'.
37758 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
37760 + trap 'exit_status=$?
37761 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
37763 trap '{ (exit 1); exit 1; }' 1 2 13 15
37766 # Create a (secure) tmp directory for tmp files.
37769 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
37770 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
37771 test -n "$tmp" && test -d "$tmp"
37774 - tmp=./confstat$$-$RANDOM
37775 - (umask 077 && mkdir $tmp)
37776 + tmp=./conf$$-$RANDOM
37777 + (umask 077 && mkdir "$tmp")
37780 echo "$me: cannot create a temporary directory in ." >&2
37781 { (exit 1); exit 1; }
37786 -cat >>$CONFIG_STATUS <<_ACEOF
37789 -# CONFIG_FILES section.
37790 +# Set up the sed scripts for CONFIG_FILES section.
37793 # No need to generate the scripts if there are no CONFIG_FILES.
37794 # This happens for instance when ./config.status config.h
37795 -if test -n "\$CONFIG_FILES"; then
37796 - # Protect against being on the right side of a sed subst in config.status.
37797 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
37798 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
37799 -s,@SHELL@,$SHELL,;t t
37800 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
37801 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
37802 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
37803 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
37804 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
37805 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
37806 -s,@exec_prefix@,$exec_prefix,;t t
37807 -s,@prefix@,$prefix,;t t
37808 -s,@program_transform_name@,$program_transform_name,;t t
37809 -s,@bindir@,$bindir,;t t
37810 -s,@sbindir@,$sbindir,;t t
37811 -s,@libexecdir@,$libexecdir,;t t
37812 -s,@datadir@,$datadir,;t t
37813 -s,@sysconfdir@,$sysconfdir,;t t
37814 -s,@sharedstatedir@,$sharedstatedir,;t t
37815 -s,@localstatedir@,$localstatedir,;t t
37816 -s,@libdir@,$libdir,;t t
37817 -s,@includedir@,$includedir,;t t
37818 -s,@oldincludedir@,$oldincludedir,;t t
37819 -s,@infodir@,$infodir,;t t
37820 -s,@mandir@,$mandir,;t t
37821 -s,@build_alias@,$build_alias,;t t
37822 -s,@host_alias@,$host_alias,;t t
37823 -s,@target_alias@,$target_alias,;t t
37824 -s,@DEFS@,$DEFS,;t t
37825 -s,@ECHO_C@,$ECHO_C,;t t
37826 -s,@ECHO_N@,$ECHO_N,;t t
37827 -s,@ECHO_T@,$ECHO_T,;t t
37828 -s,@LIBS@,$LIBS,;t t
37829 -s,@build@,$build,;t t
37830 -s,@build_cpu@,$build_cpu,;t t
37831 -s,@build_vendor@,$build_vendor,;t t
37832 -s,@build_os@,$build_os,;t t
37833 -s,@host@,$host,;t t
37834 -s,@host_cpu@,$host_cpu,;t t
37835 -s,@host_vendor@,$host_vendor,;t t
37836 -s,@host_os@,$host_os,;t t
37837 -s,@target@,$target,;t t
37838 -s,@target_cpu@,$target_cpu,;t t
37839 -s,@target_vendor@,$target_vendor,;t t
37840 -s,@target_os@,$target_os,;t t
37842 -s,@CFLAGS@,$CFLAGS,;t t
37843 -s,@LDFLAGS@,$LDFLAGS,;t t
37844 -s,@CPPFLAGS@,$CPPFLAGS,;t t
37845 -s,@ac_ct_CC@,$ac_ct_CC,;t t
37846 -s,@EXEEXT@,$EXEEXT,;t t
37847 -s,@OBJEXT@,$OBJEXT,;t t
37848 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
37849 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
37850 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
37851 -s,@CYGPATH_W@,$CYGPATH_W,;t t
37852 -s,@PACKAGE@,$PACKAGE,;t t
37853 -s,@VERSION@,$VERSION,;t t
37854 -s,@ACLOCAL@,$ACLOCAL,;t t
37855 -s,@AUTOCONF@,$AUTOCONF,;t t
37856 -s,@AUTOMAKE@,$AUTOMAKE,;t t
37857 -s,@AUTOHEADER@,$AUTOHEADER,;t t
37858 -s,@MAKEINFO@,$MAKEINFO,;t t
37859 -s,@install_sh@,$install_sh,;t t
37860 -s,@STRIP@,$STRIP,;t t
37861 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
37862 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
37863 -s,@mkdir_p@,$mkdir_p,;t t
37865 -s,@SET_MAKE@,$SET_MAKE,;t t
37866 -s,@am__leading_dot@,$am__leading_dot,;t t
37867 -s,@AMTAR@,$AMTAR,;t t
37868 -s,@am__tar@,$am__tar,;t t
37869 -s,@am__untar@,$am__untar,;t t
37870 -s,@DEPDIR@,$DEPDIR,;t t
37871 -s,@am__include@,$am__include,;t t
37872 -s,@am__quote@,$am__quote,;t t
37873 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
37874 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
37875 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
37876 -s,@CCDEPMODE@,$CCDEPMODE,;t t
37877 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
37878 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
37879 -s,@LN_S@,$LN_S,;t t
37880 -s,@RANLIB@,$RANLIB,;t t
37881 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
37882 -s,@LIBTOOL@,$LIBTOOL,;t t
37883 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
37884 -s,@NO_WERROR@,$NO_WERROR,;t t
37885 -s,@YACC@,$YACC,;t t
37887 -s,@LEXLIB@,$LEXLIB,;t t
37888 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
37890 -s,@EGREP@,$EGREP,;t t
37891 -s,@ALLOCA@,$ALLOCA,;t t
37892 -s,@USE_NLS@,$USE_NLS,;t t
37893 -s,@MSGFMT@,$MSGFMT,;t t
37894 -s,@GMSGFMT@,$GMSGFMT,;t t
37895 -s,@XGETTEXT@,$XGETTEXT,;t t
37896 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
37897 -s,@CATALOGS@,$CATALOGS,;t t
37898 -s,@CATOBJEXT@,$CATOBJEXT,;t t
37899 -s,@DATADIRNAME@,$DATADIRNAME,;t t
37900 -s,@GMOFILES@,$GMOFILES,;t t
37901 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
37902 -s,@INTLDEPS@,$INTLDEPS,;t t
37903 -s,@INTLLIBS@,$INTLLIBS,;t t
37904 -s,@INTLOBJS@,$INTLOBJS,;t t
37905 -s,@POFILES@,$POFILES,;t t
37906 -s,@POSUB@,$POSUB,;t t
37907 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
37908 -s,@GT_NO@,$GT_NO,;t t
37909 -s,@GT_YES@,$GT_YES,;t t
37910 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
37912 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
37913 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
37914 -s,@MAINT@,$MAINT,;t t
37915 -s,@HDEFINES@,$HDEFINES,;t t
37917 -s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t
37918 -s,@EXEEXT_FOR_BUILD@,$EXEEXT_FOR_BUILD,;t t
37919 -s,@DEMANGLER_NAME@,$DEMANGLER_NAME,;t t
37920 -s,@NLMCONV_DEFS@,$NLMCONV_DEFS,;t t
37921 -s,@BUILD_NLMCONV@,$BUILD_NLMCONV,;t t
37922 -s,@BUILD_SRCONV@,$BUILD_SRCONV,;t t
37923 -s,@BUILD_DLLTOOL@,$BUILD_DLLTOOL,;t t
37924 -s,@DLLTOOL_DEFS@,$DLLTOOL_DEFS,;t t
37925 -s,@BUILD_WINDRES@,$BUILD_WINDRES,;t t
37926 -s,@BUILD_DLLWRAP@,$BUILD_DLLWRAP,;t t
37927 -s,@BUILD_MISC@,$BUILD_MISC,;t t
37928 -s,@OBJDUMP_DEFS@,$OBJDUMP_DEFS,;t t
37929 -s,@EMULATION@,$EMULATION,;t t
37930 -s,@EMULATION_VECTOR@,$EMULATION_VECTOR,;t t
37931 -s,@datarootdir@,$datarootdir,;t t
37932 -s,@docdir@,$docdir,;t t
37933 -s,@htmldir@,$htmldir,;t t
37934 -s,@LIBOBJS@,$LIBOBJS,;t t
37935 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37940 - cat >>$CONFIG_STATUS <<\_ACEOF
37941 - # Split the substitutions into bite-sized pieces for seds with
37942 - # small command number limits, like on Digital OSF/1 and HP-UX.
37943 - ac_max_sed_lines=48
37944 - ac_sed_frag=1 # Number of current file.
37945 - ac_beg=1 # First line for current file.
37946 - ac_end=$ac_max_sed_lines # Line after last line for current file.
37949 - while $ac_more_lines; do
37950 - if test $ac_beg -gt 1; then
37951 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37953 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37955 - if test ! -s $tmp/subs.frag; then
37956 - ac_more_lines=false
37958 - # The purpose of the label and of the branching condition is to
37959 - # speed up the sed processing (if there are no `@' at all, there
37960 - # is no need to browse any of the substitutions).
37961 - # These are the two extra sed commands mentioned above.
37963 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37964 - if test -z "$ac_sed_cmds"; then
37965 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37967 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37969 - ac_sed_frag=`expr $ac_sed_frag + 1`
37971 - ac_end=`expr $ac_end + $ac_max_sed_lines`
37974 - if test -z "$ac_sed_cmds"; then
37976 +if test -n "$CONFIG_FILES"; then
37983 +for ac_last_try in false false false false false :; do
37984 + cat >conf$$subs.sed <<_ACEOF
37985 +SHELL!$SHELL$ac_delim
37986 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
37987 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
37988 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
37989 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
37990 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
37991 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
37992 +exec_prefix!$exec_prefix$ac_delim
37993 +prefix!$prefix$ac_delim
37994 +program_transform_name!$program_transform_name$ac_delim
37995 +bindir!$bindir$ac_delim
37996 +sbindir!$sbindir$ac_delim
37997 +libexecdir!$libexecdir$ac_delim
37998 +datarootdir!$datarootdir$ac_delim
37999 +datadir!$datadir$ac_delim
38000 +sysconfdir!$sysconfdir$ac_delim
38001 +sharedstatedir!$sharedstatedir$ac_delim
38002 +localstatedir!$localstatedir$ac_delim
38003 +includedir!$includedir$ac_delim
38004 +oldincludedir!$oldincludedir$ac_delim
38005 +docdir!$docdir$ac_delim
38006 +infodir!$infodir$ac_delim
38007 +htmldir!$htmldir$ac_delim
38008 +dvidir!$dvidir$ac_delim
38009 +pdfdir!$pdfdir$ac_delim
38010 +psdir!$psdir$ac_delim
38011 +libdir!$libdir$ac_delim
38012 +localedir!$localedir$ac_delim
38013 +mandir!$mandir$ac_delim
38014 +DEFS!$DEFS$ac_delim
38015 +ECHO_C!$ECHO_C$ac_delim
38016 +ECHO_N!$ECHO_N$ac_delim
38017 +ECHO_T!$ECHO_T$ac_delim
38018 +LIBS!$LIBS$ac_delim
38019 +build_alias!$build_alias$ac_delim
38020 +host_alias!$host_alias$ac_delim
38021 +target_alias!$target_alias$ac_delim
38022 +build!$build$ac_delim
38023 +build_cpu!$build_cpu$ac_delim
38024 +build_vendor!$build_vendor$ac_delim
38025 +build_os!$build_os$ac_delim
38026 +host!$host$ac_delim
38027 +host_cpu!$host_cpu$ac_delim
38028 +host_vendor!$host_vendor$ac_delim
38029 +host_os!$host_os$ac_delim
38030 +target!$target$ac_delim
38031 +target_cpu!$target_cpu$ac_delim
38032 +target_vendor!$target_vendor$ac_delim
38033 +target_os!$target_os$ac_delim
38035 +CFLAGS!$CFLAGS$ac_delim
38036 +LDFLAGS!$LDFLAGS$ac_delim
38037 +CPPFLAGS!$CPPFLAGS$ac_delim
38038 +ac_ct_CC!$ac_ct_CC$ac_delim
38039 +EXEEXT!$EXEEXT$ac_delim
38040 +OBJEXT!$OBJEXT$ac_delim
38041 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
38042 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
38043 +INSTALL_DATA!$INSTALL_DATA$ac_delim
38044 +CYGPATH_W!$CYGPATH_W$ac_delim
38045 +PACKAGE!$PACKAGE$ac_delim
38046 +VERSION!$VERSION$ac_delim
38047 +ACLOCAL!$ACLOCAL$ac_delim
38048 +AUTOCONF!$AUTOCONF$ac_delim
38049 +AUTOMAKE!$AUTOMAKE$ac_delim
38050 +AUTOHEADER!$AUTOHEADER$ac_delim
38051 +MAKEINFO!$MAKEINFO$ac_delim
38052 +install_sh!$install_sh$ac_delim
38053 +STRIP!$STRIP$ac_delim
38054 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
38055 +mkdir_p!$mkdir_p$ac_delim
38057 +SET_MAKE!$SET_MAKE$ac_delim
38058 +am__leading_dot!$am__leading_dot$ac_delim
38059 +AMTAR!$AMTAR$ac_delim
38060 +am__tar!$am__tar$ac_delim
38061 +am__untar!$am__untar$ac_delim
38062 +DEPDIR!$DEPDIR$ac_delim
38063 +am__include!$am__include$ac_delim
38064 +am__quote!$am__quote$ac_delim
38065 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
38066 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
38067 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
38068 +CCDEPMODE!$CCDEPMODE$ac_delim
38069 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
38070 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
38071 +LN_S!$LN_S$ac_delim
38072 +RANLIB!$RANLIB$ac_delim
38073 +LIBTOOL!$LIBTOOL$ac_delim
38074 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
38075 +NO_WERROR!$NO_WERROR$ac_delim
38076 +YACC!$YACC$ac_delim
38077 +YFLAGS!$YFLAGS$ac_delim
38079 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
38080 +LEXLIB!$LEXLIB$ac_delim
38084 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
38086 + elif $ac_last_try; then
38087 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38088 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38089 + { (exit 1); exit 1; }; }
38091 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38093 -fi # test -n "$CONFIG_FILES"
38096 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38097 +if test -n "$ac_eof"; then
38098 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38099 + ac_eof=`expr $ac_eof + 1`
38102 +cat >>$CONFIG_STATUS <<_ACEOF
38103 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
38104 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38107 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38108 +s/^/s,@/; s/!/@,|#_!!_#|/
38111 +s/'"$ac_delim"'$/,g/; t
38113 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38114 +' >>$CONFIG_STATUS <conf$$subs.sed
38115 +rm -f conf$$subs.sed
38116 +cat >>$CONFIG_STATUS <<_ACEOF
38122 +for ac_last_try in false false false false false :; do
38123 + cat >conf$$subs.sed <<_ACEOF
38124 +GREP!$GREP$ac_delim
38125 +EGREP!$EGREP$ac_delim
38126 +ALLOCA!$ALLOCA$ac_delim
38127 +USE_NLS!$USE_NLS$ac_delim
38128 +MSGFMT!$MSGFMT$ac_delim
38129 +GMSGFMT!$GMSGFMT$ac_delim
38130 +XGETTEXT!$XGETTEXT$ac_delim
38131 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
38132 +CATALOGS!$CATALOGS$ac_delim
38133 +CATOBJEXT!$CATOBJEXT$ac_delim
38134 +DATADIRNAME!$DATADIRNAME$ac_delim
38135 +GMOFILES!$GMOFILES$ac_delim
38136 +INSTOBJEXT!$INSTOBJEXT$ac_delim
38137 +INTLDEPS!$INTLDEPS$ac_delim
38138 +INTLLIBS!$INTLLIBS$ac_delim
38139 +INTLOBJS!$INTLOBJS$ac_delim
38140 +POFILES!$POFILES$ac_delim
38141 +POSUB!$POSUB$ac_delim
38142 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
38143 +GT_NO!$GT_NO$ac_delim
38144 +GT_YES!$GT_YES$ac_delim
38145 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
38147 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
38148 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
38149 +MAINT!$MAINT$ac_delim
38150 +HDEFINES!$HDEFINES$ac_delim
38152 +CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
38153 +EXEEXT_FOR_BUILD!$EXEEXT_FOR_BUILD$ac_delim
38154 +DEMANGLER_NAME!$DEMANGLER_NAME$ac_delim
38155 +NLMCONV_DEFS!$NLMCONV_DEFS$ac_delim
38156 +BUILD_NLMCONV!$BUILD_NLMCONV$ac_delim
38157 +BUILD_SRCONV!$BUILD_SRCONV$ac_delim
38158 +BUILD_DLLTOOL!$BUILD_DLLTOOL$ac_delim
38159 +DLLTOOL_DEFS!$DLLTOOL_DEFS$ac_delim
38160 +BUILD_WINDRES!$BUILD_WINDRES$ac_delim
38161 +BUILD_DLLWRAP!$BUILD_DLLWRAP$ac_delim
38162 +BUILD_MISC!$BUILD_MISC$ac_delim
38163 +OBJDUMP_DEFS!$OBJDUMP_DEFS$ac_delim
38164 +EMULATION!$EMULATION$ac_delim
38165 +EMULATION_VECTOR!$EMULATION_VECTOR$ac_delim
38166 +LIBOBJS!$LIBOBJS$ac_delim
38167 +LTLIBOBJS!$LTLIBOBJS$ac_delim
38170 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
38172 + elif $ac_last_try; then
38173 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
38174 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
38175 + { (exit 1); exit 1; }; }
38177 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38181 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
38182 +if test -n "$ac_eof"; then
38183 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
38184 + ac_eof=`expr $ac_eof + 1`
38187 +cat >>$CONFIG_STATUS <<_ACEOF
38188 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
38189 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
38192 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
38193 +s/^/s,@/; s/!/@,|#_!!_#|/
38196 +s/'"$ac_delim"'$/,g/; t
38198 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
38199 +' >>$CONFIG_STATUS <conf$$subs.sed
38200 +rm -f conf$$subs.sed
38201 +cat >>$CONFIG_STATUS <<_ACEOF
38208 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
38209 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
38210 +# trailing colons and then remove the whole line if VPATH becomes empty
38211 +# (actually we leave an empty line to preserve line numbers).
38212 +if test "x$srcdir" = x.; then
38213 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
38214 +s/:*\$(srcdir):*/:/
38215 +s/:*\${srcdir}:*/:/
38217 +s/^\([^=]*=[ ]*\):*/\1/
38223 cat >>$CONFIG_STATUS <<\_ACEOF
38224 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
38225 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38227 - - | *:- | *:-:* ) # input from stdin
38229 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38230 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38231 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38232 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38233 - * ) ac_file_in=$ac_file.in ;;
38234 +fi # test -n "$CONFIG_FILES"
38237 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
38240 + :[FHLC]) ac_mode=$ac_tag; continue;;
38242 + case $ac_mode$ac_tag in
38244 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
38245 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
38246 + { (exit 1); exit 1; }; };;
38247 + :[FH]-) ac_tag=-:-;;
38248 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
38259 + :L) ac_source=$1;;
38265 + -) ac_f="$tmp/stdin";;
38266 + *) # Look for the file first in the build tree, then in the source tree
38267 + # (if the path is not absolute). The absolute path cannot be DOS-style,
38268 + # because $ac_f cannot contain `:'.
38269 + test -f "$ac_f" ||
38272 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
38274 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
38275 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
38276 + { (exit 1); exit 1; }; };;
38278 + ac_file_inputs="$ac_file_inputs $ac_f"
38281 + # Let's still pretend it is `configure' which instantiates (i.e., don't
38282 + # use $as_me), people would be surprised to read:
38283 + # /* config.h. Generated by config.status. */
38284 + configure_input="Generated from "`IFS=:
38285 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
38286 + if test x"$ac_file" != x-; then
38287 + configure_input="$ac_file. $configure_input"
38288 + { echo "$as_me:$LINENO: creating $ac_file" >&5
38289 +echo "$as_me: creating $ac_file" >&6;}
38293 + *:-:* | *:-) cat >"$tmp/stdin";;
38298 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
38299 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38300 + ac_dir=`$as_dirname -- "$ac_file" ||
38301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38302 X"$ac_file" : 'X\(//\)[^/]' \| \
38303 X"$ac_file" : 'X\(//\)$' \| \
38304 - X"$ac_file" : 'X\(/\)' \| \
38305 - . : '\(.\)' 2>/dev/null ||
38306 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
38308 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38309 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38310 - /^X\(\/\/\)$/{ s//\1/; q; }
38311 - /^X\(\/\).*/{ s//\1/; q; }
38313 - { if $as_mkdir_p; then
38314 - mkdir -p "$ac_dir"
38317 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38321 + /^X\(\/\/\)[^/].*/{
38334 + { as_dir="$ac_dir"
38335 + case $as_dir in #(
38336 + -*) as_dir=./$as_dir;;
38338 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
38340 - while test ! -d "$as_dir"; do
38341 - as_dirs="$as_dir $as_dirs"
38342 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
38344 + case $as_dir in #(
38345 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
38346 + *) as_qdir=$as_dir;;
38348 + as_dirs="'$as_qdir' $as_dirs"
38349 + as_dir=`$as_dirname -- "$as_dir" ||
38350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38351 X"$as_dir" : 'X\(//\)[^/]' \| \
38352 X"$as_dir" : 'X\(//\)$' \| \
38353 - X"$as_dir" : 'X\(/\)' \| \
38354 - . : '\(.\)' 2>/dev/null ||
38355 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
38357 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38358 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38359 - /^X\(\/\/\)$/{ s//\1/; q; }
38360 - /^X\(\/\).*/{ s//\1/; q; }
38362 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38366 + /^X\(\/\/\)[^/].*/{
38379 + test -d "$as_dir" && break
38381 - test ! -n "$as_dirs" || mkdir $as_dirs
38382 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38383 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38384 + test -z "$as_dirs" || eval "mkdir $as_dirs"
38385 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
38386 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
38387 { (exit 1); exit 1; }; }; }
38391 -if test "$ac_dir" != .; then
38393 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
38395 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38396 - # A "../" for each directory in $ac_dir_suffix.
38397 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38399 - ac_dir_suffix= ac_top_builddir=
38401 + # A ".." for each directory in $ac_dir_suffix.
38402 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
38403 + case $ac_top_builddir_sub in
38404 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
38405 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
38408 +ac_abs_top_builddir=$ac_pwd
38409 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
38410 +# for backward compatibility:
38411 +ac_top_builddir=$ac_top_build_prefix
38414 - .) # No --srcdir option. We are building in place.
38415 + .) # We are building in place.
38417 - if test -z "$ac_top_builddir"; then
38420 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
38422 - [\\/]* | ?:[\\/]* ) # Absolute path.
38423 + ac_top_srcdir=$ac_top_builddir_sub
38424 + ac_abs_top_srcdir=$ac_pwd ;;
38425 + [\\/]* | ?:[\\/]* ) # Absolute name.
38426 ac_srcdir=$srcdir$ac_dir_suffix;
38427 - ac_top_srcdir=$srcdir ;;
38428 - *) # Relative path.
38429 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
38430 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
38432 + ac_top_srcdir=$srcdir
38433 + ac_abs_top_srcdir=$srcdir ;;
38434 + *) # Relative name.
38435 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
38436 + ac_top_srcdir=$ac_top_build_prefix$srcdir
38437 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
38439 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
38441 -# Do not use `cd foo && pwd` to compute absolute paths, because
38442 -# the directories may not exist.
38444 -.) ac_abs_builddir="$ac_dir";;
38446 - case "$ac_dir" in
38447 - .) ac_abs_builddir=`pwd`;;
38448 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
38449 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
38452 -case $ac_abs_builddir in
38453 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
38455 - case ${ac_top_builddir}. in
38456 - .) ac_abs_top_builddir=$ac_abs_builddir;;
38457 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
38458 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
38461 -case $ac_abs_builddir in
38462 -.) ac_abs_srcdir=$ac_srcdir;;
38464 - case $ac_srcdir in
38465 - .) ac_abs_srcdir=$ac_abs_builddir;;
38466 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
38467 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
38470 -case $ac_abs_builddir in
38471 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
38473 - case $ac_top_srcdir in
38474 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
38475 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
38476 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
38487 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
38488 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
38489 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
38493 - if test x"$ac_file" != x-; then
38494 - { echo "$as_me:$LINENO: creating $ac_file" >&5
38495 -echo "$as_me: creating $ac_file" >&6;}
38498 - # Let's still pretend it is `configure' which instantiates (i.e., don't
38499 - # use $as_me), people would be surprised to read:
38500 - # /* config.h. Generated by config.status. */
38501 - if test x"$ac_file" = x-; then
38504 - configure_input="$ac_file. "
38506 - configure_input=$configure_input"Generated from `echo $ac_file_in |
38507 - sed 's,.*/,,'` by configure."
38509 - # First look for the input files in the build tree, otherwise in the
38511 - ac_file_inputs=`IFS=:
38512 - for f in $ac_file_in; do
38514 - -) echo $tmp/stdin ;;
38516 - # Absolute (can't be DOS-style, as IFS=:)
38517 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38518 -echo "$as_me: error: cannot find input file: $f" >&2;}
38519 - { (exit 1); exit 1; }; }
38522 - if test -f "$f"; then
38525 - elif test -f "$srcdir/$f"; then
38527 - echo "$srcdir/$f"
38530 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38531 -echo "$as_me: error: cannot find input file: $f" >&2;}
38532 - { (exit 1); exit 1; }; }
38535 - done` || { (exit 1); exit 1; }
38536 +cat >>$CONFIG_STATUS <<\_ACEOF
38537 +# If the template does not know about datarootdir, expand it.
38538 +# FIXME: This hack should be removed a few years after 2.60.
38539 +ac_datarootdir_hack=; ac_datarootdir_seen=
38541 +case `sed -n '/datarootdir/ {
38550 +' $ac_file_inputs` in
38551 +*datarootdir*) ac_datarootdir_seen=yes;;
38552 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
38553 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
38554 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
38556 +cat >>$CONFIG_STATUS <<_ACEOF
38557 + ac_datarootdir_hack='
38558 + s&@datadir@&$datadir&g
38559 + s&@docdir@&$docdir&g
38560 + s&@infodir@&$infodir&g
38561 + s&@localedir@&$localedir&g
38562 + s&@mandir@&$mandir&g
38563 + s&\\\${datarootdir}&$datarootdir&g' ;;
38567 +# Neutralize VPATH when `$srcdir' = `.'.
38568 +# Shell code in configure.ac might set extrasub.
38569 +# FIXME: do we really want to maintain this feature?
38570 cat >>$CONFIG_STATUS <<_ACEOF
38573 @@ -11790,248 +12317,130 @@ _ACEOF
38574 cat >>$CONFIG_STATUS <<\_ACEOF
38576 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
38577 -s,@configure_input@,$configure_input,;t t
38578 -s,@srcdir@,$ac_srcdir,;t t
38579 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
38580 -s,@top_srcdir@,$ac_top_srcdir,;t t
38581 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
38582 -s,@builddir@,$ac_builddir,;t t
38583 -s,@abs_builddir@,$ac_abs_builddir,;t t
38584 -s,@top_builddir@,$ac_top_builddir,;t t
38585 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
38586 -s,@INSTALL@,$ac_INSTALL,;t t
38587 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
38589 - if test x"$ac_file" != x-; then
38590 - mv $tmp/out $ac_file
38598 -cat >>$CONFIG_STATUS <<\_ACEOF
38601 -# CONFIG_HEADER section.
38604 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
38605 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
38607 -# ac_d sets the value in "#define NAME VALUE" lines.
38608 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
38609 -ac_dB='[ ].*$,\1#\2'
38612 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
38613 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
38614 -ac_uB='$,\1#\2define\3'
38617 +s&@configure_input@&$configure_input&;t t
38618 +s&@top_builddir@&$ac_top_builddir_sub&;t t
38619 +s&@srcdir@&$ac_srcdir&;t t
38620 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
38621 +s&@top_srcdir@&$ac_top_srcdir&;t t
38622 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
38623 +s&@builddir@&$ac_builddir&;t t
38624 +s&@abs_builddir@&$ac_abs_builddir&;t t
38625 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
38626 +s&@INSTALL@&$ac_INSTALL&;t t
38627 +$ac_datarootdir_hack
38628 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
38630 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
38631 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
38632 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
38633 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
38634 +which seems to be undefined. Please make sure it is defined." >&5
38635 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
38636 +which seems to be undefined. Please make sure it is defined." >&2;}
38638 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
38639 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
38640 + rm -f "$tmp/stdin"
38642 - - | *:- | *:-:* ) # input from stdin
38644 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38645 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38646 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
38647 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
38648 - * ) ac_file_in=$ac_file.in ;;
38649 + -) cat "$tmp/out"; rm -f "$tmp/out";;
38650 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
38659 +# Transform confdefs.h into a sed script `conftest.defines', that
38660 +# substitutes the proper values into config.h.in to produce config.h.
38661 +rm -f conftest.defines conftest.tail
38662 +# First, append a space to every undef/define line, to ease matching.
38663 +echo 's/$/ /' >conftest.defines
38664 +# Then, protect against being on the right side of a sed subst, or in
38665 +# an unquoted here document, in config.status. If some macros were
38666 +# called several times there might be several #defines for the same
38667 +# symbol, which is useless. But do not sort them, since the last
38668 +# AC_DEFINE must be honored.
38669 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
38670 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
38671 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
38672 +# PARAMS is the parameter list in the macro definition--in most cases, it's
38673 +# just an empty string.
38674 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
38675 +ac_dB='\\)[ (].*,\\1define\\2'
38679 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
38680 -echo "$as_me: creating $ac_file" >&6;}
38682 - # First look for the input files in the build tree, otherwise in the
38684 - ac_file_inputs=`IFS=:
38685 - for f in $ac_file_in; do
38687 - -) echo $tmp/stdin ;;
38689 - # Absolute (can't be DOS-style, as IFS=:)
38690 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38691 -echo "$as_me: error: cannot find input file: $f" >&2;}
38692 - { (exit 1); exit 1; }; }
38693 - # Do quote $f, to prevent DOS paths from being IFS'd.
38696 - if test -f "$f"; then
38699 - elif test -f "$srcdir/$f"; then
38701 - echo "$srcdir/$f"
38704 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
38705 -echo "$as_me: error: cannot find input file: $f" >&2;}
38706 - { (exit 1); exit 1; }; }
38709 - done` || { (exit 1); exit 1; }
38710 - # Remove the trailing spaces.
38711 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
38715 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
38716 -# `conftest.undefs', that substitutes the proper values into
38717 -# config.h.in to produce config.h. The first handles `#define'
38718 -# templates, and the second `#undef' templates.
38719 -# And first: Protect against being on the right side of a sed subst in
38720 -# config.status. Protect against being in an unquoted here document
38721 -# in config.status.
38722 -rm -f conftest.defines conftest.undefs
38723 -# Using a here document instead of a string reduces the quoting nightmare.
38724 -# Putting comments in sed scripts is not portable.
38726 -# `end' is used to avoid that the second main sed command (meant for
38727 -# 0-ary CPP macros) applies to n-ary macro definitions.
38728 -# See the Autoconf documentation for `clear'.
38729 -cat >confdef2sed.sed <<\_ACEOF
38734 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
38736 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
38739 -# If some macros were called several times there might be several times
38740 -# the same #defines, which is useless. Nevertheless, we may not want to
38741 -# sort them, since we want the *last* AC-DEFINE to be honored.
38742 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
38743 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
38744 -rm -f confdef2sed.sed
38749 + s/^[ ]*#[ ]*define[ ][ ]*//
38754 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
38755 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
38756 + ' >>conftest.defines
38758 -# This sed command replaces #undef with comments. This is necessary, for
38759 +# Remove the space that was appended to ease matching.
38760 +# Then replace #undef with comments. This is necessary, for
38761 # example, in the case of _POSIX_SOURCE, which is predefined and required
38762 # on some systems where configure will not decide to define it.
38763 -cat >>conftest.undefs <<\_ACEOF
38764 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
38765 +# (The regexp can be short, since the line contains either #define or #undef.)
38767 +s,^[ #]*u.*,/* & */,' >>conftest.defines
38769 +# Break up conftest.defines:
38770 +ac_max_sed_lines=50
38772 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
38773 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
38774 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
38776 +ac_in='$ac_file_inputs'
38777 +ac_out='"$tmp/out1"'
38778 +ac_nxt='"$tmp/out2"'
38782 + # Write a here document:
38783 + cat >>$CONFIG_STATUS <<_ACEOF
38784 + # First, check the format of the line:
38785 + cat >"\$tmp/defines.sed" <<\\CEOF
38786 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
38787 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
38792 -# Break up conftest.defines because some shells have a limit on the size
38793 -# of here documents, and old seds have small limits too (100 cmds).
38794 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
38795 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
38796 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
38797 -echo ' :' >>$CONFIG_STATUS
38798 -rm -f conftest.tail
38799 -while grep . conftest.defines >/dev/null
38801 - # Write a limited-size here document to $tmp/defines.sed.
38802 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
38803 - # Speed up: don't consider the non `#define' lines.
38804 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
38805 - # Work around the forget-to-reset-the-flag bug.
38806 - echo 't clr' >>$CONFIG_STATUS
38807 - echo ': clr' >>$CONFIG_STATUS
38808 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
38809 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
38811 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
38813 - mv $tmp/out $tmp/in
38814 -' >>$CONFIG_STATUS
38815 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
38816 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
38817 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
38818 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
38819 + grep . conftest.tail >/dev/null || break
38820 rm -f conftest.defines
38821 mv conftest.tail conftest.defines
38823 -rm -f conftest.defines
38824 -echo ' fi # grep' >>$CONFIG_STATUS
38825 -echo >>$CONFIG_STATUS
38827 -# Break up conftest.undefs because some shells have a limit on the size
38828 -# of here documents, and old seds have small limits too (100 cmds).
38829 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
38830 -rm -f conftest.tail
38831 -while grep . conftest.undefs >/dev/null
38833 - # Write a limited-size here document to $tmp/undefs.sed.
38834 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
38835 - # Speed up: don't consider the non `#undef'
38836 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
38837 - # Work around the forget-to-reset-the-flag bug.
38838 - echo 't clr' >>$CONFIG_STATUS
38839 - echo ': clr' >>$CONFIG_STATUS
38840 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
38842 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
38844 - mv $tmp/out $tmp/in
38845 -' >>$CONFIG_STATUS
38846 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
38847 - rm -f conftest.undefs
38848 - mv conftest.tail conftest.undefs
38850 -rm -f conftest.undefs
38851 +rm -f conftest.defines conftest.tail
38853 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
38854 cat >>$CONFIG_STATUS <<\_ACEOF
38855 - # Let's still pretend it is `configure' which instantiates (i.e., don't
38856 - # use $as_me), people would be surprised to read:
38857 - # /* config.h. Generated by config.status. */
38858 - if test x"$ac_file" = x-; then
38859 - echo "/* Generated by configure. */" >$tmp/config.h
38861 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
38863 - cat $tmp/in >>$tmp/config.h
38865 if test x"$ac_file" != x-; then
38866 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
38867 + echo "/* $configure_input */" >"$tmp/config.h"
38868 + cat "$ac_result" >>"$tmp/config.h"
38869 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
38870 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
38871 echo "$as_me: $ac_file is unchanged" >&6;}
38873 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
38874 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38875 - X"$ac_file" : 'X\(//\)[^/]' \| \
38876 - X"$ac_file" : 'X\(//\)$' \| \
38877 - X"$ac_file" : 'X\(/\)' \| \
38878 - . : '\(.\)' 2>/dev/null ||
38879 -echo X"$ac_file" |
38880 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38881 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38882 - /^X\(\/\/\)$/{ s//\1/; q; }
38883 - /^X\(\/\).*/{ s//\1/; q; }
38885 - { if $as_mkdir_p; then
38886 - mkdir -p "$ac_dir"
38890 - while test ! -d "$as_dir"; do
38891 - as_dirs="$as_dir $as_dirs"
38892 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
38893 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38894 - X"$as_dir" : 'X\(//\)[^/]' \| \
38895 - X"$as_dir" : 'X\(//\)$' \| \
38896 - X"$as_dir" : 'X\(/\)' \| \
38897 - . : '\(.\)' 2>/dev/null ||
38899 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38900 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38901 - /^X\(\/\/\)$/{ s//\1/; q; }
38902 - /^X\(\/\).*/{ s//\1/; q; }
38905 - test ! -n "$as_dirs" || mkdir $as_dirs
38906 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38907 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38908 - { (exit 1); exit 1; }; }; }
38911 - mv $tmp/config.h $ac_file
38912 + mv "$tmp/config.h" $ac_file
38915 - cat $tmp/config.h
38916 - rm -f $tmp/config.h
38917 + echo "/* $configure_input */"
38920 + rm -f "$tmp/out12"
38921 # Compute $ac_file's index in $config_headers.
38923 for _am_header in $config_headers :; do
38924 @@ -12042,135 +12451,39 @@ for _am_header in $config_headers :; do
38925 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
38928 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
38929 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
38930 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38931 X$ac_file : 'X\(//\)[^/]' \| \
38932 X$ac_file : 'X\(//\)$' \| \
38933 - X$ac_file : 'X\(/\)' \| \
38934 - . : '\(.\)' 2>/dev/null ||
38935 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
38937 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38938 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38939 - /^X\(\/\/\)$/{ s//\1/; q; }
38940 - /^X\(\/\).*/{ s//\1/; q; }
38941 - s/.*/./; q'`/stamp-h$_am_stamp_count
38944 -cat >>$CONFIG_STATUS <<\_ACEOF
38947 -# CONFIG_COMMANDS section.
38949 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
38950 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
38951 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
38952 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
38953 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38954 - X"$ac_dest" : 'X\(//\)[^/]' \| \
38955 - X"$ac_dest" : 'X\(//\)$' \| \
38956 - X"$ac_dest" : 'X\(/\)' \| \
38957 - . : '\(.\)' 2>/dev/null ||
38958 -echo X"$ac_dest" |
38959 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38960 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38961 - /^X\(\/\/\)$/{ s//\1/; q; }
38962 - /^X\(\/\).*/{ s//\1/; q; }
38964 - { if $as_mkdir_p; then
38965 - mkdir -p "$ac_dir"
38969 - while test ! -d "$as_dir"; do
38970 - as_dirs="$as_dir $as_dirs"
38971 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
38972 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38973 - X"$as_dir" : 'X\(//\)[^/]' \| \
38974 - X"$as_dir" : 'X\(//\)$' \| \
38975 - X"$as_dir" : 'X\(/\)' \| \
38976 - . : '\(.\)' 2>/dev/null ||
38978 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
38979 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
38980 - /^X\(\/\/\)$/{ s//\1/; q; }
38981 - /^X\(\/\).*/{ s//\1/; q; }
38984 - test ! -n "$as_dirs" || mkdir $as_dirs
38985 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
38986 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
38987 - { (exit 1); exit 1; }; }; }
38991 -if test "$ac_dir" != .; then
38992 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
38993 - # A "../" for each directory in $ac_dir_suffix.
38994 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
38996 - ac_dir_suffix= ac_top_builddir=
39000 - .) # No --srcdir option. We are building in place.
39002 - if test -z "$ac_top_builddir"; then
39005 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
39007 - [\\/]* | ?:[\\/]* ) # Absolute path.
39008 - ac_srcdir=$srcdir$ac_dir_suffix;
39009 - ac_top_srcdir=$srcdir ;;
39010 - *) # Relative path.
39011 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
39012 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
39014 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39018 + /^X\(\/\/\)[^/].*/{
39030 + s/.*/./; q'`/stamp-h$_am_stamp_count
39033 -# Do not use `cd foo && pwd` to compute absolute paths, because
39034 -# the directories may not exist.
39036 -.) ac_abs_builddir="$ac_dir";;
39038 - case "$ac_dir" in
39039 - .) ac_abs_builddir=`pwd`;;
39040 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
39041 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
39044 -case $ac_abs_builddir in
39045 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
39047 - case ${ac_top_builddir}. in
39048 - .) ac_abs_top_builddir=$ac_abs_builddir;;
39049 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
39050 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
39053 -case $ac_abs_builddir in
39054 -.) ac_abs_srcdir=$ac_srcdir;;
39056 - case $ac_srcdir in
39057 - .) ac_abs_srcdir=$ac_abs_builddir;;
39058 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
39059 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
39062 -case $ac_abs_builddir in
39063 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
39065 - case $ac_top_srcdir in
39066 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
39067 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
39068 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
39071 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
39072 +echo "$as_me: executing $ac_file commands" >&6;}
39077 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
39078 -echo "$as_me: executing $ac_dest commands" >&6;}
39080 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
39081 + case $ac_file$ac_mode in
39082 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
39083 # Strip MF so we end up with the name of the file.
39084 mf=`echo "$mf" | sed -e 's/:.*$//'`
39085 # Check whether this is an Automake generated Makefile or not.
39086 @@ -12180,18 +12493,29 @@ echo "$as_me: executing $ac_dest command
39087 # each Makefile.in and add a new line on top of each file to say so.
39088 # So let's grep whole file.
39089 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
39090 - dirpart=`(dirname "$mf") 2>/dev/null ||
39091 + dirpart=`$as_dirname -- "$mf" ||
39092 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39093 X"$mf" : 'X\(//\)[^/]' \| \
39094 X"$mf" : 'X\(//\)$' \| \
39095 - X"$mf" : 'X\(/\)' \| \
39096 - . : '\(.\)' 2>/dev/null ||
39097 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
39099 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39100 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39101 - /^X\(\/\/\)$/{ s//\1/; q; }
39102 - /^X\(\/\).*/{ s//\1/; q; }
39104 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39108 + /^X\(\/\/\)[^/].*/{
39124 @@ -12213,58 +12537,84 @@ echo X"$mf" |
39125 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
39126 # Make sure the directory exists.
39127 test -f "$dirpart/$file" && continue
39128 - fdir=`(dirname "$file") 2>/dev/null ||
39129 + fdir=`$as_dirname -- "$file" ||
39130 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39131 X"$file" : 'X\(//\)[^/]' \| \
39132 X"$file" : 'X\(//\)$' \| \
39133 - X"$file" : 'X\(/\)' \| \
39134 - . : '\(.\)' 2>/dev/null ||
39135 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
39137 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39138 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39139 - /^X\(\/\/\)$/{ s//\1/; q; }
39140 - /^X\(\/\).*/{ s//\1/; q; }
39142 - { if $as_mkdir_p; then
39143 - mkdir -p $dirpart/$fdir
39145 - as_dir=$dirpart/$fdir
39146 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39150 + /^X\(\/\/\)[^/].*/{
39163 + { as_dir=$dirpart/$fdir
39164 + case $as_dir in #(
39165 + -*) as_dir=./$as_dir;;
39167 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
39169 - while test ! -d "$as_dir"; do
39170 - as_dirs="$as_dir $as_dirs"
39171 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
39173 + case $as_dir in #(
39174 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
39175 + *) as_qdir=$as_dir;;
39177 + as_dirs="'$as_qdir' $as_dirs"
39178 + as_dir=`$as_dirname -- "$as_dir" ||
39179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39180 X"$as_dir" : 'X\(//\)[^/]' \| \
39181 X"$as_dir" : 'X\(//\)$' \| \
39182 - X"$as_dir" : 'X\(/\)' \| \
39183 - . : '\(.\)' 2>/dev/null ||
39184 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
39186 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
39187 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
39188 - /^X\(\/\/\)$/{ s//\1/; q; }
39189 - /^X\(\/\).*/{ s//\1/; q; }
39191 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39195 + /^X\(\/\/\)[^/].*/{
39208 + test -d "$as_dir" && break
39210 - test ! -n "$as_dirs" || mkdir $as_dirs
39211 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
39212 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
39213 + test -z "$as_dirs" || eval "mkdir $as_dirs"
39214 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
39215 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
39216 { (exit 1); exit 1; }; }; }
39218 # echo "creating $dirpart/$file"
39219 echo '# dummy' > "$dirpart/$file"
39225 case "x$CONFIG_FILES" in
39226 *) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
39235 -cat >>$CONFIG_STATUS <<\_ACEOF
39237 { (exit 0); exit 0; }
39239 diff -Nrup binutils-2.17/binutils/doc/binutils.info binutils-2.17.atmel.1.3.0/binutils/doc/binutils.info
39240 --- binutils-2.17/binutils/doc/binutils.info 2006-06-23 20:19:48.000000000 +0200
39241 +++ binutils-2.17.atmel.1.3.0/binutils/doc/binutils.info 2007-03-26 10:34:44.000000000 +0200
39243 -This is ../.././binutils/doc/binutils.info, produced by makeinfo
39244 -version 4.8 from ../.././binutils/doc/binutils.texi.
39246 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/binutils/doc/binutils.info,
39247 +produced by makeinfo version 4.8 from
39248 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/binutils/doc/binutils.texi.
39250 START-INFO-DIR-ENTRY
39251 * Binutils: (binutils). The GNU binary utilities.
39252 @@ -3803,33 +3805,33 @@ Index
39258 -Node: ar cmdline
\7f5482
39259 -Node: ar scripts
\7f13625
39261 -Node: objcopy
\7f27509
39262 -Node: objdump
\7f50561
39263 -Node: ranlib
\7f65474
39264 -Node: size
\7f66229
39265 -Node: strings
\7f69076
39266 -Node: strip
\7f71426
39267 -Node: c++filt
\7f76905
39268 -Ref: c++filt-Footnote-1
\7f81833
39269 -Node: addr2line
\7f81939
39270 -Node: nlmconv
\7f85210
39271 -Node: windres
\7f87816
39272 -Node: dlltool
\7f93549
39273 -Node: def file format
\7f104387
39274 -Node: readelf
\7f106125
39275 -Node: Common Options
\7f110833
39276 -Node: Selecting The Target System
\7f111873
39277 -Node: Target Selection
\7f112805
39278 -Node: Architecture Selection
\7f114787
39279 -Node: Reporting Bugs
\7f115615
39280 -Node: Bug Criteria
\7f116394
39281 -Node: Bug Reporting
\7f116947
39282 -Node: GNU Free Documentation License
\7f124041
39283 -Node: Index
\7f143773
39286 +Node: ar cmdline
\7f5616
39287 +Node: ar scripts
\7f13759
39289 +Node: objcopy
\7f27643
39290 +Node: objdump
\7f50695
39291 +Node: ranlib
\7f65608
39292 +Node: size
\7f66363
39293 +Node: strings
\7f69210
39294 +Node: strip
\7f71560
39295 +Node: c++filt
\7f77039
39296 +Ref: c++filt-Footnote-1
\7f81967
39297 +Node: addr2line
\7f82073
39298 +Node: nlmconv
\7f85344
39299 +Node: windres
\7f87950
39300 +Node: dlltool
\7f93683
39301 +Node: def file format
\7f104521
39302 +Node: readelf
\7f106259
39303 +Node: Common Options
\7f110967
39304 +Node: Selecting The Target System
\7f112007
39305 +Node: Target Selection
\7f112939
39306 +Node: Architecture Selection
\7f114921
39307 +Node: Reporting Bugs
\7f115749
39308 +Node: Bug Criteria
\7f116528
39309 +Node: Bug Reporting
\7f117081
39310 +Node: GNU Free Documentation License
\7f124175
39311 +Node: Index
\7f143907
39314 diff -Nrup binutils-2.17/binutils/doc/Makefile.in binutils-2.17.atmel.1.3.0/binutils/doc/Makefile.in
39315 --- binutils-2.17/binutils/doc/Makefile.in 2006-06-03 06:45:50.000000000 +0200
39316 +++ binutils-2.17.atmel.1.3.0/binutils/doc/Makefile.in 2007-03-26 10:32:10.000000000 +0200
39317 @@ -109,6 +109,7 @@ EXEEXT = @EXEEXT@
39318 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
39319 GMOFILES = @GMOFILES@
39320 GMSGFMT = @GMSGFMT@
39324 HDEFINES = @HDEFINES@
39325 @@ -159,9 +160,8 @@ VERSION = @VERSION@
39326 WARN_CFLAGS = @WARN_CFLAGS@
39327 XGETTEXT = @XGETTEXT@
39330 ac_ct_CC = @ac_ct_CC@
39331 -ac_ct_RANLIB = @ac_ct_RANLIB@
39332 -ac_ct_STRIP = @ac_ct_STRIP@
39333 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39334 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39335 am__include = @am__include@
39336 @@ -178,6 +178,7 @@ build_vendor = @build_vendor@
39337 datadir = @datadir@
39338 datarootdir = @datarootdir@
39341 exec_prefix = @exec_prefix@
39343 host_alias = @host_alias@
39344 @@ -191,12 +192,15 @@ install_sh = @install_sh@
39347 libexecdir = @libexecdir@
39348 +localedir = @localedir@
39349 localstatedir = @localstatedir@
39351 mkdir_p = @mkdir_p@
39352 oldincludedir = @oldincludedir@
39355 program_transform_name = @program_transform_name@
39357 sbindir = @sbindir@
39358 sharedstatedir = @sharedstatedir@
39359 sysconfdir = @sysconfdir@
39360 @@ -368,10 +372,13 @@ dist-info: $(INFO_DEPS)
39361 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
39363 if test -f $$base; then d=.; else d=$(srcdir); fi; \
39364 - for file in $$d/$$base*; do \
39365 - relfile=`expr "$$file" : "$$d/\(.*\)"`; \
39366 - test -f $(distdir)/$$relfile || \
39367 - cp -p $$file $(distdir)/$$relfile; \
39368 + base_i=`echo "$$base" | sed 's|\.info$$||;s|$$|.i|'`; \
39369 + 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 \
39370 + if test -f $$file; then \
39371 + relfile=`expr "$$file" : "$$d/\(.*\)"`; \
39372 + test -f $(distdir)/$$relfile || \
39373 + cp -p $$file $(distdir)/$$relfile; \
39378 diff -Nrup binutils-2.17/binutils/Makefile.am binutils-2.17.atmel.1.3.0/binutils/Makefile.am
39379 --- binutils-2.17/binutils/Makefile.am 2006-04-06 23:49:26.000000000 +0200
39380 +++ binutils-2.17.atmel.1.3.0/binutils/Makefile.am 2007-03-26 10:20:22.000000000 +0200
39381 @@ -511,7 +511,7 @@ readelf.o: readelf.c dwarf.h ../bfd/bfd.
39382 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
39383 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
39384 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
39385 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39386 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39387 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
39388 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
39389 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
39390 diff -Nrup binutils-2.17/binutils/Makefile.in binutils-2.17.atmel.1.3.0/binutils/Makefile.in
39391 --- binutils-2.17/binutils/Makefile.in 2006-06-02 04:21:08.000000000 +0200
39392 +++ binutils-2.17.atmel.1.3.0/binutils/Makefile.in 2007-03-26 10:32:10.000000000 +0200
39393 @@ -266,6 +266,7 @@ EXEEXT = @EXEEXT@
39394 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
39395 GMOFILES = @GMOFILES@
39396 GMSGFMT = @GMSGFMT@
39400 HDEFINES = @HDEFINES@
39401 @@ -316,9 +317,8 @@ VERSION = @VERSION@
39402 WARN_CFLAGS = @WARN_CFLAGS@
39403 XGETTEXT = @XGETTEXT@
39404 YACC = `if [ -f ../bison/bison ]; then echo ../bison/bison -y -L$(srcdir)/../bison/; else echo @YACC@; fi`
39406 ac_ct_CC = @ac_ct_CC@
39407 -ac_ct_RANLIB = @ac_ct_RANLIB@
39408 -ac_ct_STRIP = @ac_ct_STRIP@
39409 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
39410 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
39411 am__include = @am__include@
39412 @@ -335,6 +335,7 @@ build_vendor = @build_vendor@
39413 datadir = @datadir@
39414 datarootdir = @datarootdir@
39417 exec_prefix = @exec_prefix@
39419 host_alias = @host_alias@
39420 @@ -348,12 +349,15 @@ install_sh = @install_sh@
39423 libexecdir = @libexecdir@
39424 +localedir = @localedir@
39425 localstatedir = @localstatedir@
39427 mkdir_p = @mkdir_p@
39428 oldincludedir = @oldincludedir@
39431 program_transform_name = @program_transform_name@
39433 sbindir = @sbindir@
39434 sharedstatedir = @sharedstatedir@
39435 sysconfdir = @sysconfdir@
39436 @@ -365,7 +369,6 @@ target_vendor = @target_vendor@
39437 AUTOMAKE_OPTIONS = cygnus dejagnu
39439 tooldir = $(exec_prefix)/$(target_alias)
39441 AM_CFLAGS = $(WARN_CFLAGS)
39443 # these two are almost the same program
39444 @@ -1264,7 +1267,7 @@ readelf.o: readelf.c dwarf.h ../bfd/bfd.
39445 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
39446 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
39447 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
39448 - $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39449 + $(INCDIR)/elf/avr.h $(INCDIR)/elf/avr32.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
39450 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \
39451 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h \
39452 $(INCDIR)/elf/hppa.h $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h \
39453 diff -Nrup binutils-2.17/binutils/readelf.c binutils-2.17.atmel.1.3.0/binutils/readelf.c
39454 --- binutils-2.17/binutils/readelf.c 2006-03-10 18:20:28.000000000 +0100
39455 +++ binutils-2.17.atmel.1.3.0/binutils/readelf.c 2007-03-26 10:20:22.000000000 +0200
39457 #include "elf/arc.h"
39458 #include "elf/arm.h"
39459 #include "elf/avr.h"
39460 +#include "elf/avr32.h"
39461 #include "elf/bfin.h"
39462 #include "elf/cris.h"
39463 #include "elf/d10v.h"
39464 @@ -590,6 +591,7 @@ guess_is_rela (unsigned long e_machine)
39472 @@ -959,6 +961,10 @@ dump_relocations (FILE *file,
39473 rtype = elf_avr_reloc_type (type);
39477 + rtype = elf_avr32_reloc_type (type);
39480 case EM_OLD_SPARCV9:
39481 case EM_SPARC32PLUS:
39483 @@ -1670,6 +1676,7 @@ get_machine_name (unsigned e_machine)
39484 case EM_VAX: return "Digital VAX";
39486 case EM_AVR: return "Atmel AVR 8-bit microcontroller";
39487 + case EM_AVR32: return "Atmel AVR32";
39488 case EM_CRIS: return "Axis Communications 32-bit embedded processor";
39489 case EM_JAVELIN: return "Infineon Technologies 32-bit embedded cpu";
39490 case EM_FIREPATH: return "Element 14 64-bit DSP processor";
39491 diff -Nrup binutils-2.17/configure binutils-2.17.atmel.1.3.0/configure
39492 --- binutils-2.17/configure 2006-04-06 23:49:25.000000000 +0200
39493 +++ binutils-2.17.atmel.1.3.0/configure 2007-03-26 10:30:30.000000000 +0200
39494 @@ -899,7 +899,7 @@ host_libs="intl mmalloc libiberty opcode
39495 # know that we are building the simulator.
39496 # binutils, gas and ld appear in that order because it makes sense to run
39497 # "make check" in that particular order.
39498 -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"
39499 +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"
39501 # libgcj represents the runtime libraries only used by gcj.
39502 libgcj="target-libffi \
39503 @@ -1064,6 +1064,9 @@ unsupported_languages=
39508 + noconfigdirs="$noconfigdirs readline gdb"
39511 noconfigdirs="$noconfigdirs byacc"
39513 @@ -1863,7 +1866,7 @@ else
39514 # Extract the first word of "gcc", so it can be a program name with args.
39515 set dummy gcc; ac_word=$2
39516 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39517 -echo "configure:1867: checking for $ac_word" >&5
39518 +echo "configure:1870: checking for $ac_word" >&5
39519 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39520 echo $ac_n "(cached) $ac_c" 1>&6
39522 @@ -1893,7 +1896,7 @@ if test -z "$CC"; then
39523 # Extract the first word of "cc", so it can be a program name with args.
39524 set dummy cc; ac_word=$2
39525 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39526 -echo "configure:1897: checking for $ac_word" >&5
39527 +echo "configure:1900: checking for $ac_word" >&5
39528 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39529 echo $ac_n "(cached) $ac_c" 1>&6
39531 @@ -1944,7 +1947,7 @@ fi
39532 # Extract the first word of "cl", so it can be a program name with args.
39533 set dummy cl; ac_word=$2
39534 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39535 -echo "configure:1948: checking for $ac_word" >&5
39536 +echo "configure:1951: checking for $ac_word" >&5
39537 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39538 echo $ac_n "(cached) $ac_c" 1>&6
39540 @@ -1976,7 +1979,7 @@ fi
39543 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
39544 -echo "configure:1980: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
39545 +echo "configure:1983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
39548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
39549 @@ -1987,12 +1990,12 @@ cross_compiling=$ac_cv_prog_cc_cross
39551 cat > conftest.$ac_ext << EOF
39553 -#line 1991 "configure"
39554 +#line 1994 "configure"
39555 #include "confdefs.h"
39559 -if { (eval echo configure:1996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39560 +if { (eval echo configure:1999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39561 ac_cv_prog_cc_works=yes
39562 # If we can't run a trivial program, we are probably using a cross compiler.
39563 if (./conftest; exit) 2>/dev/null; then
39564 @@ -2018,12 +2021,12 @@ if test $ac_cv_prog_cc_works = no; then
39565 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
39567 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
39568 -echo "configure:2022: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
39569 +echo "configure:2025: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
39570 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
39571 cross_compiling=$ac_cv_prog_cc_cross
39573 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
39574 -echo "configure:2027: checking whether we are using GNU C" >&5
39575 +echo "configure:2030: checking whether we are using GNU C" >&5
39576 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
39577 echo $ac_n "(cached) $ac_c" 1>&6
39579 @@ -2032,7 +2035,7 @@ else
39583 -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
39584 +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
39588 @@ -2051,7 +2054,7 @@ ac_test_CFLAGS="${CFLAGS+set}"
39589 ac_save_CFLAGS="$CFLAGS"
39591 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
39592 -echo "configure:2055: checking whether ${CC-cc} accepts -g" >&5
39593 +echo "configure:2058: checking whether ${CC-cc} accepts -g" >&5
39594 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
39595 echo $ac_n "(cached) $ac_c" 1>&6
39597 @@ -2118,7 +2121,7 @@ fi
39598 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
39599 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
39600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39601 -echo "configure:2122: checking for $ac_word" >&5
39602 +echo "configure:2125: checking for $ac_word" >&5
39603 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
39604 echo $ac_n "(cached) $ac_c" 1>&6
39606 @@ -2150,7 +2153,7 @@ if test -n "$ac_tool_prefix"; then
39607 # Extract the first word of "gnatbind", so it can be a program name with args.
39608 set dummy gnatbind; ac_word=$2
39609 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39610 -echo "configure:2154: checking for $ac_word" >&5
39611 +echo "configure:2157: checking for $ac_word" >&5
39612 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
39613 echo $ac_n "(cached) $ac_c" 1>&6
39615 @@ -2183,7 +2186,7 @@ fi
39618 echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
39619 -echo "configure:2187: checking whether compiler driver understands Ada" >&5
39620 +echo "configure:2190: checking whether compiler driver understands Ada" >&5
39621 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
39622 echo $ac_n "(cached) $ac_c" 1>&6
39624 @@ -2215,7 +2218,7 @@ else
39627 echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
39628 -echo "configure:2219: checking how to compare bootstrapped objects" >&5
39629 +echo "configure:2222: checking how to compare bootstrapped objects" >&5
39630 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
39631 echo $ac_n "(cached) $ac_c" 1>&6
39633 @@ -2313,9 +2316,9 @@ saved_CFLAGS="$CFLAGS"
39634 CFLAGS="$CFLAGS $gmpinc"
39635 # Check GMP actually works
39636 echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
39637 -echo "configure:2317: checking for correct version of gmp.h" >&5
39638 +echo "configure:2320: checking for correct version of gmp.h" >&5
39639 cat > conftest.$ac_ext <<EOF
39640 -#line 2319 "configure"
39641 +#line 2322 "configure"
39642 #include "confdefs.h"
39645 @@ -2326,7 +2329,7 @@ choke me
39649 -if { (eval echo configure:2330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
39650 +if { (eval echo configure:2333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
39652 echo "$ac_t""yes" 1>&6
39654 @@ -2339,12 +2342,12 @@ rm -f conftest*
39656 if test x"$have_gmp" = xyes; then
39657 echo $ac_n "checking for MPFR""... $ac_c" 1>&6
39658 -echo "configure:2343: checking for MPFR" >&5
39659 +echo "configure:2346: checking for MPFR" >&5
39662 LIBS="$LIBS $gmplibs"
39663 cat > conftest.$ac_ext <<EOF
39664 -#line 2348 "configure"
39665 +#line 2351 "configure"
39666 #include "confdefs.h"
39669 @@ -2352,7 +2355,7 @@ int main() {
39670 mpfr_t n; mpfr_init(n);
39673 -if { (eval echo configure:2356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39674 +if { (eval echo configure:2359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
39676 echo "$ac_t""yes" 1>&6
39678 @@ -3403,7 +3406,7 @@ do
39679 # Extract the first word of "$ac_prog", so it can be a program name with args.
39680 set dummy $ac_prog; ac_word=$2
39681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39682 -echo "configure:3407: checking for $ac_word" >&5
39683 +echo "configure:3410: checking for $ac_word" >&5
39684 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
39685 echo $ac_n "(cached) $ac_c" 1>&6
39687 @@ -3443,7 +3446,7 @@ do
39688 # Extract the first word of "$ac_prog", so it can be a program name with args.
39689 set dummy $ac_prog; ac_word=$2
39690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39691 -echo "configure:3447: checking for $ac_word" >&5
39692 +echo "configure:3450: checking for $ac_word" >&5
39693 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
39694 echo $ac_n "(cached) $ac_c" 1>&6
39696 @@ -3482,7 +3485,7 @@ do
39697 # Extract the first word of "$ac_prog", so it can be a program name with args.
39698 set dummy $ac_prog; ac_word=$2
39699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39700 -echo "configure:3486: checking for $ac_word" >&5
39701 +echo "configure:3489: checking for $ac_word" >&5
39702 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
39703 echo $ac_n "(cached) $ac_c" 1>&6
39705 @@ -3521,7 +3524,7 @@ do
39706 # Extract the first word of "$ac_prog", so it can be a program name with args.
39707 set dummy $ac_prog; ac_word=$2
39708 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39709 -echo "configure:3525: checking for $ac_word" >&5
39710 +echo "configure:3528: checking for $ac_word" >&5
39711 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
39712 echo $ac_n "(cached) $ac_c" 1>&6
39714 @@ -3561,7 +3564,7 @@ do
39715 # Extract the first word of "$ac_prog", so it can be a program name with args.
39716 set dummy $ac_prog; ac_word=$2
39717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39718 -echo "configure:3565: checking for $ac_word" >&5
39719 +echo "configure:3568: checking for $ac_word" >&5
39720 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
39721 echo $ac_n "(cached) $ac_c" 1>&6
39723 @@ -3600,7 +3603,7 @@ do
39724 # Extract the first word of "$ac_prog", so it can be a program name with args.
39725 set dummy $ac_prog; ac_word=$2
39726 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39727 -echo "configure:3604: checking for $ac_word" >&5
39728 +echo "configure:3607: checking for $ac_word" >&5
39729 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
39730 echo $ac_n "(cached) $ac_c" 1>&6
39732 @@ -3653,7 +3656,7 @@ do
39733 # Extract the first word of "$ac_prog", so it can be a program name with args.
39734 set dummy $ac_prog; ac_word=$2
39735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39736 -echo "configure:3657: checking for $ac_word" >&5
39737 +echo "configure:3660: checking for $ac_word" >&5
39738 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then
39739 echo $ac_n "(cached) $ac_c" 1>&6
39741 @@ -3694,7 +3697,7 @@ do
39742 # Extract the first word of "$ac_prog", so it can be a program name with args.
39743 set dummy $ac_prog; ac_word=$2
39744 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39745 -echo "configure:3698: checking for $ac_word" >&5
39746 +echo "configure:3701: checking for $ac_word" >&5
39747 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then
39748 echo $ac_n "(cached) $ac_c" 1>&6
39750 @@ -3742,7 +3745,7 @@ test -n "$target_alias" && ncn_target_to
39751 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39752 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39754 -echo "configure:3746: checking for $ac_word" >&5
39755 +echo "configure:3749: checking for $ac_word" >&5
39756 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
39757 echo $ac_n "(cached) $ac_c" 1>&6
39759 @@ -3773,7 +3776,7 @@ fi
39760 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39761 set dummy ${ncn_progname}; ac_word=$2
39762 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39763 -echo "configure:3777: checking for $ac_word" >&5
39764 +echo "configure:3780: checking for $ac_word" >&5
39765 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
39766 echo $ac_n "(cached) $ac_c" 1>&6
39768 @@ -3817,7 +3820,7 @@ fi
39769 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39770 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39772 -echo "configure:3821: checking for $ac_word" >&5
39773 +echo "configure:3824: checking for $ac_word" >&5
39774 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
39775 echo $ac_n "(cached) $ac_c" 1>&6
39777 @@ -3848,7 +3851,7 @@ fi
39778 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39779 set dummy ${ncn_progname}; ac_word=$2
39780 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39781 -echo "configure:3852: checking for $ac_word" >&5
39782 +echo "configure:3855: checking for $ac_word" >&5
39783 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
39784 echo $ac_n "(cached) $ac_c" 1>&6
39786 @@ -3892,7 +3895,7 @@ fi
39787 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39788 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39789 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39790 -echo "configure:3896: checking for $ac_word" >&5
39791 +echo "configure:3899: checking for $ac_word" >&5
39792 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
39793 echo $ac_n "(cached) $ac_c" 1>&6
39795 @@ -3923,7 +3926,7 @@ fi
39796 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39797 set dummy ${ncn_progname}; ac_word=$2
39798 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39799 -echo "configure:3927: checking for $ac_word" >&5
39800 +echo "configure:3930: checking for $ac_word" >&5
39801 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
39802 echo $ac_n "(cached) $ac_c" 1>&6
39804 @@ -3967,7 +3970,7 @@ fi
39805 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39806 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39807 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39808 -echo "configure:3971: checking for $ac_word" >&5
39809 +echo "configure:3974: checking for $ac_word" >&5
39810 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
39811 echo $ac_n "(cached) $ac_c" 1>&6
39813 @@ -3998,7 +4001,7 @@ fi
39814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39815 set dummy ${ncn_progname}; ac_word=$2
39816 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39817 -echo "configure:4002: checking for $ac_word" >&5
39818 +echo "configure:4005: checking for $ac_word" >&5
39819 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
39820 echo $ac_n "(cached) $ac_c" 1>&6
39822 @@ -4042,7 +4045,7 @@ fi
39823 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39824 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39825 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39826 -echo "configure:4046: checking for $ac_word" >&5
39827 +echo "configure:4049: checking for $ac_word" >&5
39828 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
39829 echo $ac_n "(cached) $ac_c" 1>&6
39831 @@ -4073,7 +4076,7 @@ fi
39832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39833 set dummy ${ncn_progname}; ac_word=$2
39834 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39835 -echo "configure:4077: checking for $ac_word" >&5
39836 +echo "configure:4080: checking for $ac_word" >&5
39837 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
39838 echo $ac_n "(cached) $ac_c" 1>&6
39840 @@ -4117,7 +4120,7 @@ fi
39841 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39842 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39843 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39844 -echo "configure:4121: checking for $ac_word" >&5
39845 +echo "configure:4124: checking for $ac_word" >&5
39846 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
39847 echo $ac_n "(cached) $ac_c" 1>&6
39849 @@ -4148,7 +4151,7 @@ fi
39850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39851 set dummy ${ncn_progname}; ac_word=$2
39852 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39853 -echo "configure:4152: checking for $ac_word" >&5
39854 +echo "configure:4155: checking for $ac_word" >&5
39855 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
39856 echo $ac_n "(cached) $ac_c" 1>&6
39858 @@ -4192,7 +4195,7 @@ fi
39859 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39860 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39861 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39862 -echo "configure:4196: checking for $ac_word" >&5
39863 +echo "configure:4199: checking for $ac_word" >&5
39864 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
39865 echo $ac_n "(cached) $ac_c" 1>&6
39867 @@ -4223,7 +4226,7 @@ fi
39868 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39869 set dummy ${ncn_progname}; ac_word=$2
39870 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39871 -echo "configure:4227: checking for $ac_word" >&5
39872 +echo "configure:4230: checking for $ac_word" >&5
39873 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
39874 echo $ac_n "(cached) $ac_c" 1>&6
39876 @@ -4262,7 +4265,7 @@ fi
39877 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39878 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39880 -echo "configure:4266: checking for $ac_word" >&5
39881 +echo "configure:4269: checking for $ac_word" >&5
39882 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
39883 echo $ac_n "(cached) $ac_c" 1>&6
39885 @@ -4293,7 +4296,7 @@ fi
39886 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39887 set dummy ${ncn_progname}; ac_word=$2
39888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39889 -echo "configure:4297: checking for $ac_word" >&5
39890 +echo "configure:4300: checking for $ac_word" >&5
39891 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
39892 echo $ac_n "(cached) $ac_c" 1>&6
39894 @@ -4332,7 +4335,7 @@ fi
39895 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39896 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39898 -echo "configure:4336: checking for $ac_word" >&5
39899 +echo "configure:4339: checking for $ac_word" >&5
39900 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
39901 echo $ac_n "(cached) $ac_c" 1>&6
39903 @@ -4363,7 +4366,7 @@ fi
39904 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39905 set dummy ${ncn_progname}; ac_word=$2
39906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39907 -echo "configure:4367: checking for $ac_word" >&5
39908 +echo "configure:4370: checking for $ac_word" >&5
39909 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
39910 echo $ac_n "(cached) $ac_c" 1>&6
39912 @@ -4407,7 +4410,7 @@ fi
39913 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39914 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39915 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39916 -echo "configure:4411: checking for $ac_word" >&5
39917 +echo "configure:4414: checking for $ac_word" >&5
39918 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
39919 echo $ac_n "(cached) $ac_c" 1>&6
39921 @@ -4438,7 +4441,7 @@ fi
39922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39923 set dummy ${ncn_progname}; ac_word=$2
39924 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39925 -echo "configure:4442: checking for $ac_word" >&5
39926 +echo "configure:4445: checking for $ac_word" >&5
39927 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
39928 echo $ac_n "(cached) $ac_c" 1>&6
39930 @@ -4482,7 +4485,7 @@ fi
39931 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
39932 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
39933 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39934 -echo "configure:4486: checking for $ac_word" >&5
39935 +echo "configure:4489: checking for $ac_word" >&5
39936 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
39937 echo $ac_n "(cached) $ac_c" 1>&6
39939 @@ -4513,7 +4516,7 @@ fi
39940 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39941 set dummy ${ncn_progname}; ac_word=$2
39942 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39943 -echo "configure:4517: checking for $ac_word" >&5
39944 +echo "configure:4520: checking for $ac_word" >&5
39945 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
39946 echo $ac_n "(cached) $ac_c" 1>&6
39948 @@ -4577,7 +4580,7 @@ fi
39949 if test -n "$with_build_time_tools"; then
39950 for ncn_progname in cc gcc; do
39951 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
39952 -echo "configure:4581: checking for ${ncn_progname} in $with_build_time_tools" >&5
39953 +echo "configure:4584: checking for ${ncn_progname} in $with_build_time_tools" >&5
39954 if test -x $with_build_time_tools/${ncn_progname}; then
39955 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
39956 echo "$ac_t""yes" 1>&6
39957 @@ -4594,7 +4597,7 @@ if test -z "$ac_cv_prog_CC_FOR_TARGET";
39958 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
39959 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
39960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39961 -echo "configure:4598: checking for $ac_word" >&5
39962 +echo "configure:4601: checking for $ac_word" >&5
39963 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
39964 echo $ac_n "(cached) $ac_c" 1>&6
39966 @@ -4625,7 +4628,7 @@ fi
39967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39968 set dummy ${ncn_progname}; ac_word=$2
39969 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39970 -echo "configure:4629: checking for $ac_word" >&5
39971 +echo "configure:4632: checking for $ac_word" >&5
39972 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
39973 echo $ac_n "(cached) $ac_c" 1>&6
39975 @@ -4668,7 +4671,7 @@ fi
39976 if test -n "$with_build_time_tools"; then
39977 for ncn_progname in c++ g++ cxx gxx; do
39978 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
39979 -echo "configure:4672: checking for ${ncn_progname} in $with_build_time_tools" >&5
39980 +echo "configure:4675: checking for ${ncn_progname} in $with_build_time_tools" >&5
39981 if test -x $with_build_time_tools/${ncn_progname}; then
39982 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
39983 echo "$ac_t""yes" 1>&6
39984 @@ -4685,7 +4688,7 @@ if test -z "$ac_cv_prog_CXX_FOR_TARGET";
39985 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
39986 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
39987 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39988 -echo "configure:4689: checking for $ac_word" >&5
39989 +echo "configure:4692: checking for $ac_word" >&5
39990 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
39991 echo $ac_n "(cached) $ac_c" 1>&6
39993 @@ -4716,7 +4719,7 @@ fi
39994 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
39995 set dummy ${ncn_progname}; ac_word=$2
39996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
39997 -echo "configure:4720: checking for $ac_word" >&5
39998 +echo "configure:4723: checking for $ac_word" >&5
39999 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
40000 echo $ac_n "(cached) $ac_c" 1>&6
40002 @@ -4759,7 +4762,7 @@ fi
40003 if test -n "$with_build_time_tools"; then
40004 for ncn_progname in gcc; do
40005 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40006 -echo "configure:4763: checking for ${ncn_progname} in $with_build_time_tools" >&5
40007 +echo "configure:4766: checking for ${ncn_progname} in $with_build_time_tools" >&5
40008 if test -x $with_build_time_tools/${ncn_progname}; then
40009 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40010 echo "$ac_t""yes" 1>&6
40011 @@ -4776,7 +4779,7 @@ if test -z "$ac_cv_prog_GCC_FOR_TARGET";
40012 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40013 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40015 -echo "configure:4780: checking for $ac_word" >&5
40016 +echo "configure:4783: checking for $ac_word" >&5
40017 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
40018 echo $ac_n "(cached) $ac_c" 1>&6
40020 @@ -4807,7 +4810,7 @@ fi
40021 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40022 set dummy ${ncn_progname}; ac_word=$2
40023 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40024 -echo "configure:4811: checking for $ac_word" >&5
40025 +echo "configure:4814: checking for $ac_word" >&5
40026 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
40027 echo $ac_n "(cached) $ac_c" 1>&6
40029 @@ -4845,7 +4848,7 @@ fi
40030 if test -n "$with_build_time_tools"; then
40031 for ncn_progname in gcj; do
40032 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40033 -echo "configure:4849: checking for ${ncn_progname} in $with_build_time_tools" >&5
40034 +echo "configure:4852: checking for ${ncn_progname} in $with_build_time_tools" >&5
40035 if test -x $with_build_time_tools/${ncn_progname}; then
40036 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40037 echo "$ac_t""yes" 1>&6
40038 @@ -4862,7 +4865,7 @@ if test -z "$ac_cv_prog_GCJ_FOR_TARGET";
40039 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40040 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40041 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40042 -echo "configure:4866: checking for $ac_word" >&5
40043 +echo "configure:4869: checking for $ac_word" >&5
40044 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
40045 echo $ac_n "(cached) $ac_c" 1>&6
40047 @@ -4893,7 +4896,7 @@ fi
40048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40049 set dummy ${ncn_progname}; ac_word=$2
40050 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40051 -echo "configure:4897: checking for $ac_word" >&5
40052 +echo "configure:4900: checking for $ac_word" >&5
40053 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
40054 echo $ac_n "(cached) $ac_c" 1>&6
40056 @@ -4936,7 +4939,7 @@ fi
40057 if test -n "$with_build_time_tools"; then
40058 for ncn_progname in gfortran; do
40059 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40060 -echo "configure:4940: checking for ${ncn_progname} in $with_build_time_tools" >&5
40061 +echo "configure:4943: checking for ${ncn_progname} in $with_build_time_tools" >&5
40062 if test -x $with_build_time_tools/${ncn_progname}; then
40063 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40064 echo "$ac_t""yes" 1>&6
40065 @@ -4953,7 +4956,7 @@ if test -z "$ac_cv_prog_GFORTRAN_FOR_TAR
40066 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40067 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40068 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40069 -echo "configure:4957: checking for $ac_word" >&5
40070 +echo "configure:4960: checking for $ac_word" >&5
40071 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
40072 echo $ac_n "(cached) $ac_c" 1>&6
40074 @@ -4984,7 +4987,7 @@ fi
40075 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40076 set dummy ${ncn_progname}; ac_word=$2
40077 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40078 -echo "configure:4988: checking for $ac_word" >&5
40079 +echo "configure:4991: checking for $ac_word" >&5
40080 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
40081 echo $ac_n "(cached) $ac_c" 1>&6
40083 @@ -5091,7 +5094,7 @@ rm conftest.c
40084 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
40085 if test -n "$with_build_time_tools"; then
40086 echo $ac_n "checking for ar in $with_build_time_tools""... $ac_c" 1>&6
40087 -echo "configure:5095: checking for ar in $with_build_time_tools" >&5
40088 +echo "configure:5098: checking for ar in $with_build_time_tools" >&5
40089 if test -x $with_build_time_tools/ar; then
40090 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
40091 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
40092 @@ -5109,7 +5112,7 @@ if test -z "$ac_cv_path_AR_FOR_TARGET" ;
40093 # Extract the first word of "ar", so it can be a program name with args.
40094 set dummy ar; ac_word=$2
40095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40096 -echo "configure:5113: checking for $ac_word" >&5
40097 +echo "configure:5116: checking for $ac_word" >&5
40098 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
40099 echo $ac_n "(cached) $ac_c" 1>&6
40101 @@ -5146,7 +5149,7 @@ if test -z "$ac_cv_path_AR_FOR_TARGET" ;
40102 if test -n "$with_build_time_tools"; then
40103 for ncn_progname in ar; do
40104 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40105 -echo "configure:5150: checking for ${ncn_progname} in $with_build_time_tools" >&5
40106 +echo "configure:5153: checking for ${ncn_progname} in $with_build_time_tools" >&5
40107 if test -x $with_build_time_tools/${ncn_progname}; then
40108 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40109 echo "$ac_t""yes" 1>&6
40110 @@ -5163,7 +5166,7 @@ if test -z "$ac_cv_prog_AR_FOR_TARGET";
40111 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40112 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40113 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40114 -echo "configure:5167: checking for $ac_word" >&5
40115 +echo "configure:5170: checking for $ac_word" >&5
40116 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
40117 echo $ac_n "(cached) $ac_c" 1>&6
40119 @@ -5194,7 +5197,7 @@ fi
40120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40121 set dummy ${ncn_progname}; ac_word=$2
40122 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40123 -echo "configure:5198: checking for $ac_word" >&5
40124 +echo "configure:5201: checking for $ac_word" >&5
40125 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
40126 echo $ac_n "(cached) $ac_c" 1>&6
40128 @@ -5244,7 +5247,7 @@ fi
40129 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
40130 if test -n "$with_build_time_tools"; then
40131 echo $ac_n "checking for as in $with_build_time_tools""... $ac_c" 1>&6
40132 -echo "configure:5248: checking for as in $with_build_time_tools" >&5
40133 +echo "configure:5251: checking for as in $with_build_time_tools" >&5
40134 if test -x $with_build_time_tools/as; then
40135 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
40136 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
40137 @@ -5262,7 +5265,7 @@ if test -z "$ac_cv_path_AS_FOR_TARGET" ;
40138 # Extract the first word of "as", so it can be a program name with args.
40139 set dummy as; ac_word=$2
40140 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40141 -echo "configure:5266: checking for $ac_word" >&5
40142 +echo "configure:5269: checking for $ac_word" >&5
40143 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
40144 echo $ac_n "(cached) $ac_c" 1>&6
40146 @@ -5299,7 +5302,7 @@ if test -z "$ac_cv_path_AS_FOR_TARGET" ;
40147 if test -n "$with_build_time_tools"; then
40148 for ncn_progname in as; do
40149 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40150 -echo "configure:5303: checking for ${ncn_progname} in $with_build_time_tools" >&5
40151 +echo "configure:5306: checking for ${ncn_progname} in $with_build_time_tools" >&5
40152 if test -x $with_build_time_tools/${ncn_progname}; then
40153 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40154 echo "$ac_t""yes" 1>&6
40155 @@ -5316,7 +5319,7 @@ if test -z "$ac_cv_prog_AS_FOR_TARGET";
40156 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40157 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40159 -echo "configure:5320: checking for $ac_word" >&5
40160 +echo "configure:5323: checking for $ac_word" >&5
40161 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
40162 echo $ac_n "(cached) $ac_c" 1>&6
40164 @@ -5347,7 +5350,7 @@ fi
40165 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40166 set dummy ${ncn_progname}; ac_word=$2
40167 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40168 -echo "configure:5351: checking for $ac_word" >&5
40169 +echo "configure:5354: checking for $ac_word" >&5
40170 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
40171 echo $ac_n "(cached) $ac_c" 1>&6
40173 @@ -5397,7 +5400,7 @@ fi
40174 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
40175 if test -n "$with_build_time_tools"; then
40176 echo $ac_n "checking for dlltool in $with_build_time_tools""... $ac_c" 1>&6
40177 -echo "configure:5401: checking for dlltool in $with_build_time_tools" >&5
40178 +echo "configure:5404: checking for dlltool in $with_build_time_tools" >&5
40179 if test -x $with_build_time_tools/dlltool; then
40180 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
40181 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
40182 @@ -5415,7 +5418,7 @@ if test -z "$ac_cv_path_DLLTOOL_FOR_TARG
40183 # Extract the first word of "dlltool", so it can be a program name with args.
40184 set dummy dlltool; ac_word=$2
40185 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40186 -echo "configure:5419: checking for $ac_word" >&5
40187 +echo "configure:5422: checking for $ac_word" >&5
40188 if eval "test \"`echo '$''{'ac_cv_path_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
40189 echo $ac_n "(cached) $ac_c" 1>&6
40191 @@ -5452,7 +5455,7 @@ if test -z "$ac_cv_path_DLLTOOL_FOR_TARG
40192 if test -n "$with_build_time_tools"; then
40193 for ncn_progname in dlltool; do
40194 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40195 -echo "configure:5456: checking for ${ncn_progname} in $with_build_time_tools" >&5
40196 +echo "configure:5459: checking for ${ncn_progname} in $with_build_time_tools" >&5
40197 if test -x $with_build_time_tools/${ncn_progname}; then
40198 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40199 echo "$ac_t""yes" 1>&6
40200 @@ -5469,7 +5472,7 @@ if test -z "$ac_cv_prog_DLLTOOL_FOR_TARG
40201 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40202 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40204 -echo "configure:5473: checking for $ac_word" >&5
40205 +echo "configure:5476: checking for $ac_word" >&5
40206 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
40207 echo $ac_n "(cached) $ac_c" 1>&6
40209 @@ -5500,7 +5503,7 @@ fi
40210 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40211 set dummy ${ncn_progname}; ac_word=$2
40212 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40213 -echo "configure:5504: checking for $ac_word" >&5
40214 +echo "configure:5507: checking for $ac_word" >&5
40215 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
40216 echo $ac_n "(cached) $ac_c" 1>&6
40218 @@ -5550,7 +5553,7 @@ fi
40219 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
40220 if test -n "$with_build_time_tools"; then
40221 echo $ac_n "checking for ld in $with_build_time_tools""... $ac_c" 1>&6
40222 -echo "configure:5554: checking for ld in $with_build_time_tools" >&5
40223 +echo "configure:5557: checking for ld in $with_build_time_tools" >&5
40224 if test -x $with_build_time_tools/ld; then
40225 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
40226 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
40227 @@ -5568,7 +5571,7 @@ if test -z "$ac_cv_path_LD_FOR_TARGET" ;
40228 # Extract the first word of "ld", so it can be a program name with args.
40229 set dummy ld; ac_word=$2
40230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40231 -echo "configure:5572: checking for $ac_word" >&5
40232 +echo "configure:5575: checking for $ac_word" >&5
40233 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
40234 echo $ac_n "(cached) $ac_c" 1>&6
40236 @@ -5605,7 +5608,7 @@ if test -z "$ac_cv_path_LD_FOR_TARGET" ;
40237 if test -n "$with_build_time_tools"; then
40238 for ncn_progname in ld; do
40239 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40240 -echo "configure:5609: checking for ${ncn_progname} in $with_build_time_tools" >&5
40241 +echo "configure:5612: checking for ${ncn_progname} in $with_build_time_tools" >&5
40242 if test -x $with_build_time_tools/${ncn_progname}; then
40243 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40244 echo "$ac_t""yes" 1>&6
40245 @@ -5622,7 +5625,7 @@ if test -z "$ac_cv_prog_LD_FOR_TARGET";
40246 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40247 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40249 -echo "configure:5626: checking for $ac_word" >&5
40250 +echo "configure:5629: checking for $ac_word" >&5
40251 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
40252 echo $ac_n "(cached) $ac_c" 1>&6
40254 @@ -5653,7 +5656,7 @@ fi
40255 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40256 set dummy ${ncn_progname}; ac_word=$2
40257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40258 -echo "configure:5657: checking for $ac_word" >&5
40259 +echo "configure:5660: checking for $ac_word" >&5
40260 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
40261 echo $ac_n "(cached) $ac_c" 1>&6
40263 @@ -5703,7 +5706,7 @@ fi
40264 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
40265 if test -n "$with_build_time_tools"; then
40266 echo $ac_n "checking for lipo in $with_build_time_tools""... $ac_c" 1>&6
40267 -echo "configure:5707: checking for lipo in $with_build_time_tools" >&5
40268 +echo "configure:5710: checking for lipo in $with_build_time_tools" >&5
40269 if test -x $with_build_time_tools/lipo; then
40270 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
40271 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
40272 @@ -5721,7 +5724,7 @@ if test -z "$ac_cv_path_LIPO_FOR_TARGET"
40273 # Extract the first word of "lipo", so it can be a program name with args.
40274 set dummy lipo; ac_word=$2
40275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40276 -echo "configure:5725: checking for $ac_word" >&5
40277 +echo "configure:5728: checking for $ac_word" >&5
40278 if eval "test \"`echo '$''{'ac_cv_path_LIPO_FOR_TARGET'+set}'`\" = set"; then
40279 echo $ac_n "(cached) $ac_c" 1>&6
40281 @@ -5758,7 +5761,7 @@ if test -z "$ac_cv_path_LIPO_FOR_TARGET"
40282 if test -n "$with_build_time_tools"; then
40283 for ncn_progname in lipo; do
40284 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40285 -echo "configure:5762: checking for ${ncn_progname} in $with_build_time_tools" >&5
40286 +echo "configure:5765: checking for ${ncn_progname} in $with_build_time_tools" >&5
40287 if test -x $with_build_time_tools/${ncn_progname}; then
40288 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40289 echo "$ac_t""yes" 1>&6
40290 @@ -5775,7 +5778,7 @@ if test -z "$ac_cv_prog_LIPO_FOR_TARGET"
40291 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40292 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40293 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40294 -echo "configure:5779: checking for $ac_word" >&5
40295 +echo "configure:5782: checking for $ac_word" >&5
40296 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
40297 echo $ac_n "(cached) $ac_c" 1>&6
40299 @@ -5806,7 +5809,7 @@ fi
40300 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40301 set dummy ${ncn_progname}; ac_word=$2
40302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40303 -echo "configure:5810: checking for $ac_word" >&5
40304 +echo "configure:5813: checking for $ac_word" >&5
40305 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
40306 echo $ac_n "(cached) $ac_c" 1>&6
40308 @@ -5856,7 +5859,7 @@ fi
40309 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
40310 if test -n "$with_build_time_tools"; then
40311 echo $ac_n "checking for nm in $with_build_time_tools""... $ac_c" 1>&6
40312 -echo "configure:5860: checking for nm in $with_build_time_tools" >&5
40313 +echo "configure:5863: checking for nm in $with_build_time_tools" >&5
40314 if test -x $with_build_time_tools/nm; then
40315 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
40316 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
40317 @@ -5874,7 +5877,7 @@ if test -z "$ac_cv_path_NM_FOR_TARGET" ;
40318 # Extract the first word of "nm", so it can be a program name with args.
40319 set dummy nm; ac_word=$2
40320 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40321 -echo "configure:5878: checking for $ac_word" >&5
40322 +echo "configure:5881: checking for $ac_word" >&5
40323 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
40324 echo $ac_n "(cached) $ac_c" 1>&6
40326 @@ -5911,7 +5914,7 @@ if test -z "$ac_cv_path_NM_FOR_TARGET" ;
40327 if test -n "$with_build_time_tools"; then
40328 for ncn_progname in nm; do
40329 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40330 -echo "configure:5915: checking for ${ncn_progname} in $with_build_time_tools" >&5
40331 +echo "configure:5918: checking for ${ncn_progname} in $with_build_time_tools" >&5
40332 if test -x $with_build_time_tools/${ncn_progname}; then
40333 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40334 echo "$ac_t""yes" 1>&6
40335 @@ -5928,7 +5931,7 @@ if test -z "$ac_cv_prog_NM_FOR_TARGET";
40336 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40337 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40339 -echo "configure:5932: checking for $ac_word" >&5
40340 +echo "configure:5935: checking for $ac_word" >&5
40341 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
40342 echo $ac_n "(cached) $ac_c" 1>&6
40344 @@ -5959,7 +5962,7 @@ fi
40345 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40346 set dummy ${ncn_progname}; ac_word=$2
40347 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40348 -echo "configure:5963: checking for $ac_word" >&5
40349 +echo "configure:5966: checking for $ac_word" >&5
40350 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
40351 echo $ac_n "(cached) $ac_c" 1>&6
40353 @@ -6009,7 +6012,7 @@ fi
40354 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
40355 if test -n "$with_build_time_tools"; then
40356 echo $ac_n "checking for objdump in $with_build_time_tools""... $ac_c" 1>&6
40357 -echo "configure:6013: checking for objdump in $with_build_time_tools" >&5
40358 +echo "configure:6016: checking for objdump in $with_build_time_tools" >&5
40359 if test -x $with_build_time_tools/objdump; then
40360 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
40361 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
40362 @@ -6027,7 +6030,7 @@ if test -z "$ac_cv_path_OBJDUMP_FOR_TARG
40363 # Extract the first word of "objdump", so it can be a program name with args.
40364 set dummy objdump; ac_word=$2
40365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40366 -echo "configure:6031: checking for $ac_word" >&5
40367 +echo "configure:6034: checking for $ac_word" >&5
40368 if eval "test \"`echo '$''{'ac_cv_path_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
40369 echo $ac_n "(cached) $ac_c" 1>&6
40371 @@ -6064,7 +6067,7 @@ if test -z "$ac_cv_path_OBJDUMP_FOR_TARG
40372 if test -n "$with_build_time_tools"; then
40373 for ncn_progname in objdump; do
40374 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40375 -echo "configure:6068: checking for ${ncn_progname} in $with_build_time_tools" >&5
40376 +echo "configure:6071: checking for ${ncn_progname} in $with_build_time_tools" >&5
40377 if test -x $with_build_time_tools/${ncn_progname}; then
40378 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40379 echo "$ac_t""yes" 1>&6
40380 @@ -6081,7 +6084,7 @@ if test -z "$ac_cv_prog_OBJDUMP_FOR_TARG
40381 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40382 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40384 -echo "configure:6085: checking for $ac_word" >&5
40385 +echo "configure:6088: checking for $ac_word" >&5
40386 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
40387 echo $ac_n "(cached) $ac_c" 1>&6
40389 @@ -6112,7 +6115,7 @@ fi
40390 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40391 set dummy ${ncn_progname}; ac_word=$2
40392 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40393 -echo "configure:6116: checking for $ac_word" >&5
40394 +echo "configure:6119: checking for $ac_word" >&5
40395 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
40396 echo $ac_n "(cached) $ac_c" 1>&6
40398 @@ -6162,7 +6165,7 @@ fi
40399 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
40400 if test -n "$with_build_time_tools"; then
40401 echo $ac_n "checking for ranlib in $with_build_time_tools""... $ac_c" 1>&6
40402 -echo "configure:6166: checking for ranlib in $with_build_time_tools" >&5
40403 +echo "configure:6169: checking for ranlib in $with_build_time_tools" >&5
40404 if test -x $with_build_time_tools/ranlib; then
40405 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
40406 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
40407 @@ -6180,7 +6183,7 @@ if test -z "$ac_cv_path_RANLIB_FOR_TARGE
40408 # Extract the first word of "ranlib", so it can be a program name with args.
40409 set dummy ranlib; ac_word=$2
40410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40411 -echo "configure:6184: checking for $ac_word" >&5
40412 +echo "configure:6187: checking for $ac_word" >&5
40413 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
40414 echo $ac_n "(cached) $ac_c" 1>&6
40416 @@ -6217,7 +6220,7 @@ if test -z "$ac_cv_path_RANLIB_FOR_TARGE
40417 if test -n "$with_build_time_tools"; then
40418 for ncn_progname in ranlib; do
40419 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40420 -echo "configure:6221: checking for ${ncn_progname} in $with_build_time_tools" >&5
40421 +echo "configure:6224: checking for ${ncn_progname} in $with_build_time_tools" >&5
40422 if test -x $with_build_time_tools/${ncn_progname}; then
40423 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40424 echo "$ac_t""yes" 1>&6
40425 @@ -6234,7 +6237,7 @@ if test -z "$ac_cv_prog_RANLIB_FOR_TARGE
40426 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40427 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40428 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40429 -echo "configure:6238: checking for $ac_word" >&5
40430 +echo "configure:6241: checking for $ac_word" >&5
40431 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
40432 echo $ac_n "(cached) $ac_c" 1>&6
40434 @@ -6265,7 +6268,7 @@ fi
40435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40436 set dummy ${ncn_progname}; ac_word=$2
40437 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40438 -echo "configure:6269: checking for $ac_word" >&5
40439 +echo "configure:6272: checking for $ac_word" >&5
40440 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
40441 echo $ac_n "(cached) $ac_c" 1>&6
40443 @@ -6315,7 +6318,7 @@ fi
40444 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
40445 if test -n "$with_build_time_tools"; then
40446 echo $ac_n "checking for strip in $with_build_time_tools""... $ac_c" 1>&6
40447 -echo "configure:6319: checking for strip in $with_build_time_tools" >&5
40448 +echo "configure:6322: checking for strip in $with_build_time_tools" >&5
40449 if test -x $with_build_time_tools/strip; then
40450 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
40451 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
40452 @@ -6333,7 +6336,7 @@ if test -z "$ac_cv_path_STRIP_FOR_TARGET
40453 # Extract the first word of "strip", so it can be a program name with args.
40454 set dummy strip; ac_word=$2
40455 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40456 -echo "configure:6337: checking for $ac_word" >&5
40457 +echo "configure:6340: checking for $ac_word" >&5
40458 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
40459 echo $ac_n "(cached) $ac_c" 1>&6
40461 @@ -6370,7 +6373,7 @@ if test -z "$ac_cv_path_STRIP_FOR_TARGET
40462 if test -n "$with_build_time_tools"; then
40463 for ncn_progname in strip; do
40464 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40465 -echo "configure:6374: checking for ${ncn_progname} in $with_build_time_tools" >&5
40466 +echo "configure:6377: checking for ${ncn_progname} in $with_build_time_tools" >&5
40467 if test -x $with_build_time_tools/${ncn_progname}; then
40468 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40469 echo "$ac_t""yes" 1>&6
40470 @@ -6387,7 +6390,7 @@ if test -z "$ac_cv_prog_STRIP_FOR_TARGET
40471 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40472 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40473 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40474 -echo "configure:6391: checking for $ac_word" >&5
40475 +echo "configure:6394: checking for $ac_word" >&5
40476 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
40477 echo $ac_n "(cached) $ac_c" 1>&6
40479 @@ -6418,7 +6421,7 @@ fi
40480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40481 set dummy ${ncn_progname}; ac_word=$2
40482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40483 -echo "configure:6422: checking for $ac_word" >&5
40484 +echo "configure:6425: checking for $ac_word" >&5
40485 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
40486 echo $ac_n "(cached) $ac_c" 1>&6
40488 @@ -6468,7 +6471,7 @@ fi
40489 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
40490 if test -n "$with_build_time_tools"; then
40491 echo $ac_n "checking for windres in $with_build_time_tools""... $ac_c" 1>&6
40492 -echo "configure:6472: checking for windres in $with_build_time_tools" >&5
40493 +echo "configure:6475: checking for windres in $with_build_time_tools" >&5
40494 if test -x $with_build_time_tools/windres; then
40495 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
40496 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
40497 @@ -6486,7 +6489,7 @@ if test -z "$ac_cv_path_WINDRES_FOR_TARG
40498 # Extract the first word of "windres", so it can be a program name with args.
40499 set dummy windres; ac_word=$2
40500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40501 -echo "configure:6490: checking for $ac_word" >&5
40502 +echo "configure:6493: checking for $ac_word" >&5
40503 if eval "test \"`echo '$''{'ac_cv_path_WINDRES_FOR_TARGET'+set}'`\" = set"; then
40504 echo $ac_n "(cached) $ac_c" 1>&6
40506 @@ -6523,7 +6526,7 @@ if test -z "$ac_cv_path_WINDRES_FOR_TARG
40507 if test -n "$with_build_time_tools"; then
40508 for ncn_progname in windres; do
40509 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
40510 -echo "configure:6527: checking for ${ncn_progname} in $with_build_time_tools" >&5
40511 +echo "configure:6530: checking for ${ncn_progname} in $with_build_time_tools" >&5
40512 if test -x $with_build_time_tools/${ncn_progname}; then
40513 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
40514 echo "$ac_t""yes" 1>&6
40515 @@ -6540,7 +6543,7 @@ if test -z "$ac_cv_prog_WINDRES_FOR_TARG
40516 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
40517 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
40518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40519 -echo "configure:6544: checking for $ac_word" >&5
40520 +echo "configure:6547: checking for $ac_word" >&5
40521 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
40522 echo $ac_n "(cached) $ac_c" 1>&6
40524 @@ -6571,7 +6574,7 @@ fi
40525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
40526 set dummy ${ncn_progname}; ac_word=$2
40527 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
40528 -echo "configure:6575: checking for $ac_word" >&5
40529 +echo "configure:6578: checking for $ac_word" >&5
40530 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
40531 echo $ac_n "(cached) $ac_c" 1>&6
40533 @@ -6619,7 +6622,7 @@ fi
40534 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
40536 echo $ac_n "checking where to find the target ar""... $ac_c" 1>&6
40537 -echo "configure:6623: checking where to find the target ar" >&5
40538 +echo "configure:6626: checking where to find the target ar" >&5
40539 if test "x${build}" != "x${host}" ; then
40540 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
40541 # We already found the complete path
40542 @@ -6652,7 +6655,7 @@ else
40545 echo $ac_n "checking where to find the target as""... $ac_c" 1>&6
40546 -echo "configure:6656: checking where to find the target as" >&5
40547 +echo "configure:6659: checking where to find the target as" >&5
40548 if test "x${build}" != "x${host}" ; then
40549 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
40550 # We already found the complete path
40551 @@ -6685,7 +6688,7 @@ else
40554 echo $ac_n "checking where to find the target cc""... $ac_c" 1>&6
40555 -echo "configure:6689: checking where to find the target cc" >&5
40556 +echo "configure:6692: checking where to find the target cc" >&5
40557 if test "x${build}" != "x${host}" ; then
40558 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
40559 # We already found the complete path
40560 @@ -6718,7 +6721,7 @@ else
40563 echo $ac_n "checking where to find the target c++""... $ac_c" 1>&6
40564 -echo "configure:6722: checking where to find the target c++" >&5
40565 +echo "configure:6725: checking where to find the target c++" >&5
40566 if test "x${build}" != "x${host}" ; then
40567 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
40568 # We already found the complete path
40569 @@ -6754,7 +6757,7 @@ else
40572 echo $ac_n "checking where to find the target c++ for libstdc++""... $ac_c" 1>&6
40573 -echo "configure:6758: checking where to find the target c++ for libstdc++" >&5
40574 +echo "configure:6761: checking where to find the target c++ for libstdc++" >&5
40575 if test "x${build}" != "x${host}" ; then
40576 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
40577 # We already found the complete path
40578 @@ -6790,7 +6793,7 @@ else
40581 echo $ac_n "checking where to find the target dlltool""... $ac_c" 1>&6
40582 -echo "configure:6794: checking where to find the target dlltool" >&5
40583 +echo "configure:6797: checking where to find the target dlltool" >&5
40584 if test "x${build}" != "x${host}" ; then
40585 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
40586 # We already found the complete path
40587 @@ -6823,7 +6826,7 @@ else
40590 echo $ac_n "checking where to find the target gcc""... $ac_c" 1>&6
40591 -echo "configure:6827: checking where to find the target gcc" >&5
40592 +echo "configure:6830: checking where to find the target gcc" >&5
40593 if test "x${build}" != "x${host}" ; then
40594 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
40595 # We already found the complete path
40596 @@ -6856,7 +6859,7 @@ else
40599 echo $ac_n "checking where to find the target gcj""... $ac_c" 1>&6
40600 -echo "configure:6860: checking where to find the target gcj" >&5
40601 +echo "configure:6863: checking where to find the target gcj" >&5
40602 if test "x${build}" != "x${host}" ; then
40603 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
40604 # We already found the complete path
40605 @@ -6892,7 +6895,7 @@ else
40608 echo $ac_n "checking where to find the target gfortran""... $ac_c" 1>&6
40609 -echo "configure:6896: checking where to find the target gfortran" >&5
40610 +echo "configure:6899: checking where to find the target gfortran" >&5
40611 if test "x${build}" != "x${host}" ; then
40612 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
40613 # We already found the complete path
40614 @@ -6928,7 +6931,7 @@ else
40617 echo $ac_n "checking where to find the target ld""... $ac_c" 1>&6
40618 -echo "configure:6932: checking where to find the target ld" >&5
40619 +echo "configure:6935: checking where to find the target ld" >&5
40620 if test "x${build}" != "x${host}" ; then
40621 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
40622 # We already found the complete path
40623 @@ -6961,7 +6964,7 @@ else
40626 echo $ac_n "checking where to find the target lipo""... $ac_c" 1>&6
40627 -echo "configure:6965: checking where to find the target lipo" >&5
40628 +echo "configure:6968: checking where to find the target lipo" >&5
40629 if test "x${build}" != "x${host}" ; then
40630 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
40631 # We already found the complete path
40632 @@ -6984,7 +6987,7 @@ else
40635 echo $ac_n "checking where to find the target nm""... $ac_c" 1>&6
40636 -echo "configure:6988: checking where to find the target nm" >&5
40637 +echo "configure:6991: checking where to find the target nm" >&5
40638 if test "x${build}" != "x${host}" ; then
40639 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
40640 # We already found the complete path
40641 @@ -7017,7 +7020,7 @@ else
40644 echo $ac_n "checking where to find the target objdump""... $ac_c" 1>&6
40645 -echo "configure:7021: checking where to find the target objdump" >&5
40646 +echo "configure:7024: checking where to find the target objdump" >&5
40647 if test "x${build}" != "x${host}" ; then
40648 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
40649 # We already found the complete path
40650 @@ -7050,7 +7053,7 @@ else
40653 echo $ac_n "checking where to find the target ranlib""... $ac_c" 1>&6
40654 -echo "configure:7054: checking where to find the target ranlib" >&5
40655 +echo "configure:7057: checking where to find the target ranlib" >&5
40656 if test "x${build}" != "x${host}" ; then
40657 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
40658 # We already found the complete path
40659 @@ -7083,7 +7086,7 @@ else
40662 echo $ac_n "checking where to find the target strip""... $ac_c" 1>&6
40663 -echo "configure:7087: checking where to find the target strip" >&5
40664 +echo "configure:7090: checking where to find the target strip" >&5
40665 if test "x${build}" != "x${host}" ; then
40666 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
40667 # We already found the complete path
40668 @@ -7116,7 +7119,7 @@ else
40671 echo $ac_n "checking where to find the target windres""... $ac_c" 1>&6
40672 -echo "configure:7120: checking where to find the target windres" >&5
40673 +echo "configure:7123: checking where to find the target windres" >&5
40674 if test "x${build}" != "x${host}" ; then
40675 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
40676 # We already found the complete path
40677 @@ -7177,7 +7180,7 @@ fi
40680 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
40681 -echo "configure:7181: checking whether to enable maintainer-specific portions of Makefiles" >&5
40682 +echo "configure:7184: checking whether to enable maintainer-specific portions of Makefiles" >&5
40683 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
40684 if test "${enable_maintainer_mode+set}" = set; then
40685 enableval="$enable_maintainer_mode"
40686 @@ -7334,34 +7337,15 @@ trap 'rm -f $CONFIG_STATUS conftest*; ex
40687 # Transform confdefs.h into DEFS.
40688 # Protect against shell expansion while executing Makefile rules.
40689 # Protect against Makefile macro expansion.
40691 -# If the first sed substitution is executed (which looks for macros that
40692 -# take arguments), then we branch to the quote section. Otherwise,
40693 -# look for a macro that doesn't take arguments.
40694 -cat >confdef2opt.sed <<\_ACEOF
40697 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
40699 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
40703 -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
40709 -# We use echo to avoid assuming a particular line-breaking character.
40710 -# The extra dot is to prevent the shell from consuming trailing
40711 -# line-breaks from the sub-command output. A line-break within
40712 -# single-quotes doesn't work because, if this script is created in a
40713 -# platform that uses two characters for line-breaks (e.g., DOS), tr
40715 -ac_LF_and_DOT=`echo; echo .`
40716 -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
40717 -rm -f confdef2opt.sed
40718 +cat > conftest.defs <<\EOF
40719 +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
40720 +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
40725 +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
40726 +rm -f conftest.defs
40729 # Without the "./", some shells look in PATH for config.status.
40730 diff -Nrup binutils-2.17/configure.in binutils-2.17.atmel.1.3.0/configure.in
40731 --- binutils-2.17/configure.in 2006-06-23 20:19:53.000000000 +0200
40732 +++ binutils-2.17.atmel.1.3.0/configure.in 2007-03-26 10:20:35.000000000 +0200
40733 @@ -269,6 +269,9 @@ unsupported_languages=
40738 + noconfigdirs="$noconfigdirs readline gdb"
40741 noconfigdirs="$noconfigdirs byacc"
40743 diff -Nrup binutils-2.17/gas/as.c binutils-2.17.atmel.1.3.0/gas/as.c
40744 --- binutils-2.17/gas/as.c 2006-02-09 01:07:41.000000000 +0100
40745 +++ binutils-2.17.atmel.1.3.0/gas/as.c 2007-03-26 10:20:16.000000000 +0200
40746 @@ -439,10 +439,10 @@ parse_args (int * pargc, char *** pargv)
40747 the end of the preceeding line so that it is simpler to
40748 selectively add and remove lines from this list. */
40749 {"alternate", no_argument, NULL, OPTION_ALTERNATE}
40750 - /* The entry for "a" is here to prevent getopt_long_only() from
40751 - considering that -a is an abbreviation for --alternate. This is
40752 - necessary because -a=<FILE> is a valid switch but getopt would
40753 - normally reject it since --alternate does not take an argument. */
40754 + /* The next two entries are here to prevent getopt_long_only() from
40755 + considering that -a or -al is an abbreviation for --alternate.
40756 + This is necessary because -a=<FILE> is a valid switch but getopt
40757 + would normally reject it since --alternate does not take an argument. */
40758 ,{"a", optional_argument, NULL, 'a'}
40759 /* Handle -al=<FILE>. */
40760 ,{"al", optional_argument, NULL, OPTION_AL}
40761 @@ -795,8 +795,15 @@ the GNU General Public License. This pr
40765 - if (optarg != old_argv[optind] && optarg[-1] == '=')
40767 + /* If optarg is part of the -a switch and not a separate argument
40768 + in its own right, then scan backwards to the just after the -a.
40769 + This means skipping over both '=' and 'l' which might have been
40770 + taken to be part of the -a switch itself. */
40771 + if (optarg != old_argv[optind])
40773 + while (optarg[-1] == '=' || optarg[-1] == 'l')
40777 if (md_parse_option (optc, optarg) != 0)
40779 @@ -1189,7 +1196,7 @@ main (int argc, char ** argv)
40783 - unlink_if_ordinary (out_file_name);
40784 + unlink (out_file_name);
40786 input_scrub_end ();
40788 diff -Nrup binutils-2.17/gas/config/bfin-aux.h binutils-2.17.atmel.1.3.0/gas/config/bfin-aux.h
40789 --- binutils-2.17/gas/config/bfin-aux.h 2005-09-30 17:05:06.000000000 +0200
40790 +++ binutils-2.17.atmel.1.3.0/gas/config/bfin-aux.h 2007-03-26 10:20:14.000000000 +0200
40791 @@ -1,151 +1,151 @@
40792 -/* bfin-aux.h ADI Blackfin Header file for gas
40794 - Free Software Foundation, Inc.
40796 - This file is part of GAS, the GNU Assembler.
40798 - GAS is free software; you can redistribute it and/or modify
40799 - it under the terms of the GNU General Public License as published by
40800 - the Free Software Foundation; either version 2, or (at your option)
40801 - any later version.
40803 - GAS is distributed in the hope that it will be useful,
40804 - but WITHOUT ANY WARRANTY; without even the implied warranty of
40805 - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40806 - GNU General Public License for more details.
40808 - You should have received a copy of the GNU General Public License
40809 - along with GAS; see the file COPYING. If not, write to the Free
40810 - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
40811 - 02110-1301, USA. */
40813 -#include "bfin-defs.h"
40815 -#define REG_T Register *
40818 -bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
40819 - int h01, int h11, int h00, int h10,
40820 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40823 -bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
40824 - int h01, int h11, int h00, int h10,
40825 - int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40828 -bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
40829 - REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
40832 -bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
40833 - int sop, int hls);
40836 -bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
40837 - int sop, int hls);
40840 -bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
40844 -bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
40845 - Expr_Node *offset);
40848 -bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
40851 -bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
40854 -bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
40857 -bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
40860 -bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
40863 -bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
40866 -bfin_gen_compi2opd (REG_T dst, int src, int op);
40869 -bfin_gen_compi2opp (REG_T dst, int src, int op);
40872 -bfin_gen_dagmodik (REG_T i, int op);
40875 -bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
40878 -bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
40881 -bfin_gen_logi2op (int dst, int src, int opc);
40884 -bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
40887 -bfin_gen_ccmv (REG_T src, REG_T dst, int t);
40890 -bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
40893 -bfin_gen_cc2stat (int cbit, int op, int d);
40896 -bfin_gen_regmv (REG_T src, REG_T dst);
40899 -bfin_gen_cc2dreg (int op, REG_T reg);
40902 -bfin_gen_brcc (int t, int b, Expr_Node *offset);
40905 -bfin_gen_ujump (Expr_Node *offset);
40908 -bfin_gen_cactrl (REG_T reg, int a, int op);
40911 -bfin_gen_progctrl (int prgfunc, int poprnd);
40914 -bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
40915 - Expr_Node *eoffset, REG_T reg);
40918 -bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
40921 -bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
40924 -bfin_gen_pushpopreg (REG_T reg, int w);
40927 -bfin_gen_calla (Expr_Node *addr, int s);
40930 -bfin_gen_linkage (int r, int framesize);
40933 -bfin_gen_pseudodbg (int fn, int reg, int grp);
40936 -bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
40939 -bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
40942 -bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
40943 +/* bfin-aux.h ADI Blackfin Header file for gas
40945 + Free Software Foundation, Inc.
40947 + This file is part of GAS, the GNU Assembler.
40949 + GAS is free software; you can redistribute it and/or modify
40950 + it under the terms of the GNU General Public License as published by
40951 + the Free Software Foundation; either version 2, or (at your option)
40952 + any later version.
40954 + GAS is distributed in the hope that it will be useful,
40955 + but WITHOUT ANY WARRANTY; without even the implied warranty of
40956 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
40957 + GNU General Public License for more details.
40959 + You should have received a copy of the GNU General Public License
40960 + along with GAS; see the file COPYING. If not, write to the Free
40961 + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
40962 + 02110-1301, USA. */
40964 +#include "bfin-defs.h"
40966 +#define REG_T Register *
40969 +bfin_gen_dsp32mac (int op1, int mm, int mmod, int w1, int p,
40970 + int h01, int h11, int h00, int h10,
40971 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40974 +bfin_gen_dsp32mult (int op1, int mm, int mmod, int w1, int p,
40975 + int h01, int h11, int h00, int h10,
40976 + int op0, REG_T dst, REG_T src0, REG_T src1, int w0);
40979 +bfin_gen_dsp32alu (int HL, int aopcde, int aop, int s, int x,
40980 + REG_T dst0, REG_T dst1, REG_T src0, REG_T src1);
40983 +bfin_gen_dsp32shift (int sopcde, REG_T dst0, REG_T src0, REG_T src1,
40984 + int sop, int hls);
40987 +bfin_gen_dsp32shiftimm (int sopcde, REG_T dst0, int immag, REG_T src1,
40988 + int sop, int hls);
40991 +bfin_gen_ldimmhalf (REG_T reg, int h, int s, int z, Expr_Node *hword,
40995 +bfin_gen_ldstidxi (REG_T ptr, REG_T reg, int w, int sz, int z,
40996 + Expr_Node *offset);
40999 +bfin_gen_ldst (REG_T ptr, REG_T reg, int aop, int sz, int z, int w);
41002 +bfin_gen_ldstii (REG_T ptr, REG_T reg, Expr_Node *offset, int w, int op);
41005 +bfin_gen_ldstiifp (REG_T reg, Expr_Node *offset, int w);
41008 +bfin_gen_ldstpmod (REG_T ptr, REG_T reg, int aop, int w, REG_T idx);
41011 +bfin_gen_dspldst (REG_T i, REG_T reg, int aop, int w, int m);
41014 +bfin_gen_alu2op (REG_T dst, REG_T src, int opc);
41017 +bfin_gen_compi2opd (REG_T dst, int src, int op);
41020 +bfin_gen_compi2opp (REG_T dst, int src, int op);
41023 +bfin_gen_dagmodik (REG_T i, int op);
41026 +bfin_gen_dagmodim (REG_T i, REG_T m, int op, int br);
41029 +bfin_gen_ptr2op (REG_T dst, REG_T src, int opc);
41032 +bfin_gen_logi2op (int dst, int src, int opc);
41035 +bfin_gen_comp3op (REG_T src0, REG_T src1, REG_T dst, int opc);
41038 +bfin_gen_ccmv (REG_T src, REG_T dst, int t);
41041 +bfin_gen_ccflag (REG_T x, int y, int opc, int i, int g);
41044 +bfin_gen_cc2stat (int cbit, int op, int d);
41047 +bfin_gen_regmv (REG_T src, REG_T dst);
41050 +bfin_gen_cc2dreg (int op, REG_T reg);
41053 +bfin_gen_brcc (int t, int b, Expr_Node *offset);
41056 +bfin_gen_ujump (Expr_Node *offset);
41059 +bfin_gen_cactrl (REG_T reg, int a, int op);
41062 +bfin_gen_progctrl (int prgfunc, int poprnd);
41065 +bfin_gen_loopsetup (Expr_Node *soffset, REG_T c, int rop,
41066 + Expr_Node *eoffset, REG_T reg);
41069 +bfin_gen_loop (Expr_Node *expr, REG_T reg, int rop, REG_T preg);
41072 +bfin_gen_pushpopmultiple (int dr, int pr, int d, int p, int w);
41075 +bfin_gen_pushpopreg (REG_T reg, int w);
41078 +bfin_gen_calla (Expr_Node *addr, int s);
41081 +bfin_gen_linkage (int r, int framesize);
41084 +bfin_gen_pseudodbg (int fn, int reg, int grp);
41087 +bfin_gen_pseudodbg_assert (int dbgop, REG_T regtest, int expected);
41090 +bfin_resource_conflict (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
41093 +bfin_gen_multi_instr (INSTR_T dsp32, INSTR_T dsp16_grp1, INSTR_T dsp16_grp2);
41094 diff -Nrup binutils-2.17/gas/config/tc-avr32.c binutils-2.17.atmel.1.3.0/gas/config/tc-avr32.c
41095 --- binutils-2.17/gas/config/tc-avr32.c 1970-01-01 01:00:00.000000000 +0100
41096 +++ binutils-2.17.atmel.1.3.0/gas/config/tc-avr32.c 2007-09-28 10:30:46.000000000 +0200
41098 +/* Assembler implementation for AVR32.
41099 + Copyright 2003-2006 Atmel Corporation.
41101 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
41103 + This file is part of GAS, the GNU Assembler.
41105 + GAS is free software; you can redistribute it and/or modify it
41106 + under the terms of the GNU General Public License as published by
41107 + the Free Software Foundation; either version 2, or (at your option)
41108 + any later version.
41110 + GAS is distributed in the hope that it will be useful, but WITHOUT
41111 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
41112 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
41113 + License for more details.
41115 + You should have received a copy of the GNU General Public License
41116 + along with GAS; see the file COPYING. If not, write to the Free
41117 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
41118 + 02111-1307, USA. */
41120 +#include <stdio.h>
41122 +#include "safe-ctype.h"
41123 +#include "subsegs.h"
41124 +#include "symcat.h"
41125 +#include "opcodes/avr32-opc.h"
41126 +#include "opcodes/avr32-asm.h"
41127 +#include "elf/avr32.h"
41128 +#include "dwarf2dbg.h"
41131 +#define xOPC_CONSISTENCY_CHECK
41134 +# define pr_debug(fmt, args...) fprintf(stderr, fmt, ##args)
41136 +# define pr_debug(fmt, args...)
41139 +/* 3 MSB of instruction word indicate group. Group 7 -> extended */
41140 +#define AVR32_COMPACT_P(opcode) ((opcode[0] & 0xe0) != 0xe0)
41142 +#define streq(a, b) (strcmp(a, b) == 0)
41143 +#define skip_whitespace(str) do { while(*(str) == ' ') ++(str); } while(0)
41145 +/* Flags given on the command line */
41146 +static int avr32_pic = FALSE;
41147 +int linkrelax = FALSE;
41148 +int avr32_iarcompat = FALSE;
41149 +int allow_direct_data_refs = FALSE;
41151 +/* This array holds the chars that always start a comment. */
41152 +const char comment_chars[] = "#";
41154 +/* This array holds the chars that only start a comment at the
41155 + beginning of a line. We must include '#' here because the compiler
41156 + may produce #APP and #NO_APP in its output. */
41157 +const char line_comment_chars[] = "#";
41159 +/* These may be used instead of newline (same as ';' in C). */
41160 +const char line_separator_chars[] = ";";
41162 +/* Chars that can be used to separate mantissa from exponent in
41163 + floating point numbers. */
41164 +const char EXP_CHARS[] = "eE";
41166 +/* Chars that mean this number is a floating point constant. */
41167 +const char FLT_CHARS[] = "dD";
41169 +/* Pre-defined "_GLOBAL_OFFSET_TABLE_" */
41170 +symbolS *GOT_symbol;
41172 +static struct hash_control *avr32_mnemonic_htab;
41174 +struct avr32_ifield_data
41177 + /* FIXME: Get rid of align_order and complain. complain is never
41178 + used, align_order is used in one place. Try to use the relax
41179 + table instead. */
41180 + unsigned int align_order;
41185 + const struct avr32_syntax *syntax;
41186 + expressionS immediate;
41188 + int force_extended;
41189 + unsigned int next_slot;
41190 + bfd_reloc_code_real_type r_type;
41191 + struct avr32_ifield_data field_value[AVR32_MAX_FIELDS];
41194 +static struct avr32_insn current_insn;
41196 +/* The target specific pseudo-ops we support. */
41197 +static void s_rseg (int);
41198 +static void s_cpool(int);
41200 +const pseudo_typeS md_pseudo_table[] =
41202 + /* Make sure that .word is 32 bits */
41203 + { "word", cons, 4 },
41204 + { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
41205 + { "loc", dwarf2_directive_loc, 0 },
41207 + /* .lcomm requires an explicit alignment parameter */
41208 + { "lcomm", s_lcomm, 1 },
41210 + /* AVR32-specific pseudo-ops */
41211 + { "cpool", s_cpool, 0},
41213 + /* IAR compatible pseudo-ops */
41214 + { "program", s_ignore, 0 },
41215 + { "public", s_globl, 0 },
41216 + { "extern", s_ignore, 0 },
41217 + { "module", s_ignore, 0 },
41218 + { "rseg", s_rseg, 0 },
41219 + { "dc8", cons, 1 },
41220 + { "dc16", cons, 2 },
41221 + { "dc32", cons, 4 },
41223 + { NULL, NULL, 0 }
41226 +/* Questionable stuff starts here */
41228 +enum avr32_opinfo {
41229 + AVR32_OPINFO_NONE = BFD_RELOC_NONE,
41230 + AVR32_OPINFO_GOT,
41231 + AVR32_OPINFO_TLSGD,
41241 +struct arch_type_s
41243 + /* Architecture name */
41245 + /* Instruction Set Architecture Flags */
41246 + unsigned long isa_flags;
41249 +struct part_type_s
41253 + /* Architecture type */
41254 + unsigned int arch;
41257 +static struct arch_type_s arch_types[] =
41259 + {"ap", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_PICO},
41260 + {"uc", AVR32_V1 | AVR32_DSP | AVR32_RMW},
41261 + {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO},
41265 +static struct part_type_s part_types[] = {
41266 + {"ap7000", ARCH_TYPE_AP},
41267 + {"ap7010", ARCH_TYPE_AP},
41268 + {"ap7020", ARCH_TYPE_AP},
41269 + {"uc3a0256", ARCH_TYPE_UC},
41270 + {"uc3a0512", ARCH_TYPE_UC},
41271 + {"uc3a1128", ARCH_TYPE_UC},
41272 + {"uc3a1256", ARCH_TYPE_UC},
41273 + {"uc3a1512", ARCH_TYPE_UC},
41274 + {"uc3b064", ARCH_TYPE_UC},
41275 + {"uc3b0128", ARCH_TYPE_UC},
41276 + {"uc3b0256", ARCH_TYPE_UC},
41277 + {"uc3b164", ARCH_TYPE_UC},
41278 + {"uc3b1128", ARCH_TYPE_UC},
41279 + {"uc3b1256", ARCH_TYPE_UC},
41283 +/* Current architecture type. */
41284 +static struct arch_type_s default_arch = {"all-insn", AVR32_V1 | AVR32_SIMD | AVR32_DSP | AVR32_RMW | AVR32_FP | AVR32_PICO };
41285 +static struct arch_type_s *avr32_arch = &default_arch;
41287 +/* Display nicely formatted list of known part- and architecture names. */
41290 +show_arch_list (FILE *stream)
41294 + fprintf (stream, _("Known architecture names:"));
41297 + for (i = 0; arch_types[i].name; i++)
41299 + int len = strlen (arch_types[i].name);
41304 + fprintf (stream, " %s", arch_types[i].name);
41307 + fprintf (stream, "\n %s", arch_types[i].name);
41312 + fprintf (stream, "\n");
41316 +show_part_list (FILE *stream)
41320 + fprintf (stream, _("Known part names:"));
41323 + for (i = 0; part_types[i].name; i++)
41325 + int len = strlen(part_types[i].name);
41330 + fprintf (stream, " %s", part_types[i].name);
41333 + fprintf(stream, "\n %s", part_types[i].name);
41338 + fprintf (stream, "\n");
41341 +const char *md_shortopts = "";
41342 +struct option md_longopts[] =
41344 +#define OPTION_ARCH (OPTION_MD_BASE)
41345 +#define OPTION_PART (OPTION_ARCH + 1)
41346 +#define OPTION_IAR (OPTION_PART + 1)
41347 +#define OPTION_PIC (OPTION_IAR + 1)
41348 +#define OPTION_NOPIC (OPTION_PIC + 1)
41349 +#define OPTION_LINKRELAX (OPTION_NOPIC + 1)
41350 +#define OPTION_NOLINKRELAX (OPTION_LINKRELAX + 1)
41351 +#define OPTION_DIRECT_DATA_REFS (OPTION_NOLINKRELAX + 1)
41352 + {"march", required_argument, NULL, OPTION_ARCH},
41353 + {"mpart", required_argument, NULL, OPTION_PART},
41354 + {"iar", no_argument, NULL, OPTION_IAR},
41355 + {"pic", no_argument, NULL, OPTION_PIC},
41356 + {"no-pic", no_argument, NULL, OPTION_NOPIC},
41357 + {"linkrelax", no_argument, NULL, OPTION_LINKRELAX},
41358 + {"no-linkrelax", no_argument, NULL, OPTION_NOLINKRELAX},
41359 + {"direct-data-refs", no_argument, NULL, OPTION_DIRECT_DATA_REFS},
41360 + /* deprecated alias for -mpart=xxx */
41361 + {"mcpu", required_argument, NULL, OPTION_PART},
41362 + {NULL, no_argument, NULL, 0}
41365 +size_t md_longopts_size = sizeof (md_longopts);
41368 +md_show_usage (FILE *stream)
41370 + fprintf (stream, _("\
41372 + -march=[arch-name] Select cpu architecture. [Default `all-insn']\n\
41373 + -mpart=[part-name] Select specific part. [Default `none']\n\
41374 + --pic Produce Position-Independent Code\n\
41375 + --no-pic Don't produce Position-Independent Code\n\
41376 + --linkrelax Produce output suitable for linker relaxing\n\
41377 + --no-linkrelax Don't produce output suitable for linker relaxing\n\
41378 + --direct-data-refs Allows direct references (i.e. mov or sub) to the data section\n"));
41379 + show_arch_list(stream);
41383 +md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
41387 + case OPTION_ARCH:
41390 + char *s = alloca (strlen (arg) + 1);
41394 + char *arg1 = arg;
41397 + *t = TOLOWER (*arg1++);
41401 + for (i = 0; arch_types[i].name; ++i)
41402 + if (strcmp (arch_types[i].name, s) == 0)
41405 + if (!arch_types[i].name)
41407 + show_arch_list (stderr);
41408 + as_fatal (_("unknown architecture: %s\n"), arg);
41411 + avr32_arch = &arch_types[i];
41414 + case OPTION_PART:
41417 + char *s = alloca (strlen (arg) + 1);
41421 + /* If arch type has already been set, don't bother.
41422 + -march= always overrides -mpart= */
41423 + if (avr32_arch != &default_arch)
41427 + *t = TOLOWER (*p++);
41430 + for (i = 0; part_types[i].name; ++i)
41431 + if (strcmp (part_types[i].name, s) == 0)
41434 + if (!part_types[i].name)
41436 + show_part_list (stderr);
41437 + as_fatal (_("unknown part: %s\n"), arg);
41440 + avr32_arch = &arch_types[part_types[i].arch];
41444 + avr32_iarcompat = 1;
41449 + case OPTION_NOPIC:
41452 + case OPTION_LINKRELAX:
41455 + case OPTION_NOLINKRELAX:
41458 + case OPTION_DIRECT_DATA_REFS:
41459 + allow_direct_data_refs = 1;
41467 +/* Can't use symbol_new here, so have to create a symbol and then at
41468 + a later date assign it a value. Thats what these functions do.
41470 + Shamelessly stolen from ARM. */
41473 +symbol_locate (symbolS * symbolP,
41474 + const char * name, /* It is copied, the caller can modify. */
41475 + segT segment, /* Segment identifier (SEG_<something>). */
41476 + valueT valu, /* Symbol value. */
41477 + fragS * frag) /* Associated fragment. */
41479 + unsigned int name_length;
41480 + char * preserved_copy_of_name;
41482 + name_length = strlen (name) + 1; /* +1 for \0. */
41483 + obstack_grow (¬es, name, name_length);
41484 + preserved_copy_of_name = obstack_finish (¬es);
41485 +#ifdef STRIP_UNDERSCORE
41486 + if (preserved_copy_of_name[0] == '_')
41487 + preserved_copy_of_name++;
41490 +#ifdef tc_canonicalize_symbol_name
41491 + preserved_copy_of_name =
41492 + tc_canonicalize_symbol_name (preserved_copy_of_name);
41495 + S_SET_NAME (symbolP, preserved_copy_of_name);
41497 + S_SET_SEGMENT (symbolP, segment);
41498 + S_SET_VALUE (symbolP, valu);
41499 + symbol_clear_list_pointers (symbolP);
41501 + symbol_set_frag (symbolP, frag);
41503 + /* Link to end of symbol chain. */
41505 + extern int symbol_table_frozen;
41507 + if (symbol_table_frozen)
41511 + symbol_append (symbolP, symbol_lastP, & symbol_rootP, & symbol_lastP);
41513 + obj_symbol_new_hook (symbolP);
41515 +#ifdef tc_symbol_new_hook
41516 + tc_symbol_new_hook (symbolP);
41520 + verify_symbol_chain (symbol_rootP, symbol_lastP);
41521 +#endif /* DEBUG_SYMS */
41524 +struct cpool_entry
41533 + struct cpool *next;
41535 + struct cpool_entry *literals;
41536 + unsigned int padding;
41537 + unsigned int next_free_entry;
41541 + subsegT sub_section;
41544 +struct cpool *cpool_list = NULL;
41546 +static struct cpool *
41547 +find_cpool(segT section, subsegT sub_section)
41549 + struct cpool *pool;
41551 + for (pool = cpool_list; pool != NULL; pool = pool->next)
41554 + && pool->section == section
41555 + && pool->sub_section == sub_section)
41562 +static struct cpool *
41563 +find_or_make_cpool(segT section, subsegT sub_section)
41565 + static unsigned int next_cpool_id = 0;
41566 + struct cpool *pool;
41568 + pool = find_cpool(section, sub_section);
41572 + pool = xmalloc(sizeof(*pool));
41577 + pool->literals = NULL;
41578 + pool->padding = 0;
41579 + pool->next_free_entry = 0;
41580 + pool->section = section;
41581 + pool->sub_section = sub_section;
41582 + pool->next = cpool_list;
41583 + pool->symbol = NULL;
41585 + cpool_list = pool;
41588 + /* NULL symbol means that the pool is new or has just been emptied. */
41589 + if (!pool->symbol)
41591 + pool->symbol = symbol_create(FAKE_LABEL_NAME, undefined_section,
41592 + 0, &zero_address_frag);
41593 + pool->id = next_cpool_id++;
41599 +static struct cpool *
41600 +add_to_cpool(expressionS *exp, unsigned int *index, int ref)
41602 + struct cpool *pool;
41603 + unsigned int entry;
41605 + pool = find_or_make_cpool(now_seg, now_subseg);
41607 + /* Check if this constant is already in the pool. */
41608 + for (entry = 0; entry < pool->next_free_entry; entry++)
41610 + if ((pool->literals[entry].exp.X_op == exp->X_op)
41611 + && (exp->X_op == O_constant)
41612 + && (pool->literals[entry].exp.X_add_number
41613 + == exp->X_add_number)
41614 + && (pool->literals[entry].exp.X_unsigned
41615 + == exp->X_unsigned))
41618 + if ((pool->literals[entry].exp.X_op == exp->X_op)
41619 + && (exp->X_op == O_symbol)
41620 + && (pool->literals[entry].exp.X_add_number
41621 + == exp->X_add_number)
41622 + && (pool->literals[entry].exp.X_add_symbol
41623 + == exp->X_add_symbol)
41624 + && (pool->literals[entry].exp.X_op_symbol
41625 + == exp->X_op_symbol))
41629 + /* Create an entry if we didn't find a match */
41630 + if (entry == pool->next_free_entry)
41632 + pool->literals = xrealloc(pool->literals,
41633 + sizeof(struct cpool_entry) * (entry + 1));
41634 + pool->literals[entry].exp = *exp;
41635 + pool->literals[entry].refcount = 0;
41636 + pool->next_free_entry++;
41642 + pool->literals[entry].refcount++;
41647 +struct avr32_operand
41653 + int (*match)(char *str);
41654 + void (*parse)(const struct avr32_operand *op, char *str, int opindex);
41658 +match_anything(char *str ATTRIBUTE_UNUSED)
41664 +match_intreg(char *str)
41666 + int regid, ret = 1;
41668 + regid = avr32_parse_intreg(str);
41672 + pr_debug("match_intreg: `%s': %d\n", str, ret);
41678 +match_intreg_predec(char *str)
41682 + if (str[0] != '-' || str[1] != '-')
41685 + regid = avr32_parse_intreg(str + 2);
41693 +match_intreg_postinc(char *str)
41695 + int regid, ret = 1;
41698 + for (p = str; *p; p++)
41702 + if (p[0] != '+' || p[1] != '+')
41706 + regid = avr32_parse_intreg(str);
41715 +match_intreg_lsl(char *str)
41717 + int regid, ret = 1;
41720 + for (p = str; *p; p++)
41724 + if (p[0] && p[1] != '<')
41728 + regid = avr32_parse_intreg(str);
41737 +match_intreg_lsr(char *str)
41739 + int regid, ret = 1;
41742 + for (p = str; *p; p++)
41746 + if (p[0] && p[1] != '>')
41751 + regid = avr32_parse_intreg(str);
41760 +match_intreg_part(char *str)
41762 + int regid, ret = 1;
41765 + for (p = str; *p; p++)
41769 + if (p[0] != ':' || !ISPRINT(p[1]) || p[2] != '\0')
41773 + regid = avr32_parse_intreg(str);
41782 +#define match_intreg_disp match_anything
41785 +match_intreg_index(char *str)
41787 + int regid, ret = 1;
41788 + char *p, *end, c;
41790 + for (p = str; *p; p++)
41794 + /* don't allow empty displacement here (it makes no sense) */
41798 + for (end = p + 1; *end; end++) ;
41799 + if (*(--end) != ']')
41802 + c = *end, *end = 0;
41803 + if (!match_intreg_lsl(p + 1))
41810 + regid = avr32_parse_intreg(str);
41820 +match_intreg_xindex(char *str)
41822 + int regid, ret = 1;
41823 + char *p, *end, c;
41825 + for (p = str; *p; p++)
41829 + /* empty displacement makes no sense here either */
41833 + for (end = p + 1; *end; end++)
41837 + if (!streq(end, "<<2]"))
41840 + c = *end, *end = 0;
41841 + if (!match_intreg_part(p + 1))
41848 + regid = avr32_parse_intreg(str);
41857 +/* The PC_UDISP_W operator may show up as a label or as a pc[disp]
41858 + expression. So there's no point in attempting to match this... */
41859 +#define match_pc_disp match_anything
41862 +match_sp(char *str)
41864 + /* SP in any form will do */
41865 + return avr32_parse_intreg(str) == AVR32_REG_SP;
41869 +match_sp_disp(char *str)
41871 + int regid, ret = 1;
41874 + for (p = str; *p; p++)
41878 + /* allow empty displacement, meaning zero */
41882 + for (end = p + 1; *end; end++) ;
41883 + if (end[-1] != ']')
41888 + regid = avr32_parse_intreg(str);
41889 + if (regid != AVR32_REG_SP)
41897 +match_cpno(char *str)
41899 + if (strncasecmp(str, "cp", 2) != 0)
41905 +match_cpreg(char *str)
41907 + if (strncasecmp(str, "cr", 2) != 0)
41912 +/* We allow complex expressions, and register names may show up as
41913 + symbols. Just make sure immediate expressions are always matched
41915 +#define match_const match_anything
41916 +#define match_jmplabel match_anything
41917 +#define match_number match_anything
41919 +/* Mnemonics that take reglists never accept anything else */
41920 +#define match_reglist8 match_anything
41921 +#define match_reglist9 match_anything
41922 +#define match_reglist16 match_anything
41923 +#define match_reglist_ldm match_anything
41924 +#define match_reglist_cp8 match_anything
41925 +#define match_reglist_cpd8 match_anything
41927 +/* Ditto for retval, jospinc and mcall */
41928 +#define match_retval match_anything
41929 +#define match_jospinc match_anything
41930 +#define match_mcall match_anything
41932 +/* COH is used to select between two different syntaxes */
41934 +match_coh(char *str)
41936 + return strcasecmp(str, "coh") == 0;
41940 +match_fpreg(char *str)
41942 + unsigned long regid;
41945 + if ((str[0] != 'f' && str[0] != 'F')
41946 + || (str[1] != 'r' && str[1] != 'R'))
41950 + regid = strtoul(str, &endptr, 10);
41951 + if (!*str || *endptr)
41958 +match_picoreg(char *str)
41962 + regid = avr32_parse_picoreg(str);
41968 +#define match_pico_reglist_w match_anything
41969 +#define match_pico_reglist_d match_anything
41972 +match_pico_in(char *str)
41974 + unsigned long regid;
41977 + if (strncasecmp(str, "in", 2) != 0)
41981 + regid = strtoul(str, &end, 10);
41982 + if (!*str || *end)
41989 +match_pico_out0(char *str)
41991 + if (strcasecmp(str, "out0") != 0)
41997 +match_pico_out1(char *str)
41999 + if (strcasecmp(str, "out1") != 0)
42005 +match_pico_out2(char *str)
42007 + if (strcasecmp(str, "out2") != 0)
42013 +match_pico_out3(char *str)
42015 + if (strcasecmp(str, "out3") != 0)
42020 +static void parse_nothing(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42021 + char *str ATTRIBUTE_UNUSED,
42022 + int opindex ATTRIBUTE_UNUSED)
42024 + /* Do nothing (this is used for "match-only" operands like COH) */
42028 +parse_const(const struct avr32_operand *op, char *str,
42029 + int opindex ATTRIBUTE_UNUSED)
42031 + expressionS *exp = ¤t_insn.immediate;
42032 + expressionS *sym_exp;
42036 + pr_debug("parse_const: `%s' (signed: %d, pcrel: %d, align: %d)\n",
42037 + str, op->is_signed, op->is_pcrel, op->align_order);
42039 + save = input_line_pointer;
42040 + input_line_pointer = str;
42044 + slot = current_insn.next_slot++;
42045 + current_insn.field_value[slot].align_order = op->align_order;
42046 + current_insn.pcrel = op->is_pcrel;
42048 + switch (exp->X_op)
42051 + as_bad(_("illegal operand"));
42054 + as_bad(_("missing operand"));
42057 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
42058 + current_insn.field_value[slot].value = exp->X_add_number;
42061 + pr_debug(" -> uminus\n");
42062 + sym_exp = symbol_get_value_expression(exp->X_add_symbol);
42063 + switch (sym_exp->X_op) {
42065 + pr_debug(" -> subtract: switching operands\n");
42066 + exp->X_op_symbol = sym_exp->X_add_symbol;
42067 + exp->X_add_symbol = sym_exp->X_op_symbol;
42068 + exp->X_op = O_subtract;
42069 + /* TODO: Remove the old X_add_symbol */
42072 + as_bad(_("Expression too complex\n"));
42078 + /* Any expression subtracting a symbol from the current section
42079 + can be made PC-relative by adding the right offset. */
42080 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
42081 + current_insn.pcrel = TRUE;
42082 + pr_debug(" -> subtract: pcrel? %s\n",
42083 + current_insn.pcrel ? "yes" : "no");
42084 + /* fall through */
42087 + pr_debug(" -> (%p <%d> %p + %d)\n",
42088 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
42089 + exp->X_add_number);
42090 + current_insn.field_value[slot].value = 0;
42094 + input_line_pointer = save;
42098 +parse_jmplabel(const struct avr32_operand *op, char *str,
42099 + int opindex ATTRIBUTE_UNUSED)
42101 + expressionS *exp = ¤t_insn.immediate;
42105 + pr_debug("parse_jmplabel: `%s' (signed: %d, pcrel: %d, align: %d)\n",
42106 + str, op->is_signed, op->is_pcrel, op->align_order);
42108 + save = input_line_pointer;
42109 + input_line_pointer = str;
42113 + slot = current_insn.next_slot++;
42114 + current_insn.field_value[slot].align_order = op->align_order;
42115 + current_insn.pcrel = TRUE;
42117 + switch (exp->X_op)
42120 + as_bad(_("illegal operand"));
42123 + as_bad(_("missing operand"));
42126 + pr_debug(" -> constant: %ld\n", (long)exp->X_add_number);
42127 + current_insn.field_value[slot].value = exp->X_add_number;
42128 + current_insn.pcrel = 0;
42131 + pr_debug(" -> (%p <%d> %p + %d)\n",
42132 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
42133 + exp->X_add_number);
42134 + current_insn.field_value[slot].value = 0;
42138 + input_line_pointer = save;
42142 +parse_intreg(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42143 + char *str, int opindex ATTRIBUTE_UNUSED)
42147 + pr_debug("parse_intreg: `%s'\n", str);
42149 + regid = avr32_parse_intreg(str);
42150 + assert(regid >= 0);
42152 + slot = current_insn.next_slot++;
42153 + current_insn.field_value[slot].value = regid;
42154 + current_insn.field_value[slot].align_order = op->align_order;
42158 +parse_intreg_predec(const struct avr32_operand *op, char *str, int opindex)
42160 + parse_intreg(op, str + 2, opindex);
42164 +parse_intreg_postinc(const struct avr32_operand *op, char *str, int opindex)
42168 + pr_debug("parse_intreg_postinc: `%s'\n", str);
42170 + for (p = str; *p != '+'; p++) ;
42173 + parse_intreg(op, str, opindex);
42178 +parse_intreg_shift(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42179 + char *str, int opindex ATTRIBUTE_UNUSED)
42181 + int regid, slot, shift = 0;
42185 + pr_debug("parse Ry<<sa: `%s'\n", str);
42187 + for (p = str; *p; p++)
42188 + if (*p == '<' || *p == '>')
42194 + regid = avr32_parse_intreg(str);
42195 + assert(regid >= 0);
42200 + if (p[0] != shiftop || p[1] != shiftop)
42201 + as_bad(_("expected shift operator in `%s'"), p);
42207 + saved = input_line_pointer;
42208 + input_line_pointer = p + 2;
42209 + expression(&exp);
42210 + input_line_pointer = saved;
42212 + if (exp.X_op != O_constant)
42213 + as_bad(_("shift amount must be a numeric constant"));
42215 + shift = exp.X_add_number;
42219 + slot = current_insn.next_slot++;
42220 + current_insn.field_value[slot].value = regid;
42221 + slot = current_insn.next_slot++;
42222 + current_insn.field_value[slot].value = shift;
42225 +/* The match() function selected the right opcode, so it doesn't
42226 + matter which way we shift any more. */
42227 +#define parse_intreg_lsl parse_intreg_shift
42228 +#define parse_intreg_lsr parse_intreg_shift
42231 +parse_intreg_part(const struct avr32_operand *op, char *str,
42232 + int opindex ATTRIBUTE_UNUSED)
42234 + static const char bparts[] = { 'b', 'l', 'u', 't' };
42235 + static const char hparts[] = { 'b', 't' };
42236 + unsigned int slot, sel;
42240 + pr_debug("parse reg:part `%s'\n", str);
42242 + for (p = str; *p; p++)
42247 + regid = avr32_parse_intreg(str);
42248 + assert(regid >= 0);
42251 + assert(c == ':');
42253 + if (op->align_order)
42255 + for (sel = 0; sel < sizeof(hparts); sel++)
42256 + if (TOLOWER(p[1]) == hparts[sel])
42259 + if (sel >= sizeof(hparts))
42261 + as_bad(_("invalid halfword selector `%c' (must be either b or t)"),
42268 + for (sel = 0; sel < sizeof(bparts); sel++)
42269 + if (TOLOWER(p[1]) == bparts[sel])
42272 + if (sel >= sizeof(bparts))
42274 + as_bad(_("invalid byte selector `%c' (must be one of b,l,u,t)"),
42280 + slot = current_insn.next_slot++;
42281 + current_insn.field_value[slot].value = regid;
42282 + slot = current_insn.next_slot++;
42283 + current_insn.field_value[slot].value = sel;
42286 +/* This is the parser for "Rp[displacement]" expressions. In addition
42287 + to the "official" syntax, we accept a label as a replacement for
42288 + the register expression. This syntax implies Rp=PC and the
42289 + displacement is the pc-relative distance to the label. */
42291 +parse_intreg_disp(const struct avr32_operand *op, char *str, int opindex)
42293 + expressionS *exp = ¤t_insn.immediate;
42295 + char *save, *p, c;
42297 + pr_debug("parse_intreg_disp: `%s' (signed: %d, pcrel: %d, align: %d)\n",
42298 + str, op->is_signed, op->is_pcrel, op->align_order);
42300 + for (p = str; *p; p++)
42304 + slot = current_insn.next_slot++;
42306 + /* First, check if we have a valid register either before '[' or as
42307 + the sole expression. If so, we use the Rp[disp] syntax. */
42309 + regid = avr32_parse_intreg(str);
42314 + current_insn.field_value[slot].value = regid;
42316 + slot = current_insn.next_slot++;
42317 + current_insn.field_value[slot].align_order = op->align_order;
42321 + save = input_line_pointer;
42322 + input_line_pointer = p + 1;
42326 + if (*input_line_pointer != ']')
42327 + as_bad(_("junk after displacement expression"));
42329 + input_line_pointer = save;
42331 + switch (exp->X_op)
42334 + as_bad(_("illegal displacement expression"));
42337 + as_bad(_("missing displacement expression"));
42340 + pr_debug(" -> constant: %ld\n", exp->X_add_number);
42341 + current_insn.field_value[slot].value = exp->X_add_number;
42345 + if (S_GET_SEGMENT(exp->X_op_symbol) == now_seg)
42346 + current_insn.pcrel = TRUE;
42347 + pr_debug(" -> subtract: pcrel? %s\n",
42348 + current_insn.pcrel ? "yes" : "no");
42349 + /* fall through */
42352 + pr_debug(" -> (%p <%d> %p + %d)\n",
42353 + exp->X_add_symbol, exp->X_op, exp->X_op_symbol,
42354 + exp->X_add_number);
42355 + current_insn.field_value[slot].value = 0;
42360 + exp->X_op = O_constant;
42361 + exp->X_add_number = 0;
42362 + current_insn.field_value[slot].value = 0;
42367 + /* Didn't find a valid register. Try parsing it as a label. */
42368 + current_insn.field_value[slot].value = AVR32_REG_PC;
42369 + parse_jmplabel(op, str, opindex);
42374 +parse_intreg_index(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42375 + char *str, int opindex ATTRIBUTE_UNUSED)
42378 + char *p, *end, c;
42380 + for (p = str; *p; p++)
42387 + regid = avr32_parse_intreg(str);
42388 + assert(regid >= 0);
42391 + slot = current_insn.next_slot++;
42392 + current_insn.field_value[slot].value = regid;
42395 + for (end = p; *end; end++)
42396 + if (*end == ']' || *end == '<')
42401 + c = *end, *end = 0;
42402 + regid = avr32_parse_intreg(p);
42403 + assert(regid >= 0);
42406 + slot = current_insn.next_slot++;
42407 + current_insn.field_value[slot].value = regid;
42409 + slot = current_insn.next_slot++;
42410 + current_insn.field_value[slot].value = 0;
42418 + for (end = p; *end; end++)
42422 + assert(*end == ']');
42424 + c = *end, *end = 0;
42425 + save = input_line_pointer;
42426 + input_line_pointer = p;
42427 + expression(&exp);
42429 + if (*input_line_pointer)
42430 + as_bad(_("junk after shift expression"));
42433 + input_line_pointer = save;
42435 + if (exp.X_op == O_constant)
42436 + current_insn.field_value[slot].value = exp.X_add_number;
42438 + as_bad(_("shift expression too complex"));
42443 +parse_intreg_xindex(const struct avr32_operand *op, char *str, int opindex)
42446 + char *p, *end, c;
42448 + for (p = str; *p; p++)
42455 + regid = avr32_parse_intreg(str);
42456 + assert(regid >= 0);
42459 + slot = current_insn.next_slot++;
42460 + current_insn.field_value[slot].value = regid;
42463 + for (end = p; *end; end++)
42469 + c = *end, *end = 0;
42470 + parse_intreg_part(op, p, opindex);
42475 +parse_pc_disp(const struct avr32_operand *op, char *str, int opindex)
42479 + for (p = str; *p; p++)
42483 + /* The lddpc instruction comes in two different syntax variants:
42484 + lddpc reg, expression
42485 + lddpc reg, pc[disp]
42486 + If the operand contains a '[', we use the second form. */
42492 + regid = avr32_parse_intreg(str);
42494 + if (regid == AVR32_REG_PC)
42498 + for (end = ++p; *end; end++) ;
42499 + if (*(--end) != ']')
42500 + as_bad(_("unrecognized form of instruction: `%s'"), str);
42503 + c = *end, *end = 0;
42504 + parse_const(op, p, opindex);
42506 + current_insn.pcrel = 0;
42510 + as_bad(_("unrecognized form of instruction: `%s'"), str);
42514 + parse_jmplabel(op, str, opindex);
42518 +static void parse_sp(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42519 + char *str ATTRIBUTE_UNUSED,
42520 + int opindex ATTRIBUTE_UNUSED)
42524 + slot = current_insn.next_slot++;
42525 + current_insn.field_value[slot].value = AVR32_REG_SP;
42529 +parse_sp_disp(const struct avr32_operand *op, char *str, int opindex)
42533 + for (; *str; str++)
42539 + for (p = ++str; *p; p++)
42544 + parse_const(op, str, opindex);
42549 +parse_cpno(const struct avr32_operand *op ATTRIBUTE_UNUSED, char *str,
42550 + int opindex ATTRIBUTE_UNUSED)
42557 + if (*str < '0' || *str > '7' || str[1])
42558 + as_bad(_("invalid coprocessor `%s'"), str);
42560 + slot = current_insn.next_slot++;
42561 + current_insn.field_value[slot].value = *str - '0';
42565 +parse_cpreg(const struct avr32_operand *op, char *str,
42566 + int opindex ATTRIBUTE_UNUSED)
42568 + unsigned int crid;
42573 + crid = strtoul(str, &endptr, 10);
42574 + if (*endptr || crid > 15 || crid & ((1 << op->align_order) - 1))
42575 + as_bad(_("invalid coprocessor register `%s'"), str);
42577 + crid >>= op->align_order;
42579 + slot = current_insn.next_slot++;
42580 + current_insn.field_value[slot].value = crid;
42584 +parse_number(const struct avr32_operand *op, char *str,
42585 + int opindex ATTRIBUTE_UNUSED)
42591 + save = input_line_pointer;
42592 + input_line_pointer = str;
42593 + expression(&exp);
42594 + input_line_pointer = save;
42596 + slot = current_insn.next_slot++;
42597 + current_insn.field_value[slot].align_order = op->align_order;
42599 + if (exp.X_op == O_constant)
42600 + current_insn.field_value[slot].value = exp.X_add_number;
42602 + as_bad(_("invalid numeric expression `%s'"), str);
42606 +parse_reglist8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42607 + char *str, int opindex ATTRIBUTE_UNUSED)
42609 + unsigned long regmask;
42610 + unsigned long value = 0;
42614 + regmask = avr32_parse_reglist(str, &tail);
42616 + as_bad(_("invalid register list `%s'"), str);
42619 + if (avr32_make_regmask8(regmask, &value))
42620 + as_bad(_("register list `%s' doesn't fit"), str);
42623 + slot = current_insn.next_slot++;
42624 + current_insn.field_value[slot].value = value;
42628 +parse_reglist_tail(char *str, unsigned long regmask)
42631 + char *save, *p, c;
42634 + for (p = str + 1; *p; p++)
42640 + as_bad(_("invalid register list `%s'"), str);
42645 + regid = avr32_parse_intreg(str);
42650 + as_bad(_("invalid register list `%s'"), str);
42654 + /* If we have an assignment, we must pop PC and we must _not_
42656 + if (!(regmask & (1 << AVR32_REG_PC)))
42658 + as_bad(_("return value specified for non-return instruction"));
42661 + else if (regmask & ((1 << AVR32_REG_R12) | (1 << AVR32_REG_LR)))
42663 + as_bad(_("can't pop LR or R12 when specifying return value"));
42667 + save = input_line_pointer;
42668 + input_line_pointer = p + 1;
42669 + expression(&exp);
42670 + input_line_pointer = save;
42672 + if (exp.X_op != O_constant
42673 + || exp.X_add_number < -1
42674 + || exp.X_add_number > 1)
42676 + as_bad(_("invalid return value `%s'"), str);
42680 + return exp.X_add_number;
42684 +parse_reglist9(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42685 + char *str, int opindex ATTRIBUTE_UNUSED)
42687 + unsigned long regmask;
42688 + unsigned long value = 0, kbit = 0;
42692 + regmask = avr32_parse_reglist(str, &tail);
42693 + /* printf("parsed reglist16: %04lx, tail: `%s'\n", regmask, tail); */
42698 + retval = parse_reglist_tail(tail, regmask);
42703 + regmask |= 1 << AVR32_REG_LR;
42708 + regmask |= 1 << AVR32_REG_R12;
42717 + if (avr32_make_regmask8(regmask, &value))
42718 + as_bad(_("register list `%s' doesn't fit"), str);
42721 + slot = current_insn.next_slot++;
42722 + current_insn.field_value[slot].value = (value << 1) | kbit;
42726 +parse_reglist16(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42727 + char *str, int opindex ATTRIBUTE_UNUSED)
42729 + unsigned long regmask;
42733 + regmask = avr32_parse_reglist(str, &tail);
42735 + as_bad(_("invalid register list `%s'"), str);
42737 + slot = current_insn.next_slot++;
42738 + current_insn.field_value[slot].value = regmask;
42742 +parse_reglist_ldm(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42743 + char *str, int opindex ATTRIBUTE_UNUSED)
42745 + unsigned long regmask;
42746 + int slot, rp, w_bit = 0;
42747 + char *tail, *p, c;
42749 + for (p = str; *p && *p != ','; p++)
42754 + rp = avr32_parse_intreg(str);
42758 + as_bad(_("invalid destination register in `%s'"), str);
42762 + if (p[0] == '+' && p[1] == '+')
42770 + as_bad(_("expected `,' after destination register in `%s'"), str);
42775 + regmask = avr32_parse_reglist(str, &tail);
42780 + if (rp != AVR32_REG_SP)
42782 + as_bad(_("junk at end of line: `%s'"), tail);
42786 + rp = AVR32_REG_PC;
42788 + retval = parse_reglist_tail(tail, regmask);
42793 + regmask |= 1 << AVR32_REG_LR;
42798 + regmask |= 1 << AVR32_REG_R12;
42805 + slot = current_insn.next_slot++;
42806 + current_insn.field_value[slot].value = rp;
42807 + slot = current_insn.next_slot++;
42808 + current_insn.field_value[slot].value = w_bit;
42809 + slot = current_insn.next_slot++;
42810 + current_insn.field_value[slot].value = regmask;
42814 +parse_reglist_cp8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42815 + char *str, int opindex ATTRIBUTE_UNUSED)
42817 + unsigned long regmask;
42818 + int slot, h_bit = 0;
42821 + regmask = avr32_parse_cpreglist(str, &tail);
42823 + as_bad(_("junk at end of line: `%s'"), tail);
42824 + else if (regmask & 0xffUL)
42826 + if (regmask & 0xff00UL)
42827 + as_bad(_("register list `%s' doesn't fit"), str);
42830 + else if (regmask & 0xff00UL)
42836 + as_warn(_("register list is empty"));
42838 + slot = current_insn.next_slot++;
42839 + current_insn.field_value[slot].value = regmask;
42840 + slot = current_insn.next_slot++;
42841 + current_insn.field_value[slot].value = h_bit;
42845 +parse_reglist_cpd8(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42846 + char *str, int opindex ATTRIBUTE_UNUSED)
42848 + unsigned long regmask, regmask_d = 0;
42852 + regmask = avr32_parse_cpreglist(str, &tail);
42854 + as_bad(_("junk at end of line: `%s'"), tail);
42856 + for (i = 0; i < 8; i++)
42860 + if (!(regmask & 2))
42862 + as_bad(_("register list `%s' doesn't fit"), str);
42865 + regmask_d |= 1 << i;
42867 + else if (regmask & 2)
42869 + as_bad(_("register list `%s' doesn't fit"), str);
42876 + slot = current_insn.next_slot++;
42877 + current_insn.field_value[slot].value = regmask_d;
42881 +parse_retval(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42882 + char *str, int opindex ATTRIBUTE_UNUSED)
42886 + regid = avr32_parse_intreg(str);
42894 + save = input_line_pointer;
42895 + input_line_pointer = str;
42896 + expression(&exp);
42897 + input_line_pointer = save;
42899 + if (exp.X_op != O_constant)
42900 + as_bad(_("invalid return value `%s'"), str);
42902 + switch (exp.X_add_number)
42905 + regid = AVR32_REG_LR;
42908 + regid = AVR32_REG_SP;
42911 + regid = AVR32_REG_PC;
42914 + as_bad(_("invalid return value `%s'"), str);
42919 + slot = current_insn.next_slot++;
42920 + current_insn.field_value[slot].value = regid;
42923 +#define parse_mcall parse_intreg_disp
42926 +parse_jospinc(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42927 + char *str, int opindex ATTRIBUTE_UNUSED)
42933 + save = input_line_pointer;
42934 + input_line_pointer = str;
42935 + expression(&exp);
42936 + input_line_pointer = save;
42938 + slot = current_insn.next_slot++;
42940 + if (exp.X_op == O_constant)
42942 + if (exp.X_add_number > 0)
42943 + exp.X_add_number--;
42944 + current_insn.field_value[slot].value = exp.X_add_number;
42947 + as_bad(_("invalid numeric expression `%s'"), str);
42950 +#define parse_coh parse_nothing
42953 +parse_fpreg(const struct avr32_operand *op,
42954 + char *str, int opindex ATTRIBUTE_UNUSED)
42956 + unsigned long regid;
42959 + regid = strtoul(str + 2, NULL, 10);
42961 + if ((regid >= 16) || (regid & ((1 << op->align_order) - 1)))
42962 + as_bad(_("invalid floating-point register `%s'"), str);
42964 + slot = current_insn.next_slot++;
42965 + current_insn.field_value[slot].value = regid;
42966 + current_insn.field_value[slot].align_order = op->align_order;
42970 +parse_picoreg(const struct avr32_operand *op,
42971 + char *str, int opindex ATTRIBUTE_UNUSED)
42973 + unsigned long regid;
42976 + regid = avr32_parse_picoreg(str);
42977 + if (regid & ((1 << op->align_order) - 1))
42978 + as_bad(_("invalid double-word PiCo register `%s'"), str);
42980 + slot = current_insn.next_slot++;
42981 + current_insn.field_value[slot].value = regid;
42982 + current_insn.field_value[slot].align_order = op->align_order;
42986 +parse_pico_reglist_w(const struct avr32_operand *op ATTRIBUTE_UNUSED,
42987 + char *str, int opindex ATTRIBUTE_UNUSED)
42989 + unsigned long regmask;
42990 + int slot, h_bit = 0;
42993 + regmask = avr32_parse_pico_reglist(str, &tail);
42995 + as_bad(_("junk at end of line: `%s'"), tail);
42997 + if (regmask & 0x00ffUL)
42999 + if (regmask & 0xff00UL)
43000 + as_bad(_("register list `%s' doesn't fit"), str);
43001 + regmask &= 0x00ffUL;
43003 + else if (regmask & 0xff00UL)
43009 + as_warn(_("register list is empty"));
43011 + slot = current_insn.next_slot++;
43012 + current_insn.field_value[slot].value = regmask;
43013 + slot = current_insn.next_slot++;
43014 + current_insn.field_value[slot].value = h_bit;
43018 +parse_pico_reglist_d(const struct avr32_operand *op ATTRIBUTE_UNUSED,
43019 + char *str, int opindex ATTRIBUTE_UNUSED)
43021 + unsigned long regmask, regmask_d = 0;
43025 + regmask = avr32_parse_pico_reglist(str, &tail);
43027 + as_bad(_("junk at end of line: `%s'"), tail);
43029 + for (i = 0; i < 8; i++)
43033 + if (!(regmask & 2))
43035 + as_bad(_("register list `%s' doesn't fit"), str);
43038 + regmask_d |= 1 << i;
43040 + else if (regmask & 2)
43042 + as_bad(_("register list `%s' doesn't fit"), str);
43049 + slot = current_insn.next_slot++;
43050 + current_insn.field_value[slot].value = regmask_d;
43054 +parse_pico_in(const struct avr32_operand *op ATTRIBUTE_UNUSED,
43055 + char *str, int opindex ATTRIBUTE_UNUSED)
43057 + unsigned long regid;
43060 + regid = strtoul(str + 2, NULL, 10);
43063 + as_bad(_("invalid PiCo IN register `%s'"), str);
43065 + slot = current_insn.next_slot++;
43066 + current_insn.field_value[slot].value = regid;
43067 + current_insn.field_value[slot].align_order = 0;
43070 +#define parse_pico_out0 parse_nothing
43071 +#define parse_pico_out1 parse_nothing
43072 +#define parse_pico_out2 parse_nothing
43073 +#define parse_pico_out3 parse_nothing
43075 +#define OP(name, sgn, pcrel, align, func) \
43076 + { AVR32_OPERAND_##name, sgn, pcrel, align, match_##func, parse_##func }
43078 +struct avr32_operand avr32_operand_table[] = {
43079 + OP(INTREG, 0, 0, 0, intreg),
43080 + OP(INTREG_PREDEC, 0, 0, 0, intreg_predec),
43081 + OP(INTREG_POSTINC, 0, 0, 0, intreg_postinc),
43082 + OP(INTREG_LSL, 0, 0, 0, intreg_lsl),
43083 + OP(INTREG_LSR, 0, 0, 0, intreg_lsr),
43084 + OP(INTREG_BSEL, 0, 0, 0, intreg_part),
43085 + OP(INTREG_HSEL, 0, 0, 1, intreg_part),
43086 + OP(INTREG_SDISP, 1, 0, 0, intreg_disp),
43087 + OP(INTREG_SDISP_H, 1, 0, 1, intreg_disp),
43088 + OP(INTREG_SDISP_W, 1, 0, 2, intreg_disp),
43089 + OP(INTREG_UDISP, 0, 0, 0, intreg_disp),
43090 + OP(INTREG_UDISP_H, 0, 0, 1, intreg_disp),
43091 + OP(INTREG_UDISP_W, 0, 0, 2, intreg_disp),
43092 + OP(INTREG_INDEX, 0, 0, 0, intreg_index),
43093 + OP(INTREG_XINDEX, 0, 0, 0, intreg_xindex),
43094 + OP(DWREG, 0, 0, 1, intreg),
43095 + OP(PC_UDISP_W, 0, 1, 2, pc_disp),
43096 + OP(SP, 0, 0, 0, sp),
43097 + OP(SP_UDISP_W, 0, 0, 2, sp_disp),
43098 + OP(CPNO, 0, 0, 0, cpno),
43099 + OP(CPREG, 0, 0, 0, cpreg),
43100 + OP(CPREG_D, 0, 0, 1, cpreg),
43101 + OP(UNSIGNED_CONST, 0, 0, 0, const),
43102 + OP(UNSIGNED_CONST_W, 0, 0, 2, const),
43103 + OP(SIGNED_CONST, 1, 0, 0, const),
43104 + OP(SIGNED_CONST_W, 1, 0, 2, const),
43105 + OP(JMPLABEL, 1, 1, 1, jmplabel),
43106 + OP(UNSIGNED_NUMBER, 0, 0, 0, number),
43107 + OP(UNSIGNED_NUMBER_W, 0, 0, 2, number),
43108 + OP(REGLIST8, 0, 0, 0, reglist8),
43109 + OP(REGLIST9, 0, 0, 0, reglist9),
43110 + OP(REGLIST16, 0, 0, 0, reglist16),
43111 + OP(REGLIST_LDM, 0, 0, 0, reglist_ldm),
43112 + OP(REGLIST_CP8, 0, 0, 0, reglist_cp8),
43113 + OP(REGLIST_CPD8, 0, 0, 0, reglist_cpd8),
43114 + OP(RETVAL, 0, 0, 0, retval),
43115 + OP(MCALL, 1, 0, 2, mcall),
43116 + OP(JOSPINC, 0, 0, 0, jospinc),
43117 + OP(COH, 0, 0, 0, coh),
43118 + OP(FPREG_S, 0, 0, 0, fpreg),
43119 + OP(FPREG_D, 0, 0, 1, fpreg),
43120 + OP(PICO_REG_W, 0, 0, 0, picoreg),
43121 + OP(PICO_REG_D, 0, 0, 1, picoreg),
43122 + OP(PICO_REGLIST_W, 0, 0, 0, pico_reglist_w),
43123 + OP(PICO_REGLIST_D, 0, 0, 0, pico_reglist_d),
43124 + OP(PICO_IN, 0, 0, 0, pico_in),
43125 + OP(PICO_OUT0, 0, 0, 0, pico_out0),
43126 + OP(PICO_OUT1, 0, 0, 0, pico_out1),
43127 + OP(PICO_OUT2, 0, 0, 0, pico_out2),
43128 + OP(PICO_OUT3, 0, 0, 0, pico_out3),
43132 +md_undefined_symbol (char *name ATTRIBUTE_UNUSED)
43134 + pr_debug("md_undefined_symbol: %s\n", name);
43138 +struct avr32_relax_type
43140 + long lower_bound;
43141 + long upper_bound;
43142 + unsigned char align;
43143 + unsigned char length;
43144 + signed short next;
43147 +#define EMPTY { 0, 0, 0, 0, -1 }
43148 +#define C(lower, upper, align, next) \
43149 + { (lower), (upper), (align), 2, AVR32_OPC_##next }
43150 +#define E(lower, upper, align) \
43151 + { (lower), (upper), (align), 4, -1 }
43153 +static const struct avr32_relax_type avr32_relax_table[] =
43156 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43157 + EMPTY, EMPTY, EMPTY,
43158 + E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0), E(0, 65535, 0),
43161 + EMPTY, EMPTY, EMPTY, EMPTY,
43163 + C(-256, 254, 1, BREQ2), C(-256, 254, 1, BRNE2),
43164 + C(-256, 254, 1, BRCC2), C(-256, 254, 1, BRCS2),
43165 + C(-256, 254, 1, BRGE2), C(-256, 254, 1, BRLT2),
43166 + C(-256, 254, 1, BRMI2), C(-256, 254, 1, BRPL2),
43167 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43168 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43170 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43171 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43172 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43173 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43174 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43175 + E(-2097152, 2097150, 1), E(-2097152, 2097150, 1),
43177 + EMPTY, EMPTY, EMPTY, EMPTY,
43179 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43180 + EMPTY, EMPTY, EMPTY,
43182 + C(-32, 31, 0, CP_W3), E(-1048576, 1048575, 0),
43184 + EMPTY, EMPTY, EMPTY,
43186 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43187 + E(0, 65535, 0), E(0, 65535, 0),
43188 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43189 + E(-32768, 32767, 0),
43191 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43193 + C(0, 7, 0, LD_UB4), E(-32768, 32767, 0),
43198 + C(0, 14, 1, LD_SH4), E(-32768, 32767, 0),
43200 + EMPTY, EMPTY, EMPTY,
43202 + C(0, 14, 1, LD_UH4), E(-32768, 32767, 0),
43204 + EMPTY, EMPTY, EMPTY, EMPTY,
43206 + C(0, 124, 2, LD_W4), E(-32768, 32767, 0),
43208 + E(0, 1020, 2), /* LDC_D1 */
43210 + E(0, 1020, 2), /* LDC_W1 */
43212 + E(0, 16380, 2), /* LDC0_D */
43213 + E(0, 16380, 2), /* LDC0_W */
43214 + EMPTY, EMPTY, EMPTY, EMPTY,
43216 + C(0, 508, 2, LDDPC_EXT), E(-32768, 32767, 0),
43219 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43220 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43221 + /* 128: MACHH_W */
43222 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43223 + E(-131072, 131068, 2), /* MCALL */
43224 + E(0, 1020, 2), /* MFDR */
43225 + E(0, 1020, 2), /* MFSR */
43228 + C(-128, 127, 0, MOV2), E(-1048576, 1048575, 0),
43230 + EMPTY, EMPTY, EMPTY,
43231 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43232 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43234 + E(-128, 127, 0), /* MOVEQ2 */
43235 + E(-128, 127, 0), /* MOVNE2 */
43236 + E(-128, 127, 0), /* MOVCC2 */
43237 + E(-128, 127, 0), /* 160: MOVCS2 */
43238 + E(-128, 127, 0), /* MOVGE2 */
43239 + E(-128, 127, 0), /* MOVLT2 */
43240 + E(-128, 127, 0), /* MOVMI2 */
43241 + E(-128, 127, 0), /* MOVPL2 */
43242 + E(-128, 127, 0), /* MOVLS2 */
43243 + E(-128, 127, 0), /* MOVGT2 */
43244 + E(-128, 127, 0), /* MOVLE2 */
43245 + E(-128, 127, 0), /* MOVHI2 */
43246 + E(-128, 127, 0), /* MOVVS2 */
43247 + E(-128, 127, 0), /* MOVVC2 */
43248 + E(-128, 127, 0), /* MOVQS2 */
43249 + E(-128, 127, 0), /* MOVAL2 */
43251 + E(0, 1020, 2), /* MTDR */
43252 + E(0, 1020, 2), /* MTSR */
43255 + E(-128, 127, 0), /* MUL3 */
43256 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43257 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43258 + /* 192: MVCR_W */
43259 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43260 + E(0, 65535, 0), E(0, 65535, 0),
43261 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43262 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43263 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43264 + /* 224: PASR_H */
43265 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43266 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43267 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43268 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43269 + /* 256: PUNPCKSB_H */
43270 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43272 + C(-1024, 1022, 1, RCALL2), E(-2097152, 2097150, 1),
43275 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43276 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43277 + EMPTY, EMPTY, EMPTY,
43279 + C(-1024, 1022, 1, BRAL),
43281 + EMPTY, EMPTY, EMPTY,
43282 + E(-128, 127, 0), /* RSUB2 */
43283 + /* 288: SATADD_H */
43284 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43285 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43286 + E(0, 255, 0), /* SLEEP */
43288 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43289 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43292 + C(0, 7, 0, ST_B4), E(-32768, 32767, 0),
43293 + EMPTY, EMPTY, EMPTY, EMPTY,
43294 + E(-32768, 32767, 0),
43295 + EMPTY, EMPTY, EMPTY,
43296 + C(0, 14, 1, ST_H4), E(-32768, 32767, 0),
43299 + C(0, 60, 2, ST_W4), E(-32768, 32767, 0),
43300 + E(0, 1020, 2), /* STC_D1 */
43302 + E(0, 1020, 2), /* STC_W1 */
43304 + E(0, 16380, 2), /* STC0_D */
43305 + E(0, 16380, 2), /* STC0_W */
43307 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43310 + E(0, 1020, 2), /* STHH_W1 */
43311 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43312 + EMPTY, EMPTY, EMPTY,
43313 + E(-32768, 32767, 0),
43314 + C(-512, 508, 2, SUB4),
43315 + C(-128, 127, 0, SUB4), E(-1048576, 1048576, 0),
43317 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43318 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43319 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43320 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43322 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43323 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43324 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43325 + E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0), E(-128, 127, 0),
43328 + /* 400: SWAP_B */
43329 + EMPTY, EMPTY, EMPTY,
43330 + E(0, 255, 0), /* SYNC */
43331 + EMPTY, EMPTY, EMPTY, EMPTY,
43333 + EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY,
43334 + /* 416: EXTRACT_B */
43335 + EMPTY, EMPTY, EMPTY, EMPTY,
43342 +#define AVR32_RS_NONE (-1)
43344 +#define avr32_rs_size(state) (avr32_relax_table[(state)].length)
43345 +#define avr32_rs_align(state) (avr32_relax_table[(state)].align)
43346 +#define relax_more(state) (avr32_relax_table[(state)].next)
43348 +#define opc_initial_substate(opc) ((opc)->id)
43350 +static int need_relax(int subtype, offsetT distance)
43352 + offsetT upper_bound, lower_bound;
43354 + upper_bound = avr32_relax_table[subtype].upper_bound;
43355 + lower_bound = avr32_relax_table[subtype].lower_bound;
43357 + if (distance & ((1 << avr32_rs_align(subtype)) - 1))
43359 + if ((distance > upper_bound) || (distance < lower_bound))
43366 + LDA_SUBTYPE_MOV1,
43367 + LDA_SUBTYPE_MOV2,
43369 + LDA_SUBTYPE_LDDPC,
43371 + LDA_SUBTYPE_GOTLOAD,
43372 + LDA_SUBTYPE_GOTLOAD_LARGE,
43376 + CALL_SUBTYPE_RCALL1,
43377 + CALL_SUBTYPE_RCALL2,
43378 + CALL_SUBTYPE_MCALL_CP,
43379 + CALL_SUBTYPE_MCALL_GOT,
43380 + CALL_SUBTYPE_MCALL_LARGE,
43383 +#define LDA_INITIAL_SIZE (avr32_pic ? 4 : 2)
43384 +#define CALL_INITIAL_SIZE 2
43386 +#define need_reloc(sym, seg, pcrel) \
43387 + (!(S_IS_DEFINED(sym) \
43388 + && ((pcrel && S_GET_SEGMENT(sym) == seg) \
43389 + || (!pcrel && S_GET_SEGMENT(sym) == absolute_section))) \
43390 + || S_FORCE_RELOC(sym, 1))
43392 +/* Return an initial guess of the length by which a fragment must grow to
43393 + hold a branch to reach its destination.
43394 + Also updates fr_type/fr_subtype as necessary.
43396 + Called just before doing relaxation.
43397 + Any symbol that is now undefined will not become defined.
43398 + The guess for fr_var is ACTUALLY the growth beyond fr_fix.
43399 + Whatever we do to grow fr_fix or fr_var contributes to our returned value.
43400 + Although it may not be explicit in the frag, pretend fr_var starts with a
43404 +avr32_default_estimate_size_before_relax (fragS *fragP, segT segment)
43409 + assert(fragP->fr_symbol);
43411 + if (fragP->tc_frag_data.force_extended
43412 + || need_reloc(fragP->fr_symbol, segment, fragP->tc_frag_data.pcrel))
43414 + int largest_state = fragP->fr_subtype;
43415 + while (relax_more(largest_state) != AVR32_RS_NONE)
43416 + largest_state = relax_more(largest_state);
43417 + growth = avr32_rs_size(largest_state) - fragP->fr_var;
43421 + growth = avr32_rs_size(fragP->fr_subtype) - fragP->fr_var;
43424 + pr_debug("%s:%d: md_estimate_size_before_relax: %d\n",
43425 + fragP->fr_file, fragP->fr_line, growth);
43431 +avr32_lda_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
43433 + return fragP->fr_var - LDA_INITIAL_SIZE;
43437 +avr32_call_estimate_size_before_relax(fragS *fragP, segT segment ATTRIBUTE_UNUSED)
43439 + return fragP->fr_var - CALL_INITIAL_SIZE;
43443 +avr32_cpool_estimate_size_before_relax(fragS *fragP,
43444 + segT segment ATTRIBUTE_UNUSED)
43446 + return fragP->fr_var;
43449 +/* This macro may be defined to relax a frag. GAS will call this with the
43450 + * segment, the frag, and the change in size of all previous frags;
43451 + * md_relax_frag should return the change in size of the frag. */
43453 +avr32_default_relax_frag (segT segment, fragS *fragP, long stretch)
43455 + int state, next_state;
43456 + symbolS *symbolP; /* The target symbol */
43459 + state = next_state = fragP->fr_subtype;
43461 + symbolP = fragP->fr_symbol;
43463 + if (fragP->tc_frag_data.force_extended
43464 + || need_reloc(symbolP, segment, fragP->tc_frag_data.pcrel))
43466 + /* Symbol must be resolved by the linker. Emit the largest
43467 + possible opcode. */
43468 + while (relax_more(next_state) != AVR32_RS_NONE)
43469 + next_state = relax_more(next_state);
43473 + addressT address; /* The address of fragP */
43474 + addressT target; /* The address of the target symbol */
43475 + offsetT distance; /* The distance between the insn and the symbol */
43478 + address = fragP->fr_address;
43479 + target = fragP->fr_offset;
43480 + symbolP = fragP->fr_symbol;
43481 + sym_frag = symbol_get_frag(symbolP);
43483 + address += fragP->fr_fix - fragP->fr_var;
43484 + target += S_GET_VALUE(symbolP);
43487 + && sym_frag->relax_marker != fragP->relax_marker
43488 + && S_GET_SEGMENT(symbolP) == segment)
43489 + /* if it was correctly aligned before, make sure it stays aligned */
43490 + target += stretch & (~0UL << avr32_rs_align(state));
43492 + if (fragP->tc_frag_data.pcrel)
43493 + distance = target - (address & (~0UL << avr32_rs_align(state)));
43495 + distance = target;
43497 + pr_debug("%s:%d: relax more? 0x%x - 0x%x = 0x%x (%d), align %d\n",
43498 + fragP->fr_file, fragP->fr_line, target, address,
43499 + distance, distance, avr32_rs_align(state));
43501 + if (need_relax(state, distance))
43503 + if (relax_more(state) != AVR32_RS_NONE)
43504 + next_state = relax_more(state);
43505 + pr_debug("%s:%d: relax more %d -> %d (%d - %d, align %d)\n",
43506 + fragP->fr_file, fragP->fr_line, state, next_state,
43507 + target, address, avr32_rs_align(state));
43511 + growth = avr32_rs_size(next_state) - avr32_rs_size(state);
43512 + fragP->fr_subtype = next_state;
43514 + pr_debug("%s:%d: md_relax_frag: growth=%d, subtype=%d, opc=0x%08lx\n",
43515 + fragP->fr_file, fragP->fr_line, growth, fragP->fr_subtype,
43516 + avr32_opc_table[next_state].value);
43522 +avr32_lda_relax_frag(segT segment, fragS *fragP, long stretch)
43524 + struct cpool *pool= NULL;
43525 + unsigned int entry = 0;
43526 + addressT address, target;
43527 + offsetT distance;
43528 + symbolS *symbolP;
43530 + long old_size, new_size;
43532 + symbolP = fragP->fr_symbol;
43533 + old_size = fragP->fr_var;
43536 + pool = fragP->tc_frag_data.pool;
43537 + entry = fragP->tc_frag_data.pool_entry;
43540 + address = fragP->fr_address;
43541 + address += fragP->fr_fix - LDA_INITIAL_SIZE;
43543 + if (!S_IS_DEFINED(symbolP) || S_FORCE_RELOC(symbolP, 1))
43546 + target = fragP->fr_offset;
43547 + sym_frag = symbol_get_frag(symbolP);
43548 + target += S_GET_VALUE(symbolP);
43550 + if (sym_frag->relax_marker != fragP->relax_marker
43551 + && S_GET_SEGMENT(symbolP) == segment)
43552 + target += stretch;
43554 + distance = target - address;
43556 + pr_debug("lda_relax_frag: target: %d, address: %d, var: %d\n",
43557 + target, address, fragP->fr_var);
43559 + if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
43560 + && target <= 127 && (offsetT)target >= -128)
43562 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
43563 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
43564 + pool->literals[entry].refcount--;
43566 + fragP->fr_subtype = LDA_SUBTYPE_MOV1;
43568 + else if (!avr32_pic && S_GET_SEGMENT(symbolP) == absolute_section
43569 + && target <= 1048575 && (offsetT)target >= -1048576)
43571 + if (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
43572 + || fragP->fr_subtype == LDA_SUBTYPE_LDW)
43573 + pool->literals[entry].refcount--;
43575 + fragP->fr_subtype = LDA_SUBTYPE_MOV2;
43577 + else if (!linkrelax && S_GET_SEGMENT(symbolP) == segment
43578 + /* the field will be negated, so this is really -(-32768)
43580 + && distance <= 32768 && distance >= -32767)
43583 + && (fragP->fr_subtype == LDA_SUBTYPE_LDDPC
43584 + || fragP->fr_subtype == LDA_SUBTYPE_LDW))
43585 + pool->literals[entry].refcount--;
43587 + fragP->fr_subtype = LDA_SUBTYPE_SUB;
43597 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD_LARGE;
43602 + fragP->fr_subtype = LDA_SUBTYPE_GOTLOAD;
43607 + if (fragP->fr_subtype != LDA_SUBTYPE_LDDPC
43608 + && fragP->fr_subtype != LDA_SUBTYPE_LDW)
43609 + pool->literals[entry].refcount++;
43611 + sym_frag = symbol_get_frag(pool->symbol);
43612 + target = (sym_frag->fr_address + sym_frag->fr_fix
43613 + + pool->padding + pool->literals[entry].offset);
43615 + pr_debug("cpool sym address: 0x%lx\n",
43616 + sym_frag->fr_address + sym_frag->fr_fix);
43618 + know(pool->section == segment);
43620 + if (sym_frag->relax_marker != fragP->relax_marker)
43621 + target += stretch;
43623 + distance = target - address;
43624 + if (distance <= 508 && distance >= 0)
43627 + fragP->fr_subtype = LDA_SUBTYPE_LDDPC;
43632 + fragP->fr_subtype = LDA_SUBTYPE_LDW;
43635 + pr_debug("lda_relax_frag (cpool): target=0x%lx, address=0x%lx, refcount=%d\n",
43636 + target, address, pool->literals[entry].refcount);
43640 + fragP->fr_var = new_size;
43642 + pr_debug("%s:%d: lda: relax pass done. subtype: %d, growth: %ld\n",
43643 + fragP->fr_file, fragP->fr_line,
43644 + fragP->fr_subtype, new_size - old_size);
43646 + return new_size - old_size;
43650 +avr32_call_relax_frag(segT segment, fragS *fragP, long stretch)
43652 + struct cpool *pool = NULL;
43653 + unsigned int entry = 0;
43654 + addressT address, target;
43655 + offsetT distance;
43656 + symbolS *symbolP;
43658 + long old_size, new_size;
43660 + symbolP = fragP->fr_symbol;
43661 + old_size = fragP->fr_var;
43664 + pool = fragP->tc_frag_data.pool;
43665 + entry = fragP->tc_frag_data.pool_entry;
43668 + address = fragP->fr_address;
43669 + address += fragP->fr_fix - CALL_INITIAL_SIZE;
43671 + if (need_reloc(symbolP, segment, 1))
43673 + pr_debug("call: must emit reloc\n");
43677 + target = fragP->fr_offset;
43678 + sym_frag = symbol_get_frag(symbolP);
43679 + target += S_GET_VALUE(symbolP);
43681 + if (sym_frag->relax_marker != fragP->relax_marker
43682 + && S_GET_SEGMENT(symbolP) == segment)
43683 + target += stretch;
43685 + distance = target - address;
43687 + if (distance <= 1022 && distance >= -1024)
43689 + pr_debug("call: distance is %d, emitting short rcall\n", distance);
43690 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
43691 + pool->literals[entry].refcount--;
43693 + fragP->fr_subtype = CALL_SUBTYPE_RCALL1;
43695 + else if (distance <= 2097150 && distance >= -2097152)
43697 + pr_debug("call: distance is %d, emitting long rcall\n", distance);
43698 + if (!avr32_pic && fragP->fr_subtype == CALL_SUBTYPE_MCALL_CP)
43699 + pool->literals[entry].refcount--;
43701 + fragP->fr_subtype = CALL_SUBTYPE_RCALL2;
43705 + pr_debug("call: distance %d too far, emitting something big\n", distance);
43713 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_LARGE;
43718 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_GOT;
43723 + if (fragP->fr_subtype != CALL_SUBTYPE_MCALL_CP)
43724 + pool->literals[entry].refcount++;
43727 + fragP->fr_subtype = CALL_SUBTYPE_MCALL_CP;
43731 + fragP->fr_var = new_size;
43733 + pr_debug("%s:%d: call: relax pass done, growth: %d, fr_var: %d\n",
43734 + fragP->fr_file, fragP->fr_line,
43735 + new_size - old_size, fragP->fr_var);
43737 + return new_size - old_size;
43741 +avr32_cpool_relax_frag(segT segment ATTRIBUTE_UNUSED,
43743 + long stretch ATTRIBUTE_UNUSED)
43745 + struct cpool *pool;
43746 + addressT address;
43747 + long old_size, new_size;
43748 + unsigned int entry;
43750 + pool = fragP->tc_frag_data.pool;
43751 + address = fragP->fr_address + fragP->fr_fix;
43752 + old_size = fragP->fr_var;
43755 + for (entry = 0; entry < pool->next_free_entry; entry++)
43757 + if (pool->literals[entry].refcount > 0)
43759 + pool->literals[entry].offset = new_size;
43764 + fragP->fr_var = new_size;
43766 + return new_size - old_size;
43769 +/* *fragP has been relaxed to its final size, and now needs to have
43770 + the bytes inside it modified to conform to the new size.
43772 + Called after relaxation is finished.
43773 + fragP->fr_type == rs_machine_dependent.
43774 + fragP->fr_subtype is the subtype of what the address relaxed to. */
43777 +avr32_default_convert_frag (bfd *abfd ATTRIBUTE_UNUSED,
43778 + segT segment ATTRIBUTE_UNUSED,
43781 + const struct avr32_opcode *opc;
43782 + const struct avr32_ifield *ifield;
43783 + bfd_reloc_code_real_type r_type;
43784 + symbolS *symbolP;
43789 + opc = &avr32_opc_table[fragP->fr_subtype];
43790 + ifield = opc->fields[opc->var_field];
43791 + symbolP = fragP->fr_symbol;
43792 + subtype = fragP->fr_subtype;
43793 + r_type = opc->reloc_type;
43795 + /* Clear the opcode bits and the bits belonging to the relaxed
43796 + field. We assume all other fields stay the same. */
43797 + value = bfd_getb32(fragP->fr_opcode);
43798 + value &= ~(opc->mask | ifield->mask);
43800 + /* Insert the new opcode */
43801 + value |= opc->value;
43802 + bfd_putb32(value, fragP->fr_opcode);
43804 + fragP->fr_fix += opc->size - fragP->fr_var;
43806 + if (fragP->tc_frag_data.reloc_info != AVR32_OPINFO_NONE)
43808 + switch (fragP->tc_frag_data.reloc_info)
43810 + case AVR32_OPINFO_HI:
43811 + r_type = BFD_RELOC_HI16;
43813 + case AVR32_OPINFO_LO:
43814 + r_type = BFD_RELOC_LO16;
43816 + case AVR32_OPINFO_GOT:
43819 + case BFD_RELOC_AVR32_18W_PCREL:
43820 + r_type = BFD_RELOC_AVR32_GOT18SW;
43822 + case BFD_RELOC_AVR32_16S:
43823 + r_type = BFD_RELOC_AVR32_GOT16S;
43826 + BAD_CASE(r_type);
43831 + BAD_CASE(fragP->tc_frag_data.reloc_info);
43836 + pr_debug("%s:%d: convert_frag: new %s fixup\n",
43837 + fragP->fr_file, fragP->fr_line,
43838 + bfd_get_reloc_code_name(r_type));
43841 + fixP = fix_new_exp(fragP, fragP->fr_fix - opc->size, opc->size,
43842 + &fragP->tc_frag_data.exp,
43843 + fragP->tc_frag_data.pcrel, r_type);
43845 + fixP = fix_new(fragP, fragP->fr_fix - opc->size, opc->size, symbolP,
43846 + fragP->fr_offset, fragP->tc_frag_data.pcrel, r_type);
43849 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
43850 + the point of the fixup, relative to the frag address. fix_new()
43851 + and friends think they are only being called during the assembly
43852 + pass, not during relaxation or similar, so fx_dot_value, fx_file
43853 + and fx_line are all initialized to the wrong value. But we don't
43854 + know the size of the fixup until now, so we really can't live up
43855 + to the assumptions these functions make about the target. What
43856 + do these functions think the "where" and "frag" argument mean
43858 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
43859 + fixP->fx_file = fragP->fr_file;
43860 + fixP->fx_line = fragP->fr_line;
43862 + fixP->tc_fix_data.ifield = ifield;
43863 + fixP->tc_fix_data.align = avr32_rs_align(subtype);
43864 + fixP->tc_fix_data.min = avr32_relax_table[subtype].lower_bound;
43865 + fixP->tc_fix_data.max = avr32_relax_table[subtype].upper_bound;
43869 +avr32_lda_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
43870 + segT segment ATTRIBUTE_UNUSED,
43873 + const struct avr32_opcode *opc;
43874 + const struct avr32_ifield *ifield;
43875 + bfd_reloc_code_real_type r_type;
43877 + struct cpool *pool;
43880 + int regid, pcrel = 0, align = 0;
43883 + r_type = BFD_RELOC_NONE;
43884 + regid = fragP->tc_frag_data.reloc_info;
43885 + p = fragP->fr_opcode;
43886 + exp.X_add_symbol = fragP->fr_symbol;
43887 + exp.X_add_number = fragP->fr_offset;
43888 + exp.X_op = O_symbol;
43890 + pr_debug("%s:%d: lda_convert_frag, subtype: %d, fix: %d, var: %d, regid: %d\n",
43891 + fragP->fr_file, fragP->fr_line,
43892 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var, regid);
43894 + switch (fragP->fr_subtype)
43896 + case LDA_SUBTYPE_MOV1:
43897 + opc = &avr32_opc_table[AVR32_OPC_MOV1];
43898 + opc->fields[0]->insert(opc->fields[0], p, regid);
43899 + ifield = opc->fields[1];
43900 + r_type = opc->reloc_type;
43902 + case LDA_SUBTYPE_MOV2:
43903 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
43904 + opc->fields[0]->insert(opc->fields[0], p, regid);
43905 + ifield = opc->fields[1];
43906 + r_type = opc->reloc_type;
43908 + case LDA_SUBTYPE_SUB:
43909 + opc = &avr32_opc_table[AVR32_OPC_SUB5];
43910 + opc->fields[0]->insert(opc->fields[0], p, regid);
43911 + opc->fields[1]->insert(opc->fields[1], p, AVR32_REG_PC);
43912 + ifield = opc->fields[2];
43913 + r_type = BFD_RELOC_AVR32_16N_PCREL;
43915 + /* Pretend that SUB5 isn't a "negated" pcrel expression for now.
43916 + We'll have to fix it up later when we know whether to
43917 + generate a reloc for it (in which case the linker will negate
43918 + it, so we shouldn't). */
43921 + case LDA_SUBTYPE_LDDPC:
43922 + opc = &avr32_opc_table[AVR32_OPC_LDDPC];
43924 + r_type = BFD_RELOC_AVR32_9W_CP;
43925 + goto cpool_common;
43926 + case LDA_SUBTYPE_LDW:
43927 + opc = &avr32_opc_table[AVR32_OPC_LDDPC_EXT];
43928 + r_type = BFD_RELOC_AVR32_16_CP;
43930 + opc->fields[0]->insert(opc->fields[0], p, regid);
43931 + ifield = opc->fields[1];
43932 + pool = fragP->tc_frag_data.pool;
43933 + exp.X_add_symbol = pool->symbol;
43934 + exp.X_add_number = pool->literals[fragP->tc_frag_data.pool_entry].offset;
43937 + case LDA_SUBTYPE_GOTLOAD_LARGE:
43938 + /* ld.w Rd, r6[Rd << 2] (last) */
43939 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
43940 + bfd_putb32(opc->value, p + 4);
43941 + opc->fields[0]->insert(opc->fields[0], p + 4, regid);
43942 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
43943 + opc->fields[2]->insert(opc->fields[2], p + 4, regid);
43944 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
43946 + /* mov Rd, (got_offset / 4) */
43947 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
43948 + opc->fields[0]->insert(opc->fields[0], p, regid);
43949 + ifield = opc->fields[1];
43950 + r_type = BFD_RELOC_AVR32_LDA_GOT;
43952 + case LDA_SUBTYPE_GOTLOAD:
43953 + opc = &avr32_opc_table[AVR32_OPC_LD_W4];
43954 + opc->fields[0]->insert(opc->fields[0], p, regid);
43955 + opc->fields[1]->insert(opc->fields[1], p, 6);
43956 + ifield = opc->fields[2];
43957 + if (r_type == BFD_RELOC_NONE)
43958 + r_type = BFD_RELOC_AVR32_GOT16S;
43961 + BAD_CASE(fragP->fr_subtype);
43964 + value = bfd_getb32(p);
43965 + value &= ~(opc->mask | ifield->mask);
43966 + value |= opc->value;
43967 + bfd_putb32(value, p);
43969 + fragP->fr_fix += fragP->fr_var - LDA_INITIAL_SIZE;
43971 + if (fragP->fr_next
43972 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
43973 + != fragP->fr_fix))
43975 + fprintf(stderr, "LDA frag: fr_fix is wrong! fragP->fr_var = %ld, r_type = %s\n",
43976 + fragP->fr_var, bfd_get_reloc_code_name(r_type));
43980 + fixP = fix_new_exp(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
43981 + &exp, pcrel, r_type);
43983 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
43984 + the point of the fixup, relative to the frag address. fix_new()
43985 + and friends think they are only being called during the assembly
43986 + pass, not during relaxation or similar, so fx_dot_value, fx_file
43987 + and fx_line are all initialized to the wrong value. But we don't
43988 + know the size of the fixup until now, so we really can't live up
43989 + to the assumptions these functions make about the target. What
43990 + do these functions think the "where" and "frag" argument mean
43992 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
43993 + fixP->fx_file = fragP->fr_file;
43994 + fixP->fx_line = fragP->fr_line;
43996 + fixP->tc_fix_data.ifield = ifield;
43997 + fixP->tc_fix_data.align = align;
43998 + /* these are only used if the fixup can actually be resolved */
43999 + fixP->tc_fix_data.min = -32768;
44000 + fixP->tc_fix_data.max = 32767;
44004 +avr32_call_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
44005 + segT segment ATTRIBUTE_UNUSED,
44008 + const struct avr32_opcode *opc = NULL;
44009 + const struct avr32_ifield *ifield;
44010 + bfd_reloc_code_real_type r_type;
44015 + int pcrel = 0, align = 0;
44018 + symbol = fragP->fr_symbol;
44019 + offset = fragP->fr_offset;
44020 + r_type = BFD_RELOC_NONE;
44021 + p = fragP->fr_opcode;
44023 + pr_debug("%s:%d: call_convert_frag, subtype: %d, fix: %d, var: %d\n",
44024 + fragP->fr_file, fragP->fr_line,
44025 + fragP->fr_subtype, fragP->fr_fix, fragP->fr_var);
44027 + switch (fragP->fr_subtype)
44029 + case CALL_SUBTYPE_RCALL1:
44030 + opc = &avr32_opc_table[AVR32_OPC_RCALL1];
44031 + /* fall through */
44032 + case CALL_SUBTYPE_RCALL2:
44034 + opc = &avr32_opc_table[AVR32_OPC_RCALL2];
44035 + ifield = opc->fields[0];
44036 + r_type = opc->reloc_type;
44040 + case CALL_SUBTYPE_MCALL_CP:
44041 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
44042 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_PC);
44043 + ifield = opc->fields[1];
44044 + r_type = BFD_RELOC_AVR32_CPCALL;
44045 + symbol = fragP->tc_frag_data.pool->symbol;
44046 + offset = fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].offset;
44047 + assert(fragP->tc_frag_data.pool->literals[fragP->tc_frag_data.pool_entry].refcount > 0);
44051 + case CALL_SUBTYPE_MCALL_GOT:
44052 + opc = &avr32_opc_table[AVR32_OPC_MCALL];
44053 + opc->fields[0]->insert(opc->fields[0], p, 6);
44054 + ifield = opc->fields[1];
44055 + r_type = BFD_RELOC_AVR32_GOT18SW;
44057 + case CALL_SUBTYPE_MCALL_LARGE:
44058 + assert(fragP->fr_var == 10);
44059 + /* ld.w lr, r6[lr << 2] */
44060 + opc = &avr32_opc_table[AVR32_OPC_LD_W5];
44061 + bfd_putb32(opc->value, p + 4);
44062 + opc->fields[0]->insert(opc->fields[0], p + 4, AVR32_REG_LR);
44063 + opc->fields[1]->insert(opc->fields[1], p + 4, 6);
44064 + opc->fields[2]->insert(opc->fields[2], p + 4, AVR32_REG_LR);
44065 + opc->fields[3]->insert(opc->fields[3], p + 4, 2);
44068 + opc = &avr32_opc_table[AVR32_OPC_ICALL];
44069 + bfd_putb16(opc->value >> 16, p + 8);
44070 + opc->fields[0]->insert(opc->fields[0], p + 8, AVR32_REG_LR);
44072 + /* mov lr, (got_offset / 4) */
44073 + opc = &avr32_opc_table[AVR32_OPC_MOV2];
44074 + opc->fields[0]->insert(opc->fields[0], p, AVR32_REG_LR);
44075 + ifield = opc->fields[1];
44076 + r_type = BFD_RELOC_AVR32_GOTCALL;
44079 + BAD_CASE(fragP->fr_subtype);
44082 + /* Insert the opcode and clear the variable ifield */
44083 + value = bfd_getb32(p);
44084 + value &= ~(opc->mask | ifield->mask);
44085 + value |= opc->value;
44086 + bfd_putb32(value, p);
44088 + fragP->fr_fix += fragP->fr_var - CALL_INITIAL_SIZE;
44090 + if (fragP->fr_next
44091 + && ((offsetT)(fragP->fr_next->fr_address - fragP->fr_address)
44092 + != fragP->fr_fix))
44094 + fprintf(stderr, "%s:%d: fr_fix %lu is wrong! fr_var=%lu, r_type=%s\n",
44095 + fragP->fr_file, fragP->fr_line,
44096 + fragP->fr_fix, fragP->fr_var, bfd_get_reloc_code_name(r_type));
44097 + fprintf(stderr, "fr_fix should be %ld. next frag is %s:%d\n",
44098 + (offsetT)(fragP->fr_next->fr_address - fragP->fr_address),
44099 + fragP->fr_next->fr_file, fragP->fr_next->fr_line);
44102 + fixP = fix_new(fragP, fragP->fr_fix - fragP->fr_var, fragP->fr_var,
44103 + symbol, offset, pcrel, r_type);
44105 + /* Revert fix_new brain damage. "dot_value" is the value of PC at
44106 + the point of the fixup, relative to the frag address. fix_new()
44107 + and friends think they are only being called during the assembly
44108 + pass, not during relaxation or similar, so fx_dot_value, fx_file
44109 + and fx_line are all initialized to the wrong value. But we don't
44110 + know the size of the fixup until now, so we really can't live up
44111 + to the assumptions these functions make about the target. What
44112 + do these functions think the "where" and "frag" argument mean
44114 + fixP->fx_dot_value = fragP->fr_fix - opc->size;
44115 + fixP->fx_file = fragP->fr_file;
44116 + fixP->fx_line = fragP->fr_line;
44118 + fixP->tc_fix_data.ifield = ifield;
44119 + fixP->tc_fix_data.align = align;
44120 + /* these are only used if the fixup can actually be resolved */
44121 + fixP->tc_fix_data.min = -2097152;
44122 + fixP->tc_fix_data.max = 2097150;
44126 +avr32_cpool_convert_frag(bfd *abfd ATTRIBUTE_UNUSED,
44127 + segT segment ATTRIBUTE_UNUSED,
44130 + struct cpool *pool;
44131 + addressT address;
44132 + unsigned int entry;
44134 + char sym_name[20];
44136 + /* Did we get rid of the frag altogether? */
44137 + if (!fragP->fr_var)
44140 + pool = fragP->tc_frag_data.pool;
44141 + address = fragP->fr_address + fragP->fr_fix;
44142 + p = fragP->fr_literal + fragP->fr_fix;
44144 + sprintf(sym_name, "$$cp_\002%x", pool->id);
44145 + symbol_locate(pool->symbol, sym_name, pool->section, fragP->fr_fix, fragP);
44146 + symbol_table_insert(pool->symbol);
44148 + for (entry = 0; entry < pool->next_free_entry; entry++)
44150 + if (pool->literals[entry].refcount > 0)
44152 + fix_new_exp(fragP, fragP->fr_fix, 4, &pool->literals[entry].exp,
44153 + FALSE, BFD_RELOC_AVR32_32_CPENT);
44154 + fragP->fr_fix += 4;
44159 +static struct avr32_relaxer avr32_default_relaxer = {
44160 + .estimate_size = avr32_default_estimate_size_before_relax,
44161 + .relax_frag = avr32_default_relax_frag,
44162 + .convert_frag = avr32_default_convert_frag,
44164 +static struct avr32_relaxer avr32_lda_relaxer = {
44165 + .estimate_size = avr32_lda_estimate_size_before_relax,
44166 + .relax_frag = avr32_lda_relax_frag,
44167 + .convert_frag = avr32_lda_convert_frag,
44169 +static struct avr32_relaxer avr32_call_relaxer = {
44170 + .estimate_size = avr32_call_estimate_size_before_relax,
44171 + .relax_frag = avr32_call_relax_frag,
44172 + .convert_frag = avr32_call_convert_frag,
44174 +static struct avr32_relaxer avr32_cpool_relaxer = {
44175 + .estimate_size = avr32_cpool_estimate_size_before_relax,
44176 + .relax_frag = avr32_cpool_relax_frag,
44177 + .convert_frag = avr32_cpool_convert_frag,
44180 +static void s_cpool(int arg ATTRIBUTE_UNUSED)
44182 + struct cpool *pool;
44183 + unsigned int max_size;
44186 + pool = find_cpool(now_seg, now_subseg);
44187 + if (!pool || !pool->symbol || pool->next_free_entry == 0)
44190 + /* Make sure the constant pool is properly aligned */
44191 + frag_align_code(2, 0);
44193 + /* Assume none of the entries are discarded, and that we need the
44194 + maximum amount of alignment. But we're not going to allocate
44195 + anything up front. */
44196 + max_size = pool->next_free_entry * 4 + 2;
44197 + frag_grow(max_size);
44198 + buf = frag_more(0);
44200 + frag_now->tc_frag_data.relaxer = &avr32_cpool_relaxer;
44201 + frag_now->tc_frag_data.pool = pool;
44203 + symbol_set_frag(pool->symbol, frag_now);
44205 + /* Assume zero initial size, allowing other relaxers to be
44206 + optimistic about things. */
44207 + frag_var(rs_machine_dependent, max_size, 0,
44208 + 0, pool->symbol, 0, NULL);
44210 + /* Mark the pool as empty. */
44214 +/* The location from which a PC relative jump should be calculated,
44215 + given a PC relative reloc. */
44218 +md_pcrel_from_section (fixS *fixP, segT sec)
44220 + pr_debug("pcrel_from_section, fx_offset = %d\n", fixP->fx_offset);
44222 + if (fixP->fx_addsy != NULL
44223 + && (! S_IS_DEFINED (fixP->fx_addsy)
44224 + || S_GET_SEGMENT (fixP->fx_addsy) != sec
44225 + || S_FORCE_RELOC(fixP->fx_addsy, 1)))
44227 + pr_debug("Unknown pcrel symbol: %s\n", S_GET_NAME(fixP->fx_addsy));
44229 + /* The symbol is undefined (or is defined but not in this section).
44230 + Let the linker figure it out. */
44234 + pr_debug("pcrel from %x + %x, symbol: %s (%x)\n",
44235 + fixP->fx_frag->fr_address, fixP->fx_where,
44236 + fixP->fx_addsy?S_GET_NAME(fixP->fx_addsy):"(null)",
44237 + fixP->fx_addsy?S_GET_VALUE(fixP->fx_addsy):0);
44239 + return ((fixP->fx_frag->fr_address + fixP->fx_where)
44240 + & (~0UL << fixP->tc_fix_data.align));
44244 +md_section_align (segT segment, valueT size)
44246 + int align = bfd_get_section_alignment (stdoutput, segment);
44247 + return ((size + (1 << align) - 1) & (-1 << align));
44250 +static int syntax_matches(const struct avr32_syntax *syntax,
44255 + pr_debug("syntax %d matches `%s'?\n", syntax->id, str);
44257 + if (syntax->nr_operands < 0)
44259 + struct avr32_operand *op;
44262 + for (i = 0; i < (-syntax->nr_operands - 1); i++)
44267 + optype = syntax->operand[i];
44268 + assert(optype < AVR32_NR_OPERANDS);
44269 + op = &avr32_operand_table[optype];
44271 + for (p = str; *p; p++)
44281 + if (!op->match(str))
44293 + optype = syntax->operand[i];
44294 + assert(optype < AVR32_NR_OPERANDS);
44295 + op = &avr32_operand_table[optype];
44297 + if (!op->match(str))
44302 + for (i = 0; i < syntax->nr_operands; i++)
44304 + struct avr32_operand *op;
44305 + int optype = syntax->operand[i];
44309 + assert(optype < AVR32_NR_OPERANDS);
44310 + op = &avr32_operand_table[optype];
44312 + for (p = str; *p; p++)
44322 + if (!op->match(str))
44334 + if (*str == '\0')
44337 + if ((*str == 'e' || *str == 'E') && !str[1])
44343 +static int parse_operands(char *str)
44347 + if (current_insn.syntax->nr_operands < 0)
44350 + struct avr32_operand *op;
44352 + for (i = 0; i < (-current_insn.syntax->nr_operands - 1); i++)
44357 + optype = current_insn.syntax->operand[i];
44358 + op = &avr32_operand_table[optype];
44360 + for (p = str; *p; p++)
44364 + assert(p != str);
44367 + op->parse(op, str, i);
44374 + /* give the rest of the line to the last operand */
44375 + optype = current_insn.syntax->operand[i];
44376 + op = &avr32_operand_table[optype];
44377 + op->parse(op, str, i);
44381 + for (i = 0; i < current_insn.syntax->nr_operands; i++)
44383 + int optype = current_insn.syntax->operand[i];
44384 + struct avr32_operand *op = &avr32_operand_table[optype];
44388 + skip_whitespace(str);
44390 + for (p = str; *p; p++)
44394 + assert(p != str);
44397 + op->parse(op, str, i);
44404 + if (*str == 'E' || *str == 'e')
44405 + current_insn.force_extended = 1;
44411 +static const char *
44412 +finish_insn(const struct avr32_opcode *opc)
44414 + expressionS *exp = ¤t_insn.immediate;
44416 + int will_relax = 0;
44419 + assert(current_insn.next_slot == opc->nr_fields);
44421 + pr_debug("%s:%d: finish_insn: trying opcode %d\n",
44422 + frag_now->fr_file, frag_now->fr_line, opc->id);
44424 + /* Go through the relaxation stage for all instructions that can
44425 + possibly take a symbolic immediate. The relax code will take
44426 + care of range checking and alignment. */
44427 + if (opc->var_field != -1)
44429 + int substate, largest_substate;
44434 + substate = largest_substate = opc_initial_substate(opc);
44436 + while (relax_more(largest_substate) != AVR32_RS_NONE)
44437 + largest_substate = relax_more(largest_substate);
44439 + pr_debug("will relax. initial substate: %d (size %d), largest substate: %d (size %d)\n",
44440 + substate, avr32_rs_size(substate),
44441 + largest_substate, avr32_rs_size(largest_substate));
44443 + /* make sure we have enough room for the largest possible opcode */
44444 + frag_grow(avr32_rs_size(largest_substate));
44445 + buf = frag_more(opc->size);
44447 + dwarf2_emit_insn(opc->size);
44449 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_NONE;
44450 + frag_now->tc_frag_data.pcrel = current_insn.pcrel;
44451 + frag_now->tc_frag_data.force_extended = current_insn.force_extended;
44452 + frag_now->tc_frag_data.relaxer = &avr32_default_relaxer;
44454 + if (exp->X_op == O_hi)
44456 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_HI;
44457 + exp->X_op = exp->X_md;
44459 + else if (exp->X_op == O_lo)
44461 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_LO;
44462 + exp->X_op = exp->X_md;
44464 + else if (exp->X_op == O_got)
44466 + frag_now->tc_frag_data.reloc_info = AVR32_OPINFO_GOT;
44467 + exp->X_op = O_symbol;
44471 + if ((opc->reloc_type == BFD_RELOC_AVR32_SUB5)
44472 + && exp->X_op == O_subtract)
44475 + tmp = exp->X_add_symbol;
44476 + exp->X_add_symbol = exp->X_op_symbol;
44477 + exp->X_op_symbol = tmp;
44481 + frag_now->tc_frag_data.exp = current_insn.immediate;
44483 + sym = exp->X_add_symbol;
44484 + off = exp->X_add_number;
44485 + if (exp->X_op != O_symbol)
44487 + sym = make_expr_symbol(exp);
44491 + frag_var(rs_machine_dependent,
44492 + avr32_rs_size(largest_substate) - opc->size,
44494 + substate, sym, off, buf);
44498 + assert(avr32_rs_size(opc_initial_substate(opc)) == 0);
44500 + /* Make sure we always have room for another whole word, as the ifield
44501 + inserters can only write words. */
44503 + buf = frag_more(opc->size);
44504 + dwarf2_emit_insn(opc->size);
44507 + assert(!(opc->value & ~opc->mask));
44509 + pr_debug("inserting opcode: 0x%lx\n", opc->value);
44510 + bfd_putb32(opc->value, buf);
44512 + for (i = 0; i < opc->nr_fields; i++)
44514 + const struct avr32_ifield *f = opc->fields[i];
44515 + const struct avr32_ifield_data *fd = ¤t_insn.field_value[i];
44517 + pr_debug("inserting field: 0x%lx & 0x%lx\n",
44518 + fd->value >> fd->align_order, f->mask);
44520 + f->insert(f, buf, fd->value >> fd->align_order);
44523 + assert(will_relax || !current_insn.immediate.X_add_symbol);
44527 +static const char *
44528 +finish_alias(const struct avr32_alias *alias)
44530 + const struct avr32_opcode *opc;
44532 + unsigned long value;
44533 + unsigned long align;
44534 + } mapped_operand[AVR32_MAX_OPERANDS];
44537 + opc = alias->opc;
44539 + /* Remap the operands from the alias to the real opcode */
44540 + for (i = 0; i < opc->nr_fields; i++)
44542 + if (alias->operand_map[i].is_opindex)
44544 + struct avr32_ifield_data *fd;
44545 + fd = ¤t_insn.field_value[alias->operand_map[i].value];
44546 + mapped_operand[i].value = fd->value;
44547 + mapped_operand[i].align = fd->align_order;
44551 + mapped_operand[i].value = alias->operand_map[i].value;
44552 + mapped_operand[i].align = 0;
44556 + for (i = 0; i < opc->nr_fields; i++)
44558 + current_insn.field_value[i].value = mapped_operand[i].value;
44559 + if (opc->id == AVR32_OPC_COP)
44560 + current_insn.field_value[i].align_order = 0;
44562 + current_insn.field_value[i].align_order
44563 + = mapped_operand[i].align;
44566 + current_insn.next_slot = opc->nr_fields;
44568 + return finish_insn(opc);
44571 +static const char *
44572 +finish_lda(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
44574 + expressionS *exp = ¤t_insn.immediate;
44575 + relax_substateT initial_subtype;
44578 + int initial_size, max_size;
44581 + initial_size = LDA_INITIAL_SIZE;
44585 + initial_subtype = LDA_SUBTYPE_SUB;
44593 + initial_subtype = LDA_SUBTYPE_MOV1;
44597 + frag_grow(max_size);
44598 + buf = frag_more(initial_size);
44599 + dwarf2_emit_insn(initial_size);
44601 + if (exp->X_op == O_symbol)
44603 + sym = exp->X_add_symbol;
44604 + off = exp->X_add_number;
44608 + sym = make_expr_symbol(exp);
44612 + frag_now->tc_frag_data.reloc_info = current_insn.field_value[0].value;
44613 + frag_now->tc_frag_data.relaxer = &avr32_lda_relaxer;
44617 + /* The relaxer will bump the refcount if necessary */
44618 + frag_now->tc_frag_data.pool
44619 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
44622 + frag_var(rs_machine_dependent, max_size - initial_size,
44623 + initial_size, initial_subtype, sym, off, buf);
44628 +static const char *
44629 +finish_call(const struct avr32_syntax *syntax ATTRIBUTE_UNUSED)
44631 + expressionS *exp = ¤t_insn.immediate;
44634 + int initial_size, max_size;
44637 + initial_size = CALL_INITIAL_SIZE;
44649 + frag_grow(max_size);
44650 + buf = frag_more(initial_size);
44651 + dwarf2_emit_insn(initial_size);
44653 + frag_now->tc_frag_data.relaxer = &avr32_call_relaxer;
44655 + if (exp->X_op == O_symbol)
44657 + sym = exp->X_add_symbol;
44658 + off = exp->X_add_number;
44662 + sym = make_expr_symbol(exp);
44668 + /* The relaxer will bump the refcount if necessary */
44669 + frag_now->tc_frag_data.pool
44670 + = add_to_cpool(exp, &frag_now->tc_frag_data.pool_entry, 0);
44673 + frag_var(rs_machine_dependent, max_size - initial_size,
44674 + initial_size, CALL_SUBTYPE_RCALL1, sym, off, buf);
44682 + unsigned long flags = 0;
44685 + avr32_mnemonic_htab = hash_new();
44687 + if (!avr32_mnemonic_htab)
44688 + as_fatal(_("virtual memory exhausted"));
44690 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
44692 + hash_insert(avr32_mnemonic_htab, avr32_mnemonic_table[i].name,
44693 + (void *)&avr32_mnemonic_table[i]);
44697 + flags |= EF_AVR32_LINKRELAX;
44699 + flags |= EF_AVR32_PIC;
44701 + bfd_set_private_flags(stdoutput, flags);
44703 +#ifdef OPC_CONSISTENCY_CHECK
44704 + if (sizeof(avr32_operand_table)/sizeof(avr32_operand_table[0])
44705 + < AVR32_NR_OPERANDS)
44706 + as_fatal(_("operand table is incomplete"));
44708 + for (i = 0; i < AVR32_NR_OPERANDS; i++)
44709 + if (avr32_operand_table[i].id != i)
44710 + as_fatal(_("operand table inconsistency found at index %d\n"), i);
44711 + pr_debug("%d operands verified\n", AVR32_NR_OPERANDS);
44713 + for (i = 0; i < AVR32_NR_IFIELDS; i++)
44714 + if (avr32_ifield_table[i].id != i)
44715 + as_fatal(_("ifield table inconsistency found at index %d\n"), i);
44716 + pr_debug("%d instruction fields verified\n", AVR32_NR_IFIELDS);
44718 + for (i = 0; i < AVR32_NR_OPCODES; i++)
44720 + if (avr32_opc_table[i].id != i)
44721 + as_fatal(_("opcode table inconsistency found at index %d\n"), i);
44722 + if ((avr32_opc_table[i].var_field == -1
44723 + && avr32_relax_table[i].length != 0)
44724 + || (avr32_opc_table[i].var_field != -1
44725 + && avr32_relax_table[i].length == 0))
44726 + as_fatal(_("relax table inconsistency found at index %d\n"), i);
44728 + pr_debug("%d opcodes verified\n", AVR32_NR_OPCODES);
44730 + for (i = 0; i < AVR32_NR_SYNTAX; i++)
44731 + if (avr32_syntax_table[i].id != i)
44732 + as_fatal(_("syntax table inconsistency found at index %d\n"), i);
44733 + pr_debug("%d syntax variants verified\n", AVR32_NR_SYNTAX);
44735 + for (i = 0; i < AVR32_NR_ALIAS; i++)
44736 + if (avr32_alias_table[i].id != i)
44737 + as_fatal(_("alias table inconsistency found at index %d\n"), i);
44738 + pr_debug("%d aliases verified\n", AVR32_NR_ALIAS);
44740 + for (i = 0; i < AVR32_NR_MNEMONICS; i++)
44741 + if (avr32_mnemonic_table[i].id != i)
44742 + as_fatal(_("mnemonic table inconsistency found at index %d\n"), i);
44743 + pr_debug("%d mnemonics verified\n", AVR32_NR_MNEMONICS);
44748 +md_assemble (char *str)
44750 + struct avr32_mnemonic *mnemonic;
44753 + memset(¤t_insn, 0, sizeof(current_insn));
44754 + current_insn.immediate.X_op = O_constant;
44756 + skip_whitespace(str);
44757 + for (p = str; *p; p++)
44763 + mnemonic = hash_find(avr32_mnemonic_htab, str);
44769 + const struct avr32_syntax *syntax;
44771 + for (syntax = mnemonic->syntax; syntax; syntax = syntax->next)
44773 + const char *errmsg = NULL;
44775 + if (syntax_matches(syntax, p))
44777 + if (!(syntax->isa_flags & avr32_arch->isa_flags))
44779 + as_bad(_("Selected architecture `%s' does not support `%s'"),
44780 + avr32_arch->name, str);
44784 + current_insn.syntax = syntax;
44785 + parse_operands(p);
44787 + switch (syntax->type)
44789 + case AVR32_PARSER_NORMAL:
44790 + errmsg = finish_insn(syntax->u.opc);
44792 + case AVR32_PARSER_ALIAS:
44793 + errmsg = finish_alias(syntax->u.alias);
44795 + case AVR32_PARSER_LDA:
44796 + errmsg = finish_lda(syntax);
44798 + case AVR32_PARSER_CALL:
44799 + errmsg = finish_call(syntax);
44802 + BAD_CASE(syntax->type);
44807 + as_bad("%s in `%s'", errmsg, str);
44813 + as_bad(_("unrecognized form of instruction: `%s'"), str);
44816 + as_bad(_("unrecognized instruction `%s'"), str);
44819 +void avr32_cleanup(void)
44821 + struct cpool *pool;
44823 + /* Emit any constant pools that haven't been explicitly flushed with
44824 + a .cpool directive. */
44825 + for (pool = cpool_list; pool; pool = pool->next)
44827 + subseg_set(pool->section, pool->sub_section);
44832 +/* Handle any PIC-related operands in data allocation pseudo-ops */
44834 +avr32_cons_fix_new (fragS *frag, int off, int size, expressionS *exp)
44836 + bfd_reloc_code_real_type r_type = BFD_RELOC_UNUSED;
44839 + pr_debug("%s:%u: cons_fix_new, add_sym: %s, op_sym: %s, op: %d, add_num: %d\n",
44840 + frag->fr_file, frag->fr_line,
44841 + exp->X_add_symbol?S_GET_NAME(exp->X_add_symbol):"(none)",
44842 + exp->X_op_symbol?S_GET_NAME(exp->X_op_symbol):"(none)",
44843 + exp->X_op, exp->X_add_number);
44845 + if (exp->X_op == O_subtract && exp->X_op_symbol)
44847 + if (exp->X_op_symbol == GOT_symbol)
44851 + r_type = BFD_RELOC_AVR32_GOTPC;
44852 + exp->X_op = O_symbol;
44853 + exp->X_op_symbol = NULL;
44856 + else if (exp->X_op == O_got)
44861 + r_type = BFD_RELOC_AVR32_GOT8;
44864 + r_type = BFD_RELOC_AVR32_GOT16;
44867 + r_type = BFD_RELOC_AVR32_GOT32;
44873 + exp->X_op = O_symbol;
44876 + if (r_type == BFD_RELOC_UNUSED)
44880 + r_type = BFD_RELOC_8;
44883 + r_type = BFD_RELOC_16;
44886 + r_type = BFD_RELOC_32;
44891 + else if (size != 4)
44894 + as_bad(_("unsupported BFD relocation size %u"), size);
44895 + r_type = BFD_RELOC_UNUSED;
44898 + fix_new_exp (frag, off, size, exp, pcrel, r_type);
44902 +avr32_frob_section(bfd *abfd ATTRIBUTE_UNUSED, segT sec,
44903 + void *ignore ATTRIBUTE_UNUSED)
44905 + segment_info_type *seginfo;
44908 + seginfo = seg_info(sec);
44912 + for (fix = seginfo->fix_root; fix; fix = fix->fx_next)
44914 + if (fix->fx_done)
44917 + if (fix->fx_r_type == BFD_RELOC_AVR32_SUB5
44918 + && fix->fx_addsy && fix->fx_subsy)
44920 + if (S_GET_SEGMENT(fix->fx_addsy) != S_GET_SEGMENT(fix->fx_subsy)
44925 + fprintf(stderr, "Swapping symbols in fixup:\n");
44926 + print_fixup(fix);
44928 + tmp = fix->fx_addsy;
44929 + fix->fx_addsy = fix->fx_subsy;
44930 + fix->fx_subsy = tmp;
44931 + fix->fx_offset = -fix->fx_offset;
44937 +/* We need to look for SUB5 instructions with expressions that will be
44938 + made PC-relative and switch fx_addsy with fx_subsy. This has to be
44939 + done before adjustment or the wrong symbol might be adjusted.
44941 + This applies to fixups that are a result of expressions like -(sym
44942 + - .) and that will make it all the way to md_apply_fix3(). LDA
44943 + does the right thing in convert_frag, so we must not convert
44946 +avr32_frob_file(void)
44948 + /* if (1 || !linkrelax)
44951 + bfd_map_over_sections(stdoutput, avr32_frob_section, NULL);
44954 +static bfd_boolean
44955 +convert_to_diff_reloc(fixS *fixP)
44957 + switch (fixP->fx_r_type)
44959 + case BFD_RELOC_32:
44960 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
44962 + case BFD_RELOC_16:
44963 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF16;
44965 + case BFD_RELOC_8:
44966 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF8;
44975 +/* Simplify a fixup. If possible, the fixup is reduced to a single
44976 + constant which is written to the output file. Otherwise, a
44977 + relocation is generated so that the linker can take care of the
44980 + ELF relocations have certain constraints: They can only take a
44981 + single symbol and a single addend. This means that for difference
44982 + expressions, we _must_ get rid of the fx_subsy symbol somehow.
44984 + The difference between two labels in the same section can be
44985 + calculated directly unless 'linkrelax' is set, or a relocation is
44986 + forced. If so, we must emit a R_AVR32_DIFFxx relocation. If there
44987 + are addends involved at this point, we must be especially careful
44988 + as the relocation must point exactly to the symbol being
44991 + When subtracting a symbol defined in the same section as the fixup,
44992 + we might be able to convert it to a PC-relative expression, unless
44993 + linkrelax is set. If this is the case, there's no way we can make
44994 + sure that the difference between the fixup and fx_subsy stays
44995 + constant. So for now, we're just going to disallow that.
44998 +avr32_process_fixup(fixS *fixP, segT this_segment)
45000 + segT add_symbol_segment = absolute_section;
45001 + segT sub_symbol_segment = absolute_section;
45002 + symbolS *fx_addsy, *fx_subsy;
45003 + offsetT value = 0, fx_offset;
45004 + bfd_boolean apply = FALSE;
45006 + assert(this_segment != absolute_section);
45008 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
45010 + as_bad_where(fixP->fx_file, fixP->fx_line,
45011 + _("Bad relocation type %d\n"), fixP->fx_r_type);
45015 + /* BFD_RELOC_AVR32_SUB5 fixups have been swapped by avr32_frob_section() */
45016 + fx_addsy = fixP->fx_addsy;
45017 + fx_subsy = fixP->fx_subsy;
45018 + fx_offset = fixP->fx_offset;
45021 + add_symbol_segment = S_GET_SEGMENT(fx_addsy);
45025 + resolve_symbol_value(fx_subsy);
45026 + sub_symbol_segment = S_GET_SEGMENT(fx_subsy);
45028 + if (sub_symbol_segment == this_segment
45030 + || S_GET_VALUE(fx_subsy) == (fixP->fx_frag->fr_address
45031 + + fixP->fx_where)))
45033 + fixP->fx_pcrel = TRUE;
45034 + fx_offset += (fixP->fx_frag->fr_address + fixP->fx_where
45035 + - S_GET_VALUE(fx_subsy));
45038 + else if (sub_symbol_segment == absolute_section)
45040 + /* The symbol is really a constant. */
45041 + fx_offset -= S_GET_VALUE(fx_subsy);
45044 + else if (SEG_NORMAL(add_symbol_segment)
45045 + && sub_symbol_segment == add_symbol_segment
45046 + && (!linkrelax || convert_to_diff_reloc(fixP)))
45048 + /* Difference between two labels in the same section. */
45051 + /* convert_to_diff() has ensured that the reloc type is
45052 + either DIFF32, DIFF16 or DIFF8. */
45053 + value = (S_GET_VALUE(fx_addsy) + fixP->fx_offset
45054 + - S_GET_VALUE(fx_subsy));
45056 + /* Try to convert it to a section symbol if possible */
45057 + if (!S_FORCE_RELOC(fx_addsy, 1)
45058 + && !(sub_symbol_segment->flags & SEC_THREAD_LOCAL))
45060 + fx_offset = S_GET_VALUE(fx_subsy);
45061 + fx_addsy = section_symbol(sub_symbol_segment);
45065 + fx_addsy = fx_subsy;
45074 + fx_offset += S_GET_VALUE(fx_addsy);
45075 + fx_offset -= S_GET_VALUE(fx_subsy);
45082 + as_bad_where(fixP->fx_file, fixP->fx_line,
45083 + _("can't resolve `%s' {%s section} - `%s' {%s section}"),
45084 + fx_addsy ? S_GET_NAME (fx_addsy) : "0",
45085 + segment_name (add_symbol_segment),
45086 + S_GET_NAME (fx_subsy),
45087 + segment_name (sub_symbol_segment));
45092 + if (fx_addsy && !TC_FORCE_RELOCATION(fixP))
45094 + if (add_symbol_segment == this_segment
45095 + && fixP->fx_pcrel)
45097 + value += S_GET_VALUE(fx_addsy);
45098 + value -= md_pcrel_from_section(fixP, this_segment);
45100 + fixP->fx_pcrel = FALSE;
45102 + else if (add_symbol_segment == absolute_section)
45104 + fx_offset += S_GET_VALUE(fixP->fx_addsy);
45110 + fixP->fx_done = TRUE;
45112 + if (fixP->fx_pcrel)
45114 + if (fx_addsy != NULL
45115 + && S_IS_DEFINED(fx_addsy)
45116 + && S_GET_SEGMENT(fx_addsy) != this_segment)
45117 + value += md_pcrel_from_section(fixP, this_segment);
45119 + switch (fixP->fx_r_type)
45121 + case BFD_RELOC_32:
45122 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
45124 + case BFD_RELOC_16:
45125 + fixP->fx_r_type = BFD_RELOC_16_PCREL;
45127 + case BFD_RELOC_8:
45128 + fixP->fx_r_type = BFD_RELOC_8_PCREL;
45130 + case BFD_RELOC_AVR32_SUB5:
45131 + fixP->fx_r_type = BFD_RELOC_AVR32_16N_PCREL;
45133 + case BFD_RELOC_AVR32_16S:
45134 + fixP->fx_r_type = BFD_RELOC_AVR32_16B_PCREL;
45136 + case BFD_RELOC_AVR32_14UW:
45137 + fixP->fx_r_type = BFD_RELOC_AVR32_14UW_PCREL;
45139 + case BFD_RELOC_AVR32_10UW:
45140 + fixP->fx_r_type = BFD_RELOC_AVR32_10UW_PCREL;
45143 + /* Should have been taken care of already */
45148 + if (fixP->fx_done || apply)
45150 + const struct avr32_ifield *ifield;
45151 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
45153 + if (fixP->fx_done)
45154 + value += fx_offset;
45156 + switch (fixP->fx_r_type)
45158 + case BFD_RELOC_32:
45159 + case BFD_RELOC_16:
45160 + case BFD_RELOC_8:
45161 + case BFD_RELOC_AVR32_DIFF32:
45162 + case BFD_RELOC_AVR32_DIFF16:
45163 + case BFD_RELOC_AVR32_DIFF8:
45164 + md_number_to_chars(buf, value, fixP->fx_size);
45166 + case BFD_RELOC_HI16:
45168 + case BFD_RELOC_LO16:
45170 + md_number_to_chars(buf + 2, value, 2);
45172 + case BFD_RELOC_AVR32_16N_PCREL:
45174 + /* fall through */
45175 + case BFD_RELOC_AVR32_22H_PCREL:
45176 + case BFD_RELOC_AVR32_18W_PCREL:
45177 + case BFD_RELOC_AVR32_16B_PCREL:
45178 + case BFD_RELOC_AVR32_11H_PCREL:
45179 + case BFD_RELOC_AVR32_9H_PCREL:
45180 + case BFD_RELOC_AVR32_9UW_PCREL:
45181 + case BFD_RELOC_AVR32_3U:
45182 + case BFD_RELOC_AVR32_4UH:
45183 + case BFD_RELOC_AVR32_6UW:
45184 + case BFD_RELOC_AVR32_6S:
45185 + case BFD_RELOC_AVR32_7UW:
45186 + case BFD_RELOC_AVR32_8S_EXT:
45187 + case BFD_RELOC_AVR32_8S:
45188 + case BFD_RELOC_AVR32_10UW:
45189 + case BFD_RELOC_AVR32_10SW:
45190 + case BFD_RELOC_AVR32_STHH_W:
45191 + case BFD_RELOC_AVR32_14UW:
45192 + case BFD_RELOC_AVR32_16S:
45193 + case BFD_RELOC_AVR32_16U:
45194 + case BFD_RELOC_AVR32_21S:
45195 + case BFD_RELOC_AVR32_SUB5:
45196 + case BFD_RELOC_AVR32_CPCALL:
45197 + case BFD_RELOC_AVR32_16_CP:
45198 + case BFD_RELOC_AVR32_9W_CP:
45199 + ifield = fixP->tc_fix_data.ifield;
45200 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
45201 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
45202 + fixP->tc_fix_data.align);
45203 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
45204 + as_bad_where(fixP->fx_file, fixP->fx_line,
45205 + _("operand out of range (%ld not between %ld and %ld)"),
45206 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
45207 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
45208 + as_bad_where(fixP->fx_file, fixP->fx_line,
45209 + _("misaligned operand (required alignment: %d)"),
45210 + 1 << fixP->tc_fix_data.align);
45211 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
45213 + case BFD_RELOC_AVR32_ALIGN:
45214 + /* Nothing to do */
45215 + fixP->fx_done = FALSE;
45218 + as_fatal("reloc type %s not handled\n",
45219 + bfd_get_reloc_code_name(fixP->fx_r_type));
45223 + fixP->fx_addsy = fx_addsy;
45224 + fixP->fx_subsy = fx_subsy;
45225 + fixP->fx_offset = fx_offset;
45227 + if (!fixP->fx_done)
45229 + if (!fixP->fx_addsy)
45230 + fixP->fx_addsy = abs_section_sym;
45232 + symbol_mark_used_in_reloc(fixP->fx_addsy);
45233 + if (fixP->fx_subsy)
45240 +md_apply_fix3 (fixS *fixP, valueT *valP, segT seg)
45242 + const struct avr32_ifield *ifield;
45243 + offsetT value = *valP;
45244 + char *buf = fixP->fx_where + fixP->fx_frag->fr_literal;
45245 + bfd_boolean apply;
45247 + pr_debug("%s:%u: apply_fix3: r_type=%d value=%lx offset=%lx\n",
45248 + fixP->fx_file, fixP->fx_line, fixP->fx_r_type, *valP,
45249 + fixP->fx_offset);
45251 + if (fixP->fx_r_type >= BFD_RELOC_UNUSED)
45253 + as_bad_where(fixP->fx_file, fixP->fx_line,
45254 + _("Bad relocation type %d\n"), fixP->fx_r_type);
45258 + if (!fixP->fx_addsy && !fixP->fx_subsy)
45259 + fixP->fx_done = 1;
45261 + if (fixP->fx_pcrel)
45263 + if (fixP->fx_addsy != NULL
45264 + && S_IS_DEFINED(fixP->fx_addsy)
45265 + && S_GET_SEGMENT(fixP->fx_addsy) != seg)
45266 + value += md_pcrel_from_section(fixP, seg);
45268 + switch (fixP->fx_r_type)
45270 + case BFD_RELOC_32:
45271 + fixP->fx_r_type = BFD_RELOC_32_PCREL;
45273 + case BFD_RELOC_16:
45274 + case BFD_RELOC_8:
45275 + as_bad_where (fixP->fx_file, fixP->fx_line,
45276 + _("8- and 16-bit PC-relative relocations not supported"));
45278 + case BFD_RELOC_AVR32_SUB5:
45279 + fixP->fx_r_type = BFD_RELOC_AVR32_PCREL_SUB5;
45281 + case BFD_RELOC_AVR32_16S:
45282 + fixP->fx_r_type = BFD_RELOC_AVR32_16_PCREL;
45285 + /* Should have been taken care of already */
45290 + if (fixP->fx_r_type == BFD_RELOC_32
45291 + && fixP->fx_subsy)
45293 + fixP->fx_r_type = BFD_RELOC_AVR32_DIFF32;
45295 + /* Offsets are only allowed if it's a result of adjusting a
45296 + local symbol into a section-relative offset.
45297 + tc_fix_adjustable() should prevent any adjustment if there
45298 + was an offset involved before. */
45299 + if (fixP->fx_offset && !symbol_section_p(fixP->fx_addsy))
45300 + as_bad_where(fixP->fx_file, fixP->fx_line,
45301 + _("cannot represent symbol difference with an offset"));
45303 + value = (S_GET_VALUE(fixP->fx_addsy) + fixP->fx_offset
45304 + - S_GET_VALUE(fixP->fx_subsy));
45306 + /* The difference before any relaxing takes place is written
45307 + out, and the DIFF32 reloc identifies the address of the first
45308 + symbol (i.e. the on that's subtracted.) */
45310 + fixP->fx_offset -= value;
45311 + fixP->fx_subsy = NULL;
45313 + md_number_to_chars(buf, value, fixP->fx_size);
45316 + if (fixP->fx_done)
45318 + switch (fixP->fx_r_type)
45320 + case BFD_RELOC_8:
45321 + case BFD_RELOC_16:
45322 + case BFD_RELOC_32:
45323 + md_number_to_chars(buf, value, fixP->fx_size);
45325 + case BFD_RELOC_HI16:
45327 + case BFD_RELOC_LO16:
45330 + md_number_to_chars(buf + 2, value, 2);
45332 + case BFD_RELOC_AVR32_PCREL_SUB5:
45334 + /* fall through */
45335 + case BFD_RELOC_AVR32_9_PCREL:
45336 + case BFD_RELOC_AVR32_11_PCREL:
45337 + case BFD_RELOC_AVR32_16_PCREL:
45338 + case BFD_RELOC_AVR32_18_PCREL:
45339 + case BFD_RELOC_AVR32_22_PCREL:
45340 + case BFD_RELOC_AVR32_3U:
45341 + case BFD_RELOC_AVR32_4UH:
45342 + case BFD_RELOC_AVR32_6UW:
45343 + case BFD_RELOC_AVR32_6S:
45344 + case BFD_RELOC_AVR32_7UW:
45345 + case BFD_RELOC_AVR32_8S:
45346 + case BFD_RELOC_AVR32_10UW:
45347 + case BFD_RELOC_AVR32_10SW:
45348 + case BFD_RELOC_AVR32_14UW:
45349 + case BFD_RELOC_AVR32_16S:
45350 + case BFD_RELOC_AVR32_16U:
45351 + case BFD_RELOC_AVR32_21S:
45352 + case BFD_RELOC_AVR32_BRC1:
45353 + case BFD_RELOC_AVR32_SUB5:
45354 + case BFD_RELOC_AVR32_CPCALL:
45355 + case BFD_RELOC_AVR32_16_CP:
45356 + case BFD_RELOC_AVR32_9_CP:
45357 + ifield = fixP->tc_fix_data.ifield;
45358 + pr_debug("insert field: %ld <= %ld <= %ld (align %u)\n",
45359 + fixP->tc_fix_data.min, value, fixP->tc_fix_data.max,
45360 + fixP->tc_fix_data.align);
45361 + if (value < fixP->tc_fix_data.min || value > fixP->tc_fix_data.max)
45362 + as_bad_where(fixP->fx_file, fixP->fx_line,
45363 + _("operand out of range (%ld not between %ld and %ld)"),
45364 + value, fixP->tc_fix_data.min, fixP->tc_fix_data.max);
45365 + if (value & ((1 << fixP->tc_fix_data.align) - 1))
45366 + as_bad_where(fixP->fx_file, fixP->fx_line,
45367 + _("misaligned operand (required alignment: %d)"),
45368 + 1 << fixP->tc_fix_data.align);
45369 + ifield->insert(ifield, buf, value >> fixP->tc_fix_data.align);
45371 + case BFD_RELOC_AVR32_ALIGN:
45372 + /* Nothing to do */
45373 + fixP->fx_done = FALSE;
45376 + as_fatal("reloc type %s not handled\n",
45377 + bfd_get_reloc_code_name(fixP->fx_r_type));
45384 +tc_gen_reloc (asection *section ATTRIBUTE_UNUSED,
45388 + bfd_reloc_code_real_type code;
45390 + reloc = xmalloc (sizeof (arelent));
45392 + reloc->sym_ptr_ptr = xmalloc (sizeof (asymbol *));
45393 + *reloc->sym_ptr_ptr = symbol_get_bfdsym (fixp->fx_addsy);
45394 + reloc->address = fixp->fx_frag->fr_address + fixp->fx_where;
45395 + reloc->addend = fixp->fx_offset;
45396 + code = fixp->fx_r_type;
45398 + reloc->howto = bfd_reloc_type_lookup (stdoutput, code);
45400 + if (reloc->howto == NULL)
45402 + as_bad_where (fixp->fx_file, fixp->fx_line,
45403 + _("cannot represent relocation %s in this object file format"),
45404 + bfd_get_reloc_code_name (code));
45412 +avr32_force_reloc(fixS *fixP)
45414 + if (linkrelax && fixP->fx_addsy
45415 + && !(S_GET_SEGMENT(fixP->fx_addsy)->flags & SEC_DEBUGGING)
45416 + && S_GET_SEGMENT(fixP->fx_addsy) != absolute_section)
45418 + pr_debug(stderr, "force reloc: addsy=%p, r_type=%d, sec=%s\n",
45419 + fixP->fx_addsy, fixP->fx_r_type, S_GET_SEGMENT(fixP->fx_addsy)->name);
45423 + return generic_force_reloc(fixP);
45427 +avr32_fix_adjustable(fixS *fixP)
45429 + switch (fixP->fx_r_type)
45431 + /* GOT relocations can't have addends since BFD treats all
45432 + references to a given symbol the same. This means that we
45433 + must avoid section-relative references to local symbols when
45434 + dealing with these kinds of relocs */
45435 + case BFD_RELOC_AVR32_GOT32:
45436 + case BFD_RELOC_AVR32_GOT16:
45437 + case BFD_RELOC_AVR32_GOT8:
45438 + case BFD_RELOC_AVR32_GOT21S:
45439 + case BFD_RELOC_AVR32_GOT18SW:
45440 + case BFD_RELOC_AVR32_GOT16S:
45441 + case BFD_RELOC_AVR32_LDA_GOT:
45442 + case BFD_RELOC_AVR32_GOTCALL:
45443 + pr_debug("fix not adjustable\n");
45453 +/* When we want the linker to be able to relax the code, we need to
45454 + output a reloc for every .align directive requesting an alignment
45455 + to a four byte boundary or larger. If we don't do this, the linker
45456 + can't guarantee that the alignment is actually maintained in the
45459 + TODO: Might as well insert proper NOPs while we're at it... */
45461 +avr32_handle_align(fragS *frag)
45464 + && frag->fr_type == rs_align_code
45465 + && frag->fr_address + frag->fr_fix > 0
45466 + && frag->fr_offset > 0)
45468 + /* The alignment order (fr_offset) is stored in the addend. */
45469 + fix_new(frag, frag->fr_fix, 2, &abs_symbol, frag->fr_offset,
45470 + FALSE, BFD_RELOC_AVR32_ALIGN);
45474 +/* Relax_align. Advance location counter to next address that has 'alignment'
45475 + lowest order bits all 0s, return size of adjustment made. */
45477 +avr32_relax_align(segT segment ATTRIBUTE_UNUSED,
45479 + relax_addressT address)
45481 + relax_addressT mask;
45482 + relax_addressT new_address;
45485 + alignment = fragP->fr_offset;
45486 + mask = ~((~0) << alignment);
45487 + new_address = (address + mask) & (~mask);
45489 + return new_address - address;
45492 +/* Turn a string in input_line_pointer into a floating point constant
45493 + of type type, and store the appropriate bytes in *litP. The number
45494 + of LITTLENUMS emitted is stored in *sizeP . An error message is
45495 + returned, or NULL on OK. */
45497 +/* Equal to MAX_PRECISION in atof-ieee.c */
45498 +#define MAX_LITTLENUMS 6
45501 +md_atof (type, litP, sizeP)
45508 + LITTLENUM_TYPE words [MAX_LITTLENUMS];
45527 + /* FIXME: Some targets allow other format chars for bigger sizes here. */
45531 + return _("Bad call to md_atof()");
45534 + t = atof_ieee (input_line_pointer, type, words);
45536 + input_line_pointer = t;
45537 + * sizeP = prec * sizeof (LITTLENUM_TYPE);
45539 + for (i = 0; i < prec; i++)
45541 + md_number_to_chars (litP, (valueT) words[i],
45542 + sizeof (LITTLENUM_TYPE));
45543 + litP += sizeof (LITTLENUM_TYPE);
45549 +static char *avr32_end_of_match(char *cont, char *what)
45551 + int len = strlen (what);
45553 + if (! is_part_of_name (cont[len])
45554 + && strncasecmp (cont, what, len) == 0)
45555 + return cont + len;
45561 +avr32_parse_name (char const *name, expressionS *exp, char *nextchar)
45563 + char *next = input_line_pointer;
45566 + pr_debug("parse_name: %s, nextchar=%c (%02x)\n", name, *nextchar, *nextchar);
45568 + if (*nextchar == '(')
45570 + if (strcasecmp(name, "hi") == 0)
45572 + *next = *nextchar;
45576 + if (exp->X_op == O_constant)
45578 + pr_debug(" -> constant hi(0x%08lx) -> 0x%04lx\n",
45579 + exp->X_add_number, exp->X_add_number >> 16);
45580 + exp->X_add_number = (exp->X_add_number >> 16) & 0xffff;
45584 + exp->X_md = exp->X_op;
45585 + exp->X_op = O_hi;
45590 + else if (strcasecmp(name, "lo") == 0)
45592 + *next = *nextchar;
45596 + if (exp->X_op == O_constant)
45597 + exp->X_add_number &= 0xffff;
45600 + exp->X_md = exp->X_op;
45601 + exp->X_op = O_lo;
45607 + else if (*nextchar == '@')
45609 + exp->X_md = exp->X_op;
45611 + if ((next_end = avr32_end_of_match (next + 1, "got")))
45612 + exp->X_op = O_got;
45613 + else if ((next_end = avr32_end_of_match (next + 1, "tlsgd")))
45614 + exp->X_op = O_tlsgd;
45615 + /* Add more as needed */
45619 + input_line_pointer++;
45620 + c = get_symbol_end();
45621 + as_bad (_("unknown relocation override `%s'"), next + 1);
45622 + *input_line_pointer = c;
45623 + input_line_pointer = next;
45627 + exp->X_op_symbol = NULL;
45628 + exp->X_add_symbol = symbol_find_or_make (name);
45629 + exp->X_add_number = 0;
45631 + *input_line_pointer = *nextchar;
45632 + input_line_pointer = next_end;
45633 + *nextchar = *input_line_pointer;
45634 + *input_line_pointer = '\0';
45637 + else if (strcmp (name, "_GLOBAL_OFFSET_TABLE_") == 0)
45640 + GOT_symbol = symbol_find_or_make(name);
45642 + exp->X_add_symbol = GOT_symbol;
45643 + exp->X_op = O_symbol;
45644 + exp->X_add_number = 0;
45652 +s_rseg (int value ATTRIBUTE_UNUSED)
45654 + /* Syntax: RSEG segment_name [:type] [NOROOT|ROOT] [(align)]
45656 + * - type: undocumented ("typically CODE or DATA")
45658 + * - align: 1 for code, 0 for others
45660 + * TODO: NOROOT is ignored. If gas supports discardable segments, it should
45661 + * be implemented.
45663 + char *name, *end;
45664 + int length, type, attr;
45667 + SKIP_WHITESPACE();
45669 + end = input_line_pointer;
45670 + while (0 == strchr ("\n\t;:( ", *end))
45672 + if (end == input_line_pointer)
45674 + as_warn (_("missing name"));
45675 + ignore_rest_of_line();
45679 + name = xmalloc (end - input_line_pointer + 1);
45680 + memcpy (name, input_line_pointer, end - input_line_pointer);
45681 + name[end - input_line_pointer] = '\0';
45682 + input_line_pointer = end;
45684 + SKIP_WHITESPACE();
45689 + if (*input_line_pointer == ':')
45691 + /* Skip the colon */
45692 + ++input_line_pointer;
45693 + SKIP_WHITESPACE();
45695 + /* Possible options at this point:
45696 + * - flag (ROOT or NOROOT)
45697 + * - a segment type
45699 + end = input_line_pointer;
45700 + while (0 == strchr ("\n\t;:( ", *end))
45702 + length = end - input_line_pointer;
45703 + if (((length == 4) && (0 == strncasecmp( input_line_pointer, "ROOT", 4))) ||
45704 + ((length == 6) && (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
45706 + /* Ignore ROOT/NOROOT */
45707 + input_line_pointer = end;
45711 + /* Must be a segment type */
45712 + switch (*input_line_pointer)
45716 + if ((length == 4) &&
45717 + (0 == strncasecmp (input_line_pointer, "CODE", 4)))
45719 + attr |= SHF_ALLOC | SHF_EXECINSTR;
45720 + type = SHT_PROGBITS;
45724 + if ((length == 5) &&
45725 + (0 == strncasecmp (input_line_pointer, "CONST", 5)))
45727 + attr |= SHF_ALLOC;
45728 + type = SHT_PROGBITS;
45735 + if ((length == 4) &&
45736 + (0 == strncasecmp (input_line_pointer, "DATA", 4)))
45738 + attr |= SHF_ALLOC | SHF_WRITE;
45739 + type = SHT_PROGBITS;
45744 + /* TODO: Add FAR*, HUGE*, IDATA and NEAR* if necessary */
45748 + if ((length == 7) &&
45749 + (0 == strncasecmp (input_line_pointer, "UNTYPED", 7)))
45753 + /* TODO: Add XDATA and ZPAGE if necessary */
45757 + as_warn (_("unrecognized segment type"));
45760 + input_line_pointer = end;
45761 + SKIP_WHITESPACE();
45763 + if (*input_line_pointer == ':')
45765 + /* ROOT/NOROOT */
45766 + ++input_line_pointer;
45767 + SKIP_WHITESPACE();
45769 + end = input_line_pointer;
45770 + while (0 == strchr ("\n\t;:( ", *end))
45772 + length = end - input_line_pointer;
45773 + if (! ((length == 4) &&
45774 + (0 == strncasecmp( input_line_pointer, "ROOT", 4))) &&
45775 + ! ((length == 6) &&
45776 + (0 == strncasecmp( input_line_pointer, "NOROOT", 6))))
45778 + as_warn (_("unrecognized segment flag"));
45781 + input_line_pointer = end;
45782 + SKIP_WHITESPACE();
45787 + if (*input_line_pointer == '(')
45789 + align = get_absolute_expression ();
45792 + demand_empty_rest_of_line();
45794 + obj_elf_change_section (name, type, attr, 0, NULL, 0, 0);
45795 +#ifdef AVR32_DEBUG
45796 + fprintf( stderr, "RSEG: Changed section to %s, type: 0x%x, attr: 0x%x\n",
45797 + name, type, attr );
45798 + fprintf( stderr, "RSEG: Aligning to 2**%d\n", align );
45804 + as_warn (_("alignment too large: %u assumed"), align);
45807 + /* Hope not, that is */
45808 + assert (now_seg != absolute_section);
45810 + /* Only make a frag if we HAVE to... */
45811 + if (align != 0 && !need_pass_2)
45813 + if (subseg_text_p (now_seg))
45814 + frag_align_code (align, 0);
45816 + frag_align (align, 0, 0);
45819 + record_alignment (now_seg, align - OCTETS_PER_BYTE_POWER);
45822 +/* vim: syntax=c sw=2
45824 diff -Nrup binutils-2.17/gas/config/tc-avr32.h binutils-2.17.atmel.1.3.0/gas/config/tc-avr32.h
45825 --- binutils-2.17/gas/config/tc-avr32.h 1970-01-01 01:00:00.000000000 +0100
45826 +++ binutils-2.17.atmel.1.3.0/gas/config/tc-avr32.h 2007-03-26 10:20:14.000000000 +0200
45828 +/* Assembler definitions for AVR32.
45829 + Copyright 2003-2006 Atmel Corporation.
45831 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
45833 + This file is part of GAS, the GNU Assembler.
45835 + GAS is free software; you can redistribute it and/or modify it
45836 + under the terms of the GNU General Public License as published by
45837 + the Free Software Foundation; either version 2, or (at your option)
45838 + any later version.
45840 + GAS is distributed in the hope that it will be useful, but WITHOUT
45841 + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
45842 + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
45843 + License for more details.
45845 + You should have received a copy of the GNU General Public License
45846 + along with GAS; see the file COPYING. If not, write to the Free
45847 + Software Foundation, 59 Temple Place - Suite 330, Boston, MA
45848 + 02111-1307, USA. */
45859 +/* Are we trying to be compatible with the IAR assembler? (--iar) */
45860 +extern int avr32_iarcompat;
45862 +/* By convention, you should define this macro in the `.h' file. For
45863 + example, `tc-m68k.h' defines `TC_M68K'. You might have to use this
45864 + if it is necessary to add CPU specific code to the object format
45868 +/* This macro is the BFD target name to use when creating the output
45869 + file. This will normally depend upon the `OBJ_FMT' macro. */
45870 +#define TARGET_FORMAT "elf32-avr32"
45872 +/* This macro is the BFD architecture to pass to `bfd_set_arch_mach'. */
45873 +#define TARGET_ARCH bfd_arch_avr32
45875 +/* This macro is the BFD machine number to pass to
45876 + `bfd_set_arch_mach'. If it is not defined, GAS will use 0. */
45877 +#define TARGET_MACH 0
45879 +/* UNDOCUMENTED: Allow //-style comments */
45880 +#define DOUBLESLASH_LINE_COMMENTS
45882 +/* You should define this macro to be non-zero if the target is big
45883 + endian, and zero if the target is little endian. */
45884 +#define TARGET_BYTES_BIG_ENDIAN 1
45886 +/* FIXME: It seems that GAS only expects a one-byte opcode...
45887 + #define NOP_OPCODE 0xd703 */
45889 +/* If you define this macro, GAS will warn about the use of
45890 + nonstandard escape sequences in a string. */
45891 +#undef ONLY_STANDARD_ESCAPES
45893 +#define DWARF2_FORMAT() dwarf2_format_32bit
45895 +/* Instructions are either 2 or 4 bytes long */
45896 +/* #define DWARF2_LINE_MIN_INSN_LENGTH 2 */
45898 +/* GAS will call this function for any expression that can not be
45899 + recognized. When the function is called, `input_line_pointer'
45900 + will point to the start of the expression. */
45901 +#define md_operand(x)
45903 +#define md_parse_name(name, expr, mode, c) avr32_parse_name(name, expr, c)
45904 +extern int avr32_parse_name(const char *, struct expressionS *, char *);
45906 +/* You may define this macro to generate a fixup for a data
45907 + allocation pseudo-op. */
45908 +#define TC_CONS_FIX_NEW(FRAG, OFF, LEN, EXP) \
45909 + avr32_cons_fix_new(FRAG, OFF, LEN, EXP)
45910 +void avr32_cons_fix_new (fragS *, int, int, expressionS *);
45912 +/* `extsym - .' expressions can be emitted using PC-relative relocs */
45913 +#define DIFF_EXPR_OK
45915 +/* This is used to construct expressions out of @gotoff, etc. The
45916 + relocation type is stored in X_md */
45917 +#define O_got O_md1
45918 +#define O_hi O_md2
45919 +#define O_lo O_md3
45920 +#define O_tlsgd O_md4
45922 +/* You may define this macro to parse an expression used in a data
45923 + allocation pseudo-op such as `.word'. You can use this to
45924 + recognize relocation directives that may appear in such directives. */
45925 +/* #define TC_PARSE_CONS_EXPRESSION(EXPR,N) avr_parse_cons_expression (EXPR,N)
45926 + void avr_parse_cons_expression (expressionS *exp, int nbytes); */
45928 +/* This should just call either `number_to_chars_bigendian' or
45929 + `number_to_chars_littleendian', whichever is appropriate. On
45930 + targets like the MIPS which support options to change the
45931 + endianness, which function to call is a runtime decision. On
45932 + other targets, `md_number_to_chars' can be a simple macro. */
45933 +#define md_number_to_chars number_to_chars_bigendian
45935 +/* `md_short_jump_size'
45936 + `md_long_jump_size'
45937 + `md_create_short_jump'
45938 + `md_create_long_jump'
45939 + If `WORKING_DOT_WORD' is defined, GAS will not do broken word
45940 + processing (*note Broken words::.). Otherwise, you should set
45941 + `md_short_jump_size' to the size of a short jump (a jump that is
45942 + just long enough to jump around a long jmp) and
45943 + `md_long_jump_size' to the size of a long jump (a jump that can go
45944 + anywhere in the function), You should define
45945 + `md_create_short_jump' to create a short jump around a long jump,
45946 + and define `md_create_long_jump' to create a long jump. */
45947 +#define WORKING_DOT_WORD
45949 +/* If you define this macro, it means that `tc_gen_reloc' may return
45950 + multiple relocation entries for a single fixup. In this case, the
45951 + return value of `tc_gen_reloc' is a pointer to a null terminated
45953 +#undef RELOC_EXPANSION_POSSIBLE
45955 +/* If you define this macro, GAS will not require pseudo-ops to start with a .
45957 +#define NO_PSEUDO_DOT (avr32_iarcompat)
45959 +/* The IAR assembler uses $ as the location counter. Unfortunately, we
45960 + can't make this dependent on avr32_iarcompat... */
45961 +#define DOLLAR_DOT
45963 +/* Values passed to md_apply_fix3 don't include the symbol value. */
45964 +#define MD_APPLY_SYM_VALUE(FIX) 0
45966 +/* The number of bytes to put into a word in a listing. This affects
45967 + the way the bytes are clumped together in the listing. For
45968 + example, a value of 2 might print `1234 5678' where a value of 1
45969 + would print `12 34 56 78'. The default value is 4. */
45970 +#define LISTING_WORD_SIZE 4
45972 +/* extern const struct relax_type md_relax_table[];
45973 +#define TC_GENERIC_RELAX_TABLE md_relax_table */
45976 + An `.lcomm' directive with no explicit alignment parameter will use
45977 + this macro to set P2VAR to the alignment that a request for SIZE
45978 + bytes will have. The alignment is expressed as a power of two. If
45979 + no alignment should take place, the macro definition should do
45980 + nothing. Some targets define a `.bss' directive that is also
45981 + affected by this macro. The default definition will set P2VAR to
45982 + the truncated power of two of sizes up to eight bytes.
45984 + We want doublewords to be word-aligned, so we're going to modify the
45985 + default definition a tiny bit.
45987 +#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR) \
45990 + if ((SIZE) >= 4) \
45992 + else if ((SIZE) >= 2) \
45999 +/* When relaxing, we need to generate relocations for alignment
46001 +#define HANDLE_ALIGN(frag) avr32_handle_align(frag)
46002 +extern void avr32_handle_align(fragS *);
46004 +/* See internals doc for explanation. Oh wait...
46005 + Now, can you guess where "alignment" comes from? ;-) */
46006 +#define MAX_MEM_FOR_RS_ALIGN_CODE ((1 << alignment) - 1)
46008 +/* We need to stop gas from reducing certain expressions (e.g. GOT
46010 +#define tc_fix_adjustable(fix) avr32_fix_adjustable(fix)
46011 +extern bfd_boolean avr32_fix_adjustable(struct fix *);
46013 +/* The linker needs to be passed a little more information when relaxing. */
46014 +#define TC_FORCE_RELOCATION(fix) avr32_force_reloc(fix)
46015 +extern bfd_boolean avr32_force_reloc(struct fix *);
46017 +/* I'm tired of working around all the madness in fixup_segment().
46018 + This hook will do basically the same things as the generic code,
46019 + and then it will "goto" right past it. */
46020 +#define TC_VALIDATE_FIX(FIX, SEG, SKIP) \
46023 + avr32_process_fixup(FIX, SEG); \
46024 + if (!(FIX)->fx_done) \
46025 + ++seg_reloc_count; \
46029 +extern void avr32_process_fixup(struct fix *fixP, segT this_segment);
46031 +/* We don't want the gas core to make any assumptions about our way of
46032 + doing linkrelaxing. */
46033 +#define TC_LINKRELAX_FIXUP(SEG) 0
46035 +/* ... but we do want it to insert lots of padding. */
46036 +#define LINKER_RELAXING_SHRINKS_ONLY
46038 +/* Better do it ourselves, really... */
46039 +#define TC_RELAX_ALIGN(SEG, FRAG, ADDR) avr32_relax_align(SEG, FRAG, ADDR)
46040 +extern relax_addressT
46041 +avr32_relax_align(segT segment, fragS *fragP, relax_addressT address);
46043 +/* This is called by write_object_file() just before symbols are
46044 + attempted converted into section symbols. */
46045 +#define tc_frob_file_before_adjust() avr32_frob_file()
46046 +extern void avr32_frob_file(void);
46048 +/* If you define this macro, GAS will call it at the end of each input
46050 +#define md_cleanup() avr32_cleanup()
46051 +extern void avr32_cleanup(void);
46053 +/* There's an AVR32-specific hack in operand() which creates O_md
46054 + expressions when encountering HWRD or LWRD. We need to generate
46055 + proper relocs for them */
46056 +/* #define md_cgen_record_fixup_exp avr32_cgen_record_fixup_exp */
46058 +/* I needed to add an extra hook in gas_cgen_finish_insn() for
46059 + conversion of O_md* operands because md_cgen_record_fixup_exp()
46060 + isn't called for relaxable insns */
46061 +/* #define md_cgen_convert_expr(exp, opinfo) avr32_cgen_convert_expr(exp, opinfo)
46062 + int avr32_cgen_convert_expr(expressionS *, int); */
46064 +/* #define tc_gen_reloc gas_cgen_tc_gen_reloc */
46066 +/* If you define this macro, it should return the position from which
46067 + the PC relative adjustment for a PC relative fixup should be
46068 + made. On many processors, the base of a PC relative instruction is
46069 + the next instruction, so this macro would return the length of an
46070 + instruction, plus the address of the PC relative fixup. The latter
46071 + can be calculated as fixp->fx_where + fixp->fx_frag->fr_address. */
46072 +extern long md_pcrel_from_section (struct fix *, segT);
46073 +#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
46075 +#define LOCAL_LABEL(name) (name[0] == '.' && (name[1] == 'L'))
46076 +#define LOCAL_LABELS_FB 1
46078 +struct avr32_relaxer
46080 + int (*estimate_size)(fragS *, segT);
46081 + long (*relax_frag)(segT, fragS *, long);
46082 + void (*convert_frag)(bfd *, segT, fragS *);
46085 +/* AVR32 has quite complex instruction coding, which means we need
46086 + * lots of information in order to do the right thing during relaxing
46087 + * (basically, we need to be able to reconstruct a whole new opcode if
46089 +#define TC_FRAG_TYPE struct avr32_frag_data
46093 +struct avr32_frag_data
46095 + /* TODO: Maybe add an expression object here so that we can use
46096 + fix_new_exp() in md_convert_frag? We may have to decide
46097 + pcrel-ness in md_estimate_size_before_relax() as well...or we
46098 + might do it when parsing. Doing it while parsing may fail
46099 + because the sub_symbol is undefined then... */
46101 + int force_extended;
46103 + struct avr32_relaxer *relaxer;
46106 + /* Points to associated constant pool, for use by LDA and CALL in
46107 + non-pic mode, and when relaxing the .cpool directive */
46108 + struct cpool *pool;
46109 + unsigned int pool_entry;
46112 +/* We will have to initialize the fields explicitly when needed */
46113 +#define TC_FRAG_INIT(fragP)
46115 +#define md_estimate_size_before_relax(fragP, segT) \
46116 + ((fragP)->tc_frag_data.relaxer->estimate_size(fragP, segT))
46117 +#define md_relax_frag(segment, fragP, stretch) \
46118 + ((fragP)->tc_frag_data.relaxer->relax_frag(segment, fragP, stretch))
46119 +#define md_convert_frag(abfd, segment, fragP) \
46120 + ((fragP)->tc_frag_data.relaxer->convert_frag(abfd, segment, fragP))
46122 +#define TC_FIX_TYPE struct avr32_fix_data
46124 +struct avr32_fix_data
46126 + const struct avr32_ifield *ifield;
46127 + unsigned int align;
46132 +#define TC_INIT_FIX_DATA(fixP) \
46135 + (fixP)->tc_fix_data.ifield = NULL; \
46136 + (fixP)->tc_fix_data.align = 0; \
46137 + (fixP)->tc_fix_data.min = 0; \
46138 + (fixP)->tc_fix_data.max = 0; \
46141 diff -Nrup binutils-2.17/gas/configure.tgt binutils-2.17.atmel.1.3.0/gas/configure.tgt
46142 --- binutils-2.17/gas/configure.tgt 2006-04-05 14:41:57.000000000 +0200
46143 +++ binutils-2.17.atmel.1.3.0/gas/configure.tgt 2007-03-26 10:20:16.000000000 +0200
46144 @@ -33,6 +33,7 @@ case ${cpu} in
46145 am33_2.0) cpu_type=mn10300 endian=little ;;
46146 arm*be|arm*b) cpu_type=arm endian=big ;;
46147 arm*) cpu_type=arm endian=little ;;
46148 + avr32*) cpu_type=avr32 endian=big ;;
46149 bfin*) cpu_type=bfin endian=little ;;
46150 c4x*) cpu_type=tic4x ;;
46151 crisv32) cpu_type=cris arch=crisv32 ;;
46152 @@ -122,6 +123,9 @@ case ${generic_target} in
46153 bfin-*-*) fmt=elf bfd_gas=yes ;;
46154 bfin-*elf) fmt=elf ;;
46156 + avr32-*-linux*) fmt=elf em=linux bfd_gas=yes ;;
46157 + avr32*) fmt=elf bfd_gas=yes ;;
46159 cris-*-linux-* | crisv32-*-linux-*)
46160 fmt=multi em=linux ;;
46161 cris-*-* | crisv32-*-*) fmt=multi ;;
46162 diff -Nrup binutils-2.17/gas/doc/all.texi binutils-2.17.atmel.1.3.0/gas/doc/all.texi
46163 --- binutils-2.17/gas/doc/all.texi 2006-02-17 15:36:25.000000000 +0100
46164 +++ binutils-2.17.atmel.1.3.0/gas/doc/all.texi 2007-03-26 10:19:41.000000000 +0200
46173 diff -Nrup binutils-2.17/gas/doc/as.info binutils-2.17.atmel.1.3.0/gas/doc/as.info
46174 --- binutils-2.17/gas/doc/as.info 2006-06-23 20:19:50.000000000 +0200
46175 +++ binutils-2.17.atmel.1.3.0/gas/doc/as.info 2007-03-26 10:35:18.000000000 +0200
46177 -This is ../.././gas/doc/as.info, produced by makeinfo version 4.8 from
46178 -../.././gas/doc/as.texinfo.
46180 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/gas/doc/as.info,
46181 +produced by makeinfo version 4.8 from
46182 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/gas/doc/as.texinfo.
46184 START-INFO-DIR-ENTRY
46185 * As: (as). The GNU assembler.
46186 @@ -17890,463 +17892,463 @@ Index
46191 -Node: Overview
\7f1695
46192 -Node: Manual
\7f28187
46193 -Node: GNU Assembler
\7f29131
46194 -Node: Object Formats
\7f30302
46195 -Node: Command Line
\7f30754
46196 -Node: Input Files
\7f31841
46197 -Node: Object
\7f33822
46198 -Node: Errors
\7f34718
46199 -Node: Invoking
\7f35913
46201 -Node: alternate
\7f39634
46207 -Node: listing
\7f42231
46212 -Node: statistics
\7f50135
46213 -Node: traditional-format
\7f50542
46217 -Node: Syntax
\7f52719
46218 -Node: Preprocessing
\7f53310
46219 -Node: Whitespace
\7f54873
46220 -Node: Comments
\7f55269
46221 -Node: Symbol Intro
\7f57422
46222 -Node: Statements
\7f58112
46223 -Node: Constants
\7f60028
46224 -Node: Characters
\7f60659
46225 -Node: Strings
\7f61161
46226 -Node: Chars
\7f63327
46227 -Node: Numbers
\7f64081
46228 -Node: Integers
\7f64621
46229 -Node: Bignums
\7f65277
46230 -Node: Flonums
\7f65633
46231 -Node: Sections
\7f67380
46232 -Node: Secs Background
\7f67758
46233 -Node: Ld Sections
\7f72797
46234 -Node: As Sections
\7f75181
46235 -Node: Sub-Sections
\7f76091
46237 -Node: Symbols
\7f80188
46238 -Node: Labels
\7f80836
46239 -Node: Setting Symbols
\7f81567
46240 -Node: Symbol Names
\7f82063
46242 -Node: Symbol Attributes
\7f86875
46243 -Node: Symbol Value
\7f87612
46244 -Node: Symbol Type
\7f88657
46245 -Node: a.out Symbols
\7f89045
46246 -Node: Symbol Desc
\7f89307
46247 -Node: Symbol Other
\7f89602
46248 -Node: COFF Symbols
\7f89771
46249 -Node: SOM Symbols
\7f90444
46250 -Node: Expressions
\7f90886
46251 -Node: Empty Exprs
\7f91635
46252 -Node: Integer Exprs
\7f91982
46253 -Node: Arguments
\7f92377
46254 -Node: Operators
\7f93483
46255 -Node: Prefix Ops
\7f93818
46256 -Node: Infix Ops
\7f94146
46257 -Node: Pseudo Ops
\7f96536
46258 -Node: Abort
\7f101731
46259 -Node: ABORT
\7f102136
46260 -Node: Align
\7f102323
46261 -Node: Ascii
\7f104605
46262 -Node: Asciz
\7f104914
46263 -Node: Balign
\7f105159
46264 -Node: Byte
\7f107022
46265 -Node: Comm
\7f107260
46266 -Node: CFI directives
\7f108634
46267 -Node: LNS directives
\7f110986
46268 -Node: Data
\7f113063
46269 -Node: Def
\7f113390
46270 -Node: Desc
\7f113622
46271 -Node: Dim
\7f114122
46272 -Node: Double
\7f114379
46273 -Node: Eject
\7f114717
46274 -Node: Else
\7f114892
46275 -Node: Elseif
\7f115188
46276 -Node: End
\7f115478
46277 -Node: Endef
\7f115693
46278 -Node: Endfunc
\7f115870
46279 -Node: Endif
\7f116045
46280 -Node: Equ
\7f116306
46281 -Node: Equiv
\7f116815
46282 -Node: Eqv
\7f117371
46283 -Node: Err
\7f117735
46284 -Node: Error
\7f118046
46285 -Node: Exitm
\7f118491
46286 -Node: Extern
\7f118660
46287 -Node: Fail
\7f118921
46288 -Node: File
\7f119366
46289 -Node: Fill
\7f119843
46290 -Node: Float
\7f120807
46291 -Node: Func
\7f121149
46292 -Node: Global
\7f121739
46293 -Node: Hidden
\7f122489
46294 -Node: hword
\7f123068
46295 -Node: Ident
\7f123396
46297 -Node: Incbin
\7f127029
46298 -Node: Include
\7f127724
46299 -Node: Int
\7f128275
46300 -Node: Internal
\7f128656
46301 -Node: Irp
\7f129304
46302 -Node: Irpc
\7f130201
46303 -Node: Lcomm
\7f131118
46304 -Node: Lflags
\7f131866
46305 -Node: Line
\7f132060
46306 -Node: Linkonce
\7f132979
46308 -Node: MRI
\7f134369
46309 -Node: List
\7f134707
46310 -Node: Long
\7f135315
46311 -Node: Macro
\7f135501
46312 -Node: Altmacro
\7f140064
46313 -Node: Noaltmacro
\7f141394
46314 -Node: Nolist
\7f141562
46315 -Node: Octa
\7f141992
46316 -Node: Org
\7f142326
46317 -Node: P2align
\7f143609
46318 -Node: Previous
\7f145537
46319 -Node: PopSection
\7f146231
46320 -Node: Print
\7f146739
46321 -Node: Protected
\7f146968
46322 -Node: Psize
\7f147615
46323 -Node: Purgem
\7f148299
46324 -Node: PushSection
\7f148520
46325 -Node: Quad
\7f149077
46326 -Node: Rept
\7f149532
46327 -Node: Sbttl
\7f149945
46328 -Node: Scl
\7f150310
46329 -Node: Section
\7f150651
46330 -Node: Set
\7f155791
46331 -Node: Short
\7f156428
46332 -Node: Single
\7f156748
46333 -Node: Size
\7f157093
46334 -Node: Sleb128
\7f157765
46335 -Node: Skip
\7f158087
46336 -Node: Space
\7f158409
46337 -Node: Stab
\7f159048
46338 -Node: String
\7f161050
46339 -Node: Struct
\7f161476
46340 -Node: SubSection
\7f162199
46341 -Node: Symver
\7f162760
46342 -Node: Tag
\7f165151
46343 -Node: Text
\7f165531
46344 -Node: Title
\7f165850
46345 -Node: Type
\7f166229
46346 -Node: Uleb128
\7f167306
46347 -Node: Val
\7f167630
46348 -Node: Version
\7f167880
46349 -Node: VTableEntry
\7f168155
46350 -Node: VTableInherit
\7f168445
46351 -Node: Warning
\7f168891
46352 -Node: Weak
\7f169125
46353 -Node: Weakref
\7f169794
46354 -Node: Word
\7f170759
46355 -Node: Deprecated
\7f172605
46356 -Node: Machine Dependencies
\7f172840
46357 -Node: Alpha-Dependent
\7f175604
46358 -Node: Alpha Notes
\7f176018
46359 -Node: Alpha Options
\7f176299
46360 -Node: Alpha Syntax
\7f178497
46361 -Node: Alpha-Chars
\7f178966
46362 -Node: Alpha-Regs
\7f179197
46363 -Node: Alpha-Relocs
\7f179584
46364 -Node: Alpha Floating Point
\7f185842
46365 -Node: Alpha Directives
\7f186064
46366 -Node: Alpha Opcodes
\7f191587
46367 -Node: ARC-Dependent
\7f191882
46368 -Node: ARC Options
\7f192265
46369 -Node: ARC Syntax
\7f193334
46370 -Node: ARC-Chars
\7f193566
46371 -Node: ARC-Regs
\7f193698
46372 -Node: ARC Floating Point
\7f193822
46373 -Node: ARC Directives
\7f194133
46374 -Node: ARC Opcodes
\7f200104
46375 -Node: ARM-Dependent
\7f200330
46376 -Node: ARM Options
\7f200757
46377 -Node: ARM Syntax
\7f206551
46378 -Node: ARM-Chars
\7f206783
46379 -Node: ARM-Regs
\7f207307
46380 -Node: ARM Floating Point
\7f207492
46381 -Node: ARM Directives
\7f207691
46382 -Node: ARM Opcodes
\7f214055
46383 -Node: ARM Mapping Symbols
\7f216143
46384 -Node: BFIN-Dependent
\7f216922
46385 -Node: BFIN Syntax
\7f217176
46386 -Node: BFIN Directives
\7f222873
46387 -Node: CRIS-Dependent
\7f223280
46388 -Node: CRIS-Opts
\7f223626
46389 -Ref: march-option
\7f225244
46390 -Node: CRIS-Expand
\7f227061
46391 -Node: CRIS-Symbols
\7f228244
46392 -Node: CRIS-Syntax
\7f229413
46393 -Node: CRIS-Chars
\7f229749
46394 -Node: CRIS-Pic
\7f230300
46395 -Ref: crispic
\7f230496
46396 -Node: CRIS-Regs
\7f234036
46397 -Node: CRIS-Pseudos
\7f234453
46398 -Ref: crisnous
\7f235229
46399 -Node: D10V-Dependent
\7f236511
46400 -Node: D10V-Opts
\7f236862
46401 -Node: D10V-Syntax
\7f237825
46402 -Node: D10V-Size
\7f238354
46403 -Node: D10V-Subs
\7f239327
46404 -Node: D10V-Chars
\7f240362
46405 -Node: D10V-Regs
\7f241966
46406 -Node: D10V-Addressing
\7f243011
46407 -Node: D10V-Word
\7f243697
46408 -Node: D10V-Float
\7f244212
46409 -Node: D10V-Opcodes
\7f244523
46410 -Node: D30V-Dependent
\7f244916
46411 -Node: D30V-Opts
\7f245269
46412 -Node: D30V-Syntax
\7f245944
46413 -Node: D30V-Size
\7f246476
46414 -Node: D30V-Subs
\7f247447
46415 -Node: D30V-Chars
\7f248482
46416 -Node: D30V-Guarded
\7f250780
46417 -Node: D30V-Regs
\7f251460
46418 -Node: D30V-Addressing
\7f252599
46419 -Node: D30V-Float
\7f253267
46420 -Node: D30V-Opcodes
\7f253578
46421 -Node: H8/300-Dependent
\7f253971
46422 -Node: H8/300 Options
\7f254381
46423 -Node: H8/300 Syntax
\7f254590
46424 -Node: H8/300-Chars
\7f254889
46425 -Node: H8/300-Regs
\7f255186
46426 -Node: H8/300-Addressing
\7f256103
46427 -Node: H8/300 Floating Point
\7f257142
46428 -Node: H8/300 Directives
\7f257467
46429 -Node: H8/300 Opcodes
\7f258593
46430 -Node: HPPA-Dependent
\7f266913
46431 -Node: HPPA Notes
\7f267346
46432 -Node: HPPA Options
\7f268102
46433 -Node: HPPA Syntax
\7f268295
46434 -Node: HPPA Floating Point
\7f269563
46435 -Node: HPPA Directives
\7f269767
46436 -Node: HPPA Opcodes
\7f278451
46437 -Node: ESA/390-Dependent
\7f278708
46438 -Node: ESA/390 Notes
\7f279168
46439 -Node: ESA/390 Options
\7f279959
46440 -Node: ESA/390 Syntax
\7f280169
46441 -Node: ESA/390 Floating Point
\7f282342
46442 -Node: ESA/390 Directives
\7f282621
46443 -Node: ESA/390 Opcodes
\7f285910
46444 -Node: i386-Dependent
\7f286172
46445 -Node: i386-Options
\7f287240
46446 -Node: i386-Syntax
\7f288430
46447 -Node: i386-Mnemonics
\7f290844
46448 -Node: i386-Regs
\7f293309
46449 -Node: i386-Prefixes
\7f295354
46450 -Node: i386-Memory
\7f298114
46451 -Node: i386-Jumps
\7f301051
46452 -Node: i386-Float
\7f302172
46453 -Node: i386-SIMD
\7f304001
46454 -Node: i386-16bit
\7f305110
46455 -Node: i386-Bugs
\7f307148
46456 -Node: i386-Arch
\7f307902
46457 -Node: i386-Notes
\7f310083
46458 -Node: i860-Dependent
\7f310941
46459 -Node: Notes-i860
\7f311337
46460 -Node: Options-i860
\7f312242
46461 -Node: Directives-i860
\7f313605
46462 -Node: Opcodes for i860
\7f314674
46463 -Node: i960-Dependent
\7f316841
46464 -Node: Options-i960
\7f317244
46465 -Node: Floating Point-i960
\7f321128
46466 -Node: Directives-i960
\7f321396
46467 -Node: Opcodes for i960
\7f323430
46468 -Node: callj-i960
\7f324047
46469 -Node: Compare-and-branch-i960
\7f324536
46470 -Node: IA-64-Dependent
\7f326440
46471 -Node: IA-64 Options
\7f326741
46472 -Node: IA-64 Syntax
\7f329901
46473 -Node: IA-64-Chars
\7f330264
46474 -Node: IA-64-Regs
\7f330494
46475 -Node: IA-64-Bits
\7f331420
46476 -Node: IA-64 Opcodes
\7f331929
46477 -Node: IP2K-Dependent
\7f332201
46478 -Node: IP2K-Opts
\7f332429
46479 -Node: M32C-Dependent
\7f332909
46480 -Node: M32C-Opts
\7f333433
46481 -Node: M32C-Modifiers
\7f333717
46482 -Node: M32R-Dependent
\7f335504
46483 -Node: M32R-Opts
\7f335825
46484 -Node: M32R-Directives
\7f339991
46485 -Node: M32R-Warnings
\7f343966
46486 -Node: M68K-Dependent
\7f346972
46487 -Node: M68K-Opts
\7f347439
46488 -Node: M68K-Syntax
\7f354818
46489 -Node: M68K-Moto-Syntax
\7f356657
46490 -Node: M68K-Float
\7f359246
46491 -Node: M68K-Directives
\7f359766
46492 -Node: M68K-opcodes
\7f361092
46493 -Node: M68K-Branch
\7f361318
46494 -Node: M68K-Chars
\7f365516
46495 -Node: M68HC11-Dependent
\7f365929
46496 -Node: M68HC11-Opts
\7f366460
46497 -Node: M68HC11-Syntax
\7f370276
46498 -Node: M68HC11-Modifiers
\7f372490
46499 -Node: M68HC11-Directives
\7f374318
46500 -Node: M68HC11-Float
\7f375694
46501 -Node: M68HC11-opcodes
\7f376222
46502 -Node: M68HC11-Branch
\7f376404
46503 -Node: MIPS-Dependent
\7f378851
46504 -Node: MIPS Opts
\7f379941
46505 -Node: MIPS Object
\7f387268
46506 -Node: MIPS Stabs
\7f388834
46507 -Node: MIPS symbol sizes
\7f389556
46508 -Node: MIPS ISA
\7f391225
46509 -Node: MIPS autoextend
\7f392374
46510 -Node: MIPS insn
\7f393104
46511 -Node: MIPS option stack
\7f393601
46512 -Node: MIPS ASE instruction generation overrides
\7f394375
46513 -Node: MMIX-Dependent
\7f395592
46514 -Node: MMIX-Opts
\7f395972
46515 -Node: MMIX-Expand
\7f399576
46516 -Node: MMIX-Syntax
\7f400891
46517 -Ref: mmixsite
\7f401248
46518 -Node: MMIX-Chars
\7f402089
46519 -Node: MMIX-Symbols
\7f402743
46520 -Node: MMIX-Regs
\7f404811
46521 -Node: MMIX-Pseudos
\7f405836
46522 -Ref: MMIX-loc
\7f405977
46523 -Ref: MMIX-local
\7f407057
46524 -Ref: MMIX-is
\7f407589
46525 -Ref: MMIX-greg
\7f407860
46526 -Ref: GREG-base
\7f408779
46527 -Ref: MMIX-byte
\7f410096
46528 -Ref: MMIX-constants
\7f410567
46529 -Ref: MMIX-prefix
\7f411213
46530 -Ref: MMIX-spec
\7f411587
46531 -Node: MMIX-mmixal
\7f411921
46532 -Node: MSP430-Dependent
\7f415418
46533 -Node: MSP430 Options
\7f415884
46534 -Node: MSP430 Syntax
\7f416170
46535 -Node: MSP430-Macros
\7f416486
46536 -Node: MSP430-Chars
\7f417217
46537 -Node: MSP430-Regs
\7f417530
46538 -Node: MSP430-Ext
\7f418090
46539 -Node: MSP430 Floating Point
\7f419911
46540 -Node: MSP430 Directives
\7f420135
46541 -Node: MSP430 Opcodes
\7f420926
46542 -Node: MSP430 Profiling Capability
\7f421321
46543 -Node: PDP-11-Dependent
\7f423650
46544 -Node: PDP-11-Options
\7f424039
46545 -Node: PDP-11-Pseudos
\7f429110
46546 -Node: PDP-11-Syntax
\7f429455
46547 -Node: PDP-11-Mnemonics
\7f430206
46548 -Node: PDP-11-Synthetic
\7f430508
46549 -Node: PJ-Dependent
\7f430726
46550 -Node: PJ Options
\7f430951
46551 -Node: PPC-Dependent
\7f431228
46552 -Node: PowerPC-Opts
\7f431515
46553 -Node: PowerPC-Pseudo
\7f433590
46554 -Node: SH-Dependent
\7f434189
46555 -Node: SH Options
\7f434601
46556 -Node: SH Syntax
\7f435529
46557 -Node: SH-Chars
\7f435802
46558 -Node: SH-Regs
\7f436096
46559 -Node: SH-Addressing
\7f436710
46560 -Node: SH Floating Point
\7f437619
46561 -Node: SH Directives
\7f438713
46562 -Node: SH Opcodes
\7f439083
46563 -Node: SH64-Dependent
\7f443405
46564 -Node: SH64 Options
\7f443768
46565 -Node: SH64 Syntax
\7f445485
46566 -Node: SH64-Chars
\7f445768
46567 -Node: SH64-Regs
\7f446068
46568 -Node: SH64-Addressing
\7f447164
46569 -Node: SH64 Directives
\7f448347
46570 -Node: SH64 Opcodes
\7f449457
46571 -Node: Sparc-Dependent
\7f450173
46572 -Node: Sparc-Opts
\7f450558
46573 -Node: Sparc-Aligned-Data
\7f452815
46574 -Node: Sparc-Float
\7f453670
46575 -Node: Sparc-Directives
\7f453871
46576 -Node: TIC54X-Dependent
\7f455831
46577 -Node: TIC54X-Opts
\7f456557
46578 -Node: TIC54X-Block
\7f457600
46579 -Node: TIC54X-Env
\7f457960
46580 -Node: TIC54X-Constants
\7f458308
46581 -Node: TIC54X-Subsyms
\7f458710
46582 -Node: TIC54X-Locals
\7f460619
46583 -Node: TIC54X-Builtins
\7f461363
46584 -Node: TIC54X-Ext
\7f463834
46585 -Node: TIC54X-Directives
\7f464405
46586 -Node: TIC54X-Macros
\7f475307
46587 -Node: TIC54X-MMRegs
\7f477417
46588 -Node: Z80-Dependent
\7f477633
46589 -Node: Z80 Options
\7f478021
46590 -Node: Z80 Syntax
\7f479444
46591 -Node: Z80-Chars
\7f480116
46592 -Node: Z80-Regs
\7f480649
46593 -Node: Z80-Case
\7f481001
46594 -Node: Z80 Floating Point
\7f481446
46595 -Node: Z80 Directives
\7f481640
46596 -Node: Z80 Opcodes
\7f483265
46597 -Node: Z8000-Dependent
\7f484607
46598 -Node: Z8000 Options
\7f485568
46599 -Node: Z8000 Syntax
\7f485785
46600 -Node: Z8000-Chars
\7f486075
46601 -Node: Z8000-Regs
\7f486308
46602 -Node: Z8000-Addressing
\7f487098
46603 -Node: Z8000 Directives
\7f488215
46604 -Node: Z8000 Opcodes
\7f489824
46605 -Node: Vax-Dependent
\7f499766
46606 -Node: VAX-Opts
\7f500283
46607 -Node: VAX-float
\7f504018
46608 -Node: VAX-directives
\7f504650
46609 -Node: VAX-opcodes
\7f505511
46610 -Node: VAX-branch
\7f505900
46611 -Node: VAX-operands
\7f508407
46612 -Node: VAX-no
\7f509170
46613 -Node: V850-Dependent
\7f509407
46614 -Node: V850 Options
\7f509805
46615 -Node: V850 Syntax
\7f512194
46616 -Node: V850-Chars
\7f512434
46617 -Node: V850-Regs
\7f512599
46618 -Node: V850 Floating Point
\7f514167
46619 -Node: V850 Directives
\7f514373
46620 -Node: V850 Opcodes
\7f515516
46621 -Node: Xtensa-Dependent
\7f521408
46622 -Node: Xtensa Options
\7f522137
46623 -Node: Xtensa Syntax
\7f524908
46624 -Node: Xtensa Opcodes
\7f526797
46625 -Node: Xtensa Registers
\7f528591
46626 -Node: Xtensa Optimizations
\7f529224
46627 -Node: Density Instructions
\7f529676
46628 -Node: Xtensa Automatic Alignment
\7f530778
46629 -Node: Xtensa Relaxation
\7f533524
46630 -Node: Xtensa Branch Relaxation
\7f534432
46631 -Node: Xtensa Call Relaxation
\7f535804
46632 -Node: Xtensa Immediate Relaxation
\7f537590
46633 -Node: Xtensa Directives
\7f540164
46634 -Node: Schedule Directive
\7f541872
46635 -Node: Longcalls Directive
\7f542212
46636 -Node: Transform Directive
\7f542756
46637 -Node: Literal Directive
\7f543498
46638 -Node: Literal Position Directive
\7f545283
46639 -Node: Literal Prefix Directive
\7f546982
46640 -Node: Absolute Literals Directive
\7f549145
46641 -Node: Reporting Bugs
\7f550452
46642 -Node: Bug Criteria
\7f551176
46643 -Node: Bug Reporting
\7f551941
46644 -Node: Acknowledgements
\7f558574
46645 -Ref: Acknowledgements-Footnote-1
\7f563472
46646 -Node: GNU Free Documentation License
\7f563498
46647 -Node: Index
\7f583225
46649 +Node: Overview
\7f1829
46650 +Node: Manual
\7f28321
46651 +Node: GNU Assembler
\7f29265
46652 +Node: Object Formats
\7f30436
46653 +Node: Command Line
\7f30888
46654 +Node: Input Files
\7f31975
46655 +Node: Object
\7f33956
46656 +Node: Errors
\7f34852
46657 +Node: Invoking
\7f36047
46659 +Node: alternate
\7f39768
46665 +Node: listing
\7f42365
46670 +Node: statistics
\7f50269
46671 +Node: traditional-format
\7f50676
46675 +Node: Syntax
\7f52853
46676 +Node: Preprocessing
\7f53444
46677 +Node: Whitespace
\7f55007
46678 +Node: Comments
\7f55403
46679 +Node: Symbol Intro
\7f57556
46680 +Node: Statements
\7f58246
46681 +Node: Constants
\7f60162
46682 +Node: Characters
\7f60793
46683 +Node: Strings
\7f61295
46684 +Node: Chars
\7f63461
46685 +Node: Numbers
\7f64215
46686 +Node: Integers
\7f64755
46687 +Node: Bignums
\7f65411
46688 +Node: Flonums
\7f65767
46689 +Node: Sections
\7f67514
46690 +Node: Secs Background
\7f67892
46691 +Node: Ld Sections
\7f72931
46692 +Node: As Sections
\7f75315
46693 +Node: Sub-Sections
\7f76225
46695 +Node: Symbols
\7f80322
46696 +Node: Labels
\7f80970
46697 +Node: Setting Symbols
\7f81701
46698 +Node: Symbol Names
\7f82197
46700 +Node: Symbol Attributes
\7f87009
46701 +Node: Symbol Value
\7f87746
46702 +Node: Symbol Type
\7f88791
46703 +Node: a.out Symbols
\7f89179
46704 +Node: Symbol Desc
\7f89441
46705 +Node: Symbol Other
\7f89736
46706 +Node: COFF Symbols
\7f89905
46707 +Node: SOM Symbols
\7f90578
46708 +Node: Expressions
\7f91020
46709 +Node: Empty Exprs
\7f91769
46710 +Node: Integer Exprs
\7f92116
46711 +Node: Arguments
\7f92511
46712 +Node: Operators
\7f93617
46713 +Node: Prefix Ops
\7f93952
46714 +Node: Infix Ops
\7f94280
46715 +Node: Pseudo Ops
\7f96670
46716 +Node: Abort
\7f101865
46717 +Node: ABORT
\7f102270
46718 +Node: Align
\7f102457
46719 +Node: Ascii
\7f104739
46720 +Node: Asciz
\7f105048
46721 +Node: Balign
\7f105293
46722 +Node: Byte
\7f107156
46723 +Node: Comm
\7f107394
46724 +Node: CFI directives
\7f108768
46725 +Node: LNS directives
\7f111120
46726 +Node: Data
\7f113197
46727 +Node: Def
\7f113524
46728 +Node: Desc
\7f113756
46729 +Node: Dim
\7f114256
46730 +Node: Double
\7f114513
46731 +Node: Eject
\7f114851
46732 +Node: Else
\7f115026
46733 +Node: Elseif
\7f115322
46734 +Node: End
\7f115612
46735 +Node: Endef
\7f115827
46736 +Node: Endfunc
\7f116004
46737 +Node: Endif
\7f116179
46738 +Node: Equ
\7f116440
46739 +Node: Equiv
\7f116949
46740 +Node: Eqv
\7f117505
46741 +Node: Err
\7f117869
46742 +Node: Error
\7f118180
46743 +Node: Exitm
\7f118625
46744 +Node: Extern
\7f118794
46745 +Node: Fail
\7f119055
46746 +Node: File
\7f119500
46747 +Node: Fill
\7f119977
46748 +Node: Float
\7f120941
46749 +Node: Func
\7f121283
46750 +Node: Global
\7f121873
46751 +Node: Hidden
\7f122623
46752 +Node: hword
\7f123202
46753 +Node: Ident
\7f123530
46755 +Node: Incbin
\7f127163
46756 +Node: Include
\7f127858
46757 +Node: Int
\7f128409
46758 +Node: Internal
\7f128790
46759 +Node: Irp
\7f129438
46760 +Node: Irpc
\7f130335
46761 +Node: Lcomm
\7f131252
46762 +Node: Lflags
\7f132000
46763 +Node: Line
\7f132194
46764 +Node: Linkonce
\7f133113
46766 +Node: MRI
\7f134503
46767 +Node: List
\7f134841
46768 +Node: Long
\7f135449
46769 +Node: Macro
\7f135635
46770 +Node: Altmacro
\7f140198
46771 +Node: Noaltmacro
\7f141528
46772 +Node: Nolist
\7f141696
46773 +Node: Octa
\7f142126
46774 +Node: Org
\7f142460
46775 +Node: P2align
\7f143743
46776 +Node: Previous
\7f145671
46777 +Node: PopSection
\7f146365
46778 +Node: Print
\7f146873
46779 +Node: Protected
\7f147102
46780 +Node: Psize
\7f147749
46781 +Node: Purgem
\7f148433
46782 +Node: PushSection
\7f148654
46783 +Node: Quad
\7f149211
46784 +Node: Rept
\7f149666
46785 +Node: Sbttl
\7f150079
46786 +Node: Scl
\7f150444
46787 +Node: Section
\7f150785
46788 +Node: Set
\7f155925
46789 +Node: Short
\7f156562
46790 +Node: Single
\7f156882
46791 +Node: Size
\7f157227
46792 +Node: Sleb128
\7f157899
46793 +Node: Skip
\7f158221
46794 +Node: Space
\7f158543
46795 +Node: Stab
\7f159182
46796 +Node: String
\7f161184
46797 +Node: Struct
\7f161610
46798 +Node: SubSection
\7f162333
46799 +Node: Symver
\7f162894
46800 +Node: Tag
\7f165285
46801 +Node: Text
\7f165665
46802 +Node: Title
\7f165984
46803 +Node: Type
\7f166363
46804 +Node: Uleb128
\7f167440
46805 +Node: Val
\7f167764
46806 +Node: Version
\7f168014
46807 +Node: VTableEntry
\7f168289
46808 +Node: VTableInherit
\7f168579
46809 +Node: Warning
\7f169025
46810 +Node: Weak
\7f169259
46811 +Node: Weakref
\7f169928
46812 +Node: Word
\7f170893
46813 +Node: Deprecated
\7f172739
46814 +Node: Machine Dependencies
\7f172974
46815 +Node: Alpha-Dependent
\7f175738
46816 +Node: Alpha Notes
\7f176152
46817 +Node: Alpha Options
\7f176433
46818 +Node: Alpha Syntax
\7f178631
46819 +Node: Alpha-Chars
\7f179100
46820 +Node: Alpha-Regs
\7f179331
46821 +Node: Alpha-Relocs
\7f179718
46822 +Node: Alpha Floating Point
\7f185976
46823 +Node: Alpha Directives
\7f186198
46824 +Node: Alpha Opcodes
\7f191721
46825 +Node: ARC-Dependent
\7f192016
46826 +Node: ARC Options
\7f192399
46827 +Node: ARC Syntax
\7f193468
46828 +Node: ARC-Chars
\7f193700
46829 +Node: ARC-Regs
\7f193832
46830 +Node: ARC Floating Point
\7f193956
46831 +Node: ARC Directives
\7f194267
46832 +Node: ARC Opcodes
\7f200238
46833 +Node: ARM-Dependent
\7f200464
46834 +Node: ARM Options
\7f200891
46835 +Node: ARM Syntax
\7f206685
46836 +Node: ARM-Chars
\7f206917
46837 +Node: ARM-Regs
\7f207441
46838 +Node: ARM Floating Point
\7f207626
46839 +Node: ARM Directives
\7f207825
46840 +Node: ARM Opcodes
\7f214189
46841 +Node: ARM Mapping Symbols
\7f216277
46842 +Node: BFIN-Dependent
\7f217056
46843 +Node: BFIN Syntax
\7f217310
46844 +Node: BFIN Directives
\7f223007
46845 +Node: CRIS-Dependent
\7f223414
46846 +Node: CRIS-Opts
\7f223760
46847 +Ref: march-option
\7f225378
46848 +Node: CRIS-Expand
\7f227195
46849 +Node: CRIS-Symbols
\7f228378
46850 +Node: CRIS-Syntax
\7f229547
46851 +Node: CRIS-Chars
\7f229883
46852 +Node: CRIS-Pic
\7f230434
46853 +Ref: crispic
\7f230630
46854 +Node: CRIS-Regs
\7f234170
46855 +Node: CRIS-Pseudos
\7f234587
46856 +Ref: crisnous
\7f235363
46857 +Node: D10V-Dependent
\7f236645
46858 +Node: D10V-Opts
\7f236996
46859 +Node: D10V-Syntax
\7f237959
46860 +Node: D10V-Size
\7f238488
46861 +Node: D10V-Subs
\7f239461
46862 +Node: D10V-Chars
\7f240496
46863 +Node: D10V-Regs
\7f242100
46864 +Node: D10V-Addressing
\7f243145
46865 +Node: D10V-Word
\7f243831
46866 +Node: D10V-Float
\7f244346
46867 +Node: D10V-Opcodes
\7f244657
46868 +Node: D30V-Dependent
\7f245050
46869 +Node: D30V-Opts
\7f245403
46870 +Node: D30V-Syntax
\7f246078
46871 +Node: D30V-Size
\7f246610
46872 +Node: D30V-Subs
\7f247581
46873 +Node: D30V-Chars
\7f248616
46874 +Node: D30V-Guarded
\7f250914
46875 +Node: D30V-Regs
\7f251594
46876 +Node: D30V-Addressing
\7f252733
46877 +Node: D30V-Float
\7f253401
46878 +Node: D30V-Opcodes
\7f253712
46879 +Node: H8/300-Dependent
\7f254105
46880 +Node: H8/300 Options
\7f254515
46881 +Node: H8/300 Syntax
\7f254724
46882 +Node: H8/300-Chars
\7f255023
46883 +Node: H8/300-Regs
\7f255320
46884 +Node: H8/300-Addressing
\7f256237
46885 +Node: H8/300 Floating Point
\7f257276
46886 +Node: H8/300 Directives
\7f257601
46887 +Node: H8/300 Opcodes
\7f258727
46888 +Node: HPPA-Dependent
\7f267047
46889 +Node: HPPA Notes
\7f267480
46890 +Node: HPPA Options
\7f268236
46891 +Node: HPPA Syntax
\7f268429
46892 +Node: HPPA Floating Point
\7f269697
46893 +Node: HPPA Directives
\7f269901
46894 +Node: HPPA Opcodes
\7f278585
46895 +Node: ESA/390-Dependent
\7f278842
46896 +Node: ESA/390 Notes
\7f279302
46897 +Node: ESA/390 Options
\7f280093
46898 +Node: ESA/390 Syntax
\7f280303
46899 +Node: ESA/390 Floating Point
\7f282476
46900 +Node: ESA/390 Directives
\7f282755
46901 +Node: ESA/390 Opcodes
\7f286044
46902 +Node: i386-Dependent
\7f286306
46903 +Node: i386-Options
\7f287374
46904 +Node: i386-Syntax
\7f288564
46905 +Node: i386-Mnemonics
\7f290978
46906 +Node: i386-Regs
\7f293443
46907 +Node: i386-Prefixes
\7f295488
46908 +Node: i386-Memory
\7f298248
46909 +Node: i386-Jumps
\7f301185
46910 +Node: i386-Float
\7f302306
46911 +Node: i386-SIMD
\7f304135
46912 +Node: i386-16bit
\7f305244
46913 +Node: i386-Bugs
\7f307282
46914 +Node: i386-Arch
\7f308036
46915 +Node: i386-Notes
\7f310217
46916 +Node: i860-Dependent
\7f311075
46917 +Node: Notes-i860
\7f311471
46918 +Node: Options-i860
\7f312376
46919 +Node: Directives-i860
\7f313739
46920 +Node: Opcodes for i860
\7f314808
46921 +Node: i960-Dependent
\7f316975
46922 +Node: Options-i960
\7f317378
46923 +Node: Floating Point-i960
\7f321262
46924 +Node: Directives-i960
\7f321530
46925 +Node: Opcodes for i960
\7f323564
46926 +Node: callj-i960
\7f324181
46927 +Node: Compare-and-branch-i960
\7f324670
46928 +Node: IA-64-Dependent
\7f326574
46929 +Node: IA-64 Options
\7f326875
46930 +Node: IA-64 Syntax
\7f330035
46931 +Node: IA-64-Chars
\7f330398
46932 +Node: IA-64-Regs
\7f330628
46933 +Node: IA-64-Bits
\7f331554
46934 +Node: IA-64 Opcodes
\7f332063
46935 +Node: IP2K-Dependent
\7f332335
46936 +Node: IP2K-Opts
\7f332563
46937 +Node: M32C-Dependent
\7f333043
46938 +Node: M32C-Opts
\7f333567
46939 +Node: M32C-Modifiers
\7f333851
46940 +Node: M32R-Dependent
\7f335638
46941 +Node: M32R-Opts
\7f335959
46942 +Node: M32R-Directives
\7f340125
46943 +Node: M32R-Warnings
\7f344100
46944 +Node: M68K-Dependent
\7f347106
46945 +Node: M68K-Opts
\7f347573
46946 +Node: M68K-Syntax
\7f354952
46947 +Node: M68K-Moto-Syntax
\7f356791
46948 +Node: M68K-Float
\7f359380
46949 +Node: M68K-Directives
\7f359900
46950 +Node: M68K-opcodes
\7f361226
46951 +Node: M68K-Branch
\7f361452
46952 +Node: M68K-Chars
\7f365650
46953 +Node: M68HC11-Dependent
\7f366063
46954 +Node: M68HC11-Opts
\7f366594
46955 +Node: M68HC11-Syntax
\7f370410
46956 +Node: M68HC11-Modifiers
\7f372624
46957 +Node: M68HC11-Directives
\7f374452
46958 +Node: M68HC11-Float
\7f375828
46959 +Node: M68HC11-opcodes
\7f376356
46960 +Node: M68HC11-Branch
\7f376538
46961 +Node: MIPS-Dependent
\7f378985
46962 +Node: MIPS Opts
\7f380075
46963 +Node: MIPS Object
\7f387402
46964 +Node: MIPS Stabs
\7f388968
46965 +Node: MIPS symbol sizes
\7f389690
46966 +Node: MIPS ISA
\7f391359
46967 +Node: MIPS autoextend
\7f392508
46968 +Node: MIPS insn
\7f393238
46969 +Node: MIPS option stack
\7f393735
46970 +Node: MIPS ASE instruction generation overrides
\7f394509
46971 +Node: MMIX-Dependent
\7f395726
46972 +Node: MMIX-Opts
\7f396106
46973 +Node: MMIX-Expand
\7f399710
46974 +Node: MMIX-Syntax
\7f401025
46975 +Ref: mmixsite
\7f401382
46976 +Node: MMIX-Chars
\7f402223
46977 +Node: MMIX-Symbols
\7f402877
46978 +Node: MMIX-Regs
\7f404945
46979 +Node: MMIX-Pseudos
\7f405970
46980 +Ref: MMIX-loc
\7f406111
46981 +Ref: MMIX-local
\7f407191
46982 +Ref: MMIX-is
\7f407723
46983 +Ref: MMIX-greg
\7f407994
46984 +Ref: GREG-base
\7f408913
46985 +Ref: MMIX-byte
\7f410230
46986 +Ref: MMIX-constants
\7f410701
46987 +Ref: MMIX-prefix
\7f411347
46988 +Ref: MMIX-spec
\7f411721
46989 +Node: MMIX-mmixal
\7f412055
46990 +Node: MSP430-Dependent
\7f415552
46991 +Node: MSP430 Options
\7f416018
46992 +Node: MSP430 Syntax
\7f416304
46993 +Node: MSP430-Macros
\7f416620
46994 +Node: MSP430-Chars
\7f417351
46995 +Node: MSP430-Regs
\7f417664
46996 +Node: MSP430-Ext
\7f418224
46997 +Node: MSP430 Floating Point
\7f420045
46998 +Node: MSP430 Directives
\7f420269
46999 +Node: MSP430 Opcodes
\7f421060
47000 +Node: MSP430 Profiling Capability
\7f421455
47001 +Node: PDP-11-Dependent
\7f423784
47002 +Node: PDP-11-Options
\7f424173
47003 +Node: PDP-11-Pseudos
\7f429244
47004 +Node: PDP-11-Syntax
\7f429589
47005 +Node: PDP-11-Mnemonics
\7f430340
47006 +Node: PDP-11-Synthetic
\7f430642
47007 +Node: PJ-Dependent
\7f430860
47008 +Node: PJ Options
\7f431085
47009 +Node: PPC-Dependent
\7f431362
47010 +Node: PowerPC-Opts
\7f431649
47011 +Node: PowerPC-Pseudo
\7f433724
47012 +Node: SH-Dependent
\7f434323
47013 +Node: SH Options
\7f434735
47014 +Node: SH Syntax
\7f435663
47015 +Node: SH-Chars
\7f435936
47016 +Node: SH-Regs
\7f436230
47017 +Node: SH-Addressing
\7f436844
47018 +Node: SH Floating Point
\7f437753
47019 +Node: SH Directives
\7f438847
47020 +Node: SH Opcodes
\7f439217
47021 +Node: SH64-Dependent
\7f443539
47022 +Node: SH64 Options
\7f443902
47023 +Node: SH64 Syntax
\7f445619
47024 +Node: SH64-Chars
\7f445902
47025 +Node: SH64-Regs
\7f446202
47026 +Node: SH64-Addressing
\7f447298
47027 +Node: SH64 Directives
\7f448481
47028 +Node: SH64 Opcodes
\7f449591
47029 +Node: Sparc-Dependent
\7f450307
47030 +Node: Sparc-Opts
\7f450692
47031 +Node: Sparc-Aligned-Data
\7f452949
47032 +Node: Sparc-Float
\7f453804
47033 +Node: Sparc-Directives
\7f454005
47034 +Node: TIC54X-Dependent
\7f455965
47035 +Node: TIC54X-Opts
\7f456691
47036 +Node: TIC54X-Block
\7f457734
47037 +Node: TIC54X-Env
\7f458094
47038 +Node: TIC54X-Constants
\7f458442
47039 +Node: TIC54X-Subsyms
\7f458844
47040 +Node: TIC54X-Locals
\7f460753
47041 +Node: TIC54X-Builtins
\7f461497
47042 +Node: TIC54X-Ext
\7f463968
47043 +Node: TIC54X-Directives
\7f464539
47044 +Node: TIC54X-Macros
\7f475441
47045 +Node: TIC54X-MMRegs
\7f477551
47046 +Node: Z80-Dependent
\7f477767
47047 +Node: Z80 Options
\7f478155
47048 +Node: Z80 Syntax
\7f479578
47049 +Node: Z80-Chars
\7f480250
47050 +Node: Z80-Regs
\7f480783
47051 +Node: Z80-Case
\7f481135
47052 +Node: Z80 Floating Point
\7f481580
47053 +Node: Z80 Directives
\7f481774
47054 +Node: Z80 Opcodes
\7f483399
47055 +Node: Z8000-Dependent
\7f484741
47056 +Node: Z8000 Options
\7f485702
47057 +Node: Z8000 Syntax
\7f485919
47058 +Node: Z8000-Chars
\7f486209
47059 +Node: Z8000-Regs
\7f486442
47060 +Node: Z8000-Addressing
\7f487232
47061 +Node: Z8000 Directives
\7f488349
47062 +Node: Z8000 Opcodes
\7f489958
47063 +Node: Vax-Dependent
\7f499900
47064 +Node: VAX-Opts
\7f500417
47065 +Node: VAX-float
\7f504152
47066 +Node: VAX-directives
\7f504784
47067 +Node: VAX-opcodes
\7f505645
47068 +Node: VAX-branch
\7f506034
47069 +Node: VAX-operands
\7f508541
47070 +Node: VAX-no
\7f509304
47071 +Node: V850-Dependent
\7f509541
47072 +Node: V850 Options
\7f509939
47073 +Node: V850 Syntax
\7f512328
47074 +Node: V850-Chars
\7f512568
47075 +Node: V850-Regs
\7f512733
47076 +Node: V850 Floating Point
\7f514301
47077 +Node: V850 Directives
\7f514507
47078 +Node: V850 Opcodes
\7f515650
47079 +Node: Xtensa-Dependent
\7f521542
47080 +Node: Xtensa Options
\7f522271
47081 +Node: Xtensa Syntax
\7f525042
47082 +Node: Xtensa Opcodes
\7f526931
47083 +Node: Xtensa Registers
\7f528725
47084 +Node: Xtensa Optimizations
\7f529358
47085 +Node: Density Instructions
\7f529810
47086 +Node: Xtensa Automatic Alignment
\7f530912
47087 +Node: Xtensa Relaxation
\7f533658
47088 +Node: Xtensa Branch Relaxation
\7f534566
47089 +Node: Xtensa Call Relaxation
\7f535938
47090 +Node: Xtensa Immediate Relaxation
\7f537724
47091 +Node: Xtensa Directives
\7f540298
47092 +Node: Schedule Directive
\7f542006
47093 +Node: Longcalls Directive
\7f542346
47094 +Node: Transform Directive
\7f542890
47095 +Node: Literal Directive
\7f543632
47096 +Node: Literal Position Directive
\7f545417
47097 +Node: Literal Prefix Directive
\7f547116
47098 +Node: Absolute Literals Directive
\7f549279
47099 +Node: Reporting Bugs
\7f550586
47100 +Node: Bug Criteria
\7f551310
47101 +Node: Bug Reporting
\7f552075
47102 +Node: Acknowledgements
\7f558708
47103 +Ref: Acknowledgements-Footnote-1
\7f563606
47104 +Node: GNU Free Documentation License
\7f563632
47105 +Node: Index
\7f583359
47108 diff -Nrup binutils-2.17/gas/doc/as.texinfo binutils-2.17.atmel.1.3.0/gas/doc/as.texinfo
47109 --- binutils-2.17/gas/doc/as.texinfo 2006-04-17 17:16:27.000000000 +0200
47110 +++ binutils-2.17.atmel.1.3.0/gas/doc/as.texinfo 2007-03-26 10:19:41.000000000 +0200
47111 @@ -6182,6 +6182,9 @@ subject, see the hardware manufacturer's
47113 * ARM-Dependent:: ARM Dependent Features
47116 +* AVR32-Dependent:: AVR32 Dependent Features
47119 * BFIN-Dependent:: BFIN Dependent Features
47121 @@ -6298,6 +6301,10 @@ subject, see the hardware manufacturer's
47122 @include c-arm.texi
47126 +@include c-avr32.texi
47130 @include c-bfin.texi
47132 diff -Nrup binutils-2.17/gas/doc/c-avr32.texi binutils-2.17.atmel.1.3.0/gas/doc/c-avr32.texi
47133 --- binutils-2.17/gas/doc/c-avr32.texi 1970-01-01 01:00:00.000000000 +0100
47134 +++ binutils-2.17.atmel.1.3.0/gas/doc/c-avr32.texi 2007-09-28 10:30:46.000000000 +0200
47136 +@c Copyright 2005, 2006
47137 +@c Atmel Corporation
47138 +@c This is part of the GAS manual.
47139 +@c For copying conditions, see the file as.texinfo.
47143 +@node AVR32-Dependent
47144 +@chapter AVR32 Dependent Features
47148 +@node Machine Dependencies
47149 +@chapter AVR32 Dependent Features
47152 +@cindex AVR32 support
47154 +* AVR32 Options:: Options
47155 +* AVR32 Syntax:: Syntax
47156 +* AVR32 Directives:: Directives
47157 +* AVR32 Opcodes:: Opcodes
47160 +@node AVR32 Options
47162 +@cindex AVR32 options
47163 +@cindex options for AVR32
47165 +There are currently no AVR32-specific options. However, the following
47166 +options are planned:
47170 +@cindex @code{--pic} command line option, AVR32
47171 +@cindex PIC code generation for AVR32
47173 +This option specifies that the output of the assembler should be marked
47174 +as position-independent code (PIC). It will also ensure that
47175 +pseudo-instructions that deal with address calculation are output as
47176 +PIC, and that all absolute address references in the code are marked as
47179 +@cindex @code{--linkrelax} command line option, AVR32
47181 +This option specifies that the output of the assembler should be marked
47182 +as linker-relaxable. It will also ensure that all PC-relative operands
47183 +that may change during linker relaxation get appropriate relocations.
47185 +@cindex @code{--direct-data-refs} command line option, AVR32
47186 +@item --direct-data-refs
47187 +This option allows direct references (i.e. mov or sub) to the
47188 +data section. This is default not allowed because the actual distance may
47189 +change after the optimization passes are complete and the address and
47190 +size of all sections are considered known.
47195 +@node AVR32 Syntax
47198 +* AVR32-Chars:: Special Characters
47199 +* AVR32-Symrefs:: Symbol references
47203 +@subsection Special Characters
47205 +@cindex line comment character, AVR32
47206 +@cindex AVR32 line comment character
47207 +The presence of a @samp{//} on a line indicates the start of a comment
47208 +that extends to the end of the current line. If a @samp{#} appears as
47209 +the first character of a line, the whole line is treated as a comment.
47211 +@cindex line separator, AVR32
47212 +@cindex statement separator, AVR32
47213 +@cindex AVR32 line separator
47214 +The @samp{;} character can be used instead of a newline to separate
47217 +@node AVR32-Symrefs
47218 +@subsection Symbol references
47220 +The absolute value of a symbol can be obtained by simply naming the
47221 +symbol. However, as AVR32 symbols have 32-bit values, most symbols have
47222 +values that are outside the range of any instructions.
47224 +Instructions that take a PC-relative offset, e.g. @code{lddpc} or
47225 +@code{rcall}, can also reference a symbol by simply naming the symbol
47226 +(no explicit calculations necessary). In this case, the assembler or
47227 +linker subtracts the address of the instruction from the symbol's value
47228 +and inserts the result into the instruction. Note that even though an
47229 +overflow is less likely to happen for a relative reference than for an
47230 +absolute reference, the assembler or linker will generate an error if
47231 +the referenced symbol is too far away from the current location.
47233 +Relative references can be used for data as well. For example:
47240 +2: .int @var{some_symbol} - 1b
47243 +Here, r0 will end up with the run-time address of @var{some_symbol} even
47244 +if the program was loaded at a different address than it was linked
47245 +(position-independent code).
47247 +@subsubsection Symbol modifiers
47251 +@item @code{hi(@var{symbol})}
47252 +Evaluates to the value of the symbol shifted right 16 bits. This will
47253 +work even if @var{symbol} is defined in a different module.
47255 +@item @code{lo(@var{symbol})}
47256 +Evaluates to the low 16 bits of the symbol's value. This will work even
47257 +if @var{symbol} is defined in a different module.
47259 +@item @code{@var{symbol}@@got}
47260 +Create a GOT entry for @var{symbol} and return the offset of that entry
47261 +relative to the GOT base.
47266 +@node AVR32 Directives
47267 +@section Directives
47268 +@cindex machine directives, AVR32
47269 +@cindex AVR32 directives
47273 +@cindex @code{.cpool} directive, AVR32
47275 +This directive causes the current contents of the constant pool to be
47276 +dumped into the current section at the current location (aligned to a
47277 +word boundary). @code{GAS} maintains a separate constant pool for each
47278 +section and each sub-section. The @code{.cpool} directive will only
47279 +affect the constant pool of the current section and sub-section. At the
47280 +end of assembly, all remaining, non-empty constant pools will
47281 +automatically be dumped.
47286 +@node AVR32 Opcodes
47288 +@cindex AVR32 opcodes
47289 +@cindex opcodes for AVR32
47291 +@code{@value{AS}} implements all the standard AVR32 opcodes. It also
47292 +implements several pseudo-opcodes, which are recommended to use wherever
47293 +possible because they give the tool chain better freedom to generate
47298 +@cindex @code{LDA.W reg, symbol} pseudo op, AVR32
47301 + lda.w @var{reg}, @var{symbol}
47304 +This instruction will load the address of @var{symbol} into
47305 +@var{reg}. The instruction will evaluate to one of the following,
47306 +depending on the relative distance to the symbol, the relative distance
47307 +to the constant pool and whether the @code{--pic} option has been
47308 +specified. If the @code{--pic} option has not been specified, the
47309 +alternatives are as follows:
47311 + /* @var{symbol} evaluates to a small enough value */
47312 + mov @var{reg}, @var{symbol}
47314 + /* (. - @var{symbol}) evaluates to a small enough value */
47315 + sub @var{reg}, pc, . - @var{symbol}
47317 + /* Constant pool is close enough */
47318 + lddpc @var{reg}, @var{cpent}
47321 + .long @var{symbol}
47323 + /* Otherwise (not implemented yet, probably not necessary) */
47324 + mov @var{reg}, lo(@var{symbol})
47325 + orh @var{reg}, hi(@var{symbol})
47328 +If the @code{--pic} option has been specified, the alternatives are as
47331 + /* (. - @var{symbol}) evaluates to a small enough value */
47332 + sub @var{reg}, pc, . - @var{symbol}
47334 + /* If @code{--linkrelax} not specified */
47335 + ld.w @var{reg}, r6[@var{symbol}@@got]
47338 + mov @var{reg}, @var{symbol}@@got / 4
47339 + ld.w @var{reg}, r6[@var{reg} << 2]
47342 +If @var{symbol} is not defined in the same file and section as the
47343 +@code{LDA.W} instruction, the most pessimistic alternative of the
47344 +above is selected. The linker may convert it back into the most
47345 +optimal alternative when the final value of all symbols is known.
47347 +@cindex @code{CALL symbol} pseudo op, AVR32
47350 + call @var{symbol}
47353 +This instruction will insert code to call the subroutine identified by
47354 +@var{symbol}. It will evaluate to one of the following, depending on
47355 +the relative distance to the symbol as well as the @code{--linkrelax}
47356 +and @code{--pic} command-line options.
47358 +If @var{symbol} is defined in the same section and input file, and the
47359 +distance is small enough, an @code{rcall} instruction is inserted:
47361 + rcall @var{symbol}
47364 +Otherwise, if the @code{--pic} option has not been specified:
47366 + mcall @var{cpent}
47369 + .long @var{symbol}
47372 +Finally, if nothing else fits and the @code{--pic} option has been
47373 +specified, the assembler will indirect the call through the Global
47376 + /* If @code{--linkrelax} not specified */
47377 + mcall r6[@var{symbol}@@got]
47379 + /* If @code{--linkrelax} specified */
47380 + mov lr, @var{symbol}@@got / 4
47381 + ld.w lr, r6[lr << 2]
47385 +The linker, after determining the final value of @var{symbol}, may
47386 +convert any of these into more optimal alternatives. This includes
47387 +deleting any superfluous constant pool- and GOT-entries.
47390 diff -Nrup binutils-2.17/gas/doc/Makefile.am binutils-2.17.atmel.1.3.0/gas/doc/Makefile.am
47391 --- binutils-2.17/gas/doc/Makefile.am 2006-06-03 06:45:50.000000000 +0200
47392 +++ binutils-2.17.atmel.1.3.0/gas/doc/Makefile.am 2007-03-26 10:19:41.000000000 +0200
47393 @@ -29,6 +29,7 @@ CPU_DOCS = \
47401 diff -Nrup binutils-2.17/gas/Makefile.am binutils-2.17.atmel.1.3.0/gas/Makefile.am
47402 --- binutils-2.17/gas/Makefile.am 2006-04-06 23:49:30.000000000 +0200
47403 +++ binutils-2.17.atmel.1.3.0/gas/Makefile.am 2007-03-26 10:20:16.000000000 +0200
47404 @@ -45,6 +45,7 @@ CPU_TYPES = \
47412 @@ -229,6 +230,7 @@ TARGET_CPU_CFILES = \
47416 + config/tc-avr32.c \
47420 @@ -280,6 +282,7 @@ TARGET_CPU_HFILES = \
47424 + config/tc-avr32.h \
47428 @@ -1046,6 +1049,11 @@ DEPTC_avr_elf = $(INCDIR)/symcat.h $(src
47429 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr.h \
47430 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47431 $(INCDIR)/opcode/avr.h
47432 +DEPTC_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
47433 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47434 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
47435 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47436 + $(srcdir)/../opcodes/avr32-opc.h $(srcdir)/../opcodes/avr32-asm.h
47437 DEPTC_bfin_coff = $(INCDIR)/symcat.h $(srcdir)/config/obj-coff.h \
47438 $(srcdir)/config/tc-bfin.h $(INCDIR)/coff/internal.h \
47439 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h struc-symbol.h \
47440 @@ -1628,6 +1636,11 @@ DEPOBJ_bfin_elf = $(INCDIR)/symcat.h $(s
47441 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
47442 dwarf2dbg.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47443 struc-symbol.h $(INCDIR)/aout/aout64.h
47444 +DEPOBJ_avr32_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
47445 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47446 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h \
47447 + $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
47448 + struc-symbol.h dwarf2dbg.h
47449 DEPOBJ_cris_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
47450 $(srcdir)/config/tc-cris.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
47451 $(INCDIR)/aout/aout64.h $(INCDIR)/obstack.h
47452 @@ -2095,6 +2108,9 @@ DEP_bfin_elf = $(srcdir)/config/obj-elf.
47453 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47454 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-bfin.h \
47456 +DEP_avr32_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
47457 + $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
47458 + $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-avr32.h
47459 DEP_cris_aout = $(srcdir)/config/obj-aout.h $(srcdir)/config/tc-cris.h \
47460 $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h
47461 DEP_cris_elf = $(srcdir)/config/obj-elf.h $(INCDIR)/symcat.h \
47462 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/aliases.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/aliases.d
47463 --- binutils-2.17/gas/testsuite/gas/avr32/aliases.d 1970-01-01 01:00:00.000000000 +0100
47464 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/aliases.d 2007-03-26 10:19:48.000000000 +0200
47470 +.*: +file format .*
47472 +Disassembly of section \.text:
47474 +00000000 <ld_nodisp>:
47475 + 0: 19 80 [ \t]+ld\.ub r0,r12\[0x0\]
47476 + 2: f9 20 00 00[ \t]+ld\.sb r0,r12\[0\]
47477 + 6: 98 80 [ \t]+ld\.uh r0,r12\[0x0\]
47478 + 8: 98 00 [ \t]+ld\.sh r0,r12\[0x0\]
47479 + a: 78 00 [ \t]+ld\.w r0,r12\[0x0\]
47481 +0000000c <st_nodisp>:
47482 + c: b8 80 [ \t]+st\.b r12\[0x0\],r0
47483 + e: b8 00 [ \t]+st\.h r12\[0x0\],r0
47484 + 10: 99 00 [ \t]+st\.w r12\[0x0\],r0
47485 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/aliases.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/aliases.s
47486 --- binutils-2.17/gas/testsuite/gas/avr32/aliases.s 1970-01-01 01:00:00.000000000 +0100
47487 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/aliases.s 2007-03-26 10:19:48.000000000 +0200
47490 + .global ld_nodisp
47498 + .global st_nodisp
47503 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/allinsn.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/allinsn.d
47504 --- binutils-2.17/gas/testsuite/gas/avr32/allinsn.d 1970-01-01 01:00:00.000000000 +0100
47505 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/allinsn.d 2007-03-26 10:19:48.000000000 +0200
47511 +.*: +file format .*
47513 +Disassembly of section \.text:
47515 +[0-9a-f]* <ld_d5>:
47516 + *[0-9a-f]*: fe 0f 02 3e ld\.d lr,pc\[pc<<0x3\]
47517 + *[0-9a-f]*: e0 00 02 00 ld\.d r0,r0\[r0\]
47518 + *[0-9a-f]*: ea 05 02 26 ld\.d r6,r5\[r5<<0x2\]
47519 + *[0-9a-f]*: e8 04 02 14 ld\.d r4,r4\[r4<<0x1\]
47520 + *[0-9a-f]*: fc 0e 02 1e ld\.d lr,lr\[lr<<0x1\]
47521 + *[0-9a-f]*: e6 0d 02 2a ld\.d r10,r3\[sp<<0x2\]
47522 + *[0-9a-f]*: f4 06 02 28 ld\.d r8,r10\[r6<<0x2\]
47523 + *[0-9a-f]*: ee 09 02 02 ld\.d r2,r7\[r9\]
47525 +[0-9a-f]* <ld_w5>:
47526 + *[0-9a-f]*: fe 0f 03 0f ld\.w pc,pc\[pc\]
47527 + *[0-9a-f]*: f8 0c 03 3c ld\.w r12,r12\[r12<<0x3\]
47528 + *[0-9a-f]*: ea 05 03 25 ld\.w r5,r5\[r5<<0x2\]
47529 + *[0-9a-f]*: e8 04 03 14 ld\.w r4,r4\[r4<<0x1\]
47530 + *[0-9a-f]*: fc 0e 03 1e ld\.w lr,lr\[lr<<0x1\]
47531 + *[0-9a-f]*: f2 09 03 02 ld\.w r2,r9\[r9\]
47532 + *[0-9a-f]*: e4 06 03 0b ld\.w r11,r2\[r6\]
47533 + *[0-9a-f]*: e4 0d 03 30 ld\.w r0,r2\[sp<<0x3\]
47535 +[0-9a-f]* <ld_sh5>:
47536 + *[0-9a-f]*: fe 0f 04 0f ld\.sh pc,pc\[pc\]
47537 + *[0-9a-f]*: f8 0c 04 3c ld\.sh r12,r12\[r12<<0x3\]
47538 + *[0-9a-f]*: ea 05 04 25 ld\.sh r5,r5\[r5<<0x2\]
47539 + *[0-9a-f]*: e8 04 04 14 ld\.sh r4,r4\[r4<<0x1\]
47540 + *[0-9a-f]*: fc 0e 04 1e ld\.sh lr,lr\[lr<<0x1\]
47541 + *[0-9a-f]*: e0 0f 04 2b ld\.sh r11,r0\[pc<<0x2\]
47542 + *[0-9a-f]*: fa 06 04 2a ld\.sh r10,sp\[r6<<0x2\]
47543 + *[0-9a-f]*: e4 02 04 0c ld\.sh r12,r2\[r2\]
47545 +[0-9a-f]* <ld_uh5>:
47546 + *[0-9a-f]*: fe 0f 05 0f ld\.uh pc,pc\[pc\]
47547 + *[0-9a-f]*: f8 0c 05 3c ld\.uh r12,r12\[r12<<0x3\]
47548 + *[0-9a-f]*: ea 05 05 25 ld\.uh r5,r5\[r5<<0x2\]
47549 + *[0-9a-f]*: e8 04 05 14 ld\.uh r4,r4\[r4<<0x1\]
47550 + *[0-9a-f]*: fc 0e 05 1e ld\.uh lr,lr\[lr<<0x1\]
47551 + *[0-9a-f]*: fe 0e 05 38 ld\.uh r8,pc\[lr<<0x3\]
47552 + *[0-9a-f]*: e2 0f 05 16 ld\.uh r6,r1\[pc<<0x1\]
47553 + *[0-9a-f]*: fc 0d 05 16 ld\.uh r6,lr\[sp<<0x1\]
47555 +[0-9a-f]* <ld_sb2>:
47556 + *[0-9a-f]*: fe 0f 06 0f ld\.sb pc,pc\[pc\]
47557 + *[0-9a-f]*: f8 0c 06 3c ld\.sb r12,r12\[r12<<0x3\]
47558 + *[0-9a-f]*: ea 05 06 25 ld\.sb r5,r5\[r5<<0x2\]
47559 + *[0-9a-f]*: e8 04 06 14 ld\.sb r4,r4\[r4<<0x1\]
47560 + *[0-9a-f]*: fc 0e 06 1e ld\.sb lr,lr\[lr<<0x1\]
47561 + *[0-9a-f]*: e2 0f 06 39 ld\.sb r9,r1\[pc<<0x3\]
47562 + *[0-9a-f]*: e6 0b 06 10 ld\.sb r0,r3\[r11<<0x1\]
47563 + *[0-9a-f]*: ea 05 06 1a ld\.sb r10,r5\[r5<<0x1\]
47565 +[0-9a-f]* <ld_ub5>:
47566 + *[0-9a-f]*: fe 0f 07 0f ld\.ub pc,pc\[pc\]
47567 + *[0-9a-f]*: f8 0c 07 3c ld\.ub r12,r12\[r12<<0x3\]
47568 + *[0-9a-f]*: ea 05 07 25 ld\.ub r5,r5\[r5<<0x2\]
47569 + *[0-9a-f]*: e8 04 07 14 ld\.ub r4,r4\[r4<<0x1\]
47570 + *[0-9a-f]*: fc 0e 07 1e ld\.ub lr,lr\[lr<<0x1\]
47571 + *[0-9a-f]*: f8 07 07 36 ld\.ub r6,r12\[r7<<0x3\]
47572 + *[0-9a-f]*: ec 0c 07 02 ld\.ub r2,r6\[r12\]
47573 + *[0-9a-f]*: ee 0b 07 10 ld\.ub r0,r7\[r11<<0x1\]
47575 +[0-9a-f]* <st_d5>:
47576 + *[0-9a-f]*: fe 0f 08 0e st\.d pc\[pc\],lr
47577 + *[0-9a-f]*: f8 0c 08 3c st\.d r12\[r12<<0x3\],r12
47578 + *[0-9a-f]*: ea 05 08 26 st\.d r5\[r5<<0x2\],r6
47579 + *[0-9a-f]*: e8 04 08 14 st\.d r4\[r4<<0x1\],r4
47580 + *[0-9a-f]*: fc 0e 08 1e st\.d lr\[lr<<0x1\],lr
47581 + *[0-9a-f]*: e2 09 08 14 st\.d r1\[r9<<0x1\],r4
47582 + *[0-9a-f]*: f4 02 08 14 st\.d r10\[r2<<0x1\],r4
47583 + *[0-9a-f]*: f8 06 08 0e st\.d r12\[r6\],lr
47585 +[0-9a-f]* <st_w5>:
47586 + *[0-9a-f]*: fe 0f 09 0f st\.w pc\[pc\],pc
47587 + *[0-9a-f]*: f8 0c 09 3c st\.w r12\[r12<<0x3\],r12
47588 + *[0-9a-f]*: ea 05 09 25 st\.w r5\[r5<<0x2\],r5
47589 + *[0-9a-f]*: e8 04 09 14 st\.w r4\[r4<<0x1\],r4
47590 + *[0-9a-f]*: fc 0e 09 1e st\.w lr\[lr<<0x1\],lr
47591 + *[0-9a-f]*: e2 0a 09 03 st\.w r1\[r10\],r3
47592 + *[0-9a-f]*: e0 0a 09 19 st\.w r0\[r10<<0x1\],r9
47593 + *[0-9a-f]*: e8 05 09 3f st\.w r4\[r5<<0x3\],pc
47595 +[0-9a-f]* <st_h5>:
47596 + *[0-9a-f]*: fe 0f 0a 0f st\.h pc\[pc\],pc
47597 + *[0-9a-f]*: f8 0c 0a 3c st\.h r12\[r12<<0x3\],r12
47598 + *[0-9a-f]*: ea 05 0a 25 st\.h r5\[r5<<0x2\],r5
47599 + *[0-9a-f]*: e8 04 0a 14 st\.h r4\[r4<<0x1\],r4
47600 + *[0-9a-f]*: fc 0e 0a 1e st\.h lr\[lr<<0x1\],lr
47601 + *[0-9a-f]*: e4 09 0a 0b st\.h r2\[r9\],r11
47602 + *[0-9a-f]*: ea 01 0a 2c st\.h r5\[r1<<0x2\],r12
47603 + *[0-9a-f]*: fe 08 0a 23 st\.h pc\[r8<<0x2\],r3
47605 +[0-9a-f]* <st_b5>:
47606 + *[0-9a-f]*: fe 0f 0b 0f st\.b pc\[pc\],pc
47607 + *[0-9a-f]*: f8 0c 0b 3c st\.b r12\[r12<<0x3\],r12
47608 + *[0-9a-f]*: ea 05 0b 25 st\.b r5\[r5<<0x2\],r5
47609 + *[0-9a-f]*: e8 04 0b 14 st\.b r4\[r4<<0x1\],r4
47610 + *[0-9a-f]*: fc 0e 0b 1e st\.b lr\[lr<<0x1\],lr
47611 + *[0-9a-f]*: e2 08 0b 16 st\.b r1\[r8<<0x1\],r6
47612 + *[0-9a-f]*: fc 0e 0b 31 st\.b lr\[lr<<0x3\],r1
47613 + *[0-9a-f]*: ea 00 0b 2f st\.b r5\[r0<<0x2\],pc
47616 + *[0-9a-f]*: fe 0f 0c 0f divs pc,pc,pc
47617 + *[0-9a-f]*: f8 0c 0c 0c divs r12,r12,r12
47618 + *[0-9a-f]*: ea 05 0c 05 divs r5,r5,r5
47619 + *[0-9a-f]*: e8 04 0c 04 divs r4,r4,r4
47620 + *[0-9a-f]*: fc 0e 0c 0e divs lr,lr,lr
47621 + *[0-9a-f]*: fe 0f 0c 03 divs r3,pc,pc
47622 + *[0-9a-f]*: f8 02 0c 09 divs r9,r12,r2
47623 + *[0-9a-f]*: e8 01 0c 07 divs r7,r4,r1
47626 + *[0-9a-f]*: 1e 0f add pc,pc
47627 + *[0-9a-f]*: 18 0c add r12,r12
47628 + *[0-9a-f]*: 0a 05 add r5,r5
47629 + *[0-9a-f]*: 08 04 add r4,r4
47630 + *[0-9a-f]*: 1c 0e add lr,lr
47631 + *[0-9a-f]*: 12 0c add r12,r9
47632 + *[0-9a-f]*: 06 06 add r6,r3
47633 + *[0-9a-f]*: 18 0a add r10,r12
47636 + *[0-9a-f]*: 1e 1f sub pc,pc
47637 + *[0-9a-f]*: 18 1c sub r12,r12
47638 + *[0-9a-f]*: 0a 15 sub r5,r5
47639 + *[0-9a-f]*: 08 14 sub r4,r4
47640 + *[0-9a-f]*: 1c 1e sub lr,lr
47641 + *[0-9a-f]*: 0c 1e sub lr,r6
47642 + *[0-9a-f]*: 1a 10 sub r0,sp
47643 + *[0-9a-f]*: 18 16 sub r6,r12
47645 +[0-9a-f]* <rsub1>:
47646 + *[0-9a-f]*: 1e 2f rsub pc,pc
47647 + *[0-9a-f]*: 18 2c rsub r12,r12
47648 + *[0-9a-f]*: 0a 25 rsub r5,r5
47649 + *[0-9a-f]*: 08 24 rsub r4,r4
47650 + *[0-9a-f]*: 1c 2e rsub lr,lr
47651 + *[0-9a-f]*: 1a 2b rsub r11,sp
47652 + *[0-9a-f]*: 08 27 rsub r7,r4
47653 + *[0-9a-f]*: 02 29 rsub r9,r1
47656 + *[0-9a-f]*: 1e 3f cp\.w pc,pc
47657 + *[0-9a-f]*: 18 3c cp\.w r12,r12
47658 + *[0-9a-f]*: 0a 35 cp\.w r5,r5
47659 + *[0-9a-f]*: 08 34 cp\.w r4,r4
47660 + *[0-9a-f]*: 1c 3e cp\.w lr,lr
47661 + *[0-9a-f]*: 04 36 cp\.w r6,r2
47662 + *[0-9a-f]*: 12 30 cp\.w r0,r9
47663 + *[0-9a-f]*: 1a 33 cp\.w r3,sp
47666 + *[0-9a-f]*: 1e 4f or pc,pc
47667 + *[0-9a-f]*: 18 4c or r12,r12
47668 + *[0-9a-f]*: 0a 45 or r5,r5
47669 + *[0-9a-f]*: 08 44 or r4,r4
47670 + *[0-9a-f]*: 1c 4e or lr,lr
47671 + *[0-9a-f]*: 12 44 or r4,r9
47672 + *[0-9a-f]*: 08 4b or r11,r4
47673 + *[0-9a-f]*: 00 44 or r4,r0
47676 + *[0-9a-f]*: 1e 5f eor pc,pc
47677 + *[0-9a-f]*: 18 5c eor r12,r12
47678 + *[0-9a-f]*: 0a 55 eor r5,r5
47679 + *[0-9a-f]*: 08 54 eor r4,r4
47680 + *[0-9a-f]*: 1c 5e eor lr,lr
47681 + *[0-9a-f]*: 16 5c eor r12,r11
47682 + *[0-9a-f]*: 02 50 eor r0,r1
47683 + *[0-9a-f]*: 1e 55 eor r5,pc
47686 + *[0-9a-f]*: 1e 6f and pc,pc
47687 + *[0-9a-f]*: 18 6c and r12,r12
47688 + *[0-9a-f]*: 0a 65 and r5,r5
47689 + *[0-9a-f]*: 08 64 and r4,r4
47690 + *[0-9a-f]*: 1c 6e and lr,lr
47691 + *[0-9a-f]*: 02 68 and r8,r1
47692 + *[0-9a-f]*: 1a 60 and r0,sp
47693 + *[0-9a-f]*: 0a 6a and r10,r5
47696 + *[0-9a-f]*: 1e 7f tst pc,pc
47697 + *[0-9a-f]*: 18 7c tst r12,r12
47698 + *[0-9a-f]*: 0a 75 tst r5,r5
47699 + *[0-9a-f]*: 08 74 tst r4,r4
47700 + *[0-9a-f]*: 1c 7e tst lr,lr
47701 + *[0-9a-f]*: 18 70 tst r0,r12
47702 + *[0-9a-f]*: 0c 7a tst r10,r6
47703 + *[0-9a-f]*: 08 7d tst sp,r4
47706 + *[0-9a-f]*: 1e 8f andn pc,pc
47707 + *[0-9a-f]*: 18 8c andn r12,r12
47708 + *[0-9a-f]*: 0a 85 andn r5,r5
47709 + *[0-9a-f]*: 08 84 andn r4,r4
47710 + *[0-9a-f]*: 1c 8e andn lr,lr
47711 + *[0-9a-f]*: 18 89 andn r9,r12
47712 + *[0-9a-f]*: 1a 8b andn r11,sp
47713 + *[0-9a-f]*: 0a 8c andn r12,r5
47716 + *[0-9a-f]*: 1e 9f mov pc,pc
47717 + *[0-9a-f]*: 18 9c mov r12,r12
47718 + *[0-9a-f]*: 0a 95 mov r5,r5
47719 + *[0-9a-f]*: 08 94 mov r4,r4
47720 + *[0-9a-f]*: 1c 9e mov lr,lr
47721 + *[0-9a-f]*: 12 95 mov r5,r9
47722 + *[0-9a-f]*: 16 9b mov r11,r11
47723 + *[0-9a-f]*: 1c 92 mov r2,lr
47725 +[0-9a-f]* <st_w1>:
47726 + *[0-9a-f]*: 1e af st\.w pc\+\+,pc
47727 + *[0-9a-f]*: 18 ac st\.w r12\+\+,r12
47728 + *[0-9a-f]*: 0a a5 st\.w r5\+\+,r5
47729 + *[0-9a-f]*: 08 a4 st\.w r4\+\+,r4
47730 + *[0-9a-f]*: 1c ae st\.w lr\+\+,lr
47731 + *[0-9a-f]*: 02 ab st\.w r1\+\+,r11
47732 + *[0-9a-f]*: 1a a0 st\.w sp\+\+,r0
47733 + *[0-9a-f]*: 1a a1 st\.w sp\+\+,r1
47735 +[0-9a-f]* <st_h1>:
47736 + *[0-9a-f]*: 1e bf st\.h pc\+\+,pc
47737 + *[0-9a-f]*: 18 bc st\.h r12\+\+,r12
47738 + *[0-9a-f]*: 0a b5 st\.h r5\+\+,r5
47739 + *[0-9a-f]*: 08 b4 st\.h r4\+\+,r4
47740 + *[0-9a-f]*: 1c be st\.h lr\+\+,lr
47741 + *[0-9a-f]*: 18 bd st\.h r12\+\+,sp
47742 + *[0-9a-f]*: 0e be st\.h r7\+\+,lr
47743 + *[0-9a-f]*: 0e b4 st\.h r7\+\+,r4
47745 +[0-9a-f]* <st_b1>:
47746 + *[0-9a-f]*: 1e cf st\.b pc\+\+,pc
47747 + *[0-9a-f]*: 18 cc st\.b r12\+\+,r12
47748 + *[0-9a-f]*: 0a c5 st\.b r5\+\+,r5
47749 + *[0-9a-f]*: 08 c4 st\.b r4\+\+,r4
47750 + *[0-9a-f]*: 1c ce st\.b lr\+\+,lr
47751 + *[0-9a-f]*: 12 cd st\.b r9\+\+,sp
47752 + *[0-9a-f]*: 02 cd st\.b r1\+\+,sp
47753 + *[0-9a-f]*: 00 c4 st\.b r0\+\+,r4
47755 +[0-9a-f]* <st_w2>:
47756 + *[0-9a-f]*: 1e df st\.w --pc,pc
47757 + *[0-9a-f]*: 18 dc st\.w --r12,r12
47758 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
47759 + *[0-9a-f]*: 08 d4 st\.w --r4,r4
47760 + *[0-9a-f]*: 1c de st\.w --lr,lr
47761 + *[0-9a-f]*: 02 d7 st\.w --r1,r7
47762 + *[0-9a-f]*: 06 d9 st\.w --r3,r9
47763 + *[0-9a-f]*: 0a d5 st\.w --r5,r5
47765 +[0-9a-f]* <st_h2>:
47766 + *[0-9a-f]*: 1e ef st\.h --pc,pc
47767 + *[0-9a-f]*: 18 ec st\.h --r12,r12
47768 + *[0-9a-f]*: 0a e5 st\.h --r5,r5
47769 + *[0-9a-f]*: 08 e4 st\.h --r4,r4
47770 + *[0-9a-f]*: 1c ee st\.h --lr,lr
47771 + *[0-9a-f]*: 0a e7 st\.h --r5,r7
47772 + *[0-9a-f]*: 10 e8 st\.h --r8,r8
47773 + *[0-9a-f]*: 0e e2 st\.h --r7,r2
47775 +[0-9a-f]* <st_b2>:
47776 + *[0-9a-f]*: 1e ff st\.b --pc,pc
47777 + *[0-9a-f]*: 18 fc st\.b --r12,r12
47778 + *[0-9a-f]*: 0a f5 st\.b --r5,r5
47779 + *[0-9a-f]*: 08 f4 st\.b --r4,r4
47780 + *[0-9a-f]*: 1c fe st\.b --lr,lr
47781 + *[0-9a-f]*: 1a fd st\.b --sp,sp
47782 + *[0-9a-f]*: 1a fb st\.b --sp,r11
47783 + *[0-9a-f]*: 08 f5 st\.b --r4,r5
47785 +[0-9a-f]* <ld_w1>:
47786 + *[0-9a-f]*: 1f 0f ld\.w pc,pc\+\+
47787 + *[0-9a-f]*: 19 0c ld\.w r12,r12\+\+
47788 + *[0-9a-f]*: 0b 05 ld\.w r5,r5\+\+
47789 + *[0-9a-f]*: 09 04 ld\.w r4,r4\+\+
47790 + *[0-9a-f]*: 1d 0e ld\.w lr,lr\+\+
47791 + *[0-9a-f]*: 0f 03 ld\.w r3,r7\+\+
47792 + *[0-9a-f]*: 1d 03 ld\.w r3,lr\+\+
47793 + *[0-9a-f]*: 0b 0c ld\.w r12,r5\+\+
47795 +[0-9a-f]* <ld_sh1>:
47796 + *[0-9a-f]*: 1f 1f ld\.sh pc,pc\+\+
47797 + *[0-9a-f]*: 19 1c ld\.sh r12,r12\+\+
47798 + *[0-9a-f]*: 0b 15 ld\.sh r5,r5\+\+
47799 + *[0-9a-f]*: 09 14 ld\.sh r4,r4\+\+
47800 + *[0-9a-f]*: 1d 1e ld\.sh lr,lr\+\+
47801 + *[0-9a-f]*: 05 1b ld\.sh r11,r2\+\+
47802 + *[0-9a-f]*: 11 12 ld\.sh r2,r8\+\+
47803 + *[0-9a-f]*: 0d 17 ld\.sh r7,r6\+\+
47805 +[0-9a-f]* <ld_uh1>:
47806 + *[0-9a-f]*: 1f 2f ld\.uh pc,pc\+\+
47807 + *[0-9a-f]*: 19 2c ld\.uh r12,r12\+\+
47808 + *[0-9a-f]*: 0b 25 ld\.uh r5,r5\+\+
47809 + *[0-9a-f]*: 09 24 ld\.uh r4,r4\+\+
47810 + *[0-9a-f]*: 1d 2e ld\.uh lr,lr\+\+
47811 + *[0-9a-f]*: 0f 26 ld\.uh r6,r7\+\+
47812 + *[0-9a-f]*: 17 2a ld\.uh r10,r11\+\+
47813 + *[0-9a-f]*: 09 2e ld\.uh lr,r4\+\+
47815 +[0-9a-f]* <ld_ub1>:
47816 + *[0-9a-f]*: 1f 3f ld\.ub pc,pc\+\+
47817 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
47818 + *[0-9a-f]*: 0b 35 ld\.ub r5,r5\+\+
47819 + *[0-9a-f]*: 09 34 ld\.ub r4,r4\+\+
47820 + *[0-9a-f]*: 1d 3e ld\.ub lr,lr\+\+
47821 + *[0-9a-f]*: 1d 38 ld\.ub r8,lr\+\+
47822 + *[0-9a-f]*: 19 3c ld\.ub r12,r12\+\+
47823 + *[0-9a-f]*: 15 3b ld\.ub r11,r10\+\+
47825 +[0-9a-f]* <ld_w2>:
47826 + *[0-9a-f]*: 1f 4f ld\.w pc,--pc
47827 + *[0-9a-f]*: 19 4c ld\.w r12,--r12
47828 + *[0-9a-f]*: 0b 45 ld\.w r5,--r5
47829 + *[0-9a-f]*: 09 44 ld\.w r4,--r4
47830 + *[0-9a-f]*: 1d 4e ld\.w lr,--lr
47831 + *[0-9a-f]*: 1d 4a ld\.w r10,--lr
47832 + *[0-9a-f]*: 13 4c ld\.w r12,--r9
47833 + *[0-9a-f]*: 0b 46 ld\.w r6,--r5
47835 +[0-9a-f]* <ld_sh2>:
47836 + *[0-9a-f]*: 1f 5f ld\.sh pc,--pc
47837 + *[0-9a-f]*: 19 5c ld\.sh r12,--r12
47838 + *[0-9a-f]*: 0b 55 ld\.sh r5,--r5
47839 + *[0-9a-f]*: 09 54 ld\.sh r4,--r4
47840 + *[0-9a-f]*: 1d 5e ld\.sh lr,--lr
47841 + *[0-9a-f]*: 15 5f ld\.sh pc,--r10
47842 + *[0-9a-f]*: 07 56 ld\.sh r6,--r3
47843 + *[0-9a-f]*: 0d 54 ld\.sh r4,--r6
47845 +[0-9a-f]* <ld_uh2>:
47846 + *[0-9a-f]*: 1f 6f ld\.uh pc,--pc
47847 + *[0-9a-f]*: 19 6c ld\.uh r12,--r12
47848 + *[0-9a-f]*: 0b 65 ld\.uh r5,--r5
47849 + *[0-9a-f]*: 09 64 ld\.uh r4,--r4
47850 + *[0-9a-f]*: 1d 6e ld\.uh lr,--lr
47851 + *[0-9a-f]*: 05 63 ld\.uh r3,--r2
47852 + *[0-9a-f]*: 01 61 ld\.uh r1,--r0
47853 + *[0-9a-f]*: 13 62 ld\.uh r2,--r9
47855 +[0-9a-f]* <ld_ub2>:
47856 + *[0-9a-f]*: 1f 7f ld\.ub pc,--pc
47857 + *[0-9a-f]*: 19 7c ld\.ub r12,--r12
47858 + *[0-9a-f]*: 0b 75 ld\.ub r5,--r5
47859 + *[0-9a-f]*: 09 74 ld\.ub r4,--r4
47860 + *[0-9a-f]*: 1d 7e ld\.ub lr,--lr
47861 + *[0-9a-f]*: 03 71 ld\.ub r1,--r1
47862 + *[0-9a-f]*: 0d 70 ld\.ub r0,--r6
47863 + *[0-9a-f]*: 0f 72 ld\.ub r2,--r7
47865 +[0-9a-f]* <ld_ub3>:
47866 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
47867 + *[0-9a-f]*: 19 fc ld\.ub r12,r12\[0x7\]
47868 + *[0-9a-f]*: 0b c5 ld\.ub r5,r5\[0x4\]
47869 + *[0-9a-f]*: 09 b4 ld\.ub r4,r4\[0x3\]
47870 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
47871 + *[0-9a-f]*: 13 e6 ld\.ub r6,r9\[0x6\]
47872 + *[0-9a-f]*: 1d c2 ld\.ub r2,lr\[0x4\]
47873 + *[0-9a-f]*: 11 81 ld\.ub r1,r8\[0x0\]
47875 +[0-9a-f]* <sub3_sp>:
47876 + *[0-9a-f]*: 20 0d sub sp,0
47877 + *[0-9a-f]*: 2f fd sub sp,-4
47878 + *[0-9a-f]*: 28 0d sub sp,-512
47879 + *[0-9a-f]*: 27 fd sub sp,508
47880 + *[0-9a-f]*: 20 1d sub sp,4
47881 + *[0-9a-f]*: 20 bd sub sp,44
47882 + *[0-9a-f]*: 20 2d sub sp,8
47883 + *[0-9a-f]*: 25 7d sub sp,348
47886 + *[0-9a-f]*: 20 0f sub pc,0
47887 + *[0-9a-f]*: 2f fc sub r12,-1
47888 + *[0-9a-f]*: 28 05 sub r5,-128
47889 + *[0-9a-f]*: 27 f4 sub r4,127
47890 + *[0-9a-f]*: 20 1e sub lr,1
47891 + *[0-9a-f]*: 2d 76 sub r6,-41
47892 + *[0-9a-f]*: 22 54 sub r4,37
47893 + *[0-9a-f]*: 23 8c sub r12,56
47896 + *[0-9a-f]*: 30 0f mov pc,0
47897 + *[0-9a-f]*: 3f fc mov r12,-1
47898 + *[0-9a-f]*: 38 05 mov r5,-128
47899 + *[0-9a-f]*: 37 f4 mov r4,127
47900 + *[0-9a-f]*: 30 1e mov lr,1
47901 + *[0-9a-f]*: 30 ef mov pc,14
47902 + *[0-9a-f]*: 39 c6 mov r6,-100
47903 + *[0-9a-f]*: 38 6e mov lr,-122
47905 +[0-9a-f]* <lddsp>:
47906 + *[0-9a-f]*: 40 0f lddsp pc,sp\[0x0\]
47907 + *[0-9a-f]*: 47 fc lddsp r12,sp\[0x1fc\]
47908 + *[0-9a-f]*: 44 05 lddsp r5,sp\[0x100\]
47909 + *[0-9a-f]*: 43 f4 lddsp r4,sp\[0xfc\]
47910 + *[0-9a-f]*: 40 1e lddsp lr,sp\[0x4\]
47911 + *[0-9a-f]*: 44 0e lddsp lr,sp\[0x100\]
47912 + *[0-9a-f]*: 40 5c lddsp r12,sp\[0x14\]
47913 + *[0-9a-f]*: 47 69 lddsp r9,sp\[0x1d8\]
47915 +[0-9a-f]* <lddpc>:
47916 + *[0-9a-f]*: 48 0f lddpc pc,[0-9a-f]* <.*>
47917 + *[0-9a-f]*: 4f f0 lddpc r0,[0-9a-f]* <.*>
47918 + *[0-9a-f]*: 4c 08 lddpc r8,[0-9a-f]* <.*>
47919 + *[0-9a-f]*: 4b f7 lddpc r7,[0-9a-f]* <.*>
47920 + *[0-9a-f]*: 48 1e lddpc lr,[0-9a-f]* <.*>
47921 + *[0-9a-f]*: 4f 6d lddpc sp,[0-9a-f]* <.*>
47922 + *[0-9a-f]*: 49 e6 lddpc r6,[0-9a-f]* <.*>
47923 + *[0-9a-f]*: 48 7b lddpc r11,[0-9a-f]* <.*>
47925 +[0-9a-f]* <stdsp>:
47926 + *[0-9a-f]*: 50 0f stdsp sp\[0x0\],pc
47927 + *[0-9a-f]*: 57 fc stdsp sp\[0x1fc\],r12
47928 + *[0-9a-f]*: 54 05 stdsp sp\[0x100\],r5
47929 + *[0-9a-f]*: 53 f4 stdsp sp\[0xfc\],r4
47930 + *[0-9a-f]*: 50 1e stdsp sp\[0x4\],lr
47931 + *[0-9a-f]*: 54 cf stdsp sp\[0x130\],pc
47932 + *[0-9a-f]*: 54 00 stdsp sp\[0x100\],r0
47933 + *[0-9a-f]*: 55 45 stdsp sp\[0x150\],r5
47936 + *[0-9a-f]*: 58 0f cp.w pc,0
47937 + *[0-9a-f]*: 5b fc cp.w r12,-1
47938 + *[0-9a-f]*: 5a 05 cp.w r5,-32
47939 + *[0-9a-f]*: 59 f4 cp.w r4,31
47940 + *[0-9a-f]*: 58 1e cp.w lr,1
47941 + *[0-9a-f]*: 58 38 cp.w r8,3
47942 + *[0-9a-f]*: 59 0e cp.w lr,16
47943 + *[0-9a-f]*: 5a 67 cp.w r7,-26
47946 + *[0-9a-f]*: 5c 0f acr pc
47947 + *[0-9a-f]*: 5c 0c acr r12
47948 + *[0-9a-f]*: 5c 05 acr r5
47949 + *[0-9a-f]*: 5c 04 acr r4
47950 + *[0-9a-f]*: 5c 0e acr lr
47951 + *[0-9a-f]*: 5c 02 acr r2
47952 + *[0-9a-f]*: 5c 0c acr r12
47953 + *[0-9a-f]*: 5c 0f acr pc
47956 + *[0-9a-f]*: 5c 1f scr pc
47957 + *[0-9a-f]*: 5c 1c scr r12
47958 + *[0-9a-f]*: 5c 15 scr r5
47959 + *[0-9a-f]*: 5c 14 scr r4
47960 + *[0-9a-f]*: 5c 1e scr lr
47961 + *[0-9a-f]*: 5c 1f scr pc
47962 + *[0-9a-f]*: 5c 16 scr r6
47963 + *[0-9a-f]*: 5c 11 scr r1
47966 + *[0-9a-f]*: 5c 2f cpc pc
47967 + *[0-9a-f]*: 5c 2c cpc r12
47968 + *[0-9a-f]*: 5c 25 cpc r5
47969 + *[0-9a-f]*: 5c 24 cpc r4
47970 + *[0-9a-f]*: 5c 2e cpc lr
47971 + *[0-9a-f]*: 5c 2f cpc pc
47972 + *[0-9a-f]*: 5c 24 cpc r4
47973 + *[0-9a-f]*: 5c 29 cpc r9
47976 + *[0-9a-f]*: 5c 3f neg pc
47977 + *[0-9a-f]*: 5c 3c neg r12
47978 + *[0-9a-f]*: 5c 35 neg r5
47979 + *[0-9a-f]*: 5c 34 neg r4
47980 + *[0-9a-f]*: 5c 3e neg lr
47981 + *[0-9a-f]*: 5c 37 neg r7
47982 + *[0-9a-f]*: 5c 31 neg r1
47983 + *[0-9a-f]*: 5c 39 neg r9
47986 + *[0-9a-f]*: 5c 4f abs pc
47987 + *[0-9a-f]*: 5c 4c abs r12
47988 + *[0-9a-f]*: 5c 45 abs r5
47989 + *[0-9a-f]*: 5c 44 abs r4
47990 + *[0-9a-f]*: 5c 4e abs lr
47991 + *[0-9a-f]*: 5c 46 abs r6
47992 + *[0-9a-f]*: 5c 46 abs r6
47993 + *[0-9a-f]*: 5c 44 abs r4
47995 +[0-9a-f]* <castu_b>:
47996 + *[0-9a-f]*: 5c 5f castu\.b pc
47997 + *[0-9a-f]*: 5c 5c castu\.b r12
47998 + *[0-9a-f]*: 5c 55 castu\.b r5
47999 + *[0-9a-f]*: 5c 54 castu\.b r4
48000 + *[0-9a-f]*: 5c 5e castu\.b lr
48001 + *[0-9a-f]*: 5c 57 castu\.b r7
48002 + *[0-9a-f]*: 5c 5d castu\.b sp
48003 + *[0-9a-f]*: 5c 59 castu\.b r9
48005 +[0-9a-f]* <casts_b>:
48006 + *[0-9a-f]*: 5c 6f casts\.b pc
48007 + *[0-9a-f]*: 5c 6c casts\.b r12
48008 + *[0-9a-f]*: 5c 65 casts\.b r5
48009 + *[0-9a-f]*: 5c 64 casts\.b r4
48010 + *[0-9a-f]*: 5c 6e casts\.b lr
48011 + *[0-9a-f]*: 5c 6b casts\.b r11
48012 + *[0-9a-f]*: 5c 61 casts\.b r1
48013 + *[0-9a-f]*: 5c 6a casts\.b r10
48015 +[0-9a-f]* <castu_h>:
48016 + *[0-9a-f]*: 5c 7f castu\.h pc
48017 + *[0-9a-f]*: 5c 7c castu\.h r12
48018 + *[0-9a-f]*: 5c 75 castu\.h r5
48019 + *[0-9a-f]*: 5c 74 castu\.h r4
48020 + *[0-9a-f]*: 5c 7e castu\.h lr
48021 + *[0-9a-f]*: 5c 7a castu\.h r10
48022 + *[0-9a-f]*: 5c 7b castu\.h r11
48023 + *[0-9a-f]*: 5c 71 castu\.h r1
48025 +[0-9a-f]* <casts_h>:
48026 + *[0-9a-f]*: 5c 8f casts\.h pc
48027 + *[0-9a-f]*: 5c 8c casts\.h r12
48028 + *[0-9a-f]*: 5c 85 casts\.h r5
48029 + *[0-9a-f]*: 5c 84 casts\.h r4
48030 + *[0-9a-f]*: 5c 8e casts\.h lr
48031 + *[0-9a-f]*: 5c 80 casts\.h r0
48032 + *[0-9a-f]*: 5c 85 casts\.h r5
48033 + *[0-9a-f]*: 5c 89 casts\.h r9
48036 + *[0-9a-f]*: 5c 9f brev pc
48037 + *[0-9a-f]*: 5c 9c brev r12
48038 + *[0-9a-f]*: 5c 95 brev r5
48039 + *[0-9a-f]*: 5c 94 brev r4
48040 + *[0-9a-f]*: 5c 9e brev lr
48041 + *[0-9a-f]*: 5c 95 brev r5
48042 + *[0-9a-f]*: 5c 9a brev r10
48043 + *[0-9a-f]*: 5c 98 brev r8
48045 +[0-9a-f]* <swap_h>:
48046 + *[0-9a-f]*: 5c af swap\.h pc
48047 + *[0-9a-f]*: 5c ac swap\.h r12
48048 + *[0-9a-f]*: 5c a5 swap\.h r5
48049 + *[0-9a-f]*: 5c a4 swap\.h r4
48050 + *[0-9a-f]*: 5c ae swap\.h lr
48051 + *[0-9a-f]*: 5c a7 swap\.h r7
48052 + *[0-9a-f]*: 5c a0 swap\.h r0
48053 + *[0-9a-f]*: 5c a8 swap\.h r8
48055 +[0-9a-f]* <swap_b>:
48056 + *[0-9a-f]*: 5c bf swap\.b pc
48057 + *[0-9a-f]*: 5c bc swap\.b r12
48058 + *[0-9a-f]*: 5c b5 swap\.b r5
48059 + *[0-9a-f]*: 5c b4 swap\.b r4
48060 + *[0-9a-f]*: 5c be swap\.b lr
48061 + *[0-9a-f]*: 5c ba swap\.b r10
48062 + *[0-9a-f]*: 5c bc swap\.b r12
48063 + *[0-9a-f]*: 5c b1 swap\.b r1
48065 +[0-9a-f]* <swap_bh>:
48066 + *[0-9a-f]*: 5c cf swap\.bh pc
48067 + *[0-9a-f]*: 5c cc swap\.bh r12
48068 + *[0-9a-f]*: 5c c5 swap\.bh r5
48069 + *[0-9a-f]*: 5c c4 swap\.bh r4
48070 + *[0-9a-f]*: 5c ce swap\.bh lr
48071 + *[0-9a-f]*: 5c c9 swap\.bh r9
48072 + *[0-9a-f]*: 5c c4 swap\.bh r4
48073 + *[0-9a-f]*: 5c c1 swap\.bh r1
48075 +[0-9a-f]* <One_s_compliment>:
48076 + *[0-9a-f]*: 5c df com pc
48077 + *[0-9a-f]*: 5c dc com r12
48078 + *[0-9a-f]*: 5c d5 com r5
48079 + *[0-9a-f]*: 5c d4 com r4
48080 + *[0-9a-f]*: 5c de com lr
48081 + *[0-9a-f]*: 5c d2 com r2
48082 + *[0-9a-f]*: 5c d2 com r2
48083 + *[0-9a-f]*: 5c d7 com r7
48086 + *[0-9a-f]*: 5c ef tnbz pc
48087 + *[0-9a-f]*: 5c ec tnbz r12
48088 + *[0-9a-f]*: 5c e5 tnbz r5
48089 + *[0-9a-f]*: 5c e4 tnbz r4
48090 + *[0-9a-f]*: 5c ee tnbz lr
48091 + *[0-9a-f]*: 5c e8 tnbz r8
48092 + *[0-9a-f]*: 5c ec tnbz r12
48093 + *[0-9a-f]*: 5c ef tnbz pc
48096 + *[0-9a-f]*: 5c ff rol pc
48097 + *[0-9a-f]*: 5c fc rol r12
48098 + *[0-9a-f]*: 5c f5 rol r5
48099 + *[0-9a-f]*: 5c f4 rol r4
48100 + *[0-9a-f]*: 5c fe rol lr
48101 + *[0-9a-f]*: 5c fa rol r10
48102 + *[0-9a-f]*: 5c f9 rol r9
48103 + *[0-9a-f]*: 5c f5 rol r5
48106 + *[0-9a-f]*: 5d 0f ror pc
48107 + *[0-9a-f]*: 5d 0c ror r12
48108 + *[0-9a-f]*: 5d 05 ror r5
48109 + *[0-9a-f]*: 5d 04 ror r4
48110 + *[0-9a-f]*: 5d 0e ror lr
48111 + *[0-9a-f]*: 5d 08 ror r8
48112 + *[0-9a-f]*: 5d 04 ror r4
48113 + *[0-9a-f]*: 5d 07 ror r7
48115 +[0-9a-f]* <icall>:
48116 + *[0-9a-f]*: 5d 1f icall pc
48117 + *[0-9a-f]*: 5d 1c icall r12
48118 + *[0-9a-f]*: 5d 15 icall r5
48119 + *[0-9a-f]*: 5d 14 icall r4
48120 + *[0-9a-f]*: 5d 1e icall lr
48121 + *[0-9a-f]*: 5d 13 icall r3
48122 + *[0-9a-f]*: 5d 11 icall r1
48123 + *[0-9a-f]*: 5d 13 icall r3
48125 +[0-9a-f]* <mustr>:
48126 + *[0-9a-f]*: 5d 2f mustr pc
48127 + *[0-9a-f]*: 5d 2c mustr r12
48128 + *[0-9a-f]*: 5d 25 mustr r5
48129 + *[0-9a-f]*: 5d 24 mustr r4
48130 + *[0-9a-f]*: 5d 2e mustr lr
48131 + *[0-9a-f]*: 5d 21 mustr r1
48132 + *[0-9a-f]*: 5d 24 mustr r4
48133 + *[0-9a-f]*: 5d 2c mustr r12
48135 +[0-9a-f]* <musfr>:
48136 + *[0-9a-f]*: 5d 3f musfr pc
48137 + *[0-9a-f]*: 5d 3c musfr r12
48138 + *[0-9a-f]*: 5d 35 musfr r5
48139 + *[0-9a-f]*: 5d 34 musfr r4
48140 + *[0-9a-f]*: 5d 3e musfr lr
48141 + *[0-9a-f]*: 5d 3b musfr r11
48142 + *[0-9a-f]*: 5d 3c musfr r12
48143 + *[0-9a-f]*: 5d 32 musfr r2
48145 +[0-9a-f]* <ret_cond>:
48146 + *[0-9a-f]*: 5e 0f reteq 1
48147 + *[0-9a-f]*: 5e fc retal r12
48148 + *[0-9a-f]*: 5e 85 retls r5
48149 + *[0-9a-f]*: 5e 74 retpl r4
48150 + *[0-9a-f]*: 5e 1e retne -1
48151 + *[0-9a-f]*: 5e 90 retgt r0
48152 + *[0-9a-f]*: 5e 9c retgt r12
48153 + *[0-9a-f]*: 5e 4a retge r10
48155 +[0-9a-f]* <sr_cond>:
48156 + *[0-9a-f]*: 5f 0f sreq pc
48157 + *[0-9a-f]*: 5f fc sral r12
48158 + *[0-9a-f]*: 5f 85 srls r5
48159 + *[0-9a-f]*: 5f 74 srpl r4
48160 + *[0-9a-f]*: 5f 1e srne lr
48161 + *[0-9a-f]*: 5f 50 srlt r0
48162 + *[0-9a-f]*: 5f fd sral sp
48163 + *[0-9a-f]*: 5f 49 srge r9
48165 +[0-9a-f]* <ld_w3>:
48166 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
48167 + *[0-9a-f]*: 79 fc ld\.w r12,r12\[0x7c\]
48168 + *[0-9a-f]*: 6b 05 ld\.w r5,r5\[0x40\]
48169 + *[0-9a-f]*: 68 f4 ld\.w r4,r4\[0x3c\]
48170 + *[0-9a-f]*: 7c 1e ld\.w lr,lr\[0x4\]
48171 + *[0-9a-f]*: 64 dd ld\.w sp,r2\[0x34\]
48172 + *[0-9a-f]*: 62 29 ld\.w r9,r1\[0x8\]
48173 + *[0-9a-f]*: 7a f5 ld\.w r5,sp\[0x3c\]
48175 +[0-9a-f]* <ld_sh3>:
48176 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
48177 + *[0-9a-f]*: 98 7c ld\.sh r12,r12\[0xe\]
48178 + *[0-9a-f]*: 8a 45 ld\.sh r5,r5\[0x8\]
48179 + *[0-9a-f]*: 88 34 ld\.sh r4,r4\[0x6\]
48180 + *[0-9a-f]*: 9c 1e ld\.sh lr,lr\[0x2\]
48181 + *[0-9a-f]*: 84 44 ld\.sh r4,r2\[0x8\]
48182 + *[0-9a-f]*: 9c 5d ld\.sh sp,lr\[0xa\]
48183 + *[0-9a-f]*: 96 12 ld\.sh r2,r11\[0x2\]
48185 +[0-9a-f]* <ld_uh3>:
48186 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
48187 + *[0-9a-f]*: 98 fc ld\.uh r12,r12\[0xe\]
48188 + *[0-9a-f]*: 8a c5 ld\.uh r5,r5\[0x8\]
48189 + *[0-9a-f]*: 88 b4 ld\.uh r4,r4\[0x6\]
48190 + *[0-9a-f]*: 9c 9e ld\.uh lr,lr\[0x2\]
48191 + *[0-9a-f]*: 80 da ld\.uh r10,r0\[0xa\]
48192 + *[0-9a-f]*: 96 c8 ld\.uh r8,r11\[0x8\]
48193 + *[0-9a-f]*: 84 ea ld\.uh r10,r2\[0xc\]
48195 +[0-9a-f]* <st_w3>:
48196 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
48197 + *[0-9a-f]*: 99 fc st\.w r12\[0x3c\],r12
48198 + *[0-9a-f]*: 8b 85 st\.w r5\[0x20\],r5
48199 + *[0-9a-f]*: 89 74 st\.w r4\[0x1c\],r4
48200 + *[0-9a-f]*: 9d 1e st\.w lr\[0x4\],lr
48201 + *[0-9a-f]*: 8f bb st\.w r7\[0x2c\],r11
48202 + *[0-9a-f]*: 85 66 st\.w r2\[0x18\],r6
48203 + *[0-9a-f]*: 89 39 st\.w r4\[0xc\],r9
48205 +[0-9a-f]* <st_h3>:
48206 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
48207 + *[0-9a-f]*: b8 7c st\.h r12\[0xe\],r12
48208 + *[0-9a-f]*: aa 45 st\.h r5\[0x8\],r5
48209 + *[0-9a-f]*: a8 34 st\.h r4\[0x6\],r4
48210 + *[0-9a-f]*: bc 1e st\.h lr\[0x2\],lr
48211 + *[0-9a-f]*: bc 5c st\.h lr\[0xa\],r12
48212 + *[0-9a-f]*: ac 20 st\.h r6\[0x4\],r0
48213 + *[0-9a-f]*: aa 6d st\.h r5\[0xc\],sp
48215 +[0-9a-f]* <st_b3>:
48216 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
48217 + *[0-9a-f]*: b8 fc st\.b r12\[0x7\],r12
48218 + *[0-9a-f]*: aa c5 st\.b r5\[0x4\],r5
48219 + *[0-9a-f]*: a8 b4 st\.b r4\[0x3\],r4
48220 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
48221 + *[0-9a-f]*: b8 e9 st\.b r12\[0x6\],r9
48222 + *[0-9a-f]*: a4 be st\.b r2\[0x3\],lr
48223 + *[0-9a-f]*: a2 bb st\.b r1\[0x3\],r11
48226 + *[0-9a-f]*: bf 00 ld\.d r0,pc
48227 + *[0-9a-f]*: b9 0e ld\.d lr,r12
48228 + *[0-9a-f]*: ab 08 ld\.d r8,r5
48229 + *[0-9a-f]*: a9 06 ld\.d r6,r4
48230 + *[0-9a-f]*: bd 02 ld\.d r2,lr
48231 + *[0-9a-f]*: af 0e ld\.d lr,r7
48232 + *[0-9a-f]*: a9 04 ld\.d r4,r4
48233 + *[0-9a-f]*: bf 0e ld\.d lr,pc
48235 +[0-9a-f]* <ldd_postinc>:
48236 + *[0-9a-f]*: bf 01 ld\.d r0,pc\+\+
48237 + *[0-9a-f]*: b9 0f ld\.d lr,r12\+\+
48238 + *[0-9a-f]*: ab 09 ld\.d r8,r5\+\+
48239 + *[0-9a-f]*: a9 07 ld\.d r6,r4\+\+
48240 + *[0-9a-f]*: bd 03 ld\.d r2,lr\+\+
48241 + *[0-9a-f]*: ab 0f ld\.d lr,r5\+\+
48242 + *[0-9a-f]*: b7 0d ld\.d r12,r11\+\+
48243 + *[0-9a-f]*: b9 03 ld\.d r2,r12\+\+
48245 +[0-9a-f]* <ldd_predec>:
48246 + *[0-9a-f]*: bf 10 ld\.d r0,--pc
48247 + *[0-9a-f]*: b9 1e ld\.d lr,--r12
48248 + *[0-9a-f]*: ab 18 ld\.d r8,--r5
48249 + *[0-9a-f]*: a9 16 ld\.d r6,--r4
48250 + *[0-9a-f]*: bd 12 ld\.d r2,--lr
48251 + *[0-9a-f]*: a1 18 ld\.d r8,--r0
48252 + *[0-9a-f]*: bf 1a ld\.d r10,--pc
48253 + *[0-9a-f]*: a9 12 ld\.d r2,--r4
48256 + *[0-9a-f]*: bf 11 st\.d pc,r0
48257 + *[0-9a-f]*: b9 1f st\.d r12,lr
48258 + *[0-9a-f]*: ab 19 st\.d r5,r8
48259 + *[0-9a-f]*: a9 17 st\.d r4,r6
48260 + *[0-9a-f]*: bd 13 st\.d lr,r2
48261 + *[0-9a-f]*: a1 1d st\.d r0,r12
48262 + *[0-9a-f]*: bb 15 st\.d sp,r4
48263 + *[0-9a-f]*: b9 1d st\.d r12,r12
48265 +[0-9a-f]* <std_postinc>:
48266 + *[0-9a-f]*: bf 20 st\.d pc\+\+,r0
48267 + *[0-9a-f]*: b9 2e st\.d r12\+\+,lr
48268 + *[0-9a-f]*: ab 28 st\.d r5\+\+,r8
48269 + *[0-9a-f]*: a9 26 st\.d r4\+\+,r6
48270 + *[0-9a-f]*: bd 22 st\.d lr\+\+,r2
48271 + *[0-9a-f]*: bb 26 st\.d sp\+\+,r6
48272 + *[0-9a-f]*: b5 26 st\.d r10\+\+,r6
48273 + *[0-9a-f]*: af 22 st\.d r7\+\+,r2
48275 +[0-9a-f]* <std_predec>:
48276 + *[0-9a-f]*: bf 21 st\.d --pc,r0
48277 + *[0-9a-f]*: b9 2f st\.d --r12,lr
48278 + *[0-9a-f]*: ab 29 st\.d --r5,r8
48279 + *[0-9a-f]*: a9 27 st\.d --r4,r6
48280 + *[0-9a-f]*: bd 23 st\.d --lr,r2
48281 + *[0-9a-f]*: a7 27 st\.d --r3,r6
48282 + *[0-9a-f]*: bd 23 st\.d --lr,r2
48283 + *[0-9a-f]*: a1 25 st\.d --r0,r4
48286 + *[0-9a-f]*: bf 3f mul pc,pc
48287 + *[0-9a-f]*: b9 3c mul r12,r12
48288 + *[0-9a-f]*: ab 35 mul r5,r5
48289 + *[0-9a-f]*: a9 34 mul r4,r4
48290 + *[0-9a-f]*: bd 3e mul lr,lr
48291 + *[0-9a-f]*: bd 3a mul r10,lr
48292 + *[0-9a-f]*: b1 30 mul r0,r8
48293 + *[0-9a-f]*: ab 38 mul r8,r5
48295 +[0-9a-f]* <asr_imm5>:
48296 + *[0-9a-f]*: a1 4f asr pc,0x0
48297 + *[0-9a-f]*: bf 5c asr r12,0x1f
48298 + *[0-9a-f]*: b1 45 asr r5,0x10
48299 + *[0-9a-f]*: af 54 asr r4,0xf
48300 + *[0-9a-f]*: a1 5e asr lr,0x1
48301 + *[0-9a-f]*: b7 56 asr r6,0x17
48302 + *[0-9a-f]*: b3 46 asr r6,0x12
48303 + *[0-9a-f]*: a9 45 asr r5,0x8
48305 +[0-9a-f]* <lsl_imm5>:
48306 + *[0-9a-f]*: a1 6f lsl pc,0x0
48307 + *[0-9a-f]*: bf 7c lsl r12,0x1f
48308 + *[0-9a-f]*: b1 65 lsl r5,0x10
48309 + *[0-9a-f]*: af 74 lsl r4,0xf
48310 + *[0-9a-f]*: a1 7e lsl lr,0x1
48311 + *[0-9a-f]*: ad 7c lsl r12,0xd
48312 + *[0-9a-f]*: b1 66 lsl r6,0x10
48313 + *[0-9a-f]*: b9 71 lsl r1,0x19
48315 +[0-9a-f]* <lsr_imm5>:
48316 + *[0-9a-f]*: a1 8f lsr pc,0x0
48317 + *[0-9a-f]*: bf 9c lsr r12,0x1f
48318 + *[0-9a-f]*: b1 85 lsr r5,0x10
48319 + *[0-9a-f]*: af 94 lsr r4,0xf
48320 + *[0-9a-f]*: a1 9e lsr lr,0x1
48321 + *[0-9a-f]*: a1 90 lsr r0,0x1
48322 + *[0-9a-f]*: ab 88 lsr r8,0xa
48323 + *[0-9a-f]*: bb 87 lsr r7,0x1a
48326 + *[0-9a-f]*: a1 af sbr pc,0x0
48327 + *[0-9a-f]*: bf bc sbr r12,0x1f
48328 + *[0-9a-f]*: b1 a5 sbr r5,0x10
48329 + *[0-9a-f]*: af b4 sbr r4,0xf
48330 + *[0-9a-f]*: a1 be sbr lr,0x1
48331 + *[0-9a-f]*: bf b8 sbr r8,0x1f
48332 + *[0-9a-f]*: b7 a6 sbr r6,0x16
48333 + *[0-9a-f]*: b7 b1 sbr r1,0x17
48336 + *[0-9a-f]*: a1 cf cbr pc,0x0
48337 + *[0-9a-f]*: bf dc cbr r12,0x1f
48338 + *[0-9a-f]*: b1 c5 cbr r5,0x10
48339 + *[0-9a-f]*: af d4 cbr r4,0xf
48340 + *[0-9a-f]*: a1 de cbr lr,0x1
48341 + *[0-9a-f]*: ab cc cbr r12,0xa
48342 + *[0-9a-f]*: b7 c7 cbr r7,0x16
48343 + *[0-9a-f]*: a9 d8 cbr r8,0x9
48346 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
48347 + *[0-9a-f]*: cf f7 brpl [0-9a-f]* <.*>
48348 + *[0-9a-f]*: c8 04 brge [0-9a-f]* <.*>
48349 + *[0-9a-f]*: c7 f3 brcs [0-9a-f]* <.*>
48350 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
48351 + *[0-9a-f]*: c7 33 brcs [0-9a-f]* <.*>
48352 + *[0-9a-f]*: cf 70 breq [0-9a-f]* <.*>
48353 + *[0-9a-f]*: c0 60 breq [0-9a-f]* <.*>
48356 + *[0-9a-f]*: c0 08 rjmp [0-9a-f]* <.*>
48357 + *[0-9a-f]*: cf fb rjmp [0-9a-f]* <.*>
48358 + *[0-9a-f]*: c0 0a rjmp [0-9a-f]* <.*>
48359 + *[0-9a-f]*: cf f9 rjmp [0-9a-f]* <.*>
48360 + *[0-9a-f]*: c0 18 rjmp [0-9a-f]* <.*>
48361 + *[0-9a-f]*: c1 fa rjmp [0-9a-f]* <.*>
48362 + *[0-9a-f]*: c0 78 rjmp [0-9a-f]* <.*>
48363 + *[0-9a-f]*: cf ea rjmp [0-9a-f]* <.*>
48365 +[0-9a-f]* <rcall1>:
48366 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
48367 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
48368 + *[0-9a-f]*: c0 0e rcall [0-9a-f]* <.*>
48369 + *[0-9a-f]*: cf fd rcall [0-9a-f]* <.*>
48370 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
48371 + *[0-9a-f]*: c6 cc rcall [0-9a-f]* <.*>
48372 + *[0-9a-f]*: cf 7e rcall [0-9a-f]* <.*>
48373 + *[0-9a-f]*: c1 ae rcall [0-9a-f]* <.*>
48375 +[0-9a-f]* <acall>:
48376 + *[0-9a-f]*: d0 00 acall 0x0
48377 + *[0-9a-f]*: df f0 acall 0x3fc
48378 + *[0-9a-f]*: d8 00 acall 0x200
48379 + *[0-9a-f]*: d7 f0 acall 0x1fc
48380 + *[0-9a-f]*: d0 10 acall 0x4
48381 + *[0-9a-f]*: d5 90 acall 0x164
48382 + *[0-9a-f]*: d4 c0 acall 0x130
48383 + *[0-9a-f]*: d2 b0 acall 0xac
48385 +[0-9a-f]* <scall>:
48386 + *[0-9a-f]*: d7 33 scall
48387 + *[0-9a-f]*: d7 33 scall
48388 + *[0-9a-f]*: d7 33 scall
48389 + *[0-9a-f]*: d7 33 scall
48390 + *[0-9a-f]*: d7 33 scall
48391 + *[0-9a-f]*: d7 33 scall
48392 + *[0-9a-f]*: d7 33 scall
48393 + *[0-9a-f]*: d7 33 scall
48396 + *[0-9a-f]*: d8 02 popm pc
48397 + *[0-9a-f]*: dd fa popm r0-r11,pc,r12=-1
48398 + *[0-9a-f]*: d4 02 popm lr
48399 + *[0-9a-f]*: db fa popm r0-r11,pc,r12=1
48400 + *[0-9a-f]*: d0 12 popm r0-r3
48401 + *[0-9a-f]*: d8 e2 popm r4-r10,pc
48402 + *[0-9a-f]*: d9 1a popm r0-r3,r11,pc,r12=0
48403 + *[0-9a-f]*: d7 b2 popm r0-r7,r10-r12,lr
48405 +[0-9a-f]* <pushm>:
48406 + *[0-9a-f]*: d8 01 pushm pc
48407 + *[0-9a-f]*: df f1 pushm r0-r12,lr-pc
48408 + *[0-9a-f]*: d8 01 pushm pc
48409 + *[0-9a-f]*: d7 f1 pushm r0-r12,lr
48410 + *[0-9a-f]*: d0 11 pushm r0-r3
48411 + *[0-9a-f]*: dc c1 pushm r8-r10,lr-pc
48412 + *[0-9a-f]*: d0 91 pushm r0-r3,r10
48413 + *[0-9a-f]*: d2 41 pushm r8-r9,r12
48415 +[0-9a-f]* <popm_n>:
48425 +[0-9a-f]* <pushm_n>:
48435 +[0-9a-f]* <csrfcz>:
48436 + *[0-9a-f]*: d0 03 csrfcz 0x0
48437 + *[0-9a-f]*: d1 f3 csrfcz 0x1f
48438 + *[0-9a-f]*: d1 03 csrfcz 0x10
48439 + *[0-9a-f]*: d0 f3 csrfcz 0xf
48440 + *[0-9a-f]*: d0 13 csrfcz 0x1
48441 + *[0-9a-f]*: d0 53 csrfcz 0x5
48442 + *[0-9a-f]*: d0 d3 csrfcz 0xd
48443 + *[0-9a-f]*: d1 73 csrfcz 0x17
48446 + *[0-9a-f]*: d2 03 ssrf 0x0
48447 + *[0-9a-f]*: d3 f3 ssrf 0x1f
48448 + *[0-9a-f]*: d3 03 ssrf 0x10
48449 + *[0-9a-f]*: d2 f3 ssrf 0xf
48450 + *[0-9a-f]*: d2 13 ssrf 0x1
48451 + *[0-9a-f]*: d3 d3 ssrf 0x1d
48452 + *[0-9a-f]*: d2 d3 ssrf 0xd
48453 + *[0-9a-f]*: d2 d3 ssrf 0xd
48456 + *[0-9a-f]*: d4 03 csrf 0x0
48457 + *[0-9a-f]*: d5 f3 csrf 0x1f
48458 + *[0-9a-f]*: d5 03 csrf 0x10
48459 + *[0-9a-f]*: d4 f3 csrf 0xf
48460 + *[0-9a-f]*: d4 13 csrf 0x1
48461 + *[0-9a-f]*: d4 a3 csrf 0xa
48462 + *[0-9a-f]*: d4 f3 csrf 0xf
48463 + *[0-9a-f]*: d4 b3 csrf 0xb
48466 + *[0-9a-f]*: d6 03 rete
48469 + *[0-9a-f]*: d6 13 rets
48472 + *[0-9a-f]*: d6 23 retd
48475 + *[0-9a-f]*: d6 33 retj
48478 + *[0-9a-f]*: d6 43 tlbr
48481 + *[0-9a-f]*: d6 53 tlbs
48484 + *[0-9a-f]*: d6 63 tlbw
48486 +[0-9a-f]* <breakpoint>:
48487 + *[0-9a-f]*: d6 73 breakpoint
48489 +[0-9a-f]* <incjosp>:
48490 + *[0-9a-f]*: d6 83 incjosp 1
48491 + *[0-9a-f]*: d6 93 incjosp 2
48492 + *[0-9a-f]*: d6 a3 incjosp 3
48493 + *[0-9a-f]*: d6 b3 incjosp 4
48494 + *[0-9a-f]*: d6 c3 incjosp -4
48495 + *[0-9a-f]*: d6 d3 incjosp -3
48496 + *[0-9a-f]*: d6 e3 incjosp -2
48497 + *[0-9a-f]*: d6 f3 incjosp -1
48500 + *[0-9a-f]*: d7 03 nop
48502 +[0-9a-f]* <popjc>:
48503 + *[0-9a-f]*: d7 13 popjc
48505 +[0-9a-f]* <pushjc>:
48506 + *[0-9a-f]*: d7 23 pushjc
48509 + *[0-9a-f]*: fe 0f 00 0f add pc,pc,pc
48510 + *[0-9a-f]*: f8 0c 00 3c add r12,r12,r12<<0x3
48511 + *[0-9a-f]*: ea 05 00 25 add r5,r5,r5<<0x2
48512 + *[0-9a-f]*: e8 04 00 14 add r4,r4,r4<<0x1
48513 + *[0-9a-f]*: fc 0e 00 1e add lr,lr,lr<<0x1
48514 + *[0-9a-f]*: f8 00 00 10 add r0,r12,r0<<0x1
48515 + *[0-9a-f]*: f8 04 00 09 add r9,r12,r4
48516 + *[0-9a-f]*: f8 07 00 2c add r12,r12,r7<<0x2
48519 + *[0-9a-f]*: fe 0f 01 0f sub pc,pc,pc
48520 + *[0-9a-f]*: f8 0c 01 3c sub r12,r12,r12<<0x3
48521 + *[0-9a-f]*: ea 05 01 25 sub r5,r5,r5<<0x2
48522 + *[0-9a-f]*: e8 04 01 14 sub r4,r4,r4<<0x1
48523 + *[0-9a-f]*: fc 0e 01 1e sub lr,lr,lr<<0x1
48524 + *[0-9a-f]*: e6 04 01 0d sub sp,r3,r4
48525 + *[0-9a-f]*: ee 03 01 03 sub r3,r7,r3
48526 + *[0-9a-f]*: f4 0d 01 1d sub sp,r10,sp<<0x1
48529 + *[0-9a-f]*: fe 0f 0d 0f divu pc,pc,pc
48530 + *[0-9a-f]*: f8 0c 0d 0c divu r12,r12,r12
48531 + *[0-9a-f]*: ea 05 0d 05 divu r5,r5,r5
48532 + *[0-9a-f]*: e8 04 0d 04 divu r4,r4,r4
48533 + *[0-9a-f]*: fc 0e 0d 0e divu lr,lr,lr
48534 + *[0-9a-f]*: e8 0f 0d 0d divu sp,r4,pc
48535 + *[0-9a-f]*: ea 0d 0d 05 divu r5,r5,sp
48536 + *[0-9a-f]*: fa 00 0d 0a divu r10,sp,r0
48538 +[0-9a-f]* <addhh_w>:
48539 + *[0-9a-f]*: fe 0f 0e 0f addhh\.w pc,pc:b,pc:b
48540 + *[0-9a-f]*: f8 0c 0e 3c addhh\.w r12,r12:t,r12:t
48541 + *[0-9a-f]*: ea 05 0e 35 addhh\.w r5,r5:t,r5:t
48542 + *[0-9a-f]*: e8 04 0e 04 addhh\.w r4,r4:b,r4:b
48543 + *[0-9a-f]*: fc 0e 0e 3e addhh\.w lr,lr:t,lr:t
48544 + *[0-9a-f]*: e0 03 0e 00 addhh\.w r0,r0:b,r3:b
48545 + *[0-9a-f]*: f8 07 0e 2e addhh\.w lr,r12:t,r7:b
48546 + *[0-9a-f]*: f4 02 0e 23 addhh\.w r3,r10:t,r2:b
48548 +[0-9a-f]* <subhh_w>:
48549 + *[0-9a-f]*: fe 0f 0f 0f subhh\.w pc,pc:b,pc:b
48550 + *[0-9a-f]*: f8 0c 0f 3c subhh\.w r12,r12:t,r12:t
48551 + *[0-9a-f]*: ea 05 0f 35 subhh\.w r5,r5:t,r5:t
48552 + *[0-9a-f]*: e8 04 0f 04 subhh\.w r4,r4:b,r4:b
48553 + *[0-9a-f]*: fc 0e 0f 3e subhh\.w lr,lr:t,lr:t
48554 + *[0-9a-f]*: e2 07 0f 2a subhh\.w r10,r1:t,r7:b
48555 + *[0-9a-f]*: f4 0e 0f 3f subhh\.w pc,r10:t,lr:t
48556 + *[0-9a-f]*: e0 0c 0f 23 subhh\.w r3,r0:t,r12:b
48559 + *[0-9a-f]*: fe 0f 00 4f adc pc,pc,pc
48560 + *[0-9a-f]*: f8 0c 00 4c adc r12,r12,r12
48561 + *[0-9a-f]*: ea 05 00 45 adc r5,r5,r5
48562 + *[0-9a-f]*: e8 04 00 44 adc r4,r4,r4
48563 + *[0-9a-f]*: fc 0e 00 4e adc lr,lr,lr
48564 + *[0-9a-f]*: e0 07 00 44 adc r4,r0,r7
48565 + *[0-9a-f]*: e8 03 00 4d adc sp,r4,r3
48566 + *[0-9a-f]*: f8 00 00 42 adc r2,r12,r0
48569 + *[0-9a-f]*: fe 0f 01 4f sbc pc,pc,pc
48570 + *[0-9a-f]*: f8 0c 01 4c sbc r12,r12,r12
48571 + *[0-9a-f]*: ea 05 01 45 sbc r5,r5,r5
48572 + *[0-9a-f]*: e8 04 01 44 sbc r4,r4,r4
48573 + *[0-9a-f]*: fc 0e 01 4e sbc lr,lr,lr
48574 + *[0-9a-f]*: ee 09 01 46 sbc r6,r7,r9
48575 + *[0-9a-f]*: f0 05 01 40 sbc r0,r8,r5
48576 + *[0-9a-f]*: e0 04 01 41 sbc r1,r0,r4
48578 +[0-9a-f]* <mul_2>:
48579 + *[0-9a-f]*: fe 0f 02 4f mul pc,pc,pc
48580 + *[0-9a-f]*: f8 0c 02 4c mul r12,r12,r12
48581 + *[0-9a-f]*: ea 05 02 45 mul r5,r5,r5
48582 + *[0-9a-f]*: e8 04 02 44 mul r4,r4,r4
48583 + *[0-9a-f]*: fc 0e 02 4e mul lr,lr,lr
48584 + *[0-9a-f]*: e0 00 02 4f mul pc,r0,r0
48585 + *[0-9a-f]*: fe 0e 02 48 mul r8,pc,lr
48586 + *[0-9a-f]*: f8 0f 02 44 mul r4,r12,pc
48589 + *[0-9a-f]*: fe 0f 03 4f mac pc,pc,pc
48590 + *[0-9a-f]*: f8 0c 03 4c mac r12,r12,r12
48591 + *[0-9a-f]*: ea 05 03 45 mac r5,r5,r5
48592 + *[0-9a-f]*: e8 04 03 44 mac r4,r4,r4
48593 + *[0-9a-f]*: fc 0e 03 4e mac lr,lr,lr
48594 + *[0-9a-f]*: e8 00 03 4a mac r10,r4,r0
48595 + *[0-9a-f]*: fc 00 03 47 mac r7,lr,r0
48596 + *[0-9a-f]*: f2 0c 03 42 mac r2,r9,r12
48598 +[0-9a-f]* <mulsd>:
48599 + *[0-9a-f]*: fe 0f 04 4f muls\.d pc,pc,pc
48600 + *[0-9a-f]*: f8 0c 04 4c muls\.d r12,r12,r12
48601 + *[0-9a-f]*: ea 05 04 45 muls\.d r5,r5,r5
48602 + *[0-9a-f]*: e8 04 04 44 muls\.d r4,r4,r4
48603 + *[0-9a-f]*: fc 0e 04 4e muls\.d lr,lr,lr
48604 + *[0-9a-f]*: f0 0e 04 42 muls\.d r2,r8,lr
48605 + *[0-9a-f]*: e0 0b 04 44 muls\.d r4,r0,r11
48606 + *[0-9a-f]*: fc 06 04 45 muls\.d r5,lr,r6
48608 +[0-9a-f]* <macsd>:
48609 + *[0-9a-f]*: fe 0f 05 40 macs\.d r0,pc,pc
48610 + *[0-9a-f]*: f8 0c 05 4e macs\.d lr,r12,r12
48611 + *[0-9a-f]*: ea 05 05 48 macs\.d r8,r5,r5
48612 + *[0-9a-f]*: e8 04 05 46 macs\.d r6,r4,r4
48613 + *[0-9a-f]*: fc 0e 05 42 macs\.d r2,lr,lr
48614 + *[0-9a-f]*: e2 09 05 48 macs\.d r8,r1,r9
48615 + *[0-9a-f]*: f0 08 05 4e macs\.d lr,r8,r8
48616 + *[0-9a-f]*: e6 0c 05 44 macs\.d r4,r3,r12
48618 +[0-9a-f]* <mulud>:
48619 + *[0-9a-f]*: fe 0f 06 40 mulu\.d r0,pc,pc
48620 + *[0-9a-f]*: f8 0c 06 4e mulu\.d lr,r12,r12
48621 + *[0-9a-f]*: ea 05 06 48 mulu\.d r8,r5,r5
48622 + *[0-9a-f]*: e8 04 06 46 mulu\.d r6,r4,r4
48623 + *[0-9a-f]*: fc 0e 06 42 mulu\.d r2,lr,lr
48624 + *[0-9a-f]*: ea 00 06 46 mulu\.d r6,r5,r0
48625 + *[0-9a-f]*: ec 01 06 44 mulu\.d r4,r6,r1
48626 + *[0-9a-f]*: f0 02 06 48 mulu\.d r8,r8,r2
48628 +[0-9a-f]* <macud>:
48629 + *[0-9a-f]*: fe 0f 07 40 macu\.d r0,pc,pc
48630 + *[0-9a-f]*: f8 0c 07 4e macu\.d lr,r12,r12
48631 + *[0-9a-f]*: ea 05 07 48 macu\.d r8,r5,r5
48632 + *[0-9a-f]*: e8 04 07 46 macu\.d r6,r4,r4
48633 + *[0-9a-f]*: fc 0e 07 42 macu\.d r2,lr,lr
48634 + *[0-9a-f]*: fa 0b 07 46 macu\.d r6,sp,r11
48635 + *[0-9a-f]*: e8 08 07 42 macu\.d r2,r4,r8
48636 + *[0-9a-f]*: f4 09 07 46 macu\.d r6,r10,r9
48638 +[0-9a-f]* <asr_1>:
48639 + *[0-9a-f]*: fe 0f 08 4f asr pc,pc,pc
48640 + *[0-9a-f]*: f8 0c 08 4c asr r12,r12,r12
48641 + *[0-9a-f]*: ea 05 08 45 asr r5,r5,r5
48642 + *[0-9a-f]*: e8 04 08 44 asr r4,r4,r4
48643 + *[0-9a-f]*: fc 0e 08 4e asr lr,lr,lr
48644 + *[0-9a-f]*: ec 0f 08 4f asr pc,r6,pc
48645 + *[0-9a-f]*: ec 0c 08 40 asr r0,r6,r12
48646 + *[0-9a-f]*: fa 00 08 44 asr r4,sp,r0
48648 +[0-9a-f]* <lsl_1>:
48649 + *[0-9a-f]*: fe 0f 09 4f lsl pc,pc,pc
48650 + *[0-9a-f]*: f8 0c 09 4c lsl r12,r12,r12
48651 + *[0-9a-f]*: ea 05 09 45 lsl r5,r5,r5
48652 + *[0-9a-f]*: e8 04 09 44 lsl r4,r4,r4
48653 + *[0-9a-f]*: fc 0e 09 4e lsl lr,lr,lr
48654 + *[0-9a-f]*: ea 0e 09 4e lsl lr,r5,lr
48655 + *[0-9a-f]*: fe 03 09 45 lsl r5,pc,r3
48656 + *[0-9a-f]*: fe 09 09 41 lsl r1,pc,r9
48658 +[0-9a-f]* <lsr_1>:
48659 + *[0-9a-f]*: fe 0f 0a 4f lsr pc,pc,pc
48660 + *[0-9a-f]*: f8 0c 0a 4c lsr r12,r12,r12
48661 + *[0-9a-f]*: ea 05 0a 45 lsr r5,r5,r5
48662 + *[0-9a-f]*: e8 04 0a 44 lsr r4,r4,r4
48663 + *[0-9a-f]*: fc 0e 0a 4e lsr lr,lr,lr
48664 + *[0-9a-f]*: e8 01 0a 42 lsr r2,r4,r1
48665 + *[0-9a-f]*: e2 06 0a 45 lsr r5,r1,r6
48666 + *[0-9a-f]*: ec 07 0a 4d lsr sp,r6,r7
48669 + *[0-9a-f]*: fe 0f 0b 4f xchg pc,pc,pc
48670 + *[0-9a-f]*: f8 0c 0b 4c xchg r12,r12,r12
48671 + *[0-9a-f]*: ea 05 0b 45 xchg r5,r5,r5
48672 + *[0-9a-f]*: e8 04 0b 44 xchg r4,r4,r4
48673 + *[0-9a-f]*: fc 0e 0b 4e xchg lr,lr,lr
48674 + *[0-9a-f]*: e8 0d 0b 4e xchg lr,r4,sp
48675 + *[0-9a-f]*: ea 0c 0b 41 xchg r1,r5,r12
48676 + *[0-9a-f]*: f8 00 0b 4e xchg lr,r12,r0
48679 + *[0-9a-f]*: fe 0f 0c 4f max pc,pc,pc
48680 + *[0-9a-f]*: f8 0c 0c 4c max r12,r12,r12
48681 + *[0-9a-f]*: ea 05 0c 45 max r5,r5,r5
48682 + *[0-9a-f]*: e8 04 0c 44 max r4,r4,r4
48683 + *[0-9a-f]*: fc 0e 0c 4e max lr,lr,lr
48684 + *[0-9a-f]*: e4 0d 0c 4e max lr,r2,sp
48685 + *[0-9a-f]*: f4 09 0c 44 max r4,r10,r9
48686 + *[0-9a-f]*: f2 0e 0c 4e max lr,r9,lr
48689 + *[0-9a-f]*: fe 0f 0d 4f min pc,pc,pc
48690 + *[0-9a-f]*: f8 0c 0d 4c min r12,r12,r12
48691 + *[0-9a-f]*: ea 05 0d 45 min r5,r5,r5
48692 + *[0-9a-f]*: e8 04 0d 44 min r4,r4,r4
48693 + *[0-9a-f]*: fc 0e 0d 4e min lr,lr,lr
48694 + *[0-9a-f]*: ee 08 0d 49 min r9,r7,r8
48695 + *[0-9a-f]*: ea 05 0d 4d min sp,r5,r5
48696 + *[0-9a-f]*: e2 04 0d 44 min r4,r1,r4
48698 +[0-9a-f]* <addabs>:
48699 + *[0-9a-f]*: fe 0f 0e 4f addabs pc,pc,pc
48700 + *[0-9a-f]*: f8 0c 0e 4c addabs r12,r12,r12
48701 + *[0-9a-f]*: ea 05 0e 45 addabs r5,r5,r5
48702 + *[0-9a-f]*: e8 04 0e 44 addabs r4,r4,r4
48703 + *[0-9a-f]*: fc 0e 0e 4e addabs lr,lr,lr
48704 + *[0-9a-f]*: f4 00 0e 47 addabs r7,r10,r0
48705 + *[0-9a-f]*: f2 07 0e 49 addabs r9,r9,r7
48706 + *[0-9a-f]*: f0 0c 0e 42 addabs r2,r8,r12
48708 +[0-9a-f]* <mulnhh_w>:
48709 + *[0-9a-f]*: fe 0f 01 8f mulnhh\.w pc,pc:b,pc:b
48710 + *[0-9a-f]*: f8 0c 01 bc mulnhh\.w r12,r12:t,r12:t
48711 + *[0-9a-f]*: ea 05 01 b5 mulnhh\.w r5,r5:t,r5:t
48712 + *[0-9a-f]*: e8 04 01 84 mulnhh\.w r4,r4:b,r4:b
48713 + *[0-9a-f]*: fc 0e 01 be mulnhh\.w lr,lr:t,lr:t
48714 + *[0-9a-f]*: fa 09 01 ab mulnhh\.w r11,sp:t,r9:b
48715 + *[0-9a-f]*: e8 0e 01 9d mulnhh\.w sp,r4:b,lr:t
48716 + *[0-9a-f]*: e4 0b 01 ac mulnhh\.w r12,r2:t,r11:b
48718 +[0-9a-f]* <mulnwh_d>:
48719 + *[0-9a-f]*: fe 0f 02 80 mulnwh\.d r0,pc,pc:b
48720 + *[0-9a-f]*: f8 0c 02 9e mulnwh\.d lr,r12,r12:t
48721 + *[0-9a-f]*: ea 05 02 98 mulnwh\.d r8,r5,r5:t
48722 + *[0-9a-f]*: e8 04 02 86 mulnwh\.d r6,r4,r4:b
48723 + *[0-9a-f]*: fc 0e 02 92 mulnwh\.d r2,lr,lr:t
48724 + *[0-9a-f]*: e6 02 02 9e mulnwh\.d lr,r3,r2:t
48725 + *[0-9a-f]*: ea 09 02 84 mulnwh\.d r4,r5,r9:b
48726 + *[0-9a-f]*: e8 04 02 9c mulnwh\.d r12,r4,r4:t
48728 +[0-9a-f]* <machh_w>:
48729 + *[0-9a-f]*: fe 0f 04 8f machh\.w pc,pc:b,pc:b
48730 + *[0-9a-f]*: f8 0c 04 bc machh\.w r12,r12:t,r12:t
48731 + *[0-9a-f]*: ea 05 04 b5 machh\.w r5,r5:t,r5:t
48732 + *[0-9a-f]*: e8 04 04 84 machh\.w r4,r4:b,r4:b
48733 + *[0-9a-f]*: fc 0e 04 be machh\.w lr,lr:t,lr:t
48734 + *[0-9a-f]*: ea 01 04 9e machh\.w lr,r5:b,r1:t
48735 + *[0-9a-f]*: ec 07 04 89 machh\.w r9,r6:b,r7:b
48736 + *[0-9a-f]*: fc 0c 04 a5 machh\.w r5,lr:t,r12:b
48738 +[0-9a-f]* <machh_d>:
48739 + *[0-9a-f]*: fe 0f 05 80 machh\.d r0,pc:b,pc:b
48740 + *[0-9a-f]*: f8 0c 05 be machh\.d lr,r12:t,r12:t
48741 + *[0-9a-f]*: ea 05 05 b8 machh\.d r8,r5:t,r5:t
48742 + *[0-9a-f]*: e8 04 05 86 machh\.d r6,r4:b,r4:b
48743 + *[0-9a-f]*: fc 0e 05 b2 machh\.d r2,lr:t,lr:t
48744 + *[0-9a-f]*: e0 08 05 8a machh\.d r10,r0:b,r8:b
48745 + *[0-9a-f]*: e8 05 05 9e machh\.d lr,r4:b,r5:t
48746 + *[0-9a-f]*: e0 04 05 98 machh\.d r8,r0:b,r4:t
48748 +[0-9a-f]* <macsathh_w>:
48749 + *[0-9a-f]*: fe 0f 06 8f macsathh\.w pc,pc:b,pc:b
48750 + *[0-9a-f]*: f8 0c 06 bc macsathh\.w r12,r12:t,r12:t
48751 + *[0-9a-f]*: ea 05 06 b5 macsathh\.w r5,r5:t,r5:t
48752 + *[0-9a-f]*: e8 04 06 84 macsathh\.w r4,r4:b,r4:b
48753 + *[0-9a-f]*: fc 0e 06 be macsathh\.w lr,lr:t,lr:t
48754 + *[0-9a-f]*: ee 0f 06 b7 macsathh\.w r7,r7:t,pc:t
48755 + *[0-9a-f]*: e4 04 06 a4 macsathh\.w r4,r2:t,r4:b
48756 + *[0-9a-f]*: f0 03 06 b4 macsathh\.w r4,r8:t,r3:t
48758 +[0-9a-f]* <mulhh_w>:
48759 + *[0-9a-f]*: fe 0f 07 8f mulhh\.w pc,pc:b,pc:b
48760 + *[0-9a-f]*: f8 0c 07 bc mulhh\.w r12,r12:t,r12:t
48761 + *[0-9a-f]*: ea 05 07 b5 mulhh\.w r5,r5:t,r5:t
48762 + *[0-9a-f]*: e8 04 07 84 mulhh\.w r4,r4:b,r4:b
48763 + *[0-9a-f]*: fc 0e 07 be mulhh\.w lr,lr:t,lr:t
48764 + *[0-9a-f]*: e8 09 07 a7 mulhh\.w r7,r4:t,r9:b
48765 + *[0-9a-f]*: e6 07 07 bf mulhh\.w pc,r3:t,r7:t
48766 + *[0-9a-f]*: e8 09 07 9f mulhh\.w pc,r4:b,r9:t
48768 +[0-9a-f]* <mulsathh_h>:
48769 + *[0-9a-f]*: fe 0f 08 8f mulsathh\.h pc,pc:b,pc:b
48770 + *[0-9a-f]*: f8 0c 08 bc mulsathh\.h r12,r12:t,r12:t
48771 + *[0-9a-f]*: ea 05 08 b5 mulsathh\.h r5,r5:t,r5:t
48772 + *[0-9a-f]*: e8 04 08 84 mulsathh\.h r4,r4:b,r4:b
48773 + *[0-9a-f]*: fc 0e 08 be mulsathh\.h lr,lr:t,lr:t
48774 + *[0-9a-f]*: e2 0d 08 83 mulsathh\.h r3,r1:b,sp:b
48775 + *[0-9a-f]*: fc 0b 08 ab mulsathh\.h r11,lr:t,r11:b
48776 + *[0-9a-f]*: f0 0b 08 98 mulsathh\.h r8,r8:b,r11:t
48778 +[0-9a-f]* <mulsathh_w>:
48779 + *[0-9a-f]*: fe 0f 09 8f mulsathh\.w pc,pc:b,pc:b
48780 + *[0-9a-f]*: f8 0c 09 bc mulsathh\.w r12,r12:t,r12:t
48781 + *[0-9a-f]*: ea 05 09 b5 mulsathh\.w r5,r5:t,r5:t
48782 + *[0-9a-f]*: e8 04 09 84 mulsathh\.w r4,r4:b,r4:b
48783 + *[0-9a-f]*: fc 0e 09 be mulsathh\.w lr,lr:t,lr:t
48784 + *[0-9a-f]*: f6 06 09 ae mulsathh\.w lr,r11:t,r6:b
48785 + *[0-9a-f]*: ec 07 09 96 mulsathh\.w r6,r6:b,r7:t
48786 + *[0-9a-f]*: e4 03 09 8a mulsathh\.w r10,r2:b,r3:b
48788 +[0-9a-f]* <mulsatrndhh_h>:
48789 + *[0-9a-f]*: fe 0f 0a 8f mulsatrndhh\.h pc,pc:b,pc:b
48790 + *[0-9a-f]*: f8 0c 0a bc mulsatrndhh\.h r12,r12:t,r12:t
48791 + *[0-9a-f]*: ea 05 0a b5 mulsatrndhh\.h r5,r5:t,r5:t
48792 + *[0-9a-f]*: e8 04 0a 84 mulsatrndhh\.h r4,r4:b,r4:b
48793 + *[0-9a-f]*: fc 0e 0a be mulsatrndhh\.h lr,lr:t,lr:t
48794 + *[0-9a-f]*: ec 09 0a 8b mulsatrndhh\.h r11,r6:b,r9:b
48795 + *[0-9a-f]*: e6 08 0a 9b mulsatrndhh\.h r11,r3:b,r8:t
48796 + *[0-9a-f]*: fa 07 0a b5 mulsatrndhh\.h r5,sp:t,r7:t
48798 +[0-9a-f]* <mulsatrndwh_w>:
48799 + *[0-9a-f]*: fe 0f 0b 8f mulsatrndwh\.w pc,pc,pc:b
48800 + *[0-9a-f]*: f8 0c 0b 9c mulsatrndwh\.w r12,r12,r12:t
48801 + *[0-9a-f]*: ea 05 0b 95 mulsatrndwh\.w r5,r5,r5:t
48802 + *[0-9a-f]*: e8 04 0b 84 mulsatrndwh\.w r4,r4,r4:b
48803 + *[0-9a-f]*: fc 0e 0b 9e mulsatrndwh\.w lr,lr,lr:t
48804 + *[0-9a-f]*: f8 00 0b 85 mulsatrndwh\.w r5,r12,r0:b
48805 + *[0-9a-f]*: f4 0f 0b 87 mulsatrndwh\.w r7,r10,pc:b
48806 + *[0-9a-f]*: f0 05 0b 9a mulsatrndwh\.w r10,r8,r5:t
48808 +[0-9a-f]* <macwh_d>:
48809 + *[0-9a-f]*: fe 0f 0c 80 macwh\.d r0,pc,pc:b
48810 + *[0-9a-f]*: f8 0c 0c 9e macwh\.d lr,r12,r12:t
48811 + *[0-9a-f]*: ea 05 0c 98 macwh\.d r8,r5,r5:t
48812 + *[0-9a-f]*: e8 04 0c 86 macwh\.d r6,r4,r4:b
48813 + *[0-9a-f]*: fc 0e 0c 92 macwh\.d r2,lr,lr:t
48814 + *[0-9a-f]*: f4 0c 0c 94 macwh\.d r4,r10,r12:t
48815 + *[0-9a-f]*: ee 0d 0c 84 macwh\.d r4,r7,sp:b
48816 + *[0-9a-f]*: f2 0b 0c 8e macwh\.d lr,r9,r11:b
48818 +[0-9a-f]* <mulwh_d>:
48819 + *[0-9a-f]*: fe 0f 0d 80 mulwh\.d r0,pc,pc:b
48820 + *[0-9a-f]*: f8 0c 0d 9e mulwh\.d lr,r12,r12:t
48821 + *[0-9a-f]*: ea 05 0d 98 mulwh\.d r8,r5,r5:t
48822 + *[0-9a-f]*: e8 04 0d 86 mulwh\.d r6,r4,r4:b
48823 + *[0-9a-f]*: fc 0e 0d 92 mulwh\.d r2,lr,lr:t
48824 + *[0-9a-f]*: ea 01 0d 8c mulwh\.d r12,r5,r1:b
48825 + *[0-9a-f]*: e2 03 0d 90 mulwh\.d r0,r1,r3:t
48826 + *[0-9a-f]*: f2 02 0d 80 mulwh\.d r0,r9,r2:b
48828 +[0-9a-f]* <mulsatwh_w>:
48829 + *[0-9a-f]*: fe 0f 0e 8f mulsatwh\.w pc,pc,pc:b
48830 + *[0-9a-f]*: f8 0c 0e 9c mulsatwh\.w r12,r12,r12:t
48831 + *[0-9a-f]*: ea 05 0e 95 mulsatwh\.w r5,r5,r5:t
48832 + *[0-9a-f]*: e8 04 0e 84 mulsatwh\.w r4,r4,r4:b
48833 + *[0-9a-f]*: fc 0e 0e 9e mulsatwh\.w lr,lr,lr:t
48834 + *[0-9a-f]*: fe 0a 0e 9b mulsatwh\.w r11,pc,r10:t
48835 + *[0-9a-f]*: f8 09 0e 9d mulsatwh\.w sp,r12,r9:t
48836 + *[0-9a-f]*: e6 02 0e 90 mulsatwh\.w r0,r3,r2:t
48839 + *[0-9a-f]*: fe 0f 0f 8f ld\.w pc,pc\[pc:b<<2\]
48840 + *[0-9a-f]*: f8 0c 0f bc ld\.w r12,r12\[r12:t<<2\]
48841 + *[0-9a-f]*: ea 05 0f a5 ld\.w r5,r5\[r5:u<<2\]
48842 + *[0-9a-f]*: e8 04 0f 94 ld\.w r4,r4\[r4:l<<2\]
48843 + *[0-9a-f]*: fc 0e 0f 9e ld\.w lr,lr\[lr:l<<2\]
48844 + *[0-9a-f]*: f4 06 0f 99 ld\.w r9,r10\[r6:l<<2\]
48845 + *[0-9a-f]*: f4 0a 0f 82 ld\.w r2,r10\[r10:b<<2\]
48846 + *[0-9a-f]*: ea 0f 0f 8b ld\.w r11,r5\[pc:b<<2\]
48848 +[0-9a-f]* <satadd_w>:
48849 + *[0-9a-f]*: fe 0f 00 cf satadd\.w pc,pc,pc
48850 + *[0-9a-f]*: f8 0c 00 cc satadd\.w r12,r12,r12
48851 + *[0-9a-f]*: ea 05 00 c5 satadd\.w r5,r5,r5
48852 + *[0-9a-f]*: e8 04 00 c4 satadd\.w r4,r4,r4
48853 + *[0-9a-f]*: fc 0e 00 ce satadd\.w lr,lr,lr
48854 + *[0-9a-f]*: f0 0b 00 c4 satadd\.w r4,r8,r11
48855 + *[0-9a-f]*: f8 06 00 c3 satadd\.w r3,r12,r6
48856 + *[0-9a-f]*: fc 09 00 c3 satadd\.w r3,lr,r9
48858 +[0-9a-f]* <satsub_w1>:
48859 + *[0-9a-f]*: fe 0f 01 cf satsub\.w pc,pc,pc
48860 + *[0-9a-f]*: f8 0c 01 cc satsub\.w r12,r12,r12
48861 + *[0-9a-f]*: ea 05 01 c5 satsub\.w r5,r5,r5
48862 + *[0-9a-f]*: e8 04 01 c4 satsub\.w r4,r4,r4
48863 + *[0-9a-f]*: fc 0e 01 ce satsub\.w lr,lr,lr
48864 + *[0-9a-f]*: fa 00 01 c8 satsub\.w r8,sp,r0
48865 + *[0-9a-f]*: f0 04 01 c9 satsub\.w r9,r8,r4
48866 + *[0-9a-f]*: fc 02 01 cf satsub\.w pc,lr,r2
48868 +[0-9a-f]* <satadd_h>:
48869 + *[0-9a-f]*: fe 0f 02 cf satadd\.h pc,pc,pc
48870 + *[0-9a-f]*: f8 0c 02 cc satadd\.h r12,r12,r12
48871 + *[0-9a-f]*: ea 05 02 c5 satadd\.h r5,r5,r5
48872 + *[0-9a-f]*: e8 04 02 c4 satadd\.h r4,r4,r4
48873 + *[0-9a-f]*: fc 0e 02 ce satadd\.h lr,lr,lr
48874 + *[0-9a-f]*: e6 09 02 c7 satadd\.h r7,r3,r9
48875 + *[0-9a-f]*: e0 02 02 c1 satadd\.h r1,r0,r2
48876 + *[0-9a-f]*: e8 0e 02 c1 satadd\.h r1,r4,lr
48878 +[0-9a-f]* <satsub_h>:
48879 + *[0-9a-f]*: fe 0f 03 cf satsub\.h pc,pc,pc
48880 + *[0-9a-f]*: f8 0c 03 cc satsub\.h r12,r12,r12
48881 + *[0-9a-f]*: ea 05 03 c5 satsub\.h r5,r5,r5
48882 + *[0-9a-f]*: e8 04 03 c4 satsub\.h r4,r4,r4
48883 + *[0-9a-f]*: fc 0e 03 ce satsub\.h lr,lr,lr
48884 + *[0-9a-f]*: fc 03 03 ce satsub\.h lr,lr,r3
48885 + *[0-9a-f]*: ec 05 03 cb satsub\.h r11,r6,r5
48886 + *[0-9a-f]*: fa 00 03 c3 satsub\.h r3,sp,r0
48889 + *[0-9a-f]*: fe 0f 10 00 mul pc,pc,0
48890 + *[0-9a-f]*: f8 0c 10 ff mul r12,r12,-1
48891 + *[0-9a-f]*: ea 05 10 80 mul r5,r5,-128
48892 + *[0-9a-f]*: e8 04 10 7f mul r4,r4,127
48893 + *[0-9a-f]*: fc 0e 10 01 mul lr,lr,1
48894 + *[0-9a-f]*: e4 0c 10 f9 mul r12,r2,-7
48895 + *[0-9a-f]*: fe 01 10 5f mul r1,pc,95
48896 + *[0-9a-f]*: ec 04 10 13 mul r4,r6,19
48898 +[0-9a-f]* <rsub2>:
48899 + *[0-9a-f]*: fe 0f 11 00 rsub pc,pc,0
48900 + *[0-9a-f]*: f8 0c 11 ff rsub r12,r12,-1
48901 + *[0-9a-f]*: ea 05 11 80 rsub r5,r5,-128
48902 + *[0-9a-f]*: e8 04 11 7f rsub r4,r4,127
48903 + *[0-9a-f]*: fc 0e 11 01 rsub lr,lr,1
48904 + *[0-9a-f]*: fc 09 11 60 rsub r9,lr,96
48905 + *[0-9a-f]*: e2 0b 11 38 rsub r11,r1,56
48906 + *[0-9a-f]*: ee 00 11 a9 rsub r0,r7,-87
48909 + *[0-9a-f]*: fe 0f 12 00 clz pc,pc
48910 + *[0-9a-f]*: f8 0c 12 00 clz r12,r12
48911 + *[0-9a-f]*: ea 05 12 00 clz r5,r5
48912 + *[0-9a-f]*: e8 04 12 00 clz r4,r4
48913 + *[0-9a-f]*: fc 0e 12 00 clz lr,lr
48914 + *[0-9a-f]*: e6 02 12 00 clz r2,r3
48915 + *[0-9a-f]*: f6 05 12 00 clz r5,r11
48916 + *[0-9a-f]*: e6 0f 12 00 clz pc,r3
48919 + *[0-9a-f]*: fe 0f 13 00 cpc pc,pc
48920 + *[0-9a-f]*: f8 0c 13 00 cpc r12,r12
48921 + *[0-9a-f]*: ea 05 13 00 cpc r5,r5
48922 + *[0-9a-f]*: e8 04 13 00 cpc r4,r4
48923 + *[0-9a-f]*: fc 0e 13 00 cpc lr,lr
48924 + *[0-9a-f]*: e8 0f 13 00 cpc pc,r4
48925 + *[0-9a-f]*: f2 05 13 00 cpc r5,r9
48926 + *[0-9a-f]*: ee 06 13 00 cpc r6,r7
48929 + *[0-9a-f]*: fe 0f 14 00 asr pc,pc,0x0
48930 + *[0-9a-f]*: f8 0c 14 1f asr r12,r12,0x1f
48931 + *[0-9a-f]*: ea 05 14 10 asr r5,r5,0x10
48932 + *[0-9a-f]*: e8 04 14 0f asr r4,r4,0xf
48933 + *[0-9a-f]*: fc 0e 14 01 asr lr,lr,0x1
48934 + *[0-9a-f]*: f6 04 14 13 asr r4,r11,0x13
48935 + *[0-9a-f]*: fe 0d 14 1a asr sp,pc,0x1a
48936 + *[0-9a-f]*: fa 0b 14 08 asr r11,sp,0x8
48939 + *[0-9a-f]*: fe 0f 15 00 lsl pc,pc,0x0
48940 + *[0-9a-f]*: f8 0c 15 1f lsl r12,r12,0x1f
48941 + *[0-9a-f]*: ea 05 15 10 lsl r5,r5,0x10
48942 + *[0-9a-f]*: e8 04 15 0f lsl r4,r4,0xf
48943 + *[0-9a-f]*: fc 0e 15 01 lsl lr,lr,0x1
48944 + *[0-9a-f]*: f4 08 15 11 lsl r8,r10,0x11
48945 + *[0-9a-f]*: fc 02 15 03 lsl r2,lr,0x3
48946 + *[0-9a-f]*: f6 0e 15 0e lsl lr,r11,0xe
48949 + *[0-9a-f]*: fe 0f 16 00 lsr pc,pc,0x0
48950 + *[0-9a-f]*: f8 0c 16 1f lsr r12,r12,0x1f
48951 + *[0-9a-f]*: ea 05 16 10 lsr r5,r5,0x10
48952 + *[0-9a-f]*: e8 04 16 0f lsr r4,r4,0xf
48953 + *[0-9a-f]*: fc 0e 16 01 lsr lr,lr,0x1
48954 + *[0-9a-f]*: e6 04 16 1f lsr r4,r3,0x1f
48955 + *[0-9a-f]*: f2 0f 16 0e lsr pc,r9,0xe
48956 + *[0-9a-f]*: e0 03 16 06 lsr r3,r0,0x6
48958 +[0-9a-f]* <movc1>:
48959 + *[0-9a-f]*: fe 0f 17 00 moveq pc,pc
48960 + *[0-9a-f]*: f8 0c 17 f0 moval r12,r12
48961 + *[0-9a-f]*: ea 05 17 80 movls r5,r5
48962 + *[0-9a-f]*: e8 04 17 70 movpl r4,r4
48963 + *[0-9a-f]*: fc 0e 17 10 movne lr,lr
48964 + *[0-9a-f]*: f6 0f 17 10 movne pc,r11
48965 + *[0-9a-f]*: e4 0a 17 60 movmi r10,r2
48966 + *[0-9a-f]*: f8 08 17 80 movls r8,r12
48968 +[0-9a-f]* <padd_h>:
48969 + *[0-9a-f]*: fe 0f 20 0f padd\.h pc,pc,pc
48970 + *[0-9a-f]*: f8 0c 20 0c padd\.h r12,r12,r12
48971 + *[0-9a-f]*: ea 05 20 05 padd\.h r5,r5,r5
48972 + *[0-9a-f]*: e8 04 20 04 padd\.h r4,r4,r4
48973 + *[0-9a-f]*: fc 0e 20 0e padd\.h lr,lr,lr
48974 + *[0-9a-f]*: e4 07 20 08 padd\.h r8,r2,r7
48975 + *[0-9a-f]*: e0 03 20 00 padd\.h r0,r0,r3
48976 + *[0-9a-f]*: f6 06 20 0d padd\.h sp,r11,r6
48978 +[0-9a-f]* <psub_h>:
48979 + *[0-9a-f]*: fe 0f 20 1f psub\.h pc,pc,pc
48980 + *[0-9a-f]*: f8 0c 20 1c psub\.h r12,r12,r12
48981 + *[0-9a-f]*: ea 05 20 15 psub\.h r5,r5,r5
48982 + *[0-9a-f]*: e8 04 20 14 psub\.h r4,r4,r4
48983 + *[0-9a-f]*: fc 0e 20 1e psub\.h lr,lr,lr
48984 + *[0-9a-f]*: ec 08 20 1e psub\.h lr,r6,r8
48985 + *[0-9a-f]*: e2 0d 20 10 psub\.h r0,r1,sp
48986 + *[0-9a-f]*: fe 0d 20 1f psub\.h pc,pc,sp
48988 +[0-9a-f]* <paddx_h>:
48989 + *[0-9a-f]*: fe 0f 20 2f paddx\.h pc,pc,pc
48990 + *[0-9a-f]*: f8 0c 20 2c paddx\.h r12,r12,r12
48991 + *[0-9a-f]*: ea 05 20 25 paddx\.h r5,r5,r5
48992 + *[0-9a-f]*: e8 04 20 24 paddx\.h r4,r4,r4
48993 + *[0-9a-f]*: fc 0e 20 2e paddx\.h lr,lr,lr
48994 + *[0-9a-f]*: fe 01 20 2f paddx\.h pc,pc,r1
48995 + *[0-9a-f]*: e8 05 20 2a paddx\.h r10,r4,r5
48996 + *[0-9a-f]*: fe 02 20 25 paddx\.h r5,pc,r2
48998 +[0-9a-f]* <psubx_h>:
48999 + *[0-9a-f]*: fe 0f 20 3f psubx\.h pc,pc,pc
49000 + *[0-9a-f]*: f8 0c 20 3c psubx\.h r12,r12,r12
49001 + *[0-9a-f]*: ea 05 20 35 psubx\.h r5,r5,r5
49002 + *[0-9a-f]*: e8 04 20 34 psubx\.h r4,r4,r4
49003 + *[0-9a-f]*: fc 0e 20 3e psubx\.h lr,lr,lr
49004 + *[0-9a-f]*: f8 05 20 35 psubx\.h r5,r12,r5
49005 + *[0-9a-f]*: f0 03 20 33 psubx\.h r3,r8,r3
49006 + *[0-9a-f]*: e4 03 20 35 psubx\.h r5,r2,r3
49008 +[0-9a-f]* <padds_sh>:
49009 + *[0-9a-f]*: fe 0f 20 4f padds\.sh pc,pc,pc
49010 + *[0-9a-f]*: f8 0c 20 4c padds\.sh r12,r12,r12
49011 + *[0-9a-f]*: ea 05 20 45 padds\.sh r5,r5,r5
49012 + *[0-9a-f]*: e8 04 20 44 padds\.sh r4,r4,r4
49013 + *[0-9a-f]*: fc 0e 20 4e padds\.sh lr,lr,lr
49014 + *[0-9a-f]*: fc 02 20 49 padds\.sh r9,lr,r2
49015 + *[0-9a-f]*: f0 01 20 46 padds\.sh r6,r8,r1
49016 + *[0-9a-f]*: e8 0a 20 46 padds\.sh r6,r4,r10
49018 +[0-9a-f]* <psubs_sh>:
49019 + *[0-9a-f]*: fe 0f 20 5f psubs\.sh pc,pc,pc
49020 + *[0-9a-f]*: f8 0c 20 5c psubs\.sh r12,r12,r12
49021 + *[0-9a-f]*: ea 05 20 55 psubs\.sh r5,r5,r5
49022 + *[0-9a-f]*: e8 04 20 54 psubs\.sh r4,r4,r4
49023 + *[0-9a-f]*: fc 0e 20 5e psubs\.sh lr,lr,lr
49024 + *[0-9a-f]*: fc 0b 20 56 psubs\.sh r6,lr,r11
49025 + *[0-9a-f]*: f8 04 20 52 psubs\.sh r2,r12,r4
49026 + *[0-9a-f]*: f2 00 20 50 psubs\.sh r0,r9,r0
49028 +[0-9a-f]* <paddxs_sh>:
49029 + *[0-9a-f]*: fe 0f 20 6f paddxs\.sh pc,pc,pc
49030 + *[0-9a-f]*: f8 0c 20 6c paddxs\.sh r12,r12,r12
49031 + *[0-9a-f]*: ea 05 20 65 paddxs\.sh r5,r5,r5
49032 + *[0-9a-f]*: e8 04 20 64 paddxs\.sh r4,r4,r4
49033 + *[0-9a-f]*: fc 0e 20 6e paddxs\.sh lr,lr,lr
49034 + *[0-9a-f]*: e6 09 20 60 paddxs\.sh r0,r3,r9
49035 + *[0-9a-f]*: f4 0b 20 6f paddxs\.sh pc,r10,r11
49036 + *[0-9a-f]*: f4 0f 20 6f paddxs\.sh pc,r10,pc
49038 +[0-9a-f]* <psubxs_sh>:
49039 + *[0-9a-f]*: fe 0f 20 7f psubxs\.sh pc,pc,pc
49040 + *[0-9a-f]*: f8 0c 20 7c psubxs\.sh r12,r12,r12
49041 + *[0-9a-f]*: ea 05 20 75 psubxs\.sh r5,r5,r5
49042 + *[0-9a-f]*: e8 04 20 74 psubxs\.sh r4,r4,r4
49043 + *[0-9a-f]*: fc 0e 20 7e psubxs\.sh lr,lr,lr
49044 + *[0-9a-f]*: e8 04 20 77 psubxs\.sh r7,r4,r4
49045 + *[0-9a-f]*: f0 03 20 77 psubxs\.sh r7,r8,r3
49046 + *[0-9a-f]*: ec 05 20 7f psubxs\.sh pc,r6,r5
49048 +[0-9a-f]* <padds_uh>:
49049 + *[0-9a-f]*: fe 0f 20 8f padds\.uh pc,pc,pc
49050 + *[0-9a-f]*: f8 0c 20 8c padds\.uh r12,r12,r12
49051 + *[0-9a-f]*: ea 05 20 85 padds\.uh r5,r5,r5
49052 + *[0-9a-f]*: e8 04 20 84 padds\.uh r4,r4,r4
49053 + *[0-9a-f]*: fc 0e 20 8e padds\.uh lr,lr,lr
49054 + *[0-9a-f]*: f6 07 20 8c padds\.uh r12,r11,r7
49055 + *[0-9a-f]*: f0 0e 20 87 padds\.uh r7,r8,lr
49056 + *[0-9a-f]*: f2 07 20 86 padds\.uh r6,r9,r7
49058 +[0-9a-f]* <psubs_uh>:
49059 + *[0-9a-f]*: fe 0f 20 9f psubs\.uh pc,pc,pc
49060 + *[0-9a-f]*: f8 0c 20 9c psubs\.uh r12,r12,r12
49061 + *[0-9a-f]*: ea 05 20 95 psubs\.uh r5,r5,r5
49062 + *[0-9a-f]*: e8 04 20 94 psubs\.uh r4,r4,r4
49063 + *[0-9a-f]*: fc 0e 20 9e psubs\.uh lr,lr,lr
49064 + *[0-9a-f]*: f4 06 20 9e psubs\.uh lr,r10,r6
49065 + *[0-9a-f]*: e4 0f 20 9d psubs\.uh sp,r2,pc
49066 + *[0-9a-f]*: f2 02 20 92 psubs\.uh r2,r9,r2
49068 +[0-9a-f]* <paddxs_uh>:
49069 + *[0-9a-f]*: fe 0f 20 af paddxs\.uh pc,pc,pc
49070 + *[0-9a-f]*: f8 0c 20 ac paddxs\.uh r12,r12,r12
49071 + *[0-9a-f]*: ea 05 20 a5 paddxs\.uh r5,r5,r5
49072 + *[0-9a-f]*: e8 04 20 a4 paddxs\.uh r4,r4,r4
49073 + *[0-9a-f]*: fc 0e 20 ae paddxs\.uh lr,lr,lr
49074 + *[0-9a-f]*: f2 05 20 a7 paddxs\.uh r7,r9,r5
49075 + *[0-9a-f]*: e2 04 20 a9 paddxs\.uh r9,r1,r4
49076 + *[0-9a-f]*: e4 03 20 a5 paddxs\.uh r5,r2,r3
49078 +[0-9a-f]* <psubxs_uh>:
49079 + *[0-9a-f]*: fe 0f 20 bf psubxs\.uh pc,pc,pc
49080 + *[0-9a-f]*: f8 0c 20 bc psubxs\.uh r12,r12,r12
49081 + *[0-9a-f]*: ea 05 20 b5 psubxs\.uh r5,r5,r5
49082 + *[0-9a-f]*: e8 04 20 b4 psubxs\.uh r4,r4,r4
49083 + *[0-9a-f]*: fc 0e 20 be psubxs\.uh lr,lr,lr
49084 + *[0-9a-f]*: ea 0d 20 bd psubxs\.uh sp,r5,sp
49085 + *[0-9a-f]*: ec 06 20 bd psubxs\.uh sp,r6,r6
49086 + *[0-9a-f]*: f6 08 20 b3 psubxs\.uh r3,r11,r8
49088 +[0-9a-f]* <paddh_sh>:
49089 + *[0-9a-f]*: fe 0f 20 cf paddh\.sh pc,pc,pc
49090 + *[0-9a-f]*: f8 0c 20 cc paddh\.sh r12,r12,r12
49091 + *[0-9a-f]*: ea 05 20 c5 paddh\.sh r5,r5,r5
49092 + *[0-9a-f]*: e8 04 20 c4 paddh\.sh r4,r4,r4
49093 + *[0-9a-f]*: fc 0e 20 ce paddh\.sh lr,lr,lr
49094 + *[0-9a-f]*: fa 03 20 cc paddh\.sh r12,sp,r3
49095 + *[0-9a-f]*: ea 03 20 cf paddh\.sh pc,r5,r3
49096 + *[0-9a-f]*: f0 0d 20 c8 paddh\.sh r8,r8,sp
49098 +[0-9a-f]* <psubh_sh>:
49099 + *[0-9a-f]*: fe 0f 20 df psubh\.sh pc,pc,pc
49100 + *[0-9a-f]*: f8 0c 20 dc psubh\.sh r12,r12,r12
49101 + *[0-9a-f]*: ea 05 20 d5 psubh\.sh r5,r5,r5
49102 + *[0-9a-f]*: e8 04 20 d4 psubh\.sh r4,r4,r4
49103 + *[0-9a-f]*: fc 0e 20 de psubh\.sh lr,lr,lr
49104 + *[0-9a-f]*: ea 08 20 d1 psubh\.sh r1,r5,r8
49105 + *[0-9a-f]*: e6 06 20 d7 psubh\.sh r7,r3,r6
49106 + *[0-9a-f]*: e6 03 20 d4 psubh\.sh r4,r3,r3
49108 +[0-9a-f]* <paddxh_sh>:
49109 + *[0-9a-f]*: fe 0f 20 ef paddxh\.sh pc,pc,pc
49110 + *[0-9a-f]*: f8 0c 20 ec paddxh\.sh r12,r12,r12
49111 + *[0-9a-f]*: ea 05 20 e5 paddxh\.sh r5,r5,r5
49112 + *[0-9a-f]*: e8 04 20 e4 paddxh\.sh r4,r4,r4
49113 + *[0-9a-f]*: fc 0e 20 ee paddxh\.sh lr,lr,lr
49114 + *[0-9a-f]*: e0 04 20 e6 paddxh\.sh r6,r0,r4
49115 + *[0-9a-f]*: f0 09 20 e9 paddxh\.sh r9,r8,r9
49116 + *[0-9a-f]*: e0 0d 20 e3 paddxh\.sh r3,r0,sp
49118 +[0-9a-f]* <psubxh_sh>:
49119 + *[0-9a-f]*: fe 0f 20 ff psubxh\.sh pc,pc,pc
49120 + *[0-9a-f]*: f8 0c 20 fc psubxh\.sh r12,r12,r12
49121 + *[0-9a-f]*: ea 05 20 f5 psubxh\.sh r5,r5,r5
49122 + *[0-9a-f]*: e8 04 20 f4 psubxh\.sh r4,r4,r4
49123 + *[0-9a-f]*: fc 0e 20 fe psubxh\.sh lr,lr,lr
49124 + *[0-9a-f]*: fe 0c 20 f4 psubxh\.sh r4,pc,r12
49125 + *[0-9a-f]*: e8 06 20 f8 psubxh\.sh r8,r4,r6
49126 + *[0-9a-f]*: f2 04 20 fc psubxh\.sh r12,r9,r4
49128 +[0-9a-f]* <paddsub_h>:
49129 + *[0-9a-f]*: fe 0f 21 0f paddsub\.h pc,pc:b,pc:b
49130 + *[0-9a-f]*: f8 0c 21 3c paddsub\.h r12,r12:t,r12:t
49131 + *[0-9a-f]*: ea 05 21 35 paddsub\.h r5,r5:t,r5:t
49132 + *[0-9a-f]*: e8 04 21 04 paddsub\.h r4,r4:b,r4:b
49133 + *[0-9a-f]*: fc 0e 21 3e paddsub\.h lr,lr:t,lr:t
49134 + *[0-9a-f]*: e4 0e 21 25 paddsub\.h r5,r2:t,lr:b
49135 + *[0-9a-f]*: e2 08 21 07 paddsub\.h r7,r1:b,r8:b
49136 + *[0-9a-f]*: f4 05 21 36 paddsub\.h r6,r10:t,r5:t
49138 +[0-9a-f]* <psubadd_h>:
49139 + *[0-9a-f]*: fe 0f 21 4f psubadd\.h pc,pc:b,pc:b
49140 + *[0-9a-f]*: f8 0c 21 7c psubadd\.h r12,r12:t,r12:t
49141 + *[0-9a-f]*: ea 05 21 75 psubadd\.h r5,r5:t,r5:t
49142 + *[0-9a-f]*: e8 04 21 44 psubadd\.h r4,r4:b,r4:b
49143 + *[0-9a-f]*: fc 0e 21 7e psubadd\.h lr,lr:t,lr:t
49144 + *[0-9a-f]*: f6 08 21 79 psubadd\.h r9,r11:t,r8:t
49145 + *[0-9a-f]*: ee 0e 21 7a psubadd\.h r10,r7:t,lr:t
49146 + *[0-9a-f]*: fe 0f 21 66 psubadd\.h r6,pc:t,pc:b
49148 +[0-9a-f]* <paddsubs_sh>:
49149 + *[0-9a-f]*: fe 0f 21 8f paddsubs\.sh pc,pc:b,pc:b
49150 + *[0-9a-f]*: f8 0c 21 bc paddsubs\.sh r12,r12:t,r12:t
49151 + *[0-9a-f]*: ea 05 21 b5 paddsubs\.sh r5,r5:t,r5:t
49152 + *[0-9a-f]*: e8 04 21 84 paddsubs\.sh r4,r4:b,r4:b
49153 + *[0-9a-f]*: fc 0e 21 be paddsubs\.sh lr,lr:t,lr:t
49154 + *[0-9a-f]*: fc 00 21 a0 paddsubs\.sh r0,lr:t,r0:b
49155 + *[0-9a-f]*: e4 04 21 b9 paddsubs\.sh r9,r2:t,r4:t
49156 + *[0-9a-f]*: f2 0d 21 bc paddsubs\.sh r12,r9:t,sp:t
49158 +[0-9a-f]* <psubadds_sh>:
49159 + *[0-9a-f]*: fe 0f 21 cf psubadds\.sh pc,pc:b,pc:b
49160 + *[0-9a-f]*: f8 0c 21 fc psubadds\.sh r12,r12:t,r12:t
49161 + *[0-9a-f]*: ea 05 21 f5 psubadds\.sh r5,r5:t,r5:t
49162 + *[0-9a-f]*: e8 04 21 c4 psubadds\.sh r4,r4:b,r4:b
49163 + *[0-9a-f]*: fc 0e 21 fe psubadds\.sh lr,lr:t,lr:t
49164 + *[0-9a-f]*: fc 01 21 df psubadds\.sh pc,lr:b,r1:t
49165 + *[0-9a-f]*: e6 0c 21 cb psubadds\.sh r11,r3:b,r12:b
49166 + *[0-9a-f]*: e4 08 21 fa psubadds\.sh r10,r2:t,r8:t
49168 +[0-9a-f]* <paddsubs_uh>:
49169 + *[0-9a-f]*: fe 0f 22 0f paddsubs\.uh pc,pc:b,pc:b
49170 + *[0-9a-f]*: f8 0c 22 3c paddsubs\.uh r12,r12:t,r12:t
49171 + *[0-9a-f]*: ea 05 22 35 paddsubs\.uh r5,r5:t,r5:t
49172 + *[0-9a-f]*: e8 04 22 04 paddsubs\.uh r4,r4:b,r4:b
49173 + *[0-9a-f]*: fc 0e 22 3e paddsubs\.uh lr,lr:t,lr:t
49174 + *[0-9a-f]*: e4 03 22 09 paddsubs\.uh r9,r2:b,r3:b
49175 + *[0-9a-f]*: fa 07 22 1d paddsubs\.uh sp,sp:b,r7:t
49176 + *[0-9a-f]*: e0 0a 22 1e paddsubs\.uh lr,r0:b,r10:t
49178 +[0-9a-f]* <psubadds_uh>:
49179 + *[0-9a-f]*: fe 0f 22 4f psubadds\.uh pc,pc:b,pc:b
49180 + *[0-9a-f]*: f8 0c 22 7c psubadds\.uh r12,r12:t,r12:t
49181 + *[0-9a-f]*: ea 05 22 75 psubadds\.uh r5,r5:t,r5:t
49182 + *[0-9a-f]*: e8 04 22 44 psubadds\.uh r4,r4:b,r4:b
49183 + *[0-9a-f]*: fc 0e 22 7e psubadds\.uh lr,lr:t,lr:t
49184 + *[0-9a-f]*: f2 0f 22 7c psubadds\.uh r12,r9:t,pc:t
49185 + *[0-9a-f]*: ec 08 22 48 psubadds\.uh r8,r6:b,r8:b
49186 + *[0-9a-f]*: f0 04 22 48 psubadds\.uh r8,r8:b,r4:b
49188 +[0-9a-f]* <paddsubh_sh>:
49189 + *[0-9a-f]*: fe 0f 22 8f paddsubh\.sh pc,pc:b,pc:b
49190 + *[0-9a-f]*: f8 0c 22 bc paddsubh\.sh r12,r12:t,r12:t
49191 + *[0-9a-f]*: ea 05 22 b5 paddsubh\.sh r5,r5:t,r5:t
49192 + *[0-9a-f]*: e8 04 22 84 paddsubh\.sh r4,r4:b,r4:b
49193 + *[0-9a-f]*: fc 0e 22 be paddsubh\.sh lr,lr:t,lr:t
49194 + *[0-9a-f]*: f2 09 22 a8 paddsubh\.sh r8,r9:t,r9:b
49195 + *[0-9a-f]*: fa 01 22 b0 paddsubh\.sh r0,sp:t,r1:t
49196 + *[0-9a-f]*: e2 00 22 93 paddsubh\.sh r3,r1:b,r0:t
49198 +[0-9a-f]* <psubaddh_sh>:
49199 + *[0-9a-f]*: fe 0f 22 cf psubaddh\.sh pc,pc:b,pc:b
49200 + *[0-9a-f]*: f8 0c 22 fc psubaddh\.sh r12,r12:t,r12:t
49201 + *[0-9a-f]*: ea 05 22 f5 psubaddh\.sh r5,r5:t,r5:t
49202 + *[0-9a-f]*: e8 04 22 c4 psubaddh\.sh r4,r4:b,r4:b
49203 + *[0-9a-f]*: fc 0e 22 fe psubaddh\.sh lr,lr:t,lr:t
49204 + *[0-9a-f]*: e6 0a 22 e7 psubaddh\.sh r7,r3:t,r10:b
49205 + *[0-9a-f]*: e4 01 22 f7 psubaddh\.sh r7,r2:t,r1:t
49206 + *[0-9a-f]*: e6 06 22 cb psubaddh\.sh r11,r3:b,r6:b
49208 +[0-9a-f]* <padd_b>:
49209 + *[0-9a-f]*: fe 0f 23 0f padd\.b pc,pc,pc
49210 + *[0-9a-f]*: f8 0c 23 0c padd\.b r12,r12,r12
49211 + *[0-9a-f]*: ea 05 23 05 padd\.b r5,r5,r5
49212 + *[0-9a-f]*: e8 04 23 04 padd\.b r4,r4,r4
49213 + *[0-9a-f]*: fc 0e 23 0e padd\.b lr,lr,lr
49214 + *[0-9a-f]*: ec 0f 23 02 padd\.b r2,r6,pc
49215 + *[0-9a-f]*: f2 0c 23 08 padd\.b r8,r9,r12
49216 + *[0-9a-f]*: f8 03 23 05 padd\.b r5,r12,r3
49218 +[0-9a-f]* <psub_b>:
49219 + *[0-9a-f]*: fe 0f 23 1f psub\.b pc,pc,pc
49220 + *[0-9a-f]*: f8 0c 23 1c psub\.b r12,r12,r12
49221 + *[0-9a-f]*: ea 05 23 15 psub\.b r5,r5,r5
49222 + *[0-9a-f]*: e8 04 23 14 psub\.b r4,r4,r4
49223 + *[0-9a-f]*: fc 0e 23 1e psub\.b lr,lr,lr
49224 + *[0-9a-f]*: f8 0f 23 10 psub\.b r0,r12,pc
49225 + *[0-9a-f]*: fa 0a 23 17 psub\.b r7,sp,r10
49226 + *[0-9a-f]*: fa 0c 23 15 psub\.b r5,sp,r12
49228 +[0-9a-f]* <padds_sb>:
49229 + *[0-9a-f]*: fe 0f 23 2f padds\.sb pc,pc,pc
49230 + *[0-9a-f]*: f8 0c 23 2c padds\.sb r12,r12,r12
49231 + *[0-9a-f]*: ea 05 23 25 padds\.sb r5,r5,r5
49232 + *[0-9a-f]*: e8 04 23 24 padds\.sb r4,r4,r4
49233 + *[0-9a-f]*: fc 0e 23 2e padds\.sb lr,lr,lr
49234 + *[0-9a-f]*: f6 04 23 2d padds\.sb sp,r11,r4
49235 + *[0-9a-f]*: f4 0b 23 2b padds\.sb r11,r10,r11
49236 + *[0-9a-f]*: f8 06 23 25 padds\.sb r5,r12,r6
49238 +[0-9a-f]* <psubs_sb>:
49239 + *[0-9a-f]*: fe 0f 23 3f psubs\.sb pc,pc,pc
49240 + *[0-9a-f]*: f8 0c 23 3c psubs\.sb r12,r12,r12
49241 + *[0-9a-f]*: ea 05 23 35 psubs\.sb r5,r5,r5
49242 + *[0-9a-f]*: e8 04 23 34 psubs\.sb r4,r4,r4
49243 + *[0-9a-f]*: fc 0e 23 3e psubs\.sb lr,lr,lr
49244 + *[0-9a-f]*: ec 08 23 37 psubs\.sb r7,r6,r8
49245 + *[0-9a-f]*: f4 09 23 3c psubs\.sb r12,r10,r9
49246 + *[0-9a-f]*: f6 00 23 3f psubs\.sb pc,r11,r0
49248 +[0-9a-f]* <padds_ub>:
49249 + *[0-9a-f]*: fe 0f 23 4f padds\.ub pc,pc,pc
49250 + *[0-9a-f]*: f8 0c 23 4c padds\.ub r12,r12,r12
49251 + *[0-9a-f]*: ea 05 23 45 padds\.ub r5,r5,r5
49252 + *[0-9a-f]*: e8 04 23 44 padds\.ub r4,r4,r4
49253 + *[0-9a-f]*: fc 0e 23 4e padds\.ub lr,lr,lr
49254 + *[0-9a-f]*: e4 0b 23 43 padds\.ub r3,r2,r11
49255 + *[0-9a-f]*: f0 01 23 4a padds\.ub r10,r8,r1
49256 + *[0-9a-f]*: f0 0a 23 4b padds\.ub r11,r8,r10
49258 +[0-9a-f]* <psubs_ub>:
49259 + *[0-9a-f]*: fe 0f 23 5f psubs\.ub pc,pc,pc
49260 + *[0-9a-f]*: f8 0c 23 5c psubs\.ub r12,r12,r12
49261 + *[0-9a-f]*: ea 05 23 55 psubs\.ub r5,r5,r5
49262 + *[0-9a-f]*: e8 04 23 54 psubs\.ub r4,r4,r4
49263 + *[0-9a-f]*: fc 0e 23 5e psubs\.ub lr,lr,lr
49264 + *[0-9a-f]*: e4 07 23 50 psubs\.ub r0,r2,r7
49265 + *[0-9a-f]*: ea 03 23 5e psubs\.ub lr,r5,r3
49266 + *[0-9a-f]*: ee 09 23 56 psubs\.ub r6,r7,r9
49268 +[0-9a-f]* <paddh_ub>:
49269 + *[0-9a-f]*: fe 0f 23 6f paddh\.ub pc,pc,pc
49270 + *[0-9a-f]*: f8 0c 23 6c paddh\.ub r12,r12,r12
49271 + *[0-9a-f]*: ea 05 23 65 paddh\.ub r5,r5,r5
49272 + *[0-9a-f]*: e8 04 23 64 paddh\.ub r4,r4,r4
49273 + *[0-9a-f]*: fc 0e 23 6e paddh\.ub lr,lr,lr
49274 + *[0-9a-f]*: e2 00 23 6e paddh\.ub lr,r1,r0
49275 + *[0-9a-f]*: ee 07 23 62 paddh\.ub r2,r7,r7
49276 + *[0-9a-f]*: e2 02 23 62 paddh\.ub r2,r1,r2
49278 +[0-9a-f]* <psubh_ub>:
49279 + *[0-9a-f]*: fe 0f 23 7f psubh\.ub pc,pc,pc
49280 + *[0-9a-f]*: f8 0c 23 7c psubh\.ub r12,r12,r12
49281 + *[0-9a-f]*: ea 05 23 75 psubh\.ub r5,r5,r5
49282 + *[0-9a-f]*: e8 04 23 74 psubh\.ub r4,r4,r4
49283 + *[0-9a-f]*: fc 0e 23 7e psubh\.ub lr,lr,lr
49284 + *[0-9a-f]*: e2 06 23 70 psubh\.ub r0,r1,r6
49285 + *[0-9a-f]*: fc 0a 23 74 psubh\.ub r4,lr,r10
49286 + *[0-9a-f]*: f0 01 23 79 psubh\.ub r9,r8,r1
49288 +[0-9a-f]* <pmax_ub>:
49289 + *[0-9a-f]*: fe 0f 23 8f pmax\.ub pc,pc,pc
49290 + *[0-9a-f]*: f8 0c 23 8c pmax\.ub r12,r12,r12
49291 + *[0-9a-f]*: ea 05 23 85 pmax\.ub r5,r5,r5
49292 + *[0-9a-f]*: e8 04 23 84 pmax\.ub r4,r4,r4
49293 + *[0-9a-f]*: fc 0e 23 8e pmax\.ub lr,lr,lr
49294 + *[0-9a-f]*: e4 0b 23 8f pmax\.ub pc,r2,r11
49295 + *[0-9a-f]*: e2 01 23 8c pmax\.ub r12,r1,r1
49296 + *[0-9a-f]*: e4 00 23 85 pmax\.ub r5,r2,r0
49298 +[0-9a-f]* <pmax_sh>:
49299 + *[0-9a-f]*: fe 0f 23 9f pmax\.sh pc,pc,pc
49300 + *[0-9a-f]*: f8 0c 23 9c pmax\.sh r12,r12,r12
49301 + *[0-9a-f]*: ea 05 23 95 pmax\.sh r5,r5,r5
49302 + *[0-9a-f]*: e8 04 23 94 pmax\.sh r4,r4,r4
49303 + *[0-9a-f]*: fc 0e 23 9e pmax\.sh lr,lr,lr
49304 + *[0-9a-f]*: ec 0c 23 9e pmax\.sh lr,r6,r12
49305 + *[0-9a-f]*: fe 05 23 92 pmax\.sh r2,pc,r5
49306 + *[0-9a-f]*: e4 07 23 9f pmax\.sh pc,r2,r7
49308 +[0-9a-f]* <pmin_ub>:
49309 + *[0-9a-f]*: fe 0f 23 af pmin\.ub pc,pc,pc
49310 + *[0-9a-f]*: f8 0c 23 ac pmin\.ub r12,r12,r12
49311 + *[0-9a-f]*: ea 05 23 a5 pmin\.ub r5,r5,r5
49312 + *[0-9a-f]*: e8 04 23 a4 pmin\.ub r4,r4,r4
49313 + *[0-9a-f]*: fc 0e 23 ae pmin\.ub lr,lr,lr
49314 + *[0-9a-f]*: e2 05 23 a8 pmin\.ub r8,r1,r5
49315 + *[0-9a-f]*: f0 03 23 a1 pmin\.ub r1,r8,r3
49316 + *[0-9a-f]*: e4 07 23 a0 pmin\.ub r0,r2,r7
49318 +[0-9a-f]* <pmin_sh>:
49319 + *[0-9a-f]*: fe 0f 23 bf pmin\.sh pc,pc,pc
49320 + *[0-9a-f]*: f8 0c 23 bc pmin\.sh r12,r12,r12
49321 + *[0-9a-f]*: ea 05 23 b5 pmin\.sh r5,r5,r5
49322 + *[0-9a-f]*: e8 04 23 b4 pmin\.sh r4,r4,r4
49323 + *[0-9a-f]*: fc 0e 23 be pmin\.sh lr,lr,lr
49324 + *[0-9a-f]*: e8 0a 23 b8 pmin\.sh r8,r4,r10
49325 + *[0-9a-f]*: f4 0c 23 be pmin\.sh lr,r10,r12
49326 + *[0-9a-f]*: ec 02 23 b2 pmin\.sh r2,r6,r2
49328 +[0-9a-f]* <pavg_ub>:
49329 + *[0-9a-f]*: fe 0f 23 cf pavg\.ub pc,pc,pc
49330 + *[0-9a-f]*: f8 0c 23 cc pavg\.ub r12,r12,r12
49331 + *[0-9a-f]*: ea 05 23 c5 pavg\.ub r5,r5,r5
49332 + *[0-9a-f]*: e8 04 23 c4 pavg\.ub r4,r4,r4
49333 + *[0-9a-f]*: fc 0e 23 ce pavg\.ub lr,lr,lr
49334 + *[0-9a-f]*: e2 06 23 c0 pavg\.ub r0,r1,r6
49335 + *[0-9a-f]*: e6 06 23 c8 pavg\.ub r8,r3,r6
49336 + *[0-9a-f]*: f8 0a 23 cf pavg\.ub pc,r12,r10
49338 +[0-9a-f]* <pavg_sh>:
49339 + *[0-9a-f]*: fe 0f 23 df pavg\.sh pc,pc,pc
49340 + *[0-9a-f]*: f8 0c 23 dc pavg\.sh r12,r12,r12
49341 + *[0-9a-f]*: ea 05 23 d5 pavg\.sh r5,r5,r5
49342 + *[0-9a-f]*: e8 04 23 d4 pavg\.sh r4,r4,r4
49343 + *[0-9a-f]*: fc 0e 23 de pavg\.sh lr,lr,lr
49344 + *[0-9a-f]*: fe 0d 23 d9 pavg\.sh r9,pc,sp
49345 + *[0-9a-f]*: fa 03 23 df pavg\.sh pc,sp,r3
49346 + *[0-9a-f]*: e2 09 23 d6 pavg\.sh r6,r1,r9
49348 +[0-9a-f]* <pabs_sb>:
49349 + *[0-9a-f]*: e0 0f 23 ef pabs\.sb pc,pc
49350 + *[0-9a-f]*: e0 0c 23 ec pabs\.sb r12,r12
49351 + *[0-9a-f]*: e0 05 23 e5 pabs\.sb r5,r5
49352 + *[0-9a-f]*: e0 04 23 e4 pabs\.sb r4,r4
49353 + *[0-9a-f]*: e0 0e 23 ee pabs\.sb lr,lr
49354 + *[0-9a-f]*: e0 06 23 eb pabs\.sb r11,r6
49355 + *[0-9a-f]*: e0 09 23 ee pabs\.sb lr,r9
49356 + *[0-9a-f]*: e0 07 23 ed pabs\.sb sp,r7
49358 +[0-9a-f]* <pabs_sh>:
49359 + *[0-9a-f]*: e0 0f 23 ff pabs\.sh pc,pc
49360 + *[0-9a-f]*: e0 0c 23 fc pabs\.sh r12,r12
49361 + *[0-9a-f]*: e0 05 23 f5 pabs\.sh r5,r5
49362 + *[0-9a-f]*: e0 04 23 f4 pabs\.sh r4,r4
49363 + *[0-9a-f]*: e0 0e 23 fe pabs\.sh lr,lr
49364 + *[0-9a-f]*: e0 03 23 ff pabs\.sh pc,r3
49365 + *[0-9a-f]*: e0 07 23 f5 pabs\.sh r5,r7
49366 + *[0-9a-f]*: e0 00 23 f4 pabs\.sh r4,r0
49369 + *[0-9a-f]*: fe 0f 24 0f psad pc,pc,pc
49370 + *[0-9a-f]*: f8 0c 24 0c psad r12,r12,r12
49371 + *[0-9a-f]*: ea 05 24 05 psad r5,r5,r5
49372 + *[0-9a-f]*: e8 04 24 04 psad r4,r4,r4
49373 + *[0-9a-f]*: fc 0e 24 0e psad lr,lr,lr
49374 + *[0-9a-f]*: f6 0b 24 09 psad r9,r11,r11
49375 + *[0-9a-f]*: e8 0d 24 0e psad lr,r4,sp
49376 + *[0-9a-f]*: e8 05 24 0e psad lr,r4,r5
49378 +[0-9a-f]* <pasr_b>:
49379 + *[0-9a-f]*: fe 00 24 1f pasr\.b pc,pc,0x0
49380 + *[0-9a-f]*: f8 07 24 1c pasr\.b r12,r12,0x7
49381 + *[0-9a-f]*: ea 04 24 15 pasr\.b r5,r5,0x4
49382 + *[0-9a-f]*: e8 03 24 14 pasr\.b r4,r4,0x3
49383 + *[0-9a-f]*: fc 01 24 1e pasr\.b lr,lr,0x1
49384 + *[0-9a-f]*: ee 01 24 1f pasr\.b pc,r7,0x1
49385 + *[0-9a-f]*: fc 06 24 1d pasr\.b sp,lr,0x6
49386 + *[0-9a-f]*: e6 02 24 1d pasr\.b sp,r3,0x2
49388 +[0-9a-f]* <plsl_b>:
49389 + *[0-9a-f]*: fe 00 24 2f plsl\.b pc,pc,0x0
49390 + *[0-9a-f]*: f8 07 24 2c plsl\.b r12,r12,0x7
49391 + *[0-9a-f]*: ea 04 24 25 plsl\.b r5,r5,0x4
49392 + *[0-9a-f]*: e8 03 24 24 plsl\.b r4,r4,0x3
49393 + *[0-9a-f]*: fc 01 24 2e plsl\.b lr,lr,0x1
49394 + *[0-9a-f]*: f6 04 24 22 plsl\.b r2,r11,0x4
49395 + *[0-9a-f]*: ea 07 24 28 plsl\.b r8,r5,0x7
49396 + *[0-9a-f]*: e0 02 24 2f plsl\.b pc,r0,0x2
49398 +[0-9a-f]* <plsr_b>:
49399 + *[0-9a-f]*: fe 00 24 3f plsr\.b pc,pc,0x0
49400 + *[0-9a-f]*: f8 07 24 3c plsr\.b r12,r12,0x7
49401 + *[0-9a-f]*: ea 04 24 35 plsr\.b r5,r5,0x4
49402 + *[0-9a-f]*: e8 03 24 34 plsr\.b r4,r4,0x3
49403 + *[0-9a-f]*: fc 01 24 3e plsr\.b lr,lr,0x1
49404 + *[0-9a-f]*: e2 02 24 3c plsr\.b r12,r1,0x2
49405 + *[0-9a-f]*: fe 07 24 36 plsr\.b r6,pc,0x7
49406 + *[0-9a-f]*: f6 02 24 3c plsr\.b r12,r11,0x2
49408 +[0-9a-f]* <pasr_h>:
49409 + *[0-9a-f]*: fe 00 24 4f pasr\.h pc,pc,0x0
49410 + *[0-9a-f]*: f8 0f 24 4c pasr\.h r12,r12,0xf
49411 + *[0-9a-f]*: ea 08 24 45 pasr\.h r5,r5,0x8
49412 + *[0-9a-f]*: e8 07 24 44 pasr\.h r4,r4,0x7
49413 + *[0-9a-f]*: fc 01 24 4e pasr\.h lr,lr,0x1
49414 + *[0-9a-f]*: f6 0a 24 40 pasr\.h r0,r11,0xa
49415 + *[0-9a-f]*: ec 08 24 44 pasr\.h r4,r6,0x8
49416 + *[0-9a-f]*: e4 04 24 46 pasr\.h r6,r2,0x4
49418 +[0-9a-f]* <plsl_h>:
49419 + *[0-9a-f]*: fe 00 24 5f plsl\.h pc,pc,0x0
49420 + *[0-9a-f]*: f8 0f 24 5c plsl\.h r12,r12,0xf
49421 + *[0-9a-f]*: ea 08 24 55 plsl\.h r5,r5,0x8
49422 + *[0-9a-f]*: e8 07 24 54 plsl\.h r4,r4,0x7
49423 + *[0-9a-f]*: fc 01 24 5e plsl\.h lr,lr,0x1
49424 + *[0-9a-f]*: f4 09 24 55 plsl\.h r5,r10,0x9
49425 + *[0-9a-f]*: fc 08 24 5d plsl\.h sp,lr,0x8
49426 + *[0-9a-f]*: fc 07 24 50 plsl\.h r0,lr,0x7
49428 +[0-9a-f]* <plsr_h>:
49429 + *[0-9a-f]*: fe 00 24 6f plsr\.h pc,pc,0x0
49430 + *[0-9a-f]*: f8 0f 24 6c plsr\.h r12,r12,0xf
49431 + *[0-9a-f]*: ea 08 24 65 plsr\.h r5,r5,0x8
49432 + *[0-9a-f]*: e8 07 24 64 plsr\.h r4,r4,0x7
49433 + *[0-9a-f]*: fc 01 24 6e plsr\.h lr,lr,0x1
49434 + *[0-9a-f]*: e0 0f 24 6b plsr\.h r11,r0,0xf
49435 + *[0-9a-f]*: e6 03 24 6e plsr\.h lr,r3,0x3
49436 + *[0-9a-f]*: fc 0a 24 68 plsr\.h r8,lr,0xa
49438 +[0-9a-f]* <packw_sh>:
49439 + *[0-9a-f]*: fe 0f 24 7f packw\.sh pc,pc,pc
49440 + *[0-9a-f]*: f8 0c 24 7c packw\.sh r12,r12,r12
49441 + *[0-9a-f]*: ea 05 24 75 packw\.sh r5,r5,r5
49442 + *[0-9a-f]*: e8 04 24 74 packw\.sh r4,r4,r4
49443 + *[0-9a-f]*: fc 0e 24 7e packw\.sh lr,lr,lr
49444 + *[0-9a-f]*: f6 0a 24 7d packw\.sh sp,r11,r10
49445 + *[0-9a-f]*: e4 0c 24 78 packw\.sh r8,r2,r12
49446 + *[0-9a-f]*: e2 05 24 78 packw\.sh r8,r1,r5
49448 +[0-9a-f]* <punpckub_h>:
49449 + *[0-9a-f]*: fe 00 24 8f punpckub\.h pc,pc:b
49450 + *[0-9a-f]*: f8 00 24 9c punpckub\.h r12,r12:t
49451 + *[0-9a-f]*: ea 00 24 95 punpckub\.h r5,r5:t
49452 + *[0-9a-f]*: e8 00 24 84 punpckub\.h r4,r4:b
49453 + *[0-9a-f]*: fc 00 24 9e punpckub\.h lr,lr:t
49454 + *[0-9a-f]*: e2 00 24 96 punpckub\.h r6,r1:t
49455 + *[0-9a-f]*: ea 00 24 8e punpckub\.h lr,r5:b
49456 + *[0-9a-f]*: e4 00 24 9e punpckub\.h lr,r2:t
49458 +[0-9a-f]* <punpcksb_h>:
49459 + *[0-9a-f]*: fe 00 24 af punpcksb\.h pc,pc:b
49460 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
49461 + *[0-9a-f]*: ea 00 24 b5 punpcksb\.h r5,r5:t
49462 + *[0-9a-f]*: e8 00 24 a4 punpcksb\.h r4,r4:b
49463 + *[0-9a-f]*: fc 00 24 be punpcksb\.h lr,lr:t
49464 + *[0-9a-f]*: ee 00 24 b4 punpcksb\.h r4,r7:t
49465 + *[0-9a-f]*: fc 00 24 a6 punpcksb\.h r6,lr:b
49466 + *[0-9a-f]*: f8 00 24 bc punpcksb\.h r12,r12:t
49468 +[0-9a-f]* <packsh_ub>:
49469 + *[0-9a-f]*: fe 0f 24 cf packsh\.ub pc,pc,pc
49470 + *[0-9a-f]*: f8 0c 24 cc packsh\.ub r12,r12,r12
49471 + *[0-9a-f]*: ea 05 24 c5 packsh\.ub r5,r5,r5
49472 + *[0-9a-f]*: e8 04 24 c4 packsh\.ub r4,r4,r4
49473 + *[0-9a-f]*: fc 0e 24 ce packsh\.ub lr,lr,lr
49474 + *[0-9a-f]*: ec 03 24 c3 packsh\.ub r3,r6,r3
49475 + *[0-9a-f]*: e0 03 24 c8 packsh\.ub r8,r0,r3
49476 + *[0-9a-f]*: e6 0e 24 c9 packsh\.ub r9,r3,lr
49478 +[0-9a-f]* <packsh_sb>:
49479 + *[0-9a-f]*: fe 0f 24 df packsh\.sb pc,pc,pc
49480 + *[0-9a-f]*: f8 0c 24 dc packsh\.sb r12,r12,r12
49481 + *[0-9a-f]*: ea 05 24 d5 packsh\.sb r5,r5,r5
49482 + *[0-9a-f]*: e8 04 24 d4 packsh\.sb r4,r4,r4
49483 + *[0-9a-f]*: fc 0e 24 de packsh\.sb lr,lr,lr
49484 + *[0-9a-f]*: f0 01 24 d6 packsh\.sb r6,r8,r1
49485 + *[0-9a-f]*: f2 08 24 de packsh\.sb lr,r9,r8
49486 + *[0-9a-f]*: ec 06 24 dd packsh\.sb sp,r6,r6
49489 + *[0-9a-f]*: e0 1f 00 00 andl pc,0x0
49490 + *[0-9a-f]*: e0 1c ff ff andl r12,0xffff
49491 + *[0-9a-f]*: e0 15 80 00 andl r5,0x8000
49492 + *[0-9a-f]*: e0 14 7f ff andl r4,0x7fff
49493 + *[0-9a-f]*: e0 1e 00 01 andl lr,0x1
49494 + *[0-9a-f]*: e0 1f 5a 58 andl pc,0x5a58
49495 + *[0-9a-f]*: e0 18 b8 9e andl r8,0xb89e
49496 + *[0-9a-f]*: e0 17 35 97 andl r7,0x3597
49498 +[0-9a-f]* <andl_coh>:
49499 + *[0-9a-f]*: e2 1f 00 00 andl pc,0x0,COH
49500 + *[0-9a-f]*: e2 1c ff ff andl r12,0xffff,COH
49501 + *[0-9a-f]*: e2 15 80 00 andl r5,0x8000,COH
49502 + *[0-9a-f]*: e2 14 7f ff andl r4,0x7fff,COH
49503 + *[0-9a-f]*: e2 1e 00 01 andl lr,0x1,COH
49504 + *[0-9a-f]*: e2 16 58 e1 andl r6,0x58e1,COH
49505 + *[0-9a-f]*: e2 10 9e cd andl r0,0x9ecd,COH
49506 + *[0-9a-f]*: e2 14 bd c4 andl r4,0xbdc4,COH
49509 + *[0-9a-f]*: e4 1f 00 00 andh pc,0x0
49510 + *[0-9a-f]*: e4 1c ff ff andh r12,0xffff
49511 + *[0-9a-f]*: e4 15 80 00 andh r5,0x8000
49512 + *[0-9a-f]*: e4 14 7f ff andh r4,0x7fff
49513 + *[0-9a-f]*: e4 1e 00 01 andh lr,0x1
49514 + *[0-9a-f]*: e4 1c cc 58 andh r12,0xcc58
49515 + *[0-9a-f]*: e4 13 21 e3 andh r3,0x21e3
49516 + *[0-9a-f]*: e4 12 a7 eb andh r2,0xa7eb
49518 +[0-9a-f]* <andh_coh>:
49519 + *[0-9a-f]*: e6 1f 00 00 andh pc,0x0,COH
49520 + *[0-9a-f]*: e6 1c ff ff andh r12,0xffff,COH
49521 + *[0-9a-f]*: e6 15 80 00 andh r5,0x8000,COH
49522 + *[0-9a-f]*: e6 14 7f ff andh r4,0x7fff,COH
49523 + *[0-9a-f]*: e6 1e 00 01 andh lr,0x1,COH
49524 + *[0-9a-f]*: e6 1b 86 0d andh r11,0x860d,COH
49525 + *[0-9a-f]*: e6 18 ce f6 andh r8,0xcef6,COH
49526 + *[0-9a-f]*: e6 1a 5c 83 andh r10,0x5c83,COH
49529 + *[0-9a-f]*: e8 1f 00 00 orl pc,0x0
49530 + *[0-9a-f]*: e8 1c ff ff orl r12,0xffff
49531 + *[0-9a-f]*: e8 15 80 00 orl r5,0x8000
49532 + *[0-9a-f]*: e8 14 7f ff orl r4,0x7fff
49533 + *[0-9a-f]*: e8 1e 00 01 orl lr,0x1
49534 + *[0-9a-f]*: e8 1d 41 7e orl sp,0x417e
49535 + *[0-9a-f]*: e8 10 52 bd orl r0,0x52bd
49536 + *[0-9a-f]*: e8 1f ac 47 orl pc,0xac47
49539 + *[0-9a-f]*: ea 1f 00 00 orh pc,0x0
49540 + *[0-9a-f]*: ea 1c ff ff orh r12,0xffff
49541 + *[0-9a-f]*: ea 15 80 00 orh r5,0x8000
49542 + *[0-9a-f]*: ea 14 7f ff orh r4,0x7fff
49543 + *[0-9a-f]*: ea 1e 00 01 orh lr,0x1
49544 + *[0-9a-f]*: ea 18 6e 7d orh r8,0x6e7d
49545 + *[0-9a-f]*: ea 1c 77 1c orh r12,0x771c
49546 + *[0-9a-f]*: ea 11 ea 1a orh r1,0xea1a
49549 + *[0-9a-f]*: ec 1f 00 00 eorl pc,0x0
49550 + *[0-9a-f]*: ec 1c ff ff eorl r12,0xffff
49551 + *[0-9a-f]*: ec 15 80 00 eorl r5,0x8000
49552 + *[0-9a-f]*: ec 14 7f ff eorl r4,0x7fff
49553 + *[0-9a-f]*: ec 1e 00 01 eorl lr,0x1
49554 + *[0-9a-f]*: ec 14 c7 b9 eorl r4,0xc7b9
49555 + *[0-9a-f]*: ec 16 fb dd eorl r6,0xfbdd
49556 + *[0-9a-f]*: ec 11 51 b1 eorl r1,0x51b1
49559 + *[0-9a-f]*: ee 1f 00 00 eorh pc,0x0
49560 + *[0-9a-f]*: ee 1c ff ff eorh r12,0xffff
49561 + *[0-9a-f]*: ee 15 80 00 eorh r5,0x8000
49562 + *[0-9a-f]*: ee 14 7f ff eorh r4,0x7fff
49563 + *[0-9a-f]*: ee 1e 00 01 eorh lr,0x1
49564 + *[0-9a-f]*: ee 10 2d d4 eorh r0,0x2dd4
49565 + *[0-9a-f]*: ee 1a 94 b5 eorh r10,0x94b5
49566 + *[0-9a-f]*: ee 19 df 2a eorh r9,0xdf2a
49568 +[0-9a-f]* <mcall>:
49569 + *[0-9a-f]*: f0 1f 00 00 mcall [0-9a-f]* <.*>
49570 + *[0-9a-f]*: f0 1c ff ff mcall r12\[-4\]
49571 + *[0-9a-f]*: f0 15 80 00 mcall r5\[-131072\]
49572 + *[0-9a-f]*: f0 14 7f ff mcall r4\[131068\]
49573 + *[0-9a-f]*: f0 1e 00 01 mcall lr\[4\]
49574 + *[0-9a-f]*: f0 1d 3b bf mcall sp\[61180\]
49575 + *[0-9a-f]*: f0 14 dd d2 mcall r4\[-35000\]
49576 + *[0-9a-f]*: f0 10 09 b1 mcall r0\[9924\]
49579 + *[0-9a-f]*: f2 1f 00 00 pref pc\[0\]
49580 + *[0-9a-f]*: f2 1c ff ff pref r12\[-1\]
49581 + *[0-9a-f]*: f2 15 80 00 pref r5\[-32768\]
49582 + *[0-9a-f]*: f2 14 7f ff pref r4\[32767\]
49583 + *[0-9a-f]*: f2 1e 00 01 pref lr\[1\]
49584 + *[0-9a-f]*: f2 17 1e 44 pref r7\[7748\]
49585 + *[0-9a-f]*: f2 17 e1 ed pref r7\[-7699\]
49586 + *[0-9a-f]*: f2 12 9a dc pref r2\[-25892\]
49588 +[0-9a-f]* <cache>:
49589 + *[0-9a-f]*: f4 1f 00 00 cache pc\[0\],0x0
49590 + *[0-9a-f]*: f4 1c ff ff cache r12\[-1\],0x1f
49591 + *[0-9a-f]*: f4 15 84 00 cache r5\[-1024\],0x10
49592 + *[0-9a-f]*: f4 14 7b ff cache r4\[1023\],0xf
49593 + *[0-9a-f]*: f4 1e 08 01 cache lr\[1\],0x1
49594 + *[0-9a-f]*: f4 13 8c 3c cache r3\[-964\],0x11
49595 + *[0-9a-f]*: f4 14 b6 89 cache r4\[-375\],0x16
49596 + *[0-9a-f]*: f4 13 8c 88 cache r3\[-888\],0x11
49599 + *[0-9a-f]*: 20 0f sub pc,0
49600 + *[0-9a-f]*: 2f fc sub r12,-1
49601 + *[0-9a-f]*: f0 25 00 00 sub r5,-1048576
49602 + *[0-9a-f]*: ee 34 ff ff sub r4,1048575
49603 + *[0-9a-f]*: 20 1e sub lr,1
49604 + *[0-9a-f]*: f6 22 8d 6c sub r2,-619156
49605 + *[0-9a-f]*: e6 3e 0a cd sub lr,461517
49606 + *[0-9a-f]*: fc 38 2d 25 sub r8,-185051
49609 + *[0-9a-f]*: 58 0f cp.w pc,0
49610 + *[0-9a-f]*: 5b fc cp.w r12,-1
49611 + *[0-9a-f]*: f0 45 00 00 cp.w r5,-1048576
49612 + *[0-9a-f]*: ee 54 ff ff cp.w r4,1048575
49613 + *[0-9a-f]*: 58 1e cp.w lr,1
49614 + *[0-9a-f]*: e0 51 e4 ae cp.w r1,124078
49615 + *[0-9a-f]*: fa 40 37 e3 cp.w r0,-378909
49616 + *[0-9a-f]*: fc 44 4a 14 cp.w r4,-243180
49619 + *[0-9a-f]*: 30 0f mov pc,0
49620 + *[0-9a-f]*: 3f fc mov r12,-1
49621 + *[0-9a-f]*: f0 65 00 00 mov r5,-1048576
49622 + *[0-9a-f]*: ee 74 ff ff mov r4,1048575
49623 + *[0-9a-f]*: 30 1e mov lr,1
49624 + *[0-9a-f]*: fa 75 29 a3 mov r5,-317021
49625 + *[0-9a-f]*: f4 6d 91 94 mov sp,-749164
49626 + *[0-9a-f]*: ee 65 58 93 mov r5,940179
49629 + *[0-9a-f]*: c0 00 breq [0-9a-f]* <.*>
49630 + *[0-9a-f]*: fe 9f ff ff bral [0-9a-f]* <.*>
49631 + *[0-9a-f]*: f0 88 00 00 brls [0-9a-f]* <.*>
49632 + *[0-9a-f]*: ee 97 ff ff brpl [0-9a-f]* <.*>
49633 + *[0-9a-f]*: c0 11 brne [0-9a-f]* <.*>
49634 + *[0-9a-f]*: f2 8b 4a 4d brhi [0-9a-f]* <.*>
49635 + *[0-9a-f]*: ea 8e 14 cc brqs [0-9a-f]* <.*>
49636 + *[0-9a-f]*: fa 98 98 33 brls [0-9a-f]* <.*>
49638 +[0-9a-f]* <rcall2>:
49639 + *[0-9a-f]*: c0 0c rcall [0-9a-f]* <.*>
49640 + *[0-9a-f]*: cf ff rcall [0-9a-f]* <.*>
49641 + *[0-9a-f]*: f0 a0 00 00 rcall [0-9a-f]* <.*>
49642 + *[0-9a-f]*: ee b0 ff ff rcall [0-9a-f]* <.*>
49643 + *[0-9a-f]*: c0 1c rcall [0-9a-f]* <.*>
49644 + *[0-9a-f]*: e2 b0 ca 5a rcall [0-9a-f]* <.*>
49645 + *[0-9a-f]*: e8 a0 47 52 rcall [0-9a-f]* <.*>
49646 + *[0-9a-f]*: fe b0 fd ef rcall [0-9a-f]* <.*>
49649 + *[0-9a-f]*: fe cf 00 00 sub pc,pc,0
49650 + *[0-9a-f]*: f8 cc ff ff sub r12,r12,-1
49651 + *[0-9a-f]*: ea c5 80 00 sub r5,r5,-32768
49652 + *[0-9a-f]*: e8 c4 7f ff sub r4,r4,32767
49653 + *[0-9a-f]*: fc ce 00 01 sub lr,lr,1
49654 + *[0-9a-f]*: fe cf ce 38 sub pc,pc,-12744
49655 + *[0-9a-f]*: ee c7 95 1b sub r7,r7,-27365
49656 + *[0-9a-f]*: f2 c2 bc 32 sub r2,r9,-17358
49658 +[0-9a-f]* <satsub_w2>:
49659 + *[0-9a-f]*: fe df 00 00 satsub\.w pc,pc,0
49660 + *[0-9a-f]*: f8 dc ff ff satsub\.w r12,r12,-1
49661 + *[0-9a-f]*: ea d5 80 00 satsub\.w r5,r5,-32768
49662 + *[0-9a-f]*: e8 d4 7f ff satsub\.w r4,r4,32767
49663 + *[0-9a-f]*: fc de 00 01 satsub\.w lr,lr,1
49664 + *[0-9a-f]*: fc d2 f8 29 satsub\.w r2,lr,-2007
49665 + *[0-9a-f]*: f8 d7 fc f0 satsub\.w r7,r12,-784
49666 + *[0-9a-f]*: ee d4 5a 8c satsub\.w r4,r7,23180
49668 +[0-9a-f]* <ld_d4>:
49669 + *[0-9a-f]*: fe e0 00 00 ld\.d r0,pc\[0\]
49670 + *[0-9a-f]*: f8 ee ff ff ld\.d lr,r12\[-1\]
49671 + *[0-9a-f]*: ea e8 80 00 ld\.d r8,r5\[-32768\]
49672 + *[0-9a-f]*: e8 e6 7f ff ld\.d r6,r4\[32767\]
49673 + *[0-9a-f]*: fc e2 00 01 ld\.d r2,lr\[1\]
49674 + *[0-9a-f]*: f6 ee 39 c0 ld\.d lr,r11\[14784\]
49675 + *[0-9a-f]*: f2 e6 b6 27 ld\.d r6,r9\[-18905\]
49676 + *[0-9a-f]*: e6 e2 e7 2d ld\.d r2,r3\[-6355\]
49678 +[0-9a-f]* <ld_w4>:
49679 + *[0-9a-f]*: 7e 0f ld\.w pc,pc\[0x0\]
49680 + *[0-9a-f]*: f8 fc ff ff ld\.w r12,r12\[-1\]
49681 + *[0-9a-f]*: ea f5 80 00 ld\.w r5,r5\[-32768\]
49682 + *[0-9a-f]*: e8 f4 7f ff ld\.w r4,r4\[32767\]
49683 + *[0-9a-f]*: fc fe 00 01 ld\.w lr,lr\[1\]
49684 + *[0-9a-f]*: f8 f0 a9 8b ld\.w r0,r12\[-22133\]
49685 + *[0-9a-f]*: fe fd af d7 ld\.w sp,pc\[-20521\]
49686 + *[0-9a-f]*: d7 03 nop
49688 +[0-9a-f]* <ld_sh4>:
49689 + *[0-9a-f]*: 9e 0f ld\.sh pc,pc\[0x0\]
49690 + *[0-9a-f]*: f9 0c ff ff ld\.sh r12,r12\[-1\]
49691 + *[0-9a-f]*: eb 05 80 00 ld\.sh r5,r5\[-32768\]
49692 + *[0-9a-f]*: e9 04 7f ff ld\.sh r4,r4\[32767\]
49693 + *[0-9a-f]*: fd 0e 00 01 ld\.sh lr,lr\[1\]
49694 + *[0-9a-f]*: f5 06 78 d2 ld\.sh r6,r10\[30930\]
49695 + *[0-9a-f]*: f5 06 55 d5 ld\.sh r6,r10\[21973\]
49696 + *[0-9a-f]*: d7 03 nop
49698 +[0-9a-f]* <ld_uh4>:
49699 + *[0-9a-f]*: 9e 8f ld\.uh pc,pc\[0x0\]
49700 + *[0-9a-f]*: f9 1c ff ff ld\.uh r12,r12\[-1\]
49701 + *[0-9a-f]*: eb 15 80 00 ld\.uh r5,r5\[-32768\]
49702 + *[0-9a-f]*: e9 14 7f ff ld\.uh r4,r4\[32767\]
49703 + *[0-9a-f]*: fd 1e 00 01 ld\.uh lr,lr\[1\]
49704 + *[0-9a-f]*: f3 11 cb d6 ld\.uh r1,r9\[-13354\]
49705 + *[0-9a-f]*: f7 1e 53 59 ld\.uh lr,r11\[21337\]
49706 + *[0-9a-f]*: d7 03 nop
49708 +[0-9a-f]* <ld_sb1>:
49709 + *[0-9a-f]*: ff 2f 00 00 ld\.sb pc,pc\[0\]
49710 + *[0-9a-f]*: f9 2c ff ff ld\.sb r12,r12\[-1\]
49711 + *[0-9a-f]*: eb 25 80 00 ld\.sb r5,r5\[-32768\]
49712 + *[0-9a-f]*: e9 24 7f ff ld\.sb r4,r4\[32767\]
49713 + *[0-9a-f]*: fd 2e 00 01 ld\.sb lr,lr\[1\]
49714 + *[0-9a-f]*: fb 27 90 09 ld\.sb r7,sp\[-28663\]
49715 + *[0-9a-f]*: e3 22 e9 09 ld\.sb r2,r1\[-5879\]
49716 + *[0-9a-f]*: e7 2c 49 2e ld\.sb r12,r3\[18734\]
49718 +[0-9a-f]* <ld_ub4>:
49719 + *[0-9a-f]*: 1f 8f ld\.ub pc,pc\[0x0\]
49720 + *[0-9a-f]*: f9 3c ff ff ld\.ub r12,r12\[-1\]
49721 + *[0-9a-f]*: eb 35 80 00 ld\.ub r5,r5\[-32768\]
49722 + *[0-9a-f]*: e9 34 7f ff ld\.ub r4,r4\[32767\]
49723 + *[0-9a-f]*: 1d 9e ld\.ub lr,lr\[0x1\]
49724 + *[0-9a-f]*: e9 3f 20 55 ld\.ub pc,r4\[8277\]
49725 + *[0-9a-f]*: f9 35 4a e4 ld\.ub r5,r12\[19172\]
49726 + *[0-9a-f]*: fd 3a 66 eb ld\.ub r10,lr\[26347\]
49728 +[0-9a-f]* <st_d4>:
49729 + *[0-9a-f]*: fe e1 00 00 st\.d pc\[0\],r0
49730 + *[0-9a-f]*: f8 ef ff ff st\.d r12\[-1\],lr
49731 + *[0-9a-f]*: ea e9 80 00 st\.d r5\[-32768\],r8
49732 + *[0-9a-f]*: e8 e7 7f ff st\.d r4\[32767\],r6
49733 + *[0-9a-f]*: fc e3 00 01 st\.d lr\[1\],r2
49734 + *[0-9a-f]*: ea eb 33 90 st\.d r5\[13200\],r10
49735 + *[0-9a-f]*: ea eb 24 88 st\.d r5\[9352\],r10
49736 + *[0-9a-f]*: ea e5 7e 75 st\.d r5\[32373\],r4
49738 +[0-9a-f]* <st_w4>:
49739 + *[0-9a-f]*: 9f 0f st\.w pc\[0x0\],pc
49740 + *[0-9a-f]*: f9 4c ff ff st\.w r12\[-1\],r12
49741 + *[0-9a-f]*: eb 45 80 00 st\.w r5\[-32768\],r5
49742 + *[0-9a-f]*: e9 44 7f ff st\.w r4\[32767\],r4
49743 + *[0-9a-f]*: fd 4e 00 01 st\.w lr\[1\],lr
49744 + *[0-9a-f]*: fb 47 17 f8 st\.w sp\[6136\],r7
49745 + *[0-9a-f]*: ed 4c 69 cf st\.w r6\[27087\],r12
49746 + *[0-9a-f]*: d7 03 nop
49748 +[0-9a-f]* <st_h4>:
49749 + *[0-9a-f]*: be 0f st\.h pc\[0x0\],pc
49750 + *[0-9a-f]*: f9 5c ff ff st\.h r12\[-1\],r12
49751 + *[0-9a-f]*: eb 55 80 00 st\.h r5\[-32768\],r5
49752 + *[0-9a-f]*: e9 54 7f ff st\.h r4\[32767\],r4
49753 + *[0-9a-f]*: fd 5e 00 01 st\.h lr\[1\],lr
49754 + *[0-9a-f]*: e9 57 d9 16 st\.h r4\[-9962\],r7
49755 + *[0-9a-f]*: f3 53 c0 86 st\.h r9\[-16250\],r3
49756 + *[0-9a-f]*: d7 03 nop
49758 +[0-9a-f]* <st_b4>:
49759 + *[0-9a-f]*: be 8f st\.b pc\[0x0\],pc
49760 + *[0-9a-f]*: f9 6c ff ff st\.b r12\[-1\],r12
49761 + *[0-9a-f]*: eb 65 80 00 st\.b r5\[-32768\],r5
49762 + *[0-9a-f]*: e9 64 7f ff st\.b r4\[32767\],r4
49763 + *[0-9a-f]*: bc 9e st\.b lr\[0x1\],lr
49764 + *[0-9a-f]*: f9 66 75 96 st\.b r12\[30102\],r6
49765 + *[0-9a-f]*: eb 61 71 31 st\.b r5\[28977\],r1
49766 + *[0-9a-f]*: e1 61 15 5e st\.b r0\[5470\],r1
49769 + *[0-9a-f]*: e1 bf 00 00 mfsr pc,0x0
49770 + *[0-9a-f]*: e1 bc 00 ff mfsr r12,0x3fc
49771 + *[0-9a-f]*: e1 b5 00 80 mfsr r5,0x200
49772 + *[0-9a-f]*: e1 b4 00 7f mfsr r4,0x1fc
49773 + *[0-9a-f]*: e1 be 00 01 mfsr lr,0x4
49774 + *[0-9a-f]*: e1 b2 00 ae mfsr r2,0x2b8
49775 + *[0-9a-f]*: e1 b4 00 41 mfsr r4,0x104
49776 + *[0-9a-f]*: e1 ba 00 fe mfsr r10,0x3f8
49779 + *[0-9a-f]*: e3 bf 00 00 mtsr 0x0,pc
49780 + *[0-9a-f]*: e3 bc 00 ff mtsr 0x3fc,r12
49781 + *[0-9a-f]*: e3 b5 00 80 mtsr 0x200,r5
49782 + *[0-9a-f]*: e3 b4 00 7f mtsr 0x1fc,r4
49783 + *[0-9a-f]*: e3 be 00 01 mtsr 0x4,lr
49784 + *[0-9a-f]*: e3 ba 00 38 mtsr 0xe0,r10
49785 + *[0-9a-f]*: e3 bc 00 d1 mtsr 0x344,r12
49786 + *[0-9a-f]*: e3 b9 00 4c mtsr 0x130,r9
49789 + *[0-9a-f]*: e5 bf 00 00 mfdr pc,0x0
49790 + *[0-9a-f]*: e5 bc 00 ff mfdr r12,0x3fc
49791 + *[0-9a-f]*: e5 b5 00 80 mfdr r5,0x200
49792 + *[0-9a-f]*: e5 b4 00 7f mfdr r4,0x1fc
49793 + *[0-9a-f]*: e5 be 00 01 mfdr lr,0x4
49794 + *[0-9a-f]*: e5 b6 00 e9 mfdr r6,0x3a4
49795 + *[0-9a-f]*: e5 b5 00 09 mfdr r5,0x24
49796 + *[0-9a-f]*: e5 b9 00 4b mfdr r9,0x12c
49799 + *[0-9a-f]*: e7 bf 00 00 mtdr 0x0,pc
49800 + *[0-9a-f]*: e7 bc 00 ff mtdr 0x3fc,r12
49801 + *[0-9a-f]*: e7 b5 00 80 mtdr 0x200,r5
49802 + *[0-9a-f]*: e7 b4 00 7f mtdr 0x1fc,r4
49803 + *[0-9a-f]*: e7 be 00 01 mtdr 0x4,lr
49804 + *[0-9a-f]*: e7 b8 00 2d mtdr 0xb4,r8
49805 + *[0-9a-f]*: e7 ba 00 b4 mtdr 0x2d0,r10
49806 + *[0-9a-f]*: e7 be 00 66 mtdr 0x198,lr
49808 +[0-9a-f]* <sleep>:
49809 + *[0-9a-f]*: e9 b0 00 00 sleep 0x0
49810 + *[0-9a-f]*: e9 b0 00 ff sleep 0xff
49811 + *[0-9a-f]*: e9 b0 00 80 sleep 0x80
49812 + *[0-9a-f]*: e9 b0 00 7f sleep 0x7f
49813 + *[0-9a-f]*: e9 b0 00 01 sleep 0x1
49814 + *[0-9a-f]*: e9 b0 00 fe sleep 0xfe
49815 + *[0-9a-f]*: e9 b0 00 0f sleep 0xf
49816 + *[0-9a-f]*: e9 b0 00 2b sleep 0x2b
49819 + *[0-9a-f]*: eb b0 00 00 sync 0x0
49820 + *[0-9a-f]*: eb b0 00 ff sync 0xff
49821 + *[0-9a-f]*: eb b0 00 80 sync 0x80
49822 + *[0-9a-f]*: eb b0 00 7f sync 0x7f
49823 + *[0-9a-f]*: eb b0 00 01 sync 0x1
49824 + *[0-9a-f]*: eb b0 00 a6 sync 0xa6
49825 + *[0-9a-f]*: eb b0 00 e6 sync 0xe6
49826 + *[0-9a-f]*: eb b0 00 b4 sync 0xb4
49829 + *[0-9a-f]*: ed bf 00 00 bld pc,0x0
49830 + *[0-9a-f]*: ed bc 00 1f bld r12,0x1f
49831 + *[0-9a-f]*: ed b5 00 10 bld r5,0x10
49832 + *[0-9a-f]*: ed b4 00 0f bld r4,0xf
49833 + *[0-9a-f]*: ed be 00 01 bld lr,0x1
49834 + *[0-9a-f]*: ed b9 00 0f bld r9,0xf
49835 + *[0-9a-f]*: ed b0 00 04 bld r0,0x4
49836 + *[0-9a-f]*: ed be 00 1a bld lr,0x1a
49839 + *[0-9a-f]*: ef bf 00 00 bst pc,0x0
49840 + *[0-9a-f]*: ef bc 00 1f bst r12,0x1f
49841 + *[0-9a-f]*: ef b5 00 10 bst r5,0x10
49842 + *[0-9a-f]*: ef b4 00 0f bst r4,0xf
49843 + *[0-9a-f]*: ef be 00 01 bst lr,0x1
49844 + *[0-9a-f]*: ef ba 00 1c bst r10,0x1c
49845 + *[0-9a-f]*: ef b0 00 03 bst r0,0x3
49846 + *[0-9a-f]*: ef bd 00 02 bst sp,0x2
49849 + *[0-9a-f]*: f1 bf 00 00 sats pc,0x0
49850 + *[0-9a-f]*: f1 bc 03 ff sats r12>>0x1f,0x1f
49851 + *[0-9a-f]*: f1 b5 02 10 sats r5>>0x10,0x10
49852 + *[0-9a-f]*: f1 b4 01 ef sats r4>>0xf,0xf
49853 + *[0-9a-f]*: f1 be 00 21 sats lr>>0x1,0x1
49854 + *[0-9a-f]*: f1 ba 02 63 sats r10>>0x3,0x13
49855 + *[0-9a-f]*: f1 ba 03 42 sats r10>>0x2,0x1a
49856 + *[0-9a-f]*: f1 b1 00 34 sats r1>>0x14,0x1
49859 + *[0-9a-f]*: f1 bf 04 00 satu pc,0x0
49860 + *[0-9a-f]*: f1 bc 07 ff satu r12>>0x1f,0x1f
49861 + *[0-9a-f]*: f1 b5 06 10 satu r5>>0x10,0x10
49862 + *[0-9a-f]*: f1 b4 05 ef satu r4>>0xf,0xf
49863 + *[0-9a-f]*: f1 be 04 21 satu lr>>0x1,0x1
49864 + *[0-9a-f]*: f1 bf 04 e5 satu pc>>0x5,0x7
49865 + *[0-9a-f]*: f1 b7 04 a5 satu r7>>0x5,0x5
49866 + *[0-9a-f]*: f1 b2 06 7a satu r2>>0x1a,0x13
49868 +[0-9a-f]* <satrnds>:
49869 + *[0-9a-f]*: f3 bf 00 00 satrnds pc,0x0
49870 + *[0-9a-f]*: f3 bc 03 ff satrnds r12>>0x1f,0x1f
49871 + *[0-9a-f]*: f3 b5 02 10 satrnds r5>>0x10,0x10
49872 + *[0-9a-f]*: f3 b4 01 ef satrnds r4>>0xf,0xf
49873 + *[0-9a-f]*: f3 be 00 21 satrnds lr>>0x1,0x1
49874 + *[0-9a-f]*: f3 b0 02 75 satrnds r0>>0x15,0x13
49875 + *[0-9a-f]*: f3 bd 00 40 satrnds sp,0x2
49876 + *[0-9a-f]*: f3 b7 03 a6 satrnds r7>>0x6,0x1d
49878 +[0-9a-f]* <satrndu>:
49879 + *[0-9a-f]*: f3 bf 04 00 satrndu pc,0x0
49880 + *[0-9a-f]*: f3 bc 07 ff satrndu r12>>0x1f,0x1f
49881 + *[0-9a-f]*: f3 b5 06 10 satrndu r5>>0x10,0x10
49882 + *[0-9a-f]*: f3 b4 05 ef satrndu r4>>0xf,0xf
49883 + *[0-9a-f]*: f3 be 04 21 satrndu lr>>0x1,0x1
49884 + *[0-9a-f]*: f3 bc 07 40 satrndu r12,0x1a
49885 + *[0-9a-f]*: f3 b4 04 75 satrndu r4>>0x15,0x3
49886 + *[0-9a-f]*: f3 ba 06 03 satrndu r10>>0x3,0x10
49888 +[0-9a-f]* <subfc>:
49889 + *[0-9a-f]*: f5 bf 00 00 subfeq pc,0
49890 + *[0-9a-f]*: f5 bc 0f ff subfal r12,-1
49891 + *[0-9a-f]*: f5 b5 08 80 subfls r5,-128
49892 + *[0-9a-f]*: f5 b4 07 7f subfpl r4,127
49893 + *[0-9a-f]*: f5 be 01 01 subfne lr,1
49894 + *[0-9a-f]*: f5 ba 08 08 subfls r10,8
49895 + *[0-9a-f]*: f5 bb 0d 63 subfvc r11,99
49896 + *[0-9a-f]*: f5 b2 0c 49 subfvs r2,73
49899 + *[0-9a-f]*: f7 bf 00 00 subeq pc,0
49900 + *[0-9a-f]*: f7 bc 0f ff subal r12,-1
49901 + *[0-9a-f]*: f7 b5 08 80 subls r5,-128
49902 + *[0-9a-f]*: f7 b4 07 7f subpl r4,127
49903 + *[0-9a-f]*: f7 be 01 01 subne lr,1
49904 + *[0-9a-f]*: f7 bc 08 76 subls r12,118
49905 + *[0-9a-f]*: f7 be 0d f4 subvc lr,-12
49906 + *[0-9a-f]*: f7 b4 06 f3 submi r4,-13
49908 +[0-9a-f]* <movc2>:
49909 + *[0-9a-f]*: f9 bf 00 00 moveq pc,0
49910 + *[0-9a-f]*: f9 bc 0f ff moval r12,-1
49911 + *[0-9a-f]*: f9 b5 08 80 movls r5,-128
49912 + *[0-9a-f]*: f9 b4 07 7f movpl r4,127
49913 + *[0-9a-f]*: f9 be 01 01 movne lr,1
49914 + *[0-9a-f]*: f9 b3 05 86 movlt r3,-122
49915 + *[0-9a-f]*: f9 b8 0d 02 movvc r8,2
49916 + *[0-9a-f]*: f9 b7 01 91 movne r7,-111
49919 + *[0-9a-f]*: e0 0f 18 00 cp\.b pc,r0
49920 + *[0-9a-f]*: fe 00 18 00 cp\.b r0,pc
49921 + *[0-9a-f]*: f0 07 18 00 cp\.b r7,r8
49922 + *[0-9a-f]*: ee 08 18 00 cp\.b r8,r7
49925 + *[0-9a-f]*: e0 0f 19 00 cp\.h pc,r0
49926 + *[0-9a-f]*: fe 00 19 00 cp\.h r0,pc
49927 + *[0-9a-f]*: f0 07 19 00 cp\.h r7,r8
49928 + *[0-9a-f]*: ee 08 19 00 cp\.h r8,r7
49931 + *[0-9a-f]*: e1 cf 00 7e ldm pc,r1-r6
49932 + *[0-9a-f]*: e1 cc ff ff ldm r12,r0-pc
49933 + *[0-9a-f]*: e1 c5 80 00 ldm r5,pc
49934 + *[0-9a-f]*: e1 c4 7f ff ldm r4,r0-lr
49935 + *[0-9a-f]*: e1 ce 00 01 ldm lr,r0
49936 + *[0-9a-f]*: e1 c9 40 22 ldm r9,r1,r5,lr
49937 + *[0-9a-f]*: e1 cb 81 ec ldm r11,r2-r3,r5-r8,pc
49938 + *[0-9a-f]*: e1 c6 a2 09 ldm r6,r0,r3,r9,sp,pc
49940 +[0-9a-f]* <ldm_pu>:
49941 + *[0-9a-f]*: e3 cf 03 c0 ldm pc\+\+,r6-r9
49942 + *[0-9a-f]*: e3 cc ff ff ldm r12\+\+,r0-pc
49943 + *[0-9a-f]*: e3 c5 80 00 ldm r5\+\+,pc
49944 + *[0-9a-f]*: e3 c4 7f ff ldm r4\+\+,r0-lr
49945 + *[0-9a-f]*: e3 ce 00 01 ldm lr\+\+,r0
49946 + *[0-9a-f]*: e3 cc d5 38 ldm r12\+\+,r3-r5,r8,r10,r12,lr-pc
49947 + *[0-9a-f]*: e3 ca c0 74 ldm r10\+\+,r2,r4-r6,lr-pc
49948 + *[0-9a-f]*: e3 c6 7e 1a ldm r6\+\+,r1,r3-r4,r9-lr
49950 +[0-9a-f]* <ldmts>:
49951 + *[0-9a-f]*: e5 cf 01 80 ldmts pc,r7-r8
49952 + *[0-9a-f]*: e5 cc ff ff ldmts r12,r0-pc
49953 + *[0-9a-f]*: e5 c5 80 00 ldmts r5,pc
49954 + *[0-9a-f]*: e5 c4 7f ff ldmts r4,r0-lr
49955 + *[0-9a-f]*: e5 ce 00 01 ldmts lr,r0
49956 + *[0-9a-f]*: e5 c0 18 06 ldmts r0,r1-r2,r11-r12
49957 + *[0-9a-f]*: e5 ce 61 97 ldmts lr,r0-r2,r4,r7-r8,sp-lr
49958 + *[0-9a-f]*: e5 cc c2 3b ldmts r12,r0-r1,r3-r5,r9,lr-pc
49960 +[0-9a-f]* <ldmts_pu>:
49961 + *[0-9a-f]*: e7 cf 02 00 ldmts pc\+\+,r9
49962 + *[0-9a-f]*: e7 cc ff ff ldmts r12\+\+,r0-pc
49963 + *[0-9a-f]*: e7 c5 80 00 ldmts r5\+\+,pc
49964 + *[0-9a-f]*: e7 c4 7f ff ldmts r4\+\+,r0-lr
49965 + *[0-9a-f]*: e7 ce 00 01 ldmts lr\+\+,r0
49966 + *[0-9a-f]*: e7 cd 0a bd ldmts sp\+\+,r0,r2-r5,r7,r9,r11
49967 + *[0-9a-f]*: e7 c5 0c 8e ldmts r5\+\+,r1-r3,r7,r10-r11
49968 + *[0-9a-f]*: e7 c8 a1 9c ldmts r8\+\+,r2-r4,r7-r8,sp,pc
49971 + *[0-9a-f]*: e9 cf 00 80 stm pc,r7
49972 + *[0-9a-f]*: e9 cc ff ff stm r12,r0-pc
49973 + *[0-9a-f]*: e9 c5 80 00 stm r5,pc
49974 + *[0-9a-f]*: e9 c4 7f ff stm r4,r0-lr
49975 + *[0-9a-f]*: e9 ce 00 01 stm lr,r0
49976 + *[0-9a-f]*: e9 cd 49 2c stm sp,r2-r3,r5,r8,r11,lr
49977 + *[0-9a-f]*: e9 c4 4c 5f stm r4,r0-r4,r6,r10-r11,lr
49978 + *[0-9a-f]*: e9 c9 f2 22 stm r9,r1,r5,r9,r12-pc
49980 +[0-9a-f]* <stm_pu>:
49981 + *[0-9a-f]*: eb cf 00 70 stm --pc,r4-r6
49982 + *[0-9a-f]*: eb cc ff ff stm --r12,r0-pc
49983 + *[0-9a-f]*: eb c5 80 00 stm --r5,pc
49984 + *[0-9a-f]*: eb c4 7f ff stm --r4,r0-lr
49985 + *[0-9a-f]*: eb ce 00 01 stm --lr,r0
49986 + *[0-9a-f]*: eb cb fb f1 stm --r11,r0,r4-r9,r11-pc
49987 + *[0-9a-f]*: eb cb 56 09 stm --r11,r0,r3,r9-r10,r12,lr
49988 + *[0-9a-f]*: eb c6 63 04 stm --r6,r2,r8-r9,sp-lr
49990 +[0-9a-f]* <stmts>:
49991 + *[0-9a-f]*: ed cf 01 00 stmts pc,r8
49992 + *[0-9a-f]*: ed cc ff ff stmts r12,r0-pc
49993 + *[0-9a-f]*: ed c5 80 00 stmts r5,pc
49994 + *[0-9a-f]*: ed c4 7f ff stmts r4,r0-lr
49995 + *[0-9a-f]*: ed ce 00 01 stmts lr,r0
49996 + *[0-9a-f]*: ed c1 c6 5b stmts r1,r0-r1,r3-r4,r6,r9-r10,lr-pc
49997 + *[0-9a-f]*: ed c3 1d c1 stmts r3,r0,r6-r8,r10-r12
49998 + *[0-9a-f]*: ed cb d6 d1 stmts r11,r0,r4,r6-r7,r9-r10,r12,lr-pc
50000 +[0-9a-f]* <stmts_pu>:
50001 + *[0-9a-f]*: ef cf 01 c0 stmts --pc,r6-r8
50002 + *[0-9a-f]*: ef cc ff ff stmts --r12,r0-pc
50003 + *[0-9a-f]*: ef c5 80 00 stmts --r5,pc
50004 + *[0-9a-f]*: ef c4 7f ff stmts --r4,r0-lr
50005 + *[0-9a-f]*: ef ce 00 01 stmts --lr,r0
50006 + *[0-9a-f]*: ef c2 36 19 stmts --r2,r0,r3-r4,r9-r10,r12-sp
50007 + *[0-9a-f]*: ef c3 c0 03 stmts --r3,r0-r1,lr-pc
50008 + *[0-9a-f]*: ef c0 44 7d stmts --r0,r0,r2-r6,r10,lr
50010 +[0-9a-f]* <ldins_h>:
50011 + *[0-9a-f]*: ff df 00 00 ldins\.h pc:b,pc\[0\]
50012 + *[0-9a-f]*: f9 dc 1f ff ldins\.h r12:t,r12\[-2\]
50013 + *[0-9a-f]*: eb d5 18 00 ldins\.h r5:t,r5\[-4096\]
50014 + *[0-9a-f]*: e9 d4 07 ff ldins\.h r4:b,r4\[4094\]
50015 + *[0-9a-f]*: fd de 10 01 ldins\.h lr:t,lr\[2\]
50016 + *[0-9a-f]*: fd d0 13 c5 ldins\.h r0:t,lr\[1930\]
50017 + *[0-9a-f]*: ef d3 0e f5 ldins\.h r3:b,r7\[-534\]
50018 + *[0-9a-f]*: f9 d2 0b 9a ldins\.h r2:b,r12\[-2252\]
50020 +[0-9a-f]* <ldins_b>:
50021 + *[0-9a-f]*: ff df 40 00 ldins\.b pc:b,pc\[0\]
50022 + *[0-9a-f]*: f9 dc 7f ff ldins\.b r12:t,r12\[-1\]
50023 + *[0-9a-f]*: eb d5 68 00 ldins\.b r5:u,r5\[-2048\]
50024 + *[0-9a-f]*: e9 d4 57 ff ldins\.b r4:l,r4\[2047\]
50025 + *[0-9a-f]*: fd de 50 01 ldins\.b lr:l,lr\[1\]
50026 + *[0-9a-f]*: e9 d6 7d 6a ldins\.b r6:t,r4\[-662\]
50027 + *[0-9a-f]*: e3 d5 4f 69 ldins\.b r5:b,r1\[-151\]
50028 + *[0-9a-f]*: f7 da 78 7d ldins\.b r10:t,r11\[-1923\]
50030 +[0-9a-f]* <ldswp_sh>:
50031 + *[0-9a-f]*: ff df 20 00 ldswp\.sh pc,pc\[0\]
50032 + *[0-9a-f]*: f9 dc 2f ff ldswp\.sh r12,r12\[-2\]
50033 + *[0-9a-f]*: eb d5 28 00 ldswp\.sh r5,r5\[-4096\]
50034 + *[0-9a-f]*: e9 d4 27 ff ldswp\.sh r4,r4\[4094\]
50035 + *[0-9a-f]*: fd de 20 01 ldswp\.sh lr,lr\[2\]
50036 + *[0-9a-f]*: f5 d9 27 84 ldswp\.sh r9,r10\[3848\]
50037 + *[0-9a-f]*: f9 d4 2c 04 ldswp\.sh r4,r12\[-2040\]
50038 + *[0-9a-f]*: e5 da 26 08 ldswp\.sh r10,r2\[3088\]
50040 +[0-9a-f]* <ldswp_uh>:
50041 + *[0-9a-f]*: ff df 30 00 ldswp\.uh pc,pc\[0\]
50042 + *[0-9a-f]*: f9 dc 3f ff ldswp\.uh r12,r12\[-2\]
50043 + *[0-9a-f]*: eb d5 38 00 ldswp\.uh r5,r5\[-4096\]
50044 + *[0-9a-f]*: e9 d4 37 ff ldswp\.uh r4,r4\[4094\]
50045 + *[0-9a-f]*: fd de 30 01 ldswp\.uh lr,lr\[2\]
50046 + *[0-9a-f]*: f3 d4 37 46 ldswp\.uh r4,r9\[3724\]
50047 + *[0-9a-f]*: fb de 3c bc ldswp\.uh lr,sp\[-1672\]
50048 + *[0-9a-f]*: f9 d8 38 7d ldswp\.uh r8,r12\[-3846\]
50050 +[0-9a-f]* <ldswp_w>:
50051 + *[0-9a-f]*: ff df 80 00 ldswp\.w pc,pc\[0\]
50052 + *[0-9a-f]*: f9 dc 8f ff ldswp\.w r12,r12\[-4\]
50053 + *[0-9a-f]*: eb d5 88 00 ldswp\.w r5,r5\[-8192\]
50054 + *[0-9a-f]*: e9 d4 87 ff ldswp\.w r4,r4\[8188\]
50055 + *[0-9a-f]*: fd de 80 01 ldswp\.w lr,lr\[4\]
50056 + *[0-9a-f]*: ef dd 81 d1 ldswp\.w sp,r7\[1860\]
50057 + *[0-9a-f]*: eb df 8c c1 ldswp\.w pc,r5\[-3324\]
50058 + *[0-9a-f]*: f5 dc 8c c8 ldswp\.w r12,r10\[-3296\]
50060 +[0-9a-f]* <stswp_h>:
50061 + *[0-9a-f]*: ff df 90 00 stswp\.h pc\[0\],pc
50062 + *[0-9a-f]*: f9 dc 9f ff stswp\.h r12\[-2\],r12
50063 + *[0-9a-f]*: eb d5 98 00 stswp\.h r5\[-4096\],r5
50064 + *[0-9a-f]*: e9 d4 97 ff stswp\.h r4\[4094\],r4
50065 + *[0-9a-f]*: fd de 90 01 stswp\.h lr\[2\],lr
50066 + *[0-9a-f]*: ef da 90 20 stswp\.h r7\[64\],r10
50067 + *[0-9a-f]*: f5 d2 95 e8 stswp\.h r10\[3024\],r2
50068 + *[0-9a-f]*: e1 da 9b 74 stswp\.h r0\[-2328\],r10
50070 +[0-9a-f]* <stswp_w>:
50071 + *[0-9a-f]*: ff df a0 00 stswp\.w pc\[0\],pc
50072 + *[0-9a-f]*: f9 dc af ff stswp\.w r12\[-4\],r12
50073 + *[0-9a-f]*: eb d5 a8 00 stswp\.w r5\[-8192\],r5
50074 + *[0-9a-f]*: e9 d4 a7 ff stswp\.w r4\[8188\],r4
50075 + *[0-9a-f]*: fd de a0 01 stswp\.w lr\[4\],lr
50076 + *[0-9a-f]*: ff d8 a1 21 stswp\.w pc\[1156\],r8
50077 + *[0-9a-f]*: fb da a7 ce stswp\.w sp\[7992\],r10
50078 + *[0-9a-f]*: f1 d5 ae db stswp\.w r8\[-1172\],r5
50081 + *[0-9a-f]*: ff ef 00 0f and pc,pc,pc
50082 + *[0-9a-f]*: f9 ec 01 fc and r12,r12,r12<<0x1f
50083 + *[0-9a-f]*: eb e5 01 05 and r5,r5,r5<<0x10
50084 + *[0-9a-f]*: e9 e4 00 f4 and r4,r4,r4<<0xf
50085 + *[0-9a-f]*: fd ee 00 1e and lr,lr,lr<<0x1
50086 + *[0-9a-f]*: e5 e1 00 1a and r10,r2,r1<<0x1
50087 + *[0-9a-f]*: f1 eb 01 bc and r12,r8,r11<<0x1b
50088 + *[0-9a-f]*: ef e0 00 3a and r10,r7,r0<<0x3
50091 + *[0-9a-f]*: ff ef 02 0f and pc,pc,pc
50092 + *[0-9a-f]*: f9 ec 03 fc and r12,r12,r12>>0x1f
50093 + *[0-9a-f]*: eb e5 03 05 and r5,r5,r5>>0x10
50094 + *[0-9a-f]*: e9 e4 02 f4 and r4,r4,r4>>0xf
50095 + *[0-9a-f]*: fd ee 02 1e and lr,lr,lr>>0x1
50096 + *[0-9a-f]*: f1 e7 03 1c and r12,r8,r7>>0x11
50097 + *[0-9a-f]*: e9 e9 03 4f and pc,r4,r9>>0x14
50098 + *[0-9a-f]*: f3 ea 02 ca and r10,r9,r10>>0xc
50101 + *[0-9a-f]*: ff ef 10 0f or pc,pc,pc
50102 + *[0-9a-f]*: f9 ec 11 fc or r12,r12,r12<<0x1f
50103 + *[0-9a-f]*: eb e5 11 05 or r5,r5,r5<<0x10
50104 + *[0-9a-f]*: e9 e4 10 f4 or r4,r4,r4<<0xf
50105 + *[0-9a-f]*: fd ee 10 1e or lr,lr,lr<<0x1
50106 + *[0-9a-f]*: fb eb 11 d8 or r8,sp,r11<<0x1d
50107 + *[0-9a-f]*: f3 e2 11 cf or pc,r9,r2<<0x1c
50108 + *[0-9a-f]*: e3 e2 10 35 or r5,r1,r2<<0x3
50111 + *[0-9a-f]*: ff ef 12 0f or pc,pc,pc
50112 + *[0-9a-f]*: f9 ec 13 fc or r12,r12,r12>>0x1f
50113 + *[0-9a-f]*: eb e5 13 05 or r5,r5,r5>>0x10
50114 + *[0-9a-f]*: e9 e4 12 f4 or r4,r4,r4>>0xf
50115 + *[0-9a-f]*: fd ee 12 1e or lr,lr,lr>>0x1
50116 + *[0-9a-f]*: fb ed 12 21 or r1,sp,sp>>0x2
50117 + *[0-9a-f]*: e3 e1 13 d0 or r0,r1,r1>>0x1d
50118 + *[0-9a-f]*: f9 e8 12 84 or r4,r12,r8>>0x8
50121 + *[0-9a-f]*: ff ef 20 0f eor pc,pc,pc
50122 + *[0-9a-f]*: f9 ec 21 fc eor r12,r12,r12<<0x1f
50123 + *[0-9a-f]*: eb e5 21 05 eor r5,r5,r5<<0x10
50124 + *[0-9a-f]*: e9 e4 20 f4 eor r4,r4,r4<<0xf
50125 + *[0-9a-f]*: fd ee 20 1e eor lr,lr,lr<<0x1
50126 + *[0-9a-f]*: f3 e4 20 ba eor r10,r9,r4<<0xb
50127 + *[0-9a-f]*: e1 e1 21 f4 eor r4,r0,r1<<0x1f
50128 + *[0-9a-f]*: e5 ec 20 d6 eor r6,r2,r12<<0xd
50131 + *[0-9a-f]*: ff ef 22 0f eor pc,pc,pc
50132 + *[0-9a-f]*: f9 ec 23 fc eor r12,r12,r12>>0x1f
50133 + *[0-9a-f]*: eb e5 23 05 eor r5,r5,r5>>0x10
50134 + *[0-9a-f]*: e9 e4 22 f4 eor r4,r4,r4>>0xf
50135 + *[0-9a-f]*: fd ee 22 1e eor lr,lr,lr>>0x1
50136 + *[0-9a-f]*: eb e5 23 65 eor r5,r5,r5>>0x16
50137 + *[0-9a-f]*: e3 ee 22 3a eor r10,r1,lr>>0x3
50138 + *[0-9a-f]*: fd ed 23 a7 eor r7,lr,sp>>0x1a
50140 +[0-9a-f]* <sthh_w2>:
50141 + *[0-9a-f]*: ff ef 8f 0f sthh\.w pc\[pc\],pc:b,pc:b
50142 + *[0-9a-f]*: f9 ec bc 3c sthh\.w r12\[r12<<0x3\],r12:t,r12:t
50143 + *[0-9a-f]*: eb e5 b5 25 sthh\.w r5\[r5<<0x2\],r5:t,r5:t
50144 + *[0-9a-f]*: e9 e4 84 14 sthh\.w r4\[r4<<0x1\],r4:b,r4:b
50145 + *[0-9a-f]*: fd ee be 1e sthh\.w lr\[lr<<0x1\],lr:t,lr:t
50146 + *[0-9a-f]*: e3 ec b6 3d sthh\.w sp\[r6<<0x3\],r1:t,r12:t
50147 + *[0-9a-f]*: f3 e9 b6 06 sthh\.w r6\[r6\],r9:t,r9:t
50148 + *[0-9a-f]*: e1 eb 93 0a sthh\.w r10\[r3\],r0:b,r11:t
50150 +[0-9a-f]* <sthh_w1>:
50151 + *[0-9a-f]*: ff ef c0 0f sthh\.w pc\[0x0\],pc:b,pc:b
50152 + *[0-9a-f]*: f9 ec ff fc sthh\.w r12\[0x3fc\],r12:t,r12:t
50153 + *[0-9a-f]*: eb e5 f8 05 sthh\.w r5\[0x200\],r5:t,r5:t
50154 + *[0-9a-f]*: e9 e4 c7 f4 sthh\.w r4\[0x1fc\],r4:b,r4:b
50155 + *[0-9a-f]*: fd ee f0 1e sthh\.w lr\[0x4\],lr:t,lr:t
50156 + *[0-9a-f]*: f3 e0 e6 54 sthh\.w r4\[0x194\],r9:t,r0:b
50157 + *[0-9a-f]*: e5 ea e5 78 sthh\.w r8\[0x15c\],r2:t,r10:b
50158 + *[0-9a-f]*: f3 e2 c2 bd sthh\.w sp\[0xac\],r9:b,r2:b
50161 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
50162 + *[0-9a-f]*: e7 af ff ff cop cp7,cr15,cr15,cr15,0x7f
50163 + *[0-9a-f]*: e3 a8 75 55 cop cp3,cr5,cr5,cr5,0x31
50164 + *[0-9a-f]*: e3 a8 44 44 cop cp2,cr4,cr4,cr4,0x30
50165 + *[0-9a-f]*: e5 ad a8 37 cop cp5,cr8,cr3,cr7,0x5a
50167 +[0-9a-f]* <ldc_w1>:
50168 + *[0-9a-f]*: e9 a0 00 00 ldc\.w cp0,cr0,r0\[0x0\]
50169 + *[0-9a-f]*: e9 af ef ff ldc\.w cp7,cr15,pc\[0x3fc\]
50170 + *[0-9a-f]*: e9 a5 65 80 ldc\.w cp3,cr5,r5\[0x200\]
50171 + *[0-9a-f]*: e9 a4 44 7f ldc\.w cp2,cr4,r4\[0x1fc\]
50172 + *[0-9a-f]*: e9 ad 89 24 ldc\.w cp4,cr9,sp\[0x90\]
50174 +[0-9a-f]* <ldc_w2>:
50175 + *[0-9a-f]*: ef a0 00 40 ldc\.w cp0,cr0,--r0
50176 + *[0-9a-f]*: ef af ef 40 ldc\.w cp7,cr15,--pc
50177 + *[0-9a-f]*: ef a5 65 40 ldc\.w cp3,cr5,--r5
50178 + *[0-9a-f]*: ef a4 44 40 ldc\.w cp2,cr4,--r4
50179 + *[0-9a-f]*: ef ad 89 40 ldc\.w cp4,cr9,--sp
50181 +[0-9a-f]* <ldc_w3>:
50182 + *[0-9a-f]*: ef a0 10 00 ldc\.w cp0,cr0,r0\[r0\]
50183 + *[0-9a-f]*: ef af ff 3f ldc\.w cp7,cr15,pc\[pc<<0x3\]
50184 + *[0-9a-f]*: ef a5 75 24 ldc\.w cp3,cr5,r5\[r4<<0x2\]
50185 + *[0-9a-f]*: ef a4 54 13 ldc\.w cp2,cr4,r4\[r3<<0x1\]
50186 + *[0-9a-f]*: ef ad 99 0c ldc\.w cp4,cr9,sp\[r12\]
50188 +[0-9a-f]* <ldc_d1>:
50189 + *[0-9a-f]*: e9 a0 10 00 ldc\.d cp0,cr0,r0\[0x0\]
50190 + *[0-9a-f]*: e9 af fe ff ldc\.d cp7,cr14,pc\[0x3fc\]
50191 + *[0-9a-f]*: e9 a5 76 80 ldc\.d cp3,cr6,r5\[0x200\]
50192 + *[0-9a-f]*: e9 a4 54 7f ldc\.d cp2,cr4,r4\[0x1fc\]
50193 + *[0-9a-f]*: e9 ad 98 24 ldc\.d cp4,cr8,sp\[0x90\]
50195 +[0-9a-f]* <ldc_d2>:
50196 + *[0-9a-f]*: ef a0 00 50 ldc\.d cp0,cr0,--r0
50197 + *[0-9a-f]*: ef af ee 50 ldc\.d cp7,cr14,--pc
50198 + *[0-9a-f]*: ef a5 66 50 ldc\.d cp3,cr6,--r5
50199 + *[0-9a-f]*: ef a4 44 50 ldc\.d cp2,cr4,--r4
50200 + *[0-9a-f]*: ef ad 88 50 ldc\.d cp4,cr8,--sp
50202 +[0-9a-f]* <ldc_d3>:
50203 + *[0-9a-f]*: ef a0 10 40 ldc\.d cp0,cr0,r0\[r0\]
50204 + *[0-9a-f]*: ef af fe 7f ldc\.d cp7,cr14,pc\[pc<<0x3\]
50205 + *[0-9a-f]*: ef a5 76 64 ldc\.d cp3,cr6,r5\[r4<<0x2\]
50206 + *[0-9a-f]*: ef a4 54 53 ldc\.d cp2,cr4,r4\[r3<<0x1\]
50207 + *[0-9a-f]*: ef ad 98 4c ldc\.d cp4,cr8,sp\[r12\]
50209 +[0-9a-f]* <stc_w1>:
50210 + *[0-9a-f]*: eb a0 00 00 stc\.w cp0,r0\[0x0\],cr0
50211 + *[0-9a-f]*: eb af ef ff stc\.w cp7,pc\[0x3fc\],cr15
50212 + *[0-9a-f]*: eb a5 65 80 stc\.w cp3,r5\[0x200\],cr5
50213 + *[0-9a-f]*: eb a4 44 7f stc\.w cp2,r4\[0x1fc\],cr4
50214 + *[0-9a-f]*: eb ad 89 24 stc\.w cp4,sp\[0x90\],cr9
50216 +[0-9a-f]* <stc_w2>:
50217 + *[0-9a-f]*: ef a0 00 60 stc\.w cp0,r0\+\+,cr0
50218 + *[0-9a-f]*: ef af ef 60 stc\.w cp7,pc\+\+,cr15
50219 + *[0-9a-f]*: ef a5 65 60 stc\.w cp3,r5\+\+,cr5
50220 + *[0-9a-f]*: ef a4 44 60 stc\.w cp2,r4\+\+,cr4
50221 + *[0-9a-f]*: ef ad 89 60 stc\.w cp4,sp\+\+,cr9
50223 +[0-9a-f]* <stc_w3>:
50224 + *[0-9a-f]*: ef a0 10 80 stc\.w cp0,r0\[r0\],cr0
50225 + *[0-9a-f]*: ef af ff bf stc\.w cp7,pc\[pc<<0x3\],cr15
50226 + *[0-9a-f]*: ef a5 75 a4 stc\.w cp3,r5\[r4<<0x2\],cr5
50227 + *[0-9a-f]*: ef a4 54 93 stc\.w cp2,r4\[r3<<0x1\],cr4
50228 + *[0-9a-f]*: ef ad 99 8c stc\.w cp4,sp\[r12\],cr9
50230 +[0-9a-f]* <stc_d1>:
50231 + *[0-9a-f]*: eb a0 10 00 stc\.d cp0,r0\[0x0\],cr0
50232 + *[0-9a-f]*: eb af fe ff stc\.d cp7,pc\[0x3fc\],cr14
50233 + *[0-9a-f]*: eb a5 76 80 stc\.d cp3,r5\[0x200\],cr6
50234 + *[0-9a-f]*: eb a4 54 7f stc\.d cp2,r4\[0x1fc\],cr4
50235 + *[0-9a-f]*: eb ad 98 24 stc\.d cp4,sp\[0x90\],cr8
50237 +[0-9a-f]* <stc_d2>:
50238 + *[0-9a-f]*: ef a0 00 70 stc\.d cp0,r0\+\+,cr0
50239 + *[0-9a-f]*: ef af ee 70 stc\.d cp7,pc\+\+,cr14
50240 + *[0-9a-f]*: ef a5 66 70 stc\.d cp3,r5\+\+,cr6
50241 + *[0-9a-f]*: ef a4 44 70 stc\.d cp2,r4\+\+,cr4
50242 + *[0-9a-f]*: ef ad 88 70 stc\.d cp4,sp\+\+,cr8
50244 +[0-9a-f]* <stc_d3>:
50245 + *[0-9a-f]*: ef a0 10 c0 stc\.d cp0,r0\[r0\],cr0
50246 + *[0-9a-f]*: ef af fe ff stc\.d cp7,pc\[pc<<0x3\],cr14
50247 + *[0-9a-f]*: ef a5 76 e4 stc\.d cp3,r5\[r4<<0x2\],cr6
50248 + *[0-9a-f]*: ef a4 54 d3 stc\.d cp2,r4\[r3<<0x1\],cr4
50249 + *[0-9a-f]*: ef ad 98 cc stc\.d cp4,sp\[r12\],cr8
50251 +[0-9a-f]* <ldc0_w>:
50252 + *[0-9a-f]*: f1 a0 00 00 ldc0\.w cr0,r0\[0x0\]
50253 + *[0-9a-f]*: f1 af ff ff ldc0\.w cr15,pc\[0x3ffc\]
50254 + *[0-9a-f]*: f1 a5 85 00 ldc0\.w cr5,r5\[0x2000\]
50255 + *[0-9a-f]*: f1 a4 74 ff ldc0\.w cr4,r4\[0x1ffc\]
50256 + *[0-9a-f]*: f1 ad 09 93 ldc0\.w cr9,sp\[0x24c\]
50258 +[0-9a-f]* <ldc0_d>:
50259 + *[0-9a-f]*: f3 a0 00 00 ldc0\.d cr0,r0\[0x0\]
50260 + *[0-9a-f]*: f3 af fe ff ldc0\.d cr14,pc\[0x3ffc\]
50261 + *[0-9a-f]*: f3 a5 86 00 ldc0\.d cr6,r5\[0x2000\]
50262 + *[0-9a-f]*: f3 a4 74 ff ldc0\.d cr4,r4\[0x1ffc\]
50263 + *[0-9a-f]*: f3 ad 08 93 ldc0\.d cr8,sp\[0x24c\]
50265 +[0-9a-f]* <stc0_w>:
50266 + *[0-9a-f]*: f5 a0 00 00 stc0\.w r0\[0x0\],cr0
50267 + *[0-9a-f]*: f5 af ff ff stc0\.w pc\[0x3ffc\],cr15
50268 + *[0-9a-f]*: f5 a5 85 00 stc0\.w r5\[0x2000\],cr5
50269 + *[0-9a-f]*: f5 a4 74 ff stc0\.w r4\[0x1ffc\],cr4
50270 + *[0-9a-f]*: f5 ad 09 93 stc0\.w sp\[0x24c\],cr9
50272 +[0-9a-f]* <stc0_d>:
50273 + *[0-9a-f]*: f7 a0 00 00 stc0\.d r0\[0x0\],cr0
50274 + *[0-9a-f]*: f7 af fe ff stc0\.d pc\[0x3ffc\],cr14
50275 + *[0-9a-f]*: f7 a5 86 00 stc0\.d r5\[0x2000\],cr6
50276 + *[0-9a-f]*: f7 a4 74 ff stc0\.d r4\[0x1ffc\],cr4
50277 + *[0-9a-f]*: f7 ad 08 93 stc0\.d sp\[0x24c\],cr8
50280 + *[0-9a-f]*: f6 10 00 00 memc 0,0x0
50281 + *[0-9a-f]*: f6 1f ff ff memc -4,0x1f
50282 + *[0-9a-f]*: f6 18 40 00 memc -65536,0x10
50283 + *[0-9a-f]*: f6 17 bf ff memc 65532,0xf
50286 + *[0-9a-f]*: f8 10 00 00 mems 0,0x0
50287 + *[0-9a-f]*: f8 1f ff ff mems -4,0x1f
50288 + *[0-9a-f]*: f8 18 40 00 mems -65536,0x10
50289 + *[0-9a-f]*: f8 17 bf ff mems 65532,0xf
50292 + *[0-9a-f]*: fa 10 00 00 memt 0,0x0
50293 + *[0-9a-f]*: fa 1f ff ff memt -4,0x1f
50294 + *[0-9a-f]*: fa 18 40 00 memt -65536,0x10
50295 + *[0-9a-f]*: fa 17 bf ff memt 65532,0xf
50297 +[0-9a-f]* <stcond>:
50298 + *[0-9a-f]*: e1 70 00 00 stcond r0\[0\],r0
50299 + *[0-9a-f]*: ff 7f ff ff stcond pc\[-1\],pc
50300 + *[0-9a-f]*: f1 77 80 00 stcond r8\[-32768\],r7
50301 + *[0-9a-f]*: ef 78 7f ff stcond r7\[32767\],r8
50302 + *[0-9a-f]*: eb 7a 12 34 stcond r5\[4660\],r10
50304 +[0-9a-f]* <ldcm_w>:
50305 + *[0-9a-f]*: ed af 00 ff ldcm\.w cp0,pc,cr0-cr7
50306 + *[0-9a-f]*: ed a0 e0 01 ldcm\.w cp7,r0,cr0
50307 + *[0-9a-f]*: ed a4 90 7f ldcm\.w cp4,r4\+\+,cr0-cr6
50308 + *[0-9a-f]*: ed a7 60 80 ldcm\.w cp3,r7,cr7
50309 + *[0-9a-f]*: ed ac 30 72 ldcm\.w cp1,r12\+\+,cr1,cr4-cr6
50310 + *[0-9a-f]*: ed af 01 ff ldcm\.w cp0,pc,cr8-cr15
50311 + *[0-9a-f]*: ed a0 e1 01 ldcm\.w cp7,r0,cr8
50312 + *[0-9a-f]*: ed a4 91 7f ldcm\.w cp4,r4\+\+,cr8-cr14
50313 + *[0-9a-f]*: ed a7 61 80 ldcm\.w cp3,r7,cr15
50314 + *[0-9a-f]*: ed ac 31 72 ldcm\.w cp1,r12\+\+,cr9,cr12-cr14
50316 +[0-9a-f]* <ldcm_d>:
50317 + *[0-9a-f]*: ed af 04 ff ldcm\.d cp0,pc,cr0-cr15
50318 + *[0-9a-f]*: ed a0 e4 01 ldcm\.d cp7,r0,cr0-cr1
50319 + *[0-9a-f]*: ed a4 94 7f ldcm\.d cp4,r4\+\+,cr0-cr13
50320 + *[0-9a-f]*: ed a7 64 80 ldcm\.d cp3,r7,cr14-cr15
50321 + *[0-9a-f]*: ed ac 54 93 ldcm\.d cp2,r12\+\+,cr0-cr3,cr8-cr9,cr14-cr15
50323 +[0-9a-f]* <stcm_w>:
50324 + *[0-9a-f]*: ed af 02 ff stcm\.w cp0,pc,cr0-cr7
50325 + *[0-9a-f]*: ed a0 e2 01 stcm\.w cp7,r0,cr0
50326 + *[0-9a-f]*: ed a4 92 7f stcm\.w cp4,--r4,cr0-cr6
50327 + *[0-9a-f]*: ed a7 62 80 stcm\.w cp3,r7,cr7
50328 + *[0-9a-f]*: ed ac 32 72 stcm\.w cp1,--r12,cr1,cr4-cr6
50329 + *[0-9a-f]*: ed af 03 ff stcm\.w cp0,pc,cr8-cr15
50330 + *[0-9a-f]*: ed a0 e3 01 stcm\.w cp7,r0,cr8
50331 + *[0-9a-f]*: ed a4 93 7f stcm\.w cp4,--r4,cr8-cr14
50332 + *[0-9a-f]*: ed a7 63 80 stcm\.w cp3,r7,cr15
50333 + *[0-9a-f]*: ed ac 33 72 stcm\.w cp1,--r12,cr9,cr12-cr14
50335 +[0-9a-f]* <stcm_d>:
50336 + *[0-9a-f]*: ed af 05 ff stcm\.d cp0,pc,cr0-cr15
50337 + *[0-9a-f]*: ed a0 e5 01 stcm\.d cp7,r0,cr0-cr1
50338 + *[0-9a-f]*: ed a4 95 7f stcm\.d cp4,--r4,cr0-cr13
50339 + *[0-9a-f]*: ed a7 65 80 stcm\.d cp3,r7,cr14-cr15
50340 + *[0-9a-f]*: ed ac 55 93 stcm\.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
50342 +[0-9a-f]* <mvcr_w>:
50343 + *[0-9a-f]*: ef af ef 00 mvcr\.w cp7,pc,cr15
50344 + *[0-9a-f]*: ef a0 00 00 mvcr\.w cp0,r0,cr0
50345 + *[0-9a-f]*: ef af 0f 00 mvcr\.w cp0,pc,cr15
50346 + *[0-9a-f]*: ef a0 ef 00 mvcr\.w cp7,r0,cr15
50347 + *[0-9a-f]*: ef af e0 00 mvcr\.w cp7,pc,cr0
50348 + *[0-9a-f]*: ef a7 88 00 mvcr\.w cp4,r7,cr8
50349 + *[0-9a-f]*: ef a8 67 00 mvcr\.w cp3,r8,cr7
50351 +[0-9a-f]* <mvcr_d>:
50352 + *[0-9a-f]*: ef ae ee 10 mvcr\.d cp7,lr,cr14
50353 + *[0-9a-f]*: ef a0 00 10 mvcr\.d cp0,r0,cr0
50354 + *[0-9a-f]*: ef ae 0e 10 mvcr\.d cp0,lr,cr14
50355 + *[0-9a-f]*: ef a0 ee 10 mvcr\.d cp7,r0,cr14
50356 + *[0-9a-f]*: ef ae e0 10 mvcr\.d cp7,lr,cr0
50357 + *[0-9a-f]*: ef a6 88 10 mvcr\.d cp4,r6,cr8
50358 + *[0-9a-f]*: ef a8 66 10 mvcr\.d cp3,r8,cr6
50360 +[0-9a-f]* <mvrc_w>:
50361 + *[0-9a-f]*: ef af ef 20 mvrc\.w cp7,cr15,pc
50362 + *[0-9a-f]*: ef a0 00 20 mvrc\.w cp0,cr0,r0
50363 + *[0-9a-f]*: ef af 0f 20 mvrc\.w cp0,cr15,pc
50364 + *[0-9a-f]*: ef a0 ef 20 mvrc\.w cp7,cr15,r0
50365 + *[0-9a-f]*: ef af e0 20 mvrc\.w cp7,cr0,pc
50366 + *[0-9a-f]*: ef a7 88 20 mvrc\.w cp4,cr8,r7
50367 + *[0-9a-f]*: ef a8 67 20 mvrc\.w cp3,cr7,r8
50369 +[0-9a-f]* <mvrc_d>:
50370 + *[0-9a-f]*: ef ae ee 30 mvrc\.d cp7,cr14,lr
50371 + *[0-9a-f]*: ef a0 00 30 mvrc\.d cp0,cr0,r0
50372 + *[0-9a-f]*: ef ae 0e 30 mvrc\.d cp0,cr14,lr
50373 + *[0-9a-f]*: ef a0 ee 30 mvrc\.d cp7,cr14,r0
50374 + *[0-9a-f]*: ef ae e0 30 mvrc\.d cp7,cr0,lr
50375 + *[0-9a-f]*: ef a6 88 30 mvrc\.d cp4,cr8,r6
50376 + *[0-9a-f]*: ef a8 66 30 mvrc\.d cp3,cr6,r8
50378 +[0-9a-f]* <bfexts>:
50379 + *[0-9a-f]*: ff df b3 ff bfexts pc,pc,0x1f,0x1f
50380 + *[0-9a-f]*: e1 d0 b0 00 bfexts r0,r0,0x0,0x0
50381 + *[0-9a-f]*: e1 df b3 ff bfexts r0,pc,0x1f,0x1f
50382 + *[0-9a-f]*: ff d0 b3 ff bfexts pc,r0,0x1f,0x1f
50383 + *[0-9a-f]*: ff df b0 1f bfexts pc,pc,0x0,0x1f
50384 + *[0-9a-f]*: ff df b3 e0 bfexts pc,pc,0x1f,0x0
50385 + *[0-9a-f]*: ef d8 b1 f0 bfexts r7,r8,0xf,0x10
50386 + *[0-9a-f]*: f1 d7 b2 0f bfexts r8,r7,0x10,0xf
50388 +[0-9a-f]* <bfextu>:
50389 + *[0-9a-f]*: ff df c3 ff bfextu pc,pc,0x1f,0x1f
50390 + *[0-9a-f]*: e1 d0 c0 00 bfextu r0,r0,0x0,0x0
50391 + *[0-9a-f]*: e1 df c3 ff bfextu r0,pc,0x1f,0x1f
50392 + *[0-9a-f]*: ff d0 c3 ff bfextu pc,r0,0x1f,0x1f
50393 + *[0-9a-f]*: ff df c0 1f bfextu pc,pc,0x0,0x1f
50394 + *[0-9a-f]*: ff df c3 e0 bfextu pc,pc,0x1f,0x0
50395 + *[0-9a-f]*: ef d8 c1 f0 bfextu r7,r8,0xf,0x10
50396 + *[0-9a-f]*: f1 d7 c2 0f bfextu r8,r7,0x10,0xf
50398 +[0-9a-f]* <bfins>:
50399 + *[0-9a-f]*: ff df d3 ff bfins pc,pc,0x1f,0x1f
50400 + *[0-9a-f]*: e1 d0 d0 00 bfins r0,r0,0x0,0x0
50401 + *[0-9a-f]*: e1 df d3 ff bfins r0,pc,0x1f,0x1f
50402 + *[0-9a-f]*: ff d0 d3 ff bfins pc,r0,0x1f,0x1f
50403 + *[0-9a-f]*: ff df d0 1f bfins pc,pc,0x0,0x1f
50404 + *[0-9a-f]*: ff df d3 e0 bfins pc,pc,0x1f,0x0
50405 + *[0-9a-f]*: ef d8 d1 f0 bfins r7,r8,0xf,0x10
50406 + *[0-9a-f]*: f1 d7 d2 0f bfins r8,r7,0x10,0xf
50407 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/allinsn.exp binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/allinsn.exp
50408 --- binutils-2.17/gas/testsuite/gas/avr32/allinsn.exp 1970-01-01 01:00:00.000000000 +0100
50409 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/allinsn.exp 2007-03-26 10:19:48.000000000 +0200
50411 +# AVR32 assembler testsuite. -*- Tcl -*-
50413 +if [istarget avr32-*-*] {
50414 + run_dump_test "allinsn"
50416 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/allinsn.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/allinsn.s
50417 --- binutils-2.17/gas/testsuite/gas/avr32/allinsn.s 1970-01-01 01:00:00.000000000 +0100
50418 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/allinsn.s 2007-03-26 10:19:48.000000000 +0200
50427 + ld.d lr,pc[pc<<3]
50428 + ld.d r0,r0[r0<<0]
50429 + ld.d r6,r5[r5<<2]
50430 + ld.d r4,r4[r4<<1]
50431 + ld.d lr,lr[lr<<1]
50432 + ld.d r10,r3[sp<<2]
50433 + ld.d r8,r10[r6<<2]
50434 + ld.d r2,r7[r9<<0]
50438 + ld.w pc,pc[pc<<0]
50439 + ld.w r12,r12[r12<<3]
50440 + ld.w r5,r5[r5<<2]
50441 + ld.w r4,r4[r4<<1]
50442 + ld.w lr,lr[lr<<1]
50443 + ld.w r2,r9[r9<<0]
50444 + ld.w r11,r2[r6<<0]
50445 + ld.w r0,r2[sp<<3]
50449 + ld.sh pc,pc[pc<<0]
50450 + ld.sh r12,r12[r12<<3]
50451 + ld.sh r5,r5[r5<<2]
50452 + ld.sh r4,r4[r4<<1]
50453 + ld.sh lr,lr[lr<<1]
50454 + ld.sh r11,r0[pc<<2]
50455 + ld.sh r10,sp[r6<<2]
50456 + ld.sh r12,r2[r2<<0]
50460 + ld.uh pc,pc[pc<<0]
50461 + ld.uh r12,r12[r12<<3]
50462 + ld.uh r5,r5[r5<<2]
50463 + ld.uh r4,r4[r4<<1]
50464 + ld.uh lr,lr[lr<<1]
50465 + ld.uh r8,pc[lr<<3]
50466 + ld.uh r6,r1[pc<<1]
50467 + ld.uh r6,lr[sp<<1]
50471 + ld.sb pc,pc[pc<<0]
50472 + ld.sb r12,r12[r12<<3]
50473 + ld.sb r5,r5[r5<<2]
50474 + ld.sb r4,r4[r4<<1]
50475 + ld.sb lr,lr[lr<<1]
50476 + ld.sb r9,r1[pc<<3]
50477 + ld.sb r0,r3[r11<<1]
50478 + ld.sb r10,r5[r5<<1]
50482 + ld.ub pc,pc[pc<<0]
50483 + ld.ub r12,r12[r12<<3]
50484 + ld.ub r5,r5[r5<<2]
50485 + ld.ub r4,r4[r4<<1]
50486 + ld.ub lr,lr[lr<<1]
50487 + ld.ub r6,r12[r7<<3]
50488 + ld.ub r2,r6[r12<<0]
50489 + ld.ub r0,r7[r11<<1]
50493 + st.d pc[pc<<0],r14
50494 + st.d r12[r12<<3],r12
50495 + st.d r5[r5<<2],r6
50496 + st.d r4[r4<<1],r4
50497 + st.d lr[lr<<1],lr
50498 + st.d r1[r9<<1],r4
50499 + st.d r10[r2<<1],r4
50500 + st.d r12[r6<<0],lr
50504 + st.w pc[pc<<0],pc
50505 + st.w r12[r12<<3],r12
50506 + st.w r5[r5<<2],r5
50507 + st.w r4[r4<<1],r4
50508 + st.w lr[lr<<1],lr
50509 + st.w r1[r10<<0],r3
50510 + st.w r0[r10<<1],r9
50511 + st.w r4[r5<<3],pc
50515 + st.h pc[pc<<0],pc
50516 + st.h r12[r12<<3],r12
50517 + st.h r5[r5<<2],r5
50518 + st.h r4[r4<<1],r4
50519 + st.h lr[lr<<1],lr
50520 + st.h r2[r9<<0],r11
50521 + st.h r5[r1<<2],r12
50522 + st.h pc[r8<<2],r3
50526 + st.b pc[pc<<0],pc
50527 + st.b r12[r12<<3],r12
50528 + st.b r5[r5<<2],r5
50529 + st.b r4[r4<<1],r4
50530 + st.b lr[lr<<1],lr
50531 + st.b r1[r8<<1],r6
50532 + st.b lr[lr<<3],r1
50533 + st.b r5[r0<<2],pc
50857 + lddsp r12,sp[508]
50879 + stdsp sp[508],r12
51041 + .global One_s_compliment
51143 + ld.w r12,r12[124]
51154 + ld.sh r12,r12[14]
51165 + ld.uh r12,r12[14]
51217 + .global ldd_postinc
51228 + .global ldd_predec
51250 + .global std_postinc
51261 + .global std_predec
51395 + /* popm with no argument fails currently */
51397 + popm r0-r11,pc,r12=-1
51399 + popm r0-r11,pc,r12=1
51402 + popm r0-r3,r11,pc,r12=0
51403 + popm r0-r7,r10-r12,lr
51408 + pushm r0-r12,lr,pc
51412 + pushm r8-r10,lr,pc
51419 + popm r0-r11,pc,r12=-1
51421 + popm r0-r11,pc,r12=1
51424 + popm r0-r3,r11,pc,r12=0
51425 + popm r0-r7,r10-r12,lr
51430 + pushm r0-r12,lr,pc
51434 + pushm r8-r10,lr,pc
51499 + .global breakpoint
51529 + add r12,r12,r12<<3
51535 + add r12,r12,r7<<2
51540 + sub r12,r12,r12<<3
51561 + addhh.w pc,pc:b,pc:b
51562 + addhh.w r12,r12:t,r12:t
51563 + addhh.w r5,r5:t,r5:t
51564 + addhh.w r4,r4:b,r4:b
51565 + addhh.w lr,lr:t,lr:t
51566 + addhh.w r0,r0:b,r3:b
51567 + addhh.w lr,r12:t,r7:b
51568 + addhh.w r3,r10:t,r2:b
51572 + subhh.w pc,pc:b,pc:b
51573 + subhh.w r12,r12:t,r12:t
51574 + subhh.w r5,r5:t,r5:t
51575 + subhh.w r4,r4:b,r4:b
51576 + subhh.w lr,lr:t,lr:t
51577 + subhh.w r10,r1:t,r7:b
51578 + subhh.w pc,r10:t,lr:t
51579 + subhh.w r3,r0:t,r12:b
51628 + muls.d r12,r12,r12
51639 + macs.d r14,r12,r12
51650 + mulu.d r14,r12,r12
51661 + macu.d r14,r12,r12
51738 + addabs r12,r12,r12
51748 + mulnhh.w pc,pc:b,pc:b
51749 + mulnhh.w r12,r12:t,r12:t
51750 + mulnhh.w r5,r5:t,r5:t
51751 + mulnhh.w r4,r4:b,r4:b
51752 + mulnhh.w lr,lr:t,lr:t
51753 + mulnhh.w r11,sp:t,r9:b
51754 + mulnhh.w sp,r4:b,lr:t
51755 + mulnhh.w r12,r2:t,r11:b
51759 + mulnwh.d r0,pc,pc:b
51760 + mulnwh.d r14,r12,r12:t
51761 + mulnwh.d r8,r5,r5:t
51762 + mulnwh.d r6,r4,r4:b
51763 + mulnwh.d r2,lr,lr:t
51764 + mulnwh.d r14,r3,r2:t
51765 + mulnwh.d r4,r5,r9:b
51766 + mulnwh.d r12,r4,r4:t
51770 + machh.w pc,pc:b,pc:b
51771 + machh.w r12,r12:t,r12:t
51772 + machh.w r5,r5:t,r5:t
51773 + machh.w r4,r4:b,r4:b
51774 + machh.w lr,lr:t,lr:t
51775 + machh.w lr,r5:b,r1:t
51776 + machh.w r9,r6:b,r7:b
51777 + machh.w r5,lr:t,r12:b
51781 + machh.d r0,pc:b,pc:b
51782 + machh.d r14,r12:t,r12:t
51783 + machh.d r8,r5:t,r5:t
51784 + machh.d r6,r4:b,r4:b
51785 + machh.d r2,lr:t,lr:t
51786 + machh.d r10,r0:b,r8:b
51787 + machh.d r14,r4:b,r5:t
51788 + machh.d r8,r0:b,r4:t
51790 + .global macsathh_w
51792 + macsathh.w pc,pc:b,pc:b
51793 + macsathh.w r12,r12:t,r12:t
51794 + macsathh.w r5,r5:t,r5:t
51795 + macsathh.w r4,r4:b,r4:b
51796 + macsathh.w lr,lr:t,lr:t
51797 + macsathh.w r7,r7:t,pc:t
51798 + macsathh.w r4,r2:t,r4:b
51799 + macsathh.w r4,r8:t,r3:t
51803 + mulhh.w pc,pc:b,pc:b
51804 + mulhh.w r12,r12:t,r12:t
51805 + mulhh.w r5,r5:t,r5:t
51806 + mulhh.w r4,r4:b,r4:b
51807 + mulhh.w lr,lr:t,lr:t
51808 + mulhh.w r7,r4:t,r9:b
51809 + mulhh.w pc,r3:t,r7:t
51810 + mulhh.w pc,r4:b,r9:t
51812 + .global mulsathh_h
51814 + mulsathh.h pc,pc:b,pc:b
51815 + mulsathh.h r12,r12:t,r12:t
51816 + mulsathh.h r5,r5:t,r5:t
51817 + mulsathh.h r4,r4:b,r4:b
51818 + mulsathh.h lr,lr:t,lr:t
51819 + mulsathh.h r3,r1:b,sp:b
51820 + mulsathh.h r11,lr:t,r11:b
51821 + mulsathh.h r8,r8:b,r11:t
51823 + .global mulsathh_w
51825 + mulsathh.w pc,pc:b,pc:b
51826 + mulsathh.w r12,r12:t,r12:t
51827 + mulsathh.w r5,r5:t,r5:t
51828 + mulsathh.w r4,r4:b,r4:b
51829 + mulsathh.w lr,lr:t,lr:t
51830 + mulsathh.w lr,r11:t,r6:b
51831 + mulsathh.w r6,r6:b,r7:t
51832 + mulsathh.w r10,r2:b,r3:b
51834 + .global mulsatrndhh_h
51836 + mulsatrndhh.h pc,pc:b,pc:b
51837 + mulsatrndhh.h r12,r12:t,r12:t
51838 + mulsatrndhh.h r5,r5:t,r5:t
51839 + mulsatrndhh.h r4,r4:b,r4:b
51840 + mulsatrndhh.h lr,lr:t,lr:t
51841 + mulsatrndhh.h r11,r6:b,r9:b
51842 + mulsatrndhh.h r11,r3:b,r8:t
51843 + mulsatrndhh.h r5,sp:t,r7:t
51845 + .global mulsatrndwh_w
51847 + mulsatrndwh.w pc,pc,pc:b
51848 + mulsatrndwh.w r12,r12,r12:t
51849 + mulsatrndwh.w r5,r5,r5:t
51850 + mulsatrndwh.w r4,r4,r4:b
51851 + mulsatrndwh.w lr,lr,lr:t
51852 + mulsatrndwh.w r5,r12,r0:b
51853 + mulsatrndwh.w r7,r10,pc:b
51854 + mulsatrndwh.w r10,r8,r5:t
51858 + macwh.d r0,pc,pc:b
51859 + macwh.d r14,r12,r12:t
51860 + macwh.d r8,r5,r5:t
51861 + macwh.d r6,r4,r4:b
51862 + macwh.d r2,lr,lr:t
51863 + macwh.d r4,r10,r12:t
51864 + macwh.d r4,r7,sp:b
51865 + macwh.d r14,r9,r11:b
51869 + mulwh.d r0,pc,pc:b
51870 + mulwh.d r14,r12,r12:t
51871 + mulwh.d r8,r5,r5:t
51872 + mulwh.d r6,r4,r4:b
51873 + mulwh.d r2,lr,lr:t
51874 + mulwh.d r12,r5,r1:b
51875 + mulwh.d r0,r1,r3:t
51876 + mulwh.d r0,r9,r2:b
51878 + .global mulsatwh_w
51880 + mulsatwh.w pc,pc,pc:b
51881 + mulsatwh.w r12,r12,r12:t
51882 + mulsatwh.w r5,r5,r5:t
51883 + mulsatwh.w r4,r4,r4:b
51884 + mulsatwh.w lr,lr,lr:t
51885 + mulsatwh.w r11,pc,r10:t
51886 + mulsatwh.w sp,r12,r9:t
51887 + mulsatwh.w r0,r3,r2:t
51891 + ld.w pc,pc[pc:b<<2]
51892 + ld.w r12,r12[r12:t<<2]
51893 + ld.w r5,r5[r5:u<<2]
51894 + ld.w r4,r4[r4:l<<2]
51895 + ld.w lr,lr[lr:l<<2]
51896 + ld.w r9,r10[r6:l<<2]
51897 + ld.w r2,r10[r10:b<<2]
51898 + ld.w r11,r5[pc:b<<2]
51902 + satadd.w pc,pc,pc
51903 + satadd.w r12,r12,r12
51904 + satadd.w r5,r5,r5
51905 + satadd.w r4,r4,r4
51906 + satadd.w lr,lr,lr
51907 + satadd.w r4,r8,r11
51908 + satadd.w r3,r12,r6
51909 + satadd.w r3,lr,r9
51911 + .global satsub_w1
51913 + satsub.w pc,pc,pc
51914 + satsub.w r12,r12,r12
51915 + satsub.w r5,r5,r5
51916 + satsub.w r4,r4,r4
51917 + satsub.w lr,lr,lr
51918 + satsub.w r8,sp,r0
51919 + satsub.w r9,r8,r4
51920 + satsub.w pc,lr,r2
51924 + satadd.h pc,pc,pc
51925 + satadd.h r12,r12,r12
51926 + satadd.h r5,r5,r5
51927 + satadd.h r4,r4,r4
51928 + satadd.h lr,lr,lr
51929 + satadd.h r7,r3,r9
51930 + satadd.h r1,r0,r2
51931 + satadd.h r1,r4,lr
51935 + satsub.h pc,pc,pc
51936 + satsub.h r12,r12,r12
51937 + satsub.h r5,r5,r5
51938 + satsub.h r4,r4,r4
51939 + satsub.h lr,lr,lr
51940 + satsub.h lr,lr,r3
51941 + satsub.h r11,r6,r5
51942 + satsub.h r3,sp,r0
52021 + .global extract_b
52023 + extract.b pc,pc:b
52024 + extract.b r12,r12:t
52025 + extract.b r5,r5:u
52026 + extract.b r4,r4:l
52027 + extract.b lr,lr:l
52028 + extract.b r2,r5:l
52029 + extract.b r12,r3:l
52030 + extract.b sp,r3:l
52035 + insert.b r12:t,r12
52039 + insert.b r12:u,r3
52040 + insert.b r10:l,lr
52041 + insert.b r11:l,r12
52043 + .global extract_h
52045 + extract.h pc,pc:b
52046 + extract.h r12,r12:t
52047 + extract.h r5,r5:t
52048 + extract.h r4,r4:b
52049 + extract.h lr,lr:t
52050 + extract.h r11,lr:b
52051 + extract.h r10,r0:b
52052 + extract.h r11,r12:b
52057 + insert.h r12:t,r12
52061 + insert.h r12:t,r11
52063 + insert.h r1:t,r11 */
52079 + padd.h r12,r12,r12
52090 + psub.h r12,r12,r12
52101 + paddx.h r12,r12,r12
52106 + paddx.h r10,r4,r5
52112 + psubx.h r12,r12,r12
52116 + psubx.h r5,r12,r5
52122 + padds.sh pc,pc,pc
52123 + padds.sh r12,r12,r12
52124 + padds.sh r5,r5,r5
52125 + padds.sh r4,r4,r4
52126 + padds.sh lr,lr,lr
52127 + padds.sh r9,lr,r2
52128 + padds.sh r6,r8,r1
52129 + padds.sh r6,r4,r10
52133 + psubs.sh pc,pc,pc
52134 + psubs.sh r12,r12,r12
52135 + psubs.sh r5,r5,r5
52136 + psubs.sh r4,r4,r4
52137 + psubs.sh lr,lr,lr
52138 + psubs.sh r6,lr,r11
52139 + psubs.sh r2,r12,r4
52140 + psubs.sh r0,r9,r0
52142 + .global paddxs_sh
52144 + paddxs.sh pc,pc,pc
52145 + paddxs.sh r12,r12,r12
52146 + paddxs.sh r5,r5,r5
52147 + paddxs.sh r4,r4,r4
52148 + paddxs.sh lr,lr,lr
52149 + paddxs.sh r0,r3,r9
52150 + paddxs.sh pc,r10,r11
52151 + paddxs.sh pc,r10,pc
52153 + .global psubxs_sh
52155 + psubxs.sh pc,pc,pc
52156 + psubxs.sh r12,r12,r12
52157 + psubxs.sh r5,r5,r5
52158 + psubxs.sh r4,r4,r4
52159 + psubxs.sh lr,lr,lr
52160 + psubxs.sh r7,r4,r4
52161 + psubxs.sh r7,r8,r3
52162 + psubxs.sh pc,r6,r5
52166 + padds.uh pc,pc,pc
52167 + padds.uh r12,r12,r12
52168 + padds.uh r5,r5,r5
52169 + padds.uh r4,r4,r4
52170 + padds.uh lr,lr,lr
52171 + padds.uh r12,r11,r7
52172 + padds.uh r7,r8,lr
52173 + padds.uh r6,r9,r7
52177 + psubs.uh pc,pc,pc
52178 + psubs.uh r12,r12,r12
52179 + psubs.uh r5,r5,r5
52180 + psubs.uh r4,r4,r4
52181 + psubs.uh lr,lr,lr
52182 + psubs.uh lr,r10,r6
52183 + psubs.uh sp,r2,pc
52184 + psubs.uh r2,r9,r2
52186 + .global paddxs_uh
52188 + paddxs.uh pc,pc,pc
52189 + paddxs.uh r12,r12,r12
52190 + paddxs.uh r5,r5,r5
52191 + paddxs.uh r4,r4,r4
52192 + paddxs.uh lr,lr,lr
52193 + paddxs.uh r7,r9,r5
52194 + paddxs.uh r9,r1,r4
52195 + paddxs.uh r5,r2,r3
52197 + .global psubxs_uh
52199 + psubxs.uh pc,pc,pc
52200 + psubxs.uh r12,r12,r12
52201 + psubxs.uh r5,r5,r5
52202 + psubxs.uh r4,r4,r4
52203 + psubxs.uh lr,lr,lr
52204 + psubxs.uh sp,r5,sp
52205 + psubxs.uh sp,r6,r6
52206 + psubxs.uh r3,r11,r8
52210 + paddh.sh pc,pc,pc
52211 + paddh.sh r12,r12,r12
52212 + paddh.sh r5,r5,r5
52213 + paddh.sh r4,r4,r4
52214 + paddh.sh lr,lr,lr
52215 + paddh.sh r12,sp,r3
52216 + paddh.sh pc,r5,r3
52217 + paddh.sh r8,r8,sp
52221 + psubh.sh pc,pc,pc
52222 + psubh.sh r12,r12,r12
52223 + psubh.sh r5,r5,r5
52224 + psubh.sh r4,r4,r4
52225 + psubh.sh lr,lr,lr
52226 + psubh.sh r1,r5,r8
52227 + psubh.sh r7,r3,r6
52228 + psubh.sh r4,r3,r3
52230 + .global paddxh_sh
52232 + paddxh.sh pc,pc,pc
52233 + paddxh.sh r12,r12,r12
52234 + paddxh.sh r5,r5,r5
52235 + paddxh.sh r4,r4,r4
52236 + paddxh.sh lr,lr,lr
52237 + paddxh.sh r6,r0,r4
52238 + paddxh.sh r9,r8,r9
52239 + paddxh.sh r3,r0,sp
52241 + .global psubxh_sh
52243 + psubxh.sh pc,pc,pc
52244 + psubxh.sh r12,r12,r12
52245 + psubxh.sh r5,r5,r5
52246 + psubxh.sh r4,r4,r4
52247 + psubxh.sh lr,lr,lr
52248 + psubxh.sh r4,pc,r12
52249 + psubxh.sh r8,r4,r6
52250 + psubxh.sh r12,r9,r4
52252 + .global paddsub_h
52254 + paddsub.h pc,pc:b,pc:b
52255 + paddsub.h r12,r12:t,r12:t
52256 + paddsub.h r5,r5:t,r5:t
52257 + paddsub.h r4,r4:b,r4:b
52258 + paddsub.h lr,lr:t,lr:t
52259 + paddsub.h r5,r2:t,lr:b
52260 + paddsub.h r7,r1:b,r8:b
52261 + paddsub.h r6,r10:t,r5:t
52263 + .global psubadd_h
52265 + psubadd.h pc,pc:b,pc:b
52266 + psubadd.h r12,r12:t,r12:t
52267 + psubadd.h r5,r5:t,r5:t
52268 + psubadd.h r4,r4:b,r4:b
52269 + psubadd.h lr,lr:t,lr:t
52270 + psubadd.h r9,r11:t,r8:t
52271 + psubadd.h r10,r7:t,lr:t
52272 + psubadd.h r6,pc:t,pc:b
52274 + .global paddsubs_sh
52276 + paddsubs.sh pc,pc:b,pc:b
52277 + paddsubs.sh r12,r12:t,r12:t
52278 + paddsubs.sh r5,r5:t,r5:t
52279 + paddsubs.sh r4,r4:b,r4:b
52280 + paddsubs.sh lr,lr:t,lr:t
52281 + paddsubs.sh r0,lr:t,r0:b
52282 + paddsubs.sh r9,r2:t,r4:t
52283 + paddsubs.sh r12,r9:t,sp:t
52285 + .global psubadds_sh
52287 + psubadds.sh pc,pc:b,pc:b
52288 + psubadds.sh r12,r12:t,r12:t
52289 + psubadds.sh r5,r5:t,r5:t
52290 + psubadds.sh r4,r4:b,r4:b
52291 + psubadds.sh lr,lr:t,lr:t
52292 + psubadds.sh pc,lr:b,r1:t
52293 + psubadds.sh r11,r3:b,r12:b
52294 + psubadds.sh r10,r2:t,r8:t
52296 + .global paddsubs_uh
52298 + paddsubs.uh pc,pc:b,pc:b
52299 + paddsubs.uh r12,r12:t,r12:t
52300 + paddsubs.uh r5,r5:t,r5:t
52301 + paddsubs.uh r4,r4:b,r4:b
52302 + paddsubs.uh lr,lr:t,lr:t
52303 + paddsubs.uh r9,r2:b,r3:b
52304 + paddsubs.uh sp,sp:b,r7:t
52305 + paddsubs.uh lr,r0:b,r10:t
52307 + .global psubadds_uh
52309 + psubadds.uh pc,pc:b,pc:b
52310 + psubadds.uh r12,r12:t,r12:t
52311 + psubadds.uh r5,r5:t,r5:t
52312 + psubadds.uh r4,r4:b,r4:b
52313 + psubadds.uh lr,lr:t,lr:t
52314 + psubadds.uh r12,r9:t,pc:t
52315 + psubadds.uh r8,r6:b,r8:b
52316 + psubadds.uh r8,r8:b,r4:b
52318 + .global paddsubh_sh
52320 + paddsubh.sh pc,pc:b,pc:b
52321 + paddsubh.sh r12,r12:t,r12:t
52322 + paddsubh.sh r5,r5:t,r5:t
52323 + paddsubh.sh r4,r4:b,r4:b
52324 + paddsubh.sh lr,lr:t,lr:t
52325 + paddsubh.sh r8,r9:t,r9:b
52326 + paddsubh.sh r0,sp:t,r1:t
52327 + paddsubh.sh r3,r1:b,r0:t
52329 + .global psubaddh_sh
52331 + psubaddh.sh pc,pc:b,pc:b
52332 + psubaddh.sh r12,r12:t,r12:t
52333 + psubaddh.sh r5,r5:t,r5:t
52334 + psubaddh.sh r4,r4:b,r4:b
52335 + psubaddh.sh lr,lr:t,lr:t
52336 + psubaddh.sh r7,r3:t,r10:b
52337 + psubaddh.sh r7,r2:t,r1:t
52338 + psubaddh.sh r11,r3:b,r6:b
52343 + padd.b r12,r12,r12
52354 + psub.b r12,r12,r12
52364 + padds.sb pc,pc,pc
52365 + padds.sb r12,r12,r12
52366 + padds.sb r5,r5,r5
52367 + padds.sb r4,r4,r4
52368 + padds.sb lr,lr,lr
52369 + padds.sb sp,r11,r4
52370 + padds.sb r11,r10,r11
52371 + padds.sb r5,r12,r6
52375 + psubs.sb pc,pc,pc
52376 + psubs.sb r12,r12,r12
52377 + psubs.sb r5,r5,r5
52378 + psubs.sb r4,r4,r4
52379 + psubs.sb lr,lr,lr
52380 + psubs.sb r7,r6,r8
52381 + psubs.sb r12,r10,r9
52382 + psubs.sb pc,r11,r0
52386 + padds.ub pc,pc,pc
52387 + padds.ub r12,r12,r12
52388 + padds.ub r5,r5,r5
52389 + padds.ub r4,r4,r4
52390 + padds.ub lr,lr,lr
52391 + padds.ub r3,r2,r11
52392 + padds.ub r10,r8,r1
52393 + padds.ub r11,r8,r10
52397 + psubs.ub pc,pc,pc
52398 + psubs.ub r12,r12,r12
52399 + psubs.ub r5,r5,r5
52400 + psubs.ub r4,r4,r4
52401 + psubs.ub lr,lr,lr
52402 + psubs.ub r0,r2,r7
52403 + psubs.ub lr,r5,r3
52404 + psubs.ub r6,r7,r9
52408 + paddh.ub pc,pc,pc
52409 + paddh.ub r12,r12,r12
52410 + paddh.ub r5,r5,r5
52411 + paddh.ub r4,r4,r4
52412 + paddh.ub lr,lr,lr
52413 + paddh.ub lr,r1,r0
52414 + paddh.ub r2,r7,r7
52415 + paddh.ub r2,r1,r2
52419 + psubh.ub pc,pc,pc
52420 + psubh.ub r12,r12,r12
52421 + psubh.ub r5,r5,r5
52422 + psubh.ub r4,r4,r4
52423 + psubh.ub lr,lr,lr
52424 + psubh.ub r0,r1,r6
52425 + psubh.ub r4,lr,r10
52426 + psubh.ub r9,r8,r1
52431 + pmax.ub r12,r12,r12
52435 + pmax.ub pc,r2,r11
52436 + pmax.ub r12,r1,r1
52442 + pmax.sh r12,r12,r12
52446 + pmax.sh lr,r6,r12
52453 + pmin.ub r12,r12,r12
52464 + pmin.sh r12,r12,r12
52468 + pmin.sh r8,r4,r10
52469 + pmin.sh lr,r10,r12
52475 + pavg.ub r12,r12,r12
52481 + pavg.ub pc,r12,r10
52486 + pavg.sh r12,r12,r12
52563 + pasr.h r12,r12,15
52574 + plsl.h r12,r12,15
52585 + plsr.h r12,r12,15
52595 + packw.sh pc,pc,pc
52596 + packw.sh r12,r12,r12
52597 + packw.sh r5,r5,r5
52598 + packw.sh r4,r4,r4
52599 + packw.sh lr,lr,lr
52600 + packw.sh sp,r11,r10
52601 + packw.sh r8,r2,r12
52602 + packw.sh r8,r1,r5
52604 + .global punpckub_h
52606 + punpckub.h pc,pc:b
52607 + punpckub.h r12,r12:t
52608 + punpckub.h r5,r5:t
52609 + punpckub.h r4,r4:b
52610 + punpckub.h lr,lr:t
52611 + punpckub.h r6,r1:t
52612 + punpckub.h lr,r5:b
52613 + punpckub.h lr,r2:t
52615 + .global punpcksb_h
52617 + punpcksb.h pc,pc:b
52618 + punpcksb.h r12,r12:t
52619 + punpcksb.h r5,r5:t
52620 + punpcksb.h r4,r4:b
52621 + punpcksb.h lr,lr:t
52622 + punpcksb.h r4,r7:t
52623 + punpcksb.h r6,lr:b
52624 + punpcksb.h r12,r12:t
52626 + .global packsh_ub
52628 + packsh.ub pc,pc,pc
52629 + packsh.ub r12,r12,r12
52630 + packsh.ub r5,r5,r5
52631 + packsh.ub r4,r4,r4
52632 + packsh.ub lr,lr,lr
52633 + packsh.ub r3,r6,r3
52634 + packsh.ub r8,r0,r3
52635 + packsh.ub r9,r3,lr
52637 + .global packsh_sb
52639 + packsh.sb pc,pc,pc
52640 + packsh.sb r12,r12,r12
52641 + packsh.sb r5,r5,r5
52642 + packsh.sb r4,r4,r4
52643 + packsh.sb lr,lr,lr
52644 + packsh.sb r6,r8,r1
52645 + packsh.sb lr,r9,r8
52646 + packsh.sb sp,r6,r6
52662 + andl r12,65535,COH
52663 + andl r5,32768,COH
52664 + andl r4,32767,COH
52666 + andl r6,22753,COH
52667 + andl r0,40653,COH
52668 + andl r4,48580,COH
52684 + andh r12,65535,COH
52685 + andh r5,32768,COH
52686 + andh r4,32767,COH
52688 + andh r11,34317,COH
52689 + andh r8,52982,COH
52690 + andh r10,23683,COH
52740 + mcall r5[-131072]
52762 + cache r5[-1024],16
52763 + cache r4[1023],15
52765 + cache r3[-964],17
52766 + cache r4[-375],22
52767 + cache r3[-888],17
52835 + .global satsub_w2
52838 + satsub.w r12,r12,-1
52839 + satsub.w r5,r5,-32768
52840 + satsub.w r4,r4,32767
52842 + satsub.w r2,lr,-2007
52843 + satsub.w r7,r12,-784
52844 + satsub.w r4,r7,23180
52850 + ld.d r8,r5[-32768]
52851 + ld.d r6,r4[32767]
52853 + ld.d r14,r11[14784]
52854 + ld.d r6,r9[-18905]
52855 + ld.d r2,r3[-6355]
52861 + ld.w r5,r5[-32768]
52862 + ld.w r4,r4[32767]
52864 + ld.w r0,r12[-22133]
52865 + ld.w sp,pc[-20521]
52866 + /* ld.w r3,r5[29035] */
52872 + ld.sh r12,r12[-1]
52873 + ld.sh r5,r5[-32768]
52874 + ld.sh r4,r4[32767]
52876 + ld.sh r6,r10[30930]
52877 + ld.sh r6,r10[21973]
52878 + /* ld.sh r11,r10[-2058] */
52884 + ld.uh r12,r12[-1]
52885 + ld.uh r5,r5[-32768]
52886 + ld.uh r4,r4[32767]
52888 + ld.uh r1,r9[-13354]
52889 + ld.uh lr,r11[21337]
52890 + /* ld.uh r2,lr[-25370] */
52896 + ld.sb r12,r12[-1]
52897 + ld.sb r5,r5[-32768]
52898 + ld.sb r4,r4[32767]
52900 + ld.sb r7,sp[-28663]
52901 + ld.sb r2,r1[-5879]
52902 + ld.sb r12,r3[18734]
52907 + ld.ub r12,r12[-1]
52908 + ld.ub r5,r5[-32768]
52909 + ld.ub r4,r4[32767]
52911 + ld.ub pc,r4[8277]
52912 + ld.ub r5,r12[19172]
52913 + ld.ub r10,lr[26347]
52919 + st.d r5[-32768],r8
52920 + st.d r4[32767],r6
52922 + st.d r5[13200],r10
52923 + st.d r5[9352],r10
52924 + st.d r5[32373],r4
52930 + st.w r5[-32768],r5
52931 + st.w r4[32767],r4
52934 + st.w r6[27087],r12
52935 + /* st.w r3[20143],r7 */
52942 + st.h r5[-32768],r5
52943 + st.h r4[32767],r4
52945 + st.h r4[-9962],r7
52946 + st.h r9[-16250],r3
52947 + /* st.h r8[-28810],r7 */
52954 + st.b r5[-32768],r5
52955 + st.b r4[32767],r4
52957 + st.b r12[30102],r6
52958 + st.b r5[28977],r1
53074 + satrnds r12>>31,31
53075 + satrnds r5>>16,16
53076 + satrnds r4>>15,15
53078 + satrnds r0>>21,19
53085 + satrndu r12>>31,31
53086 + satrndu r5>>16,16
53087 + satrndu r4>>15,15
53089 + satrndu r12>>0,26
53091 + satrndu r10>>3,16
53148 + ldm r11,r2-r3,r5-r8,r15
53149 + ldm r6,r0,r3,r9,r13,r15
53158 + ldm r12++,r3-r5,r8,r10,r12,r14-r15
53159 + ldm r10++,r2,r4-r6,r14-r15
53160 + ldm r6++,r1,r3-r4,r9-r14
53169 + ldmts r0,r1-r2,r11-r12
53170 + ldmts lr,r0-r2,r4,r7-r8,r13-r14
53171 + ldmts r12,r0-r1,r3-r5,r9,r14-r15
53176 + ldmts r12++,r0-r15
53178 + ldmts r4++,r0-r14
53180 + ldmts sp++,r0,r2-r5,r7,r9,r11
53181 + ldmts r5++,r1-r3,r7,r10-r11
53182 + ldmts r8++,r2-r4,r7-r8,r13,r15
53191 + stm sp,r2-r3,r5,r8,r11,r14
53192 + stm r4,r0-r4,r6,r10-r11,r14
53193 + stm r9,r1,r5,r9,r12-r15
53202 + stm --r11,r0,r4-r9,r11-r15
53203 + stm --r11,r0,r3,r9-r10,r12,r14
53204 + stm --r6,r2,r8-r9,r13-r14
53213 + stmts r1,r0-r1,r3-r4,r6,r9-r10,r14-r15
53214 + stmts r3,r0,r6-r8,r10-r12
53215 + stmts r11,r0,r4,r6-r7,r9-r10,r12,r14-r15
53220 + stmts --r12,r0-r15
53222 + stmts --r4,r0-r14
53224 + stmts --r2,r0,r3-r4,r9-r10,r12-r13
53225 + stmts --r3,r0-r1,r14-r15
53226 + stmts --r0,r0,r2-r6,r10,r14
53230 + ldins.h pc:b,pc[0]
53231 + ldins.h r12:t,r12[-2]
53232 + ldins.h r5:t,r5[-4096]
53233 + ldins.h r4:b,r4[4094]
53234 + ldins.h lr:t,lr[2]
53235 + ldins.h r0:t,lr[1930]
53236 + ldins.h r3:b,r7[-534]
53237 + ldins.h r2:b,r12[-2252]
53241 + ldins.b pc:b,pc[0]
53242 + ldins.b r12:t,r12[-1]
53243 + ldins.b r5:u,r5[-2048]
53244 + ldins.b r4:l,r4[2047]
53245 + ldins.b lr:l,lr[1]
53246 + ldins.b r6:t,r4[-662]
53247 + ldins.b r5:b,r1[-151]
53248 + ldins.b r10:t,r11[-1923]
53252 + ldswp.sh pc,pc[0]
53253 + ldswp.sh r12,r12[-2]
53254 + ldswp.sh r5,r5[-4096]
53255 + ldswp.sh r4,r4[4094]
53256 + ldswp.sh lr,lr[2]
53257 + ldswp.sh r9,r10[3848]
53258 + ldswp.sh r4,r12[-2040]
53259 + ldswp.sh r10,r2[3088]
53263 + ldswp.uh pc,pc[0]
53264 + ldswp.uh r12,r12[-2]
53265 + ldswp.uh r5,r5[-4096]
53266 + ldswp.uh r4,r4[4094]
53267 + ldswp.uh lr,lr[2]
53268 + ldswp.uh r4,r9[3724]
53269 + ldswp.uh lr,sp[-1672]
53270 + ldswp.uh r8,r12[-3846]
53275 + ldswp.w r12,r12[-4]
53276 + ldswp.w r5,r5[-8192]
53277 + ldswp.w r4,r4[8188]
53279 + ldswp.w sp,r7[1860]
53280 + ldswp.w pc,r5[-3324]
53281 + ldswp.w r12,r10[-3296]
53286 + stswp.h r12[-2],r12
53287 + stswp.h r5[-4096],r5
53288 + stswp.h r4[4094],r4
53290 + stswp.h r7[64],r10
53291 + stswp.h r10[3024],r2
53292 + stswp.h r0[-2328],r10
53297 + stswp.w r12[-4],r12
53298 + stswp.w r5[-8192],r5
53299 + stswp.w r4[8188],r4
53301 + stswp.w pc[1156],r8
53302 + stswp.w sp[7992],r10
53303 + stswp.w r8[-1172],r5
53308 + and r12,r12,r12<<31
53313 + and r12,r8,r11<<27
53319 + and r12,r12,r12>>31
53323 + and r12,r8,r7>>17
53325 + and r10,r9,r10>>12
53330 + or r12,r12,r12<<31
53341 + or r12,r12,r12>>31
53352 + eor r12,r12,r12<<31
53356 + eor r10,r9,r4<<11
53358 + eor r6,r2,r12<<13
53363 + eor r12,r12,r12>>31
53373 + sthh.w pc[pc<<0],pc:b,pc:b
53374 + sthh.w r12[r12<<3],r12:t,r12:t
53375 + sthh.w r5[r5<<2],r5:t,r5:t
53376 + sthh.w r4[r4<<1],r4:b,r4:b
53377 + sthh.w lr[lr<<1],lr:t,lr:t
53378 + sthh.w sp[r6<<3],r1:t,r12:t
53379 + sthh.w r6[r6<<0],r9:t,r9:t
53380 + sthh.w r10[r3<<0],r0:b,r11:t
53384 + sthh.w pc[0],pc:b,pc:b
53385 + sthh.w r12[1020],r12:t,r12:t
53386 + sthh.w r5[512],r5:t,r5:t
53387 + sthh.w r4[508],r4:b,r4:b
53388 + sthh.w lr[4],lr:t,lr:t
53389 + sthh.w r4[404],r9:t,r0:b
53390 + sthh.w r8[348],r2:t,r10:b
53391 + sthh.w sp[172],r9:b,r2:b
53395 + cop cp0,cr0,cr0,cr0,0
53396 + cop cp7,cr15,cr15,cr15,0x7f
53397 + cop cp3,cr5,cr5,cr5,0x31
53398 + cop cp2,cr4,cr4,cr4,0x30
53399 + cop cp5,cr8,cr3,cr7,0x5a
53403 + ldc.w cp0,cr0,r0[0]
53404 + ldc.w cp7,cr15,pc[255<<2]
53405 + ldc.w cp3,cr5,r5[128<<2]
53406 + ldc.w cp2,cr4,r4[127<<2]
53407 + ldc.w cp4,cr9,r13[36<<2]
53411 + ldc.w cp0,cr0,--r0
53412 + ldc.w cp7,cr15,--pc
53413 + ldc.w cp3,cr5,--r5
53414 + ldc.w cp2,cr4,--r4
53415 + ldc.w cp4,cr9,--r13
53419 + ldc.w cp0,cr0,r0[r0]
53420 + ldc.w cp7,cr15,pc[pc<<3]
53421 + ldc.w cp3,cr5,r5[r4<<2]
53422 + ldc.w cp2,cr4,r4[r3<<1]
53423 + ldc.w cp4,cr9,r13[r12<<0]
53427 + ldc.d cp0,cr0,r0[0]
53428 + ldc.d cp7,cr14,pc[255<<2]
53429 + ldc.d cp3,cr6,r5[128<<2]
53430 + ldc.d cp2,cr4,r4[127<<2]
53431 + ldc.d cp4,cr8,r13[36<<2]
53435 + ldc.d cp0,cr0,--r0
53436 + ldc.d cp7,cr14,--pc
53437 + ldc.d cp3,cr6,--r5
53438 + ldc.d cp2,cr4,--r4
53439 + ldc.d cp4,cr8,--r13
53443 + ldc.d cp0,cr0,r0[r0]
53444 + ldc.d cp7,cr14,pc[pc<<3]
53445 + ldc.d cp3,cr6,r5[r4<<2]
53446 + ldc.d cp2,cr4,r4[r3<<1]
53447 + ldc.d cp4,cr8,r13[r12<<0]
53451 + stc.w cp0,r0[0],cr0
53452 + stc.w cp7,pc[255<<2],cr15
53453 + stc.w cp3,r5[128<<2],cr5
53454 + stc.w cp2,r4[127<<2],cr4
53455 + stc.w cp4,r13[36<<2],cr9
53459 + stc.w cp0,r0++,cr0
53460 + stc.w cp7,pc++,cr15
53461 + stc.w cp3,r5++,cr5
53462 + stc.w cp2,r4++,cr4
53463 + stc.w cp4,r13++,cr9
53467 + stc.w cp0,r0[r0],cr0
53468 + stc.w cp7,pc[pc<<3],cr15
53469 + stc.w cp3,r5[r4<<2],cr5
53470 + stc.w cp2,r4[r3<<1],cr4
53471 + stc.w cp4,r13[r12<<0],cr9
53475 + stc.d cp0,r0[0],cr0
53476 + stc.d cp7,pc[255<<2],cr14
53477 + stc.d cp3,r5[128<<2],cr6
53478 + stc.d cp2,r4[127<<2],cr4
53479 + stc.d cp4,r13[36<<2],cr8
53483 + stc.d cp0,r0++,cr0
53484 + stc.d cp7,pc++,cr14
53485 + stc.d cp3,r5++,cr6
53486 + stc.d cp2,r4++,cr4
53487 + stc.d cp4,r13++,cr8
53491 + stc.d cp0,r0[r0],cr0
53492 + stc.d cp7,pc[pc<<3],cr14
53493 + stc.d cp3,r5[r4<<2],cr6
53494 + stc.d cp2,r4[r3<<1],cr4
53495 + stc.d cp4,r13[r12<<0],cr8
53500 + ldc0.w cr15,pc[4095<<2]
53501 + ldc0.w cr5,r5[2048<<2]
53502 + ldc0.w cr4,r4[2047<<2]
53503 + ldc0.w cr9,r13[147<<2]
53508 + ldc0.d cr14,pc[4095<<2]
53509 + ldc0.d cr6,r5[2048<<2]
53510 + ldc0.d cr4,r4[2047<<2]
53511 + ldc0.d cr8,r13[147<<2]
53516 + stc0.w pc[4095<<2],cr15
53517 + stc0.w r5[2048<<2],cr5
53518 + stc0.w r4[2047<<2],cr4
53519 + stc0.w r13[147<<2],cr9
53524 + stc0.d pc[4095<<2],cr14
53525 + stc0.d r5[2048<<2],cr6
53526 + stc0.d r4[2047<<2],cr4
53527 + stc0.d r13[147<<2],cr8
53554 + stcond pc[-1], pc
53555 + stcond r8[-32768], r7
53556 + stcond r7[32767], r8
53557 + stcond r5[0x1234], r10
53560 + ldcm.w cp0,pc,cr0-cr7
53561 + ldcm.w cp7,r0,cr0
53562 + ldcm.w cp4,r4++,cr0-cr6
53563 + ldcm.w cp3,r7,cr7
53564 + ldcm.w cp1,r12++,cr1,cr4-cr6
53565 + ldcm.w cp0,pc,cr8-cr15
53566 + ldcm.w cp7,r0,cr8
53567 + ldcm.w cp4,r4++,cr8-cr14
53568 + ldcm.w cp3,r7,cr15
53569 + ldcm.w cp1,r12++,cr9,cr12-cr14
53572 + ldcm.d cp0,pc,cr0-cr15
53573 + ldcm.d cp7,r0,cr0,cr1
53574 + ldcm.d cp4,r4++,cr0-cr13
53575 + ldcm.d cp3,r7,cr14-cr15
53576 + ldcm.d cp2,r12++,cr0-cr3,cr8-cr9,cr14-cr15
53579 + stcm.w cp0,pc,cr0-cr7
53580 + stcm.w cp7,r0,cr0
53581 + stcm.w cp4,--r4,cr0-cr6
53582 + stcm.w cp3,r7,cr7
53583 + stcm.w cp1,--r12,cr1,cr4-cr6
53584 + stcm.w cp0,pc,cr8-cr15
53585 + stcm.w cp7,r0,cr8
53586 + stcm.w cp4,--r4,cr8-cr14
53587 + stcm.w cp3,r7,cr15
53588 + stcm.w cp1,--r12,cr9,cr12-cr14
53591 + stcm.d cp0,pc,cr0-cr15
53592 + stcm.d cp7,r0,cr0,cr1
53593 + stcm.d cp4,--r4,cr0-cr13
53594 + stcm.d cp3,r7,cr14-cr15
53595 + stcm.d cp2,--r12,cr0-cr3,cr8-cr9,cr14-cr15
53598 + mvcr.w cp7,pc,cr15
53599 + mvcr.w cp0,r0,cr0
53600 + mvcr.w cp0,pc,cr15
53601 + mvcr.w cp7,r0,cr15
53602 + mvcr.w cp7,pc,cr0
53603 + mvcr.w cp4,r7,cr8
53604 + mvcr.w cp3,r8,cr7
53607 + mvcr.d cp7,lr,cr14
53608 + mvcr.d cp0,r0,cr0
53609 + mvcr.d cp0,lr,cr14
53610 + mvcr.d cp7,r0,cr14
53611 + mvcr.d cp7,lr,cr0
53612 + mvcr.d cp4,r6,cr8
53613 + mvcr.d cp3,r8,cr6
53616 + mvrc.w cp7,cr15,pc
53617 + mvrc.w cp0,cr0,r0
53618 + mvrc.w cp0,cr15,pc
53619 + mvrc.w cp7,cr15,r0
53620 + mvrc.w cp7,cr0,pc
53621 + mvrc.w cp4,cr8,r7
53622 + mvrc.w cp3,cr7,r8
53625 + mvrc.d cp7,cr14,lr
53626 + mvrc.d cp0,cr0,r0
53627 + mvrc.d cp0,cr14,lr
53628 + mvrc.d cp7,cr14,r0
53629 + mvrc.d cp7,cr0,lr
53630 + mvrc.d cp4,cr8,r6
53631 + mvrc.d cp3,cr6,r8
53634 + bfexts pc,pc,31,31
53636 + bfexts r0,pc,31,31
53637 + bfexts pc,r0,31,31
53638 + bfexts pc,pc,0,31
53639 + bfexts pc,pc,31,0
53640 + bfexts r7,r8,15,16
53641 + bfexts r8,r7,16,15
53644 + bfextu pc,pc,31,31
53646 + bfextu r0,pc,31,31
53647 + bfextu pc,r0,31,31
53648 + bfextu pc,pc,0,31
53649 + bfextu pc,pc,31,0
53650 + bfextu r7,r8,15,16
53651 + bfextu r8,r7,16,15
53654 + bfins pc,pc,31,31
53656 + bfins r0,pc,31,31
53657 + bfins pc,r0,31,31
53660 + bfins r7,r8,15,16
53661 + bfins r8,r7,16,15
53662 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/avr32.exp binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/avr32.exp
53663 --- binutils-2.17/gas/testsuite/gas/avr32/avr32.exp 1970-01-01 01:00:00.000000000 +0100
53664 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/avr32.exp 2007-03-26 10:19:48.000000000 +0200
53666 +# AVR32 assembler testsuite. -*- Tcl -*-
53668 +if [istarget avr32-*-*] {
53669 + run_dump_test "hwrd-lwrd"
53670 + run_dump_test "pcrel"
53671 + run_dump_test "aliases"
53672 + run_dump_test "dwarf2"
53673 + run_dump_test "pic_reloc"
53674 + run_dump_test "fpinsn"
53675 + run_dump_test "pico"
53676 + run_dump_test "lda_pic"
53677 + run_dump_test "lda_pic_linkrelax"
53678 + run_dump_test "lda_nopic"
53679 + run_dump_test "lda_nopic_linkrelax"
53680 + run_dump_test "call_pic"
53681 + run_dump_test "call_pic_linkrelax"
53682 + run_dump_test "call_nopic"
53683 + run_dump_test "call_nopic_linkrelax"
53684 + run_dump_test "jmptable"
53685 + run_dump_test "jmptable_linkrelax"
53686 + run_dump_test "symdiff"
53687 + run_dump_test "symdiff_linkrelax"
53689 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_nopic.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_nopic.d
53690 --- binutils-2.17/gas/testsuite/gas/avr32/call_nopic.d 1970-01-01 01:00:00.000000000 +0100
53691 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_nopic.d 2007-03-26 10:19:48.000000000 +0200
53698 +.*: +file format .*
53700 +Disassembly of section \.text:
53702 +00000000 <call_test>:
53705 +00000002 <toofar_negative>:
53707 + 1ffffe: 00 00 add r0,r0
53708 + 200000: f0 a0 00 00 rcall 0 <call_test>
53709 + 200004: f0 1f 00 0c mcall 200034 <toofar_negative\+0x200032>
53710 + 200008: f0 1f 00 0c mcall 200038 <toofar_negative\+0x200036>
53711 + 20000c: f0 1f 00 0c mcall 20003c <toofar_negative\+0x20003a>
53712 + 200010: f0 1f 00 0c mcall 200040 <toofar_negative\+0x20003e>
53714 + 200030: ee b0 ff ff rcall 40002e <far_positive>
53716 + 200034: R_AVR32_32_CPENT \.text\+0x2
53717 + 200038: R_AVR32_32_CPENT \.text\.init
53718 + 20003c: R_AVR32_32_CPENT undefined
53719 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
53721 +0040002c <toofar_positive>:
53722 + 40002c: d7 03 nop
53723 +0040002e <far_positive>:
53724 + 40002e: d7 03 nop
53725 +Disassembly of section \.text\.init:
53727 +00000000 <different_section>:
53728 + 0: e2 c0 00 00 sub r0,r1,0
53729 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_nopic_linkrelax.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_nopic_linkrelax.d
53730 --- binutils-2.17/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
53731 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_nopic_linkrelax.d 2007-03-26 10:19:48.000000000 +0200
53736 +#name: call_nopic_linkrelax
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: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
53749 + 200000: R_AVR32_22H_PCREL \.text
53750 + 200004: f0 1f 00 00 mcall 200004 <toofar_negative\+0x200002>
53751 + 200004: R_AVR32_CPCALL \.text\+0x200034
53752 + 200008: f0 1f 00 00 mcall 200008 <toofar_negative\+0x200006>
53753 + 200008: R_AVR32_CPCALL \.text\+0x200038
53754 + 20000c: f0 1f 00 00 mcall 20000c <toofar_negative\+0x20000a>
53755 + 20000c: R_AVR32_CPCALL \.text\+0x20003c
53756 + 200010: f0 1f 00 00 mcall 200010 <toofar_negative\+0x20000e>
53757 + 200010: R_AVR32_CPCALL \.text\+0x200040
53759 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
53760 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
53762 + 200034: R_AVR32_ALIGN \*ABS\*\+0x2
53763 + 200034: R_AVR32_32_CPENT \.text\+0x2
53764 + 200038: R_AVR32_32_CPENT \.text\.init
53765 + 20003c: R_AVR32_32_CPENT undefined
53766 + 200040: R_AVR32_32_CPENT \.text\+0x40002c
53768 +0040002c <toofar_positive>:
53769 + 40002c: d7 03 nop
53770 +0040002e <far_positive>:
53771 + 40002e: d7 03 nop
53772 +Disassembly of section \.text\.init:
53774 +00000000 <different_section>:
53775 + 0: e2 c0 00 00 sub r0,r1,0
53776 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_pic.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_pic.d
53777 --- binutils-2.17/gas/testsuite/gas/avr32/call_pic.d 1970-01-01 01:00:00.000000000 +0100
53778 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_pic.d 2007-03-26 10:19:48.000000000 +0200
53785 +.*: +file format .*
53787 +Disassembly of section \.text:
53789 +00000000 <call_test>:
53792 +00000002 <toofar_negative>:
53794 + 1ffffe: 00 00 add r0,r0
53795 + 200000: f0 a0 00 00 rcall 0 <call_test>
53796 + 200004: f0 16 00 00 mcall r6\[0\]
53797 + 200004: R_AVR32_GOT18SW toofar_negative
53798 + 200008: f0 16 00 00 mcall r6\[0\]
53799 + 200008: R_AVR32_GOT18SW different_section
53800 + 20000c: f0 16 00 00 mcall r6\[0\]
53801 + 20000c: R_AVR32_GOT18SW undefined
53802 + 200010: f0 16 00 00 mcall r6\[0\]
53803 + 200010: R_AVR32_GOT18SW toofar_positive
53805 + 200030: ee b0 ff ff rcall 40002e <far_positive>
53808 +0040002c <toofar_positive>:
53809 + 40002c: d7 03 nop
53810 +0040002e <far_positive>:
53811 + 40002e: d7 03 nop
53812 +Disassembly of section \.text\.init:
53814 +00000000 <different_section>:
53815 + 0: e2 c0 00 00 sub r0,r1,0
53816 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call_pic_linkrelax.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_pic_linkrelax.d
53817 --- binutils-2.17/gas/testsuite/gas/avr32/call_pic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
53818 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call_pic_linkrelax.d 2007-03-26 10:19:48.000000000 +0200
53821 +#as: --pic --linkrelax
53823 +#name: call_pic_linkrelax
53825 +.*: +file format .*
53827 +Disassembly of section \.text:
53829 +00000000 <call_test>:
53832 +00000002 <toofar_negative>:
53834 + 1ffffe: 00 00 add r0,r0
53835 + 200000: e0 a0 00 00 rcall 200000 <toofar_negative\+0x1ffffe>
53836 + 200000: R_AVR32_22H_PCREL \.text
53837 + 200004: e0 6e 00 00 mov lr,0
53838 + 200004: R_AVR32_GOTCALL toofar_negative
53839 + 200008: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53840 + 20000c: 5d 1e icall lr
53841 + 20000e: e0 6e 00 00 mov lr,0
53842 + 20000e: R_AVR32_GOTCALL different_section
53843 + 200012: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53844 + 200016: 5d 1e icall lr
53845 + 200018: e0 6e 00 00 mov lr,0
53846 + 200018: R_AVR32_GOTCALL undefined
53847 + 20001c: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53848 + 200020: 5d 1e icall lr
53849 + 200022: e0 6e 00 00 mov lr,0
53850 + 200022: R_AVR32_GOTCALL toofar_positive
53851 + 200026: ec 0e 03 2e ld\.w lr,r6\[lr<<0x2\]
53852 + 20002a: 5d 1e icall lr
53853 + 20002c: 00 00 add r0,r0
53854 + 20002e: 00 00 add r0,r0
53855 + 200030: e0 a0 00 00 rcall 200030 <toofar_negative\+0x20002e>
53856 + 200030: R_AVR32_22H_PCREL \.text\+0x40002e
53859 +0040002c <toofar_positive>:
53860 + 40002c: d7 03 nop
53861 +0040002e <far_positive>:
53862 + 40002e: d7 03 nop
53863 +Disassembly of section \.text\.init:
53865 +00000000 <different_section>:
53866 + 0: e2 c0 00 00 sub r0,r1,0
53867 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/call.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call.s
53868 --- binutils-2.17/gas/testsuite/gas/avr32/call.s 1970-01-01 01:00:00.000000000 +0100
53869 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/call.s 2007-03-26 10:19:48.000000000 +0200
53873 + .global call_test
53881 + call far_negative
53882 + call toofar_negative
53883 + call different_section
53885 + call toofar_positive
53887 + call far_positive
53898 + .section .text.init,"ax",@progbits
53899 +different_section:
53901 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/dwarf2.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/dwarf2.d
53902 --- binutils-2.17/gas/testsuite/gas/avr32/dwarf2.d 1970-01-01 01:00:00.000000000 +0100
53903 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/dwarf2.d 2007-03-26 10:19:48.000000000 +0200
53909 +Dump of debug contents of section \.debug_line:
53913 + Prologue Length: 26
53914 + Minimum Instruction Length: 1
53915 + Initial value of 'is_stmt': 1
53919 + \(Pointer size: 4\)
53922 + Opcode 1 has 0 args
53923 + Opcode 2 has 1 args
53924 + Opcode 3 has 1 args
53925 + Opcode 4 has 1 args
53926 + Opcode 5 has 1 args
53927 + Opcode 6 has 0 args
53928 + Opcode 7 has 0 args
53929 + Opcode 8 has 0 args
53930 + Opcode 9 has 1 args
53932 + The Directory Table is empty\.
53934 + The File Name Table:
53935 + Entry Dir Time Size Name
53938 + Line Number Statements:
53939 + Extended opcode 2: set Address to 0x0
53940 + Advance Line by 87 to 88
53942 + Advance Line by 23 to 111
53943 + Special opcode .*: advance Address by 4 to 0x4 and Line by 0 to 111
53944 + Special opcode .*: advance Address by 10 to 0xe and Line by 1 to 112
53945 + Advance PC by 530 to 220
53946 + Extended opcode 1: End of Sequence
53947 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/dwarf2.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/dwarf2.s
53948 --- binutils-2.17/gas/testsuite/gas/avr32/dwarf2.s 1970-01-01 01:00:00.000000000 +0100
53949 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/dwarf2.s 2007-03-26 10:19:48.000000000 +0200
53951 +# Source file used to test DWARF2 information for AVR32.
53955 + .section .debug_abbrev,"",@progbits
53957 + .section .debug_info,"",@progbits
53959 + .section .debug_line,"",@progbits
53965 + .type main, @function
53991 + .size main, . - main
53995 + .section .debug_info
53996 + .int .Ledebug_info0 - .Ldebug_info0 // size
53997 + .short 2 // version
53998 + .int .Ldebug_abbrev0 // abbrev offset
53999 + .byte 4 // bytes per addr
54001 + .uleb128 1 // abbrev 1
54002 + .int .Ldebug_line0 // DW_AT_stmt_list
54003 + .int .Letext0 // DW_AT_high_pc
54004 + .int .Ltext0 // DW_AT_low_pc
54008 + .section .debug_abbrev
54010 + .uleb128 0x11 // DW_TAG_compile_unit
54011 + .byte 0 // DW_CHILDREN_no
54012 + .uleb128 0x10, 0x6 // DW_AT_stmt_list
54013 + .uleb128 0x12, 0x1 // DW_AT_high_pc
54014 + .uleb128 0x11, 0x1 // DW_AT_low_pc
54018 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/fpinsn.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/fpinsn.d
54019 --- binutils-2.17/gas/testsuite/gas/avr32/fpinsn.d 1970-01-01 01:00:00.000000000 +0100
54020 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/fpinsn.d 2007-03-26 10:19:48.000000000 +0200
54026 +.*: +file format .*
54028 +Disassembly of section \.text:
54030 +[0-9a-f]* <fadd_s>:
54031 + *[0-9a-f]*: e1 a2 0f ff cop cp0,cr15,cr15,cr15,0x4
54032 + *[0-9a-f]*: e1 a2 00 00 cop cp0,cr0,cr0,cr0,0x4
54033 + *[0-9a-f]*: e1 a2 00 ff cop cp0,cr0,cr15,cr15,0x4
54034 + *[0-9a-f]*: e1 a2 0f 0f cop cp0,cr15,cr0,cr15,0x4
54035 + *[0-9a-f]*: e1 a2 0f f0 cop cp0,cr15,cr15,cr0,0x4
54036 + *[0-9a-f]*: e1 a2 07 88 cop cp0,cr7,cr8,cr8,0x4
54037 + *[0-9a-f]*: e1 a2 08 78 cop cp0,cr8,cr7,cr8,0x4
54038 + *[0-9a-f]*: e1 a2 08 87 cop cp0,cr8,cr8,cr7,0x4
54040 +[0-9a-f]* <fsub_s>:
54041 + *[0-9a-f]*: e1 a2 1f ff cop cp0,cr15,cr15,cr15,0x5
54042 + *[0-9a-f]*: e1 a2 10 00 cop cp0,cr0,cr0,cr0,0x5
54043 + *[0-9a-f]*: e1 a2 10 ff cop cp0,cr0,cr15,cr15,0x5
54044 + *[0-9a-f]*: e1 a2 1f 0f cop cp0,cr15,cr0,cr15,0x5
54045 + *[0-9a-f]*: e1 a2 1f f0 cop cp0,cr15,cr15,cr0,0x5
54046 + *[0-9a-f]*: e1 a2 17 88 cop cp0,cr7,cr8,cr8,0x5
54047 + *[0-9a-f]*: e1 a2 18 78 cop cp0,cr8,cr7,cr8,0x5
54048 + *[0-9a-f]*: e1 a2 18 87 cop cp0,cr8,cr8,cr7,0x5
54050 +[0-9a-f]* <fmac_s>:
54051 + *[0-9a-f]*: e1 a0 0f ff cop cp0,cr15,cr15,cr15,0x0
54052 + *[0-9a-f]*: e1 a0 00 00 cop cp0,cr0,cr0,cr0,0x0
54053 + *[0-9a-f]*: e1 a0 00 ff cop cp0,cr0,cr15,cr15,0x0
54054 + *[0-9a-f]*: e1 a0 0f 0f cop cp0,cr15,cr0,cr15,0x0
54055 + *[0-9a-f]*: e1 a0 0f f0 cop cp0,cr15,cr15,cr0,0x0
54056 + *[0-9a-f]*: e1 a0 07 88 cop cp0,cr7,cr8,cr8,0x0
54057 + *[0-9a-f]*: e1 a0 08 78 cop cp0,cr8,cr7,cr8,0x0
54058 + *[0-9a-f]*: e1 a0 08 87 cop cp0,cr8,cr8,cr7,0x0
54060 +[0-9a-f]* <fnmac_s>:
54061 + *[0-9a-f]*: e1 a0 1f ff cop cp0,cr15,cr15,cr15,0x1
54062 + *[0-9a-f]*: e1 a0 10 00 cop cp0,cr0,cr0,cr0,0x1
54063 + *[0-9a-f]*: e1 a0 10 ff cop cp0,cr0,cr15,cr15,0x1
54064 + *[0-9a-f]*: e1 a0 1f 0f cop cp0,cr15,cr0,cr15,0x1
54065 + *[0-9a-f]*: e1 a0 1f f0 cop cp0,cr15,cr15,cr0,0x1
54066 + *[0-9a-f]*: e1 a0 17 88 cop cp0,cr7,cr8,cr8,0x1
54067 + *[0-9a-f]*: e1 a0 18 78 cop cp0,cr8,cr7,cr8,0x1
54068 + *[0-9a-f]*: e1 a0 18 87 cop cp0,cr8,cr8,cr7,0x1
54070 +[0-9a-f]* <fmsc_s>:
54071 + *[0-9a-f]*: e1 a1 0f ff cop cp0,cr15,cr15,cr15,0x2
54072 + *[0-9a-f]*: e1 a1 00 00 cop cp0,cr0,cr0,cr0,0x2
54073 + *[0-9a-f]*: e1 a1 00 ff cop cp0,cr0,cr15,cr15,0x2
54074 + *[0-9a-f]*: e1 a1 0f 0f cop cp0,cr15,cr0,cr15,0x2
54075 + *[0-9a-f]*: e1 a1 0f f0 cop cp0,cr15,cr15,cr0,0x2
54076 + *[0-9a-f]*: e1 a1 07 88 cop cp0,cr7,cr8,cr8,0x2
54077 + *[0-9a-f]*: e1 a1 08 78 cop cp0,cr8,cr7,cr8,0x2
54078 + *[0-9a-f]*: e1 a1 08 87 cop cp0,cr8,cr8,cr7,0x2
54080 +[0-9a-f]* <fnmsc_s>:
54081 + *[0-9a-f]*: e1 a1 1f ff cop cp0,cr15,cr15,cr15,0x3
54082 + *[0-9a-f]*: e1 a1 10 00 cop cp0,cr0,cr0,cr0,0x3
54083 + *[0-9a-f]*: e1 a1 10 ff cop cp0,cr0,cr15,cr15,0x3
54084 + *[0-9a-f]*: e1 a1 1f 0f cop cp0,cr15,cr0,cr15,0x3
54085 + *[0-9a-f]*: e1 a1 1f f0 cop cp0,cr15,cr15,cr0,0x3
54086 + *[0-9a-f]*: e1 a1 17 88 cop cp0,cr7,cr8,cr8,0x3
54087 + *[0-9a-f]*: e1 a1 18 78 cop cp0,cr8,cr7,cr8,0x3
54088 + *[0-9a-f]*: e1 a1 18 87 cop cp0,cr8,cr8,cr7,0x3
54090 +[0-9a-f]* <fmul_s>:
54091 + *[0-9a-f]*: e1 a3 0f ff cop cp0,cr15,cr15,cr15,0x6
54092 + *[0-9a-f]*: e1 a3 00 00 cop cp0,cr0,cr0,cr0,0x6
54093 + *[0-9a-f]*: e1 a3 00 ff cop cp0,cr0,cr15,cr15,0x6
54094 + *[0-9a-f]*: e1 a3 0f 0f cop cp0,cr15,cr0,cr15,0x6
54095 + *[0-9a-f]*: e1 a3 0f f0 cop cp0,cr15,cr15,cr0,0x6
54096 + *[0-9a-f]*: e1 a3 07 88 cop cp0,cr7,cr8,cr8,0x6
54097 + *[0-9a-f]*: e1 a3 08 78 cop cp0,cr8,cr7,cr8,0x6
54098 + *[0-9a-f]*: e1 a3 08 87 cop cp0,cr8,cr8,cr7,0x6
54100 +[0-9a-f]* <fnmul_s>:
54101 + *[0-9a-f]*: e1 a3 1f ff cop cp0,cr15,cr15,cr15,0x7
54102 + *[0-9a-f]*: e1 a3 10 00 cop cp0,cr0,cr0,cr0,0x7
54103 + *[0-9a-f]*: e1 a3 10 ff cop cp0,cr0,cr15,cr15,0x7
54104 + *[0-9a-f]*: e1 a3 1f 0f cop cp0,cr15,cr0,cr15,0x7
54105 + *[0-9a-f]*: e1 a3 1f f0 cop cp0,cr15,cr15,cr0,0x7
54106 + *[0-9a-f]*: e1 a3 17 88 cop cp0,cr7,cr8,cr8,0x7
54107 + *[0-9a-f]*: e1 a3 18 78 cop cp0,cr8,cr7,cr8,0x7
54108 + *[0-9a-f]*: e1 a3 18 87 cop cp0,cr8,cr8,cr7,0x7
54110 +[0-9a-f]* <fneg_s>:
54111 + *[0-9a-f]*: e1 a4 0f f0 cop cp0,cr15,cr15,cr0,0x8
54112 + *[0-9a-f]*: e1 a4 00 00 cop cp0,cr0,cr0,cr0,0x8
54113 + *[0-9a-f]*: e1 a4 00 f0 cop cp0,cr0,cr15,cr0,0x8
54114 + *[0-9a-f]*: e1 a4 0f 00 cop cp0,cr15,cr0,cr0,0x8
54115 + *[0-9a-f]*: e1 a4 07 80 cop cp0,cr7,cr8,cr0,0x8
54116 + *[0-9a-f]*: e1 a4 08 70 cop cp0,cr8,cr7,cr0,0x8
54118 +[0-9a-f]* <fabs_s>:
54119 + *[0-9a-f]*: e1 a4 1f f0 cop cp0,cr15,cr15,cr0,0x9
54120 + *[0-9a-f]*: e1 a4 10 00 cop cp0,cr0,cr0,cr0,0x9
54121 + *[0-9a-f]*: e1 a4 10 f0 cop cp0,cr0,cr15,cr0,0x9
54122 + *[0-9a-f]*: e1 a4 1f 00 cop cp0,cr15,cr0,cr0,0x9
54123 + *[0-9a-f]*: e1 a4 17 80 cop cp0,cr7,cr8,cr0,0x9
54124 + *[0-9a-f]*: e1 a4 18 70 cop cp0,cr8,cr7,cr0,0x9
54126 +[0-9a-f]* <fcmp_s>:
54127 + *[0-9a-f]*: e1 a6 10 ff cop cp0,cr0,cr15,cr15,0xd
54128 + *[0-9a-f]*: e1 a6 10 00 cop cp0,cr0,cr0,cr0,0xd
54129 + *[0-9a-f]*: e1 a6 10 0f cop cp0,cr0,cr0,cr15,0xd
54130 + *[0-9a-f]*: e1 a6 10 f0 cop cp0,cr0,cr15,cr0,0xd
54131 + *[0-9a-f]*: e1 a6 10 78 cop cp0,cr0,cr7,cr8,0xd
54132 + *[0-9a-f]*: e1 a6 10 87 cop cp0,cr0,cr8,cr7,0xd
54134 +[0-9a-f]* <fadd_d>:
54135 + *[0-9a-f]*: e5 a2 0e ee cop cp0,cr14,cr14,cr14,0x44
54136 + *[0-9a-f]*: e5 a2 00 00 cop cp0,cr0,cr0,cr0,0x44
54137 + *[0-9a-f]*: e5 a2 00 ee cop cp0,cr0,cr14,cr14,0x44
54138 + *[0-9a-f]*: e5 a2 0e 0e cop cp0,cr14,cr0,cr14,0x44
54139 + *[0-9a-f]*: e5 a2 0e e0 cop cp0,cr14,cr14,cr0,0x44
54140 + *[0-9a-f]*: e5 a2 06 88 cop cp0,cr6,cr8,cr8,0x44
54141 + *[0-9a-f]*: e5 a2 08 68 cop cp0,cr8,cr6,cr8,0x44
54142 + *[0-9a-f]*: e5 a2 08 86 cop cp0,cr8,cr8,cr6,0x44
54144 +[0-9a-f]* <fsub_d>:
54145 + *[0-9a-f]*: e5 a2 1e ee cop cp0,cr14,cr14,cr14,0x45
54146 + *[0-9a-f]*: e5 a2 10 00 cop cp0,cr0,cr0,cr0,0x45
54147 + *[0-9a-f]*: e5 a2 10 ee cop cp0,cr0,cr14,cr14,0x45
54148 + *[0-9a-f]*: e5 a2 1e 0e cop cp0,cr14,cr0,cr14,0x45
54149 + *[0-9a-f]*: e5 a2 1e e0 cop cp0,cr14,cr14,cr0,0x45
54150 + *[0-9a-f]*: e5 a2 16 88 cop cp0,cr6,cr8,cr8,0x45
54151 + *[0-9a-f]*: e5 a2 18 68 cop cp0,cr8,cr6,cr8,0x45
54152 + *[0-9a-f]*: e5 a2 18 86 cop cp0,cr8,cr8,cr6,0x45
54154 +[0-9a-f]* <fmac_d>:
54155 + *[0-9a-f]*: e5 a0 0e ee cop cp0,cr14,cr14,cr14,0x40
54156 + *[0-9a-f]*: e5 a0 00 00 cop cp0,cr0,cr0,cr0,0x40
54157 + *[0-9a-f]*: e5 a0 00 ee cop cp0,cr0,cr14,cr14,0x40
54158 + *[0-9a-f]*: e5 a0 0e 0e cop cp0,cr14,cr0,cr14,0x40
54159 + *[0-9a-f]*: e5 a0 0e e0 cop cp0,cr14,cr14,cr0,0x40
54160 + *[0-9a-f]*: e5 a0 06 88 cop cp0,cr6,cr8,cr8,0x40
54161 + *[0-9a-f]*: e5 a0 08 68 cop cp0,cr8,cr6,cr8,0x40
54162 + *[0-9a-f]*: e5 a0 08 86 cop cp0,cr8,cr8,cr6,0x40
54164 +[0-9a-f]* <fnmac_d>:
54165 + *[0-9a-f]*: e5 a0 1e ee cop cp0,cr14,cr14,cr14,0x41
54166 + *[0-9a-f]*: e5 a0 10 00 cop cp0,cr0,cr0,cr0,0x41
54167 + *[0-9a-f]*: e5 a0 10 ee cop cp0,cr0,cr14,cr14,0x41
54168 + *[0-9a-f]*: e5 a0 1e 0e cop cp0,cr14,cr0,cr14,0x41
54169 + *[0-9a-f]*: e5 a0 1e e0 cop cp0,cr14,cr14,cr0,0x41
54170 + *[0-9a-f]*: e5 a0 16 88 cop cp0,cr6,cr8,cr8,0x41
54171 + *[0-9a-f]*: e5 a0 18 68 cop cp0,cr8,cr6,cr8,0x41
54172 + *[0-9a-f]*: e5 a0 18 86 cop cp0,cr8,cr8,cr6,0x41
54174 +[0-9a-f]* <fmsc_d>:
54175 + *[0-9a-f]*: e5 a1 0e ee cop cp0,cr14,cr14,cr14,0x42
54176 + *[0-9a-f]*: e5 a1 00 00 cop cp0,cr0,cr0,cr0,0x42
54177 + *[0-9a-f]*: e5 a1 00 ee cop cp0,cr0,cr14,cr14,0x42
54178 + *[0-9a-f]*: e5 a1 0e 0e cop cp0,cr14,cr0,cr14,0x42
54179 + *[0-9a-f]*: e5 a1 0e e0 cop cp0,cr14,cr14,cr0,0x42
54180 + *[0-9a-f]*: e5 a1 06 88 cop cp0,cr6,cr8,cr8,0x42
54181 + *[0-9a-f]*: e5 a1 08 68 cop cp0,cr8,cr6,cr8,0x42
54182 + *[0-9a-f]*: e5 a1 08 86 cop cp0,cr8,cr8,cr6,0x42
54184 +[0-9a-f]* <fnmsc_d>:
54185 + *[0-9a-f]*: e5 a1 1e ee cop cp0,cr14,cr14,cr14,0x43
54186 + *[0-9a-f]*: e5 a1 10 00 cop cp0,cr0,cr0,cr0,0x43
54187 + *[0-9a-f]*: e5 a1 10 ee cop cp0,cr0,cr14,cr14,0x43
54188 + *[0-9a-f]*: e5 a1 1e 0e cop cp0,cr14,cr0,cr14,0x43
54189 + *[0-9a-f]*: e5 a1 1e e0 cop cp0,cr14,cr14,cr0,0x43
54190 + *[0-9a-f]*: e5 a1 16 88 cop cp0,cr6,cr8,cr8,0x43
54191 + *[0-9a-f]*: e5 a1 18 68 cop cp0,cr8,cr6,cr8,0x43
54192 + *[0-9a-f]*: e5 a1 18 86 cop cp0,cr8,cr8,cr6,0x43
54194 +[0-9a-f]* <fmul_d>:
54195 + *[0-9a-f]*: e5 a3 0e ee cop cp0,cr14,cr14,cr14,0x46
54196 + *[0-9a-f]*: e5 a3 00 00 cop cp0,cr0,cr0,cr0,0x46
54197 + *[0-9a-f]*: e5 a3 00 ee cop cp0,cr0,cr14,cr14,0x46
54198 + *[0-9a-f]*: e5 a3 0e 0e cop cp0,cr14,cr0,cr14,0x46
54199 + *[0-9a-f]*: e5 a3 0e e0 cop cp0,cr14,cr14,cr0,0x46
54200 + *[0-9a-f]*: e5 a3 06 88 cop cp0,cr6,cr8,cr8,0x46
54201 + *[0-9a-f]*: e5 a3 08 68 cop cp0,cr8,cr6,cr8,0x46
54202 + *[0-9a-f]*: e5 a3 08 86 cop cp0,cr8,cr8,cr6,0x46
54204 +[0-9a-f]* <fnmul_d>:
54205 + *[0-9a-f]*: e5 a3 1e ee cop cp0,cr14,cr14,cr14,0x47
54206 + *[0-9a-f]*: e5 a3 10 00 cop cp0,cr0,cr0,cr0,0x47
54207 + *[0-9a-f]*: e5 a3 10 ee cop cp0,cr0,cr14,cr14,0x47
54208 + *[0-9a-f]*: e5 a3 1e 0e cop cp0,cr14,cr0,cr14,0x47
54209 + *[0-9a-f]*: e5 a3 1e e0 cop cp0,cr14,cr14,cr0,0x47
54210 + *[0-9a-f]*: e5 a3 16 88 cop cp0,cr6,cr8,cr8,0x47
54211 + *[0-9a-f]*: e5 a3 18 68 cop cp0,cr8,cr6,cr8,0x47
54212 + *[0-9a-f]*: e5 a3 18 86 cop cp0,cr8,cr8,cr6,0x47
54214 +[0-9a-f]* <fneg_d>:
54215 + *[0-9a-f]*: e5 a4 0e e0 cop cp0,cr14,cr14,cr0,0x48
54216 + *[0-9a-f]*: e5 a4 00 00 cop cp0,cr0,cr0,cr0,0x48
54217 + *[0-9a-f]*: e5 a4 00 e0 cop cp0,cr0,cr14,cr0,0x48
54218 + *[0-9a-f]*: e5 a4 0e 00 cop cp0,cr14,cr0,cr0,0x48
54219 + *[0-9a-f]*: e5 a4 06 80 cop cp0,cr6,cr8,cr0,0x48
54220 + *[0-9a-f]*: e5 a4 08 60 cop cp0,cr8,cr6,cr0,0x48
54222 +[0-9a-f]* <fabs_d>:
54223 + *[0-9a-f]*: e5 a4 1e e0 cop cp0,cr14,cr14,cr0,0x49
54224 + *[0-9a-f]*: e5 a4 10 00 cop cp0,cr0,cr0,cr0,0x49
54225 + *[0-9a-f]*: e5 a4 10 e0 cop cp0,cr0,cr14,cr0,0x49
54226 + *[0-9a-f]*: e5 a4 1e 00 cop cp0,cr14,cr0,cr0,0x49
54227 + *[0-9a-f]*: e5 a4 16 80 cop cp0,cr6,cr8,cr0,0x49
54228 + *[0-9a-f]*: e5 a4 18 60 cop cp0,cr8,cr6,cr0,0x49
54230 +[0-9a-f]* <fcmp_d>:
54231 + *[0-9a-f]*: e5 a6 10 ee cop cp0,cr0,cr14,cr14,0x4d
54232 + *[0-9a-f]*: e5 a6 10 00 cop cp0,cr0,cr0,cr0,0x4d
54233 + *[0-9a-f]*: e5 a6 10 0e cop cp0,cr0,cr0,cr14,0x4d
54234 + *[0-9a-f]*: e5 a6 10 e0 cop cp0,cr0,cr14,cr0,0x4d
54235 + *[0-9a-f]*: e5 a6 10 68 cop cp0,cr0,cr6,cr8,0x4d
54236 + *[0-9a-f]*: e5 a6 10 86 cop cp0,cr0,cr8,cr6,0x4d
54238 +[0-9a-f]* <fmov_s>:
54239 + *[0-9a-f]*: e1 a5 0f f0 cop cp0,cr15,cr15,cr0,0xa
54240 + *[0-9a-f]*: e1 a5 00 00 cop cp0,cr0,cr0,cr0,0xa
54241 + *[0-9a-f]*: e1 a5 0f 00 cop cp0,cr15,cr0,cr0,0xa
54242 + *[0-9a-f]*: e1 a5 00 f0 cop cp0,cr0,cr15,cr0,0xa
54243 + *[0-9a-f]*: e1 a5 08 70 cop cp0,cr8,cr7,cr0,0xa
54244 + *[0-9a-f]*: e1 a5 07 80 cop cp0,cr7,cr8,cr0,0xa
54245 + *[0-9a-f]*: ef af 0f 00 mvcr.w cp0,pc,cr15
54246 + *[0-9a-f]*: ef a0 00 00 mvcr.w cp0,r0,cr0
54247 + *[0-9a-f]*: ef af 00 00 mvcr.w cp0,pc,cr0
54248 + *[0-9a-f]*: ef a0 0f 00 mvcr.w cp0,r0,cr15
54249 + *[0-9a-f]*: ef a8 07 00 mvcr.w cp0,r8,cr7
54250 + *[0-9a-f]*: ef a7 08 00 mvcr.w cp0,r7,cr8
54251 + *[0-9a-f]*: ef af 0f 20 mvrc.w cp0,cr15,pc
54252 + *[0-9a-f]*: ef a0 00 20 mvrc.w cp0,cr0,r0
54253 + *[0-9a-f]*: ef a0 0f 20 mvrc.w cp0,cr15,r0
54254 + *[0-9a-f]*: ef af 00 20 mvrc.w cp0,cr0,pc
54255 + *[0-9a-f]*: ef a7 08 20 mvrc.w cp0,cr8,r7
54256 + *[0-9a-f]*: ef a8 07 20 mvrc.w cp0,cr7,r8
54258 +[0-9a-f]* <fmov_d>:
54259 + *[0-9a-f]*: e5 a5 0e e0 cop cp0,cr14,cr14,cr0,0x4a
54260 + *[0-9a-f]*: e5 a5 00 00 cop cp0,cr0,cr0,cr0,0x4a
54261 + *[0-9a-f]*: e5 a5 0e 00 cop cp0,cr14,cr0,cr0,0x4a
54262 + *[0-9a-f]*: e5 a5 00 e0 cop cp0,cr0,cr14,cr0,0x4a
54263 + *[0-9a-f]*: e5 a5 08 60 cop cp0,cr8,cr6,cr0,0x4a
54264 + *[0-9a-f]*: e5 a5 06 80 cop cp0,cr6,cr8,cr0,0x4a
54265 + *[0-9a-f]*: ef ae 0e 10 mvcr.d cp0,lr,cr14
54266 + *[0-9a-f]*: ef a0 00 10 mvcr.d cp0,r0,cr0
54267 + *[0-9a-f]*: ef ae 00 10 mvcr.d cp0,lr,cr0
54268 + *[0-9a-f]*: ef a0 0e 10 mvcr.d cp0,r0,cr14
54269 + *[0-9a-f]*: ef a8 06 10 mvcr.d cp0,r8,cr6
54270 + *[0-9a-f]*: ef a6 08 10 mvcr.d cp0,r6,cr8
54271 + *[0-9a-f]*: ef ae 0e 30 mvrc.d cp0,cr14,lr
54272 + *[0-9a-f]*: ef a0 00 30 mvrc.d cp0,cr0,r0
54273 + *[0-9a-f]*: ef a0 0e 30 mvrc.d cp0,cr14,r0
54274 + *[0-9a-f]*: ef ae 00 30 mvrc.d cp0,cr0,lr
54275 + *[0-9a-f]*: ef a6 08 30 mvrc.d cp0,cr8,r6
54276 + *[0-9a-f]*: ef a8 06 30 mvrc.d cp0,cr6,r8
54278 +[0-9a-f]* <fcasts_d>:
54279 + *[0-9a-f]*: e1 a7 1f e0 cop cp0,cr15,cr14,cr0,0xf
54280 + *[0-9a-f]*: e1 a7 10 00 cop cp0,cr0,cr0,cr0,0xf
54281 + *[0-9a-f]*: e1 a7 1f 00 cop cp0,cr15,cr0,cr0,0xf
54282 + *[0-9a-f]*: e1 a7 10 e0 cop cp0,cr0,cr14,cr0,0xf
54283 + *[0-9a-f]*: e1 a7 18 60 cop cp0,cr8,cr6,cr0,0xf
54284 + *[0-9a-f]*: e1 a7 17 80 cop cp0,cr7,cr8,cr0,0xf
54286 +[0-9a-f]* <fcastd_s>:
54287 + *[0-9a-f]*: e1 a8 0e f0 cop cp0,cr14,cr15,cr0,0x10
54288 + *[0-9a-f]*: e1 a8 00 00 cop cp0,cr0,cr0,cr0,0x10
54289 + *[0-9a-f]*: e1 a8 0e 00 cop cp0,cr14,cr0,cr0,0x10
54290 + *[0-9a-f]*: e1 a8 00 f0 cop cp0,cr0,cr15,cr0,0x10
54291 + *[0-9a-f]*: e1 a8 08 70 cop cp0,cr8,cr7,cr0,0x10
54292 + *[0-9a-f]*: e1 a8 06 80 cop cp0,cr6,cr8,cr0,0x10
54293 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/fpinsn.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/fpinsn.s
54294 --- binutils-2.17/gas/testsuite/gas/avr32/fpinsn.s 1970-01-01 01:00:00.000000000 +0100
54295 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/fpinsn.s 2007-03-26 10:19:48.000000000 +0200
54301 + fadd.s fr15, fr15, fr15
54302 + fadd.s fr0, fr0, fr0
54303 + fadd.s fr0, fr15, fr15
54304 + fadd.s fr15, fr0, fr15
54305 + fadd.s fr15, fr15, fr0
54306 + fadd.s fr7, fr8, fr8
54307 + fadd.s fr8, fr7, fr8
54308 + fadd.s fr8, fr8, fr7
54311 + fsub.s fr15, fr15, fr15
54312 + fsub.s fr0, fr0, fr0
54313 + fsub.s fr0, fr15, fr15
54314 + fsub.s fr15, fr0, fr15
54315 + fsub.s fr15, fr15, fr0
54316 + fsub.s fr7, fr8, fr8
54317 + fsub.s fr8, fr7, fr8
54318 + fsub.s fr8, fr8, fr7
54321 + fmac.s fr15, fr15, fr15
54322 + fmac.s fr0, fr0, fr0
54323 + fmac.s fr0, fr15, fr15
54324 + fmac.s fr15, fr0, fr15
54325 + fmac.s fr15, fr15, fr0
54326 + fmac.s fr7, fr8, fr8
54327 + fmac.s fr8, fr7, fr8
54328 + fmac.s fr8, fr8, fr7
54331 + fnmac.s fr15, fr15, fr15
54332 + fnmac.s fr0, fr0, fr0
54333 + fnmac.s fr0, fr15, fr15
54334 + fnmac.s fr15, fr0, fr15
54335 + fnmac.s fr15, fr15, fr0
54336 + fnmac.s fr7, fr8, fr8
54337 + fnmac.s fr8, fr7, fr8
54338 + fnmac.s fr8, fr8, fr7
54341 + fmsc.s fr15, fr15, fr15
54342 + fmsc.s fr0, fr0, fr0
54343 + fmsc.s fr0, fr15, fr15
54344 + fmsc.s fr15, fr0, fr15
54345 + fmsc.s fr15, fr15, fr0
54346 + fmsc.s fr7, fr8, fr8
54347 + fmsc.s fr8, fr7, fr8
54348 + fmsc.s fr8, fr8, fr7
54351 + fnmsc.s fr15, fr15, fr15
54352 + fnmsc.s fr0, fr0, fr0
54353 + fnmsc.s fr0, fr15, fr15
54354 + fnmsc.s fr15, fr0, fr15
54355 + fnmsc.s fr15, fr15, fr0
54356 + fnmsc.s fr7, fr8, fr8
54357 + fnmsc.s fr8, fr7, fr8
54358 + fnmsc.s fr8, fr8, fr7
54361 + fmul.s fr15, fr15, fr15
54362 + fmul.s fr0, fr0, fr0
54363 + fmul.s fr0, fr15, fr15
54364 + fmul.s fr15, fr0, fr15
54365 + fmul.s fr15, fr15, fr0
54366 + fmul.s fr7, fr8, fr8
54367 + fmul.s fr8, fr7, fr8
54368 + fmul.s fr8, fr8, fr7
54371 + fnmul.s fr15, fr15, fr15
54372 + fnmul.s fr0, fr0, fr0
54373 + fnmul.s fr0, fr15, fr15
54374 + fnmul.s fr15, fr0, fr15
54375 + fnmul.s fr15, fr15, fr0
54376 + fnmul.s fr7, fr8, fr8
54377 + fnmul.s fr8, fr7, fr8
54378 + fnmul.s fr8, fr8, fr7
54381 + fneg.s fr15, fr15
54389 + fabs.s fr15, fr15
54397 + fcmp.s fr15, fr15
54405 + fadd.d fr14, fr14, fr14
54406 + fadd.d fr0, fr0, fr0
54407 + fadd.d fr0, fr14, fr14
54408 + fadd.d fr14, fr0, fr14
54409 + fadd.d fr14, fr14, fr0
54410 + fadd.d fr6, fr8, fr8
54411 + fadd.d fr8, fr6, fr8
54412 + fadd.d fr8, fr8, fr6
54415 + fsub.d fr14, fr14, fr14
54416 + fsub.d fr0, fr0, fr0
54417 + fsub.d fr0, fr14, fr14
54418 + fsub.d fr14, fr0, fr14
54419 + fsub.d fr14, fr14, fr0
54420 + fsub.d fr6, fr8, fr8
54421 + fsub.d fr8, fr6, fr8
54422 + fsub.d fr8, fr8, fr6
54425 + fmac.d fr14, fr14, fr14
54426 + fmac.d fr0, fr0, fr0
54427 + fmac.d fr0, fr14, fr14
54428 + fmac.d fr14, fr0, fr14
54429 + fmac.d fr14, fr14, fr0
54430 + fmac.d fr6, fr8, fr8
54431 + fmac.d fr8, fr6, fr8
54432 + fmac.d fr8, fr8, fr6
54435 + fnmac.d fr14, fr14, fr14
54436 + fnmac.d fr0, fr0, fr0
54437 + fnmac.d fr0, fr14, fr14
54438 + fnmac.d fr14, fr0, fr14
54439 + fnmac.d fr14, fr14, fr0
54440 + fnmac.d fr6, fr8, fr8
54441 + fnmac.d fr8, fr6, fr8
54442 + fnmac.d fr8, fr8, fr6
54445 + fmsc.d fr14, fr14, fr14
54446 + fmsc.d fr0, fr0, fr0
54447 + fmsc.d fr0, fr14, fr14
54448 + fmsc.d fr14, fr0, fr14
54449 + fmsc.d fr14, fr14, fr0
54450 + fmsc.d fr6, fr8, fr8
54451 + fmsc.d fr8, fr6, fr8
54452 + fmsc.d fr8, fr8, fr6
54455 + fnmsc.d fr14, fr14, fr14
54456 + fnmsc.d fr0, fr0, fr0
54457 + fnmsc.d fr0, fr14, fr14
54458 + fnmsc.d fr14, fr0, fr14
54459 + fnmsc.d fr14, fr14, fr0
54460 + fnmsc.d fr6, fr8, fr8
54461 + fnmsc.d fr8, fr6, fr8
54462 + fnmsc.d fr8, fr8, fr6
54465 + fmul.d fr14, fr14, fr14
54466 + fmul.d fr0, fr0, fr0
54467 + fmul.d fr0, fr14, fr14
54468 + fmul.d fr14, fr0, fr14
54469 + fmul.d fr14, fr14, fr0
54470 + fmul.d fr6, fr8, fr8
54471 + fmul.d fr8, fr6, fr8
54472 + fmul.d fr8, fr8, fr6
54475 + fnmul.d fr14, fr14, fr14
54476 + fnmul.d fr0, fr0, fr0
54477 + fnmul.d fr0, fr14, fr14
54478 + fnmul.d fr14, fr0, fr14
54479 + fnmul.d fr14, fr14, fr0
54480 + fnmul.d fr6, fr8, fr8
54481 + fnmul.d fr8, fr6, fr8
54482 + fnmul.d fr8, fr8, fr6
54485 + fneg.d fr14, fr14
54493 + fabs.d fr14, fr14
54501 + fcmp.d fr14, fr14
54509 + fmov.s fr15, fr15
54529 + fmov.d fr14, fr14
54549 + fcasts.d fr15, fr14
54550 + fcasts.d fr0, fr0
54551 + fcasts.d fr15, fr0
54552 + fcasts.d fr0, fr14
54553 + fcasts.d fr8, fr6
54554 + fcasts.d fr7, fr8
54557 + fcastd.s fr14, fr15
54558 + fcastd.s fr0, fr0
54559 + fcastd.s fr14, fr0
54560 + fcastd.s fr0, fr15
54561 + fcastd.s fr8, fr7
54562 + fcastd.s fr6, fr8
54563 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/hwrd-lwrd.d
54564 --- binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.d 1970-01-01 01:00:00.000000000 +0100
54565 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/hwrd-lwrd.d 2007-03-26 10:19:48.000000000 +0200
54571 +.*: +file format .*
54573 +Disassembly of section \.text:
54575 +00000000 <test_hwrd>:
54576 + 0: e0 60 87 65 mov r0,34661
54577 + 4: e0 60 12 34 mov r0,4660
54578 + 8: e0 60 00 00 mov r0,0
54579 + 8: R_AVR32_HI16 \.text\+0x60
54580 + c: e0 60 00 00 mov r0,0
54581 + c: R_AVR32_HI16 extsym1
54582 + 10: ea 10 87 65 orh r0,0x8765
54583 + 14: ea 10 12 34 orh r0,0x1234
54584 + 18: ea 10 00 00 orh r0,0x0
54585 + 18: R_AVR32_HI16 \.text\+0x60
54586 + 1c: ea 10 00 00 orh r0,0x0
54587 + 1c: R_AVR32_HI16 extsym1
54588 + 20: e4 10 87 65 andh r0,0x8765
54589 + 24: e4 10 12 34 andh r0,0x1234
54590 + 28: e4 10 00 00 andh r0,0x0
54591 + 28: R_AVR32_HI16 \.text\+0x60
54592 + 2c: e4 10 00 00 andh r0,0x0
54593 + 2c: R_AVR32_HI16 extsym1
54595 +00000030 <test_lwrd>:
54596 + 30: e0 60 43 21 mov r0,17185
54597 + 34: e0 60 56 78 mov r0,22136
54598 + 38: e0 60 00 00 mov r0,0
54599 + 38: R_AVR32_LO16 \.text\+0x60
54600 + 3c: e0 60 00 00 mov r0,0
54601 + 3c: R_AVR32_LO16 extsym1
54602 + 40: e8 10 43 21 orl r0,0x4321
54603 + 44: e8 10 56 78 orl r0,0x5678
54604 + 48: e8 10 00 00 orl r0,0x0
54605 + 48: R_AVR32_LO16 \.text\+0x60
54606 + 4c: e8 10 00 00 orl r0,0x0
54607 + 4c: R_AVR32_LO16 extsym1
54608 + 50: e0 10 43 21 andl r0,0x4321
54609 + 54: e0 10 56 78 andl r0,0x5678
54610 + 58: e0 10 00 00 andl r0,0x0
54611 + 58: R_AVR32_LO16 \.text\+0x60
54612 + 5c: e0 10 00 00 andl r0,0x0
54613 + 5c: R_AVR32_LO16 extsym1
54614 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/hwrd-lwrd.s
54615 --- binutils-2.17/gas/testsuite/gas/avr32/hwrd-lwrd.s 1970-01-01 01:00:00.000000000 +0100
54616 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/hwrd-lwrd.s 2007-03-26 10:19:48.000000000 +0200
54619 + .equ sym1, 0x12345678
54622 + .global test_hwrd
54624 + mov r0, hi(0x87654321)
54627 + mov r0, hi(extsym1)
54629 + orh r0, hi(0x87654321)
54632 + orh r0, hi(extsym1)
54634 + andh r0, hi(0x87654321)
54635 + andh r0, hi(sym1)
54636 + andh r0, hi(sym2)
54637 + andh r0, hi(extsym1)
54639 + .global test_lwrd
54641 + mov r0, lo(0x87654321)
54644 + mov r0, lo(extsym1)
54646 + orl r0, lo(0x87654321)
54649 + orl r0, lo(extsym1)
54651 + andl r0, lo(0x87654321)
54652 + andl r0, lo(sym1)
54653 + andl r0, lo(sym2)
54654 + andl r0, lo(extsym1)
54657 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/jmptable.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/jmptable.d
54658 --- binutils-2.17/gas/testsuite/gas/avr32/jmptable.d 1970-01-01 01:00:00.000000000 +0100
54659 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/jmptable.d 2007-03-26 10:19:48.000000000 +0200
54661 +#source: jmptable.s
54666 +.*: +file format .*
54668 +Disassembly of section \.text:
54670 +00000000 <jmptable_test>:
54671 + 0: fe c8 ff f4 sub r8,pc,-12
54672 + 4: f0 00 00 2f add pc,r8,r0<<0x2
54674 + a: 00 00 add r0,r0
54675 + c: c0 38 rjmp 12 <jmptable_test\+0x12>
54676 + e: c0 38 rjmp 14 <jmptable_test\+0x14>
54677 + 10: c0 38 rjmp 16 <jmptable_test\+0x16>
54681 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/jmptable_linkrelax.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/jmptable_linkrelax.d
54682 --- binutils-2.17/gas/testsuite/gas/avr32/jmptable_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
54683 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/jmptable_linkrelax.d 2007-03-26 10:19:48.000000000 +0200
54685 +#source: jmptable.s
54688 +#name: jmptable_linkrelax
54690 +.*: +file format .*
54692 +Disassembly of section \.text:
54694 +00000000 <jmptable_test>:
54695 + 0: fe c8 00 00 sub r8,pc,0
54696 + 0: R_AVR32_16N_PCREL \.text\+0xc
54697 + 4: f0 00 00 2f add pc,r8,r0<<0x2
54699 + a: 00 00 add r0,r0
54700 + a: R_AVR32_ALIGN \*ABS\*\+0x2
54701 + c: c0 08 rjmp c <jmptable_test\+0xc>
54702 + c: R_AVR32_11H_PCREL \.text\+0x12
54703 + e: c0 08 rjmp e <jmptable_test\+0xe>
54704 + e: R_AVR32_11H_PCREL \.text\+0x14
54705 + 10: c0 08 rjmp 10 <jmptable_test\+0x10>
54706 + 10: R_AVR32_11H_PCREL \.text\+0x16
54710 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/jmptable.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/jmptable.s
54711 --- binutils-2.17/gas/testsuite/gas/avr32/jmptable.s 1970-01-01 01:00:00.000000000 +0100
54712 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/jmptable.s 2007-03-26 10:19:48.000000000 +0200
54716 + .global jmptable_test
54718 + sub r8, pc, -(.L1 - .)
54719 + add pc, r8, r0 << 2
54728 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_nopic.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_nopic.d
54729 --- binutils-2.17/gas/testsuite/gas/avr32/lda_nopic.d 1970-01-01 01:00:00.000000000 +0100
54730 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_nopic.d 2007-03-26 10:19:48.000000000 +0200
54737 +.*: +file format .*
54739 +Disassembly of section \.text:
54741 +00000000 <lda_test>:
54742 + 0: f2 c8 00 00 sub r8,r9,0
54744 +00000004 <far_negative>:
54745 + 4: f6 ca 00 00 sub r10,r11,0
54747 + 8000: fe c0 7f fc sub r0,pc,32764
54748 + 8004: 48 31 lddpc r1,8010 <far_negative\+0x800c>
54749 + 8006: 48 42 lddpc r2,8014 <far_negative\+0x8010>
54750 + 8008: 48 43 lddpc r3,8018 <far_negative\+0x8014>
54751 + 800a: 48 54 lddpc r4,801c <far_negative\+0x8018>
54752 + 800c: fe c5 80 04 sub r5,pc,-32764
54754 + 8010: R_AVR32_32_CPENT \.text
54755 + 8014: R_AVR32_32_CPENT \.data
54756 + 8018: R_AVR32_32_CPENT undefined
54757 + 801c: R_AVR32_32_CPENT \.text\+0x1001c
54759 +00010008 <far_positive>:
54760 + 10008: fa cc 00 00 sub r12,sp,0
54762 +0001001c <toofar_positive>:
54763 + 1001c: fe ce 00 00 sub lr,pc,0
54764 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d
54765 --- binutils-2.17/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
54766 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_nopic_linkrelax.d 2007-03-26 10:19:48.000000000 +0200
54771 +#name: lda_nopic_linkrelax
54773 +.*: +file format .*
54775 +Disassembly of section \.text:
54777 +00000000 <lda_test>:
54778 + 0: f2 c8 00 00 sub r8,r9,0
54780 +00000004 <far_negative>:
54781 + 4: f6 ca 00 00 sub r10,r11,0
54783 + 8000: 48 00 lddpc r0,8000 <far_negative\+0x7ffc>
54784 + 8000: R_AVR32_9W_CP \.text\+0x800c
54785 + 8002: 48 01 lddpc r1,8000 <far_negative\+0x7ffc>
54786 + 8002: R_AVR32_9W_CP \.text\+0x8010
54787 + 8004: 48 02 lddpc r2,8004 <far_negative\+0x8000>
54788 + 8004: R_AVR32_9W_CP \.text\+0x8014
54789 + 8006: 48 03 lddpc r3,8004 <far_negative\+0x8000>
54790 + 8006: R_AVR32_9W_CP \.text\+0x8018
54791 + 8008: 48 04 lddpc r4,8008 <far_negative\+0x8004>
54792 + 8008: R_AVR32_9W_CP \.text\+0x801c
54793 + 800a: 48 05 lddpc r5,8008 <far_negative\+0x8004>
54794 + 800a: R_AVR32_9W_CP \.text\+0x8020
54796 + 800c: R_AVR32_ALIGN \*ABS\*\+0x2
54797 + 800c: R_AVR32_32_CPENT \.text\+0x4
54798 + 8010: R_AVR32_32_CPENT \.text
54799 + 8014: R_AVR32_32_CPENT \.data
54800 + 8018: R_AVR32_32_CPENT undefined
54801 + 801c: R_AVR32_32_CPENT \.text\+0x10020
54802 + 8020: R_AVR32_32_CPENT \.text\+0x1000c
54804 +0001000c <far_positive>:
54805 + 1000c: fa cc 00 00 sub r12,sp,0
54807 +00010020 <toofar_positive>:
54808 + 10020: fe ce 00 00 sub lr,pc,0
54809 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_pic.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_pic.d
54810 --- binutils-2.17/gas/testsuite/gas/avr32/lda_pic.d 1970-01-01 01:00:00.000000000 +0100
54811 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_pic.d 2007-03-26 10:19:48.000000000 +0200
54818 +.*: +file format .*
54820 +Disassembly of section \.text:
54822 +00000000 <lda_test>:
54823 + 0: f2 c8 00 00 sub r8,r9,0
54825 +00000004 <far_negative>:
54826 + 4: f6 ca 00 00 sub r10,r11,0
54828 + 8000: fe c0 7f fc sub r0,pc,32764
54829 + 8004: ec f1 00 00 ld.w r1,r6\[0\]
54830 + 8004: R_AVR32_GOT16S toofar_negative
54831 + 8008: ec f2 00 00 ld.w r2,r6\[0\]
54832 + 8008: R_AVR32_GOT16S different_section
54833 + 800c: ec f3 00 00 ld.w r3,r6\[0\]
54834 + 800c: R_AVR32_GOT16S undefined
54835 + 8010: ec f4 00 00 ld.w r4,r6\[0\]
54836 + 8010: R_AVR32_GOT16S toofar_positive
54837 + 8014: fe c5 80 14 sub r5,pc,-32748
54840 +00010000 <far_positive>:
54841 + 10000: fa cc 00 00 sub r12,sp,0
54843 +00010014 <toofar_positive>:
54844 + 10014: fe ce 00 00 sub lr,pc,0
54845 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda_pic_linkrelax.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_pic_linkrelax.d
54846 --- binutils-2.17/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
54847 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda_pic_linkrelax.d 2007-03-26 10:19:48.000000000 +0200
54850 +#as: --pic --linkrelax
54852 +#name: lda_pic_linkrelax
54854 +.*: +file format .*
54856 +Disassembly of section \.text:
54858 +00000000 <lda_test>:
54859 + 0: f2 c8 00 00 sub r8,r9,0
54861 +00000004 <far_negative>:
54862 + 4: f6 ca 00 00 sub r10,r11,0
54864 + 8000: e0 60 00 00 mov r0,0
54865 + 8000: R_AVR32_LDA_GOT far_negative
54866 + 8004: ec 00 03 20 ld\.w r0,r6\[r0<<0x2\]
54867 + 8008: e0 61 00 00 mov r1,0
54868 + 8008: R_AVR32_LDA_GOT toofar_negative
54869 + 800c: ec 01 03 21 ld\.w r1,r6\[r1<<0x2\]
54870 + 8010: e0 62 00 00 mov r2,0
54871 + 8010: R_AVR32_LDA_GOT different_section
54872 + 8014: ec 02 03 22 ld\.w r2,r6\[r2<<0x2\]
54873 + 8018: e0 63 00 00 mov r3,0
54874 + 8018: R_AVR32_LDA_GOT undefined
54875 + 801c: ec 03 03 23 ld\.w r3,r6\[r3<<0x2\]
54876 + 8020: e0 64 00 00 mov r4,0
54877 + 8020: R_AVR32_LDA_GOT toofar_positive
54878 + 8024: ec 04 03 24 ld\.w r4,r6\[r4<<0x2\]
54879 + 8028: e0 65 00 00 mov r5,0
54880 + 8028: R_AVR32_LDA_GOT far_positive
54881 + 802c: ec 05 03 25 ld\.w r5,r6\[r5<<0x2\]
54884 +00010018 <far_positive>:
54885 + 10018: fa cc 00 00 sub r12,sp,0
54887 +0001002c <toofar_positive>:
54888 + 1002c: fe ce 00 00 sub lr,pc,0
54889 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/lda.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda.s
54890 --- binutils-2.17/gas/testsuite/gas/avr32/lda.s 1970-01-01 01:00:00.000000000 +0100
54891 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/lda.s 2007-03-26 10:19:48.000000000 +0200
54902 + .fill 32760, 1, 0x00
54904 + lda.w r0, far_negative
54905 + lda.w r1, toofar_negative
54906 + lda.w r2, different_section
54907 + lda.w r3, undefined
54908 + lda.w r4, toofar_positive
54909 + lda.w r5, far_positive
54913 + .fill 32744, 1, 0x00
54916 + .fill 16, 1, 0x00
54921 +different_section:
54923 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pcrel.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pcrel.d
54924 --- binutils-2.17/gas/testsuite/gas/avr32/pcrel.d 1970-01-01 01:00:00.000000000 +0100
54925 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pcrel.d 2007-03-26 10:19:48.000000000 +0200
54931 +.*: +file format .*
54933 +Disassembly of section \.text:
54935 +00000000 <test_rjmp>:
54937 + 2: c0 28 rjmp 6 <test_rjmp\+0x6>
54939 + 6: e0 8f 00 00 bral 6 <test_rjmp\+0x6>
54940 + 6: R_AVR32_22H_PCREL extsym10
54942 +0000000a <test_rcall>:
54944 +0000000c <test_rcall2>:
54945 + c: c0 2c rcall 10 <test_rcall2\+0x4>
54947 + 10: e0 a0 00 00 rcall 10 <test_rcall2\+0x4>
54948 + 10: R_AVR32_22H_PCREL extsym21
54950 +00000014 <test_branch>:
54951 + 14: c0 31 brne 1a <test_branch\+0x6>
54952 + 16: e0 8f 00 00 bral 16 <test_branch\+0x2>
54953 + 16: R_AVR32_22H_PCREL test_branch
54954 + 1a: e0 80 00 00 breq 1a <test_branch\+0x6>
54955 + 1a: R_AVR32_22H_PCREL extsym21
54957 +0000001e <test_lddpc>:
54958 + 1e: 48 30 lddpc r0,28 <sym1>
54959 + 20: 48 20 lddpc r0,28 <sym1>
54960 + 22: fe f0 00 00 ld.w r0,pc\[0\]
54961 + 22: R_AVR32_16B_PCREL extsym16
54968 +0000002c <test_local>:
54969 + 2c: 48 20 lddpc r0,34 <test_local\+0x8>
54970 + 2e: 48 30 lddpc r0,38 <test_local\+0xc>
54971 + 30: 48 20 lddpc r0,38 <test_local\+0xc>
54972 + 32: 00 00 add r0,r0
54978 +Disassembly of section \.text\.init:
54980 +00000000 <test_inter_section>:
54981 + 0: e0 a0 .. .. rcall [0-9a-f]+ <.*>
54982 + 0: R_AVR32_22H_PCREL test_rcall
54984 + 6: e0 a0 .. .. rcall [0-9a-f]+ <.*>
54985 + 6: R_AVR32_22H_PCREL test_rcall
54986 + a: e0 a0 .. .. rcall [0-9a-z]+ <.*>
54987 + a: R_AVR32_22H_PCREL \.text\+0xc
54989 + 10: e0 a0 .. .. rcall [0-9a-f]+ <.*>
54990 + 10: R_AVR32_22H_PCREL \.text\+0xc
54991 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pcrel.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pcrel.s
54992 --- binutils-2.17/gas/testsuite/gas/avr32/pcrel.s 1970-01-01 01:00:00.000000000 +0100
54993 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pcrel.s 2007-03-26 10:19:48.000000000 +0200
54997 + .global test_rjmp
55004 + .global test_rcall
55012 + .global test_branch
55015 + /* This will generate a reloc since test_branch is global */
55019 + .global test_lddpc
55023 + lddpc r0,extsym16
55029 + .global test_local
55033 + lddpc r0, .LC1 + 0x4
55043 + .section .text.init,"ax"
55044 + .global test_inter_section
55045 +test_inter_section:
55049 + rcall test_rcall2
55051 + rcall test_rcall2
55052 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pico.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pico.d
55053 --- binutils-2.17/gas/testsuite/gas/avr32/pico.d 1970-01-01 01:00:00.000000000 +0100
55054 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pico.d 2007-03-26 10:19:48.000000000 +0200
55060 +.*: +file format .*
55062 +Disassembly of section \.text:
55064 +[0-9a-f]* <picosvmac>:
55065 + *[0-9a-f]*: e1 a6 20 00 cop cp1,cr0,cr0,cr0,0xc
55066 + *[0-9a-f]*: e1 a7 2b bb cop cp1,cr11,cr11,cr11,0xe
55067 + *[0-9a-f]*: e1 a6 3a 05 cop cp1,cr10,cr0,cr5,0xd
55068 + *[0-9a-f]*: e1 a7 36 90 cop cp1,cr6,cr9,cr0,0xf
55070 +[0-9a-f]* <picosvmul>:
55071 + *[0-9a-f]*: e1 a4 20 00 cop cp1,cr0,cr0,cr0,0x8
55072 + *[0-9a-f]*: e1 a5 2b bb cop cp1,cr11,cr11,cr11,0xa
55073 + *[0-9a-f]*: e1 a4 3a 05 cop cp1,cr10,cr0,cr5,0x9
55074 + *[0-9a-f]*: e1 a5 36 90 cop cp1,cr6,cr9,cr0,0xb
55076 +[0-9a-f]* <picovmac>:
55077 + *[0-9a-f]*: e1 a2 20 00 cop cp1,cr0,cr0,cr0,0x4
55078 + *[0-9a-f]*: e1 a3 2b bb cop cp1,cr11,cr11,cr11,0x6
55079 + *[0-9a-f]*: e1 a2 3a 05 cop cp1,cr10,cr0,cr5,0x5
55080 + *[0-9a-f]*: e1 a3 36 90 cop cp1,cr6,cr9,cr0,0x7
55082 +[0-9a-f]* <picovmul>:
55083 + *[0-9a-f]*: e1 a0 20 00 cop cp1,cr0,cr0,cr0,0x0
55084 + *[0-9a-f]*: e1 a1 2b bb cop cp1,cr11,cr11,cr11,0x2
55085 + *[0-9a-f]*: e1 a0 3a 05 cop cp1,cr10,cr0,cr5,0x1
55086 + *[0-9a-f]*: e1 a1 36 90 cop cp1,cr6,cr9,cr0,0x3
55088 +[0-9a-f]* <picold_d>:
55089 + *[0-9a-f]*: e9 af 3e ff ldc\.d cp1,cr14,pc\[0x3fc\]
55090 + *[0-9a-f]*: e9 a0 30 ff ldc\.d cp1,cr0,r0\[0x3fc\]
55091 + *[0-9a-f]*: e9 a0 30 00 ldc\.d cp1,cr0,r0\[0x0\]
55092 + *[0-9a-f]*: ef a8 26 50 ldc\.d cp1,cr6,--r8
55093 + *[0-9a-f]*: ef a7 28 50 ldc\.d cp1,cr8,--r7
55094 + *[0-9a-f]*: ef aa 32 65 ldc\.d cp1,cr2,r10\[r5<<0x2\]
55095 + *[0-9a-f]*: ef a3 3c 46 ldc\.d cp1,cr12,r3\[r6\]
55097 +[0-9a-f]* <picold_w>:
55098 + *[0-9a-f]*: e9 af 2f ff ldc\.w cp1,cr15,pc\[0x3fc\]
55099 + *[0-9a-f]*: e9 a0 20 ff ldc\.w cp1,cr0,r0\[0x3fc\]
55100 + *[0-9a-f]*: e9 a0 20 00 ldc\.w cp1,cr0,r0\[0x0\]
55101 + *[0-9a-f]*: ef a8 27 40 ldc\.w cp1,cr7,--r8
55102 + *[0-9a-f]*: ef a7 28 40 ldc\.w cp1,cr8,--r7
55103 + *[0-9a-f]*: ef aa 31 25 ldc\.w cp1,cr1,r10\[r5<<0x2\]
55104 + *[0-9a-f]*: ef a3 3d 06 ldc\.w cp1,cr13,r3\[r6\]
55106 +[0-9a-f]* <picoldm_d>:
55107 + *[0-9a-f]*: ed af 24 ff ldcm\.d cp1,pc,cr0-cr15
55108 + *[0-9a-f]*: ed a0 24 01 ldcm\.d cp1,r0,cr0-cr1
55109 + *[0-9a-f]*: ed a7 24 80 ldcm\.d cp1,r7,cr14-cr15
55110 + *[0-9a-f]*: ed a8 24 7f ldcm\.d cp1,r8,cr0-cr13
55112 +[0-9a-f]* <picoldm_d_pu>:
55113 + *[0-9a-f]*: ed af 34 ff ldcm\.d cp1,pc\+\+,cr0-cr15
55114 + *[0-9a-f]*: ed a0 34 01 ldcm\.d cp1,r0\+\+,cr0-cr1
55115 + *[0-9a-f]*: ed a7 34 80 ldcm\.d cp1,r7\+\+,cr14-cr15
55116 + *[0-9a-f]*: ed a8 34 7f ldcm\.d cp1,r8\+\+,cr0-cr13
55118 +[0-9a-f]* <picoldm_w>:
55119 + *[0-9a-f]*: ed af 20 ff ldcm\.w cp1,pc,cr0-cr7
55120 + *[0-9a-f]*: ed a0 20 01 ldcm\.w cp1,r0,cr0
55121 + *[0-9a-f]*: ed a7 20 80 ldcm\.w cp1,r7,cr7
55122 + *[0-9a-f]*: ed a8 20 7f ldcm\.w cp1,r8,cr0-cr6
55123 + *[0-9a-f]*: ed af 21 ff ldcm\.w cp1,pc,cr8-cr15
55124 + *[0-9a-f]*: ed a0 21 01 ldcm\.w cp1,r0,cr8
55125 + *[0-9a-f]*: ed a7 21 80 ldcm\.w cp1,r7,cr15
55126 + *[0-9a-f]*: ed a8 21 7f ldcm\.w cp1,r8,cr8-cr14
55128 +[0-9a-f]* <picoldm_w_pu>:
55129 + *[0-9a-f]*: ed af 30 ff ldcm\.w cp1,pc\+\+,cr0-cr7
55130 + *[0-9a-f]*: ed a0 30 01 ldcm\.w cp1,r0\+\+,cr0
55131 + *[0-9a-f]*: ed a7 30 80 ldcm\.w cp1,r7\+\+,cr7
55132 + *[0-9a-f]*: ed a8 30 7f ldcm\.w cp1,r8\+\+,cr0-cr6
55133 + *[0-9a-f]*: ed af 31 ff ldcm\.w cp1,pc\+\+,cr8-cr15
55134 + *[0-9a-f]*: ed a0 31 01 ldcm\.w cp1,r0\+\+,cr8
55135 + *[0-9a-f]*: ed a7 31 80 ldcm\.w cp1,r7\+\+,cr15
55136 + *[0-9a-f]*: ed a8 31 7f ldcm\.w cp1,r8\+\+,cr8-cr14
55138 +[0-9a-f]* <picomv_d>:
55139 + *[0-9a-f]*: ef ae 2e 30 mvrc\.d cp1,cr14,lr
55140 + *[0-9a-f]*: ef a0 20 30 mvrc\.d cp1,cr0,r0
55141 + *[0-9a-f]*: ef a8 26 30 mvrc\.d cp1,cr6,r8
55142 + *[0-9a-f]*: ef a6 28 30 mvrc\.d cp1,cr8,r6
55143 + *[0-9a-f]*: ef ae 2e 10 mvcr\.d cp1,lr,cr14
55144 + *[0-9a-f]*: ef a0 20 10 mvcr\.d cp1,r0,cr0
55145 + *[0-9a-f]*: ef a8 26 10 mvcr\.d cp1,r8,cr6
55146 + *[0-9a-f]*: ef a6 28 10 mvcr\.d cp1,r6,cr8
55148 +[0-9a-f]* <picomv_w>:
55149 + *[0-9a-f]*: ef af 2f 20 mvrc\.w cp1,cr15,pc
55150 + *[0-9a-f]*: ef a0 20 20 mvrc\.w cp1,cr0,r0
55151 + *[0-9a-f]*: ef a8 27 20 mvrc\.w cp1,cr7,r8
55152 + *[0-9a-f]*: ef a7 28 20 mvrc\.w cp1,cr8,r7
55153 + *[0-9a-f]*: ef af 2f 00 mvcr\.w cp1,pc,cr15
55154 + *[0-9a-f]*: ef a0 20 00 mvcr\.w cp1,r0,cr0
55155 + *[0-9a-f]*: ef a8 27 00 mvcr\.w cp1,r8,cr7
55156 + *[0-9a-f]*: ef a7 28 00 mvcr\.w cp1,r7,cr8
55158 +[0-9a-f]* <picost_d>:
55159 + *[0-9a-f]*: eb af 3e ff stc\.d cp1,pc\[0x3fc\],cr14
55160 + *[0-9a-f]*: eb a0 30 00 stc\.d cp1,r0\[0x0\],cr0
55161 + *[0-9a-f]*: ef a8 26 70 stc\.d cp1,r8\+\+,cr6
55162 + *[0-9a-f]*: ef a7 28 70 stc\.d cp1,r7\+\+,cr8
55163 + *[0-9a-f]*: ef aa 32 e5 stc\.d cp1,r10\[r5<<0x2\],cr2
55164 + *[0-9a-f]*: ef a3 3c c6 stc\.d cp1,r3\[r6\],cr12
55166 +[0-9a-f]* <picost_w>:
55167 + *[0-9a-f]*: eb af 2f ff stc\.w cp1,pc\[0x3fc\],cr15
55168 + *[0-9a-f]*: eb a0 20 00 stc\.w cp1,r0\[0x0\],cr0
55169 + *[0-9a-f]*: ef a8 27 60 stc\.w cp1,r8\+\+,cr7
55170 + *[0-9a-f]*: ef a7 28 60 stc\.w cp1,r7\+\+,cr8
55171 + *[0-9a-f]*: ef aa 31 a5 stc\.w cp1,r10\[r5<<0x2\],cr1
55172 + *[0-9a-f]*: ef a3 3d 86 stc\.w cp1,r3\[r6\],cr13
55174 +[0-9a-f]* <picostm_d>:
55175 + *[0-9a-f]*: ed af 25 ff stcm\.d cp1,pc,cr0-cr15
55176 + *[0-9a-f]*: ed a0 25 01 stcm\.d cp1,r0,cr0-cr1
55177 + *[0-9a-f]*: ed a7 25 80 stcm\.d cp1,r7,cr14-cr15
55178 + *[0-9a-f]*: ed a8 25 7f stcm\.d cp1,r8,cr0-cr13
55180 +[0-9a-f]* <picostm_d_pu>:
55181 + *[0-9a-f]*: ed af 35 ff stcm\.d cp1,--pc,cr0-cr15
55182 + *[0-9a-f]*: ed a0 35 01 stcm\.d cp1,--r0,cr0-cr1
55183 + *[0-9a-f]*: ed a7 35 80 stcm\.d cp1,--r7,cr14-cr15
55184 + *[0-9a-f]*: ed a8 35 7f stcm\.d cp1,--r8,cr0-cr13
55186 +[0-9a-f]* <picostm_w>:
55187 + *[0-9a-f]*: ed af 22 ff stcm\.w cp1,pc,cr0-cr7
55188 + *[0-9a-f]*: ed a0 22 01 stcm\.w cp1,r0,cr0
55189 + *[0-9a-f]*: ed a7 22 80 stcm\.w cp1,r7,cr7
55190 + *[0-9a-f]*: ed a8 22 7f stcm\.w cp1,r8,cr0-cr6
55191 + *[0-9a-f]*: ed af 23 ff stcm\.w cp1,pc,cr8-cr15
55192 + *[0-9a-f]*: ed a0 23 01 stcm\.w cp1,r0,cr8
55193 + *[0-9a-f]*: ed a7 23 80 stcm\.w cp1,r7,cr15
55194 + *[0-9a-f]*: ed a8 23 7f stcm\.w cp1,r8,cr8-cr14
55196 +[0-9a-f]* <picostm_w_pu>:
55197 + *[0-9a-f]*: ed af 32 ff stcm\.w cp1,--pc,cr0-cr7
55198 + *[0-9a-f]*: ed a0 32 01 stcm\.w cp1,--r0,cr0
55199 + *[0-9a-f]*: ed a7 32 80 stcm\.w cp1,--r7,cr7
55200 + *[0-9a-f]*: ed a8 32 7f stcm\.w cp1,--r8,cr0-cr6
55201 + *[0-9a-f]*: ed af 33 ff stcm\.w cp1,--pc,cr8-cr15
55202 + *[0-9a-f]*: ed a0 33 01 stcm\.w cp1,--r0,cr8
55203 + *[0-9a-f]*: ed a7 33 80 stcm\.w cp1,--r7,cr15
55204 + *[0-9a-f]*: ed a8 33 7f stcm\.w cp1,--r8,cr8-cr14
55205 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pico.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pico.s
55206 --- binutils-2.17/gas/testsuite/gas/avr32/pico.s 1970-01-01 01:00:00.000000000 +0100
55207 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pico.s 2007-03-26 10:19:48.000000000 +0200
55211 + .global picosvmac
55213 + picosvmac out0, in0, in0, in0
55214 + picosvmac out2, in11, in11, in11
55215 + picosvmac out1, in10, in0, in5
55216 + picosvmac out3, in6, in9, in0
55217 + .global picosvmul
55219 + picosvmul out0, in0, in0, in0
55220 + picosvmul out2, in11, in11, in11
55221 + picosvmul out1, in10, in0, in5
55222 + picosvmul out3, in6, in9, in0
55225 + picovmac out0, in0, in0, in0
55226 + picovmac out2, in11, in11, in11
55227 + picovmac out1, in10, in0, in5
55228 + picovmac out3, in6, in9, in0
55231 + picovmul out0, in0, in0, in0
55232 + picovmul out2, in11, in11, in11
55233 + picovmul out1, in10, in0, in5
55234 + picovmul out3, in6, in9, in0
55237 + picold.d vmu2_out, pc[1020]
55238 + picold.d inpix2, r0[1020]
55239 + picold.d inpix2, r0[0]
55240 + picold.d coeff0_a, --r8
55241 + picold.d coeff1_a, --r7
55242 + picold.d inpix0, r10[r5 << 2]
55243 + picold.d vmu0_out, r3[r6 << 0]
55246 + picold.w config, pc[1020]
55247 + picold.w inpix2, r0[1020]
55248 + picold.w inpix2, r0[0]
55249 + picold.w coeff0_b, --r8
55250 + picold.w coeff1_a, --r7
55251 + picold.w inpix1, r10[r5 << 2]
55252 + picold.w vmu1_out, r3[r6 << 0]
55253 + .global picoldm_d
55255 + picoldm.d pc, inpix2-config
55256 + picoldm.d r0, inpix2, inpix1
55257 + picoldm.d r7, vmu2_out, config
55258 + picoldm.d r8, inpix2-vmu1_out
55259 + .global picoldm_d_pu
55261 + 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
55262 + picoldm.d r0++, inpix2, inpix1
55263 + picoldm.d r7++, vmu2_out, config
55264 + 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
55265 + .global picoldm_w
55267 + picoldm.w pc, inpix2-coeff0_b
55268 + picoldm.w r0, inpix2
55269 + picoldm.w r7, coeff0_b
55270 + picoldm.w r8, inpix2-coeff0_a
55271 + picoldm.w pc, coeff1_a-config
55272 + picoldm.w r0, coeff1_a
55273 + picoldm.w r7, config
55274 + picoldm.w r8, coeff1_a-vmu2_out
55275 + .global picoldm_w_pu
55277 + picoldm.w pc++, inpix2-coeff0_b
55278 + picoldm.w r0++, inpix2
55279 + picoldm.w r7++, coeff0_b
55280 + picoldm.w r8++, inpix2-coeff0_a
55281 + picoldm.w pc++, coeff1_a-config
55282 + picoldm.w r0++, coeff1_a
55283 + picoldm.w r7++, config
55284 + picoldm.w r8++, coeff1_a-vmu2_out
55287 + picomv.d vmu2_out, lr
55288 + picomv.d inpix2, r0
55289 + picomv.d coeff0_a, r8
55290 + picomv.d coeff1_a, r6
55291 + picomv.d pc, vmu2_out
55292 + picomv.d r0, inpix2
55293 + picomv.d r8, coeff0_a
55294 + picomv.d r6, coeff1_a
55297 + picomv.w config, pc
55298 + picomv.w inpix2, r0
55299 + picomv.w coeff0_b, r8
55300 + picomv.w coeff1_a, r7
55301 + picomv.w pc, config
55302 + picomv.w r0, inpix2
55303 + picomv.w r8, coeff0_b
55304 + picomv.w r7, coeff1_a
55307 + picost.d pc[1020], vmu2_out
55308 + picost.d r0[0], inpix2
55309 + picost.d r8++, coeff0_a
55310 + picost.d r7++, coeff1_a
55311 + picost.d r10[r5 << 2], inpix0
55312 + picost.d r3[r6 << 0], vmu0_out
55315 + picost.w pc[1020], config
55316 + picost.w r0[0], inpix2
55317 + picost.w r8++, coeff0_b
55318 + picost.w r7++, coeff1_a
55319 + picost.w r10[r5 << 2], inpix1
55320 + picost.w r3[r6 << 0], vmu1_out
55321 + .global picostm_d
55323 + picostm.d pc, inpix2-config
55324 + picostm.d r0, inpix2, inpix1
55325 + picostm.d r7, vmu2_out, config
55326 + picostm.d r8, inpix2-vmu1_out
55327 + .global picostm_d_pu
55329 + 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
55330 + picostm.d --r0, inpix2, inpix1
55331 + picostm.d --r7, vmu2_out, config
55332 + 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
55333 + .global picostm_w
55335 + picostm.w pc, inpix2-coeff0_b
55336 + picostm.w r0, inpix2
55337 + picostm.w r7, coeff0_b
55338 + picostm.w r8, inpix2-coeff0_a
55339 + picostm.w pc, coeff1_a-config
55340 + picostm.w r0, coeff1_a
55341 + picostm.w r7, config
55342 + picostm.w r8, coeff1_a-vmu2_out
55343 + .global picostm_w_pu
55345 + picostm.w --pc, inpix2-coeff0_b
55346 + picostm.w --r0, inpix2
55347 + picostm.w --r7, coeff0_b
55348 + picostm.w --r8, inpix2-coeff0_a
55349 + picostm.w --pc, coeff1_a-config
55350 + picostm.w --r0, coeff1_a
55351 + picostm.w --r7, config
55352 + picostm.w --r8, coeff1_a-vmu2_out
55353 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pic_reloc.d
55354 --- binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.d 1970-01-01 01:00:00.000000000 +0100
55355 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pic_reloc.d 2007-03-26 10:19:48.000000000 +0200
55361 +.*: +file format .*
55363 +Disassembly of section \.text:
55365 +00000000 <mcall_got>:
55366 + 0: f0 16 00 00 mcall r6\[0\]
55367 + 0: R_AVR32_GOT18SW extfunc
55368 + 4: f0 16 00 00 mcall r6\[0\]
55369 + 4: R_AVR32_GOT18SW \.L1
55370 + 8: f0 16 00 00 mcall r6\[0\]
55371 + 8: R_AVR32_GOT18SW \.L2
55372 + c: f0 16 00 00 mcall r6\[0\]
55373 + c: R_AVR32_GOT18SW mcall_got
55375 +00000010 <ldw_got>:
55376 + 10: ec f0 00 00 ld.w r0,r6\[0\]
55377 + 10: R_AVR32_GOT16S extvar
55378 + 14: ec f0 00 00 ld.w r0,r6\[0\]
55379 + 14: R_AVR32_GOT16S \.L3
55380 + 18: ec f0 00 00 ld.w r0,r6\[0\]
55381 + 18: R_AVR32_GOT16S \.L4
55382 + 1c: ec f0 00 00 ld.w r0,r6\[0\]
55383 + 1c: R_AVR32_GOT16S ldw_got
55384 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pic_reloc.s
55385 --- binutils-2.17/gas/testsuite/gas/avr32/pic_reloc.s 1970-01-01 01:00:00.000000000 +0100
55386 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/pic_reloc.s 2007-03-26 10:19:48.000000000 +0200
55390 + .global mcall_got
55393 + mcall r6[extfunc@got]
55394 + mcall r6[.L1@got]
55395 + mcall r6[.L2@got]
55396 + mcall r6[mcall_got@got]
55401 +.L3: ld.w r0,r6[extvar@got]
55402 + ld.w r0,r6[.L3@got]
55403 + ld.w r0,r6[.L4@got]
55404 + ld.w r0,r6[ldw_got@got]
55406 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/symdiff.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/symdiff.d
55407 --- binutils-2.17/gas/testsuite/gas/avr32/symdiff.d 1970-01-01 01:00:00.000000000 +0100
55408 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/symdiff.d 2007-03-26 10:19:48.000000000 +0200
55410 +#source: symdiff.s
55415 +.*: +file format .*
55417 +Disassembly of section \.text:
55419 +00000000 <diff32>:
55420 + 0: 00 00 add r0,r0
55421 + 2: 00 04 add r4,r0
55423 +00000004 <diff16>:
55424 + 4: 00 04 add r4,r0
55427 + 6: 04 00 add r0,r2
55429 +00000008 <symdiff_test>:
55434 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/symdiff_linkrelax.d binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/symdiff_linkrelax.d
55435 --- binutils-2.17/gas/testsuite/gas/avr32/symdiff_linkrelax.d 1970-01-01 01:00:00.000000000 +0100
55436 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/symdiff_linkrelax.d 2007-03-26 10:19:48.000000000 +0200
55438 +#source: symdiff.s
55441 +#name: symdiff_linkrelax
55443 +.*: +file format .*
55445 +Disassembly of section \.text:
55447 +00000000 <diff32>:
55448 + 0: 00 00 add r0,r0
55449 + 0: R_AVR32_DIFF32 \.text\+0xa
55450 + 2: 00 04 add r4,r0
55452 +00000004 <diff16>:
55453 + 4: 00 04 add r4,r0
55454 + 4: R_AVR32_DIFF16 \.text\+0xa
55457 + 6: 04 00 add r0,r2
55458 + 6: R_AVR32_DIFF8 \.text\+0xa
55459 + 7: R_AVR32_ALIGN \*ABS\*\+0x1
55461 +00000008 <symdiff_test>:
55466 diff -Nrup binutils-2.17/gas/testsuite/gas/avr32/symdiff.s binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/symdiff.s
55467 --- binutils-2.17/gas/testsuite/gas/avr32/symdiff.s 1970-01-01 01:00:00.000000000 +0100
55468 +++ binutils-2.17.atmel.1.3.0/gas/testsuite/gas/avr32/symdiff.s 2007-03-26 10:19:48.000000000 +0200
55482 + .global symdiff_test
55489 diff -Nrup binutils-2.17/gas/write.c binutils-2.17.atmel.1.3.0/gas/write.c
55490 --- binutils-2.17/gas/write.c 2006-05-10 15:43:37.000000000 +0200
55491 +++ binutils-2.17.atmel.1.3.0/gas/write.c 2007-03-26 10:20:16.000000000 +0200
55492 @@ -126,7 +126,9 @@ static fixS *fix_new_internal (fragS *,
55493 offsetT offset, int pcrel,
55494 RELOC_ENUM r_type);
55495 static long fixup_segment (fixS *, segT);
55496 +#if !defined (TC_RELAX_ALIGN)
55497 static relax_addressT relax_align (relax_addressT addr, int align);
55499 static fragS *chain_frchains_together_1 (segT, struct frchain *);
55500 static void chain_frchains_together (bfd *, segT, PTR);
55501 static void cvt_frag_to_fill (segT, fragS *);
55502 @@ -1684,6 +1686,10 @@ relax_frag (segT segment, fragS *fragP,
55504 #endif /* defined (TC_GENERIC_RELAX_TABLE) */
55506 +#ifdef TC_RELAX_ALIGN
55507 +#define RELAX_ALIGN(SEG, FRAG, ADDR) TC_RELAX_ALIGN(SEG, FRAG, ADDR)
55509 +#define RELAX_ALIGN(SEG, FRAG, ADDR) relax_align(ADDR, (FRAG)->fr_offset)
55510 /* Relax_align. Advance location counter to next address that has 'alignment'
55511 lowest order bits all 0s, return size of adjustment made. */
55512 static relax_addressT
55513 @@ -1703,6 +1709,7 @@ relax_align (register relax_addressT add
55515 return (new_address - address);
55519 /* Now we have a segment, not a crowd of sub-segments, we can make
55521 @@ -1746,7 +1753,7 @@ relax_segment (struct frag *segment_frag
55522 case rs_align_code:
55523 case rs_align_test:
55525 - addressT offset = relax_align (address, (int) fragP->fr_offset);
55526 + addressT offset = RELAX_ALIGN(segment, fragP, address);
55528 if (fragP->fr_subtype != 0 && offset > fragP->fr_subtype)
55530 @@ -1922,10 +1929,10 @@ relax_segment (struct frag *segment_frag
55532 addressT oldoff, newoff;
55534 - oldoff = relax_align (was_address + fragP->fr_fix,
55536 - newoff = relax_align (address + fragP->fr_fix,
55538 + oldoff = RELAX_ALIGN (segment, fragP,
55539 + was_address + fragP->fr_fix);
55540 + newoff = RELAX_ALIGN (segment, fragP,
55541 + address + fragP->fr_fix);
55543 if (fragP->fr_subtype != 0)
55545 diff -Nrup binutils-2.17/include/dis-asm.h binutils-2.17.atmel.1.3.0/include/dis-asm.h
55546 --- binutils-2.17/include/dis-asm.h 2006-02-17 15:36:26.000000000 +0100
55547 +++ binutils-2.17.atmel.1.3.0/include/dis-asm.h 2007-03-26 10:20:18.000000000 +0200
55548 @@ -223,6 +223,7 @@ extern int print_insn_big_arm (bfd_vma,
55549 extern int print_insn_little_arm (bfd_vma, disassemble_info *);
55550 extern int print_insn_sparc (bfd_vma, disassemble_info *);
55551 extern int print_insn_avr (bfd_vma, disassemble_info *);
55552 +extern int print_insn_avr32 (bfd_vma, disassemble_info *);
55553 extern int print_insn_bfin (bfd_vma, disassemble_info *);
55554 extern int print_insn_d10v (bfd_vma, disassemble_info *);
55555 extern int print_insn_d30v (bfd_vma, disassemble_info *);
55556 @@ -276,7 +277,9 @@ extern disassembler_ftype cris_get_disas
55557 extern void print_mips_disassembler_options (FILE *);
55558 extern void print_ppc_disassembler_options (FILE *);
55559 extern void print_arm_disassembler_options (FILE *);
55560 +extern void print_avr32_disassembler_options (FILE *);
55561 extern void parse_arm_disassembler_option (char *);
55562 +extern void parse_avr32_disassembler_option (char *);
55563 extern int get_arm_regname_num_options (void);
55564 extern int set_arm_regname_option (int);
55565 extern int get_arm_regnames (int, const char **, const char **, const char *const **);
55566 diff -Nrup binutils-2.17/include/elf/avr32.h binutils-2.17.atmel.1.3.0/include/elf/avr32.h
55567 --- binutils-2.17/include/elf/avr32.h 1970-01-01 01:00:00.000000000 +0100
55568 +++ binutils-2.17.atmel.1.3.0/include/elf/avr32.h 2007-03-26 10:20:17.000000000 +0200
55570 +/* AVR32 ELF support for BFD.
55571 + Copyright 2003-2006 Atmel Corporation.
55573 + Written by Haavard Skinnemoen, Atmel Norway, <hskinnemoen@atmel.com>
55575 + This file is part of BFD, the Binary File Descriptor library.
55577 + This program is free software; you can redistribute it and/or
55578 + modify it under the terms of the GNU General Public License as
55579 + published by the Free Software Foundation; either version 2 of the
55580 + License, or (at your option) any later version.
55582 + This program is distributed in the hope that it will be useful, but
55583 + WITHOUT ANY WARRANTY; without even the implied warranty of
55584 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
55585 + General Public License for more details.
55587 + You should have received a copy of the GNU General Public License
55588 + along with this program; if not, write to the Free Software
55589 + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
55590 + 02111-1307, USA. */
55592 +#include "elf/reloc-macros.h"
55594 +/* CPU-specific flags for the ELF header e_flags field */
55595 +#define EF_AVR32_LINKRELAX 0x01
55596 +#define EF_AVR32_PIC 0x02
55598 +START_RELOC_NUMBERS (elf_avr32_reloc_type)
55599 + RELOC_NUMBER (R_AVR32_NONE, 0)
55601 + /* Data Relocations */
55602 + RELOC_NUMBER (R_AVR32_32, 1)
55603 + RELOC_NUMBER (R_AVR32_16, 2)
55604 + RELOC_NUMBER (R_AVR32_8, 3)
55605 + RELOC_NUMBER (R_AVR32_32_PCREL, 4)
55606 + RELOC_NUMBER (R_AVR32_16_PCREL, 5)
55607 + RELOC_NUMBER (R_AVR32_8_PCREL, 6)
55608 + RELOC_NUMBER (R_AVR32_DIFF32, 7)
55609 + RELOC_NUMBER (R_AVR32_DIFF16, 8)
55610 + RELOC_NUMBER (R_AVR32_DIFF8, 9)
55611 + RELOC_NUMBER (R_AVR32_GOT32, 10)
55612 + RELOC_NUMBER (R_AVR32_GOT16, 11)
55613 + RELOC_NUMBER (R_AVR32_GOT8, 12)
55615 + /* Normal Code Relocations */
55616 + RELOC_NUMBER (R_AVR32_21S, 13)
55617 + RELOC_NUMBER (R_AVR32_16U, 14)
55618 + RELOC_NUMBER (R_AVR32_16S, 15)
55619 + RELOC_NUMBER (R_AVR32_8S, 16)
55620 + RELOC_NUMBER (R_AVR32_8S_EXT, 17)
55622 + /* PC-Relative Code Relocations */
55623 + RELOC_NUMBER (R_AVR32_22H_PCREL, 18)
55624 + RELOC_NUMBER (R_AVR32_18W_PCREL, 19)
55625 + RELOC_NUMBER (R_AVR32_16B_PCREL, 20)
55626 + RELOC_NUMBER (R_AVR32_16N_PCREL, 21)
55627 + RELOC_NUMBER (R_AVR32_14UW_PCREL, 22)
55628 + RELOC_NUMBER (R_AVR32_11H_PCREL, 23)
55629 + RELOC_NUMBER (R_AVR32_10UW_PCREL, 24)
55630 + RELOC_NUMBER (R_AVR32_9H_PCREL, 25)
55631 + RELOC_NUMBER (R_AVR32_9UW_PCREL, 26)
55633 + /* Special Code Relocations */
55634 + RELOC_NUMBER (R_AVR32_HI16, 27)
55635 + RELOC_NUMBER (R_AVR32_LO16, 28)
55637 + /* PIC Relocations */
55638 + RELOC_NUMBER (R_AVR32_GOTPC, 29)
55639 + RELOC_NUMBER (R_AVR32_GOTCALL, 30)
55640 + RELOC_NUMBER (R_AVR32_LDA_GOT, 31)
55641 + RELOC_NUMBER (R_AVR32_GOT21S, 32)
55642 + RELOC_NUMBER (R_AVR32_GOT18SW, 33)
55643 + RELOC_NUMBER (R_AVR32_GOT16S, 34)
55644 + RELOC_NUMBER (R_AVR32_GOT7UW, 35)
55646 + /* Constant Pool Relocations */
55647 + RELOC_NUMBER (R_AVR32_32_CPENT, 36)
55648 + RELOC_NUMBER (R_AVR32_CPCALL, 37)
55649 + RELOC_NUMBER (R_AVR32_16_CP, 38)
55650 + RELOC_NUMBER (R_AVR32_9W_CP, 39)
55652 + /* Dynamic Relocations */
55653 + RELOC_NUMBER (R_AVR32_RELATIVE, 40)
55654 + RELOC_NUMBER (R_AVR32_GLOB_DAT, 41)
55655 + RELOC_NUMBER (R_AVR32_JMP_SLOT, 42)
55657 + /* Linkrelax Information */
55658 + RELOC_NUMBER (R_AVR32_ALIGN, 43)
55659 +END_RELOC_NUMBERS (R_AVR32_max)
55661 +/* Processor specific dynamic array tags. */
55663 +/* The total size in bytes of the Global Offset Table */
55664 +#define DT_AVR32_GOTSZ 0x70000001
55665 diff -Nrup binutils-2.17/include/elf/common.h binutils-2.17.atmel.1.3.0/include/elf/common.h
55666 --- binutils-2.17/include/elf/common.h 2006-02-17 15:36:26.000000000 +0100
55667 +++ binutils-2.17.atmel.1.3.0/include/elf/common.h 2007-03-26 10:20:17.000000000 +0200
55668 @@ -256,6 +256,9 @@
55669 /* V850 backend magic number. Written in the absense of an ABI. */
55670 #define EM_CYGNUS_V850 0x9080
55672 +/* AVR32 magic number, picked by IAR Systems. */
55673 +#define EM_AVR32 0x18ad
55675 /* old S/390 backend magic number. Written in the absence of an ABI. */
55676 #define EM_S390_OLD 0xa390
55678 diff -Nrup binutils-2.17/ld/configdoc.texi binutils-2.17.atmel.1.3.0/ld/configdoc.texi
55679 --- binutils-2.17/ld/configdoc.texi 2006-05-10 15:43:46.000000000 +0200
55680 +++ binutils-2.17.atmel.1.3.0/ld/configdoc.texi 2007-09-28 10:30:45.000000000 +0200
55689 diff -Nrup binutils-2.17/ld/config.in binutils-2.17.atmel.1.3.0/ld/config.in
55690 --- binutils-2.17/ld/config.in 2006-04-16 20:20:30.000000000 +0200
55691 +++ binutils-2.17.atmel.1.3.0/ld/config.in 2007-03-26 10:32:23.000000000 +0200
55692 @@ -187,7 +187,7 @@
55694 /* If using the C implementation of alloca, define if you know the
55695 direction of stack growth for your system; otherwise it will be
55696 - automatically deduced at run-time.
55697 + automatically deduced at runtime.
55698 STACK_DIRECTION > 0 => grows toward higher addresses
55699 STACK_DIRECTION < 0 => grows toward lower addresses
55700 STACK_DIRECTION = 0 => direction of growth unknown */
55701 @@ -215,8 +215,8 @@
55705 -/* Define to `long' if <sys/types.h> does not define. */
55706 +/* Define to `long int' if <sys/types.h> does not define. */
55709 -/* Define to `unsigned' if <sys/types.h> does not define. */
55710 +/* Define to `unsigned int' if <sys/types.h> does not define. */
55712 diff -Nrup binutils-2.17/ld/configure binutils-2.17.atmel.1.3.0/ld/configure
55713 --- binutils-2.17/ld/configure 2006-04-11 12:36:26.000000000 +0200
55714 +++ binutils-2.17.atmel.1.3.0/ld/configure 2007-03-26 10:32:22.000000000 +0200
55717 # Guess values for system-dependent variables and create Makefiles.
55718 -# Generated by GNU Autoconf 2.59.
55719 +# Generated by GNU Autoconf 2.61.
55721 -# Copyright (C) 2003 Free Software Foundation, Inc.
55722 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
55723 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
55724 # This configure script is free software; the Free Software Foundation
55725 # gives unlimited permission to copy, distribute and modify it.
55726 ## --------------------- ##
55727 ## M4sh Initialization. ##
55728 ## --------------------- ##
55730 -# Be Bourne compatible
55731 +# Be more Bourne compatible
55732 +DUALCASE=1; export DUALCASE # for MKS sh
55733 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55736 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55737 # is contrary to our usage. Disable this feature.
55738 alias -g '${1+"$@"}'='"$@"'
55739 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
55741 + setopt NO_GLOB_SUBST
55743 + case `(set -o) 2>/dev/null` in
55744 + *posix*) set -o posix ;;
55753 +# Avoid depending upon Character Ranges.
55754 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55755 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55756 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55757 +as_cr_digits='0123456789'
55758 +as_cr_alnum=$as_cr_Letters$as_cr_digits
55760 +# The user is always right.
55761 +if test "${PATH_SEPARATOR+set}" != set; then
55762 + echo "#! /bin/sh" >conf$$.sh
55763 + echo "exit 0" >>conf$$.sh
55764 + chmod +x conf$$.sh
55765 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55766 + PATH_SEPARATOR=';'
55772 -DUALCASE=1; export DUALCASE # for MKS sh
55774 # Support unset when possible.
55775 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55776 @@ -29,8 +58,43 @@ else
55781 +# We need space, tab and new line, in precisely that order. Quoting is
55782 +# there to prevent editors from complaining about space-tab.
55783 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
55784 +# splitting by setting IFS to empty value.)
55789 +# Find who we are. Look in the path if we contain no directory separator.
55791 + *[\\/]* ) as_myself=$0 ;;
55792 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55793 +for as_dir in $PATH
55796 + test -z "$as_dir" && as_dir=.
55797 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55803 +# We did not find ourselves, most probably we were run as `sh COMMAND'
55804 +# in which case we are not to be found in the path.
55805 +if test "x$as_myself" = x; then
55808 +if test ! -f "$as_myself"; then
55809 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55810 + { (exit 1); exit 1; }
55813 # Work around bugs in pre-3.0 UWIN ksh.
55814 -$as_unset ENV MAIL MAILPATH
55815 +for as_var in ENV MAIL MAILPATH
55816 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55821 @@ -44,18 +108,19 @@ do
55822 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55823 eval $as_var=C; export $as_var
55825 - $as_unset $as_var
55826 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
55830 # Required to use basename.
55831 -if expr a : '\(a\)' >/dev/null 2>&1; then
55832 +if expr a : '\(a\)' >/dev/null 2>&1 &&
55833 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
55839 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
55840 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55841 as_basename=basename
55844 @@ -63,157 +128,388 @@ fi
55847 # Name of the executable.
55848 -as_me=`$as_basename "$0" ||
55849 +as_me=`$as_basename -- "$0" ||
55850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55851 X"$0" : 'X\(//\)$' \| \
55852 - X"$0" : 'X\(/\)$' \| \
55853 - . : '\(.\)' 2>/dev/null ||
55854 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55856 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
55857 - /^X\/\(\/\/\)$/{ s//\1/; q; }
55858 - /^X\/\(\/\).*/{ s//\1/; q; }
55860 + sed '/^.*\/\([^/][^/]*\)\/*$/{
55877 -# PATH needs CR, and LINENO needs CR and PATH.
55878 -# Avoid depending upon Character Ranges.
55879 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
55880 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55881 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
55882 -as_cr_digits='0123456789'
55883 -as_cr_alnum=$as_cr_Letters$as_cr_digits
55885 -# The user is always right.
55886 -if test "${PATH_SEPARATOR+set}" != set; then
55887 - echo "#! /bin/sh" >conf$$.sh
55888 - echo "exit 0" >>conf$$.sh
55889 - chmod +x conf$$.sh
55890 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55891 - PATH_SEPARATOR=';'
55896 +if test "x$CONFIG_SHELL" = x; then
55897 + if (eval ":") 2>/dev/null; then
55898 + as_have_required=yes
55900 + as_have_required=no
55903 + if test $as_have_required = yes && (eval ":
55904 +(as_func_return () {
55907 +as_func_success () {
55910 +as_func_failure () {
55913 +as_func_ret_success () {
55916 +as_func_ret_failure () {
55921 +if as_func_success; then
55925 + echo as_func_success failed.
55928 +if as_func_failure; then
55930 + echo as_func_failure succeeded.
55933 - as_lineno_1=$LINENO
55934 - as_lineno_2=$LINENO
55935 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
55936 - test "x$as_lineno_1" != "x$as_lineno_2" &&
55937 - test "x$as_lineno_3" = "x$as_lineno_2" || {
55938 - # Find who we are. Look in the path if we contain no path at all
55939 - # relative or not.
55941 - *[\\/]* ) as_myself=$0 ;;
55942 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55943 -for as_dir in $PATH
55946 - test -z "$as_dir" && as_dir=.
55947 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
55949 +if as_func_ret_success; then
55953 + echo as_func_ret_success failed.
55958 - # We did not find ourselves, most probably we were run as `sh COMMAND'
55959 - # in which case we are not to be found in the path.
55960 - if test "x$as_myself" = x; then
55963 - if test ! -f "$as_myself"; then
55964 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
55965 - { (exit 1); exit 1; }; }
55967 - case $CONFIG_SHELL in
55969 +if as_func_ret_failure; then
55971 + echo as_func_ret_failure succeeded.
55974 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
55978 + echo positional parameters were not saved.
55981 +test \$exitcode = 0) || { (exit 1); exit 1; }
55984 + as_lineno_1=\$LINENO
55985 + as_lineno_2=\$LINENO
55986 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
55987 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
55988 +") 2> /dev/null; then
55991 + as_candidate_shells=
55992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55993 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
55996 test -z "$as_dir" && as_dir=.
55997 - for as_base in sh bash ksh sh5; do
56001 - if ("$as_dir/$as_base" -c '
56002 + for as_base in sh bash ksh sh5; do
56003 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
56010 + for as_shell in $as_candidate_shells $SHELL; do
56011 + # Try only shells that exist, to save several forks.
56012 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
56013 + { ("$as_shell") 2> /dev/null <<\_ASEOF
56014 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
56017 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
56018 + # is contrary to our usage. Disable this feature.
56019 + alias -g '${1+"$@"}'='"$@"'
56020 + setopt NO_GLOB_SUBST
56022 + case `(set -o) 2>/dev/null` in
56023 + *posix*) set -o posix ;;
56032 + CONFIG_SHELL=$as_shell
56033 + as_have_required=yes
56034 + if { "$as_shell" 2> /dev/null <<\_ASEOF
56035 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
56038 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
56039 + # is contrary to our usage. Disable this feature.
56040 + alias -g '${1+"$@"}'='"$@"'
56041 + setopt NO_GLOB_SUBST
56043 + case `(set -o) 2>/dev/null` in
56044 + *posix*) set -o posix ;;
56051 +(as_func_return () {
56054 +as_func_success () {
56057 +as_func_failure () {
56060 +as_func_ret_success () {
56063 +as_func_ret_failure () {
56068 +if as_func_success; then
56072 + echo as_func_success failed.
56075 +if as_func_failure; then
56077 + echo as_func_failure succeeded.
56080 +if as_func_ret_success; then
56084 + echo as_func_ret_success failed.
56087 +if as_func_ret_failure; then
56089 + echo as_func_ret_failure succeeded.
56092 +if ( set x; as_func_ret_success y && test x = "$1" ); then
56096 + echo positional parameters were not saved.
56099 +test $exitcode = 0) || { (exit 1); exit 1; }
56102 as_lineno_1=$LINENO
56103 as_lineno_2=$LINENO
56104 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
56105 test "x$as_lineno_1" != "x$as_lineno_2" &&
56106 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
56107 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
56108 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
56109 - CONFIG_SHELL=$as_dir/$as_base
56110 - export CONFIG_SHELL
56111 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
56118 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
56129 + if test "x$CONFIG_SHELL" != x; then
56130 + for as_var in BASH_ENV ENV
56131 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56133 + export CONFIG_SHELL
56134 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
56138 + if test $as_have_required = no; then
56139 + echo This script requires a shell more modern than all the
56140 + echo shells that I found on your system. Please install a
56141 + echo modern shell, or manually run the script under such a
56142 + echo shell if you do have one.
56143 + { (exit 1); exit 1; }
56153 +(eval "as_func_return () {
56156 +as_func_success () {
56159 +as_func_failure () {
56162 +as_func_ret_success () {
56165 +as_func_ret_failure () {
56170 +if as_func_success; then
56174 + echo as_func_success failed.
56177 +if as_func_failure; then
56179 + echo as_func_failure succeeded.
56182 +if as_func_ret_success; then
56186 + echo as_func_ret_success failed.
56189 +if as_func_ret_failure; then
56191 + echo as_func_ret_failure succeeded.
56194 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
56198 + echo positional parameters were not saved.
56201 +test \$exitcode = 0") || {
56202 + echo No shell found that supports shell functions.
56203 + echo Please tell autoconf@gnu.org about your system,
56204 + echo including any error possibly output before this
56210 + as_lineno_1=$LINENO
56211 + as_lineno_2=$LINENO
56212 + test "x$as_lineno_1" != "x$as_lineno_2" &&
56213 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56215 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56216 # uniformly replaced by the line number. The first 'sed' inserts a
56217 - # line-number line before each line; the second 'sed' does the real
56218 - # work. The second script uses 'N' to pair each line-number line
56219 - # with the numbered line, and appends trailing '-' during
56220 - # substitution so that $LINENO is not a special case at line end.
56221 + # line-number line after each line using $LINENO; the second 'sed'
56222 + # does the real work. The second script uses 'N' to pair each
56223 + # line-number line with the line containing $LINENO, and appends
56224 + # trailing '-' during substitution so that $LINENO is not a special
56225 + # case at line end.
56226 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56227 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
56228 - sed '=' <$as_myself |
56229 + # scripts with optimization help from Paolo Bonzini. Blame Lee
56230 + # E. McMahon (1931-1989) for sed's syntax. :-)
56236 + s/[$]LINENO.*/&-/
56243 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
56245 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56248 - s,^['$as_cr_digits']*\n,,
56250 ' >$as_me.lineno &&
56251 - chmod +x $as_me.lineno ||
56252 + chmod +x "$as_me.lineno" ||
56253 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56254 { (exit 1); exit 1; }; }
56256 # Don't try to exec as it changes $[0], causing all sort of problems
56257 # (the dirname of $[0] is not the place where we might find the
56258 - # original and so on. Autoconf is especially sensible to this).
56259 - . ./$as_me.lineno
56260 + # original and so on. Autoconf is especially sensitive to this).
56261 + . "./$as_me.lineno"
56262 # Exit status is that of the last command.
56267 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
56268 - *c*,-n*) ECHO_N= ECHO_C='
56270 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
56271 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
56272 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56273 + as_dirname=dirname
56278 +ECHO_C= ECHO_N= ECHO_T=
56279 +case `echo -n x` in
56281 + case `echo 'x\c'` in
56282 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56289 -if expr a : '\(a\)' >/dev/null 2>&1; then
56290 +if expr a : '\(a\)' >/dev/null 2>&1 &&
56291 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
56297 rm -f conf$$ conf$$.exe conf$$.file
56298 +if test -d conf$$.dir; then
56299 + rm -f conf$$.dir/conf$$.file
56305 if ln -s conf$$.file conf$$ 2>/dev/null; then
56306 - # We could just check for DJGPP; but this test a) works b) is more generic
56307 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
56308 - if test -f conf$$.exe; then
56309 - # Don't use ln at all; we don't have any links
56311 + # ... but there are two gotchas:
56312 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56313 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56314 + # In both cases, we have to default to `cp -p'.
56315 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56320 elif ln conf$$.file conf$$ 2>/dev/null; then
56325 -rm -f conf$$ conf$$.exe conf$$.file
56326 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56327 +rmdir conf$$.dir 2>/dev/null
56329 if mkdir -p . 2>/dev/null; then
56331 @@ -222,7 +518,28 @@ else
56335 -as_executable_p="test -f"
56336 +if test -x / >/dev/null 2>&1; then
56337 + as_test_x='test -x'
56339 + if ls -dL / >/dev/null 2>&1; then
56346 + if test -d "$1"; then
56352 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56353 + ???[sx]*):;;*)false;;esac;fi
56357 +as_executable_p=$as_test_x
56359 # Sed expression to map a string onto a valid CPP name.
56360 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56361 @@ -231,39 +548,27 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
56362 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56366 -# We need space, tab and new line, in precisely that order.
56374 +exec 7<&0 </dev/null 6>&1
56376 # Name of the host.
56377 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
56378 # so uname gets run too.
56379 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
56386 ac_default_prefix=/usr/local
56388 ac_config_libobj_dir=.
56394 SHELL=${CONFIG_SHELL-/bin/sh}
56396 -# Maximum number of lines to put in a shell here document.
56397 -# This variable seems obsolete. It should probably be removed, and
56398 -# only ac_max_sed_lines should be used.
56399 -: ${ac_max_here_lines=38}
56401 # Identity of this package.
56404 @@ -275,42 +580,191 @@ ac_unique_file="ldmain.c"
56405 # Factoring default headers for most tests.
56406 ac_includes_default="\
56408 -#if HAVE_SYS_TYPES_H
56409 +#ifdef HAVE_SYS_TYPES_H
56410 # include <sys/types.h>
56412 -#if HAVE_SYS_STAT_H
56413 +#ifdef HAVE_SYS_STAT_H
56414 # include <sys/stat.h>
56417 +#ifdef STDC_HEADERS
56418 # include <stdlib.h>
56419 # include <stddef.h>
56421 -# if HAVE_STDLIB_H
56422 +# ifdef HAVE_STDLIB_H
56423 # include <stdlib.h>
56427 -# if !STDC_HEADERS && HAVE_MEMORY_H
56428 +#ifdef HAVE_STRING_H
56429 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
56430 # include <memory.h>
56432 # include <string.h>
56434 -#if HAVE_STRINGS_H
56435 +#ifdef HAVE_STRINGS_H
56436 # include <strings.h>
56438 -#if HAVE_INTTYPES_H
56439 +#ifdef HAVE_INTTYPES_H
56440 # include <inttypes.h>
56442 -# if HAVE_STDINT_H
56443 -# include <stdint.h>
56447 +#ifdef HAVE_STDINT_H
56448 +# include <stdint.h>
56450 +#ifdef HAVE_UNISTD_H
56451 # include <unistd.h>
56454 -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'
56455 +ac_subst_vars='SHELL
56464 +program_transform_name
56524 +INSTALL_STRIP_PROGRAM
56539 +am__fastdepCC_TRUE
56540 +am__fastdepCC_FALSE
56545 +TARGET_SYSTEM_ROOT
56546 +TARGET_SYSTEM_ROOT_DEFINE
56557 +USE_INCLUDED_LIBINTL
56578 +MAINTAINER_MODE_TRUE
56579 +MAINTAINER_MODE_FALSE
56594 ac_subst_files='TDIRS'
56595 + ac_precious_vars='build_alias
56608 # Initialize some variables set by options.
56610 @@ -337,34 +791,48 @@ x_libraries=NONE
56611 # and all the variables that are supposed to be based on exec_prefix
56612 # by default will actually change.
56613 # Use braces instead of parens because sh, perl, etc. also accept them.
56614 +# (The list follows the same order as the GNU Coding Standards.)
56615 bindir='${exec_prefix}/bin'
56616 sbindir='${exec_prefix}/sbin'
56617 libexecdir='${exec_prefix}/libexec'
56618 -datadir='${prefix}/share'
56619 +datarootdir='${prefix}/share'
56620 +datadir='${datarootdir}'
56621 sysconfdir='${prefix}/etc'
56622 sharedstatedir='${prefix}/com'
56623 localstatedir='${prefix}/var'
56624 -libdir='${exec_prefix}/lib'
56625 includedir='${prefix}/include'
56626 oldincludedir='/usr/include'
56627 -infodir='${prefix}/info'
56628 -mandir='${prefix}/man'
56629 +docdir='${datarootdir}/doc/${PACKAGE}'
56630 +infodir='${datarootdir}/info'
56631 +htmldir='${docdir}'
56632 +dvidir='${docdir}'
56633 +pdfdir='${docdir}'
56635 +libdir='${exec_prefix}/lib'
56636 +localedir='${datarootdir}/locale'
56637 +mandir='${datarootdir}/man'
56643 # If the previous option needs an argument, assign it.
56644 if test -n "$ac_prev"; then
56645 - eval "$ac_prev=\$ac_option"
56646 + eval $ac_prev=\$ac_option
56651 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
56652 + case $ac_option in
56653 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
56654 + *) ac_optarg=yes ;;
56657 # Accept the important Cygnus configure options, so we can diagnose typos.
56659 - case $ac_option in
56660 + case $ac_dashdash$ac_option in
56662 + ac_dashdash=yes ;;
56664 -bindir | --bindir | --bindi | --bind | --bin | --bi)
56666 @@ -386,33 +854,45 @@ do
56667 --config-cache | -C)
56668 cache_file=config.cache ;;
56670 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
56671 + -datadir | --datadir | --datadi | --datad)
56673 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
56675 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
56676 datadir=$ac_optarg ;;
56678 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
56679 + | --dataroo | --dataro | --datar)
56680 + ac_prev=datarootdir ;;
56681 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
56682 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
56683 + datarootdir=$ac_optarg ;;
56685 -disable-* | --disable-*)
56686 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
56687 # Reject names that are not valid shell variable names.
56688 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56689 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56690 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
56691 { (exit 1); exit 1; }; }
56692 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
56693 - eval "enable_$ac_feature=no" ;;
56694 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
56695 + eval enable_$ac_feature=no ;;
56697 + -docdir | --docdir | --docdi | --doc | --do)
56698 + ac_prev=docdir ;;
56699 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
56700 + docdir=$ac_optarg ;;
56702 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
56703 + ac_prev=dvidir ;;
56704 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
56705 + dvidir=$ac_optarg ;;
56707 -enable-* | --enable-*)
56708 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
56709 # Reject names that are not valid shell variable names.
56710 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56711 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56712 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
56713 { (exit 1); exit 1; }; }
56714 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
56715 - case $ac_option in
56716 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
56717 - *) ac_optarg=yes ;;
56719 - eval "enable_$ac_feature='$ac_optarg'" ;;
56720 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
56721 + eval enable_$ac_feature=\$ac_optarg ;;
56723 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
56724 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
56725 @@ -439,6 +919,12 @@ do
56726 -host=* | --host=* | --hos=* | --ho=*)
56727 host_alias=$ac_optarg ;;
56729 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
56730 + ac_prev=htmldir ;;
56731 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
56733 + htmldir=$ac_optarg ;;
56735 -includedir | --includedir | --includedi | --included | --include \
56736 | --includ | --inclu | --incl | --inc)
56737 ac_prev=includedir ;;
56738 @@ -463,13 +949,16 @@ do
56739 | --libexe=* | --libex=* | --libe=*)
56740 libexecdir=$ac_optarg ;;
56742 + -localedir | --localedir | --localedi | --localed | --locale)
56743 + ac_prev=localedir ;;
56744 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
56745 + localedir=$ac_optarg ;;
56747 -localstatedir | --localstatedir | --localstatedi | --localstated \
56748 - | --localstate | --localstat | --localsta | --localst \
56749 - | --locals | --local | --loca | --loc | --lo)
56750 + | --localstate | --localstat | --localsta | --localst | --locals)
56751 ac_prev=localstatedir ;;
56752 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
56753 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
56754 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
56755 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
56756 localstatedir=$ac_optarg ;;
56758 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
56759 @@ -534,6 +1023,16 @@ do
56760 | --progr-tra=* | --program-tr=* | --program-t=*)
56761 program_transform_name=$ac_optarg ;;
56763 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
56764 + ac_prev=pdfdir ;;
56765 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
56766 + pdfdir=$ac_optarg ;;
56768 + -psdir | --psdir | --psdi | --psd | --ps)
56770 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
56771 + psdir=$ac_optarg ;;
56773 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56774 | -silent | --silent | --silen | --sile | --sil)
56776 @@ -586,24 +1085,20 @@ do
56777 -with-* | --with-*)
56778 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
56779 # Reject names that are not valid shell variable names.
56780 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56781 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56782 { echo "$as_me: error: invalid package name: $ac_package" >&2
56783 { (exit 1); exit 1; }; }
56784 - ac_package=`echo $ac_package| sed 's/-/_/g'`
56785 - case $ac_option in
56786 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
56787 - *) ac_optarg=yes ;;
56789 - eval "with_$ac_package='$ac_optarg'" ;;
56790 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
56791 + eval with_$ac_package=\$ac_optarg ;;
56793 -without-* | --without-*)
56794 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
56795 # Reject names that are not valid shell variable names.
56796 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
56797 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
56798 { echo "$as_me: error: invalid package name: $ac_package" >&2
56799 { (exit 1); exit 1; }; }
56800 - ac_package=`echo $ac_package | sed 's/-/_/g'`
56801 - eval "with_$ac_package=no" ;;
56802 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
56803 + eval with_$ac_package=no ;;
56806 # Obsolete; use --with-x.
56807 @@ -634,8 +1129,7 @@ Try \`$0 --help' for more information."
56808 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
56809 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
56810 { (exit 1); exit 1; }; }
56811 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
56812 - eval "$ac_envvar='$ac_optarg'"
56813 + eval $ac_envvar=\$ac_optarg
56814 export $ac_envvar ;;
56817 @@ -655,27 +1149,19 @@ if test -n "$ac_prev"; then
56818 { (exit 1); exit 1; }; }
56821 -# Be sure to have absolute paths.
56822 -for ac_var in exec_prefix prefix
56823 +# Be sure to have absolute directory names.
56824 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
56825 + datadir sysconfdir sharedstatedir localstatedir includedir \
56826 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
56827 + libdir localedir mandir
56829 - eval ac_val=$`echo $ac_var`
56830 + eval ac_val=\$$ac_var
56832 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
56833 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
56834 - { (exit 1); exit 1; }; };;
56838 -# Be sure to have absolute paths.
56839 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
56840 - localstatedir libdir includedir oldincludedir infodir mandir
56842 - eval ac_val=$`echo $ac_var`
56844 - [\\/$]* | ?:[\\/]* ) ;;
56845 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
56846 - { (exit 1); exit 1; }; };;
56847 + [\\/$]* | ?:[\\/]* ) continue;;
56848 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
56850 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
56851 + { (exit 1); exit 1; }; }
56854 # There might be people who depend on the old broken behavior: `$host'
56855 @@ -702,74 +1188,76 @@ test -n "$host_alias" && ac_tool_prefix=
56856 test "$silent" = yes && exec 6>/dev/null
56859 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
56860 +ac_ls_di=`ls -di .` &&
56861 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
56862 + { echo "$as_me: error: Working directory cannot be determined" >&2
56863 + { (exit 1); exit 1; }; }
56864 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
56865 + { echo "$as_me: error: pwd does not report name of working directory" >&2
56866 + { (exit 1); exit 1; }; }
56869 # Find the source files, if location was not specified.
56870 if test -z "$srcdir"; then
56871 ac_srcdir_defaulted=yes
56872 - # Try the directory containing this script, then its parent.
56873 - ac_confdir=`(dirname "$0") 2>/dev/null ||
56874 + # Try the directory containing this script, then the parent directory.
56875 + ac_confdir=`$as_dirname -- "$0" ||
56876 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56877 X"$0" : 'X\(//\)[^/]' \| \
56878 X"$0" : 'X\(//\)$' \| \
56879 - X"$0" : 'X\(/\)' \| \
56880 - . : '\(.\)' 2>/dev/null ||
56881 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56883 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
56884 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
56885 - /^X\(\/\/\)$/{ s//\1/; q; }
56886 - /^X\(\/\).*/{ s//\1/; q; }
56888 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56892 + /^X\(\/\/\)[^/].*/{
56906 - if test ! -r $srcdir/$ac_unique_file; then
56907 + if test ! -r "$srcdir/$ac_unique_file"; then
56911 ac_srcdir_defaulted=no
56913 -if test ! -r $srcdir/$ac_unique_file; then
56914 - if test "$ac_srcdir_defaulted" = yes; then
56915 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
56916 - { (exit 1); exit 1; }; }
56918 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
56919 - { (exit 1); exit 1; }; }
56922 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
56923 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
56924 - { (exit 1); exit 1; }; }
56925 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
56926 -ac_env_build_alias_set=${build_alias+set}
56927 -ac_env_build_alias_value=$build_alias
56928 -ac_cv_env_build_alias_set=${build_alias+set}
56929 -ac_cv_env_build_alias_value=$build_alias
56930 -ac_env_host_alias_set=${host_alias+set}
56931 -ac_env_host_alias_value=$host_alias
56932 -ac_cv_env_host_alias_set=${host_alias+set}
56933 -ac_cv_env_host_alias_value=$host_alias
56934 -ac_env_target_alias_set=${target_alias+set}
56935 -ac_env_target_alias_value=$target_alias
56936 -ac_cv_env_target_alias_set=${target_alias+set}
56937 -ac_cv_env_target_alias_value=$target_alias
56938 -ac_env_CC_set=${CC+set}
56939 -ac_env_CC_value=$CC
56940 -ac_cv_env_CC_set=${CC+set}
56941 -ac_cv_env_CC_value=$CC
56942 -ac_env_CFLAGS_set=${CFLAGS+set}
56943 -ac_env_CFLAGS_value=$CFLAGS
56944 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
56945 -ac_cv_env_CFLAGS_value=$CFLAGS
56946 -ac_env_LDFLAGS_set=${LDFLAGS+set}
56947 -ac_env_LDFLAGS_value=$LDFLAGS
56948 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
56949 -ac_cv_env_LDFLAGS_value=$LDFLAGS
56950 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
56951 -ac_env_CPPFLAGS_value=$CPPFLAGS
56952 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
56953 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
56954 -ac_env_CPP_set=${CPP+set}
56955 -ac_env_CPP_value=$CPP
56956 -ac_cv_env_CPP_set=${CPP+set}
56957 -ac_cv_env_CPP_value=$CPP
56958 +if test ! -r "$srcdir/$ac_unique_file"; then
56959 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
56960 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
56961 + { (exit 1); exit 1; }; }
56963 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
56965 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
56966 + { (exit 1); exit 1; }; }
56968 +# When building in place, set srcdir=.
56969 +if test "$ac_abs_confdir" = "$ac_pwd"; then
56972 +# Remove unnecessary trailing slashes from srcdir.
56973 +# Double slashes in file names in object file debugging info
56974 +# mess up M-x gdb in Emacs.
56976 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
56978 +for ac_var in $ac_precious_vars; do
56979 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
56980 + eval ac_env_${ac_var}_value=\$${ac_var}
56981 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
56982 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
56986 # Report the --help message.
56987 @@ -798,9 +1286,6 @@ Configuration:
56988 -n, --no-create do not create output files
56989 --srcdir=DIR find the sources in DIR [configure dir or \`..']
56994 Installation directories:
56995 --prefix=PREFIX install architecture-independent files in PREFIX
56996 [$ac_default_prefix]
56997 @@ -818,15 +1303,22 @@ Fine tuning of the installation director
56998 --bindir=DIR user executables [EPREFIX/bin]
56999 --sbindir=DIR system admin executables [EPREFIX/sbin]
57000 --libexecdir=DIR program executables [EPREFIX/libexec]
57001 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
57002 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
57003 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
57004 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
57005 --libdir=DIR object code libraries [EPREFIX/lib]
57006 --includedir=DIR C header files [PREFIX/include]
57007 --oldincludedir=DIR C header files for non-gcc [/usr/include]
57008 - --infodir=DIR info documentation [PREFIX/info]
57009 - --mandir=DIR man documentation [PREFIX/man]
57010 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
57011 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
57012 + --infodir=DIR info documentation [DATAROOTDIR/info]
57013 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
57014 + --mandir=DIR man documentation [DATAROOTDIR/man]
57015 + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
57016 + --htmldir=DIR html documentation [DOCDIR]
57017 + --dvidir=DIR dvi documentation [DOCDIR]
57018 + --pdfdir=DIR pdf documentation [DOCDIR]
57019 + --psdir=DIR ps documentation [DOCDIR]
57023 @@ -878,126 +1370,100 @@ Some influential environment variables:
57024 CFLAGS C compiler flags
57025 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
57026 nonstandard directory <lib dir>
57027 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
57028 - headers in a nonstandard directory <include dir>
57029 + LIBS libraries to pass to the linker, e.g. -l<library>
57030 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
57031 + you have headers in a nonstandard directory <include dir>
57033 + YACC The `Yet Another C Compiler' implementation to use. Defaults to
57034 + the first program found out of: `bison -y', `byacc', `yacc'.
57035 + YFLAGS The list of arguments that will be passed by default to $YACC.
57036 + This script will default YFLAGS to the empty string to avoid a
57037 + default value of `-d' given by some make applications.
57039 Use these variables to override the choices made by `configure' or to help
57040 it to find libraries and programs with nonstandard names/locations.
57046 if test "$ac_init_help" = "recursive"; then
57047 # If there are subdirs, report their specific --help.
57049 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
57050 - test -d $ac_dir || continue
57051 + test -d "$ac_dir" || continue
57054 -if test "$ac_dir" != .; then
57056 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57058 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57059 - # A "../" for each directory in $ac_dir_suffix.
57060 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
57062 - ac_dir_suffix= ac_top_builddir=
57064 + # A ".." for each directory in $ac_dir_suffix.
57065 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57066 + case $ac_top_builddir_sub in
57067 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57068 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57071 +ac_abs_top_builddir=$ac_pwd
57072 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
57073 +# for backward compatibility:
57074 +ac_top_builddir=$ac_top_build_prefix
57077 - .) # No --srcdir option. We are building in place.
57078 + .) # We are building in place.
57080 - if test -z "$ac_top_builddir"; then
57083 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
57085 - [\\/]* | ?:[\\/]* ) # Absolute path.
57086 + ac_top_srcdir=$ac_top_builddir_sub
57087 + ac_abs_top_srcdir=$ac_pwd ;;
57088 + [\\/]* | ?:[\\/]* ) # Absolute name.
57089 ac_srcdir=$srcdir$ac_dir_suffix;
57090 - ac_top_srcdir=$srcdir ;;
57091 - *) # Relative path.
57092 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
57093 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
57096 -# Do not use `cd foo && pwd` to compute absolute paths, because
57097 -# the directories may not exist.
57099 -.) ac_abs_builddir="$ac_dir";;
57101 - case "$ac_dir" in
57102 - .) ac_abs_builddir=`pwd`;;
57103 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
57104 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
57107 -case $ac_abs_builddir in
57108 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
57110 - case ${ac_top_builddir}. in
57111 - .) ac_abs_top_builddir=$ac_abs_builddir;;
57112 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
57113 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
57116 -case $ac_abs_builddir in
57117 -.) ac_abs_srcdir=$ac_srcdir;;
57119 - case $ac_srcdir in
57120 - .) ac_abs_srcdir=$ac_abs_builddir;;
57121 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
57122 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
57125 -case $ac_abs_builddir in
57126 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
57128 - case $ac_top_srcdir in
57129 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
57130 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
57131 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
57136 - # Check for guested configure; otherwise get Cygnus style configure.
57137 - if test -f $ac_srcdir/configure.gnu; then
57139 - $SHELL $ac_srcdir/configure.gnu --help=recursive
57140 - elif test -f $ac_srcdir/configure; then
57142 - $SHELL $ac_srcdir/configure --help=recursive
57143 - elif test -f $ac_srcdir/configure.ac ||
57144 - test -f $ac_srcdir/configure.in; then
57146 - $ac_configure --help
57147 + ac_top_srcdir=$srcdir
57148 + ac_abs_top_srcdir=$srcdir ;;
57149 + *) # Relative name.
57150 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57151 + ac_top_srcdir=$ac_top_build_prefix$srcdir
57152 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57154 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57156 + cd "$ac_dir" || { ac_status=$?; continue; }
57157 + # Check for guested configure.
57158 + if test -f "$ac_srcdir/configure.gnu"; then
57160 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
57161 + elif test -f "$ac_srcdir/configure"; then
57163 + $SHELL "$ac_srcdir/configure" --help=recursive
57165 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
57168 + fi || ac_status=$?
57169 + cd "$ac_pwd" || { ac_status=$?; break; }
57173 -test -n "$ac_init_help" && exit 0
57174 +test -n "$ac_init_help" && exit $ac_status
57175 if $ac_init_version; then
57178 +generated by GNU Autoconf 2.61
57180 -Copyright (C) 2003 Free Software Foundation, Inc.
57181 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
57182 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
57183 This configure script is free software; the Free Software Foundation
57184 gives unlimited permission to copy, distribute and modify it.
57191 +cat >config.log <<_ACEOF
57192 This file contains any messages produced by compilers while
57193 running configure, to aid debugging if configure makes a mistake.
57195 It was created by $as_me, which was
57196 -generated by GNU Autoconf 2.59. Invocation command line was
57197 +generated by GNU Autoconf 2.61. Invocation command line was
57202 +exec 5>>config.log
57206 @@ -1016,7 +1482,7 @@ uname -v = `(uname -v) 2>/dev/null || ec
57207 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
57208 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
57209 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
57210 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
57211 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
57212 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
57213 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
57214 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
57215 @@ -1030,6 +1496,7 @@ do
57216 test -z "$as_dir" && as_dir=.
57217 echo "PATH: $as_dir"
57223 @@ -1051,7 +1518,6 @@ _ACEOF
57225 ac_configure_args0=
57226 ac_configure_args1=
57228 ac_must_keep_next=false
57231 @@ -1062,7 +1528,7 @@ do
57232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
57233 | -silent | --silent | --silen | --sile | --sil)
57235 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
57237 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57240 @@ -1084,9 +1550,7 @@ do
57241 -* ) ac_must_keep_next=true ;;
57244 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
57245 - # Get rid of the leading space.
57247 + ac_configure_args="$ac_configure_args '$ac_arg'"
57251 @@ -1097,8 +1561,8 @@ $as_unset ac_configure_args1 || test "${
57252 # When interrupted or exit'd, cleanup temporary files, and complete
57253 # config.log. We remove comments because anyway the quotes in there
57254 # would cause problems or look ugly.
57255 -# WARNING: Be sure not to use single quotes in there, as some shells,
57256 -# such as our DU 5.0 friend, will then `close' the trap.
57257 +# WARNING: Use '\'' to represent an apostrophe within the trap.
57258 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
57259 trap 'exit_status=$?
57260 # Save into config.log some information that might help in debugging.
57262 @@ -1111,20 +1575,34 @@ trap 'exit_status=$?
57265 # The following way of writing the cache mishandles newlines in values,
57268 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
57269 + eval ac_val=\$$ac_var
57270 + case $ac_val in #(
57272 + case $ac_var in #(
57273 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
57274 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
57276 + case $ac_var in #(
57277 + _ | IFS | as_nl) ;; #(
57278 + *) $as_unset $ac_var ;;
57283 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
57285 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
57286 + *${as_nl}ac_space=\ *)
57288 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
57289 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
57291 + "s/'\''/'\''\\\\'\'''\''/g;
57292 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
57296 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
57297 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
57307 @@ -1135,22 +1613,28 @@ _ASBOX
57309 for ac_var in $ac_subst_vars
57311 - eval ac_val=$`echo $ac_var`
57312 - echo "$ac_var='"'"'$ac_val'"'"'"
57313 + eval ac_val=\$$ac_var
57315 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
57317 + echo "$ac_var='\''$ac_val'\''"
57321 if test -n "$ac_subst_files"; then
57323 -## ------------- ##
57324 -## Output files. ##
57325 -## ------------- ##
57326 +## ------------------- ##
57327 +## File substitutions. ##
57328 +## ------------------- ##
57331 for ac_var in $ac_subst_files
57333 - eval ac_val=$`echo $ac_var`
57334 - echo "$ac_var='"'"'$ac_val'"'"'"
57335 + eval ac_val=\$$ac_var
57337 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
57339 + echo "$ac_var='\''$ac_val'\''"
57343 @@ -1162,26 +1646,24 @@ _ASBOX
57347 - sed "/^$/d" confdefs.h | sort
57351 test "$ac_signal" != 0 &&
57352 echo "$as_me: caught signal $ac_signal"
57353 echo "$as_me: exit $exit_status"
57355 - rm -f core *.core &&
57356 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
57357 + rm -f core *.core core.conftest.* &&
57358 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
57362 for ac_signal in 1 2 13 15; do
57363 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
57367 # confdefs.h avoids OS command line length limits that DEFS can exceed.
57368 -rm -rf conftest* confdefs.h
57369 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
57371 +rm -f -r conftest* confdefs.h
57373 # Predefined preprocessor variables.
57375 @@ -1212,14 +1694,17 @@ _ACEOF
57377 # Let the site file select an alternate cache file if it wants to.
57378 # Prefer explicitly selected file to automatically selected ones.
57379 -if test -z "$CONFIG_SITE"; then
57380 - if test "x$prefix" != xNONE; then
57381 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
57383 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
57385 +if test -n "$CONFIG_SITE"; then
57386 + set x "$CONFIG_SITE"
57387 +elif test "x$prefix" != xNONE; then
57388 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
57390 + set x "$ac_default_prefix/share/config.site" \
57391 + "$ac_default_prefix/etc/config.site"
57393 -for ac_site_file in $CONFIG_SITE; do
57397 if test -r "$ac_site_file"; then
57398 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
57399 echo "$as_me: loading site script $ac_site_file" >&6;}
57400 @@ -1235,8 +1720,8 @@ if test -r "$cache_file"; then
57401 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
57402 echo "$as_me: loading cache $cache_file" >&6;}
57403 case $cache_file in
57404 - [\\/]* | ?:[\\/]* ) . $cache_file;;
57405 - *) . ./$cache_file;;
57406 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
57407 + *) . "./$cache_file";;
57411 @@ -1248,12 +1733,11 @@ fi
57412 # Check that the precious variables saved in the cache have kept the same
57414 ac_cache_corrupted=false
57415 -for ac_var in `(set) 2>&1 |
57416 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
57417 +for ac_var in $ac_precious_vars; do
57418 eval ac_old_set=\$ac_cv_env_${ac_var}_set
57419 eval ac_new_set=\$ac_env_${ac_var}_set
57420 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
57421 - eval ac_new_val="\$ac_env_${ac_var}_value"
57422 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
57423 + eval ac_new_val=\$ac_env_${ac_var}_value
57424 case $ac_old_set,$ac_new_set in
57426 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
57427 @@ -1278,8 +1762,7 @@ echo "$as_me: current value: $ac_new_v
57428 # Pass precious variables to config.status.
57429 if test "$ac_new_set" = set; then
57430 case $ac_new_val in
57431 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
57432 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
57433 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
57434 *) ac_arg=$ac_var=$ac_new_val ;;
57436 case " $ac_configure_args " in
57437 @@ -1296,12 +1779,6 @@ echo "$as_me: error: run \`make distclea
57438 { (exit 1); exit 1; }; }
57442 -ac_cpp='$CPP $CPPFLAGS'
57443 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57444 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57445 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
57450 @@ -1318,108 +1795,163 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
57455 +ac_cpp='$CPP $CPPFLAGS'
57456 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
57463 -for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
57464 - if test -f $ac_dir/install-sh; then
57465 +for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
57466 + if test -f "$ac_dir/install-sh"; then
57468 ac_install_sh="$ac_aux_dir/install-sh -c"
57470 - elif test -f $ac_dir/install.sh; then
57471 + elif test -f "$ac_dir/install.sh"; then
57473 ac_install_sh="$ac_aux_dir/install.sh -c"
57475 - elif test -f $ac_dir/shtool; then
57476 + elif test -f "$ac_dir/shtool"; then
57478 ac_install_sh="$ac_aux_dir/shtool install -c"
57482 if test -z "$ac_aux_dir"; then
57483 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
57484 -echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
57485 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
57486 +echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
57487 { (exit 1); exit 1; }; }
57489 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
57490 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
57491 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
57493 +# These three variables are undocumented and unsupported,
57494 +# and are intended to be withdrawn in a future Autoconf release.
57495 +# They can cause serious problems if a builder's source tree is in a directory
57496 +# whose full name contains unusual characters.
57497 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
57498 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
57499 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
57502 # Make sure we can run config.sub.
57503 -$ac_config_sub sun4 >/dev/null 2>&1 ||
57504 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
57505 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
57506 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
57507 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
57508 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
57509 { (exit 1); exit 1; }; }
57511 -echo "$as_me:$LINENO: checking build system type" >&5
57512 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
57513 +{ echo "$as_me:$LINENO: checking build system type" >&5
57514 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
57515 if test "${ac_cv_build+set}" = set; then
57516 echo $ECHO_N "(cached) $ECHO_C" >&6
57518 - ac_cv_build_alias=$build_alias
57519 -test -z "$ac_cv_build_alias" &&
57520 - ac_cv_build_alias=`$ac_config_guess`
57521 -test -z "$ac_cv_build_alias" &&
57522 + ac_build_alias=$build_alias
57523 +test "x$ac_build_alias" = x &&
57524 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
57525 +test "x$ac_build_alias" = x &&
57526 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
57527 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
57528 { (exit 1); exit 1; }; }
57529 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
57530 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
57531 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
57532 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
57533 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
57534 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
57535 { (exit 1); exit 1; }; }
57538 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
57539 -echo "${ECHO_T}$ac_cv_build" >&6
57540 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
57541 +echo "${ECHO_T}$ac_cv_build" >&6; }
57542 +case $ac_cv_build in
57544 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
57545 +echo "$as_me: error: invalid value of canonical build" >&2;}
57546 + { (exit 1); exit 1; }; };;
57549 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
57550 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
57551 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
57552 +ac_save_IFS=$IFS; IFS='-'
57553 +set x $ac_cv_build
57558 +# Remember, the first character of IFS is used to create $*,
57559 +# except with old shells:
57562 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
57565 -echo "$as_me:$LINENO: checking host system type" >&5
57566 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
57567 +{ echo "$as_me:$LINENO: checking host system type" >&5
57568 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
57569 if test "${ac_cv_host+set}" = set; then
57570 echo $ECHO_N "(cached) $ECHO_C" >&6
57572 - ac_cv_host_alias=$host_alias
57573 -test -z "$ac_cv_host_alias" &&
57574 - ac_cv_host_alias=$ac_cv_build_alias
57575 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
57576 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
57577 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
57578 + if test "x$host_alias" = x; then
57579 + ac_cv_host=$ac_cv_build
57581 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
57582 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
57583 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
57584 { (exit 1); exit 1; }; }
57588 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
57589 -echo "${ECHO_T}$ac_cv_host" >&6
57590 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
57591 +echo "${ECHO_T}$ac_cv_host" >&6; }
57592 +case $ac_cv_host in
57594 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
57595 +echo "$as_me: error: invalid value of canonical host" >&2;}
57596 + { (exit 1); exit 1; }; };;
57599 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
57600 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
57601 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
57602 +ac_save_IFS=$IFS; IFS='-'
57608 +# Remember, the first character of IFS is used to create $*,
57609 +# except with old shells:
57612 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
57615 -echo "$as_me:$LINENO: checking target system type" >&5
57616 -echo $ECHO_N "checking target system type... $ECHO_C" >&6
57617 +{ echo "$as_me:$LINENO: checking target system type" >&5
57618 +echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
57619 if test "${ac_cv_target+set}" = set; then
57620 echo $ECHO_N "(cached) $ECHO_C" >&6
57622 - ac_cv_target_alias=$target_alias
57623 -test "x$ac_cv_target_alias" = "x" &&
57624 - ac_cv_target_alias=$ac_cv_host_alias
57625 -ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
57626 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
57627 -echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
57628 + if test "x$target_alias" = x; then
57629 + ac_cv_target=$ac_cv_host
57631 + ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
57632 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
57633 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
57634 { (exit 1); exit 1; }; }
57638 -echo "$as_me:$LINENO: result: $ac_cv_target" >&5
57639 -echo "${ECHO_T}$ac_cv_target" >&6
57640 +{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
57641 +echo "${ECHO_T}$ac_cv_target" >&6; }
57642 +case $ac_cv_target in
57644 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
57645 +echo "$as_me: error: invalid value of canonical target" >&2;}
57646 + { (exit 1); exit 1; }; };;
57648 target=$ac_cv_target
57649 -target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
57650 -target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
57651 -target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
57652 +ac_save_IFS=$IFS; IFS='-'
57653 +set x $ac_cv_target
57658 +# Remember, the first character of IFS is used to create $*,
57659 +# except with old shells:
57662 +case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
57665 # The aliases save the names the user supplied, while $host etc.
57666 @@ -1436,8 +1968,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
57667 if test -n "$ac_tool_prefix"; then
57668 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
57669 set dummy ${ac_tool_prefix}gcc; ac_word=$2
57670 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57671 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57672 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57673 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57674 if test "${ac_cv_prog_CC+set}" = set; then
57675 echo $ECHO_N "(cached) $ECHO_C" >&6
57677 @@ -1450,32 +1982,34 @@ do
57679 test -z "$as_dir" && as_dir=.
57680 for ac_exec_ext in '' $ac_executable_extensions; do
57681 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57682 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57683 ac_cv_prog_CC="${ac_tool_prefix}gcc"
57684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57694 if test -n "$CC"; then
57695 - echo "$as_me:$LINENO: result: $CC" >&5
57696 -echo "${ECHO_T}$CC" >&6
57697 + { echo "$as_me:$LINENO: result: $CC" >&5
57698 +echo "${ECHO_T}$CC" >&6; }
57700 - echo "$as_me:$LINENO: result: no" >&5
57701 -echo "${ECHO_T}no" >&6
57702 + { echo "$as_me:$LINENO: result: no" >&5
57703 +echo "${ECHO_T}no" >&6; }
57708 if test -z "$ac_cv_prog_CC"; then
57710 # Extract the first word of "gcc", so it can be a program name with args.
57711 set dummy gcc; ac_word=$2
57712 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57713 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57714 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57715 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57716 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
57717 echo $ECHO_N "(cached) $ECHO_C" >&6
57719 @@ -1488,36 +2022,51 @@ do
57721 test -z "$as_dir" && as_dir=.
57722 for ac_exec_ext in '' $ac_executable_extensions; do
57723 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57724 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57725 ac_cv_prog_ac_ct_CC="gcc"
57726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57735 ac_ct_CC=$ac_cv_prog_ac_ct_CC
57736 if test -n "$ac_ct_CC"; then
57737 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57738 -echo "${ECHO_T}$ac_ct_CC" >&6
57739 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57740 +echo "${ECHO_T}$ac_ct_CC" >&6; }
57742 - echo "$as_me:$LINENO: result: no" >&5
57743 -echo "${ECHO_T}no" >&6
57744 + { echo "$as_me:$LINENO: result: no" >&5
57745 +echo "${ECHO_T}no" >&6; }
57749 + if test "x$ac_ct_CC" = x; then
57752 + case $cross_compiling:$ac_tool_warned in
57754 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
57755 +whose name does not start with the host triplet. If you think this
57756 +configuration is useful to you, please write to autoconf@gnu.org." >&5
57757 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
57758 +whose name does not start with the host triplet. If you think this
57759 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
57760 +ac_tool_warned=yes ;;
57765 CC="$ac_cv_prog_CC"
57768 if test -z "$CC"; then
57769 - if test -n "$ac_tool_prefix"; then
57770 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
57771 + if test -n "$ac_tool_prefix"; then
57772 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
57773 set dummy ${ac_tool_prefix}cc; ac_word=$2
57774 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57775 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57776 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57777 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57778 if test "${ac_cv_prog_CC+set}" = set; then
57779 echo $ECHO_N "(cached) $ECHO_C" >&6
57781 @@ -1530,74 +2079,34 @@ do
57783 test -z "$as_dir" && as_dir=.
57784 for ac_exec_ext in '' $ac_executable_extensions; do
57785 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57786 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57787 ac_cv_prog_CC="${ac_tool_prefix}cc"
57788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57798 if test -n "$CC"; then
57799 - echo "$as_me:$LINENO: result: $CC" >&5
57800 -echo "${ECHO_T}$CC" >&6
57802 - echo "$as_me:$LINENO: result: no" >&5
57803 -echo "${ECHO_T}no" >&6
57807 -if test -z "$ac_cv_prog_CC"; then
57809 - # Extract the first word of "cc", so it can be a program name with args.
57810 -set dummy cc; ac_word=$2
57811 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57812 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57813 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
57814 - echo $ECHO_N "(cached) $ECHO_C" >&6
57816 - if test -n "$ac_ct_CC"; then
57817 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
57819 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
57820 -for as_dir in $PATH
57823 - test -z "$as_dir" && as_dir=.
57824 - for ac_exec_ext in '' $ac_executable_extensions; do
57825 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57826 - ac_cv_prog_ac_ct_CC="cc"
57827 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57835 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
57836 -if test -n "$ac_ct_CC"; then
57837 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57838 -echo "${ECHO_T}$ac_ct_CC" >&6
57839 + { echo "$as_me:$LINENO: result: $CC" >&5
57840 +echo "${ECHO_T}$CC" >&6; }
57842 - echo "$as_me:$LINENO: result: no" >&5
57843 -echo "${ECHO_T}no" >&6
57844 + { echo "$as_me:$LINENO: result: no" >&5
57845 +echo "${ECHO_T}no" >&6; }
57850 - CC="$ac_cv_prog_CC"
57855 if test -z "$CC"; then
57856 # Extract the first word of "cc", so it can be a program name with args.
57857 set dummy cc; ac_word=$2
57858 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57859 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57860 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57861 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57862 if test "${ac_cv_prog_CC+set}" = set; then
57863 echo $ECHO_N "(cached) $ECHO_C" >&6
57865 @@ -1611,7 +2120,7 @@ do
57867 test -z "$as_dir" && as_dir=.
57868 for ac_exec_ext in '' $ac_executable_extensions; do
57869 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57870 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57871 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
57872 ac_prog_rejected=yes
57874 @@ -1622,6 +2131,7 @@ do
57880 if test $ac_prog_rejected = yes; then
57881 # We found a bogon in the path, so make sure we never use it.
57882 @@ -1639,22 +2149,23 @@ fi
57885 if test -n "$CC"; then
57886 - echo "$as_me:$LINENO: result: $CC" >&5
57887 -echo "${ECHO_T}$CC" >&6
57888 + { echo "$as_me:$LINENO: result: $CC" >&5
57889 +echo "${ECHO_T}$CC" >&6; }
57891 - echo "$as_me:$LINENO: result: no" >&5
57892 -echo "${ECHO_T}no" >&6
57893 + { echo "$as_me:$LINENO: result: no" >&5
57894 +echo "${ECHO_T}no" >&6; }
57899 if test -z "$CC"; then
57900 if test -n "$ac_tool_prefix"; then
57901 - for ac_prog in cl
57902 + for ac_prog in cl.exe
57904 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
57905 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
57906 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57907 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57908 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57909 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57910 if test "${ac_cv_prog_CC+set}" = set; then
57911 echo $ECHO_N "(cached) $ECHO_C" >&6
57913 @@ -1667,36 +2178,38 @@ do
57915 test -z "$as_dir" && as_dir=.
57916 for ac_exec_ext in '' $ac_executable_extensions; do
57917 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57918 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57919 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
57920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57930 if test -n "$CC"; then
57931 - echo "$as_me:$LINENO: result: $CC" >&5
57932 -echo "${ECHO_T}$CC" >&6
57933 + { echo "$as_me:$LINENO: result: $CC" >&5
57934 +echo "${ECHO_T}$CC" >&6; }
57936 - echo "$as_me:$LINENO: result: no" >&5
57937 -echo "${ECHO_T}no" >&6
57938 + { echo "$as_me:$LINENO: result: no" >&5
57939 +echo "${ECHO_T}no" >&6; }
57943 test -n "$CC" && break
57946 if test -z "$CC"; then
57948 - for ac_prog in cl
57949 + for ac_prog in cl.exe
57951 # Extract the first word of "$ac_prog", so it can be a program name with args.
57952 set dummy $ac_prog; ac_word=$2
57953 -echo "$as_me:$LINENO: checking for $ac_word" >&5
57954 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
57955 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
57956 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
57957 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
57958 echo $ECHO_N "(cached) $ECHO_C" >&6
57960 @@ -1709,29 +2222,45 @@ do
57962 test -z "$as_dir" && as_dir=.
57963 for ac_exec_ext in '' $ac_executable_extensions; do
57964 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
57965 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
57966 ac_cv_prog_ac_ct_CC="$ac_prog"
57967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
57976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
57977 if test -n "$ac_ct_CC"; then
57978 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57979 -echo "${ECHO_T}$ac_ct_CC" >&6
57980 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
57981 +echo "${ECHO_T}$ac_ct_CC" >&6; }
57983 - echo "$as_me:$LINENO: result: no" >&5
57984 -echo "${ECHO_T}no" >&6
57985 + { echo "$as_me:$LINENO: result: no" >&5
57986 +echo "${ECHO_T}no" >&6; }
57990 test -n "$ac_ct_CC" && break
57994 + if test "x$ac_ct_CC" = x; then
57997 + case $cross_compiling:$ac_tool_warned in
57999 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
58000 +whose name does not start with the host triplet. If you think this
58001 +configuration is useful to you, please write to autoconf@gnu.org." >&5
58002 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
58003 +whose name does not start with the host triplet. If you think this
58004 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
58005 +ac_tool_warned=yes ;;
58012 @@ -1744,21 +2273,35 @@ See \`config.log' for more details." >&2
58013 { (exit 1); exit 1; }; }
58015 # Provide some information about the compiler.
58016 -echo "$as_me:$LINENO:" \
58017 - "checking for C compiler version" >&5
58018 +echo "$as_me:$LINENO: checking for C compiler version" >&5
58019 ac_compiler=`set X $ac_compile; echo $2`
58020 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
58021 - (eval $ac_compiler --version </dev/null >&5) 2>&5
58022 +{ (ac_try="$ac_compiler --version >&5"
58023 +case "(($ac_try" in
58024 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58025 + *) ac_try_echo=$ac_try;;
58027 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58028 + (eval "$ac_compiler --version >&5") 2>&5
58030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58031 (exit $ac_status); }
58032 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
58033 - (eval $ac_compiler -v </dev/null >&5) 2>&5
58034 +{ (ac_try="$ac_compiler -v >&5"
58035 +case "(($ac_try" in
58036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58037 + *) ac_try_echo=$ac_try;;
58039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58040 + (eval "$ac_compiler -v >&5") 2>&5
58042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58043 (exit $ac_status); }
58044 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
58045 - (eval $ac_compiler -V </dev/null >&5) 2>&5
58046 +{ (ac_try="$ac_compiler -V >&5"
58047 +case "(($ac_try" in
58048 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58049 + *) ac_try_echo=$ac_try;;
58051 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58052 + (eval "$ac_compiler -V >&5") 2>&5
58054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58055 (exit $ac_status); }
58056 @@ -1783,47 +2326,77 @@ ac_clean_files="$ac_clean_files a.out a.
58057 # Try to create an executable without -o first, disregard a.out.
58058 # It will help us diagnose broken compilers, and finding out an intuition
58060 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
58061 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
58062 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
58063 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
58064 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
58065 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
58066 - (eval $ac_link_default) 2>&5
58068 +# List of possible output files, starting from the most likely.
58069 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
58070 +# only as a last resort. b.out is created by i960 compilers.
58071 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
58073 +# The IRIX 6 linker writes into existing files which may not be
58074 +# executable, retaining their permissions. Remove them first so a
58075 +# subsequent execution test works.
58077 +for ac_file in $ac_files
58080 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
58081 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
58086 +if { (ac_try="$ac_link_default"
58087 +case "(($ac_try" in
58088 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58089 + *) ac_try_echo=$ac_try;;
58091 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58092 + (eval "$ac_link_default") 2>&5
58094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58095 (exit $ac_status); }; then
58096 - # Find the output, starting from the most likely. This scheme is
58097 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
58100 -# Be careful to initialize this variable, since it used to be cached.
58101 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
58103 -# b.out is created by i960 compilers.
58104 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
58105 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
58106 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
58107 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
58108 +# so that the user can short-circuit this test for compilers unknown to
58110 +for ac_file in $ac_files ''
58112 test -f "$ac_file" || continue
58114 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
58116 - conftest.$ac_ext )
58117 - # This is the source file.
58118 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
58121 # We found the default executable, but exeext='' is most
58125 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
58126 - # FIXME: I believe we export ac_cv_exeext for Libtool,
58127 - # but it would be cool to find out if it's true. Does anybody
58128 - # maintain Libtool? --akim.
58129 - export ac_cv_exeext
58130 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
58132 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
58134 + # We set ac_cv_exeext here because the later test for it is not
58135 + # safe: cross compilers may not add the suffix if given an `-o'
58136 + # argument, so we may need to know it at that point already.
58137 + # Even if this section looks crufty: it has the advantage of
58138 + # actually working.
58144 +test "$ac_cv_exeext" = no && ac_cv_exeext=
58150 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
58151 +echo "${ECHO_T}$ac_file" >&6; }
58152 +if test -z "$ac_file"; then
58153 echo "$as_me: failed program was:" >&5
58154 sed 's/^/| /' conftest.$ac_ext >&5
58156 @@ -1835,19 +2408,21 @@ See \`config.log' for more details." >&2
58159 ac_exeext=$ac_cv_exeext
58160 -echo "$as_me:$LINENO: result: $ac_file" >&5
58161 -echo "${ECHO_T}$ac_file" >&6
58163 -# Check the compiler produces executables we can run. If not, either
58164 +# Check that the compiler produces executables we can run. If not, either
58165 # the compiler is broken, or we cross compile.
58166 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
58167 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
58168 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
58169 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
58170 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
58171 # If not cross compiling, check that we can run a simple program.
58172 if test "$cross_compiling" != yes; then
58173 if { ac_try='./$ac_file'
58174 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58175 - (eval $ac_try) 2>&5
58176 + { (case "(($ac_try" in
58177 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58178 + *) ac_try_echo=$ac_try;;
58180 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58181 + (eval "$ac_try") 2>&5
58183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58184 (exit $ac_status); }; }; then
58185 @@ -1866,22 +2441,27 @@ See \`config.log' for more details." >&2
58189 -echo "$as_me:$LINENO: result: yes" >&5
58190 -echo "${ECHO_T}yes" >&6
58191 +{ echo "$as_me:$LINENO: result: yes" >&5
58192 +echo "${ECHO_T}yes" >&6; }
58194 rm -f a.out a.exe conftest$ac_cv_exeext b.out
58195 ac_clean_files=$ac_clean_files_save
58196 -# Check the compiler produces executables we can run. If not, either
58197 +# Check that the compiler produces executables we can run. If not, either
58198 # the compiler is broken, or we cross compile.
58199 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
58200 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
58201 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
58202 -echo "${ECHO_T}$cross_compiling" >&6
58204 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
58205 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
58206 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58207 - (eval $ac_link) 2>&5
58208 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
58209 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
58210 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
58211 +echo "${ECHO_T}$cross_compiling" >&6; }
58213 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
58214 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
58215 +if { (ac_try="$ac_link"
58216 +case "(($ac_try" in
58217 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58218 + *) ac_try_echo=$ac_try;;
58220 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58221 + (eval "$ac_link") 2>&5
58223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58224 (exit $ac_status); }; then
58225 @@ -1892,9 +2472,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_l
58226 for ac_file in conftest.exe conftest conftest.*; do
58227 test -f "$ac_file" || continue
58229 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
58230 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
58231 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
58232 - export ac_cv_exeext
58236 @@ -1908,14 +2487,14 @@ See \`config.log' for more details." >&2
58239 rm -f conftest$ac_cv_exeext
58240 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
58241 -echo "${ECHO_T}$ac_cv_exeext" >&6
58242 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
58243 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
58245 rm -f conftest.$ac_ext
58246 EXEEXT=$ac_cv_exeext
58248 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
58249 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
58250 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
58251 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
58252 if test "${ac_cv_objext+set}" = set; then
58253 echo $ECHO_N "(cached) $ECHO_C" >&6
58255 @@ -1935,14 +2514,20 @@ main ()
58258 rm -f conftest.o conftest.obj
58259 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58260 - (eval $ac_compile) 2>&5
58261 +if { (ac_try="$ac_compile"
58262 +case "(($ac_try" in
58263 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58264 + *) ac_try_echo=$ac_try;;
58266 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58267 + (eval "$ac_compile") 2>&5
58269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58270 (exit $ac_status); }; then
58271 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
58272 + for ac_file in conftest.o conftest.obj conftest.*; do
58273 + test -f "$ac_file" || continue;
58275 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
58276 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
58277 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
58280 @@ -1960,12 +2545,12 @@ fi
58282 rm -f conftest.$ac_cv_objext conftest.$ac_ext
58284 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
58285 -echo "${ECHO_T}$ac_cv_objext" >&6
58286 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
58287 +echo "${ECHO_T}$ac_cv_objext" >&6; }
58288 OBJEXT=$ac_cv_objext
58290 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
58291 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
58292 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
58293 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
58294 if test "${ac_cv_c_compiler_gnu+set}" = set; then
58295 echo $ECHO_N "(cached) $ECHO_C" >&6
58297 @@ -1988,50 +2573,49 @@ main ()
58300 rm -f conftest.$ac_objext
58301 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58302 - (eval $ac_compile) 2>conftest.er1
58303 +if { (ac_try="$ac_compile"
58304 +case "(($ac_try" in
58305 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58306 + *) ac_try_echo=$ac_try;;
58308 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58309 + (eval "$ac_compile") 2>conftest.er1
58311 grep -v '^ *+' conftest.er1 >conftest.err
58313 cat conftest.err >&5
58314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58315 - (exit $ac_status); } &&
58316 - { ac_try='test -z "$ac_c_werror_flag"
58317 - || test ! -s conftest.err'
58318 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58319 - (eval $ac_try) 2>&5
58321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58322 - (exit $ac_status); }; } &&
58323 - { ac_try='test -s conftest.$ac_objext'
58324 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58325 - (eval $ac_try) 2>&5
58327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58328 - (exit $ac_status); }; }; then
58329 + (exit $ac_status); } && {
58330 + test -z "$ac_c_werror_flag" ||
58331 + test ! -s conftest.err
58332 + } && test -s conftest.$ac_objext; then
58333 ac_compiler_gnu=yes
58335 echo "$as_me: failed program was:" >&5
58336 sed 's/^/| /' conftest.$ac_ext >&5
58338 -ac_compiler_gnu=no
58339 + ac_compiler_gnu=no
58341 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58343 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58344 ac_cv_c_compiler_gnu=$ac_compiler_gnu
58347 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
58348 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
58349 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
58350 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
58351 GCC=`test $ac_compiler_gnu = yes && echo yes`
58352 ac_test_CFLAGS=${CFLAGS+set}
58353 ac_save_CFLAGS=$CFLAGS
58355 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
58356 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
58357 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
58358 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
58359 if test "${ac_cv_prog_cc_g+set}" = set; then
58360 echo $ECHO_N "(cached) $ECHO_C" >&6
58362 - cat >conftest.$ac_ext <<_ACEOF
58363 + ac_save_c_werror_flag=$ac_c_werror_flag
58364 + ac_c_werror_flag=yes
58365 + ac_cv_prog_cc_g=no
58367 + cat >conftest.$ac_ext <<_ACEOF
58370 cat confdefs.h >>conftest.$ac_ext
58371 @@ -2047,38 +2631,118 @@ main ()
58374 rm -f conftest.$ac_objext
58375 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58376 - (eval $ac_compile) 2>conftest.er1
58377 +if { (ac_try="$ac_compile"
58378 +case "(($ac_try" in
58379 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58380 + *) ac_try_echo=$ac_try;;
58382 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58383 + (eval "$ac_compile") 2>conftest.er1
58385 grep -v '^ *+' conftest.er1 >conftest.err
58387 cat conftest.err >&5
58388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58389 - (exit $ac_status); } &&
58390 - { ac_try='test -z "$ac_c_werror_flag"
58391 - || test ! -s conftest.err'
58392 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58393 - (eval $ac_try) 2>&5
58394 + (exit $ac_status); } && {
58395 + test -z "$ac_c_werror_flag" ||
58396 + test ! -s conftest.err
58397 + } && test -s conftest.$ac_objext; then
58398 + ac_cv_prog_cc_g=yes
58400 + echo "$as_me: failed program was:" >&5
58401 +sed 's/^/| /' conftest.$ac_ext >&5
58404 + cat >conftest.$ac_ext <<_ACEOF
58407 +cat confdefs.h >>conftest.$ac_ext
58408 +cat >>conftest.$ac_ext <<_ACEOF
58409 +/* end confdefs.h. */
58419 +rm -f conftest.$ac_objext
58420 +if { (ac_try="$ac_compile"
58421 +case "(($ac_try" in
58422 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58423 + *) ac_try_echo=$ac_try;;
58425 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58426 + (eval "$ac_compile") 2>conftest.er1
58428 + grep -v '^ *+' conftest.er1 >conftest.err
58429 + rm -f conftest.er1
58430 + cat conftest.err >&5
58431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58432 - (exit $ac_status); }; } &&
58433 - { ac_try='test -s conftest.$ac_objext'
58434 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58435 - (eval $ac_try) 2>&5
58436 + (exit $ac_status); } && {
58437 + test -z "$ac_c_werror_flag" ||
58438 + test ! -s conftest.err
58439 + } && test -s conftest.$ac_objext; then
58442 + echo "$as_me: failed program was:" >&5
58443 +sed 's/^/| /' conftest.$ac_ext >&5
58445 + ac_c_werror_flag=$ac_save_c_werror_flag
58447 + cat >conftest.$ac_ext <<_ACEOF
58450 +cat confdefs.h >>conftest.$ac_ext
58451 +cat >>conftest.$ac_ext <<_ACEOF
58452 +/* end confdefs.h. */
58462 +rm -f conftest.$ac_objext
58463 +if { (ac_try="$ac_compile"
58464 +case "(($ac_try" in
58465 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58466 + *) ac_try_echo=$ac_try;;
58468 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58469 + (eval "$ac_compile") 2>conftest.er1
58471 + grep -v '^ *+' conftest.er1 >conftest.err
58472 + rm -f conftest.er1
58473 + cat conftest.err >&5
58474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475 - (exit $ac_status); }; }; then
58476 + (exit $ac_status); } && {
58477 + test -z "$ac_c_werror_flag" ||
58478 + test ! -s conftest.err
58479 + } && test -s conftest.$ac_objext; then
58480 ac_cv_prog_cc_g=yes
58482 echo "$as_me: failed program was:" >&5
58483 sed 's/^/| /' conftest.$ac_ext >&5
58485 -ac_cv_prog_cc_g=no
58489 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58492 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58494 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58496 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58497 + ac_c_werror_flag=$ac_save_c_werror_flag
58499 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
58500 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
58501 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
58502 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
58503 if test "$ac_test_CFLAGS" = set; then
58504 CFLAGS=$ac_save_CFLAGS
58505 elif test $ac_cv_prog_cc_g = yes; then
58506 @@ -2094,12 +2758,12 @@ else
58510 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
58511 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
58512 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
58513 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
58514 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
58515 +if test "${ac_cv_prog_cc_c89+set}" = set; then
58516 echo $ECHO_N "(cached) $ECHO_C" >&6
58518 - ac_cv_prog_cc_stdc=no
58519 + ac_cv_prog_cc_c89=no
58521 cat >conftest.$ac_ext <<_ACEOF
58523 @@ -2133,12 +2797,17 @@ static char *f (char * (*g) (char **, in
58524 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
58525 function prototypes and stuff, but not '\xHH' hex character constants.
58526 These don't provoke an error unfortunately, instead are silently treated
58527 - as 'x'. The following induces an error, until -std1 is added to get
58528 + as 'x'. The following induces an error, until -std is added to get
58529 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
58530 array size at least. It's necessary to write '\x00'==0 to get something
58531 - that's true only with -std1. */
58532 + that's true only with -std. */
58533 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
58535 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
58536 + inside strings and character constants. */
58537 +#define FOO(x) 'x'
58538 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
58540 int test (int i, double x);
58541 struct s1 {int (*f) (int a);};
58542 struct s2 {int (*f) (double a);};
58543 @@ -2153,335 +2822,144 @@ return f (e, argv, 0) != argv[0] || f
58547 -# Don't try gcc -ansi; that turns off useful extensions and
58548 -# breaks some systems' header files.
58549 -# AIX -qlanglvl=ansi
58550 -# Ultrix and OSF/1 -std1
58551 -# HP-UX 10.20 and later -Ae
58552 -# HP-UX older versions -Aa -D_HPUX_SOURCE
58553 -# SVR4 -Xc -D__EXTENSIONS__
58554 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
58555 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
58556 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
58558 CC="$ac_save_CC $ac_arg"
58559 rm -f conftest.$ac_objext
58560 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58561 - (eval $ac_compile) 2>conftest.er1
58562 +if { (ac_try="$ac_compile"
58563 +case "(($ac_try" in
58564 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58565 + *) ac_try_echo=$ac_try;;
58567 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58568 + (eval "$ac_compile") 2>conftest.er1
58570 grep -v '^ *+' conftest.er1 >conftest.err
58572 cat conftest.err >&5
58573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58574 - (exit $ac_status); } &&
58575 - { ac_try='test -z "$ac_c_werror_flag"
58576 - || test ! -s conftest.err'
58577 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58578 - (eval $ac_try) 2>&5
58580 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58581 - (exit $ac_status); }; } &&
58582 - { ac_try='test -s conftest.$ac_objext'
58583 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58584 - (eval $ac_try) 2>&5
58586 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58587 - (exit $ac_status); }; }; then
58588 - ac_cv_prog_cc_stdc=$ac_arg
58590 + (exit $ac_status); } && {
58591 + test -z "$ac_c_werror_flag" ||
58592 + test ! -s conftest.err
58593 + } && test -s conftest.$ac_objext; then
58594 + ac_cv_prog_cc_c89=$ac_arg
58596 echo "$as_me: failed program was:" >&5
58597 sed 's/^/| /' conftest.$ac_ext >&5
58601 -rm -f conftest.err conftest.$ac_objext
58603 +rm -f core conftest.err conftest.$ac_objext
58604 + test "x$ac_cv_prog_cc_c89" != "xno" && break
58606 -rm -f conftest.$ac_ext conftest.$ac_objext
58607 +rm -f conftest.$ac_ext
58612 -case "x$ac_cv_prog_cc_stdc" in
58614 - echo "$as_me:$LINENO: result: none needed" >&5
58615 -echo "${ECHO_T}none needed" >&6 ;;
58617 +case "x$ac_cv_prog_cc_c89" in
58619 + { echo "$as_me:$LINENO: result: none needed" >&5
58620 +echo "${ECHO_T}none needed" >&6; } ;;
58622 + { echo "$as_me:$LINENO: result: unsupported" >&5
58623 +echo "${ECHO_T}unsupported" >&6; } ;;
58625 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
58626 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
58627 - CC="$CC $ac_cv_prog_cc_stdc" ;;
58628 + CC="$CC $ac_cv_prog_cc_c89"
58629 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
58630 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
58633 -# Some people use a C++ compiler to compile C. Since we use `exit',
58634 -# in C++ we need to declare it. In case someone uses the same compiler
58635 -# for both compiling C and C++ we need to have the C++ compiler decide
58636 -# the declaration of exit, since it's the most demanding environment.
58639 +ac_cpp='$CPP $CPPFLAGS'
58640 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
58645 +{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
58646 +echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
58647 +if test "${ac_cv_search_strerror+set}" = set; then
58648 + echo $ECHO_N "(cached) $ECHO_C" >&6
58650 + ac_func_search_save_LIBS=$LIBS
58651 cat >conftest.$ac_ext <<_ACEOF
58652 -#ifndef __cplusplus
58656 -rm -f conftest.$ac_objext
58657 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58658 - (eval $ac_compile) 2>conftest.er1
58660 - grep -v '^ *+' conftest.er1 >conftest.err
58661 - rm -f conftest.er1
58662 - cat conftest.err >&5
58663 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58664 - (exit $ac_status); } &&
58665 - { ac_try='test -z "$ac_c_werror_flag"
58666 - || test ! -s conftest.err'
58667 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58668 - (eval $ac_try) 2>&5
58670 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58671 - (exit $ac_status); }; } &&
58672 - { ac_try='test -s conftest.$ac_objext'
58673 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58674 - (eval $ac_try) 2>&5
58676 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58677 - (exit $ac_status); }; }; then
58678 - for ac_declaration in \
58680 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
58681 - 'extern "C" void std::exit (int); using std::exit;' \
58682 - 'extern "C" void exit (int) throw ();' \
58683 - 'extern "C" void exit (int);' \
58684 - 'void exit (int);'
58686 - cat >conftest.$ac_ext <<_ACEOF
58689 cat confdefs.h >>conftest.$ac_ext
58690 cat >>conftest.$ac_ext <<_ACEOF
58691 /* end confdefs.h. */
58693 -#include <stdlib.h>
58695 +/* Override any GCC internal prototype to avoid an error.
58696 + Use char because int might match the return type of a GCC
58697 + builtin and then its argument prototype would still apply. */
58698 +#ifdef __cplusplus
58706 +return strerror ();
58711 -rm -f conftest.$ac_objext
58712 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58713 - (eval $ac_compile) 2>conftest.er1
58714 +for ac_lib in '' cposix; do
58715 + if test -z "$ac_lib"; then
58716 + ac_res="none required"
58719 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
58721 + rm -f conftest.$ac_objext conftest$ac_exeext
58722 +if { (ac_try="$ac_link"
58723 +case "(($ac_try" in
58724 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
58725 + *) ac_try_echo=$ac_try;;
58727 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
58728 + (eval "$ac_link") 2>conftest.er1
58730 grep -v '^ *+' conftest.er1 >conftest.err
58732 cat conftest.err >&5
58733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58734 - (exit $ac_status); } &&
58735 - { ac_try='test -z "$ac_c_werror_flag"
58736 - || test ! -s conftest.err'
58737 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58738 - (eval $ac_try) 2>&5
58740 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58741 - (exit $ac_status); }; } &&
58742 - { ac_try='test -s conftest.$ac_objext'
58743 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58744 - (eval $ac_try) 2>&5
58746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58747 - (exit $ac_status); }; }; then
58749 + (exit $ac_status); } && {
58750 + test -z "$ac_c_werror_flag" ||
58751 + test ! -s conftest.err
58752 + } && test -s conftest$ac_exeext &&
58753 + $as_test_x conftest$ac_exeext; then
58754 + ac_cv_search_strerror=$ac_res
58756 echo "$as_me: failed program was:" >&5
58757 sed 's/^/| /' conftest.$ac_ext >&5
58761 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58762 - cat >conftest.$ac_ext <<_ACEOF
58765 -cat confdefs.h >>conftest.$ac_ext
58766 -cat >>conftest.$ac_ext <<_ACEOF
58767 -/* end confdefs.h. */
58777 -rm -f conftest.$ac_objext
58778 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58779 - (eval $ac_compile) 2>conftest.er1
58781 - grep -v '^ *+' conftest.er1 >conftest.err
58782 - rm -f conftest.er1
58783 - cat conftest.err >&5
58784 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58785 - (exit $ac_status); } &&
58786 - { ac_try='test -z "$ac_c_werror_flag"
58787 - || test ! -s conftest.err'
58788 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58789 - (eval $ac_try) 2>&5
58791 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58792 - (exit $ac_status); }; } &&
58793 - { ac_try='test -s conftest.$ac_objext'
58794 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58795 - (eval $ac_try) 2>&5
58797 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58798 - (exit $ac_status); }; }; then
58801 - echo "$as_me: failed program was:" >&5
58802 -sed 's/^/| /' conftest.$ac_ext >&5
58805 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58808 -if test -n "$ac_declaration"; then
58809 - echo '#ifdef __cplusplus' >>confdefs.h
58810 - echo $ac_declaration >>confdefs.h
58811 - echo '#endif' >>confdefs.h
58815 - echo "$as_me: failed program was:" >&5
58816 -sed 's/^/| /' conftest.$ac_ext >&5
58818 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
58819 + conftest$ac_exeext
58820 + if test "${ac_cv_search_strerror+set}" = set; then
58823 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58825 -ac_cpp='$CPP $CPPFLAGS'
58826 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58827 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58828 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
58831 -echo "$as_me:$LINENO: checking for library containing strerror" >&5
58832 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
58834 if test "${ac_cv_search_strerror+set}" = set; then
58835 - echo $ECHO_N "(cached) $ECHO_C" >&6
58837 - ac_func_search_save_LIBS=$LIBS
58838 -ac_cv_search_strerror=no
58839 -cat >conftest.$ac_ext <<_ACEOF
58842 -cat confdefs.h >>conftest.$ac_ext
58843 -cat >>conftest.$ac_ext <<_ACEOF
58844 -/* end confdefs.h. */
58846 -/* Override any gcc2 internal prototype to avoid an error. */
58847 -#ifdef __cplusplus
58850 -/* We use char because int might match the return type of a gcc2
58851 - builtin and then its argument prototype would still apply. */
58861 -rm -f conftest.$ac_objext conftest$ac_exeext
58862 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58863 - (eval $ac_link) 2>conftest.er1
58865 - grep -v '^ *+' conftest.er1 >conftest.err
58866 - rm -f conftest.er1
58867 - cat conftest.err >&5
58868 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58869 - (exit $ac_status); } &&
58870 - { ac_try='test -z "$ac_c_werror_flag"
58871 - || test ! -s conftest.err'
58872 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58873 - (eval $ac_try) 2>&5
58875 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58876 - (exit $ac_status); }; } &&
58877 - { ac_try='test -s conftest$ac_exeext'
58878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58879 - (eval $ac_try) 2>&5
58881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58882 - (exit $ac_status); }; }; then
58883 - ac_cv_search_strerror="none required"
58885 - echo "$as_me: failed program was:" >&5
58886 -sed 's/^/| /' conftest.$ac_ext >&5
58889 -rm -f conftest.err conftest.$ac_objext \
58890 - conftest$ac_exeext conftest.$ac_ext
58891 -if test "$ac_cv_search_strerror" = no; then
58892 - for ac_lib in cposix; do
58893 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
58894 - cat >conftest.$ac_ext <<_ACEOF
58897 -cat confdefs.h >>conftest.$ac_ext
58898 -cat >>conftest.$ac_ext <<_ACEOF
58899 -/* end confdefs.h. */
58901 -/* Override any gcc2 internal prototype to avoid an error. */
58902 -#ifdef __cplusplus
58905 -/* We use char because int might match the return type of a gcc2
58906 - builtin and then its argument prototype would still apply. */
58916 -rm -f conftest.$ac_objext conftest$ac_exeext
58917 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58918 - (eval $ac_link) 2>conftest.er1
58920 - grep -v '^ *+' conftest.er1 >conftest.err
58921 - rm -f conftest.er1
58922 - cat conftest.err >&5
58923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58924 - (exit $ac_status); } &&
58925 - { ac_try='test -z "$ac_c_werror_flag"
58926 - || test ! -s conftest.err'
58927 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58928 - (eval $ac_try) 2>&5
58930 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58931 - (exit $ac_status); }; } &&
58932 - { ac_try='test -s conftest$ac_exeext'
58933 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58934 - (eval $ac_try) 2>&5
58936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
58937 - (exit $ac_status); }; }; then
58938 - ac_cv_search_strerror="-l$ac_lib"
58942 - echo "$as_me: failed program was:" >&5
58943 -sed 's/^/| /' conftest.$ac_ext >&5
58946 -rm -f conftest.err conftest.$ac_objext \
58947 - conftest$ac_exeext conftest.$ac_ext
58949 + ac_cv_search_strerror=no
58951 +rm conftest.$ac_ext
58952 LIBS=$ac_func_search_save_LIBS
58954 -echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
58955 -echo "${ECHO_T}$ac_cv_search_strerror" >&6
58956 -if test "$ac_cv_search_strerror" != no; then
58957 - test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
58958 +{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
58959 +echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
58960 +ac_res=$ac_cv_search_strerror
58961 +if test "$ac_res" != no; then
58962 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
58966 @@ -2501,8 +2979,8 @@ am__api_version="1.9"
58967 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
58968 # OS/2's system install, which has a completely different semantic
58969 # ./install, which can be erroneously created by make from ./install.sh.
58970 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
58971 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
58972 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
58973 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
58974 if test -z "$INSTALL"; then
58975 if test "${ac_cv_path_install+set}" = set; then
58976 echo $ECHO_N "(cached) $ECHO_C" >&6
58977 @@ -2524,7 +3002,7 @@ case $as_dir/ in
58979 for ac_prog in ginstall scoinst install; do
58980 for ac_exec_ext in '' $ac_executable_extensions; do
58981 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
58982 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
58983 if test $ac_prog = install &&
58984 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
58985 # AIX install. It has an incompatible calling convention.
58986 @@ -2543,21 +3021,22 @@ case $as_dir/ in
58994 if test "${ac_cv_path_install+set}" = set; then
58995 INSTALL=$ac_cv_path_install
58997 - # As a last resort, use the slow shell script. We don't cache a
58998 - # path for INSTALL within a source directory, because that will
58999 + # As a last resort, use the slow shell script. Don't cache a
59000 + # value for INSTALL within a source directory, because that will
59001 # break other packages using the cache if that directory is
59002 - # removed, or if the path is relative.
59003 + # removed, or if the value is a relative name.
59004 INSTALL=$ac_install_sh
59007 -echo "$as_me:$LINENO: result: $INSTALL" >&5
59008 -echo "${ECHO_T}$INSTALL" >&6
59009 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
59010 +echo "${ECHO_T}$INSTALL" >&6; }
59012 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
59013 # It thinks the first close brace ends the variable substitution.
59014 @@ -2567,8 +3046,8 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
59016 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
59018 -echo "$as_me:$LINENO: checking whether build environment is sane" >&5
59019 -echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
59020 +{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
59021 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
59024 echo timestamp > conftest.file
59025 @@ -2610,20 +3089,20 @@ echo "$as_me: error: newly created file
59026 Check your system clock" >&2;}
59027 { (exit 1); exit 1; }; }
59029 -echo "$as_me:$LINENO: result: yes" >&5
59030 -echo "${ECHO_T}yes" >&6
59031 +{ echo "$as_me:$LINENO: result: yes" >&5
59032 +echo "${ECHO_T}yes" >&6; }
59033 test "$program_prefix" != NONE &&
59034 - program_transform_name="s,^,$program_prefix,;$program_transform_name"
59035 + program_transform_name="s&^&$program_prefix&;$program_transform_name"
59036 # Use a double $ so make ignores it.
59037 test "$program_suffix" != NONE &&
59038 - program_transform_name="s,\$,$program_suffix,;$program_transform_name"
59039 + program_transform_name="s&\$&$program_suffix&;$program_transform_name"
59040 # Double any \ or $. echo might interpret backslashes.
59041 # By default was `s,x,x', remove it if useless.
59042 cat <<\_ACEOF >conftest.sed
59043 s/[\\$]/&&/g;s/;s,x,x,$//
59045 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
59047 +rm -f conftest.sed
59049 # expand $ac_aux_dir to an absolute path
59050 am_aux_dir=`cd $ac_aux_dir && pwd`
59051 @@ -2675,8 +3154,8 @@ for ac_prog in gawk mawk nawk awk
59053 # Extract the first word of "$ac_prog", so it can be a program name with args.
59054 set dummy $ac_prog; ac_word=$2
59055 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59056 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59057 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59058 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59059 if test "${ac_cv_prog_AWK+set}" = set; then
59060 echo $ECHO_N "(cached) $ECHO_C" >&6
59062 @@ -2689,54 +3168,57 @@ do
59064 test -z "$as_dir" && as_dir=.
59065 for ac_exec_ext in '' $ac_executable_extensions; do
59066 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59067 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59068 ac_cv_prog_AWK="$ac_prog"
59069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59078 AWK=$ac_cv_prog_AWK
59079 if test -n "$AWK"; then
59080 - echo "$as_me:$LINENO: result: $AWK" >&5
59081 -echo "${ECHO_T}$AWK" >&6
59082 + { echo "$as_me:$LINENO: result: $AWK" >&5
59083 +echo "${ECHO_T}$AWK" >&6; }
59085 - echo "$as_me:$LINENO: result: no" >&5
59086 -echo "${ECHO_T}no" >&6
59087 + { echo "$as_me:$LINENO: result: no" >&5
59088 +echo "${ECHO_T}no" >&6; }
59092 test -n "$AWK" && break
59095 -echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
59096 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
59097 -set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
59098 -if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
59099 +{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
59100 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
59101 +set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
59102 +if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
59103 echo $ECHO_N "(cached) $ECHO_C" >&6
59105 cat >conftest.make <<\_ACEOF
59108 - @echo 'ac_maketemp="$(MAKE)"'
59109 + @echo '@@@%%%=$(MAKE)=@@@%%%'
59111 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
59112 -eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
59113 -if test -n "$ac_maketemp"; then
59114 - eval ac_cv_prog_make_${ac_make}_set=yes
59116 - eval ac_cv_prog_make_${ac_make}_set=no
59118 +case `${MAKE-make} -f conftest.make 2>/dev/null` in
59119 + *@@@%%%=?*=@@@%%%*)
59120 + eval ac_cv_prog_make_${ac_make}_set=yes;;
59122 + eval ac_cv_prog_make_${ac_make}_set=no;;
59124 rm -f conftest.make
59126 -if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
59127 - echo "$as_me:$LINENO: result: yes" >&5
59128 -echo "${ECHO_T}yes" >&6
59129 +if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
59130 + { echo "$as_me:$LINENO: result: yes" >&5
59131 +echo "${ECHO_T}yes" >&6; }
59134 - echo "$as_me:$LINENO: result: no" >&5
59135 -echo "${ECHO_T}no" >&6
59136 + { echo "$as_me:$LINENO: result: no" >&5
59137 +echo "${ECHO_T}no" >&6; }
59138 SET_MAKE="MAKE=${MAKE-make}"
59141 @@ -2751,7 +3233,7 @@ rmdir .tst 2>/dev/null
59143 DEPDIR="${am__leading_dot}deps"
59145 - ac_config_commands="$ac_config_commands depfiles"
59146 +ac_config_commands="$ac_config_commands depfiles"
59149 am_make=${MAKE-make}
59150 @@ -2761,8 +3243,8 @@ am__doit:
59153 # If we don't find an include directive, just comment out the code.
59154 -echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
59155 -echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
59156 +{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
59157 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
59161 @@ -2789,15 +3271,15 @@ if test "$am__include" = "#"; then
59165 -echo "$as_me:$LINENO: result: $_am_result" >&5
59166 -echo "${ECHO_T}$_am_result" >&6
59167 +{ echo "$as_me:$LINENO: result: $_am_result" >&5
59168 +echo "${ECHO_T}$_am_result" >&6; }
59169 rm -f confinc confmf
59171 -# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
59172 +# Check whether --enable-dependency-tracking was given.
59173 if test "${enable_dependency_tracking+set}" = set; then
59174 - enableval="$enable_dependency_tracking"
59175 + enableval=$enable_dependency_tracking;
59179 if test "x$enable_dependency_tracking" != xno; then
59180 am_depcomp="$ac_aux_dir/depcomp"
59182 @@ -2872,8 +3354,8 @@ if test "$cross_compiling" != no; then
59183 if test -n "$ac_tool_prefix"; then
59184 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
59185 set dummy ${ac_tool_prefix}strip; ac_word=$2
59186 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59187 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59188 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59189 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59190 if test "${ac_cv_prog_STRIP+set}" = set; then
59191 echo $ECHO_N "(cached) $ECHO_C" >&6
59193 @@ -2886,32 +3368,34 @@ do
59195 test -z "$as_dir" && as_dir=.
59196 for ac_exec_ext in '' $ac_executable_extensions; do
59197 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59198 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59199 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
59200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59209 STRIP=$ac_cv_prog_STRIP
59210 if test -n "$STRIP"; then
59211 - echo "$as_me:$LINENO: result: $STRIP" >&5
59212 -echo "${ECHO_T}$STRIP" >&6
59213 + { echo "$as_me:$LINENO: result: $STRIP" >&5
59214 +echo "${ECHO_T}$STRIP" >&6; }
59216 - echo "$as_me:$LINENO: result: no" >&5
59217 -echo "${ECHO_T}no" >&6
59218 + { echo "$as_me:$LINENO: result: no" >&5
59219 +echo "${ECHO_T}no" >&6; }
59224 if test -z "$ac_cv_prog_STRIP"; then
59226 # Extract the first word of "strip", so it can be a program name with args.
59227 set dummy strip; ac_word=$2
59228 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59229 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59230 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59231 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
59233 echo $ECHO_N "(cached) $ECHO_C" >&6
59235 @@ -2924,27 +3408,41 @@ do
59237 test -z "$as_dir" && as_dir=.
59238 for ac_exec_ext in '' $ac_executable_extensions; do
59239 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59240 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59241 ac_cv_prog_ac_ct_STRIP="strip"
59242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59249 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
59252 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
59253 if test -n "$ac_ct_STRIP"; then
59254 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59255 -echo "${ECHO_T}$ac_ct_STRIP" >&6
59256 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59257 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
59259 - echo "$as_me:$LINENO: result: no" >&5
59260 -echo "${ECHO_T}no" >&6
59261 + { echo "$as_me:$LINENO: result: no" >&5
59262 +echo "${ECHO_T}no" >&6; }
59265 - STRIP=$ac_ct_STRIP
59266 + if test "x$ac_ct_STRIP" = x; then
59269 + case $cross_compiling:$ac_tool_warned in
59271 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
59272 +whose name does not start with the host triplet. If you think this
59273 +configuration is useful to you, please write to autoconf@gnu.org." >&5
59274 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
59275 +whose name does not start with the host triplet. If you think this
59276 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
59277 +ac_tool_warned=yes ;;
59279 + STRIP=$ac_ct_STRIP
59282 STRIP="$ac_cv_prog_STRIP"
59284 @@ -2965,8 +3463,8 @@ am__tar='${AMTAR} chof - "$$tardir"'; am
59286 depcc="$CC" am_compiler_list=
59288 -echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
59289 -echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
59290 +{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
59291 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
59292 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
59293 echo $ECHO_N "(cached) $ECHO_C" >&6
59295 @@ -3055,8 +3553,8 @@ else
59299 -echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
59300 -echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
59301 +{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
59302 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
59303 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
59306 @@ -3074,10 +3572,9 @@ fi
59310 -# Check whether --enable-shared or --disable-shared was given.
59311 +# Check whether --enable-shared was given.
59312 if test "${enable_shared+set}" = set; then
59313 - enableval="$enable_shared"
59314 - p=${PACKAGE-default}
59315 + enableval=$enable_shared; p=${PACKAGE-default}
59317 yes) enable_shared=yes ;;
59318 no) enable_shared=no ;;
59319 @@ -3095,11 +3592,11 @@ no) enable_shared=no ;;
59324 -# Check whether --enable-static or --disable-static was given.
59327 +# Check whether --enable-static was given.
59328 if test "${enable_static+set}" = set; then
59329 - enableval="$enable_static"
59330 - p=${PACKAGE-default}
59331 + enableval=$enable_static; p=${PACKAGE-default}
59333 yes) enable_static=yes ;;
59334 no) enable_static=no ;;
59335 @@ -3117,11 +3614,11 @@ no) enable_static=no ;;
59340 -# Check whether --enable-fast-install or --disable-fast-install was given.
59343 +# Check whether --enable-fast-install was given.
59344 if test "${enable_fast_install+set}" = set; then
59345 - enableval="$enable_fast_install"
59346 - p=${PACKAGE-default}
59347 + enableval=$enable_fast_install; p=${PACKAGE-default}
59349 yes) enable_fast_install=yes ;;
59350 no) enable_fast_install=no ;;
59351 @@ -3139,20 +3636,21 @@ no) enable_fast_install=no ;;
59354 enable_fast_install=yes
59359 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
59360 +# Check whether --with-gnu-ld was given.
59361 if test "${with_gnu_ld+set}" = set; then
59362 - withval="$with_gnu_ld"
59363 - test "$withval" = no || with_gnu_ld=yes
59364 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
59371 if test "$GCC" = yes; then
59372 # Check if gcc -print-prog-name=ld gives a path.
59373 - echo "$as_me:$LINENO: checking for ld used by GCC" >&5
59374 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
59375 + { echo "$as_me:$LINENO: checking for ld used by GCC" >&5
59376 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; }
59379 # gcc leaves a trailing carriage return which upsets mingw
59380 @@ -3181,11 +3679,11 @@ echo $ECHO_N "checking for ld used by GC
59383 elif test "$with_gnu_ld" = yes; then
59384 - echo "$as_me:$LINENO: checking for GNU ld" >&5
59385 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
59386 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
59387 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
59389 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
59390 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
59391 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
59392 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
59394 if test "${lt_cv_path_LD+set}" = set; then
59395 echo $ECHO_N "(cached) $ECHO_C" >&6
59396 @@ -3214,17 +3712,17 @@ fi
59398 LD="$lt_cv_path_LD"
59399 if test -n "$LD"; then
59400 - echo "$as_me:$LINENO: result: $LD" >&5
59401 -echo "${ECHO_T}$LD" >&6
59402 + { echo "$as_me:$LINENO: result: $LD" >&5
59403 +echo "${ECHO_T}$LD" >&6; }
59405 - echo "$as_me:$LINENO: result: no" >&5
59406 -echo "${ECHO_T}no" >&6
59407 + { echo "$as_me:$LINENO: result: no" >&5
59408 +echo "${ECHO_T}no" >&6; }
59410 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
59411 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
59412 { (exit 1); exit 1; }; }
59413 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
59414 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
59415 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
59416 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
59417 if test "${lt_cv_prog_gnu_ld+set}" = set; then
59418 echo $ECHO_N "(cached) $ECHO_C" >&6
59420 @@ -3235,25 +3733,25 @@ else
59421 lt_cv_prog_gnu_ld=no
59424 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
59425 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
59426 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
59427 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
59428 with_gnu_ld=$lt_cv_prog_gnu_ld
59431 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
59432 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
59433 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
59434 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
59435 if test "${lt_cv_ld_reload_flag+set}" = set; then
59436 echo $ECHO_N "(cached) $ECHO_C" >&6
59438 lt_cv_ld_reload_flag='-r'
59440 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
59441 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
59442 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
59443 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
59444 reload_flag=$lt_cv_ld_reload_flag
59445 test -n "$reload_flag" && reload_flag=" $reload_flag"
59447 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
59448 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
59449 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
59450 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
59451 if test "${lt_cv_path_NM+set}" = set; then
59452 echo $ECHO_N "(cached) $ECHO_C" >&6
59454 @@ -3288,22 +3786,22 @@ fi
59457 NM="$lt_cv_path_NM"
59458 -echo "$as_me:$LINENO: result: $NM" >&5
59459 -echo "${ECHO_T}$NM" >&6
59460 +{ echo "$as_me:$LINENO: result: $NM" >&5
59461 +echo "${ECHO_T}$NM" >&6; }
59463 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
59464 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
59465 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
59466 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
59468 if test "$LN_S" = "ln -s"; then
59469 - echo "$as_me:$LINENO: result: yes" >&5
59470 -echo "${ECHO_T}yes" >&6
59471 + { echo "$as_me:$LINENO: result: yes" >&5
59472 +echo "${ECHO_T}yes" >&6; }
59474 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
59475 -echo "${ECHO_T}no, using $LN_S" >&6
59476 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
59477 +echo "${ECHO_T}no, using $LN_S" >&6; }
59480 -echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
59481 -echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
59482 +{ echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
59483 +echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6; }
59484 if test "${lt_cv_deplibs_check_method+set}" = set; then
59485 echo $ECHO_N "(cached) $ECHO_C" >&6
59487 @@ -3465,8 +3963,8 @@ sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
59491 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
59492 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
59493 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
59494 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
59495 file_magic_cmd=$lt_cv_file_magic_cmd
59496 deplibs_check_method=$lt_cv_deplibs_check_method
59498 @@ -3476,8 +3974,8 @@ deplibs_check_method=$lt_cv_deplibs_chec
59499 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
59501 # find the maximum length of command line arguments
59502 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
59503 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
59504 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
59505 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
59506 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
59507 echo $ECHO_N "(cached) $ECHO_C" >&6
59509 @@ -3528,11 +4026,11 @@ else
59512 if test -n "$lt_cv_sys_max_cmd_len" ; then
59513 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
59514 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
59515 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
59516 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
59518 - echo "$as_me:$LINENO: result: none" >&5
59519 -echo "${ECHO_T}none" >&6
59520 + { echo "$as_me:$LINENO: result: none" >&5
59521 +echo "${ECHO_T}none" >&6; }
59525 @@ -3540,8 +4038,8 @@ fi
59526 case $deplibs_check_method in
59528 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
59529 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
59530 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
59531 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
59532 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
59533 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
59534 echo $ECHO_N "(cached) $ECHO_C" >&6
59536 @@ -3595,17 +4093,17 @@ fi
59538 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
59539 if test -n "$MAGIC_CMD"; then
59540 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59541 -echo "${ECHO_T}$MAGIC_CMD" >&6
59542 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59543 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
59545 - echo "$as_me:$LINENO: result: no" >&5
59546 -echo "${ECHO_T}no" >&6
59547 + { echo "$as_me:$LINENO: result: no" >&5
59548 +echo "${ECHO_T}no" >&6; }
59551 if test -z "$lt_cv_path_MAGIC_CMD"; then
59552 if test -n "$ac_tool_prefix"; then
59553 - echo "$as_me:$LINENO: checking for file" >&5
59554 -echo $ECHO_N "checking for file... $ECHO_C" >&6
59555 + { echo "$as_me:$LINENO: checking for file" >&5
59556 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
59557 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
59558 echo $ECHO_N "(cached) $ECHO_C" >&6
59560 @@ -3659,11 +4157,11 @@ fi
59562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
59563 if test -n "$MAGIC_CMD"; then
59564 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59565 -echo "${ECHO_T}$MAGIC_CMD" >&6
59566 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
59567 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
59569 - echo "$as_me:$LINENO: result: no" >&5
59570 -echo "${ECHO_T}no" >&6
59571 + { echo "$as_me:$LINENO: result: no" >&5
59572 +echo "${ECHO_T}no" >&6; }
59576 @@ -3678,8 +4176,8 @@ esac
59577 if test -n "$ac_tool_prefix"; then
59578 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
59579 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
59580 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59581 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59582 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59583 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59584 if test "${ac_cv_prog_RANLIB+set}" = set; then
59585 echo $ECHO_N "(cached) $ECHO_C" >&6
59587 @@ -3692,32 +4190,34 @@ do
59589 test -z "$as_dir" && as_dir=.
59590 for ac_exec_ext in '' $ac_executable_extensions; do
59591 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59592 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59593 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
59594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59603 RANLIB=$ac_cv_prog_RANLIB
59604 if test -n "$RANLIB"; then
59605 - echo "$as_me:$LINENO: result: $RANLIB" >&5
59606 -echo "${ECHO_T}$RANLIB" >&6
59607 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
59608 +echo "${ECHO_T}$RANLIB" >&6; }
59610 - echo "$as_me:$LINENO: result: no" >&5
59611 -echo "${ECHO_T}no" >&6
59612 + { echo "$as_me:$LINENO: result: no" >&5
59613 +echo "${ECHO_T}no" >&6; }
59618 if test -z "$ac_cv_prog_RANLIB"; then
59619 ac_ct_RANLIB=$RANLIB
59620 # Extract the first word of "ranlib", so it can be a program name with args.
59621 set dummy ranlib; ac_word=$2
59622 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59623 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59624 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59625 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59626 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
59627 echo $ECHO_N "(cached) $ECHO_C" >&6
59629 @@ -3730,27 +4230,41 @@ do
59631 test -z "$as_dir" && as_dir=.
59632 for ac_exec_ext in '' $ac_executable_extensions; do
59633 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59634 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59635 ac_cv_prog_ac_ct_RANLIB="ranlib"
59636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59643 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
59646 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
59647 if test -n "$ac_ct_RANLIB"; then
59648 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
59649 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
59650 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
59651 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
59653 - echo "$as_me:$LINENO: result: no" >&5
59654 -echo "${ECHO_T}no" >&6
59655 + { echo "$as_me:$LINENO: result: no" >&5
59656 +echo "${ECHO_T}no" >&6; }
59659 - RANLIB=$ac_ct_RANLIB
59660 + if test "x$ac_ct_RANLIB" = x; then
59663 + case $cross_compiling:$ac_tool_warned in
59665 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
59666 +whose name does not start with the host triplet. If you think this
59667 +configuration is useful to you, please write to autoconf@gnu.org." >&5
59668 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
59669 +whose name does not start with the host triplet. If you think this
59670 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
59671 +ac_tool_warned=yes ;;
59673 + RANLIB=$ac_ct_RANLIB
59676 RANLIB="$ac_cv_prog_RANLIB"
59678 @@ -3758,8 +4272,8 @@ fi
59679 if test -n "$ac_tool_prefix"; then
59680 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
59681 set dummy ${ac_tool_prefix}strip; ac_word=$2
59682 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59683 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59684 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59685 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59686 if test "${ac_cv_prog_STRIP+set}" = set; then
59687 echo $ECHO_N "(cached) $ECHO_C" >&6
59689 @@ -3772,32 +4286,34 @@ do
59691 test -z "$as_dir" && as_dir=.
59692 for ac_exec_ext in '' $ac_executable_extensions; do
59693 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59694 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59695 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
59696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59705 STRIP=$ac_cv_prog_STRIP
59706 if test -n "$STRIP"; then
59707 - echo "$as_me:$LINENO: result: $STRIP" >&5
59708 -echo "${ECHO_T}$STRIP" >&6
59709 + { echo "$as_me:$LINENO: result: $STRIP" >&5
59710 +echo "${ECHO_T}$STRIP" >&6; }
59712 - echo "$as_me:$LINENO: result: no" >&5
59713 -echo "${ECHO_T}no" >&6
59714 + { echo "$as_me:$LINENO: result: no" >&5
59715 +echo "${ECHO_T}no" >&6; }
59720 if test -z "$ac_cv_prog_STRIP"; then
59722 # Extract the first word of "strip", so it can be a program name with args.
59723 set dummy strip; ac_word=$2
59724 -echo "$as_me:$LINENO: checking for $ac_word" >&5
59725 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
59726 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
59727 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
59728 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
59729 echo $ECHO_N "(cached) $ECHO_C" >&6
59731 @@ -3810,27 +4326,41 @@ do
59733 test -z "$as_dir" && as_dir=.
59734 for ac_exec_ext in '' $ac_executable_extensions; do
59735 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
59736 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59737 ac_cv_prog_ac_ct_STRIP="strip"
59738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
59745 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
59748 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
59749 if test -n "$ac_ct_STRIP"; then
59750 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59751 -echo "${ECHO_T}$ac_ct_STRIP" >&6
59752 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
59753 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
59755 - echo "$as_me:$LINENO: result: no" >&5
59756 -echo "${ECHO_T}no" >&6
59757 + { echo "$as_me:$LINENO: result: no" >&5
59758 +echo "${ECHO_T}no" >&6; }
59761 - STRIP=$ac_ct_STRIP
59762 + if test "x$ac_ct_STRIP" = x; then
59765 + case $cross_compiling:$ac_tool_warned in
59767 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
59768 +whose name does not start with the host triplet. If you think this
59769 +configuration is useful to you, please write to autoconf@gnu.org." >&5
59770 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
59771 +whose name does not start with the host triplet. If you think this
59772 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
59773 +ac_tool_warned=yes ;;
59775 + STRIP=$ac_ct_STRIP
59778 STRIP="$ac_cv_prog_STRIP"
59780 @@ -3845,22 +4375,22 @@ test "$GCC" = yes && libtool_flags="$lib
59781 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
59784 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
59785 +# Check whether --enable-libtool-lock was given.
59786 if test "${enable_libtool_lock+set}" = set; then
59787 - enableval="$enable_libtool_lock"
59788 + enableval=$enable_libtool_lock;
59792 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
59793 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
59796 -# Check whether --with-pic or --without-pic was given.
59797 +# Check whether --with-pic was given.
59798 if test "${with_pic+set}" = set; then
59799 - withval="$with_pic"
59800 - pic_mode="$withval"
59801 + withval=$with_pic; pic_mode="$withval"
59807 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
59808 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
59810 @@ -3869,7 +4399,7 @@ test x"$pic_mode" = xno && libtool_flags
59813 # Find out which ABI we are using.
59814 - echo '#line 3872 "configure"' > conftest.$ac_ext
59815 + echo '#line 4402 "configure"' > conftest.$ac_ext
59816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59817 (eval $ac_compile) 2>&5
59819 @@ -3974,13 +4504,12 @@ x86_64-*linux*|ppc*-*linux*|powerpc*-*li
59820 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
59821 SAVE_CFLAGS="$CFLAGS"
59822 CFLAGS="$CFLAGS -belf"
59823 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
59824 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
59825 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
59826 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
59827 if test "${lt_cv_cc_needs_belf+set}" = set; then
59828 echo $ECHO_N "(cached) $ECHO_C" >&6
59833 ac_cpp='$CPP $CPPFLAGS'
59834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59835 @@ -4003,35 +4532,32 @@ main ()
59838 rm -f conftest.$ac_objext conftest$ac_exeext
59839 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59840 - (eval $ac_link) 2>conftest.er1
59841 +if { (ac_try="$ac_link"
59842 +case "(($ac_try" in
59843 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
59844 + *) ac_try_echo=$ac_try;;
59846 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
59847 + (eval "$ac_link") 2>conftest.er1
59849 grep -v '^ *+' conftest.er1 >conftest.err
59851 cat conftest.err >&5
59852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59853 - (exit $ac_status); } &&
59854 - { ac_try='test -z "$ac_c_werror_flag"
59855 - || test ! -s conftest.err'
59856 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59857 - (eval $ac_try) 2>&5
59859 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
59860 - (exit $ac_status); }; } &&
59861 - { ac_try='test -s conftest$ac_exeext'
59862 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59863 - (eval $ac_try) 2>&5
59865 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 - (exit $ac_status); }; }; then
59867 + (exit $ac_status); } && {
59868 + test -z "$ac_c_werror_flag" ||
59869 + test ! -s conftest.err
59870 + } && test -s conftest$ac_exeext &&
59871 + $as_test_x conftest$ac_exeext; then
59872 lt_cv_cc_needs_belf=yes
59874 echo "$as_me: failed program was:" >&5
59875 sed 's/^/| /' conftest.$ac_ext >&5
59877 -lt_cv_cc_needs_belf=no
59878 + lt_cv_cc_needs_belf=no
59880 -rm -f conftest.err conftest.$ac_objext \
59882 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
59883 conftest$ac_exeext conftest.$ac_ext
59885 ac_cpp='$CPP $CPPFLAGS'
59886 @@ -4040,8 +4566,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
59887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59890 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
59891 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
59892 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
59893 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
59894 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
59895 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
59896 CFLAGS="$SAVE_CFLAGS"
59897 @@ -4071,39 +4597,58 @@ _ACEOF
59899 # The following way of writing the cache mishandles newlines in values,
59900 # but we know of no workaround that is simple, portable, and efficient.
59901 -# So, don't put newlines in cache variables' values.
59902 +# So, we kill variables containing newlines.
59903 # Ultrix sh set writes to stderr and can't be redirected directly,
59904 # and sets the high bit in the cache file unless we assign to the vars.
59907 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59908 + eval ac_val=\$$ac_var
59909 + case $ac_val in #(
59911 + case $ac_var in #(
59912 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
59913 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
59915 + case $ac_var in #(
59916 + _ | IFS | as_nl) ;; #(
59917 + *) $as_unset $ac_var ;;
59923 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
59925 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
59926 + *${as_nl}ac_space=\ *)
59927 # `set' does not quote correctly, so add quotes (double-quote
59928 # substitution turns \\\\ into \\, and sed turns \\ into \).
59931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59935 # `set' quotes correctly as required by POSIX, so do not add quotes.
59937 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
59938 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59946 + /^ac_cv_env_/b end
59950 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59952 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59953 - : end' >>confcache
59954 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
59955 - if test -w $cache_file; then
59956 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
59957 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59958 + :end' >>confcache
59959 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59960 + if test -w "$cache_file"; then
59961 + test "x$cache_file" != "x/dev/null" &&
59962 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
59963 +echo "$as_me: updating cache $cache_file" >&6;}
59964 cat confcache >$cache_file
59966 - echo "not updating unwritable cache $cache_file"
59967 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
59968 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59972 @@ -4129,8 +4674,8 @@ if test -r "$cache_file"; then
59973 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
59974 echo "$as_me: loading cache $cache_file" >&6;}
59975 case $cache_file in
59976 - [\\/]* | ?:[\\/]* ) . $cache_file;;
59977 - *) . ./$cache_file;;
59978 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
59979 + *) . "./$cache_file";;
59983 @@ -4157,15 +4702,14 @@ exec 5>>./config.log
59987 -# Check whether --with-lib-path or --without-lib-path was given.
59988 +# Check whether --with-lib-path was given.
59989 if test "${with_lib_path+set}" = set; then
59990 - withval="$with_lib_path"
59991 - LIB_PATH=$withval
59993 -# Check whether --enable-targets or --disable-targets was given.
59994 + withval=$with_lib_path; LIB_PATH=$withval
59997 +# Check whether --enable-targets was given.
59998 if test "${enable_targets+set}" = set; then
59999 - enableval="$enable_targets"
60000 - case "${enableval}" in
60001 + enableval=$enable_targets; case "${enableval}" in
60002 yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
60003 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
60004 { (exit 1); exit 1; }; }
60005 @@ -4173,10 +4717,10 @@ echo "$as_me: error: enable-targets opti
60006 no) enable_targets= ;;
60007 *) enable_targets=$enableval ;;
60009 -fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
60011 +# Check whether --enable-64-bit-bfd was given.
60012 if test "${enable_64_bit_bfd+set}" = set; then
60013 - enableval="$enable_64_bit_bfd"
60014 - case "${enableval}" in
60015 + enableval=$enable_64_bit_bfd; case "${enableval}" in
60016 yes) want64=true ;;
60017 no) want64=false ;;
60018 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
60019 @@ -4185,12 +4729,12 @@ echo "$as_me: error: bad value ${enablev
60026 -# Check whether --with-sysroot or --without-sysroot was given.
60027 -if test "${with_sysroot+set}" = set; then
60028 - withval="$with_sysroot"
60030 +# Check whether --with-sysroot was given.
60031 +if test "${with_sysroot+set}" = set; then
60032 + withval=$with_sysroot;
60033 case ${with_sysroot} in
60034 yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
60035 *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
60036 @@ -4222,7 +4766,8 @@ else
60037 TARGET_SYSTEM_ROOT=
60038 TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
60046 @@ -4230,17 +4775,17 @@ fi;
60048 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
60050 -# Check whether --enable-werror or --disable-werror was given.
60051 +# Check whether --enable-werror was given.
60052 if test "${enable_werror+set}" = set; then
60053 - enableval="$enable_werror"
60054 - case "${enableval}" in
60055 + enableval=$enable_werror; case "${enableval}" in
60056 yes | y) ERROR_ON_WARNING="yes" ;;
60057 no | n) ERROR_ON_WARNING="no" ;;
60058 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
60059 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
60060 { (exit 1); exit 1; }; } ;;
60066 # Enable -Werror by default when using gcc
60067 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
60068 @@ -4257,10 +4802,9 @@ if test "${GCC}" = yes ; then
60069 WARN_CFLAGS="${GCC_WARN_CFLAGS}"
60072 -# Check whether --enable-build-warnings or --disable-build-warnings was given.
60073 +# Check whether --enable-build-warnings was given.
60074 if test "${enable_build_warnings+set}" = set; then
60075 - enableval="$enable_build_warnings"
60076 - case "${enableval}" in
60077 + enableval=$enable_build_warnings; case "${enableval}" in
60078 yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
60079 no) if test "${GCC}" = yes ; then
60081 @@ -4271,7 +4815,8 @@ if test "${enable_build_warnings+set}" =
60082 WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
60083 *) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
60089 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
60090 echo "Setting warning flags = $WARN_CFLAGS" 6>&1
60091 @@ -4281,7 +4826,7 @@ fi
60095 - ac_config_headers="$ac_config_headers config.h:config.in"
60096 +ac_config_headers="$ac_config_headers config.h:config.in"
60099 if test -z "$target" ; then
60100 @@ -4305,8 +4850,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
60101 if test -n "$ac_tool_prefix"; then
60102 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
60103 set dummy ${ac_tool_prefix}gcc; ac_word=$2
60104 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60105 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60106 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60107 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60108 if test "${ac_cv_prog_CC+set}" = set; then
60109 echo $ECHO_N "(cached) $ECHO_C" >&6
60111 @@ -4319,32 +4864,34 @@ do
60113 test -z "$as_dir" && as_dir=.
60114 for ac_exec_ext in '' $ac_executable_extensions; do
60115 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60116 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60117 ac_cv_prog_CC="${ac_tool_prefix}gcc"
60118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60128 if test -n "$CC"; then
60129 - echo "$as_me:$LINENO: result: $CC" >&5
60130 -echo "${ECHO_T}$CC" >&6
60131 + { echo "$as_me:$LINENO: result: $CC" >&5
60132 +echo "${ECHO_T}$CC" >&6; }
60134 - echo "$as_me:$LINENO: result: no" >&5
60135 -echo "${ECHO_T}no" >&6
60136 + { echo "$as_me:$LINENO: result: no" >&5
60137 +echo "${ECHO_T}no" >&6; }
60142 if test -z "$ac_cv_prog_CC"; then
60144 # Extract the first word of "gcc", so it can be a program name with args.
60145 set dummy gcc; ac_word=$2
60146 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60147 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60148 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60149 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60150 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
60151 echo $ECHO_N "(cached) $ECHO_C" >&6
60153 @@ -4357,36 +4904,51 @@ do
60155 test -z "$as_dir" && as_dir=.
60156 for ac_exec_ext in '' $ac_executable_extensions; do
60157 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60158 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60159 ac_cv_prog_ac_ct_CC="gcc"
60160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60169 ac_ct_CC=$ac_cv_prog_ac_ct_CC
60170 if test -n "$ac_ct_CC"; then
60171 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60172 -echo "${ECHO_T}$ac_ct_CC" >&6
60173 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60174 +echo "${ECHO_T}$ac_ct_CC" >&6; }
60176 - echo "$as_me:$LINENO: result: no" >&5
60177 -echo "${ECHO_T}no" >&6
60178 + { echo "$as_me:$LINENO: result: no" >&5
60179 +echo "${ECHO_T}no" >&6; }
60183 + if test "x$ac_ct_CC" = x; then
60186 + case $cross_compiling:$ac_tool_warned in
60188 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
60189 +whose name does not start with the host triplet. If you think this
60190 +configuration is useful to you, please write to autoconf@gnu.org." >&5
60191 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
60192 +whose name does not start with the host triplet. If you think this
60193 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
60194 +ac_tool_warned=yes ;;
60199 CC="$ac_cv_prog_CC"
60202 if test -z "$CC"; then
60203 - if test -n "$ac_tool_prefix"; then
60204 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
60205 + if test -n "$ac_tool_prefix"; then
60206 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
60207 set dummy ${ac_tool_prefix}cc; ac_word=$2
60208 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60209 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60210 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60211 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60212 if test "${ac_cv_prog_CC+set}" = set; then
60213 echo $ECHO_N "(cached) $ECHO_C" >&6
60215 @@ -4399,74 +4961,34 @@ do
60217 test -z "$as_dir" && as_dir=.
60218 for ac_exec_ext in '' $ac_executable_extensions; do
60219 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60220 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60221 ac_cv_prog_CC="${ac_tool_prefix}cc"
60222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60232 if test -n "$CC"; then
60233 - echo "$as_me:$LINENO: result: $CC" >&5
60234 -echo "${ECHO_T}$CC" >&6
60236 - echo "$as_me:$LINENO: result: no" >&5
60237 -echo "${ECHO_T}no" >&6
60241 -if test -z "$ac_cv_prog_CC"; then
60243 - # Extract the first word of "cc", so it can be a program name with args.
60244 -set dummy cc; ac_word=$2
60245 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60246 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60247 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
60248 - echo $ECHO_N "(cached) $ECHO_C" >&6
60250 - if test -n "$ac_ct_CC"; then
60251 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
60253 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
60254 -for as_dir in $PATH
60257 - test -z "$as_dir" && as_dir=.
60258 - for ac_exec_ext in '' $ac_executable_extensions; do
60259 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60260 - ac_cv_prog_ac_ct_CC="cc"
60261 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60269 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
60270 -if test -n "$ac_ct_CC"; then
60271 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60272 -echo "${ECHO_T}$ac_ct_CC" >&6
60273 + { echo "$as_me:$LINENO: result: $CC" >&5
60274 +echo "${ECHO_T}$CC" >&6; }
60276 - echo "$as_me:$LINENO: result: no" >&5
60277 -echo "${ECHO_T}no" >&6
60278 + { echo "$as_me:$LINENO: result: no" >&5
60279 +echo "${ECHO_T}no" >&6; }
60284 - CC="$ac_cv_prog_CC"
60289 if test -z "$CC"; then
60290 # Extract the first word of "cc", so it can be a program name with args.
60291 set dummy cc; ac_word=$2
60292 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60293 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60294 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60295 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60296 if test "${ac_cv_prog_CC+set}" = set; then
60297 echo $ECHO_N "(cached) $ECHO_C" >&6
60299 @@ -4480,7 +5002,7 @@ do
60301 test -z "$as_dir" && as_dir=.
60302 for ac_exec_ext in '' $ac_executable_extensions; do
60303 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60304 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60305 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
60306 ac_prog_rejected=yes
60308 @@ -4491,6 +5013,7 @@ do
60314 if test $ac_prog_rejected = yes; then
60315 # We found a bogon in the path, so make sure we never use it.
60316 @@ -4508,22 +5031,23 @@ fi
60319 if test -n "$CC"; then
60320 - echo "$as_me:$LINENO: result: $CC" >&5
60321 -echo "${ECHO_T}$CC" >&6
60322 + { echo "$as_me:$LINENO: result: $CC" >&5
60323 +echo "${ECHO_T}$CC" >&6; }
60325 - echo "$as_me:$LINENO: result: no" >&5
60326 -echo "${ECHO_T}no" >&6
60327 + { echo "$as_me:$LINENO: result: no" >&5
60328 +echo "${ECHO_T}no" >&6; }
60333 if test -z "$CC"; then
60334 if test -n "$ac_tool_prefix"; then
60335 - for ac_prog in cl
60336 + for ac_prog in cl.exe
60338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
60339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
60340 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60341 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60342 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60343 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60344 if test "${ac_cv_prog_CC+set}" = set; then
60345 echo $ECHO_N "(cached) $ECHO_C" >&6
60347 @@ -4536,36 +5060,38 @@ do
60349 test -z "$as_dir" && as_dir=.
60350 for ac_exec_ext in '' $ac_executable_extensions; do
60351 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60352 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60353 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
60354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60364 if test -n "$CC"; then
60365 - echo "$as_me:$LINENO: result: $CC" >&5
60366 -echo "${ECHO_T}$CC" >&6
60367 + { echo "$as_me:$LINENO: result: $CC" >&5
60368 +echo "${ECHO_T}$CC" >&6; }
60370 - echo "$as_me:$LINENO: result: no" >&5
60371 -echo "${ECHO_T}no" >&6
60372 + { echo "$as_me:$LINENO: result: no" >&5
60373 +echo "${ECHO_T}no" >&6; }
60377 test -n "$CC" && break
60380 if test -z "$CC"; then
60382 - for ac_prog in cl
60383 + for ac_prog in cl.exe
60385 # Extract the first word of "$ac_prog", so it can be a program name with args.
60386 set dummy $ac_prog; ac_word=$2
60387 -echo "$as_me:$LINENO: checking for $ac_word" >&5
60388 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
60389 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
60390 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
60391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
60392 echo $ECHO_N "(cached) $ECHO_C" >&6
60394 @@ -4578,29 +5104,45 @@ do
60396 test -z "$as_dir" && as_dir=.
60397 for ac_exec_ext in '' $ac_executable_extensions; do
60398 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
60399 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
60400 ac_cv_prog_ac_ct_CC="$ac_prog"
60401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
60410 ac_ct_CC=$ac_cv_prog_ac_ct_CC
60411 if test -n "$ac_ct_CC"; then
60412 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60413 -echo "${ECHO_T}$ac_ct_CC" >&6
60414 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
60415 +echo "${ECHO_T}$ac_ct_CC" >&6; }
60417 - echo "$as_me:$LINENO: result: no" >&5
60418 -echo "${ECHO_T}no" >&6
60419 + { echo "$as_me:$LINENO: result: no" >&5
60420 +echo "${ECHO_T}no" >&6; }
60424 test -n "$ac_ct_CC" && break
60428 + if test "x$ac_ct_CC" = x; then
60431 + case $cross_compiling:$ac_tool_warned in
60433 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
60434 +whose name does not start with the host triplet. If you think this
60435 +configuration is useful to you, please write to autoconf@gnu.org." >&5
60436 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
60437 +whose name does not start with the host triplet. If you think this
60438 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
60439 +ac_tool_warned=yes ;;
60446 @@ -4613,27 +5155,41 @@ See \`config.log' for more details." >&2
60447 { (exit 1); exit 1; }; }
60449 # Provide some information about the compiler.
60450 -echo "$as_me:$LINENO:" \
60451 - "checking for C compiler version" >&5
60452 +echo "$as_me:$LINENO: checking for C compiler version" >&5
60453 ac_compiler=`set X $ac_compile; echo $2`
60454 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
60455 - (eval $ac_compiler --version </dev/null >&5) 2>&5
60456 +{ (ac_try="$ac_compiler --version >&5"
60457 +case "(($ac_try" in
60458 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60459 + *) ac_try_echo=$ac_try;;
60461 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60462 + (eval "$ac_compiler --version >&5") 2>&5
60464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60465 (exit $ac_status); }
60466 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
60467 - (eval $ac_compiler -v </dev/null >&5) 2>&5
60468 +{ (ac_try="$ac_compiler -v >&5"
60469 +case "(($ac_try" in
60470 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60471 + *) ac_try_echo=$ac_try;;
60473 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60474 + (eval "$ac_compiler -v >&5") 2>&5
60476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60477 (exit $ac_status); }
60478 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
60479 - (eval $ac_compiler -V </dev/null >&5) 2>&5
60480 +{ (ac_try="$ac_compiler -V >&5"
60481 +case "(($ac_try" in
60482 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60483 + *) ac_try_echo=$ac_try;;
60485 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60486 + (eval "$ac_compiler -V >&5") 2>&5
60488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60489 (exit $ac_status); }
60491 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
60492 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
60493 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
60494 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
60495 if test "${ac_cv_c_compiler_gnu+set}" = set; then
60496 echo $ECHO_N "(cached) $ECHO_C" >&6
60498 @@ -4656,50 +5212,49 @@ main ()
60501 rm -f conftest.$ac_objext
60502 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60503 - (eval $ac_compile) 2>conftest.er1
60504 +if { (ac_try="$ac_compile"
60505 +case "(($ac_try" in
60506 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60507 + *) ac_try_echo=$ac_try;;
60509 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60510 + (eval "$ac_compile") 2>conftest.er1
60512 grep -v '^ *+' conftest.er1 >conftest.err
60514 cat conftest.err >&5
60515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60516 - (exit $ac_status); } &&
60517 - { ac_try='test -z "$ac_c_werror_flag"
60518 - || test ! -s conftest.err'
60519 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60520 - (eval $ac_try) 2>&5
60522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523 - (exit $ac_status); }; } &&
60524 - { ac_try='test -s conftest.$ac_objext'
60525 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60526 - (eval $ac_try) 2>&5
60528 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60529 - (exit $ac_status); }; }; then
60530 + (exit $ac_status); } && {
60531 + test -z "$ac_c_werror_flag" ||
60532 + test ! -s conftest.err
60533 + } && test -s conftest.$ac_objext; then
60534 ac_compiler_gnu=yes
60536 echo "$as_me: failed program was:" >&5
60537 sed 's/^/| /' conftest.$ac_ext >&5
60539 -ac_compiler_gnu=no
60540 + ac_compiler_gnu=no
60542 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60544 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
60548 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
60549 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
60550 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
60551 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
60552 GCC=`test $ac_compiler_gnu = yes && echo yes`
60553 ac_test_CFLAGS=${CFLAGS+set}
60554 ac_save_CFLAGS=$CFLAGS
60556 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
60557 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
60558 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
60559 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
60560 if test "${ac_cv_prog_cc_g+set}" = set; then
60561 echo $ECHO_N "(cached) $ECHO_C" >&6
60563 - cat >conftest.$ac_ext <<_ACEOF
60564 + ac_save_c_werror_flag=$ac_c_werror_flag
60565 + ac_c_werror_flag=yes
60566 + ac_cv_prog_cc_g=no
60568 + cat >conftest.$ac_ext <<_ACEOF
60571 cat confdefs.h >>conftest.$ac_ext
60572 @@ -4715,59 +5270,139 @@ main ()
60575 rm -f conftest.$ac_objext
60576 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60577 - (eval $ac_compile) 2>conftest.er1
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
60588 cat conftest.err >&5
60589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60590 - (exit $ac_status); } &&
60591 - { ac_try='test -z "$ac_c_werror_flag"
60592 - || test ! -s conftest.err'
60593 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60594 - (eval $ac_try) 2>&5
60596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60597 - (exit $ac_status); }; } &&
60598 - { ac_try='test -s conftest.$ac_objext'
60599 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60600 - (eval $ac_try) 2>&5
60602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60603 - (exit $ac_status); }; }; then
60604 + (exit $ac_status); } && {
60605 + test -z "$ac_c_werror_flag" ||
60606 + test ! -s conftest.err
60607 + } && test -s conftest.$ac_objext; then
60608 ac_cv_prog_cc_g=yes
60610 echo "$as_me: failed program was:" >&5
60611 sed 's/^/| /' conftest.$ac_ext >&5
60613 -ac_cv_prog_cc_g=no
60615 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60617 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
60618 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
60619 -if test "$ac_test_CFLAGS" = set; then
60620 - CFLAGS=$ac_save_CFLAGS
60621 -elif test $ac_cv_prog_cc_g = yes; then
60622 - if test "$GCC" = yes; then
60628 - if test "$GCC" = yes; then
60634 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
60635 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
60636 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
60637 - echo $ECHO_N "(cached) $ECHO_C" >&6
60639 - ac_cv_prog_cc_stdc=no
60641 + cat >conftest.$ac_ext <<_ACEOF
60644 +cat confdefs.h >>conftest.$ac_ext
60645 +cat >>conftest.$ac_ext <<_ACEOF
60646 +/* end confdefs.h. */
60656 +rm -f conftest.$ac_objext
60657 +if { (ac_try="$ac_compile"
60658 +case "(($ac_try" in
60659 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60660 + *) ac_try_echo=$ac_try;;
60662 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60663 + (eval "$ac_compile") 2>conftest.er1
60665 + grep -v '^ *+' conftest.er1 >conftest.err
60666 + rm -f conftest.er1
60667 + cat conftest.err >&5
60668 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
60669 + (exit $ac_status); } && {
60670 + test -z "$ac_c_werror_flag" ||
60671 + test ! -s conftest.err
60672 + } && test -s conftest.$ac_objext; then
60675 + echo "$as_me: failed program was:" >&5
60676 +sed 's/^/| /' conftest.$ac_ext >&5
60678 + ac_c_werror_flag=$ac_save_c_werror_flag
60680 + cat >conftest.$ac_ext <<_ACEOF
60683 +cat confdefs.h >>conftest.$ac_ext
60684 +cat >>conftest.$ac_ext <<_ACEOF
60685 +/* end confdefs.h. */
60695 +rm -f conftest.$ac_objext
60696 +if { (ac_try="$ac_compile"
60697 +case "(($ac_try" in
60698 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60699 + *) ac_try_echo=$ac_try;;
60701 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60702 + (eval "$ac_compile") 2>conftest.er1
60704 + grep -v '^ *+' conftest.er1 >conftest.err
60705 + rm -f conftest.er1
60706 + cat conftest.err >&5
60707 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
60708 + (exit $ac_status); } && {
60709 + test -z "$ac_c_werror_flag" ||
60710 + test ! -s conftest.err
60711 + } && test -s conftest.$ac_objext; then
60712 + ac_cv_prog_cc_g=yes
60714 + echo "$as_me: failed program was:" >&5
60715 +sed 's/^/| /' conftest.$ac_ext >&5
60720 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60723 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60726 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60727 + ac_c_werror_flag=$ac_save_c_werror_flag
60729 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
60730 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
60731 +if test "$ac_test_CFLAGS" = set; then
60732 + CFLAGS=$ac_save_CFLAGS
60733 +elif test $ac_cv_prog_cc_g = yes; then
60734 + if test "$GCC" = yes; then
60740 + if test "$GCC" = yes; then
60746 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
60747 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
60748 +if test "${ac_cv_prog_cc_c89+set}" = set; then
60749 + echo $ECHO_N "(cached) $ECHO_C" >&6
60751 + ac_cv_prog_cc_c89=no
60753 cat >conftest.$ac_ext <<_ACEOF
60755 @@ -4801,12 +5436,17 @@ static char *f (char * (*g) (char **, in
60756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
60757 function prototypes and stuff, but not '\xHH' hex character constants.
60758 These don't provoke an error unfortunately, instead are silently treated
60759 - as 'x'. The following induces an error, until -std1 is added to get
60760 + as 'x'. The following induces an error, until -std is added to get
60761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
60762 array size at least. It's necessary to write '\x00'==0 to get something
60763 - that's true only with -std1. */
60764 + that's true only with -std. */
60765 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
60767 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
60768 + inside strings and character constants. */
60769 +#define FOO(x) 'x'
60770 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
60772 int test (int i, double x);
60773 struct s1 {int (*f) (int a);};
60774 struct s2 {int (*f) (double a);};
60775 @@ -4821,205 +5461,57 @@ return f (e, argv, 0) != argv[0] || f
60779 -# Don't try gcc -ansi; that turns off useful extensions and
60780 -# breaks some systems' header files.
60781 -# AIX -qlanglvl=ansi
60782 -# Ultrix and OSF/1 -std1
60783 -# HP-UX 10.20 and later -Ae
60784 -# HP-UX older versions -Aa -D_HPUX_SOURCE
60785 -# SVR4 -Xc -D__EXTENSIONS__
60786 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
60787 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
60788 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
60790 CC="$ac_save_CC $ac_arg"
60791 rm -f conftest.$ac_objext
60792 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60793 - (eval $ac_compile) 2>conftest.er1
60794 +if { (ac_try="$ac_compile"
60795 +case "(($ac_try" in
60796 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
60797 + *) ac_try_echo=$ac_try;;
60799 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
60800 + (eval "$ac_compile") 2>conftest.er1
60802 grep -v '^ *+' conftest.er1 >conftest.err
60804 cat conftest.err >&5
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 - (exit $ac_status); } &&
60807 - { ac_try='test -z "$ac_c_werror_flag"
60808 - || test ! -s conftest.err'
60809 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60810 - (eval $ac_try) 2>&5
60812 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60813 - (exit $ac_status); }; } &&
60814 - { ac_try='test -s conftest.$ac_objext'
60815 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60816 - (eval $ac_try) 2>&5
60818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60819 - (exit $ac_status); }; }; then
60820 - ac_cv_prog_cc_stdc=$ac_arg
60822 + (exit $ac_status); } && {
60823 + test -z "$ac_c_werror_flag" ||
60824 + test ! -s conftest.err
60825 + } && test -s conftest.$ac_objext; then
60826 + ac_cv_prog_cc_c89=$ac_arg
60828 echo "$as_me: failed program was:" >&5
60829 sed 's/^/| /' conftest.$ac_ext >&5
60833 -rm -f conftest.err conftest.$ac_objext
60835 +rm -f core conftest.err conftest.$ac_objext
60836 + test "x$ac_cv_prog_cc_c89" != "xno" && break
60838 -rm -f conftest.$ac_ext conftest.$ac_objext
60839 +rm -f conftest.$ac_ext
60844 -case "x$ac_cv_prog_cc_stdc" in
60846 - echo "$as_me:$LINENO: result: none needed" >&5
60847 -echo "${ECHO_T}none needed" >&6 ;;
60849 +case "x$ac_cv_prog_cc_c89" in
60851 + { echo "$as_me:$LINENO: result: none needed" >&5
60852 +echo "${ECHO_T}none needed" >&6; } ;;
60854 + { echo "$as_me:$LINENO: result: unsupported" >&5
60855 +echo "${ECHO_T}unsupported" >&6; } ;;
60857 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
60858 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
60859 - CC="$CC $ac_cv_prog_cc_stdc" ;;
60860 + CC="$CC $ac_cv_prog_cc_c89"
60861 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
60862 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
60865 -# Some people use a C++ compiler to compile C. Since we use `exit',
60866 -# in C++ we need to declare it. In case someone uses the same compiler
60867 -# for both compiling C and C++ we need to have the C++ compiler decide
60868 -# the declaration of exit, since it's the most demanding environment.
60869 -cat >conftest.$ac_ext <<_ACEOF
60870 -#ifndef __cplusplus
60874 -rm -f conftest.$ac_objext
60875 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60876 - (eval $ac_compile) 2>conftest.er1
60878 - grep -v '^ *+' conftest.er1 >conftest.err
60879 - rm -f conftest.er1
60880 - cat conftest.err >&5
60881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60882 - (exit $ac_status); } &&
60883 - { ac_try='test -z "$ac_c_werror_flag"
60884 - || test ! -s conftest.err'
60885 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60886 - (eval $ac_try) 2>&5
60888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60889 - (exit $ac_status); }; } &&
60890 - { ac_try='test -s conftest.$ac_objext'
60891 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60892 - (eval $ac_try) 2>&5
60894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60895 - (exit $ac_status); }; }; then
60896 - for ac_declaration in \
60898 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
60899 - 'extern "C" void std::exit (int); using std::exit;' \
60900 - 'extern "C" void exit (int) throw ();' \
60901 - 'extern "C" void exit (int);' \
60902 - 'void exit (int);'
60904 - cat >conftest.$ac_ext <<_ACEOF
60907 -cat confdefs.h >>conftest.$ac_ext
60908 -cat >>conftest.$ac_ext <<_ACEOF
60909 -/* end confdefs.h. */
60911 -#include <stdlib.h>
60920 -rm -f conftest.$ac_objext
60921 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60922 - (eval $ac_compile) 2>conftest.er1
60924 - grep -v '^ *+' conftest.er1 >conftest.err
60925 - rm -f conftest.er1
60926 - cat conftest.err >&5
60927 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60928 - (exit $ac_status); } &&
60929 - { ac_try='test -z "$ac_c_werror_flag"
60930 - || test ! -s conftest.err'
60931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60932 - (eval $ac_try) 2>&5
60934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60935 - (exit $ac_status); }; } &&
60936 - { ac_try='test -s conftest.$ac_objext'
60937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60938 - (eval $ac_try) 2>&5
60940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60941 - (exit $ac_status); }; }; then
60944 - echo "$as_me: failed program was:" >&5
60945 -sed 's/^/| /' conftest.$ac_ext >&5
60949 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60950 - cat >conftest.$ac_ext <<_ACEOF
60953 -cat confdefs.h >>conftest.$ac_ext
60954 -cat >>conftest.$ac_ext <<_ACEOF
60955 -/* end confdefs.h. */
60965 -rm -f conftest.$ac_objext
60966 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60967 - (eval $ac_compile) 2>conftest.er1
60969 - grep -v '^ *+' conftest.er1 >conftest.err
60970 - rm -f conftest.er1
60971 - cat conftest.err >&5
60972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60973 - (exit $ac_status); } &&
60974 - { ac_try='test -z "$ac_c_werror_flag"
60975 - || test ! -s conftest.err'
60976 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60977 - (eval $ac_try) 2>&5
60979 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60980 - (exit $ac_status); }; } &&
60981 - { ac_try='test -s conftest.$ac_objext'
60982 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60983 - (eval $ac_try) 2>&5
60985 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
60986 - (exit $ac_status); }; }; then
60989 - echo "$as_me: failed program was:" >&5
60990 -sed 's/^/| /' conftest.$ac_ext >&5
60993 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60996 -if test -n "$ac_declaration"; then
60997 - echo '#ifdef __cplusplus' >>confdefs.h
60998 - echo $ac_declaration >>confdefs.h
60999 - echo '#endif' >>confdefs.h
61003 - echo "$as_me: failed program was:" >&5
61004 -sed 's/^/| /' conftest.$ac_ext >&5
61007 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61009 ac_cpp='$CPP $CPPFLAGS'
61010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61011 @@ -5039,8 +5531,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
61012 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
61013 # OS/2's system install, which has a completely different semantic
61014 # ./install, which can be erroneously created by make from ./install.sh.
61015 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
61016 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
61017 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
61018 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
61019 if test -z "$INSTALL"; then
61020 if test "${ac_cv_path_install+set}" = set; then
61021 echo $ECHO_N "(cached) $ECHO_C" >&6
61022 @@ -5062,7 +5554,7 @@ case $as_dir/ in
61024 for ac_prog in ginstall scoinst install; do
61025 for ac_exec_ext in '' $ac_executable_extensions; do
61026 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
61027 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
61028 if test $ac_prog = install &&
61029 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
61030 # AIX install. It has an incompatible calling convention.
61031 @@ -5081,21 +5573,22 @@ case $as_dir/ in
61039 if test "${ac_cv_path_install+set}" = set; then
61040 INSTALL=$ac_cv_path_install
61042 - # As a last resort, use the slow shell script. We don't cache a
61043 - # path for INSTALL within a source directory, because that will
61044 + # As a last resort, use the slow shell script. Don't cache a
61045 + # value for INSTALL within a source directory, because that will
61046 # break other packages using the cache if that directory is
61047 - # removed, or if the path is relative.
61048 + # removed, or if the value is a relative name.
61049 INSTALL=$ac_install_sh
61052 -echo "$as_me:$LINENO: result: $INSTALL" >&5
61053 -echo "${ECHO_T}$INSTALL" >&6
61054 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
61055 +echo "${ECHO_T}$INSTALL" >&6; }
61057 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
61058 # It thinks the first close brace ends the variable substitution.
61059 @@ -5110,8 +5603,8 @@ ALL_LINGUAS="fr sv tr es da vi zh_CN"
61060 if test -n "$ac_tool_prefix"; then
61061 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
61062 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
61063 -echo "$as_me:$LINENO: checking for $ac_word" >&5
61064 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
61065 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
61066 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
61067 if test "${ac_cv_prog_RANLIB+set}" = set; then
61068 echo $ECHO_N "(cached) $ECHO_C" >&6
61070 @@ -5124,32 +5617,34 @@ do
61072 test -z "$as_dir" && as_dir=.
61073 for ac_exec_ext in '' $ac_executable_extensions; do
61074 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61075 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
61076 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
61077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
61086 RANLIB=$ac_cv_prog_RANLIB
61087 if test -n "$RANLIB"; then
61088 - echo "$as_me:$LINENO: result: $RANLIB" >&5
61089 -echo "${ECHO_T}$RANLIB" >&6
61090 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
61091 +echo "${ECHO_T}$RANLIB" >&6; }
61093 - echo "$as_me:$LINENO: result: no" >&5
61094 -echo "${ECHO_T}no" >&6
61095 + { echo "$as_me:$LINENO: result: no" >&5
61096 +echo "${ECHO_T}no" >&6; }
61101 if test -z "$ac_cv_prog_RANLIB"; then
61102 ac_ct_RANLIB=$RANLIB
61103 # Extract the first word of "ranlib", so it can be a program name with args.
61104 set dummy ranlib; ac_word=$2
61105 -echo "$as_me:$LINENO: checking for $ac_word" >&5
61106 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
61107 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
61108 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
61109 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
61110 echo $ECHO_N "(cached) $ECHO_C" >&6
61112 @@ -5162,27 +5657,41 @@ do
61114 test -z "$as_dir" && as_dir=.
61115 for ac_exec_ext in '' $ac_executable_extensions; do
61116 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
61117 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
61118 ac_cv_prog_ac_ct_RANLIB="ranlib"
61119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
61126 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
61129 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
61130 if test -n "$ac_ct_RANLIB"; then
61131 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
61132 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
61133 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
61134 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
61136 - echo "$as_me:$LINENO: result: no" >&5
61137 -echo "${ECHO_T}no" >&6
61138 + { echo "$as_me:$LINENO: result: no" >&5
61139 +echo "${ECHO_T}no" >&6; }
61142 - RANLIB=$ac_ct_RANLIB
61143 + if test "x$ac_ct_RANLIB" = x; then
61146 + case $cross_compiling:$ac_tool_warned in
61148 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
61149 +whose name does not start with the host triplet. If you think this
61150 +configuration is useful to you, please write to autoconf@gnu.org." >&5
61151 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
61152 +whose name does not start with the host triplet. If you think this
61153 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
61154 +ac_tool_warned=yes ;;
61156 + RANLIB=$ac_ct_RANLIB
61159 RANLIB="$ac_cv_prog_RANLIB"
61161 @@ -5192,8 +5701,8 @@ ac_cpp='$CPP $CPPFLAGS'
61162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61165 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
61166 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
61167 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
61168 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
61169 # On Suns, sometimes $CPP names a directory.
61170 if test -n "$CPP" && test -d "$CPP"; then
61172 @@ -5227,24 +5736,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61176 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61177 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61178 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61179 +case "(($ac_try" in
61180 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61181 + *) ac_try_echo=$ac_try;;
61183 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61184 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61186 grep -v '^ *+' conftest.er1 >conftest.err
61188 cat conftest.err >&5
61189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190 - (exit $ac_status); } >/dev/null; then
61191 - if test -s conftest.err; then
61192 - ac_cpp_err=$ac_c_preproc_warn_flag
61193 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61200 -if test -z "$ac_cpp_err"; then
61201 + (exit $ac_status); } >/dev/null && {
61202 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61203 + test ! -s conftest.err
61207 echo "$as_me: failed program was:" >&5
61208 @@ -5253,9 +5760,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
61209 # Broken: fails on valid input.
61213 rm -f conftest.err conftest.$ac_ext
61215 - # OK, works on sane cases. Now check whether non-existent headers
61216 + # OK, works on sane cases. Now check whether nonexistent headers
61217 # can be detected and how.
61218 cat >conftest.$ac_ext <<_ACEOF
61220 @@ -5265,24 +5773,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61221 /* end confdefs.h. */
61222 #include <ac_nonexistent.h>
61224 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61225 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61226 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61227 +case "(($ac_try" in
61228 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61229 + *) ac_try_echo=$ac_try;;
61231 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61232 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61234 grep -v '^ *+' conftest.er1 >conftest.err
61236 cat conftest.err >&5
61237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61238 - (exit $ac_status); } >/dev/null; then
61239 - if test -s conftest.err; then
61240 - ac_cpp_err=$ac_c_preproc_warn_flag
61241 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61248 -if test -z "$ac_cpp_err"; then
61249 + (exit $ac_status); } >/dev/null && {
61250 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61251 + test ! -s conftest.err
61253 # Broken: success on invalid input.
61256 @@ -5293,6 +5799,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
61261 rm -f conftest.err conftest.$ac_ext
61264 @@ -5310,8 +5817,8 @@ fi
61266 ac_cv_prog_CPP=$CPP
61268 -echo "$as_me:$LINENO: result: $CPP" >&5
61269 -echo "${ECHO_T}$CPP" >&6
61270 +{ echo "$as_me:$LINENO: result: $CPP" >&5
61271 +echo "${ECHO_T}$CPP" >&6; }
61272 ac_preproc_ok=false
61273 for ac_c_preproc_warn_flag in '' yes
61275 @@ -5334,24 +5841,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61279 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61280 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61281 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61282 +case "(($ac_try" in
61283 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61284 + *) ac_try_echo=$ac_try;;
61286 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61287 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61289 grep -v '^ *+' conftest.er1 >conftest.err
61291 cat conftest.err >&5
61292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61293 - (exit $ac_status); } >/dev/null; then
61294 - if test -s conftest.err; then
61295 - ac_cpp_err=$ac_c_preproc_warn_flag
61296 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61303 -if test -z "$ac_cpp_err"; then
61304 + (exit $ac_status); } >/dev/null && {
61305 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61306 + test ! -s conftest.err
61310 echo "$as_me: failed program was:" >&5
61311 @@ -5360,9 +5865,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
61312 # Broken: fails on valid input.
61316 rm -f conftest.err conftest.$ac_ext
61318 - # OK, works on sane cases. Now check whether non-existent headers
61319 + # OK, works on sane cases. Now check whether nonexistent headers
61320 # can be detected and how.
61321 cat >conftest.$ac_ext <<_ACEOF
61323 @@ -5372,24 +5878,22 @@ cat >>conftest.$ac_ext <<_ACEOF
61324 /* end confdefs.h. */
61325 #include <ac_nonexistent.h>
61327 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61328 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61329 +if { (ac_try="$ac_cpp conftest.$ac_ext"
61330 +case "(($ac_try" in
61331 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61332 + *) ac_try_echo=$ac_try;;
61334 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61335 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
61337 grep -v '^ *+' conftest.er1 >conftest.err
61339 cat conftest.err >&5
61340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61341 - (exit $ac_status); } >/dev/null; then
61342 - if test -s conftest.err; then
61343 - ac_cpp_err=$ac_c_preproc_warn_flag
61344 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
61351 -if test -z "$ac_cpp_err"; then
61352 + (exit $ac_status); } >/dev/null && {
61353 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
61354 + test ! -s conftest.err
61356 # Broken: success on invalid input.
61359 @@ -5400,6 +5904,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
61364 rm -f conftest.err conftest.$ac_ext
61367 @@ -5422,79 +5927,222 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
61368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61371 -echo "$as_me:$LINENO: checking for egrep" >&5
61372 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
61373 -if test "${ac_cv_prog_egrep+set}" = set; then
61374 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
61375 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
61376 +if test "${ac_cv_path_GREP+set}" = set; then
61377 + echo $ECHO_N "(cached) $ECHO_C" >&6
61379 + # Extract the first word of "grep ggrep" to use in msg output
61380 +if test -z "$GREP"; then
61381 +set dummy grep ggrep; ac_prog_name=$2
61382 +if test "${ac_cv_path_GREP+set}" = set; then
61383 echo $ECHO_N "(cached) $ECHO_C" >&6
61385 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
61386 - then ac_cv_prog_egrep='grep -E'
61387 - else ac_cv_prog_egrep='egrep'
61388 + ac_path_GREP_found=false
61389 +# Loop through the user's path and test for each of PROGNAME-LIST
61390 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61391 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
61394 + test -z "$as_dir" && as_dir=.
61395 + for ac_prog in grep ggrep; do
61396 + for ac_exec_ext in '' $ac_executable_extensions; do
61397 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
61398 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
61399 + # Check for GNU ac_path_GREP and select it if it is found.
61400 + # Check for GNU $ac_path_GREP
61401 +case `"$ac_path_GREP" --version 2>&1` in
61403 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
61406 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
61409 + cat "conftest.in" "conftest.in" >"conftest.tmp"
61410 + mv "conftest.tmp" "conftest.in"
61411 + cp "conftest.in" "conftest.nl"
61412 + echo 'GREP' >> "conftest.nl"
61413 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
61414 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
61415 + ac_count=`expr $ac_count + 1`
61416 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
61417 + # Best one so far, save it but keep looking for a better one
61418 + ac_cv_path_GREP="$ac_path_GREP"
61419 + ac_path_GREP_max=$ac_count
61422 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
61423 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
61424 - EGREP=$ac_cv_prog_egrep
61425 + # 10*(2^10) chars as input seems more than enough
61426 + test $ac_count -gt 10 && break
61428 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
61432 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
61433 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
61434 -if test "${ac_cv_header_stdc+set}" = set; then
61435 - echo $ECHO_N "(cached) $ECHO_C" >&6
61437 - cat >conftest.$ac_ext <<_ACEOF
61440 -cat confdefs.h >>conftest.$ac_ext
61441 -cat >>conftest.$ac_ext <<_ACEOF
61442 -/* end confdefs.h. */
61443 -#include <stdlib.h>
61444 -#include <stdarg.h>
61445 -#include <string.h>
61446 -#include <float.h>
61447 + $ac_path_GREP_found && break 3
61461 -rm -f conftest.$ac_objext
61462 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61463 - (eval $ac_compile) 2>conftest.er1
61465 - grep -v '^ *+' conftest.er1 >conftest.err
61466 - rm -f conftest.er1
61467 - cat conftest.err >&5
61468 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61469 - (exit $ac_status); } &&
61470 - { ac_try='test -z "$ac_c_werror_flag"
61471 - || test ! -s conftest.err'
61472 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61473 - (eval $ac_try) 2>&5
61475 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61476 - (exit $ac_status); }; } &&
61477 - { ac_try='test -s conftest.$ac_objext'
61478 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61479 - (eval $ac_try) 2>&5
61481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61482 - (exit $ac_status); }; }; then
61483 - ac_cv_header_stdc=yes
61485 - echo "$as_me: failed program was:" >&5
61486 -sed 's/^/| /' conftest.$ac_ext >&5
61488 -ac_cv_header_stdc=no
61490 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61492 -if test $ac_cv_header_stdc = yes; then
61493 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
61494 - cat >conftest.$ac_ext <<_ACEOF
61495 +GREP="$ac_cv_path_GREP"
61496 +if test -z "$GREP"; then
61497 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
61498 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
61499 + { (exit 1); exit 1; }; }
61503 + ac_cv_path_GREP=$GREP
61508 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
61509 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
61510 + GREP="$ac_cv_path_GREP"
61513 +{ echo "$as_me:$LINENO: checking for egrep" >&5
61514 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
61515 +if test "${ac_cv_path_EGREP+set}" = set; then
61516 + echo $ECHO_N "(cached) $ECHO_C" >&6
61518 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
61519 + then ac_cv_path_EGREP="$GREP -E"
61521 + # Extract the first word of "egrep" to use in msg output
61522 +if test -z "$EGREP"; then
61523 +set dummy egrep; ac_prog_name=$2
61524 +if test "${ac_cv_path_EGREP+set}" = set; then
61525 + echo $ECHO_N "(cached) $ECHO_C" >&6
61527 + ac_path_EGREP_found=false
61528 +# Loop through the user's path and test for each of PROGNAME-LIST
61529 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
61530 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
61533 + test -z "$as_dir" && as_dir=.
61534 + for ac_prog in egrep; do
61535 + for ac_exec_ext in '' $ac_executable_extensions; do
61536 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
61537 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
61538 + # Check for GNU ac_path_EGREP and select it if it is found.
61539 + # Check for GNU $ac_path_EGREP
61540 +case `"$ac_path_EGREP" --version 2>&1` in
61542 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
61545 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
61548 + cat "conftest.in" "conftest.in" >"conftest.tmp"
61549 + mv "conftest.tmp" "conftest.in"
61550 + cp "conftest.in" "conftest.nl"
61551 + echo 'EGREP' >> "conftest.nl"
61552 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
61553 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
61554 + ac_count=`expr $ac_count + 1`
61555 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
61556 + # Best one so far, save it but keep looking for a better one
61557 + ac_cv_path_EGREP="$ac_path_EGREP"
61558 + ac_path_EGREP_max=$ac_count
61560 + # 10*(2^10) chars as input seems more than enough
61561 + test $ac_count -gt 10 && break
61563 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
61567 + $ac_path_EGREP_found && break 3
61577 +EGREP="$ac_cv_path_EGREP"
61578 +if test -z "$EGREP"; then
61579 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
61580 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
61581 + { (exit 1); exit 1; }; }
61585 + ac_cv_path_EGREP=$EGREP
61591 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
61592 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
61593 + EGREP="$ac_cv_path_EGREP"
61596 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
61597 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
61598 +if test "${ac_cv_header_stdc+set}" = set; then
61599 + echo $ECHO_N "(cached) $ECHO_C" >&6
61601 + cat >conftest.$ac_ext <<_ACEOF
61604 +cat confdefs.h >>conftest.$ac_ext
61605 +cat >>conftest.$ac_ext <<_ACEOF
61606 +/* end confdefs.h. */
61607 +#include <stdlib.h>
61608 +#include <stdarg.h>
61609 +#include <string.h>
61610 +#include <float.h>
61620 +rm -f conftest.$ac_objext
61621 +if { (ac_try="$ac_compile"
61622 +case "(($ac_try" in
61623 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61624 + *) ac_try_echo=$ac_try;;
61626 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61627 + (eval "$ac_compile") 2>conftest.er1
61629 + grep -v '^ *+' conftest.er1 >conftest.err
61630 + rm -f conftest.er1
61631 + cat conftest.err >&5
61632 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633 + (exit $ac_status); } && {
61634 + test -z "$ac_c_werror_flag" ||
61635 + test ! -s conftest.err
61636 + } && test -s conftest.$ac_objext; then
61637 + ac_cv_header_stdc=yes
61639 + echo "$as_me: failed program was:" >&5
61640 +sed 's/^/| /' conftest.$ac_ext >&5
61642 + ac_cv_header_stdc=no
61645 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647 +if test $ac_cv_header_stdc = yes; then
61648 + # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
61649 + cat >conftest.$ac_ext <<_ACEOF
61652 cat confdefs.h >>conftest.$ac_ext
61653 @@ -5546,6 +6194,7 @@ cat confdefs.h >>conftest.$ac_ext
61654 cat >>conftest.$ac_ext <<_ACEOF
61655 /* end confdefs.h. */
61657 +#include <stdlib.h>
61658 #if ((' ' & 0x0FF) == 0x020)
61659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
61660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
61661 @@ -5565,18 +6214,27 @@ main ()
61662 for (i = 0; i < 256; i++)
61663 if (XOR (islower (i), ISLOWER (i))
61664 || toupper (i) != TOUPPER (i))
61671 rm -f conftest$ac_exeext
61672 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61673 - (eval $ac_link) 2>&5
61674 +if { (ac_try="$ac_link"
61675 +case "(($ac_try" in
61676 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61677 + *) ac_try_echo=$ac_try;;
61679 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61680 + (eval "$ac_link") 2>&5
61682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
61684 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61685 - (eval $ac_try) 2>&5
61686 + { (case "(($ac_try" in
61687 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61688 + *) ac_try_echo=$ac_try;;
61690 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61691 + (eval "$ac_try") 2>&5
61693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61694 (exit $ac_status); }; }; then
61695 @@ -5589,12 +6247,14 @@ sed 's/^/| /' conftest.$ac_ext >&5
61696 ( exit $ac_status )
61697 ac_cv_header_stdc=no
61699 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61700 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61706 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
61707 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
61708 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
61709 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
61710 if test $ac_cv_header_stdc = yes; then
61712 cat >>confdefs.h <<\_ACEOF
61713 @@ -5603,8 +6263,8 @@ _ACEOF
61717 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
61718 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
61719 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
61720 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
61721 if test "${ac_cv_c_const+set}" = set; then
61722 echo $ECHO_N "(cached) $ECHO_C" >&6
61724 @@ -5622,10 +6282,10 @@ main ()
61725 #ifndef __cplusplus
61726 /* Ultrix mips cc rejects this. */
61727 typedef int charset[2];
61729 + const charset cs;
61730 /* SunOS 4.1.1 cc rejects this. */
61731 - char const *const *ccp;
61733 + char const *const *pcpcc;
61735 /* NEC SVR4.0.2 mips cc rejects this. */
61736 struct point {int x, y;};
61737 static struct point const zero = {0,0};
61738 @@ -5634,16 +6294,17 @@ main ()
61739 an arm of an if-expression whose if-part is not a constant
61741 const char *g = "string";
61742 - ccp = &g + (g ? g-g : 0);
61743 + pcpcc = &g + (g ? g-g : 0);
61744 /* HPUX 7.0 cc rejects these. */
61746 - p = (char**) ccp;
61747 - ccp = (char const *const *) p;
61749 + ppc = (char**) pcpcc;
61750 + pcpcc = (char const *const *) ppc;
61751 { /* SCO 3.2v4 cc rejects this. */
61753 char const *s = 0 ? (char *) 0 : (char const *) 0;
61758 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
61759 int x[] = {25, 17};
61760 @@ -5662,7 +6323,9 @@ main ()
61762 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
61763 const int foo = 10;
61764 + if (!foo) return 0;
61766 + return !cs[0] && !zero.x;
61770 @@ -5670,38 +6333,34 @@ main ()
61773 rm -f conftest.$ac_objext
61774 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61775 - (eval $ac_compile) 2>conftest.er1
61776 +if { (ac_try="$ac_compile"
61777 +case "(($ac_try" in
61778 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61779 + *) ac_try_echo=$ac_try;;
61781 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61782 + (eval "$ac_compile") 2>conftest.er1
61784 grep -v '^ *+' conftest.er1 >conftest.err
61786 cat conftest.err >&5
61787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61788 - (exit $ac_status); } &&
61789 - { ac_try='test -z "$ac_c_werror_flag"
61790 - || test ! -s conftest.err'
61791 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61792 - (eval $ac_try) 2>&5
61794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61795 - (exit $ac_status); }; } &&
61796 - { ac_try='test -s conftest.$ac_objext'
61797 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61798 - (eval $ac_try) 2>&5
61800 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61801 - (exit $ac_status); }; }; then
61802 + (exit $ac_status); } && {
61803 + test -z "$ac_c_werror_flag" ||
61804 + test ! -s conftest.err
61805 + } && test -s conftest.$ac_objext; then
61808 echo "$as_me: failed program was:" >&5
61809 sed 's/^/| /' conftest.$ac_ext >&5
61814 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61816 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61818 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
61819 -echo "${ECHO_T}$ac_cv_c_const" >&6
61820 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
61821 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
61822 if test $ac_cv_c_const = no; then
61824 cat >>confdefs.h <<\_ACEOF
61825 @@ -5710,8 +6369,8 @@ _ACEOF
61829 -echo "$as_me:$LINENO: checking for inline" >&5
61830 -echo $ECHO_N "checking for inline... $ECHO_C" >&6
61831 +{ echo "$as_me:$LINENO: checking for inline" >&5
61832 +echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
61833 if test "${ac_cv_c_inline+set}" = set; then
61834 echo $ECHO_N "(cached) $ECHO_C" >&6
61836 @@ -5731,39 +6390,37 @@ $ac_kw foo_t foo () {return 0; }
61839 rm -f conftest.$ac_objext
61840 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61841 - (eval $ac_compile) 2>conftest.er1
61842 +if { (ac_try="$ac_compile"
61843 +case "(($ac_try" in
61844 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61845 + *) ac_try_echo=$ac_try;;
61847 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61848 + (eval "$ac_compile") 2>conftest.er1
61850 grep -v '^ *+' conftest.er1 >conftest.err
61852 cat conftest.err >&5
61853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61854 - (exit $ac_status); } &&
61855 - { ac_try='test -z "$ac_c_werror_flag"
61856 - || test ! -s conftest.err'
61857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61858 - (eval $ac_try) 2>&5
61860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61861 - (exit $ac_status); }; } &&
61862 - { ac_try='test -s conftest.$ac_objext'
61863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61864 - (eval $ac_try) 2>&5
61866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61867 - (exit $ac_status); }; }; then
61868 - ac_cv_c_inline=$ac_kw; break
61869 + (exit $ac_status); } && {
61870 + test -z "$ac_c_werror_flag" ||
61871 + test ! -s conftest.err
61872 + } && test -s conftest.$ac_objext; then
61873 + ac_cv_c_inline=$ac_kw
61875 echo "$as_me: failed program was:" >&5
61876 sed 's/^/| /' conftest.$ac_ext >&5
61880 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61882 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61883 + test "$ac_cv_c_inline" != no && break
61887 -echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
61888 -echo "${ECHO_T}$ac_cv_c_inline" >&6
61889 +{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
61890 +echo "${ECHO_T}$ac_cv_c_inline" >&6; }
61893 case $ac_cv_c_inline in
61894 @@ -5795,9 +6452,9 @@ for ac_header in sys/types.h sys/stat.h
61895 inttypes.h stdint.h unistd.h
61897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61898 -echo "$as_me:$LINENO: checking for $ac_header" >&5
61899 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61900 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
61901 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
61902 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
61903 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
61904 echo $ECHO_N "(cached) $ECHO_C" >&6
61906 cat >conftest.$ac_ext <<_ACEOF
61907 @@ -5811,38 +6468,35 @@ $ac_includes_default
61908 #include <$ac_header>
61910 rm -f conftest.$ac_objext
61911 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61912 - (eval $ac_compile) 2>conftest.er1
61913 +if { (ac_try="$ac_compile"
61914 +case "(($ac_try" in
61915 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61916 + *) ac_try_echo=$ac_try;;
61918 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
61919 + (eval "$ac_compile") 2>conftest.er1
61921 grep -v '^ *+' conftest.er1 >conftest.err
61923 cat conftest.err >&5
61924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61925 - (exit $ac_status); } &&
61926 - { ac_try='test -z "$ac_c_werror_flag"
61927 - || test ! -s conftest.err'
61928 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61929 - (eval $ac_try) 2>&5
61931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61932 - (exit $ac_status); }; } &&
61933 - { ac_try='test -s conftest.$ac_objext'
61934 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61935 - (eval $ac_try) 2>&5
61937 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
61938 - (exit $ac_status); }; }; then
61939 + (exit $ac_status); } && {
61940 + test -z "$ac_c_werror_flag" ||
61941 + test ! -s conftest.err
61942 + } && test -s conftest.$ac_objext; then
61943 eval "$as_ac_Header=yes"
61945 echo "$as_me: failed program was:" >&5
61946 sed 's/^/| /' conftest.$ac_ext >&5
61948 -eval "$as_ac_Header=no"
61949 + eval "$as_ac_Header=no"
61951 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61953 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61955 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61956 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61957 +ac_res=`eval echo '${'$as_ac_Header'}'`
61958 + { echo "$as_me:$LINENO: result: $ac_res" >&5
61959 +echo "${ECHO_T}$ac_res" >&6; }
61960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61961 cat >>confdefs.h <<_ACEOF
61962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61963 @@ -5853,8 +6507,8 @@ fi
61967 -echo "$as_me:$LINENO: checking for off_t" >&5
61968 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
61969 +{ echo "$as_me:$LINENO: checking for off_t" >&5
61970 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
61971 if test "${ac_cv_type_off_t+set}" = set; then
61972 echo $ECHO_N "(cached) $ECHO_C" >&6
61974 @@ -5865,62 +6519,59 @@ cat confdefs.h >>conftest.$ac_ext
61975 cat >>conftest.$ac_ext <<_ACEOF
61976 /* end confdefs.h. */
61977 $ac_includes_default
61978 +typedef off_t ac__type_new_;
61983 +if ((ac__type_new_ *) 0)
61985 -if (sizeof (off_t))
61986 +if (sizeof (ac__type_new_))
61992 rm -f conftest.$ac_objext
61993 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61994 - (eval $ac_compile) 2>conftest.er1
61995 +if { (ac_try="$ac_compile"
61996 +case "(($ac_try" in
61997 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
61998 + *) ac_try_echo=$ac_try;;
62000 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62001 + (eval "$ac_compile") 2>conftest.er1
62003 grep -v '^ *+' conftest.er1 >conftest.err
62005 cat conftest.err >&5
62006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62007 - (exit $ac_status); } &&
62008 - { ac_try='test -z "$ac_c_werror_flag"
62009 - || test ! -s conftest.err'
62010 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62011 - (eval $ac_try) 2>&5
62013 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62014 - (exit $ac_status); }; } &&
62015 - { ac_try='test -s conftest.$ac_objext'
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); }; }; then
62021 + (exit $ac_status); } && {
62022 + test -z "$ac_c_werror_flag" ||
62023 + test ! -s conftest.err
62024 + } && test -s conftest.$ac_objext; then
62025 ac_cv_type_off_t=yes
62027 echo "$as_me: failed program was:" >&5
62028 sed 's/^/| /' conftest.$ac_ext >&5
62030 -ac_cv_type_off_t=no
62031 + ac_cv_type_off_t=no
62033 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62035 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62037 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
62038 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
62039 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
62040 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
62041 if test $ac_cv_type_off_t = yes; then
62045 cat >>confdefs.h <<_ACEOF
62046 -#define off_t long
62047 +#define off_t long int
62052 -echo "$as_me:$LINENO: checking for size_t" >&5
62053 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
62054 +{ echo "$as_me:$LINENO: checking for size_t" >&5
62055 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
62056 if test "${ac_cv_type_size_t+set}" = set; then
62057 echo $ECHO_N "(cached) $ECHO_C" >&6
62059 @@ -5931,64 +6582,61 @@ cat confdefs.h >>conftest.$ac_ext
62060 cat >>conftest.$ac_ext <<_ACEOF
62061 /* end confdefs.h. */
62062 $ac_includes_default
62063 +typedef size_t ac__type_new_;
62068 +if ((ac__type_new_ *) 0)
62070 -if (sizeof (size_t))
62071 +if (sizeof (ac__type_new_))
62077 rm -f conftest.$ac_objext
62078 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62079 - (eval $ac_compile) 2>conftest.er1
62080 +if { (ac_try="$ac_compile"
62081 +case "(($ac_try" in
62082 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62083 + *) ac_try_echo=$ac_try;;
62085 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62086 + (eval "$ac_compile") 2>conftest.er1
62088 grep -v '^ *+' conftest.er1 >conftest.err
62090 cat conftest.err >&5
62091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62092 - (exit $ac_status); } &&
62093 - { ac_try='test -z "$ac_c_werror_flag"
62094 - || test ! -s conftest.err'
62095 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62096 - (eval $ac_try) 2>&5
62098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62099 - (exit $ac_status); }; } &&
62100 - { ac_try='test -s conftest.$ac_objext'
62101 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62102 - (eval $ac_try) 2>&5
62104 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62105 - (exit $ac_status); }; }; then
62106 + (exit $ac_status); } && {
62107 + test -z "$ac_c_werror_flag" ||
62108 + test ! -s conftest.err
62109 + } && test -s conftest.$ac_objext; then
62110 ac_cv_type_size_t=yes
62112 echo "$as_me: failed program was:" >&5
62113 sed 's/^/| /' conftest.$ac_ext >&5
62115 -ac_cv_type_size_t=no
62116 + ac_cv_type_size_t=no
62118 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62120 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62122 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
62123 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
62124 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
62125 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
62126 if test $ac_cv_type_size_t = yes; then
62130 cat >>confdefs.h <<_ACEOF
62131 -#define size_t unsigned
62132 +#define size_t unsigned int
62137 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
62138 # for constant arguments. Useless!
62139 -echo "$as_me:$LINENO: checking for working alloca.h" >&5
62140 -echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
62141 +{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
62142 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
62143 if test "${ac_cv_working_alloca_h+set}" = set; then
62144 echo $ECHO_N "(cached) $ECHO_C" >&6
62146 @@ -6003,44 +6651,42 @@ int
62149 char *p = (char *) alloca (2 * sizeof (int));
62155 rm -f conftest.$ac_objext conftest$ac_exeext
62156 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62157 - (eval $ac_link) 2>conftest.er1
62158 +if { (ac_try="$ac_link"
62159 +case "(($ac_try" in
62160 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62161 + *) ac_try_echo=$ac_try;;
62163 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62164 + (eval "$ac_link") 2>conftest.er1
62166 grep -v '^ *+' conftest.er1 >conftest.err
62168 cat conftest.err >&5
62169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62170 - (exit $ac_status); } &&
62171 - { ac_try='test -z "$ac_c_werror_flag"
62172 - || test ! -s conftest.err'
62173 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62174 - (eval $ac_try) 2>&5
62176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62177 - (exit $ac_status); }; } &&
62178 - { ac_try='test -s conftest$ac_exeext'
62179 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62180 - (eval $ac_try) 2>&5
62182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62183 - (exit $ac_status); }; }; then
62184 + (exit $ac_status); } && {
62185 + test -z "$ac_c_werror_flag" ||
62186 + test ! -s conftest.err
62187 + } && test -s conftest$ac_exeext &&
62188 + $as_test_x conftest$ac_exeext; then
62189 ac_cv_working_alloca_h=yes
62191 echo "$as_me: failed program was:" >&5
62192 sed 's/^/| /' conftest.$ac_ext >&5
62194 -ac_cv_working_alloca_h=no
62195 + ac_cv_working_alloca_h=no
62197 -rm -f conftest.err conftest.$ac_objext \
62199 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62200 conftest$ac_exeext conftest.$ac_ext
62202 -echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
62203 -echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
62204 +{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
62205 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
62206 if test $ac_cv_working_alloca_h = yes; then
62208 cat >>confdefs.h <<\_ACEOF
62209 @@ -6049,8 +6695,8 @@ _ACEOF
62213 -echo "$as_me:$LINENO: checking for alloca" >&5
62214 -echo $ECHO_N "checking for alloca... $ECHO_C" >&6
62215 +{ echo "$as_me:$LINENO: checking for alloca" >&5
62216 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
62217 if test "${ac_cv_func_alloca_works+set}" = set; then
62218 echo $ECHO_N "(cached) $ECHO_C" >&6
62220 @@ -6067,7 +6713,7 @@ cat >>conftest.$ac_ext <<_ACEOF
62221 # include <malloc.h>
62222 # define alloca _alloca
62224 -# if HAVE_ALLOCA_H
62225 +# ifdef HAVE_ALLOCA_H
62226 # include <alloca.h>
62229 @@ -6085,44 +6731,42 @@ int
62232 char *p = (char *) alloca (1);
62238 rm -f conftest.$ac_objext conftest$ac_exeext
62239 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62240 - (eval $ac_link) 2>conftest.er1
62241 +if { (ac_try="$ac_link"
62242 +case "(($ac_try" in
62243 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62244 + *) ac_try_echo=$ac_try;;
62246 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62247 + (eval "$ac_link") 2>conftest.er1
62249 grep -v '^ *+' conftest.er1 >conftest.err
62251 cat conftest.err >&5
62252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62253 - (exit $ac_status); } &&
62254 - { ac_try='test -z "$ac_c_werror_flag"
62255 - || test ! -s conftest.err'
62256 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62257 - (eval $ac_try) 2>&5
62259 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62260 - (exit $ac_status); }; } &&
62261 - { ac_try='test -s conftest$ac_exeext'
62262 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62263 - (eval $ac_try) 2>&5
62265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62266 - (exit $ac_status); }; }; then
62267 + (exit $ac_status); } && {
62268 + test -z "$ac_c_werror_flag" ||
62269 + test ! -s conftest.err
62270 + } && test -s conftest$ac_exeext &&
62271 + $as_test_x conftest$ac_exeext; then
62272 ac_cv_func_alloca_works=yes
62274 echo "$as_me: failed program was:" >&5
62275 sed 's/^/| /' conftest.$ac_ext >&5
62277 -ac_cv_func_alloca_works=no
62278 + ac_cv_func_alloca_works=no
62280 -rm -f conftest.err conftest.$ac_objext \
62282 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62283 conftest$ac_exeext conftest.$ac_ext
62285 -echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
62286 -echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
62287 +{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
62288 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
62290 if test $ac_cv_func_alloca_works = yes; then
62292 @@ -6136,15 +6780,15 @@ else
62293 # contain a buggy version. If you still want to use their alloca,
62294 # use ar to extract alloca.o from them instead of compiling alloca.c.
62296 -ALLOCA=alloca.$ac_objext
62297 +ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
62299 cat >>confdefs.h <<\_ACEOF
62304 -echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
62305 -echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
62306 +{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
62307 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
62308 if test "${ac_cv_os_cray+set}" = set; then
62309 echo $ECHO_N "(cached) $ECHO_C" >&6
62311 @@ -6154,7 +6798,7 @@ _ACEOF
62312 cat confdefs.h >>conftest.$ac_ext
62313 cat >>conftest.$ac_ext <<_ACEOF
62314 /* end confdefs.h. */
62315 -#if defined(CRAY) && ! defined(CRAY2)
62316 +#if defined CRAY && ! defined CRAY2
62320 @@ -6170,14 +6814,14 @@ fi
62324 -echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
62325 -echo "${ECHO_T}$ac_cv_os_cray" >&6
62326 +{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
62327 +echo "${ECHO_T}$ac_cv_os_cray" >&6; }
62328 if test $ac_cv_os_cray = yes; then
62329 for ac_func in _getb67 GETB67 getb67; do
62330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62331 -echo "$as_me:$LINENO: checking for $ac_func" >&5
62332 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62333 -if eval "test \"\${$as_ac_var+set}\" = set"; then
62334 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
62335 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62336 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62337 echo $ECHO_N "(cached) $ECHO_C" >&6
62339 cat >conftest.$ac_ext <<_ACEOF
62340 @@ -6203,68 +6847,60 @@ cat >>conftest.$ac_ext <<_ACEOF
62344 -/* Override any gcc2 internal prototype to avoid an error. */
62345 +/* Override any GCC internal prototype to avoid an error.
62346 + Use char because int might match the return type of a GCC
62347 + builtin and then its argument prototype would still apply. */
62352 -/* We use char because int might match the return type of a gcc2
62353 - builtin and then its argument prototype would still apply. */
62355 /* The GNU C library defines this for functions which it implements
62356 to always fail with ENOSYS. Some functions are actually named
62357 something starting with __ and the normal name is an alias. */
62358 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62359 +#if defined __stub_$ac_func || defined __stub___$ac_func
62362 -char (*f) () = $ac_func;
62364 -#ifdef __cplusplus
62371 -return f != $ac_func;
62372 +return $ac_func ();
62377 rm -f conftest.$ac_objext conftest$ac_exeext
62378 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62379 - (eval $ac_link) 2>conftest.er1
62380 +if { (ac_try="$ac_link"
62381 +case "(($ac_try" in
62382 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62383 + *) ac_try_echo=$ac_try;;
62385 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62386 + (eval "$ac_link") 2>conftest.er1
62388 grep -v '^ *+' conftest.er1 >conftest.err
62390 cat conftest.err >&5
62391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62392 - (exit $ac_status); } &&
62393 - { ac_try='test -z "$ac_c_werror_flag"
62394 - || test ! -s conftest.err'
62395 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62396 - (eval $ac_try) 2>&5
62398 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62399 - (exit $ac_status); }; } &&
62400 - { ac_try='test -s conftest$ac_exeext'
62401 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62402 - (eval $ac_try) 2>&5
62404 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62405 - (exit $ac_status); }; }; then
62406 + (exit $ac_status); } && {
62407 + test -z "$ac_c_werror_flag" ||
62408 + test ! -s conftest.err
62409 + } && test -s conftest$ac_exeext &&
62410 + $as_test_x conftest$ac_exeext; then
62411 eval "$as_ac_var=yes"
62413 echo "$as_me: failed program was:" >&5
62414 sed 's/^/| /' conftest.$ac_ext >&5
62416 -eval "$as_ac_var=no"
62417 + eval "$as_ac_var=no"
62419 -rm -f conftest.err conftest.$ac_objext \
62421 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62422 conftest$ac_exeext conftest.$ac_ext
62424 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62425 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62426 +ac_res=`eval echo '${'$as_ac_var'}'`
62427 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62428 +echo "${ECHO_T}$ac_res" >&6; }
62429 if test `eval echo '${'$as_ac_var'}'` = yes; then
62431 cat >>confdefs.h <<_ACEOF
62432 @@ -6277,8 +6913,8 @@ fi
62436 -echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
62437 -echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
62438 +{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
62439 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
62440 if test "${ac_cv_c_stack_direction+set}" = set; then
62441 echo $ECHO_N "(cached) $ECHO_C" >&6
62443 @@ -6291,6 +6927,7 @@ _ACEOF
62444 cat confdefs.h >>conftest.$ac_ext
62445 cat >>conftest.$ac_ext <<_ACEOF
62446 /* end confdefs.h. */
62447 +$ac_includes_default
62449 find_stack_direction ()
62451 @@ -6308,17 +6945,26 @@ find_stack_direction ()
62455 - exit (find_stack_direction () < 0);
62456 + return find_stack_direction () < 0;
62459 rm -f conftest$ac_exeext
62460 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62461 - (eval $ac_link) 2>&5
62462 +if { (ac_try="$ac_link"
62463 +case "(($ac_try" in
62464 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62465 + *) ac_try_echo=$ac_try;;
62467 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62468 + (eval "$ac_link") 2>&5
62470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
62472 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62473 - (eval $ac_try) 2>&5
62474 + { (case "(($ac_try" in
62475 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62476 + *) ac_try_echo=$ac_try;;
62478 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62479 + (eval "$ac_try") 2>&5
62481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62482 (exit $ac_status); }; }; then
62483 @@ -6331,11 +6977,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
62484 ( exit $ac_status )
62485 ac_cv_c_stack_direction=-1
62487 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62488 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62493 -echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
62494 -echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
62495 +{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
62496 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
62498 cat >>confdefs.h <<_ACEOF
62499 #define STACK_DIRECTION $ac_cv_c_stack_direction
62500 @@ -6349,18 +6997,19 @@ fi
62501 for ac_header in stdlib.h unistd.h
62503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62504 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62505 - echo "$as_me:$LINENO: checking for $ac_header" >&5
62506 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62507 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62508 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62509 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
62510 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62511 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62512 echo $ECHO_N "(cached) $ECHO_C" >&6
62514 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62515 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62516 +ac_res=`eval echo '${'$as_ac_Header'}'`
62517 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62518 +echo "${ECHO_T}$ac_res" >&6; }
62520 # Is the header compilable?
62521 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
62522 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62523 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
62524 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
62525 cat >conftest.$ac_ext <<_ACEOF
62528 @@ -6371,41 +7020,37 @@ $ac_includes_default
62529 #include <$ac_header>
62531 rm -f conftest.$ac_objext
62532 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62533 - (eval $ac_compile) 2>conftest.er1
62534 +if { (ac_try="$ac_compile"
62535 +case "(($ac_try" in
62536 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62537 + *) ac_try_echo=$ac_try;;
62539 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62540 + (eval "$ac_compile") 2>conftest.er1
62542 grep -v '^ *+' conftest.er1 >conftest.err
62544 cat conftest.err >&5
62545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62546 - (exit $ac_status); } &&
62547 - { ac_try='test -z "$ac_c_werror_flag"
62548 - || test ! -s conftest.err'
62549 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62550 - (eval $ac_try) 2>&5
62552 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62553 - (exit $ac_status); }; } &&
62554 - { ac_try='test -s conftest.$ac_objext'
62555 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62556 - (eval $ac_try) 2>&5
62558 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62559 - (exit $ac_status); }; }; then
62560 + (exit $ac_status); } && {
62561 + test -z "$ac_c_werror_flag" ||
62562 + test ! -s conftest.err
62563 + } && test -s conftest.$ac_objext; then
62564 ac_header_compiler=yes
62566 echo "$as_me: failed program was:" >&5
62567 sed 's/^/| /' conftest.$ac_ext >&5
62569 -ac_header_compiler=no
62570 + ac_header_compiler=no
62572 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62573 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62574 -echo "${ECHO_T}$ac_header_compiler" >&6
62576 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62577 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62578 +echo "${ECHO_T}$ac_header_compiler" >&6; }
62580 # Is the header present?
62581 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
62582 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62583 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
62584 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
62585 cat >conftest.$ac_ext <<_ACEOF
62588 @@ -6414,24 +7059,22 @@ cat >>conftest.$ac_ext <<_ACEOF
62589 /* end confdefs.h. */
62590 #include <$ac_header>
62592 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62593 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62594 +if { (ac_try="$ac_cpp conftest.$ac_ext"
62595 +case "(($ac_try" in
62596 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62597 + *) ac_try_echo=$ac_try;;
62599 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62600 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
62602 grep -v '^ *+' conftest.er1 >conftest.err
62604 cat conftest.err >&5
62605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62606 - (exit $ac_status); } >/dev/null; then
62607 - if test -s conftest.err; then
62608 - ac_cpp_err=$ac_c_preproc_warn_flag
62609 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
62616 -if test -z "$ac_cpp_err"; then
62617 + (exit $ac_status); } >/dev/null && {
62618 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
62619 + test ! -s conftest.err
62621 ac_header_preproc=yes
62623 echo "$as_me: failed program was:" >&5
62624 @@ -6439,9 +7082,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
62626 ac_header_preproc=no
62629 rm -f conftest.err conftest.$ac_ext
62630 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62631 -echo "${ECHO_T}$ac_header_preproc" >&6
62632 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62633 +echo "${ECHO_T}$ac_header_preproc" >&6; }
62635 # So? What about this header?
62636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
62637 @@ -6465,25 +7109,19 @@ echo "$as_me: WARNING: $ac_header: s
62638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
62639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
62640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
62643 -## ------------------------------------------ ##
62644 -## Report this to the AC_PACKAGE_NAME lists. ##
62645 -## ------------------------------------------ ##
62648 - sed "s/^/$as_me: WARNING: /" >&2
62652 -echo "$as_me:$LINENO: checking for $ac_header" >&5
62653 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62654 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62655 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
62656 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62657 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62658 echo $ECHO_N "(cached) $ECHO_C" >&6
62660 eval "$as_ac_Header=\$ac_header_preproc"
62662 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62663 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62664 +ac_res=`eval echo '${'$as_ac_Header'}'`
62665 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62666 +echo "${ECHO_T}$ac_res" >&6; }
62669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
62670 @@ -6499,9 +7137,9 @@ done
62671 for ac_func in getpagesize
62673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62674 -echo "$as_me:$LINENO: checking for $ac_func" >&5
62675 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62676 -if eval "test \"\${$as_ac_var+set}\" = set"; then
62677 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
62678 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
62679 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
62680 echo $ECHO_N "(cached) $ECHO_C" >&6
62682 cat >conftest.$ac_ext <<_ACEOF
62683 @@ -6527,68 +7165,60 @@ cat >>conftest.$ac_ext <<_ACEOF
62687 -/* Override any gcc2 internal prototype to avoid an error. */
62688 +/* Override any GCC internal prototype to avoid an error.
62689 + Use char because int might match the return type of a GCC
62690 + builtin and then its argument prototype would still apply. */
62695 -/* We use char because int might match the return type of a gcc2
62696 - builtin and then its argument prototype would still apply. */
62698 /* The GNU C library defines this for functions which it implements
62699 to always fail with ENOSYS. Some functions are actually named
62700 something starting with __ and the normal name is an alias. */
62701 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62702 +#if defined __stub_$ac_func || defined __stub___$ac_func
62705 -char (*f) () = $ac_func;
62707 -#ifdef __cplusplus
62714 -return f != $ac_func;
62715 +return $ac_func ();
62720 rm -f conftest.$ac_objext conftest$ac_exeext
62721 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62722 - (eval $ac_link) 2>conftest.er1
62723 +if { (ac_try="$ac_link"
62724 +case "(($ac_try" in
62725 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62726 + *) ac_try_echo=$ac_try;;
62728 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62729 + (eval "$ac_link") 2>conftest.er1
62731 grep -v '^ *+' conftest.er1 >conftest.err
62733 cat conftest.err >&5
62734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735 - (exit $ac_status); } &&
62736 - { ac_try='test -z "$ac_c_werror_flag"
62737 - || test ! -s conftest.err'
62738 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62739 - (eval $ac_try) 2>&5
62741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62742 - (exit $ac_status); }; } &&
62743 - { ac_try='test -s conftest$ac_exeext'
62744 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62745 - (eval $ac_try) 2>&5
62747 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62748 - (exit $ac_status); }; }; then
62749 + (exit $ac_status); } && {
62750 + test -z "$ac_c_werror_flag" ||
62751 + test ! -s conftest.err
62752 + } && test -s conftest$ac_exeext &&
62753 + $as_test_x conftest$ac_exeext; then
62754 eval "$as_ac_var=yes"
62756 echo "$as_me: failed program was:" >&5
62757 sed 's/^/| /' conftest.$ac_ext >&5
62759 -eval "$as_ac_var=no"
62760 + eval "$as_ac_var=no"
62762 -rm -f conftest.err conftest.$ac_objext \
62764 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
62765 conftest$ac_exeext conftest.$ac_ext
62767 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62768 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62769 +ac_res=`eval echo '${'$as_ac_var'}'`
62770 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62771 +echo "${ECHO_T}$ac_res" >&6; }
62772 if test `eval echo '${'$as_ac_var'}'` = yes; then
62773 cat >>confdefs.h <<_ACEOF
62774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62775 @@ -6597,8 +7227,8 @@ _ACEOF
62779 -echo "$as_me:$LINENO: checking for working mmap" >&5
62780 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
62781 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
62782 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
62783 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
62784 echo $ECHO_N "(cached) $ECHO_C" >&6
62786 @@ -6640,21 +7270,21 @@ $ac_includes_default
62788 #include <sys/mman.h>
62790 -#if !STDC_HEADERS && !HAVE_STDLIB_H
62791 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
62795 /* This mess was copied from the GNU getpagesize.h. */
62796 -#if !HAVE_GETPAGESIZE
62797 +#ifndef HAVE_GETPAGESIZE
62798 /* Assume that all systems that can run configure have sys/param.h. */
62799 -# if !HAVE_SYS_PARAM_H
62800 +# ifndef HAVE_SYS_PARAM_H
62801 # define HAVE_SYS_PARAM_H 1
62804 # ifdef _SC_PAGESIZE
62805 # define getpagesize() sysconf(_SC_PAGESIZE)
62806 # else /* no _SC_PAGESIZE */
62807 -# if HAVE_SYS_PARAM_H
62808 +# ifdef HAVE_SYS_PARAM_H
62809 # include <sys/param.h>
62810 # ifdef EXEC_PAGESIZE
62811 # define getpagesize() EXEC_PAGESIZE
62812 @@ -6693,15 +7323,15 @@ main ()
62813 /* First, make a file with some known garbage in it. */
62814 data = (char *) malloc (pagesize);
62818 for (i = 0; i < pagesize; ++i)
62819 *(data + i) = rand ();
62821 fd = creat ("conftest.mmap", 0600);
62825 if (write (fd, data, pagesize) != pagesize)
62830 /* Next, try to mmap the file at a fixed address which already has
62831 @@ -6709,17 +7339,17 @@ main ()
62832 we see the same garbage. */
62833 fd = open ("conftest.mmap", O_RDWR);
62837 data2 = (char *) malloc (2 * pagesize);
62840 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
62842 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
62843 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
62844 MAP_PRIVATE | MAP_FIXED, fd, 0L))
62847 for (i = 0; i < pagesize; ++i)
62848 if (*(data + i) != *(data2 + i))
62852 /* Finally, make sure that changes to the mapped area do not
62853 percolate back to the file as seen by read(). (This is a bug on
62854 @@ -6728,24 +7358,33 @@ main ()
62855 *(data2 + i) = *(data2 + i) + 1;
62856 data3 = (char *) malloc (pagesize);
62860 if (read (fd, data3, pagesize) != pagesize)
62863 for (i = 0; i < pagesize; ++i)
62864 if (*(data + i) != *(data3 + i))
62872 rm -f conftest$ac_exeext
62873 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62874 - (eval $ac_link) 2>&5
62875 +if { (ac_try="$ac_link"
62876 +case "(($ac_try" in
62877 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62878 + *) ac_try_echo=$ac_try;;
62880 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62881 + (eval "$ac_link") 2>&5
62883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
62885 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62886 - (eval $ac_try) 2>&5
62887 + { (case "(($ac_try" in
62888 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62889 + *) ac_try_echo=$ac_try;;
62891 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62892 + (eval "$ac_try") 2>&5
62894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62895 (exit $ac_status); }; }; then
62896 @@ -6758,11 +7397,13 @@ sed 's/^/| /' conftest.$ac_ext >&5
62897 ( exit $ac_status )
62898 ac_cv_func_mmap_fixed_mapped=no
62900 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62901 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
62906 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
62907 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
62908 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
62909 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
62910 if test $ac_cv_func_mmap_fixed_mapped = yes; then
62912 cat >>confdefs.h <<\_ACEOF
62913 @@ -6786,18 +7427,19 @@ for ac_header in argz.h limits.h locale.
62914 unistd.h values.h sys/param.h
62916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62917 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62918 - echo "$as_me:$LINENO: checking for $ac_header" >&5
62919 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62920 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
62921 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62922 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
62923 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
62924 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
62925 echo $ECHO_N "(cached) $ECHO_C" >&6
62927 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62928 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62929 +ac_res=`eval echo '${'$as_ac_Header'}'`
62930 + { echo "$as_me:$LINENO: result: $ac_res" >&5
62931 +echo "${ECHO_T}$ac_res" >&6; }
62933 # Is the header compilable?
62934 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
62935 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62936 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
62937 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
62938 cat >conftest.$ac_ext <<_ACEOF
62941 @@ -6808,41 +7450,37 @@ $ac_includes_default
62942 #include <$ac_header>
62944 rm -f conftest.$ac_objext
62945 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62946 - (eval $ac_compile) 2>conftest.er1
62947 +if { (ac_try="$ac_compile"
62948 +case "(($ac_try" in
62949 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
62950 + *) ac_try_echo=$ac_try;;
62952 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
62953 + (eval "$ac_compile") 2>conftest.er1
62955 grep -v '^ *+' conftest.er1 >conftest.err
62957 cat conftest.err >&5
62958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62959 - (exit $ac_status); } &&
62960 - { ac_try='test -z "$ac_c_werror_flag"
62961 - || test ! -s conftest.err'
62962 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62963 - (eval $ac_try) 2>&5
62965 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62966 - (exit $ac_status); }; } &&
62967 - { ac_try='test -s conftest.$ac_objext'
62968 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62969 - (eval $ac_try) 2>&5
62971 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
62972 - (exit $ac_status); }; }; then
62973 + (exit $ac_status); } && {
62974 + test -z "$ac_c_werror_flag" ||
62975 + test ! -s conftest.err
62976 + } && test -s conftest.$ac_objext; then
62977 ac_header_compiler=yes
62979 echo "$as_me: failed program was:" >&5
62980 sed 's/^/| /' conftest.$ac_ext >&5
62982 -ac_header_compiler=no
62983 + ac_header_compiler=no
62985 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62986 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62987 -echo "${ECHO_T}$ac_header_compiler" >&6
62989 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62990 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62991 +echo "${ECHO_T}$ac_header_compiler" >&6; }
62993 # Is the header present?
62994 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
62995 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
62996 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
62997 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
62998 cat >conftest.$ac_ext <<_ACEOF
63001 @@ -6851,24 +7489,22 @@ cat >>conftest.$ac_ext <<_ACEOF
63002 /* end confdefs.h. */
63003 #include <$ac_header>
63005 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63006 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63007 +if { (ac_try="$ac_cpp conftest.$ac_ext"
63008 +case "(($ac_try" in
63009 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63010 + *) ac_try_echo=$ac_try;;
63012 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63013 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
63015 grep -v '^ *+' conftest.er1 >conftest.err
63017 cat conftest.err >&5
63018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63019 - (exit $ac_status); } >/dev/null; then
63020 - if test -s conftest.err; then
63021 - ac_cpp_err=$ac_c_preproc_warn_flag
63022 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63029 -if test -z "$ac_cpp_err"; then
63030 + (exit $ac_status); } >/dev/null && {
63031 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
63032 + test ! -s conftest.err
63034 ac_header_preproc=yes
63036 echo "$as_me: failed program was:" >&5
63037 @@ -6876,9 +7512,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
63039 ac_header_preproc=no
63042 rm -f conftest.err conftest.$ac_ext
63043 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63044 -echo "${ECHO_T}$ac_header_preproc" >&6
63045 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63046 +echo "${ECHO_T}$ac_header_preproc" >&6; }
63048 # So? What about this header?
63049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63050 @@ -6902,25 +7539,19 @@ echo "$as_me: WARNING: $ac_header: s
63051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63056 -## ------------------------------------------ ##
63057 -## Report this to the AC_PACKAGE_NAME lists. ##
63058 -## ------------------------------------------ ##
63061 - sed "s/^/$as_me: WARNING: /" >&2
63065 -echo "$as_me:$LINENO: checking for $ac_header" >&5
63066 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63067 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
63068 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
63069 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
63070 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
63071 echo $ECHO_N "(cached) $ECHO_C" >&6
63073 eval "$as_ac_Header=\$ac_header_preproc"
63075 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63076 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63077 +ac_res=`eval echo '${'$as_ac_Header'}'`
63078 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63079 +echo "${ECHO_T}$ac_res" >&6; }
63082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63083 @@ -6946,9 +7577,9 @@ for ac_func in getcwd munmap putenv sete
63084 __argz_count __argz_stringify __argz_next
63086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63087 -echo "$as_me:$LINENO: checking for $ac_func" >&5
63088 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63089 -if eval "test \"\${$as_ac_var+set}\" = set"; then
63090 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
63091 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63092 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63093 echo $ECHO_N "(cached) $ECHO_C" >&6
63095 cat >conftest.$ac_ext <<_ACEOF
63096 @@ -6974,68 +7605,60 @@ cat >>conftest.$ac_ext <<_ACEOF
63100 -/* Override any gcc2 internal prototype to avoid an error. */
63101 +/* Override any GCC internal prototype to avoid an error.
63102 + Use char because int might match the return type of a GCC
63103 + builtin and then its argument prototype would still apply. */
63108 -/* We use char because int might match the return type of a gcc2
63109 - builtin and then its argument prototype would still apply. */
63111 /* The GNU C library defines this for functions which it implements
63112 to always fail with ENOSYS. Some functions are actually named
63113 something starting with __ and the normal name is an alias. */
63114 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63115 +#if defined __stub_$ac_func || defined __stub___$ac_func
63118 -char (*f) () = $ac_func;
63120 -#ifdef __cplusplus
63127 -return f != $ac_func;
63128 +return $ac_func ();
63133 rm -f conftest.$ac_objext conftest$ac_exeext
63134 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63135 - (eval $ac_link) 2>conftest.er1
63136 +if { (ac_try="$ac_link"
63137 +case "(($ac_try" in
63138 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63139 + *) ac_try_echo=$ac_try;;
63141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63142 + (eval "$ac_link") 2>conftest.er1
63144 grep -v '^ *+' conftest.er1 >conftest.err
63146 cat conftest.err >&5
63147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63148 - (exit $ac_status); } &&
63149 - { ac_try='test -z "$ac_c_werror_flag"
63150 - || test ! -s conftest.err'
63151 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63152 - (eval $ac_try) 2>&5
63154 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63155 - (exit $ac_status); }; } &&
63156 - { ac_try='test -s conftest$ac_exeext'
63157 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63158 - (eval $ac_try) 2>&5
63160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63161 - (exit $ac_status); }; }; then
63162 + (exit $ac_status); } && {
63163 + test -z "$ac_c_werror_flag" ||
63164 + test ! -s conftest.err
63165 + } && test -s conftest$ac_exeext &&
63166 + $as_test_x conftest$ac_exeext; then
63167 eval "$as_ac_var=yes"
63169 echo "$as_me: failed program was:" >&5
63170 sed 's/^/| /' conftest.$ac_ext >&5
63172 -eval "$as_ac_var=no"
63173 + eval "$as_ac_var=no"
63175 -rm -f conftest.err conftest.$ac_objext \
63177 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63178 conftest$ac_exeext conftest.$ac_ext
63180 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63181 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63182 +ac_res=`eval echo '${'$as_ac_var'}'`
63183 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63184 +echo "${ECHO_T}$ac_res" >&6; }
63185 if test `eval echo '${'$as_ac_var'}'` = yes; then
63186 cat >>confdefs.h <<_ACEOF
63187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63188 @@ -7050,9 +7673,9 @@ done
63189 for ac_func in stpcpy
63191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63192 -echo "$as_me:$LINENO: checking for $ac_func" >&5
63193 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63194 -if eval "test \"\${$as_ac_var+set}\" = set"; then
63195 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
63196 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63197 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63198 echo $ECHO_N "(cached) $ECHO_C" >&6
63200 cat >conftest.$ac_ext <<_ACEOF
63201 @@ -7078,68 +7701,60 @@ cat >>conftest.$ac_ext <<_ACEOF
63205 -/* Override any gcc2 internal prototype to avoid an error. */
63206 +/* Override any GCC internal prototype to avoid an error.
63207 + Use char because int might match the return type of a GCC
63208 + builtin and then its argument prototype would still apply. */
63213 -/* We use char because int might match the return type of a gcc2
63214 - builtin and then its argument prototype would still apply. */
63216 /* The GNU C library defines this for functions which it implements
63217 to always fail with ENOSYS. Some functions are actually named
63218 something starting with __ and the normal name is an alias. */
63219 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63220 +#if defined __stub_$ac_func || defined __stub___$ac_func
63223 -char (*f) () = $ac_func;
63225 -#ifdef __cplusplus
63232 -return f != $ac_func;
63233 +return $ac_func ();
63238 rm -f conftest.$ac_objext conftest$ac_exeext
63239 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63240 - (eval $ac_link) 2>conftest.er1
63241 +if { (ac_try="$ac_link"
63242 +case "(($ac_try" in
63243 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63244 + *) ac_try_echo=$ac_try;;
63246 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63247 + (eval "$ac_link") 2>conftest.er1
63249 grep -v '^ *+' conftest.er1 >conftest.err
63251 cat conftest.err >&5
63252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63253 - (exit $ac_status); } &&
63254 - { ac_try='test -z "$ac_c_werror_flag"
63255 - || test ! -s conftest.err'
63256 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63257 - (eval $ac_try) 2>&5
63259 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63260 - (exit $ac_status); }; } &&
63261 - { ac_try='test -s conftest$ac_exeext'
63262 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63263 - (eval $ac_try) 2>&5
63265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63266 - (exit $ac_status); }; }; then
63267 + (exit $ac_status); } && {
63268 + test -z "$ac_c_werror_flag" ||
63269 + test ! -s conftest.err
63270 + } && test -s conftest$ac_exeext &&
63271 + $as_test_x conftest$ac_exeext; then
63272 eval "$as_ac_var=yes"
63274 echo "$as_me: failed program was:" >&5
63275 sed 's/^/| /' conftest.$ac_ext >&5
63277 -eval "$as_ac_var=no"
63278 + eval "$as_ac_var=no"
63280 -rm -f conftest.err conftest.$ac_objext \
63282 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63283 conftest$ac_exeext conftest.$ac_ext
63285 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63286 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63287 +ac_res=`eval echo '${'$as_ac_var'}'`
63288 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63289 +echo "${ECHO_T}$ac_res" >&6; }
63290 if test `eval echo '${'$as_ac_var'}'` = yes; then
63291 cat >>confdefs.h <<_ACEOF
63292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63293 @@ -7158,8 +7773,8 @@ _ACEOF
63296 if test $ac_cv_header_locale_h = yes; then
63297 - echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
63298 -echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
63299 + { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
63300 +echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
63301 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
63302 echo $ECHO_N "(cached) $ECHO_C" >&6
63304 @@ -7179,39 +7794,36 @@ return LC_MESSAGES
63307 rm -f conftest.$ac_objext conftest$ac_exeext
63308 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63309 - (eval $ac_link) 2>conftest.er1
63310 +if { (ac_try="$ac_link"
63311 +case "(($ac_try" in
63312 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63313 + *) ac_try_echo=$ac_try;;
63315 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63316 + (eval "$ac_link") 2>conftest.er1
63318 grep -v '^ *+' conftest.er1 >conftest.err
63320 cat conftest.err >&5
63321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63322 - (exit $ac_status); } &&
63323 - { ac_try='test -z "$ac_c_werror_flag"
63324 - || test ! -s conftest.err'
63325 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63326 - (eval $ac_try) 2>&5
63328 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63329 - (exit $ac_status); }; } &&
63330 - { ac_try='test -s conftest$ac_exeext'
63331 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63332 - (eval $ac_try) 2>&5
63334 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63335 - (exit $ac_status); }; }; then
63336 + (exit $ac_status); } && {
63337 + test -z "$ac_c_werror_flag" ||
63338 + test ! -s conftest.err
63339 + } && test -s conftest$ac_exeext &&
63340 + $as_test_x conftest$ac_exeext; then
63341 am_cv_val_LC_MESSAGES=yes
63343 echo "$as_me: failed program was:" >&5
63344 sed 's/^/| /' conftest.$ac_ext >&5
63346 -am_cv_val_LC_MESSAGES=no
63347 + am_cv_val_LC_MESSAGES=no
63349 -rm -f conftest.err conftest.$ac_objext \
63351 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63352 conftest$ac_exeext conftest.$ac_ext
63354 -echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
63355 -echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
63356 +{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
63357 +echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
63358 if test $am_cv_val_LC_MESSAGES = yes; then
63360 cat >>confdefs.h <<\_ACEOF
63361 @@ -7220,34 +7832,34 @@ _ACEOF
63365 - echo "$as_me:$LINENO: checking whether NLS is requested" >&5
63366 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
63367 - # Check whether --enable-nls or --disable-nls was given.
63368 + { echo "$as_me:$LINENO: checking whether NLS is requested" >&5
63369 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; }
63370 + # Check whether --enable-nls was given.
63371 if test "${enable_nls+set}" = set; then
63372 - enableval="$enable_nls"
63373 - USE_NLS=$enableval
63374 + enableval=$enable_nls; USE_NLS=$enableval
63378 - echo "$as_me:$LINENO: result: $USE_NLS" >&5
63379 -echo "${ECHO_T}$USE_NLS" >&6
63382 + { echo "$as_me:$LINENO: result: $USE_NLS" >&5
63383 +echo "${ECHO_T}$USE_NLS" >&6; }
63386 USE_INCLUDED_LIBINTL=no
63388 if test "$USE_NLS" = "yes"; then
63389 - echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
63390 -echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
63391 + { echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
63392 +echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6; }
63394 -# Check whether --with-included-gettext or --without-included-gettext was given.
63395 +# Check whether --with-included-gettext was given.
63396 if test "${with_included_gettext+set}" = set; then
63397 - withval="$with_included_gettext"
63398 - nls_cv_force_use_gnu_gettext=$withval
63399 + withval=$with_included_gettext; nls_cv_force_use_gnu_gettext=$withval
63401 nls_cv_force_use_gnu_gettext=no
63403 - echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
63404 -echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
63407 + { echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
63408 +echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6; }
63410 nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
63411 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
63412 @@ -7256,17 +7868,17 @@ echo "${ECHO_T}$nls_cv_force_use_gnu_get
63415 if test "${ac_cv_header_libintl_h+set}" = set; then
63416 - echo "$as_me:$LINENO: checking for libintl.h" >&5
63417 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
63418 + { echo "$as_me:$LINENO: checking for libintl.h" >&5
63419 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
63420 if test "${ac_cv_header_libintl_h+set}" = set; then
63421 echo $ECHO_N "(cached) $ECHO_C" >&6
63423 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63424 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
63425 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63426 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
63428 # Is the header compilable?
63429 -echo "$as_me:$LINENO: checking libintl.h usability" >&5
63430 -echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6
63431 +{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
63432 +echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
63433 cat >conftest.$ac_ext <<_ACEOF
63436 @@ -7277,41 +7889,37 @@ $ac_includes_default
63437 #include <libintl.h>
63439 rm -f conftest.$ac_objext
63440 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63441 - (eval $ac_compile) 2>conftest.er1
63442 +if { (ac_try="$ac_compile"
63443 +case "(($ac_try" in
63444 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63445 + *) ac_try_echo=$ac_try;;
63447 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63448 + (eval "$ac_compile") 2>conftest.er1
63450 grep -v '^ *+' conftest.er1 >conftest.err
63452 cat conftest.err >&5
63453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63454 - (exit $ac_status); } &&
63455 - { ac_try='test -z "$ac_c_werror_flag"
63456 - || test ! -s conftest.err'
63457 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63458 - (eval $ac_try) 2>&5
63460 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63461 - (exit $ac_status); }; } &&
63462 - { ac_try='test -s conftest.$ac_objext'
63463 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63464 - (eval $ac_try) 2>&5
63466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63467 - (exit $ac_status); }; }; then
63468 + (exit $ac_status); } && {
63469 + test -z "$ac_c_werror_flag" ||
63470 + test ! -s conftest.err
63471 + } && test -s conftest.$ac_objext; then
63472 ac_header_compiler=yes
63474 echo "$as_me: failed program was:" >&5
63475 sed 's/^/| /' conftest.$ac_ext >&5
63477 -ac_header_compiler=no
63478 + ac_header_compiler=no
63480 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63481 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63482 -echo "${ECHO_T}$ac_header_compiler" >&6
63484 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63485 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63486 +echo "${ECHO_T}$ac_header_compiler" >&6; }
63488 # Is the header present?
63489 -echo "$as_me:$LINENO: checking libintl.h presence" >&5
63490 -echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6
63491 +{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
63492 +echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
63493 cat >conftest.$ac_ext <<_ACEOF
63496 @@ -7320,24 +7928,22 @@ cat >>conftest.$ac_ext <<_ACEOF
63497 /* end confdefs.h. */
63498 #include <libintl.h>
63500 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63501 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63502 +if { (ac_try="$ac_cpp conftest.$ac_ext"
63503 +case "(($ac_try" in
63504 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63505 + *) ac_try_echo=$ac_try;;
63507 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63508 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
63510 grep -v '^ *+' conftest.er1 >conftest.err
63512 cat conftest.err >&5
63513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63514 - (exit $ac_status); } >/dev/null; then
63515 - if test -s conftest.err; then
63516 - ac_cpp_err=$ac_c_preproc_warn_flag
63517 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63524 -if test -z "$ac_cpp_err"; then
63525 + (exit $ac_status); } >/dev/null && {
63526 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
63527 + test ! -s conftest.err
63529 ac_header_preproc=yes
63531 echo "$as_me: failed program was:" >&5
63532 @@ -7345,9 +7951,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
63534 ac_header_preproc=no
63537 rm -f conftest.err conftest.$ac_ext
63538 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63539 -echo "${ECHO_T}$ac_header_preproc" >&6
63540 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63541 +echo "${ECHO_T}$ac_header_preproc" >&6; }
63543 # So? What about this header?
63544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63545 @@ -7371,30 +7978,23 @@ echo "$as_me: WARNING: libintl.h: se
63546 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
63547 { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
63548 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
63551 -## ------------------------------------------ ##
63552 -## Report this to the AC_PACKAGE_NAME lists. ##
63553 -## ------------------------------------------ ##
63556 - sed "s/^/$as_me: WARNING: /" >&2
63560 -echo "$as_me:$LINENO: checking for libintl.h" >&5
63561 -echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6
63562 +{ echo "$as_me:$LINENO: checking for libintl.h" >&5
63563 +echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
63564 if test "${ac_cv_header_libintl_h+set}" = set; then
63565 echo $ECHO_N "(cached) $ECHO_C" >&6
63567 ac_cv_header_libintl_h=$ac_header_preproc
63569 -echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63570 -echo "${ECHO_T}$ac_cv_header_libintl_h" >&6
63571 +{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
63572 +echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
63575 if test $ac_cv_header_libintl_h = yes; then
63576 - echo "$as_me:$LINENO: checking for gettext in libc" >&5
63577 -echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6
63578 + { echo "$as_me:$LINENO: checking for gettext in libc" >&5
63579 +echo $ECHO_N "checking for gettext in libc... $ECHO_C" >&6; }
63580 if test "${gt_cv_func_gettext_libc+set}" = set; then
63581 echo $ECHO_N "(cached) $ECHO_C" >&6
63583 @@ -7414,43 +8014,40 @@ return (int) gettext ("")
63586 rm -f conftest.$ac_objext conftest$ac_exeext
63587 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63588 - (eval $ac_link) 2>conftest.er1
63589 +if { (ac_try="$ac_link"
63590 +case "(($ac_try" in
63591 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63592 + *) ac_try_echo=$ac_try;;
63594 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63595 + (eval "$ac_link") 2>conftest.er1
63597 grep -v '^ *+' conftest.er1 >conftest.err
63599 cat conftest.err >&5
63600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63601 - (exit $ac_status); } &&
63602 - { ac_try='test -z "$ac_c_werror_flag"
63603 - || test ! -s conftest.err'
63604 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63605 - (eval $ac_try) 2>&5
63607 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608 - (exit $ac_status); }; } &&
63609 - { ac_try='test -s conftest$ac_exeext'
63610 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63611 - (eval $ac_try) 2>&5
63613 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63614 - (exit $ac_status); }; }; then
63615 + (exit $ac_status); } && {
63616 + test -z "$ac_c_werror_flag" ||
63617 + test ! -s conftest.err
63618 + } && test -s conftest$ac_exeext &&
63619 + $as_test_x conftest$ac_exeext; then
63620 gt_cv_func_gettext_libc=yes
63622 echo "$as_me: failed program was:" >&5
63623 sed 's/^/| /' conftest.$ac_ext >&5
63625 -gt_cv_func_gettext_libc=no
63626 + gt_cv_func_gettext_libc=no
63628 -rm -f conftest.err conftest.$ac_objext \
63630 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63631 conftest$ac_exeext conftest.$ac_ext
63633 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
63634 -echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6
63635 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libc" >&5
63636 +echo "${ECHO_T}$gt_cv_func_gettext_libc" >&6; }
63638 if test "$gt_cv_func_gettext_libc" != "yes"; then
63639 - echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
63640 -echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6
63641 + { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
63642 +echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
63643 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
63644 echo $ECHO_N "(cached) $ECHO_C" >&6
63646 @@ -7463,59 +8060,56 @@ cat confdefs.h >>conftest.$ac_ext
63647 cat >>conftest.$ac_ext <<_ACEOF
63648 /* end confdefs.h. */
63650 -/* Override any gcc2 internal prototype to avoid an error. */
63651 +/* Override any GCC internal prototype to avoid an error.
63652 + Use char because int might match the return type of a GCC
63653 + builtin and then its argument prototype would still apply. */
63657 -/* We use char because int might match the return type of a gcc2
63658 - builtin and then its argument prototype would still apply. */
63659 char bindtextdomain ();
63663 -bindtextdomain ();
63664 +return bindtextdomain ();
63669 rm -f conftest.$ac_objext conftest$ac_exeext
63670 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63671 - (eval $ac_link) 2>conftest.er1
63672 +if { (ac_try="$ac_link"
63673 +case "(($ac_try" in
63674 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63675 + *) ac_try_echo=$ac_try;;
63677 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63678 + (eval "$ac_link") 2>conftest.er1
63680 grep -v '^ *+' conftest.er1 >conftest.err
63682 cat conftest.err >&5
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 - (exit $ac_status); } &&
63685 - { ac_try='test -z "$ac_c_werror_flag"
63686 - || test ! -s conftest.err'
63687 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63688 - (eval $ac_try) 2>&5
63690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63691 - (exit $ac_status); }; } &&
63692 - { ac_try='test -s conftest$ac_exeext'
63693 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63694 - (eval $ac_try) 2>&5
63696 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63697 - (exit $ac_status); }; }; then
63698 + (exit $ac_status); } && {
63699 + test -z "$ac_c_werror_flag" ||
63700 + test ! -s conftest.err
63701 + } && test -s conftest$ac_exeext &&
63702 + $as_test_x conftest$ac_exeext; then
63703 ac_cv_lib_intl_bindtextdomain=yes
63705 echo "$as_me: failed program was:" >&5
63706 sed 's/^/| /' conftest.$ac_ext >&5
63708 -ac_cv_lib_intl_bindtextdomain=no
63709 + ac_cv_lib_intl_bindtextdomain=no
63711 -rm -f conftest.err conftest.$ac_objext \
63713 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63714 conftest$ac_exeext conftest.$ac_ext
63715 LIBS=$ac_check_lib_save_LIBS
63717 -echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
63718 -echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6
63719 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
63720 +echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
63721 if test $ac_cv_lib_intl_bindtextdomain = yes; then
63722 - echo "$as_me:$LINENO: checking for gettext in libintl" >&5
63723 -echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6
63724 + { echo "$as_me:$LINENO: checking for gettext in libintl" >&5
63725 +echo $ECHO_N "checking for gettext in libintl... $ECHO_C" >&6; }
63726 if test "${gt_cv_func_gettext_libintl+set}" = set; then
63727 echo $ECHO_N "(cached) $ECHO_C" >&6
63729 @@ -7535,39 +8129,36 @@ return (int) gettext ("")
63732 rm -f conftest.$ac_objext conftest$ac_exeext
63733 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63734 - (eval $ac_link) 2>conftest.er1
63735 +if { (ac_try="$ac_link"
63736 +case "(($ac_try" in
63737 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63738 + *) ac_try_echo=$ac_try;;
63740 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63741 + (eval "$ac_link") 2>conftest.er1
63743 grep -v '^ *+' conftest.er1 >conftest.err
63745 cat conftest.err >&5
63746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63747 - (exit $ac_status); } &&
63748 - { ac_try='test -z "$ac_c_werror_flag"
63749 - || test ! -s conftest.err'
63750 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63751 - (eval $ac_try) 2>&5
63753 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63754 - (exit $ac_status); }; } &&
63755 - { ac_try='test -s conftest$ac_exeext'
63756 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63757 - (eval $ac_try) 2>&5
63759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63760 - (exit $ac_status); }; }; then
63761 + (exit $ac_status); } && {
63762 + test -z "$ac_c_werror_flag" ||
63763 + test ! -s conftest.err
63764 + } && test -s conftest$ac_exeext &&
63765 + $as_test_x conftest$ac_exeext; then
63766 gt_cv_func_gettext_libintl=yes
63768 echo "$as_me: failed program was:" >&5
63769 sed 's/^/| /' conftest.$ac_ext >&5
63771 -gt_cv_func_gettext_libintl=no
63772 + gt_cv_func_gettext_libintl=no
63774 -rm -f conftest.err conftest.$ac_objext \
63776 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63777 conftest$ac_exeext conftest.$ac_ext
63779 -echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
63780 -echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6
63781 +{ echo "$as_me:$LINENO: result: $gt_cv_func_gettext_libintl" >&5
63782 +echo "${ECHO_T}$gt_cv_func_gettext_libintl" >&6; }
63786 @@ -7581,8 +8172,8 @@ _ACEOF
63788 # Extract the first word of "msgfmt", so it can be a program name with args.
63789 set dummy msgfmt; ac_word=$2
63790 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63791 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63792 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63793 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63794 if test "${ac_cv_path_MSGFMT+set}" = set; then
63795 echo $ECHO_N "(cached) $ECHO_C" >&6
63797 @@ -7608,20 +8199,20 @@ esac
63799 MSGFMT="$ac_cv_path_MSGFMT"
63800 if test -n "$MSGFMT"; then
63801 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
63802 -echo "${ECHO_T}$MSGFMT" >&6
63803 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
63804 +echo "${ECHO_T}$MSGFMT" >&6; }
63806 - echo "$as_me:$LINENO: result: no" >&5
63807 -echo "${ECHO_T}no" >&6
63808 + { echo "$as_me:$LINENO: result: no" >&5
63809 +echo "${ECHO_T}no" >&6; }
63811 if test "$MSGFMT" != "no"; then
63813 for ac_func in dcgettext
63815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63816 -echo "$as_me:$LINENO: checking for $ac_func" >&5
63817 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63818 -if eval "test \"\${$as_ac_var+set}\" = set"; then
63819 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
63820 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
63821 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
63822 echo $ECHO_N "(cached) $ECHO_C" >&6
63824 cat >conftest.$ac_ext <<_ACEOF
63825 @@ -7647,68 +8238,60 @@ cat >>conftest.$ac_ext <<_ACEOF
63829 -/* Override any gcc2 internal prototype to avoid an error. */
63830 +/* Override any GCC internal prototype to avoid an error.
63831 + Use char because int might match the return type of a GCC
63832 + builtin and then its argument prototype would still apply. */
63837 -/* We use char because int might match the return type of a gcc2
63838 - builtin and then its argument prototype would still apply. */
63840 /* The GNU C library defines this for functions which it implements
63841 to always fail with ENOSYS. Some functions are actually named
63842 something starting with __ and the normal name is an alias. */
63843 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63844 +#if defined __stub_$ac_func || defined __stub___$ac_func
63847 -char (*f) () = $ac_func;
63849 -#ifdef __cplusplus
63856 -return f != $ac_func;
63857 +return $ac_func ();
63862 rm -f conftest.$ac_objext conftest$ac_exeext
63863 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63864 - (eval $ac_link) 2>conftest.er1
63865 +if { (ac_try="$ac_link"
63866 +case "(($ac_try" in
63867 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63868 + *) ac_try_echo=$ac_try;;
63870 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63871 + (eval "$ac_link") 2>conftest.er1
63873 grep -v '^ *+' conftest.er1 >conftest.err
63875 cat conftest.err >&5
63876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63877 - (exit $ac_status); } &&
63878 - { ac_try='test -z "$ac_c_werror_flag"
63879 - || test ! -s conftest.err'
63880 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63881 - (eval $ac_try) 2>&5
63883 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63884 - (exit $ac_status); }; } &&
63885 - { ac_try='test -s conftest$ac_exeext'
63886 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63887 - (eval $ac_try) 2>&5
63889 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
63890 - (exit $ac_status); }; }; then
63891 + (exit $ac_status); } && {
63892 + test -z "$ac_c_werror_flag" ||
63893 + test ! -s conftest.err
63894 + } && test -s conftest$ac_exeext &&
63895 + $as_test_x conftest$ac_exeext; then
63896 eval "$as_ac_var=yes"
63898 echo "$as_me: failed program was:" >&5
63899 sed 's/^/| /' conftest.$ac_ext >&5
63901 -eval "$as_ac_var=no"
63902 + eval "$as_ac_var=no"
63904 -rm -f conftest.err conftest.$ac_objext \
63906 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
63907 conftest$ac_exeext conftest.$ac_ext
63909 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63910 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63911 +ac_res=`eval echo '${'$as_ac_var'}'`
63912 + { echo "$as_me:$LINENO: result: $ac_res" >&5
63913 +echo "${ECHO_T}$ac_res" >&6; }
63914 if test `eval echo '${'$as_ac_var'}'` = yes; then
63915 cat >>confdefs.h <<_ACEOF
63916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63917 @@ -7719,8 +8302,8 @@ done
63919 # Extract the first word of "gmsgfmt", so it can be a program name with args.
63920 set dummy gmsgfmt; ac_word=$2
63921 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63922 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63923 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63924 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63925 if test "${ac_cv_path_GMSGFMT+set}" = set; then
63926 echo $ECHO_N "(cached) $ECHO_C" >&6
63928 @@ -7735,32 +8318,33 @@ do
63930 test -z "$as_dir" && as_dir=.
63931 for ac_exec_ext in '' $ac_executable_extensions; do
63932 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
63933 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
63934 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
63935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
63942 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
63946 GMSGFMT=$ac_cv_path_GMSGFMT
63948 if test -n "$GMSGFMT"; then
63949 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
63950 -echo "${ECHO_T}$GMSGFMT" >&6
63951 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
63952 +echo "${ECHO_T}$GMSGFMT" >&6; }
63954 - echo "$as_me:$LINENO: result: no" >&5
63955 -echo "${ECHO_T}no" >&6
63956 + { echo "$as_me:$LINENO: result: no" >&5
63957 +echo "${ECHO_T}no" >&6; }
63961 # Extract the first word of "xgettext", so it can be a program name with args.
63962 set dummy xgettext; ac_word=$2
63963 -echo "$as_me:$LINENO: checking for $ac_word" >&5
63964 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
63965 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
63966 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
63967 if test "${ac_cv_path_XGETTEXT+set}" = set; then
63968 echo $ECHO_N "(cached) $ECHO_C" >&6
63970 @@ -7786,11 +8370,11 @@ esac
63972 XGETTEXT="$ac_cv_path_XGETTEXT"
63973 if test -n "$XGETTEXT"; then
63974 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
63975 -echo "${ECHO_T}$XGETTEXT" >&6
63976 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
63977 +echo "${ECHO_T}$XGETTEXT" >&6; }
63979 - echo "$as_me:$LINENO: result: no" >&5
63980 -echo "${ECHO_T}no" >&6
63981 + { echo "$as_me:$LINENO: result: no" >&5
63982 +echo "${ECHO_T}no" >&6; }
63985 cat >conftest.$ac_ext <<_ACEOF
63986 @@ -7810,37 +8394,34 @@ extern int _nl_msg_cat_cntr;
63989 rm -f conftest.$ac_objext conftest$ac_exeext
63990 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63991 - (eval $ac_link) 2>conftest.er1
63992 +if { (ac_try="$ac_link"
63993 +case "(($ac_try" in
63994 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
63995 + *) ac_try_echo=$ac_try;;
63997 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
63998 + (eval "$ac_link") 2>conftest.er1
64000 grep -v '^ *+' conftest.er1 >conftest.err
64002 cat conftest.err >&5
64003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64004 - (exit $ac_status); } &&
64005 - { ac_try='test -z "$ac_c_werror_flag"
64006 - || test ! -s conftest.err'
64007 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64008 - (eval $ac_try) 2>&5
64010 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64011 - (exit $ac_status); }; } &&
64012 - { ac_try='test -s conftest$ac_exeext'
64013 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64014 - (eval $ac_try) 2>&5
64016 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64017 - (exit $ac_status); }; }; then
64018 + (exit $ac_status); } && {
64019 + test -z "$ac_c_werror_flag" ||
64020 + test ! -s conftest.err
64021 + } && test -s conftest$ac_exeext &&
64022 + $as_test_x conftest$ac_exeext; then
64026 echo "$as_me: failed program was:" >&5
64027 sed 's/^/| /' conftest.$ac_ext >&5
64033 -rm -f conftest.err conftest.$ac_objext \
64035 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64036 conftest$ac_exeext conftest.$ac_ext
64039 @@ -7862,8 +8443,8 @@ fi
64040 INTLOBJS="\$(GETTOBJS)"
64041 # Extract the first word of "msgfmt", so it can be a program name with args.
64042 set dummy msgfmt; ac_word=$2
64043 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64044 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64045 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64046 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64047 if test "${ac_cv_path_MSGFMT+set}" = set; then
64048 echo $ECHO_N "(cached) $ECHO_C" >&6
64050 @@ -7889,17 +8470,17 @@ esac
64052 MSGFMT="$ac_cv_path_MSGFMT"
64053 if test -n "$MSGFMT"; then
64054 - echo "$as_me:$LINENO: result: $MSGFMT" >&5
64055 -echo "${ECHO_T}$MSGFMT" >&6
64056 + { echo "$as_me:$LINENO: result: $MSGFMT" >&5
64057 +echo "${ECHO_T}$MSGFMT" >&6; }
64059 - echo "$as_me:$LINENO: result: no" >&5
64060 -echo "${ECHO_T}no" >&6
64061 + { echo "$as_me:$LINENO: result: no" >&5
64062 +echo "${ECHO_T}no" >&6; }
64065 # Extract the first word of "gmsgfmt", so it can be a program name with args.
64066 set dummy gmsgfmt; ac_word=$2
64067 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64068 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64069 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64070 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64071 if test "${ac_cv_path_GMSGFMT+set}" = set; then
64072 echo $ECHO_N "(cached) $ECHO_C" >&6
64074 @@ -7914,32 +8495,33 @@ do
64076 test -z "$as_dir" && as_dir=.
64077 for ac_exec_ext in '' $ac_executable_extensions; do
64078 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
64079 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64080 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
64081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64088 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
64092 GMSGFMT=$ac_cv_path_GMSGFMT
64094 if test -n "$GMSGFMT"; then
64095 - echo "$as_me:$LINENO: result: $GMSGFMT" >&5
64096 -echo "${ECHO_T}$GMSGFMT" >&6
64097 + { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
64098 +echo "${ECHO_T}$GMSGFMT" >&6; }
64100 - echo "$as_me:$LINENO: result: no" >&5
64101 -echo "${ECHO_T}no" >&6
64102 + { echo "$as_me:$LINENO: result: no" >&5
64103 +echo "${ECHO_T}no" >&6; }
64107 # Extract the first word of "xgettext", so it can be a program name with args.
64108 set dummy xgettext; ac_word=$2
64109 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64110 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64111 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64112 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64113 if test "${ac_cv_path_XGETTEXT+set}" = set; then
64114 echo $ECHO_N "(cached) $ECHO_C" >&6
64116 @@ -7965,11 +8547,11 @@ esac
64118 XGETTEXT="$ac_cv_path_XGETTEXT"
64119 if test -n "$XGETTEXT"; then
64120 - echo "$as_me:$LINENO: result: $XGETTEXT" >&5
64121 -echo "${ECHO_T}$XGETTEXT" >&6
64122 + { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
64123 +echo "${ECHO_T}$XGETTEXT" >&6; }
64125 - echo "$as_me:$LINENO: result: no" >&5
64126 -echo "${ECHO_T}no" >&6
64127 + { echo "$as_me:$LINENO: result: no" >&5
64128 +echo "${ECHO_T}no" >&6; }
64132 @@ -7988,8 +8570,8 @@ fi
64133 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
64136 - echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
64137 -echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6
64138 + { echo "$as_me:$LINENO: result: found xgettext programs is not GNU xgettext; ignore it" >&5
64139 +echo "${ECHO_T}found xgettext programs is not GNU xgettext; ignore it" >&6; }
64143 @@ -8038,8 +8620,8 @@ _ACEOF
64144 if test "x$ALL_LINGUAS" = "x"; then
64147 - echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
64148 -echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
64149 + { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
64150 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
64152 for lang in ${LINGUAS=$ALL_LINGUAS}; do
64153 case "$ALL_LINGUAS" in
64154 @@ -8047,8 +8629,8 @@ echo $ECHO_N "checking for catalogs to b
64157 LINGUAS=$NEW_LINGUAS
64158 - echo "$as_me:$LINENO: result: $LINGUAS" >&5
64159 -echo "${ECHO_T}$LINGUAS" >&6
64160 + { echo "$as_me:$LINENO: result: $LINGUAS" >&5
64161 +echo "${ECHO_T}$LINGUAS" >&6; }
64164 if test -n "$LINGUAS"; then
64165 @@ -8067,17 +8649,17 @@ echo "${ECHO_T}$LINGUAS" >&6
64166 if test -f $srcdir/po2tbl.sed.in; then
64167 if test "$CATOBJEXT" = ".cat"; then
64168 if test "${ac_cv_header_linux_version_h+set}" = set; then
64169 - echo "$as_me:$LINENO: checking for linux/version.h" >&5
64170 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
64171 + { echo "$as_me:$LINENO: checking for linux/version.h" >&5
64172 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
64173 if test "${ac_cv_header_linux_version_h+set}" = set; then
64174 echo $ECHO_N "(cached) $ECHO_C" >&6
64176 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64177 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
64178 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64179 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
64181 # Is the header compilable?
64182 -echo "$as_me:$LINENO: checking linux/version.h usability" >&5
64183 -echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6
64184 +{ echo "$as_me:$LINENO: checking linux/version.h usability" >&5
64185 +echo $ECHO_N "checking linux/version.h usability... $ECHO_C" >&6; }
64186 cat >conftest.$ac_ext <<_ACEOF
64189 @@ -8088,41 +8670,37 @@ $ac_includes_default
64190 #include <linux/version.h>
64192 rm -f conftest.$ac_objext
64193 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64194 - (eval $ac_compile) 2>conftest.er1
64195 +if { (ac_try="$ac_compile"
64196 +case "(($ac_try" in
64197 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64198 + *) ac_try_echo=$ac_try;;
64200 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64201 + (eval "$ac_compile") 2>conftest.er1
64203 grep -v '^ *+' conftest.er1 >conftest.err
64205 cat conftest.err >&5
64206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64207 - (exit $ac_status); } &&
64208 - { ac_try='test -z "$ac_c_werror_flag"
64209 - || test ! -s conftest.err'
64210 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64211 - (eval $ac_try) 2>&5
64213 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64214 - (exit $ac_status); }; } &&
64215 - { ac_try='test -s conftest.$ac_objext'
64216 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64217 - (eval $ac_try) 2>&5
64219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64220 - (exit $ac_status); }; }; then
64221 + (exit $ac_status); } && {
64222 + test -z "$ac_c_werror_flag" ||
64223 + test ! -s conftest.err
64224 + } && test -s conftest.$ac_objext; then
64225 ac_header_compiler=yes
64227 echo "$as_me: failed program was:" >&5
64228 sed 's/^/| /' conftest.$ac_ext >&5
64230 -ac_header_compiler=no
64231 + ac_header_compiler=no
64233 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64234 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64235 -echo "${ECHO_T}$ac_header_compiler" >&6
64237 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64238 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64239 +echo "${ECHO_T}$ac_header_compiler" >&6; }
64241 # Is the header present?
64242 -echo "$as_me:$LINENO: checking linux/version.h presence" >&5
64243 -echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6
64244 +{ echo "$as_me:$LINENO: checking linux/version.h presence" >&5
64245 +echo $ECHO_N "checking linux/version.h presence... $ECHO_C" >&6; }
64246 cat >conftest.$ac_ext <<_ACEOF
64249 @@ -8131,24 +8709,22 @@ cat >>conftest.$ac_ext <<_ACEOF
64250 /* end confdefs.h. */
64251 #include <linux/version.h>
64253 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64254 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64255 +if { (ac_try="$ac_cpp conftest.$ac_ext"
64256 +case "(($ac_try" in
64257 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64258 + *) ac_try_echo=$ac_try;;
64260 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64261 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
64263 grep -v '^ *+' conftest.er1 >conftest.err
64265 cat conftest.err >&5
64266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64267 - (exit $ac_status); } >/dev/null; then
64268 - if test -s conftest.err; then
64269 - ac_cpp_err=$ac_c_preproc_warn_flag
64270 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64277 -if test -z "$ac_cpp_err"; then
64278 + (exit $ac_status); } >/dev/null && {
64279 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
64280 + test ! -s conftest.err
64282 ac_header_preproc=yes
64284 echo "$as_me: failed program was:" >&5
64285 @@ -8156,9 +8732,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
64287 ac_header_preproc=no
64290 rm -f conftest.err conftest.$ac_ext
64291 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64292 -echo "${ECHO_T}$ac_header_preproc" >&6
64293 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64294 +echo "${ECHO_T}$ac_header_preproc" >&6; }
64296 # So? What about this header?
64297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64298 @@ -8182,25 +8759,18 @@ echo "$as_me: WARNING: linux/version.h:
64299 echo "$as_me: WARNING: linux/version.h: proceeding with the preprocessor's result" >&2;}
64300 { echo "$as_me:$LINENO: WARNING: linux/version.h: in the future, the compiler will take precedence" >&5
64301 echo "$as_me: WARNING: linux/version.h: in the future, the compiler will take precedence" >&2;}
64304 -## ------------------------------------------ ##
64305 -## Report this to the AC_PACKAGE_NAME lists. ##
64306 -## ------------------------------------------ ##
64309 - sed "s/^/$as_me: WARNING: /" >&2
64313 -echo "$as_me:$LINENO: checking for linux/version.h" >&5
64314 -echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6
64315 +{ echo "$as_me:$LINENO: checking for linux/version.h" >&5
64316 +echo $ECHO_N "checking for linux/version.h... $ECHO_C" >&6; }
64317 if test "${ac_cv_header_linux_version_h+set}" = set; then
64318 echo $ECHO_N "(cached) $ECHO_C" >&6
64320 ac_cv_header_linux_version_h=$ac_header_preproc
64322 -echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64323 -echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6
64324 +{ echo "$as_me:$LINENO: result: $ac_cv_header_linux_version_h" >&5
64325 +echo "${ECHO_T}$ac_cv_header_linux_version_h" >&6; }
64328 if test $ac_cv_header_linux_version_h = yes; then
64329 @@ -8256,8 +8826,8 @@ for ac_prog in 'bison -y' byacc
64331 # Extract the first word of "$ac_prog", so it can be a program name with args.
64332 set dummy $ac_prog; ac_word=$2
64333 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64334 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64335 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64336 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64337 if test "${ac_cv_prog_YACC+set}" = set; then
64338 echo $ECHO_N "(cached) $ECHO_C" >&6
64340 @@ -8270,25 +8840,27 @@ do
64342 test -z "$as_dir" && as_dir=.
64343 for ac_exec_ext in '' $ac_executable_extensions; do
64344 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
64345 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64346 ac_cv_prog_YACC="$ac_prog"
64347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64356 YACC=$ac_cv_prog_YACC
64357 if test -n "$YACC"; then
64358 - echo "$as_me:$LINENO: result: $YACC" >&5
64359 -echo "${ECHO_T}$YACC" >&6
64360 + { echo "$as_me:$LINENO: result: $YACC" >&5
64361 +echo "${ECHO_T}$YACC" >&6; }
64363 - echo "$as_me:$LINENO: result: no" >&5
64364 -echo "${ECHO_T}no" >&6
64365 + { echo "$as_me:$LINENO: result: no" >&5
64366 +echo "${ECHO_T}no" >&6; }
64370 test -n "$YACC" && break
64372 test -n "$YACC" || YACC="yacc"
64373 @@ -8297,8 +8869,8 @@ for ac_prog in flex lex
64375 # Extract the first word of "$ac_prog", so it can be a program name with args.
64376 set dummy $ac_prog; ac_word=$2
64377 -echo "$as_me:$LINENO: checking for $ac_word" >&5
64378 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
64379 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
64380 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
64381 if test "${ac_cv_prog_LEX+set}" = set; then
64382 echo $ECHO_N "(cached) $ECHO_C" >&6
64384 @@ -8311,253 +8883,182 @@ do
64386 test -z "$as_dir" && as_dir=.
64387 for ac_exec_ext in '' $ac_executable_extensions; do
64388 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
64389 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
64390 ac_cv_prog_LEX="$ac_prog"
64391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
64400 LEX=$ac_cv_prog_LEX
64401 if test -n "$LEX"; then
64402 - echo "$as_me:$LINENO: result: $LEX" >&5
64403 -echo "${ECHO_T}$LEX" >&6
64404 + { echo "$as_me:$LINENO: result: $LEX" >&5
64405 +echo "${ECHO_T}$LEX" >&6; }
64407 - echo "$as_me:$LINENO: result: no" >&5
64408 -echo "${ECHO_T}no" >&6
64409 + { echo "$as_me:$LINENO: result: no" >&5
64410 +echo "${ECHO_T}no" >&6; }
64414 test -n "$LEX" && break
64416 test -n "$LEX" || LEX=":"
64418 -if test -z "$LEXLIB"
64420 - echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
64421 -echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
64422 -if test "${ac_cv_lib_fl_yywrap+set}" = set; then
64423 - echo $ECHO_N "(cached) $ECHO_C" >&6
64425 - ac_check_lib_save_LIBS=$LIBS
64427 -cat >conftest.$ac_ext <<_ACEOF
64430 -cat confdefs.h >>conftest.$ac_ext
64431 -cat >>conftest.$ac_ext <<_ACEOF
64432 -/* end confdefs.h. */
64434 -/* Override any gcc2 internal prototype to avoid an error. */
64435 -#ifdef __cplusplus
64437 +if test "x$LEX" != "x:"; then
64438 + cat >conftest.l <<_ACEOF
64444 +e { yyless (input () != 0); }
64445 +f { unput (yytext[0]); }
64446 +. { BEGIN INITIAL; }
64448 +#ifdef YYTEXT_POINTER
64449 +extern char *yytext;
64451 -/* We use char because int might match the return type of a gcc2
64452 - builtin and then its argument prototype would still apply. */
64461 + return ! yylex () + ! yywrap ();
64464 -rm -f conftest.$ac_objext conftest$ac_exeext
64465 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64466 - (eval $ac_link) 2>conftest.er1
64468 - grep -v '^ *+' conftest.er1 >conftest.err
64469 - rm -f conftest.er1
64470 - cat conftest.err >&5
64471 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64472 - (exit $ac_status); } &&
64473 - { ac_try='test -z "$ac_c_werror_flag"
64474 - || test ! -s conftest.err'
64475 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64476 - (eval $ac_try) 2>&5
64478 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64479 - (exit $ac_status); }; } &&
64480 - { ac_try='test -s conftest$ac_exeext'
64481 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64482 - (eval $ac_try) 2>&5
64483 +{ (ac_try="$LEX conftest.l"
64484 +case "(($ac_try" in
64485 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64486 + *) ac_try_echo=$ac_try;;
64488 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64489 + (eval "$LEX conftest.l") 2>&5
64491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64492 - (exit $ac_status); }; }; then
64493 - ac_cv_lib_fl_yywrap=yes
64494 + (exit $ac_status); }
64495 +{ echo "$as_me:$LINENO: checking lex output file root" >&5
64496 +echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
64497 +if test "${ac_cv_prog_lex_root+set}" = set; then
64498 + echo $ECHO_N "(cached) $ECHO_C" >&6
64500 - echo "$as_me: failed program was:" >&5
64501 -sed 's/^/| /' conftest.$ac_ext >&5
64503 -ac_cv_lib_fl_yywrap=no
64504 +if test -f lex.yy.c; then
64505 + ac_cv_prog_lex_root=lex.yy
64506 +elif test -f lexyy.c; then
64507 + ac_cv_prog_lex_root=lexyy
64509 + { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
64510 +echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
64511 + { (exit 1); exit 1; }; }
64513 -rm -f conftest.err conftest.$ac_objext \
64514 - conftest$ac_exeext conftest.$ac_ext
64515 -LIBS=$ac_check_lib_save_LIBS
64517 -echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
64518 -echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
64519 -if test $ac_cv_lib_fl_yywrap = yes; then
64522 - echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
64523 -echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
64524 -if test "${ac_cv_lib_l_yywrap+set}" = set; then
64525 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
64526 +echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
64527 +LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
64529 +if test -z "${LEXLIB+set}"; then
64530 + { echo "$as_me:$LINENO: checking lex library" >&5
64531 +echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
64532 +if test "${ac_cv_lib_lex+set}" = set; then
64533 echo $ECHO_N "(cached) $ECHO_C" >&6
64535 - ac_check_lib_save_LIBS=$LIBS
64537 -cat >conftest.$ac_ext <<_ACEOF
64540 -cat confdefs.h >>conftest.$ac_ext
64541 -cat >>conftest.$ac_ext <<_ACEOF
64542 -/* end confdefs.h. */
64544 -/* Override any gcc2 internal prototype to avoid an error. */
64545 -#ifdef __cplusplus
64548 -/* We use char because int might match the return type of a gcc2
64549 - builtin and then its argument prototype would still apply. */
64558 + ac_save_LIBS=$LIBS
64559 + ac_cv_lib_lex='none needed'
64560 + for ac_lib in '' -lfl -ll; do
64561 + LIBS="$ac_lib $ac_save_LIBS"
64562 + cat >conftest.$ac_ext <<_ACEOF
64563 +`cat $LEX_OUTPUT_ROOT.c`
64565 rm -f conftest.$ac_objext conftest$ac_exeext
64566 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64567 - (eval $ac_link) 2>conftest.er1
64568 +if { (ac_try="$ac_link"
64569 +case "(($ac_try" in
64570 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64571 + *) ac_try_echo=$ac_try;;
64573 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64574 + (eval "$ac_link") 2>conftest.er1
64576 grep -v '^ *+' conftest.er1 >conftest.err
64578 cat conftest.err >&5
64579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64580 - (exit $ac_status); } &&
64581 - { ac_try='test -z "$ac_c_werror_flag"
64582 - || test ! -s conftest.err'
64583 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64584 - (eval $ac_try) 2>&5
64586 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64587 - (exit $ac_status); }; } &&
64588 - { ac_try='test -s conftest$ac_exeext'
64589 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64590 - (eval $ac_try) 2>&5
64592 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64593 - (exit $ac_status); }; }; then
64594 - ac_cv_lib_l_yywrap=yes
64595 + (exit $ac_status); } && {
64596 + test -z "$ac_c_werror_flag" ||
64597 + test ! -s conftest.err
64598 + } && test -s conftest$ac_exeext &&
64599 + $as_test_x conftest$ac_exeext; then
64600 + ac_cv_lib_lex=$ac_lib
64602 echo "$as_me: failed program was:" >&5
64603 sed 's/^/| /' conftest.$ac_ext >&5
64605 -ac_cv_lib_l_yywrap=no
64607 -rm -f conftest.err conftest.$ac_objext \
64608 - conftest$ac_exeext conftest.$ac_ext
64609 -LIBS=$ac_check_lib_save_LIBS
64611 -echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
64612 -echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
64613 -if test $ac_cv_lib_l_yywrap = yes; then
64620 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64621 + conftest$ac_exeext conftest.$ac_ext
64622 + test "$ac_cv_lib_lex" != 'none needed' && break
64624 + LIBS=$ac_save_LIBS
64626 -if test "x$LEX" != "x:"; then
64627 - echo "$as_me:$LINENO: checking lex output file root" >&5
64628 -echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
64629 -if test "${ac_cv_prog_lex_root+set}" = set; then
64630 - echo $ECHO_N "(cached) $ECHO_C" >&6
64632 - # The minimal lex program is just a single line: %%. But some broken lexes
64633 -# (Solaris, I think it was) want two %% lines, so accommodate them.
64634 -cat >conftest.l <<_ACEOF
64638 -{ (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
64639 - (eval $LEX conftest.l) 2>&5
64641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64642 - (exit $ac_status); }
64643 -if test -f lex.yy.c; then
64644 - ac_cv_prog_lex_root=lex.yy
64645 -elif test -f lexyy.c; then
64646 - ac_cv_prog_lex_root=lexyy
64648 - { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
64649 -echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
64650 - { (exit 1); exit 1; }; }
64652 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
64653 +echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
64654 + test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
64656 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
64657 -echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
64659 -LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
64661 -echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
64662 -echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
64664 +{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
64665 +echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
64666 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
64667 echo $ECHO_N "(cached) $ECHO_C" >&6
64669 # POSIX says lex can declare yytext either as a pointer or an array; the
64670 -# default is implementation-dependent. Figure out which it is, since
64671 +# default is implementation-dependent. Figure out which it is, since
64672 # not all implementations provide the %pointer and %array declarations.
64673 ac_cv_prog_lex_yytext_pointer=no
64674 -echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
64676 -LIBS="$LIBS $LEXLIB"
64677 +LIBS="$LEXLIB $ac_save_LIBS"
64678 cat >conftest.$ac_ext <<_ACEOF
64679 +#define YYTEXT_POINTER 1
64680 `cat $LEX_OUTPUT_ROOT.c`
64682 rm -f conftest.$ac_objext conftest$ac_exeext
64683 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64684 - (eval $ac_link) 2>conftest.er1
64685 +if { (ac_try="$ac_link"
64686 +case "(($ac_try" in
64687 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64688 + *) ac_try_echo=$ac_try;;
64690 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64691 + (eval "$ac_link") 2>conftest.er1
64693 grep -v '^ *+' conftest.er1 >conftest.err
64695 cat conftest.err >&5
64696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64697 - (exit $ac_status); } &&
64698 - { ac_try='test -z "$ac_c_werror_flag"
64699 - || test ! -s conftest.err'
64700 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64701 - (eval $ac_try) 2>&5
64703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64704 - (exit $ac_status); }; } &&
64705 - { ac_try='test -s conftest$ac_exeext'
64706 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64707 - (eval $ac_try) 2>&5
64709 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64710 - (exit $ac_status); }; }; then
64711 + (exit $ac_status); } && {
64712 + test -z "$ac_c_werror_flag" ||
64713 + test ! -s conftest.err
64714 + } && test -s conftest$ac_exeext &&
64715 + $as_test_x conftest$ac_exeext; then
64716 ac_cv_prog_lex_yytext_pointer=yes
64718 echo "$as_me: failed program was:" >&5
64719 sed 's/^/| /' conftest.$ac_ext >&5
64723 -rm -f conftest.err conftest.$ac_objext \
64725 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
64726 conftest$ac_exeext conftest.$ac_ext
64728 -rm -f "${LEX_OUTPUT_ROOT}.c"
64731 -echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
64732 -echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
64733 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
64734 +echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
64735 if test $ac_cv_prog_lex_yytext_pointer = yes; then
64737 cat >>confdefs.h <<\_ACEOF
64738 @@ -8565,23 +9066,24 @@ cat >>confdefs.h <<\_ACEOF
64742 +rm -f conftest.l $LEX_OUTPUT_ROOT.c
64745 if test "$LEX" = :; then
64746 LEX=${am_missing_run}flex
64749 -echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
64750 -echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
64751 - # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
64752 +{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
64753 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
64754 + # Check whether --enable-maintainer-mode was given.
64755 if test "${enable_maintainer_mode+set}" = set; then
64756 - enableval="$enable_maintainer_mode"
64757 - USE_MAINTAINER_MODE=$enableval
64758 + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
64760 USE_MAINTAINER_MODE=no
64762 - echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
64763 -echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
64766 + { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
64767 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
64770 if test $USE_MAINTAINER_MODE = yes; then
64771 @@ -8611,18 +9113,19 @@ fi
64772 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h
64774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64775 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64776 - echo "$as_me:$LINENO: checking for $ac_header" >&5
64777 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64778 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64779 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64780 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
64781 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
64782 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64783 echo $ECHO_N "(cached) $ECHO_C" >&6
64785 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64786 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64787 +ac_res=`eval echo '${'$as_ac_Header'}'`
64788 + { echo "$as_me:$LINENO: result: $ac_res" >&5
64789 +echo "${ECHO_T}$ac_res" >&6; }
64791 # Is the header compilable?
64792 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
64793 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64794 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
64795 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
64796 cat >conftest.$ac_ext <<_ACEOF
64799 @@ -8633,41 +9136,37 @@ $ac_includes_default
64800 #include <$ac_header>
64802 rm -f conftest.$ac_objext
64803 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64804 - (eval $ac_compile) 2>conftest.er1
64805 +if { (ac_try="$ac_compile"
64806 +case "(($ac_try" in
64807 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64808 + *) ac_try_echo=$ac_try;;
64810 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64811 + (eval "$ac_compile") 2>conftest.er1
64813 grep -v '^ *+' conftest.er1 >conftest.err
64815 cat conftest.err >&5
64816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64817 - (exit $ac_status); } &&
64818 - { ac_try='test -z "$ac_c_werror_flag"
64819 - || test ! -s conftest.err'
64820 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64821 - (eval $ac_try) 2>&5
64823 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64824 - (exit $ac_status); }; } &&
64825 - { ac_try='test -s conftest.$ac_objext'
64826 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64827 - (eval $ac_try) 2>&5
64829 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
64830 - (exit $ac_status); }; }; then
64831 + (exit $ac_status); } && {
64832 + test -z "$ac_c_werror_flag" ||
64833 + test ! -s conftest.err
64834 + } && test -s conftest.$ac_objext; then
64835 ac_header_compiler=yes
64837 echo "$as_me: failed program was:" >&5
64838 sed 's/^/| /' conftest.$ac_ext >&5
64840 -ac_header_compiler=no
64841 + ac_header_compiler=no
64843 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64844 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64845 -echo "${ECHO_T}$ac_header_compiler" >&6
64847 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64848 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64849 +echo "${ECHO_T}$ac_header_compiler" >&6; }
64851 # Is the header present?
64852 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
64853 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64854 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
64855 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
64856 cat >conftest.$ac_ext <<_ACEOF
64859 @@ -8676,24 +9175,22 @@ cat >>conftest.$ac_ext <<_ACEOF
64860 /* end confdefs.h. */
64861 #include <$ac_header>
64863 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64864 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64865 +if { (ac_try="$ac_cpp conftest.$ac_ext"
64866 +case "(($ac_try" in
64867 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64868 + *) ac_try_echo=$ac_try;;
64870 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
64871 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
64873 grep -v '^ *+' conftest.er1 >conftest.err
64875 cat conftest.err >&5
64876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64877 - (exit $ac_status); } >/dev/null; then
64878 - if test -s conftest.err; then
64879 - ac_cpp_err=$ac_c_preproc_warn_flag
64880 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64887 -if test -z "$ac_cpp_err"; then
64888 + (exit $ac_status); } >/dev/null && {
64889 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
64890 + test ! -s conftest.err
64892 ac_header_preproc=yes
64894 echo "$as_me: failed program was:" >&5
64895 @@ -8701,9 +9198,10 @@ sed 's/^/| /' conftest.$ac_ext >&5
64897 ac_header_preproc=no
64900 rm -f conftest.err conftest.$ac_ext
64901 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64902 -echo "${ECHO_T}$ac_header_preproc" >&6
64903 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64904 +echo "${ECHO_T}$ac_header_preproc" >&6; }
64906 # So? What about this header?
64907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64908 @@ -8727,25 +9225,19 @@ echo "$as_me: WARNING: $ac_header: s
64909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64914 -## ------------------------------------------ ##
64915 -## Report this to the AC_PACKAGE_NAME lists. ##
64916 -## ------------------------------------------ ##
64919 - sed "s/^/$as_me: WARNING: /" >&2
64923 -echo "$as_me:$LINENO: checking for $ac_header" >&5
64924 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64925 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
64926 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
64927 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
64928 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
64929 echo $ECHO_N "(cached) $ECHO_C" >&6
64931 eval "$as_ac_Header=\$ac_header_preproc"
64933 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64934 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64935 +ac_res=`eval echo '${'$as_ac_Header'}'`
64936 + { echo "$as_me:$LINENO: result: $ac_res" >&5
64937 +echo "${ECHO_T}$ac_res" >&6; }
64940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64941 @@ -8763,9 +9255,9 @@ done
64942 for ac_func in sbrk realpath glob
64944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64945 -echo "$as_me:$LINENO: checking for $ac_func" >&5
64946 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64947 -if eval "test \"\${$as_ac_var+set}\" = set"; then
64948 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
64949 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
64950 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
64951 echo $ECHO_N "(cached) $ECHO_C" >&6
64953 cat >conftest.$ac_ext <<_ACEOF
64954 @@ -8791,68 +9283,60 @@ cat >>conftest.$ac_ext <<_ACEOF
64958 -/* Override any gcc2 internal prototype to avoid an error. */
64959 +/* Override any GCC internal prototype to avoid an error.
64960 + Use char because int might match the return type of a GCC
64961 + builtin and then its argument prototype would still apply. */
64966 -/* We use char because int might match the return type of a gcc2
64967 - builtin and then its argument prototype would still apply. */
64969 /* The GNU C library defines this for functions which it implements
64970 to always fail with ENOSYS. Some functions are actually named
64971 something starting with __ and the normal name is an alias. */
64972 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64973 +#if defined __stub_$ac_func || defined __stub___$ac_func
64976 -char (*f) () = $ac_func;
64978 -#ifdef __cplusplus
64985 -return f != $ac_func;
64986 +return $ac_func ();
64991 rm -f conftest.$ac_objext conftest$ac_exeext
64992 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64993 - (eval $ac_link) 2>conftest.er1
64994 +if { (ac_try="$ac_link"
64995 +case "(($ac_try" in
64996 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
64997 + *) ac_try_echo=$ac_try;;
64999 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65000 + (eval "$ac_link") 2>conftest.er1
65002 grep -v '^ *+' conftest.er1 >conftest.err
65004 cat conftest.err >&5
65005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65006 - (exit $ac_status); } &&
65007 - { ac_try='test -z "$ac_c_werror_flag"
65008 - || test ! -s conftest.err'
65009 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65010 - (eval $ac_try) 2>&5
65012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65013 - (exit $ac_status); }; } &&
65014 - { ac_try='test -s conftest$ac_exeext'
65015 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65016 - (eval $ac_try) 2>&5
65018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65019 - (exit $ac_status); }; }; then
65020 + (exit $ac_status); } && {
65021 + test -z "$ac_c_werror_flag" ||
65022 + test ! -s conftest.err
65023 + } && test -s conftest$ac_exeext &&
65024 + $as_test_x conftest$ac_exeext; then
65025 eval "$as_ac_var=yes"
65027 echo "$as_me: failed program was:" >&5
65028 sed 's/^/| /' conftest.$ac_ext >&5
65030 -eval "$as_ac_var=no"
65031 + eval "$as_ac_var=no"
65033 -rm -f conftest.err conftest.$ac_objext \
65035 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65036 conftest$ac_exeext conftest.$ac_ext
65038 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65039 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65040 +ac_res=`eval echo '${'$as_ac_var'}'`
65041 + { echo "$as_me:$LINENO: result: $ac_res" >&5
65042 +echo "${ECHO_T}$ac_res" >&6; }
65043 if test `eval echo '${'$as_ac_var'}'` = yes; then
65044 cat >>confdefs.h <<_ACEOF
65045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65046 @@ -8869,9 +9353,9 @@ done
65047 ac_header_dirent=no
65048 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
65049 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
65050 -echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
65051 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
65052 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
65053 +{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
65054 +echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
65055 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
65056 echo $ECHO_N "(cached) $ECHO_C" >&6
65058 cat >conftest.$ac_ext <<_ACEOF
65059 @@ -8893,38 +9377,35 @@ return 0;
65062 rm -f conftest.$ac_objext
65063 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65064 - (eval $ac_compile) 2>conftest.er1
65065 +if { (ac_try="$ac_compile"
65066 +case "(($ac_try" in
65067 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65068 + *) ac_try_echo=$ac_try;;
65070 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65071 + (eval "$ac_compile") 2>conftest.er1
65073 grep -v '^ *+' conftest.er1 >conftest.err
65075 cat conftest.err >&5
65076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65077 - (exit $ac_status); } &&
65078 - { ac_try='test -z "$ac_c_werror_flag"
65079 - || test ! -s conftest.err'
65080 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65081 - (eval $ac_try) 2>&5
65083 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65084 - (exit $ac_status); }; } &&
65085 - { ac_try='test -s conftest.$ac_objext'
65086 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65087 - (eval $ac_try) 2>&5
65089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65090 - (exit $ac_status); }; }; then
65091 + (exit $ac_status); } && {
65092 + test -z "$ac_c_werror_flag" ||
65093 + test ! -s conftest.err
65094 + } && test -s conftest.$ac_objext; then
65095 eval "$as_ac_Header=yes"
65097 echo "$as_me: failed program was:" >&5
65098 sed 's/^/| /' conftest.$ac_ext >&5
65100 -eval "$as_ac_Header=no"
65101 + eval "$as_ac_Header=no"
65103 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65105 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65107 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65108 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65109 +ac_res=`eval echo '${'$as_ac_Header'}'`
65110 + { echo "$as_me:$LINENO: result: $ac_res" >&5
65111 +echo "${ECHO_T}$ac_res" >&6; }
65112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65113 cat >>confdefs.h <<_ACEOF
65114 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
65115 @@ -8936,13 +9417,12 @@ fi
65117 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
65118 if test $ac_header_dirent = dirent.h; then
65119 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
65120 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
65121 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
65122 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
65123 if test "${ac_cv_search_opendir+set}" = set; then
65124 echo $ECHO_N "(cached) $ECHO_C" >&6
65126 ac_func_search_save_LIBS=$LIBS
65127 -ac_cv_search_opendir=no
65128 cat >conftest.$ac_ext <<_ACEOF
65131 @@ -8950,126 +9430,83 @@ cat confdefs.h >>conftest.$ac_ext
65132 cat >>conftest.$ac_ext <<_ACEOF
65133 /* end confdefs.h. */
65135 -/* Override any gcc2 internal prototype to avoid an error. */
65136 +/* Override any GCC internal prototype to avoid an error.
65137 + Use char because int might match the return type of a GCC
65138 + builtin and then its argument prototype would still apply. */
65142 -/* We use char because int might match the return type of a gcc2
65143 - builtin and then its argument prototype would still apply. */
65149 +return opendir ();
65154 -rm -f conftest.$ac_objext conftest$ac_exeext
65155 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65156 - (eval $ac_link) 2>conftest.er1
65157 +for ac_lib in '' dir; do
65158 + if test -z "$ac_lib"; then
65159 + ac_res="none required"
65162 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65164 + rm -f conftest.$ac_objext conftest$ac_exeext
65165 +if { (ac_try="$ac_link"
65166 +case "(($ac_try" in
65167 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65168 + *) ac_try_echo=$ac_try;;
65170 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65171 + (eval "$ac_link") 2>conftest.er1
65173 grep -v '^ *+' conftest.er1 >conftest.err
65175 cat conftest.err >&5
65176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65177 - (exit $ac_status); } &&
65178 - { ac_try='test -z "$ac_c_werror_flag"
65179 - || test ! -s conftest.err'
65180 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65181 - (eval $ac_try) 2>&5
65183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65184 - (exit $ac_status); }; } &&
65185 - { ac_try='test -s conftest$ac_exeext'
65186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65187 - (eval $ac_try) 2>&5
65189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65190 - (exit $ac_status); }; }; then
65191 - ac_cv_search_opendir="none required"
65192 + (exit $ac_status); } && {
65193 + test -z "$ac_c_werror_flag" ||
65194 + test ! -s conftest.err
65195 + } && test -s conftest$ac_exeext &&
65196 + $as_test_x conftest$ac_exeext; then
65197 + ac_cv_search_opendir=$ac_res
65199 echo "$as_me: failed program was:" >&5
65200 sed 's/^/| /' conftest.$ac_ext >&5
65204 -rm -f conftest.err conftest.$ac_objext \
65205 - conftest$ac_exeext conftest.$ac_ext
65206 -if test "$ac_cv_search_opendir" = no; then
65207 - for ac_lib in dir; do
65208 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65209 - cat >conftest.$ac_ext <<_ACEOF
65212 -cat confdefs.h >>conftest.$ac_ext
65213 -cat >>conftest.$ac_ext <<_ACEOF
65214 -/* end confdefs.h. */
65216 -/* Override any gcc2 internal prototype to avoid an error. */
65217 -#ifdef __cplusplus
65220 -/* We use char because int might match the return type of a gcc2
65221 - builtin and then its argument prototype would still apply. */
65231 -rm -f conftest.$ac_objext conftest$ac_exeext
65232 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65233 - (eval $ac_link) 2>conftest.er1
65235 - grep -v '^ *+' conftest.er1 >conftest.err
65236 - rm -f conftest.er1
65237 - cat conftest.err >&5
65238 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65239 - (exit $ac_status); } &&
65240 - { ac_try='test -z "$ac_c_werror_flag"
65241 - || test ! -s conftest.err'
65242 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65243 - (eval $ac_try) 2>&5
65245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65246 - (exit $ac_status); }; } &&
65247 - { ac_try='test -s conftest$ac_exeext'
65248 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65249 - (eval $ac_try) 2>&5
65251 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65252 - (exit $ac_status); }; }; then
65253 - ac_cv_search_opendir="-l$ac_lib"
65256 - echo "$as_me: failed program was:" >&5
65257 -sed 's/^/| /' conftest.$ac_ext >&5
65259 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65260 + conftest$ac_exeext
65261 + if test "${ac_cv_search_opendir+set}" = set; then
65264 -rm -f conftest.err conftest.$ac_objext \
65265 - conftest$ac_exeext conftest.$ac_ext
65268 +if test "${ac_cv_search_opendir+set}" = set; then
65271 + ac_cv_search_opendir=no
65273 +rm conftest.$ac_ext
65274 LIBS=$ac_func_search_save_LIBS
65276 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65277 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
65278 -if test "$ac_cv_search_opendir" != no; then
65279 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
65280 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65281 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
65282 +ac_res=$ac_cv_search_opendir
65283 +if test "$ac_res" != no; then
65284 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
65289 - echo "$as_me:$LINENO: checking for library containing opendir" >&5
65290 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
65291 + { echo "$as_me:$LINENO: checking for library containing opendir" >&5
65292 +echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
65293 if test "${ac_cv_search_opendir+set}" = set; then
65294 echo $ECHO_N "(cached) $ECHO_C" >&6
65296 ac_func_search_save_LIBS=$LIBS
65297 -ac_cv_search_opendir=no
65298 cat >conftest.$ac_ext <<_ACEOF
65301 @@ -9077,123 +9514,81 @@ cat confdefs.h >>conftest.$ac_ext
65302 cat >>conftest.$ac_ext <<_ACEOF
65303 /* end confdefs.h. */
65305 -/* Override any gcc2 internal prototype to avoid an error. */
65306 +/* Override any GCC internal prototype to avoid an error.
65307 + Use char because int might match the return type of a GCC
65308 + builtin and then its argument prototype would still apply. */
65312 -/* We use char because int might match the return type of a gcc2
65313 - builtin and then its argument prototype would still apply. */
65319 +return opendir ();
65324 -rm -f conftest.$ac_objext conftest$ac_exeext
65325 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65326 - (eval $ac_link) 2>conftest.er1
65327 +for ac_lib in '' x; do
65328 + if test -z "$ac_lib"; then
65329 + ac_res="none required"
65332 + LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65334 + rm -f conftest.$ac_objext conftest$ac_exeext
65335 +if { (ac_try="$ac_link"
65336 +case "(($ac_try" in
65337 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65338 + *) ac_try_echo=$ac_try;;
65340 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65341 + (eval "$ac_link") 2>conftest.er1
65343 grep -v '^ *+' conftest.er1 >conftest.err
65345 cat conftest.err >&5
65346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65347 - (exit $ac_status); } &&
65348 - { ac_try='test -z "$ac_c_werror_flag"
65349 - || test ! -s conftest.err'
65350 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65351 - (eval $ac_try) 2>&5
65353 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65354 - (exit $ac_status); }; } &&
65355 - { ac_try='test -s conftest$ac_exeext'
65356 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65357 - (eval $ac_try) 2>&5
65359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65360 - (exit $ac_status); }; }; then
65361 - ac_cv_search_opendir="none required"
65362 + (exit $ac_status); } && {
65363 + test -z "$ac_c_werror_flag" ||
65364 + test ! -s conftest.err
65365 + } && test -s conftest$ac_exeext &&
65366 + $as_test_x conftest$ac_exeext; then
65367 + ac_cv_search_opendir=$ac_res
65369 echo "$as_me: failed program was:" >&5
65370 sed 's/^/| /' conftest.$ac_ext >&5
65373 -rm -f conftest.err conftest.$ac_objext \
65374 - conftest$ac_exeext conftest.$ac_ext
65375 -if test "$ac_cv_search_opendir" = no; then
65376 - for ac_lib in x; do
65377 - LIBS="-l$ac_lib $ac_func_search_save_LIBS"
65378 - cat >conftest.$ac_ext <<_ACEOF
65381 -cat confdefs.h >>conftest.$ac_ext
65382 -cat >>conftest.$ac_ext <<_ACEOF
65383 -/* end confdefs.h. */
65385 -/* Override any gcc2 internal prototype to avoid an error. */
65386 -#ifdef __cplusplus
65389 -/* We use char because int might match the return type of a gcc2
65390 - builtin and then its argument prototype would still apply. */
65400 -rm -f conftest.$ac_objext conftest$ac_exeext
65401 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65402 - (eval $ac_link) 2>conftest.er1
65404 - grep -v '^ *+' conftest.er1 >conftest.err
65405 - rm -f conftest.er1
65406 - cat conftest.err >&5
65407 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65408 - (exit $ac_status); } &&
65409 - { ac_try='test -z "$ac_c_werror_flag"
65410 - || test ! -s conftest.err'
65411 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65412 - (eval $ac_try) 2>&5
65414 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65415 - (exit $ac_status); }; } &&
65416 - { ac_try='test -s conftest$ac_exeext'
65417 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65418 - (eval $ac_try) 2>&5
65420 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65421 - (exit $ac_status); }; }; then
65422 - ac_cv_search_opendir="-l$ac_lib"
65425 - echo "$as_me: failed program was:" >&5
65426 -sed 's/^/| /' conftest.$ac_ext >&5
65429 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
65430 + conftest$ac_exeext
65431 + if test "${ac_cv_search_opendir+set}" = set; then
65434 -rm -f conftest.err conftest.$ac_objext \
65435 - conftest$ac_exeext conftest.$ac_ext
65438 +if test "${ac_cv_search_opendir+set}" = set; then
65441 + ac_cv_search_opendir=no
65443 +rm conftest.$ac_ext
65444 LIBS=$ac_func_search_save_LIBS
65446 -echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65447 -echo "${ECHO_T}$ac_cv_search_opendir" >&6
65448 -if test "$ac_cv_search_opendir" != no; then
65449 - test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
65450 +{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
65451 +echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
65452 +ac_res=$ac_cv_search_opendir
65453 +if test "$ac_res" != no; then
65454 + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
65461 -echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
65462 -echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
65463 +{ echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
65464 +echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6; }
65465 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
65466 echo $ECHO_N "(cached) $ECHO_C" >&6
65468 @@ -9213,39 +9608,35 @@ extern int getopt (int, char *const*, co
65471 rm -f conftest.$ac_objext
65472 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65473 - (eval $ac_compile) 2>conftest.er1
65474 +if { (ac_try="$ac_compile"
65475 +case "(($ac_try" in
65476 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65477 + *) ac_try_echo=$ac_try;;
65479 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65480 + (eval "$ac_compile") 2>conftest.er1
65482 grep -v '^ *+' conftest.er1 >conftest.err
65484 cat conftest.err >&5
65485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65486 - (exit $ac_status); } &&
65487 - { ac_try='test -z "$ac_c_werror_flag"
65488 - || test ! -s conftest.err'
65489 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65490 - (eval $ac_try) 2>&5
65492 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65493 - (exit $ac_status); }; } &&
65494 - { ac_try='test -s conftest.$ac_objext'
65495 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65496 - (eval $ac_try) 2>&5
65498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65499 - (exit $ac_status); }; }; then
65500 + (exit $ac_status); } && {
65501 + test -z "$ac_c_werror_flag" ||
65502 + test ! -s conftest.err
65503 + } && test -s conftest.$ac_objext; then
65504 ld_cv_decl_getopt_unistd_h=yes
65506 echo "$as_me: failed program was:" >&5
65507 sed 's/^/| /' conftest.$ac_ext >&5
65509 -ld_cv_decl_getopt_unistd_h=no
65510 + ld_cv_decl_getopt_unistd_h=no
65512 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65514 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65517 -echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
65518 -echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
65519 +{ echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
65520 +echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6; }
65521 if test $ld_cv_decl_getopt_unistd_h = yes; then
65523 cat >>confdefs.h <<\_ACEOF
65524 @@ -9264,8 +9655,8 @@ _ACEOF
65528 -echo "$as_me:$LINENO: checking whether strstr is declared" >&5
65529 -echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
65530 +{ echo "$as_me:$LINENO: checking whether strstr is declared" >&5
65531 +echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6; }
65532 if test "${ac_cv_have_decl_strstr+set}" = set; then
65533 echo $ECHO_N "(cached) $ECHO_C" >&6
65535 @@ -9280,7 +9671,7 @@ int
65539 - char *p = (char *) strstr;
65544 @@ -9288,38 +9679,34 @@ main ()
65547 rm -f conftest.$ac_objext
65548 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65549 - (eval $ac_compile) 2>conftest.er1
65550 +if { (ac_try="$ac_compile"
65551 +case "(($ac_try" in
65552 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65553 + *) ac_try_echo=$ac_try;;
65555 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65556 + (eval "$ac_compile") 2>conftest.er1
65558 grep -v '^ *+' conftest.er1 >conftest.err
65560 cat conftest.err >&5
65561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65562 - (exit $ac_status); } &&
65563 - { ac_try='test -z "$ac_c_werror_flag"
65564 - || test ! -s conftest.err'
65565 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65566 - (eval $ac_try) 2>&5
65568 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65569 - (exit $ac_status); }; } &&
65570 - { ac_try='test -s conftest.$ac_objext'
65571 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65572 - (eval $ac_try) 2>&5
65574 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65575 - (exit $ac_status); }; }; then
65576 + (exit $ac_status); } && {
65577 + test -z "$ac_c_werror_flag" ||
65578 + test ! -s conftest.err
65579 + } && test -s conftest.$ac_objext; then
65580 ac_cv_have_decl_strstr=yes
65582 echo "$as_me: failed program was:" >&5
65583 sed 's/^/| /' conftest.$ac_ext >&5
65585 -ac_cv_have_decl_strstr=no
65586 + ac_cv_have_decl_strstr=no
65588 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65590 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65592 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
65593 -echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
65594 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
65595 +echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6; }
65596 if test $ac_cv_have_decl_strstr = yes; then
65598 cat >>confdefs.h <<_ACEOF
65599 @@ -9334,8 +9721,8 @@ _ACEOF
65603 -echo "$as_me:$LINENO: checking whether free is declared" >&5
65604 -echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
65605 +{ echo "$as_me:$LINENO: checking whether free is declared" >&5
65606 +echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6; }
65607 if test "${ac_cv_have_decl_free+set}" = set; then
65608 echo $ECHO_N "(cached) $ECHO_C" >&6
65610 @@ -9350,7 +9737,7 @@ int
65614 - char *p = (char *) free;
65619 @@ -9358,38 +9745,34 @@ main ()
65622 rm -f conftest.$ac_objext
65623 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65624 - (eval $ac_compile) 2>conftest.er1
65625 +if { (ac_try="$ac_compile"
65626 +case "(($ac_try" in
65627 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65628 + *) ac_try_echo=$ac_try;;
65630 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65631 + (eval "$ac_compile") 2>conftest.er1
65633 grep -v '^ *+' conftest.er1 >conftest.err
65635 cat conftest.err >&5
65636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65637 - (exit $ac_status); } &&
65638 - { ac_try='test -z "$ac_c_werror_flag"
65639 - || test ! -s conftest.err'
65640 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65641 - (eval $ac_try) 2>&5
65643 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65644 - (exit $ac_status); }; } &&
65645 - { ac_try='test -s conftest.$ac_objext'
65646 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65647 - (eval $ac_try) 2>&5
65649 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65650 - (exit $ac_status); }; }; then
65651 + (exit $ac_status); } && {
65652 + test -z "$ac_c_werror_flag" ||
65653 + test ! -s conftest.err
65654 + } && test -s conftest.$ac_objext; then
65655 ac_cv_have_decl_free=yes
65657 echo "$as_me: failed program was:" >&5
65658 sed 's/^/| /' conftest.$ac_ext >&5
65660 -ac_cv_have_decl_free=no
65661 + ac_cv_have_decl_free=no
65663 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65665 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65667 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
65668 -echo "${ECHO_T}$ac_cv_have_decl_free" >&6
65669 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
65670 +echo "${ECHO_T}$ac_cv_have_decl_free" >&6; }
65671 if test $ac_cv_have_decl_free = yes; then
65673 cat >>confdefs.h <<_ACEOF
65674 @@ -9404,8 +9787,8 @@ _ACEOF
65678 -echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
65679 -echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
65680 +{ echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
65681 +echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6; }
65682 if test "${ac_cv_have_decl_sbrk+set}" = set; then
65683 echo $ECHO_N "(cached) $ECHO_C" >&6
65685 @@ -9420,7 +9803,7 @@ int
65689 - char *p = (char *) sbrk;
65694 @@ -9428,38 +9811,34 @@ main ()
65697 rm -f conftest.$ac_objext
65698 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65699 - (eval $ac_compile) 2>conftest.er1
65700 +if { (ac_try="$ac_compile"
65701 +case "(($ac_try" in
65702 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65703 + *) ac_try_echo=$ac_try;;
65705 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65706 + (eval "$ac_compile") 2>conftest.er1
65708 grep -v '^ *+' conftest.er1 >conftest.err
65710 cat conftest.err >&5
65711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65712 - (exit $ac_status); } &&
65713 - { ac_try='test -z "$ac_c_werror_flag"
65714 - || test ! -s conftest.err'
65715 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65716 - (eval $ac_try) 2>&5
65718 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65719 - (exit $ac_status); }; } &&
65720 - { ac_try='test -s conftest.$ac_objext'
65721 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65722 - (eval $ac_try) 2>&5
65724 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65725 - (exit $ac_status); }; }; then
65726 + (exit $ac_status); } && {
65727 + test -z "$ac_c_werror_flag" ||
65728 + test ! -s conftest.err
65729 + } && test -s conftest.$ac_objext; then
65730 ac_cv_have_decl_sbrk=yes
65732 echo "$as_me: failed program was:" >&5
65733 sed 's/^/| /' conftest.$ac_ext >&5
65735 -ac_cv_have_decl_sbrk=no
65736 + ac_cv_have_decl_sbrk=no
65738 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65740 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65742 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
65743 -echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
65744 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
65745 +echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6; }
65746 if test $ac_cv_have_decl_sbrk = yes; then
65748 cat >>confdefs.h <<_ACEOF
65749 @@ -9474,8 +9853,8 @@ _ACEOF
65753 -echo "$as_me:$LINENO: checking whether getenv is declared" >&5
65754 -echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
65755 +{ echo "$as_me:$LINENO: checking whether getenv is declared" >&5
65756 +echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6; }
65757 if test "${ac_cv_have_decl_getenv+set}" = set; then
65758 echo $ECHO_N "(cached) $ECHO_C" >&6
65760 @@ -9490,7 +9869,7 @@ int
65764 - char *p = (char *) getenv;
65769 @@ -9498,38 +9877,34 @@ main ()
65772 rm -f conftest.$ac_objext
65773 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65774 - (eval $ac_compile) 2>conftest.er1
65775 +if { (ac_try="$ac_compile"
65776 +case "(($ac_try" in
65777 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65778 + *) ac_try_echo=$ac_try;;
65780 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65781 + (eval "$ac_compile") 2>conftest.er1
65783 grep -v '^ *+' conftest.er1 >conftest.err
65785 cat conftest.err >&5
65786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65787 - (exit $ac_status); } &&
65788 - { ac_try='test -z "$ac_c_werror_flag"
65789 - || test ! -s conftest.err'
65790 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65791 - (eval $ac_try) 2>&5
65793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 - (exit $ac_status); }; } &&
65795 - { ac_try='test -s conftest.$ac_objext'
65796 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65797 - (eval $ac_try) 2>&5
65799 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65800 - (exit $ac_status); }; }; then
65801 + (exit $ac_status); } && {
65802 + test -z "$ac_c_werror_flag" ||
65803 + test ! -s conftest.err
65804 + } && test -s conftest.$ac_objext; then
65805 ac_cv_have_decl_getenv=yes
65807 echo "$as_me: failed program was:" >&5
65808 sed 's/^/| /' conftest.$ac_ext >&5
65810 -ac_cv_have_decl_getenv=no
65811 + ac_cv_have_decl_getenv=no
65813 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65815 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65817 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
65818 -echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
65819 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
65820 +echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6; }
65821 if test $ac_cv_have_decl_getenv = yes; then
65823 cat >>confdefs.h <<_ACEOF
65824 @@ -9544,8 +9919,8 @@ _ACEOF
65828 -echo "$as_me:$LINENO: checking whether environ is declared" >&5
65829 -echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
65830 +{ echo "$as_me:$LINENO: checking whether environ is declared" >&5
65831 +echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6; }
65832 if test "${ac_cv_have_decl_environ+set}" = set; then
65833 echo $ECHO_N "(cached) $ECHO_C" >&6
65835 @@ -9560,7 +9935,7 @@ int
65839 - char *p = (char *) environ;
65844 @@ -9568,38 +9943,34 @@ main ()
65847 rm -f conftest.$ac_objext
65848 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65849 - (eval $ac_compile) 2>conftest.er1
65850 +if { (ac_try="$ac_compile"
65851 +case "(($ac_try" in
65852 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65853 + *) ac_try_echo=$ac_try;;
65855 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65856 + (eval "$ac_compile") 2>conftest.er1
65858 grep -v '^ *+' conftest.er1 >conftest.err
65860 cat conftest.err >&5
65861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65862 - (exit $ac_status); } &&
65863 - { ac_try='test -z "$ac_c_werror_flag"
65864 - || test ! -s conftest.err'
65865 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65866 - (eval $ac_try) 2>&5
65868 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65869 - (exit $ac_status); }; } &&
65870 - { ac_try='test -s conftest.$ac_objext'
65871 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65872 - (eval $ac_try) 2>&5
65874 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65875 - (exit $ac_status); }; }; then
65876 + (exit $ac_status); } && {
65877 + test -z "$ac_c_werror_flag" ||
65878 + test ! -s conftest.err
65879 + } && test -s conftest.$ac_objext; then
65880 ac_cv_have_decl_environ=yes
65882 echo "$as_me: failed program was:" >&5
65883 sed 's/^/| /' conftest.$ac_ext >&5
65885 -ac_cv_have_decl_environ=no
65886 + ac_cv_have_decl_environ=no
65888 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65890 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65892 -echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
65893 -echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
65894 +{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
65895 +echo "${ECHO_T}$ac_cv_have_decl_environ" >&6; }
65896 if test $ac_cv_have_decl_environ = yes; then
65898 cat >>confdefs.h <<_ACEOF
65899 @@ -9623,8 +9994,8 @@ fi
65900 # broken Microsoft MSVC compiler, which limits the length of string
65901 # constants, while still supporting pre-ANSI compilers which do not
65902 # support string concatenation.
65903 -echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
65904 -echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
65905 +{ echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
65906 +echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6; }
65907 if test "${ld_cv_string_concatenation+set}" = set; then
65908 echo $ECHO_N "(cached) $ECHO_C" >&6
65910 @@ -9644,39 +10015,35 @@ char *a = "a" "a";
65913 rm -f conftest.$ac_objext
65914 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65915 - (eval $ac_compile) 2>conftest.er1
65916 +if { (ac_try="$ac_compile"
65917 +case "(($ac_try" in
65918 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
65919 + *) ac_try_echo=$ac_try;;
65921 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
65922 + (eval "$ac_compile") 2>conftest.er1
65924 grep -v '^ *+' conftest.er1 >conftest.err
65926 cat conftest.err >&5
65927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65928 - (exit $ac_status); } &&
65929 - { ac_try='test -z "$ac_c_werror_flag"
65930 - || test ! -s conftest.err'
65931 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65932 - (eval $ac_try) 2>&5
65934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65935 - (exit $ac_status); }; } &&
65936 - { ac_try='test -s conftest.$ac_objext'
65937 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65938 - (eval $ac_try) 2>&5
65940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
65941 - (exit $ac_status); }; }; then
65942 + (exit $ac_status); } && {
65943 + test -z "$ac_c_werror_flag" ||
65944 + test ! -s conftest.err
65945 + } && test -s conftest.$ac_objext; then
65946 ld_cv_string_concatenation=yes
65948 echo "$as_me: failed program was:" >&5
65949 sed 's/^/| /' conftest.$ac_ext >&5
65951 -ld_cv_string_concatenation=no
65952 + ld_cv_string_concatenation=no
65954 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65956 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65959 -echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
65960 -echo "${ECHO_T}$ld_cv_string_concatenation" >&6
65961 +{ echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
65962 +echo "${ECHO_T}$ld_cv_string_concatenation" >&6; }
65963 if test "$ld_cv_string_concatenation" = "yes"; then
65964 STRINGIFY=astring.sed
65966 @@ -9801,8 +10168,10 @@ fi
65970 - ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
65971 - ac_config_commands="$ac_config_commands default"
65972 +ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
65974 +ac_config_commands="$ac_config_commands default"
65976 cat >confcache <<\_ACEOF
65977 # This file is a shell script that caches the results of configure
65978 # tests run on this system so they can be shared between configure
65979 @@ -9821,39 +10190,58 @@ _ACEOF
65981 # The following way of writing the cache mishandles newlines in values,
65982 # but we know of no workaround that is simple, portable, and efficient.
65983 -# So, don't put newlines in cache variables' values.
65984 +# So, we kill variables containing newlines.
65985 # Ultrix sh set writes to stderr and can't be redirected directly,
65986 # and sets the high bit in the cache file unless we assign to the vars.
65989 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65990 + eval ac_val=\$$ac_var
65991 + case $ac_val in #(
65993 + case $ac_var in #(
65994 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
65995 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
65997 + case $ac_var in #(
65998 + _ | IFS | as_nl) ;; #(
65999 + *) $as_unset $ac_var ;;
66005 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
66007 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
66008 + *${as_nl}ac_space=\ *)
66009 # `set' does not quote correctly, so add quotes (double-quote
66010 # substitution turns \\\\ into \\, and sed turns \\ into \).
66013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66017 # `set' quotes correctly as required by POSIX, so do not add quotes.
66019 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
66020 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66028 + /^ac_cv_env_/b end
66032 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66034 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66035 - : end' >>confcache
66036 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
66037 - if test -w $cache_file; then
66038 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
66039 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66040 + :end' >>confcache
66041 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66042 + if test -w "$cache_file"; then
66043 + test "x$cache_file" != "x/dev/null" &&
66044 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
66045 +echo "$as_me: updating cache $cache_file" >&6;}
66046 cat confcache >$cache_file
66048 - echo "not updating unwritable cache $cache_file"
66049 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
66050 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66054 @@ -9862,32 +10250,18 @@ test "x$prefix" = xNONE && prefix=$ac_de
66055 # Let make expand exec_prefix.
66056 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66058 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
66059 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
66060 -# trailing colons and then remove the whole line if VPATH becomes empty
66061 -# (actually we leave an empty line to preserve line numbers).
66062 -if test "x$srcdir" = x.; then
66063 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
66064 -s/:*\$(srcdir):*/:/;
66065 -s/:*\${srcdir}:*/:/;
66066 -s/:*@srcdir@:*/:/;
66067 -s/^\([^=]*=[ ]*\):*/\1/;
66073 DEFS=-DHAVE_CONFIG_H
66077 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66078 # 1. Remove the extension, and $U if already installed.
66079 - ac_i=`echo "$ac_i" |
66080 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
66082 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
66083 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
66084 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66085 + ac_i=`echo "$ac_i" | sed "$ac_script"`
66086 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66087 + # will be set to the directory where LIBOBJS objects are built.
66088 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66089 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
66091 LIBOBJS=$ac_libobjs
66093 @@ -9939,17 +10313,45 @@ cat >>$CONFIG_STATUS <<\_ACEOF
66094 ## M4sh Initialization. ##
66095 ## --------------------- ##
66097 -# Be Bourne compatible
66098 +# Be more Bourne compatible
66099 +DUALCASE=1; export DUALCASE # for MKS sh
66100 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
66103 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
66104 # is contrary to our usage. Disable this feature.
66105 alias -g '${1+"$@"}'='"$@"'
66106 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
66108 + setopt NO_GLOB_SUBST
66110 + case `(set -o) 2>/dev/null` in
66111 + *posix*) set -o posix ;;
66120 +# Avoid depending upon Character Ranges.
66121 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66122 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66123 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66124 +as_cr_digits='0123456789'
66125 +as_cr_alnum=$as_cr_Letters$as_cr_digits
66127 +# The user is always right.
66128 +if test "${PATH_SEPARATOR+set}" != set; then
66129 + echo "#! /bin/sh" >conf$$.sh
66130 + echo "exit 0" >>conf$$.sh
66131 + chmod +x conf$$.sh
66132 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66133 + PATH_SEPARATOR=';'
66139 -DUALCASE=1; export DUALCASE # for MKS sh
66141 # Support unset when possible.
66142 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
66143 @@ -9959,8 +10361,43 @@ else
66148 +# We need space, tab and new line, in precisely that order. Quoting is
66149 +# there to prevent editors from complaining about space-tab.
66150 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
66151 +# splitting by setting IFS to empty value.)
66156 +# Find who we are. Look in the path if we contain no directory separator.
66158 + *[\\/]* ) as_myself=$0 ;;
66159 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66160 +for as_dir in $PATH
66163 + test -z "$as_dir" && as_dir=.
66164 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66170 +# We did not find ourselves, most probably we were run as `sh COMMAND'
66171 +# in which case we are not to be found in the path.
66172 +if test "x$as_myself" = x; then
66175 +if test ! -f "$as_myself"; then
66176 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66177 + { (exit 1); exit 1; }
66180 # Work around bugs in pre-3.0 UWIN ksh.
66181 -$as_unset ENV MAIL MAILPATH
66182 +for as_var in ENV MAIL MAILPATH
66183 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66188 @@ -9974,18 +10411,19 @@ do
66189 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
66190 eval $as_var=C; export $as_var
66192 - $as_unset $as_var
66193 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
66197 # Required to use basename.
66198 -if expr a : '\(a\)' >/dev/null 2>&1; then
66199 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66200 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66206 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66207 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66208 as_basename=basename
66211 @@ -9993,159 +10431,120 @@ fi
66214 # Name of the executable.
66215 -as_me=`$as_basename "$0" ||
66216 +as_me=`$as_basename -- "$0" ||
66217 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66218 X"$0" : 'X\(//\)$' \| \
66219 - X"$0" : 'X\(/\)$' \| \
66220 - . : '\(.\)' 2>/dev/null ||
66221 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66223 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
66224 - /^X\/\(\/\/\)$/{ s//\1/; q; }
66225 - /^X\/\(\/\).*/{ s//\1/; q; }
66229 -# PATH needs CR, and LINENO needs CR and PATH.
66230 -# Avoid depending upon Character Ranges.
66231 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66232 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66233 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66234 -as_cr_digits='0123456789'
66235 -as_cr_alnum=$as_cr_Letters$as_cr_digits
66236 + sed '/^.*\/\([^/][^/]*\)\/*$/{
66250 -# The user is always right.
66251 -if test "${PATH_SEPARATOR+set}" != set; then
66252 - echo "#! /bin/sh" >conf$$.sh
66253 - echo "exit 0" >>conf$$.sh
66254 - chmod +x conf$$.sh
66255 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
66256 - PATH_SEPARATOR=';'
66266 - as_lineno_1=$LINENO
66267 - as_lineno_2=$LINENO
66268 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66269 - test "x$as_lineno_1" != "x$as_lineno_2" &&
66270 - test "x$as_lineno_3" = "x$as_lineno_2" || {
66271 - # Find who we are. Look in the path if we contain no path at all
66272 - # relative or not.
66274 - *[\\/]* ) as_myself=$0 ;;
66275 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66276 -for as_dir in $PATH
66279 - test -z "$as_dir" && as_dir=.
66280 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66285 - # We did not find ourselves, most probably we were run as `sh COMMAND'
66286 - # in which case we are not to be found in the path.
66287 - if test "x$as_myself" = x; then
66290 - if test ! -f "$as_myself"; then
66291 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
66292 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
66293 - { (exit 1); exit 1; }; }
66295 - case $CONFIG_SHELL in
66297 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66298 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
66301 - test -z "$as_dir" && as_dir=.
66302 - for as_base in sh bash ksh sh5; do
66305 - if ("$as_dir/$as_base" -c '
66306 as_lineno_1=$LINENO
66307 as_lineno_2=$LINENO
66308 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
66309 test "x$as_lineno_1" != "x$as_lineno_2" &&
66310 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
66311 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
66312 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
66313 - CONFIG_SHELL=$as_dir/$as_base
66314 - export CONFIG_SHELL
66315 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
66322 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
66324 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
66325 # uniformly replaced by the line number. The first 'sed' inserts a
66326 - # line-number line before each line; the second 'sed' does the real
66327 - # work. The second script uses 'N' to pair each line-number line
66328 - # with the numbered line, and appends trailing '-' during
66329 - # substitution so that $LINENO is not a special case at line end.
66330 + # line-number line after each line using $LINENO; the second 'sed'
66331 + # does the real work. The second script uses 'N' to pair each
66332 + # line-number line with the line containing $LINENO, and appends
66333 + # trailing '-' during substitution so that $LINENO is not a special
66334 + # case at line end.
66335 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
66336 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
66337 - sed '=' <$as_myself |
66338 + # scripts with optimization help from Paolo Bonzini. Blame Lee
66339 + # E. McMahon (1931-1989) for sed's syntax. :-)
66345 + s/[$]LINENO.*/&-/
66352 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
66354 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
66357 - s,^['$as_cr_digits']*\n,,
66359 ' >$as_me.lineno &&
66360 - chmod +x $as_me.lineno ||
66361 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
66362 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
66363 + chmod +x "$as_me.lineno" ||
66364 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
66365 { (exit 1); exit 1; }; }
66367 # Don't try to exec as it changes $[0], causing all sort of problems
66368 # (the dirname of $[0] is not the place where we might find the
66369 - # original and so on. Autoconf is especially sensible to this).
66370 - . ./$as_me.lineno
66371 + # original and so on. Autoconf is especially sensitive to this).
66372 + . "./$as_me.lineno"
66373 # Exit status is that of the last command.
66378 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
66379 - *c*,-n*) ECHO_N= ECHO_C='
66381 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
66382 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
66383 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66384 + as_dirname=dirname
66389 +ECHO_C= ECHO_N= ECHO_T=
66390 +case `echo -n x` in
66392 + case `echo 'x\c'` in
66393 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66400 -if expr a : '\(a\)' >/dev/null 2>&1; then
66401 +if expr a : '\(a\)' >/dev/null 2>&1 &&
66402 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
66408 rm -f conf$$ conf$$.exe conf$$.file
66409 +if test -d conf$$.dir; then
66410 + rm -f conf$$.dir/conf$$.file
66416 if ln -s conf$$.file conf$$ 2>/dev/null; then
66417 - # We could just check for DJGPP; but this test a) works b) is more generic
66418 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
66419 - if test -f conf$$.exe; then
66420 - # Don't use ln at all; we don't have any links
66422 + # ... but there are two gotchas:
66423 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66424 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66425 + # In both cases, we have to default to `cp -p'.
66426 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66431 elif ln conf$$.file conf$$ 2>/dev/null; then
66436 -rm -f conf$$ conf$$.exe conf$$.file
66437 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66438 +rmdir conf$$.dir 2>/dev/null
66440 if mkdir -p . 2>/dev/null; then
66442 @@ -10154,7 +10553,28 @@ else
66446 -as_executable_p="test -f"
66447 +if test -x / >/dev/null 2>&1; then
66448 + as_test_x='test -x'
66450 + if ls -dL / >/dev/null 2>&1; then
66457 + if test -d "$1"; then
66463 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
66464 + ???[sx]*):;;*)false;;esac;fi
66468 +as_executable_p=$as_test_x
66470 # Sed expression to map a string onto a valid CPP name.
66471 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66472 @@ -10163,31 +10583,14 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
66473 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66477 -# We need space, tab and new line, in precisely that order.
66487 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
66488 +# Save the log message, to keep $[0] and so on meaningful, and to
66489 # report actual input values of CONFIG_FILES etc. instead of their
66490 -# values after options handling. Logging --version etc. is OK.
66491 -exec 5>>config.log
66494 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66495 -## Running $as_me. ##
66500 +# values after options handling.
66502 This file was extended by $as_me, which was
66503 -generated by GNU Autoconf 2.59. Invocation command line was
66504 +generated by GNU Autoconf 2.61. Invocation command line was
66506 CONFIG_FILES = $CONFIG_FILES
66507 CONFIG_HEADERS = $CONFIG_HEADERS
66508 @@ -10195,30 +10598,20 @@ generated by GNU Autoconf 2.59. Invocat
66509 CONFIG_COMMANDS = $CONFIG_COMMANDS
66513 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
66515 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
66520 +cat >>$CONFIG_STATUS <<_ACEOF
66521 # Files that config.status was made for.
66522 -if test -n "$ac_config_files"; then
66523 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
66526 -if test -n "$ac_config_headers"; then
66527 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
66530 -if test -n "$ac_config_links"; then
66531 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
66533 +config_files="$ac_config_files"
66534 +config_headers="$ac_config_headers"
66535 +config_commands="$ac_config_commands"
66537 -if test -n "$ac_config_commands"; then
66538 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
66542 cat >>$CONFIG_STATUS <<\_ACEOF
66545 \`$as_me' instantiates files from templates according to the
66546 current configuration.
66547 @@ -10226,7 +10619,7 @@ current configuration.
66548 Usage: $0 [OPTIONS] [FILE]...
66550 -h, --help print this help, then exit
66551 - -V, --version print version number, then exit
66552 + -V, --version print version number and configuration settings, then exit
66553 -q, --quiet do not print progress messages
66554 -d, --debug don't remove temporary files
66555 --recheck update $as_me by reconfiguring in the same conditions
66556 @@ -10245,19 +10638,21 @@ Configuration commands:
66559 Report bugs to <bug-autoconf@gnu.org>."
66563 cat >>$CONFIG_STATUS <<_ACEOF
66566 -configured by $0, generated by GNU Autoconf 2.59,
66567 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
66568 +configured by $0, generated by GNU Autoconf 2.61,
66569 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66571 -Copyright (C) 2003 Free Software Foundation, Inc.
66572 +Copyright (C) 2006 Free Software Foundation, Inc.
66573 This config.status script is free software; the Free Software Foundation
66574 gives unlimited permission to copy, distribute and modify it."
66576 -INSTALL="$INSTALL"
66580 +INSTALL='$INSTALL'
66583 cat >>$CONFIG_STATUS <<\_ACEOF
66584 @@ -10268,39 +10663,24 @@ while test $# != 0
66588 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
66589 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
66590 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
66591 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66600 - *) # This is not an option, so the user has probably given explicit
66603 - ac_need_defaults=false;;
66607 # Handling of the options.
66609 -cat >>$CONFIG_STATUS <<\_ACEOF
66610 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66612 - --version | --vers* | -V )
66613 - echo "$ac_cs_version"; exit 0 ;;
66615 - # Conflict between --help and --header
66616 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
66617 -Try \`$0 --help' for more information." >&5
66618 -echo "$as_me: error: ambiguous option: $1
66619 -Try \`$0 --help' for more information." >&2;}
66620 - { (exit 1); exit 1; }; };;
66621 - --help | --hel | -h )
66622 - echo "$ac_cs_usage"; exit 0 ;;
66623 - --debug | --d* | -d )
66624 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66625 + echo "$ac_cs_version"; exit ;;
66626 + --debug | --debu | --deb | --de | --d | -d )
66628 --file | --fil | --fi | --f )
66630 @@ -10310,18 +10690,24 @@ Try \`$0 --help' for more information."
66632 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
66633 ac_need_defaults=false;;
66635 + # Conflict between --help and --header
66636 + { echo "$as_me: error: ambiguous option: $1
66637 +Try \`$0 --help' for more information." >&2
66638 + { (exit 1); exit 1; }; };;
66639 + --help | --hel | -h )
66640 + echo "$ac_cs_usage"; exit ;;
66641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66642 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66645 # This is an error.
66646 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
66647 -Try \`$0 --help' for more information." >&5
66648 -echo "$as_me: error: unrecognized option: $1
66649 -Try \`$0 --help' for more information." >&2;}
66650 + -*) { echo "$as_me: error: unrecognized option: $1
66651 +Try \`$0 --help' for more information." >&2
66652 { (exit 1); exit 1; }; } ;;
66654 - *) ac_config_targets="$ac_config_targets $1" ;;
66655 + *) ac_config_targets="$ac_config_targets $1"
66656 + ac_need_defaults=false ;;
66660 @@ -10337,39 +10723,51 @@ fi
66662 cat >>$CONFIG_STATUS <<_ACEOF
66663 if \$ac_cs_recheck; then
66664 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
66665 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66666 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
66667 + CONFIG_SHELL=$SHELL
66668 + export CONFIG_SHELL
66669 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66673 +cat >>$CONFIG_STATUS <<\_ACEOF
66674 +exec 5>>config.log
66677 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66678 +## Running $as_me. ##
66684 cat >>$CONFIG_STATUS <<_ACEOF
66686 -# INIT-COMMANDS section.
66690 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
66696 cat >>$CONFIG_STATUS <<\_ACEOF
66698 +# Handling of arguments.
66699 for ac_config_target in $ac_config_targets
66701 - case "$ac_config_target" in
66702 - # Handling of arguments.
66703 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66704 - "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
66705 - "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
66706 - "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
66707 - "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
66708 + case $ac_config_target in
66709 + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
66710 + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
66711 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
66712 + "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
66713 + "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
66715 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
66716 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
66717 { (exit 1); exit 1; }; };;
66722 # If the user did not use the arguments to specify the items to instantiate,
66723 # then the envvar interface is used. Set only those that are not.
66724 # We use the long form for the default assignment because of an extremely
66725 @@ -10381,640 +10779,634 @@ if $ac_need_defaults; then
66728 # Have a temporary directory for convenience. Make it in the build tree
66729 -# simply because there is no reason to put it here, and in addition,
66730 +# simply because there is no reason against having it here, and in addition,
66731 # creating and moving files from /tmp can sometimes cause problems.
66732 -# Create a temporary directory, and hook for its removal unless debugging.
66733 +# Hook for its removal unless debugging.
66734 +# Note that there is a small window in which the directory will not be cleaned:
66735 +# after its creation but before its name has been assigned to `$tmp'.
66738 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
66740 + trap 'exit_status=$?
66741 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
66743 trap '{ (exit 1); exit 1; }' 1 2 13 15
66746 # Create a (secure) tmp directory for tmp files.
66749 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
66750 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
66751 test -n "$tmp" && test -d "$tmp"
66754 - tmp=./confstat$$-$RANDOM
66755 - (umask 077 && mkdir $tmp)
66756 + tmp=./conf$$-$RANDOM
66757 + (umask 077 && mkdir "$tmp")
66760 echo "$me: cannot create a temporary directory in ." >&2
66761 { (exit 1); exit 1; }
66766 -cat >>$CONFIG_STATUS <<_ACEOF
66769 -# CONFIG_FILES section.
66770 +# Set up the sed scripts for CONFIG_FILES section.
66773 # No need to generate the scripts if there are no CONFIG_FILES.
66774 # This happens for instance when ./config.status config.h
66775 -if test -n "\$CONFIG_FILES"; then
66776 - # Protect against being on the right side of a sed subst in config.status.
66777 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
66778 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
66779 -s,@SHELL@,$SHELL,;t t
66780 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
66781 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
66782 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
66783 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
66784 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
66785 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
66786 -s,@exec_prefix@,$exec_prefix,;t t
66787 -s,@prefix@,$prefix,;t t
66788 -s,@program_transform_name@,$program_transform_name,;t t
66789 -s,@bindir@,$bindir,;t t
66790 -s,@sbindir@,$sbindir,;t t
66791 -s,@libexecdir@,$libexecdir,;t t
66792 -s,@datadir@,$datadir,;t t
66793 -s,@sysconfdir@,$sysconfdir,;t t
66794 -s,@sharedstatedir@,$sharedstatedir,;t t
66795 -s,@localstatedir@,$localstatedir,;t t
66796 -s,@libdir@,$libdir,;t t
66797 -s,@includedir@,$includedir,;t t
66798 -s,@oldincludedir@,$oldincludedir,;t t
66799 -s,@infodir@,$infodir,;t t
66800 -s,@mandir@,$mandir,;t t
66801 -s,@build_alias@,$build_alias,;t t
66802 -s,@host_alias@,$host_alias,;t t
66803 -s,@target_alias@,$target_alias,;t t
66804 -s,@DEFS@,$DEFS,;t t
66805 -s,@ECHO_C@,$ECHO_C,;t t
66806 -s,@ECHO_N@,$ECHO_N,;t t
66807 -s,@ECHO_T@,$ECHO_T,;t t
66808 -s,@LIBS@,$LIBS,;t t
66809 -s,@build@,$build,;t t
66810 -s,@build_cpu@,$build_cpu,;t t
66811 -s,@build_vendor@,$build_vendor,;t t
66812 -s,@build_os@,$build_os,;t t
66813 -s,@host@,$host,;t t
66814 -s,@host_cpu@,$host_cpu,;t t
66815 -s,@host_vendor@,$host_vendor,;t t
66816 -s,@host_os@,$host_os,;t t
66817 -s,@target@,$target,;t t
66818 -s,@target_cpu@,$target_cpu,;t t
66819 -s,@target_vendor@,$target_vendor,;t t
66820 -s,@target_os@,$target_os,;t t
66822 -s,@CFLAGS@,$CFLAGS,;t t
66823 -s,@LDFLAGS@,$LDFLAGS,;t t
66824 -s,@CPPFLAGS@,$CPPFLAGS,;t t
66825 -s,@ac_ct_CC@,$ac_ct_CC,;t t
66826 -s,@EXEEXT@,$EXEEXT,;t t
66827 -s,@OBJEXT@,$OBJEXT,;t t
66828 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
66829 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
66830 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
66831 -s,@CYGPATH_W@,$CYGPATH_W,;t t
66832 -s,@PACKAGE@,$PACKAGE,;t t
66833 -s,@VERSION@,$VERSION,;t t
66834 -s,@ACLOCAL@,$ACLOCAL,;t t
66835 -s,@AUTOCONF@,$AUTOCONF,;t t
66836 -s,@AUTOMAKE@,$AUTOMAKE,;t t
66837 -s,@AUTOHEADER@,$AUTOHEADER,;t t
66838 -s,@MAKEINFO@,$MAKEINFO,;t t
66839 -s,@install_sh@,$install_sh,;t t
66840 -s,@STRIP@,$STRIP,;t t
66841 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
66842 -s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
66843 -s,@mkdir_p@,$mkdir_p,;t t
66845 -s,@SET_MAKE@,$SET_MAKE,;t t
66846 -s,@am__leading_dot@,$am__leading_dot,;t t
66847 -s,@AMTAR@,$AMTAR,;t t
66848 -s,@am__tar@,$am__tar,;t t
66849 -s,@am__untar@,$am__untar,;t t
66850 -s,@DEPDIR@,$DEPDIR,;t t
66851 -s,@am__include@,$am__include,;t t
66852 -s,@am__quote@,$am__quote,;t t
66853 -s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
66854 -s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
66855 -s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
66856 -s,@CCDEPMODE@,$CCDEPMODE,;t t
66857 -s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
66858 -s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
66859 -s,@LN_S@,$LN_S,;t t
66860 -s,@RANLIB@,$RANLIB,;t t
66861 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
66862 -s,@LIBTOOL@,$LIBTOOL,;t t
66863 -s,@use_sysroot@,$use_sysroot,;t t
66864 -s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
66865 -s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
66866 -s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
66867 -s,@NO_WERROR@,$NO_WERROR,;t t
66869 -s,@EGREP@,$EGREP,;t t
66870 -s,@ALLOCA@,$ALLOCA,;t t
66871 -s,@USE_NLS@,$USE_NLS,;t t
66872 -s,@MSGFMT@,$MSGFMT,;t t
66873 -s,@GMSGFMT@,$GMSGFMT,;t t
66874 -s,@XGETTEXT@,$XGETTEXT,;t t
66875 -s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
66876 -s,@CATALOGS@,$CATALOGS,;t t
66877 -s,@CATOBJEXT@,$CATOBJEXT,;t t
66878 -s,@DATADIRNAME@,$DATADIRNAME,;t t
66879 -s,@GMOFILES@,$GMOFILES,;t t
66880 -s,@INSTOBJEXT@,$INSTOBJEXT,;t t
66881 -s,@INTLDEPS@,$INTLDEPS,;t t
66882 -s,@INTLLIBS@,$INTLLIBS,;t t
66883 -s,@INTLOBJS@,$INTLOBJS,;t t
66884 -s,@POFILES@,$POFILES,;t t
66885 -s,@POSUB@,$POSUB,;t t
66886 -s,@INCLUDE_LOCALE_H@,$INCLUDE_LOCALE_H,;t t
66887 -s,@GT_NO@,$GT_NO,;t t
66888 -s,@GT_YES@,$GT_YES,;t t
66889 -s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
66891 -s,@YACC@,$YACC,;t t
66893 -s,@LEXLIB@,$LEXLIB,;t t
66894 -s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
66895 -s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
66896 -s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
66897 -s,@MAINT@,$MAINT,;t t
66898 -s,@HDEFINES@,$HDEFINES,;t t
66899 -s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
66900 -s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
66901 -s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
66902 -s,@STRINGIFY@,$STRINGIFY,;t t
66903 -s,@EMUL@,$EMUL,;t t
66904 -s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
66905 -s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
66906 -s,@LIB_PATH@,$LIB_PATH,;t t
66907 -s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
66908 -s,@TESTBFDLIB@,$TESTBFDLIB,;t t
66909 -s,@datarootdir@,$datarootdir,;t t
66910 -s,@docdir@,$docdir,;t t
66911 -s,@htmldir@,$htmldir,;t t
66912 -s,@LIBOBJS@,$LIBOBJS,;t t
66913 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
66920 - cat >>$CONFIG_STATUS <<\_ACEOF
66921 - # Split the substitutions into bite-sized pieces for seds with
66922 - # small command number limits, like on Digital OSF/1 and HP-UX.
66923 - ac_max_sed_lines=48
66924 - ac_sed_frag=1 # Number of current file.
66925 - ac_beg=1 # First line for current file.
66926 - ac_end=$ac_max_sed_lines # Line after last line for current file.
66929 - while $ac_more_lines; do
66930 - if test $ac_beg -gt 1; then
66931 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
66933 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
66935 - if test ! -s $tmp/subs.frag; then
66936 - ac_more_lines=false
66938 - # The purpose of the label and of the branching condition is to
66939 - # speed up the sed processing (if there are no `@' at all, there
66940 - # is no need to browse any of the substitutions).
66941 - # These are the two extra sed commands mentioned above.
66943 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
66944 - if test -z "$ac_sed_cmds"; then
66945 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
66947 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
66949 - ac_sed_frag=`expr $ac_sed_frag + 1`
66951 - ac_end=`expr $ac_end + $ac_max_sed_lines`
66954 - if test -z "$ac_sed_cmds"; then
66956 +if test -n "$CONFIG_FILES"; then
66960 +# Create sed commands to just substitute file output variables.
66962 +# Remaining file output variables are in a fragment that also has non-file
66963 +# output varibles.
66968 +for ac_last_try in false false false false false :; do
66969 + cat >conf$$subs.sed <<_ACEOF
66970 +SHELL!$SHELL$ac_delim
66971 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
66972 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
66973 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
66974 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
66975 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
66976 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
66977 +exec_prefix!$exec_prefix$ac_delim
66978 +prefix!$prefix$ac_delim
66979 +program_transform_name!$program_transform_name$ac_delim
66980 +bindir!$bindir$ac_delim
66981 +sbindir!$sbindir$ac_delim
66982 +libexecdir!$libexecdir$ac_delim
66983 +datarootdir!$datarootdir$ac_delim
66984 +datadir!$datadir$ac_delim
66985 +sysconfdir!$sysconfdir$ac_delim
66986 +sharedstatedir!$sharedstatedir$ac_delim
66987 +localstatedir!$localstatedir$ac_delim
66988 +includedir!$includedir$ac_delim
66989 +oldincludedir!$oldincludedir$ac_delim
66990 +docdir!$docdir$ac_delim
66991 +infodir!$infodir$ac_delim
66992 +htmldir!$htmldir$ac_delim
66993 +dvidir!$dvidir$ac_delim
66994 +pdfdir!$pdfdir$ac_delim
66995 +psdir!$psdir$ac_delim
66996 +libdir!$libdir$ac_delim
66997 +localedir!$localedir$ac_delim
66998 +mandir!$mandir$ac_delim
66999 +DEFS!$DEFS$ac_delim
67000 +ECHO_C!$ECHO_C$ac_delim
67001 +ECHO_N!$ECHO_N$ac_delim
67002 +ECHO_T!$ECHO_T$ac_delim
67003 +LIBS!$LIBS$ac_delim
67004 +build_alias!$build_alias$ac_delim
67005 +host_alias!$host_alias$ac_delim
67006 +target_alias!$target_alias$ac_delim
67007 +build!$build$ac_delim
67008 +build_cpu!$build_cpu$ac_delim
67009 +build_vendor!$build_vendor$ac_delim
67010 +build_os!$build_os$ac_delim
67011 +host!$host$ac_delim
67012 +host_cpu!$host_cpu$ac_delim
67013 +host_vendor!$host_vendor$ac_delim
67014 +host_os!$host_os$ac_delim
67015 +target!$target$ac_delim
67016 +target_cpu!$target_cpu$ac_delim
67017 +target_vendor!$target_vendor$ac_delim
67018 +target_os!$target_os$ac_delim
67020 +CFLAGS!$CFLAGS$ac_delim
67021 +LDFLAGS!$LDFLAGS$ac_delim
67022 +CPPFLAGS!$CPPFLAGS$ac_delim
67023 +ac_ct_CC!$ac_ct_CC$ac_delim
67024 +EXEEXT!$EXEEXT$ac_delim
67025 +OBJEXT!$OBJEXT$ac_delim
67026 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
67027 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
67028 +INSTALL_DATA!$INSTALL_DATA$ac_delim
67029 +CYGPATH_W!$CYGPATH_W$ac_delim
67030 +PACKAGE!$PACKAGE$ac_delim
67031 +VERSION!$VERSION$ac_delim
67032 +ACLOCAL!$ACLOCAL$ac_delim
67033 +AUTOCONF!$AUTOCONF$ac_delim
67034 +AUTOMAKE!$AUTOMAKE$ac_delim
67035 +AUTOHEADER!$AUTOHEADER$ac_delim
67036 +MAKEINFO!$MAKEINFO$ac_delim
67037 +install_sh!$install_sh$ac_delim
67038 +STRIP!$STRIP$ac_delim
67039 +INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
67040 +mkdir_p!$mkdir_p$ac_delim
67042 +SET_MAKE!$SET_MAKE$ac_delim
67043 +am__leading_dot!$am__leading_dot$ac_delim
67044 +AMTAR!$AMTAR$ac_delim
67045 +am__tar!$am__tar$ac_delim
67046 +am__untar!$am__untar$ac_delim
67047 +DEPDIR!$DEPDIR$ac_delim
67048 +am__include!$am__include$ac_delim
67049 +am__quote!$am__quote$ac_delim
67050 +AMDEP_TRUE!$AMDEP_TRUE$ac_delim
67051 +AMDEP_FALSE!$AMDEP_FALSE$ac_delim
67052 +AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
67053 +CCDEPMODE!$CCDEPMODE$ac_delim
67054 +am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
67055 +am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
67056 +LN_S!$LN_S$ac_delim
67057 +RANLIB!$RANLIB$ac_delim
67058 +LIBTOOL!$LIBTOOL$ac_delim
67059 +use_sysroot!$use_sysroot$ac_delim
67060 +TARGET_SYSTEM_ROOT!$TARGET_SYSTEM_ROOT$ac_delim
67061 +TARGET_SYSTEM_ROOT_DEFINE!$TARGET_SYSTEM_ROOT_DEFINE$ac_delim
67062 +WARN_CFLAGS!$WARN_CFLAGS$ac_delim
67063 +NO_WERROR!$NO_WERROR$ac_delim
67066 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 94; then
67068 + elif $ac_last_try; then
67069 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
67070 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
67071 + { (exit 1); exit 1; }; }
67073 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67075 -fi # test -n "$CONFIG_FILES"
67078 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
67079 +if test -n "$ac_eof"; then
67080 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
67081 + ac_eof=`expr $ac_eof + 1`
67084 +cat >>$CONFIG_STATUS <<_ACEOF
67085 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
67086 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67087 +/^[ ]*@TDIRS@[ ]*$/{
67093 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
67094 +s/^/s,@/; s/!/@,|#_!!_#|/
67097 +s/'"$ac_delim"'$/,g/; t
67099 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
67100 +' >>$CONFIG_STATUS <conf$$subs.sed
67101 +rm -f conf$$subs.sed
67102 +cat >>$CONFIG_STATUS <<_ACEOF
67108 +for ac_last_try in false false false false false :; do
67109 + cat >conf$$subs.sed <<_ACEOF
67111 +GREP!$GREP$ac_delim
67112 +EGREP!$EGREP$ac_delim
67113 +ALLOCA!$ALLOCA$ac_delim
67114 +USE_NLS!$USE_NLS$ac_delim
67115 +MSGFMT!$MSGFMT$ac_delim
67116 +GMSGFMT!$GMSGFMT$ac_delim
67117 +XGETTEXT!$XGETTEXT$ac_delim
67118 +USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
67119 +CATALOGS!$CATALOGS$ac_delim
67120 +CATOBJEXT!$CATOBJEXT$ac_delim
67121 +DATADIRNAME!$DATADIRNAME$ac_delim
67122 +GMOFILES!$GMOFILES$ac_delim
67123 +INSTOBJEXT!$INSTOBJEXT$ac_delim
67124 +INTLDEPS!$INTLDEPS$ac_delim
67125 +INTLLIBS!$INTLLIBS$ac_delim
67126 +INTLOBJS!$INTLOBJS$ac_delim
67127 +POFILES!$POFILES$ac_delim
67128 +POSUB!$POSUB$ac_delim
67129 +INCLUDE_LOCALE_H!$INCLUDE_LOCALE_H$ac_delim
67130 +GT_NO!$GT_NO$ac_delim
67131 +GT_YES!$GT_YES$ac_delim
67132 +MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
67134 +YACC!$YACC$ac_delim
67135 +YFLAGS!$YFLAGS$ac_delim
67137 +LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
67138 +LEXLIB!$LEXLIB$ac_delim
67139 +MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
67140 +MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
67141 +MAINT!$MAINT$ac_delim
67142 +HDEFINES!$HDEFINES$ac_delim
67143 +HOSTING_CRT0!$HOSTING_CRT0$ac_delim
67144 +HOSTING_LIBS!$HOSTING_LIBS$ac_delim
67145 +NATIVE_LIB_DIRS!$NATIVE_LIB_DIRS$ac_delim
67146 +STRINGIFY!$STRINGIFY$ac_delim
67147 +EMUL!$EMUL$ac_delim
67148 +EMULATION_OFILES!$EMULATION_OFILES$ac_delim
67149 +EMUL_EXTRA_OFILES!$EMUL_EXTRA_OFILES$ac_delim
67150 +LIB_PATH!$LIB_PATH$ac_delim
67151 +EMULATION_LIBPATH!$EMULATION_LIBPATH$ac_delim
67152 +TESTBFDLIB!$TESTBFDLIB$ac_delim
67153 +LIBOBJS!$LIBOBJS$ac_delim
67154 +LTLIBOBJS!$LTLIBOBJS$ac_delim
67157 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
67159 + elif $ac_last_try; then
67160 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
67161 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
67162 + { (exit 1); exit 1; }; }
67164 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67168 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
67169 +if test -n "$ac_eof"; then
67170 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
67171 + ac_eof=`expr $ac_eof + 1`
67174 +cat >>$CONFIG_STATUS <<_ACEOF
67175 +cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
67176 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
67179 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
67180 +s/^/s,@/; s/!/@,|#_!!_#|/
67183 +s/'"$ac_delim"'$/,g/; t
67185 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
67186 +' >>$CONFIG_STATUS <conf$$subs.sed
67187 +rm -f conf$$subs.sed
67188 +cat >>$CONFIG_STATUS <<_ACEOF
67195 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
67196 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67197 +# trailing colons and then remove the whole line if VPATH becomes empty
67198 +# (actually we leave an empty line to preserve line numbers).
67199 +if test "x$srcdir" = x.; then
67200 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
67201 +s/:*\$(srcdir):*/:/
67202 +s/:*\${srcdir}:*/:/
67204 +s/^\([^=]*=[ ]*\):*/\1/
67210 cat >>$CONFIG_STATUS <<\_ACEOF
67211 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
67212 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
67214 - - | *:- | *:-:* ) # input from stdin
67216 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67217 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67218 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67219 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67220 - * ) ac_file_in=$ac_file.in ;;
67221 +fi # test -n "$CONFIG_FILES"
67224 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
67227 + :[FHLC]) ac_mode=$ac_tag; continue;;
67229 + case $ac_mode$ac_tag in
67231 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
67232 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
67233 + { (exit 1); exit 1; }; };;
67234 + :[FH]-) ac_tag=-:-;;
67235 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67246 + :L) ac_source=$1;;
67252 + -) ac_f="$tmp/stdin";;
67253 + *) # Look for the file first in the build tree, then in the source tree
67254 + # (if the path is not absolute). The absolute path cannot be DOS-style,
67255 + # because $ac_f cannot contain `:'.
67256 + test -f "$ac_f" ||
67259 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67261 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
67262 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
67263 + { (exit 1); exit 1; }; };;
67265 + ac_file_inputs="$ac_file_inputs $ac_f"
67268 + # Let's still pretend it is `configure' which instantiates (i.e., don't
67269 + # use $as_me), people would be surprised to read:
67270 + # /* config.h. Generated by config.status. */
67271 + configure_input="Generated from "`IFS=:
67272 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
67273 + if test x"$ac_file" != x-; then
67274 + configure_input="$ac_file. $configure_input"
67275 + { echo "$as_me:$LINENO: creating $ac_file" >&5
67276 +echo "$as_me: creating $ac_file" >&6;}
67280 + *:-:* | *:-) cat >"$tmp/stdin";;
67285 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
67286 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
67287 + ac_dir=`$as_dirname -- "$ac_file" ||
67288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67289 X"$ac_file" : 'X\(//\)[^/]' \| \
67290 X"$ac_file" : 'X\(//\)$' \| \
67291 - X"$ac_file" : 'X\(/\)' \| \
67292 - . : '\(.\)' 2>/dev/null ||
67293 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67295 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67296 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67297 - /^X\(\/\/\)$/{ s//\1/; q; }
67298 - /^X\(\/\).*/{ s//\1/; q; }
67300 - { if $as_mkdir_p; then
67301 - mkdir -p "$ac_dir"
67304 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67308 + /^X\(\/\/\)[^/].*/{
67321 + { as_dir="$ac_dir"
67322 + case $as_dir in #(
67323 + -*) as_dir=./$as_dir;;
67325 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
67327 - while test ! -d "$as_dir"; do
67328 - as_dirs="$as_dir $as_dirs"
67329 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
67331 + case $as_dir in #(
67332 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
67333 + *) as_qdir=$as_dir;;
67335 + as_dirs="'$as_qdir' $as_dirs"
67336 + as_dir=`$as_dirname -- "$as_dir" ||
67337 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67338 X"$as_dir" : 'X\(//\)[^/]' \| \
67339 X"$as_dir" : 'X\(//\)$' \| \
67340 - X"$as_dir" : 'X\(/\)' \| \
67341 - . : '\(.\)' 2>/dev/null ||
67342 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
67344 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67345 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67346 - /^X\(\/\/\)$/{ s//\1/; q; }
67347 - /^X\(\/\).*/{ s//\1/; q; }
67349 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67353 + /^X\(\/\/\)[^/].*/{
67366 + test -d "$as_dir" && break
67368 - test ! -n "$as_dirs" || mkdir $as_dirs
67369 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
67370 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
67371 + test -z "$as_dirs" || eval "mkdir $as_dirs"
67372 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
67373 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
67374 { (exit 1); exit 1; }; }; }
67378 -if test "$ac_dir" != .; then
67380 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67382 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
67383 - # A "../" for each directory in $ac_dir_suffix.
67384 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
67386 - ac_dir_suffix= ac_top_builddir=
67388 + # A ".." for each directory in $ac_dir_suffix.
67389 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
67390 + case $ac_top_builddir_sub in
67391 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67392 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67395 +ac_abs_top_builddir=$ac_pwd
67396 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
67397 +# for backward compatibility:
67398 +ac_top_builddir=$ac_top_build_prefix
67401 - .) # No --srcdir option. We are building in place.
67402 + .) # We are building in place.
67404 - if test -z "$ac_top_builddir"; then
67407 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
67409 - [\\/]* | ?:[\\/]* ) # Absolute path.
67410 + ac_top_srcdir=$ac_top_builddir_sub
67411 + ac_abs_top_srcdir=$ac_pwd ;;
67412 + [\\/]* | ?:[\\/]* ) # Absolute name.
67413 ac_srcdir=$srcdir$ac_dir_suffix;
67414 - ac_top_srcdir=$srcdir ;;
67415 - *) # Relative path.
67416 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
67417 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
67419 + ac_top_srcdir=$srcdir
67420 + ac_abs_top_srcdir=$srcdir ;;
67421 + *) # Relative name.
67422 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67423 + ac_top_srcdir=$ac_top_build_prefix$srcdir
67424 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67426 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67428 -# Do not use `cd foo && pwd` to compute absolute paths, because
67429 -# the directories may not exist.
67431 -.) ac_abs_builddir="$ac_dir";;
67433 - case "$ac_dir" in
67434 - .) ac_abs_builddir=`pwd`;;
67435 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
67436 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
67439 -case $ac_abs_builddir in
67440 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
67442 - case ${ac_top_builddir}. in
67443 - .) ac_abs_top_builddir=$ac_abs_builddir;;
67444 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
67445 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
67448 -case $ac_abs_builddir in
67449 -.) ac_abs_srcdir=$ac_srcdir;;
67451 - case $ac_srcdir in
67452 - .) ac_abs_srcdir=$ac_abs_builddir;;
67453 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
67454 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
67457 -case $ac_abs_builddir in
67458 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
67460 - case $ac_top_srcdir in
67461 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
67462 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
67463 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
67474 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67475 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
67476 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67480 - if test x"$ac_file" != x-; then
67481 - { echo "$as_me:$LINENO: creating $ac_file" >&5
67482 -echo "$as_me: creating $ac_file" >&6;}
67485 - # Let's still pretend it is `configure' which instantiates (i.e., don't
67486 - # use $as_me), people would be surprised to read:
67487 - # /* config.h. Generated by config.status. */
67488 - if test x"$ac_file" = x-; then
67491 - configure_input="$ac_file. "
67493 - configure_input=$configure_input"Generated from `echo $ac_file_in |
67494 - sed 's,.*/,,'` by configure."
67496 - # First look for the input files in the build tree, otherwise in the
67498 - ac_file_inputs=`IFS=:
67499 - for f in $ac_file_in; do
67501 - -) echo $tmp/stdin ;;
67503 - # Absolute (can't be DOS-style, as IFS=:)
67504 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67505 -echo "$as_me: error: cannot find input file: $f" >&2;}
67506 - { (exit 1); exit 1; }; }
67509 - if test -f "$f"; then
67512 - elif test -f "$srcdir/$f"; then
67514 - echo "$srcdir/$f"
67517 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67518 -echo "$as_me: error: cannot find input file: $f" >&2;}
67519 - { (exit 1); exit 1; }; }
67522 - done` || { (exit 1); exit 1; }
67523 +cat >>$CONFIG_STATUS <<\_ACEOF
67524 +# If the template does not know about datarootdir, expand it.
67525 +# FIXME: This hack should be removed a few years after 2.60.
67526 +ac_datarootdir_hack=; ac_datarootdir_seen=
67528 +case `sed -n '/datarootdir/ {
67537 +' $ac_file_inputs` in
67538 +*datarootdir*) ac_datarootdir_seen=yes;;
67539 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67540 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67541 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67543 cat >>$CONFIG_STATUS <<_ACEOF
67544 + ac_datarootdir_hack='
67545 + s&@datadir@&$datadir&g
67546 + s&@docdir@&$docdir&g
67547 + s&@infodir@&$infodir&g
67548 + s&@localedir@&$localedir&g
67549 + s&@mandir@&$mandir&g
67550 + s&\\\${datarootdir}&$datarootdir&g' ;;
67554 +# Neutralize VPATH when `$srcdir' = `.'.
67555 +# Shell code in configure.ac might set extrasub.
67556 +# FIXME: do we really want to maintain this feature?
67557 +cat >>$CONFIG_STATUS <<_ACEOF
67561 cat >>$CONFIG_STATUS <<\_ACEOF
67563 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67564 -s,@configure_input@,$configure_input,;t t
67565 -s,@srcdir@,$ac_srcdir,;t t
67566 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
67567 -s,@top_srcdir@,$ac_top_srcdir,;t t
67568 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
67569 -s,@builddir@,$ac_builddir,;t t
67570 -s,@abs_builddir@,$ac_abs_builddir,;t t
67571 -s,@top_builddir@,$ac_top_builddir,;t t
67572 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
67573 -s,@INSTALL@,$ac_INSTALL,;t t
67574 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
67576 - if test x"$ac_file" != x-; then
67577 - mv $tmp/out $ac_file
67585 -cat >>$CONFIG_STATUS <<\_ACEOF
67588 -# CONFIG_HEADER section.
67591 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
67592 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
67594 -# ac_d sets the value in "#define NAME VALUE" lines.
67595 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
67596 -ac_dB='[ ].*$,\1#\2'
67599 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
67600 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
67601 -ac_uB='$,\1#\2define\3'
67604 +s&@configure_input@&$configure_input&;t t
67605 +s&@top_builddir@&$ac_top_builddir_sub&;t t
67606 +s&@srcdir@&$ac_srcdir&;t t
67607 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
67608 +s&@top_srcdir@&$ac_top_srcdir&;t t
67609 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67610 +s&@builddir@&$ac_builddir&;t t
67611 +s&@abs_builddir@&$ac_abs_builddir&;t t
67612 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67613 +s&@INSTALL@&$ac_INSTALL&;t t
67614 +$ac_datarootdir_hack
67615 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
67617 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67618 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67619 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67620 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67621 +which seems to be undefined. Please make sure it is defined." >&5
67622 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67623 +which seems to be undefined. Please make sure it is defined." >&2;}
67625 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
67626 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
67627 + rm -f "$tmp/stdin"
67629 - - | *:- | *:-:* ) # input from stdin
67631 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67632 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67633 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
67634 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
67635 - * ) ac_file_in=$ac_file.in ;;
67636 + -) cat "$tmp/out"; rm -f "$tmp/out";;
67637 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
67646 +# Transform confdefs.h into a sed script `conftest.defines', that
67647 +# substitutes the proper values into config.h.in to produce config.h.
67648 +rm -f conftest.defines conftest.tail
67649 +# First, append a space to every undef/define line, to ease matching.
67650 +echo 's/$/ /' >conftest.defines
67651 +# Then, protect against being on the right side of a sed subst, or in
67652 +# an unquoted here document, in config.status. If some macros were
67653 +# called several times there might be several #defines for the same
67654 +# symbol, which is useless. But do not sort them, since the last
67655 +# AC_DEFINE must be honored.
67656 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67657 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
67658 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
67659 +# PARAMS is the parameter list in the macro definition--in most cases, it's
67660 +# just an empty string.
67661 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
67662 +ac_dB='\\)[ (].*,\\1define\\2'
67666 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
67667 -echo "$as_me: creating $ac_file" >&6;}
67669 - # First look for the input files in the build tree, otherwise in the
67671 - ac_file_inputs=`IFS=:
67672 - for f in $ac_file_in; do
67674 - -) echo $tmp/stdin ;;
67676 - # Absolute (can't be DOS-style, as IFS=:)
67677 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67678 -echo "$as_me: error: cannot find input file: $f" >&2;}
67679 - { (exit 1); exit 1; }; }
67680 - # Do quote $f, to prevent DOS paths from being IFS'd.
67683 - if test -f "$f"; then
67686 - elif test -f "$srcdir/$f"; then
67688 - echo "$srcdir/$f"
67691 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
67692 -echo "$as_me: error: cannot find input file: $f" >&2;}
67693 - { (exit 1); exit 1; }; }
67696 - done` || { (exit 1); exit 1; }
67697 - # Remove the trailing spaces.
67698 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
67702 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
67703 -# `conftest.undefs', that substitutes the proper values into
67704 -# config.h.in to produce config.h. The first handles `#define'
67705 -# templates, and the second `#undef' templates.
67706 -# And first: Protect against being on the right side of a sed subst in
67707 -# config.status. Protect against being in an unquoted here document
67708 -# in config.status.
67709 -rm -f conftest.defines conftest.undefs
67710 -# Using a here document instead of a string reduces the quoting nightmare.
67711 -# Putting comments in sed scripts is not portable.
67713 -# `end' is used to avoid that the second main sed command (meant for
67714 -# 0-ary CPP macros) applies to n-ary macro definitions.
67715 -# See the Autoconf documentation for `clear'.
67716 -cat >confdef2sed.sed <<\_ACEOF
67721 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
67723 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
67726 -# If some macros were called several times there might be several times
67727 -# the same #defines, which is useless. Nevertheless, we may not want to
67728 -# sort them, since we want the *last* AC-DEFINE to be honored.
67729 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
67730 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
67731 -rm -f confdef2sed.sed
67736 + s/^[ ]*#[ ]*define[ ][ ]*//
67741 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
67742 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
67743 + ' >>conftest.defines
67745 -# This sed command replaces #undef with comments. This is necessary, for
67746 +# Remove the space that was appended to ease matching.
67747 +# Then replace #undef with comments. This is necessary, for
67748 # example, in the case of _POSIX_SOURCE, which is predefined and required
67749 # on some systems where configure will not decide to define it.
67750 -cat >>conftest.undefs <<\_ACEOF
67751 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
67752 +# (The regexp can be short, since the line contains either #define or #undef.)
67754 +s,^[ #]*u.*,/* & */,' >>conftest.defines
67756 +# Break up conftest.defines:
67757 +ac_max_sed_lines=50
67759 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
67760 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
67761 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
67763 +ac_in='$ac_file_inputs'
67764 +ac_out='"$tmp/out1"'
67765 +ac_nxt='"$tmp/out2"'
67769 + # Write a here document:
67770 + cat >>$CONFIG_STATUS <<_ACEOF
67771 + # First, check the format of the line:
67772 + cat >"\$tmp/defines.sed" <<\\CEOF
67773 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
67774 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
67779 -# Break up conftest.defines because some shells have a limit on the size
67780 -# of here documents, and old seds have small limits too (100 cmds).
67781 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
67782 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
67783 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
67784 -echo ' :' >>$CONFIG_STATUS
67785 -rm -f conftest.tail
67786 -while grep . conftest.defines >/dev/null
67788 - # Write a limited-size here document to $tmp/defines.sed.
67789 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
67790 - # Speed up: don't consider the non `#define' lines.
67791 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
67792 - # Work around the forget-to-reset-the-flag bug.
67793 - echo 't clr' >>$CONFIG_STATUS
67794 - echo ': clr' >>$CONFIG_STATUS
67795 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
67796 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
67798 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
67800 - mv $tmp/out $tmp/in
67801 -' >>$CONFIG_STATUS
67802 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
67803 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
67804 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
67805 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
67806 + grep . conftest.tail >/dev/null || break
67807 rm -f conftest.defines
67808 mv conftest.tail conftest.defines
67810 -rm -f conftest.defines
67811 -echo ' fi # grep' >>$CONFIG_STATUS
67812 -echo >>$CONFIG_STATUS
67814 -# Break up conftest.undefs because some shells have a limit on the size
67815 -# of here documents, and old seds have small limits too (100 cmds).
67816 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
67817 -rm -f conftest.tail
67818 -while grep . conftest.undefs >/dev/null
67820 - # Write a limited-size here document to $tmp/undefs.sed.
67821 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
67822 - # Speed up: don't consider the non `#undef'
67823 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
67824 - # Work around the forget-to-reset-the-flag bug.
67825 - echo 't clr' >>$CONFIG_STATUS
67826 - echo ': clr' >>$CONFIG_STATUS
67827 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
67829 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
67831 - mv $tmp/out $tmp/in
67832 -' >>$CONFIG_STATUS
67833 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
67834 - rm -f conftest.undefs
67835 - mv conftest.tail conftest.undefs
67837 -rm -f conftest.undefs
67838 +rm -f conftest.defines conftest.tail
67840 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
67841 cat >>$CONFIG_STATUS <<\_ACEOF
67842 - # Let's still pretend it is `configure' which instantiates (i.e., don't
67843 - # use $as_me), people would be surprised to read:
67844 - # /* config.h. Generated by config.status. */
67845 - if test x"$ac_file" = x-; then
67846 - echo "/* Generated by configure. */" >$tmp/config.h
67848 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
67850 - cat $tmp/in >>$tmp/config.h
67852 if test x"$ac_file" != x-; then
67853 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
67854 + echo "/* $configure_input */" >"$tmp/config.h"
67855 + cat "$ac_result" >>"$tmp/config.h"
67856 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
67857 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
67858 echo "$as_me: $ac_file is unchanged" >&6;}
67860 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
67861 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67862 - X"$ac_file" : 'X\(//\)[^/]' \| \
67863 - X"$ac_file" : 'X\(//\)$' \| \
67864 - X"$ac_file" : 'X\(/\)' \| \
67865 - . : '\(.\)' 2>/dev/null ||
67866 -echo X"$ac_file" |
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; }; }; }
67898 - mv $tmp/config.h $ac_file
67899 + mv "$tmp/config.h" $ac_file
67902 - cat $tmp/config.h
67903 - rm -f $tmp/config.h
67904 + echo "/* $configure_input */"
67907 + rm -f "$tmp/out12"
67908 # Compute $ac_file's index in $config_headers.
67910 for _am_header in $config_headers :; do
67911 @@ -11025,135 +11417,39 @@ for _am_header in $config_headers :; do
67912 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67915 -echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
67916 +echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
67917 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67918 X$ac_file : 'X\(//\)[^/]' \| \
67919 X$ac_file : 'X\(//\)$' \| \
67920 - X$ac_file : 'X\(/\)' \| \
67921 - . : '\(.\)' 2>/dev/null ||
67922 + X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
67924 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67925 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67926 - /^X\(\/\/\)$/{ s//\1/; q; }
67927 - /^X\(\/\).*/{ s//\1/; q; }
67928 - s/.*/./; q'`/stamp-h$_am_stamp_count
67931 -cat >>$CONFIG_STATUS <<\_ACEOF
67934 -# CONFIG_COMMANDS section.
67936 -for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
67937 - ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
67938 - ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
67939 - ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
67940 -$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67941 - X"$ac_dest" : 'X\(//\)[^/]' \| \
67942 - X"$ac_dest" : 'X\(//\)$' \| \
67943 - X"$ac_dest" : 'X\(/\)' \| \
67944 - . : '\(.\)' 2>/dev/null ||
67945 -echo X"$ac_dest" |
67946 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67947 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67948 - /^X\(\/\/\)$/{ s//\1/; q; }
67949 - /^X\(\/\).*/{ s//\1/; q; }
67951 - { if $as_mkdir_p; then
67952 - mkdir -p "$ac_dir"
67956 - while test ! -d "$as_dir"; do
67957 - as_dirs="$as_dir $as_dirs"
67958 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
67959 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67960 - X"$as_dir" : 'X\(//\)[^/]' \| \
67961 - X"$as_dir" : 'X\(//\)$' \| \
67962 - X"$as_dir" : 'X\(/\)' \| \
67963 - . : '\(.\)' 2>/dev/null ||
67965 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
67966 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
67967 - /^X\(\/\/\)$/{ s//\1/; q; }
67968 - /^X\(\/\).*/{ s//\1/; q; }
67971 - test ! -n "$as_dirs" || mkdir $as_dirs
67972 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
67973 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
67974 - { (exit 1); exit 1; }; }; }
67978 -if test "$ac_dir" != .; then
67979 - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
67980 - # A "../" for each directory in $ac_dir_suffix.
67981 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
67983 - ac_dir_suffix= ac_top_builddir=
67987 - .) # No --srcdir option. We are building in place.
67989 - if test -z "$ac_top_builddir"; then
67992 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
67994 - [\\/]* | ?:[\\/]* ) # Absolute path.
67995 - ac_srcdir=$srcdir$ac_dir_suffix;
67996 - ac_top_srcdir=$srcdir ;;
67997 - *) # Relative path.
67998 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
67999 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
68001 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68005 + /^X\(\/\/\)[^/].*/{
68017 + s/.*/./; q'`/stamp-h$_am_stamp_count
68020 -# Do not use `cd foo && pwd` to compute absolute paths, because
68021 -# the directories may not exist.
68023 -.) ac_abs_builddir="$ac_dir";;
68025 - case "$ac_dir" in
68026 - .) ac_abs_builddir=`pwd`;;
68027 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
68028 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
68031 -case $ac_abs_builddir in
68032 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
68034 - case ${ac_top_builddir}. in
68035 - .) ac_abs_top_builddir=$ac_abs_builddir;;
68036 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
68037 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
68040 -case $ac_abs_builddir in
68041 -.) ac_abs_srcdir=$ac_srcdir;;
68043 - case $ac_srcdir in
68044 - .) ac_abs_srcdir=$ac_abs_builddir;;
68045 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
68046 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
68049 -case $ac_abs_builddir in
68050 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
68052 - case $ac_top_srcdir in
68053 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
68054 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
68055 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
68058 + :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
68059 +echo "$as_me: executing $ac_file commands" >&6;}
68064 - { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
68065 -echo "$as_me: executing $ac_dest commands" >&6;}
68067 - depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
68068 + case $ac_file$ac_mode in
68069 + "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
68070 # Strip MF so we end up with the name of the file.
68071 mf=`echo "$mf" | sed -e 's/:.*$//'`
68072 # Check whether this is an Automake generated Makefile or not.
68073 @@ -11163,18 +11459,29 @@ echo "$as_me: executing $ac_dest command
68074 # each Makefile.in and add a new line on top of each file to say so.
68075 # So let's grep whole file.
68076 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
68077 - dirpart=`(dirname "$mf") 2>/dev/null ||
68078 + dirpart=`$as_dirname -- "$mf" ||
68079 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68080 X"$mf" : 'X\(//\)[^/]' \| \
68081 X"$mf" : 'X\(//\)$' \| \
68082 - X"$mf" : 'X\(/\)' \| \
68083 - . : '\(.\)' 2>/dev/null ||
68084 + X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
68086 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
68087 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
68088 - /^X\(\/\/\)$/{ s//\1/; q; }
68089 - /^X\(\/\).*/{ s//\1/; q; }
68091 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68095 + /^X\(\/\/\)[^/].*/{
68111 @@ -11196,54 +11503,80 @@ echo X"$mf" |
68112 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
68113 # Make sure the directory exists.
68114 test -f "$dirpart/$file" && continue
68115 - fdir=`(dirname "$file") 2>/dev/null ||
68116 + fdir=`$as_dirname -- "$file" ||
68117 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68118 X"$file" : 'X\(//\)[^/]' \| \
68119 X"$file" : 'X\(//\)$' \| \
68120 - X"$file" : 'X\(/\)' \| \
68121 - . : '\(.\)' 2>/dev/null ||
68122 + X"$file" : 'X\(/\)' \| . 2>/dev/null ||
68124 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
68125 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
68126 - /^X\(\/\/\)$/{ s//\1/; q; }
68127 - /^X\(\/\).*/{ s//\1/; q; }
68129 - { if $as_mkdir_p; then
68130 - mkdir -p $dirpart/$fdir
68132 - as_dir=$dirpart/$fdir
68133 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68137 + /^X\(\/\/\)[^/].*/{
68150 + { as_dir=$dirpart/$fdir
68151 + case $as_dir in #(
68152 + -*) as_dir=./$as_dir;;
68154 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
68156 - while test ! -d "$as_dir"; do
68157 - as_dirs="$as_dir $as_dirs"
68158 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
68160 + case $as_dir in #(
68161 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
68162 + *) as_qdir=$as_dir;;
68164 + as_dirs="'$as_qdir' $as_dirs"
68165 + as_dir=`$as_dirname -- "$as_dir" ||
68166 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68167 X"$as_dir" : 'X\(//\)[^/]' \| \
68168 X"$as_dir" : 'X\(//\)$' \| \
68169 - X"$as_dir" : 'X\(/\)' \| \
68170 - . : '\(.\)' 2>/dev/null ||
68171 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
68173 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
68174 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
68175 - /^X\(\/\/\)$/{ s//\1/; q; }
68176 - /^X\(\/\).*/{ s//\1/; q; }
68178 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68182 + /^X\(\/\/\)[^/].*/{
68195 + test -d "$as_dir" && break
68197 - test ! -n "$as_dirs" || mkdir $as_dirs
68198 - fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
68199 -echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
68200 + test -z "$as_dirs" || eval "mkdir $as_dirs"
68201 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
68202 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
68203 { (exit 1); exit 1; }; }; }
68205 # echo "creating $dirpart/$file"
68206 echo '# dummy' > "$dirpart/$file"
68210 - default ) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
68211 + "default":C) sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile ;;
68218 -cat >>$CONFIG_STATUS <<\_ACEOF
68220 { (exit 0); exit 0; }
68222 diff -Nrup binutils-2.17/ld/configure.tgt binutils-2.17.atmel.1.3.0/ld/configure.tgt
68223 --- binutils-2.17/ld/configure.tgt 2006-04-05 14:41:57.000000000 +0200
68224 +++ binutils-2.17.atmel.1.3.0/ld/configure.tgt 2007-05-31 17:03:35.000000000 +0200
68225 @@ -81,8 +81,10 @@ xscale-*-coff) targ_emul=armcoff ;;
68226 xscale-*-elf) targ_emul=armelf
68228 avr-*-*) targ_emul=avr2
68229 - targ_extra_emuls="avr1 avr3 avr4 avr5"
68231 + targ_extra_emuls="avr1 avr3 avr4 avr5" ;;
68232 +avr32-*-none) targ_emul=avr32elf_ap7000
68233 + 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" ;;
68234 +avr32-*-linux*) targ_emul=avr32linux ;;
68235 bfin-*-elf) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
68236 bfin-*-uclinux*) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
68237 cr16c-*-elf*) targ_emul=elf32cr16c
68238 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_ap7000.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_ap7000.sh
68239 --- binutils-2.17/ld/emulparams/avr32elf_ap7000.sh 1970-01-01 01:00:00.000000000 +0100
68240 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_ap7000.sh 2007-09-28 10:30:45.000000000 +0200
68243 +SCRIPT_NAME=elf_xip
68244 +TEMPLATE_NAME=elf32
68245 +EXTRA_EM_FILE=avr32elf
68246 +OUTPUT_FORMAT="elf32-avr32"
68254 +TEXT_START_ADDR=0xa0000000
68255 +DATA_SEGMENT_ALIGN=8
68258 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH
68259 + . = . & 0x9fffffff;"
68263 + FLASH (rxai) : ORIGIN = 0x00000000, LENGTH = 0x4000000
68264 + SRAM (rwxa) : ORIGIN = 0x24000000, LENGTH = 0x8000
68266 +RO_LMA_REGION="FLASH"
68267 +RO_VMA_REGION="FLASH"
68268 +RW_LMA_REGION="FLASH"
68269 +RW_VMA_REGION="SRAM"
68272 +STACK_ADDR="ORIGIN(SRAM) + LENGTH(SRAM) - ${STACK_SIZE}"
68274 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68275 + . = ${STACK_ADDR};
68276 + __heap_end__ = .;"
68277 diff -Nrup binutils-2.17/ld/emulparams/avr32elf.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf.sh
68278 --- binutils-2.17/ld/emulparams/avr32elf.sh 1970-01-01 01:00:00.000000000 +0100
68279 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf.sh 2007-09-28 10:30:45.000000000 +0200
68283 +TEMPLATE_NAME=elf32
68284 +EXTRA_EM_FILE=avr32elf
68285 +OUTPUT_FORMAT="elf32-avr32"
68286 +TEXT_START_ADDR=0xa0000000
68292 +INITIAL_READONLY_SECTIONS=".reset : AT(0x0) { *(.reset) }
68293 + . = . & 0x9fffffff;"
68294 +DATA_START_SYMBOLS="__data_init_start__ = .;
68295 + __data_init_end__ = .;
68296 + __data_start__ = .;"
68298 +OTHER_BSS_SYMBOLS='__bss_start__ = .;'
68299 +OTHER_BSS_END_SYMBOLS="_bss_end__ = . ; __bss_end__ = . ; __end__ = . ;
68301 + __heap_start__ = .;
68302 + __heap_end__ = 0x82000000;"
68304 +STACK_ADDR=0x82000000
68306 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a0128.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a0128.sh
68307 --- binutils-2.17/ld/emulparams/avr32elf_uc3a0128.sh 1970-01-01 01:00:00.000000000 +0100
68308 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a0128.sh 2007-09-28 10:30:45.000000000 +0200
68311 +SCRIPT_NAME=elf_xip
68312 +TEMPLATE_NAME=elf32
68313 +EXTRA_EM_FILE=avr32elf
68314 +OUTPUT_FORMAT="elf32-avr32"
68322 +TEXT_START_ADDR=0x80000000
68323 +DATA_SEGMENT_ALIGN=8
68326 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68330 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68331 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68332 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68333 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68335 +RO_LMA_REGION="FLASH"
68336 +RO_VMA_REGION="FLASH"
68337 +RW_LMA_REGION="FLASH"
68338 +RW_VMA_REGION="INTRAM"
68341 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68343 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68344 + . = ${STACK_ADDR};
68345 + __heap_end__ = .;"
68347 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68348 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68350 \ No newline at end of file
68351 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a0256.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a0256.sh
68352 --- binutils-2.17/ld/emulparams/avr32elf_uc3a0256.sh 1970-01-01 01:00:00.000000000 +0100
68353 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a0256.sh 2007-09-28 10:30:45.000000000 +0200
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 = 0x40000
68376 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
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"
68394 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a0512.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a0512.sh
68395 --- binutils-2.17/ld/emulparams/avr32elf_uc3a0512.sh 1970-01-01 01:00:00.000000000 +0100
68396 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a0512.sh 2007-09-28 10:30:45.000000000 +0200
68399 +SCRIPT_NAME=elf_xip
68400 +TEMPLATE_NAME=elf32
68401 +EXTRA_EM_FILE=avr32elf
68402 +OUTPUT_FORMAT="elf32-avr32"
68410 +TEXT_START_ADDR=0x80000000
68411 +DATA_SEGMENT_ALIGN=8
68414 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68418 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x80000
68419 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68420 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68421 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68423 +RO_LMA_REGION="FLASH"
68424 +RO_VMA_REGION="FLASH"
68425 +RW_LMA_REGION="FLASH"
68426 +RW_VMA_REGION="INTRAM"
68429 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68431 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68432 + . = ${STACK_ADDR};
68433 + __heap_end__ = .;"
68435 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68436 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68437 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a1128.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a1128.sh
68438 --- binutils-2.17/ld/emulparams/avr32elf_uc3a1128.sh 1970-01-01 01:00:00.000000000 +0100
68439 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a1128.sh 2007-09-28 10:30:45.000000000 +0200
68442 +SCRIPT_NAME=elf_xip
68443 +TEMPLATE_NAME=elf32
68444 +EXTRA_EM_FILE=avr32elf
68445 +OUTPUT_FORMAT="elf32-avr32"
68453 +TEXT_START_ADDR=0x80000000
68454 +DATA_SEGMENT_ALIGN=8
68457 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68461 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68462 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68463 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68464 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68466 +RO_LMA_REGION="FLASH"
68467 +RO_VMA_REGION="FLASH"
68468 +RW_LMA_REGION="FLASH"
68469 +RW_VMA_REGION="INTRAM"
68472 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68474 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68475 + . = ${STACK_ADDR};
68476 + __heap_end__ = .;"
68478 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68479 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68480 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a1256.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a1256.sh
68481 --- binutils-2.17/ld/emulparams/avr32elf_uc3a1256.sh 1970-01-01 01:00:00.000000000 +0100
68482 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a1256.sh 2007-09-28 10:30:45.000000000 +0200
68485 +SCRIPT_NAME=elf_xip
68486 +TEMPLATE_NAME=elf32
68487 +EXTRA_EM_FILE=avr32elf
68488 +OUTPUT_FORMAT="elf32-avr32"
68496 +TEXT_START_ADDR=0x80000000
68497 +DATA_SEGMENT_ALIGN=8
68500 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68504 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68505 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68506 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68507 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68509 +RO_LMA_REGION="FLASH"
68510 +RO_VMA_REGION="FLASH"
68511 +RW_LMA_REGION="FLASH"
68512 +RW_VMA_REGION="INTRAM"
68515 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68517 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68518 + . = ${STACK_ADDR};
68519 + __heap_end__ = .;"
68521 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68522 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68523 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3a1512.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a1512.sh
68524 --- binutils-2.17/ld/emulparams/avr32elf_uc3a1512.sh 1970-01-01 01:00:00.000000000 +0100
68525 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3a1512.sh 2007-09-28 10:30:45.000000000 +0200
68528 +SCRIPT_NAME=elf_xip
68529 +TEMPLATE_NAME=elf32
68530 +EXTRA_EM_FILE=avr32elf
68531 +OUTPUT_FORMAT="elf32-avr32"
68539 +TEXT_START_ADDR=0x80000000
68540 +DATA_SEGMENT_ALIGN=8
68543 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68547 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x80000
68548 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x10000
68549 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68550 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68552 +RO_LMA_REGION="FLASH"
68553 +RO_VMA_REGION="FLASH"
68554 +RW_LMA_REGION="FLASH"
68555 +RW_VMA_REGION="INTRAM"
68558 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68560 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68561 + . = ${STACK_ADDR};
68562 + __heap_end__ = .;"
68564 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68565 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68566 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3b0128.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b0128.sh
68567 --- binutils-2.17/ld/emulparams/avr32elf_uc3b0128.sh 1970-01-01 01:00:00.000000000 +0100
68568 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b0128.sh 2007-09-28 10:30:45.000000000 +0200
68571 +SCRIPT_NAME=elf_xip
68572 +TEMPLATE_NAME=elf32
68573 +EXTRA_EM_FILE=avr32elf
68574 +OUTPUT_FORMAT="elf32-avr32"
68582 +TEXT_START_ADDR=0x80000000
68583 +DATA_SEGMENT_ALIGN=8
68586 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68590 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68591 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68592 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68593 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68595 +RO_LMA_REGION="FLASH"
68596 +RO_VMA_REGION="FLASH"
68597 +RW_LMA_REGION="FLASH"
68598 +RW_VMA_REGION="INTRAM"
68601 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68603 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68604 + . = ${STACK_ADDR};
68605 + __heap_end__ = .;"
68607 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68608 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68609 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3b0256.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b0256.sh
68610 --- binutils-2.17/ld/emulparams/avr32elf_uc3b0256.sh 1970-01-01 01:00:00.000000000 +0100
68611 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b0256.sh 2007-09-28 10:30:45.000000000 +0200
68614 +SCRIPT_NAME=elf_xip
68615 +TEMPLATE_NAME=elf32
68616 +EXTRA_EM_FILE=avr32elf
68617 +OUTPUT_FORMAT="elf32-avr32"
68625 +TEXT_START_ADDR=0x80000000
68626 +DATA_SEGMENT_ALIGN=8
68629 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68633 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68634 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68635 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68636 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68638 +RO_LMA_REGION="FLASH"
68639 +RO_VMA_REGION="FLASH"
68640 +RW_LMA_REGION="FLASH"
68641 +RW_VMA_REGION="INTRAM"
68644 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68646 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68647 + . = ${STACK_ADDR};
68648 + __heap_end__ = .;"
68650 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68651 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68653 \ No newline at end of file
68654 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3b064.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b064.sh
68655 --- binutils-2.17/ld/emulparams/avr32elf_uc3b064.sh 1970-01-01 01:00:00.000000000 +0100
68656 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b064.sh 2007-09-28 10:30:45.000000000 +0200
68659 +SCRIPT_NAME=elf_xip
68660 +TEMPLATE_NAME=elf32
68661 +EXTRA_EM_FILE=avr32elf
68662 +OUTPUT_FORMAT="elf32-avr32"
68670 +TEXT_START_ADDR=0x80000000
68671 +DATA_SEGMENT_ALIGN=8
68674 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68678 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x10000
68679 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x4000
68680 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68681 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68683 +RO_LMA_REGION="FLASH"
68684 +RO_VMA_REGION="FLASH"
68685 +RW_LMA_REGION="FLASH"
68686 +RW_VMA_REGION="INTRAM"
68689 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68691 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68692 + . = ${STACK_ADDR};
68693 + __heap_end__ = .;"
68695 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68696 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68697 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3b1128.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b1128.sh
68698 --- binutils-2.17/ld/emulparams/avr32elf_uc3b1128.sh 1970-01-01 01:00:00.000000000 +0100
68699 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b1128.sh 2007-09-28 10:30:45.000000000 +0200
68702 +SCRIPT_NAME=elf_xip
68703 +TEMPLATE_NAME=elf32
68704 +EXTRA_EM_FILE=avr32elf
68705 +OUTPUT_FORMAT="elf32-avr32"
68713 +TEXT_START_ADDR=0x80000000
68714 +DATA_SEGMENT_ALIGN=8
68717 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68721 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x20000
68722 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68723 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68724 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68726 +RO_LMA_REGION="FLASH"
68727 +RO_VMA_REGION="FLASH"
68728 +RW_LMA_REGION="FLASH"
68729 +RW_VMA_REGION="INTRAM"
68732 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68734 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68735 + . = ${STACK_ADDR};
68736 + __heap_end__ = .;"
68738 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68739 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68740 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3b1256.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b1256.sh
68741 --- binutils-2.17/ld/emulparams/avr32elf_uc3b1256.sh 1970-01-01 01:00:00.000000000 +0100
68742 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b1256.sh 2007-09-28 10:30:45.000000000 +0200
68745 +SCRIPT_NAME=elf_xip
68746 +TEMPLATE_NAME=elf32
68747 +EXTRA_EM_FILE=avr32elf
68748 +OUTPUT_FORMAT="elf32-avr32"
68756 +TEXT_START_ADDR=0x80000000
68757 +DATA_SEGMENT_ALIGN=8
68760 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68764 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x40000
68765 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x8000
68766 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68767 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68769 +RO_LMA_REGION="FLASH"
68770 +RO_VMA_REGION="FLASH"
68771 +RW_LMA_REGION="FLASH"
68772 +RW_VMA_REGION="INTRAM"
68775 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68777 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68778 + . = ${STACK_ADDR};
68779 + __heap_end__ = .;"
68781 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68782 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68783 diff -Nrup binutils-2.17/ld/emulparams/avr32elf_uc3b164.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b164.sh
68784 --- binutils-2.17/ld/emulparams/avr32elf_uc3b164.sh 1970-01-01 01:00:00.000000000 +0100
68785 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32elf_uc3b164.sh 2007-09-28 10:30:45.000000000 +0200
68788 +SCRIPT_NAME=elf_xip
68789 +TEMPLATE_NAME=elf32
68790 +EXTRA_EM_FILE=avr32elf
68791 +OUTPUT_FORMAT="elf32-avr32"
68799 +TEXT_START_ADDR=0x80000000
68800 +DATA_SEGMENT_ALIGN=8
68803 +INITIAL_READONLY_SECTIONS=".reset : { *(.reset) } >FLASH AT>FLASH"
68807 + FLASH (rxai!w) : ORIGIN = 0x80000000, LENGTH = 0x10000
68808 + INTRAM (wxa!ri) : ORIGIN = 0x00000000, LENGTH = 0x4000
68809 + USERPAGE : ORIGIN = 0x80800000, LENGTH = 0x200
68810 + FACTORYPAGE : ORIGIN = 0x80800200, LENGTH = 0x200
68812 +RO_LMA_REGION="FLASH"
68813 +RO_VMA_REGION="FLASH"
68814 +RW_LMA_REGION="FLASH"
68815 +RW_VMA_REGION="INTRAM"
68818 +STACK_ADDR="ORIGIN(INTRAM) + LENGTH(INTRAM) - ${STACK_SIZE}"
68820 +DATA_SEGMENT_END="__heap_start__ = ALIGN(8);
68821 + . = ${STACK_ADDR};
68822 + __heap_end__ = .;"
68824 +OTHER_SECTIONS=".userpage : { *(.userpage .userpage.*) } >USERPAGE AT>USERPAGE
68825 + .factorypage : { *(.factorypage .factorypage.*) } >FACTORYPAGE AT>FACTORYPAGE"
68827 \ No newline at end of file
68828 diff -Nrup binutils-2.17/ld/emulparams/avr32linux.sh binutils-2.17.atmel.1.3.0/ld/emulparams/avr32linux.sh
68829 --- binutils-2.17/ld/emulparams/avr32linux.sh 1970-01-01 01:00:00.000000000 +0100
68830 +++ binutils-2.17.atmel.1.3.0/ld/emulparams/avr32linux.sh 2007-09-28 10:30:45.000000000 +0200
68834 +TEMPLATE_NAME=elf32
68835 +EXTRA_EM_FILE=avr32elf
68836 +OUTPUT_FORMAT="elf32-avr32"
68837 +GENERATE_SHLIB_SCRIPT=yes
68838 +MAXPAGESIZE=0x1000
68839 +TEXT_START_ADDR=0x00001000
68842 +# This appears to place the GOT before the data section, which is
68843 +# essential for uClinux. We don't use those .s* sections on AVR32
68844 +# anyway, so it shouldn't hurt for regular Linux either...
68846 diff -Nrup binutils-2.17/ld/emultempl/avr32elf.em binutils-2.17.atmel.1.3.0/ld/emultempl/avr32elf.em
68847 --- binutils-2.17/ld/emultempl/avr32elf.em 1970-01-01 01:00:00.000000000 +0100
68848 +++ binutils-2.17.atmel.1.3.0/ld/emultempl/avr32elf.em 2007-09-28 10:30:44.000000000 +0200
68850 +# This shell script emits a C file. -*- C -*-
68851 +# Copyright (C) 2007 Atmel Corporation
68853 +# This file is part of GLD, the Gnu Linker.
68855 +# This program is free software; you can redistribute it and/or modify
68856 +# it under the terms of the GNU General Public License as published by
68857 +# the Free Software Foundation; either version 2 of the License, or
68858 +# (at your option) any later version.
68860 +# This program is distributed in the hope that it will be useful,
68861 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
68862 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68863 +# GNU General Public License for more details.
68865 +# You should have received a copy of the GNU General Public License
68866 +# along with this program; if not, write to the Free Software
68867 +# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
68870 +# This file is sourced from elf32.em, and defines extra avr32-elf
68871 +# specific routines.
68874 +cat >> e${EMULATION_NAME}.c <<EOF
68876 +#include "libbfd.h"
68877 +#include "elf32-avr32.h"
68879 +/* Whether to allow direct references (sub or mov) to SEC_DATA and
68880 + !SEC_CONTENTS sections when optimizing. Not enabled by default
68881 + since it might cause link errors. */
68882 +static int direct_data_refs = 0;
68884 +static void avr32_elf_after_open (void)
68886 + bfd_elf32_avr32_set_options (&link_info, direct_data_refs);
68887 + gld${EMULATION_NAME}_after_open ();
68892 +# Define some shell vars to insert bits of code into the standard elf
68893 +# parse_args and list_options functions.
68895 +PARSE_AND_LIST_PROLOGUE='
68896 +#define OPTION_DIRECT_DATA 300
68897 +#define OPTION_NO_DIRECT_DATA 301
68900 +PARSE_AND_LIST_LONGOPTS='
68901 + { "direct-data", no_argument, NULL, OPTION_DIRECT_DATA },
68902 + { "no-direct-data", no_argument, NULL, OPTION_NO_DIRECT_DATA },
68905 +PARSE_AND_LIST_OPTIONS='
68906 + fprintf (file, _(" --direct-data\t\tAllow direct data references when optimizing\n"));
68907 + fprintf (file, _(" --no-direct-data\tDo not allow direct data references when optimizing\n"));
68910 +PARSE_AND_LIST_ARGS_CASES='
68911 + case OPTION_DIRECT_DATA:
68912 + direct_data_refs = 1;
68914 + case OPTION_NO_DIRECT_DATA:
68915 + direct_data_refs = 0;
68919 +# Replace some of the standard ELF functions with our own versions.
68921 +LDEMUL_AFTER_OPEN=avr32_elf_after_open
68922 diff -Nrup binutils-2.17/ld/ld.info binutils-2.17.atmel.1.3.0/ld/ld.info
68923 --- binutils-2.17/ld/ld.info 2006-06-23 20:19:51.000000000 +0200
68924 +++ binutils-2.17.atmel.1.3.0/ld/ld.info 2007-09-28 10:30:45.000000000 +0200
68926 -This is .././ld/ld.info, produced by makeinfo version 4.8 from
68927 -.././ld/ld.texinfo.
68929 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.info,
68930 +produced by makeinfo version 4.8 from
68931 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.texinfo.
68933 START-INFO-DIR-ENTRY
68934 * Ld: (ld). The GNU linker.
68935 @@ -4192,6 +4194,8 @@ not listed.
68937 * ARM:: `ld' and the ARM family
68939 +* AVR32:: `ld' and AVR32 processors
68941 * HPPA ELF32:: `ld' and HPPA 32-bit ELF
68943 * MMIX:: `ld' and MMIX
68944 @@ -4285,7 +4289,7 @@ target subroutine is a leaf routine (tha
68945 not itself call any subroutines).
68948 -File: ld.info, Node: ARM, Next: HPPA ELF32, Prev: i960, Up: Machine Dependent
68949 ++File: ld.info, Node: ARM, Next: AVR32, Prev: i960, Up: Machine Dependent
68951 4.3 `ld' and the ARM family
68952 ===========================
68953 @@ -4351,9 +4355,33 @@ entry. This should lead to such calls ex
68954 to specify it if you are using that target.
68957 -File: ld.info, Node: HPPA ELF32, Next: MMIX, Prev: ARM, Up: Machine Dependent
68958 +File: ld.info, Node: AVR32, Next: HPPA ELF32, Prev: ARM, Up: Machine Dependent
68960 +4.4 `ld' and AVR32 processors
68961 +=============================
68965 +`--no-direct-data'
68966 + Taking the address of a symbol can often be done by using a direct
68967 + `mov' or pc-relative `sub' instruction, which is faster than using
68968 + a PC- or GOT-relative load, especially on the uC3 processors.
68969 + However, this does not always work when dealing with symbols in
68970 + the `.data' section so this optimization is disabled by default.
68972 + Specifying `--direct-data' will enable this optimization. Note
68973 + that this may cause `relocation truncated to fit' errors for
68974 + certain large programs. If this happens, the optimization can be
68975 + turned off by specifying `--no-direct-data'.
68977 + All known issues with direct data optimizations are detected at
68978 + link time, so if the linker doesn't complain, the result should
68982 +File: ld.info, Node: HPPA ELF32, Next: MMIX, Prev: AVR32, Up: Machine Dependent
68984 -4.4 `ld' and HPPA 32-bit ELF Support
68985 +4.5 `ld' and HPPA 32-bit ELF Support
68986 ====================================
68988 When generating a shared library, `ld' will by default generate import
68989 @@ -4384,7 +4412,7 @@ large, it may not be possible for a bran
68991 File: ld.info, Node: MMIX, Next: MSP430, Prev: HPPA ELF32, Up: Machine Dependent
68997 For MMIX, there is a choice of generating `ELF' object files or `mmo'
68998 @@ -4412,7 +4440,7 @@ section, are left out from an mmo file.
69000 File: ld.info, Node: MSP430, Next: PowerPC ELF32, Prev: MMIX, Up: Machine Dependent
69002 -4.6 `ld' and MSP430
69003 +4.7 `ld' and MSP430
69004 ===================
69006 For the MSP430 it is possible to select the MPU architecture. The flag
69007 @@ -4446,7 +4474,7 @@ specific:
69009 File: ld.info, Node: PowerPC ELF32, Next: PowerPC64 ELF64, Prev: MSP430, Up: Machine Dependent
69011 -4.7 `ld' and PowerPC 32-bit ELF Support
69012 +4.8 `ld' and PowerPC 32-bit ELF Support
69013 =======================================
69015 Branches on PowerPC processors are limited to a signed 26-bit
69016 @@ -4577,7 +4605,7 @@ File: ld.info, Node: PowerPC64 ELF64,
69018 File: ld.info, Node: TI COFF, Next: WIN32, Prev: PowerPC64 ELF64, Up: Machine Dependent
69020 -4.9 `ld''s Support for Various TI COFF Versions
69021 +4.10 `ld''s Support for Various TI COFF Versions
69022 ===============================================
69024 The `--format' switch allows selection of one of the various TI COFF
69025 @@ -4589,7 +4617,7 @@ depends on the default specified by the
69027 File: ld.info, Node: WIN32, Next: Xtensa, Prev: TI COFF, Up: Machine Dependent
69029 -4.10 `ld' and WIN32 (cygwin/mingw)
69030 +4.11 `ld' and WIN32 (cygwin/mingw)
69031 ==================================
69033 This section describes some of the win32 specific `ld' issues. See
69034 @@ -4986,7 +5014,7 @@ _weak externals_
69036 File: ld.info, Node: Xtensa, Prev: WIN32, Up: Machine Dependent
69038 -4.11 `ld' and Xtensa Processors
69039 +4.12 `ld' and Xtensa Processors
69040 ===============================
69042 The default `ld' behavior for Xtensa processors is to interpret
69043 @@ -5954,6 +5982,7 @@ Index
69044 * --default-symver: Options. (line 849)
69045 * --defsym SYMBOL=EXP: Options. (line 739)
69046 * --demangle[=STYLE]: Options. (line 752)
69047 +* --direct-data: AVR32. (line 6)
69048 * --disable-auto-image-base: Options. (line 1495)
69049 * --disable-auto-import: Options. (line 1624)
69050 * --disable-new-dtags: Options. (line 1295)
69051 @@ -6016,6 +6045,7 @@ Index
69052 * --no-check-sections: Options. (line 701)
69053 * --no-define-common: Options. (line 723)
69054 * --no-demangle: Options. (line 752)
69055 +* --no-direct-data: AVR32. (line 6)
69056 * --no-dotsyms: PowerPC64 ELF64. (line 33)
69057 * --no-gc-sections: Options. (line 784)
69058 * --no-keep-memory: Options. (line 804)
69059 @@ -6200,6 +6230,7 @@ Index
69060 * AT(LMA): Output Section LMA. (line 6)
69061 * AT>LMA_REGION: Output Section LMA. (line 6)
69062 * automatic data imports: WIN32. (line 170)
69063 +* AVR32 options: AVR32. (line 6)
69064 * back end: BFD. (line 6)
69065 * BASE (MRI): MRI. (line 54)
69066 * BE8: ARM. (line 23)
69067 @@ -6611,81 +6642,161 @@ Index
69072 -Node: Overview
\7f1109
69073 -Node: Invocation
\7f2223
69074 -Node: Options
\7f2631
69075 -Node: Environment
\7f77286
69076 -Node: Scripts
\7f79046
69077 -Node: Basic Script Concepts
\7f80780
69078 -Node: Script Format
\7f83487
69079 -Node: Simple Example
\7f84350
69080 -Node: Simple Commands
\7f87446
69081 -Node: Entry Point
\7f87897
69082 -Node: File Commands
\7f88656
69083 -Node: Format Commands
\7f92522
69084 -Node: Miscellaneous Commands
\7f94488
69085 -Node: Assignments
\7f96718
69086 -Node: Simple Assignments
\7f97209
69087 -Node: PROVIDE
\7f98945
69088 -Node: PROVIDE_HIDDEN
\7f100150
69089 -Node: Source Code Reference
\7f100394
69090 -Node: SECTIONS
\7f103974
69091 -Node: Output Section Description
\7f105865
69092 -Node: Output Section Name
\7f106918
69093 -Node: Output Section Address
\7f107794
69094 -Node: Input Section
\7f109443
69095 -Node: Input Section Basics
\7f110244
69096 -Node: Input Section Wildcards
\7f112596
69097 -Node: Input Section Common
\7f117329
69098 -Node: Input Section Keep
\7f118811
69099 -Node: Input Section Example
\7f119301
69100 -Node: Output Section Data
\7f120269
69101 -Node: Output Section Keywords
\7f123046
69102 -Node: Output Section Discarding
\7f126615
69103 -Node: Output Section Attributes
\7f127571
69104 -Node: Output Section Type
\7f128575
69105 -Node: Output Section LMA
\7f129729
69106 -Node: Forced Output Alignment
\7f132000
69107 -Node: Forced Input Alignment
\7f132268
69108 -Node: Output Section Region
\7f132653
69109 -Node: Output Section Phdr
\7f133083
69110 -Node: Output Section Fill
\7f133747
69111 -Node: Overlay Description
\7f134889
69112 -Node: MEMORY
\7f139137
69113 -Node: PHDRS
\7f143337
69114 -Node: VERSION
\7f148376
69115 -Node: Expressions
\7f156167
69116 -Node: Constants
\7f157045
69117 -Node: Symbols
\7f157606
69118 -Node: Orphan Sections
\7f158344
69119 -Node: Location Counter
\7f159107
69120 -Node: Operators
\7f163411
69121 -Node: Evaluation
\7f164333
69122 -Node: Expression Section
\7f165697
69123 -Node: Builtin Functions
\7f167186
69124 -Node: Implicit Linker Scripts
\7f174678
69125 -Node: Machine Dependent
\7f175453
69126 -Node: H8/300
\7f176314
69127 -Node: i960
\7f177939
69128 -Node: ARM
\7f179624
69129 -Node: HPPA ELF32
\7f182540
69130 -Node: MMIX
\7f184163
69131 -Node: MSP430
\7f185380
69132 -Node: PowerPC ELF32
\7f186428
69133 -Node: PowerPC64 ELF64
\7f188719
69134 -Node: TI COFF
\7f193133
69135 -Node: WIN32
\7f193665
69136 -Node: Xtensa
\7f211739
69137 -Node: BFD
\7f214861
69138 -Node: BFD outline
\7f216316
69139 -Node: BFD information loss
\7f217602
69140 -Node: Canonical format
\7f220119
69141 -Node: Reporting Bugs
\7f224476
69142 -Node: Bug Criteria
\7f225170
69143 -Node: Bug Reporting
\7f225869
69144 -Node: MRI
\7f232894
69145 -Node: GNU Free Documentation License
\7f237537
69146 -Node: Index
\7f257251
69149 +Node: Overview
\7f1249
69150 +Node: Invocation
\7f2363
69151 +Node: Options
\7f2771
69152 +Node: Environment
\7f77426
69153 +Node: Scripts
\7f79186
69154 +Node: Basic Script Concepts
\7f80920
69155 +Node: Script Format
\7f83627
69156 +Node: Simple Example
\7f84490
69157 +Node: Simple Commands
\7f87586
69158 +Node: Entry Point
\7f88037
69159 +Node: File Commands
\7f88796
69160 +Node: Format Commands
\7f92662
69161 +Node: Miscellaneous Commands
\7f94628
69162 +Node: Assignments
\7f96858
69163 +Node: Simple Assignments
\7f97349
69164 +Node: PROVIDE
\7f99085
69165 +Node: PROVIDE_HIDDEN
\7f100290
69166 +Node: Source Code Reference
\7f100534
69167 +Node: SECTIONS
\7f104114
69168 +Node: Output Section Description
\7f106005
69169 +Node: Output Section Name
\7f107058
69170 +Node: Output Section Address
\7f107934
69171 +Node: Input Section
\7f109583
69172 +Node: Input Section Basics
\7f110384
69173 +Node: Input Section Wildcards
\7f112736
69174 +Node: Input Section Common
\7f117469
69175 +Node: Input Section Keep
\7f118951
69176 +Node: Input Section Example
\7f119441
69177 +Node: Output Section Data
\7f120409
69178 +Node: Output Section Keywords
\7f123186
69179 +Node: Output Section Discarding
\7f126755
69180 +Node: Output Section Attributes
\7f127711
69181 +Node: Output Section Type
\7f128715
69182 +Node: Output Section LMA
\7f129869
69183 +Node: Forced Output Alignment
\7f132140
69184 +Node: Forced Input Alignment
\7f132408
69185 +Node: Output Section Region
\7f132793
69186 +Node: Output Section Phdr
\7f133223
69187 +Node: Output Section Fill
\7f133887
69188 +Node: Overlay Description
\7f135029
69189 +Node: MEMORY
\7f139277
69190 +Node: PHDRS
\7f143477
69191 +Node: VERSION
\7f148516
69192 +Node: Expressions
\7f156307
69193 +Node: Constants
\7f157185
69194 +Node: Symbols
\7f157746
69195 +Node: Orphan Sections
\7f158484
69196 +Node: Location Counter
\7f159247
69197 +Node: Operators
\7f163551
69198 +Node: Evaluation
\7f164473
69199 +Node: Expression Section
\7f165837
69200 +Node: Builtin Functions
\7f167326
69201 +Node: Implicit Linker Scripts
\7f174818
69202 +Node: Machine Dependent
\7f175593
69203 +Node: H8/300
\7f176454
69204 +Node: i960
\7f178079
69205 +Node: ARM
\7f179764
69206 +Node: HPPA ELF32
\7f182680
69207 +Node: MMIX
\7f184303
69208 +Node: MSP430
\7f185520
69209 +Node: PowerPC ELF32
\7f186568
69210 +Node: PowerPC64 ELF64
\7f188859
69211 +Node: TI COFF
\7f193273
69212 +Node: WIN32
\7f193805
69213 +Node: Xtensa
\7f211879
69214 +Node: BFD
\7f215001
69215 +Node: BFD outline
\7f216456
69216 +Node: BFD information loss
\7f217742
69217 +Node: Canonical format
\7f220259
69218 +Node: Reporting Bugs
\7f224616
69219 +Node: Bug Criteria
\7f225310
69220 +Node: Bug Reporting
\7f226009
69221 +Node: MRI
\7f233034
69222 +Node: GNU Free Documentation License
\7f237677
69223 +Node: Index
\7f257391
69226 +Node: Overview
\7f1093
69227 +Node: Invocation
\7f2207
69228 +Node: Options
\7f2615
69229 +Node: Environment
\7f77270
69230 +Node: Scripts
\7f79030
69231 +Node: Basic Script Concepts
\7f80764
69232 +Node: Script Format
\7f83471
69233 +Node: Simple Example
\7f84334
69234 +Node: Simple Commands
\7f87430
69235 +Node: Entry Point
\7f87881
69236 +Node: File Commands
\7f88640
69237 +Node: Format Commands
\7f92506
69238 +Node: Miscellaneous Commands
\7f94472
69239 +Node: Assignments
\7f96702
69240 +Node: Simple Assignments
\7f97193
69241 +Node: PROVIDE
\7f98929
69242 +Node: PROVIDE_HIDDEN
\7f100134
69243 +Node: Source Code Reference
\7f100378
69244 +Node: SECTIONS
\7f103958
69245 +Node: Output Section Description
\7f105849
69246 +Node: Output Section Name
\7f106902
69247 +Node: Output Section Address
\7f107778
69248 +Node: Input Section
\7f109427
69249 +Node: Input Section Basics
\7f110228
69250 +Node: Input Section Wildcards
\7f112580
69251 +Node: Input Section Common
\7f117313
69252 +Node: Input Section Keep
\7f118795
69253 +Node: Input Section Example
\7f119285
69254 +Node: Output Section Data
\7f120253
69255 +Node: Output Section Keywords
\7f123030
69256 +Node: Output Section Discarding
\7f126599
69257 +Node: Output Section Attributes
\7f127555
69258 +Node: Output Section Type
\7f128559
69259 +Node: Output Section LMA
\7f129713
69260 +Node: Forced Output Alignment
\7f131984
69261 +Node: Forced Input Alignment
\7f132252
69262 +Node: Output Section Region
\7f132637
69263 +Node: Output Section Phdr
\7f133067
69264 +Node: Output Section Fill
\7f133731
69265 +Node: Overlay Description
\7f134873
69266 +Node: MEMORY
\7f139121
69267 +Node: PHDRS
\7f143321
69268 +Node: VERSION
\7f148360
69269 +Node: Expressions
\7f156151
69270 +Node: Constants
\7f157029
69271 +Node: Symbols
\7f157590
69272 +Node: Orphan Sections
\7f158328
69273 +Node: Location Counter
\7f159091
69274 +Node: Operators
\7f163395
69275 +Node: Evaluation
\7f164317
69276 +Node: Expression Section
\7f165681
69277 +Node: Builtin Functions
\7f167170
69278 +Node: Implicit Linker Scripts
\7f174662
69279 +Node: Machine Dependent
\7f175437
69280 +Node: H8/300
\7f176357
69281 +Node: i960
\7f177982
69282 +Node: ARM
\7f179667
69283 +Node: AVR32
\7f182578
69284 +Node: HPPA ELF32
\7f183526
69285 +Node: MMIX
\7f185151
69286 +Node: MSP430
\7f186368
69287 +Node: PowerPC ELF32
\7f187416
69288 +Node: PowerPC64 ELF64
\7f189707
69289 +Node: TI COFF
\7f194121
69290 +Node: WIN32
\7f194655
69291 +Node: Xtensa
\7f212729
69292 +Node: BFD
\7f215851
69293 +Node: BFD outline
\7f217306
69294 +Node: BFD information loss
\7f218592
69295 +Node: Canonical format
\7f221109
69296 +Node: Reporting Bugs
\7f225466
69297 +Node: Bug Criteria
\7f226160
69298 +Node: Bug Reporting
\7f226859
69299 +Node: MRI
\7f233884
69300 +Node: GNU Free Documentation License
\7f238527
69301 +Node: Index
\7f258241
69305 diff -Nrup binutils-2.17/ld/ld.info.mine binutils-2.17.atmel.1.3.0/ld/ld.info.mine
69306 --- binutils-2.17/ld/ld.info.mine 1970-01-01 01:00:00.000000000 +0100
69307 +++ binutils-2.17.atmel.1.3.0/ld/ld.info.mine 2007-09-28 10:30:44.000000000 +0200
69310 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.info,
69311 +produced by makeinfo version 4.8 from
69312 +/home/hcegtvedt/svnwork/tools/T0243-GNU_Toolchain/50-Source/binutils/trunk/ld/ld.texinfo.
69314 +START-INFO-DIR-ENTRY
69315 +* Ld: (ld). The GNU linker.
69316 +END-INFO-DIR-ENTRY
69318 + This file documents the GNU linker LD version 2.17.
69320 + Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001,
69321 +2002, 2003, 2004 Free Software Foundation, Inc.
69324 +File: ld.info, Node: Top, Next: Overview, Up: (dir)
69329 +This file documents the GNU linker ld version 2.17.
69331 + This document is distributed under the terms of the GNU Free
69332 +Documentation License. A copy of the license is included in the
69333 +section entitled "GNU Free Documentation License".
69337 +* Overview:: Overview
69338 +* Invocation:: Invocation
69339 +* Scripts:: Linker Scripts
69341 +* Machine Dependent:: Machine Dependent Features
69345 +* Reporting Bugs:: Reporting Bugs
69346 +* MRI:: MRI Compatible Script Files
69347 +* GNU Free Documentation License:: GNU Free Documentation License
69351 +File: ld.info, Node: Overview, Next: Invocation, Prev: Top, Up: Top
69356 +`ld' combines a number of object and archive files, relocates their
69357 +data and ties up symbol references. Usually the last step in compiling
69358 +a program is to run `ld'.
69360 + `ld' accepts Linker Command Language files written in a superset of
69361 +AT&T's Link Editor Command Language syntax, to provide explicit and
69362 +total control over the linking process.
69364 + This version of `ld' uses the general purpose BFD libraries to
69365 +operate on object files. This allows `ld' to read, combine, and write
69366 +object files in many different formats--for example, COFF or `a.out'.
69367 +Different formats may be linked together to produce any available kind
69368 +of object file. *Note BFD::, for more information.
69370 + Aside from its flexibility, the GNU linker is more helpful than other
69371 +linkers in providing diagnostic information. Many linkers abandon
69372 +execution immediately upon encountering an error; whenever possible,
69373 +`ld' continues executing, allowing you to identify other errors (or, in
69374 +some cases, to get an output file in spite of the error).
69377 +File: ld.info, Node: Invocation, Next: Scripts, Prev: Overview, Up: Top
69382 +The GNU linker `ld' is meant to cover a broad range of situations, and
69383 +to be as compatible as possible with other linkers. As a result, you
69384 +have many choices to control its behavior.
69388 +* Options:: Command Line Options
69389 +* Environment:: Environment Variables
69392 +File: ld.info, Node: Options, Next: Environment, Up: Invocation
69394 +2.1 Command Line Options
69395 +========================
69397 + The linker supports a plethora of command-line options, but in actual
69398 +practice few of them are used in any particular context. For instance,
69399 +a frequent use of `ld' is to link standard Unix object files on a
69400 +standard, supported Unix system. On such a system, to link a file
69403 + ld -o OUTPUT /lib/crt0.o hello.o -lc
69405 + This tells `ld' to produce a file called OUTPUT as the result of
69406 +linking the file `/lib/crt0.o' with `hello.o' and the library `libc.a',
69407 +which will come from the standard search directories. (See the
69408 +discussion of the `-l' option below.)
69410 + Some of the command-line options to `ld' may be specified at any
69411 +point in the command line. However, options which refer to files, such
69412 +as `-l' or `-T', cause the file to be read at the point at which the
69413 +option appears in the command line, relative to the object files and
69414 +other file options. Repeating non-file options with a different
69415 +argument will either have no further effect, or override prior
69416 +occurrences (those further to the left on the command line) of that
69417 +option. Options which may be meaningfully specified more than once are
69418 +noted in the descriptions below.
69420 + Non-option arguments are object files or archives which are to be
69421 +linked together. They may follow, precede, or be mixed in with
69422 +command-line options, except that an object file argument may not be
69423 +placed between an option and its argument.
69425 + Usually the linker is invoked with at least one object file, but you
69426 +can specify other forms of binary input files using `-l', `-R', and the
69427 +script command language. If _no_ binary input files at all are
69428 +specified, the linker does not produce any output, and issues the
69429 +message `No input files'.
69431 + If the linker cannot recognize the format of an object file, it will
69432 +assume that it is a linker script. A script specified in this way
69433 +augments the main linker script used for the link (either the default
69434 +linker script or the one specified by using `-T'). This feature
69435 +permits the linker to link against a file which appears to be an object
69436 +or an archive, but actually merely defines some symbol values, or uses
69437 +`INPUT' or `GROUP' to load other objects. Note that specifying a
69438 +script in this way merely augments the main linker script; use the `-T'
69439 +option to replace the default linker script entirely. *Note Scripts::.
69441 + For options whose names are a single letter, option arguments must
69442 +either follow the option letter without intervening whitespace, or be
69443 +given as separate arguments immediately following the option that
69446 + For options whose names are multiple letters, either one dash or two
69447 +can precede the option name; for example, `-trace-symbol' and
69448 +`--trace-symbol' are equivalent. Note--there is one exception to this
69449 +rule. Multiple letter options that start with a lower case 'o' can
69450 +only be preceeded by two dashes. This is to reduce confusion with the
69451 +`-o' option. So for example `-omagic' sets the output file name to
69452 +`magic' whereas `--omagic' sets the NMAGIC flag on the output.
69454 + Arguments to multiple-letter options must either be separated from
69455 +the option name by an equals sign, or be given as separate arguments
69456 +immediately following the option that requires them. For example,
69457 +`--trace-symbol foo' and `--trace-symbol=foo' are equivalent. Unique
69458 +abbreviations of the names of multiple-letter options are accepted.
69460 + Note--if the linker is being invoked indirectly, via a compiler
69461 +driver (e.g. `gcc') then all the linker command line options should be
69462 +prefixed by `-Wl,' (or whatever is appropriate for the particular
69463 +compiler driver) like this:
69465 + gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup
69467 + This is important, because otherwise the compiler driver program may
69468 +silently drop the linker options, resulting in a bad link.
69470 + Here is a table of the generic command line switches accepted by the
69474 + Read command-line options from FILE. The options read are
69475 + inserted in place of the original @FILE option. If FILE does not
69476 + exist, or cannot be read, then the option will be treated
69477 + literally, and not removed.
69479 + Options in FILE are separated by whitespace. A whitespace
69480 + character may be included in an option by surrounding the entire
69481 + option in either single or double quotes. Any character
69482 + (including a backslash) may be included by prefixing the character
69483 + to be included with a backslash. The FILE may itself contain
69484 + additional @FILE options; any such options will be processed
69488 + This option is supported for HP/UX compatibility. The KEYWORD
69489 + argument must be one of the strings `archive', `shared', or
69490 + `default'. `-aarchive' is functionally equivalent to `-Bstatic',
69491 + and the other two keywords are functionally equivalent to
69492 + `-Bdynamic'. This option may be used any number of times.
69495 +`--architecture=ARCHITECTURE'
69496 + In the current release of `ld', this option is useful only for the
69497 + Intel 960 family of architectures. In that `ld' configuration, the
69498 + ARCHITECTURE argument identifies the particular architecture in
69499 + the 960 family, enabling some safeguards and modifying the
69500 + archive-library search path. *Note `ld' and the Intel 960 family:
69501 + i960, for details.
69503 + Future releases of `ld' may support similar functionality for
69504 + other architecture families.
69507 +`--format=INPUT-FORMAT'
69508 + `ld' may be configured to support more than one kind of object
69509 + file. If your `ld' is configured this way, you can use the `-b'
69510 + option to specify the binary format for input object files that
69511 + follow this option on the command line. Even when `ld' is
69512 + configured to support alternative object formats, you don't
69513 + usually need to specify this, as `ld' should be configured to
69514 + expect as a default input format the most usual format on each
69515 + machine. INPUT-FORMAT is a text string, the name of a particular
69516 + format supported by the BFD libraries. (You can list the
69517 + available binary formats with `objdump -i'.) *Note BFD::.
69519 + You may want to use this option if you are linking files with an
69520 + unusual binary format. You can also use `-b' to switch formats
69521 + explicitly (when linking object files of different formats), by
69522 + including `-b INPUT-FORMAT' before each group of object files in a
69523 + particular format.
69525 + The default format is taken from the environment variable
69526 + `GNUTARGET'. *Note Environment::. You can also define the input
69527 + format from a script, using the command `TARGET'; see *Note Format
69530 +`-c MRI-COMMANDFILE'
69531 +`--mri-script=MRI-COMMANDFILE'
69532 + For compatibility with linkers produced by MRI, `ld' accepts script
69533 + files written in an alternate, restricted command language,
69534 + described in *Note MRI Compatible Script Files: MRI. Introduce
69535 + MRI script files with the option `-c'; use the `-T' option to run
69536 + linker scripts written in the general-purpose `ld' scripting
69537 + language. If MRI-CMDFILE does not exist, `ld' looks for it in the
69538 + directories specified by any `-L' options.
69543 + These three options are equivalent; multiple forms are supported
69544 + for compatibility with other linkers. They assign space to common
69545 + symbols even if a relocatable output file is specified (with
69546 + `-r'). The script command `FORCE_COMMON_ALLOCATION' has the same
69547 + effect. *Note Miscellaneous Commands::.
69551 + Use ENTRY as the explicit symbol for beginning execution of your
69552 + program, rather than the default entry point. If there is no
69553 + symbol named ENTRY, the linker will try to parse ENTRY as a number,
69554 + and use that as the entry address (the number will be interpreted
69555 + in base 10; you may use a leading `0x' for base 16, or a leading
69556 + `0' for base 8). *Note Entry Point::, for a discussion of defaults
69557 + and other ways of specifying the entry point.
69559 +`--exclude-libs LIB,LIB,...'
69560 + Specifies a list of archive libraries from which symbols should
69561 + not be automatically exported. The library names may be delimited
69562 + by commas or colons. Specifying `--exclude-libs ALL' excludes
69563 + symbols in all archive libraries from automatic export. This
69564 + option is available only for the i386 PE targeted port of the
69565 + linker and for ELF targeted ports. For i386 PE, symbols
69566 + explicitly listed in a .def file are still exported, regardless of
69567 + this option. For ELF targeted ports, symbols affected by this
69568 + option will be treated as hidden.
69571 +`--export-dynamic'
69572 + When creating a dynamically linked executable, add all symbols to
69573 + the dynamic symbol table. The dynamic symbol table is the set of
69574 + symbols which are visible from dynamic objects at run time.
69576 + If you do not use this option, the dynamic symbol table will
69577 + normally contain only those symbols which are referenced by some
69578 + dynamic object mentioned in the link.
69580 + If you use `dlopen' to load a dynamic object which needs to refer
69581 + back to the symbols defined by the program, rather than some other
69582 + dynamic object, then you will probably need to use this option when
69583 + linking the program itself.
69585 + You can also use the version script to control what symbols should
69586 + be added to the dynamic symbol table if the output format supports
69587 + it. See the description of `--version-script' in *Note VERSION::.
69590 + Link big-endian objects. This affects the default output format.
69593 + Link little-endian objects. This affects the default output
69597 +`--auxiliary NAME'
69598 + When creating an ELF shared object, set the internal DT_AUXILIARY
69599 + field to the specified name. This tells the dynamic linker that
69600 + the symbol table of the shared object should be used as an
69601 + auxiliary filter on the symbol table of the shared object NAME.
69603 + If you later link a program against this filter object, then, when
69604 + you run the program, the dynamic linker will see the DT_AUXILIARY
69605 + field. If the dynamic linker resolves any symbols from the filter
69606 + object, it will first check whether there is a definition in the
69607 + shared object NAME. If there is one, it will be used instead of
69608 + the definition in the filter object. The shared object NAME need
69609 + not exist. Thus the shared object NAME may be used to provide an
69610 + alternative implementation of certain functions, perhaps for
69611 + debugging or for machine specific performance.
69613 + This option may be specified more than once. The DT_AUXILIARY
69614 + entries will be created in the order in which they appear on the
69619 + When creating an ELF shared object, set the internal DT_FILTER
69620 + field to the specified name. This tells the dynamic linker that
69621 + the symbol table of the shared object which is being created
69622 + should be used as a filter on the symbol table of the shared
69625 + If you later link a program against this filter object, then, when
69626 + you run the program, the dynamic linker will see the DT_FILTER
69627 + field. The dynamic linker will resolve symbols according to the
69628 + symbol table of the filter object as usual, but it will actually
69629 + link to the definitions found in the shared object NAME. Thus the
69630 + filter object can be used to select a subset of the symbols
69631 + provided by the object NAME.
69633 + Some older linkers used the `-F' option throughout a compilation
69634 + toolchain for specifying object-file format for both input and
69635 + output object files. The GNU linker uses other mechanisms for
69636 + this purpose: the `-b', `--format', `--oformat' options, the
69637 + `TARGET' command in linker scripts, and the `GNUTARGET'
69638 + environment variable. The GNU linker will ignore the `-F' option
69639 + when not creating an ELF shared object.
69642 + When creating an ELF executable or shared object, call NAME when
69643 + the executable or shared object is unloaded, by setting DT_FINI to
69644 + the address of the function. By default, the linker uses `_fini'
69645 + as the function to call.
69648 + Ignored. Provided for compatibility with other tools.
69652 + Set the maximum size of objects to be optimized using the GP
69653 + register to SIZE. This is only meaningful for object file formats
69654 + such as MIPS ECOFF which supports putting large and small objects
69655 + into different sections. This is ignored for other object file
69660 + When creating an ELF shared object, set the internal DT_SONAME
69661 + field to the specified name. When an executable is linked with a
69662 + shared object which has a DT_SONAME field, then when the
69663 + executable is run the dynamic linker will attempt to load the
69664 + shared object specified by the DT_SONAME field rather than the
69665 + using the file name given to the linker.
69668 + Perform an incremental link (same as option `-r').
69671 + When creating an ELF executable or shared object, call NAME when
69672 + the executable or shared object is loaded, by setting DT_INIT to
69673 + the address of the function. By default, the linker uses `_init'
69674 + as the function to call.
69677 +`--library=ARCHIVE'
69678 + Add archive file ARCHIVE to the list of files to link. This
69679 + option may be used any number of times. `ld' will search its
69680 + path-list for occurrences of `libARCHIVE.a' for every ARCHIVE
69683 + On systems which support shared libraries, `ld' may also search for
69684 + libraries with extensions other than `.a'. Specifically, on ELF
69685 + and SunOS systems, `ld' will search a directory for a library with
69686 + an extension of `.so' before searching for one with an extension of
69687 + `.a'. By convention, a `.so' extension indicates a shared library.
69689 + The linker will search an archive only once, at the location where
69690 + it is specified on the command line. If the archive defines a
69691 + symbol which was undefined in some object which appeared before
69692 + the archive on the command line, the linker will include the
69693 + appropriate file(s) from the archive. However, an undefined
69694 + symbol in an object appearing later on the command line will not
69695 + cause the linker to search the archive again.
69697 + See the `-(' option for a way to force the linker to search
69698 + archives multiple times.
69700 + You may list the same archive multiple times on the command line.
69702 + This type of archive searching is standard for Unix linkers.
69703 + However, if you are using `ld' on AIX, note that it is different
69704 + from the behaviour of the AIX linker.
69707 +`--library-path=SEARCHDIR'
69708 + Add path SEARCHDIR to the list of paths that `ld' will search for
69709 + archive libraries and `ld' control scripts. You may use this
69710 + option any number of times. The directories are searched in the
69711 + order in which they are specified on the command line.
69712 + Directories specified on the command line are searched before the
69713 + default directories. All `-L' options apply to all `-l' options,
69714 + regardless of the order in which the options appear.
69716 + If SEARCHDIR begins with `=', then the `=' will be replaced by the
69717 + "sysroot prefix", a path specified when the linker is configured.
69719 + The default set of paths searched (without being specified with
69720 + `-L') depends on which emulation mode `ld' is using, and in some
69721 + cases also on how it was configured. *Note Environment::.
69723 + The paths can also be specified in a link script with the
69724 + `SEARCH_DIR' command. Directories specified this way are searched
69725 + at the point in which the linker script appears in the command
69729 + Emulate the EMULATION linker. You can list the available
69730 + emulations with the `--verbose' or `-V' options.
69732 + If the `-m' option is not used, the emulation is taken from the
69733 + `LDEMULATION' environment variable, if that is defined.
69735 + Otherwise, the default emulation depends upon how the linker was
69740 + Print a link map to the standard output. A link map provides
69741 + information about the link, including the following:
69743 + * Where object files are mapped into memory.
69745 + * How common symbols are allocated.
69747 + * All archive members included in the link, with a mention of
69748 + the symbol which caused the archive member to be brought in.
69750 + * The values assigned to symbols.
69752 + Note - symbols whose values are computed by an expression
69753 + which involves a reference to a previous value of the same
69754 + symbol may not have correct result displayed in the link map.
69755 + This is because the linker discards intermediate results and
69756 + only retains the final value of an expression. Under such
69757 + circumstances the linker will display the final value
69758 + enclosed by square brackets. Thus for example a linker
69759 + script containing:
69765 + will produce the following output in the link map if the `-M'
69768 + 0x00000001 foo = 0x1
69769 + [0x0000000c] foo = (foo * 0x4)
69770 + [0x0000000c] foo = (foo + 0x8)
69772 + See *Note Expressions:: for more information about
69773 + expressions in linker scripts.
69777 + Turn off page alignment of sections, and mark the output as
69778 + `NMAGIC' if possible.
69782 + Set the text and data sections to be readable and writable. Also,
69783 + do not page-align the data segment, and disable linking against
69784 + shared libraries. If the output format supports Unix style magic
69785 + numbers, mark the output as `OMAGIC'. Note: Although a writable
69786 + text section is allowed for PE-COFF targets, it does not conform
69787 + to the format specification published by Microsoft.
69790 + This option negates most of the effects of the `-N' option. It
69791 + sets the text section to be read-only, and forces the data segment
69792 + to be page-aligned. Note - this option does not enable linking
69793 + against shared libraries. Use `-Bdynamic' for this.
69797 + Use OUTPUT as the name for the program produced by `ld'; if this
69798 + option is not specified, the name `a.out' is used by default. The
69799 + script command `OUTPUT' can also specify the output file name.
69802 + If LEVEL is a numeric values greater than zero `ld' optimizes the
69803 + output. This might take significantly longer and therefore
69804 + probably should only be enabled for the final binary.
69808 + Leave relocation sections and contents in fully linked
69809 + exececutables. Post link analysis and optimization tools may need
69810 + this information in order to perform correct modifications of
69811 + executables. This results in larger executables.
69813 + This option is currently only supported on ELF platforms.
69816 + Force the output file to have dynamic sections. This option is
69817 + specific to VxWorks targets.
69821 + Generate relocatable output--i.e., generate an output file that
69822 + can in turn serve as input to `ld'. This is often called "partial
69823 + linking". As a side effect, in environments that support standard
69824 + Unix magic numbers, this option also sets the output file's magic
69825 + number to `OMAGIC'. If this option is not specified, an absolute
69826 + file is produced. When linking C++ programs, this option _will
69827 + not_ resolve references to constructors; to do that, use `-Ur'.
69829 + When an input file does not have the same format as the output
69830 + file, partial linking is only supported if that input file does
69831 + not contain any relocations. Different output formats can have
69832 + further restrictions; for example some `a.out'-based formats do
69833 + not support partial linking with input files in other formats at
69836 + This option does the same thing as `-i'.
69839 +`--just-symbols=FILENAME'
69840 + Read symbol names and their addresses from FILENAME, but do not
69841 + relocate it or include it in the output. This allows your output
69842 + file to refer symbolically to absolute locations of memory defined
69843 + in other programs. You may use this option more than once.
69845 + For compatibility with other ELF linkers, if the `-R' option is
69846 + followed by a directory name, rather than a file name, it is
69847 + treated as the `-rpath' option.
69851 + Omit all symbol information from the output file.
69855 + Omit debugger symbol information (but not all symbols) from the
69860 + Print the names of the input files as `ld' processes them.
69863 +`--script=SCRIPTFILE'
69864 + Use SCRIPTFILE as the linker script. This script replaces `ld''s
69865 + default linker script (rather than adding to it), so COMMANDFILE
69866 + must specify everything necessary to describe the output file.
69867 + *Note Scripts::. If SCRIPTFILE does not exist in the current
69868 + directory, `ld' looks for it in the directories specified by any
69869 + preceding `-L' options. Multiple `-T' options accumulate.
69872 +`--undefined=SYMBOL'
69873 + Force SYMBOL to be entered in the output file as an undefined
69874 + symbol. Doing this may, for example, trigger linking of additional
69875 + modules from standard libraries. `-u' may be repeated with
69876 + different option arguments to enter additional undefined symbols.
69877 + This option is equivalent to the `EXTERN' linker script command.
69880 + For anything other than C++ programs, this option is equivalent to
69881 + `-r': it generates relocatable output--i.e., an output file that
69882 + can in turn serve as input to `ld'. When linking C++ programs,
69883 + `-Ur' _does_ resolve references to constructors, unlike `-r'. It
69884 + does not work to use `-Ur' on files that were themselves linked
69885 + with `-Ur'; once the constructor table has been built, it cannot
69886 + be added to. Use `-Ur' only for the last partial link, and `-r'
69889 +`--unique[=SECTION]'
69890 + Creates a separate output section for every input section matching
69891 + SECTION, or if the optional wildcard SECTION argument is missing,
69892 + for every orphan input section. An orphan section is one not
69893 + specifically mentioned in a linker script. You may use this option
69894 + multiple times on the command line; It prevents the normal
69895 + merging of input sections with the same name, overriding output
69896 + section assignments in a linker script.
69901 + Display the version number for `ld'. The `-V' option also lists
69902 + the supported emulations.
69906 + Delete all local symbols.
69909 +`--discard-locals'
69910 + Delete all temporary local symbols. For most targets, this is all
69911 + local symbols whose names begin with `L'.
69914 +`--trace-symbol=SYMBOL'
69915 + Print the name of each linked file in which SYMBOL appears. This
69916 + option may be given any number of times. On many systems it is
69917 + necessary to prepend an underscore.
69919 + This option is useful when you have an undefined symbol in your
69920 + link but don't know where the reference is coming from.
69923 + Add PATH to the default library search path. This option exists
69924 + for Solaris compatibility.
69927 + The recognized keywords are:
69929 + Combines multiple reloc sections and sorts them to make
69930 + dynamic symbol lookup caching possible.
69933 + Disallows undefined symbols in object files. Undefined
69934 + symbols in shared libraries are still allowed.
69937 + Marks the object as requiring executable stack.
69940 + This option is only meaningful when building a shared object.
69941 + It marks the object so that its runtime initialization will
69942 + occur before the runtime initialization of any other objects
69943 + brought into the process at the same time. Similarly the
69944 + runtime finalization of the object will occur after the
69945 + runtime finalization of any other objects.
69948 + Marks the object that its symbol table interposes before all
69949 + symbols but the primary executable.
69952 + Marks the object that its filters be processed immediately at
69956 + Allows multiple definitions.
69959 + Disables multiple reloc sections combining.
69962 + Disables production of copy relocs.
69965 + Marks the object that the search for dependencies of this
69966 + object will ignore any default library search paths.
69969 + Marks the object shouldn't be unloaded at runtime.
69972 + Marks the object not available to `dlopen'.
69975 + Marks the object can not be dumped by `dldump'.
69978 + Marks the object as not requiring executable stack.
69981 + Don't create an ELF `PT_GNU_RELRO' segment header in the
69985 + When generating an executable or shared library, mark it to
69986 + tell the dynamic linker to resolve all symbols when the
69987 + program is started, or when the shared library is linked to
69988 + using dlopen, instead of deferring function call resolution
69989 + to the point when the function is first called.
69992 + Marks the object may contain $ORIGIN.
69995 + Create an ELF `PT_GNU_RELRO' segment header in the object.
69998 + Other keywords are ignored for Solaris compatibility.
70001 +`--start-group ARCHIVES --end-group'
70002 + The ARCHIVES should be a list of archive files. They may be
70003 + either explicit file names, or `-l' options.
70005 + The specified archives are searched repeatedly until no new
70006 + undefined references are created. Normally, an archive is
70007 + searched only once in the order that it is specified on the
70008 + command line. If a symbol in that archive is needed to resolve an
70009 + undefined symbol referred to by an object in an archive that
70010 + appears later on the command line, the linker would not be able to
70011 + resolve that reference. By grouping the archives, they all be
70012 + searched repeatedly until all possible references are resolved.
70014 + Using this option has a significant performance cost. It is best
70015 + to use it only when there are unavoidable circular references
70016 + between two or more archives.
70018 +`--accept-unknown-input-arch'
70019 +`--no-accept-unknown-input-arch'
70020 + Tells the linker to accept input files whose architecture cannot be
70021 + recognised. The assumption is that the user knows what they are
70022 + doing and deliberately wants to link in these unknown input files.
70023 + This was the default behaviour of the linker, before release
70024 + 2.14. The default behaviour from release 2.14 onwards is to
70025 + reject such input files, and so the `--accept-unknown-input-arch'
70026 + option has been added to restore the old behaviour.
70030 + This option affects ELF DT_NEEDED tags for dynamic libraries
70031 + mentioned on the command line after the `--as-needed' option.
70032 + Normally, the linker will add a DT_NEEDED tag for each dynamic
70033 + library mentioned on the command line, regardless of whether the
70034 + library is actually needed. `--as-needed' causes DT_NEEDED tags
70035 + to only be emitted for libraries that satisfy some symbol
70036 + reference from regular objects which is undefined at the point
70037 + that the library was linked. `--no-as-needed' restores the
70038 + default behaviour.
70042 + This option affects the treatment of dynamic libraries from ELF
70043 + DT_NEEDED tags in dynamic libraries mentioned on the command line
70044 + after the `--no-add-needed' option. Normally, the linker will add
70045 + a DT_NEEDED tag for each dynamic library from DT_NEEDED tags.
70046 + `--no-add-needed' causes DT_NEEDED tags will never be emitted for
70047 + those libraries from DT_NEEDED tags. `--add-needed' restores the
70048 + default behaviour.
70051 + This option is ignored for SunOS compatibility.
70056 + Link against dynamic libraries. This is only meaningful on
70057 + platforms for which shared libraries are supported. This option
70058 + is normally the default on such platforms. The different variants
70059 + of this option are for compatibility with various systems. You
70060 + may use this option multiple times on the command line: it affects
70061 + library searching for `-l' options which follow it.
70064 + Set the `DF_1_GROUP' flag in the `DT_FLAGS_1' entry in the dynamic
70065 + section. This causes the runtime linker to handle lookups in this
70066 + object and its dependencies to be performed only inside the group.
70067 + `--unresolved-symbols=report-all' is implied. This option is only
70068 + meaningful on ELF platforms which support shared libraries.
70074 + Do not link against shared libraries. This is only meaningful on
70075 + platforms for which shared libraries are supported. The different
70076 + variants of this option are for compatibility with various
70077 + systems. You may use this option multiple times on the command
70078 + line: it affects library searching for `-l' options which follow
70079 + it. This option also implies `--unresolved-symbols=report-all'.
70080 + This option can be used with `-shared'. Doing so means that a
70081 + shared library is being created but that all of the library's
70082 + external references must be resolved by pulling in entries from
70083 + static libraries.
70086 + When creating a shared library, bind references to global symbols
70087 + to the definition within the shared library, if any. Normally, it
70088 + is possible for a program linked against a shared library to
70089 + override the definition within the shared library. This option is
70090 + only meaningful on ELF platforms which support shared libraries.
70092 +`--check-sections'
70093 +`--no-check-sections'
70094 + Asks the linker _not_ to check section addresses after they have
70095 + been assigned to see if there are any overlaps. Normally the
70096 + linker will perform this check, and if it finds any overlaps it
70097 + will produce suitable error messages. The linker does know about,
70098 + and does make allowances for sections in overlays. The default
70099 + behaviour can be restored by using the command line switch
70100 + `--check-sections'.
70103 + Output a cross reference table. If a linker map file is being
70104 + generated, the cross reference table is printed to the map file.
70105 + Otherwise, it is printed on the standard output.
70107 + The format of the table is intentionally simple, so that it may be
70108 + easily processed by a script if necessary. The symbols are
70109 + printed out, sorted by name. For each symbol, a list of file
70110 + names is given. If the symbol is defined, the first file listed
70111 + is the location of the definition. The remaining files contain
70112 + references to the symbol.
70114 +`--no-define-common'
70115 + This option inhibits the assignment of addresses to common symbols.
70116 + The script command `INHIBIT_COMMON_ALLOCATION' has the same effect.
70117 + *Note Miscellaneous Commands::.
70119 + The `--no-define-common' option allows decoupling the decision to
70120 + assign addresses to Common symbols from the choice of the output
70121 + file type; otherwise a non-Relocatable output type forces
70122 + assigning addresses to Common symbols. Using `--no-define-common'
70123 + allows Common symbols that are referenced from a shared library to
70124 + be assigned addresses only in the main program. This eliminates
70125 + the unused duplicate space in the shared library, and also
70126 + prevents any possible confusion over resolving to the wrong
70127 + duplicate when there are many dynamic modules with specialized
70128 + search paths for runtime symbol resolution.
70130 +`--defsym SYMBOL=EXPRESSION'
70131 + Create a global symbol in the output file, containing the absolute
70132 + address given by EXPRESSION. You may use this option as many
70133 + times as necessary to define multiple symbols in the command line.
70134 + A limited form of arithmetic is supported for the EXPRESSION in
70135 + this context: you may give a hexadecimal constant or the name of
70136 + an existing symbol, or use `+' and `-' to add or subtract
70137 + hexadecimal constants or symbols. If you need more elaborate
70138 + expressions, consider using the linker command language from a
70139 + script (*note Assignment: Symbol Definitions: Assignments.).
70140 + _Note:_ there should be no white space between SYMBOL, the equals
70141 + sign ("<=>"), and EXPRESSION.
70143 +`--demangle[=STYLE]'
70145 + These options control whether to demangle symbol names in error
70146 + messages and other output. When the linker is told to demangle,
70147 + it tries to present symbol names in a readable fashion: it strips
70148 + leading underscores if they are used by the object file format,
70149 + and converts C++ mangled symbol names into user readable names.
70150 + Different compilers have different mangling styles. The optional
70151 + demangling style argument can be used to choose an appropriate
70152 + demangling style for your compiler. The linker will demangle by
70153 + default unless the environment variable `COLLECT_NO_DEMANGLE' is
70154 + set. These options may be used to override the default.
70156 +`--dynamic-linker FILE'
70157 + Set the name of the dynamic linker. This is only meaningful when
70158 + generating dynamically linked ELF executables. The default dynamic
70159 + linker is normally correct; don't use this unless you know what
70162 +`--fatal-warnings'
70163 + Treat all warnings as errors.
70165 +`--force-exe-suffix'
70166 + Make sure that an output file has a .exe suffix.
70168 + If a successfully built fully linked output file does not have a
70169 + `.exe' or `.dll' suffix, this option forces the linker to copy the
70170 + output file to one of the same name with a `.exe' suffix. This
70171 + option is useful when using unmodified Unix makefiles on a
70172 + Microsoft Windows host, since some versions of Windows won't run
70173 + an image unless it ends in a `.exe' suffix.
70175 +`--no-gc-sections'
70177 + Enable garbage collection of unused input sections. It is ignored
70178 + on targets that do not support this option. This option is not
70179 + compatible with `-r'. The default behaviour (of not performing
70180 + this garbage collection) can be restored by specifying
70181 + `--no-gc-sections' on the command line.
70184 + Print a summary of the command-line options on the standard output
70188 + Print a summary of all target specific options on the standard
70192 + Print a link map to the file MAPFILE. See the description of the
70193 + `-M' option, above.
70195 +`--no-keep-memory'
70196 + `ld' normally optimizes for speed over memory usage by caching the
70197 + symbol tables of input files in memory. This option tells `ld' to
70198 + instead optimize for memory usage, by rereading the symbol tables
70199 + as necessary. This may be required if `ld' runs out of memory
70200 + space while linking a large executable.
70204 + Report unresolved symbol references from regular object files.
70205 + This is done even if the linker is creating a non-symbolic shared
70206 + library. The switch `--[no-]allow-shlib-undefined' controls the
70207 + behaviour for reporting unresolved references found in shared
70208 + libraries being linked in.
70210 +`--allow-multiple-definition'
70212 + Normally when a symbol is defined multiple times, the linker will
70213 + report a fatal error. These options allow multiple definitions and
70214 + the first definition will be used.
70216 +`--allow-shlib-undefined'
70217 +`--no-allow-shlib-undefined'
70218 + Allows (the default) or disallows undefined symbols in shared
70219 + libraries. This switch is similar to `--no-undefined' except that
70220 + it determines the behaviour when the undefined symbols are in a
70221 + shared library rather than a regular object file. It does not
70222 + affect how undefined symbols in regular object files are handled.
70224 + The reason that `--allow-shlib-undefined' is the default is that
70225 + the shared library being specified at link time may not be the
70226 + same as the one that is available at load time, so the symbols
70227 + might actually be resolvable at load time. Plus there are some
70228 + systems, (eg BeOS) where undefined symbols in shared libraries is
70229 + normal. (The kernel patches them at load time to select which
70230 + function is most appropriate for the current architecture. This
70231 + is used for example to dynamically select an appropriate memset
70232 + function). Apparently it is also normal for HPPA shared libraries
70233 + to have undefined symbols.
70235 +`--no-undefined-version'
70236 + Normally when a symbol has an undefined version, the linker will
70237 + ignore it. This option disallows symbols with undefined version
70238 + and a fatal error will be issued instead.
70240 +`--default-symver'
70241 + Create and use a default symbol version (the soname) for
70242 + unversioned exported symbols.
70244 +`--default-imported-symver'
70245 + Create and use a default symbol version (the soname) for
70246 + unversioned imported symbols.
70248 +`--no-warn-mismatch'
70249 + Normally `ld' will give an error if you try to link together input
70250 + files that are mismatched for some reason, perhaps because they
70251 + have been compiled for different processors or for different
70252 + endiannesses. This option tells `ld' that it should silently
70253 + permit such possible errors. This option should only be used with
70254 + care, in cases when you have taken some special action that
70255 + ensures that the linker errors are inappropriate.
70257 +`--no-whole-archive'
70258 + Turn off the effect of the `--whole-archive' option for subsequent
70261 +`--noinhibit-exec'
70262 + Retain the executable output file whenever it is still usable.
70263 + Normally, the linker will not produce an output file if it
70264 + encounters errors during the link process; it exits without
70265 + writing an output file when it issues any error whatsoever.
70268 + Only search library directories explicitly specified on the
70269 + command line. Library directories specified in linker scripts
70270 + (including linker scripts specified on the command line) are
70273 +`--oformat OUTPUT-FORMAT'
70274 + `ld' may be configured to support more than one kind of object
70275 + file. If your `ld' is configured this way, you can use the
70276 + `--oformat' option to specify the binary format for the output
70277 + object file. Even when `ld' is configured to support alternative
70278 + object formats, you don't usually need to specify this, as `ld'
70279 + should be configured to produce as a default output format the most
70280 + usual format on each machine. OUTPUT-FORMAT is a text string, the
70281 + name of a particular format supported by the BFD libraries. (You
70282 + can list the available binary formats with `objdump -i'.) The
70283 + script command `OUTPUT_FORMAT' can also specify the output format,
70284 + but this option overrides it. *Note BFD::.
70287 +`--pic-executable'
70288 + Create a position independent executable. This is currently only
70289 + supported on ELF platforms. Position independent executables are
70290 + similar to shared libraries in that they are relocated by the
70291 + dynamic linker to the virtual address the OS chooses for them
70292 + (which can vary between invocations). Like normal dynamically
70293 + linked executables they can be executed and symbols defined in the
70294 + executable cannot be overridden by shared libraries.
70297 + This option is ignored for Linux compatibility.
70300 + This option is ignored for SVR4 compatibility.
70303 + An option with machine dependent effects. This option is only
70304 + supported on a few targets. *Note `ld' and the H8/300: H8/300.
70305 + *Note `ld' and the Intel 960 family: i960. *Note `ld' and Xtensa
70306 + Processors: Xtensa. *Note `ld' and PowerPC 32-bit ELF Support:
70309 + On some platforms, the `--relax' option performs global
70310 + optimizations that become possible when the linker resolves
70311 + addressing in the program, such as relaxing address modes and
70312 + synthesizing new instructions in the output object file.
70314 + On some platforms these link time global optimizations may make
70315 + symbolic debugging of the resulting executable impossible. This
70316 + is known to be the case for the Matsushita MN10200 and MN10300
70317 + family of processors.
70319 + On platforms where this is not supported, `--relax' is accepted,
70322 +`--retain-symbols-file FILENAME'
70323 + Retain _only_ the symbols listed in the file FILENAME, discarding
70324 + all others. FILENAME is simply a flat file, with one symbol name
70325 + per line. This option is especially useful in environments (such
70326 + as VxWorks) where a large global symbol table is accumulated
70327 + gradually, to conserve run-time memory.
70329 + `--retain-symbols-file' does _not_ discard undefined symbols, or
70330 + symbols needed for relocations.
70332 + You may only specify `--retain-symbols-file' once in the command
70333 + line. It overrides `-s' and `-S'.
70336 + Add a directory to the runtime library search path. This is used
70337 + when linking an ELF executable with shared objects. All `-rpath'
70338 + arguments are concatenated and passed to the runtime linker, which
70339 + uses them to locate shared objects at runtime. The `-rpath'
70340 + option is also used when locating shared objects which are needed
70341 + by shared objects explicitly included in the link; see the
70342 + description of the `-rpath-link' option. If `-rpath' is not used
70343 + when linking an ELF executable, the contents of the environment
70344 + variable `LD_RUN_PATH' will be used if it is defined.
70346 + The `-rpath' option may also be used on SunOS. By default, on
70347 + SunOS, the linker will form a runtime search patch out of all the
70348 + `-L' options it is given. If a `-rpath' option is used, the
70349 + runtime search path will be formed exclusively using the `-rpath'
70350 + options, ignoring the `-L' options. This can be useful when using
70351 + gcc, which adds many `-L' options which may be on NFS mounted
70354 + For compatibility with other ELF linkers, if the `-R' option is
70355 + followed by a directory name, rather than a file name, it is
70356 + treated as the `-rpath' option.
70359 + When using ELF or SunOS, one shared library may require another.
70360 + This happens when an `ld -shared' link includes a shared library
70361 + as one of the input files.
70363 + When the linker encounters such a dependency when doing a
70364 + non-shared, non-relocatable link, it will automatically try to
70365 + locate the required shared library and include it in the link, if
70366 + it is not included explicitly. In such a case, the `-rpath-link'
70367 + option specifies the first set of directories to search. The
70368 + `-rpath-link' option may specify a sequence of directory names
70369 + either by specifying a list of names separated by colons, or by
70370 + appearing multiple times.
70372 + This option should be used with caution as it overrides the search
70373 + path that may have been hard compiled into a shared library. In
70374 + such a case it is possible to use unintentionally a different
70375 + search path than the runtime linker would do.
70377 + The linker uses the following search paths to locate required
70378 + shared libraries.
70379 + 1. Any directories specified by `-rpath-link' options.
70381 + 2. Any directories specified by `-rpath' options. The difference
70382 + between `-rpath' and `-rpath-link' is that directories
70383 + specified by `-rpath' options are included in the executable
70384 + and used at runtime, whereas the `-rpath-link' option is only
70385 + effective at link time. It is for the native linker only.
70387 + 3. On an ELF system, if the `-rpath' and `rpath-link' options
70388 + were not used, search the contents of the environment variable
70389 + `LD_RUN_PATH'. It is for the native linker only.
70391 + 4. On SunOS, if the `-rpath' option was not used, search any
70392 + directories specified using `-L' options.
70394 + 5. For a native linker, the contents of the environment variable
70395 + `LD_LIBRARY_PATH'.
70397 + 6. For a native ELF linker, the directories in `DT_RUNPATH' or
70398 + `DT_RPATH' of a shared library are searched for shared
70399 + libraries needed by it. The `DT_RPATH' entries are ignored if
70400 + `DT_RUNPATH' entries exist.
70402 + 7. The default directories, normally `/lib' and `/usr/lib'.
70404 + 8. For a native linker on an ELF system, if the file
70405 + `/etc/ld.so.conf' exists, the list of directories found in
70408 + If the required shared library is not found, the linker will issue
70409 + a warning and continue with the link.
70413 + Create a shared library. This is currently only supported on ELF,
70414 + XCOFF and SunOS platforms. On SunOS, the linker will
70415 + automatically create a shared library if the `-e' option is not
70416 + used and there are undefined symbols in the link.
70419 + This option tells `ld' to sort the common symbols by size when it
70420 + places them in the appropriate output sections. First come all
70421 + the one byte symbols, then all the two byte, then all the four
70422 + byte, and then everything else. This is to prevent gaps between
70423 + symbols due to alignment constraints.
70425 +`--sort-section name'
70426 + This option will apply `SORT_BY_NAME' to all wildcard section
70427 + patterns in the linker script.
70429 +`--sort-section alignment'
70430 + This option will apply `SORT_BY_ALIGNMENT' to all wildcard section
70431 + patterns in the linker script.
70433 +`--split-by-file [SIZE]'
70434 + Similar to `--split-by-reloc' but creates a new output section for
70435 + each input file when SIZE is reached. SIZE defaults to a size of
70438 +`--split-by-reloc [COUNT]'
70439 + Tries to creates extra sections in the output file so that no
70440 + single output section in the file contains more than COUNT
70441 + relocations. This is useful when generating huge relocatable
70442 + files for downloading into certain real time kernels with the COFF
70443 + object file format; since COFF cannot represent more than 65535
70444 + relocations in a single section. Note that this will fail to work
70445 + with object file formats which do not support arbitrary sections.
70446 + The linker will not split up individual input sections for
70447 + redistribution, so if a single input section contains more than
70448 + COUNT relocations one output section will contain that many
70449 + relocations. COUNT defaults to a value of 32768.
70452 + Compute and display statistics about the operation of the linker,
70453 + such as execution time and memory usage.
70455 +`--sysroot=DIRECTORY'
70456 + Use DIRECTORY as the location of the sysroot, overriding the
70457 + configure-time default. This option is only supported by linkers
70458 + that were configured using `--with-sysroot'.
70460 +`--traditional-format'
70461 + For some targets, the output of `ld' is different in some ways from
70462 + the output of some existing linker. This switch requests `ld' to
70463 + use the traditional format instead.
70465 + For example, on SunOS, `ld' combines duplicate entries in the
70466 + symbol string table. This can reduce the size of an output file
70467 + with full debugging information by over 30 percent.
70468 + Unfortunately, the SunOS `dbx' program can not read the resulting
70469 + program (`gdb' has no trouble). The `--traditional-format' switch
70470 + tells `ld' to not combine duplicate entries.
70472 +`--section-start SECTIONNAME=ORG'
70473 + Locate a section in the output file at the absolute address given
70474 + by ORG. You may use this option as many times as necessary to
70475 + locate multiple sections in the command line. ORG must be a
70476 + single hexadecimal integer; for compatibility with other linkers,
70477 + you may omit the leading `0x' usually associated with hexadecimal
70478 + values. _Note:_ there should be no white space between
70479 + SECTIONNAME, the equals sign ("<=>"), and ORG.
70484 + Same as -section-start, with `.bss', `.data' or `.text' as the
70487 +`--unresolved-symbols=METHOD'
70488 + Determine how to handle unresolved symbols. There are four
70489 + possible values for `method':
70492 + Do not report any unresolved symbols.
70495 + Report all unresolved symbols. This is the default.
70497 + `ignore-in-object-files'
70498 + Report unresolved symbols that are contained in shared
70499 + libraries, but ignore them if they come from regular object
70502 + `ignore-in-shared-libs'
70503 + Report unresolved symbols that come from regular object
70504 + files, but ignore them if they come from shared libraries.
70505 + This can be useful when creating a dynamic binary and it is
70506 + known that all the shared libraries that it should be
70507 + referencing are included on the linker's command line.
70509 + The behaviour for shared libraries on their own can also be
70510 + controlled by the `--[no-]allow-shlib-undefined' option.
70512 + Normally the linker will generate an error message for each
70513 + reported unresolved symbol but the option
70514 + `--warn-unresolved-symbols' can change this to a warning.
70518 + Display the version number for `ld' and list the linker emulations
70519 + supported. Display which input files can and cannot be opened.
70520 + Display the linker script being used by the linker.
70522 +`--version-script=VERSION-SCRIPTFILE'
70523 + Specify the name of a version script to the linker. This is
70524 + typically used when creating shared libraries to specify
70525 + additional information about the version hierarchy for the library
70526 + being created. This option is only meaningful on ELF platforms
70527 + which support shared libraries. *Note VERSION::.
70530 + Warn when a common symbol is combined with another common symbol
70531 + or with a symbol definition. Unix linkers allow this somewhat
70532 + sloppy practise, but linkers on some other operating systems do
70533 + not. This option allows you to find potential problems from
70534 + combining global symbols. Unfortunately, some C libraries use
70535 + this practise, so you may get some warnings about symbols in the
70536 + libraries as well as in your programs.
70538 + There are three kinds of global symbols, illustrated here by C
70542 + A definition, which goes in the initialized data section of
70546 + An undefined reference, which does not allocate space. There
70547 + must be either a definition or a common symbol for the
70548 + variable somewhere.
70551 + A common symbol. If there are only (one or more) common
70552 + symbols for a variable, it goes in the uninitialized data
70553 + area of the output file. The linker merges multiple common
70554 + symbols for the same variable into a single symbol. If they
70555 + are of different sizes, it picks the largest size. The
70556 + linker turns a common symbol into a declaration, if there is
70557 + a definition of the same variable.
70559 + The `--warn-common' option can produce five kinds of warnings.
70560 + Each warning consists of a pair of lines: the first describes the
70561 + symbol just encountered, and the second describes the previous
70562 + symbol encountered with the same name. One or both of the two
70563 + symbols will be a common symbol.
70565 + 1. Turning a common symbol into a reference, because there is
70566 + already a definition for the symbol.
70567 + FILE(SECTION): warning: common of `SYMBOL'
70568 + overridden by definition
70569 + FILE(SECTION): warning: defined here
70571 + 2. Turning a common symbol into a reference, because a later
70572 + definition for the symbol is encountered. This is the same
70573 + as the previous case, except that the symbols are encountered
70574 + in a different order.
70575 + FILE(SECTION): warning: definition of `SYMBOL'
70576 + overriding common
70577 + FILE(SECTION): warning: common is here
70579 + 3. Merging a common symbol with a previous same-sized common
70581 + FILE(SECTION): warning: multiple common
70583 + FILE(SECTION): warning: previous common is here
70585 + 4. Merging a common symbol with a previous larger common symbol.
70586 + FILE(SECTION): warning: common of `SYMBOL'
70587 + overridden by larger common
70588 + FILE(SECTION): warning: larger common is here
70590 + 5. Merging a common symbol with a previous smaller common
70591 + symbol. This is the same as the previous case, except that
70592 + the symbols are encountered in a different order.
70593 + FILE(SECTION): warning: common of `SYMBOL'
70594 + overriding smaller common
70595 + FILE(SECTION): warning: smaller common is here
70597 +`--warn-constructors'
70598 + Warn if any global constructors are used. This is only useful for
70599 + a few object file formats. For formats like COFF or ELF, the
70600 + linker can not detect the use of global constructors.
70602 +`--warn-multiple-gp'
70603 + Warn if multiple global pointer values are required in the output
70604 + file. This is only meaningful for certain processors, such as the
70605 + Alpha. Specifically, some processors put large-valued constants
70606 + in a special section. A special register (the global pointer)
70607 + points into the middle of this section, so that constants can be
70608 + loaded efficiently via a base-register relative addressing mode.
70609 + Since the offset in base-register relative mode is fixed and
70610 + relatively small (e.g., 16 bits), this limits the maximum size of
70611 + the constant pool. Thus, in large programs, it is often necessary
70612 + to use multiple global pointer values in order to be able to
70613 + address all possible constants. This option causes a warning to
70614 + be issued whenever this case occurs.
70617 + Only warn once for each undefined symbol, rather than once per
70618 + module which refers to it.
70620 +`--warn-section-align'
70621 + Warn if the address of an output section is changed because of
70622 + alignment. Typically, the alignment will be set by an input
70623 + section. The address will only be changed if it not explicitly
70624 + specified; that is, if the `SECTIONS' command does not specify a
70625 + start address for the section (*note SECTIONS::).
70627 +`--warn-shared-textrel'
70628 + Warn if the linker adds a DT_TEXTREL to a shared object.
70630 +`--warn-unresolved-symbols'
70631 + If the linker is going to report an unresolved symbol (see the
70632 + option `--unresolved-symbols') it will normally generate an error.
70633 + This option makes it generate a warning instead.
70635 +`--error-unresolved-symbols'
70636 + This restores the linker's default behaviour of generating errors
70637 + when it is reporting unresolved symbols.
70640 + For each archive mentioned on the command line after the
70641 + `--whole-archive' option, include every object file in the archive
70642 + in the link, rather than searching the archive for the required
70643 + object files. This is normally used to turn an archive file into
70644 + a shared library, forcing every object to be included in the
70645 + resulting shared library. This option may be used more than once.
70647 + Two notes when using this option from gcc: First, gcc doesn't know
70648 + about this option, so you have to use `-Wl,-whole-archive'.
70649 + Second, don't forget to use `-Wl,-no-whole-archive' after your
70650 + list of archives, because gcc will add its own list of archives to
70651 + your link and you may not want this flag to affect those as well.
70654 + Use a wrapper function for SYMBOL. Any undefined reference to
70655 + SYMBOL will be resolved to `__wrap_SYMBOL'. Any undefined
70656 + reference to `__real_SYMBOL' will be resolved to SYMBOL.
70658 + This can be used to provide a wrapper for a system function. The
70659 + wrapper function should be called `__wrap_SYMBOL'. If it wishes
70660 + to call the system function, it should call `__real_SYMBOL'.
70662 + Here is a trivial example:
70665 + __wrap_malloc (size_t c)
70667 + printf ("malloc called with %zu\n", c);
70668 + return __real_malloc (c);
70671 + If you link other code with this file using `--wrap malloc', then
70672 + all calls to `malloc' will call the function `__wrap_malloc'
70673 + instead. The call to `__real_malloc' in `__wrap_malloc' will call
70674 + the real `malloc' function.
70676 + You may wish to provide a `__real_malloc' function as well, so that
70677 + links without the `--wrap' option will succeed. If you do this,
70678 + you should not put the definition of `__real_malloc' in the same
70679 + file as `__wrap_malloc'; if you do, the assembler may resolve the
70680 + call before the linker has a chance to wrap it to `malloc'.
70683 + Request creation of `.eh_frame_hdr' section and ELF
70684 + `PT_GNU_EH_FRAME' segment header.
70686 +`--enable-new-dtags'
70687 +`--disable-new-dtags'
70688 + This linker can create the new dynamic tags in ELF. But the older
70689 + ELF systems may not understand them. If you specify
70690 + `--enable-new-dtags', the dynamic tags will be created as needed.
70691 + If you specify `--disable-new-dtags', no new dynamic tags will be
70692 + created. By default, the new dynamic tags are not created. Note
70693 + that those options are only available for ELF systems.
70695 +`--hash-size=NUMBER'
70696 + Set the default size of the linker's hash tables to a prime number
70697 + close to NUMBER. Increasing this value can reduce the length of
70698 + time it takes the linker to perform its tasks, at the expense of
70699 + increasing the linker's memory requirements. Similarly reducing
70700 + this value can reduce the memory requirements at the expense of
70703 +`--reduce-memory-overheads'
70704 + This option reduces memory requirements at ld runtime, at the
70705 + expense of linking speed. This was introduced to select the old
70706 + O(n^2) algorithm for link map file generation, rather than the new
70707 + O(n) algorithm which uses about 40% more memory for symbol storage.
70709 + Another effect of the switch is to set the default hash table size
70710 + to 1021, which again saves memory at the cost of lengthening the
70711 + linker's run time. This is not done however if the `--hash-size'
70712 + switch has been used.
70714 + The `--reduce-memory-overheads' switch may be also be used to
70715 + enable other tradeoffs in future versions of the linker.
70718 +2.1.1 Options Specific to i386 PE Targets
70719 +-----------------------------------------
70721 +The i386 PE linker supports the `-shared' option, which causes the
70722 +output to be a dynamically linked library (DLL) instead of a normal
70723 +executable. You should name the output `*.dll' when you use this
70724 +option. In addition, the linker fully supports the standard `*.def'
70725 +files, which may be specified on the linker command line like an object
70726 +file (in fact, it should precede archives it exports symbols from, to
70727 +ensure that they get linked in, just like a normal object file).
70729 + In addition to the options common to all targets, the i386 PE linker
70730 +support additional command line options that are specific to the i386
70731 +PE target. Options that take values may be separated from their values
70732 +by either a space or an equals sign.
70734 +`--add-stdcall-alias'
70735 + If given, symbols with a stdcall suffix (@NN) will be exported
70736 + as-is and also with the suffix stripped. [This option is specific
70737 + to the i386 PE targeted port of the linker]
70739 +`--base-file FILE'
70740 + Use FILE as the name of a file in which to save the base addresses
70741 + of all the relocations needed for generating DLLs with `dlltool'.
70742 + [This is an i386 PE specific option]
70745 + Create a DLL instead of a regular executable. You may also use
70746 + `-shared' or specify a `LIBRARY' in a given `.def' file. [This
70747 + option is specific to the i386 PE targeted port of the linker]
70749 +`--enable-stdcall-fixup'
70750 +`--disable-stdcall-fixup'
70751 + If the link finds a symbol that it cannot resolve, it will attempt
70752 + to do "fuzzy linking" by looking for another defined symbol that
70753 + differs only in the format of the symbol name (cdecl vs stdcall)
70754 + and will resolve that symbol by linking to the match. For
70755 + example, the undefined symbol `_foo' might be linked to the
70756 + function `_foo@12', or the undefined symbol `_bar@16' might be
70757 + linked to the function `_bar'. When the linker does this, it
70758 + prints a warning, since it normally should have failed to link,
70759 + but sometimes import libraries generated from third-party dlls may
70760 + need this feature to be usable. If you specify
70761 + `--enable-stdcall-fixup', this feature is fully enabled and
70762 + warnings are not printed. If you specify
70763 + `--disable-stdcall-fixup', this feature is disabled and such
70764 + mismatches are considered to be errors. [This option is specific
70765 + to the i386 PE targeted port of the linker]
70767 +`--export-all-symbols'
70768 + If given, all global symbols in the objects used to build a DLL
70769 + will be exported by the DLL. Note that this is the default if
70770 + there otherwise wouldn't be any exported symbols. When symbols are
70771 + explicitly exported via DEF files or implicitly exported via
70772 + function attributes, the default is to not export anything else
70773 + unless this option is given. Note that the symbols `DllMain@12',
70774 + `DllEntryPoint@0', `DllMainCRTStartup@12', and `impure_ptr' will
70775 + not be automatically exported. Also, symbols imported from other
70776 + DLLs will not be re-exported, nor will symbols specifying the
70777 + DLL's internal layout such as those beginning with `_head_' or
70778 + ending with `_iname'. In addition, no symbols from `libgcc',
70779 + `libstd++', `libmingw32', or `crtX.o' will be exported. Symbols
70780 + whose names begin with `__rtti_' or `__builtin_' will not be
70781 + exported, to help with C++ DLLs. Finally, there is an extensive
70782 + list of cygwin-private symbols that are not exported (obviously,
70783 + this applies on when building DLLs for cygwin targets). These
70784 + cygwin-excludes are: `_cygwin_dll_entry@12',
70785 + `_cygwin_crt0_common@8', `_cygwin_noncygwin_dll_entry@12',
70786 + `_fmode', `_impure_ptr', `cygwin_attach_dll', `cygwin_premain0',
70787 + `cygwin_premain1', `cygwin_premain2', `cygwin_premain3', and
70788 + `environ'. [This option is specific to the i386 PE targeted port
70791 +`--exclude-symbols SYMBOL,SYMBOL,...'
70792 + Specifies a list of symbols which should not be automatically
70793 + exported. The symbol names may be delimited by commas or colons.
70794 + [This option is specific to the i386 PE targeted port of the
70797 +`--file-alignment'
70798 + Specify the file alignment. Sections in the file will always
70799 + begin at file offsets which are multiples of this number. This
70800 + defaults to 512. [This option is specific to the i386 PE targeted
70801 + port of the linker]
70804 +`--heap RESERVE,COMMIT'
70805 + Specify the amount of memory to reserve (and optionally commit) to
70806 + be used as heap for this program. The default is 1Mb reserved, 4K
70807 + committed. [This option is specific to the i386 PE targeted port
70810 +`--image-base VALUE'
70811 + Use VALUE as the base address of your program or dll. This is the
70812 + lowest memory location that will be used when your program or dll
70813 + is loaded. To reduce the need to relocate and improve performance
70814 + of your dlls, each should have a unique base address and not
70815 + overlap any other dlls. The default is 0x400000 for executables,
70816 + and 0x10000000 for dlls. [This option is specific to the i386 PE
70817 + targeted port of the linker]
70820 + If given, the stdcall suffixes (@NN) will be stripped from symbols
70821 + before they are exported. [This option is specific to the i386 PE
70822 + targeted port of the linker]
70824 +`--large-address-aware'
70825 + If given, the appropriate bit in the "Charateristics" field of the
70826 + COFF header is set to indicate that this executable supports
70827 + virtual addresses greater than 2 gigabytes. This should be used
70828 + in conjuction with the /3GB or /USERVA=VALUE megabytes switch in
70829 + the "[operating systems]" section of the BOOT.INI. Otherwise,
70830 + this bit has no effect. [This option is specific to PE targeted
70831 + ports of the linker]
70833 +`--major-image-version VALUE'
70834 + Sets the major number of the "image version". Defaults to 1.
70835 + [This option is specific to the i386 PE targeted port of the
70838 +`--major-os-version VALUE'
70839 + Sets the major number of the "os version". Defaults to 4. [This
70840 + option is specific to the i386 PE targeted port of the linker]
70842 +`--major-subsystem-version VALUE'
70843 + Sets the major number of the "subsystem version". Defaults to 4.
70844 + [This option is specific to the i386 PE targeted port of the
70847 +`--minor-image-version VALUE'
70848 + Sets the minor number of the "image version". Defaults to 0.
70849 + [This option is specific to the i386 PE targeted port of the
70852 +`--minor-os-version VALUE'
70853 + Sets the minor number of the "os version". Defaults to 0. [This
70854 + option is specific to the i386 PE targeted port of the linker]
70856 +`--minor-subsystem-version VALUE'
70857 + Sets the minor number of the "subsystem version". Defaults to 0.
70858 + [This option is specific to the i386 PE targeted port of the
70861 +`--output-def FILE'
70862 + The linker will create the file FILE which will contain a DEF file
70863 + corresponding to the DLL the linker is generating. This DEF file
70864 + (which should be called `*.def') may be used to create an import
70865 + library with `dlltool' or may be used as a reference to
70866 + automatically or implicitly exported symbols. [This option is
70867 + specific to the i386 PE targeted port of the linker]
70869 +`--out-implib FILE'
70870 + The linker will create the file FILE which will contain an import
70871 + lib corresponding to the DLL the linker is generating. This import
70872 + lib (which should be called `*.dll.a' or `*.a' may be used to link
70873 + clients against the generated DLL; this behaviour makes it
70874 + possible to skip a separate `dlltool' import library creation step.
70875 + [This option is specific to the i386 PE targeted port of the
70878 +`--enable-auto-image-base'
70879 + Automatically choose the image base for DLLs, unless one is
70880 + specified using the `--image-base' argument. By using a hash
70881 + generated from the dllname to create unique image bases for each
70882 + DLL, in-memory collisions and relocations which can delay program
70883 + execution are avoided. [This option is specific to the i386 PE
70884 + targeted port of the linker]
70886 +`--disable-auto-image-base'
70887 + Do not automatically generate a unique image base. If there is no
70888 + user-specified image base (`--image-base') then use the platform
70889 + default. [This option is specific to the i386 PE targeted port of
70892 +`--dll-search-prefix STRING'
70893 + When linking dynamically to a dll without an import library,
70894 + search for `<string><basename>.dll' in preference to
70895 + `lib<basename>.dll'. This behaviour allows easy distinction
70896 + between DLLs built for the various "subplatforms": native, cygwin,
70897 + uwin, pw, etc. For instance, cygwin DLLs typically use
70898 + `--dll-search-prefix=cyg'. [This option is specific to the i386
70899 + PE targeted port of the linker]
70901 +`--enable-auto-import'
70902 + Do sophisticated linking of `_symbol' to `__imp__symbol' for DATA
70903 + imports from DLLs, and create the necessary thunking symbols when
70904 + building the import libraries with those DATA exports. Note: Use
70905 + of the 'auto-import' extension will cause the text section of the
70906 + image file to be made writable. This does not conform to the
70907 + PE-COFF format specification published by Microsoft.
70909 + Using 'auto-import' generally will 'just work' - but sometimes you
70910 + may see this message:
70912 + "variable '<var>' can't be auto-imported. Please read the
70913 + documentation for ld's `--enable-auto-import' for details."
70915 + This message occurs when some (sub)expression accesses an address
70916 + ultimately given by the sum of two constants (Win32 import tables
70917 + only allow one). Instances where this may occur include accesses
70918 + to member fields of struct variables imported from a DLL, as well
70919 + as using a constant index into an array variable imported from a
70920 + DLL. Any multiword variable (arrays, structs, long long, etc) may
70921 + trigger this error condition. However, regardless of the exact
70922 + data type of the offending exported variable, ld will always
70923 + detect it, issue the warning, and exit.
70925 + There are several ways to address this difficulty, regardless of
70926 + the data type of the exported variable:
70928 + One way is to use -enable-runtime-pseudo-reloc switch. This leaves
70929 + the task of adjusting references in your client code for runtime
70930 + environment, so this method works only when runtime environment
70931 + supports this feature.
70933 + A second solution is to force one of the 'constants' to be a
70934 + variable - that is, unknown and un-optimizable at compile time.
70935 + For arrays, there are two possibilities: a) make the indexee (the
70936 + array's address) a variable, or b) make the 'constant' index a
70939 + extern type extern_array[];
70940 + extern_array[1] -->
70941 + { volatile type *t=extern_array; t[1] }
70945 + extern type extern_array[];
70946 + extern_array[1] -->
70947 + { volatile int t=1; extern_array[t] }
70949 + For structs (and most other multiword data types) the only option
70950 + is to make the struct itself (or the long long, or the ...)
70953 + extern struct s extern_struct;
70954 + extern_struct.field -->
70955 + { volatile struct s *t=&extern_struct; t->field }
70959 + extern long long extern_ll;
70961 + { volatile long long * local_ll=&extern_ll; *local_ll }
70963 + A third method of dealing with this difficulty is to abandon
70964 + 'auto-import' for the offending symbol and mark it with
70965 + `__declspec(dllimport)'. However, in practise that requires using
70966 + compile-time #defines to indicate whether you are building a DLL,
70967 + building client code that will link to the DLL, or merely
70968 + building/linking to a static library. In making the choice
70969 + between the various methods of resolving the 'direct address with
70970 + constant offset' problem, you should consider typical real-world
70975 + extern int arr[];
70978 + void main(int argc, char **argv){
70979 + printf("%d\n",arr[1]);
70984 + extern int arr[];
70987 + void main(int argc, char **argv){
70988 + /* This workaround is for win32 and cygwin; do not "optimize" */
70989 + volatile int *parr = arr;
70990 + printf("%d\n",parr[1]);
70995 + /* Note: auto-export is assumed (no __declspec(dllexport)) */
70996 + #if (defined(_WIN32) || defined(__CYGWIN__)) && \
70997 + !(defined(FOO_BUILD_DLL) || defined(FOO_STATIC))
70998 + #define FOO_IMPORT __declspec(dllimport)
71000 + #define FOO_IMPORT
71002 + extern FOO_IMPORT int arr[];
71005 + void main(int argc, char **argv){
71006 + printf("%d\n",arr[1]);
71009 + A fourth way to avoid this problem is to re-code your library to
71010 + use a functional interface rather than a data interface for the
71011 + offending variables (e.g. set_foo() and get_foo() accessor
71012 + functions). [This option is specific to the i386 PE targeted port
71015 +`--disable-auto-import'
71016 + Do not attempt to do sophisticated linking of `_symbol' to
71017 + `__imp__symbol' for DATA imports from DLLs. [This option is
71018 + specific to the i386 PE targeted port of the linker]
71020 +`--enable-runtime-pseudo-reloc'
71021 + If your code contains expressions described in -enable-auto-import
71022 + section, that is, DATA imports from DLL with non-zero offset, this
71023 + switch will create a vector of 'runtime pseudo relocations' which
71024 + can be used by runtime environment to adjust references to such
71025 + data in your client code. [This option is specific to the i386 PE
71026 + targeted port of the linker]
71028 +`--disable-runtime-pseudo-reloc'
71029 + Do not create pseudo relocations for non-zero offset DATA imports
71030 + from DLLs. This is the default. [This option is specific to the
71031 + i386 PE targeted port of the linker]
71033 +`--enable-extra-pe-debug'
71034 + Show additional debug info related to auto-import symbol thunking.
71035 + [This option is specific to the i386 PE targeted port of the
71038 +`--section-alignment'
71039 + Sets the section alignment. Sections in memory will always begin
71040 + at addresses which are a multiple of this number. Defaults to
71041 + 0x1000. [This option is specific to the i386 PE targeted port of
71045 +`--stack RESERVE,COMMIT'
71046 + Specify the amount of memory to reserve (and optionally commit) to
71047 + be used as stack for this program. The default is 2Mb reserved, 4K
71048 + committed. [This option is specific to the i386 PE targeted port
71051 +`--subsystem WHICH'
71052 +`--subsystem WHICH:MAJOR'
71053 +`--subsystem WHICH:MAJOR.MINOR'
71054 + Specifies the subsystem under which your program will execute. The
71055 + legal values for WHICH are `native', `windows', `console',
71056 + `posix', and `xbox'. You may optionally set the subsystem version
71057 + also. Numeric values are also accepted for WHICH. [This option
71058 + is specific to the i386 PE targeted port of the linker]
71062 +File: ld.info, Node: Environment, Prev: Options, Up: Invocation
71064 +2.2 Environment Variables
71065 +=========================
71067 +You can change the behaviour of `ld' with the environment variables
71068 +`GNUTARGET', `LDEMULATION' and `COLLECT_NO_DEMANGLE'.
71070 + `GNUTARGET' determines the input-file object format if you don't use
71071 +`-b' (or its synonym `--format'). Its value should be one of the BFD
71072 +names for an input format (*note BFD::). If there is no `GNUTARGET' in
71073 +the environment, `ld' uses the natural format of the target. If
71074 +`GNUTARGET' is set to `default' then BFD attempts to discover the input
71075 +format by examining binary input files; this method often succeeds, but
71076 +there are potential ambiguities, since there is no method of ensuring
71077 +that the magic number used to specify object-file formats is unique.
71078 +However, the configuration procedure for BFD on each system places the
71079 +conventional format for that system first in the search-list, so
71080 +ambiguities are resolved in favor of convention.
71082 + `LDEMULATION' determines the default emulation if you don't use the
71083 +`-m' option. The emulation can affect various aspects of linker
71084 +behaviour, particularly the default linker script. You can list the
71085 +available emulations with the `--verbose' or `-V' options. If the `-m'
71086 +option is not used, and the `LDEMULATION' environment variable is not
71087 +defined, the default emulation depends upon how the linker was
71090 + Normally, the linker will default to demangling symbols. However, if
71091 +`COLLECT_NO_DEMANGLE' is set in the environment, then it will default
71092 +to not demangling symbols. This environment variable is used in a
71093 +similar fashion by the `gcc' linker wrapper program. The default may
71094 +be overridden by the `--demangle' and `--no-demangle' options.
71097 +File: ld.info, Node: Scripts, Next: Machine Dependent, Prev: Invocation, Up: Top
71102 +Every link is controlled by a "linker script". This script is written
71103 +in the linker command language.
71105 + The main purpose of the linker script is to describe how the
71106 +sections in the input files should be mapped into the output file, and
71107 +to control the memory layout of the output file. Most linker scripts
71108 +do nothing more than this. However, when necessary, the linker script
71109 +can also direct the linker to perform many other operations, using the
71110 +commands described below.
71112 + The linker always uses a linker script. If you do not supply one
71113 +yourself, the linker will use a default script that is compiled into the
71114 +linker executable. You can use the `--verbose' command line option to
71115 +display the default linker script. Certain command line options, such
71116 +as `-r' or `-N', will affect the default linker script.
71118 + You may supply your own linker script by using the `-T' command line
71119 +option. When you do this, your linker script will replace the default
71122 + You may also use linker scripts implicitly by naming them as input
71123 +files to the linker, as though they were files to be linked. *Note
71124 +Implicit Linker Scripts::.
71128 +* Basic Script Concepts:: Basic Linker Script Concepts
71129 +* Script Format:: Linker Script Format
71130 +* Simple Example:: Simple Linker Script Example
71131 +* Simple Commands:: Simple Linker Script Commands
71132 +* Assignments:: Assigning Values to Symbols
71133 +* SECTIONS:: SECTIONS Command
71134 +* MEMORY:: MEMORY Command
71135 +* PHDRS:: PHDRS Command
71136 +* VERSION:: VERSION Command
71137 +* Expressions:: Expressions in Linker Scripts
71138 +* Implicit Linker Scripts:: Implicit Linker Scripts
71141 +File: ld.info, Node: Basic Script Concepts, Next: Script Format, Up: Scripts
71143 +3.1 Basic Linker Script Concepts
71144 +================================
71146 +We need to define some basic concepts and vocabulary in order to
71147 +describe the linker script language.
71149 + The linker combines input files into a single output file. The
71150 +output file and each input file are in a special data format known as an
71151 +"object file format". Each file is called an "object file". The
71152 +output file is often called an "executable", but for our purposes we
71153 +will also call it an object file. Each object file has, among other
71154 +things, a list of "sections". We sometimes refer to a section in an
71155 +input file as an "input section"; similarly, a section in the output
71156 +file is an "output section".
71158 + Each section in an object file has a name and a size. Most sections
71159 +also have an associated block of data, known as the "section contents".
71160 +A section may be marked as "loadable", which mean that the contents
71161 +should be loaded into memory when the output file is run. A section
71162 +with no contents may be "allocatable", which means that an area in
71163 +memory should be set aside, but nothing in particular should be loaded
71164 +there (in some cases this memory must be zeroed out). A section which
71165 +is neither loadable nor allocatable typically contains some sort of
71166 +debugging information.
71168 + Every loadable or allocatable output section has two addresses. The
71169 +first is the "VMA", or virtual memory address. This is the address the
71170 +section will have when the output file is run. The second is the
71171 +"LMA", or load memory address. This is the address at which the
71172 +section will be loaded. In most cases the two addresses will be the
71173 +same. An example of when they might be different is when a data section
71174 +is loaded into ROM, and then copied into RAM when the program starts up
71175 +(this technique is often used to initialize global variables in a ROM
71176 +based system). In this case the ROM address would be the LMA, and the
71177 +RAM address would be the VMA.
71179 + You can see the sections in an object file by using the `objdump'
71180 +program with the `-h' option.
71182 + Every object file also has a list of "symbols", known as the "symbol
71183 +table". A symbol may be defined or undefined. Each symbol has a name,
71184 +and each defined symbol has an address, among other information. If
71185 +you compile a C or C++ program into an object file, you will get a
71186 +defined symbol for every defined function and global or static
71187 +variable. Every undefined function or global variable which is
71188 +referenced in the input file will become an undefined symbol.
71190 + You can see the symbols in an object file by using the `nm' program,
71191 +or by using the `objdump' program with the `-t' option.
71194 +File: ld.info, Node: Script Format, Next: Simple Example, Prev: Basic Script Concepts, Up: Scripts
71196 +3.2 Linker Script Format
71197 +========================
71199 +Linker scripts are text files.
71201 + You write a linker script as a series of commands. Each command is
71202 +either a keyword, possibly followed by arguments, or an assignment to a
71203 +symbol. You may separate commands using semicolons. Whitespace is
71204 +generally ignored.
71206 + Strings such as file or format names can normally be entered
71207 +directly. If the file name contains a character such as a comma which
71208 +would otherwise serve to separate file names, you may put the file name
71209 +in double quotes. There is no way to use a double quote character in a
71212 + You may include comments in linker scripts just as in C, delimited by
71213 +`/*' and `*/'. As in C, comments are syntactically equivalent to
71217 +File: ld.info, Node: Simple Example, Next: Simple Commands, Prev: Script Format, Up: Scripts
71219 +3.3 Simple Linker Script Example
71220 +================================
71222 +Many linker scripts are fairly simple.
71224 + The simplest possible linker script has just one command:
71225 +`SECTIONS'. You use the `SECTIONS' command to describe the memory
71226 +layout of the output file.
71228 + The `SECTIONS' command is a powerful command. Here we will describe
71229 +a simple use of it. Let's assume your program consists only of code,
71230 +initialized data, and uninitialized data. These will be in the
71231 +`.text', `.data', and `.bss' sections, respectively. Let's assume
71232 +further that these are the only sections which appear in your input
71235 + For this example, let's say that the code should be loaded at address
71236 +0x10000, and that the data should start at address 0x8000000. Here is a
71237 +linker script which will do that:
71241 + .text : { *(.text) }
71243 + .data : { *(.data) }
71244 + .bss : { *(.bss) }
71247 + You write the `SECTIONS' command as the keyword `SECTIONS', followed
71248 +by a series of symbol assignments and output section descriptions
71249 +enclosed in curly braces.
71251 + The first line inside the `SECTIONS' command of the above example
71252 +sets the value of the special symbol `.', which is the location
71253 +counter. If you do not specify the address of an output section in some
71254 +other way (other ways are described later), the address is set from the
71255 +current value of the location counter. The location counter is then
71256 +incremented by the size of the output section. At the start of the
71257 +`SECTIONS' command, the location counter has the value `0'.
71259 + The second line defines an output section, `.text'. The colon is
71260 +required syntax which may be ignored for now. Within the curly braces
71261 +after the output section name, you list the names of the input sections
71262 +which should be placed into this output section. The `*' is a wildcard
71263 +which matches any file name. The expression `*(.text)' means all
71264 +`.text' input sections in all input files.
71266 + Since the location counter is `0x10000' when the output section
71267 +`.text' is defined, the linker will set the address of the `.text'
71268 +section in the output file to be `0x10000'.
71270 + The remaining lines define the `.data' and `.bss' sections in the
71271 +output file. The linker will place the `.data' output section at
71272 +address `0x8000000'. After the linker places the `.data' output
71273 +section, the value of the location counter will be `0x8000000' plus the
71274 +size of the `.data' output section. The effect is that the linker will
71275 +place the `.bss' output section immediately after the `.data' output
71276 +section in memory.
71278 + The linker will ensure that each output section has the required
71279 +alignment, by increasing the location counter if necessary. In this
71280 +example, the specified addresses for the `.text' and `.data' sections
71281 +will probably satisfy any alignment constraints, but the linker may
71282 +have to create a small gap between the `.data' and `.bss' sections.
71284 + That's it! That's a simple and complete linker script.
71287 +File: ld.info, Node: Simple Commands, Next: Assignments, Prev: Simple Example, Up: Scripts
71289 +3.4 Simple Linker Script Commands
71290 +=================================
71292 +In this section we describe the simple linker script commands.
71296 +* Entry Point:: Setting the entry point
71297 +* File Commands:: Commands dealing with files
71299 +* Format Commands:: Commands dealing with object file formats
71301 +* Miscellaneous Commands:: Other linker script commands
71304 +File: ld.info, Node: Entry Point, Next: File Commands, Up: Simple Commands
71306 +3.4.1 Setting the Entry Point
71307 +-----------------------------
71309 +The first instruction to execute in a program is called the "entry
71310 +point". You can use the `ENTRY' linker script command to set the entry
71311 +point. The argument is a symbol name:
71314 + There are several ways to set the entry point. The linker will set
71315 +the entry point by trying each of the following methods in order, and
71316 +stopping when one of them succeeds:
71317 + * the `-e' ENTRY command-line option;
71319 + * the `ENTRY(SYMBOL)' command in a linker script;
71321 + * the value of the symbol `start', if defined;
71323 + * the address of the first byte of the `.text' section, if present;
71325 + * The address `0'.
71328 +File: ld.info, Node: File Commands, Next: Format Commands, Prev: Entry Point, Up: Simple Commands
71330 +3.4.2 Commands Dealing with Files
71331 +---------------------------------
71333 +Several linker script commands deal with files.
71335 +`INCLUDE FILENAME'
71336 + Include the linker script FILENAME at this point. The file will
71337 + be searched for in the current directory, and in any directory
71338 + specified with the `-L' option. You can nest calls to `INCLUDE'
71339 + up to 10 levels deep.
71341 +`INPUT(FILE, FILE, ...)'
71342 +`INPUT(FILE FILE ...)'
71343 + The `INPUT' command directs the linker to include the named files
71344 + in the link, as though they were named on the command line.
71346 + For example, if you always want to include `subr.o' any time you do
71347 + a link, but you can't be bothered to put it on every link command
71348 + line, then you can put `INPUT (subr.o)' in your linker script.
71350 + In fact, if you like, you can list all of your input files in the
71351 + linker script, and then invoke the linker with nothing but a `-T'
71354 + In case a "sysroot prefix" is configured, and the filename starts
71355 + with the `/' character, and the script being processed was located
71356 + inside the "sysroot prefix", the filename will be looked for in
71357 + the "sysroot prefix". Otherwise, the linker will try to open the
71358 + file in the current directory. If it is not found, the linker
71359 + will search through the archive library search path. See the
71360 + description of `-L' in *Note Command Line Options: Options.
71362 + If you use `INPUT (-lFILE)', `ld' will transform the name to
71363 + `libFILE.a', as with the command line argument `-l'.
71365 + When you use the `INPUT' command in an implicit linker script, the
71366 + files will be included in the link at the point at which the linker
71367 + script file is included. This can affect archive searching.
71369 +`GROUP(FILE, FILE, ...)'
71370 +`GROUP(FILE FILE ...)'
71371 + The `GROUP' command is like `INPUT', except that the named files
71372 + should all be archives, and they are searched repeatedly until no
71373 + new undefined references are created. See the description of `-('
71374 + in *Note Command Line Options: Options.
71376 +`AS_NEEDED(FILE, FILE, ...)'
71377 +`AS_NEEDED(FILE FILE ...)'
71378 + This construct can appear only inside of the `INPUT' or `GROUP'
71379 + commands, among other filenames. The files listed will be handled
71380 + as if they appear directly in the `INPUT' or `GROUP' commands,
71381 + with the exception of ELF shared libraries, that will be added only
71382 + when they are actually needed. This construct essentially enables
71383 + `--as-needed' option for all the files listed inside of it and
71384 + restores previous `--as-needed' resp. `--no-as-needed' setting
71387 +`OUTPUT(FILENAME)'
71388 + The `OUTPUT' command names the output file. Using
71389 + `OUTPUT(FILENAME)' in the linker script is exactly like using `-o
71390 + FILENAME' on the command line (*note Command Line Options:
71391 + Options.). If both are used, the command line option takes
71394 + You can use the `OUTPUT' command to define a default name for the
71395 + output file other than the usual default of `a.out'.
71397 +`SEARCH_DIR(PATH)'
71398 + The `SEARCH_DIR' command adds PATH to the list of paths where `ld'
71399 + looks for archive libraries. Using `SEARCH_DIR(PATH)' is exactly
71400 + like using `-L PATH' on the command line (*note Command Line
71401 + Options: Options.). If both are used, then the linker will search
71402 + both paths. Paths specified using the command line option are
71405 +`STARTUP(FILENAME)'
71406 + The `STARTUP' command is just like the `INPUT' command, except
71407 + that FILENAME will become the first input file to be linked, as
71408 + though it were specified first on the command line. This may be
71409 + useful when using a system in which the entry point is always the
71410 + start of the first file.
71413 +File: ld.info, Node: Format Commands, Next: Miscellaneous Commands, Prev: File Commands, Up: Simple Commands
71415 +3.4.3 Commands Dealing with Object File Formats
71416 +-----------------------------------------------
71418 +A couple of linker script commands deal with object file formats.
71420 +`OUTPUT_FORMAT(BFDNAME)'
71421 +`OUTPUT_FORMAT(DEFAULT, BIG, LITTLE)'
71422 + The `OUTPUT_FORMAT' command names the BFD format to use for the
71423 + output file (*note BFD::). Using `OUTPUT_FORMAT(BFDNAME)' is
71424 + exactly like using `--oformat BFDNAME' on the command line (*note
71425 + Command Line Options: Options.). If both are used, the command
71426 + line option takes precedence.
71428 + You can use `OUTPUT_FORMAT' with three arguments to use different
71429 + formats based on the `-EB' and `-EL' command line options. This
71430 + permits the linker script to set the output format based on the
71431 + desired endianness.
71433 + If neither `-EB' nor `-EL' are used, then the output format will
71434 + be the first argument, DEFAULT. If `-EB' is used, the output
71435 + format will be the second argument, BIG. If `-EL' is used, the
71436 + output format will be the third argument, LITTLE.
71438 + For example, the default linker script for the MIPS ELF target
71439 + uses this command:
71440 + OUTPUT_FORMAT(elf32-bigmips, elf32-bigmips, elf32-littlemips)
71441 + This says that the default format for the output file is
71442 + `elf32-bigmips', but if the user uses the `-EL' command line
71443 + option, the output file will be created in the `elf32-littlemips'
71447 + The `TARGET' command names the BFD format to use when reading input
71448 + files. It affects subsequent `INPUT' and `GROUP' commands. This
71449 + command is like using `-b BFDNAME' on the command line (*note
71450 + Command Line Options: Options.). If the `TARGET' command is used
71451 + but `OUTPUT_FORMAT' is not, then the last `TARGET' command is also
71452 + used to set the format for the output file. *Note BFD::.
71455 +File: ld.info, Node: Miscellaneous Commands, Prev: Format Commands, Up: Simple Commands
71457 +3.4.4 Other Linker Script Commands
71458 +----------------------------------
71460 +There are a few other linker scripts commands.
71462 +`ASSERT(EXP, MESSAGE)'
71463 + Ensure that EXP is non-zero. If it is zero, then exit the linker
71464 + with an error code, and print MESSAGE.
71466 +`EXTERN(SYMBOL SYMBOL ...)'
71467 + Force SYMBOL to be entered in the output file as an undefined
71468 + symbol. Doing this may, for example, trigger linking of additional
71469 + modules from standard libraries. You may list several SYMBOLs for
71470 + each `EXTERN', and you may use `EXTERN' multiple times. This
71471 + command has the same effect as the `-u' command-line option.
71473 +`FORCE_COMMON_ALLOCATION'
71474 + This command has the same effect as the `-d' command-line option:
71475 + to make `ld' assign space to common symbols even if a relocatable
71476 + output file is specified (`-r').
71478 +`INHIBIT_COMMON_ALLOCATION'
71479 + This command has the same effect as the `--no-define-common'
71480 + command-line option: to make `ld' omit the assignment of addresses
71481 + to common symbols even for a non-relocatable output file.
71483 +`NOCROSSREFS(SECTION SECTION ...)'
71484 + This command may be used to tell `ld' to issue an error about any
71485 + references among certain output sections.
71487 + In certain types of programs, particularly on embedded systems when
71488 + using overlays, when one section is loaded into memory, another
71489 + section will not be. Any direct references between the two
71490 + sections would be errors. For example, it would be an error if
71491 + code in one section called a function defined in the other section.
71493 + The `NOCROSSREFS' command takes a list of output section names. If
71494 + `ld' detects any cross references between the sections, it reports
71495 + an error and returns a non-zero exit status. Note that the
71496 + `NOCROSSREFS' command uses output section names, not input section
71499 +`OUTPUT_ARCH(BFDARCH)'
71500 + Specify a particular output machine architecture. The argument is
71501 + one of the names used by the BFD library (*note BFD::). You can
71502 + see the architecture of an object file by using the `objdump'
71503 + program with the `-f' option.
71506 +File: ld.info, Node: Assignments, Next: SECTIONS, Prev: Simple Commands, Up: Scripts
71508 +3.5 Assigning Values to Symbols
71509 +===============================
71511 +You may assign a value to a symbol in a linker script. This will define
71512 +the symbol and place it into the symbol table with a global scope.
71516 +* Simple Assignments:: Simple Assignments
71517 +* PROVIDE:: PROVIDE
71518 +* PROVIDE_HIDDEN:: PROVIDE_HIDDEN
71519 +* Source Code Reference:: How to use a linker script defined symbol in source code
71522 +File: ld.info, Node: Simple Assignments, Next: PROVIDE, Up: Assignments
71524 +3.5.1 Simple Assignments
71525 +------------------------
71527 +You may assign to a symbol using any of the C assignment operators:
71529 +`SYMBOL = EXPRESSION ;'
71530 +`SYMBOL += EXPRESSION ;'
71531 +`SYMBOL -= EXPRESSION ;'
71532 +`SYMBOL *= EXPRESSION ;'
71533 +`SYMBOL /= EXPRESSION ;'
71534 +`SYMBOL <<= EXPRESSION ;'
71535 +`SYMBOL >>= EXPRESSION ;'
71536 +`SYMBOL &= EXPRESSION ;'
71537 +`SYMBOL |= EXPRESSION ;'
71539 + The first case will define SYMBOL to the value of EXPRESSION. In
71540 +the other cases, SYMBOL must already be defined, and the value will be
71541 +adjusted accordingly.
71543 + The special symbol name `.' indicates the location counter. You may
71544 +only use this within a `SECTIONS' command. *Note Location Counter::.
71546 + The semicolon after EXPRESSION is required.
71548 + Expressions are defined below; see *Note Expressions::.
71550 + You may write symbol assignments as commands in their own right, or
71551 +as statements within a `SECTIONS' command, or as part of an output
71552 +section description in a `SECTIONS' command.
71554 + The section of the symbol will be set from the section of the
71555 +expression; for more information, see *Note Expression Section::.
71557 + Here is an example showing the three different places that symbol
71558 +assignments may be used:
71560 + floating_point = 0;
71568 + _bdata = (. + 3) & ~ 3;
71569 + .data : { *(.data) }
71571 + In this example, the symbol `floating_point' will be defined as
71572 +zero. The symbol `_etext' will be defined as the address following the
71573 +last `.text' input section. The symbol `_bdata' will be defined as the
71574 +address following the `.text' output section aligned upward to a 4 byte
71578 +File: ld.info, Node: PROVIDE, Next: PROVIDE_HIDDEN, Prev: Simple Assignments, Up: Assignments
71583 +In some cases, it is desirable for a linker script to define a symbol
71584 +only if it is referenced and is not defined by any object included in
71585 +the link. For example, traditional linkers defined the symbol `etext'.
71586 +However, ANSI C requires that the user be able to use `etext' as a
71587 +function name without encountering an error. The `PROVIDE' keyword may
71588 +be used to define a symbol, such as `etext', only if it is referenced
71589 +but not defined. The syntax is `PROVIDE(SYMBOL = EXPRESSION)'.
71591 + Here is an example of using `PROVIDE' to define `etext':
71598 + PROVIDE(etext = .);
71602 + In this example, if the program defines `_etext' (with a leading
71603 +underscore), the linker will give a multiple definition error. If, on
71604 +the other hand, the program defines `etext' (with no leading
71605 +underscore), the linker will silently use the definition in the program.
71606 +If the program references `etext' but does not define it, the linker
71607 +will use the definition in the linker script.
71610 +File: ld.info, Node: PROVIDE_HIDDEN, Next: Source Code Reference, Prev: PROVIDE, Up: Assignments
71612 +3.5.3 PROVIDE_HIDDEN
71613 +--------------------
71615 +Similar to `PROVIDE'. For ELF targeted ports, the symbol will be
71616 +hidden and won't be exported.
71619 +File: ld.info, Node: Source Code Reference, Prev: PROVIDE_HIDDEN, Up: Assignments
71621 +3.5.4 Source Code Reference
71622 +---------------------------
71624 +Accessing a linker script defined variable from source code is not
71625 +intuitive. In particular a linker script symbol is not equivalent to a
71626 +variable declaration in a high level language, it is instead a symbol
71627 +that does not have a value.
71629 + Before going further, it is important to note that compilers often
71630 +transform names in the source code into different names when they are
71631 +stored in the symbol table. For example, Fortran compilers commonly
71632 +prepend or append an underscore, and C++ performs extensive `name
71633 +mangling'. Therefore there might be a discrepancy between the name of
71634 +a variable as it is used in source code and the name of the same
71635 +variable as it is defined in a linker script. For example in C a
71636 +linker script variable might be referred to as:
71640 + But in the linker script it might be defined as:
71644 + In the remaining examples however it is assumed that no name
71645 +transformation has taken place.
71647 + When a symbol is declared in a high level language such as C, two
71648 +things happen. The first is that the compiler reserves enough space in
71649 +the program's memory to hold the _value_ of the symbol. The second is
71650 +that the compiler creates an entry in the program's symbol table which
71651 +holds the symbol's _address_. ie the symbol table contains the address
71652 +of the block of memory holding the symbol's value. So for example the
71653 +following C declaration, at file scope:
71657 + creates a entry called `foo' in the symbol table. This entry holds
71658 +the address of an `int' sized block of memory where the number 1000 is
71661 + When a program references a symbol the compiler generates code that
71662 +first accesses the symbol table to find the address of the symbol's
71663 +memory block and then code to read the value from that memory block.
71668 + looks up the symbol `foo' in the symbol table, gets the address
71669 +associated with this symbol and then writes the value 1 into that
71674 + looks up the symbol `foo' in the symbol table, gets it address and
71675 +then copies this address into the block of memory associated with the
71678 + Linker scripts symbol declarations, by contrast, create an entry in
71679 +the symbol table but do not assign any memory to them. Thus they are
71680 +an address without a value. So for example the linker script
71685 + creates an entry in the symbol table called `foo' which holds the
71686 +address of memory location 1000, but nothing special is stored at
71687 +address 1000. This means that you cannot access the _value_ of a
71688 +linker script defined symbol - it has no value - all you can do is
71689 +access the _address_ of a linker script defined symbol.
71691 + Hence when you are using a linker script defined symbol in source
71692 +code you should always take the address of the symbol, and never
71693 +attempt to use its value. For example suppose you want to copy the
71694 +contents of a section of memory called .ROM into a section called
71695 +.FLASH and the linker script contains these declarations:
71697 + start_of_ROM = .ROM;
71698 + end_of_ROM = .ROM + sizeof (.ROM) - 1;
71699 + start_of_FLASH = .FLASH;
71701 + Then the C source code to perform the copy would be:
71703 + extern char start_of_ROM, end_of_ROM, start_of_FLASH;
71705 + memcpy (& start_of_FLASH, & start_of_ROM, & end_of_ROM - & start_of_ROM);
71707 + Note the use of the `&' operators. These are correct.
71710 +File: ld.info, Node: SECTIONS, Next: MEMORY, Prev: Assignments, Up: Scripts
71712 +3.6 SECTIONS Command
71713 +====================
71715 +The `SECTIONS' command tells the linker how to map input sections into
71716 +output sections, and how to place the output sections in memory.
71718 + The format of the `SECTIONS' command is:
71726 + Each SECTIONS-COMMAND may of be one of the following:
71728 + * an `ENTRY' command (*note Entry command: Entry Point.)
71730 + * a symbol assignment (*note Assignments::)
71732 + * an output section description
71734 + * an overlay description
71736 + The `ENTRY' command and symbol assignments are permitted inside the
71737 +`SECTIONS' command for convenience in using the location counter in
71738 +those commands. This can also make the linker script easier to
71739 +understand because you can use those commands at meaningful points in
71740 +the layout of the output file.
71742 + Output section descriptions and overlay descriptions are described
71745 + If you do not use a `SECTIONS' command in your linker script, the
71746 +linker will place each input section into an identically named output
71747 +section in the order that the sections are first encountered in the
71748 +input files. If all input sections are present in the first file, for
71749 +example, the order of sections in the output file will match the order
71750 +in the first input file. The first section will be at address zero.
71754 +* Output Section Description:: Output section description
71755 +* Output Section Name:: Output section name
71756 +* Output Section Address:: Output section address
71757 +* Input Section:: Input section description
71758 +* Output Section Data:: Output section data
71759 +* Output Section Keywords:: Output section keywords
71760 +* Output Section Discarding:: Output section discarding
71761 +* Output Section Attributes:: Output section attributes
71762 +* Overlay Description:: Overlay description
71765 +File: ld.info, Node: Output Section Description, Next: Output Section Name, Up: SECTIONS
71767 +3.6.1 Output Section Description
71768 +--------------------------------
71770 +The full description of an output section looks like this:
71771 + SECTION [ADDRESS] [(TYPE)] :
71772 + [AT(LMA)] [ALIGN(SECTION_ALIGN)] [SUBALIGN(SUBSECTION_ALIGN)]
71774 + OUTPUT-SECTION-COMMAND
71775 + OUTPUT-SECTION-COMMAND
71777 + } [>REGION] [AT>LMA_REGION] [:PHDR :PHDR ...] [=FILLEXP]
71779 + Most output sections do not use most of the optional section
71782 + The whitespace around SECTION is required, so that the section name
71783 +is unambiguous. The colon and the curly braces are also required. The
71784 +line breaks and other white space are optional.
71786 + Each OUTPUT-SECTION-COMMAND may be one of the following:
71788 + * a symbol assignment (*note Assignments::)
71790 + * an input section description (*note Input Section::)
71792 + * data values to include directly (*note Output Section Data::)
71794 + * a special output section keyword (*note Output Section Keywords::)
71797 +File: ld.info, Node: Output Section Name, Next: Output Section Address, Prev: Output Section Description, Up: SECTIONS
71799 +3.6.2 Output Section Name
71800 +-------------------------
71802 +The name of the output section is SECTION. SECTION must meet the
71803 +constraints of your output format. In formats which only support a
71804 +limited number of sections, such as `a.out', the name must be one of
71805 +the names supported by the format (`a.out', for example, allows only
71806 +`.text', `.data' or `.bss'). If the output format supports any number
71807 +of sections, but with numbers and not names (as is the case for Oasys),
71808 +the name should be supplied as a quoted numeric string. A section name
71809 +may consist of any sequence of characters, but a name which contains
71810 +any unusual characters such as commas must be quoted.
71812 + The output section name `/DISCARD/' is special; *Note Output Section
71816 +File: ld.info, Node: Output Section Address, Next: Input Section, Prev: Output Section Name, Up: SECTIONS
71818 +3.6.3 Output Section Address
71819 +----------------------------
71821 +The ADDRESS is an expression for the VMA (the virtual memory address)
71822 +of the output section. If you do not provide ADDRESS, the linker will
71823 +set it based on REGION if present, or otherwise based on the current
71824 +value of the location counter.
71826 + If you provide ADDRESS, the address of the output section will be
71827 +set to precisely that. If you provide neither ADDRESS nor REGION, then
71828 +the address of the output section will be set to the current value of
71829 +the location counter aligned to the alignment requirements of the
71830 +output section. The alignment requirement of the output section is the
71831 +strictest alignment of any input section contained within the output
71835 + .text . : { *(.text) }
71837 + .text : { *(.text) }
71838 + are subtly different. The first will set the address of the `.text'
71839 +output section to the current value of the location counter. The
71840 +second will set it to the current value of the location counter aligned
71841 +to the strictest alignment of a `.text' input section.
71843 + The ADDRESS may be an arbitrary expression; *Note Expressions::.
71844 +For example, if you want to align the section on a 0x10 byte boundary,
71845 +so that the lowest four bits of the section address are zero, you could
71846 +do something like this:
71847 + .text ALIGN(0x10) : { *(.text) }
71848 + This works because `ALIGN' returns the current location counter
71849 +aligned upward to the specified value.
71851 + Specifying ADDRESS for a section will change the value of the
71855 +File: ld.info, Node: Input Section, Next: Output Section Data, Prev: Output Section Address, Up: SECTIONS
71857 +3.6.4 Input Section Description
71858 +-------------------------------
71860 +The most common output section command is an input section description.
71862 + The input section description is the most basic linker script
71863 +operation. You use output sections to tell the linker how to lay out
71864 +your program in memory. You use input section descriptions to tell the
71865 +linker how to map the input files into your memory layout.
71869 +* Input Section Basics:: Input section basics
71870 +* Input Section Wildcards:: Input section wildcard patterns
71871 +* Input Section Common:: Input section for common symbols
71872 +* Input Section Keep:: Input section and garbage collection
71873 +* Input Section Example:: Input section example
71876 +File: ld.info, Node: Input Section Basics, Next: Input Section Wildcards, Up: Input Section
71878 +3.6.4.1 Input Section Basics
71879 +............................
71881 +An input section description consists of a file name optionally followed
71882 +by a list of section names in parentheses.
71884 + The file name and the section name may be wildcard patterns, which we
71885 +describe further below (*note Input Section Wildcards::).
71887 + The most common input section description is to include all input
71888 +sections with a particular name in the output section. For example, to
71889 +include all input `.text' sections, you would write:
71891 + Here the `*' is a wildcard which matches any file name. To exclude
71892 +a list of files from matching the file name wildcard, EXCLUDE_FILE may
71893 +be used to match all files except the ones specified in the
71894 +EXCLUDE_FILE list. For example:
71895 + (*(EXCLUDE_FILE (*crtend.o *otherfile.o) .ctors))
71896 + will cause all .ctors sections from all files except `crtend.o' and
71897 +`otherfile.o' to be included.
71899 + There are two ways to include more than one section:
71901 + *(.text) *(.rdata)
71902 + The difference between these is the order in which the `.text' and
71903 +`.rdata' input sections will appear in the output section. In the
71904 +first example, they will be intermingled, appearing in the same order as
71905 +they are found in the linker input. In the second example, all `.text'
71906 +input sections will appear first, followed by all `.rdata' input
71909 + You can specify a file name to include sections from a particular
71910 +file. You would do this if one or more of your files contain special
71911 +data that needs to be at a particular location in memory. For example:
71914 + If you use a file name without a list of sections, then all sections
71915 +in the input file will be included in the output section. This is not
71916 +commonly done, but it may by useful on occasion. For example:
71919 + When you use a file name which does not contain any wild card
71920 +characters, the linker will first see if you also specified the file
71921 +name on the linker command line or in an `INPUT' command. If you did
71922 +not, the linker will attempt to open the file as an input file, as
71923 +though it appeared on the command line. Note that this differs from an
71924 +`INPUT' command, because the linker will not search for the file in the
71925 +archive search path.
71928 +File: ld.info, Node: Input Section Wildcards, Next: Input Section Common, Prev: Input Section Basics, Up: Input Section
71930 +3.6.4.2 Input Section Wildcard Patterns
71931 +.......................................
71933 +In an input section description, either the file name or the section
71934 +name or both may be wildcard patterns.
71936 + The file name of `*' seen in many examples is a simple wildcard
71937 +pattern for the file name.
71939 + The wildcard patterns are like those used by the Unix shell.
71942 + matches any number of characters
71945 + matches any single character
71948 + matches a single instance of any of the CHARS; the `-' character
71949 + may be used to specify a range of characters, as in `[a-z]' to
71950 + match any lower case letter
71953 + quotes the following character
71955 + When a file name is matched with a wildcard, the wildcard characters
71956 +will not match a `/' character (used to separate directory names on
71957 +Unix). A pattern consisting of a single `*' character is an exception;
71958 +it will always match any file name, whether it contains a `/' or not.
71959 +In a section name, the wildcard characters will match a `/' character.
71961 + File name wildcard patterns only match files which are explicitly
71962 +specified on the command line or in an `INPUT' command. The linker
71963 +does not search directories to expand wildcards.
71965 + If a file name matches more than one wildcard pattern, or if a file
71966 +name appears explicitly and is also matched by a wildcard pattern, the
71967 +linker will use the first match in the linker script. For example, this
71968 +sequence of input section descriptions is probably in error, because the
71969 +`data.o' rule will not be used:
71970 + .data : { *(.data) }
71971 + .data1 : { data.o(.data) }
71973 + Normally, the linker will place files and sections matched by
71974 +wildcards in the order in which they are seen during the link. You can
71975 +change this by using the `SORT_BY_NAME' keyword, which appears before a
71976 +wildcard pattern in parentheses (e.g., `SORT_BY_NAME(.text*)'). When
71977 +the `SORT_BY_NAME' keyword is used, the linker will sort the files or
71978 +sections into ascending order by name before placing them in the output
71981 + `SORT_BY_ALIGNMENT' is very similar to `SORT_BY_NAME'. The
71982 +difference is `SORT_BY_ALIGNMENT' will sort sections into ascending
71983 +order by alignment before placing them in the output file.
71985 + `SORT' is an alias for `SORT_BY_NAME'.
71987 + When there are nested section sorting commands in linker script,
71988 +there can be at most 1 level of nesting for section sorting commands.
71990 + 1. `SORT_BY_NAME' (`SORT_BY_ALIGNMENT' (wildcard section pattern)).
71991 + It will sort the input sections by name first, then by alignment
71992 + if 2 sections have the same name.
71994 + 2. `SORT_BY_ALIGNMENT' (`SORT_BY_NAME' (wildcard section pattern)).
71995 + It will sort the input sections by alignment first, then by name
71996 + if 2 sections have the same alignment.
71998 + 3. `SORT_BY_NAME' (`SORT_BY_NAME' (wildcard section pattern)) is
71999 + treated the same as `SORT_BY_NAME' (wildcard section pattern).
72001 + 4. `SORT_BY_ALIGNMENT' (`SORT_BY_ALIGNMENT' (wildcard section
72002 + pattern)) is treated the same as `SORT_BY_ALIGNMENT' (wildcard
72003 + section pattern).
72005 + 5. All other nested section sorting commands are invalid.
72007 + When both command line section sorting option and linker script
72008 +section sorting command are used, section sorting command always takes
72009 +precedence over the command line option.
72011 + If the section sorting command in linker script isn't nested, the
72012 +command line option will make the section sorting command to be treated
72013 +as nested sorting command.
72015 + 1. `SORT_BY_NAME' (wildcard section pattern ) with `--sort-sections
72016 + alignment' is equivalent to `SORT_BY_NAME' (`SORT_BY_ALIGNMENT'
72017 + (wildcard section pattern)).
72019 + 2. `SORT_BY_ALIGNMENT' (wildcard section pattern) with
72020 + `--sort-section name' is equivalent to `SORT_BY_ALIGNMENT'
72021 + (`SORT_BY_NAME' (wildcard section pattern)).
72023 + If the section sorting command in linker script is nested, the
72024 +command line option will be ignored.
72026 + If you ever get confused about where input sections are going, use
72027 +the `-M' linker option to generate a map file. The map file shows
72028 +precisely how input sections are mapped to output sections.
72030 + This example shows how wildcard patterns might be used to partition
72031 +files. This linker script directs the linker to place all `.text'
72032 +sections in `.text' and all `.bss' sections in `.bss'. The linker will
72033 +place the `.data' section from all files beginning with an upper case
72034 +character in `.DATA'; for all other files, the linker will place the
72035 +`.data' section in `.data'.
72037 + .text : { *(.text) }
72038 + .DATA : { [A-Z]*(.data) }
72039 + .data : { *(.data) }
72040 + .bss : { *(.bss) }
72044 +File: ld.info, Node: Input Section Common, Next: Input Section Keep, Prev: Input Section Wildcards, Up: Input Section
72046 +3.6.4.3 Input Section for Common Symbols
72047 +........................................
72049 +A special notation is needed for common symbols, because in many object
72050 +file formats common symbols do not have a particular input section. The
72051 +linker treats common symbols as though they are in an input section
72054 + You may use file names with the `COMMON' section just as with any
72055 +other input sections. You can use this to place common symbols from a
72056 +particular input file in one section while common symbols from other
72057 +input files are placed in another section.
72059 + In most cases, common symbols in input files will be placed in the
72060 +`.bss' section in the output file. For example:
72061 + .bss { *(.bss) *(COMMON) }
72063 + Some object file formats have more than one type of common symbol.
72064 +For example, the MIPS ELF object file format distinguishes standard
72065 +common symbols and small common symbols. In this case, the linker will
72066 +use a different special section name for other types of common symbols.
72067 +In the case of MIPS ELF, the linker uses `COMMON' for standard common
72068 +symbols and `.scommon' for small common symbols. This permits you to
72069 +map the different types of common symbols into memory at different
72072 + You will sometimes see `[COMMON]' in old linker scripts. This
72073 +notation is now considered obsolete. It is equivalent to `*(COMMON)'.
72076 +File: ld.info, Node: Input Section Keep, Next: Input Section Example, Prev: Input Section Common, Up: Input Section
72078 +3.6.4.4 Input Section and Garbage Collection
72079 +............................................
72081 +When link-time garbage collection is in use (`--gc-sections'), it is
72082 +often useful to mark sections that should not be eliminated. This is
72083 +accomplished by surrounding an input section's wildcard entry with
72084 +`KEEP()', as in `KEEP(*(.init))' or `KEEP(SORT_BY_NAME(*)(.ctors))'.
72087 +File: ld.info, Node: Input Section Example, Prev: Input Section Keep, Up: Input Section
72089 +3.6.4.5 Input Section Example
72090 +.............................
72092 +The following example is a complete linker script. It tells the linker
72093 +to read all of the sections from file `all.o' and place them at the
72094 +start of output section `outputa' which starts at location `0x10000'.
72095 +All of section `.input1' from file `foo.o' follows immediately, in the
72096 +same output section. All of section `.input2' from `foo.o' goes into
72097 +output section `outputb', followed by section `.input1' from `foo1.o'.
72098 +All of the remaining `.input1' and `.input2' sections from any files
72099 +are written to output section `outputc'.
72102 + outputa 0x10000 :
72120 +File: ld.info, Node: Output Section Data, Next: Output Section Keywords, Prev: Input Section, Up: SECTIONS
72122 +3.6.5 Output Section Data
72123 +-------------------------
72125 +You can include explicit bytes of data in an output section by using
72126 +`BYTE', `SHORT', `LONG', `QUAD', or `SQUAD' as an output section
72127 +command. Each keyword is followed by an expression in parentheses
72128 +providing the value to store (*note Expressions::). The value of the
72129 +expression is stored at the current value of the location counter.
72131 + The `BYTE', `SHORT', `LONG', and `QUAD' commands store one, two,
72132 +four, and eight bytes (respectively). After storing the bytes, the
72133 +location counter is incremented by the number of bytes stored.
72135 + For example, this will store the byte 1 followed by the four byte
72136 +value of the symbol `addr':
72140 + When using a 64 bit host or target, `QUAD' and `SQUAD' are the same;
72141 +they both store an 8 byte, or 64 bit, value. When both host and target
72142 +are 32 bits, an expression is computed as 32 bits. In this case `QUAD'
72143 +stores a 32 bit value zero extended to 64 bits, and `SQUAD' stores a 32
72144 +bit value sign extended to 64 bits.
72146 + If the object file format of the output file has an explicit
72147 +endianness, which is the normal case, the value will be stored in that
72148 +endianness. When the object file format does not have an explicit
72149 +endianness, as is true of, for example, S-records, the value will be
72150 +stored in the endianness of the first input object file.
72152 + Note--these commands only work inside a section description and not
72153 +between them, so the following will produce an error from the linker:
72154 + SECTIONS { .text : { *(.text) } LONG(1) .data : { *(.data) } }
72155 + whereas this will work:
72156 + SECTIONS { .text : { *(.text) ; LONG(1) } .data : { *(.data) } }
72158 + You may use the `FILL' command to set the fill pattern for the
72159 +current section. It is followed by an expression in parentheses. Any
72160 +otherwise unspecified regions of memory within the section (for example,
72161 +gaps left due to the required alignment of input sections) are filled
72162 +with the value of the expression, repeated as necessary. A `FILL'
72163 +statement covers memory locations after the point at which it occurs in
72164 +the section definition; by including more than one `FILL' statement,
72165 +you can have different fill patterns in different parts of an output
72168 + This example shows how to fill unspecified regions of memory with the
72172 + The `FILL' command is similar to the `=FILLEXP' output section
72173 +attribute, but it only affects the part of the section following the
72174 +`FILL' command, rather than the entire section. If both are used, the
72175 +`FILL' command takes precedence. *Note Output Section Fill::, for
72176 +details on the fill expression.
72179 +File: ld.info, Node: Output Section Keywords, Next: Output Section Discarding, Prev: Output Section Data, Up: SECTIONS
72181 +3.6.6 Output Section Keywords
72182 +-----------------------------
72184 +There are a couple of keywords which can appear as output section
72187 +`CREATE_OBJECT_SYMBOLS'
72188 + The command tells the linker to create a symbol for each input
72189 + file. The name of each symbol will be the name of the
72190 + corresponding input file. The section of each symbol will be the
72191 + output section in which the `CREATE_OBJECT_SYMBOLS' command
72194 + This is conventional for the a.out object file format. It is not
72195 + normally used for any other object file format.
72198 + When linking using the a.out object file format, the linker uses an
72199 + unusual set construct to support C++ global constructors and
72200 + destructors. When linking object file formats which do not support
72201 + arbitrary sections, such as ECOFF and XCOFF, the linker will
72202 + automatically recognize C++ global constructors and destructors by
72203 + name. For these object file formats, the `CONSTRUCTORS' command
72204 + tells the linker to place constructor information in the output
72205 + section where the `CONSTRUCTORS' command appears. The
72206 + `CONSTRUCTORS' command is ignored for other object file formats.
72208 + The symbol `__CTOR_LIST__' marks the start of the global
72209 + constructors, and the symbol `__CTOR_END__' marks the end.
72210 + Similarly, `__DTOR_LIST__' and `__DTOR_END__' mark the start and
72211 + end of the global destructors. The first word in the list is the
72212 + number of entries, followed by the address of each constructor or
72213 + destructor, followed by a zero word. The compiler must arrange to
72214 + actually run the code. For these object file formats GNU C++
72215 + normally calls constructors from a subroutine `__main'; a call to
72216 + `__main' is automatically inserted into the startup code for
72217 + `main'. GNU C++ normally runs destructors either by using
72218 + `atexit', or directly from the function `exit'.
72220 + For object file formats such as `COFF' or `ELF' which support
72221 + arbitrary section names, GNU C++ will normally arrange to put the
72222 + addresses of global constructors and destructors into the `.ctors'
72223 + and `.dtors' sections. Placing the following sequence into your
72224 + linker script will build the sort of table which the GNU C++
72225 + runtime code expects to see.
72227 + __CTOR_LIST__ = .;
72228 + LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
72231 + __CTOR_END__ = .;
72232 + __DTOR_LIST__ = .;
72233 + LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
72236 + __DTOR_END__ = .;
72238 + If you are using the GNU C++ support for initialization priority,
72239 + which provides some control over the order in which global
72240 + constructors are run, you must sort the constructors at link time
72241 + to ensure that they are executed in the correct order. When using
72242 + the `CONSTRUCTORS' command, use `SORT_BY_NAME(CONSTRUCTORS)'
72243 + instead. When using the `.ctors' and `.dtors' sections, use
72244 + `*(SORT_BY_NAME(.ctors))' and `*(SORT_BY_NAME(.dtors))' instead of
72245 + just `*(.ctors)' and `*(.dtors)'.
72247 + Normally the compiler and linker will handle these issues
72248 + automatically, and you will not need to concern yourself with
72249 + them. However, you may need to consider this if you are using C++
72250 + and writing your own linker scripts.
72254 +File: ld.info, Node: Output Section Discarding, Next: Output Section Attributes, Prev: Output Section Keywords, Up: SECTIONS
72256 +3.6.7 Output Section Discarding
72257 +-------------------------------
72259 +The linker will not create output section which do not have any
72260 +contents. This is for convenience when referring to input sections that
72261 +may or may not be present in any of the input files. For example:
72263 + will only create a `.foo' section in the output file if there is a
72264 +`.foo' section in at least one input file.
72266 + If you use anything other than an input section description as an
72267 +output section command, such as a symbol assignment, then the output
72268 +section will always be created, even if there are no matching input
72271 + The special output section name `/DISCARD/' may be used to discard
72272 +input sections. Any input sections which are assigned to an output
72273 +section named `/DISCARD/' are not included in the output file.
72276 +File: ld.info, Node: Output Section Attributes, Next: Overlay Description, Prev: Output Section Discarding, Up: SECTIONS
72278 +3.6.8 Output Section Attributes
72279 +-------------------------------
72281 +We showed above that the full description of an output section looked
72283 + SECTION [ADDRESS] [(TYPE)] :
72284 + [AT(LMA)] [ALIGN(SECTION_ALIGN)] [SUBALIGN(SUBSECTION_ALIGN)]
72286 + OUTPUT-SECTION-COMMAND
72287 + OUTPUT-SECTION-COMMAND
72289 + } [>REGION] [AT>LMA_REGION] [:PHDR :PHDR ...] [=FILLEXP]
72290 +We've already described SECTION, ADDRESS, and
72291 +OUTPUT-SECTION-COMMAND. In this section we will describe the remaining
72292 +section attributes.
72296 +* Output Section Type:: Output section type
72297 +* Output Section LMA:: Output section LMA
72298 +* Forced Output Alignment:: Forced Output Alignment
72299 +* Forced Input Alignment:: Forced Input Alignment
72300 +* Output Section Region:: Output section region
72301 +* Output Section Phdr:: Output section phdr
72302 +* Output Section Fill:: Output section fill
72305 +File: ld.info, Node: Output Section Type, Next: Output Section LMA, Up: Output Section Attributes
72307 +3.6.8.1 Output Section Type
72308 +...........................
72310 +Each output section may have a type. The type is a keyword in
72311 +parentheses. The following types are defined:
72314 + The section should be marked as not loadable, so that it will not
72315 + be loaded into memory when the program is run.
72321 + These type names are supported for backward compatibility, and are
72322 + rarely used. They all have the same effect: the section should be
72323 + marked as not allocatable, so that no memory is allocated for the
72324 + section when the program is run.
72326 + The linker normally sets the attributes of an output section based on
72327 +the input sections which map into it. You can override this by using
72328 +the section type. For example, in the script sample below, the `ROM'
72329 +section is addressed at memory location `0' and does not need to be
72330 +loaded when the program is run. The contents of the `ROM' section will
72331 +appear in the linker output file as usual.
72333 + ROM 0 (NOLOAD) : { ... }
72338 +File: ld.info, Node: Output Section LMA, Next: Forced Output Alignment, Prev: Output Section Type, Up: Output Section Attributes
72340 +3.6.8.2 Output Section LMA
72341 +..........................
72343 +Every section has a virtual address (VMA) and a load address (LMA); see
72344 +*Note Basic Script Concepts::. The address expression which may appear
72345 +in an output section description sets the VMA (*note Output Section
72348 + The linker will normally set the LMA equal to the VMA. You can
72349 +change that by using the `AT' keyword. The expression LMA that follows
72350 +the `AT' keyword specifies the load address of the section.
72352 + Alternatively, with `AT>LMA_REGION' expression, you may specify a
72353 +memory region for the section's load address. *Note MEMORY::. Note
72354 +that if the section has not had a VMA assigned to it then the linker
72355 +will use the LMA_REGION as the VMA region as well. *Note Output
72358 + This feature is designed to make it easy to build a ROM image. For
72359 +example, the following linker script creates three output sections: one
72360 +called `.text', which starts at `0x1000', one called `.mdata', which is
72361 +loaded at the end of the `.text' section even though its VMA is
72362 +`0x2000', and one called `.bss' to hold uninitialized data at address
72363 +`0x3000'. The symbol `_data' is defined with the value `0x2000', which
72364 +shows that the location counter holds the VMA value, not the LMA value.
72368 + .text 0x1000 : { *(.text) _etext = . ; }
72370 + AT ( ADDR (.text) + SIZEOF (.text) )
72371 + { _data = . ; *(.data); _edata = . ; }
72373 + { _bstart = . ; *(.bss) *(COMMON) ; _bend = . ;}
72376 + The run-time initialization code for use with a program generated
72377 +with this linker script would include something like the following, to
72378 +copy the initialized data from the ROM image to its runtime address.
72379 +Notice how this code takes advantage of the symbols defined by the
72382 + extern char _etext, _data, _edata, _bstart, _bend;
72383 + char *src = &_etext;
72384 + char *dst = &_data;
72386 + /* ROM has data at end of text; copy it. */
72387 + while (dst < &_edata) {
72392 + for (dst = &_bstart; dst< &_bend; dst++)
72396 +File: ld.info, Node: Forced Output Alignment, Next: Forced Input Alignment, Prev: Output Section LMA, Up: Output Section Attributes
72398 +3.6.8.3 Forced Output Alignment
72399 +...............................
72401 +You can increase an output section's alignment by using ALIGN.
72404 +File: ld.info, Node: Forced Input Alignment, Next: Output Section Region, Prev: Forced Output Alignment, Up: Output Section Attributes
72406 +3.6.8.4 Forced Input Alignment
72407 +..............................
72409 +You can force input section alignment within an output section by using
72410 +SUBALIGN. The value specified overrides any alignment given by input
72411 +sections, whether larger or smaller.
72414 +File: ld.info, Node: Output Section Region, Next: Output Section Phdr, Prev: Forced Input Alignment, Up: Output Section Attributes
72416 +3.6.8.5 Output Section Region
72417 +.............................
72419 +You can assign a section to a previously defined region of memory by
72420 +using `>REGION'. *Note MEMORY::.
72422 + Here is a simple example:
72423 + MEMORY { rom : ORIGIN = 0x1000, LENGTH = 0x1000 }
72424 + SECTIONS { ROM : { *(.text) } >rom }
72427 +File: ld.info, Node: Output Section Phdr, Next: Output Section Fill, Prev: Output Section Region, Up: Output Section Attributes
72429 +3.6.8.6 Output Section Phdr
72430 +...........................
72432 +You can assign a section to a previously defined program segment by
72433 +using `:PHDR'. *Note PHDRS::. If a section is assigned to one or more
72434 +segments, then all subsequent allocated sections will be assigned to
72435 +those segments as well, unless they use an explicitly `:PHDR' modifier.
72436 +You can use `:NONE' to tell the linker to not put the section in any
72439 + Here is a simple example:
72440 + PHDRS { text PT_LOAD ; }
72441 + SECTIONS { .text : { *(.text) } :text }
72444 +File: ld.info, Node: Output Section Fill, Prev: Output Section Phdr, Up: Output Section Attributes
72446 +3.6.8.7 Output Section Fill
72447 +...........................
72449 +You can set the fill pattern for an entire section by using `=FILLEXP'.
72450 +FILLEXP is an expression (*note Expressions::). Any otherwise
72451 +unspecified regions of memory within the output section (for example,
72452 +gaps left due to the required alignment of input sections) will be
72453 +filled with the value, repeated as necessary. If the fill expression
72454 +is a simple hex number, ie. a string of hex digit starting with `0x'
72455 +and without a trailing `k' or `M', then an arbitrarily long sequence of
72456 +hex digits can be used to specify the fill pattern; Leading zeros
72457 +become part of the pattern too. For all other cases, including extra
72458 +parentheses or a unary `+', the fill pattern is the four least
72459 +significant bytes of the value of the expression. In all cases, the
72460 +number is big-endian.
72462 + You can also change the fill value with a `FILL' command in the
72463 +output section commands; (*note Output Section Data::).
72465 + Here is a simple example:
72466 + SECTIONS { .text : { *(.text) } =0x90909090 }
72469 +File: ld.info, Node: Overlay Description, Prev: Output Section Attributes, Up: SECTIONS
72471 +3.6.9 Overlay Description
72472 +-------------------------
72474 +An overlay description provides an easy way to describe sections which
72475 +are to be loaded as part of a single memory image but are to be run at
72476 +the same memory address. At run time, some sort of overlay manager will
72477 +copy the overlaid sections in and out of the runtime memory address as
72478 +required, perhaps by simply manipulating addressing bits. This approach
72479 +can be useful, for example, when a certain region of memory is faster
72482 + Overlays are described using the `OVERLAY' command. The `OVERLAY'
72483 +command is used within a `SECTIONS' command, like an output section
72484 +description. The full syntax of the `OVERLAY' command is as follows:
72485 + OVERLAY [START] : [NOCROSSREFS] [AT ( LDADDR )]
72489 + OUTPUT-SECTION-COMMAND
72490 + OUTPUT-SECTION-COMMAND
72492 + } [:PHDR...] [=FILL]
72495 + OUTPUT-SECTION-COMMAND
72496 + OUTPUT-SECTION-COMMAND
72498 + } [:PHDR...] [=FILL]
72500 + } [>REGION] [:PHDR...] [=FILL]
72502 + Everything is optional except `OVERLAY' (a keyword), and each
72503 +section must have a name (SECNAME1 and SECNAME2 above). The section
72504 +definitions within the `OVERLAY' construct are identical to those
72505 +within the general `SECTIONS' contruct (*note SECTIONS::), except that
72506 +no addresses and no memory regions may be defined for sections within
72509 + The sections are all defined with the same starting address. The
72510 +load addresses of the sections are arranged such that they are
72511 +consecutive in memory starting at the load address used for the
72512 +`OVERLAY' as a whole (as with normal section definitions, the load
72513 +address is optional, and defaults to the start address; the start
72514 +address is also optional, and defaults to the current value of the
72515 +location counter).
72517 + If the `NOCROSSREFS' keyword is used, and there any references among
72518 +the sections, the linker will report an error. Since the sections all
72519 +run at the same address, it normally does not make sense for one
72520 +section to refer directly to another. *Note NOCROSSREFS: Miscellaneous
72523 + For each section within the `OVERLAY', the linker automatically
72524 +defines two symbols. The symbol `__load_start_SECNAME' is defined as
72525 +the starting load address of the section. The symbol
72526 +`__load_stop_SECNAME' is defined as the final load address of the
72527 +section. Any characters within SECNAME which are not legal within C
72528 +identifiers are removed. C (or assembler) code may use these symbols
72529 +to move the overlaid sections around as necessary.
72531 + At the end of the overlay, the value of the location counter is set
72532 +to the start address of the overlay plus the size of the largest
72535 + Here is an example. Remember that this would appear inside a
72536 +`SECTIONS' construct.
72537 + OVERLAY 0x1000 : AT (0x4000)
72539 + .text0 { o1/*.o(.text) }
72540 + .text1 { o2/*.o(.text) }
72542 +This will define both `.text0' and `.text1' to start at address
72543 +0x1000. `.text0' will be loaded at address 0x4000, and `.text1' will
72544 +be loaded immediately after `.text0'. The following symbols will be
72545 +defined: `__load_start_text0', `__load_stop_text0',
72546 +`__load_start_text1', `__load_stop_text1'.
72548 + C code to copy overlay `.text1' into the overlay area might look
72549 +like the following.
72551 + extern char __load_start_text1, __load_stop_text1;
72552 + memcpy ((char *) 0x1000, &__load_start_text1,
72553 + &__load_stop_text1 - &__load_start_text1);
72555 + Note that the `OVERLAY' command is just syntactic sugar, since
72556 +everything it does can be done using the more basic commands. The above
72557 +example could have been written identically as follows.
72559 + .text0 0x1000 : AT (0x4000) { o1/*.o(.text) }
72560 + __load_start_text0 = LOADADDR (.text0);
72561 + __load_stop_text0 = LOADADDR (.text0) + SIZEOF (.text0);
72562 + .text1 0x1000 : AT (0x4000 + SIZEOF (.text0)) { o2/*.o(.text) }
72563 + __load_start_text1 = LOADADDR (.text1);
72564 + __load_stop_text1 = LOADADDR (.text1) + SIZEOF (.text1);
72565 + . = 0x1000 + MAX (SIZEOF (.text0), SIZEOF (.text1));
72568 +File: ld.info, Node: MEMORY, Next: PHDRS, Prev: SECTIONS, Up: Scripts
72570 +3.7 MEMORY Command
72571 +==================
72573 +The linker's default configuration permits allocation of all available
72574 +memory. You can override this by using the `MEMORY' command.
72576 + The `MEMORY' command describes the location and size of blocks of
72577 +memory in the target. You can use it to describe which memory regions
72578 +may be used by the linker, and which memory regions it must avoid. You
72579 +can then assign sections to particular memory regions. The linker will
72580 +set section addresses based on the memory regions, and will warn about
72581 +regions that become too full. The linker will not shuffle sections
72582 +around to fit into the available regions.
72584 + A linker script may contain at most one use of the `MEMORY' command.
72585 +However, you can define as many blocks of memory within it as you
72586 +wish. The syntax is:
72589 + NAME [(ATTR)] : ORIGIN = ORIGIN, LENGTH = LEN
72593 + The NAME is a name used in the linker script to refer to the region.
72594 +The region name has no meaning outside of the linker script. Region
72595 +names are stored in a separate name space, and will not conflict with
72596 +symbol names, file names, or section names. Each memory region must
72597 +have a distinct name.
72599 + The ATTR string is an optional list of attributes that specify
72600 +whether to use a particular memory region for an input section which is
72601 +not explicitly mapped in the linker script. As described in *Note
72602 +SECTIONS::, if you do not specify an output section for some input
72603 +section, the linker will create an output section with the same name as
72604 +the input section. If you define region attributes, the linker will use
72605 +them to select the memory region for the output section that it creates.
72607 + The ATTR string must consist only of the following characters:
72609 + Read-only section
72612 + Read/write section
72615 + Executable section
72618 + Allocatable section
72621 + Initialized section
72627 + Invert the sense of any of the preceding attributes
72629 + If a unmapped section matches any of the listed attributes other than
72630 +`!', it will be placed in the memory region. The `!' attribute
72631 +reverses this test, so that an unmapped section will be placed in the
72632 +memory region only if it does not match any of the listed attributes.
72634 + The ORIGIN is an numerical expression for the start address of the
72635 +memory region. The expression must evaluate to a constant and it
72636 +cannot involve any symbols. The keyword `ORIGIN' may be abbreviated to
72637 +`org' or `o' (but not, for example, `ORG').
72639 + The LEN is an expression for the size in bytes of the memory region.
72640 +As with the ORIGIN expression, the expression must be numerical only
72641 +and must evaluate to a constant. The keyword `LENGTH' may be
72642 +abbreviated to `len' or `l'.
72644 + In the following example, we specify that there are two memory
72645 +regions available for allocation: one starting at `0' for 256 kilobytes,
72646 +and the other starting at `0x40000000' for four megabytes. The linker
72647 +will place into the `rom' memory region every section which is not
72648 +explicitly mapped into a memory region, and is either read-only or
72649 +executable. The linker will place other sections which are not
72650 +explicitly mapped into a memory region into the `ram' memory region.
72654 + rom (rx) : ORIGIN = 0, LENGTH = 256K
72655 + ram (!rx) : org = 0x40000000, l = 4M
72658 + Once you define a memory region, you can direct the linker to place
72659 +specific output sections into that memory region by using the `>REGION'
72660 +output section attribute. For example, if you have a memory region
72661 +named `mem', you would use `>mem' in the output section definition.
72662 +*Note Output Section Region::. If no address was specified for the
72663 +output section, the linker will set the address to the next available
72664 +address within the memory region. If the combined output sections
72665 +directed to a memory region are too large for the region, the linker
72666 +will issue an error message.
72668 + It is possible to access the origin and length of a memory in an
72669 +expression via the `ORIGIN(MEMORY)' and `LENGTH(MEMORY)' functions:
72671 + _fstack = ORIGIN(ram) + LENGTH(ram) - 4;
72674 +File: ld.info, Node: PHDRS, Next: VERSION, Prev: MEMORY, Up: Scripts
72679 +The ELF object file format uses "program headers", also knows as
72680 +"segments". The program headers describe how the program should be
72681 +loaded into memory. You can print them out by using the `objdump'
72682 +program with the `-p' option.
72684 + When you run an ELF program on a native ELF system, the system loader
72685 +reads the program headers in order to figure out how to load the
72686 +program. This will only work if the program headers are set correctly.
72687 +This manual does not describe the details of how the system loader
72688 +interprets program headers; for more information, see the ELF ABI.
72690 + The linker will create reasonable program headers by default.
72691 +However, in some cases, you may need to specify the program headers more
72692 +precisely. You may use the `PHDRS' command for this purpose. When the
72693 +linker sees the `PHDRS' command in the linker script, it will not
72694 +create any program headers other than the ones specified.
72696 + The linker only pays attention to the `PHDRS' command when
72697 +generating an ELF output file. In other cases, the linker will simply
72700 + This is the syntax of the `PHDRS' command. The words `PHDRS',
72701 +`FILEHDR', `AT', and `FLAGS' are keywords.
72705 + NAME TYPE [ FILEHDR ] [ PHDRS ] [ AT ( ADDRESS ) ]
72706 + [ FLAGS ( FLAGS ) ] ;
72709 + The NAME is used only for reference in the `SECTIONS' command of the
72710 +linker script. It is not put into the output file. Program header
72711 +names are stored in a separate name space, and will not conflict with
72712 +symbol names, file names, or section names. Each program header must
72713 +have a distinct name.
72715 + Certain program header types describe segments of memory which the
72716 +system loader will load from the file. In the linker script, you
72717 +specify the contents of these segments by placing allocatable output
72718 +sections in the segments. You use the `:PHDR' output section attribute
72719 +to place a section in a particular segment. *Note Output Section
72722 + It is normal to put certain sections in more than one segment. This
72723 +merely implies that one segment of memory contains another. You may
72724 +repeat `:PHDR', using it once for each segment which should contain the
72727 + If you place a section in one or more segments using `:PHDR', then
72728 +the linker will place all subsequent allocatable sections which do not
72729 +specify `:PHDR' in the same segments. This is for convenience, since
72730 +generally a whole set of contiguous sections will be placed in a single
72731 +segment. You can use `:NONE' to override the default segment and tell
72732 +the linker to not put the section in any segment at all.
72734 + You may use the `FILEHDR' and `PHDRS' keywords appear after the
72735 +program header type to further describe the contents of the segment.
72736 +The `FILEHDR' keyword means that the segment should include the ELF
72737 +file header. The `PHDRS' keyword means that the segment should include
72738 +the ELF program headers themselves.
72740 + The TYPE may be one of the following. The numbers indicate the
72741 +value of the keyword.
72744 + Indicates an unused program header.
72747 + Indicates that this program header describes a segment to be
72748 + loaded from the file.
72751 + Indicates a segment where dynamic linking information can be found.
72754 + Indicates a segment where the name of the program interpreter may
72758 + Indicates a segment holding note information.
72761 + A reserved program header type, defined but not specified by the
72765 + Indicates a segment where the program headers may be found.
72768 + An expression giving the numeric type of the program header. This
72769 + may be used for types not defined above.
72771 + You can specify that a segment should be loaded at a particular
72772 +address in memory by using an `AT' expression. This is identical to the
72773 +`AT' command used as an output section attribute (*note Output Section
72774 +LMA::). The `AT' command for a program header overrides the output
72775 +section attribute.
72777 + The linker will normally set the segment flags based on the sections
72778 +which comprise the segment. You may use the `FLAGS' keyword to
72779 +explicitly specify the segment flags. The value of FLAGS must be an
72780 +integer. It is used to set the `p_flags' field of the program header.
72782 + Here is an example of `PHDRS'. This shows a typical set of program
72783 +headers used on a native ELF system.
72787 + headers PT_PHDR PHDRS ;
72788 + interp PT_INTERP ;
72789 + text PT_LOAD FILEHDR PHDRS ;
72791 + dynamic PT_DYNAMIC ;
72796 + . = SIZEOF_HEADERS;
72797 + .interp : { *(.interp) } :text :interp
72798 + .text : { *(.text) } :text
72799 + .rodata : { *(.rodata) } /* defaults to :text */
72801 + . = . + 0x1000; /* move to a new page in memory */
72802 + .data : { *(.data) } :data
72803 + .dynamic : { *(.dynamic) } :data :dynamic
72808 +File: ld.info, Node: VERSION, Next: Expressions, Prev: PHDRS, Up: Scripts
72810 +3.9 VERSION Command
72811 +===================
72813 +The linker supports symbol versions when using ELF. Symbol versions are
72814 +only useful when using shared libraries. The dynamic linker can use
72815 +symbol versions to select a specific version of a function when it runs
72816 +a program that may have been linked against an earlier version of the
72819 + You can include a version script directly in the main linker script,
72820 +or you can supply the version script as an implicit linker script. You
72821 +can also use the `--version-script' linker option.
72823 + The syntax of the `VERSION' command is simply
72824 + VERSION { version-script-commands }
72826 + The format of the version script commands is identical to that used
72827 +by Sun's linker in Solaris 2.5. The version script defines a tree of
72828 +version nodes. You specify the node names and interdependencies in the
72829 +version script. You can specify which symbols are bound to which
72830 +version nodes, and you can reduce a specified set of symbols to local
72831 +scope so that they are not globally visible outside of the shared
72834 + The easiest way to demonstrate the version script language is with a
72854 + "int f(int, double)";
72858 + This example version script defines three version nodes. The first
72859 +version node defined is `VERS_1.1'; it has no other dependencies. The
72860 +script binds the symbol `foo1' to `VERS_1.1'. It reduces a number of
72861 +symbols to local scope so that they are not visible outside of the
72862 +shared library; this is done using wildcard patterns, so that any
72863 +symbol whose name begins with `old', `original', or `new' is matched.
72864 +The wildcard patterns available are the same as those used in the shell
72865 +when matching filenames (also known as "globbing"). However, if you
72866 +specify the symbol name inside double quotes, then the name is treated
72867 +as literal, rather than as a glob pattern.
72869 + Next, the version script defines node `VERS_1.2'. This node depends
72870 +upon `VERS_1.1'. The script binds the symbol `foo2' to the version
72873 + Finally, the version script defines node `VERS_2.0'. This node
72874 +depends upon `VERS_1.2'. The scripts binds the symbols `bar1' and
72875 +`bar2' are bound to the version node `VERS_2.0'.
72877 + When the linker finds a symbol defined in a library which is not
72878 +specifically bound to a version node, it will effectively bind it to an
72879 +unspecified base version of the library. You can bind all otherwise
72880 +unspecified symbols to a given version node by using `global: *;'
72881 +somewhere in the version script.
72883 + The names of the version nodes have no specific meaning other than
72884 +what they might suggest to the person reading them. The `2.0' version
72885 +could just as well have appeared in between `1.1' and `1.2'. However,
72886 +this would be a confusing way to write a version script.
72888 + Node name can be omited, provided it is the only version node in the
72889 +version script. Such version script doesn't assign any versions to
72890 +symbols, only selects which symbols will be globally visible out and
72893 + { global: foo; bar; local: *; };
72895 + When you link an application against a shared library that has
72896 +versioned symbols, the application itself knows which version of each
72897 +symbol it requires, and it also knows which version nodes it needs from
72898 +each shared library it is linked against. Thus at runtime, the dynamic
72899 +loader can make a quick check to make sure that the libraries you have
72900 +linked against do in fact supply all of the version nodes that the
72901 +application will need to resolve all of the dynamic symbols. In this
72902 +way it is possible for the dynamic linker to know with certainty that
72903 +all external symbols that it needs will be resolvable without having to
72904 +search for each symbol reference.
72906 + The symbol versioning is in effect a much more sophisticated way of
72907 +doing minor version checking that SunOS does. The fundamental problem
72908 +that is being addressed here is that typically references to external
72909 +functions are bound on an as-needed basis, and are not all bound when
72910 +the application starts up. If a shared library is out of date, a
72911 +required interface may be missing; when the application tries to use
72912 +that interface, it may suddenly and unexpectedly fail. With symbol
72913 +versioning, the user will get a warning when they start their program if
72914 +the libraries being used with the application are too old.
72916 + There are several GNU extensions to Sun's versioning approach. The
72917 +first of these is the ability to bind a symbol to a version node in the
72918 +source file where the symbol is defined instead of in the versioning
72919 +script. This was done mainly to reduce the burden on the library
72920 +maintainer. You can do this by putting something like:
72921 + __asm__(".symver original_foo,foo@VERS_1.1");
72922 + in the C source file. This renames the function `original_foo' to
72923 +be an alias for `foo' bound to the version node `VERS_1.1'. The
72924 +`local:' directive can be used to prevent the symbol `original_foo'
72925 +from being exported. A `.symver' directive takes precedence over a
72928 + The second GNU extension is to allow multiple versions of the same
72929 +function to appear in a given shared library. In this way you can make
72930 +an incompatible change to an interface without increasing the major
72931 +version number of the shared library, while still allowing applications
72932 +linked against the old interface to continue to function.
72934 + To do this, you must use multiple `.symver' directives in the source
72935 +file. Here is an example:
72937 + __asm__(".symver original_foo,foo@");
72938 + __asm__(".symver old_foo,foo@VERS_1.1");
72939 + __asm__(".symver old_foo1,foo@VERS_1.2");
72940 + __asm__(".symver new_foo,foo@@VERS_2.0");
72942 + In this example, `foo@' represents the symbol `foo' bound to the
72943 +unspecified base version of the symbol. The source file that contains
72944 +this example would define 4 C functions: `original_foo', `old_foo',
72945 +`old_foo1', and `new_foo'.
72947 + When you have multiple definitions of a given symbol, there needs to
72948 +be some way to specify a default version to which external references to
72949 +this symbol will be bound. You can do this with the `foo@@VERS_2.0'
72950 +type of `.symver' directive. You can only declare one version of a
72951 +symbol as the default in this manner; otherwise you would effectively
72952 +have multiple definitions of the same symbol.
72954 + If you wish to bind a reference to a specific version of the symbol
72955 +within the shared library, you can use the aliases of convenience
72956 +(i.e., `old_foo'), or you can use the `.symver' directive to
72957 +specifically bind to an external version of the function in question.
72959 + You can also specify the language in the version script:
72961 + VERSION extern "lang" { version-script-commands }
72963 + The supported `lang's are `C', `C++', and `Java'. The linker will
72964 +iterate over the list of symbols at the link time and demangle them
72965 +according to `lang' before matching them to the patterns specified in
72966 +`version-script-commands'.
72968 + Demangled names may contains spaces and other special characters. As
72969 +described above, you can use a glob pattern to match demangled names,
72970 +or you can use a double-quoted string to match the string exactly. In
72971 +the latter case, be aware that minor differences (such as differing
72972 +whitespace) between the version script and the demangler output will
72973 +cause a mismatch. As the exact string generated by the demangler might
72974 +change in the future, even if the mangled name does not, you should
72975 +check that all of your version directives are behaving as you expect
72979 +File: ld.info, Node: Expressions, Next: Implicit Linker Scripts, Prev: VERSION, Up: Scripts
72981 +3.10 Expressions in Linker Scripts
72982 +==================================
72984 +The syntax for expressions in the linker script language is identical to
72985 +that of C expressions. All expressions are evaluated as integers. All
72986 +expressions are evaluated in the same size, which is 32 bits if both the
72987 +host and target are 32 bits, and is otherwise 64 bits.
72989 + You can use and set symbol values in expressions.
72991 + The linker defines several special purpose builtin functions for use
72996 +* Constants:: Constants
72997 +* Symbols:: Symbol Names
72998 +* Orphan Sections:: Orphan Sections
72999 +* Location Counter:: The Location Counter
73000 +* Operators:: Operators
73001 +* Evaluation:: Evaluation
73002 +* Expression Section:: The Section of an Expression
73003 +* Builtin Functions:: Builtin Functions
73006 +File: ld.info, Node: Constants, Next: Symbols, Up: Expressions
73011 +All constants are integers.
73013 + As in C, the linker considers an integer beginning with `0' to be
73014 +octal, and an integer beginning with `0x' or `0X' to be hexadecimal.
73015 +The linker considers other integers to be decimal.
73017 + In addition, you can use the suffixes `K' and `M' to scale a
73018 +constant by `1024' or `1024*1024' respectively. For example, the
73019 +following all refer to the same quantity:
73022 + _fourk_3 = 0x1000;
73025 +File: ld.info, Node: Symbols, Next: Orphan Sections, Prev: Constants, Up: Expressions
73027 +3.10.2 Symbol Names
73028 +-------------------
73030 +Unless quoted, symbol names start with a letter, underscore, or period
73031 +and may include letters, digits, underscores, periods, and hyphens.
73032 +Unquoted symbol names must not conflict with any keywords. You can
73033 +specify a symbol which contains odd characters or has the same name as a
73034 +keyword by surrounding the symbol name in double quotes:
73036 + "with a space" = "also with a space" + 10;
73038 + Since symbols can contain many non-alphabetic characters, it is
73039 +safest to delimit symbols with spaces. For example, `A-B' is one
73040 +symbol, whereas `A - B' is an expression involving subtraction.
73043 +File: ld.info, Node: Orphan Sections, Next: Location Counter, Prev: Symbols, Up: Expressions
73045 +3.10.3 Orphan Sections
73046 +----------------------
73048 +Orphan sections are sections present in the input files which are not
73049 +explicitly placed into the output file by the linker script. The
73050 +linker will still copy these sections into the output file, but it has
73051 +to guess as to where they should be placed. The linker uses a simple
73052 +heuristic to do this. It attempts to place orphan sections after
73053 +non-orphan sections of the same attribute, such as code vs data,
73054 +loadable vs non-loadable, etc. If there is not enough room to do this
73055 +then it places at the end of the file.
73057 + For ELF targets, the attribute of the section includes section type
73058 +as well as section flag.
73061 +File: ld.info, Node: Location Counter, Next: Operators, Prev: Orphan Sections, Up: Expressions
73063 +3.10.4 The Location Counter
73064 +---------------------------
73066 +The special linker variable "dot" `.' always contains the current
73067 +output location counter. Since the `.' always refers to a location in
73068 +an output section, it may only appear in an expression within a
73069 +`SECTIONS' command. The `.' symbol may appear anywhere that an
73070 +ordinary symbol is allowed in an expression.
73072 + Assigning a value to `.' will cause the location counter to be
73073 +moved. This may be used to create holes in the output section. The
73074 +location counter may never be moved backwards.
73087 + In the previous example, the `.text' section from `file1' is located
73088 +at the beginning of the output section `output'. It is followed by a
73089 +1000 byte gap. Then the `.text' section from `file2' appears, also
73090 +with a 1000 byte gap following before the `.text' section from `file3'.
73091 +The notation `= 0x12345678' specifies what data to write in the gaps
73092 +(*note Output Section Fill::).
73094 + Note: `.' actually refers to the byte offset from the start of the
73095 +current containing object. Normally this is the `SECTIONS' statement,
73096 +whose start address is 0, hence `.' can be used as an absolute address.
73097 +If `.' is used inside a section description however, it refers to the
73098 +byte offset from the start of that section, not an absolute address.
73099 +Thus in a script like this:
73115 + The `.text' section will be assigned a starting address of 0x100 and
73116 +a size of exactly 0x200 bytes, even if there is not enough data in the
73117 +`.text' input sections to fill this area. (If there is too much data,
73118 +an error will be produced because this would be an attempt to move `.'
73119 +backwards). The `.data' section will start at 0x500 and it will have
73120 +an extra 0x600 bytes worth of space after the end of the values from
73121 +the `.data' input sections and before the end of the `.data' output
73124 + Setting symbols to the value of the location counter outside of an
73125 +output section statement can result in unexpected values if the linker
73126 +needs to place orphan sections. For example, given the following:
73130 + start_of_text = . ;
73131 + .text: { *(.text) }
73132 + end_of_text = . ;
73134 + start_of_data = . ;
73135 + .data: { *(.data) }
73136 + end_of_data = . ;
73139 + If the linker needs to place some input section, e.g. `.rodata', not
73140 +mentioned in the script, it might choose to place that section between
73141 +`.text' and `.data'. You might think the linker should place `.rodata'
73142 +on the blank line in the above script, but blank lines are of no
73143 +particular significance to the linker. As well, the linker doesn't
73144 +associate the above symbol names with their sections. Instead, it
73145 +assumes that all assignments or other statements belong to the previous
73146 +output section, except for the special case of an assignment to `.'.
73147 +I.e., the linker will place the orphan `.rodata' section as if the
73148 +script was written as follows:
73152 + start_of_text = . ;
73153 + .text: { *(.text) }
73154 + end_of_text = . ;
73156 + start_of_data = . ;
73157 + .rodata: { *(.rodata) }
73158 + .data: { *(.data) }
73159 + end_of_data = . ;
73162 + This may or may not be the script author's intention for the value of
73163 +`start_of_data'. One way to influence the orphan section placement is
73164 +to assign the location counter to itself, as the linker assumes that an
73165 +assignment to `.' is setting the start address of a following output
73166 +section and thus should be grouped with that section. So you could
73171 + start_of_text = . ;
73172 + .text: { *(.text) }
73173 + end_of_text = . ;
73176 + start_of_data = . ;
73177 + .data: { *(.data) }
73178 + end_of_data = . ;
73181 + Now, the orphan `.rodata' section will be placed between
73182 +`end_of_text' and `start_of_data'.
73185 +File: ld.info, Node: Operators, Next: Evaluation, Prev: Location Counter, Up: Expressions
73190 +The linker recognizes the standard C set of arithmetic operators, with
73191 +the standard bindings and precedence levels:
73192 + precedence associativity Operators Notes
73198 + 5 left == != > < <= >=
73204 + 11 right &= += -= *= /= (2)
73206 + Notes: (1) Prefix operators (2) *Note Assignments::.
73209 +File: ld.info, Node: Evaluation, Next: Expression Section, Prev: Operators, Up: Expressions
73214 +The linker evaluates expressions lazily. It only computes the value of
73215 +an expression when absolutely necessary.
73217 + The linker needs some information, such as the value of the start
73218 +address of the first section, and the origins and lengths of memory
73219 +regions, in order to do any linking at all. These values are computed
73220 +as soon as possible when the linker reads in the linker script.
73222 + However, other values (such as symbol values) are not known or needed
73223 +until after storage allocation. Such values are evaluated later, when
73224 +other information (such as the sizes of output sections) is available
73225 +for use in the symbol assignment expression.
73227 + The sizes of sections cannot be known until after allocation, so
73228 +assignments dependent upon these are not performed until after
73231 + Some expressions, such as those depending upon the location counter
73232 +`.', must be evaluated during section allocation.
73234 + If the result of an expression is required, but the value is not
73235 +available, then an error results. For example, a script like the
73239 + .text 9+this_isnt_constant :
73242 +will cause the error message `non constant expression for initial
73246 +File: ld.info, Node: Expression Section, Next: Builtin Functions, Prev: Evaluation, Up: Expressions
73248 +3.10.7 The Section of an Expression
73249 +-----------------------------------
73251 +When the linker evaluates an expression, the result is either absolute
73252 +or relative to some section. A relative expression is expressed as a
73253 +fixed offset from the base of a section.
73255 + The position of the expression within the linker script determines
73256 +whether it is absolute or relative. An expression which appears within
73257 +an output section definition is relative to the base of the output
73258 +section. An expression which appears elsewhere will be absolute.
73260 + A symbol set to a relative expression will be relocatable if you
73261 +request relocatable output using the `-r' option. That means that a
73262 +further link operation may change the value of the symbol. The symbol's
73263 +section will be the section of the relative expression.
73265 + A symbol set to an absolute expression will retain the same value
73266 +through any further link operation. The symbol will be absolute, and
73267 +will not have any particular associated section.
73269 + You can use the builtin function `ABSOLUTE' to force an expression
73270 +to be absolute when it would otherwise be relative. For example, to
73271 +create an absolute symbol set to the address of the end of the output
73275 + .data : { *(.data) _edata = ABSOLUTE(.); }
73277 + If `ABSOLUTE' were not used, `_edata' would be relative to the
73281 +File: ld.info, Node: Builtin Functions, Prev: Expression Section, Up: Expressions
73283 +3.10.8 Builtin Functions
73284 +------------------------
73286 +The linker script language includes a number of builtin functions for
73287 +use in linker script expressions.
73290 + Return the absolute (non-relocatable, as opposed to non-negative)
73291 + value of the expression EXP. Primarily useful to assign an
73292 + absolute value to a symbol within a section definition, where
73293 + symbol values are normally section relative. *Note Expression
73297 + Return the absolute address (the VMA) of the named SECTION. Your
73298 + script must previously have defined the location of that section.
73299 + In the following example, `symbol_1' and `symbol_2' are assigned
73300 + identical values:
73304 + start_of_output_1 = ABSOLUTE(.);
73309 + symbol_1 = ADDR(.output1);
73310 + symbol_2 = start_of_output_1;
73315 +`ALIGN(EXP,ALIGN)'
73316 + Return the location counter (`.') or arbitrary expression aligned
73317 + to the next ALIGN boundary. The single operand `ALIGN' doesn't
73318 + change the value of the location counter--it just does arithmetic
73319 + on it. The two operand `ALIGN' allows an arbitrary expression to
73320 + be aligned upwards (`ALIGN(ALIGN)' is equivalent to `ALIGN(.,
73323 + Here is an example which aligns the output `.data' section to the
73324 + next `0x2000' byte boundary after the preceding section and sets a
73325 + variable within the section to the next `0x8000' boundary after the
73328 + .data ALIGN(0x2000): {
73330 + variable = ALIGN(0x8000);
73333 + The first use of `ALIGN' in this example specifies the
73334 + location of a section because it is used as the optional ADDRESS
73335 + attribute of a section definition (*note Output Section
73336 + Address::). The second use of `ALIGN' is used to defines the
73337 + value of a symbol.
73339 + The builtin function `NEXT' is closely related to `ALIGN'.
73342 + This is a synonym for `ALIGN', for compatibility with older linker
73343 + scripts. It is most often seen when setting the address of an
73346 +`DATA_SEGMENT_ALIGN(MAXPAGESIZE, COMMONPAGESIZE)'
73347 + This is equivalent to either
73348 + (ALIGN(MAXPAGESIZE) + (. & (MAXPAGESIZE - 1)))
73350 + (ALIGN(MAXPAGESIZE) + (. & (MAXPAGESIZE - COMMONPAGESIZE)))
73351 + depending on whether the latter uses fewer COMMONPAGESIZE sized
73352 + pages for the data segment (area between the result of this
73353 + expression and `DATA_SEGMENT_END') than the former or not. If the
73354 + latter form is used, it means COMMONPAGESIZE bytes of runtime
73355 + memory will be saved at the expense of up to COMMONPAGESIZE wasted
73356 + bytes in the on-disk file.
73358 + This expression can only be used directly in `SECTIONS' commands,
73359 + not in any output section descriptions and only once in the linker
73360 + script. COMMONPAGESIZE should be less or equal to MAXPAGESIZE and
73361 + should be the system page size the object wants to be optimized
73362 + for (while still working on system page sizes up to MAXPAGESIZE).
73365 + . = DATA_SEGMENT_ALIGN(0x10000, 0x2000);
73367 +`DATA_SEGMENT_END(EXP)'
73368 + This defines the end of data segment for `DATA_SEGMENT_ALIGN'
73369 + evaluation purposes.
73371 + . = DATA_SEGMENT_END(.);
73373 +`DATA_SEGMENT_RELRO_END(OFFSET, EXP)'
73374 + This defines the end of the `PT_GNU_RELRO' segment when `-z relro'
73375 + option is used. Second argument is returned. When `-z relro'
73376 + option is not present, `DATA_SEGMENT_RELRO_END' does nothing,
73377 + otherwise `DATA_SEGMENT_ALIGN' is padded so that EXP + OFFSET is
73378 + aligned to the most commonly used page boundary for particular
73379 + target. If present in the linker script, it must always come in
73380 + between `DATA_SEGMENT_ALIGN' and `DATA_SEGMENT_END'.
73382 + . = DATA_SEGMENT_RELRO_END(24, .);
73385 + Return 1 if SYMBOL is in the linker global symbol table and is
73386 + defined before the statement using DEFINED in the script, otherwise
73387 + return 0. You can use this function to provide default values for
73388 + symbols. For example, the following script fragment shows how to
73389 + set a global symbol `begin' to the first location in the `.text'
73390 + section--but if a symbol called `begin' already existed, its value
73395 + begin = DEFINED(begin) ? begin : . ;
73402 + Return the length of the memory region named MEMORY.
73404 +`LOADADDR(SECTION)'
73405 + Return the absolute LMA of the named SECTION. This is normally
73406 + the same as `ADDR', but it may be different if the `AT' attribute
73407 + is used in the output section definition (*note Output Section
73411 + Returns the maximum of EXP1 and EXP2.
73414 + Returns the minimum of EXP1 and EXP2.
73417 + Return the next unallocated address that is a multiple of EXP.
73418 + This function is closely related to `ALIGN(EXP)'; unless you use
73419 + the `MEMORY' command to define discontinuous memory for the output
73420 + file, the two functions are equivalent.
73423 + Return the origin of the memory region named MEMORY.
73425 +`SEGMENT_START(SEGMENT, DEFAULT)'
73426 + Return the base address of the named SEGMENT. If an explicit
73427 + value has been given for this segment (with a command-line `-T'
73428 + option) that value will be returned; otherwise the value will be
73429 + DEFAULT. At present, the `-T' command-line option can only be
73430 + used to set the base address for the "text", "data", and "bss"
73431 + sections, but you use `SEGMENT_START' with any segment name.
73434 + Return the size in bytes of the named SECTION, if that section has
73435 + been allocated. If the section has not been allocated when this is
73436 + evaluated, the linker will report an error. In the following
73437 + example, `symbol_1' and `symbol_2' are assigned identical values:
73444 + symbol_1 = .end - .start ;
73445 + symbol_2 = SIZEOF(.output);
73450 + Return the size in bytes of the output file's headers. This is
73451 + information which appears at the start of the output file. You
73452 + can use this number when setting the start address of the first
73453 + section, if you choose, to facilitate paging.
73455 + When producing an ELF output file, if the linker script uses the
73456 + `SIZEOF_HEADERS' builtin function, the linker must compute the
73457 + number of program headers before it has determined all the section
73458 + addresses and sizes. If the linker later discovers that it needs
73459 + additional program headers, it will report an error `not enough
73460 + room for program headers'. To avoid this error, you must avoid
73461 + using the `SIZEOF_HEADERS' function, or you must rework your linker
73462 + script to avoid forcing the linker to use additional program
73463 + headers, or you must define the program headers yourself using the
73464 + `PHDRS' command (*note PHDRS::).
73467 +File: ld.info, Node: Implicit Linker Scripts, Prev: Expressions, Up: Scripts
73469 +3.11 Implicit Linker Scripts
73470 +============================
73472 +If you specify a linker input file which the linker can not recognize as
73473 +an object file or an archive file, it will try to read the file as a
73474 +linker script. If the file can not be parsed as a linker script, the
73475 +linker will report an error.
73477 + An implicit linker script will not replace the default linker script.
73479 + Typically an implicit linker script would contain only symbol
73480 +assignments, or the `INPUT', `GROUP', or `VERSION' commands.
73482 + Any input files read because of an implicit linker script will be
73483 +read at the position in the command line where the implicit linker
73484 +script was read. This can affect archive searching.
73487 +File: ld.info, Node: Machine Dependent, Next: BFD, Prev: Scripts, Up: Top
73489 +4 Machine Dependent Features
73490 +****************************
73492 +`ld' has additional features on some platforms; the following sections
73493 +describe them. Machines where `ld' has no additional functionality are
73499 +* H8/300:: `ld' and the H8/300
73501 +* i960:: `ld' and the Intel 960 family
73503 +* ARM:: `ld' and the ARM family
73505 +* HPPA ELF32:: `ld' and HPPA 32-bit ELF
73507 +* MMIX:: `ld' and MMIX
73509 +* MSP430:: `ld' and MSP430
73511 +* PowerPC ELF32:: `ld' and PowerPC 32-bit ELF Support
73513 +* PowerPC64 ELF64:: `ld' and PowerPC64 64-bit ELF Support
73515 +* TI COFF:: `ld' and TI COFF
73517 +* WIN32:: `ld' and WIN32 (cygwin/mingw)
73519 +* Xtensa:: `ld' and Xtensa Processors
73522 +File: ld.info, Node: H8/300, Next: i960, Up: Machine Dependent
73524 +4.1 `ld' and the H8/300
73525 +=======================
73527 +For the H8/300, `ld' can perform these global optimizations when you
73528 +specify the `--relax' command-line option.
73530 +_relaxing address modes_
73531 + `ld' finds all `jsr' and `jmp' instructions whose targets are
73532 + within eight bits, and turns them into eight-bit program-counter
73533 + relative `bsr' and `bra' instructions, respectively.
73535 +_synthesizing instructions_
73536 + `ld' finds all `mov.b' instructions which use the sixteen-bit
73537 + absolute address form, but refer to the top page of memory, and
73538 + changes them to use the eight-bit address form. (That is: the
73539 + linker turns `mov.b `@'AA:16' into `mov.b `@'AA:8' whenever the
73540 + address AA is in the top page of memory).
73542 +_bit manipulation instructions_
73543 + `ld' finds all bit manipulation instructions like `band, bclr,
73544 + biand, bild, bior, bist, bixor, bld, bnot, bor, bset, bst, btst,
73545 + bxor' which use 32 bit and 16 bit absolute address form, but refer
73546 + to the top page of memory, and changes them to use the 8 bit
73547 + address form. (That is: the linker turns `bset #xx:3,`@'AA:32'
73548 + into `bset #xx:3,`@'AA:8' whenever the address AA is in the top
73551 +_system control instructions_
73552 + `ld' finds all `ldc.w, stc.w' instrcutions which use the 32 bit
73553 + absolute address form, but refer to the top page of memory, and
73554 + changes them to use 16 bit address form. (That is: the linker
73555 + turns `ldc.w `@'AA:32,ccr' into `ldc.w `@'AA:16,ccr' whenever the
73556 + address AA is in the top page of memory).
73559 +File: ld.info, Node: i960, Next: ARM, Prev: H8/300, Up: Machine Dependent
73561 +4.2 `ld' and the Intel 960 Family
73562 +=================================
73564 +You can use the `-AARCHITECTURE' command line option to specify one of
73565 +the two-letter names identifying members of the 960 family; the option
73566 +specifies the desired output target, and warns of any incompatible
73567 +instructions in the input files. It also modifies the linker's search
73568 +strategy for archive libraries, to support the use of libraries
73569 +specific to each particular architecture, by including in the search
73570 +loop names suffixed with the string identifying the architecture.
73572 + For example, if your `ld' command line included `-ACA' as well as
73573 +`-ltry', the linker would look (in its built-in search paths, and in
73574 +any paths you specify with `-L') for a library with the names
73581 +The first two possibilities would be considered in any event; the last
73582 +two are due to the use of `-ACA'.
73584 + You can meaningfully use `-A' more than once on a command line, since
73585 +the 960 architecture family allows combination of target architectures;
73586 +each use will add another pair of name variants to search for when `-l'
73587 +specifies a library.
73589 + `ld' supports the `--relax' option for the i960 family. If you
73590 +specify `--relax', `ld' finds all `balx' and `calx' instructions whose
73591 +targets are within 24 bits, and turns them into 24-bit program-counter
73592 +relative `bal' and `cal' instructions, respectively. `ld' also turns
73593 +`cal' instructions into `bal' instructions when it determines that the
73594 +target subroutine is a leaf routine (that is, the target subroutine does
73595 +not itself call any subroutines).
73598 +File: ld.info, Node: ARM, Next: HPPA ELF32, Prev: i960, Up: Machine Dependent
73600 +4.3 `ld' and the ARM family
73601 +===========================
73603 +For the ARM, `ld' will generate code stubs to allow functions calls
73604 +betweem ARM and Thumb code. These stubs only work with code that has
73605 +been compiled and assembled with the `-mthumb-interwork' command line
73606 +option. If it is necessary to link with old ARM object files or
73607 +libraries, which have not been compiled with the -mthumb-interwork
73608 +option then the `--support-old-code' command line switch should be
73609 +given to the linker. This will make it generate larger stub functions
73610 +which will work with non-interworking aware ARM code. Note, however,
73611 +the linker does not support generating stubs for function calls to
73612 +non-interworking aware Thumb code.
73614 + The `--thumb-entry' switch is a duplicate of the generic `--entry'
73615 +switch, in that it sets the program's starting address. But it also
73616 +sets the bottom bit of the address, so that it can be branched to using
73617 +a BX instruction, and the program will start executing in Thumb mode
73620 + The `--be8' switch instructs `ld' to generate BE8 format
73621 +executables. This option is only valid when linking big-endian objects.
73622 +The resulting image will contain big-endian data and little-endian code.
73624 + The `R_ARM_TARGET1' relocation is typically used for entries in the
73625 +`.init_array' section. It is interpreted as either `R_ARM_REL32' or
73626 +`R_ARM_ABS32', depending on the target. The `--target1-rel' and
73627 +`--target1-abs' switches override the default.
73629 + The `--target2=type' switch overrides the default definition of the
73630 +`R_ARM_TARGET2' relocation. Valid values for `type', their meanings,
73631 +and target defaults are as follows:
73633 + `R_ARM_REL32' (arm*-*-elf, arm*-*-eabi)
73636 + `R_ARM_ABS32' (arm*-*-symbianelf)
73639 + `R_ARM_GOT_PREL' (arm*-*-linux, arm*-*-*bsd)
73641 + The `R_ARM_V4BX' relocation (defined by the ARM AAELF specification)
73642 +enables objects compiled for the ARMv4 architecture to be
73643 +interworking-safe when linked with other objects compiled for ARMv4t,
73644 +but also allows pure ARMv4 binaries to be built from the same ARMv4
73647 + In the latter case, the switch `--fix-v4bx' must be passed to the
73648 +linker, which causes v4t `BX rM' instructions to be rewritten as `MOV
73649 +PC,rM', since v4 processors do not have a `BX' instruction.
73651 + In the former case, the switch should not be used, and `R_ARM_V4BX'
73652 +relocations are ignored.
73654 + The `--use-blx' switch enables the linker to use ARM/Thumb BLX
73655 +instructions (available on ARMv5t and above) in various situations.
73656 +Currently it is used to perform calls via the PLT from Thumb code using
73657 +BLX rather than using BX and a mode-switching stub before each PLT
73658 +entry. This should lead to such calls executing slightly faster.
73660 + This option is enabled implicitly for SymbianOS, so there is no need
73661 +to specify it if you are using that target.
73664 +File: ld.info, Node: HPPA ELF32, Next: MMIX, Prev: ARM, Up: Machine Dependent
73666 +4.4 `ld' and HPPA 32-bit ELF Support
73667 +====================================
73669 +When generating a shared library, `ld' will by default generate import
73670 +stubs suitable for use with a single sub-space application. The
73671 +`--multi-subspace' switch causes `ld' to generate export stubs, and
73672 +different (larger) import stubs suitable for use with multiple
73675 + Long branch stubs and import/export stubs are placed by `ld' in stub
73676 +sections located between groups of input sections. `--stub-group-size'
73677 +specifies the maximum size of a group of input sections handled by one
73678 +stub section. Since branch offsets are signed, a stub section may
73679 +serve two groups of input sections, one group before the stub section,
73680 +and one group after it. However, when using conditional branches that
73681 +require stubs, it may be better (for branch prediction) that stub
73682 +sections only serve one group of input sections. A negative value for
73683 +`N' chooses this scheme, ensuring that branches to stubs always use a
73684 +negative offset. Two special values of `N' are recognized, `1' and
73685 +`-1'. These both instruct `ld' to automatically size input section
73686 +groups for the branch types detected, with the same behaviour regarding
73687 +stub placement as other positive or negative values of `N' respectively.
73689 + Note that `--stub-group-size' does not split input sections. A
73690 +single input section larger than the group size specified will of course
73691 +create a larger group (of one section). If input sections are too
73692 +large, it may not be possible for a branch to reach its stub.
73695 +File: ld.info, Node: MMIX, Next: MSP430, Prev: HPPA ELF32, Up: Machine Dependent
73700 +For MMIX, there is a choice of generating `ELF' object files or `mmo'
73701 +object files when linking. The simulator `mmix' understands the `mmo'
73702 +format. The binutils `objcopy' utility can translate between the two
73705 + There is one special section, the `.MMIX.reg_contents' section.
73706 +Contents in this section is assumed to correspond to that of global
73707 +registers, and symbols referring to it are translated to special
73708 +symbols, equal to registers. In a final link, the start address of the
73709 +`.MMIX.reg_contents' section corresponds to the first allocated global
73710 +register multiplied by 8. Register `$255' is not included in this
73711 +section; it is always set to the program entry, which is at the symbol
73712 +`Main' for `mmo' files.
73714 + Symbols with the prefix `__.MMIX.start.', for example
73715 +`__.MMIX.start..text' and `__.MMIX.start..data' are special; there must
73716 +be only one each, even if they are local. The default linker script
73717 +uses these to set the default start address of a section.
73719 + Initial and trailing multiples of zero-valued 32-bit words in a
73720 +section, are left out from an mmo file.
73723 +File: ld.info, Node: MSP430, Next: PowerPC ELF32, Prev: MMIX, Up: Machine Dependent
73725 +4.6 `ld' and MSP430
73726 +===================
73728 +For the MSP430 it is possible to select the MPU architecture. The flag
73729 +`-m [mpu type]' will select an appropriate linker script for selected
73730 +MPU type. (To get a list of known MPUs just pass `-m help' option to
73733 + The linker will recognize some extra sections which are MSP430
73737 + Defines a portion of ROM where interrupt vectors located.
73740 + Defines the bootloader portion of the ROM (if applicable). Any
73741 + code in this section will be uploaded to the MPU.
73744 + Defines an information memory section (if applicable). Any code in
73745 + this section will be uploaded to the MPU.
73747 +``.infomemnobits''
73748 + This is the same as the `.infomem' section except that any code in
73749 + this section will not be uploaded to the MPU.
73752 + Denotes a portion of RAM located above `.bss' section.
73754 + The last two sections are used by gcc.
73757 +File: ld.info, Node: PowerPC ELF32, Next: PowerPC64 ELF64, Prev: MSP430, Up: Machine Dependent
73759 +4.7 `ld' and PowerPC 32-bit ELF Support
73760 +=======================================
73762 +Branches on PowerPC processors are limited to a signed 26-bit
73763 +displacement, which may result in `ld' giving `relocation truncated to
73764 +fit' errors with very large programs. `--relax' enables the generation
73765 +of trampolines that can access the entire 32-bit address space. These
73766 +trampolines are inserted at section boundaries, so may not themselves
73767 +be reachable if an input section exceeds 33M in size.
73770 + Current PowerPC GCC accepts a `-msecure-plt' option that generates
73771 + code capable of using a newer PLT and GOT layout that has the
73772 + security advantage of no executable section ever needing to be
73773 + writable and no writable section ever being executable. PowerPC
73774 + `ld' will generate this layout, including stubs to access the PLT,
73775 + if all input files (including startup and static libraries) were
73776 + compiled with `-msecure-plt'. `--bss-plt' forces the old BSS PLT
73777 + (and GOT layout) which can give slightly better performance.
73780 + The new secure PLT and GOT are placed differently relative to other
73781 + sections compared to older BSS PLT and GOT placement. The
73782 + location of `.plt' must change because the new secure PLT is an
73783 + initialized section while the old PLT is uninitialized. The
73784 + reason for the `.got' change is more subtle: The new placement
73785 + allows `.got' to be read-only in applications linked with `-z
73786 + relro -z now'. However, this placement means that `.sdata' cannot
73787 + always be used in shared libraries, because the PowerPC ABI
73788 + accesses `.sdata' in shared libraries from the GOT pointer.
73789 + `--sdata-got' forces the old GOT placement. PowerPC GCC doesn't
73790 + use `.sdata' in shared libraries, so this option is really only
73791 + useful for other compilers that may do so.
73793 +`--emit-stub-syms'
73794 + This option causes `ld' to label linker stubs with a local symbol
73795 + that encodes the stub type and destination.
73797 +`--no-tls-optimize'
73798 + PowerPC `ld' normally performs some optimization of code sequences
73799 + used to access Thread-Local Storage. Use this option to disable
73800 + the optimization.
73803 +File: ld.info, Node: PowerPC64 ELF64, Next: TI COFF, Prev: PowerPC ELF32, Up: Machine Dependent
73805 +4.8 `ld' and PowerPC64 64-bit ELF Support
73806 +=========================================
73808 +`--stub-group-size'
73809 + Long branch stubs, PLT call stubs and TOC adjusting stubs are
73810 + placed by `ld' in stub sections located between groups of input
73811 + sections. `--stub-group-size' specifies the maximum size of a
73812 + group of input sections handled by one stub section. Since branch
73813 + offsets are signed, a stub section may serve two groups of input
73814 + sections, one group before the stub section, and one group after
73815 + it. However, when using conditional branches that require stubs,
73816 + it may be better (for branch prediction) that stub sections only
73817 + serve one group of input sections. A negative value for `N'
73818 + chooses this scheme, ensuring that branches to stubs always use a
73819 + negative offset. Two special values of `N' are recognized, `1'
73820 + and `-1'. These both instruct `ld' to automatically size input
73821 + section groups for the branch types detected, with the same
73822 + behaviour regarding stub placement as other positive or negative
73823 + values of `N' respectively.
73825 + Note that `--stub-group-size' does not split input sections. A
73826 + single input section larger than the group size specified will of
73827 + course create a larger group (of one section). If input sections
73828 + are too large, it may not be possible for a branch to reach its
73831 +`--emit-stub-syms'
73832 + This option causes `ld' to label linker stubs with a local symbol
73833 + that encodes the stub type and destination.
73835 +`--dotsyms, --no-dotsyms'
73836 + These two options control how `ld' interprets version patterns in
73837 + a version script. Older PowerPC64 compilers emitted both a
73838 + function descriptor symbol with the same name as the function, and
73839 + a code entry symbol with the name prefixed by a dot (`.'). To
73840 + properly version a function `foo', the version script thus needs
73841 + to control both `foo' and `.foo'. The option `--dotsyms', on by
73842 + default, automatically adds the required dot-prefixed patterns.
73843 + Use `--no-dotsyms' to disable this feature.
73845 +`--no-tls-optimize'
73846 + PowerPC64 `ld' normally performs some optimization of code
73847 + sequences used to access Thread-Local Storage. Use this option to
73848 + disable the optimization.
73850 +`--no-opd-optimize'
73851 + PowerPC64 `ld' normally removes `.opd' section entries
73852 + corresponding to deleted link-once functions, or functions removed
73853 + by the action of `--gc-sections' or linker scrip `/DISCARD/'. Use
73854 + this option to disable `.opd' optimization.
73856 +`--non-overlapping-opd'
73857 + Some PowerPC64 compilers have an option to generate compressed
73858 + `.opd' entries spaced 16 bytes apart, overlapping the third word,
73859 + the static chain pointer (unused in C) with the first word of the
73860 + next entry. This option expands such entries to the full 24 bytes.
73862 +`--no-toc-optimize'
73863 + PowerPC64 `ld' normally removes unused `.toc' section entries.
73864 + Such entries are detected by examining relocations that reference
73865 + the TOC in code sections. A reloc in a deleted code section marks
73866 + a TOC word as unneeded, while a reloc in a kept code section marks
73867 + a TOC word as needed. Since the TOC may reference itself, TOC
73868 + relocs are also examined. TOC words marked as both needed and
73869 + unneeded will of course be kept. TOC words without any referencing
73870 + reloc are assumed to be part of a multi-word entry, and are kept or
73871 + discarded as per the nearest marked preceding word. This works
73872 + reliably for compiler generated code, but may be incorrect if
73873 + assembly code is used to insert TOC entries. Use this option to
73874 + disable the optimization.
73877 + By default, PowerPC64 GCC generates code for a TOC model where TOC
73878 + entries are accessed with a 16-bit offset from r2. This limits the
73879 + total TOC size to 64K. PowerPC64 `ld' extends this limit by
73880 + grouping code sections such that each group uses less than 64K for
73881 + its TOC entries, then inserts r2 adjusting stubs between
73882 + inter-group calls. `ld' does not split apart input sections, so
73883 + cannot help if a single input file has a `.toc' section that
73884 + exceeds 64K, most likely from linking multiple files with `ld -r'.
73885 + Use this option to turn off this feature.
73888 +File: ld.info, Node: TI COFF, Next: WIN32, Prev: PowerPC64 ELF64, Up: Machine Dependent
73890 +4.9 `ld''s Support for Various TI COFF Versions
73891 +===============================================
73893 +The `--format' switch allows selection of one of the various TI COFF
73894 +versions. The latest of this writing is 2; versions 0 and 1 are also
73895 +supported. The TI COFF versions also vary in header byte-order format;
73896 +`ld' will read any version or byte order, but the output header format
73897 +depends on the default specified by the specific target.
73900 +File: ld.info, Node: WIN32, Next: Xtensa, Prev: TI COFF, Up: Machine Dependent
73902 +4.10 `ld' and WIN32 (cygwin/mingw)
73903 +==================================
73905 +This section describes some of the win32 specific `ld' issues. See
73906 +*Note Command Line Options: Options. for detailed decription of the
73907 +command line options mentioned here.
73909 +_import libraries_
73910 + The standard Windows linker creates and uses so-called import
73911 + libraries, which contains information for linking to dll's. They
73912 + are regular static archives and are handled as any other static
73913 + archive. The cygwin and mingw ports of `ld' have specific support
73914 + for creating such libraries provided with the `--out-implib'
73915 + command line option.
73917 +_exporting DLL symbols_
73918 + The cygwin/mingw `ld' has several ways to export symbols for dll's.
73920 + _using auto-export functionality_
73921 + By default `ld' exports symbols with the auto-export
73922 + functionality, which is controlled by the following command
73925 + * -export-all-symbols [This is the default]
73927 + * -exclude-symbols
73931 + If, however, `--export-all-symbols' is not given explicitly
73932 + on the command line, then the default auto-export behavior
73933 + will be _disabled_ if either of the following are true:
73935 + * A DEF file is used.
73937 + * Any symbol in any object file was marked with the
73938 + __declspec(dllexport) attribute.
73940 + _using a DEF file_
73941 + Another way of exporting symbols is using a DEF file. A DEF
73942 + file is an ASCII file containing definitions of symbols which
73943 + should be exported when a dll is created. Usually it is
73944 + named `<dll name>.def' and is added as any other object file
73945 + to the linker's command line. The file's name must end in
73946 + `.def' or `.DEF'.
73948 + gcc -o <output> <objectfiles> <dll name>.def
73950 + Using a DEF file turns off the normal auto-export behavior,
73951 + unless the `--export-all-symbols' option is also used.
73953 + Here is an example of a DEF file for a shared library called
73956 + LIBRARY "xyz.dll" BASE=0x20000000
73962 + another_foo = abc.dll.afoo
73965 + This example defines a DLL with a non-default base address
73966 + and five symbols in the export table. The third exported
73967 + symbol `_bar' is an alias for the second. The fourth symbol,
73968 + `another_foo' is resolved by "forwarding" to another module
73969 + and treating it as an alias for `afoo' exported from the DLL
73970 + `abc.dll'. The final symbol `var1' is declared to be a data
73973 + The optional `LIBRARY <name>' command indicates the _internal_
73974 + name of the output DLL. If `<name>' does not include a suffix,
73975 + the default library suffix, `.DLL' is appended.
73977 + When the .DEF file is used to build an application. rather
73978 + than a library, the `NAME <name>' command shoud be used
73979 + instead of `LIBRARY'. If `<name>' does not include a suffix,
73980 + the default executable suffix, `.EXE' is appended.
73982 + With either `LIBRARY <name>' or `NAME <name>' the optional
73983 + specification `BASE = <number>' may be used to specify a
73984 + non-default base address for the image.
73986 + If neither `LIBRARY <name>' nor `NAME <name>' is specified,
73987 + or they specify an empty string, the internal name is the
73988 + same as the filename specified on the command line.
73990 + The complete specification of an export symbol is:
73993 + ( ( ( <name1> [ = <name2> ] )
73994 + | ( <name1> = <module-name> . <external-name>))
73995 + [ @ <integer> ] [NONAME] [DATA] [CONSTANT] [PRIVATE] ) *
73997 + Declares `<name1>' as an exported symbol from the DLL, or
73998 + declares `<name1>' as an exported alias for `<name2>'; or
73999 + declares `<name1>' as a "forward" alias for the symbol
74000 + `<external-name>' in the DLL `<module-name>'. Optionally,
74001 + the symbol may be exported by the specified ordinal
74002 + `<integer>' alias.
74004 + The optional keywords that follow the declaration indicate:
74006 + `NONAME': Do not put the symbol name in the DLL's export
74007 + table. It will still be exported by its ordinal alias
74008 + (either the value specified by the .def specification or,
74009 + otherwise, the value assigned by the linker). The symbol
74010 + name, however, does remain visible in the import library (if
74011 + any), unless `PRIVATE' is also specified.
74013 + `DATA': The symbol is a variable or object, rather than a
74014 + function. The import lib will export only an indirect
74015 + reference to `foo' as the symbol `_imp__foo' (ie, `foo' must
74016 + be resolved as `*_imp__foo').
74018 + `CONSTANT': Like `DATA', but put the undecorated `foo' as
74019 + well as `_imp__foo' into the import library. Both refer to the
74020 + read-only import address table's pointer to the variable, not
74021 + to the variable itself. This can be dangerous. If the user
74022 + code fails to add the `dllimport' attribute and also fails to
74023 + explicitly add the extra indirection that the use of the
74024 + attribute enforces, the application will behave unexpectedly.
74026 + `PRIVATE': Put the symbol in the DLL's export table, but do
74027 + not put it into the static import library used to resolve
74028 + imports at link time. The symbol can still be imported using
74029 + the `LoadLibrary/GetProcAddress' API at runtime or by by
74030 + using the GNU ld extension of linking directly to the DLL
74031 + without an import library.
74033 + See ld/deffilep.y in the binutils sources for the full
74034 + specification of other DEF file statements
74036 + While linking a shared dll, `ld' is able to create a DEF file
74037 + with the `--output-def <file>' command line option.
74039 + _Using decorations_
74040 + Another way of marking symbols for export is to modify the
74041 + source code itself, so that when building the DLL each symbol
74042 + to be exported is declared as:
74044 + __declspec(dllexport) int a_variable
74045 + __declspec(dllexport) void a_function(int with_args)
74047 + All such symbols will be exported from the DLL. If, however,
74048 + any of the object files in the DLL contain symbols decorated
74049 + in this way, then the normal auto-export behavior is
74050 + disabled, unless the `--export-all-symbols' option is also
74053 + Note that object files that wish to access these symbols must
74054 + _not_ decorate them with dllexport. Instead, they should use
74055 + dllimport, instead:
74057 + __declspec(dllimport) int a_variable
74058 + __declspec(dllimport) void a_function(int with_args)
74060 + This complicates the structure of library header files,
74061 + because when included by the library itself the header must
74062 + declare the variables and functions as dllexport, but when
74063 + included by client code the header must declare them as
74064 + dllimport. There are a number of idioms that are typically
74065 + used to do this; often client code can omit the __declspec()
74066 + declaration completely. See `--enable-auto-import' and
74067 + `automatic data imports' for more imformation.
74069 +_automatic data imports_
74070 + The standard Windows dll format supports data imports from dlls
74071 + only by adding special decorations (dllimport/dllexport), which
74072 + let the compiler produce specific assembler instructions to deal
74073 + with this issue. This increases the effort necessary to port
74074 + existing Un*x code to these platforms, especially for large c++
74075 + libraries and applications. The auto-import feature, which was
74076 + initially provided by Paul Sokolovsky, allows one to omit the
74077 + decorations to archieve a behavior that conforms to that on
74078 + POSIX/Un*x platforms. This feature is enabled with the
74079 + `--enable-auto-import' command-line option, although it is enabled
74080 + by default on cygwin/mingw. The `--enable-auto-import' option
74081 + itself now serves mainly to suppress any warnings that are
74082 + ordinarily emitted when linked objects trigger the feature's use.
74084 + auto-import of variables does not always work flawlessly without
74085 + additional assistance. Sometimes, you will see this message
74087 + "variable '<var>' can't be auto-imported. Please read the
74088 + documentation for ld's `--enable-auto-import' for details."
74090 + The `--enable-auto-import' documentation explains why this error
74091 + occurs, and several methods that can be used to overcome this
74092 + difficulty. One of these methods is the _runtime pseudo-relocs_
74093 + feature, described below.
74095 + For complex variables imported from DLLs (such as structs or
74096 + classes), object files typically contain a base address for the
74097 + variable and an offset (_addend_) within the variable-to specify a
74098 + particular field or public member, for instance. Unfortunately,
74099 + the runtime loader used in win32 environments is incapable of
74100 + fixing these references at runtime without the additional
74101 + information supplied by dllimport/dllexport decorations. The
74102 + standard auto-import feature described above is unable to resolve
74103 + these references.
74105 + The `--enable-runtime-pseudo-relocs' switch allows these
74106 + references to be resolved without error, while leaving the task of
74107 + adjusting the references themselves (with their non-zero addends)
74108 + to specialized code provided by the runtime environment. Recent
74109 + versions of the cygwin and mingw environments and compilers
74110 + provide this runtime support; older versions do not. However, the
74111 + support is only necessary on the developer's platform; the
74112 + compiled result will run without error on an older system.
74114 + `--enable-runtime-pseudo-relocs' is not the default; it must be
74115 + explicitly enabled as needed.
74117 +_direct linking to a dll_
74118 + The cygwin/mingw ports of `ld' support the direct linking,
74119 + including data symbols, to a dll without the usage of any import
74120 + libraries. This is much faster and uses much less memory than
74121 + does the traditional import library method, expecially when
74122 + linking large libraries or applications. When `ld' creates an
74123 + import lib, each function or variable exported from the dll is
74124 + stored in its own bfd, even though a single bfd could contain many
74125 + exports. The overhead involved in storing, loading, and
74126 + processing so many bfd's is quite large, and explains the
74127 + tremendous time, memory, and storage needed to link against
74128 + particularly large or complex libraries when using import libs.
74130 + Linking directly to a dll uses no extra command-line switches
74131 + other than `-L' and `-l', because `ld' already searches for a
74132 + number of names to match each library. All that is needed from
74133 + the developer's perspective is an understanding of this search, in
74134 + order to force ld to select the dll instead of an import library.
74136 + For instance, when ld is called with the argument `-lxxx' it will
74137 + attempt to find, in the first directory of its search path,
74146 + before moving on to the next directory in the search path.
74148 + (*) Actually, this is not `cygxxx.dll' but in fact is
74149 + `<prefix>xxx.dll', where `<prefix>' is set by the `ld' option
74150 + `--dll-search-prefix=<prefix>'. In the case of cygwin, the
74151 + standard gcc spec file includes `--dll-search-prefix=cyg', so in
74152 + effect we actually search for `cygxxx.dll'.
74154 + Other win32-based unix environments, such as mingw or pw32, may
74155 + use other `<prefix>'es, although at present only cygwin makes use
74156 + of this feature. It was originally intended to help avoid name
74157 + conflicts among dll's built for the various win32/un*x
74158 + environments, so that (for example) two versions of a zlib dll
74159 + could coexist on the same machine.
74161 + The generic cygwin/mingw path layout uses a `bin' directory for
74162 + applications and dll's and a `lib' directory for the import
74163 + libraries (using cygwin nomenclature):
74168 + libxxx.dll.a (in case of dll's)
74169 + libxxx.a (in case of static archive)
74171 + Linking directly to a dll without using the import library can be
74174 + 1. Use the dll directly by adding the `bin' path to the link line
74175 + gcc -Wl,-verbose -o a.exe -L../bin/ -lxxx
74177 + However, as the dll's often have version numbers appended to their
74178 + names (`cygncurses-5.dll') this will often fail, unless one
74179 + specifies `-L../bin -lncurses-5' to include the version. Import
74180 + libs are generally not versioned, and do not have this difficulty.
74182 + 2. Create a symbolic link from the dll to a file in the `lib'
74183 + directory according to the above mentioned search pattern. This
74184 + should be used to avoid unwanted changes in the tools needed for
74185 + making the app/dll.
74187 + ln -s bin/cygxxx.dll lib/[cyg|lib|]xxx.dll[.a]
74189 + Then you can link without any make environment changes.
74191 + gcc -Wl,-verbose -o a.exe -L../lib/ -lxxx
74193 + This technique also avoids the version number problems, because
74194 + the following is perfectly legal
74199 + libxxx.dll.a -> ../bin/cygxxx-5.dll
74201 + Linking directly to a dll without using an import lib will work
74202 + even when auto-import features are exercised, and even when
74203 + `--enable-runtime-pseudo-relocs' is used.
74205 + Given the improvements in speed and memory usage, one might
74206 + justifiably wonder why import libraries are used at all. There
74209 + 1. Until recently, the link-directly-to-dll functionality did _not_
74210 + work with auto-imported data.
74212 + 2. Sometimes it is necessary to include pure static objects within
74213 + the import library (which otherwise contains only bfd's for
74214 + indirection symbols that point to the exports of a dll). Again,
74215 + the import lib for the cygwin kernel makes use of this ability,
74216 + and it is not possible to do this without an import lib.
74218 + So, import libs are not going away. But the ability to replace
74219 + true import libs with a simple symbolic link to (or a copy of) a
74220 + dll, in most cases, is a useful addition to the suite of tools
74221 + binutils makes available to the win32 developer. Given the
74222 + massive improvements in memory requirements during linking, storage
74223 + requirements, and linking speed, we expect that many developers
74224 + will soon begin to use this feature whenever possible.
74228 + _adding additional names_
74229 + Sometimes, it is useful to export symbols with additional
74230 + names. A symbol `foo' will be exported as `foo', but it can
74231 + also be exported as `_foo' by using special directives in the
74232 + DEF file when creating the dll. This will affect also the
74233 + optional created import library. Consider the following DEF
74236 + LIBRARY "xyz.dll" BASE=0x61000000
74242 + The line `_foo = foo' maps the symbol `foo' to `_foo'.
74244 + Another method for creating a symbol alias is to create it in
74245 + the source code using the "weak" attribute:
74247 + void foo () { /* Do something. */; }
74248 + void _foo () __attribute__ ((weak, alias ("foo")));
74250 + See the gcc manual for more information about attributes and
74253 + _renaming symbols_
74254 + Sometimes it is useful to rename exports. For instance, the
74255 + cygwin kernel does this regularly. A symbol `_foo' can be
74256 + exported as `foo' but not as `_foo' by using special
74257 + directives in the DEF file. (This will also affect the import
74258 + library, if it is created). In the following example:
74260 + LIBRARY "xyz.dll" BASE=0x61000000
74265 + The line `_foo = foo' maps the exported symbol `foo' to
74268 + Note: using a DEF file disables the default auto-export behavior,
74269 + unless the `--export-all-symbols' command line option is used.
74270 + If, however, you are trying to rename symbols, then you should list
74271 + _all_ desired exports in the DEF file, including the symbols that
74272 + are not being renamed, and do _not_ use the `--export-all-symbols'
74273 + option. If you list only the renamed symbols in the DEF file, and
74274 + use `--export-all-symbols' to handle the other symbols, then the
74275 + both the new names _and_ the original names for the renamed
74276 + symbols will be exported. In effect, you'd be aliasing those
74277 + symbols, not renaming them, which is probably not what you wanted.
74280 + The Windows object format, PE, specifies a form of weak symbols
74281 + called weak externals. When a weak symbol is linked and the
74282 + symbol is not defined, the weak symbol becomes an alias for some
74283 + other symbol. There are three variants of weak externals:
74284 + * Definition is searched for in objects and libraries,
74285 + historically called lazy externals.
74287 + * Definition is searched for only in other objects, not in
74288 + libraries. This form is not presently implemented.
74290 + * No search; the symbol is an alias. This form is not presently
74292 + As a GNU extension, weak symbols that do not specify an alternate
74293 + symbol are supported. If the symbol is undefined when linking,
74294 + the symbol uses a default value.
74297 +File: ld.info, Node: Xtensa, Prev: WIN32, Up: Machine Dependent
74299 +4.11 `ld' and Xtensa Processors
74300 +===============================
74302 +The default `ld' behavior for Xtensa processors is to interpret
74303 +`SECTIONS' commands so that lists of explicitly named sections in a
74304 +specification with a wildcard file will be interleaved when necessary to
74305 +keep literal pools within the range of PC-relative load offsets. For
74306 +example, with the command:
74311 + *(.literal .text)
74315 +`ld' may interleave some of the `.literal' and `.text' sections from
74316 +different object files to ensure that the literal pools are within the
74317 +range of PC-relative load offsets. A valid interleaving might place
74318 +the `.literal' sections from an initial group of files followed by the
74319 +`.text' sections of that group of files. Then, the `.literal' sections
74320 +from the rest of the files and the `.text' sections from the rest of
74321 +the files would follow.
74323 + Relaxation is enabled by default for the Xtensa version of `ld' and
74324 +provides two important link-time optimizations. The first optimization
74325 +is to combine identical literal values to reduce code size. A redundant
74326 +literal will be removed and all the `L32R' instructions that use it
74327 +will be changed to reference an identical literal, as long as the
74328 +location of the replacement literal is within the offset range of all
74329 +the `L32R' instructions. The second optimization is to remove
74330 +unnecessary overhead from assembler-generated "longcall" sequences of
74331 +`L32R'/`CALLXN' when the target functions are within range of direct
74332 +`CALLN' instructions.
74334 + For each of these cases where an indirect call sequence can be
74335 +optimized to a direct call, the linker will change the `CALLXN'
74336 +instruction to a `CALLN' instruction, remove the `L32R' instruction,
74337 +and remove the literal referenced by the `L32R' instruction if it is
74338 +not used for anything else. Removing the `L32R' instruction always
74339 +reduces code size but can potentially hurt performance by changing the
74340 +alignment of subsequent branch targets. By default, the linker will
74341 +always preserve alignments, either by switching some instructions
74342 +between 24-bit encodings and the equivalent density instructions or by
74343 +inserting a no-op in place of the `L32R' instruction that was removed.
74344 +If code size is more important than performance, the `--size-opt'
74345 +option can be used to prevent the linker from widening density
74346 +instructions or inserting no-ops, except in a few cases where no-ops
74347 +are required for correctness.
74349 + The following Xtensa-specific command-line options can be used to
74350 +control the linker:
74353 + Since the Xtensa version of `ld' enables the `--relax' option by
74354 + default, the `--no-relax' option is provided to disable relaxation.
74357 + When optimizing indirect calls to direct calls, optimize for code
74358 + size more than performance. With this option, the linker will not
74359 + insert no-ops or widen density instructions to preserve branch
74360 + target alignment. There may still be some cases where no-ops are
74361 + required to preserve the correctness of the code.
74364 +File: ld.info, Node: BFD, Next: Reporting Bugs, Prev: Machine Dependent, Up: Top
74369 +The linker accesses object and archive files using the BFD libraries.
74370 +These libraries allow the linker to use the same routines to operate on
74371 +object files whatever the object file format. A different object file
74372 +format can be supported simply by creating a new BFD back end and adding
74373 +it to the library. To conserve runtime memory, however, the linker and
74374 +associated tools are usually configured to support only a subset of the
74375 +object file formats available. You can use `objdump -i' (*note
74376 +objdump: (binutils.info)objdump.) to list all the formats available for
74377 +your configuration.
74379 + As with most implementations, BFD is a compromise between several
74380 +conflicting requirements. The major factor influencing BFD design was
74381 +efficiency: any time used converting between formats is time which
74382 +would not have been spent had BFD not been involved. This is partly
74383 +offset by abstraction payback; since BFD simplifies applications and
74384 +back ends, more time and care may be spent optimizing algorithms for a
74387 + One minor artifact of the BFD solution which you should bear in mind
74388 +is the potential for information loss. There are two places where
74389 +useful information can be lost using the BFD mechanism: during
74390 +conversion and during output. *Note BFD information loss::.
74394 +* BFD outline:: How it works: an outline of BFD
74397 +File: ld.info, Node: BFD outline, Up: BFD
74399 +5.1 How It Works: An Outline of BFD
74400 +===================================
74402 +When an object file is opened, BFD subroutines automatically determine
74403 +the format of the input object file. They then build a descriptor in
74404 +memory with pointers to routines that will be used to access elements of
74405 +the object file's data structures.
74407 + As different information from the object files is required, BFD
74408 +reads from different sections of the file and processes them. For
74409 +example, a very common operation for the linker is processing symbol
74410 +tables. Each BFD back end provides a routine for converting between
74411 +the object file's representation of symbols and an internal canonical
74412 +format. When the linker asks for the symbol table of an object file, it
74413 +calls through a memory pointer to the routine from the relevant BFD
74414 +back end which reads and converts the table into a canonical form. The
74415 +linker then operates upon the canonical form. When the link is finished
74416 +and the linker writes the output file's symbol table, another BFD back
74417 +end routine is called to take the newly created symbol table and
74418 +convert it into the chosen output format.
74422 +* BFD information loss:: Information Loss
74423 +* Canonical format:: The BFD canonical object-file format
74426 +File: ld.info, Node: BFD information loss, Next: Canonical format, Up: BFD outline
74428 +5.1.1 Information Loss
74429 +----------------------
74431 +_Information can be lost during output._ The output formats supported
74432 +by BFD do not provide identical facilities, and information which can
74433 +be described in one form has nowhere to go in another format. One
74434 +example of this is alignment information in `b.out'. There is nowhere
74435 +in an `a.out' format file to store alignment information on the
74436 +contained data, so when a file is linked from `b.out' and an `a.out'
74437 +image is produced, alignment information will not propagate to the
74438 +output file. (The linker will still use the alignment information
74439 +internally, so the link is performed correctly).
74441 + Another example is COFF section names. COFF files may contain an
74442 +unlimited number of sections, each one with a textual section name. If
74443 +the target of the link is a format which does not have many sections
74444 +(e.g., `a.out') or has sections without names (e.g., the Oasys format),
74445 +the link cannot be done simply. You can circumvent this problem by
74446 +describing the desired input-to-output section mapping with the linker
74449 + _Information can be lost during canonicalization._ The BFD internal
74450 +canonical form of the external formats is not exhaustive; there are
74451 +structures in input formats for which there is no direct representation
74452 +internally. This means that the BFD back ends cannot maintain all
74453 +possible data richness through the transformation between external to
74454 +internal and back to external formats.
74456 + This limitation is only a problem when an application reads one
74457 +format and writes another. Each BFD back end is responsible for
74458 +maintaining as much data as possible, and the internal BFD canonical
74459 +form has structures which are opaque to the BFD core, and exported only
74460 +to the back ends. When a file is read in one format, the canonical form
74461 +is generated for BFD and the application. At the same time, the back
74462 +end saves away any information which may otherwise be lost. If the data
74463 +is then written back in the same format, the back end routine will be
74464 +able to use the canonical form provided by the BFD core as well as the
74465 +information it prepared earlier. Since there is a great deal of
74466 +commonality between back ends, there is no information lost when
74467 +linking or copying big endian COFF to little endian COFF, or `a.out' to
74468 +`b.out'. When a mixture of formats is linked, the information is only
74469 +lost from the files whose format differs from the destination.
74472 +File: ld.info, Node: Canonical format, Prev: BFD information loss, Up: BFD outline
74474 +5.1.2 The BFD canonical object-file format
74475 +------------------------------------------
74477 +The greatest potential for loss of information occurs when there is the
74478 +least overlap between the information provided by the source format,
74479 +that stored by the canonical format, and that needed by the destination
74480 +format. A brief description of the canonical form may help you
74481 +understand which kinds of data you can count on preserving across
74485 + Information stored on a per-file basis includes target machine
74486 + architecture, particular implementation format type, a demand
74487 + pageable bit, and a write protected bit. Information like Unix
74488 + magic numbers is not stored here--only the magic numbers' meaning,
74489 + so a `ZMAGIC' file would have both the demand pageable bit and the
74490 + write protected text bit set. The byte order of the target is
74491 + stored on a per-file basis, so that big- and little-endian object
74492 + files may be used with one another.
74495 + Each section in the input file contains the name of the section,
74496 + the section's original address in the object file, size and
74497 + alignment information, various flags, and pointers into other BFD
74501 + Each symbol contains a pointer to the information for the object
74502 + file which originally defined it, its name, its value, and various
74503 + flag bits. When a BFD back end reads in a symbol table, it
74504 + relocates all symbols to make them relative to the base of the
74505 + section where they were defined. Doing this ensures that each
74506 + symbol points to its containing section. Each symbol also has a
74507 + varying amount of hidden private data for the BFD back end. Since
74508 + the symbol points to the original file, the private data format
74509 + for that symbol is accessible. `ld' can operate on a collection
74510 + of symbols of wildly different formats without problems.
74512 + Normal global and simple local symbols are maintained on output,
74513 + so an output file (no matter its format) will retain symbols
74514 + pointing to functions and to global, static, and common variables.
74515 + Some symbol information is not worth retaining; in `a.out', type
74516 + information is stored in the symbol table as long symbol names.
74517 + This information would be useless to most COFF debuggers; the
74518 + linker has command line switches to allow users to throw it away.
74520 + There is one word of type information within the symbol, so if the
74521 + format supports symbol type information within symbols (for
74522 + example, COFF, IEEE, Oasys) and the type is simple enough to fit
74523 + within one word (nearly everything but aggregates), the
74524 + information will be preserved.
74526 +_relocation level_
74527 + Each canonical BFD relocation record contains a pointer to the
74528 + symbol to relocate to, the offset of the data to relocate, the
74529 + section the data is in, and a pointer to a relocation type
74530 + descriptor. Relocation is performed by passing messages through
74531 + the relocation type descriptor and the symbol pointer. Therefore,
74532 + relocations can be performed on output data using a relocation
74533 + method that is only available in one of the input formats. For
74534 + instance, Oasys provides a byte relocation format. A relocation
74535 + record requesting this relocation type would point indirectly to a
74536 + routine to perform this, so the relocation may be performed on a
74537 + byte being written to a 68k COFF file, even though 68k COFF has no
74538 + such relocation type.
74541 + Object formats can contain, for debugging purposes, some form of
74542 + mapping between symbols, source line numbers, and addresses in the
74543 + output file. These addresses have to be relocated along with the
74544 + symbol information. Each symbol with an associated list of line
74545 + number records points to the first record of the list. The head
74546 + of a line number list consists of a pointer to the symbol, which
74547 + allows finding out the address of the function whose line number
74548 + is being described. The rest of the list is made up of pairs:
74549 + offsets into the section and line numbers. Any format which can
74550 + simply derive this information can pass it successfully between
74551 + formats (COFF, IEEE and Oasys).
74554 +File: ld.info, Node: Reporting Bugs, Next: MRI, Prev: BFD, Up: Top
74559 +Your bug reports play an essential role in making `ld' reliable.
74561 + Reporting a bug may help you by bringing a solution to your problem,
74562 +or it may not. But in any case the principal function of a bug report
74563 +is to help the entire community by making the next version of `ld' work
74564 +better. Bug reports are your contribution to the maintenance of `ld'.
74566 + In order for a bug report to serve its purpose, you must include the
74567 +information that enables us to fix the bug.
74571 +* Bug Criteria:: Have you found a bug?
74572 +* Bug Reporting:: How to report bugs
74575 +File: ld.info, Node: Bug Criteria, Next: Bug Reporting, Up: Reporting Bugs
74577 +6.1 Have You Found a Bug?
74578 +=========================
74580 +If you are not sure whether you have found a bug, here are some
74583 + * If the linker gets a fatal signal, for any input whatever, that is
74584 + a `ld' bug. Reliable linkers never crash.
74586 + * If `ld' produces an error message for valid input, that is a bug.
74588 + * If `ld' does not produce an error message for invalid input, that
74589 + may be a bug. In the general case, the linker can not verify that
74590 + object files are correct.
74592 + * If you are an experienced user of linkers, your suggestions for
74593 + improvement of `ld' are welcome in any case.
74596 +File: ld.info, Node: Bug Reporting, Prev: Bug Criteria, Up: Reporting Bugs
74598 +6.2 How to Report Bugs
74599 +======================
74601 +A number of companies and individuals offer support for GNU products.
74602 +If you obtained `ld' from a support organization, we recommend you
74603 +contact that organization first.
74605 + You can find contact information for many support companies and
74606 +individuals in the file `etc/SERVICE' in the GNU Emacs distribution.
74608 + Otherwise, send bug reports for `ld' to `bug-binutils@gnu.org'.
74610 + The fundamental principle of reporting bugs usefully is this:
74611 +*report all the facts*. If you are not sure whether to state a fact or
74612 +leave it out, state it!
74614 + Often people omit facts because they think they know what causes the
74615 +problem and assume that some details do not matter. Thus, you might
74616 +assume that the name of a symbol you use in an example does not matter.
74617 +Well, probably it does not, but one cannot be sure. Perhaps the bug
74618 +is a stray memory reference which happens to fetch from the location
74619 +where that name is stored in memory; perhaps, if the name were
74620 +different, the contents of that location would fool the linker into
74621 +doing the right thing despite the bug. Play it safe and give a
74622 +specific, complete example. That is the easiest thing for you to do,
74623 +and the most helpful.
74625 + Keep in mind that the purpose of a bug report is to enable us to fix
74626 +the bug if it is new to us. Therefore, always write your bug reports
74627 +on the assumption that the bug has not been reported previously.
74629 + Sometimes people give a few sketchy facts and ask, "Does this ring a
74630 +bell?" This cannot help us fix a bug, so it is basically useless. We
74631 +respond by asking for enough details to enable us to investigate. You
74632 +might as well expedite matters by sending them to begin with.
74634 + To enable us to fix the bug, you should include all these things:
74636 + * The version of `ld'. `ld' announces it if you start it with the
74637 + `--version' argument.
74639 + Without this, we will not know whether there is any point in
74640 + looking for the bug in the current version of `ld'.
74642 + * Any patches you may have applied to the `ld' source, including any
74643 + patches made to the `BFD' library.
74645 + * The type of machine you are using, and the operating system name
74646 + and version number.
74648 + * What compiler (and its version) was used to compile `ld'--e.g.
74651 + * The command arguments you gave the linker to link your example and
74652 + observe the bug. To guarantee you will not omit something
74653 + important, list them all. A copy of the Makefile (or the output
74654 + from make) is sufficient.
74656 + If we were to try to guess the arguments, we would probably guess
74657 + wrong and then we might not encounter the bug.
74659 + * A complete input file, or set of input files, that will reproduce
74660 + the bug. It is generally most helpful to send the actual object
74661 + files provided that they are reasonably small. Say no more than
74662 + 10K. For bigger files you can either make them available by FTP
74663 + or HTTP or else state that you are willing to send the object
74664 + file(s) to whomever requests them. (Note - your email will be
74665 + going to a mailing list, so we do not want to clog it up with
74666 + large attachments). But small attachments are best.
74668 + If the source files were assembled using `gas' or compiled using
74669 + `gcc', then it may be OK to send the source files rather than the
74670 + object files. In this case, be sure to say exactly what version of
74671 + `gas' or `gcc' was used to produce the object files. Also say how
74672 + `gas' or `gcc' were configured.
74674 + * A description of what behavior you observe that you believe is
74675 + incorrect. For example, "It gets a fatal signal."
74677 + Of course, if the bug is that `ld' gets a fatal signal, then we
74678 + will certainly notice it. But if the bug is incorrect output, we
74679 + might not notice unless it is glaringly wrong. You might as well
74680 + not give us a chance to make a mistake.
74682 + Even if the problem you experience is a fatal signal, you should
74683 + still say so explicitly. Suppose something strange is going on,
74684 + such as, your copy of `ld' is out of synch, or you have
74685 + encountered a bug in the C library on your system. (This has
74686 + happened!) Your copy might crash and ours would not. If you told
74687 + us to expect a crash, then when ours fails to crash, we would know
74688 + that the bug was not happening for us. If you had not told us to
74689 + expect a crash, then we would not be able to draw any conclusion
74690 + from our observations.
74692 + * If you wish to suggest changes to the `ld' source, send us context
74693 + diffs, as generated by `diff' with the `-u', `-c', or `-p' option.
74694 + Always send diffs from the old file to the new file. If you even
74695 + discuss something in the `ld' source, refer to it by context, not
74698 + The line numbers in our development sources will not match those
74699 + in your sources. Your line numbers would convey no useful
74700 + information to us.
74702 + Here are some things that are not necessary:
74704 + * A description of the envelope of the bug.
74706 + Often people who encounter a bug spend a lot of time investigating
74707 + which changes to the input file will make the bug go away and which
74708 + changes will not affect it.
74710 + This is often time consuming and not very useful, because the way
74711 + we will find the bug is by running a single example under the
74712 + debugger with breakpoints, not by pure deduction from a series of
74713 + examples. We recommend that you save your time for something else.
74715 + Of course, if you can find a simpler example to report _instead_
74716 + of the original one, that is a convenience for us. Errors in the
74717 + output will be easier to spot, running under the debugger will take
74718 + less time, and so on.
74720 + However, simplification is not vital; if you do not want to do
74721 + this, report the bug anyway and send us the entire test case you
74724 + * A patch for the bug.
74726 + A patch for the bug does help us if it is a good one. But do not
74727 + omit the necessary information, such as the test case, on the
74728 + assumption that a patch is all we need. We might see problems
74729 + with your patch and decide to fix the problem another way, or we
74730 + might not understand it at all.
74732 + Sometimes with a program as complicated as `ld' it is very hard to
74733 + construct an example that will make the program follow a certain
74734 + path through the code. If you do not send us the example, we will
74735 + not be able to construct one, so we will not be able to verify
74736 + that the bug is fixed.
74738 + And if we cannot understand what bug you are trying to fix, or why
74739 + your patch should be an improvement, we will not install it. A
74740 + test case will help us to understand.
74742 + * A guess about what the bug is or what it depends on.
74744 + Such guesses are usually wrong. Even we cannot guess right about
74745 + such things without first using the debugger to find the facts.
74748 +File: ld.info, Node: MRI, Next: GNU Free Documentation License, Prev: Reporting Bugs, Up: Top
74750 +Appendix A MRI Compatible Script Files
74751 +**************************************
74753 +To aid users making the transition to GNU `ld' from the MRI linker,
74754 +`ld' can use MRI compatible linker scripts as an alternative to the
74755 +more general-purpose linker scripting language described in *Note
74756 +Scripts::. MRI compatible linker scripts have a much simpler command
74757 +set than the scripting language otherwise used with `ld'. GNU `ld'
74758 +supports the most commonly used MRI linker commands; these commands are
74761 + In general, MRI scripts aren't of much use with the `a.out' object
74762 +file format, since it only has three sections and MRI scripts lack some
74763 +features to make use of them.
74765 + You can specify a file containing an MRI-compatible script using the
74766 +`-c' command-line option.
74768 + Each command in an MRI-compatible script occupies its own line; each
74769 +command line starts with the keyword that identifies the command (though
74770 +blank lines are also allowed for punctuation). If a line of an
74771 +MRI-compatible script begins with an unrecognized keyword, `ld' issues
74772 +a warning message, but continues processing the script.
74774 + Lines beginning with `*' are comments.
74776 + You can write these commands using all upper-case letters, or all
74777 +lower case; for example, `chip' is the same as `CHIP'. The following
74778 +list shows only the upper-case form of each command.
74780 +`ABSOLUTE SECNAME'
74781 +`ABSOLUTE SECNAME, SECNAME, ... SECNAME'
74782 + Normally, `ld' includes in the output file all sections from all
74783 + the input files. However, in an MRI-compatible script, you can
74784 + use the `ABSOLUTE' command to restrict the sections that will be
74785 + present in your output program. If the `ABSOLUTE' command is used
74786 + at all in a script, then only the sections named explicitly in
74787 + `ABSOLUTE' commands will appear in the linker output. You can
74788 + still use other input sections (whatever you select on the command
74789 + line, or using `LOAD') to resolve addresses in the output file.
74791 +`ALIAS OUT-SECNAME, IN-SECNAME'
74792 + Use this command to place the data from input section IN-SECNAME
74793 + in a section called OUT-SECNAME in the linker output file.
74795 + IN-SECNAME may be an integer.
74797 +`ALIGN SECNAME = EXPRESSION'
74798 + Align the section called SECNAME to EXPRESSION. The EXPRESSION
74799 + should be a power of two.
74802 + Use the value of EXPRESSION as the lowest address (other than
74803 + absolute addresses) in the output file.
74806 +`CHIP EXPRESSION, EXPRESSION'
74807 + This command does nothing; it is accepted only for compatibility.
74810 + This command does nothing whatever; it's only accepted for
74813 +`FORMAT OUTPUT-FORMAT'
74814 + Similar to the `OUTPUT_FORMAT' command in the more general linker
74815 + language, but restricted to one of these output formats:
74817 + 1. S-records, if OUTPUT-FORMAT is `S'
74819 + 2. IEEE, if OUTPUT-FORMAT is `IEEE'
74821 + 3. COFF (the `coff-m68k' variant in BFD), if OUTPUT-FORMAT is
74824 +`LIST ANYTHING...'
74825 + Print (to the standard output file) a link map, as produced by the
74826 + `ld' command-line option `-M'.
74828 + The keyword `LIST' may be followed by anything on the same line,
74829 + with no change in its effect.
74832 +`LOAD FILENAME, FILENAME, ... FILENAME'
74833 + Include one or more object file FILENAME in the link; this has the
74834 + same effect as specifying FILENAME directly on the `ld' command
74837 +`NAME OUTPUT-NAME'
74838 + OUTPUT-NAME is the name for the program produced by `ld'; the
74839 + MRI-compatible command `NAME' is equivalent to the command-line
74840 + option `-o' or the general script language command `OUTPUT'.
74842 +`ORDER SECNAME, SECNAME, ... SECNAME'
74843 +`ORDER SECNAME SECNAME SECNAME'
74844 + Normally, `ld' orders the sections in its output file in the order
74845 + in which they first appear in the input files. In an
74846 + MRI-compatible script, you can override this ordering with the
74847 + `ORDER' command. The sections you list with `ORDER' will appear
74848 + first in your output file, in the order specified.
74850 +`PUBLIC NAME=EXPRESSION'
74851 +`PUBLIC NAME,EXPRESSION'
74852 +`PUBLIC NAME EXPRESSION'
74853 + Supply a value (EXPRESSION) for external symbol NAME used in the
74854 + linker input files.
74856 +`SECT SECNAME, EXPRESSION'
74857 +`SECT SECNAME=EXPRESSION'
74858 +`SECT SECNAME EXPRESSION'
74859 + You can use any of these three forms of the `SECT' command to
74860 + specify the start address (EXPRESSION) for section SECNAME. If
74861 + you have more than one `SECT' statement for the same SECNAME, only
74862 + the _first_ sets the start address.
74865 +File: ld.info, Node: GNU Free Documentation License, Next: Index, Prev: MRI, Up: Top
74867 +Appendix B GNU Free Documentation License
74868 +*****************************************
74870 + Version 1.1, March 2000
74872 + Copyright (C) 2000, 2003 Free Software Foundation, Inc.
74873 + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
74875 + Everyone is permitted to copy and distribute verbatim copies
74876 + of this license document, but changing it is not allowed.
74881 + The purpose of this License is to make a manual, textbook, or other
74882 + written document "free" in the sense of freedom: to assure everyone
74883 + the effective freedom to copy and redistribute it, with or without
74884 + modifying it, either commercially or noncommercially. Secondarily,
74885 + this License preserves for the author and publisher a way to get
74886 + credit for their work, while not being considered responsible for
74887 + modifications made by others.
74889 + This License is a kind of "copyleft", which means that derivative
74890 + works of the document must themselves be free in the same sense.
74891 + It complements the GNU General Public License, which is a copyleft
74892 + license designed for free software.
74894 + We have designed this License in order to use it for manuals for
74895 + free software, because free software needs free documentation: a
74896 + free program should come with manuals providing the same freedoms
74897 + that the software does. But this License is not limited to
74898 + software manuals; it can be used for any textual work, regardless
74899 + of subject matter or whether it is published as a printed book.
74900 + We recommend this License principally for works whose purpose is
74901 + instruction or reference.
74904 + 1. APPLICABILITY AND DEFINITIONS
74906 + This License applies to any manual or other work that contains a
74907 + notice placed by the copyright holder saying it can be distributed
74908 + under the terms of this License. The "Document", below, refers to
74909 + any such manual or work. Any member of the public is a licensee,
74910 + and is addressed as "you."
74912 + A "Modified Version" of the Document means any work containing the
74913 + Document or a portion of it, either copied verbatim, or with
74914 + modifications and/or translated into another language.
74916 + A "Secondary Section" is a named appendix or a front-matter
74917 + section of the Document that deals exclusively with the
74918 + relationship of the publishers or authors of the Document to the
74919 + Document's overall subject (or to related matters) and contains
74920 + nothing that could fall directly within that overall subject.
74921 + (For example, if the Document is in part a textbook of
74922 + mathematics, a Secondary Section may not explain any mathematics.)
74923 + The relationship could be a matter of historical connection with
74924 + the subject or with related matters, or of legal, commercial,
74925 + philosophical, ethical or political position regarding them.
74927 + The "Invariant Sections" are certain Secondary Sections whose
74928 + titles are designated, as being those of Invariant Sections, in
74929 + the notice that says that the Document is released under this
74932 + The "Cover Texts" are certain short passages of text that are
74933 + listed, as Front-Cover Texts or Back-Cover Texts, in the notice
74934 + that says that the Document is released under this License.
74936 + A "Transparent" copy of the Document means a machine-readable copy,
74937 + represented in a format whose specification is available to the
74938 + general public, whose contents can be viewed and edited directly
74939 + and straightforwardly with generic text editors or (for images
74940 + composed of pixels) generic paint programs or (for drawings) some
74941 + widely available drawing editor, and that is suitable for input to
74942 + text formatters or for automatic translation to a variety of
74943 + formats suitable for input to text formatters. A copy made in an
74944 + otherwise Transparent file format whose markup has been designed
74945 + to thwart or discourage subsequent modification by readers is not
74946 + Transparent. A copy that is not "Transparent" is called "Opaque."
74948 + Examples of suitable formats for Transparent copies include plain
74949 + ASCII without markup, Texinfo input format, LaTeX input format,
74950 + SGML or XML using a publicly available DTD, and
74951 + standard-conforming simple HTML designed for human modification.
74952 + Opaque formats include PostScript, PDF, proprietary formats that
74953 + can be read and edited only by proprietary word processors, SGML
74954 + or XML for which the DTD and/or processing tools are not generally
74955 + available, and the machine-generated HTML produced by some word
74956 + processors for output purposes only.
74958 + The "Title Page" means, for a printed book, the title page itself,
74959 + plus such following pages as are needed to hold, legibly, the
74960 + material this License requires to appear in the title page. For
74961 + works in formats which do not have any title page as such, "Title
74962 + Page" means the text near the most prominent appearance of the
74963 + work's title, preceding the beginning of the body of the text.
74965 + 2. VERBATIM COPYING
74967 + You may copy and distribute the Document in any medium, either
74968 + commercially or noncommercially, provided that this License, the
74969 + copyright notices, and the license notice saying this License
74970 + applies to the Document are reproduced in all copies, and that you
74971 + add no other conditions whatsoever to those of this License. You
74972 + may not use technical measures to obstruct or control the reading
74973 + or further copying of the copies you make or distribute. However,
74974 + you may accept compensation in exchange for copies. If you
74975 + distribute a large enough number of copies you must also follow
74976 + the conditions in section 3.
74978 + You may also lend copies, under the same conditions stated above,
74979 + and you may publicly display copies.
74981 + 3. COPYING IN QUANTITY
74983 + If you publish printed copies of the Document numbering more than
74984 + 100, and the Document's license notice requires Cover Texts, you
74985 + must enclose the copies in covers that carry, clearly and legibly,
74986 + all these Cover Texts: Front-Cover Texts on the front cover, and
74987 + Back-Cover Texts on the back cover. Both covers must also clearly
74988 + and legibly identify you as the publisher of these copies. The
74989 + front cover must present the full title with all words of the
74990 + title equally prominent and visible. You may add other material
74991 + on the covers in addition. Copying with changes limited to the
74992 + covers, as long as they preserve the title of the Document and
74993 + satisfy these conditions, can be treated as verbatim copying in
74996 + If the required texts for either cover are too voluminous to fit
74997 + legibly, you should put the first ones listed (as many as fit
74998 + reasonably) on the actual cover, and continue the rest onto
75001 + If you publish or distribute Opaque copies of the Document
75002 + numbering more than 100, you must either include a
75003 + machine-readable Transparent copy along with each Opaque copy, or
75004 + state in or with each Opaque copy a publicly-accessible
75005 + computer-network location containing a complete Transparent copy
75006 + of the Document, free of added material, which the general
75007 + network-using public has access to download anonymously at no
75008 + charge using public-standard network protocols. If you use the
75009 + latter option, you must take reasonably prudent steps, when you
75010 + begin distribution of Opaque copies in quantity, to ensure that
75011 + this Transparent copy will remain thus accessible at the stated
75012 + location until at least one year after the last time you
75013 + distribute an Opaque copy (directly or through your agents or
75014 + retailers) of that edition to the public.
75016 + It is requested, but not required, that you contact the authors of
75017 + the Document well before redistributing any large number of
75018 + copies, to give them a chance to provide you with an updated
75019 + version of the Document.
75023 + You may copy and distribute a Modified Version of the Document
75024 + under the conditions of sections 2 and 3 above, provided that you
75025 + release the Modified Version under precisely this License, with
75026 + the Modified Version filling the role of the Document, thus
75027 + licensing distribution and modification of the Modified Version to
75028 + whoever possesses a copy of it. In addition, you must do these
75029 + things in the Modified Version:
75031 + A. Use in the Title Page (and on the covers, if any) a title
75032 + distinct from that of the Document, and from those of previous
75033 + versions (which should, if there were any, be listed in the
75034 + History section of the Document). You may use the same title
75035 + as a previous version if the original publisher of that version
75036 + gives permission.
75037 + B. List on the Title Page, as authors, one or more persons or
75038 + entities responsible for authorship of the modifications in the
75039 + Modified Version, together with at least five of the principal
75040 + authors of the Document (all of its principal authors, if it
75041 + has less than five).
75042 + C. State on the Title page the name of the publisher of the
75043 + Modified Version, as the publisher.
75044 + D. Preserve all the copyright notices of the Document.
75045 + E. Add an appropriate copyright notice for your modifications
75046 + adjacent to the other copyright notices.
75047 + F. Include, immediately after the copyright notices, a license
75048 + notice giving the public permission to use the Modified Version
75049 + under the terms of this License, in the form shown in the
75051 + G. Preserve in that license notice the full lists of Invariant
75052 + Sections and required Cover Texts given in the Document's
75054 + H. Include an unaltered copy of this License.
75055 + I. Preserve the section entitled "History", and its title, and add
75056 + to it an item stating at least the title, year, new authors, and
75057 + publisher of the Modified Version as given on the Title Page.
75058 + If there is no section entitled "History" in the Document,
75059 + create one stating the title, year, authors, and publisher of
75060 + the Document as given on its Title Page, then add an item
75061 + describing the Modified Version as stated in the previous
75063 + J. Preserve the network location, if any, given in the Document for
75064 + public access to a Transparent copy of the Document, and
75065 + likewise the network locations given in the Document for
75066 + previous versions it was based on. These may be placed in the
75067 + "History" section. You may omit a network location for a work
75068 + that was published at least four years before the Document
75069 + itself, or if the original publisher of the version it refers
75070 + to gives permission.
75071 + K. In any section entitled "Acknowledgements" or "Dedications",
75072 + preserve the section's title, and preserve in the section all the
75073 + substance and tone of each of the contributor acknowledgements
75074 + and/or dedications given therein.
75075 + L. Preserve all the Invariant Sections of the Document,
75076 + unaltered in their text and in their titles. Section numbers
75077 + or the equivalent are not considered part of the section titles.
75078 + M. Delete any section entitled "Endorsements." Such a section
75079 + may not be included in the Modified Version.
75080 + N. Do not retitle any existing section as "Endorsements" or to
75081 + conflict in title with any Invariant Section.
75083 + If the Modified Version includes new front-matter sections or
75084 + appendices that qualify as Secondary Sections and contain no
75085 + material copied from the Document, you may at your option
75086 + designate some or all of these sections as invariant. To do this,
75087 + add their titles to the list of Invariant Sections in the Modified
75088 + Version's license notice. These titles must be distinct from any
75089 + other section titles.
75091 + You may add a section entitled "Endorsements", provided it contains
75092 + nothing but endorsements of your Modified Version by various
75093 + parties-for example, statements of peer review or that the text has
75094 + been approved by an organization as the authoritative definition
75097 + You may add a passage of up to five words as a Front-Cover Text,
75098 + and a passage of up to 25 words as a Back-Cover Text, to the end
75099 + of the list of Cover Texts in the Modified Version. Only one
75100 + passage of Front-Cover Text and one of Back-Cover Text may be
75101 + added by (or through arrangements made by) any one entity. If the
75102 + Document already includes a cover text for the same cover,
75103 + previously added by you or by arrangement made by the same entity
75104 + you are acting on behalf of, you may not add another; but you may
75105 + replace the old one, on explicit permission from the previous
75106 + publisher that added the old one.
75108 + The author(s) and publisher(s) of the Document do not by this
75109 + License give permission to use their names for publicity for or to
75110 + assert or imply endorsement of any Modified Version.
75112 + 5. COMBINING DOCUMENTS
75114 + You may combine the Document with other documents released under
75115 + this License, under the terms defined in section 4 above for
75116 + modified versions, provided that you include in the combination
75117 + all of the Invariant Sections of all of the original documents,
75118 + unmodified, and list them all as Invariant Sections of your
75119 + combined work in its license notice.
75121 + The combined work need only contain one copy of this License, and
75122 + multiple identical Invariant Sections may be replaced with a single
75123 + copy. If there are multiple Invariant Sections with the same name
75124 + but different contents, make the title of each such section unique
75125 + by adding at the end of it, in parentheses, the name of the
75126 + original author or publisher of that section if known, or else a
75127 + unique number. Make the same adjustment to the section titles in
75128 + the list of Invariant Sections in the license notice of the
75131 + In the combination, you must combine any sections entitled
75132 + "History" in the various original documents, forming one section
75133 + entitled "History"; likewise combine any sections entitled
75134 + "Acknowledgements", and any sections entitled "Dedications." You
75135 + must delete all sections entitled "Endorsements."
75137 + 6. COLLECTIONS OF DOCUMENTS
75139 + You may make a collection consisting of the Document and other
75140 + documents released under this License, and replace the individual
75141 + copies of this License in the various documents with a single copy
75142 + that is included in the collection, provided that you follow the
75143 + rules of this License for verbatim copying of each of the
75144 + documents in all other respects.
75146 + You may extract a single document from such a collection, and
75147 + distribute it individually under this License, provided you insert
75148 + a copy of this License into the extracted document, and follow
75149 + this License in all other respects regarding verbatim copying of
75152 + 7. AGGREGATION WITH INDEPENDENT WORKS
75154 + A compilation of the Document or its derivatives with other
75155 + separate and independent documents or works, in or on a volume of
75156 + a storage or distribution medium, does not as a whole count as a
75157 + Modified Version of the Document, provided no compilation
75158 + copyright is claimed for the compilation. Such a compilation is
75159 + called an "aggregate", and this License does not apply to the
75160 + other self-contained works thus compiled with the Document, on
75161 + account of their being thus compiled, if they are not themselves
75162 + derivative works of the Document.
75164 + If the Cover Text requirement of section 3 is applicable to these
75165 + copies of the Document, then if the Document is less than one
75166 + quarter of the entire aggregate, the Document's Cover Texts may be
75167 + placed on covers that surround only the Document within the
75168 + aggregate. Otherwise they must appear on covers around the whole
75173 + Translation is considered a kind of modification, so you may
75174 + distribute translations of the Document under the terms of section
75175 + 4. Replacing Invariant Sections with translations requires special
75176 + permission from their copyright holders, but you may include
75177 + translations of some or all Invariant Sections in addition to the
75178 + original versions of these Invariant Sections. You may include a
75179 + translation of this License provided that you also include the
75180 + original English version of this License. In case of a
75181 + disagreement between the translation and the original English
75182 + version of this License, the original English version will prevail.
75186 + You may not copy, modify, sublicense, or distribute the Document
75187 + except as expressly provided for under this License. Any other
75188 + attempt to copy, modify, sublicense or distribute the Document is
75189 + void, and will automatically terminate your rights under this
75190 + License. However, parties who have received copies, or rights,
75191 + from you under this License will not have their licenses
75192 + terminated so long as such parties remain in full compliance.
75194 + 10. FUTURE REVISIONS OF THIS LICENSE
75196 + The Free Software Foundation may publish new, revised versions of
75197 + the GNU Free Documentation License from time to time. Such new
75198 + versions will be similar in spirit to the present version, but may
75199 + differ in detail to address new problems or concerns. See
75200 + http://www.gnu.org/copyleft/.
75202 + Each version of the License is given a distinguishing version
75203 + number. If the Document specifies that a particular numbered
75204 + version of this License "or any later version" applies to it, you
75205 + have the option of following the terms and conditions either of
75206 + that specified version or of any later version that has been
75207 + published (not as a draft) by the Free Software Foundation. If
75208 + the Document does not specify a version number of this License,
75209 + you may choose any version ever published (not as a draft) by the
75210 + Free Software Foundation.
75213 +ADDENDUM: How to use this License for your documents
75214 +====================================================
75216 +To use this License in a document you have written, include a copy of
75217 +the License in the document and put the following copyright and license
75218 +notices just after the title page:
75220 + Copyright (C) YEAR YOUR NAME.
75221 + Permission is granted to copy, distribute and/or modify this document
75222 + under the terms of the GNU Free Documentation License, Version 1.1
75223 + or any later version published by the Free Software Foundation;
75224 + with the Invariant Sections being LIST THEIR TITLES, with the
75225 + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
75226 + A copy of the license is included in the section entitled "GNU
75227 + Free Documentation License."
75229 + If you have no Invariant Sections, write "with no Invariant Sections"
75230 +instead of saying which ones are invariant. If you have no Front-Cover
75231 +Texts, write "no Front-Cover Texts" instead of "Front-Cover Texts being
75232 +LIST"; likewise for Back-Cover Texts.
75234 + If your document contains nontrivial examples of program code, we
75235 +recommend releasing these examples in parallel under your choice of
75236 +free software license, such as the GNU General Public License, to
75237 +permit their use in free software.
75240 +File: ld.info, Node: Index, Prev: GNU Free Documentation License, Up: Top