summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-27 00:35:12 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-27 00:35:12 -0800
commit86ed40bd6fe511d26bb8f3fa65a84cb65c235366 (patch)
tree12ec939078887d6f5bc437cfd8ac34eff610c715 /arch/sparc/kernel
parentb74e34dbdeb39136e0557930a373392b7d644f43 (diff)
sparc: unify sections.h
While doing this use standard names for start/end so we could use definitions straight from asm-generic for all the typical symbols. This also allowed us to drop the use of PROVIDE in the linker script so sprc is less non-standard on this area. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r--arch/sparc/kernel/head_32.S2
-rw-r--r--arch/sparc/kernel/vmlinux.lds.S3
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc/kernel/head_32.S b/arch/sparc/kernel/head_32.S
index 51b40426f9c..f0b4b516304 100644
--- a/arch/sparc/kernel/head_32.S
+++ b/arch/sparc/kernel/head_32.S
@@ -990,7 +990,7 @@ sun4c_continue_boot:
/* Zero out our BSS section. */
set __bss_start , %o0 ! First address of BSS
- set end , %o1 ! Last address of BSS
+ set _end , %o1 ! Last address of BSS
add %o0, 0x1, %o0
1:
stb %g0, [%o0]
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S
index 59c8d090920..76267085b13 100644
--- a/arch/sparc/kernel/vmlinux.lds.S
+++ b/arch/sparc/kernel/vmlinux.lds.S
@@ -49,7 +49,6 @@ SECTIONS
*(.gnu.warning)
} = 0
_etext = .;
- PROVIDE (etext = .);
RO_DATA(PAGE_SIZE)
.data : {
@@ -69,7 +68,6 @@ SECTIONS
}
/* End of data section */
_edata = .;
- PROVIDE (edata = .);
/* init_task */
. = ALIGN(THREAD_SIZE);
@@ -172,7 +170,6 @@ SECTIONS
*(COMMON)
}
_end = . ;
- PROVIDE (end = .);
/DISCARD/ : {
EXIT_TEXT