1 INCLUDE ../common/ldscript.common
\r
12 /* It seems to be impossible to flush align a section at the
\r
13 end of a memory segment. Instead, we'll put the version_information
\r
14 wherever the linker wants it, and then put a pointer to the start
\r
15 of the version information at the end of the section.
\r
16 -- Henryk Plötz <henryk@ploetzli.ch> 2009-08-28 */
\r
18 _version_information_start = ABSOLUTE(.);
\r
19 *(.version_information);
\r
21 /* Why doesn't this work even though _bootphase1_version_pointer = 0x1001fc?
\r
22 . = _bootphase1_version_pointer - ORIGIN(bootphase1); */
\r
23 /* This works, apparently it fools the linker into accepting an absolute address */
\r
24 . = _bootphase1_version_pointer - ORIGIN(bootphase1) + ORIGIN(bootphase1);
\r
25 LONG(_version_information_start)
\r
28 __bootphase2_src_start__ = ORIGIN(bootphase2);
\r
30 __bootphase2_start__ = .;
\r
38 . = ALIGN( 32 / 8 );
\r
39 __bootphase2_end__ = .;
\r
40 } >ram AT>bootphase2
\r
47 . = ALIGN( 32 / 8 );
\r
50 .commonarea (NOLOAD) : {
\r