ISR Function prologues on AVR with Binutils and LD

2022-11-03 Thread Georg Johann Lay
Hi, I've dug about in the sourcecode of gcc and gas, in order to understand how it works. in particular, in gas avr_patch_gccisr_frag (fragS *fr, int reg) There is behaviour, specific to AVR that allows binutils to analyse the compiler output for interrupt routines, and causes it to generate

ISR Function prologues on AVR with Binutils and LD

2021-12-15 Thread Ian Molton
Hi, I've dug about in the sourcecode of gcc and gas, in order to understand how it works. in particular, in gas avr_patch_gccisr_frag (fragS *fr, int reg) There is behaviour, specific to AVR that allows binutils to analyse the compiler output for interrupt routines, and causes it to generate