From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id EF47B3858417; Sat, 20 Jan 2024 01:26:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF47B3858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1705714001; bh=JNLG7SIZg5TXBuvc4wvMnICx+WfMxqRuHam2LEjZTjY=; h=From:To:Subject:Date:From; b=UgnDFVFoGpAFLxsz3o/rPtC5Ca4W2jd42x2c9QN3cMqrHMMyC2zos5LbG40finoob L/zp7gtBSAUZOlPt4ZvXU4yssVUteNVba85hVuuNXApd8dg2dwJhMwJt8T9YkLr9ya Az15uJui8ci7bpV33JdgJ6OBIBbpqJLSKna8d/UA= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: newlib-cvs@sourceware.org Subject: [newlib-cygwin/main] libgloss: msp430: delete custom .S.o rule X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/main X-Git-Oldrev: f5c40e04e57fb2a42aeff948cf16bd6dd2b5276d X-Git-Newrev: f9047928083511340dca8b76afca00bc6e248c96 Message-Id: <20240120012641.EF47B3858417@sourceware.org> Date: Sat, 20 Jan 2024 01:26:41 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Df9047928083= 511340dca8b76afca00bc6e248c96 commit f9047928083511340dca8b76afca00bc6e248c96 Author: Mike Frysinger Date: Tue Dec 26 22:17:22 2023 -0500 libgloss: msp430: delete custom .S.o rule =20 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. =20 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 =3D \ =20 all: $(CRT) $(SIM_BSP) $(LIB_NOSYS) $(LIB_CRT) copy_scripts_to_objdir =20 -# Override .S.o rule to pass assembler debugging flags -.S.o: - $(CC) -Wa,-gdwarf2 -Wa,-I$(srcdir) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFL= AGS) -c $< - $(SIM_BSP): $(SIM_OBJS) $(AR) $(ARFLAGS) $@ $? $(RANLIB) $@