Commit dbad5e72 by Steve Ellcey Committed by Steve Ellcey

re PR target/12098 (gcc build fails without gas on ia64-hpux: error: invalid switch '-x')

	PR target/12098
	* configure.ac: Move gas check from mips specific case to common case.
	Do check for GNU as for mips*-*-* and *-*-hpux* targets.
	* configure: Regenerate
	* doc/install.texi: Update.

From-SVN: r105200
parent 5e9edb0f
2005-10-10 Steve Ellcey <sje@cup.hp.com>
PR target/12098
* configure.ac: Move gas check from mips specific case to common case.
Do check for GNU as for mips*-*-* and *-*-hpux* targets.
* configure: Regenerate
* doc/install.texi: Update.
2005-10-10 Eric Botcazou <ebotcazou@libertysurf.fr> 2005-10-10 Eric Botcazou <ebotcazou@libertysurf.fr>
PR target/24284 PR target/24284
......
...@@ -2772,7 +2772,14 @@ LCF0: ...@@ -2772,7 +2772,14 @@ LCF0:
then target_cpu_default=MASK_EXPLICIT_RELOCS then target_cpu_default=MASK_EXPLICIT_RELOCS
else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS" else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS"
fi]) fi])
;;
esac
# Mips and HP-UX need the GNU assembler.
# Linux on IA64 might be able to use the Intel assembler.
case "$target" in
mips*-*-* | *-*-hpux* )
if test x$gas_flag = xyes \ if test x$gas_flag = xyes \
|| test x"$host" != x"$build" \ || test x"$host" != x"$build" \
|| test ! -x "$gcc_cv_as" \ || test ! -x "$gcc_cv_as" \
...@@ -2784,6 +2791,7 @@ LCF0: ...@@ -2784,6 +2791,7 @@ LCF0:
fi fi
;; ;;
esac esac
# ??? Not all targets support dwarf2 debug_line, even within a version # ??? Not all targets support dwarf2 debug_line, even within a version
# of gas. Moreover, we need to emit a valid instruction to trigger any # of gas. Moreover, we need to emit a valid instruction to trigger any
# info to the output file. So, as supported targets are added to gas 2.11, # info to the output file. So, as supported targets are added to gas 2.11,
......
...@@ -2728,8 +2728,8 @@ longer a multiple of 2 bytes. ...@@ -2728,8 +2728,8 @@ longer a multiple of 2 bytes.
@heading @anchor{hppa-hp-hpux}hppa*-hp-hpux* @heading @anchor{hppa-hp-hpux}hppa*-hp-hpux*
Support for HP-UX version 9 and older was discontinued in GCC 3.4. Support for HP-UX version 9 and older was discontinued in GCC 3.4.
We @emph{highly} recommend using gas/binutils on all hppa platforms; We require using gas/binutils on all hppa platforms;
you may encounter a variety of problems when using the HP assembler. you may encounter a variety of problems if you try to use the HP assembler.
Specifically, @option{-g} does not work on HP-UX (since that system Specifically, @option{-g} does not work on HP-UX (since that system
uses a peculiar debugging format which GCC does not know about), unless uses a peculiar debugging format which GCC does not know about), unless
...@@ -2738,8 +2738,7 @@ you use GAS and GDB@. It may be helpful to configure GCC with the ...@@ -2738,8 +2738,7 @@ you use GAS and GDB@. It may be helpful to configure GCC with the
@option{--with-as=@dots{}} options to ensure that GCC can find GAS@. @option{--with-as=@dots{}} options to ensure that GCC can find GAS@.
If you wish to use the pa-risc 2.0 architecture support with a 32-bit If you wish to use the pa-risc 2.0 architecture support with a 32-bit
runtime, you must use either the HP assembler, or gas/binutils 2.11 runtime, you must use gas/binutils 2.11 or newer.
or newer.
There are two default scheduling models for instructions. These are There are two default scheduling models for instructions. These are
PROCESSOR_7100LC and PROCESSOR_8000. They are selected from the pa-risc PROCESSOR_7100LC and PROCESSOR_8000. They are selected from the pa-risc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment