From f92af607242414c1ee85a5eab0a9cf131bda0996 Mon Sep 17 00:00:00 2001 From: Laurent GUERBY Date: Thu, 17 Nov 2005 11:13:18 +0000 Subject: [PATCH] re PR ada/24857 (ada/s-auxdec.ads alignment issue for arm-rtems) 2005-11-17 Laurent GUERBY PR ada/24857 * s-auxdec-empty.ads, s-auxdec-empty.adb: New files. From-SVN: r107116 --- gcc/ada/ChangeLog | 5 ++++ gcc/ada/s-auxdec-empty.adb | 36 ++++++++++++++++++++++++++++ gcc/ada/s-auxdec-empty.ads | 49 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 gcc/ada/s-auxdec-empty.adb create mode 100644 gcc/ada/s-auxdec-empty.ads diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index cc21e396b7c..75651bc7bc4 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2005-11-17 Laurent GUERBY + + PR ada/24857 + * s-auxdec-empty.ads, s-auxdec-empty.adb: New files. + 2005-11-16 Richard Guenther * 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 index 00000000000..57fa5812c1d --- /dev/null +++ b/gcc/ada/s-auxdec-empty.adb @@ -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 index 00000000000..289009b6b2c --- /dev/null +++ b/gcc/ada/s-auxdec-empty.ads @@ -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; -- 2.30.2