From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 290F53858D1E for ; Mon, 13 Mar 2023 13:12:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 290F53858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 5BB0B22A44; Mon, 13 Mar 2023 13:12:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1678713146; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kUWKrVZDKPrez4ii8n9A04Ayae5YNNoNMRrGR5f7lNU=; b=vgcJdV3pWgwbJak1vYhlU64xpURBTe5Dueh3CFn8GQsoT9vwfbHKu17o425HmCFWb8hNwz 376OODbza8j9gkzW0O4Ml3RZZNBfR5UQyYawTKZcZUbq8WH/FYTeqpqkWmc2gKVFw6sCrz vCjyf9fOxauMvPdg/XmX6z2/SJnDwQQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1678713146; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kUWKrVZDKPrez4ii8n9A04Ayae5YNNoNMRrGR5f7lNU=; b=TiXH/XKQrWVWkXXwP9mz4u2NfZMgzFzQfUY3kZGjABubEVTlGcpSW6p6V0axMIO6N0RjM0 iDuEjCuKaswsxWDQ== Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 4B19F2C142; Mon, 13 Mar 2023 13:12:26 +0000 (UTC) Received: by wotan.suse.de (Postfix, from userid 10510) id 3281364AE; Mon, 13 Mar 2023 13:12:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by wotan.suse.de (Postfix) with ESMTP id 2D862639B; Mon, 13 Mar 2023 13:12:26 +0000 (UTC) Date: Mon, 13 Mar 2023 13:12:23 +0000 (UTC) From: Michael Matz To: Ulf Samuelsson cc: binutils@sourceware.org, nickc@redhat.com Subject: Re: [PATCH v1 0/7 SECTOR: Support aligning to flash sector boundary In-Reply-To: <95D14810-3DEE-44ED-B071-72BC8C3C3AC0@emagii.com> Message-ID: References: <95D14810-3DEE-44ED-B071-72BC8C3C3AC0@emagii.com> User-Agent: Alpine 2.20 (LSU 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1609957120-1967074393-1678713146=:16810" X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP 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: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1609957120-1967074393-1678713146=:16810 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Hello, On Fri, 10 Mar 2023, Ulf Samuelsson wrote: > Since the proposal defines the begin, end and size of a sector as symbols, > you can do already today. > . = ALIGN(”bank00#04#size”). > Right now, the symbols are defined late, but that is easily changed. You argued that one point of you introducing the ALLOCATE_SECTOR directive was that it naturally dependend on dot, exactly so that the user does _not_ have to deal with the artificial names. So, a builtin function (however implemented) that actually gets you that very size for a given address makes the most sense IMHO. Ciao, Michael. ---1609957120-1967074393-1678713146=:16810--