From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB4973858D39; Thu, 28 Dec 2023 18:41:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB4973858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703788868; bh=I1I4811QgDbB8Vq5u+J9UPzjjY0TbWGuXZwxueIHznI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fkUljH5L5kGcQFu6/Y7CHUlDReOK1ZJmUN/pDJxIglehFBEARC1xZNoH3K42DwVzo HltRA4yrPVYFemB2NqqeTsC49LlCt75Cu78NckL2z1apxJmsfZ4RRGm51gOeIjU3ds tzC6SQAa/M1QR4SouPEvRnOHGP7isghbLsOS7ctA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113161] Add a special "ramfunc" attribute for sections in the linker script (*.ld files) Date: Thu, 28 Dec 2023 18:41:08 +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: unknown X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: keywords bug_severity 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=3D113161 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Severity|normal |enhancement --- Comment #1 from Andrew Pinski --- The Linux kernel handles this without an attribute via an external program = that checks the section after the compiling. Maybe for your use case you could reuse that ...=