summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel
diff options
context:
space:
mode:
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 51b4042..f0b4b51 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 59c8d09..7626708 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
OpenPOWER on IntegriCloud