libc/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 [newlib] 2008-04-04 21:52:01 +00:00
d30v 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
doc * doc/porting.texi: Fix typos. 2010-09-23 08:07:47 +00:00
epiphany 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:28:57 +00:00
fr30 Remove GPL licencsing 2010-12-17 10:13:31 +00:00
frv * frv/crt0.S (__frv_fix_usrptrs): Fix .size directive. 2011-03-24 16:24:36 +00:00
ft32 Add support for FT32 platform. 2015-09-04 13:13:30 -04:00
hp74x [newlib] 2008-04-04 21:52:01 +00:00
i386 [newlib] 2008-04-04 21:52:01 +00:00
i960 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
iq2000 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:28:57 +00:00
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 * m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int. 2009-07-08 20:54:19 +00:00
m32r 2009-03-16 Jeff Johnston <jjohnstn@redhat.com> 2009-03-16 19:26:59 +00:00
m68hc11 [newlib] 2008-04-04 21:52:01 +00:00
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 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:28:57 +00:00
mn10300 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:28:57 +00:00
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 [newlib] 2008-04-04 21:52:01 +00:00
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 * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld, 2005-05-20 15:45:45 +00:00
sparc * sparc/crt0.S: Declare use of system registers. 2015-01-22 17:38:39 +00:00
sparc_leon 2011-12-15 Konrad Eisele <konrad@gaisler.com> 2011-12-15 22:58:40 +00:00
spu 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
testsuite 20000317 sourceware import 2000-03-17 22:48:54 +00:00
tic6x 2010-11-17 Bernd Schmidt <bernds@codesourcery.com> 2010-11-17 21:45:58 +00:00
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 [newlib] 2008-04-04 21:52:01 +00:00
xc16x Fix location of this file to be where it was initially intended. 2010-08-23 15:51:27 +00:00
xstormy16 * xstormy16/crt0.s (_hwint): Fix .size directive. 2011-03-24 16:29:11 +00:00
ChangeLog rl78: Don't output CR when LF is encountered in write(). 2015-12-16 13:38:38 -07:00
Makefile.in * Makefile.in (stmp-bsp): Exit when subdirs fail. 2011-01-10 12:08:35 +00:00
README 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> 2014-12-15 20:09:28 +00:00
acinclude.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
aclocal.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
close.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
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 20000317 sourceware import 2000-03-17 22:48:54 +00:00
debug.h 2002-04-17 Joel Sherrill <joel@OARcorp.com> 2002-04-17 19:10:37 +00:00
fstat.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
getpid.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
glue.h 20000317 sourceware import 2000-03-17 22:48:54 +00:00
isatty.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
kill.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
lseek.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
open.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
print.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
putnum.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
read.c 2002-07-18 Chris Demetriou <cgd@broadcom.com> 2002-07-18 20:04:59 +00:00
sbrk.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
stat.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
syscall.h 2007-11-06 Dave Brolley <brolley@redhat.com> 2007-11-06 23:07:06 +00:00
unlink.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00
write.c 20000317 sourceware import 2000-03-17 22:48:54 +00:00

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.