From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by sourceware.org (Postfix) with ESMTPS id 666EF385841A for ; Tue, 6 Jun 2023 06:51:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 666EF385841A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-653f9c7b3e4so2271081b3a.2 for ; Mon, 05 Jun 2023 23:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686034297; x=1688626297; 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=0ozfXxB+Tpa7FqYUjp7cWNpgFWEWwqf3wc+fN7OPG8I=; b=V7iLE9i10t+2LW4QAqfePI3Mi+ROhK+llS6wyeS2mFwLpLwffqRJtfrsJ+QABxmMqX Mi3RlD69WwLXARyWHHDtEJxYQ0Yi62Sm7UrC6yKpZo5DjhLEQi3tGZJQrQXL0JHHg5VK pATwe31054N1pgqDgaudEduzXeTxjs4nLfrMjMsBF4KlbJkO1n8z3JG7WsNRA2LjdVyG KMiaFcIVUjz0eeVmfbl7FLs3ijH3iRMp9fZajXmTR7VuLUHrrzNpm/ONmTpigCnVWxP4 H2vIDk8R+he/CYqJxumTn/8vDKECKpKPpJNRLT+OjDRMjtamjWkxPrNzIT20YiUABI5v f8iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686034297; x=1688626297; 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=0ozfXxB+Tpa7FqYUjp7cWNpgFWEWwqf3wc+fN7OPG8I=; b=JI592ty/kd2JaXMa949ZekzcVPLIvrHZUqOWuZg38wkfZDSIrMiR0Mrp2/pgevO+4l e8UH/+o6aHZMfyGyXGyLNzU+cr5gvHHTjaSw7Ozd6icQkyCoi38QSSqpTi5P85wLn1/o LkXKHujISJmqE93bcCZqVetgGlYAUy6XZsvFTCTQJ1QIt2NGKRnGLanX3LjgtT8v7eY7 ElKbdLiM4CTBDJ+7lrXB3ZkJ4MuQLR9/y/Qfz1UTXC1CKNwkEidyJNPAMjFQgq3ZraLr R9LmVIP4pZUKpeQt8OiMTES7I/DUuI/UI1BABvb8fBycvFFAGVrw8phqGb4k+iFfNkqp 0udQ== X-Gm-Message-State: AC+VfDyQLWo+bdMU0sInfME42CwmElg8ptO/X3evauJkLviIfFLvNcUe J2MZJaEfxGV2qEMGD1PsgaM= X-Google-Smtp-Source: ACHHUZ5joq0R+uF9oLZH09YIBkGtKZVzSxitgflZVPzTHzA5StX5IEd0w+HbamrpNUw2vOXy/4Rezw== X-Received: by 2002:a05:6a21:789c:b0:10f:1e5d:9045 with SMTP id bf28-20020a056a21789c00b0010f1e5d9045mr1254755pzc.45.1686034297387; Mon, 05 Jun 2023 23:51:37 -0700 (PDT) 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 n22-20020a62e516000000b0065dd1e7c3c2sm1914798pff.184.2023.06.05.23.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Jun 2023 23:51:36 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 6BCD31142E65; Tue, 6 Jun 2023 16:16:27 +0930 (ACST) Date: Tue, 6 Jun 2023 16:16:27 +0930 From: Alan Modra To: "H.J. Lu" Cc: binutils@sourceware.org, Kaylee Blake Subject: Re: [PATCH v3 6/7] ld: Add tests for -z nosectionheader and --strip-section-headers Message-ID: References: <20230605153222.1728119-1-hjl.tools@gmail.com> <20230605153222.1728119-7-hjl.tools@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230605153222.1728119-7-hjl.tools@gmail.com> X-Spam-Status: No, score=-3028.7 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 Mon, Jun 05, 2023 at 08:32:21AM -0700, H.J. Lu wrote: > + if ![string match "*pr25617-1a-now-no-sec-hdr.so*file in wrong format*" $got] then { > + send_log "$got\n" > + fail "Update pr25617-1a-now-no-sec-hdr.so ($prog_name)" Needs a return here, otherwise you might get both a fail and a pass. > + } > + > + pass "Update pr25617-1a-now-no-sec-hdr.so ($prog_name)" > + } > +} > + > +binutils_run_test "" > +binutils_run_test objcopy > +binutils_run_test strip -- Alan Modra Australia Development Lab, IBM