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
2022-02-18libgloss: merge mips configure script up a levelMike Frysinger
Move the minor mips-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
2022-02-02libgloss: move to ../config/multi.m4 for multilib logicMike Frysinger
The current libgloss multilib logic is almost exactly the same as the config/multi.m4, and the differences should be minor, so switch over to that to delete custom logic on ourside. The insertions here look larger and that's because none of the scripts were declaring --enable-multilib explicitly even though they checked the flag and changed behavior.
2022-01-17libgloss: clean up redundant shared lib warningsMike Frysinger
Use standard AC_MSG_WARN macro in the top-level configure, and delete the message from all the subdirs. There's no need to issue this more than once per libgloss build.
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.
2019-07-30Align _end symbol to at least 4 in all MIPS scriptsFaraz Shahbazker
Left-over part of commit 84b2a020daa17d8ee5c9ec979c3d56f95e69573b The _end marker must be aligned to 4-bytes to ensure that the last element written does not reach beyond the address of _end. This is also necessary as the termination condition is an equality test instead of an ordered test so (_end - _fbss) must be a multiple of 4-bytes. The alignment is already correct for mti*.ld files, fix it for all remaining MIPS scripts that don't already align to at least 4.
2019-05-15Make .data section placement coincide with _fdata symbolFaraz Shahbazker
The _fdata symbol in MIPS linker scripts is aligned to a 16-byte boundary. The ALIGN function does not implicitly update current location counter. If sections positioned after the assignment do not have the same natural alignment as the ALIGN function then the start of the section group will not coincide with the value of the symbol. Given the linker command sequence: symbol = ALIGN (NN); (.section*) where the idiom implies a desire to mark the beginning of .section with symbol, there must be an assignment to the location counter between the assignment to symbol and the .section pattern. libgloss/ * mips/array.ld: Update the location counter to match _fdata. * mips/cfe.ld: Likewise. * mips/ddb-kseg0.ld: Likewise. * mips/ddb.ld: Likewise. * mips/dve.ld: Likewise. * mips/idt.ld: Likewise. * mips/idt32.ld: Likewise. * mips/idt64.ld: Likewise. * mips/idtecoff.ld: Likewise. * mips/jmr3904app-java.ld: Likewise. * mips/jmr3904app.ld: Likewise. * mips/jmr3904dram-java.ld: Likewise. * mips/jmr3904dram.ld: Likewise. * mips/lsi.ld: Likewise. * mips/mti32.ld: Likewise. * mips/mti64.ld: Likewise. * mips/mti64_64.ld: Likewise. * mips/mti64_n32.ld: Likewise. * mips/nullmon.ld: Likewise. * mips/pmon.ld: Likewise. * mips/sde32.ld: Likewise. * mips/sde64.ld: Likewise.
2019-04-29Fix order of eh_frame sections in linker scriptsFaraz Shahbazker
The compiler driver positions the linker script at the end of the linker command-line, after crtend.o. As a result, any INPUT objects and archive GROUPs introduced by the linker script are placed after crtend.o and the end-of-frame marker provided by crtend.o ends up in between .eh_frames instead of being at the end. This has always been a problem, but a binutils update to clean-up redundant NULL markers in .eh_frame exposes it as a execution failure in exception-handling tests. This patch re-orders .eh_frames in all MIPS linker scripts so that the one from crtend.o is always placed last. libgloss/ * mips/array.ld: Re-order to place .eh_frame from crtend.o after all other .eh_frame sections. * mips/cfe.ld: Likewise. * mips/ddb-kseg0.ld: Likewise. * mips/ddb.ld: Likewise. * mips/dve.ld: Likewise. * mips/idt.ld: Likewise. * mips/idt32.ld: Likewise. * mips/idt64.ld: Likewise. * mips/jmr3904app.ld: Likewise. * mips/lsi.ld: Likewise. * mips/mti32.ld: Likewise. * mips/mti64.ld: Likewise. * mips/mti64_64.ld: Likewise. * mips/mti64_n32.ld: Likewise. * mips/nullmon.ld: Likewise. * mips/pmon.ld: Likewise. * mips/sde32.ld: Likewise. * mips/sde64.ld: Likewise.
2014-11-28 * mips/crt0.S: Configure processor based on .MIPS.abiflags.Corinna Vinschen
Remove FPU availability check, just use the pre-processor flags to indicicate what the user wanted. * mips/abiflags.S: New file. * mips/regs.S (SR_MSA): Define macro. * mips/mti32.ld: Place .MIPS.abiflags and wrap in marker symbols. * mips/mti64.ld: Likewise. * mips/mti64_64.ld: Likewise. * mips/mti64_n32.ld: Likewise.
2014-11-272014-11-26 Matthew Fortune <Matthew.Fortune@imgtec.com>Jeff Johnston
* mips/crt0.S: Remove .set noreorder throughout. (zerobss): Open code the bltu macro instruction so that the zero-loop does not have a NOP in the branch delay slot.
2013-12-052013-12-04 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* mips/cfe_api.h: Include stdint.h.
2013-09-302013-09-30 Steve Ellcey <sellcey@mips.com>Jeff Johnston
* mips/Makefile.in (install): Add mkdir, fix install command.
2013-07-252013-07-24 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* mips/idtmon.S (unlink, lseek, stat): Add new functions.
2013-04-202013-04-19 Steve Ellcey <sellcey@imgtec.com>Steve Ellcey
* mips/cfe_api.h (int64_t): Remove define. (uint64_t): Remove define. (intptr_t): Remove define. (uintptr_t): Remove define. (sys/types.h): Remove include. (_ansi.h): Remove include.
2012-10-032012-10-02 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* mips/configure.in: Add new linker scripts to script list. * mips/configure: Regenerate. * mips/mti32.ld: New. * mips/mti64.ld: New. * mips/mti64_n32.ld: New. * mips/mti64_64.ld: New. * mips/sde32.ld: New. * mips/sde64.ld: New.
2008-12-06 * mips/idt32.ld: Set arch to mips:isa32r2 from mips:isa32. UpdateAdam Nemet
comment.
2008-12-05 * mips/idt64.ld: Set arch to mips:isa64r2 from mips:isa64. UpdateAdam Nemet
comment.
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.
2006-11-272006-11-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* mips/crt0.S: Fix preprocessor statements from previous patch to be ANSI.
2006-11-242006-11-24 Thiemo Seufer <ths@mips.com>Jeff Johnston
Nigel Stephens <nigel@mips.com> * mips/crt0.S (_start): Use all available float registers. Don't touch SR_PE on post-mips2 CPUs, it means soft reset there.
2006-10-102006-10-10 Thiemo Seufer <ths@mips.com>Jeff Johnston
* mips/Makefile.in: Add INCLUDES to local compile rules.
2006-10-10Removed.Jeff Johnston
2006-08-222006-08-21 David Ung <davidu@mips.com>Jeff Johnston
* mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16 option since it uses the syscall instruction.
2006-06-082006-06-08 Fred Fish <fnf@specifix.com>Jeff Johnston
* mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/nullmon.ld, mips/pmon.ld: Keep special sections generated by mips gcc.
2006-05-232006-05-23 Fred Fish <fnf@specifix.com>Jeff Johnston
* mips/configure.in: Change mipsisa64-*-* to mipsisa64*-*-* to catch minor variations like mipsisa64sb1.
2006-05-112006-05-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* Makefile.in: Pass some additional flags in FLAGS_TO_PASS. * configure.in: Add additional flags when creating Makefile. * configure: Regenerated. * arm/configure * arm/configure.in: Set with_multisubdir when creating Makefile. * cris/configure.in: Ditto. * d30v/configure.in: Ditto. * frv/configure.in: Ditto. * i386/configure.in: Ditto. * iq2000/configure.in: Ditto. * libnosys/configure.in: Ditto. * m32c/configure.in: Ditto. * m32r/configure.in: Ditto. * m68hc11/configure.in: Ditto. * m68k/configure.in: Ditto. * mcore/configure.in: Ditto. * mips/configure.in: Ditto. * mn10200/configure.in: Ditto. * mn10300/configure.in: Ditto. * mt/configure.in: Ditto. * pa/configure.in: Ditto. * rs6000/configure.in: Ditto. * sparc/configure.in: Ditto. * cris/configure: Regenerated. * d30v/configure: Ditto. * frv/configure: Ditto. * i386/configure: Ditto. * iq2000/configure: Ditto. * libnosys/configure: Ditto. * m32c/configure: Ditto. * m32r/configure: Ditto. * m68hc11/configure: Ditto. * m68k/configure: Ditto. * mcore/configure: Ditto. * mips/configure: Ditto. * mn10200/configure: Ditto. * mn10300/configure: Ditto. * mt/configure: Ditto. * pa/configure: Ditto. * rs6000/configure: Ditto. * sparc/configure: Ditto.
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.
2005-10-032005-10-03 James E Wilson <wilson@specifix.com>Jeff Johnston
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld, jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: Add support for .bss.* sections.
2005-09-232005-09-23 James E Wilson <wilson@specifix.com>Jeff Johnston
* mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld, jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: Change x* to x.* in existing linkonce lines. Add support for .gnu.linkonce.b.*.
2005-07-182005-07-18 Richard Sandiford <richard@codesourcery.com>Jeff Johnston
* mips/array.ld (.sdata): Include .gnu.linkonce.s.*, not .gnu.linkonce.s*. (.sbss): Include .sbss.* and .gnu.linkonce.sb.*. * mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, * mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld, * mips/jmr3904app-java.ld, mips/jmr3904app.ld, * mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, * mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: As for mips/array.ld.
2005-05-20 * arm/elf-redboot.ld, iq2000/sim.ld, m68hc11/sim-valid-m68hc11.ld,Corinna Vinschen
* m68hc11/sim-valid-m68hc12.ld, mcore/elf-cmb.ld, mips/cfe.ld, * mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld, * mips/idt32.ld, mips/idt64.ld, mips/jmr3904app-java.ld, * mips/jmr3904app.ld, mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, * mips/nullmon.ld, mips/pmon.ld, mn10200/eval.ld, mn10200/sim.ld, * mn10300/asb2303.ld, mn10300/asb2305.ld, mn10300/eval.ld, * mn10300/sim.ld, rs6000/ads.ld, rs6000/mbx.ld, rs6000/yellowknife.ld, * sh/sh1lcevb.ld, sh/sh2lcevb.ld, sh/sh3bb.ld, sh/sh3lcevb.ld, * sparc/elfsim.ld, sparc/ex930.ld, sparc/ex931.ld, sparc/ex934.ld, * sparc/sparc86x.ld, xstormy16/eva_app.ld, xstormy16/eva_stub.ld, * xstormy16/sim_high.ld, xstormy16/sim_rom.ld: Add .debug_ranges section.
2005-04-192005-04-19 Eric Christopher <echristo@redhat.com>Eric Christopher
* mips/regs.S: Sign extend constants for mips64 and unify address handling.
2005-04-12 * mips/array.ld, mips/cfe.ld, mips/dve.ld, mips/idt32.ld,Richard Sandiford
* mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld, * mips/jmr3904app-java.ld, mips/jmr3904app.ld, * mips/jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, * mips/nullmon.ld, mips/pmon.ld: Keep .init and .fini.
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.
2004-05-05 * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld,Richard Sandiford
* mips/dve.ld, mips/idt32.ld, mips/idt64.ld, mips/idt.ld * mips/jmr3904app.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld (.eh_frame_hdr, .eh_frame, .gcc_except_table, .jcr): New sections.
2004-04-032004-04-02 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* mips/regs.S (C0_COUNT): Fix comment that kept this from being defined. * mips/vr4300.S: Use C0_COUNT as appropriate instead of hardcoding $9. * mips/vr5xxx.S: Likewise.
2004-03-242004-03-23 Eric Christopher <echristo@redhat.com>Eric Christopher
* mips/configure.in: Add mipsisa64-*-* to target support. * mips/configure: Regenerate. * frv/crt0.S: Fix comment.
2003-08-202003-08-20 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* mips/crt0_cfe.S: New file. * mips/cfe_mem.c: New file. * mips/cfe_prestart.S: Remove. * mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and and use _start as the entry point. Align BSS to 32-byte boundary. * mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file. * mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit) (__libcfe_meminit, __libcfe_stack_top): New prototypes. * mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o. (cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets. * mips/configure.in: Build and install crt0_cfe.o when CFE support is built. * mips/configure: Regenerate.
2003-05-272003-05-26 Eric Christopher <echristo@redhat.com>Jeff Johnston
* mips/crt0.S: Remove stackbase variable set.
2003-05-03Check in proper version of Eric's patch.Jeff Johnston
2003-05-022003-05-02 Eric Christopher <echristo@redhat.com>Jeff Johnston
* mips/cma101.c (__sizemem): Make sure that end is not in .sdata.
2003-04-112003-04-09 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* mips/cfe.c (_flush_cache): New function.
2003-02-18 * mips/nullmon.c (_ftext, _end): Adjust declaration.Richard Sandiford
(get_mem_info): Rework.
2003-02-18 * mips/crt0.S (zerobss): Reload __memsize after call.Richard Sandiford
2003-02-182003-02-17 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* mips/cfe.c (__cfe_handle, __cfe_entrypt): Fix types.
2003-02-052003-02-05 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* mips/configure.in (mipsisa32el-*-*): Handle in the same way as mipsisa32-*-*. (mipsisa32r2-*-*, mipsisa32r2el-*-*): New, handled in the same way as mipsisa32-*-*. * mips/configure: Regenerate.
2003-02-052003-02-05 Chris Demetriou <cgd@broadcom.com>Jeff Johnston
* mips/cfe.c (hardware_hazard_hook): Move... * mips/cfe_prestart.S (hardware_hazard_hook): To here, and translate into assembly.
2003-01-08 * mips/crt0.S (_start): Allocate 64 bytes of stack instead of 32.Richard Sandiford
Pass an empty argv and envp to main().