[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Internal handling of interrupt vectors and jump table
From: |
Klaus Rudolph |
Subject: |
[avr-gcc-list] Internal handling of interrupt vectors and jump table |
Date: |
Tue, 11 Aug 2015 12:04:17 +0200 |
Hi,
can someone explain how interrupt vectors are handled in gcc internally?
OK, I saw that in
/opt/avr_5.2.0/lib/gcc/avr/5.2.0/../../../../avr/lib/avr5/crtatmega32.o
the empty vector table is included, like:
Disassembly of section .vectors:
00000000 <__vectors>:
0: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
4: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
8: 0c 94 00 00 jmp 0 ; 0x0 <__vectors>
And I also can see, that my code results in:
Disassembly of section .text:
00000000 <__vector_7>:
...
but where can I see that __vector_7 goes to the correct place in the table?
I can't see the relocations nor the symbols for that! Is this hardcoded
somewhere in binutils?
It would be nice that someone can give me some hints to where I can find the
details of getting the vectors into the table.
Thanks!
Klaus
- [avr-gcc-list] Internal handling of interrupt vectors and jump table,
Klaus Rudolph <=