aboutsummaryrefslogtreecommitdiff
path: root/libgloss/moxie
AgeCommit message (Collapse)AuthorFilesLines
2024-01-03libgloss: merge moxie into top-level MakefileMike Frysinger3-169/+66
Avoid a recursive make to speed things up a bit. A moxie-elf build shows installed objects & libs produce same code.
2024-01-03libgloss: moxie: delete unused/invalid assembly fileMike Frysinger1-31/+0
This is a .c file, not assembly, and it's a duplicate (same content) as the existing sim-lseek.c. Delete it since it's unused and doesn't actually compile.
2023-12-16Re: Fix moxie libgloss issues with c99Jeff Law2-0/+6
Two libgloss issues specific to moxie-elf that show up build with GCC trunk. First, putnum.c uses "print" without a prototype. So I added one based on the function's definition in print.c. Second sim-inbyte.c uses read, which comes from unistd.h, so this adds a suitable #include.
2022-02-16libgloss: merge moxie configure script up a levelMike Frysinger5-4387/+20
Move the minor moxie-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.
2022-02-01libgloss: move to ../config/multi.m4 for multilib logicMike Frysinger3-14/+67
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-29libgloss: fix more missing dir with parallel installMike Frysinger1-0/+4
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-17libgloss: clean up redundant shared lib warningsMike Frysinger2-8/+0
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 Frysinger3-20/+6
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-10libgloss: hardcode AC_CONFIG_AUX_DIR pathMike Frysinger2-25/+5
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 Frysinger3-180/+265
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 Frysinger1-0/+0
The .in name has been deprecated for a long time in favor of .ac.
2019-12-14Implement the unlink system call for the moxie simulator.Anthony Green1-2/+2
Corresponding support for this was just added to the gdb moxie simulator. Unlink support is required by the GCC testsuite.
2018-01-17ansification: remove _DEFUNYaakov Selkowitz11-30/+15
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _ANDYaakov Selkowitz8-10/+10
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2014-12-27The moxie sub.l instruction is now just sub.Anthony Green1-2/+2
2014-12-11Rebuilt moxie/configureAnthony Green1-0/+16
2014-07-28Fix typo in previous commitAnthony Green1-1/+1
2014-07-27Add moxiebox support.Anthony Green3-5/+258
2013-07-17* lm32/configure: Regenerate.Yaakov Selkowitz1-1543/+2258
* moxie/configure: Ditto. * spu/configure: Ditto.
2012-10-27Minor debugging aid for the moxie port.Anthony Green2-2/+2
2012-10-27Minor optimization and bug fix for moxie.Anthony Green1-7/+4
2012-09-13bi-endian support for moxie.Anthony Green1-2/+3
2010-10-02add missing object files to qemu support library.Anthony Green1-1/+4
2010-10-02Minor crt0 improvement for moxieAnthony Green1-3/+3
2009-07-01 * moxie/crt0.S (_start): Clear BSS at startup. Register _fini()Anthony Green2-5/+15
with atexit(). * moxie/sim-open.S: Fix comment.
2009-05-01Add self to MAINTAINERS file. Tweak moxie stack position.Anthony Green1-1/+1
2009-04-222009-04-22 Anthony Green <green@moxielogic.com>Jeff Johnston28-0/+4746
* configure.in: Add moxie support. * configure: Regenerate. * moxie/aclocal.m4, moxie/configure, moxie/configure.in, moxie/crt0.S, moxie/fstat.c, moxie/getpid.c, isatty.c, moxie/kill.c, moxie/Makefile.in, moxie/moxie-elf-common.ld, moxie/print.c, moxie/putnum.c, moxie/qemu.ld, moxie/qemu-time.c, moxie/qemu-write.c, moxie/sbrk.c, moxie/sim-close.S, moxie/sim-exit.S, moxie/sim-inbyte.c, moxie/sim.ld, moxie/sim-lseek.c, moxie/sim-lseek.S, moxie/sim-open.S, moxie/sim-read.S, moxie/sim-time.c, moxie/sim-unlink.S, moxie/sim-write.S, moxie/stat.c: New files.