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]

Testsuite PATCH: Fix linkage.exp on hppa64-hp-hpux11.11


My earlier patch to linkage.exp should have been more aggressive; the
same problem shows up on 64-bit PA HP-UX as on 64-bit IA HP-UX.

Tested on hppa64-hp-hpux11.11; installed on the mainline and on the
branch.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2003-08-22  Mark Mitchell  <mark@codesourcery.com>

	* gcc.misc-tests/linkage.exp: Treat all HP-UX platforms
	identically.

Index: gcc.misc-tests/linkage.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.misc-tests/linkage.exp,v
retrieving revision 1.10.4.1
diff -c -5 -p -r1.10.4.1 linkage.exp
*** gcc.misc-tests/linkage.exp	22 Aug 2003 21:35:31 -0000	1.10.4.1
--- gcc.misc-tests/linkage.exp	23 Aug 2003 02:01:48 -0000
*************** if [isnative] then {
*** 51,61 ****
  	if [istarget "s390x-*-linux*"] {
  	    set file_string [exec file "linkage-x.o"]
  	    if [ string match "*32-bit*" $file_string ] {
  		set native_cflags "-m31"
  	    }
! 	} elseif [istarget "ia64-hp-hpux*"] {
  	    set file_string [exec file "linkage-x.o"]
  	    if [ string match "*ELF-64*" $file_string ] {
  		set native_cflags "+DD64"
  	    }
  	}
--- 51,61 ----
  	if [istarget "s390x-*-linux*"] {
  	    set file_string [exec file "linkage-x.o"]
  	    if [ string match "*32-bit*" $file_string ] {
  		set native_cflags "-m31"
  	    }
! 	} elseif [istarget "*-hp-hpux*"] {
  	    set file_string [exec file "linkage-x.o"]
  	    if [ string match "*ELF-64*" $file_string ] {
  		set native_cflags "+DD64"
  	    }
  	}


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