t-ppccomm: Add build rules for new files.
libgcc/
* config/rs6000/t-ppccomm: Add build rules for new files.
(LIB2ADD_ST): New variable.
gcc/
* config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm,
config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm,
config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out
from...
* config/rs6000/crtsavres.asm: ...here. Remove unneeded file.
* config/rs6000/e500crtres32gpr.asm,
config/rs6000/e500crtres64gpr.asm
config/rs6000/e500crtres64gprctr.asm,
config/rs6000/e500crtrest32gpr.asm
config/rs6000/e500crtrest64gpr.asm,
config/rs6000/e500crtresx32gpr.asm
config/rs6000/e500crtresx64gpr.asm,
config/rs6000/e500crtsav32gpr.asm
config/rs6000/e500crtsav64gpr.asm,
config/rs6000/e500crtsav64gprctr.asm
config/rs6000/e500crtsavg32gpr.asm,
config/rs6000/e500crtsavg64gpr.asm
config/rs6000/e500crtsavg64gprctr.asm: New files.
* config/rs6000/t-ppccomm: Add build rules for new files.
(LIB2FUNCS_STATIC_EXTRA): Add new files.
* config/rs6000/t-netbsd: Add build rules for new files.
(LIB2FUNCS_STATIC_EXTRA): New variable.
* config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o
(CRTSAVRES_DEFAULT_SPEC): Likewise.
* config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise.
From-SVN: r134828
2008-04-30 18:10:21 +02:00
|
|
|
LIB2ADD_ST += crtsavfpr.S crtresfpr.S \
|
|
|
|
crtsavgpr.S crtresgpr.S \
|
|
|
|
crtresxfpr.S crtresxgpr.S \
|
|
|
|
e500crtres32gpr.S \
|
|
|
|
e500crtres64gpr.S \
|
|
|
|
e500crtres64gprctr.S \
|
|
|
|
e500crtrest32gpr.S \
|
|
|
|
e500crtrest64gpr.S \
|
|
|
|
e500crtresx32gpr.S \
|
|
|
|
e500crtresx64gpr.S \
|
|
|
|
e500crtsav32gpr.S \
|
|
|
|
e500crtsav64gpr.S \
|
|
|
|
e500crtsav64gprctr.S \
|
|
|
|
e500crtsavg32gpr.S \
|
|
|
|
e500crtsavg64gpr.S \
|
|
|
|
e500crtsavg64gprctr.S
|
|
|
|
|
2010-07-23 18:53:48 +02:00
|
|
|
EXTRA_PARTS += crtbegin$(objext) crtend$(objext) \
|
|
|
|
crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \
|
|
|
|
ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext)
|
Makefile.def (target_modules): Add libgcc.
./ * Makefile.def (target_modules): Add libgcc.
(lang_env_dependencies): Remove default items. Use no_c and no_gcc.
* Makefile.tpl (clean-target-libgcc): Delete.
(configure-target-[+module+]): Emit --disable-bootstrap dependencies
on gcc even for bootstrapped modules. Rewrite handling of
lang_env_dependencies to loop over target_modules.
* configure.in (target_libraries): Add target-libgcc.
* Makefile.in, configure: Regenerated.
gcc/
* config.gcc: Mention libgcc/config.host.
* Makefile.in: Update comments mentioning libgcc.
(LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete.
(all.cross, start.encap, rest.encap, rest.cross): Update
dependencies for libgcc move.
(libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib)
(clean-target, clean-target-libgcc): Delete.
(srcdirify, GCC_EXTRA_PARTS): New macros.
(libgcc-support, libgcc.mvars): New rules.
(distclean): Remove mention of mklibgcc.
(install): Don't reference INSTALL_LIBGCC.
(install-common): Don't reference EXTRA_PARTS.
(install-libgcc, install-multilib): Delete rules.
* mklibgcc.in: Delete file.
* doc/configfiles.texi: Don't mention mklibgcc.
* config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc).
* config/i386/t-darwin64 (SHLIB_VERPFX): Likewise.
* config/rs6000/t-darwin (SHLIB_VERPFX): Likewise.
* config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES)
(mklibgcc, ldblspecs): Likewise.
* config/i386/t-nwld (libgcc.def, libc.def, libpcre.def)
(posixpre.def): Use $(T).
(SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP)
(SHLIB_SRC, SHLIB_INSTALL): Delete.
(SHLIB_LINK): Make dummy.
* config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK.
* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear.
* config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS.
* config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30,
config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos,
config/rs6000/t-newas, config/sparc/t-elf: Likewise.
* configure.ac (all_outputs): Remove mklibgcc.
* configure: Regenerated.
libgcc/
* Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
config/sparc/t-crtfm, config/t-slibgcc-darwin,
config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
shared-object.mk, siditi-object.mk, static-object.mk: New files.
* configure: Generated.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
|
|
|
# We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and
|
|
|
|
# end labels to all of the special sections used when we link using gcc.
|
|
|
|
|
|
|
|
# Assemble startup files.
|
|
|
|
ecrti.S: $(gcc_srcdir)/config/rs6000/eabi-ci.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/eabi-ci.asm >ecrti.S
|
|
|
|
|
|
|
|
ecrtn.S: $(gcc_srcdir)/config/rs6000/eabi-cn.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/eabi-cn.asm >ecrtn.S
|
|
|
|
|
|
|
|
ncrti.S: $(gcc_srcdir)/config/rs6000/sol-ci.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/sol-ci.asm >ncrti.S
|
|
|
|
|
|
|
|
ncrtn.S: $(gcc_srcdir)/config/rs6000/sol-cn.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/sol-cn.asm >ncrtn.S
|
|
|
|
|
t-ppccomm: Add build rules for new files.
libgcc/
* config/rs6000/t-ppccomm: Add build rules for new files.
(LIB2ADD_ST): New variable.
gcc/
* config/rs6000/crtresgpr.asm, config/rs6000/crtresxgpr.asm,
config/rs6000/crtsavgpr.asm, config/rs6000/crtresfpr.asm,
config/rs6000/crtresxfpr.asm, config/rs6000/crtsavfpr.asm: Break out
from...
* config/rs6000/crtsavres.asm: ...here. Remove unneeded file.
* config/rs6000/e500crtres32gpr.asm,
config/rs6000/e500crtres64gpr.asm
config/rs6000/e500crtres64gprctr.asm,
config/rs6000/e500crtrest32gpr.asm
config/rs6000/e500crtrest64gpr.asm,
config/rs6000/e500crtresx32gpr.asm
config/rs6000/e500crtresx64gpr.asm,
config/rs6000/e500crtsav32gpr.asm
config/rs6000/e500crtsav64gpr.asm,
config/rs6000/e500crtsav64gprctr.asm
config/rs6000/e500crtsavg32gpr.asm,
config/rs6000/e500crtsavg64gpr.asm
config/rs6000/e500crtsavg64gprctr.asm: New files.
* config/rs6000/t-ppccomm: Add build rules for new files.
(LIB2FUNCS_STATIC_EXTRA): Add new files.
* config/rs6000/t-netbsd: Add build rules for new files.
(LIB2FUNCS_STATIC_EXTRA): New variable.
* config/rs6000/sysv4.h (ENDFILE_SPEC): Don't include crtsavres.o
(CRTSAVRES_DEFAULT_SPEC): Likewise.
* config/rs6000/netbsd.h (ENDFILE_SPEC): Likewise.
From-SVN: r134828
2008-04-30 18:10:21 +02:00
|
|
|
crtsavfpr.S: $(gcc_srcdir)/config/rs6000/crtsavfpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/crtsavfpr.asm >crtsavfpr.S
|
|
|
|
|
|
|
|
crtresfpr.S: $(gcc_srcdir)/config/rs6000/crtresfpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/crtresfpr.asm >crtresfpr.S
|
|
|
|
|
|
|
|
crtsavgpr.S: $(gcc_srcdir)/config/rs6000/crtsavgpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/crtsavgpr.asm >crtsavgpr.S
|
|
|
|
|
|
|
|
crtresgpr.S: $(gcc_srcdir)/config/rs6000/crtresgpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/crtresgpr.asm >crtresgpr.S
|
|
|
|
|
|
|
|
crtresxfpr.S: $(gcc_srcdir)/config/rs6000/crtresxfpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/crtresxfpr.asm >crtresxfpr.S
|
|
|
|
|
|
|
|
crtresxgpr.S: $(gcc_srcdir)/config/rs6000/crtresxgpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/crtresxgpr.asm >crtresxgpr.S
|
|
|
|
|
|
|
|
e500crtres32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtres32gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtres32gpr.asm >e500crtres32gpr.S
|
|
|
|
|
|
|
|
e500crtres64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtres64gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtres64gpr.asm >e500crtres64gpr.S
|
|
|
|
|
|
|
|
e500crtres64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtres64gprctr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtres64gprctr.asm >e500crtres64gprctr.S
|
|
|
|
|
|
|
|
e500crtrest32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtrest32gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtrest32gpr.asm >e500crtrest32gpr.S
|
|
|
|
|
|
|
|
e500crtrest64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtrest64gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtrest64gpr.asm >e500crtrest64gpr.S
|
|
|
|
|
|
|
|
e500crtresx32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtresx32gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtresx32gpr.asm >e500crtresx32gpr.S
|
|
|
|
|
|
|
|
e500crtresx64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtresx64gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtresx64gpr.asm >e500crtresx64gpr.S
|
|
|
|
|
|
|
|
e500crtsav32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsav32gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtsav32gpr.asm >e500crtsav32gpr.S
|
|
|
|
|
|
|
|
e500crtsav64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsav64gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtsav64gpr.asm >e500crtsav64gpr.S
|
|
|
|
|
|
|
|
e500crtsav64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtsav64gprctr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtsav64gprctr.asm >e500crtsav64gprctr.S
|
|
|
|
|
|
|
|
e500crtsavg32gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg32gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtsavg32gpr.asm >e500crtsavg32gpr.S
|
|
|
|
|
|
|
|
e500crtsavg64gpr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg64gpr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtsavg64gpr.asm >e500crtsavg64gpr.S
|
|
|
|
|
|
|
|
e500crtsavg64gprctr.S: $(gcc_srcdir)/config/rs6000/e500crtsavg64gprctr.asm
|
|
|
|
cat $(gcc_srcdir)/config/rs6000/e500crtsavg64gprctr.asm >e500crtsavg64gprctr.S
|
Makefile.def (target_modules): Add libgcc.
./ * Makefile.def (target_modules): Add libgcc.
(lang_env_dependencies): Remove default items. Use no_c and no_gcc.
* Makefile.tpl (clean-target-libgcc): Delete.
(configure-target-[+module+]): Emit --disable-bootstrap dependencies
on gcc even for bootstrapped modules. Rewrite handling of
lang_env_dependencies to loop over target_modules.
* configure.in (target_libraries): Add target-libgcc.
* Makefile.in, configure: Regenerated.
gcc/
* config.gcc: Mention libgcc/config.host.
* Makefile.in: Update comments mentioning libgcc.
(LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete.
(all.cross, start.encap, rest.encap, rest.cross): Update
dependencies for libgcc move.
(libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib)
(clean-target, clean-target-libgcc): Delete.
(srcdirify, GCC_EXTRA_PARTS): New macros.
(libgcc-support, libgcc.mvars): New rules.
(distclean): Remove mention of mklibgcc.
(install): Don't reference INSTALL_LIBGCC.
(install-common): Don't reference EXTRA_PARTS.
(install-libgcc, install-multilib): Delete rules.
* mklibgcc.in: Delete file.
* doc/configfiles.texi: Don't mention mklibgcc.
* config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc).
* config/i386/t-darwin64 (SHLIB_VERPFX): Likewise.
* config/rs6000/t-darwin (SHLIB_VERPFX): Likewise.
* config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES)
(mklibgcc, ldblspecs): Likewise.
* config/i386/t-nwld (libgcc.def, libc.def, libpcre.def)
(posixpre.def): Use $(T).
(SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP)
(SHLIB_SRC, SHLIB_INSTALL): Delete.
(SHLIB_LINK): Make dummy.
* config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK.
* config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear.
* config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS.
* config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30,
config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos,
config/rs6000/t-newas, config/sparc/t-elf: Likewise.
* configure.ac (all_outputs): Remove mklibgcc.
* configure: Regenerated.
libgcc/
* Makefile.in, config/i386/t-darwin, config/i386/t-darwin64,
config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128,
config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64,
config/sparc/t-crtfm, config/t-slibgcc-darwin,
config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk,
shared-object.mk, siditi-object.mk, static-object.mk: New files.
* configure: Generated.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
|
|
|
ecrti$(objext): ecrti.S
|
|
|
|
$(crt_compile) -c ecrti.S
|
|
|
|
|
|
|
|
ecrtn$(objext): ecrtn.S
|
|
|
|
$(crt_compile) -c ecrtn.S
|
|
|
|
|
|
|
|
ncrti$(objext): ncrti.S
|
|
|
|
$(crt_compile) -c ncrti.S
|
|
|
|
|
|
|
|
ncrtn$(objext): ncrtn.S
|
|
|
|
$(crt_compile) -c ncrtn.S
|