soc/intel/tigerlake: Utilize vbt data size Kconfig option
[coreboot.git] / src / lib / rmodule.ld
blobddf79257dfe69d8fc9e6b3a4d1b27158e935d588
1 /*
2  * This linker script is used to link rmodules (relocatable modules).  It
3  * links at zero so that relocation fixups are easy when placing the binaries
4  * anywhere in the address space.
5  *
6  * NOTE:  The program's loadable sections (text, module_params, and data) are
7  * packed into the flat blob. The rmodule loader assumes the entire program
8  * resides in one contiguous address space. Therefore, alignment for a given
9  * section (if required) needs to be done at the end of the preceding section.
10  * e.g. if the data section should be aligned to an 8 byte address the text
11  * section should have ALIGN(8) at the end of its section.  Otherwise there
12  * won't be a consistent mapping between the flat blob and the loaded program.
13  */
15 #include <memlayout.h>
16 #include <arch/header.ld>
18 SECTIONS
20         SET_COUNTER(rmodule, 0x00000000)
22         /* program.ld is directly included because there's no one particular
23          * class that rmodule is used on. */
24         #include <lib/program.ld>