Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions arch/arm/src/common/Toolchain.defs
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,11 @@ LDMODULEFLAGS = -r -T $(call CONVERT_PATH,$(TOPDIR)/libs/libc/elf/gnu-elf.ld)
CELFFLAGS = $(CFLAGS) -fvisibility=hidden -mlong-calls # --target1-abs
CXXELFFLAGS = $(CXXFLAGS)-fvisibility=hidden -mlong-calls

ifeq ($(CONFIG_UNWINDER_ARM),y)
Copy link
Contributor

@anchao anchao Dec 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If unwind table support in ELF is not intended to be implemented, supplementary comments can be added. In addition, a statement indicating the lack of support should be included in the ELF chapter, preferably with details specified down to the ELF allocation type level.

CELFFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables
CXXELFFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables
endif

ifeq ($(CONFIG_PIC),y)
CFLAGS += --fixed-r10
CELFFLAGS += $(PICFLAGS) -mpic-register=r10
Expand Down
Loading