diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-17 15:09:50 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-01-17 15:09:50 +0000 |
commit | f515c2cf95c5a6bc88a67a7e6319637b7c6e378b (patch) | |
tree | 54d642abd3f4194f557ae9c0e0f362be594fcd20 /extras/mini-os/arch/x86/minios-x86_32.lds | |
parent | 4ff20a30344f24c7a246e6ceb3b631c9876c6a51 (diff) | |
download | xen-f515c2cf95c5a6bc88a67a7e6319637b7c6e378b.tar.gz xen-f515c2cf95c5a6bc88a67a7e6319637b7c6e378b.tar.bz2 xen-f515c2cf95c5a6bc88a67a7e6319637b7c6e378b.zip |
[MINIOS] New make structure to support different architectures.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Diffstat (limited to 'extras/mini-os/arch/x86/minios-x86_32.lds')
-rw-r--r-- | extras/mini-os/arch/x86/minios-x86_32.lds | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/extras/mini-os/arch/x86/minios-x86_32.lds b/extras/mini-os/arch/x86/minios-x86_32.lds new file mode 100644 index 0000000000..09d84ad96f --- /dev/null +++ b/extras/mini-os/arch/x86/minios-x86_32.lds @@ -0,0 +1,45 @@ +OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") +OUTPUT_ARCH(i386) +ENTRY(_start) +SECTIONS +{ + . = 0x0; + _text = .; /* Text and read-only data */ + .text : { + *(.text) + *(.gnu.warning) + } = 0x9090 + + _etext = .; /* End of text section */ + + .rodata : { *(.rodata) *(.rodata.*) } + + .data : { /* Data */ + *(.data) + CONSTRUCTORS + } + + _edata = .; /* End of data section */ + + __bss_start = .; /* BSS */ + .bss : { + *(.bss) + } + _end = . ; + + /* Sections to be discarded */ + /DISCARD/ : { + *(.text.exit) + *(.data.exit) + *(.exitcall.exit) + } + + /* Stabs debugging sections. */ + .stab 0 : { *(.stab) } + .stabstr 0 : { *(.stabstr) } + .stab.excl 0 : { *(.stab.excl) } + .stab.exclstr 0 : { *(.stab.exclstr) } + .stab.index 0 : { *(.stab.index) } + .stab.indexstr 0 : { *(.stab.indexstr) } + .comment 0 : { *(.comment) } +} |