From 540c98bd379695d444c2e861ab217ccd2fb71478 Mon Sep 17 00:00:00 2001 From: Jose Ruiz Date: Thu, 7 Nov 2024 12:18:12 +0100 Subject: [PATCH] Follow the change in the section name in s-bbinte.adb The section .interrupt_stacks has been renamed .noinit.interrupt_stacks to ensure that it can be placed in the bss section. See eng/toolchain/gnat!1302 ref eng/toolchain/gnat-llvm#211 --- aarch64/morello/common.ld | 2 +- aarch64/zynqmp/common.ld | 2 +- arm/am64xr5/common.ld | 2 +- arm/cortex-m1/common-RAM.ld | 2 +- arm/cortex-m1/common-TCM.ld | 2 +- arm/lm3s/lm3s-ram.ld | 2 +- arm/nordic/nrf51/common-ROM.ld | 2 +- arm/nordic/nrf52/common-ROM.ld | 2 +- arm/rpi/rp2040/common-RAM.ld | 2 +- arm/rpi/rp2040/common-ROM.ld | 2 +- arm/sam/common-RAM.ld | 2 +- arm/sam/common-ROM.ld | 2 +- arm/sam/common-SAMBA.ld | 2 +- arm/sam/sam4s-samba.ld | 2 +- arm/smartfusion2/common-ROM.ld | 2 +- arm/stm32/common-RAM.ld | 2 +- arm/stm32/common-ROM.ld | 2 +- arm/stm32/stm32f0xx/common-RAM.ld | 2 +- arm/stm32/stm32f0xx/common-ROM.ld | 2 +- arm/stm32l/common-RAM.ld | 2 +- arm/stm32l/common-ROM.ld | 2 +- arm/tms570/common.ld | 2 +- arm/zynq/ram.ld | 2 +- arm/zynqmpr5/common.ld | 2 +- examples/mpc5566-bam/bam.ld | 2 +- powerpc/mpc5200/ram.ld | 2 +- powerpc/mpc8349/ram.ld | 2 +- powerpc/mpc8641/common.ld | 2 +- powerpc/p2020/p2020.ld | 2 +- powerpc/p5566/bam.ld | 2 +- powerpc/p5566/flash.ld | 2 +- powerpc/p5566/ram.ld | 2 +- powerpc/prep/qemu-ram.ld | 2 +- powerpc/prep/qemu-rom.ld | 2 +- powerpc/virtex5/ram.ld | 2 +- riscv/microchip/miv_rv32imaf/common-RAM.ld | 2 +- riscv/microchip/polarfiresoc/common-RAM.ld | 2 +- riscv/sifive/hifive1/common-ROM.ld | 2 +- sparc/leon/leon.ld | 2 +- sparc/leon3/leon.ld | 2 +- x86_64/generic/common-LSA.ld | 2 +- x86_64/generic/common-MULTIBOOT.ld | 2 +- x86_64/generic/common-MULTIBOOT2.ld | 2 +- x86_64/generic/common-QEMU.ld | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/aarch64/morello/common.ld b/aarch64/morello/common.ld index 106cc17d..31467d43 100644 --- a/aarch64/morello/common.ld +++ b/aarch64/morello/common.ld @@ -218,7 +218,7 @@ SECTIONS /* Interrupt stacks: defined in s-bbinte.adb. */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x10); __interrupt_stack_end = .; diff --git a/aarch64/zynqmp/common.ld b/aarch64/zynqmp/common.ld index 74268dbc..b6d6a7f9 100644 --- a/aarch64/zynqmp/common.ld +++ b/aarch64/zynqmp/common.ld @@ -200,7 +200,7 @@ SECTIONS /* Interrupt stacks: defined in s-bbinte.adb. */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x10); __interrupt_stack_end = .; diff --git a/arm/am64xr5/common.ld b/arm/am64xr5/common.ld index b67df557..403ed46b 100644 --- a/arm/am64xr5/common.ld +++ b/arm/am64xr5/common.ld @@ -161,7 +161,7 @@ SECTIONS This allows use with the Light, Light-Tasking or Embedded run times. */ __irq_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = MAX(., __irq_stack_start + _IRQ_STACK_SIZE); . = ALIGN(0x8); __irq_stack_end = .; diff --git a/arm/cortex-m1/common-RAM.ld b/arm/cortex-m1/common-RAM.ld index 21645ab1..2ce70f2c 100644 --- a/arm/cortex-m1/common-RAM.ld +++ b/arm/cortex-m1/common-RAM.ld @@ -98,7 +98,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/cortex-m1/common-TCM.ld b/arm/cortex-m1/common-TCM.ld index d2be97db..12531d59 100644 --- a/arm/cortex-m1/common-TCM.ld +++ b/arm/cortex-m1/common-TCM.ld @@ -131,7 +131,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/lm3s/lm3s-ram.ld b/arm/lm3s/lm3s-ram.ld index ded96d5c..6facacd4 100644 --- a/arm/lm3s/lm3s-ram.ld +++ b/arm/lm3s/lm3s-ram.ld @@ -88,7 +88,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/arm/nordic/nrf51/common-ROM.ld b/arm/nordic/nrf51/common-ROM.ld index bcae5f5d..7f4ff004 100644 --- a/arm/nordic/nrf51/common-ROM.ld +++ b/arm/nordic/nrf51/common-ROM.ld @@ -94,7 +94,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/nordic/nrf52/common-ROM.ld b/arm/nordic/nrf52/common-ROM.ld index 5768deb2..340971ae 100644 --- a/arm/nordic/nrf52/common-ROM.ld +++ b/arm/nordic/nrf52/common-ROM.ld @@ -97,7 +97,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/rpi/rp2040/common-RAM.ld b/arm/rpi/rp2040/common-RAM.ld index 15b99510..a01f3615 100644 --- a/arm/rpi/rp2040/common-RAM.ld +++ b/arm/rpi/rp2040/common-RAM.ld @@ -98,7 +98,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/rpi/rp2040/common-ROM.ld b/arm/rpi/rp2040/common-ROM.ld index 0c3d7981..d0a281cf 100644 --- a/arm/rpi/rp2040/common-ROM.ld +++ b/arm/rpi/rp2040/common-ROM.ld @@ -114,7 +114,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/sam/common-RAM.ld b/arm/sam/common-RAM.ld index cbaabae8..97dad650 100644 --- a/arm/sam/common-RAM.ld +++ b/arm/sam/common-RAM.ld @@ -115,7 +115,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/sam/common-ROM.ld b/arm/sam/common-ROM.ld index aeefdfb3..5a187d3b 100644 --- a/arm/sam/common-ROM.ld +++ b/arm/sam/common-ROM.ld @@ -117,7 +117,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/sam/common-SAMBA.ld b/arm/sam/common-SAMBA.ld index d4dd4ff2..3353aacc 100644 --- a/arm/sam/common-SAMBA.ld +++ b/arm/sam/common-SAMBA.ld @@ -87,7 +87,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/sam/sam4s-samba.ld b/arm/sam/sam4s-samba.ld index f451b55f..e69b208b 100644 --- a/arm/sam/sam4s-samba.ld +++ b/arm/sam/sam4s-samba.ld @@ -85,7 +85,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/smartfusion2/common-ROM.ld b/arm/smartfusion2/common-ROM.ld index 52fac7b8..353accdd 100644 --- a/arm/smartfusion2/common-ROM.ld +++ b/arm/smartfusion2/common-ROM.ld @@ -97,7 +97,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x10); __interrupt_stack_end = .; diff --git a/arm/stm32/common-RAM.ld b/arm/stm32/common-RAM.ld index 0d0e7dfd..4bfb7d54 100644 --- a/arm/stm32/common-RAM.ld +++ b/arm/stm32/common-RAM.ld @@ -112,7 +112,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/stm32/common-ROM.ld b/arm/stm32/common-ROM.ld index 95a347ea..07becc2a 100644 --- a/arm/stm32/common-ROM.ld +++ b/arm/stm32/common-ROM.ld @@ -117,7 +117,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/stm32/stm32f0xx/common-RAM.ld b/arm/stm32/stm32f0xx/common-RAM.ld index 09afe83a..70c51e6c 100644 --- a/arm/stm32/stm32f0xx/common-RAM.ld +++ b/arm/stm32/stm32f0xx/common-RAM.ld @@ -98,7 +98,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/stm32/stm32f0xx/common-ROM.ld b/arm/stm32/stm32f0xx/common-ROM.ld index c9acccf1..a81b02ac 100644 --- a/arm/stm32/stm32f0xx/common-ROM.ld +++ b/arm/stm32/stm32f0xx/common-ROM.ld @@ -101,7 +101,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/stm32l/common-RAM.ld b/arm/stm32l/common-RAM.ld index f3c365ba..a4027a89 100644 --- a/arm/stm32l/common-RAM.ld +++ b/arm/stm32l/common-RAM.ld @@ -93,7 +93,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/stm32l/common-ROM.ld b/arm/stm32l/common-ROM.ld index 793b5c86..54e7e2f8 100644 --- a/arm/stm32l/common-ROM.ld +++ b/arm/stm32l/common-ROM.ld @@ -96,7 +96,7 @@ SECTIONS __bss_end = .; __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/arm/tms570/common.ld b/arm/tms570/common.ld index 90a8888c..fdff780e 100644 --- a/arm/tms570/common.ld +++ b/arm/tms570/common.ld @@ -154,7 +154,7 @@ SECTIONS This allows use with either Light or Tasking run times. */ __irq_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = MAX(., __irq_stack_start + _IRQ_STACK_SIZE); . = ALIGN(0x8); __irq_stack_end = .; diff --git a/arm/zynq/ram.ld b/arm/zynq/ram.ld index 4470583c..322ac355 100644 --- a/arm/zynq/ram.ld +++ b/arm/zynq/ram.ld @@ -154,7 +154,7 @@ SECTIONS CPU0. This allows use with the Light and Tasking run times. */ __cpu0_irq_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = MAX(., __cpu0_irq_stack_start + _IRQ_STACK_SIZE); . = ALIGN(0x8); __cpu0_irq_stack_end = .; diff --git a/arm/zynqmpr5/common.ld b/arm/zynqmpr5/common.ld index 96e86053..5b6804ff 100644 --- a/arm/zynqmpr5/common.ld +++ b/arm/zynqmpr5/common.ld @@ -154,7 +154,7 @@ SECTIONS This allows use with the Light, Light-Tasking or Embedded run times. */ __irq_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = MAX(., __irq_stack_start + _IRQ_STACK_SIZE); . = ALIGN(0x8); __irq_stack_end = .; diff --git a/examples/mpc5566-bam/bam.ld b/examples/mpc5566-bam/bam.ld index 2a27f4c1..aadae6c1 100644 --- a/examples/mpc5566-bam/bam.ld +++ b/examples/mpc5566-bam/bam.ld @@ -66,7 +66,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/mpc5200/ram.ld b/powerpc/mpc5200/ram.ld index 0b4aca0c..52227084 100644 --- a/powerpc/mpc5200/ram.ld +++ b/powerpc/mpc5200/ram.ld @@ -98,7 +98,7 @@ SECTIONS . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/mpc8349/ram.ld b/powerpc/mpc8349/ram.ld index acfeed21..8e50c657 100644 --- a/powerpc/mpc8349/ram.ld +++ b/powerpc/mpc8349/ram.ld @@ -34,7 +34,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/mpc8641/common.ld b/powerpc/mpc8641/common.ld index 518a0249..252cac5a 100644 --- a/powerpc/mpc8641/common.ld +++ b/powerpc/mpc8641/common.ld @@ -100,7 +100,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; /* Separate stack per CPU */ diff --git a/powerpc/p2020/p2020.ld b/powerpc/p2020/p2020.ld index 26a59296..2223246c 100644 --- a/powerpc/p2020/p2020.ld +++ b/powerpc/p2020/p2020.ld @@ -100,7 +100,7 @@ SECTIONS { . = ALIGN(16); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/p5566/bam.ld b/powerpc/p5566/bam.ld index 9ebf3e75..b63143e7 100644 --- a/powerpc/p5566/bam.ld +++ b/powerpc/p5566/bam.ld @@ -69,7 +69,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/p5566/flash.ld b/powerpc/p5566/flash.ld index e3df8308..961fd7cc 100644 --- a/powerpc/p5566/flash.ld +++ b/powerpc/p5566/flash.ld @@ -92,7 +92,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/p5566/ram.ld b/powerpc/p5566/ram.ld index 07137433..77593ba7 100644 --- a/powerpc/p5566/ram.ld +++ b/powerpc/p5566/ram.ld @@ -82,7 +82,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/prep/qemu-ram.ld b/powerpc/prep/qemu-ram.ld index 9d3f6e93..dd4b98ff 100644 --- a/powerpc/prep/qemu-ram.ld +++ b/powerpc/prep/qemu-ram.ld @@ -88,7 +88,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/prep/qemu-rom.ld b/powerpc/prep/qemu-rom.ld index e0dcd83f..9a908467 100644 --- a/powerpc/prep/qemu-rom.ld +++ b/powerpc/prep/qemu-rom.ld @@ -95,7 +95,7 @@ SECTIONS { . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/powerpc/virtex5/ram.ld b/powerpc/virtex5/ram.ld index 0b4aca0c..52227084 100644 --- a/powerpc/virtex5/ram.ld +++ b/powerpc/virtex5/ram.ld @@ -98,7 +98,7 @@ SECTIONS . = ALIGN(8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) __interrupt_stack_end = .; __stack_start = .; diff --git a/riscv/microchip/miv_rv32imaf/common-RAM.ld b/riscv/microchip/miv_rv32imaf/common-RAM.ld index 11e25b9a..65c1e35c 100644 --- a/riscv/microchip/miv_rv32imaf/common-RAM.ld +++ b/riscv/microchip/miv_rv32imaf/common-RAM.ld @@ -160,7 +160,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x10); /* Align stack to 128 bits as required in the ABI */ __interrupt_stack_end = .; diff --git a/riscv/microchip/polarfiresoc/common-RAM.ld b/riscv/microchip/polarfiresoc/common-RAM.ld index eceb919f..77fcd5a0 100644 --- a/riscv/microchip/polarfiresoc/common-RAM.ld +++ b/riscv/microchip/polarfiresoc/common-RAM.ld @@ -138,7 +138,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x10); /* Align stack to 128 bits as required in the ABI */ __interrupt_stack_end = .; diff --git a/riscv/sifive/hifive1/common-ROM.ld b/riscv/sifive/hifive1/common-ROM.ld index a2f1292f..a43a9b8b 100644 --- a/riscv/sifive/hifive1/common-ROM.ld +++ b/riscv/sifive/hifive1/common-ROM.ld @@ -113,7 +113,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x10); /* Align stack to 128 bits as required in the ABI */ __interrupt_stack_end = .; diff --git a/sparc/leon/leon.ld b/sparc/leon/leon.ld index 246f13e3..7357dbf3 100644 --- a/sparc/leon/leon.ld +++ b/sparc/leon/leon.ld @@ -198,7 +198,7 @@ SECTIONS . = ALIGN(0x8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/sparc/leon3/leon.ld b/sparc/leon3/leon.ld index 194d8a9e..2ce36fa1 100644 --- a/sparc/leon3/leon.ld +++ b/sparc/leon3/leon.ld @@ -193,7 +193,7 @@ SECTIONS . = ALIGN(0x8); __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(0x8); __interrupt_stack_end = .; diff --git a/x86_64/generic/common-LSA.ld b/x86_64/generic/common-LSA.ld index e8a25be8..e17be3dd 100644 --- a/x86_64/generic/common-LSA.ld +++ b/x86_64/generic/common-LSA.ld @@ -184,7 +184,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(64); /* Align stacks to 512 bits in case we need to store AVX-512 registers */ __interrupt_stack_end = .; diff --git a/x86_64/generic/common-MULTIBOOT.ld b/x86_64/generic/common-MULTIBOOT.ld index fd2ec960..8780bf5c 100644 --- a/x86_64/generic/common-MULTIBOOT.ld +++ b/x86_64/generic/common-MULTIBOOT.ld @@ -195,7 +195,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(64); /* Align stacks to 512 bits in case we need to store AVX-512 registers */ __interrupt_stack_end = .; diff --git a/x86_64/generic/common-MULTIBOOT2.ld b/x86_64/generic/common-MULTIBOOT2.ld index c4a9d7f5..998a44ee 100644 --- a/x86_64/generic/common-MULTIBOOT2.ld +++ b/x86_64/generic/common-MULTIBOOT2.ld @@ -195,7 +195,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(64); /* Align stacks to 512 bits in case we need to store AVX-512 registers */ __interrupt_stack_end = .; diff --git a/x86_64/generic/common-QEMU.ld b/x86_64/generic/common-QEMU.ld index f0be0c05..65d14043 100644 --- a/x86_64/generic/common-QEMU.ld +++ b/x86_64/generic/common-QEMU.ld @@ -200,7 +200,7 @@ SECTIONS /* Interrupt stacks. Statically allocated in System.BB.Interrupts */ __interrupt_stack_start = .; - *(.interrupt_stacks) + *(.noinit.interrupt_stacks) . = ALIGN(64); /* Align stacks to 512 bits in case we need to store AVX-512 registers */ __interrupt_stack_end = .;