From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0433939450DC; Mon, 6 Apr 2020 16:06:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0433939450DC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1586189177; bh=tku1K592MYyfUHRBhlDk63h4cQbyIqkVadzN75gEiu4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=X54G8aHViq7PzaDy06ypvBcaWvpuZyEqud+APqxrY/WsNNdf+8rTdJwjrLftkZ73F Vr8ldUkRICINMlpN1g8Pjy/WLtu3BDYMfp6OPshLrvJAtyEyXsWgAHtOPryq1jZ9fy Jidm9WxcXMweAvvZ29jkjRN4wamTm4pkfhS6P5zY= From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/89096] [8/9/10 regression] AIX 7 linker rejects _.ro_ sections by default Date: Mon, 06 Apr 2020 16:06:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 8.2.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2020 16:06:17 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D89096 --- Comment #31 from David Edelsohn --- Just to be clear, the -brtl allows runtime overriding symbols. GCC is corre= ctly placing some symbols that should not be overridden in the text section. To allow the runtime overriding, which is not needed for this application/libr= ary, one needs to instruct the AIX linker to make the text section read-write. = All of these other changes in behavior are triggered by the need to use -R to specify runtime library search path.=