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

Message ID 20231227032453.13546-2-vapier@gentoo.org
State New
Headers
Series [1/5] libgloss: msp430: delete outdated/wrong code |

Commit Message

Mike Frysinger Dec. 27, 2023, 3:24 a.m. UTC
  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(-)
  

Patch

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@