STMicroelectronics/cmsis_device_h5

.ARM.exidx section name is wrong ?

metebalci opened this issue · 1 comments

In Source/Templates/gcc/linker/STM32H563xx_RAM.ld, the output section is named .ARM. I am not sure as I am not using these but I think, this has to be named .ARM.exidx according to Exception Handling ABI for the Arm® Architecture

.ARM : {
    . = ALIGN(4);
    __exidx_start = .;
    *(.ARM.exidx*)
    __exidx_end = .;
    . = ALIGN(4);
  } >RAM

The other output section is correctly named .ARM.extab.

I did not check all but it might be the case for some of the other or all linker scripts.

Hello @metebalci,

you're right about this point, it is recommended to follow naming conventions to ensure optimal readability of the code. it would be cleaner to rename these sections to .ARM.exidx as is the case in the linker script that is used by default. Unfortunately, our development teams have no plan to implement this change-request.

Please allow me to close this thread. Thank you for your comprehension.

With regards,