From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1356 invoked by alias); 14 Feb 2014 15:17:40 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 1347 invoked by uid 89); 14 Feb 2014 15:17:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=unavailable version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Feb 2014 15:17:38 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1EFHVOq004061 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Feb 2014 10:17:32 -0500 Received: from [10.36.6.56] (vpn1-6-56.ams2.redhat.com [10.36.6.56]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s1EFHT4g016727 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Feb 2014 10:17:31 -0500 Message-ID: <52FE329F.7010001@redhat.com> Date: Fri, 14 Feb 2014 15:17:00 -0000 From: nick clifton User-Agent: Mozilla/5.0 (X11; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23 MIME-Version: 1.0 To: Philip Herron , binutils@sourceware.org Subject: Re: Assembler as shared library References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00091.txt.bz2 Hi Philip, > But i can find any where to start to make a little mini assembler > using libopcodes. Take a look at gas/doc/internals.texi, especially the section on GAS processing. Essentially you will need to provide library routines that emulate what is done in gas/as.c:main(). Cheers Nick