Place the IVR in the .text section

Tools like simavr only handle `.text`. This also makes the output from
objdump a little more obvious.
This commit is contained in:
Jake Goulding
2020-06-23 21:53:54 -04:00
parent c84d5b225c
commit 7dd036a827

View File

@@ -12,17 +12,16 @@ MEMORY {
}
SECTIONS {
/* The interrupt vector routines *must* start at address 0x0000 */
.ivr : {
.text : {
/*
* The interrupt vector routines *must* start at address 0x0000
*
* Preserve every symbol in the Interrupt Vector Routines table to
* prevent them from being garbage collected.
*/
KEEP(* (.ivr));
} >text
/* The rest of our code */
.text : {
/* The rest of our code */
* (.text* .progmem.data*);
} >text