Cortex-M stack checking support

Bug #1469598 reported by Ahmed Ammar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNU Arm Embedded Toolchain
New
Undecided
Unassigned

Bug Description

Based on http://patchwork.ozlabs.org/patch/115832/

An updated patch, symbol lookup working too.

ifeq ($(CONFIG_GCC_STACK_CHECK), y)
 EXTRA_CFLAGS += -fstack-check=indirect -fstack-limit-symbol=current_stack
endif

http://pastebin.com/raw.php?i=ujMY6R5F

The author should be changed to the original author, because I made minor changes.

Revision history for this message
Ahmed Ammar (ahmed-a-ammar) wrote :
Revision history for this message
Andre Vieira (andre-simoesdiasvieira) wrote :

Hi Ahmed,

Thank you for your changes! I noticed though that a bug in the
original patch survived. The 'emit_pop_tmp_regs' function doesn't pop
registers but pushes them again.

It would be good if you and Thomas worked towards submitting your patches upstream.

Kind Regards,

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.