diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-06-14 14:39:55 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-06-14 14:39:55 +0200 |
commit | 4a214958d18269588e382f1a39c6d5612f37365c (patch) | |
tree | a0154a432838c9ab26b6f1434eabfeddc95a92d8 /gcc/ada/gcc-interface | |
parent | 5bca794b0df69689d0bcc6d03697f169e543dd2c (diff) | |
download | gcc-4a214958d18269588e382f1a39c6d5612f37365c.zip gcc-4a214958d18269588e382f1a39c6d5612f37365c.tar.gz gcc-4a214958d18269588e382f1a39c6d5612f37365c.tar.bz2 |
[multiple changes]
2010-06-14 Ed Schonberg <schonberg@adacore.com>
* sem_ch8.adb (End_Use_Type): Before indicating that an operator is not
use-visible, check whether it is a primitive for more than one type.
2010-06-14 Robert Dewar <dewar@adacore.com>
* sem_ch3.adb (Copy_And_Swap): Copy Has_Pragma_Unmodified flag.
* sem_ch7.adb (Preserve_Full_Attributes): Preserve
Has_Pragma_Unmodified flag.
2010-06-14 Thomas Quinot <quinot@adacore.com>
* g-sttsne-locking.adb, g-sttsne-locking.ads, g-sttsne.ads,
g-sttsne-vxworks.adb, g-sttsne-dummy.ads: Removed. Mutual exclusion is
now done in GNAT.Sockets if necessary.
* gsocket.h, g-socket.adb, g-sothco.ads (GNAT.Sockets.Get_XXX_By_YYY):
Ensure mutual exclusion for netdb operations if the target platform
requires it.
(GNAT.Sockets.Thin_Common): New binding for getXXXbyYYY, treating struct
hostent as an opaque type to improve portability.
* s-oscons-tmplt.c, socket.c: For the case of Vxworks, emulate
gethostbyYYY using proprietary VxWorks API so that a uniform interface
is available for the Ada side.
* gcc-interface/Makefile.in: Remove g-sttsne-*
* gcc-interface/Make-lang.in: Update dependencies.
2010-06-14 Vincent Celier <celier@adacore.com>
* gnatcmd.adb (Mapping_File): New function.
From-SVN: r160731
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r-- | gcc/ada/gcc-interface/Make-lang.in | 25 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/Makefile.in | 31 |
2 files changed, 17 insertions, 39 deletions
diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in index 6f42a0e..fcdb83f 100644 --- a/gcc/ada/gcc-interface/Make-lang.in +++ b/gcc/ada/gcc-interface/Make-lang.in @@ -3385,18 +3385,19 @@ ada/sem_ch12.o : ada/ada.ads ada/a-except.ads ada/a-unccon.ads \ ada/sem_elab.ads ada/sem_elim.ads ada/sem_eval.ads ada/sem_res.ads \ ada/sem_scil.ads ada/sem_type.ads ada/sem_util.ads ada/sem_util.adb \ ada/sem_warn.ads ada/sinfo.ads ada/sinfo.adb ada/sinfo-cn.ads \ - ada/sinput.ads ada/sinput-l.ads ada/snames.ads ada/stand.ads \ - ada/stringt.ads ada/style.ads ada/styleg.ads ada/styleg.adb \ - ada/stylesw.ads ada/system.ads ada/s-crc32.ads ada/s-exctab.ads \ - ada/s-exctab.adb ada/s-htable.ads ada/s-htable.adb ada/s-imenne.ads \ - ada/s-memory.ads ada/s-os_lib.ads ada/s-parame.ads ada/s-rident.ads \ - ada/s-secsta.ads ada/s-soflin.ads ada/s-stache.ads ada/s-stalib.ads \ - ada/s-stoele.ads ada/s-stoele.adb ada/s-strhas.ads ada/s-string.ads \ - ada/s-traent.ads ada/s-unstyp.ads ada/s-utf_32.ads ada/s-wchcon.ads \ - ada/table.ads ada/table.adb ada/targparm.ads ada/tbuild.ads \ - ada/tbuild.adb ada/tree_io.ads ada/ttypes.ads ada/types.ads \ - ada/uintp.ads ada/uintp.adb ada/uname.ads ada/unchconv.ads \ - ada/unchdeal.ads ada/urealp.ads ada/urealp.adb ada/widechar.ads + ada/sinput.ads ada/sinput.adb ada/sinput-l.ads ada/snames.ads \ + ada/stand.ads ada/stringt.ads ada/style.ads ada/styleg.ads \ + ada/styleg.adb ada/stylesw.ads ada/system.ads ada/s-crc32.ads \ + ada/s-exctab.ads ada/s-exctab.adb ada/s-htable.ads ada/s-htable.adb \ + ada/s-imenne.ads ada/s-memory.ads ada/s-os_lib.ads ada/s-parame.ads \ + ada/s-rident.ads ada/s-secsta.ads ada/s-soflin.ads ada/s-stache.ads \ + ada/s-stalib.ads ada/s-stoele.ads ada/s-stoele.adb ada/s-strhas.ads \ + ada/s-string.ads ada/s-traent.ads ada/s-unstyp.ads ada/s-utf_32.ads \ + ada/s-wchcon.ads ada/table.ads ada/table.adb ada/targparm.ads \ + ada/tbuild.ads ada/tbuild.adb ada/tree_io.ads ada/ttypes.ads \ + ada/types.ads ada/uintp.ads ada/uintp.adb ada/uname.ads \ + ada/unchconv.ads ada/unchdeal.ads ada/urealp.ads ada/urealp.adb \ + ada/widechar.ads ada/sem_ch13.o : ada/ada.ads ada/a-except.ads ada/a-unccon.ads \ ada/a-uncdea.ads ada/alloc.ads ada/atree.ads ada/atree.adb \ diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 0e5692e..2740d35 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -380,7 +380,7 @@ MLIB_TGT = mlib-tgt # to LIBGNAT_TARGET_PAIRS. GNATRTL_SOCKETS_OBJS = g-soccon$(objext) g-socket$(objext) g-socthi$(objext) \ - g-soliop$(objext) g-sothco$(objext) g-sttsne$(objext) + g-soliop$(objext) g-sothco$(objext) DUMMY_SOCKETS_TARGET_PAIRS = \ g-socket.adb<g-socket-dummy.adb \ @@ -388,8 +388,7 @@ DUMMY_SOCKETS_TARGET_PAIRS = \ g-socthi.adb<g-socthi-dummy.adb \ g-socthi.ads<g-socthi-dummy.ads \ g-sothco.adb<g-sothco-dummy.adb \ - g-sothco.ads<g-sothco-dummy.ads \ - g-sttsne.ads<g-sttsne-dummy.ads + g-sothco.ads<g-sothco-dummy.ads # On platform where atomic increment/decrement operations are supported # special version of Ada.Strings.Unbounded package can be used. @@ -440,8 +439,6 @@ ifeq ($(strip $(filter-out m68k% wrs vx%,$(targ))),) g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ g-trasym.ads<g-trasym-unimplemented.ads \ g-trasym.adb<g-trasym-unimplemented.adb \ system.ads<system-vxworks-m68k.ads @@ -485,8 +482,6 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks,$(targ))),) g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ g-trasym.ads<g-trasym-unimplemented.ads \ g-trasym.adb<g-trasym-unimplemented.adb \ $(ATOMICS_TARGET_PAIRS) @@ -606,9 +601,7 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworksae,$(targ))),) LIBGNAT_TARGET_PAIRS += \ g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ - g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads + g-stsifd.adb<g-stsifd-sockets.adb endif ifeq ($(strip $(filter-out yes,$(TRACE))),) @@ -724,9 +717,7 @@ ifeq ($(strip $(filter-out %86 wrs vxworksae vxworksmils,$(targ))),) LIBGNAT_TARGET_PAIRS += \ g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ - g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads + g-stsifd.adb<g-stsifd-sockets.adb endif ifeq ($(strip $(filter-out yes,$(TRACE))),) @@ -762,8 +753,6 @@ ifeq ($(strip $(filter-out sparc% wrs vx%,$(targ))),) g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ g-trasym.ads<g-trasym-unimplemented.ads \ g-trasym.adb<g-trasym-unimplemented.adb \ system.ads<system-vxworks-sparcv9.ads \ @@ -803,8 +792,6 @@ ifeq ($(strip $(filter-out %86 wrs vxworks,$(targ))),) g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ g-trasym.ads<g-trasym-unimplemented.ads \ g-trasym.adb<g-trasym-unimplemented.adb @@ -896,8 +883,6 @@ ifeq ($(strip $(filter-out arm% coff wrs vx%,$(targ))),) g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ g-trasym.ads<g-trasym-unimplemented.ads \ g-trasym.adb<g-trasym-unimplemented.adb \ system.ads<system-vxworks-arm.ads @@ -936,8 +921,6 @@ ifeq ($(strip $(filter-out mips% wrs vx%,$(targ))),) g-socthi.ads<g-socthi-vxworks.ads \ g-socthi.adb<g-socthi-vxworks.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-vxworks.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ g-trasym.ads<g-trasym-unimplemented.ads \ g-trasym.adb<g-trasym-unimplemented.adb \ system.ads<system-vxworks-mips.ads @@ -1398,8 +1381,6 @@ ifeq ($(strip $(filter-out lynxos,$(osys))),) a-numaux.ads<a-numaux-x86.ads \ a-intnam.ads<a-intnam-lynxos.ads \ g-bytswa.adb<g-bytswa-x86.adb \ - g-sttsne.adb<g-sttsne-locking.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ s-inmaop.adb<s-inmaop-posix.adb \ s-intman.adb<s-intman-posix.adb \ s-osinte.adb<s-osinte-lynxos.adb \ @@ -1416,8 +1397,6 @@ ifeq ($(strip $(filter-out lynxos,$(osys))),) else LIBGNAT_TARGET_PAIRS = \ a-intnam.ads<a-intnam-lynxos.ads \ - g-sttsne.adb<g-sttsne-locking.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ s-inmaop.adb<s-inmaop-posix.adb \ s-intman.adb<s-intman-posix.adb \ s-osinte.adb<s-osinte-lynxos.adb \ @@ -1543,8 +1522,6 @@ ifeq ($(strip $(filter-out alpha64 ia64 dec hp vms% openvms% alphavms%,$(targ))) g-socthi.ads<g-socthi-vms.ads \ g-socthi.adb<g-socthi-vms.adb \ g-stsifd.adb<g-stsifd-sockets.adb \ - g-sttsne.adb<g-sttsne-locking.adb \ - g-sttsne.ads<g-sttsne-locking.ads \ i-c.ads<i-c-vms_64.ads \ i-cstrin.ads<i-cstrin-vms_64.ads \ i-cstrin.adb<i-cstrin-vms_64.adb \ |