Apparently Unused ARM Linker Symbol
Joel Sherrill
joel at rtems.org
Tue Feb 13 22:39:06 UTC 2024
Hi
In looking at linkcmds code, one of the folks in the class noticed this
symbol which appears to be unused. This is a grep from the top of the tree.
It appears that bsp_stack_main_size is defined but never really used. If
someone can confirm this, it needs to be purged.
[joel at localhost rtems]$ grep -r bsp_stack_main_size
testsuites/libtests/dl05/dl05.scn:rtl: esyms: bsp_stack_main_size ->
0x0
testsuites/libtests/dl04/dl04.scn:rtl: esyms: bsp_stack_main_size ->
0x0
bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed:bsp_stack_main_size = DEFINED
(bsp_stack_main_size) ? bsp_stack_main_size : 1024;
bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed:bsp_stack_main_size = ALIGN
(bsp_stack_main_size, bsp_stack_align);
bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram:bsp_stack_main_size =
DEFINED (bsp_stack_main_size) ? bsp_stack_main_size : 1024;
bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram:bsp_stack_main_size =
ALIGN (bsp_stack_main_size, bsp_stack_align);
bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth:bsp_stack_main_size
= DEFINED (bsp_stack_main_size) ? bsp_stack_main_size : 1024;
bsps/arm/lpc176x/start/linkcmds.lpc1768_mbed_ahb_ram_eth:bsp_stack_main_size
= ALIGN (bsp_stack_main_size, bsp_stack_align);
bsps/arm/shared/start/linkcmds.armv7m:bsp_stack_main_size = DEFINED
(bsp_stack_main_size) ? bsp_stack_main_size : 4096;
bsps/arm/shared/start/linkcmds.armv7m:bsp_stack_main_size = ALIGN
(bsp_stack_main_size, bsp_stack_align)
Thanks.
--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20240213/7d3fabd7/attachment.htm>
More information about the devel
mailing list