[PATCH v1] aarch64: fix build issue raised by -Werror=maybe-uninitialized
Matthieu Longo
matthieu.longo@arm.com
Wed Jan 21 14:49:08 GMT 2026
---
bfd/elfnn-aarch64.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c
index d0be20ee459..8bca4ac7c66 100644
--- a/bfd/elfnn-aarch64.c
+++ b/bfd/elfnn-aarch64.c
@@ -5096,6 +5096,10 @@ bfd_elfNN_aarch64_set_options (struct bfd *output_bfd,
else
gcs_report_dynamic = sw_protections->gcs_report_dynamic;
break;
+
+ default:
+ /* Unknown GCS type. */
+ abort ();
}
elf_aarch64_tdata (output_bfd)->gnu_property_aarch64_feature_1_and
--
2.52.0
More information about the Binutils
mailing list