newlib-cygwin/libgloss/cris
Hans-Peter Nilsson 9da0ac4051 libgloss: cris: Correct lcrt0.c for C23
GCC commit r15-5326-gf242f79b8afe defaults to -std=gnu23, and in C23
void foo() means void foo(void), so old-style prototypes now get a
compilation error:

/x/libgloss/cris/lcrt0.c:107:1: error: conflicting types for 'start1';\
 have 'void(int,  char **, char **)'
  107 | start1 (int argc, char **argv, char **env)
      | ^~~~~~
/x/libgloss/cris/lcrt0.c:105:13: note: previous declaration of 'start1\
' with type 'void(void)'
  105 | static void start1 () __asm__ ("__start1") __attribute ((__use\
d__));

Fix by providing a full prototype.
2024-11-18 01:02:09 +01:00
..
Makefile.in libgloss: merge epiphany & libnosys & or1k configure scripts up a level 2022-02-01 21:53:22 -05:00
crt0.S Finish this commit by prefixing HAVE_INITFINI_ARRAY and HAVE_INIT_FINI references in libgloss in the same way. 2022-01-28 21:39:14 -07:00
crti.c 2005-01-27 Hans-Peter Nilsson <hp@axis.com> 2005-01-27 22:57:32 +00:00
crtn.c * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use 2007-02-21 14:08:26 +00:00
gensyscalls libgloss/cris: Make C declarations present and match them 2023-12-06 18:45:57 +01:00
irqtable.S * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use 2007-02-21 14:08:26 +00:00
lcrt0.c libgloss: cris: Correct lcrt0.c for C23 2024-11-18 01:02:09 +01:00
linunistd.h libgloss/cris: Make C declarations present and match them 2023-12-06 18:45:57 +01:00
outbyte.c libgloss/cris: Make C declarations present and match them 2023-12-06 18:45:57 +01:00
setup.S * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use 2007-02-21 14:08:26 +00:00