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>
This commit is contained in:
committed by
David S. Miller
parent
b74e34dbde
commit
86ed40bd6f
@@ -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]
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user