From df62c1c110e8532b995b23540b7e3695729c0779 Mon Sep 17 00:00:00 2001 From: Jing Yu Date: Thu, 5 Nov 2009 15:11:04 -0800 Subject: Check in gcc sources for prebuilt toolchains in Eclair. --- gcc-4.2.1/gcc/ada/symbols.adb | 91 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 gcc-4.2.1/gcc/ada/symbols.adb (limited to 'gcc-4.2.1/gcc/ada/symbols.adb') diff --git a/gcc-4.2.1/gcc/ada/symbols.adb b/gcc-4.2.1/gcc/ada/symbols.adb new file mode 100644 index 000000000..631ccb1f5 --- /dev/null +++ b/gcc-4.2.1/gcc/ada/symbols.adb @@ -0,0 +1,91 @@ +------------------------------------------------------------------------------ +-- -- +-- GNAT COMPILER COMPONENTS -- +-- -- +-- S Y M B O L S -- +-- -- +-- B o d y -- +-- -- +-- Copyright (C) 2003-2005, Free Software Foundation, Inc. -- +-- -- +-- GNAT is free software; you can redistribute it and/or modify it under -- +-- terms of the GNU General Public License as published by the Free Soft- -- +-- ware Foundation; either version 2, or (at your option) any later ver- -- +-- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- +-- OUT 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 distributed with GNAT; see file COPYING. If not, write -- +-- to the Free Software Foundation, 51 Franklin Street, Fifth Floor, -- +-- Boston, MA 02110-1301, USA. -- +-- -- +-- GNAT was originally developed by the GNAT team at New York University. -- +-- Extensive contributions were provided by Ada Core Technologies Inc. -- +-- -- +------------------------------------------------------------------------------ + +-- This is the default version of this package, used when the creation +-- of symbol files is not supported. + +with Ada.Text_IO; use Ada.Text_IO; + +package body Symbols is + + ---------------- + -- Initialize -- + ---------------- + + procedure Initialize + (Symbol_File : String; + Reference : String; + Symbol_Policy : Policy; + Quiet : Boolean; + Version : String; + Success : out Boolean) + is + pragma Unreferenced (Symbol_File); + pragma Unreferenced (Reference); + pragma Unreferenced (Symbol_Policy); + pragma Unreferenced (Quiet); + pragma Unreferenced (Version); + begin + Put_Line + ("creation of symbol files are not supported on this platform"); + Success := False; + end Initialize; + + ---------------- + -- Processing -- + ---------------- + + package body Processing is + + ------------- + -- Process -- + ------------- + + procedure Process + (Object_File : String; + Success : out Boolean) + is + pragma Unreferenced (Object_File); + begin + Success := False; + end Process; + + end Processing; + + -------------- + -- Finalize -- + -------------- + + procedure Finalize + (Quiet : Boolean; + Success : out Boolean) + is + pragma Unreferenced (Quiet); + begin + Success := False; + end Finalize; + +end Symbols; -- cgit v1.2.3