From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8581 Path: news.gmane.org!not-for-mail From: "Sidney Manning" Newsgroups: gmane.linux.lib.musl.general Subject: RE: Support for .S files Date: Mon, 28 Sep 2015 08:17:14 -0500 Message-ID: <032001d0f9ef$fe8b5af0$fba210d0$@codeaurora.org> References: <005a01d0f7c3$534a8360$f9df8a20$@codeaurora.org> <20150925185656.GN17773@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1443446257 25848 80.91.229.3 (28 Sep 2015 13:17:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Sep 2015 13:17:37 +0000 (UTC) To: Original-X-From: musl-return-8593-gllmg-musl=m.gmane.org@lists.openwall.com Mon Sep 28 15:17:35 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 1ZgYJC-0002Jl-0Y for gllmg-musl@m.gmane.org; Mon, 28 Sep 2015 15:17:34 +0200 Original-Received: (qmail 26478 invoked by uid 550); 28 Sep 2015 13:17:31 -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 26460 invoked from network); 28 Sep 2015 13:17:30 -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_00, TVD_RCVD_SINGLE autolearn=no version=3.3.1 In-Reply-To: <20150925185656.GN17773@brightrain.aerifal.cx> X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGHHEsEoo0aFCAwLh40uUOpjFctDQINzGM+ntH6JcA= Content-Language: en-us X-Virus-Scanned: ClamAV using ClamSMTP Xref: news.gmane.org gmane.linux.lib.musl.general:8581 Archived-At: > On Fri, Sep 25, 2015 at 01:52:26PM -0500, Sidney Manning wrote: > > Clang and gcc do not invoke the preprocessor on files with a lowercase > > .s suffix. > > > > The following addition would permit uppercase .S files. > > The intention was to avoid using the preprocessor in asm and having it > become #ifdef hell. This could be revisited (especially now as part of the arch > deduplication/refactoring) but there should first be some discussion of the > motivation (what you want to achieve with it). I was experimenting with some optimized assembly and it substituted #defines in place of register names. Think, "#define length r2" and such making the resulting assembly more readable. I had made some missteps with the Makefile because the files didn't get picked up; only later did I see that the pattern wasn't in the Makefile. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation