mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 22:46:48 +07:00
66ab3a74c5
Merge the machine dependent boot directories for v10 and v32. This avoids some code duplication and eases the way for further merging later on. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
44 lines
698 B
Plaintext
44 lines
698 B
Plaintext
/*#OUTPUT_FORMAT(elf32-us-cris) */
|
|
OUTPUT_ARCH (crisv32)
|
|
/* Now that NAND support has been stripped, this file could be simplified,
|
|
* but it doesn't do any harm on the other hand so why bother. */
|
|
|
|
MEMORY
|
|
{
|
|
bootblk : ORIGIN = 0x38000000,
|
|
LENGTH = 0x00004000
|
|
intmem : ORIGIN = 0x38004000,
|
|
LENGTH = 0x00005000
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
_stext = . ;
|
|
*(.text)
|
|
*(.init.text)
|
|
*(.rodata)
|
|
*(.rodata.*)
|
|
_etext = . ;
|
|
} > bootblk
|
|
.data :
|
|
{
|
|
*(.data)
|
|
_edata = . ;
|
|
} > bootblk
|
|
.bss :
|
|
{
|
|
_bss = . ;
|
|
*(.bss)
|
|
_end = ALIGN( 0x10 ) ;
|
|
} > intmem
|
|
|
|
/* Get rid of stuff from EXPORT_SYMBOL(foo). */
|
|
/DISCARD/ :
|
|
{
|
|
*(__ksymtab_strings)
|
|
*(__ksymtab)
|
|
}
|
|
}
|