From patchwork Mon Apr 22 10:04:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1926140 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=DXxZ3Fwa; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4VNLV62x91z1yZP for ; Mon, 22 Apr 2024 20:05:34 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 799FD384AB6D for ; Mon, 22 Apr 2024 10:05:32 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id EDFD03858401 for ; Mon, 22 Apr 2024 10:04:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EDFD03858401 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EDFD03858401 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713780310; cv=none; b=G+62wt3K1w73yqmOEtvk3eiz1jbSLKVvKQNCFoM0AWN9S+3gjQt1SrX8fTy8RVZ7dQy5WwRfR67gOBr+ekV00QZgvlTF1/FzUienTlVDqVtdOtrb6y0YTtCcYnSXBiXleTtZ47wAYkzwKPGpYE3h13GWuVszKIGVfnRFk1v5VUg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713780310; c=relaxed/simple; bh=7n0jhZvSZGnI1pq0FLhbDdDfe7EbxOO+EyMntmZV/jM=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=dNX0RQHD9WZBafYwiQ8ri1AqUqkwEcH+N3E0i0lqIty9mNvvMpugiXgz7e7RLB+7sOOu1gv9LerdAt+GfmTl1wDisNAIcxg5jYbEYWnXm4crGgLR9jVd5v9rqdPM/QhUNflb4eCOO9VFeg56sCm6JtjZt68SPehanSU4Znyv30Q= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713780299; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pl5Pc36dtOPogFgPx44EJHSpRKxGIegYqqr37fBUxUM=; b=DXxZ3Fwa18pGN2v0n4qrpCpiWrT+HJNpjW0GcS1piZRHWVKlpimlnmWtWN10SJ1V+bEifr K6qSAzi3nkwEuZEQEtwq6gU7WWOOjl/hp46hlPfyMias6O0bdzV2DBPNkrjCUQxXyf4UoV S82tfyjrihCywuJALCDgnncmWqulrSw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-365-ihxWl8NHPEuXHxx9VoLydQ-1; Mon, 22 Apr 2024 06:04:56 -0400 X-MC-Unique: ihxWl8NHPEuXHxx9VoLydQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CF5D6104B505; Mon, 22 Apr 2024 10:04:55 +0000 (UTC) Received: from localhost (unknown [10.42.28.238]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5ECA9200AE7F; Mon, 22 Apr 2024 10:04:55 +0000 (UTC) From: Jonathan Wakely To: gcc-patches@gcc.gnu.org Cc: Georg-Johann Lay Subject: [PATCH][wwwdocs] Improve grammar for AVR changes in GCC 14 Date: Mon, 22 Apr 2024 11:04:15 +0100 Message-ID: <20240422100454.1607124-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org OK for wwwdocs? --- htdocs/gcc-14/changes.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 9509487c..21d33db8 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -696,13 +696,13 @@ a work-in-progress.

AVR

  • On AVR64* and AVR128* devices, read-only data is now located in program - memory per default and no more in RAM. + memory per default and no longer in RAM.
    • Only a 32 KiB block of program memory can be used to store and access .rodata in that way. Which block is used can be selected - by defining symbol __flmap. + by defining the symbol __flmap. As an alternative, the byte address of the block can be specified - by symbol __RODATA_FLASH_START__ which takes + by the symbol __RODATA_FLASH_START__ which takes precedence over __flmap. For example, linking with -Wl,--defsym,__RODATA_FLASH_START__=32k @@ -715,9 +715,9 @@ a work-in-progress.

      href="https://github.com/avrdudes/avr-libc/issues/931">#931 can be used. The latter initializes NVMCTRL_CTRLB.FLMAP in the startup code and according to the value - of __flmap resp. + of __flmap or __RODATA_FLASH_START__.
    • -
    • When AVR-LibC with #931 is used, then defining symbol +
    • When AVR-LibC with #931 is used, then defining the symbol __flmap_lock to a non-zero value will set bit NVMCTRL_CTRLB.FLMAPLOCK. This will protect NVMCTRL_CTRLB.FLMAP from any further changes — @@ -726,7 +726,7 @@ a work-in-progress.

      can be used:
       __asm (".global __flmap_lock"  "\n\t"
              "__flmap_lock = 1");
    • -
    • When you do not want the code from #931, then define global +
    • When you do not want the code from #931, then define a global symbol __do_flmap_init and the linker will not pull in that code from libmcu.a any more.
    • In order to return to the old placement of read-only data in RAM, @@ -736,7 +736,7 @@ __asm (".global __flmap_lock" "\n\t" functionality.
    • Read-only data is located in output section .rodata, - wheras it is part of .text when located in RAM.
    • + whereas it is part of .text when located in RAM.
    • The feature is only available when the compiler is configured with a version of Binutils that implements PR31124, which is the @@ -784,7 +784,7 @@ __asm (".global __flmap_lock" "\n\t"
    • On the Reduced Tiny devices, the meaning of register constraint "w" has been changed. - It containts now the registers R24…R31 like it is the case for all + It now constrains the registers R24…R31 as is the case for all the other devices.