Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-20libgloss: merge fr30 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A fr30-elf build shows installed objects & libs produce same code. A lot of code seems like it hasn't been migrated, but that's because it's all disabled/unused (i.e. all the test & mon code). It looks like a lot of copy & paste holdovers from the original port.
2023-12-14Fix fr30 libgloss buildJeff Law
gcc-14 will default to c99 and as a result a fair amount of old code in newlib (particularly libgloss) is failing to build. I don't offhand know how many patches will be necessary to fix the various failures. I'll just pick them off one by one from my tree. This particular patch works around the return-mismatch problem syscalls.c for fr30. That file is a bit odd in that most functions are declared as returning an integer, but the implementations look like: > int > _read (file, ptr, len) > int file; > char * ptr; > int len; > { > asm ("ldi:8 %0, r0" :: "i" (SYS_read) : "r0"); > asm ("int #10"); > > return; > } Note the lack of a value on the "return" statement. The assumption is that the interrupt handler implementing syscalls will put the return value into the proper register, so falling off the end of the C function or returning with no value works in the expected way. It's not good code, but it probably works. Working from that assumption I decided to just use a pragma to disable the upgraded diagnostic from GCC -- essentially preserving existing behavior. This is the only fr30 specific issue that needs to be resolved and the only issue (so far) I've seen of this specific nature.
2022-01-29libgloss: fix more missing dir with parallel installMike Frysinger
Depending on the processing order of rules when installing in parallel, these install rules might be processed before some other rule happens to create the respective dirs. Make sure each one creates the needed dirs before installing into them.
2022-01-26libgloss: merge stub arch configure scripts up a levelMike Frysinger
For about half the ports, we don't need a subdir configure script. They're using the config/default.m[ht] rules, and they aren't doing any unique configure tests, so they exist just to pass top-level settings down to create the arch Makefile. We can just as easily do that from the top-level Mkaefile directly and skip configure. Most of the remaining configure scripts could be migrated up to the top-level too, but that would require care in each subdir. So let's be lazy and put that off to another day.
2022-01-14require autoconf-2.69 exactlyMike Frysinger
The newlib & libgloss dirs are already generated using autoconf-2.69. To avoid merging new code and/or accidental regeneration using diff versions, leverage config/override.m4 to pin to 2.69 exactly. This matches what gcc/binutils/gdb are already doing. The README file already says to use autoconf-2.69. To accomplish this, it's just as simple as adding -I flags to the top-level config/ dir when running aclocal. This is because the override.m4 file overrides AC_INIT to first require the specific autoconf version before calling the real AC_INIT.
2022-01-11libgloss: hardcode AC_CONFIG_AUX_DIR pathMike Frysinger
In order to transition to automake, we have to use hardcoded paths in the AC_CONFIG_AUX_DIR macro call (since automake evaluates the path itself, and doesn't expand vars), so simplify all the calls here.
2021-11-06libgloss: regenerate aclocal.m4 & configure w/newer versionsMike Frysinger
Regenerate the files using automake-1.15 & autoconf-2.69 to match the binutils/gdb/gcc projects. Ran: libgloss $ find -name configure.ac -printf '%h\n' | while read d; do (cd $d; export WANT_AUTOCONF=2.69 WANT_AUTOMAKE=1.15; aclocal-1.15 -I.. && autoconf-2.69); done
2021-09-13libgloss/newlib: rename configure.in to configure.acMike Frysinger
The .in name has been deprecated for a long time in favor of .ac.
2010-12-17Remove GPL licencsingNick Clifton
2008-04-05[newlib]DJ Delorie
* libm/machine/spu/configure: Regenerate with autoconf 2.61. * libc/sys/configure: Regenerate with autoconf 2.61. * libc/machine/configure: Regenerate with autoconf 2.61. [libgloss] * hp74x/configure: Regenerate with autoconf 2.61. * fr30/configure: Regenerate with autoconf 2.61. * mips/configure: Regenerate with autoconf 2.61. * xstormy16/configure: Regenerate with autoconf 2.61. * rs6000/configure: Regenerate with autoconf 2.61. * d30v/configure: Regenerate with autoconf 2.61. * i386/configure: Regenerate with autoconf 2.61. * configure: Regenerate with autoconf 2.61. * wince/configure: Regenerate with autoconf 2.61. * pa/configure: Regenerate with autoconf 2.61. * m32r/configure: Regenerate with autoconf 2.61. * mn10200/configure: Regenerate with autoconf 2.61. * iq2000/configure: Regenerate with autoconf 2.61. * cris/configure: Regenerate with autoconf 2.61. * m68k/configure: Regenerate with autoconf 2.61. * spu/configure: Regenerate with autoconf 2.61. * m32c/configure: Regenerate with autoconf 2.61. * mn10300/configure: Regenerate with autoconf 2.61. * i960/configure: Regenerate with autoconf 2.61. * arm/configure: Regenerate with autoconf 2.61. * libnosys/configure: Regenerate with autoconf 2.61. * m68hc11/configure: Regenerate with autoconf 2.61. * bfin/configure: Regenerate with autoconf 2.61. * crx/configure: Regenerate with autoconf 2.61. * mt/configure: Regenerate with autoconf 2.61. * sparc/configure: Regenerate with autoconf 2.61. * sparc/libsys/configure: Regenerate with autoconf 2.61. * mcore/configure: Regenerate with autoconf 2.61. * mep/configure: Regenerate with autoconf 2.61. * frv/configure: Regenerate with autoconf 2.61. * doc/configure: Regenerate with autoconf 2.61.
2008-01-042008-01-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* arm/redboot-syscalls.c: Consistently supply _isatty if syscalls dir is used in newlib. * bfin/syscalls.c: Ditto. * cris/gensyscalls: Ditto. * fr30/syscalls.c: Ditto. * frv/isatty.c: Ditto. * iq2000/isatty.c: Ditto. * libnosys/isatty.c: Ditto. * m32r/isatty.c: Ditto. * mn10200/isatty.c: Ditto. * mn10300/isatty.c: Ditto. * xstormy16/isatty.c: New file with _isatty function.
2006-04-192006-04-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.in: Modified to support autoconf 2.59. * */configure.in: Ditto. * configure: Regenerated. * */configure: Ditto. * wince/aclocal.m4: Ditto. * acinclude.m4: New file. * aclocal.m4: Ditto. * arm/aclocal.m4: Ditto. * cris/aclocal.m4: Ditto. * crx/aclocal.m4: Ditto. * d30v/aclocal.m4: Ditto. * fr30/aclocal.m4: Ditto. * frv/aclocal.m4: Ditto. * hp74x/aclocal.m4: Ditto. * i386/aclocal.m4: Ditto. * i960/aclocal.m4: Ditto. * iq2000/aclocal.m4: Ditto. * libnosys/aclocal.m4: Ditto. * m32c/aclocal.m4: Ditto. * m32r/aclocal.m4: Ditto. * m68hc11/aclocal.m4: Ditto. * m68k/aclocal.m4: Ditto. * mcore/aclocal.m4: Ditto. * mips/aclocal.m4: Ditto. * mn10200/aclocal.m4: Ditto. * mn10300/aclocal.m4: Ditto. * mt/aclocal.m4: Ditto. * pa/aclocal.m4: Ditto. * rs6000/aclocal.m4: Ditto. * sparc/aclocal.m4: Ditto. * sparc/libsys/aclocal.m4: Ditto. * xstormy16/aclocal.m4: Ditto.
2004-06-292004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>Jeff Johnston
* Makefile.in: Support $(DESTDIR). * arm/Makefile.in: Ditto. * d30v/Makefile.in: Ditto. * doc/Makefile.in: Ditto. * fr30/Makefile.in: Ditto. * frv/Makefile.in: Ditto. * hp74x/Makefile.in: Ditto. * i386/Makefile.in: Ditto. * i960/Makefile.in: Ditto. * iq2000/Makefile.in: Ditto. * libnosys/Makefile.in: Ditto. * m32r/Makefile.in: Ditto. * m68hc11/Makefile.in: Ditto. * m68k/Makefile.in: Ditto. * mcore/Makefile.in: Ditto. * mips/Makefile.in: Ditto. * mn10200/Makefile.in: Ditto. * mn10300/Makefile.in: Ditto. * pa/Makefile.in: Ditto. * rs6000/Makefile.in: Ditto. * sparc/Makefile.in: Ditto. * sparc/libsys/Makefile.in: Ditto. * xstormy16/Makefile.in: Ditto.
2000-03-1820000317 sourceware importRanjith Kumaran