From patchwork Wed Feb 2 23:18:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 81590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 1117BB7109 for ; Thu, 3 Feb 2011 10:18:46 +1100 (EST) Received: (qmail 14463 invoked by alias); 2 Feb 2011 23:18:44 -0000 Received: (qmail 14455 invoked by uid 22791); 2 Feb 2011 23:18:43 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, TW_XG, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Feb 2011 23:18:37 +0000 Received: (qmail 22888 invoked from network); 2 Feb 2011 23:18:35 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Feb 2011 23:18:35 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Pkly6-0000E8-3j; Wed, 02 Feb 2011 23:18:34 +0000 Date: Wed, 2 Feb 2011 23:18:34 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org cc: rupp@gnat.com, gingold@adacore.com, wilson@tuliptree.org, sje@cup.hp.com Subject: Add IA64 VMS option from specs to new ia64/vms.opt Message-ID: MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org In preparation for the driver only accepting options listed in .opt files, and not other options that simply happen to match some spec, this patch adds the -source-listing option from specs in config/ia64/vms.h to a new ia64/vms.opt. Tested building cc1 and xgcc for cross to ia64-hp-vms. OK to commit? 2011-02-02 Joseph Myers * config/ia64/vms.opt: New. * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 169769) +++ gcc/config.gcc (working copy) @@ -1616,7 +1616,7 @@ ia64-hp-*vms*) fi exeext=.exe install_headers_dir=install-headers-cp - extra_options="${extra_options} vms/vms.opt" + extra_options="${extra_options} vms/vms.opt ia64/vms.opt" ;; iq2000*-*-elf*) tm_file="elfos.h newlib-stdint.h iq2000/iq2000.h" Index: gcc/config/ia64/vms.opt =================================================================== --- gcc/config/ia64/vms.opt (revision 0) +++ gcc/config/ia64/vms.opt (revision 0) @@ -0,0 +1,30 @@ +; IA64 VMS options. + +; Copyright (C) 2011 +; 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 +; . + +; See the GCC internals manual (options.texi) for a description of +; this file's format. + +; Please try to keep this file in ASCII collating order. + +source-listing +Driver + +; This comment is to ensure we retain the blank line above.