newlib-cygwin/newlib/libc/sys/h8300hms
Jeff Law ec119e1084 Minor improvement to H8 startup code
Basically the startup code needs to clear memory from _edata to _end. In the
past it's been done with a fairly naive copy loop.  This changes the code to
just call memset and let memset figure out a sensible way to handle the
operation given the size and alignment requirements.

I don't have performance data on this.  I cobbled it together some time ago in
response to seeing some of the GCC tests with larger .bss sections taking an
insane amount of time to just get from _start to main.  With the fixes to the
H8 decoder in the simulator it may not matter nearly as much anymore.

This has been in my tester for months.  Naturally it does not cause any
regressions in the H8 port.
2023-12-31 09:08:21 -07:00
..
sys 2012-03-09 Jeff Johnston <jjohnstn@redhat.com> 2012-03-09 20:26:39 +00:00
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
_exit.S 2004-03-11 Kazu Hirata <kazu@cs.umass.edu> 2004-03-11 21:18:31 +00:00
close.S 2003-07-02 Richard Sandiford <rsandifo@redhat.com> 2004-06-22 21:54:52 +00:00
crt0.S Minor improvement to H8 startup code 2023-12-31 09:08:21 -07:00
crt1.c
fstat.S 2003-07-02 Richard Sandiford <rsandifo@redhat.com> 2004-06-22 21:54:52 +00:00
lseek.S 2003-07-02 Richard Sandiford <rsandifo@redhat.com> 2004-06-22 21:54:52 +00:00
misc.c ansification: remove _DEFUN 2018-01-17 11:47:26 -06:00
open.S * libc/sys/h8300hms/setarch.h: New file. 2003-06-10 07:44:30 +00:00
read.S 2003-07-02 Richard Sandiford <rsandifo@redhat.com> 2004-06-22 21:54:52 +00:00
sbrk.c Fix newlib H8/300 bits for C99/gcc-14 2023-12-22 20:25:10 -07:00
setarch.h 2003-07-02 Richard Sandiford <rsandifo@redhat.com> 2004-06-22 21:54:52 +00:00
stat.S * libc/sys/h8300hms/setarch.h: New file. 2003-06-10 07:44:30 +00:00
syscalls.c 2008-01-03 Jeff Johnston <jjohnstn@redhat.com> 2008-01-03 22:33:37 +00:00
write.S 2003-07-02 Richard Sandiford <rsandifo@redhat.com> 2004-06-22 21:54:52 +00:00