[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XEN PATCH] eclair: allow and document use of GCC extension for label addresses


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
  • Date: Fri, 23 May 2025 09:20:35 +0200
  • Arc-authentication-results: i=1; bugseng.com; arc=none smtp.remote-ip=46.228.253.214
  • Arc-message-signature: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; c=relaxed/relaxed; t=1747984841; h=DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: MIME-Version:Content-Transfer-Encoding; bh=YPZz2jEAMMC36xD6hgsUyWuFj29BV8c7vMGDII9rtok=; b=4zaQy2JYxqeUuZ85eHei8qSQD+2CzNSAHbpQzgi9z//kbnMlPMPIh/NKnfsW8QO7ks0R QHarQaskrY4WW4HihvxsteeAHOQq7/HVJ8NBqoIGeIGk01b4V/aavPnd0hZToxC+rX6Nk +r9M2kcvpg15jSTmiFjYN4TVhrJlgE80BgCnXgq6WxjeBFwzAExj8nawWCHQYDn1W+D0m ecwSwP5MWE9S0xFUWK52z38E7pjvTdT6lBuo9KmxZHQgj1SHrcs+YQS+fNE+tRiCF/Skv wG+qmHmFpIxJskYq4uwunYA156WaSvIr1vEeLG9RO9zi029ZYoeFc0tCSDNU3Ab5YtlSi VuE1GdBFHxntRP/JIhjSDaJM2YmPOcvzm5abDbHO6VCyPSShnsyqOHh4thD3cGfshNTeM FFr/koqqwfA5WWqgsk78RgQEC8sIPCoh00iSH3aj8qirgk/HIKP4zvX3B9Zyz7lInKQ2/ pDQtbDo3LTLC4IY5Oj5jsORhn7ySvvsAOg6eZN8AfoJeUVXFENxPZqcMJAyYgejnrEBdu lBeDWZ/E6a/A+lcZZgBagXTkaRVaRyVGFFhstXEIJgFkZKHZXQQ0Guc9ULnD6qX5NXRnd pVpLVBf/YYNeLx7pEFV3x5Mrm7//THBl5Nyq/8YPwqbdZ1NdDDkZ+CUspCJ7PN4=
  • Arc-seal: i=1; d=bugseng.com; s=openarc; a=rsa-sha256; cv=none; t=1747984841; b=i/sOJpfDGh7JbbQoE74t8J9ZiD5r29g6xwihvWFPFr6MbHETFsRP8qTg4Dyw5EaUXYGq amstJF30T5FNysfRquw9aLicRo4hm2/BSMWyZ5S+4x5BbhByyFVLo1VjBFSnWwhB3vMsp Pgyr4xfQcpi0Bpt8ojLOXChyFB7OD6i8CAzRVNWdOar5bRsWtynSa7ex3Cks1i+5DW31E xfMTVyjhyWLBCZaDjxZnsXFEJheUd6Prne4fkYRzfdjBN08kpTN/CCPgDRWEIjzlGyb4H Bz77YvK+dJ6lINaaqp0PBRJpCtJT5qI5N/cfvjUjlLWcy6IdGwhiBTsmVTDyu0AAZEINp CVyn/JwEDt6kK3TJs8Lrv2QYyO94wQZzh4GzvR4hMmuMDiCrVO1EFRdgtQe1k3HTe9/g2 jvVALq1LpTgjaddDx9GOHUkSbz3fSSE7C7ksstN9198dturS4WLMyKDHERbVQiKIJJvnu P1kHSWhKGay0HvGPi9uNS68t+lPArNjv5d+IpL9tEpyMlezRg61Iu5OAi5mt6x26aePag mSvwPBjQlUjjRho2Zupb94sEJx+0EvQGG+ylUAxRHQvt9iV+UNSyBqvzPmi8aUeJBzXdO RHx0QgfV/Kbg8sR8m1II6A9xgxCUKZVQRF3EowfxnoHrJbXPtlzgZBZuqKCSjW0=
  • Authentication-results: bugseng.com; arc=none smtp.remote-ip=46.228.253.214
  • Cc: sstabellini@xxxxxxxxxx, michal.orzel@xxxxxxx, xenia.ragiadakou@xxxxxxx, ayan.kumar.halder@xxxxxxx, consulting@xxxxxxxxxxx, Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Fri, 23 May 2025 07:20:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

No functional change.

Signed-off-by: Nicola Vetrini <nicola.vetrini@xxxxxxxxxxx>
---
This fixes the CI error for R1.1 on this patch that stems from using the label 
inside asm goto:
https://lore.kernel.org/xen-devel/20250521143658.312514-1-andrew.cooper3@xxxxxxxxxx/
---
 automation/eclair_analysis/ECLAIR/toolchain.ecl | 5 +++++
 docs/misra/C-language-toolchain.rst             | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/automation/eclair_analysis/ECLAIR/toolchain.ecl 
b/automation/eclair_analysis/ECLAIR/toolchain.ecl
index 8ebf9f132cf2..842f8377e561 100644
--- a/automation/eclair_analysis/ECLAIR/toolchain.ecl
+++ b/automation/eclair_analysis/ECLAIR/toolchain.ecl
@@ -108,6 +108,11 @@ volatile"
 -config=STD.funojptr,behavior+={c99,GCC_X86_64,specified}
 -doc_end
 
+-doc_begin="See section \"6.3 Labels as Values\" of "GCC_MANUAL"."
+-config=STD.adrslabl,behavior={c99,GCC_ARM64,specified}
+-config=STD.adrslabl,behavior={c99,GCC_X86_64,specified}
+-doc_end
+
 -doc_begin="
     ext_c_missing_varargs_arg: see Section \"6.21 Macros with a Variable 
Number of Arguments\" of "GCC_MANUAL".
     ext_enum_value_not_int: non-documented GCC extension.
diff --git a/docs/misra/C-language-toolchain.rst 
b/docs/misra/C-language-toolchain.rst
index 3a1ce651d7fd..cb81f5c09872 100644
--- a/docs/misra/C-language-toolchain.rst
+++ b/docs/misra/C-language-toolchain.rst
@@ -214,6 +214,10 @@ The table columns are as follows:
      - All architectures
      - See Section "4.5 Integers" of GCC_MANUAL.
 
+   * - Taking the address of a label
+     - All architectures
+     - See Section "6.3 Labels as Values" of GCC_MANUAL.
+
 Translation Limits
 __________________
 
-- 
2.43.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.