Message ID | a6d864f8-bbd4-4941-a74d-8b661d6e70fa@gjlay.de |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gjlay.de header.i=@gjlay.de header.a=rsa-sha256 header.s=strato-dkim-0002 header.b=nWUfWmKD; dkim=pass header.d=gjlay.de header.i=@gjlay.de header.a=ed25519-sha256 header.s=strato-dkim-0003 header.b=5LBOtjKc; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TYLqG1SGfz23fC for <incoming@patchwork.ozlabs.org>; Mon, 12 Feb 2024 21:51:20 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 154813858D32 for <incoming@patchwork.ozlabs.org>; Mon, 12 Feb 2024 10:51:18 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.220]) by sourceware.org (Postfix) with ESMTPS id 52C853858D32 for <gcc-patches@gcc.gnu.org>; Mon, 12 Feb 2024 10:50:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 52C853858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gjlay.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=gjlay.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 52C853858D32 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=81.169.146.220 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1707735059; cv=pass; b=HSTMLviGb6sqCFXYfi7COy03/zZPIPkAW1fDmlyud6t7IwOqVFAf682EhSyOSGUgNBTi6ad2JQ6kp+gVtRQ4SYrtbNVSZNU/srenm/IUv1jNNVZbrWnaKpwDU564u9U9yRM648vzSyMK4YX/+u8Z7zApSCGvPBM4EBHS0cXtrHc= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1707735059; c=relaxed/simple; bh=T16cKRSj2bKXMZwlrLId4lDhp3yAj0XH+S6pWauaL4Y=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:MIME-Version:From: To:Subject; b=b+pD5kuU3M8XUVuC56CAoiwG9p3eAqSevKaPA3WLdTojkvPj1b+HDBAa/cpQuSVnAcXX7hNrlHaZgr8ybHn6tNjm4r0TSAE2jP6EFvnjYiu3l1UZg4+5a0wo52BMkd+Dv4iRO/OFGz/A6GSG+JLvfNGcbbEE/8BZkr2sWqi2kRo= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; t=1707735056; cv=none; d=strato.com; s=strato-dkim-0002; b=rXaZuvNgpVQAUhKNlKXgtMovXSI9aMpLLrAWeah5N1XrGO07MSsR3ho0No6iE4ND8W XNzPOz+gZNwhAQ1o7ZZP1Au41Xs9XIGY1ZZO1Yc34MrAe4b1lsi4c9eh8o5JG9UZjPRI im8Otx+/3v5UveubIr0WCe8RhiBRJmO80Is2SFXJdcB0J2Do8S3t4Vi92Br+mrmV1iS2 6JQux/Orl8M8mDy5o5AUjKYQ6/yIAqSYEl0Jh6AxnTFy1m1iwDHcHlBkAE3WC1ELcFOf ojJkt1nWGCDAMuSIZG/zu4++BgdsuF1zAx2K4pX0oO37n7jNnwPPsfPX7q8JnvX1da5n QA9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1707735056; s=strato-dkim-0002; d=strato.com; h=Subject:To:From:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=ExQKf5fdaZzicKilqVK+Gdmk/UYnbXLGKb2dIdBemPY=; b=kuX5BdIs7+aO4QcdYyBd50aB4dStT2f+zsJi5Lpm8to75AaWijblcP0poendYGvr8Z kMjUPTSxoK+euImH5Fs7VO7xdByjt9XrTQxxE7YGY2tdLFpVepKFR5ycVICASBB2K34h P4Zvj080zVjhmqfYRLYyyuuvPRy1mECuJjLmzhdT/Q5SBuOOaqqCsurbVQ+EbJvO406p BLa3rUFw3p2BJMnSS86EjleOfOEGJe23cnTi4GoeqE6UBIEsSRYWOyij52t8+rj9mlqS V+F2219Aiy9Z7mibYvoFLYH2Afp94npmcGmGLncyWGIA2Zr1rpfLmO7kFFnvm+VaBo0J xkMQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1707735056; s=strato-dkim-0002; d=gjlay.de; h=Subject:To:From:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=ExQKf5fdaZzicKilqVK+Gdmk/UYnbXLGKb2dIdBemPY=; b=nWUfWmKDMGV+Ao8B1zQui3X07rO1EFw/MmH5owxSArTOsge5WxMzGLETz1+GJSPSO+ F8D2mjBlJU+1G52Z/RGvuh4dSmWcYIK9VBsVD6yy2UcPb25gbQ3/MnkERupbR8eCn72W MuSu1VjzCs+9VQA845j39sVlmYCtJbDHM1gm0Pj/wzyBt34bG+PtS9BnClEAMaugCHcG URFBdT3E0fNrqLhbY4JEbvS8Zpjf15tb/qq+JHYfwg9vaOiK2xwRcZg0V/s3Qe+lpSu5 RaDDwCdk0hCejdKGVfaOyxR15FygF7LTi3QiQBAEzuXCn+0xJR3GfESfNj1v4ZaiYrBe jOCA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1707735056; s=strato-dkim-0003; d=gjlay.de; h=Subject:To:From:Date:Message-ID:Cc:Date:From:Subject:Sender; bh=ExQKf5fdaZzicKilqVK+Gdmk/UYnbXLGKb2dIdBemPY=; b=5LBOtjKcNz1+6p7juOTvqulqhTb80ILXbRwe/6ZybECIhgi/SbS0syNsHBClk5To27 OrpR8FfA8XYU+LXikyDw== X-RZG-AUTH: ":LXoWVUeid/7A29J/hMvvT3koxZnKT7Qq0xotTetVnKkSgcSjpmy9KwoMJ/K0VA==" Received: from [192.168.2.102] by smtp.strato.de (RZmta 49.11.2 DYNA|AUTH) with ESMTPSA id Lb68c601CAotjuy (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate) for <gcc-patches@gcc.gnu.org>; Mon, 12 Feb 2024 11:50:55 +0100 (CET) Message-ID: <a6d864f8-bbd4-4941-a74d-8b661d6e70fa@gjlay.de> Date: Mon, 12 Feb 2024 11:50:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US From: Georg-Johann Lay <avr@gjlay.de> To: gcc-patches@gcc.gnu.org Subject: [patch,avr,applied] Addendum to target/112944: Initialize FLMAP as needed Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
[avr,applied] Addendum to target/112944: Initialize FLMAP as needed
|
expand
|
diff --git a/gcc/config/avr/gen-avr-mmcu-specs.cc b/gcc/config/avr/gen-avr-mmcu-specs.cc index ea69145d404..bb94bea12b0 100644 --- a/gcc/config/avr/gen-avr-mmcu-specs.cc +++ b/gcc/config/avr/gen-avr-mmcu-specs.cc @@ -369,7 +369,10 @@ print_mcu (const avr_mcu_t *mcu, const McuInfo &mi) } // -m[no-]rodata-in-ram affects linking. Sanity check its usage. - fprintf (f, "*link_rodata_in_ram:\n\t%%(check_rodata_in_ram)\n\n"); + fprintf (f, "*link_rodata_in_ram:\n\t%%(check_rodata_in_ram)"); + if (mi.is_device && mi.have_flmap) + fprintf (f, " %%{!mrodata-in-ram:-u __do_flmap_init}"); + fprintf (f, "\n\n"); // Specs known to GCC.