CVS log for funnyos/arch/sam7s64/ldscript

[BACK] Up to [local] / funnyos / arch / sam7s64

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 12 22:02:18 2007 UTC (16 years, 5 months ago) by nbrk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

place data at the top 4 KB of 64KB flash;
hardcode disposition of .data and .bss into ldscript.

this all makes compiler generate code with data at 0x00200000 in mind,
while linker places it at the (imaginary) end of text (60 KB) - last 4KB (0x0000f000) in ROM

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 12 13:34:32 2007 UTC (16 years, 5 months ago) by nbrk
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

kill *(.vectors), will not use them

Revision 1.3 / (download) - annotate - [select for diffs], Sat Nov 10 00:17:34 2007 UTC (16 years, 5 months ago) by init
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

after some beer i found that vectors in .text are incorrect.
today's idea is:
- place .vectors in the beginning of .data (_sdata) (data is right in start of SRAM)
- .text starts with relocation code that disables FLASH at 0x00000000 and enables SRAM there
after that we may safely enable interrupts (or cause data aborts :])

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 9 23:08:45 2007 UTC (16 years, 5 months ago) by init
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

place .vectors at the beginning of .text

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 9 22:10:09 2007 UTC (16 years, 5 months ago) by init
Branch: MAIN

use ldscript to fine-tune the linker

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb