diff options
author | Laurent GUERBY <laurent@guerby.net> | 2005-11-17 11:13:18 +0000 |
---|---|---|
committer | Laurent Guerby <guerby@gcc.gnu.org> | 2005-11-17 11:13:18 +0000 |
commit | f92af607242414c1ee85a5eab0a9cf131bda0996 (patch) | |
tree | 0e25a25640df3dcf95ca79de1e342c6749d12aa5 /gcc/ada | |
parent | e334dfcf9e620d2076b1b44207c3e1d2dab850a2 (diff) | |
download | gcc-f92af607242414c1ee85a5eab0a9cf131bda0996.zip gcc-f92af607242414c1ee85a5eab0a9cf131bda0996.tar.gz gcc-f92af607242414c1ee85a5eab0a9cf131bda0996.tar.bz2 |
re PR ada/24857 (ada/s-auxdec.ads alignment issue for arm-rtems)
2005-11-17 Laurent GUERBY <laurent@guerby.net>
PR ada/24857
* s-auxdec-empty.ads, s-auxdec-empty.adb: New files.
From-SVN: r107116
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/s-auxdec-empty.adb | 36 | ||||
-rw-r--r-- | gcc/ada/s-auxdec-empty.ads | 49 |
3 files changed, 90 insertions, 0 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index cc21e39..75651bc 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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 index 0000000..57fa581 --- /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 0000000..289009b --- /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; |