From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id A4EAD3858D28 for ; Wed, 7 Sep 2022 19:57:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A4EAD3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CDBE82077A for ; Wed, 7 Sep 2022 19:57:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1662580646; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dGmoRNKG2YGvRDigLzI5NS+pV5fEHn3my3jOPfEXKo8=; b=tyitbfPSHbyBnh51E1A8RroLGrQkL0j+9yH+V0HGZ3B/iRJzJzTu9iAv82AwebL+RnceaY nMeAurRxWPWkWAayCgjrRUaLhksHOPze+WrLUaPReViltp3MwsNXXVJWe2nHGQghSc1eQV cjkUA32vo8Wmivb24s3HUP8d3VVT21M= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1662580646; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dGmoRNKG2YGvRDigLzI5NS+pV5fEHn3my3jOPfEXKo8=; b=8aKh+w7UoMy3dDd9ixcY0lX6ri8vNM6WPXAStrajUTbrxu4/3x/L5zE6FhKWJt9QSAi60S ew5xpYn+cy8jPrDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id BF43513A66 for ; Wed, 7 Sep 2022 19:57:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id YvdVLab3GGMsOQAAMHmgww (envelope-from ) for ; Wed, 07 Sep 2022 19:57:26 +0000 Message-ID: <3456793b-7b76-6825-0d14-0b4cfee42535@suse.cz> Date: Wed, 7 Sep 2022 21:57:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Subject: [PATCH] Fix executable stack warning from linker To: dwz@sourceware.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_SOFTFAIL,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: Fixes: missing .note.GNU-stack section implies executable stack --- testsuite/dwz.tests/dw2-skip-prologue.S | 1 + testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S | 1 + testsuite/dwz.tests/varval.S | 1 + 3 files changed, 3 insertions(+) diff --git a/testsuite/dwz.tests/dw2-skip-prologue.S b/testsuite/dwz.tests/dw2-skip-prologue.S index f249ac0..4d2e198 100644 --- a/testsuite/dwz.tests/dw2-skip-prologue.S +++ b/testsuite/dwz.tests/dw2-skip-prologue.S @@ -400,3 +400,4 @@ loclist: .byte 1 .Lline1_end: + .section .note.GNU-stack,"",@progbits diff --git a/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S b/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S index 7c41f5b..08e1563 100644 --- a/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S +++ b/testsuite/dwz.tests/implptr-64bit-d2o4a8r8t0.S @@ -154,3 +154,4 @@ .byte 0x0 /* Terminator */ .byte 0x0 /* Terminator */ .byte 0x0 /* Terminator */ + .section .note.GNU-stack,"",@progbits diff --git a/testsuite/dwz.tests/varval.S b/testsuite/dwz.tests/varval.S index 126768c..09f65d9 100644 --- a/testsuite/dwz.tests/varval.S +++ b/testsuite/dwz.tests/varval.S @@ -512,3 +512,4 @@ .byte 0x0 /* Terminator */ .byte 0x0 /* Terminator */ .byte 0x0 /* Terminator */ + .section .note.GNU-stack,"",@progbits -- 2.37.3