From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by sourceware.org (Postfix) with ESMTPS id 4E3723858D1E for ; Tue, 2 Jan 2024 00:40:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4E3723858D1E 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 4E3723858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::52d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704156024; cv=none; b=jC9x0pyX19VPDxuEKey3LwXVZICSjQYSHMDz373Fv5sO1+5ZIEoVcbt8TziY/2Za4DHZ/gCyKy46Uc3HFmU0UTYEw8tYmDUoSOamhJ0idr0CKn/g7yW1QW3fsBxdL7GgJyfeQRGtqQReOjfnar/R3MxT2RDWixv60mRhAb+KJBI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704156024; c=relaxed/simple; bh=kuvq2CnlTYNJqtuSkD4oDloxFbqcgUB9hR83tS411YM=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=gGbmDWX1dNx8qECEFMDwutE5EhcHa9kEdGu5yPb+3mpe01Vmcgr90GTLEdvSCXw2VJvGm6i0tr3oCGEWtnG1Q8qBB+jKKpJKikSYvhN0nbHGTGuvQYOSIguv9aXXshhA/WtK5nqINpvLHL5Wz3Rwi92NPUutZykuLHeGjWm6WIg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-5ce9555d42eso675048a12.2 for ; Mon, 01 Jan 2024 16:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704156010; x=1704760810; darn=sourceware.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=p51y6AtyaiwonaU2lSc8n2kSkoDv5v/UxqJWifsm0Iw=; b=Ftwyjs0V6tP9x56yK9lfo9e5IWgte4I3dqEWHiD1yZRXRFHS7XV2T1DacxB0LiDyD3 Uc/zK9kiPB4X5gvxyH9fADYfQa+Ukqg3MvYFDU+TZVrb+TpvAYnRR9WZ8BQU3QKUOcJs 8Xf0WPf6hoFTmeV9JI3bFXjKtqd9fMKvr98FEF7R7TRFqWNzc5QWg/n9PPYJu7nxNGO7 Hf8sCOy+D/twiGLHdTocz3YmesJu3J5dJ3anoBWpIEWV0b5660o0MiHRmotJShmuQKwB V2E2Dushrq+IVnEokR8pwFsx4LVB03Yqeo573QP+mT0602cDOVG1BnfClVhrt9UQzhLA ZywA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704156010; x=1704760810; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p51y6AtyaiwonaU2lSc8n2kSkoDv5v/UxqJWifsm0Iw=; b=v/XMtuh1AbGp7lHuITU+mX18xUQurNHOCiZNJeHYTCyGGscXIGtFZ5q0aKARLq2aIR dp097dJH5px/NGCd9Om4SiJ8ZcttkcrAyTY5TlHKQqWz/DUi8mo2wjzAfB4VpMYMEsDf /00p8yABufDY7mwCFySC392B72Asbme+T3gnAUhoBvY3cXLjkOvQG+E/v302+bOIXkoQ fgtYgeVNbwkdWC/5IacpBY+NCuZOwyNPSRTnXHdTtdgaovwfgm6IPfA0zeCgJxK9YWRt 6ay+PM391YgySM6P3QOvjfdtcwT7LGhab5OFv/oxzYdPWHYD/+1yn1EuLnKsMzn5j56S aqcA== X-Gm-Message-State: AOJu0YweuL8pct00b5roxvttQJNU4j0FBVQFHvoa4DA0sAks/+GPRTBA uec7ZnYVdP55FWESKR5gmQvDDbm89aw= X-Google-Smtp-Source: AGHT+IE26USQKOlw8sU2M8lp2XG4U5KogPt7TSqso4D7pb+YSVWZdXS/b15Q+zoxZUzA1WWiDVz2oQ== X-Received: by 2002:a05:6a20:da93:b0:195:d8d9:9b26 with SMTP id iy19-20020a056a20da9300b00195d8d99b26mr14855674pzb.73.1704156010127; Mon, 01 Jan 2024 16:40:10 -0800 (PST) Received: from squeak.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id e8-20020aa78c48000000b006d9b66f3d07sm14527306pfd.95.2024.01.01.16.40.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 16:40:09 -0800 (PST) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 55F0511404B5; Tue, 2 Jan 2024 11:10:06 +1030 (ACDT) Date: Tue, 2 Jan 2024 11:10:06 +1030 From: Alan Modra To: Jan Beulich Cc: Binutils , Nick Clifton Subject: Re: [PATCH 00/22] ELF: correct handling of simplified section directives Message-ID: References: <5e1fe3bc-78ca-4c54-a19c-f8efa015f839@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5e1fe3bc-78ca-4c54-a19c-f8efa015f839@suse.com> X-Spam-Status: No, score=-3027.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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: On Fri, Dec 15, 2023 at 12:59:39PM +0100, Jan Beulich wrote: > Various targets override .bss (many), .text, or .data (a few) handling, > and sadly more often than not these overrides break things: In some > cases .previous doesn't work as intended, while in other cases the > sub-section specifier that ELF allows also for .bss for isn't recognized. > Fix this (first primarily for .bss, then for .text/.data), putting in > place tests to cover these pretty universal ELF aspects. Looks good to me. -- Alan Modra Australia Development Lab, IBM