Files
OrangePi_CM5/arch/x86/boot/compressed/vmlinux.lds.S
T

74 lines
1.1 KiB
ArmAsm
Raw Normal View History

#include <asm-generic/vmlinux.lds.h>
OUTPUT_FORMAT(CONFIG_OUTPUT_FORMAT, CONFIG_OUTPUT_FORMAT, CONFIG_OUTPUT_FORMAT)
#undef i386
#include <asm/cache.h>
#include <asm/page_types.h>
#ifdef CONFIG_X86_64
2007-05-02 19:27:07 +02:00
OUTPUT_ARCH(i386:x86-64)
ENTRY(startup_64)
#else
OUTPUT_ARCH(i386)
ENTRY(startup_32)
#endif
2007-05-02 19:27:07 +02:00
SECTIONS
{
2008-02-01 17:49:41 +01:00
/* Be careful parts of head_64.S assume startup_32 is at
* address 0.
2007-05-02 19:27:07 +02:00
*/
. = 0;
.head.text : {
2007-05-02 19:27:07 +02:00
_head = . ;
HEAD_TEXT
2007-05-02 19:27:07 +02:00
_ehead = . ;
}
.rodata..compressed : {
*(.rodata..compressed)
}
.text : {
2007-05-02 19:27:07 +02:00
_text = .; /* Text */
*(.text)
*(.text.*)
_etext = . ;
}
.rodata : {
_rodata = . ;
*(.rodata) /* read-only data */
*(.rodata.*)
_erodata = . ;
}
.got : {
_got = .;
KEEP(*(.got.plt))
KEEP(*(.got))
_egot = .;
}
2007-05-02 19:27:07 +02:00
.data : {
_data = . ;
*(.data)
*(.data.*)
_edata = . ;
}
. = ALIGN(L1_CACHE_BYTES);
2007-05-02 19:27:07 +02:00
.bss : {
_bss = . ;
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(8); /* For convenience during zeroing */
2008-04-10 15:06:38 -07:00
_ebss = .;
2007-05-02 19:27:07 +02:00
}
#ifdef CONFIG_X86_64
. = ALIGN(PAGE_SIZE);
.pgtable : {
_pgtable = . ;
*(.pgtable)
_epgtable = . ;
}
#endif
_end = .;
2007-05-02 19:27:07 +02:00
}