From f90e9138064e81a994eb86dbc7e790b9f43d2a1d Mon Sep 17 00:00:00 2001 From: Marc Hartmayer Date: Tue, 14 Oct 2025 12:52:09 +0200 Subject: [PATCH] pvimg/boot: Remove double quotes in section keyword MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'clang' compiler generates a section with the name '".loader_parms"' and gcc '.loader_parms' if the double quotes are used. Fix this by removing the superfluous double quotes, this results in a section with the name '.loader_parms' for both clang and gcc. Reported-by: Richie Buturla Reviewed-by: Euan Bourke Reviewed-by: Jan Höppner Signed-off-by: Marc Hartmayer Signed-off-by: Jan Höppner --- rust/pvimg/boot/stage3a.c | 2 +- rust/pvimg/boot/stage3b.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/pvimg/boot/stage3a.c b/rust/pvimg/boot/stage3a.c index a0e37878..8aebc2a6 100644 --- a/rust/pvimg/boot/stage3a.c +++ b/rust/pvimg/boot/stage3a.c @@ -63,7 +63,7 @@ enum UV_RRC_SSC_HDR_CORRUPT { KEY_SLOT_EMPTY = 0x0040, }; -static volatile struct stage3a_args __section(".loader_parms") loader_parms; +static volatile struct stage3a_args __section(.loader_parms) loader_parms; static void print_error_message(enum UV_RC pv_rc, uint16_t pv_rrc) { diff --git a/rust/pvimg/boot/stage3b.c b/rust/pvimg/boot/stage3b.c index 611c88ff..b15569e8 100644 --- a/rust/pvimg/boot/stage3b.c +++ b/rust/pvimg/boot/stage3b.c @@ -18,7 +18,7 @@ #include "boot/loaders_layout.h" #include "sclp.h" -static volatile struct stage3b_args __section(".loader_parms") loader_parms; +static volatile struct stage3b_args __section(.loader_parms) loader_parms; static inline void __noreturn load_psw(struct psw_t psw) {