aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2008-12-27 03:35:12 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-27 03:35:12 -0500
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 51b40426f9c6..f0b4b516304f 100644
--- a/arch/sparc/kernel/head_32.S
+++ b/arch/sparc/kernel/head_32.S
@@ -990,7 +990,7 @@ sun4c_continue_boot:
990 990
991 /* Zero out our BSS section. */ 991 /* Zero out our BSS section. */
992 set __bss_start , %o0 ! First address of BSS 992 set __bss_start , %o0 ! First address of BSS
993 set end , %o1 ! Last address of BSS 993 set _end , %o1 ! Last address of BSS
994 add %o0, 0x1, %o0 994 add %o0, 0x1, %o0
9951: 9951:
996 stb %g0, [%o0] 996 stb %g0, [%o0]
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S
index 59c8d090920c..76267085b13b 100644
--- a/arch/sparc/kernel/vmlinux.lds.S
+++ b/arch/sparc/kernel/vmlinux.lds.S
@@ -49,7 +49,6 @@ SECTIONS
49 *(.gnu.warning) 49 *(.gnu.warning)
50 } = 0 50 } = 0
51 _etext = .; 51 _etext = .;
52 PROVIDE (etext = .);
53 52
54 RO_DATA(PAGE_SIZE) 53 RO_DATA(PAGE_SIZE)
55 .data : { 54 .data : {
@@ -69,7 +68,6 @@ SECTIONS
69 } 68 }
70 /* End of data section */ 69 /* End of data section */
71 _edata = .; 70 _edata = .;
72 PROVIDE (edata = .);
73 71
74 /* init_task */ 72 /* init_task */
75 . = ALIGN(THREAD_SIZE); 73 . = ALIGN(THREAD_SIZE);
@@ -172,7 +170,6 @@ SECTIONS
172 *(COMMON) 170 *(COMMON)
173 } 171 }
174 _end = . ; 172 _end = . ;
175 PROVIDE (end = .);
176 173
177 /DISCARD/ : { 174 /DISCARD/ : {
178 EXIT_TEXT 175 EXIT_TEXT