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]

HPPA STMP_FIXPROTO patch


I have been building the PA32 and PA64 HP-UX 11.* compilers for a while
now with STMP_FIXPROTO set to null and have had no problems.  Doing this
avoids creating some extra GCC specific header files because some
headers do still contain un-prototyped declarations but GCC will never
see them due to the predefined macros that are set when running GCC.

Setting STMP_FIXPROTO avoids unnecessarily creating modified versions of
those header files.

I found a makefile fragment, t-bsd, that sets STMP_FIXPROTO to nothing
and doesn't do anything else so I used it in my patch.  I suppose we
could create a new file or change the name of this t-* file if we didn't
like using a "bsd" makefile fragment on HP-UX but a number of other
targets already use it (-pro*, -osf* -rtems*).

Comments?


2002-08-27  Steve Ellcey  <sje@cup.hp.com>

	* config.gcc (hppa*64*-*-hpux11*): Add t-bsd to makefile.
	(hppa1.1-*-hpux11* | hppa2*-*-hpux11*): Ditto.
	(hppa1.0-*-hpux11*): Ditto.


*** gcc.orig/gcc/config.gcc	Wed Aug 28 09:30:53 2002
--- gcc/gcc/config.gcc	Wed Aug 28 09:32:00 2002
*************** hppa*64*-*-hpux11*)
*** 878,884 ****
  	xm_defines=POSIX
  	tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
  	float_format=i128
! 	tmake_file="pa/t-pa64 pa/t-pa-hpux"
  	xmake_file="pa/x-ada"
  	target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
  
--- 878,884 ----
  	xm_defines=POSIX
  	tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h"
  	float_format=i128
! 	tmake_file="pa/t-pa64 pa/t-pa-hpux pa/t-bsd"
  	xmake_file="pa/x-ada"
  	target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
  
*************** hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
*** 897,903 ****
  	tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
  	float_format=i128
  	xm_defines=POSIX
! 	tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
  	xmake_file="pa/x-ada"
  #	if test x$enable_threads = x; then
  #	    enable_threads=$have_pthread_h
--- 897,903 ----
  	tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
  	float_format=i128
  	xm_defines=POSIX
! 	tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib pa/t-bsd"
  	xmake_file="pa/x-ada"
  #	if test x$enable_threads = x; then
  #	    enable_threads=$have_pthread_h
*************** hppa1.0-*-hpux11*)
*** 913,919 ****
  	tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
  	float_format=i128
  	xm_defines=POSIX
! 	tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib"
  	xmake_file="pa/x-ada"
  #	if test x$enable_threads = x; then
  #	    enable_threads=$have_pthread_h
--- 913,919 ----
  	tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h"
  	float_format=i128
  	xm_defines=POSIX
! 	tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib pa/t-bsd"
  	xmake_file="pa/x-ada"
  #	if test x$enable_threads = x; then
  #	    enable_threads=$have_pthread_h


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