linker: remove TEXT_START macro

There is exactly one function being defined with TEXT_START
macro so the x86-32 __start can appear at the beginning of
text section. Since no one else is using it, better remove
TEXT_START to simplify things.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-02-22 13:21:00 -08:00 committed by Kumar Gala
commit af49ec0277
3 changed files with 2 additions and 8 deletions

View file

@ -109,8 +109,7 @@ SECTIONS
#include <snippets-rom-start.ld>
/* Needs KEEP() as ENTRY() is given a physical address */
KEEP(*(.text_start))
KEEP(*(".text_start.*"))
KEEP(*(.text.__start))
*(.text)
*(".text.*")
*(.gnu.linkonce.t.*)