acadia-newlib/libgloss
Kevin Buettner 725532a3b2 rl78: Don't output CR when LF is encountered in write().
The file libgloss/rl78/write.c currently contains code which outputs
\r when \n is seen.  The code will then output the \n as well.

This patch removes the bit of code that tests for \n and then outputs
\r.

I made this change to fix some failures in gdb.base/call-ar-st.exp.  In
that test, I see two carriage returns followed by a newline.  One CR is
output by the libgloss code.  The other is output by the terminal driver.

The total list of failures fixed (using the default rl78 multilib) are:

FAIL: gdb.base/call-ar-st.exp: print print_double_array(double_array) (timeout)
FAIL: gdb.base/call-ar-st.exp: print print_char_array(char_array) (timeout)
FAIL: gdb.base/call-ar-st.exp: continue to tbreak2 (timeout)
FAIL: gdb.base/call-ar-st.exp: continuing to tbreak3 (timeout)
FAIL: gdb.base/call-ar-st.exp: print print_double_array(array_d) (timeout)
FAIL: gdb.base/call-ar-st.exp: continuing to tbreak4 (timeout)
FAIL: gdb.base/call-ar-st.exp: print sum_array_print(10, *list1, *list2, *list3, *list4) (timeout)
FAIL: gdb.base/call-ar-st.exp: print print_small_structs (timeout)
FAIL: gdb.base/call-ar-st.exp: print print_ten_doubles(123.456, 123.456, -0.12, -1.23, 343434.8, 89.098, 3.14, -5678.12345, -0.11111111, 216.97065) (timeout)
FAIL: gdb.base/call-ar-st.exp: print print_small_structs from print_long_arg_list (timeout)
FAIL: gdb.base/call-ar-st.exp: print print_struct_rep(*struct1, *struct2, *struct3) (timeout)
FAIL: gdb.base/dprintf.exp: call: printf: 1st dprintf (timeout)
FAIL: gdb.base/dprintf.exp: call: printf: 2nd dprintf (timeout)
FAIL: gdb.base/interrupt.exp: process is alive (the program exited)

There are no regressions.

libgloss/ChangeLog:

	* rl78/write.c (_write): Don't output CR when LF is encountered.
2015-12-16 13:38:38 -07:00
..
aarch64 * aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies 2014-02-03 10:30:34 +00:00
arc Add support for ARC to libgloss 2015-11-12 14:11:47 +01:00
arm Change to nano.specs to add nano's include dir 2015-07-14 15:55:18 +02:00
bfin * configure.in: Remove config_libnosys=false 2014-09-22 15:26:46 +00:00
config libgloss: change 'q' flag to 'r' in ar call 2012-03-13 01:47:40 +00:00
cr16 libgloss: cr16: add custom syscall list 2012-08-30 07:04:42 +00:00
cris libgloss: cris: respect DESTDIR when installing 2012-03-24 03:38:28 +00:00
crx
d30v 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
doc
epiphany
fr30
frv
ft32 Add support for FT32 platform. 2015-09-04 13:13:30 -04:00
hp74x
i386
i960 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
iq2000
libnosys * arm/elf-nano.specs: New file. 2014-08-14 15:00:33 +00:00
lm32 2015-01-05 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2015-01-05 17:36:34 +00:00
m32c
m32r
m68hc11
m68k 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
mcore libgloss: mcore: add custom syscall header 2015-04-23 22:03:45 +02:00
mep 2015-01-05 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2015-01-05 17:36:34 +00:00
microblaze * microblaze/_exception_handler.S: Adjust to be weak. 2013-07-23 09:11:18 +00:00
mips * mips/crt0.S: Configure processor based on .MIPS.abiflags. 2014-11-28 08:51:03 +00:00
mn10200
mn10300
moxie The moxie sub.l instruction is now just sub. 2014-12-27 12:18:56 +00:00
msp430 Always define __high_bsssize, do not just PROVIDE it. 2015-12-04 10:14:10 +00:00
mt 2015-01-05 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> 2015-01-05 17:36:34 +00:00
nds32 * libgloss/nds32/_exit.S: Finish with an infinite loop in _exit. 2014-12-15 13:30:07 +00:00
or1k or1k: Typo fixes 2015-08-07 15:02:03 -04:00
pa
rl78 rl78: Don't output CR when LF is encountered in write(). 2015-12-16 13:38:38 -07:00
rs6000 2013-05-30 Jeff Johnston <jjohnstn@redhat.com> 2013-05-30 22:44:04 +00:00
rx Add a check that the data area does not overrun the stack. 2015-05-27 13:30:19 +02:00
sh
sparc * sparc/crt0.S: Declare use of system registers. 2015-01-22 17:38:39 +00:00
sparc_leon
spu 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
testsuite
tic6x
v850 * v850/sim.ld: Add a .note.renesas section. 2015-03-05 11:26:59 +00:00
visium * COPYING.LIBGLOSS: Add Controls and Data Services copyright. 2015-01-21 18:27:47 +00:00
wince
xc16x
xstormy16
ChangeLog rl78: Don't output CR when LF is encountered in write(). 2015-12-16 13:38:38 -07:00
Makefile.in
README 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> 2014-12-15 20:09:28 +00:00
acinclude.m4
aclocal.m4
close.c
configure Add support for ARC to libgloss 2015-11-12 14:11:47 +01:00
configure.in Add support for ARC to libgloss 2015-11-12 14:11:47 +01:00
debug.c
debug.h
fstat.c
getpid.c
glue.h
isatty.c
kill.c
lseek.c
open.c
print.c
putnum.c
read.c
sbrk.c
stat.c
syscall.h
unlink.c
write.c

README

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.