[Ada] Add support for XDR streaming in the default runtime

gcc/ada/

	* Makefile.rtl: Remove dead code.
	* doc/gnat_ugn/building_executable_programs_with_gnat.rst:
	Document gnatbind -xdr switch.
	* gnat_ugn.texi: Regenerate.
This commit is contained in:
Arnaud Charlet 2020-05-12 16:35:12 +02:00 committed by Pierre-Marie de Rodat
parent 31c1fdbe0d
commit 8deaec2952
3 changed files with 17 additions and 4 deletions

View File

@ -2704,10 +2704,7 @@ setup-rts: force
$(RM) $(foreach PAIR,$(LIBGNAT_TARGET_PAIRS), \
$(RTSDIR)/$(word 1,$(subst <, ,$(PAIR))))
for f in $(RTSDIR)/*-*__*.ads $(RTSDIR)/*-*__*.adb; do \
case "$$f" in \
$(RTSDIR)/s-stratt__*) ;; \
*) $(RM) $$f ;; \
esac; \
$(RM) $$f ; \
done
# Copy new target dependent sources
$(foreach PAIR,$(LIBGNAT_TARGET_PAIRS), \

View File

@ -6711,6 +6711,14 @@ be presented in subsequent sections.
Exclude source files (check object consistency only).
.. index:: -xdr (gnatbind)
:switch:`-xdr`
Use the target-independent XDR protocol for stream oriented attributes
instead of the default implementation which is based on direct binary
representations and is therefore target-and endianness-dependent.
.. index:: -Xnnn (gnatbind)
:switch:`-X{nnn}`

View File

@ -16142,6 +16142,14 @@ Override default wide character encoding for standard Text_IO files.
Exclude source files (check object consistency only).
@geindex -xdr (gnatbind)
@item @code{-xdr}
Use the target-independent XDR protocol for stream oriented attributes
instead of the default implementation which is based on direct binary
representations and is therefore target-and endianness-dependent.
@geindex -Xnnn (gnatbind)
@item @code{-X@emph{nnn}}