newlib/libgloss/m68k
Sandra Loosemore cd78225a50 libgloss: Fix lseek semihosting bug on nios2 and m68k
When off_t is 32 bits, the value needs to be sign-extended to 64 bits
before shifting right to extract the high-order word.  Previously
negative offsets were incorrectly encoded.

Signed-off-by: Sandra Loosemore <sandra@codesourcery.com>
2020-02-06 11:02:38 +01:00
..
Makefile.in 2007-01-04 Kazu Hirata <kazu@codesourcery.com> 2007-01-04 18:05:56 +00:00
README
aclocal.m4 2006-04-19 Jeff Johnston <jjohnstn@redhat.com> 2006-04-19 19:44:05 +00:00
asm.h 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
bcc.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
cf-crt0.S 2007-01-04 Kazu Hirata <kazu@codesourcery.com> 2007-01-04 18:05:56 +00:00
cf-crt1.c * m68k/cf-crt1.c (hardware_init_hook): Accommodate new family 2010-07-19 16:57:18 +00:00
cf-exit.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
cf-hosted.S 2007-01-02 Kazu Hirata <kazu@codesourcery.com> 2007-01-02 17:03:41 +00:00
cf-isrs.c 2007-01-04 Kazu Hirata <kazu@codesourcery.com> 2007-01-04 18:05:56 +00:00
cf-isv.S 2007-01-04 Kazu Hirata <kazu@codesourcery.com> 2007-01-04 18:05:56 +00:00
cf-sbrk.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
cf.sc * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S: 2007-05-30 18:33:56 +00:00
configure [newlib] 2008-04-04 21:52:01 +00:00
configure.in 2006-12-18 Kazu Hirata <kazu@codesourcery.com> 2006-12-18 21:48:18 +00:00
cpu32bug.S
cpu32bug.h
crt0.S libgloss/ 2006-09-01 05:41:06 +00:00
dtor.C
fido-_exit.c * m68k/fido-_exit.c (_exit): Use stop #0x700. 2007-05-03 01:19:45 +00:00
fido-crt0.S * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S: 2007-05-30 18:33:56 +00:00
fido-handler.c 2006-12-18 Kazu Hirata <kazu@codesourcery.com> 2006-12-18 21:48:18 +00:00
fido-hosted.S 2006-12-18 Kazu Hirata <kazu@codesourcery.com> 2006-12-18 21:48:18 +00:00
fido-sbrk.c 2006-12-18 Kazu Hirata <kazu@codesourcery.com> 2006-12-18 21:48:18 +00:00
fido.h 2006-12-18 Kazu Hirata <kazu@codesourcery.com> 2006-12-18 21:48:18 +00:00
fido.sc * m68k/cf-crt1.C, m68k/cf.sc, m68k/fido.sc, m68k/fido-crt0.S: 2007-05-30 18:33:56 +00:00
fido_profiling.h 2006-12-18 Kazu Hirata <kazu@codesourcery.com> 2006-12-18 21:48:18 +00:00
idp-inbyte.c ansification: remove _DEFUN_VOID 2018-01-17 11:47:19 -06:00
idp-outbyte.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
idp.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
idpgdb.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
io-close.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-exit.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-fstat.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-gdb.c Adjust nios2 and m68k semihosting for sys/stat.h changes. 2019-09-04 09:44:35 +02:00
io-gettimeofday.c 2007-07-06 Jeff Johnston <jjohnstn@redhat.com> 2007-07-06 17:00:13 +00:00
io-isatty.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-lseek.c libgloss: Fix lseek semihosting bug on nios2 and m68k 2020-02-06 11:02:38 +01:00
io-open.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-read.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-rename.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-stat.c 2013-11-21 Daniel Ramirez <javamonn@gmail.com> 2013-11-21 16:42:17 +00:00
io-system.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-time.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-unlink.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io-write.c 2006-12-11 Kazu Hirata <kazu@codesourcery.com> 2006-12-11 19:58:01 +00:00
io.h Adjust nios2 and m68k semihosting for sys/stat.h changes. 2019-09-04 09:44:35 +02:00
leds.c 2004-01-23 G�bor L�ki <loki@inf.u-szeged.hu> 2004-01-23 22:10:48 +00:00
leds.h 2004-01-23 G�bor L�ki <loki@inf.u-szeged.hu> 2004-01-23 22:10:48 +00:00
m68k-semi.txt Add semihosting docs for nios2 and m68k 2019-03-14 10:23:25 -04:00
mc68ec.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
mc68681reg.h
mvme-stub.c ansification: remove _DEFUN_VOID 2018-01-17 11:47:19 -06:00
mvme.S
mvme135-asm.S
mvme135.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
mvme162.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
mvme162lx-asm.S
sbc5204.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
sbc5206.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
sim-abort.c
sim-crt0.S
sim-errno.c
sim-funcs.c
sim-inbyte.c
sim-print.c
sim-sbrk.c
sim.ld 2006-01-04 Paul Brook <paul@codesourcery.com> 2006-01-04 21:30:52 +00:00
simulator.S
test.c

README

Support for the mvme162 was written by:
	
	Technische Universitaet Berlin                 fax: +49.30.314 21 116
	Axel Nennker, FR 2-2                         phone: +49.30.314 73 114
	Franklinstr. 28-29                    e-mail: nennker@cs.tu-berlin.de
	D-10587 Berlin    World Wide Web: http://www.cs.tu-berlin.de/~nennker
	Germany                           http://www.cs.tu-berlin.de/~gnat