OSDN Git Service

PR bootstrap/11932
[pf3gnuchains/gcc-fork.git] / gcc / ada / symbols.adb
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                         GNAT COMPILER COMPONENTS                         --
4 --                                                                          --
5 --                              S Y M B O L S                               --
6 --                                                                          --
7 --                                 B o d y                                  --
8 --                                                                          --
9 --          Copyright (C) 2003 Free Software Foundation, Inc.               --
10 --                                                                          --
11 -- GNAT is free software;  you can  redistribute it  and/or modify it under --
12 -- terms of the  GNU General Public License as published  by the Free Soft- --
13 -- ware  Foundation;  either version 2,  or (at your option) any later ver- --
14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License --
17 -- for  more details.  You should have  received  a copy of the GNU General --
18 -- Public License  distributed with GNAT;  see file COPYING.  If not, write --
19 -- to  the Free Software Foundation,  59 Temple Place - Suite 330,  Boston, --
20 -- MA 02111-1307, USA.                                                      --
21 --                                                                          --
22 -- GNAT was originally developed  by the GNAT team at  New York University. --
23 -- Extensive contributions were provided by Ada Core Technologies Inc.      --
24 --                                                                          --
25 ------------------------------------------------------------------------------
26
27 --  This is the default version of this package, used when the creation
28 --  of symbol files is not supported.
29
30 with Ada.Text_IO; use Ada.Text_IO;
31
32 package body Symbols is
33
34    ----------------
35    -- Initialize --
36    ----------------
37
38    procedure Initialize
39      (Symbol_File   : String;
40       Reference     : String;
41       Symbol_Policy : Policy;
42       Quiet         : Boolean;
43       Version       : String;
44       Success       : out Boolean)
45    is
46       pragma Unreferenced (Symbol_File);
47       pragma Unreferenced (Reference);
48       pragma Unreferenced (Symbol_Policy);
49       pragma Unreferenced (Quiet);
50       pragma Unreferenced (Version);
51    begin
52       Put_Line
53         ("creation of symbol files are not supported on this platform");
54       Success := False;
55    end Initialize;
56
57    -------------
58    -- Process --
59    -------------
60
61    procedure Process
62      (Object_File : String;
63       Success     : out Boolean)
64    is
65       pragma Unreferenced (Object_File);
66    begin
67       Success := False;
68    end Process;
69
70    --------------
71    -- Finalize --
72    --------------
73
74    procedure Finalize
75      (Quiet   : Boolean;
76       Success : out Boolean)
77    is
78       pragma Unreferenced (Quiet);
79    begin
80       Success := False;
81    end Finalize;
82
83 end Symbols;