From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) by sourceware.org (Postfix) with ESMTPS id 5C0F23858430 for ; Mon, 22 Jan 2024 16:57:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5C0F23858430 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5C0F23858430 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::72c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705942667; cv=none; b=W9F6uIheQeiVL2YIeQ5FdS7mQh5jAOFVSEWnXq+QU44iRf1UzeSoLnWUjpoEEM36eFPNpXTEaePWnoNJVoHlQ5f3OKwtLOVibCXyUHdpZyR1HjHZEYyZAlLC/r6WsqyU+y30SNASttsgNH6u0YvJ4A9uIG++0nTGnv1Y8Ou2i7c= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705942667; c=relaxed/simple; bh=eq4Ab4JQ4Wd1nhXOLPIRKgWW4TgTfjgFivgcib5qzAg=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=oox96l3KifqEE1rRhZu7RwUrSpQqO7aIfTtjDBbMwIq42o9mzqPsQzIBuIH1B1cj0LL7HNdInVC2OYvdLRwqrVsJ7vPbwp0UhdvJcfzJaEXZtiCynFhQfiK3ZLK4d8hkRTmVLdeXYQ5copRmUuKfpmnzm/dpxUFuQKfKB5M4rjI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-qk1-x72c.google.com with SMTP id af79cd13be357-78333ad3a17so294454785a.3 for ; Mon, 22 Jan 2024 08:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705942664; x=1706547464; darn=sourceware.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=wPm2v+x7K8RG8jZdbLfVKFJm7OgBbrKyyRP5+HqJ2Gk=; b=in74rR/TgXnq/+kMrZkkqoaLMHWFXUM0ulYygj1ZNjabQAfB0WNwYQ5fqoSPLn2C5Y YPjxeIycSxdXVKQO/rvW8bvNxNMYKz7q+KAvKdziAjVtfmNeQIW50cJEOvL+c2RU0tZh tRdwNlx6ol2JURqBCNIstC6eZkeqNI/5I0MnXeoO7cu5Pd/nAQ4O8jBjx/YJGnaxMjlt SZ41ZguQEB5bkRXiFFRGXtNxQ5kNhCwyTMs4ifLdtWR1BK4Y/CCnOhh8q1wFsNDfnQrR V350WAYP/GL9PKHk5aiGaBnhmEhzHIhG9jVg9OijhzYpnzJHU4EdrbJNCJqqM9kgtp9H /YFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705942664; x=1706547464; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wPm2v+x7K8RG8jZdbLfVKFJm7OgBbrKyyRP5+HqJ2Gk=; b=cWNd9ryG6ZNUonTjuw+O+CuZSUzdVR5P8aJIqT5y7ICTC88z25+85Z+Q6nmRXSBkqq qv7VUqWM6dkuS+aVXkY7nEw4BcIi86SI9DA9mgSTUGTRlU7OVMsreiZD9UwshRyF9njT 7SrNiCUXA8xp0LDZW62I825DW3bDphoxPYFu6NnatFqHtIG+fMO8tOlldPOZsAtcYs+e ULl06ncV93o4UoxgShTxyhBMCN28ShAISPDwtmVrjsDVIxhteHE9r+tZc2W6vIYzcDo4 kKfb88xAXt4ElGZ8hgXyEPxUKYRxkv64Z3tQWMhL3kpVtxBiCRXGATCAbKCem7Sbo0j2 WBJw== X-Gm-Message-State: AOJu0YwWF4FdJlSiZl1YXc7WBXMi9lDD6C3kWTkdVLZaC2Vo/XBE82Lj Ns+YqWwG82BdJ/nKwrJIYm5slJS82j073yNNxKiVzgjNf6fiOp/VRWQ8ZdeCpUFQ35qMcPg6XlZ 7K2iUXlFoI01ynoII8NqykDNaj2hNz0Vcgayxpg== X-Google-Smtp-Source: AGHT+IFOmaGW0/1RP8CucoJTgKuLmHs5t2J2tWK3qTGm4fz3ZM9XyjKbxvoUa7Xgf8Ogofk8RdNzR3Br4tC3usOAz0I= X-Received: by 2002:a05:6214:1d2e:b0:685:2233:819d with SMTP id f14-20020a0562141d2e00b006852233819dmr4971375qvd.0.1705942664631; Mon, 22 Jan 2024 08:57:44 -0800 (PST) MIME-Version: 1.0 References: <9d5db367-00c8-4c44-ac2e-2bf76dda8c04@redhat.com> In-Reply-To: <9d5db367-00c8-4c44-ac2e-2bf76dda8c04@redhat.com> From: Azael Developer Date: Mon, 22 Jan 2024 08:57:32 -0800 Message-ID: Subject: Re: Gas developing To: Nick Clifton Cc: binutils@sourceware.org, A Receiver Content-Type: multipart/alternative; boundary="0000000000008857c2060f8bbaaa" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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: --0000000000008857c2060f8bbaaa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for the advice Nick On Mon, Jan 22, 2024 at 8:51=E2=80=AFAM Nick Clifton wro= te: > 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 > > --0000000000008857c2060f8bbaaa--