We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8703ee8 commit 065e1cdCopy full SHA for 065e1cd
gcc/config/arc64/elf.h
@@ -25,3 +25,11 @@ along with GCC; see the file COPYING3. If not see
25
#undef LINK_GCC_C_SEQUENCE_SPEC
26
#define LINK_GCC_C_SEQUENCE_SPEC \
27
"--start-group %G %{!specs=*:%{!nolibc:-lc -lnosys}} --end-group"
28
+
29
+/* Make sure we include the crtbegin.o. */
30
+#undef STARTFILE_SPEC
31
+#define STARTFILE_SPEC "crt0.o%s crti%O%s crtbegin.o%s"
32
33
+/* ...and crtend.o. */
34
+#undef ENDFILE_SPEC
35
+#define ENDFILE_SPEC "crtend.o%s crtn%O%s"
0 commit comments