Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-27 06:17:22 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-20 04:21:05 +0300
commitf9047928083511340dca8b76afca00bc6e248c96 (patch)
treee7a5941037dbbc755811d35da85f9f3714ceb0e8 /libgloss
parentf5c40e04e57fb2a42aeff948cf16bd6dd2b5276d (diff)
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.
Diffstat (limited to 'libgloss')
-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 ccf94dc16..62c8a280b 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) $@