This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gnu-hit 15830] Re: Hitachi 3050RX support for gcc-2.95.2
- To: gcc-patches at gcc dot gnu dot org
- Subject: Re: [gnu-hit 15830] Re: Hitachi 3050RX support for gcc-2.95.2
- From: Akiko Matsushita <matusita at sra dot co dot jp>
- Date: Thu, 18 May 2000 19:30:14 +0900
- Cc: gnu-hit at sras83 dot sra dot co dot jp
- References: <20000516203639M.matusita@sra.co.jp><6179.958608793@upchuck>
From: Jeffrey A Law <law@cygnus.com>
Date: Thu, 18 May 2000 09:22:50 +0900
> In message <20000516203639M.matusita@sra.co.jp>you write:
> > I've ported gcc-2.95.2 to Hitachi 3050RX running HI-UX/WE2.
> > The target name is 'hppa1.1-hitachi-hiuxwe2'.
> >
> > The patch is available on the following anonymous ftp site.
> >
> > ftp://ftp.sra.co.jp/pub/gnu/wingnut/hiuxwe2/gcc-2.95.2/
> >
> > If you are interested in it, please import it into your latest working
> > files of GCC.
> You need to submit it as a patch, preferably against something more recent
> than gcc-2.95.2, particularly considering the significant revamp of the
> PA configuration files that has happened since gcc-2.95.2.
>
> Depending on the size of the changes you may also need to file a copyright
> assignment with the FSF before we can integrate your changes.
OK. I add the patch at the end of this mail.
I will also try the latest egcs snapshot.
Thank you.
--- patch Start ---
diff -cr2 -N /usr/prj/w-gnu/gnu-src/gcc-2.95.2/gcc/Makefile.in gcc-2.95.2/gcc/Makefile.in
*** /usr/prj/w-gnu/gnu-src/gcc-2.95.2/gcc/Makefile.in Fri Aug 13 16:46:55 1999
--- gcc-2.95.2/gcc/Makefile.in Mon Apr 3 18:30:01 2000
***************
*** 2135,2139 ****
MAKE="$(MAKE)"; srcdir=`cd $(srcdir)/fixinc; pwd` ; \
export MAKE srcdir ; \
! cd ./fixinc; $(SHELL) $${srcdir}/mkfixinc.sh $(target)
##stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
--- 2135,2139 ----
MAKE="$(MAKE)"; srcdir=`cd $(srcdir)/fixinc; pwd` ; \
export MAKE srcdir ; \
! cd ./fixinc; SHELL=$(SHELL) $(SHELL) $${srcdir}/mkfixinc.sh $(target)
##stmp-fixinc: $(FIXINCLUDES) gsyslimits.h
diff -cr2 -N /usr/prj/w-gnu/gnu-src/gcc-2.95.2/gcc/config/pa/x-pa-hiuxwe2 gcc-2.95.2/gcc/config/pa/x-pa-hiuxwe2
*** /usr/prj/w-gnu/gnu-src/gcc-2.95.2/gcc/config/pa/x-pa-hiuxwe2 Thu Jan 1 09:00:00 1970
--- gcc-2.95.2/gcc/config/pa/x-pa-hiuxwe2 Tue Apr 4 10:51:52 2000
***************
*** 0 ****
--- 1,6 ----
+ ALLOCA=alloca.o
+
+ # So putenv and other functions get seen by fixproto.
+ FIXPROTO_DEFINES = -D_HPUX_SOURCE
+
+ STMP_FIXPROTO=
diff -cr2 -N /usr/prj/w-gnu/gnu-src/gcc-2.95.2/configure.in gcc-2.95.2/configure.in
*** /usr/prj/w-gnu/gnu-src/gcc-2.95.2/configure.in Wed Jun 23 07:44:40 1999
--- gcc-2.95.2/gcc/configure.in Tue Apr 4 11:31:14 2000
***************
*** 993,996 ****
--- 993,1008 ----
use_collect2=yes
;;
+ hppa1.1-*-hiuxwe2)
+ target_cpu_default="MASK_PA_11"
+ tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
+ xm_file=pa/xm-pahpux.h
+ xmake_file=pa/x-pa-hiuxwe2
+ if test x$gas = xyes
+ then
+ tm_file="${tm_file} pa/pa-gas.h"
+ fi
+ install_headers_dir=install-headers-cpio
+ use_collect2=yes
+ ;;
hppa1.1-*-hiux* | hppa2*-*-hiux*)
target_cpu_default="MASK_PA_11"
--- End of patch ---
--- ChangeLog Start ---
Tue Apr 4 10:51:52 2000 Akiko Matsushita (matusita@sra.co.jp)
* gcc/Makefile.in (mkfixinc.sh): Set shell variable.
* configure.in, gcc/config/pa/x-pa-hiuxwe2: Add hiuxwe2.
--- End of ChangeLog ---