From: gingold Date: Fri, 30 Mar 2012 13:54:23 +0000 (+0000) Subject: 2012-03-30 Tristan Gingold X-Git-Tag: upstream/4.9.2~13490 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b26acc6403767841f3c465de9d40cc74554041d7;p=platform%2Fupstream%2Flinaro-gcc.git 2012-03-30 Tristan Gingold * config/vms/vms-f.c: New file. * config/vms/t-vms (vms-f.o): New rule. * config.gcc (*-*-*vms*): Define fortran_target_objs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186013 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84538f8..9f8ef90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-03-30 Tristan Gingold + + * config/vms/vms-f.c: New file. + * config/vms/t-vms (vms-f.o): New rule. + * config.gcc (*-*-*vms*): Define fortran_target_objs. + 2012-03-30 Richard Guenther PR tree-optimization/52754 diff --git a/gcc/config.gcc b/gcc/config.gcc index 1f2baee..c30bb24 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -740,6 +740,7 @@ case ${target} in xm_file="vms/xm-vms.h" c_target_objs="vms-c.o" cxx_target_objs="vms-c.o" + fortran_target_objs="vms-f.o" use_gcc_stdint=provide tm_file="${tm_file} vms/vms-stdint.h" if test x$gnu_ld != xyes; then diff --git a/gcc/config/vms/t-vms b/gcc/config/vms/t-vms index 4e20bde..f2161b7 100644 --- a/gcc/config/vms/t-vms +++ b/gcc/config/vms/t-vms @@ -34,3 +34,8 @@ vms-c.o: $(srcdir)/config/vms/vms-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(TM_P_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(PREPROCESSOR_DEFINES) $< -o $@ + +vms-f.o: $(srcdir)/config/vms/vms-f.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(TM_H) + $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ + $(PREPROCESSOR_DEFINES) $< -o $@ diff --git a/gcc/config/vms/vms-f.c b/gcc/config/vms/vms-f.c new file mode 100644 index 0000000..3c3ba41 --- /dev/null +++ b/gcc/config/vms/vms-f.c @@ -0,0 +1,31 @@ +/* VMS support needed only by Fortran frontends. + Copyright (C) 2012 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ + +#include "config.h" +#include "system.h" +#include "coretypes.h" +#include "tm.h" + +void +vms_c_register_includes (const char *sysroot ATTRIBUTE_UNUSED, + const char *iprefix ATTRIBUTE_UNUSED, + int stdinc ATTRIBUTE_UNUSED) +{ + /* No-op for fortran. */ +}