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

Commit e181127a authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Add a .bss.page_aligned section for 4K stacks.



Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent aab1b16a
Loading
Loading
Loading
Loading
+8 −8
Original line number Original line Diff line number Diff line
@@ -103,14 +103,14 @@ SECTIONS
  __machvec_end = .;
  __machvec_end = .;


  . = ALIGN(PAGE_SIZE);
  . = ALIGN(PAGE_SIZE);
  .bss : {
	__init_end = .;
	__init_end = .;

  . = ALIGN(4);
	__bss_start = .;		/* BSS */
	__bss_start = .;		/* BSS */
  .bss : { *(.bss) }
  	*(.bss.page_aligned)

  	*(.bss)
	. = ALIGN(4);
	. = ALIGN(4);
	_end = . ;
	_end = . ;
  }


  /* When something in the kernel is NOT compiled as a module, the
  /* When something in the kernel is NOT compiled as a module, the
   * module cleanup code and data are put into these segments.  Both
   * module cleanup code and data are put into these segments.  Both