1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/community/gcc-cross-embedded/xtensa-fix-specs.patch
Marian Buschsieweke bdf0fe24d6 community/gcc-cross-embedded: add xtensa support
This adds gcc-xtensa-none-elf as subpackage. Note that this without
xtensa-dynconfig won't be particularly useful, though.
2024-06-19 15:12:31 +00:00

17 lines
615 B
Diff

This fixes the start and endfile specs to what actually is provided
--- a/gcc/config/xtensa/elf.h 2024-05-07 08:51:37.000000000 +0200
+++ b/gcc/config/xtensa/elf.h 2024-06-01 21:34:13.488232825 +0200
@@ -52,11 +52,11 @@ along with GCC; see the file COPYING3.
%{mabi=call0:--abi-call0}"
#undef LIB_SPEC
-#define LIB_SPEC "-lc -lsim -lc -lhandlers-sim -lhal"
+#define LIB_SPEC "-lc -lnosys -lc"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
- "crt1-sim%O%s crt0%O%s crti%O%s crtbegin%O%s _vectors%O%s"
+ "crt0%O%s crti%O%s crtbegin%O%s"
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend%O%s crtn%O%s"