From: Jan Kiszka <[email protected]> This does not obsolete the related ignore switch for now, but it will help to drop it once gnu-efi adopted that as well.
Signed-off-by: Jan Kiszka <[email protected]> --- drivers/watchdog/init_array_end.S | 4 +++- drivers/watchdog/init_array_start.S | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/init_array_end.S b/drivers/watchdog/init_array_end.S index d91969c..702231c 100644 --- a/drivers/watchdog/init_array_end.S +++ b/drivers/watchdog/init_array_end.S @@ -1,7 +1,7 @@ /* * EFI Boot Guard * - * Copyright (c) Siemens AG, 2017 + * Copyright (c) Siemens AG, 2017-2022 * * Authors: * Jan Kiszka <[email protected]> @@ -12,6 +12,8 @@ * SPDX-License-Identifier: GPL-2.0 */ +.section .note.GNU-stack,"",%progbits + .section .init_array .global init_array_end init_array_end: diff --git a/drivers/watchdog/init_array_start.S b/drivers/watchdog/init_array_start.S index 6d4b7cd..b723074 100644 --- a/drivers/watchdog/init_array_start.S +++ b/drivers/watchdog/init_array_start.S @@ -1,7 +1,7 @@ /* * EFI Boot Guard * - * Copyright (c) Siemens AG, 2017 + * Copyright (c) Siemens AG, 2017-2022 * * Authors: * Jan Kiszka <[email protected]> @@ -12,6 +12,8 @@ * SPDX-License-Identifier: GPL-2.0 */ +.section .note.GNU-stack,"",%progbits + .section .init_array /* Dummy value to avoid zero-size .init_array section linker error on * architectures having no watchdog drivers */ -- 2.35.3 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/c094e740284bc768f947c147f13fb152e3e0c816.1658670241.git.jan.kiszka%40siemens.com.
