1. 22 Mar, 2011 1 commit
    • jsm28's avatar
      * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. · 7e21f84a
      jsm28 authored
      	* config/arm/arm.c (arm_handle_option): Don't handle -mhard-float
      	or -msoft-float here.
      	* config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not
      	-msoft-float and -mhard-float.
      	(OPTION_DEFAULT_SPECS): Don't handle -mhard-float and
      	-msoft-float.
      	* config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
      	msoft-float.
      	* config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and
      	-msoft-float.
      	(MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float.
      	* config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard,
      	not mhard-float.
      	(LIBGCC_SPEC): Don't handle -msoft-float.
      	* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle
      	-mhard-float.
      	* config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
      	msoft-float.
      	* config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle
      	-mfloat-abi=*, not -msoft-float and -mhard-float.
      	* config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and
      	-msoft-float.
      	* config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS):
      	Use mfloat-abi=hard and mfloat-abi=soft in comments, not
      	mhard-float and msoft-float.
      	* config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and
      	mfloat-abi=soft in comments, not mhard-float and msoft-float.
      	* config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use
      	mfloat-abi=soft and mfloat-abi=hard, not msoft-float and
      	mhard-float.
      	* config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use
      	mfloat-abi=hard and mfloat-abi=soft, not mhard-float and
      	msoft-float.
      	* config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard,
      	not mhard-float.
      	* config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft,
      	not msoft-float.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171313 138bc75d-0d04-0410-961f-82ee72b054a4
      7e21f84a
  2. 21 Jun, 2009 1 commit
    • rearnsha's avatar
      * arm.c (thumb1_output_casesi): New function. · e6ac8414
      rearnsha authored
      	* arm.h (CASE_VECTOR_PC_RELATIVE): Thumb-1 code is also relative if
      	optimizing for size or PIC.
      	(CASE_VECTOR_SHORTEN_MODE): Handle thumb-1.
      	* arm.md (UNSPEC_THUMB1_CASESI): New constant.
      	(casesi): Handle Thumb-1 when optimizing for size or PIC.
      	(thumb1_casesi_internal_pic): New expand rule.
      	(thumb1_casesi_dispatch): New pattern.
      	* aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use shortened vectors for
      	thumb-1 mode.
      	* coff.h (JUMP_TABLES_IN_TEXT_SECTION): Thumb-1 jump tables are now
      	in the text seciton when PIC or optimizing for size.
      	* elf.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
      	* lib1funcs.asm ([__ARM_EABI__]): Add an attribute describing stack
      	preservation properties of code.
      	(__gnu_thumb1_case_sqi, __gnu_thumb1_case_uqi): New functions.
      	(__gnu_thumb1_case_shi, __gnu_thumb1_case_uhi): New functions.
      	(__gnu_thumb1_case_si): New function.
      	* t-arm (LIB1ASMSRC): Define here.
      	(LIB1ASMFUNCS): Add some common functions.
      	* t-arm-elf (LIB1ASMSRC): Delete.
      	(LIB1ASMFUNCS): Append to existing set.
      	* t-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
      	* t-strongarm-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
      	* t-symbian (LIB1ASMFUNCS): Likewise.
      	* t-vxworks (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
      	* t-wince-pe (LIB1ASMSRC, LIB1ASMFUNCS): Likewise.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148770 138bc75d-0d04-0410-961f-82ee72b054a4
      e6ac8414
  3. 02 Aug, 2007 1 commit
    • nickc's avatar
      * config/host-hpux.c: Change copyright header to refer to version 3 of the GNU · 038d1e19
      nickc authored
        General Public License and to point readers at the COPYING3 file and the FSF's
        license web page.
      * config/alpha/predicates.md, config/alpha/vms-ld.c,
      config/alpha/linux.h, config/alpha/alpha.opt,
      config/alpha/linux-elf.h, config/alpha/vms.h, config/alpha/elf.h,
      config/alpha/vms-unwind.h, config/alpha/ev4.md,
      config/alpha/ev6.md, config/alpha/alpha.c, config/alpha/vms-cc.c,
      config/alpha/alpha.h, config/alpha/sync.md,
      config/alpha/openbsd.h, config/alpha/alpha.md,
      config/alpha/alpha-modes.def, config/alpha/ev5.md,
      config/alpha/alpha-protos.h, config/alpha/freebsd.h,
      config/alpha/osf5.h, config/alpha/netbsd.h, config/alpha/vms64.h,
      config/alpha/constraints.md, config/alpha/osf.h,
      config/alpha/xm-vms.h, config/alpha/unicosmk.h, config/linux.h,
      config/frv/predicates.md, config/frv/frv.h, config/frv/linux.h,
      config/frv/frv.md, config/frv/frv.opt, config/frv/frv-modes.def,
      config/frv/frv-asm.h, config/frv/frv-protos.h,
      config/frv/frv-abi.h, config/frv/frv.c, config/s390/tpf.h,
      config/s390/s390.c, config/s390/predicates.md, config/s390/s390.h,
      config/s390/linux.h, config/s390/tpf.md, config/s390/tpf.opt,
      config/s390/2064.md, config/s390/2084.md, config/s390/s390.md,
      config/s390/s390.opt, config/s390/s390-modes.def,
      config/s390/fixdfdi.h, config/s390/constraints.md,
      config/s390/s390-protos.h, config/s390/s390x.h, config/elfos.h,
      config/dbxcoff.h, config/m32c/predicates.md, config/m32c/cond.md,
      config/m32c/m32c.c, config/m32c/minmax.md, config/m32c/blkmov.md,
      config/m32c/m32c-pragma.c, config/m32c/m32c.h,
      config/m32c/prologue.md, config/m32c/m32c.abi,
      config/m32c/muldiv.md, config/m32c/bitops.md, config/m32c/mov.md,
      config/m32c/addsub.md, config/m32c/m32c.md, config/m32c/m32c.opt,
      config/m32c/t-m32c, config/m32c/m32c-modes.def,
      config/m32c/jump.md, config/m32c/shift.md,
      config/m32c/m32c-protos.h, config/libgloss.h,
      config/spu/spu-protos.h, config/spu/predicates.md,
      config/spu/spu-builtins.h, config/spu/spu.c,
      config/spu/spu-builtins.def, config/spu/spu-builtins.md,
      config/spu/spu.h, config/spu/spu-elf.h, config/spu/constraints.md,
      config/spu/spu.md, config/spu/spu-c.c, config/spu/spu.opt,
      config/spu/spu-modes.def, config/spu/t-spu-elf, config/interix.h,
      config/sparc/hypersparc.md, config/sparc/predicates.md,
      config/sparc/linux.h, config/sparc/sp64-elf.h,
      config/sparc/supersparc.md, config/sparc/cypress.md,
      config/sparc/openbsd1-64.h, config/sparc/openbsd64.h,
      config/sparc/niagara.md, config/sparc/sparc.md,
      config/sparc/long-double-switch.opt, config/sparc/ultra3.md,
      config/sparc/sparc.opt, config/sparc/sync.md,
      config/sparc/sp-elf.h, config/sparc/sparc-protos.h,
      config/sparc/ultra1_2.md, config/sparc/biarch64.h,
      config/sparc/sparc.c, config/sparc/little-endian.opt,
      config/sparc/sysv4-only.h, config/sparc/sparc.h,
      config/sparc/linux64.h, config/sparc/freebsd.h,
      config/sparc/sol2.h, config/sparc/rtemself.h,
      config/sparc/netbsd-elf.h, config/sparc/vxworks.h,
      config/sparc/sparc-modes.def, config/sparc/sparclet.md,
      config/sparc/sysv4.h, config/vx-common.h, config/netbsd-aout.h,
      config/flat.h, config/m32r/m32r.md, config/m32r/predicates.md,
      config/m32r/little.h, config/m32r/m32r.c, config/m32r/m32r.opt,
      config/m32r/linux.h, config/m32r/constraints.md,
      config/m32r/m32r.h, config/m32r/m32r-protos.h, config/vxworks.opt,
      config/darwin-c.c, config/darwin.opt, config/i386/i386.h,
      config/i386/cygming.h, config/i386/linux.h, config/i386/cygwin.h,
      config/i386/i386.md, config/i386/netware-crt0.c,
      config/i386/sco5.h, config/i386/mmx.md, config/i386/vx-common.h,
      config/i386/kaos-i386.h, config/i386/winnt-stubs.c,
      config/i386/netbsd64.h, config/i386/djgpp.h, config/i386/gas.h,
      config/i386/sol2.h, config/i386/constraints.md,
      config/i386/netware-libgcc.c, config/i386/sysv5.h,
      config/i386/predicates.md, config/i386/geode.md,
      config/i386/x86-64.h, config/i386/kfreebsd-gnu.h,
      config/i386/freebsd64.h, config/i386/vxworksae.h,
      config/i386/pentium.md, config/i386/lynx.h, config/i386/i386elf.h,
      config/i386/rtemself.h, config/i386/netbsd-elf.h,
      config/i386/ppro.md, config/i386/k6.md, config/i386/netware.c,
      config/i386/netware.h, config/i386/i386-modes.def,
      config/i386/sysv4-cpp.h, config/i386/i386-interix.h,
      config/i386/cygwin1.c, config/i386/djgpp.opt, config/i386/uwin.h,
      config/i386/unix.h, config/i386/ptx4-i.h, config/i386/xm-djgpp.h,
      config/i386/att.h, config/i386/winnt.c, config/i386/beos-elf.h,
      config/i386/sol2-10.h, config/i386/darwin64.h, config/i386/sse.md,
      config/i386/i386.opt, config/i386/bsd.h, config/i386/cygming.opt,
      config/i386/xm-mingw32.h, config/i386/linux64.h,
      config/i386/openbsdelf.h, config/i386/xm-cygwin.h,
      config/i386/sco5.opt, config/i386/darwin.h, config/i386/mingw32.h,
      config/i386/winnt-cxx.c, config/i386/i386-interix3.h,
      config/i386/nwld.c, config/i386/nwld.h, config/i386/host-cygwin.c,
      config/i386/cygwin2.c, config/i386/i386-protos.h,
      config/i386/sync.md, config/i386/openbsd.h,
      config/i386/host-mingw32.c, config/i386/i386-aout.h,
      config/i386/nto.h, config/i386/biarch64.h,
      config/i386/i386-coff.h, config/i386/freebsd.h,
      config/i386/driver-i386.c, config/i386/knetbsd-gnu.h,
      config/i386/host-i386-darwin.c, config/i386/vxworks.h,
      config/i386/crtdll.h, config/i386/i386.c, config/i386/sysv4.h,
      config/darwin-protos.h, config/linux.opt, config/sol2.c,
      config/sol2.h, config/sh/symbian.c, config/sh/sh-protos.h,
      config/sh/linux.h, config/sh/elf.h, config/sh/superh.h,
      config/sh/sh4.md, config/sh/coff.h, config/sh/newlib.h,
      config/sh/embed-elf.h, config/sh/symbian-pre.h, config/sh/rtems.h,
      config/sh/kaos-sh.h, config/sh/sh4a.md, config/sh/constraints.md,
      config/sh/sh64.h, config/sh/sh.opt, config/sh/symbian-post.h,
      config/sh/sh-c.c, config/sh/predicates.md, config/sh/sh.c,
      config/sh/sh.h, config/sh/shmedia.md, config/sh/sh-modes.def,
      config/sh/little.h, config/sh/sh1.md, config/sh/sh4-300.md,
      config/sh/superh64.h, config/sh/rtemself.h,
      config/sh/netbsd-elf.h, config/sh/sh.md, config/sh/vxworks.h,
      config/usegas.h, config/svr3.h, config/pdp11/pdp11-protos.h,
      config/pdp11/2bsd.h, config/pdp11/pdp11.md, config/pdp11/pdp11.c,
      config/pdp11/pdp11.opt, config/pdp11/pdp11-modes.def,
      config/pdp11/pdp11.h, config/avr/rtems.h, config/avr/avr-protos.h,
      config/avr/predicates.md, config/avr/constraints.md,
      config/avr/avr.md, config/avr/avr.c, config/avr/avr.opt,
      config/avr/avr.h, config/sol2-protos.h, config/dbxelf.h,
      config/lynx.opt, config/crx/crx.h, config/crx/crx-protos.h,
      config/crx/crx.md, config/crx/crx.c, config/crx/crx.opt,
      config/c4x/c4x-c.c, config/c4x/c4x.c, config/c4x/c4x.opt,
      config/c4x/c4x-modes.def, config/c4x/rtems.h,
      config/c4x/predicates.md, config/c4x/c4x.h,
      config/c4x/c4x-protos.h, config/c4x/c4x.md, config/kfreebsd-gnu.h,
      config/xtensa/predicates.md, config/xtensa/xtensa.c,
      config/xtensa/linux.h, config/xtensa/xtensa.h,
      config/xtensa/elf.h, config/xtensa/xtensa.md,
      config/xtensa/xtensa.opt, config/xtensa/constraints.md,
      config/xtensa/xtensa-protos.h, config/dbx.h,
      config/stormy16/predicates.md, config/stormy16/stormy16.md,
      config/stormy16/stormy16.c, config/stormy16/stormy16.opt,
      config/stormy16/stormy16.h, config/stormy16/stormy16-protos.h,
      config/host-solaris.c, config/fr30/fr30.h,
      config/fr30/predicates.md, config/fr30/fr30-protos.h,
      config/fr30/fr30.md, config/fr30/fr30.c, config/fr30/fr30.opt,
      config/vxworksae.h, config/sol2-c.c, config/lynx.h,
      config/m68hc11/m68hc11-protos.h, config/m68hc11/predicates.md,
      config/m68hc11/m68hc11.md, config/m68hc11/m68hc11.c,
      config/m68hc11/m68hc11.opt, config/m68hc11/m68hc11.h,
      config/m68hc11/m68hc12.h, config/openbsd-oldgas.h,
      config/host-linux.c, config/interix3.h, config/cris/cris.c,
      config/cris/predicates.md, config/cris/linux.h,
      config/cris/cris.h, config/cris/aout.h, config/cris/cris.md,
      config/cris/linux.opt, config/cris/cris.opt, config/cris/elf.opt,
      config/cris/aout.opt, config/cris/cris-protos.h,
      config/vxworks-dummy.h, config/netbsd.h, config/netbsd-elf.h,
      config/iq2000/iq2000.h, config/iq2000/predicates.md,
      config/iq2000/iq2000-protos.h, config/iq2000/iq2000.md,
      config/iq2000/iq2000.c, config/iq2000/iq2000.opt,
      config/host-darwin.c, config/mt/mt.md, config/mt/mt.c,
      config/mt/mt.opt, config/mt/t-mt, config/mt/mt.h,
      config/mt/mt-protos.h, config/svr4.h, config/host-darwin.h,
      config/chorus.h, config/mn10300/mn10300.c,
      config/mn10300/mn10300.opt, config/mn10300/predicates.md,
      config/mn10300/mn10300.h, config/mn10300/linux.h,
      config/mn10300/constraints.md, config/mn10300/mn10300-protos.h,
      config/mn10300/mn10300.md, config/ia64/predicates.md,
      config/ia64/itanium1.md, config/ia64/unwind-ia64.h,
      config/ia64/ia64-c.c, config/ia64/sync.md, config/ia64/ia64.c,
      config/ia64/itanium2.md, config/ia64/ia64.h, config/ia64/vect.md,
      config/ia64/freebsd.h, config/ia64/ia64.md,
      config/ia64/ia64-modes.def, config/ia64/constraints.md,
      config/ia64/hpux.h, config/ia64/ia64-protos.h, config/windiss.h,
      config/gofast.h, config/rtems.h, config/sol2-10.h,
      config/m68k/predicates.md, config/m68k/m68k.md,
      config/m68k/linux.h, config/m68k/m68k-modes.def,
      config/m68k/print-sysroot-suffix.sh, config/m68k/m68k-protos.h,
      config/m68k/coff.h, config/m68k/m68k-none.h, config/m68k/ieee.opt,
      config/m68k/openbsd.h, config/m68k/m68k-aout.h,
      config/m68k/m68k.opt, config/m68k/m68020-elf.h,
      config/m68k/m68kelf.h, config/m68k/m68k-devices.def,
      config/m68k/uclinux-oldabi.h, config/m68k/m68k.c,
      config/m68k/constraints.md, config/m68k/rtemself.h,
      config/m68k/netbsd-elf.h, config/m68k/m68k.h,
      config/m68k/uclinux.h, config/rs6000/power4.md,
      config/rs6000/host-darwin.c, config/rs6000/6xx.md,
      config/rs6000/linux.h, config/rs6000/eabi.h,
      config/rs6000/aix41.opt, config/rs6000/xcoff.h,
      config/rs6000/secureplt.h, config/rs6000/linuxspe.h,
      config/rs6000/eabialtivec.h, config/rs6000/8540.md,
      config/rs6000/darwin8.h, config/rs6000/kaos-ppc.h,
      config/rs6000/windiss.h, config/rs6000/603.md,
      config/rs6000/aix41.h, config/rs6000/cell.md,
      config/rs6000/mpc.md, config/rs6000/aix43.h, config/rs6000/beos.h,
      config/rs6000/gnu.h, config/rs6000/rtems.h, config/rs6000/aix.opt,
      config/rs6000/darwin.md, config/rs6000/darwin64.h,
      config/rs6000/default64.h, config/rs6000/7xx.md,
      config/rs6000/darwin.opt, config/rs6000/spe.md,
      config/rs6000/rs6000.opt, config/rs6000/rs6000-c.c,
      config/rs6000/rios2.md, config/rs6000/linuxaltivec.h,
      config/rs6000/7450.md, config/rs6000/linux64.h,
      config/rs6000/constraints.md, config/rs6000/440.md,
      config/rs6000/darwin.h, config/rs6000/host-ppc64-darwin.c,
      config/rs6000/rs6000.c, config/rs6000/aix52.h,
      config/rs6000/rs6000.h, config/rs6000/power6.md,
      config/rs6000/predicates.md, config/rs6000/altivec.md,
      config/rs6000/aix64.opt, config/rs6000/rios1.md,
      config/rs6000/rs6000-modes.def, config/rs6000/rs64.md,
      config/rs6000/eabisim.h, config/rs6000/sysv4le.h,
      config/rs6000/darwin7.h, config/rs6000/dfp.md,
      config/rs6000/linux64.opt, config/rs6000/sync.md,
      config/rs6000/vxworksae.h, config/rs6000/power5.md,
      config/rs6000/lynx.h, config/rs6000/biarch64.h,
      config/rs6000/rs6000.md, config/rs6000/sysv4.opt,
      config/rs6000/eabispe.h, config/rs6000/e500.h,
      config/rs6000/freebsd.h, config/rs6000/rs6000-protos.h,
      config/rs6000/netbsd.h, config/rs6000/e500-double.h,
      config/rs6000/aix.h, config/rs6000/vxworks.h,
      config/rs6000/40x.md, config/rs6000/aix51.h,
      config/rs6000/sysv4.h, config/arc/arc-protos.h, config/arc/arc.md,
      config/arc/arc.c, config/arc/arc.opt, config/arc/arc-modes.def,
      config/arc/arc.h, config/mcore/mcore-elf.h,
      config/mcore/mcore-protos.h, config/mcore/predicates.md,
      config/mcore/mcore.md, config/mcore/mcore.c,
      config/mcore/mcore.opt, config/mcore/mcore.h,
      config/mcore/mcore-pe.h, config/darwin.c, config/freebsd-nthr.h,
      config/score/predicates.md, config/score/score-version.h,
      config/score/score-protos.h, config/score/misc.md,
      config/score/elf.h, config/score/score.c, config/score/mac.md,
      config/score/score7.md, config/score/score.h,
      config/score/score-conv.h, config/score/score-mdaux.c,
      config/score/score.md, config/score/score.opt,
      config/score/score-modes.def, config/score/score-mdaux.h,
      config/score/mul-div.S, config/arm/uclinux-elf.h,
      config/arm/semi.h, config/arm/ecos-elf.h, config/arm/arm1020e.md,
      config/arm/symbian.h, config/arm/linux-elf.h,
      config/arm/arm1026ejs.md, config/arm/arm1136jfs.md,
      config/arm/elf.h, config/arm/aout.h, config/arm/arm.c,
      config/arm/thumb2.md, config/arm/vec-common.md, config/arm/coff.h,
      config/arm/strongarm-pe.h, config/arm/arm.h,
      config/arm/cortex-a8-neon.md, config/arm/semiaof.h,
      config/arm/cortex-a8.md, config/arm/uclinux-eabi.h,
      config/arm/arm-modes.def, config/arm/linux-eabi.h,
      config/arm/rtems-elf.h, config/arm/neon-schedgen.ml,
      config/arm/arm-cores.def, config/arm/arm-protos.h,
      config/arm/vfp.md, config/arm/aof.h, config/arm/linux-gas.h,
      config/arm/wince-pe.h, config/arm/neon.md,
      config/arm/constraints.md, config/arm/neon.ml,
      config/arm/xscale-elf.h, config/arm/strongarm-coff.h,
      config/arm/arm.opt, config/arm/arm926ejs.md,
      config/arm/predicates.md, config/arm/iwmmxt.md,
      config/arm/arm_neon.h, config/arm/unknown-elf.h,
      config/arm/kaos-arm.h, config/arm/bpabi.h, config/arm/pe.opt,
      config/arm/neon-testgen.ml, config/arm/arm.md,
      config/arm/xscale-coff.h, config/arm/pe.c,
      config/arm/arm-generic.md, config/arm/pe.h,
      config/arm/kaos-strongarm.h, config/arm/freebsd.h,
      config/arm/neon-docgen.ml, config/arm/netbsd.h, config/arm/fpa.md,
      config/arm/strongarm-elf.h, config/arm/cirrus.md,
      config/arm/netbsd-elf.h, config/arm/vxworks.h,
      config/arm/neon-gen.ml, config/kaos.h, config/darwin-driver.c,
      config/pa/predicates.md, config/pa/pa64-hpux.h,
      config/pa/pa-hpux.opt, config/pa/som.h, config/pa/pa-hpux1010.opt,
      config/pa/pa-hpux1111.opt, config/pa/pa-pro-end.h,
      config/pa/elf.h, config/pa/fptr.c, config/pa/pa64-linux.h,
      config/pa/pa.md, config/pa/pa.opt, config/pa/pa-hpux.h,
      config/pa/pa-hpux10.h, config/pa/pa-hpux11.h,
      config/pa/pa-hpux1010.h, config/pa/pa-protos.h,
      config/pa/pa-osf.h, config/pa/pa-hpux1111.h, config/pa/pa-64.h,
      config/pa/milli64.S, config/pa/pa.c, config/pa/pa-linux.h,
      config/pa/pa.h, config/pa/pa32-linux.h, config/pa/pa64-hpux.opt,
      config/pa/pa64-regs.h, config/pa/pa-modes.def,
      config/pa/constraints.md, config/darwin9.h, config/mips/4100.md,
      config/mips/linux.h, config/mips/elfoabi.h, config/mips/elf.h,
      config/mips/sdb.h, config/mips/windiss.h, config/mips/rtems.h,
      config/mips/3000.md, config/mips/iris5.h, config/mips/5000.md,
      config/mips/7000.md, config/mips/9000.md, config/mips/4600.md,
      config/mips/linux64.h, config/mips/elforion.h,
      config/mips/constraints.md, config/mips/generic.md,
      config/mips/predicates.md, config/mips/4300.md,
      config/mips/mips-ps-3d.md, config/mips/iris.h, config/mips/24k.md,
      config/mips/mips.md, config/mips/mips.opt, config/mips/4k.md,
      config/mips/5k.md, config/mips/vr4120-div.S,
      config/mips/openbsd.h, config/mips/iris6.h, config/mips/4000.md,
      config/mips/mips-protos.h, config/mips/6000.md,
      config/mips/mips.c, config/mips/mips.h, config/mips/r3900.h,
      config/mips/74k.md, config/mips/netbsd.h, config/mips/vxworks.h,
      config/mips/mips-modes.def, config/mips/vr.h,
      config/soft-fp/t-softfp, config/openbsd.h, config/ptx4.h,
      config/freebsd-spec.h, config/vax/vax.c, config/vax/openbsd.h,
      config/vax/vax.h, config/vax/elf.h, config/vax/vax.md,
      config/vax/bsd.h, config/vax/vax.opt, config/vax/vax-modes.def,
      config/vax/openbsd1.h, config/vax/netbsd.h,
      config/vax/vax-protos.h, config/vax/netbsd-elf.h,
      config/vax/vaxv.h, config/vax/ultrix.h, config/freebsd.h,
      config/h8300/rtems.h, config/h8300/predicates.md,
      config/h8300/h8300.c, config/h8300/h8300.h, config/h8300/elf.h,
      config/h8300/h8300.md, config/h8300/h8300.opt,
      config/h8300/coff.h, config/h8300/h8300-protos.h,
      config/v850/v850.md, config/v850/predicates.md,
      config/v850/v850-c.c, config/v850/v850.c, config/v850/v850.opt,
      config/v850/v850.h, config/v850/v850-protos.h, config/vxworks.c,
      config/knetbsd-gnu.h, config/sol2-6.h, config/vxworks.h,
      config/mmix/mmix.h, config/mmix/predicates.md,
      config/mmix/mmix-protos.h, config/mmix/mmix.md,
      config/mmix/mmix.c, config/mmix/mmix.opt,
      config/mmix/mmix-modes.def, config/bfin/bfin.opt,
      config/bfin/rtems.h, config/bfin/bfin-modes.def,
      config/bfin/predicates.md, config/bfin/bfin-protos.h,
      config/bfin/bfin.c, config/bfin/bfin.h, config/bfin/bfin.md: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127157 138bc75d-0d04-0410-961f-82ee72b054a4
      038d1e19
  4. 03 Jan, 2007 1 commit
    • pbrook's avatar
      2007-01-03 Paul Brook <paul@codesourcery.com> · 25f905c2
      pbrook authored
      	Merge from sourcerygxx-4_1.
      	gcc/
      	* config/arm/thumb2.md: New file.
      	* config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Return True for
      	Thumb-2.
      	* config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Ditto.
      	* config/arm/aout.h (ASM_OUTPUT_ADDR_VEC_ELT): Add !Thumb-2 assertion.
      	(ASM_OUTPUT_ADDR_DIFF_ELT): Output Thumb-2 jump tables.
      	* config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output Thumb-2 jump
      	tables.
      	(ASM_OUTPUT_ADDR_VEC_ELT): Add !Thumb-2 assertion.
      	* config/arm/ieee754-df.S: Use macros for Thumb-2/Unified asm
      	comptibility.
      	* config/arm/ieee754-sf.S: Ditto.
      	* config/arm/arm.c (thumb_base_register_rtx_p): Rename...
      	(thumb1_base_register_rtx_p): ... to this.
      	(thumb_index_register_rtx_p): Rename...
      	(thumb1_index_register_rtx_p): ... to this.
      	(thumb_output_function_prologue): Rename...
      	(thumb1_output_function_prologue): ... to this.
      	(thumb_legitimate_address_p): Rename...
      	(thumb1_legitimate_address_p): ... to this.
      	(thumb_rtx_costs): Rename...
      	(thumb1_rtx_costs): ... to this.
      	(thumb_compute_save_reg_mask): Rename...
      	(thumb1_compute_save_reg_mask): ... to this.
      	(thumb_final_prescan_insn): Rename...
      	(thumb1_final_prescan_insn): ... to this.
      	(thumb_expand_epilogue): Rename...
      	(thumb1_expand_epilogue): ... to this.
      	(arm_unwind_emit_stm): Rename...
      	(arm_unwind_emit_sequence): ... to this.
      	(thumb2_legitimate_index_p, thumb2_legitimate_address_p,
      	thumb1_compute_save_reg_mask, arm_dwarf_handle_frame_unspec,
      	thumb2_index_mul_operand, output_move_vfp, arm_shift_nmem,
      	arm_save_coproc_regs, thumb_set_frame_pointer, arm_print_condition,
      	thumb2_final_prescan_insn, thumb2_asm_output_opcode, arm_output_shift,
      	thumb2_output_casesi): New functions.
      	(TARGET_DWARF_HANDLE_FRAME_UNSPEC): Define.
      	(FL_THUMB2, FL_NOTM, FL_DIV, FL_FOR_ARCH6T2, FL_FOR_ARCH7,
      	FL_FOR_ARCH7A, FL_FOR_ARCH7R, FL_FOR_ARCH7M, ARM_LSL_NAME,
      	THUMB2_WORK_REGS): Define.
      	(arm_arch_notm, arm_arch_thumb2, arm_arch_hwdiv, arm_condexec_count,
      	arm_condexec_mask, arm_condexec_masklen)): New variables.
      	(all_architectures): Add armv6t2, armv7, armv7a, armv7r and armv7m.
      	(arm_override_options): Check new CPU capabilities.
      	Set new architecture flag variables.
      	(arm_isr_value): Handle v7m interrupt functions.
      	(user_return_insn): Return 0 for v7m interrupt functions.  Handle
      	Thumb-2.
      	(const_ok_for_arm): Handle Thumb-2 constants.
      	(arm_gen_constant): Ditto.  Use movw when available.
      	(arm_function_ok_for_sibcall): Return false for v7m interrupt
      	functions.
      	(legitimize_pic_address, arm_call_tls_get_addr): Handle Thumb-2.
      	(thumb_find_work_register, arm_load_pic_register,
      	legitimize_tls_address, arm_address_cost, load_multiple_sequence,
      	emit_ldm_seq, emit_stm_seq, arm_select_cc_mode, get_jump_table_size,
      	print_multi_reg, output_mov_long_double_fpa_from_arm,
      	output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm,
      	output_mov_double_fpa_from_arm, output_move_double,
      	arm_compute_save_reg_mask, arm_compute_save_reg0_reg12_mask,
      	output_return_instruction, arm_output_function_prologue,
      	arm_output_epilogue, arm_get_frame_offsets, arm_regno_class,
      	arm_output_mi_thunk, thumb_set_return_address): Ditto.
      	(arm_expand_prologue): Handle Thumb-2.  Use arm_save_coproc_regs.
      	(arm_coproc_mem_operand): Allow POST_INC/PRE_DEC.
      	(arithmetic_instr, shift_op): Use arm_shift_nmem.
      	(arm_print_operand): Use arm_print_condition.  Handle '(', ')', '.',
      	'!' and 'L'.
      	(arm_final_prescan_insn): Use extract_constrain_insn_cached.
      	(thumb_expand_prologue): Use thumb_set_frame_pointer.
      	(arm_file_start): Output directive for unified syntax.
      	(arm_unwind_emit_set): Handle stack alignment instruction.
      	* config/arm/lib1funcs.asm: Remove default for __ARM_ARCH__.
      	Add v6t2, v7, v7a, v7r and v7m.
      	(RETLDM): Add Thumb-2 code.
      	(do_it, shift1, do_push, do_pop, COND, THUMB_SYNTAX): New macros.
      	* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __thumb2__.
      	(TARGET_THUMB1, TARGET_32BIT, TARGET_THUMB2, TARGET_DSP_MULTIPLY,
      	TARGET_INT_SIMD, TARGET_UNIFIED_ASM, ARM_FT_STACKALIGN, IS_STACKALIGN,
      	THUMB2_TRAMPOLINE_TEMPLATE, TRAMPOLINE_ADJUST_ADDRESS,
      	ASM_OUTPUT_OPCODE, THUMB2_GO_IF_LEGITIMATE_ADDRESS,
      	THUMB2_LEGITIMIZE_ADDRESS, CASE_VECTOR_PC_RELATIVE,
      	CASE_VECTOR_SHORTEN_MODE, ADDR_VEC_ALIGN, ASM_OUTPUT_CASE_END,
      	ADJUST_INSN_LENGTH): Define.
      	(TARGET_REALLY_IWMMXT, TARGET_IWMMXT_ABI, CONDITIONAL_REGISTER_USAGE,
      	STATIC_CHAIN_REGNUM, HARD_REGNO_NREGS, INDEX_REG_CLASS,
      	BASE_REG_CLASS, MODE_BASE_REG_CLASS, SMALL_REGISTER_CLASSES,
      	PREFERRED_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS,
      	SECONDARY_INPUT_RELOAD_CLASS, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
      	TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE, HAVE_PRE_INCREMENT,
      	HAVE_POST_DECREMENT, HAVE_PRE_DECREMENT, HAVE_PRE_MODIFY_DISP,
      	HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_REG, HAVE_POST_MODIFY_REG,
      	REGNO_MODE_OK_FOR_BASE_P, LEGITIMATE_CONSTANT_P,
      	REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, GO_IF_LEGITIMATE_ADDRESS,
      	LEGITIMIZE_ADDRESS, THUMB2_LEGITIMIZE_ADDRESS,
      	GO_IF_MODE_DEPENDENT_ADDRESS, MEMORY_MOVE_COST, BRANCH_COST,
      	ASM_APP_OFF, ASM_OUTPUT_CASE_LABEL, ARM_DECLARE_FUNCTION_NAME,
      	FINAL_PRESCAN_INSN, PRINT_OPERAND_PUNCT_VALID_P,
      	PRINT_OPERAND_ADDRESS): Adjust for Thumb-2.
      	(arm_arch_notm, arm_arch_thumb2, arm_arch_hwdiv): New declarations.
      	* config/arm/arm-cores.def: Add arm1156t2-s, cortex-a8, cortex-r4 and
      	cortex-m3.
      	* config/arm/arm-tune.md: Regenerate.
      	* config/arm/arm-protos.h: Update prototypes.
      	* config/arm/vfp.md: Enable patterns for Thumb-2.
      	(arm_movsi_vfp): Add movw alternative.  Use output_move_vfp.
      	(arm_movdi_vfp, movsf_vfp, movdf_vfp): Use output_move_vfp.
      	(thumb2_movsi_vfp, thumb2_movdi_vfp, thumb2_movsf_vfp,
      	thumb2_movdf_vfp, thumb2_movsfcc_vfp, thumb2_movdfcc_vfp): New.
      	* config/arm/libunwind.S: Add Thumb-2 code.
      	* config/arm/constraints.md: Update include Thumb-2.
      	* config/arm/ieee754-sf.S: Add Thumb-2/Unified asm support.
      	* config/arm/ieee754-df.S: Ditto.
      	* config/arm/bpabi.S: Ditto.
      	* config/arm/t-arm (MD_INCLUDES): Add thumb2.md.
      	* config/arm/predicates.md (low_register_operand,
      	low_reg_or_int_operand, thumb_16bit_operator): New.
      	(thumb_cmp_operand, thumb_cmpneg_operand): Rename...
      	(thumb1_cmp_operand, thumb1_cmpneg_operand): ... to this.
      	* config/arm/t-arm-elf: Add armv7 multilib.
      	* config/arm/arm.md: Update patterns for Thumb-2 and Unified asm.
      	Include thumb2.md.
      	(UNSPEC_STACK_ALIGN, ce_count): New.
      	(arm_incscc, arm_decscc, arm_umaxsi3, arm_uminsi3,
      	arm_zero_extendsidi2, arm_zero_extendqidi2): New
      	insns/expanders.
      	* config/arm/fpa.md: Update patterns for Thumb-2 and Unified asm.
      	(thumb2_movsf_fpa, thumb2_movdf_fpa, thumb2_movxf_fpa,
      	thumb2_movsfcc_fpa, thumb2_movdfcc_fpa): New insns.
      	* config/arm/cirrus.md: Update patterns for Thumb-2 and Unified asm.
      	(cirrus_thumb2_movdi, cirrus_thumb2_movsi_insn,
      	thumb2_cirrus_movsf_hard_insn, thumb2_cirrus_movdf_hard_insn): New
      	insns.
      	* doc/extend.texi: Document ARMv7-M interrupt functions.
      	* doc/invoke.texi: Document Thumb-2 new cores+architectures.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120408 138bc75d-0d04-0410-961f-82ee72b054a4
      25f905c2
  5. 25 Jun, 2005 1 commit
  6. 09 May, 2005 1 commit
    • kazu's avatar
      * crtstuff.c, integrate.h, tree-scalar-evolution.h, · ade4cc17
      kazu authored
      	config/alpha/unicosmk.h, config/arc/arc.md,
      	config/arm/bpabi.h, config/arm/coff.h, config/arm/elf.h,
      	config/arm/ieee754-df.S, config/arm/ieee754-sf.S,
      	config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
      	config/arm/semi.h, config/arm/uclinux-elf.h,
      	config/arm/wince-pe.h, config/fr30/fr30.c,
      	config/rs6000/altivec.h: Update copyright.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99447 138bc75d-0d04-0410-961f-82ee72b054a4
      ade4cc17
  7. 05 May, 2005 1 commit
    • rsandifo's avatar
      * config.gcc (arm*-wince-pe*, arm-*-pe*, strongarm-*-pe): Add · 81f6de2f
      rsandifo authored
      	arm/pe.opt to $extra_options.
      	* config/arm/arm.h (target_flags, target_fpu_name, target_fpe_name)
      	(target_float_abi_name, target_float_switch, target_abi_name)
      	(ARM_FLAG_APCS_FRAME, ARM_FLAG_POKE, ARM_FLAG_FPE, ARM_FLAG_APCS_STACK)
      	(ARM_FLAG_APCS_FLOAT, ARM_FLAG_APCS_REENT, ARM_FLAG_BIG_END)
      	(ARM_FLAG_INTERWORK, ARM_FLAG_LITTLE_WORDS, ARM_FLAG_NO_SCHED_PRO)
      	(ARM_FLAG_ABORT_NORETURN, ARM_FLAG_SINGLE_PIC_BASE)
      	(ARM_FLAG_LONG_CALLS, ARM_FLAG_THUMB, THUMB_FLAG_BACKTRACE)
      	(THUMB_FLAG_LEAF_BACKTRACE, THUMB_FLAG_CALLEE_SUPER_INTERWORKING)
      	(THUMB_FLAG_CALLER_SUPER_INTERWORKING, CIRRUS_FIX_INVALID_INSNS)
      	(TARGET_APCS_FRAME, TARGET_POKE_FUNCTION_NAME, TARGET_FPE)
      	(TARGET_APCS_STACK, TARGET_APCS_FLOAT, TARGET_APCS_REENT)
      	(TARGET_BIG_END, TARGET_INTERWORK, TARGET_LITTLE_WORDS)
      	(TARGET_NO_SCHED_PRO, TARGET_ABORT_NORETURN, TARGET_SINGLE_PIC_BASE)
      	(TARGET_LONG_CALLS, TARGET_THUMB, TARGET_CALLER_INTERWORKING)
      	(TARGET_CIRRUS_FIX_INVALID_INSNS, S...
      81f6de2f
  8. 18 Nov, 2004 1 commit
    • pbrook's avatar
      * config/arm/arm.c (target_float_switch): New variable.. · 87f8017f
      pbrook authored
      	(arm_override_options): Use TARGET_DEFAULT_FLOAT_ABI and
      	target_float_switch.
      	* config/arm/arm.h (target_float_switch): Declare.
      	(ARM_FLAG_SOFT_FLOAT): Remove.
      	(TARGET_SWITCHES): Remove hard-float and soft-float.
      	(TARGET_OPTIONS): Add hard-float and soft-float.
      	(TARGET_DEFAULT_FLOAT_ABI): Define.
      	* config/arm/coff.h (TARGET_DEFAULT_FLOAT_ABI): Define
      	(TARGET_DEFAULT): Don't use ARM_FLAG_SOFT_FLOAT.
      	* config/arm/elf.h: Don't use ARM_FLAG_SOFT_FLOAT.
      	* config/arm/netbsd-elf.h: Ditto.
      	* config/arm/netbsd.h: Ditto.
      	* config/arm/pe.h: Ditto.
      	* config/arm/unknown-elf.h: Ditto.
      	* config/arm/wince-pe.h: Ditto.
      	* config/arm/linux-elf.h (TARGET_DEFAULT_FLOAT_ABI): Define.
      	* config/arm/semi.h (TARGET_DEFAULT_FLOAT_ABI): Define.
      	* config/arm/semiaof.h (TARGET_DEFAULT_FLOAT_ABI): Define.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90872 138bc75d-0d04-0410-961f-82ee72b054a4
      87f8017f
  9. 15 May, 2004 1 commit
    • rearnsha's avatar
      * arm.h (TARGET_APCS_32): Delete. · c1a66faf
      rearnsha authored
      (TARGET_MMU_TRAPS): Delete.
      (TARGET_CPU_CPP_BUILTINS): Unconditionally define __APCS_32__.  Never
      define __APCS_26__.
      (CPP_SPEC): Remove checking of -mapcs-{26,32}.
      (ARM_FLAG_APCS_32, ARM_FLAG_MMU_TRAPS): Delete.
      (TARGET_SWITCHES): Remove alignment_traps and apcs-{26,32} switches.
      (prog_mode_type): Delete.
      (PROMOTE_MODE): Always promote unsigned for HImode.
      (SECONDARY_INPUT_RELOAD_CLASS): Simplify.
      (MASK_RETURN_ADDR): Simplify.
      * arm.c (arm_prgmode): Delete.
      (arm_override_options, arm_gen_rotated_half_load): Simplify.
      (print_multi_reg, output_return_instruction): Simplify.
      (arm_output_epilogue, arm_final_prescan_insn): Simplify.
      (arm_return_addr): Simplify.
      * arm.md (prog_mode): Delete.
      (conds): Simplify.
      (zero_extendhisi2, extendhisi2, movhi, movhi_bytes): Simplify.
      (rotated_loadsi, movhi_insn_littleend, movhi_insn_bigend): Delete.
      (loadhi_si_bigend, loadhi_preinc, loadhi_shiftpreinc): Delete.
      (loadhi_shiftpredec): Delete.
      (peephole for post-increment on HImode load): Delete.
      * arm/crtn.asm: (FUNC_END): Simplify.
      * arm/lib1funcs.asm: Remove APCS-26 return macros.
      * arm/aof.h, arm/coff.h arm/elf.h arm/linux-elf.h arm/netbsd-elf.h
      * arm/netbsd.h arm/pe.h arm/semi.h arm/semiaof.h arm/unknown-elf.h
      * arm/vxworks.h arm/wince-pe.h: Tidy TARGET_DEFAULTS and
      MULTILIB_DEFAULTS as required.
      * arm/t-arm-elf arm/t-linux arm/t-pe arm/t-semi arm/t-wince-pe
      * arm/t-xscale-coff arm/t-xscale-elf arm/uclinux-elf: Tidy MULTILIB
      variables as required.
      * doc/invoke.texi (ARM Options): Remove obsolete flags.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81881 138bc75d-0d04-0410-961f-82ee72b054a4
      c1a66faf
  10. 21 Aug, 2003 1 commit
    • zack's avatar
      * Makefile.in (INCLUDES): Remove -I$(srcdir)/config. · 0ac7fc08
      zack authored
      	* config.gcc (*-*-openbsd): Don't set tm_file.
      	(alpha*-*-openbsd, arm*-*-coff*, arm*-wince-pe*,
      	arm-*-pe*, avr-*-*, h8300-*-rtems*, h8300-*-elf*,
      	h8300-*-*, hppa*-*-osf*, hppa*-*-bsd*, hppa*-*-hpux*,
      	i370-*-opened*, i370-*-mvs*, i370-*-linux*, i?86-*-openbsd*,
      	i?86-*-lynxos, i?86-*-nto-qnx*, iq2000*-*-elf*, m68000-hp-hpux*,
      	m68k-hp-hpux*, m68k-*-aout*, m68k-*-coff*, m68020-*-elf*,
      	m68k-*-elf*, m68k*-*-netbsd*, m68k*-*-openbsd*, m68k-*-sysv4*,
      	m68k-*-linux*, m68k-*-rtems*, mcore-*-pe*, mips*-*-netbsd*,
      	mips*-*-openbsd*, rs6000-*-lynxos*, sh*-*-elf*, sh*-*-ka,
      	sh-*-rtemself, sparc-*-openbsd*, strongarm-*-pe, vax-*-openbsd*,
      	xscale-*-coff): Use explicit and complete lists of target headers
      	to include.  Move definitions to tm_defines where appropriate.
      	(hppa*-*-openbsd*, powerpc-*-openbsd*): Comment out stanza for
      	not-yet-contributed configuration.
      
      	* config/lynx.h, config/alpha/openbsd.h, config/arm/coff.h
      	* config/avr/avr.h, config/frv/fr...
      0ac7fc08
  11. 19 Jun, 2003 1 commit
    • zack's avatar
      * target.h (asm_out.file_start, file_start_app_off, · 92c473b8
      zack authored
      	file_start_file_directive): New hooks.
      	* target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
      	TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
      	New hook-definition macros.
      	* doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
      	* varasm.c (default_file_start): New.
      	* output.h: Prototype it.
      	* toplev.c (init_asm_output): Use targetm.asm_out.file_start.
      	* system.h: Poison ASM_FILE_START.
      
      	* config/alpha/alpha.c (alpha_write_verstamp): Delete.
      	(alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
      	(unicosmk_asm_file_start): Rename unicosmk_file_start,
      	make static, take no arguments.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
      	TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
      	* config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
      	TARGET_ASM_FILE_END.  Remove reference to ASM_FILE_START in
      	comment.
      	* config/arc/arc.c (arc_asm_file_start): Rename
      	arc_file_start, take no arguments, make static.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/arm/arm.c (aof_file_start): New static function.
      	(TARGET_ASM_FILE_START): Set it, when appropriate.
      	* config/arm/coff.h, config/arm/elf.h:
      	Set TARGET_ASM_FILE_START_APP_OFF to true.
      	* config/avr/avr.c (asm_file_start): Rename avr_file_start,
      	take no arguments, make static.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
      	Set them.
      	* config/c4x/c4x.c (c4x_file_start): New static function.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
      	Set them.
      	* config/cris/cris.c (cris_file_start): New static function.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
      	dsp16xx_file_start, make static.
      	(luxworks_dsp16xx_file_start): Delete.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/h8300/h8300.c (asm_file_start): Rename
      	h8300_file_start, make static, take no arguments.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/i370/i370.c (i370_file_start): New static function.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/i386/i386.c (x86_file_start): New static function.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
      	X86_FILE_START_FLTUSED): New macros, default to false.
      	* config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
      	* config/i386/sysv4.h, config/i386/sco5.h: Override
      	X86_FILE_START_VERSION_DIRECTIVE to true.
      	* config/ia64/ia64.c (ia64_file_start): New static function.
      	(TARGET_ASM_FILE_START): Set it.
      	(emit_safe_across_calls): Take no arguments.
      	* config/ia64/ia64.md: Update to match.
      	* config/m32r/m32r.c (m32r_asm_file_start): Rename
      	m32r_file_start, make static, take no arguments.
      	(TARGET_ASM_FILE_START): Set it.
      	* config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
      	m68hc11_file_start, make static, take no arguments.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
      	(print_options): Delete.
      	* config/m68k/m68k.c (m68k_hp320_file_start): New static function.
      	(TARGET_ASM_FILE_START_APP_OFF): Set.
      	* config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
      	m68k_hp320_file_start.
      	* config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
      	Make static, take no arguments.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
      	* config/mmix/mmix.c (mmix_asm_file_start): Rename
      	mmix_file_start, make static, take no arguments.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
      	* config/mn10300/mn10300.c (asm_file_start): Rename
      	mn10300_file_start, make static, take no arguments.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
      	* config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
      	* config/pa/pa.c (pa_file_start_level, pa_file_start_space,
      	pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
      	pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
      	pa_hpux64_hpas_file_start): New static functions.
      	* config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
      	* config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
      	pa_linux_file_start.
      	* config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
      	pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
      	appropriate.
      	* config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
      	* config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
      	(rs6000_file_start): Make static, take no arguments.  Reset
      	default_cpu under certain conditions.
      	(rs6000_xcoff_file_start): New function.
      	* config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
      	* config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
      	TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
      	* config/sh/sh.c (output_file_start): Rename
      	sh_file_start, make static, take no arguments.  Merge in old
      	code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
      	* config/sh/sh.c (TARGET_ELF): Define to 0.
      	* config/sh/elf.h (TARGET_ELF): Redefine to 1.
      	* config/v850/v850.c (asm_file_start): Delete.
      	(TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
      	* config/vax/vax.c (vax_file_start): New static function.
      	(TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
      
      	* config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
      	* config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
      	* config/i386/att.h, config/i386/gas.h, config/i386/linux.h
      	* config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
      	* config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
      	* config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
      
      	* config/darwin.h, config/elfos.h, config/alpha/elf.h
      	* config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
      	* config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
      	* config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
      	* config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
      	* config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
      	* config/i370/i370.h, config/i386/att.h, config/i386/gas.h
      	* config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
      	* config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
      	* config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
      	* config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
      	* config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
      	* config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
      	* config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
      	* config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
      	* config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
      	* config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
      	* config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
      
      	* config/alpha/alpha-protos.h, config/arc/arc-protos.h
      	* config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
      	* config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
      	* config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
      	* config/mips/mips-protos.h, config/mmix/mmix-protos.h
      	* config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
      	* config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
      
      	* xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
      	Remove reference to ASM_FILE_START in comment.
      	* config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
      	* config/arm/linux-gas.h, config/arm/netbsd-elf.h
      	* config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68229 138bc75d-0d04-0410-961f-82ee72b054a4
      92c473b8
  12. 10 Feb, 2003 1 commit
  13. 29 Aug, 2002 1 commit
    • thorpej's avatar
      * config/chorus.h: Consistently define *_DEBUGGING_INFO with · a4cad234
      thorpej authored
      the value 1.  Do not undef before defining.
      * config/darwin.h: Likewise.
      * config/dbx.h: Likewise.
      * config/dbxcoff.h: Likewise.
      * config/dbxelf.h: Likewise.
      * config/elfos.h: Likewise.
      * config/interix.h: Likewise.
      * config/lynx-ng.h: Likewise.
      * config/lynx.h: Likewise.
      * config/netware.h: Likewise.
      * config/psos.h: Likewise.
      * config/svr3.h: Likewise.
      * config/alpha/alpha.h: Likewise.
      * config/alpha/elf.h: Likewise.
      * config/alpha/vms.h: Likewise.
      * config/arc/arc.h: Likewise.
      * config/arm/aout.h: Likewise.
      * config/arm/coff.h: Likewise.
      * config/c4x/c4x.h: Likewise.
      * config/h8300/h8300.h: Likewise.
      * config/i386/cygwin.h: Likewise.
      * config/i386/djgpp.h: Likewise.
      * config/i386/gas.h: Likewise.
      * config/i386/gstabs.h: Likewise.
      * config/i386/i386-coff.h: Likewise.
      * config/i386/i386-interix.h: Likewise.
      * config/i386/sco5.h: Likewise.
      * config/i386/svr3dbx.h: Likewise.
      * config/i386/sysv3.h: Likewise.
      * config/i386/win32.h: Likewise.
      * confi...
      a4cad234
  14. 18 May, 2002 1 commit
    • rth's avatar
      * final.c (HAVE_READONLY_DATA_SECTION): New. · 6cde52a2
      rth authored
      	(shorten_branches): Use it instead of ifdefs.
      	* varasm.c (enum in_section): Add in_readonly_data.
      	(text_section, data_section): Tidy.
      	(readonly_data_section): Use READONLY_DATA_SECTION_ASM_OP if present.
      
      	* config/darwin.h, config/nextstep.h, config/h8300/elf.h,
      	config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h
      	(READONLY_DATA_SECTION): Don't undef.
      
      	* config/alpha/unicosmk.h, config/h8300/elf.h, config/i386/aix386ng.h,
      	config/i860/paragon.h, config/m68k/dpx2.h, config/m68k/hp320.h,
      	config/rs6000/lynx.h (READONLY_DATA_SECTION_ASM_OP): Undef.
      
      	* config/elfos.h, config/svr3.h, config/alpha/alpha-interix.h,
      	config/alpha/elf.h, config/c4x/c4x.h, config/i386/i386-interix.h,
      	config/i386/sco5.h, config/i386/svr3gas.h, config/i860/sysv3.h,
      	config/m88k/m88k.h, config/pa/pa64-hpux.h (USE_CONST_SECTION): Remove.
      
      	* config/elfos.h, config/netware.h, config/alpha/alpha-interix.h,
      	config/alpha/elf.h, config/alpha/vms.h, config/arc/arc.h,
      	config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
      	config/i386/dgux.h, config/i386/i386-interix.h, config/i386/sco5.h,
      	config/ia64/hpux.h, config/m32r/m32r.h, config/m68k/tower-as.h,
      	config/m88k/m88k.h, config/mcore/mcore-pe.h, config/mips/iris6.h,
      	config/mips/mips.h, config/mmix/mmix.h, config/pa/pa64-hpux.h,
      	config/sparc/sysv4.h (READONLY_DATA_SECTION_ASM_OP): Rename from
      	CONST_SECTION_ASM_OP/READONLY_SECTION_ASM_OP/RDATA_SECTION_ASM_OP.
      
      	* config/elfos.h, config/netware.h, config/1750a/1750a.h,
      	config/a29k/a29k.h, config/alpha/alpha-interix.h, config/alpha/alpha.h,
      	config/arm/coff.h, config/h8300/h8300.h, config/i386/aix386ng.h,
      	config/i386/i386-interix.h, config/i386/osfrose.h, config/mmix/mmix.h,
      	config/pa/pa64-hpux.h, config/sparc/litecoff.h
      	(EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
      
      	* config/elfos.h, config/netware.h, config/svr3.h,
      	config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
      	config/arm/coff.h, config/c4x/c4x.h, config/dsp16xx/dsp16xx.h,
      	config/h8300/h8300.h, config/i386/i386-interix.h,
      	config/i386/osfrose.h, config/i386/svr3gas.h, config/mmix/mmix.h,
      	config/pa/pa64-hpux.h (READONLY_DATA_SECTION): Remove.
      
      	* config/elfos.h, config/netware.h, config/svr3.h,
      	config/alpha/alpha-interix.h, config/alpha/alpha.h, config/alpha/elf.h,
      	config/c4x/c4x.h, config/i386/aix386ng.h, config/i386/i386-interix.h,
      	config/i386/sco5.h, config/i386/svr3gas.h, config/mmix/mmix.h,
      	config/pa/pa64-hpux.h (CONST_SECTION_FUNCTION): Remove.
      
      	* config/lynx.h, config/svr3.h, config/alpha/elf.h, config/alpha/vms.h,
      	config/c4x/c4x.h, config/dsp16xx/dsp16xx.h, config/i386/sco5.h,
      	config/i386/svr3gas.h, config/i860/sysv3.h, config/i860/sysv4.h,
      	config/ia64/sysv4.h, config/m32r/m32r.h, config/m88k/m88k.h,
      	config/mcore/mcore-elf.h, config/mcore/mcore-pe.h, config/mips/elf.h,
      	config/mips/elf64.h, config/mips/iris6.h, config/mips/linux.h,
      	config/mips/mips.h, config/mips/rtems64.h, config/mips/vxworks.h,
      	config/rs6000/sysv4.h, config/v850/v850.h
      	(EXTRA_SECTIONS): Remove in_const/in_rdata.
      	(EXTRA_SECTION_FUNCTIONS): Remove accompanying function.
      
      	* config/svr3.h, config/c4x/c4x.h, config/i386/dgux.h,
      	config/i386/sco5.h, config/i386/svr3gas.h, config/ia64/aix.h,
      	config/m88k/dgux.h, config/mcore/mcore-pe.h, config/mmix/mmix.h,
      	config/sparc/sysv4.h (SELECT_RTX_SECTION): Use readonly_data_section.
      	* config/alpha/alpha.c (alpha_start_function): Likewise.
      	(alpha_write_linkage): Likewise.
      	* config/m32r/m32r.c (m32r_select_section): Likewise.
      	* config/m88k/m88k.c (m88k_select_section): Likewise.
      	* config/mips/mips.c (mips_select_rtx_section): Likewise.
      	* config/rs6000/rs6000.c (rs6000_select_rtx_section): Likewise.
      	(rs6000_elf_select_section): Likewise.
      	* config/v850/v850.c (v850_select_section): Likewise.
      
      	* config/1750a/1750a.h, config/i860/sysv3.h
      	(READONLY_DATA_SECTION_ASM_OP): New.
      	READONLY_DATA_SECTION_ASM_OP.
      	* config/i386/interix.c, config/i386/winnt.c
      	(i386_pe_unique_section): Always use .rdata prefix.
      	* config/pa/som.h (readonly_data): Always switch to read-only section.
      	(READONLY_DATA_SECTION): Predicate on flag_pic.
      	* config/we32k/we32k.h (READONLY_DATA_SECTION): Remove parenthesis.
      	* doc/tm.texi (READONLY_DATA_SECTION_ASM_OP): New.
      	(READONLY_DATA_SECTION): Update.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53593 138bc75d-0d04-0410-961f-82ee72b054a4
      6cde52a2
  15. 18 Mar, 2002 1 commit
    • rearnsha's avatar
      * arm.md (tablejump): Make this a define_expand. For PIC add the · fd957ef3
      rearnsha authored
      offset to the base of the table.
      (thumb_tablejump): Matcher for Thumb tablejump insn.
      * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
      as the difference of two labels.
      * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
      * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
      tables in the code.
      * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
      * arm.c (get_jump_table_size): If the table is not in the text
      section, return zero.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50960 138bc75d-0d04-0410-961f-82ee72b054a4
      fd957ef3
  16. 19 Dec, 2001 1 commit
  17. 16 Nov, 2001 1 commit
    • obrien's avatar
      2001-11-16 David O'Brien <obrien@FreeBSD.org> · 83e163bd
      obrien authored
      	* config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
      	arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
      	arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
      	arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
      	arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
      	arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
      	xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
      	* config/arm/aof.h: Don't include arm.h.
      	* config/arm/aout.h: Likewise.
      	* config/arm/coff.h: Don't include semi.h and aout.h.
      	* config/arm/elf.h: Don't include aout.h.
      	* config/arm/netbsd.h: Don't include netbsd.h and aout.h.
      	(TARGET_VERSION): Undef before defining.
      	(ARM_OS_NAME): Likewise
      	(TARGET_DEFAULT): Likewise
      	(TARGET_MEM_FUNCTIONS): Do not need to undefine now.
      	* config/arm/pe.h: Don't include arm/coff.h.
      	* config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
      	SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
      	* config/arm/riscix1-1.h: Likewise.
      	* config/arm/rix-gas.h: Don't include riscix.h.
      	(DBX_CONTIN_LENGTH): Undef before defining.
      	* config/arm/semi.h: Don't include aout.h.
      	* config/arm/semiaof.h: Don't include aof.h.
      	* config/arm/strongarm-coff.h: Don't include coff.h.
      	* config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
      	* config/arm/vxarm.h: Don't include arm/coff.h.
      	* config/arm/xscale-coff.h: Don't include coff.h.
      
      Approved by:  Nick Clifton <nickc@cambridge.redhat.com>
                    <m3ofm2c27q.fsf@north-pole.nickc.cambridge.redhat.com>
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47105 138bc75d-0d04-0410-961f-82ee72b054a4
      83e163bd
  18. 15 Nov, 2001 1 commit
    • jason's avatar
      * dwarf2out.c (dwarf2out_finish): Don't abort because of orphan · f9d1d2cb
      jason authored
              DIEs if there were errors in the source.
      
              * config/alpha/alpha-interix.h, config/alpha/elf.h,
              config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
              config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
              config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
              config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
              config/elfos.h, config/lynx.h, config/netware.h,
              config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
              config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
              uses to use ASM_LONG.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47066 138bc75d-0d04-0410-961f-82ee72b054a4
      f9d1d2cb
  19. 09 Aug, 2001 1 commit
  20. 04 Aug, 2001 1 commit
    • rth's avatar
      * target.h (gcc_target): Add asm_out.named_section, · 2cb4ac60
      rth authored
      	section_type_flags, have_named_sections.
      	* target-def.h (TARGET_ASM_NAMED_SECTION): New.
      	(TARGET_HAVE_NAMED_SECTIONS): New.
      	(TARGET_SECTION_TYPE_FLAGS): New.
      
      	* Makefile.in (toplev.o): Depend on TARGET_H.
      	(varasm.o, dbxout.o): Likewise.
      	* c-common.c (decl_attributes): Check targetm.have_named_sections
      	instead of ifdef ASM_OUTPUT_SECTION_NAME.
      	* dbxout.c (dbxout_function_decl): Likewise.
      	(dbxout_function_end): Likewise.
      	* toplev.c (compile_file): Likewise.
      	* varasm.c (exception_section): Likewise.
      	* cp/decl2.c (finish_objects): Likewise.
      
      	* defaults.h (EH_FRAME_SECTION): Remove.
      	(EH_FRAME_SECTION_ASM_OP): Remove.
      	(EH_FRAME_SECTION_NAME): New.
      	(UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
      	(UNIQUE_SECTION_P): Remove.
      	* dwarf2out.c (SECTION_FORMAT): Remove.
      	(ASM_OUTPUT_SECTION): Remove.
      	(output_call_frame_info): Use named_section_flags.
      	(output_comp_unit, dwarf2out_start_source_file): Likewise.
      	(dwarf2out_end_source_file, dwarf2out_define): Likewise.
      	(dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
      	* varasm.c (in_eh_frame, eh_frame_section): Remove.
      	(named_section_flags): New.
      	(named_section): Use it and targetm.section_type_flags.
      	(resolve_unique_section): New.
      	(assemble_start_function): Use it.
      	(asm_emit_uninitialised, assemble_variable): Likewise.
      	(default_section_type_flags): New.
      	(default_no_named_section, default_elf_asm_named_section): New.
      	(default_coff_asm_named_section, default_pe_asm_named_section): New.
      	* output.h: Update varasm.c decls.
      	(SECTION_*): New flags.
      
      	* crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
      	(__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.
      
      	* config/elfos.h (UNIQUE_SECTION_P): Remove.
      	* config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
      	* config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
      	* config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
      	* config/i386/i386-interix.h, config/i386/win32.h: Likewise.
      	* config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
      	* config/mips/elf.h, config/mips/elf64.h: Likewise.
      	* config/mips/iris6gld.h, config/mips/mips.h: Likewise.
      	* config/pa/pa64-hpux.h,
      
      	* config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
      	(TARGET_ASM_NAMED_SECTION): New.
      	* config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
      	* config/alpha/vms.h, config/arm/coff.h: Likewise.
      	* config/arm/conix-elf.h, config/arm/elf.h: Likewise.
      	* config/arm/linux-elf.h, config/arm/pe.h: Likewise.
      	* config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
      	* config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
      	* config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
      	* config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
      	* config/i386/sco5.h, config/i386/win32.h: Likewise.
      	* config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
      	* config/mcore/mcore.h, config/mips/elf.h: Likewise.
      	* config/mips/elf64.h, config/mips/iris6.h: Likewise.
      	* config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
      	* config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
      	* config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
      	* config/sparc/sysv4.h: Likewise.
      
      	* config/nextstep.h: Error until named sections implemented.
      
      	* config/a29k/a29k.c (a29k_asm_named_section): New.
      	* config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
      	(vms_section_type_flags, vms_asm_named_section): New.
      	* config/arm/arm.c (arm_elf_asm_named_section): New.
      	* config/avr/avr.c (asm_output_section_name): Remove.
      	* config/avr/avr-protos.h: Update.
      	* config/c4x/c4x.c (c4x_asm_named_section): New.
      	* config/h8300/h8300.c (h8300_asm_named_section): New.
      	* config/i386/i386.c (sco_asm_named_section): New.
      	* config/i386/winnt.c (SECTION_PE_SHARED): New.
      	(i386_pe_section_type_flags): New.
      	(i386_pe_asm_named_section): New.
      	* config/i386/i386-protos.h: Update.
      	* config/m68k/m68k.c (m68k_coff_asm_named_section): New.
      	* config/mcore/mcore.c (mcore_asm_named_section): New.
      	* config/mips/mips.c (iris6_asm_named_section): New.
      	* config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
      	instead of UNIQUE_SECTION_P.
      	* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
      	(xcoff_asm_named_section): New.
      	* config/sh/sh.c (sh_asm_named_section): New.
      	* config/sparc/sparc.c (sparc_elf_asm_named_section): New.
      
      	* config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
      	* config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
      	(EH_FRAME_SECTION_NAME): New.
      	(EXCEPTION_SECTION): New.
      	* config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
      	(DEBUG_*_SECTION): Remove.
      	* config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
      	* config/mips/iris6.h (DEBUG_*_SECTION): Remove.
      	(EH_FRAME_SECTION_ASM_OP): Remove.
      
      	* doc/tm.texi (UNIQUE_SECTION_P): Remove.
      	(ASM_OUTPUT_SECTION_NAME): Remove.
      	(TARGET_ASM_NAMED_SECTION): New.
      	(TARGET_HAVE_NAMED_SECTIONS): New.
      	(TARGET_SECTION_TYPE_FLAGS): New.
      	(EH_FRAME_SECTION_ASM_OP): Remove.
      	(EH_FRAME_SECTION_NAME): New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44623 138bc75d-0d04-0410-961f-82ee72b054a4
      2cb4ac60
  21. 26 Jun, 2001 1 commit
    • neil's avatar
      * Makefile.in (TARGET_H, TARGET_DEF_H): New. · a767736d
      neil authored
      	(c-decl.o, tree.o, c-typeck.o, $(out_object_file)): Update.
      	* c-decl.c (duplicate_decls): Use function pointer.
      	* c-typeck.c (common_type): Similarly.
      	* tree.c (valid_machine_attribute): Similarly.
      	(merge_machine_type_attributes): Rename merge_type_attributes.
      	(merge_machine_decl_attributes): Rename merge_decl_attributes.
      	(merge_dllimport_decl_attributes): New function.
      	* tree.h (merge_machine_type_attributes): Rename merge_type_attributes.
      	(merge_machine_decl_attributes): Rename merge_decl_attributes.
      	(merge_dllimport_decl_attributes): New prototype.
      	* target.h: New.
      	* target-def.h: New.
      
      doc:	(Joseph Myers)
      	* doc/gcc.texi, doc/tm.texi: Update documentation.
      
      cp:	Make-lang.in: Update dependencies.
      	* spew.c: Include target.h.
      	(duplicate_decls): Call target function.
      	* decl2.c: include target.h
      	(import_export_class): Use existence of target function pointer.
      	* typeck.c: Include target.h.
      	(qualify_type_recursive): Rename variable.  Call target function.
      	(type_after_usual_arithmetic_conversions): Similarly.
      	(common_type): Similarly.
      
      config:	* 1750a/1750a.c, a29k/29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c,
      	avr/avr.c, c4x/c4x.c, clipper/clipper.c, convex/convex.c,
      	d30v/d30v.c, dsp16xx/dsp16xx.c, elxsi/elxsi.c, fr30/fr30.c,
      	i370/i370.c, i386/i386.c, i860/i860.c, i960/i960.c, ia64/ia64.c,
      	m32r/m32r.c, m68hc11/m68hc11.c, m68k/m68k.c, m88k/m88k.c,
      	mips/mips.c, mn10200/mn10200.c, mn10300/mn10300.c, ns32k/ns32k.c,
      	pa/pa.c, pdp11/pdp11.c, pj/pj.c, romp/romp.c, rs6000/rs6000.c,
      	sh/sh.c, sparc/sparc.c,	v850/v850.c, vax/vax.c, we32k/we32k.c)
      	: Include target.h and target-def.h.  Define target.
      
      	* arc/arc-protos.h (arc_valid_machine_decl_attribute): Remove.
      	* arc/arc.c (arc_valid_machine_decl_attribute): Rename
      	arc_valid_decl_attribute, make static.
      	* arc/arc.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* arm/arm-protos.h (arm_valid_machine_decl_attribute,
      	arm_valid_type_attribute_p, arm_pe_valid_machine_decl_attribute,
      	arm_pe_merge_machine_decl_attributes): Remove.
      	* arm/arm.c (arm_valid_machine_decl_attribute_p): Rename
      	arm_valid_decl_attribute_p, make static.
      	(arm_pe_valid_decl_attribute_p): Move from pe.c.
      	* arm/pe.c (arm_pe_valid_machine_decl_attribute_p): Move to arm.c.
      	(arm_pe_merge_machine_decl_attributes): Move to tree.c.
      	* arm/arm.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): New.
      	(VALID_MACHINE_TYPE_ATTRIBUTE, VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* avr/avr-protos.h (valid_machine_type_attribute,
      	valid_machine_decl_attribute): Remove.
      	* avr/avr.c (valid_machine_type_attribute,
      	valid_machine_decl_attribute): Rename and make static.
      	* avr/avr.h (VALID_MACHINE_TYPE_ATTRIBUTE,
      	VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* c4x/c4x-protos.h (c4x_valid_type_attribute_p): Remove.
      	* c4x/c4x.c (c4x_valid_type_attribute_p): Make static.
      	* c4x/c4x.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* d30v/d30v.h: Remove obsolete comments.
      	* h8300/h8300-protos.h (h8300_valid_machine_decl_attribute): Remove.
      	* h8300/h8300.c (h8300_valid_machine_decl_attribute): Rename, make
      	static.
      	* h8300/h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* i386/cygwin.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
      	(i386_pe_merge_decl_attributes, MERGE_MACHINE_DECL_ATTRIBUTES,
      	i386_pe_valid_type_attributes_p): Remove.
      	* i386/i386-protos.h (ix86_valid_decl_attribute_p,
      	ix86_valid_type_attribute_p): Remove.
      	* i386/i386.c (ix86_valid_decl_attribute_p): Remove.
      	(ix86_valid_type_attribute_p): Make static.
      	* i386/i386.h (VALID_MACHINE_DECL_ATTRIBUTE,
      	VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* i386/winnt.c (i386_pe_merge_decl_attributes): Move to tree.c.
      	* ia64/ia64-protos.h (ia64_valid_type_attribute): Remove.
      	* ia64/ia64.c (ia64_valid_type_attribute): Make static.
      	* ia64/ia64.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* m32r/m32r-protos.h (m32r_valid_machine_decl_attribute): Remove.
      	* m32r/m32r.c (m32r_valid_decl_attribute): Make static.
      	* m32r/m32r.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* m68hc11/m68hc11-protos.h (m68hc11_valid_decl_attribute_p,
      	m68hc11_valid_type_attribute_p): Remove.
      	* m68hc11/m68hc11.c (m68hc11_valid_decl_attribute_p): Remove.
      	(m68hc11_valid_type_attribute_p): Make static.
      	* m68hc11/m68hc11.h (VALID_MACHINE_DECL_ATTRIBUTE,
      	VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* mcore/mcore-protos.h (mcore_valid_machine_decl_attribute,
      	mcore_merge_machine_decl_attribute): Remove.
      	* mcore/mcore.c (mcore_valid_machine_decl_attribute): Rename,
      	make static.
      	(mcore_merge_machine_decl_attributes): Move to tree.c.
      	* mcore/mcore.h (VALID_MACHINE_DECL_ATTRIBUTE,
      	VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	(TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define.
      	* ns32k/ns32k-protos.h (ns32k_valid_decl_attribute_p,
      	ns32k_valid_type_attribute_p): Remove.
      	* ns32k/ns32k.c (ns32k_valid_decl_attribute_p): Remove.
      	(ns32k_valid_type_attribute_p): Make static.
      	* ns32k/ns32k.h (VALID_MACHINE_DECL_ATTRIBUTE,
      	VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* rs6000/rs6000-protos.h (rs6000_valid_decl_attribute_p,
      	rs6000_valid_type_attribute_p): Remove.
      	* rs6000/rs6000.c (rs6000_valid_decl_attribute_p): Remove.
      	(rs6000_valid_type_attribute_p): Make static.
      	* rs6000/rs6000.h (VALID_MACHINE_DECL_ATTRIBUTE,
      	VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
      	* sh/sh-protos.h (sh_valid_machine_decl_attribute): Remove.
      	* sh/sh.c (sh_valid_machine_decl_attribute): Rename, make static.
      	* sh/sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      	* v850/v850-protos.h (v850_valid_machine_decl_attribute): Remove.
      	* v850/v850.c (v850_valid_machine_decl_attribute): Rename, make static.
      	* v850/v850.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43585 138bc75d-0d04-0410-961f-82ee72b054a4
      a767736d
  22. 16 Apr, 2001 1 commit
    • zack's avatar
      * toplev.c (output_lang_identify): Delete. · f006a2e6
      zack authored
      	(compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
      	Don't generate gcc2_compiled. label.  Don't emit a nop if profiling.
      	If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
      	after calling ASM_FILE_END.
      
      	* dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
      	Instead, unconditionally emit an N_OPT stab with string equal
      	to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
      
      	* defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
      
      	* config/dbxelf.h, config/freebsd.h, config/nextstep.h,
      	config/psos.h, config/ptx4.h, config/1750a/1750a.h,
      	config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
      	config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
      	config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
      	config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
      	config/i370/i370.h, config/i386/beos-elf.h,
      	config/i386/osf1elf.h, config/i386/osfrose.h,
      	config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
      	config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
      	config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
      	config/m68k/tower-as.h, config/mcore/mcore-elf.h,
      	config/mips/iris6.h, config/mips/osfrose.h,
      	config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
      	config/sparc/sp64-elf.h:
      	Delete definitions of any or all of: ASM_IDENTIFY_GCC,
      	ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
      
      	* config/elfos.h, config/freebsd.h, config/linux.h,
      	config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
      	config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
      	config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
      	of ASM_FILE_START which merely emit a .version directive.  Delete
      	definitions of ASM_FILE_END which merely emit an .ident directive.
      
      	* config/avr/avr.h, config/vax/vax.h: Delete definition of
      	ASM_IDENTIFY_GCC and move part of its logic into
      	ASM_FILE_START.
      
      	* config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
      	config/sparc/linux-aout.h: Don't emit .version directive in
      	ASM_FILE_START.
      
      	* config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
      	(output_file_start): Correct comment.
      
      	* config/i386/osfrose.h: Don't emit trailing .ident directive.
      	* config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
      	to match gdb.
      	* config/pa/lib2funcs.asm: Delete gcc_compiled. label.
      	* config/rs6000/aix.h: Correct comment.
      
      	* config/i386/i386afe.h: Delete.
      	* config.gcc: Remove references to i386afe.h.
      
      	* tm.texi: Delete documentation of ASM_IDENTIFY_GCC.  The
      	other macros deleted by this patch were undocumented.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41385 138bc75d-0d04-0410-961f-82ee72b054a4
      f006a2e6
  23. 18 Dec, 2000 1 commit
    • jsm28's avatar
      * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING. · 11cd7d77
      jsm28 authored
      	* tm.texi (EXIT_BODY): Update documentation.
      	* config/freebsd.h, config/netware.h, config/arm/coff.h,
      	config/arm/conix-elf.h, config/arm/unknown-elf.h,
      	config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
      	sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
      	commented out) and associated comments.
      
      f:
      	* com.c [VMS]: Remove definition of BSTRING.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38370 138bc75d-0d04-0410-961f-82ee72b054a4
      11cd7d77
  24. 07 Dec, 2000 1 commit
    • law's avatar
      · 2fa871c1
      law authored
      	* config/alpha/osf.h: Standarize copyright statement.
      	* config/arc/arc.h: Likewise.
      	* config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
      	* config/arm/arm.c config/arm/arm.h: Likewise.
      	* config/elxsi/elxsi.h: Likewise.
      	* config/i386/sco.h: Likewise.
      	* config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
      	* config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
      	* config/m68k/sun3.h: Likewise.
      	* config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
      	* config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
      	* config/romp/romp.h: Likewise.
      	* config/rs6000/aix41.h: Likewise.
      	* config/sparc/sysv4.h: Likewise.
      	* config/we32k/we32k.c config/we32k/we32k.h: Likewise.
      	* fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
      	* cpplib.h cppexp.c cselib.h profile.c: Likewise.
      	* longlong.h: Likewise.
      	* libgcc2.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38088 138bc75d-0d04-0410-961f-82ee72b054a4
      2fa871c1
  25. 25 Sep, 2000 2 commits
  26. 08 Apr, 2000 1 commit
  27. 15 Feb, 2000 1 commit
    • ghazi's avatar
      * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o, · 56fc5f02
      ghazi authored
      	cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
      
      	* cccp.c: Include version.h and/or don't declare `version_string'.
      	* collect2.c: Likewise.
      	* alpha.c: Likewise.
      	* arm/aof.h: Likewise.
      	* arm/coff.h: Likewise.
      	* arm/elf.h: Likewise.
      	* arm/pe.h: Likewise.
      	* arm/tcoff.h: Likewise.
      	* arm/telf.h: Likewise.
      	* arm/tpe.h: Likewise.
      	* arm/vxarm.h: Likewise.
      	* convex/convex.c: Likewise.
      	* i386/dgux.c: Likewise.
      	* i386/sun386.h: Likewise.
      	* m88k/m88k.c: Likewise.
      	* mcore/mcore-pe.h: Likewise.
      	* mips/mips.h: Likewise.
      	* romp/romp.h: Likewise.
      	* sh/sh.c: Likewise.
      	* cpphash.c: Likewise.
      	* cppinit.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* gcc.c: Likewise.
      	* gcc.h: Likewise.
      	* mips-tfile.c: Likewise.
      	* protoize.c: Likewise.
      	* toplev.c: Likewise.
      	* tree.h: Likewise.
      
      	* version.c (version_string): Constify a char*.
      
      	* version.h: New file.
      
      ch:
      	* grant.c: Don't declare `version_string'.
      
      f:
      	* g77spec.c: Don't declare `version_string'.
      
      java:
      	* Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
      	version.o.
      	(jcf-dump.o, gjavah.o, jv-scan.o): Depend on version.h.
      
      	* gjavah.c: Include version.h.
      
      	* jcf-dump.c: Likewise.
      
      	* jv-scan.c: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31984 138bc75d-0d04-0410-961f-82ee72b054a4
      56fc5f02
  28. 27 Oct, 1999 1 commit
  29. 15 Sep, 1999 1 commit
    • jason's avatar
      * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT. · 3da2e097
      jason authored
      	* libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
      	(__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
      	(__do_global_dtors): Likewise.  Don't mess with _exit_dummy_decl.
      	(atexit, exit): Simplify.
      	* tm.texi: Document NEED_ATEXIT and ON_EXIT.  Remove HAVE_ATEXIT.
      	* config/lots: Remove defns of HAVE_ATEXIT.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29439 138bc75d-0d04-0410-961f-82ee72b054a4
      3da2e097
  30. 27 Jul, 1999 1 commit
  31. 22 Jul, 1999 1 commit
  32. 17 Jul, 1999 1 commit
  33. 05 Jul, 1999 1 commit
  34. 02 Jun, 1999 1 commit
  35. 22 Mar, 1999 1 commit
  36. 19 Nov, 1998 1 commit
  37. 27 Oct, 1998 1 commit
  38. 22 May, 1998 1 commit
    • law's avatar
      * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value. · 6b5be7f8
      law authored
              (shorten_branches, final_scan_insn): Test value of
              JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
              is defined.
              * tm.texi (JUMP_TABLES_IN_TEXT_SECTION): Corresponding changes.
              * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
              coff.h: Likewise.
              * i386/386bsd.h: Likewise.
              * i386/freebsd-elf.h: Likewise.
              * i386/freebsd.h: Likewise.
              * i386/netbsd.h: Likewise.
              * i386/ptx4-i.h: Likewise.
              * i386/sysv4.h: Likewise.
              * pa/pa.h: Likewise.
              * rs6000/linux.h: Likewise.
              * rs6000/rs6000.h: Likewise.
              * sh/sh.h: Likewise.
              * sparc/sp64-elf.h: Likewise.
              * v850/v850.h: Likewise.
              * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
              * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19940 138bc75d-0d04-0410-961f-82ee72b054a4
      6b5be7f8
  39. 13 May, 1997 1 commit