This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Require gnu assembler on HP-UX platforms (HPPA and IA64)


This is a resubmission of a patch I sent out last month, I added some
documentation changes.  This patch changes configure to require the use
of the gnu assembler on HP-UX (both IA64 and HPPA).  Currently IA64
documents that that gnu assembler is required but does not enforce that
requirement.  The change to configure.ac adds the enforcement.  On HPPA
we currently say the gnu assembler is 'highly recommended'.  This
changes it to a requirement and adds the enforcement of that requirement
to configure.ac.  Dave Anglin has agreed that requiring the gnu
assembler on HPPA was reasonable.

OK for checkin on the main line?

Tested on HPPA and IA64 HP-UX.

Steve Ellcey
sje@cup.hp.com


2005-09-16  Steve Ellcey  <sje@cup.hp.com>

	PR target/12098
	* configure.ac (*-*-hpux*): Add requrement of GNU as.
	* configure: Regenerate
	* doc/install.texi: Update.

*** gcc.orig/gcc/configure.ac	Wed Aug 17 13:27:07 2005
--- gcc/gcc/configure.ac	Thu Aug 18 14:51:03 2005
*************** LCF0:
*** 2783,2789 ****
--- 2783,2796 ----
         then target_cpu_default=MASK_EXPLICIT_RELOCS
         else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS"
         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 \
         || test x"$host" != x"$build" \
         || test ! -x "$gcc_cv_as" \
*************** LCF0:
*** 2795,2800 ****
--- 2802,2808 ----
      fi
      ;;
  esac
+ 
  # ??? Not all targets support dwarf2 debug_line, even within a version
  # 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,
*** gcc.orig/gcc/doc/install.texi	Tue Sep 13 16:01:05 2005
--- gcc/gcc/doc/install.texi	Tue Sep 13 16:01:58 2005
*************** longer a multiple of 2 bytes.
*** 2728,2735 ****
  @heading @anchor{hppa-hp-hpux}hppa*-hp-hpux*
  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;
! you may encounter a variety of problems when using the HP assembler.
  
  Specifically, @option{-g} does not work on HP-UX (since that system
  uses a peculiar debugging format which GCC does not know about), unless
--- 2728,2735 ----
  @heading @anchor{hppa-hp-hpux}hppa*-hp-hpux*
  Support for HP-UX version 9 and older was discontinued in GCC 3.4.
  
! We require using gas/binutils on all hppa platforms;
! 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
  uses a peculiar debugging format which GCC does not know about), unless
*************** you use GAS and GDB@.  It may be helpful
*** 2738,2745 ****
  @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
! runtime, you must use either the HP assembler, or gas/binutils 2.11
! or newer.
  
  There are two default scheduling models for instructions.  These are
  PROCESSOR_7100LC and PROCESSOR_8000.  They are selected from the pa-risc
--- 2738,2744 ----
  @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
! runtime, you must use gas/binutils 2.11 or newer.
  
  There are two default scheduling models for instructions.  These are
  PROCESSOR_7100LC and PROCESSOR_8000.  They are selected from the pa-risc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]