fa9585134f
./ * 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
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
EXTRA_PARTS += ecrti$(objext) ecrtn$(objext) ncrti$(objext) ncrtn$(objext) \
|
|
crtsavres$(objext)
|
|
|
|
# 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
|
|
|
|
crtsavres.S: $(gcc_srcdir)/config/rs6000/crtsavres.asm
|
|
cat $(gcc_srcdir)/config/rs6000/crtsavres.asm >crtsavres.S
|
|
|
|
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
|
|
|
|
crtsavres$(objext): crtsavres.S
|
|
$(crt_compile) -c crtsavres.S
|