From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,634a8b162ea4a75,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-08 12:33:44 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc01.POSTED!not-for-mail From: Freejack Subject: NASM and the Art of Ada. Newsgroups: comp.lang.ada Message-ID: User-Agent: Pan/0.11.4 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: ALL NNTP-Posting-Host: 12.245.85.50 X-Complaints-To: abuse@comcast.net X-Trace: sccrnsc01 1060371223 12.245.85.50 (Fri, 08 Aug 2003 19:33:43 GMT) NNTP-Posting-Date: Fri, 08 Aug 2003 19:33:43 GMT Organization: Comcast Online Date: Fri, 08 Aug 2003 19:33:43 GMT Xref: archiver1.google.com comp.lang.ada:41258 Date: 2003-08-08T19:33:43+00:00 List-Id: I've been looking around AdaPower and other places for information on embedding Assembler code into Ada sources in general. I realize that Ada has it's own inline Assembler syntax, which is fine for tiny optimizations. However, I have libs written in assembler which I tweaked to make the most of my current hardware. I'd like to use those. I.e. I usually write a portable lib in a HLL and then use Assembler for a drop in, highly optimized replacement at link time if one is available, or I've written my own. I'm using both Linux and FreeBSD boxes for my work. I've seen the Gas instructions in the Big Online Book of Linux Ada programming. I fucking hate Gas. NASM is my cup of tea. I can work with Gas if I have too, but I really dont want too. Enough rambling. Any pointers on the "best" way to create an object file for linking with Ada generated Object files? Is it possible to tweak the linker script (ld.so) to enhance the safety /speed of the resulting executable? Or is is this better left to GNAT? Can I create hooks for some of the Debug pools features of an Ada compilation system? I've been toying with the idea of creating some Ada plugs for Randall Hyde's High Level Assembly(HLA) programming package. Would anyone be interested in such a beast? Any pointers would be greatly appreciated. Thanks. Freejack p.s. I always try to ask interesting questions, rather than clutter the newsgroup with banality. If this post was too banal, let me know. Heh.