* [PATCH] vmlinux.lds.S: remove duplicate _sdata symbol
@ 2011-12-22 14:53 Tony Wu
2012-01-16 15:06 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Tony Wu @ 2011-12-22 14:53 UTC (permalink / raw)
To: linux-mips, ralf
_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>
---
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 a81176f..924da5e 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 */
--
1.7.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] vmlinux.lds.S: remove duplicate _sdata symbol
2011-12-22 14:53 [PATCH] vmlinux.lds.S: remove duplicate _sdata symbol Tony Wu
@ 2012-01-16 15:06 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2012-01-16 15:06 UTC (permalink / raw)
To: Tony Wu; +Cc: linux-mips
Thanks, applied.
Ralf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-16 15:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-22 14:53 [PATCH] vmlinux.lds.S: remove duplicate _sdata symbol Tony Wu
2012-01-16 15:06 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.