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-23libgloss: merge cr16 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A cr16-elf build shows installed objects & libs produce same code. The test targets were dropped as they didn't actually work -- there is no test.o rule in here.
2024-01-23libgloss: merge pru into top-level MakefileDimitar Dimitrov
Avoid a recursive make to speed things up a bit. This change was inspired by the recent similar patch for c6x: https://sourceware.org/pipermail/newlib/2023/020869.html While at it, fork crt0-minrt.S into a separate source file instead of relying on a predefined macro to generate two different object files. This improves clarity, simplifies the build rules, and would allow further optimization in crt0-minrt.S to be implemented more cleanly. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2024-01-20libgloss: xc16x: drop old stub portMike Frysinger
First off, afaict, xc16x support has never been merged into gcc. Upstream merge isn't strictly required for new ports, but it seems like people should merge eventually in some shape, and considering the libgloss port was merged in 2009, ~14 years seems like plenty of leeway. Which is to say, no one else can seem to build this which makes updating & testing things very difficult. Ignoring that, from what I can tell, this port has only ever built and installed a crt0.o file. It defines libeval.a & libcygmon.a targets, but nothing depends on them. The SCRIPTS & BSP variables are always empty. The original port merge define these in the configure script as substitutes, but never set the vars, so they were always replaced with nothing. I actually broke this build 2 years ago when merging the configure up a level in commit 30f244155b8e82aa948ddcb8f2350654fc1adb92 ("libgloss: merge subdirs that have unique makefile_frags up a level"). I saw that it was exporting a bunch of vars in the configure script, but never set them, so I incorrectly assumed they weren't used. Which means the Makefile has been setting them to invalid values like literal @bsp_list@ and @script_list@. Considering no one has complained, I have to assume no one cares about this port, and we can all stop wasting time on it.
2024-01-20libgloss: merge microblaze into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A microblaze-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge tic6x into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A tic6x-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge sparc_leon into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A sparc-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge sparc into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A sparc-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge ft32 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A ft32-elf build shows installed objects & libs produce same code. Mention of ft32-elf-common.ld is dropped as it has never existed in the tree, and has been an (ignored) error in the past.
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.
2024-01-20libgloss: merge or1k into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A or1k-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge epiphany into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A epiphany-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: xtensa: fix CPPFLAGS clobberingMike Frysinger
No sub-Makefile.inc file should ever set CPPFLAGS directly. That is a global/common variable. Instead, ports should set the per-target CPPFLAGS to include what they need. Further, per-target CPPFLAGS should respect $(AM_CPPFLAGS).
2024-01-20libgloss: merge visium into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A visium-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge m32r into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A m32r-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge rl78 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A rl78-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge rx into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A rx-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge xstormy16 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A xstormy16-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge nds32 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A nds32le-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge mcore into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A mcore-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge mn10200 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. Untested, but follows the same pattern as mn10300, but simpler.
2024-01-20libgloss: merge mn10300 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A mn10300-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge i386 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A i386-elf build shows installed objects & libs produce same code other than a rename from cygmon-gmon.o & cygmon-salib.o to i386_libcygmon_a-*.o due to the use of custom CPPFLAGS in here.
2024-01-20libgloss: merge frv into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A frv-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: merge msp430 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A msp430-elf build shows installed objects & libs produce same code.
2024-01-20libgloss: add per-file & per-dir flag supportMike Frysinger
This logic is copied from what's used in newlib today. This allows subdirs to easily define per-directory flags & per-file flags without having to setup unique automake rules for each one.
2024-01-20libgloss: add some objcopy/objdump build rulesMike Frysinger
A bunch of ports have manual rules to generate disassembly, srec, and binary files from test programs. Add top-level pattern rules so every test program gets this for free, and we don't have to duplicate it in every subdir.
2024-01-20libgloss: check for objcopy & objdump properlyMike Frysinger
A bunch of ports hack together these values rather than setting them up in the configure script for everyone.
2024-01-03libgloss: merge i960 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. I can't test this as current versions of binutils doesn't support i960.
2024-01-03libgloss: merge v850 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A v850e-elf build shows installed objects & libs produce same code.
2024-01-03libgloss: merge moxie into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A moxie-elf build shows installed objects & libs produce same code.
2023-12-30libgloss: sparc: add missing m4 includeMike Frysinger
Commit 8d758283785042589e95c93d7899cecf28ef00ea ("libgloss: merge sparc configure script up a level") missed including the sparc acinclude.m4 file which meant none of the sparc-specific vars were propagating to the sub-makefile.
2023-12-30libgloss: xtensa: fix crt0.o ruleMike Frysinger
Don't hardcode a custom rule for this -- reuse libobjs_a_SOURCES which was designed for this exact scenario.
2023-12-21Regenarate libgloss/Makefile.inJeff Johnston
2023-12-20libgloss: doc: generate single page & split html manualsMike Frysinger
By default, only split node html manuals are generated. Change the default to single page, and add an extra rule to also generate the split page manual.
2023-09-19Bring back libsim.a for riscvAlexey Lapshin
2023-08-24libgloss: add Xtensa portAlexey Lapshin
Supported esp32 and esp32s2 boards: https://github.com/espressif/esp-toolchain-docs/blob/main/gcc/build-and-run-native-app.md
2023-08-09Add stub for getentropyTorbjörn SVENSSON
Example test case that fails with undefined reference to getentropy: Testing g++.robertl/eb77.C, -std=c++20 doing compile Executing on host: /build/gcc-13-2709-g9ac9fde961f/bin/arm-none-eabi-g++ /build/src/gcc/gcc/testsuite/g++.old-deja/g++.robertl/eb77.C -mthumb -march=armv6s-m -mcpu=cortex-m0 -mfloat-abi=soft -fdiagnostics-plain-output -fmessage-length=0 -std=c++20 -pedantic-errors -Wno-long-long -Wl,--start-group -lc -lm -Wl,--end-group --specs=nosys.specs -Wl,--allow-multiple-definition -Wl,-u,_isatty,-u,_fstat -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -Wl,g++_tg.o -lm -o ./eb77.exe (timeout = 800) spawn -ignore SIGHUP /build/gcc-13-2709-g9ac9fde961f/bin/arm-none-eabi-g++ /build/src/gcc/gcc/testsuite/g++.old-deja/g++.robertl/eb77.C -mthumb -march=armv6s-m -mcpu=cortex-m0 -mfloat-abi=soft -fdiagnostics-plain-output -fmessage-length=0 -std=c++20 -pedantic-errors -Wno-long-long -Wl,--start-group -lc -lm -Wl,--end-group --specs=nosys.specs -Wl,--allow-multiple-definition -Wl,-u,_isatty,-u,_fstat -Wl,-wrap,exit -Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -Wl,g++_tg.o -lm -o ./eb77.exe pid is 28414 -28414 /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/bin/ld: /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libstdc++.a(random.o): in function `std::(anonymous namespace)::__libc_getentropy(void*)': (.text._ZNSt12_GLOBAL__N_117__libc_getentropyEPv+0x8): undefined reference to `getentropy' /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/bin/ld: /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libstdc++.a(random.o): in function `std::random_device::_M_init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': (.text._ZNSt13random_device7_M_initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x58): undefined reference to `getentropy' /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/bin/ld: /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a(libc_a-arc4random.o): in function `_rs_stir': (.text._rs_stir+0x8): undefined reference to `getentropy' collect2: error: ld returned 1 exit status pid is -1 close result is 28414 exp6 0 1 output is /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/bin/ld: /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libstdc++.a(random.o): in function `std::(anonymous namespace)::__libc_getentropy(void*)': (.text._ZNSt12_GLOBAL__N_117__libc_getentropyEPv+0x8): undefined reference to `getentropy' /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/bin/ld: /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libstdc++.a(random.o): in function `std::random_device::_M_init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': (.text._ZNSt13random_device7_M_initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x58): undefined reference to `getentropy' /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/bin/ld: /build/gcc-13-2709-g9ac9fde961f/bin/../lib/gcc/arm-none-eabi/13.0.0/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a(libc_a-arc4random.o): in function `_rs_stir': (.text._rs_stir+0x8): undefined reference to `getentropy' collect2: error: ld returned 1 exit status status 1 compiler exited with status 1 FAIL: g++.old-deja/g++.robertl/eb77.C -std=c++20 (test for excess errors) Excess errors: (.text._ZNSt12_GLOBAL__N_117__libc_getentropyEPv+0x8): undefined reference to `getentropy' (.text._ZNSt13random_device7_M_initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x58): undefined reference to `getentropy' (.text._rs_stir+0x8): undefined reference to `getentropy' UNRESOLVED: g++.old-deja/g++.robertl/eb77.C -std=c++20 compilation failed to produce executable Contributed by STMicroelectronics Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
2023-02-22Fix libgloss/newlib build to conditionally use top include dirJeff Johnston
- conditionally use -idirafter option for arm
2023-01-14libgloss: merge csky into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A csky-elf build shows installed objects & libs produce same code.
2023-01-12libgloss: merge nios2 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit. A nios2-elf build shows installed objects & libs produce same code.
2023-01-11libgloss: merge d30v into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2023-01-11libgloss: merge arc into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2023-01-11libgloss: merge arm into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2023-01-11libgloss: arm: break newlib dependencyMike Frysinger
The libgloss port has been reaching back into newlib internals for a single header whose contents have been frozen for almost a decade. To break this backwards libgloss->newlib dependency, move the acle header to the srcroot include/ so everyone can use the same copy.
2023-01-10libgloss: merge aarch64 into top-level MakefileMike Frysinger
Avoid a recursive make to speed things up a bit.
2022-12-20libgloss: merge arm configure script up a levelMike Frysinger
Move the minor arm-specific logic to a dedicated variable so we can merge its configure logic up a level.
2022-12-20libgloss: merge aarch64 configure script up a levelMike Frysinger
Move the minor aarch64-specific logic to a dedicated variable so we can merge its configure logic up a level.
2022-12-14libgloss: bfin: switch to CPPASCOMPILE for .S->.oMike Frysinger
We're compiling .S files, so use CPPAS instead of CC to compile since the point of CPPAS is to preprocess+assemble .S files.
2022-10-20libgloss: riscv: Install machine/syscall.hSimon Cook
A recent change to the Makefile.in for riscv resulted in the machine/syscall.h header not being installed. This updates the file to install this file again. Signed-off-by: Simon Cook <simon.cook@embecosm.com>
2022-08-26libgloss: riscv: Convert to non-recursive automakePalmer Dabbelt
PR 29515 points out our documentation builds are broken, let's just move over to the new non-recursive builds. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>