Skip to content
Snippets Groups Projects
Commit e1bcc902 authored by rahix's avatar rahix
Browse files

feat(l0dables): Use weak references for unused handlers

Instead of actually defining each unused handler as an individual
"function" with an infinite loop, make them all reference the default
handler.  This shaves 192 bytes of unnecessary bloat off the .text
section.
parent 5cbe0e79
No related branches found
No related tags found
1 merge request!447A few improvements of the l0dable runtime
Pipeline #5098 passed
......@@ -181,8 +181,7 @@ DefaultHandler:
b .
.macro def_irq_handler handler_name
.weak \handler_name
\handler_name : b .
.weakref \handler_name, DefaultHandler
.endm
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment