From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 068113858D1E; Tue, 3 Jan 2023 06:09:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 068113858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672726189; bh=2n7It6qKRFVxNM8xWnWc903OA0VVSwaFvunxkDQNYJ4=; h=From:To:Subject:Date:From; b=Kw7uL3mlSSpqRRWMWg+k7nz6q0Qs/zibbRXes530rfWXG7Ej9nXtj3SNLNvfYQ6Op 4dd6es56wgnnoN8iMO478jGt4LoLzVMta3H3xAp8GswngWT1D2NEERRYfMLP5+N6S+ Pn4aZ9+w3xM6fzHlXP+w6BhlA8vtTB0QGQRbkGDE= From: "vapier at gentoo dot org" To: gdb-prs@sourceware.org Subject: [Bug sim/29957] New: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning Date: Tue, 03 Jan 2023 06:09:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: sim X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vapier at gentoo dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29957 Bug ID: 29957 Summary: or1k custom linker script used in testsuite always triggers LOAD segment with RWX permissions warning Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: sim Assignee: unassigned at sourceware dot org Reporter: vapier at gentoo dot org CC: nickc at redhat dot com, shorne at gmail dot com, vapie= r at gentoo dot org Target Milestone: --- Target: or1k-elf using the or1k-elf target, sim testsuite fails now due to linker warnings e= ver since this change: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Dba951afb999= 12da01a6e8434126b8fac7aa75107 Author: Nick Clifton Date: Tue May 3 11:42:24 2022 +0100 Add a linker warning when creating potentially dangerous executable segment= s.=20 Add tests, options to disabke and configure switches to choose defaults. to reproduce: $ or1k-elf-cc -Isim/testsuite/or1k -Wa,-Isim/testsuite/or1k -c -o load.S.o sim/testsuite/or1k/load.S $ ./ld/ld-new load.S.o -T sim/testsuite/or1k/or1k-test.ld -o load.S.x ./ld/ld-new: warning: load.S.x has a LOAD segment with RWX permissions --=20 You are receiving this mail because: You are on the CC list for the bug.=