[PATCH 2/5] libgloss: msp430: delete stub crt_init.o

Mike Frysinger vapier@gentoo.org
Wed Dec 27 03:24:50 GMT 2023


This object is created by compiling crt0.S with -DLinit, but there
has never been an "#if Linit" check in crt0.S, so this has always
produced a stub object file.  Drop compiling it entirely.
---
 libgloss/msp430/Makefile.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in
index 05d3f9cba93d..c5d70ff7d954 100644
--- a/libgloss/msp430/Makefile.in
+++ b/libgloss/msp430/Makefile.in
@@ -90,8 +90,7 @@ CRT_OBJS = \
 	crt_run_init_array.o \
 	crt_run_preinit_array.o \
 	crt_run_fini_array.o \
-	crt_run_array.o \
-	crt_init.o
+	crt_run_array.o
 
 #### Host specific Makefile fragment comes in here.
 @host_makefile_frag@
-- 
2.43.0



More information about the Newlib mailing list