From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arjuna.pair.com (arjuna.pair.com [209.68.5.131]) by sourceware.org (Postfix) with ESMTPS id 821F8385829B for ; Fri, 26 Apr 2024 01:46:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 821F8385829B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bitrange.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bitrange.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 821F8385829B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.68.5.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714095972; cv=none; b=MeG5zhXpLukp4ciemeM4GrEMot1zesCsNu1d6Q3JFYj0/6h+sqUl8paAxPKpdTspu4yXlh+KBStR5gVPcw1o+nUiC0hZ/+VH1RDiDaYhuejOobbR61dcguMuqKorxqcJDERxxtFmIbvAQFnSseHQBsw3hUTjpFH4TfJjxqWXqQg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714095972; c=relaxed/simple; bh=eGrNf7Copc3iimiB+80Jo7NeMmwkQ5W21+Ob5+Ccuz8=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=IRqXT65muAuV+95kdQODjRps18X9z81X3J4ep+Cd02S6cYt2/SBTJW6jWZ+3agt3G6wL5jZqztgqrbA7PDLvkZRqHbUUArY1aoS0vQHrzdAdsWcHC/pbz7eqHoKXoP1OG6sQQzPoAXE2wuT/ZeM4E6USDIfzyFgzyjgoMSlCupI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by arjuna.pair.com (Postfix, from userid 3006) id 25A2B8A778; Thu, 25 Apr 2024 21:46:08 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by arjuna.pair.com (Postfix) with ESMTP id 234C18A591; Thu, 25 Apr 2024 21:46:08 -0400 (EDT) Date: Thu, 25 Apr 2024 21:46:08 -0400 (EDT) From: Hans-Peter Nilsson X-X-Sender: hp@arjuna.pair.com To: Nick Clifton cc: hjl.tools@gmail.com, binutils@sourceware.org, siddhesh@redhat.com Subject: Re: RFC: ld: Add --text-section-ordering-file (version 2) In-Reply-To: <87edat7g1e.fsf@redhat.com> Message-ID: References: <87edat7g1e.fsf@redhat.com> User-Agent: Alpine 2.20.16 (BSF 172 2016-09-29) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Scanned-By: mailmunge 3.11 on 209.68.5.131 X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,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: On Thu, 25 Apr 2024, Nick Clifton wrote: > Thoughts, comments, etc ? Sounds great! ...except: > match. So ".t*t" would match any section starting with ".t" and > ending with "t" and would put it into the .text section. In this > version however the output section is selected based upon matching > the fixed part at the start of the pattern with the output section. > So ".t*t" would only work if the output section was called ".t". Do you mean '...if the output section was called ".tt"'? Else, having a pattern .t*t matching an instance .t sounds confusing. Actually, thats still sounds confusing anyway; I don't understand the limitation, sorry for being thick. If you need to keep the code simple or something, maybe just allow a trailing "*"? (I've not paid attention to earlier versions.) brgds, H-P