Path: blob/master/arch/x86/boot/compressed/vmlinux.lds.S
10820 views
#include <asm-generic/vmlinux.lds.h>12OUTPUT_FORMAT(CONFIG_OUTPUT_FORMAT, CONFIG_OUTPUT_FORMAT, CONFIG_OUTPUT_FORMAT)34#undef i38656#include <asm/cache.h>7#include <asm/page_types.h>89#ifdef CONFIG_X86_6410OUTPUT_ARCH(i386:x86-64)11ENTRY(startup_64)12#else13OUTPUT_ARCH(i386)14ENTRY(startup_32)15#endif1617SECTIONS18{19/* Be careful parts of head_64.S assume startup_32 is at20* address 0.21*/22. = 0;23.head.text : {24_head = . ;25HEAD_TEXT26_ehead = . ;27}28.rodata..compressed : {29*(.rodata..compressed)30}31.text : {32_text = .; /* Text */33*(.text)34*(.text.*)35_etext = . ;36}37.rodata : {38_rodata = . ;39*(.rodata) /* read-only data */40*(.rodata.*)41_erodata = . ;42}43.got : {44_got = .;45KEEP(*(.got.plt))46KEEP(*(.got))47_egot = .;48}49.data : {50_data = . ;51*(.data)52*(.data.*)53_edata = . ;54}55. = ALIGN(L1_CACHE_BYTES);56.bss : {57_bss = . ;58*(.bss)59*(.bss.*)60*(COMMON)61. = ALIGN(8); /* For convenience during zeroing */62_ebss = .;63}64#ifdef CONFIG_X86_6465. = ALIGN(PAGE_SIZE);66.pgtable : {67_pgtable = . ;68*(.pgtable)69_epgtable = . ;70}71#endif72_end = .;73}747576