Start of the text section is normally at 0x00 and the first part of
text is .vectors and then .progmem with .init0...9.
.text 0x00000000 *(.vectors)
.vectors 0x00000000 0x30
0x00000000 __vectors
0x00000030 __ctors_start = .
*(.ctors)
0x00000030 __ctors_end = .
0x00000030 __dtors_start = .
*(.dtors)
0x00000030 __dtors_end = .
*(.progmem.gcc*)
*(.progmem*)
0x00000030 . = ALIGN (0x2)
*(.init0)
.....
I need to make some space between .dtors end and .progmem so that
progmem starts at the second page of the flash.
How can I do that? Is there some option to the compiler? I have tried
different --section-start=.init0=0x80 etc. but it does not work as
expected.