summaryrefslogtreecommitdiff
path: root/bsp/qemu-vexpress-a9/SConstruct
AgeCommit message (Collapse)Author
2026-08-28[bsp/qemu-vexpress-a9] support function names in backtracesHui Su
Pass -mpoke-function-name to the compiler and assembler when RT_BACKTRACE_FUNCTION_NAME is enabled for the Cortex-A9 QEMU BSP. Keep the BSP configuration opt-in so users can enable symbolized backtraces through menuconfig without changing the default build. The flag is appended through CCFLAGS and ASPPCOM after the build environment is created instead of concatenating it into CFLAGS/CXXFLAGS/ASFLAGS: when the toolchain is selected with --exec-path, PrepareBuilding() reloads rtconfig and _apply_exec_path_override() overwrites those variables, which would silently drop the option. The build still succeeds but function names are missing from the text section, leaving backtraces without usable frames. Example backtrace in QEMU (vexpress-a9, RT_BACKTRACE_FUNCTION_NAME=y, fault triggered from msh through cmd_fault -> fault_level1 -> fault_level2 -> fault_level3): backtrace: 0x600475a8 @ fault_level3 0x600475dc @ fault_level2 0x60047608 @ fault_level1 0x60047630 @ cmd_fault 0x6006ca80 @ _msh_exec_cmd 0x6006cb3c @ msh_exec 0x600717b4 @ finsh_thread_entry Signed-off-by: Hui Su <[email protected]>
2022-12-29[BSP][smart] fix link script for smart in vexpress-a9 (#6764)Bernard Xiong
2021-12-17[update] CFLAGSliukangcc
2021-10-14Revert "Fix compiler flags issue"guo
2021-08-19Fix compiler flags issueJCZou
CCFLAGS is used by gcc and g++ compiler. So CFLAGS should be used for gcc to avoid passing gcc flags to g++.
2019-10-22[add] default environmentErnest
2019-03-25Make 'qemu-vexpress-a9' and 'imx6ul' use the same libcpu code.qz721
2019-01-07[libcpu] Add SConscript in libcpu.Bernard Xiong
2017-09-19[BSP] Add QEMU/VExpress-A9 bsp.Bernard Xiong