git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[XTENSA] Use preprocessor to generate the linker script for the ELF boot image
[safe/jmp/linux-2.6]
/
arch
/
xtensa
/
boot
/
boot-elf
/
boot.lds.S
diff --git
a/arch/xtensa/boot/boot-elf/boot.ld
b/arch/xtensa/boot/boot-elf/boot.lds.S
similarity index 91%
rename from
arch/xtensa/boot/boot-elf/boot.ld
rename to
arch/xtensa/boot/boot-elf/boot.lds.S
index
e33855c
..
849dfca
100644
(file)
--- a/
arch/xtensa/boot/boot-elf/boot.ld
+++ b/
arch/xtensa/boot/boot-elf/boot.lds.S
@@
-1,3
+1,4
@@
+#include <asm/variant/core.h>
OUTPUT_ARCH(xtensa)
ENTRY(_ResetVector)
@@
-62,7
+63,7
@@
SECTIONS
_end = .;
_param_start = .;
- .ResetVector.text
0xfe000020
:
+ .ResetVector.text
XCHAL_RESET_VECTOR_VADDR
:
{
*(.ResetVector.text)
}