diff options
author | Tony Wu <tung7970@gmail.com> | 2011-12-22 18:53:17 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2012-02-20 21:33:18 +0400 |
commit | 58a7fca67a9a6c7dccff727f16826f811ca59127 (patch) | |
tree | 37c702c145ef5445374d4f35b6ea35741c0b0df8 /arch/mips | |
parent | 8e3657903589f5a5a36a95f660a33e137b3da6f5 (diff) | |
download | linux-58a7fca67a9a6c7dccff727f16826f811ca59127.tar.xz |
MIPS: vmlinux.lds.S: remove duplicate _sdata symbol
_sdata is defined twice in vmlinux.lds.S. According to vmlinux.ld.h
in asm-generic, _sdata should be marked at the beginning RO_DATA_SECTION.
* _sdata = .;
* RO_DATA_SECTION(PAGE_SIZE)
* RW_DATA_SECTION(...)
* _edata = .;
Remove the one that is marked at RW_DATA_SECTION.
Signed-off-by: Tony Wu <tung7970@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3215/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/kernel/vmlinux.lds.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index a81176f44c74..924da5eb7031 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S @@ -69,7 +69,6 @@ SECTIONS RODATA /* writeable */ - _sdata = .; /* Start of data section */ .data : { /* Data */ . = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */ |