newlib-cygwin/libgloss
Dimitar Dimitrov 21f0edbf9f libgloss: pru: Fix _open syscal arguments
The _open() C function is declared as having variable arguments in
newlib, so second and third arguments are passed on stack. Add code to
move them into registers, since that's where the PRU simulator expects
them.

Issue was exposed by the GCC test gcc.c-torture/execute/fprintf-2.c,
which relies on tmpnam implementation to pass correct flags to _open.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2022-04-27 11:43:08 +02:00
..
aarch64 libgloss: switch to AM_PROG_AR 2022-02-25 23:07:20 -05:00
arc libgloss: merge stub arch configure scripts up a level 2022-01-26 04:32:54 -05:00
arm libgloss: switch to AM_PROG_AR 2022-02-25 23:07:20 -05:00
bfin libgloss: bfin: fix various warnings 2022-02-12 01:34:21 -05:00
config libgloss: convert top level to automake 2022-02-09 20:01:40 -05:00
cr16 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
cris libgloss: merge epiphany & libnosys & or1k configure scripts up a level 2022-02-01 21:53:22 -05:00
crx libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
csky libgloss: merge csky configure script up a level 2022-02-11 06:19:01 -05:00
d30v libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
doc libgloss: add new Build System Internals node to the menu 2022-03-04 01:04:25 -05:00
epiphany libgloss: merge epiphany & libnosys & or1k configure scripts up a level 2022-02-01 21:53:22 -05:00
fr30 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
frv libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
ft32 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
hp74x libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
i386 libgloss: merge i386 configure script up a level 2022-02-16 20:08:55 -05:00
i960 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
iq2000 libgloss: iq2000: fix prototype 2022-02-25 23:08:45 -05:00
libnosys libgloss: merge libnosys into top-level Makefile 2022-02-11 04:29:37 -05:00
lm32 libgloss: merge lm32 into top-level Makefile 2022-03-01 20:29:07 -05:00
m32c libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
m32r libgloss: merge stub arch configure scripts up a level 2022-01-26 04:32:54 -05:00
m68hc11 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
m68k libgloss: merge m68k configure script up a level 2022-02-16 20:14:55 -05:00
mcore libgloss: merge mcore configure script up a level 2022-02-16 20:11:55 -05:00
mep libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
microblaze libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
mips libgloss: merge mips configure script up a level 2022-02-17 20:36:41 -05:00
mn10200 libgloss: merge mn10200 configure script up a level 2022-02-16 20:16:05 -05:00
mn10300 libgloss: merge mn10300 configure script up a level 2022-02-16 20:20:14 -05:00
moxie libgloss: merge moxie configure script up a level 2022-02-16 20:10:48 -05:00
msp430 libgloss: merge stub arch configure scripts up a level 2022-01-26 04:32:54 -05:00
mt libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
nds32 libgloss: merge stub arch configure scripts up a level 2022-01-26 04:32:54 -05:00
nios2 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
or1k libgloss: merge epiphany & libnosys & or1k configure scripts up a level 2022-02-01 21:53:22 -05:00
pa libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
pru libgloss: pru: Fix _open syscal arguments 2022-04-27 11:43:08 +02:00
riscv libgloss: merge stub arch configure scripts up a level 2022-01-26 04:32:54 -05:00
rl78 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
rs6000 libgloss: merge subdirs that have unique makefile_frags up a level 2022-02-01 23:06:21 -05:00
rx libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
sh * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld, 2005-05-20 15:45:45 +00:00
sparc libgloss: merge sparc configure script up a level 2022-02-23 19:44:10 -05:00
sparc_leon libgloss: update Makefile regen rules for merged arches 2022-01-29 00:10:59 -05:00
spu libgloss: merge subdirs that have unique makefile_frags up a level 2022-02-01 23:06:21 -05:00
testsuite newlib/libgloss: drop unused $(CROSS_CFLAGS) 2022-02-15 20:02:51 -05:00
tic6x libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
v850 Revert accidental change to v850/sim.ld 2022-03-20 10:19:45 -04:00
visium libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
wince libgloss: merge wince configure script up a level 2022-02-17 20:35:32 -05:00
xc16x libgloss: merge subdirs that have unique makefile_frags up a level 2022-02-01 23:06:21 -05:00
xstormy16 libgloss: fix more missing dir with parallel install 2022-01-29 01:33:49 -05:00
ChangeLog Deprecate newlib and winsup ChangeLog files 2016-01-28 11:15:33 +01:00
ChangeLog-2015 Deprecate newlib and winsup ChangeLog files 2016-01-28 11:15:33 +01:00
Makefile.am libgloss: merge lm32 into top-level Makefile 2022-03-01 20:29:07 -05:00
Makefile.in libgloss: merge lm32 into top-level Makefile 2022-03-01 20:29:07 -05:00
README libgloss: have README point to the manual 2022-02-17 20:41:53 -05:00
aclocal.m4 libgloss: switch to AM_PROG_AR 2022-02-25 23:07:20 -05:00
close.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
config.h.in libgloss: merge epiphany & libnosys & or1k configure scripts up a level 2022-02-01 21:53:22 -05:00
configure libgloss: merge lm32 into top-level Makefile 2022-03-01 20:29:07 -05:00
configure.ac libgloss: merge lm32 into top-level Makefile 2022-03-01 20:29:07 -05:00
debug.c
debug.h 2002-04-17 Joel Sherrill <joel@OARcorp.com> 2002-04-17 19:10:37 +00:00
fstat.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
getpid.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
glue.h
isatty.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
kill.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
lseek.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
multi-build.in libgloss: document & localize custom multi-do rule 2022-02-24 19:12:45 -05:00
open.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
print.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
putnum.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
read.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
sbrk.c
stat.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
syscall.h 2007-11-06 Dave Brolley <brolley@redhat.com> 2007-11-06 23:07:06 +00:00
unlink.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
write.c ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00

README

Libgloss is a library for all the details that usually get glossed over.
This library refers to things like startup code, and usually I/O support
for GCC and the C library.

For more details, see the manual under doc/.