Cupertino Miranda via Gcc-patches writes: >> On 1/24/23 05:24, Cupertino Miranda wrote: >>> Thank you for the comments and suggestions. >>> I have changed the patch. >>> Unfortunately in case of rx target I could not make >>> scan-assembler-symbol-section to match. I believe it is because the >>> .section and .global entries order is reversed in this target. >>> Patch in inlined below. looking forward to your comments. >> Sorry for the long delays. I've installed this version. >> >> As a follow-up, can you update the documentation in doc/sourcebuild.texi to >> include the new check-effective-target test? > > Hi Jeff, > > Thank you for installing the patch. > I have prepared the doc change you requested. > Hopefully this is what you were expecting. > > Regards, > Cupertino
Just realized previous patch was in incorrect placement alphabetically. Please consider this one instead. Cupertino
>From 2a4f87294ad0af037b80e13d67678e52bc382c95 Mon Sep 17 00:00:00 2001 From: Cupertino Miranda <cupertino.mira...@oracle.com> Date: Mon, 13 Mar 2023 17:45:14 +0000 Subject: [PATCH] Added item entry in docs for the new check_effective_target. More precisely for: - check_effective_target_const_volatile_readonly_section --- gcc/doc/sourcebuild.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index be4318221cc..f08893aeb02 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2774,6 +2774,9 @@ Target supports automatic stack alignment. @item branch_cost Target supports @option{-branch-cost=N}. +@item const_volatile_readonly_section +Target places const volatile variables in readonly sections. + @item cxa_atexit Target uses @code{__cxa_atexit}. -- 2.38.1