public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/users/vapier/wip] libgloss: msp430: delete custom .S.o rule
@ 2024-01-02  4:36 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2024-01-02  4:36 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=b24d6278babf6f65aa933166e45835cc3f466c72

commit b24d6278babf6f65aa933166e45835cc3f466c72
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Tue Dec 26 22:17:22 2023 -0500

    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.

Diff:
---
 libgloss/msp430/Makefile.in | 4 ----
 1 file changed, 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) $@

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-02  4:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-02  4:36 [newlib-cygwin/users/vapier/wip] libgloss: msp430: delete custom .S.o rule Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).