acadia-newlib/newlib/libc
Richard Earnshaw 2a3a03972b aarch64: support binary mode for opening files
Newlib for aarch64 uses libgloss for the backend.  One common libgloss
implementation is the 'rdimon' implementation, which uses the Arm
Semihosting protocol.  In order to support a remote host that runs on
Windows we need to know whether a file is to be opened in binary or
text mode.  That means that we need to preserve this information via
O_BINARY until we know what the libgloss binding will be.

This patch simply copies the arm implementation from sys/arm/sys and
puts it in machine/aarch64/sys, because we don't have a 'sys' subtree
on aarch64.
2021-05-26 15:17:11 +01:00
..
argz Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
ctype Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
errno Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
iconv Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
include sys/stat.h: Enable UTIME_NOW and UTIME_OMIT for RTEMS 2021-05-20 10:04:07 +02:00
locale Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
machine aarch64: support binary mode for opening files 2021-05-26 15:17:11 +01:00
misc Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
posix Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
reent Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
search Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
signal Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
ssp Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
stdio scanf: allow hex float input per POSIX 2021-04-19 22:00:10 +02:00
stdio64 Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
stdlib Nano-malloc: Fix for unwanted external heap fragmentation 2021-05-03 13:00:33 +02:00
string Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
sys RTEMS: Add <poll.h> and <sys/poll.h> 2021-01-05 13:41:34 -05:00
syscalls Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
time Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
unix Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
xdr Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
Makefile.am ssp: add build infrastructure 2017-11-29 11:25:46 -06:00
Makefile.in Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
aclocal.m4 Fix up errors in regenerated files for 2.3.0 release. 2016-01-04 12:57:31 -05:00
configure Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
configure.in Add build mechanism to share common header files between machines 2021-04-13 12:55:33 +02:00
libc.in.xml ssp: add documentation 2017-11-29 11:25:45 -06:00
libc.texinfo ssp: add documentation 2017-11-29 11:25:45 -06:00
saber Remove matherr, and SVID and X/Open math library configurations 2019-01-23 10:46:24 +01:00
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00