newlib-cygwin/newlib/libc/sys
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
..
a29khif newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
amdgcn amdgcn: Replace asm("s8") by __builtin_gcn_kernarg_ptr if existing 2022-11-21 13:10:29 +01:00
arm arm: Restrict processor mode change when in hypervisor mode 2023-03-03 13:27:31 +00:00
d10v newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
epiphany newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
h8300hms Minor improvement to H8 startup code 2023-12-31 09:08:21 -07:00
h8500hms newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m88kbug newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mmixware newlib MMIX: Fix compilation warnings that recent gcc treats as errors 2023-12-29 19:29:20 +01:00
netware newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
or1k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
rdos remove +x bit on source files 2022-12-21 22:38:57 -05:00
rtems RTEMS: Add __m68k_read_tp() to crt0.c 2023-04-24 10:21:42 +02:00
sh SH: Do not build syscalls if option provided 2022-08-15 15:12:19 -04:00
sysmec newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysnec810 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysnecv850 Fix various v850 problems 2023-12-19 20:56:04 -07:00
sysvi386 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sysvnecv70 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tic80 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tirtos newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
w65 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xtensa newlib: add Xtensa port 2023-08-17 18:14:15 -04:00
z8ksim newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc newlib: add Xtensa port 2023-08-17 18:14:15 -04:00