From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8568 Path: news.gmane.org!not-for-mail From: "Sidney Manning" Newsgroups: gmane.linux.lib.musl.general Subject: Support for .S files Date: Fri, 25 Sep 2015 13:52:26 -0500 Message-ID: <005a01d0f7c3$534a8360$f9df8a20$@codeaurora.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_005B_01D0F799.6A7517A0" X-Trace: ger.gmane.org 1443207175 27130 80.91.229.3 (25 Sep 2015 18:52:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2015 18:52:55 +0000 (UTC) To: Original-X-From: musl-return-8580-gllmg-musl=m.gmane.org@lists.openwall.com Fri Sep 25 20:52:53 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZfY71-000751-Og for gllmg-musl@m.gmane.org; Fri, 25 Sep 2015 20:52:51 +0200 Original-Received: (qmail 11497 invoked by uid 550); 25 Sep 2015 18:52:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 11421 invoked from network); 25 Sep 2015 18:52:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-caf-smtp.dmz.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.7 required=2.0 tests=ALL_TRUSTED,BAYES_05, HTML_MESSAGE,TVD_RCVD_SINGLE autolearn=no version=3.3.1 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdD3wYO9P9KikBXcQaa3K+Am29nQ1g== Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Xref: news.gmane.org gmane.linux.lib.musl.general:8568 Archived-At: This is a multipart message in MIME format. ------=_NextPart_000_005B_01D0F799.6A7517A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Clang and gcc do not invoke the preprocessor on files with a lowercase .s suffix. The following addition would permit uppercase .S files. diff --git a/Makefile b/Makefile index 5a6a43b..66e9f50 100644 --- a/Makefile +++ b/Makefile @@ -133,6 +133,9 @@ endif %.o: $(ARCH)/%.s $(AS_CMD) $(CFLAGS_ALL_STATIC) +%.o: $(ARCH)/%.S + $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $< + %.o: %.c $(GENH) $(IMPH) $(CC) $(CFLAGS_ALL_STATIC) -c -o $@ $< Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation ------=_NextPart_000_005B_01D0F799.6A7517A0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Clang and gcc do not invoke the preprocessor on files = with a lowercase .s suffix.

 

The = following addition would permit uppercase .S files.

 

diff --git = a/Makefile b/Makefile

index = 5a6a43b..66e9f50 100644

--- = a/Makefile

+++ = b/Makefile

@@ -133,6 +133,9 @@ = endif

%.o: = $(ARCH)/%.s

        $(AS_CMD) = $(CFLAGS_ALL_STATIC)

=

+%.o: $(ARCH)/%.S

+       $(CC) = $(CFLAGS_ALL_STATIC) -c -o $@ $<

+

%.o: %.c $(GENH) = $(IMPH)

        $(CC) = $(CFLAGS_ALL_STATIC) -c -o $@ $<

 

 

Qualcomm Innovation = Center, Inc. is a member of Code Aurora Forum, hosted by The Linux = Foundation

 

------=_NextPart_000_005B_01D0F799.6A7517A0--