aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-26 22:17:22 -0500
committerMike Frysinger <vapier@gentoo.org>2024-01-19 20:21:05 -0500
commitf9047928083511340dca8b76afca00bc6e248c96 (patch)
treee7a5941037dbbc755811d35da85f9f3714ceb0e8
parentf5c40e04e57fb2a42aeff948cf16bd6dd2b5276d (diff)
downloadnewlib-f9047928083511340dca8b76afca00bc6e248c96.zip
newlib-f9047928083511340dca8b76afca00bc6e248c96.tar.gz
newlib-f9047928083511340dca8b76afca00bc6e248c96.tar.bz2
libgloss: msp430: delete custom .S.o rule
This was added to specify -Wa,-gdwarf2 when compiling the assembly files. Considering the size of these .S files, it seems unnecessary overkill and complicates the build system. All but one of these compile down to 6 or fewer lines, and those hardly need extra debug for anyone who is poking msp430 assembly. The 1 file that is larger than that (crt_move_highdata.S) is still <15 insns. This will also simplify merging it into the top-level Makefile.
-rw-r--r--libgloss/msp430/Makefile.in4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgloss/msp430/Makefile.in b/libgloss/msp430/Makefile.in
index ccf94dc..62c8a28 100644
--- a/libgloss/msp430/Makefile.in
+++ b/libgloss/msp430/Makefile.in
@@ -96,10 +96,6 @@ CRT_OBJS = \
all: $(CRT) $(SIM_BSP) $(LIB_NOSYS) $(LIB_CRT) copy_scripts_to_objdir
-# Override .S.o rule to pass assembler debugging flags
-.S.o:
- $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $<
-
$(SIM_BSP): $(SIM_OBJS)
$(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@