From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 003973858404; Tue, 2 Jan 2024 04:36:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 003973858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704170195; bh=/BTgMvu1SG1mXKW4GfNVbn3wJN5afzhwufIpGz84RQw=; h=From:To:Subject:Date:From; b=vFG2+J9ZK8fSd3zxjOHRo2QTMvqQV4cYGeErpp93y83905q1e6PD9RrK4KP9vSHhy 4+fJztenPqV62fCdkw+NJsDKNrZr+pkahmy5FJFLHT3BCQAmWrSm7uJNT+trEQ5flQ IP9L3HCn2PvzAzdir97e/EGt+7jytbNhV/rVwJdc= 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/users/vapier/wip] libgloss: msp430: delete custom .S.o rule X-Act-Checkin: newlib-cygwin X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/users/vapier/wip X-Git-Oldrev: ef9cbcad29aaf4732d52ce4f13d228ae335d0013 X-Git-Newrev: b24d6278babf6f65aa933166e45835cc3f466c72 Message-Id: <20240102043635.003973858404@sourceware.org> Date: Tue, 2 Jan 2024 04:36:34 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3Db24d6278bab= f6f65aa933166e45835cc3f466c72 commit b24d6278babf6f65aa933166e45835cc3f466c72 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) $@