[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Moving start of progmem
From: |
Per Arnold Blåsmo |
Subject: |
[avr-gcc-list] Moving start of progmem |
Date: |
Sat, 12 Feb 2005 15:04:59 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041206) |
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.
Do I have to make a linker script?
Per A.
--
Per Arnold Blåsmo
e-mail: address@hidden
Get Thunderbird <http://www.mozilla.org/products/thunderbird/>
- [avr-gcc-list] Moving start of progmem,
Per Arnold Blåsmo <=