Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc061051 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven
Browse files

m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop}



BSS_SECTION() provides the __bss_{start,stop} symbols, so there's no need
to wrap our own _[se]bss around it.

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarGreg <Ungerer&lt;gerg@uclinux.org>
parent 363737d6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3,6 +3,4 @@

#include <asm-generic/sections.h>

extern char _sbss[], _ebss[];

#endif /* _ASM_M68K_SECTIONS_H */
+2 −2
Original line number Diff line number Diff line
@@ -219,9 +219,9 @@ void __init setup_arch(char **cmdline_p)
#endif

	pr_debug("KERNEL -> TEXT=0x%p-0x%p DATA=0x%p-0x%p BSS=0x%p-0x%p\n",
		 _stext, _etext, _sdata, _edata, _sbss, _ebss);
		 _stext, _etext, _sdata, _edata, __bss_start, __bss_stop);
	pr_debug("MEMORY -> ROMFS=0x%p-0x%06lx MEM=0x%06lx-0x%06lx\n ",
		 _ebss, memory_start, memory_start, memory_end);
		 __bss_stop, memory_start, memory_start, memory_end);

	/* Keep a copy of command line */
	*cmdline_p = &command_line[0];
+0 −2
Original line number Diff line number Diff line
@@ -78,9 +78,7 @@ SECTIONS {
		__init_end = .;
	}

	_sbss = .;
	BSS_SECTION(0, 0, 0)
	_ebss = .;

	_end = .;

+0 −2
Original line number Diff line number Diff line
@@ -31,9 +31,7 @@ SECTIONS

  RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE)

  _sbss = .;
  BSS_SECTION(0, 0, 0)
  _ebss = .;

  _edata = .;			/* End of data section */

+0 −2
Original line number Diff line number Diff line
@@ -44,9 +44,7 @@ __init_begin = .;
	. = ALIGN(PAGE_SIZE);
	__init_end = .;

  _sbss = .;
  BSS_SECTION(0, 0, 0)
  _ebss = .;

  _end = . ;

Loading