From c889a16f4bc05169d3b3bbdea5ab4c024e516a57 Mon Sep 17 00:00:00 2001 From: Douglas B Rupp Date: Mon, 10 Aug 2009 03:26:59 +0000 Subject: [PATCH] vms.h (HANDLE_SYSV_PRAGMA): Define. * config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Define. (LINK_GCC_C_SEQUENCE_SPEC): Define. (MD_EXEC_PREFIX): Remove, no longer used. (MD_STARTFILE_PREFIX): Likewise. (INCLUDE_DEFAULTS): Likewise. * config/alpha/t-vms: (vms-dwarf2.o, vms-dwarf2eh.o): Use GCC_FOR_TARGET to compile. From-SVN: r150608 --- gcc/ChangeLog | 10 ++++++++++ gcc/config/alpha/t-vms | 4 ++-- gcc/config/alpha/vms.h | 16 +++------------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7dd9852..b4b03b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2009-08-09 Douglas B Rupp + + * config/alpha/vms.h (HANDLE_SYSV_PRAGMA): Define. + (LINK_GCC_C_SEQUENCE_SPEC): Define. + (MD_EXEC_PREFIX): Remove, no longer used. + (MD_STARTFILE_PREFIX): Likewise. + (INCLUDE_DEFAULTS): Likewise. + * config/alpha/t-vms: + (vms-dwarf2.o, vms-dwarf2eh.o): Use GCC_FOR_TARGET to compile. + 2009-08-09 Richard Guenther PR tree-optimization/41016 diff --git a/gcc/config/alpha/t-vms b/gcc/config/alpha/t-vms index 5e86f14..540728d 100644 --- a/gcc/config/alpha/t-vms +++ b/gcc/config/alpha/t-vms @@ -27,10 +27,10 @@ EXTRA_PARTS = vms-dwarf2.o vms-dwarf2eh.o $(VMS_EXTRA_PARTS) # This object must be linked with in order to make the executable debuggable. # vms-ld handles it automatically when passed -g. $(T)vms-dwarf2.o : $(srcdir)/config/alpha/vms-dwarf2.asm - gcc -c -x assembler $< -o $@ + $(GCC_FOR_TARGET) -c -x assembler $< -o $@ $(T)vms-dwarf2eh.o : $(srcdir)/config/alpha/vms-dwarf2eh.asm - gcc -c -x assembler $< -o $@ + $(GCC_FOR_TARGET) -c -x assembler $< -o $@ MULTILIB_OPTIONS = mcpu=ev6 MULTILIB_DIRNAMES = ev6 diff --git a/gcc/config/alpha/vms.h b/gcc/config/alpha/vms.h index d7a6389..596e60e 100644 --- a/gcc/config/alpha/vms.h +++ b/gcc/config/alpha/vms.h @@ -65,6 +65,8 @@ along with GCC; see the file COPYING3. If not see #define POINTER_SIZE 32 #define POINTERS_EXTEND_UNSIGNED 0 +#define HANDLE_SYSV_PRAGMA 1 + #define MAX_OFILE_ALIGNMENT 524288 /* 8 x 2^16 by DEC Ada Test CD40VRA */ #undef FIXED_REGISTERS @@ -285,6 +287,7 @@ do { \ gen_rtx_MEM (Pmode, plus_constant (stack_pointer_rtx, 8)) #define LINK_EH_SPEC "vms-dwarf2eh.o%s " +#define LINK_GCC_C_SEQUENCE_SPEC "%G" #define MD_UNWIND_SUPPORT "config/alpha/vms-unwind.h" @@ -355,17 +358,4 @@ do { \ #define NAME__MAIN "__gccmain" #define SYMBOL__MAIN __gccmain -#define MD_EXEC_PREFIX "/gnu/lib/gcc-lib/" -#define MD_STARTFILE_PREFIX "/gnu/lib/gcc-lib/" - -/* Specify the list of include file directories. */ -#define INCLUDE_DEFAULTS \ -{ \ - { "/gnu/lib/gcc-lib/include", 0, 0, 0 }, \ - { "/gnu_gxx_include", 0, 1, 1 }, \ - { "/gnu_cc_include", 0, 0, 0 }, \ - { "/gnu/include", 0, 0, 0 }, \ - { 0, 0, 0, 0 } \ -} - #define LONGLONG_STANDALONE 1 -- 2.7.4