re PR ada/24857 (ada/s-auxdec.ads alignment issue for arm-rtems)
authorLaurent GUERBY <laurent@guerby.net>
Thu, 17 Nov 2005 11:13:18 +0000 (11:13 +0000)
committerLaurent Guerby <guerby@gcc.gnu.org>
Thu, 17 Nov 2005 11:13:18 +0000 (11:13 +0000)
2005-11-17  Laurent GUERBY  <laurent@guerby.net>

PR ada/24857
* s-auxdec-empty.ads, s-auxdec-empty.adb: New files.

From-SVN: r107116

gcc/ada/ChangeLog
gcc/ada/s-auxdec-empty.adb [new file with mode: 0644]
gcc/ada/s-auxdec-empty.ads [new file with mode: 0644]

index cc21e396b7c0392e2907a6576ffc44ed34918d5e..75651bc7bc49e1ae9772ae1e421b53911aa9b2c3 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-17  Laurent GUERBY  <laurent@guerby.net>
+
+       PR ada/24857
+       * s-auxdec-empty.ads, s-auxdec-empty.adb: New files.
+       
 2005-11-16  Richard Guenther  <rguenther@suse.de>
 
        * Makefile.in: Add EH_MECHANISM=-gcc to s390(x) linux.
diff --git a/gcc/ada/s-auxdec-empty.adb b/gcc/ada/s-auxdec-empty.adb
new file mode 100644 (file)
index 0000000..57fa581
--- /dev/null
@@ -0,0 +1,36 @@
+------------------------------------------------------------------------------
+--                                                                          --
+--                         GNAT COMPILER COMPONENTS                         --
+--                                                                          --
+--                       S Y S T E M . A U X _ D E C                        --
+--                                                                          --
+--                                 B o d y                                  --
+--                                                                          --
+--             Copyright (C) 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.                                              --
+--                                                                          --
+-- As a special exception,  if other files  instantiate  generics from this --
+-- unit, Or you link  this unit with other files  to produce an executable, --
+-- this  unit  does not  by itself cause  the resulting  executable  to  be --
+-- covered  by the  GNU  General  Public  License.  This exception does not --
+-- however invalidate  any other reasons why  the executable file  might be --
+-- covered by the  GNU Public License.                                      --
+--                                                                          --
+-- GNAT was originally developed  by the GNAT team at  New York University. --
+-- Extensive contributions were provided by Ada Core Technologies Inc.      --
+--                                                                          --
+------------------------------------------------------------------------------
+
+package body System.Aux_DEC is
+
+end System.Aux_DEC;
diff --git a/gcc/ada/s-auxdec-empty.ads b/gcc/ada/s-auxdec-empty.ads
new file mode 100644 (file)
index 0000000..289009b
--- /dev/null
@@ -0,0 +1,49 @@
+------------------------------------------------------------------------------
+--                                                                          --
+--                         GNAT COMPILER COMPONENTS                         --
+--                                                                          --
+--                       S Y S T E M . A U X _ D E C                        --
+--                                                                          --
+--                                 S p e c                                  --
+--                                                                          --
+--             Copyright (C) 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.                                              --
+--                                                                          --
+-- As a special exception,  if other files  instantiate  generics from this --
+-- unit, or you link  this unit with other files  to produce an executable, --
+-- this  unit  does not  by itself cause  the resulting  executable  to  be --
+-- covered  by the  GNU  General  Public  License.  This exception does not --
+-- however invalidate  any other reasons why  the executable file  might be --
+-- covered by the  GNU Public License.                                      --
+--                                                                          --
+-- GNAT was originally developed  by the GNAT team at  New York University. --
+-- Extensive contributions were provided by Ada Core Technologies Inc.      --
+--                                                                          --
+------------------------------------------------------------------------------
+
+--  This package is to be used when the extra definitions in package
+--  System for DEC Ada implementations are not supported by the target.
+
+package System.Aux_DEC is
+   pragma Pure;
+   pragma Elaborate_Body;
+
+   type AST_Handler is limited private;
+   No_AST_Handler : constant AST_Handler;
+
+private
+
+   type AST_Handler is new Integer;
+   No_AST_Handler : constant AST_Handler := 0;
+
+end System.Aux_DEC;