From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id BCDA13858408 for ; Mon, 22 Jan 2024 16:51:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BCDA13858408 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BCDA13858408 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705942278; cv=none; b=mz0T19XlOLOQXd11p3BjoZ6AEpuekfPU+2RXrPrj7TLE/GlaIkgwHxq75dX7EldRvzSnMrGqEspo3hsOw2EsgJcgBiNfVEhesYCBFiVwE2i6Un5vUZIVaDR6zCFcNCBL8GREq54AQH1lzdMidDI5oEaEADkI5nQB5H0k984Z3+g= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705942278; c=relaxed/simple; bh=ycy4keLth+cDoimcLLLMYlR5SxRdkBg+TF7Rm4HWG/c=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=cXItufowtuE4kBMB51CiOoi1h9MFSAow+YWl2PNAz27Id3k9obLD221Dv2BxIP6XxrdKveq+0jPYf3Jx4uGxy1ZM86gNRumtFdu1VpBis2ny4i8LAS90luW6MOMn1Ufw/O2Sw1cVgV1m/JuoLhWoJ40dNnGhCVSZd+FRZehMD2M= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705942276; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=zU2/mbXoVI80/utDScaMpM3Fi4XFs6CWv+x7vz1a120=; b=X0g695s7/0PQXA+8DKlHBkMwCzVeGdV19Iw9ziTAH4pOR60VB2VZTaGigz2B8TJqRPIbzL A8uxOBq/0XFrO1Ee0Uv+HYYOrWFCu6XrP2/lXbkPDlZi6Z/aQ9yc3Fxe9MOaVpT8EmVeit IQ6idOo3gYF1gAPB2gvMGVzKPvyUs68= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-117-aIfDdiJ7NsG7odn2HNIp5g-1; Mon, 22 Jan 2024 11:51:15 -0500 X-MC-Unique: aIfDdiJ7NsG7odn2HNIp5g-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7838069b5ccso458272085a.2 for ; Mon, 22 Jan 2024 08:51:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705942274; x=1706547074; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zU2/mbXoVI80/utDScaMpM3Fi4XFs6CWv+x7vz1a120=; b=JiC8xO5oj4Y01t5CNTgGmAssUqfvCeMpVrGoPhcrGph3XMIcTMKqKpHF/bBsahoQQB 4mhuR5Dw5ZcI/VVY2vFyRpXuEUsESS2zN56wLZH/keHlkd4LtCRX0YEOU52Eoh/f7w/4 jl0UttCKzXXUsbAwfsie8yc+DE1fB4nZFBdiawzwo2IJ8IFUprFyOMb4qXc7jUpfV5ao SAOdCJEH/+40PnMg3vBSLU1O0gMlKYjbq1bdx+/L9hazNJt7v3jEp5OlJMgyScXVusxk QemzxzAPQstB/AJF/c0/cJRlxJzqZ2S2T3qE0N4clEVjXvGDiCWQdlsQ8ASEDdW0lmfx h+NQ== X-Gm-Message-State: AOJu0YyF/4p2ZZekr1sbUlYJVvtRps8ifmfzqEy8GNe7Rh44Z7rVxYrU aOpAtmlJXr9bSeycp+J8yHwOiRJ5AoK/7TE4fkM6+7HFCe/0VRIoRWnHjbZpxAPhcYYCpKE1Rfb K/B6v8sfXmEx0ObiTAyzV7hSoFFzr+lSkyzTyzIo1De/zM0J2vNLaQRc= X-Received: by 2002:ae9:e901:0:b0:783:54ee:1660 with SMTP id x1-20020ae9e901000000b0078354ee1660mr4280127qkf.52.1705942274624; Mon, 22 Jan 2024 08:51:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHNfTL8VfYUM2Bm4gPNsa/ZDWmdX0XcdlSEbQwH1VVK0MHJNUtCY0Cq+NGmPlfwf29XExZn3g== X-Received: by 2002:ae9:e901:0:b0:783:54ee:1660 with SMTP id x1-20020ae9e901000000b0078354ee1660mr4280120qkf.52.1705942274346; Mon, 22 Jan 2024 08:51:14 -0800 (PST) Received: from [192.168.1.5] ([79.123.79.31]) by smtp.gmail.com with ESMTPSA id qr21-20020a05620a391500b0078343915ff6sm2240178qkn.87.2024.01.22.08.51.13 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 08:51:13 -0800 (PST) Message-ID: <9d5db367-00c8-4c44-ac2e-2bf76dda8c04@redhat.com> Date: Mon, 22 Jan 2024 16:51:12 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Gas developing To: Azael Developer , binutils@sourceware.org Cc: A Receiver References: From: Nick Clifton Autocrypt: addr=nickc@redhat.com; keydata= xsFNBFm/2cUBEADkvRqMWfAryJ52T4J/640Av5cam9ojdFih9MjcX7QWFxIzJfTFYq2z+nb4 omdfZosdCJL2zGcn6C0AxpHNvxR9HMDkEyFHKrjDh4xWU+pH4z9azQEqJh331X7UzbZldqQo 16VkuVavgsTJaHcXm+nGIBTcUbl2oiTtHhmuaYxx6JTMcFjC7vyO5mLBw78wt52HB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JNz 1YWxQ5AV4uyqBn5N8RubcA8NzR6DQP+OGPIwzMketvVC/cbbKDZqf0uTDy3jP65OFhSkTEIy nYv1Mb4JJl3Sq+haUbfWLAV5nboSuHmiZE6Bz2+TjdoVkNwHBfpqxu6MlWka+P98SUcmY8iV hPy9QC1XFOGdFDFf1kYgHW27mFwds35NQhNARgftAVz9FZXruW6tFIIfisjr3rVjD9R8VgL7 l5vMr9ylOFpepnI6+wd2X1566HW7F1Zw1DIrY2NHL7kL5635bHrJY4n7o/n7Elk/Ca/MAqzd IZxz6orfXeImsqZ6ODn4Y47PToS3Tr3bMNN9N6tmOPQZkJGHDBExbhAi/Jp8fpWxMmpVCUl6 c85cOBCR4s8tZsvGYOjR3CvqKrX4bb8GElrhOvAJa6DdmZXc7AyoVMaTvhpq3gJYKmC64oqt 7zwIHwaCxTbP6C6oUp9ENRV7nHnXN3BlvIgCo4QEs6HkDzkmgYlCEOKBiDyVMSkPDZdsspa+ K4GlU2Swi/BDJMjtDxyo+K0M81LXXxOeRfEIfPtZ3ddxBKPva1uSsuz+pbN9d1JY8Ko5T/h1 6susi2ReUyNJEJaSnjO5z13TQ1U= In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Azael, > now I want to create a useful assembler with new capabilities, even I want to add a high level assembler like a C/C++ syntaxes, all that to support the open source movement. Well I wish you luck. I feel that I should point out that there are already two open source assemblers available - the one from the GNU binutils project and the one from the LLVM project. So you probably need to have some feature to make yours stand out. Also please be prepared for the fact that creating a fully functional assembler is no small task. You will find that it will take up a lot of your time. As a suggestion I would restrict yourself to just supporting the ELF file format and the DWARF debug format. There are other formats out there, but only supporting one does make things simpler. Plus you may be able to take advantage of packages like the elfutils which provide libraries for manipulating ELF and DWARF. Another suggestion is to steal, sorry I mean borrow, all of the tests used by the other assemblers. Make sure that your assembler can pass those tests too. That should give you great confidence that the assembler works. Oh and one more thing - document everything. Good documentation and good comments are the key to a long lived open source project. Cheers Nick