diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2008-02-15 18:16:06 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2008-02-15 18:16:06 +0000 |
commit | b34eea348cb7d6d9c93d17d51a1f322114b8f15d (patch) | |
tree | 38dd85932dacaa7c7a174d87307baff6210d70c4 /util/mkelfImage/linux-i386/convert.lds | |
parent | 46fc14dcc8cdba1d66ae6fa9fdcbbf33265d676e (diff) | |
download | coreboot-b34eea348cb7d6d9c93d17d51a1f322114b8f15d.tar.xz |
Importing mkelfimage from
ftp://ftp.lnxi.com/pub/mkelfImage/mkelfImage-2.7.tar.gz
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3103 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/mkelfImage/linux-i386/convert.lds')
-rw-r--r-- | util/mkelfImage/linux-i386/convert.lds | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/util/mkelfImage/linux-i386/convert.lds b/util/mkelfImage/linux-i386/convert.lds new file mode 100644 index 0000000000..2195fe435d --- /dev/null +++ b/util/mkelfImage/linux-i386/convert.lds @@ -0,0 +1,36 @@ +OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") +OUTPUT_ARCH(i386) + + +ENTRY(startup_32) +SECTIONS +{ + . = 0x10000; + _text = .; /* Text and read-only data */ + .text . : { + *(.text) + *(.text.*) + } = 0x9090 + .rodata (.): { + *(.rodata) + *(.rodata.*) + } + _etext = .; /* End of text section */ + .data (.): { /* Data */ + *(.data) + *(.data.*) + *(.trailer) + } + _edata = .; /* End of data section */ + _bss = .; /* BSS */ + .bss (.): { + *(.bss) + } + _end = . ; + bss_size = _end - _bss; + + /DISCARD/ : { + *(.comment) + *(.note) + } +} |