aboutsummaryrefslogtreecommitdiff
path: root/libgloss/csky
AgeCommit message (Collapse)AuthorFilesLines
2023-01-13libgloss: csky: fix pointer-to-integer warningMike Frysinger1-1/+1
parameters is an array of integers, so assigning NULL (a pointer) doesn't make sense. Use 0 instead which produces the same code.
2023-01-13libgloss: merge csky into top-level MakefileMike Frysinger2-125/+36
Avoid a recursive make to speed things up a bit. A csky-elf build shows installed objects & libs produce same code.
2023-01-13libgloss: csky: use atexit to call fini-array functions.Xianmiao Qu1-0/+2
__libc_fini_array should be called upon exit to call the global termination functions in fini-array, use atexit to register it at __start.
2022-02-11libgloss: merge csky configure script up a levelMike Frysinger4-4372/+3
Now that the csky-specific logic ($DO) has been deleted, we can fold it up a level easily enough.
2022-02-11libgloss: csky: clean up unused m68k logicMike Frysinger3-1058/+2
It looks like csky was created by copying & pasting the m68k port, but m68k-specific stuff was left over related to target selection. The makefile doesn't do anything with it, so punt it all to make the file much simpler.
2022-02-01libgloss: move to ../config/multi.m4 for multilib logicMike Frysinger3-16/+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-27/+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-174/+183
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-15libgloss: fix AC_LANG_SOURCE warnings w/newer autoconfMike Frysinger1-4/+4
When running autoconf-2.69 in here, we get: configure.ac:57: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2503: _AC_PREPROC_IFELSE is expanded from... ../../lib/autoconf/general.m4:2518: AC_PREPROC_IFELSE is expanded from... configure.ac:57: the top level configure.ac:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2503: _AC_PREPROC_IFELSE is expanded from... ../../lib/autoconf/general.m4:2518: AC_PREPROC_IFELSE is expanded from... configure.ac:61: the top level Add AC_LANG_PROGRAM wrappings to fix these.
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.
2020-09-25Add C-SKY port for libglossJojo R25-0/+6797
This patch contain all libgloss for C-SKY Contributor list: - Lifang Xia <lifang_xia@c-sky.com> - Jojo R <jiejie_rong@c-sky.com> - Xianmiao Qu <xianmiao_qu@c-sky.com> - Yunhai Shang <yunhai_shang@c-sky.com>