From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0B6A73857349; Wed, 14 Feb 2024 09:00:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0B6A73857349 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707901242; bh=m7/ew96UNmszjVFy0L6qVlyd1icabiXKlzbh4DqH398=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BY1TLhb74uaWdmB/jbiZkd6PzzWqFJRuCRgELw2CImMO7P5+/YEDXclu+/R7G64vM hieo+zu2OqGax+WUdUJ6a3iuZzw+sVYIcrck+QM8bpDUk5V9+gS3/9FpJu+B/UGSPK IMn8RdTk5tLCgqIsJbl/ek04pT8Id9p9aOtjEoDQ= From: "matheus.a.m.moreira at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113694] Allow renaming stack smashing protector symbols Date: Wed, 14 Feb 2024 09:00:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: matheus.a.m.moreira at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113694 --- Comment #4 from Matheus Afonso Martins Moreira --- (In reply to Sam James from comment #3) > Note that this isn't something GCC offers for other things, e.g. PR97119. GCC does offer it for at least one thing that I'm aware of: -e entry --entry=3Dentry Specify that the program entry point is entry. The argument is interpreted by the linker; the GNU linker accepts either a symbol name or an address. With this useful option, I was able to change the somewhat ugly "_start" sy= mbol to a name of my choosing.=