newlib/libgloss
Dimitar Dimitrov 70cd4cbe65 pru: Fix memory corruption on syscall return
In the initial code I missed one level of pointer indirection. Instead
of storing errno in impure_data, _impure_ptr was corrupted.

Only simulator is impacted. Real targets have no OS and no syscalls.

This resolves a bunch of stdio cases from the GCC testsuite:
  FAIL->PASS: gcc.c-torture/execute/printf-2.c   -O0  execution test

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2020-07-02 11:00:33 +02:00
..
aarch64 Initialize SVE system registers. 2018-10-31 11:14:57 +00:00
arc Add JLI support. 2017-06-14 14:51:22 +02:00
arm arm: Finish moving newlib to unified syntax for Thumb1 2020-03-02 13:33:11 +00:00
bfin ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
config
cr16 ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
cris Revert previous change to sys/stat.h and fix cris libgloss 2019-08-19 18:01:45 -04:00
crx ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
d30v
doc Add libgloss install-pdf and install-html targets. 2018-11-20 11:13:34 +01:00
epiphany ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
fr30
frv ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
ft32 ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
hp74x
i386 Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
i960
iq2000
libnosys ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
lm32 ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
m32c
m32r Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
m68hc11
m68k libgloss: Fix lseek semihosting bug on nios2 and m68k 2020-02-06 11:02:38 +01:00
mcore ansification: remove _EXFUN, _EXFUN_NOTHROW 2018-01-17 11:47:29 -06:00
mep
microblaze libgloss: microblaze: adjust handlers to be weak. 2018-05-03 15:16:13 -04:00
mips Align _end symbol to at least 4 in all MIPS scripts 2019-07-30 09:38:13 +02:00
mn10200
mn10300
moxie Implement the unlink system call for the moxie simulator. 2019-12-14 05:27:38 -05:00
msp430 MSP430: Add missing build rule for unlink() to libgloss Makefile 2019-10-25 18:04:46 +02:00
mt
nds32 Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
nios2 libgloss: Fix lseek semihosting bug on nios2 and m68k 2020-02-06 11:02:38 +01:00
or1k libgloss: Remove duplicate definition of environ 2017-02-13 09:16:51 +01:00
pa
pru pru: Fix memory corruption on syscall return 2020-07-02 11:00:33 +02:00
riscv Only pass the minimum number of syscall arguments 2020-02-11 09:41:52 +01:00
rl78 rl78: Don't output CR when LF is encountered in write(). 2015-12-16 13:38:38 -07:00
rs6000
rx
sh
sparc Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
sparc_leon Use remove-advertising-clause script to edit BSD licenses 2020-01-29 19:03:31 +01:00
spu ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
testsuite
tic6x ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
v850 Add comment in the v850's crt0.S file noting that separate LMA and VMA addresses for data sections are not currently supported. 2016-05-26 12:08:47 +01:00
visium Fix regression in visium caused by sys/stat.h change 2019-08-20 18:15:41 +02:00
wince
xc16x ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
xstormy16 ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
acinclude.m4
aclocal.m4
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
close.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
configure MSP430: Support new msp430-elfbare target 2019-12-16 10:15:06 +01:00
configure.in MSP430: Support new msp430-elfbare target 2019-12-16 10:15:06 +01:00
debug.c
debug.h
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
Makefile.in Add libgloss install-pdf and install-html targets. 2018-11-20 11:13:34 +01:00
multi-build.in Fix multido compilation on ARM 2017-10-09 19:03:52 +02: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
README
sbrk.c
stat.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
syscall.h
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

bfin	- Analog Devices Blackfin processor.
sparc	- Fujitsu Sparclite board. Works on the ex930, ex931, ex933
hp74x	- Hewlett Packard HP742 board. Also some support for the hp743.
m68hc11 - Motorola 68HC11 or 68HC12 support.
m68k	- Motorola MVME135 and IDP board. For CPU32 systems.
mep	- Toshiba Media Processor.
pa	- WinBond and Oki boards with a PA.
mips	- R3000 support. Array Tech LSI33k based RAID disk controller.
lm32    - Lattice Mico32 simulator.
epiphany - Adapteva Epiphany multicore processor.
or1k	- OpenRISC 1000 processor.