From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 5386D3858D28 for ; Mon, 25 Apr 2022 15:26:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5386D3858D28 Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-58-XKtn6RI0OhuKlqRVFTJ8WQ-1; Mon, 25 Apr 2022 11:26:13 -0400 X-MC-Unique: XKtn6RI0OhuKlqRVFTJ8WQ-1 Received: by mail-wm1-f69.google.com with SMTP id g9-20020a1c4e09000000b0038f20d94f01so10425223wmh.8 for ; Mon, 25 Apr 2022 08:26:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:references:cc:from:subject:in-reply-to :content-transfer-encoding; bh=sJ3D2irinyiZMFQqaQigvB0NoKARf0c/lM0WU0ykWbE=; b=LUkiDRQ+lF68RYdKxaMdj11S41nGL8pnQX24S4SlRMygL/gFEzH8MtwxkpeycBC3Z6 Ke7ZzqzKjnLIBtp2X0RmyvgzHInlBH5vk2MXvg4rp+B7LGq17B+P5m8No1AKH2UXDZw/ c0jsnlm3ZR97MFvdQIwdY+ybaqpvTF/+RVSI9upRB76ThK7h7Y3I/L2M2nU8PU4mpr+7 lPf0KCrz4p4RtHHESpL4VLzXiS/C+F22/eqvPpWk9J1YzVx4TvBq6OSibNQYMPxeGkCd 7rd8SSLA1Dt3eVPSlKxwKl+cFIZNv1CsLSbETZQq6cgAcLmvLf22AQlgopba5khnxyJy MwGw== X-Gm-Message-State: AOAM530oNgPsve70fLUcKrrxjyC0LtaZEVrQNinFX0dwkrrqR9phLHZh wlzoxVb4/IIloHNZpiEKwTCtL6U4Ev+6fWw/cVDLP1A0x+666hvX1T00kLr98ozoUGS8Q+o2nL6 B2alnshdXadiPn0wmuA== X-Received: by 2002:a05:6000:1c1b:b0:207:b842:fffd with SMTP id ba27-20020a0560001c1b00b00207b842fffdmr14438855wrb.703.1650900372646; Mon, 25 Apr 2022 08:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMkrlUHNSD6FCjATP75/2SNdVCLGi6hdQjiU+PBQoKTAUWkDAf/3fy7itTjN3bZ0NLxwGHUw== X-Received: by 2002:a05:6000:1c1b:b0:207:b842:fffd with SMTP id ba27-20020a0560001c1b00b00207b842fffdmr14438848wrb.703.1650900372506; Mon, 25 Apr 2022 08:26:12 -0700 (PDT) Received: from [192.168.1.6] (adsl-2-solo-173-39.claranet.co.uk. [80.168.173.39]) by smtp.gmail.com with ESMTPSA id s30-20020adf979e000000b0020adfb1292fsm1568982wrb.16.2022.04.25.08.26.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Apr 2022 08:26:11 -0700 (PDT) Message-ID: <615c917b-1109-da5e-9727-a47f60f3e6bf@redhat.com> Date: Mon, 25 Apr 2022 16:26:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: Jeff Law , =?UTF-8?Q?Martin_Li=c5=a1ka?= References: <8e46710d-573b-bd06-cb80-518575dceefc@suse.cz> Cc: gcc@gcc.gnu.org, Binutils From: Nick Clifton Subject: Re: [committed] exec-stack warning for test which wants executable stacks In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2022 15:26:16 -0000 Hi Jeff, Just FYI - I am also looking at adding in another warning. This time for when the linker creates a PT_LOAD segment which has all of the RWX flags set. At the moment my testing seems to show that it only causes problems when a custom linker script is used that defines its own program headers and does not provide separate headers for code and data. Cheers Nick