Merge remote-tracking branch 'ftrace/for-next'
[deliverable/linux.git] / arch / xtensa / boot / boot-elf / boot.lds.S
CommitLineData
e85e335f
MF
1/*
2 * linux/arch/xtensa/boot/boot-elf/boot.lds.S
3 *
4 * Copyright (C) 2008 - 2013 by Tensilica Inc.
5 *
6 * Chris Zankel <chris@zankel.net>
7 * Marc Gauthier <marc@tensilica.com
8 * Pete Delaney <piet@tensilica.com>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */
14
15#include <asm/vectors.h>
4bedea94 16OUTPUT_ARCH(xtensa)
ed3174d9 17ENTRY(_ResetVector)
4bedea94
CZ
18
19SECTIONS
20{
e85e335f 21 .ResetVector.text XCHAL_RESET_VECTOR_VADDR :
4bedea94 22 {
e85e335f 23 *(.ResetVector.text)
4bedea94
CZ
24 }
25
a9f2fc62 26 .image KERNELOFFSET: AT (CONFIG_KERNEL_LOAD_ADDRESS)
4bedea94
CZ
27 {
28 _image_start = .;
29 *(image)
30 . = (. + 3) & ~ 3;
31 _image_end = . ;
32 }
33
4bedea94
CZ
34 .bss ((LOADADDR(.image) + SIZEOF(.image) + 3) & ~ 3):
35 {
36 __bss_start = .;
37 *(.sbss)
38 *(.scommon)
39 *(.dynbss)
40 *(.bss)
41 __bss_end = .;
42 }
4bedea94 43}
This page took 0.794789 seconds and 5 git commands to generate.