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

Commit 0a699af8 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

x86-32: move _end to a dummy section



Impact: build fix with CONFIG_RELOCATABLE

Move _end into a dummy section, so that relocs.c will know it is a
relocatable symbol.

Signed-off-by: default avatarH. Peter Anvin <hpa@linux.intel.com>
Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
parent 704439dd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -199,7 +199,9 @@ SECTIONS
	__brk_limit = . ;
  }

  .end : AT(ADDR(.end) - LOAD_OFFSET) {
	_end = . ;
  }

  /* Sections to be discarded */
  /DISCARD/ : {