diff options
-rw-r--r-- | gcc/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/config.gcc | 102 | ||||
-rw-r--r-- | gcc/config/rs6000/t-beos | 17 | ||||
-rw-r--r-- | gcc/config/rs6000/t-fprules | 29 | ||||
-rw-r--r-- | gcc/config/rs6000/t-newas | 17 | ||||
-rw-r--r-- | gcc/config/rs6000/t-ppccomm | 23 | ||||
-rw-r--r-- | gcc/config/rs6000/t-rs6000 | 33 | ||||
-rw-r--r-- | gcc/config/rs6000/t-rs6000-c-rule | 5 |
8 files changed, 101 insertions, 136 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03a16a1..0cf656b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,16 @@ 2002-11-18 Geoffrey Keating <geoffk@apple.com> + * config/rs6000/t-rs6000: Move contents to t-fprules, + add rules for dependencies of rs6000.o and to build rs6000-c.o + * config/rs6000/t-fprules: New file from t-rs6000. + * config/rs6000/t-beos: Remove soft-fp rules. + * config/rs6000/t-ppccomm: Likewise. + * config/rs6000/t-newas: Likewise. + * config/rs6000/t-rs6000-c-rule: Delete. + * config.gcc: Use t-fprules for rs6000/ ports when appropriate. + Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule. + Create generic Darwin rules. + * gengenrtl.c (gencode): Delete unnecessary rtl_obstack declaration. 2002-12-18 Doug Evans <dje@sebabeach.org> diff --git a/gcc/config.gcc b/gcc/config.gcc index abf17fb..a6114ca 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -460,6 +460,17 @@ case $machine in esac fbsd_tm_file="${fbsd_tm_file} freebsd-spec.h freebsd.h" ;; +*-*-darwin*) + tm_file="${tm_file} darwin.h" + tm_p_file="${tm_p_file} darwin-protos.h" + tmake_file="t-darwin" + target_gtfiles="\$(srcdir)/config/darwin.c" + c_target_objs="darwin-c.o" + cxx_target_objs="darwin-c.o" + extra_parts="crt2.o" + # Darwin linker does collect2 functionality + use_collect2=no + ;; *-*-vxworks*) tmake_file=t-vxworks tm_file="${tm_file} elfos.h svr4.h vxworks.h" @@ -1021,16 +1032,7 @@ i370-*-linux*) elf=yes ;; i[34567]86-*-darwin*) - tm_file="${tm_file} darwin.h i386/darwin.h" - tm_p_file="${tm_p_file} darwin-protos.h" - tmake_file="t-darwin" - extra_objs="darwin.o" - target_gtfiles="\$(srcdir)/config/darwin.c" - c_target_objs="darwin-c.o" - cxx_target_objs="darwin-c.o" - extra_parts="crt2.o" - # Darwin linker does collect2 functionality - use_collect2=no + tm_file="${tm_file} i386/darwin.h" ;; i[34567]86-*-elf*) xm_defines=POSIX @@ -1936,49 +1938,39 @@ romp-*-openbsd*) # Nothing special ;; powerpc-*-openbsd*) - tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd" + tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-openbsd" extra_headers= ;; powerpc64-*-linux*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux64.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-rs6000 t-slibgcc-elf-ver t-linux rs6000/t-linux64" + tmake_file="rs6000/t-fprules t-slibgcc-elf-ver t-linux rs6000/t-linux64" ;; powerpc64-*-gnu*) tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux64.h rs6000/gnu.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-rs6000 t-slibgcc-elf-ver t-gnu rs6000/t-linux64" + tmake_file="rs6000/t-fprules t-slibgcc-elf-ver t-gnu rs6000/t-linux64" ;; powerpc-*-beos*) tm_file="${tm_file} rs6000/aix.h rs6000/beos.h rs6000/xcoff.h" xm_defines=POSIX - tmake_file=rs6000/t-beos + tmake_file="rs6000/t-fprules rs6000/t-beos" extra_headers= ;; powerpc-*-darwin*) - tm_file="${tm_file} darwin.h rs6000/darwin.h" - tm_p_file="${tm_p_file} darwin-protos.h" - tmake_file="rs6000/t-rs6000 t-darwin rs6000/t-darwin" + tm_file="${tm_file} rs6000/darwin.h" + tmake_file="rs6000/t-fprules t-darwin rs6000/t-darwin" extra_objs="darwin.o" - target_gtfiles="\$(srcdir)/config/darwin.c" - c_target_objs="darwin-c.o" - cxx_target_objs="darwin-c.o" - extra_parts="crt2.o" - # Darwin linker does collect2 functionality - use_collect2=no extra_headers=altivec.h # override ppc default need_64bit_hwint= ;; powerpc*-*-freebsd*) tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm" ;; powerpc-*-sysv*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" xm_defines=POSIX - tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm" ;; powerpc-*-netbsd*) tm_file="${tm_file} dbxelf.h elfos.h netbsd.h netbsd-elf.h freebsd-spec.h rs6000/sysv4.h rs6000/netbsd.h" @@ -1987,7 +1979,7 @@ powerpc-*-netbsd*) powerpc-*-chorusos*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h chorus.h" - tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm" case x${enable_threads} in xyes | xpthreads | xposix) thread_file='posix' @@ -1997,76 +1989,71 @@ powerpc-*-chorusos*) powerpc-*-eabiaix*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabiaix.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; powerpc-*-eabispe*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabispe.h" - tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm" ;; powerpc-*-eabisimaltivec*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h rs6000/eabialtivec.h" - tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm" ;; powerpc-*-eabisim*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; powerpc-*-elf*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; powerpc-*-eabialtivec*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabialtivec.h" - tmake_file="rs6000/t-ppcendian rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcendian rs6000/t-ppccomm" ;; powerpc-*-eabi*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; powerpc-*-rtems*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/eabi.h rs6000/rtems.h rtems.h" - tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas t-rtems rs6000/t-ppccomm" if test x$enable_threads = xyes; then thread_file='rtems' fi ;; powerpc-*-linux*libc1) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux t-linux-gnulibc1 rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux t-linux-gnulibc1 rs6000/t-ppccomm" if test x$enable_threads = xyes; then thread_file='posix' fi ;; powerpc-*-linux-gnualtivec*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" ;; powerpc-*-linux*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/linux.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-linux rs6000/t-ppccomm" ;; powerpc-*-gnu-gnualtivec*) tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/linuxaltivec.h rs6000/gnu.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm" if test x$enable_threads = xyes; then thread_file='posix' fi ;; powerpc-*-gnu*) tm_file="${cpu_type}/${cpu_type}.h elfos.h svr4.h freebsd-spec.h gnu.h rs6000/sysv4.h rs6000/linux.h rs6000/gnu.h" - out_file=rs6000/rs6000.c - tmake_file="rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos t-slibgcc-elf-ver t-gnu rs6000/t-ppccomm" if test x$enable_threads = xyes; then thread_file='posix' fi @@ -2076,34 +2063,34 @@ powerpc-wrs-vxworks*) # means we have to redo the tm_file list from scratch. tm_file="rs6000/rs6000.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h" tm_file="${tm_file} vxworks.h rs6000/vxworks.h" - tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-vxworks" + tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm rs6000/t-vxworks" extra_headers=ppc-asm.h ;; powerpc-wrs-windiss*) xm_defines=POSIX tm_file="${tm_file} elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/windiss.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" thread_file="" ;; powerpcle-*-sysv*) tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h" xm_defines=POSIX - tmake_file="rs6000/t-ppcos rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcos rs6000/t-ppccomm" ;; powerpcle-*-elf*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; powerpcle-*-eabisim*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h rs6000/eabisim.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; powerpcle-*-eabi*) xm_defines=POSIX tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h" - tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm" + tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm" ;; rs6000-ibm-aix3.[01]*) xm_defines=POSIX @@ -2113,14 +2100,14 @@ rs6000-ibm-aix3.[01]*) rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*) xm_defines=POSIX tm_file="${tm_file} rs6000/aix.h rs6000/aix3newas.h rs6000/xcoff.h" - tmake_file=rs6000/t-newas + tmake_file="rs6000/t-fprules rs6000/t-newas" use_collect2=yes extra_headers= ;; rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*) xm_defines=POSIX tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h" - tmake_file=rs6000/t-newas + tmake_file="rs6000/t-fprules rs6000/t-newas" use_collect2=yes extra_headers= ;; @@ -2165,7 +2152,7 @@ rs6000-*-mach*) ;; rs6000-*-lynxos*) tm_file="lynx.h rs6000/lynx.h" - tmake_file=rs6000/t-rs6000 + tmake_file=rs6000/t-fprules use_collect2=yes ;; s390-*-linux*) @@ -2877,9 +2864,10 @@ powerpc*-*-* | rs6000-*-*) fi ;; esac + out_file = rs6000/rs6000.c c_target_objs="${c_target_objs} rs6000-c.o" cxx_target_objs="${cxx_target_objs} rs6000-c.o" - tmake_file="${tmake_file} rs6000/t-rs6000-c-rule" + tmake_file="rs6000/t-rs6000 ${tmake_file}" ;; sparc*-*-*) case ".$with_cpu" in diff --git a/gcc/config/rs6000/t-beos b/gcc/config/rs6000/t-beos index 1d4fbf7..badffef 100644 --- a/gcc/config/rs6000/t-beos +++ b/gcc/config/rs6000/t-beos @@ -1,23 +1,8 @@ -# We want fine grained libraries, so use the new code to build the -# floating point emulation libraries. -FPBIT = fp-bit.c -DPBIT = dp-bit.c - -dp-bit.c: $(srcdir)/config/fp-bit.c - cat $(srcdir)/config/fp-bit.c > dp-bit.c - -fp-bit.c: $(srcdir)/config/fp-bit.c - echo '#define FLOAT' > fp-bit.c - cat $(srcdir)/config/fp-bit.c >> fp-bit.c - -# Build the libraries for both hard and soft floating point +# Build the libraries for both hard & soft floating point and ppc/common. MULTILIB_OPTIONS = msoft-float mcpu=common MULTILIB_DIRNAMES = soft-float common -LIBGCC = stmp-multilib -INSTALL_LIBGCC = install-multilib - # This is probably the correct define, to override the Makefile # default, but using it causes more problems than it solves. # diff --git a/gcc/config/rs6000/t-fprules b/gcc/config/rs6000/t-fprules new file mode 100644 index 0000000..4fb09a2 --- /dev/null +++ b/gcc/config/rs6000/t-fprules @@ -0,0 +1,29 @@ +# We want fine grained libraries, so use the new code to build the +# floating point emulation libraries. +FPBIT = fp-bit.c +DPBIT = dp-bit.c + +dp-bit.c: $(srcdir)/config/fp-bit.c + cat $(srcdir)/config/fp-bit.c > dp-bit.c + +fp-bit.c: $(srcdir)/config/fp-bit.c + echo '#define FLOAT' > fp-bit.c + cat $(srcdir)/config/fp-bit.c >> fp-bit.c + +MULTILIB_MATCHES_FLOAT = msoft-float=mcpu?401 \ + msoft-float=mcpu?403 \ + msoft-float=mcpu?405 \ + msoft-float=mcpu?ec603e \ + msoft-float=mcpu?801 \ + msoft-float=mcpu?821 \ + msoft-float=mcpu?823 \ + msoft-float=mcpu?860 + +# Build the libraries for both hard and soft floating point by default + +MULTILIB_OPTIONS = msoft-float +MULTILIB_DIRNAMES = soft-float +MULTILIB_MATCHES = ${MULTILIB_MATCHES_FLOAT} + +LIBGCC = stmp-multilib +INSTALL_LIBGCC = install-multilib diff --git a/gcc/config/rs6000/t-newas b/gcc/config/rs6000/t-newas index b8e715a..a26ce39 100644 --- a/gcc/config/rs6000/t-newas +++ b/gcc/config/rs6000/t-newas @@ -1,15 +1,3 @@ -# We want fine grained libraries, so use the new code to build the -# floating point emulation libraries. -FPBIT = fp-bit.c -DPBIT = dp-bit.c - -dp-bit.c: $(srcdir)/config/fp-bit.c - cat $(srcdir)/config/fp-bit.c > dp-bit.c - -fp-bit.c: $(srcdir)/config/fp-bit.c - echo '#define FLOAT' > fp-bit.c - cat $(srcdir)/config/fp-bit.c >> fp-bit.c - # Build the libraries for both hard and soft floating point and all of the # different processor models @@ -19,7 +7,7 @@ MULTILIB_OPTIONS = msoft-float \ MULTILIB_DIRNAMES = soft-float \ common power powerpc -MULTILIB_MATCHES = msoft-float=mcpu?403 \ +MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT) \ mcpu?power=mpower \ mcpu?power=mrios1 \ mcpu?power=mcpu?rios1 \ @@ -39,9 +27,6 @@ MULTILIB_MATCHES = msoft-float=mcpu?403 \ mcpu?powerpc=mpowerpc-gpopt \ mcpu?powerpc=mpowerpc-gfxopt -LIBGCC = stmp-multilib -INSTALL_LIBGCC = install-multilib - # Aix 3.2.x needs milli.exp for -mcpu=common EXTRA_PARTS = milli.exp milli.exp: $(srcdir)/config/rs6000/milli.exp diff --git a/gcc/config/rs6000/t-ppccomm b/gcc/config/rs6000/t-ppccomm index f4fcdce..eaa3252 100644 --- a/gcc/config/rs6000/t-ppccomm +++ b/gcc/config/rs6000/t-ppccomm @@ -5,19 +5,6 @@ LIB2FUNCS_EXTRA = tramp.S # This one can't end up in shared libgcc LIB2FUNCS_STATIC_EXTRA = eabi.S -# We want fine grained libraries, so use the new code to build the -# floating point emulation libraries. -FPBIT = fp-bit.c -DPBIT = dp-bit.c - - -dp-bit.c: $(srcdir)/config/fp-bit.c - cat $(srcdir)/config/fp-bit.c > dp-bit.c - -fp-bit.c: $(srcdir)/config/fp-bit.c - echo '#define FLOAT' > fp-bit.c - cat $(srcdir)/config/fp-bit.c >> fp-bit.c - eabi.S: $(srcdir)/config/rs6000/eabi.asm cat $(srcdir)/config/rs6000/eabi.asm > eabi.S @@ -25,19 +12,9 @@ tramp.S: $(srcdir)/config/rs6000/tramp.asm cat $(srcdir)/config/rs6000/tramp.asm > tramp.S # Switch synonyms -MULTILIB_MATCHES_FLOAT = msoft-float=mcpu?401 \ - msoft-float=mcpu?403 \ - msoft-float=mcpu?405 \ - msoft-float=mcpu?ec603e \ - msoft-float=mcpu?801 \ - msoft-float=mcpu?821 \ - msoft-float=mcpu?823 \ - msoft-float=mcpu?860 MULTILIB_MATCHES_ENDIAN = mlittle=mlittle-endian mbig=mbig-endian MULTILIB_MATCHES_SYSV = mcall-sysv=mcall-sysv-eabi mcall-sysv=mcall-sysv-noeabi mcall-sysv=mcall-linux mcall-sysv=mcall-netbsd -LIBGCC = stmp-multilib -INSTALL_LIBGCC = install-multilib EXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \ crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \ ecrti$(objext) ecrtn$(objext) \ diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000 index f50ef17..805e15d 100644 --- a/gcc/config/rs6000/t-rs6000 +++ b/gcc/config/rs6000/t-rs6000 @@ -1,19 +1,14 @@ -# We want fine grained libraries, so use the new code to build the -# floating point emulation libraries. -FPBIT = fp-bit.c -DPBIT = dp-bit.c - -dp-bit.c: $(srcdir)/config/fp-bit.c - cat $(srcdir)/config/fp-bit.c > dp-bit.c - -fp-bit.c: $(srcdir)/config/fp-bit.c - echo '#define FLOAT' > fp-bit.c - cat $(srcdir)/config/fp-bit.c >> fp-bit.c - -# Build the libraries for both hard and soft floating point - -MULTILIB_OPTIONS = msoft-float -MULTILIB_DIRNAMES = soft-float - -LIBGCC = stmp-multilib -INSTALL_LIBGCC = install-multilib +# General rules that all rs6000/ targets must have. + +rs6000.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ + $(RTL_H) $(REGS_H) hard-reg-set.h \ + real.h insn-config.h conditions.h insn-attr.h flags.h $(RECOG_H) \ + $(OBSTACK_H) $(TREE_H) $(EXPR_H) $(OPTABS_H) except.h function.h \ + output.h $(BASIC_BLOCK_H) $(INTEGRATE_H) toplev.h $(GGC_H) $(HASHTAB_H) \ + $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h + +rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \ + $(srcdir)/config/rs6000/rs6000-protos.h \ + $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPPLIB_H) \ + $(TM_P_H) c-pragma.h errors.h coretypes.h $(TM_H) + $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/rs6000/rs6000-c.c diff --git a/gcc/config/rs6000/t-rs6000-c-rule b/gcc/config/rs6000/t-rs6000-c-rule deleted file mode 100644 index b9a92dd..0000000 --- a/gcc/config/rs6000/t-rs6000-c-rule +++ /dev/null @@ -1,5 +0,0 @@ -rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \ - $(srcdir)/config/rs6000/rs6000-protos.h \ - $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPPLIB_H) \ - $(TM_P_H) c-pragma.h errors.h coretypes.h $(TM_H) - $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/rs6000/rs6000-c.c |