bootstub: Add "-znotext" flag.

LLD complains when linking bootstub because
of text relocations in trampoline.S file.
BFD also produces same error if "-ztext" is passed to the linker.

To match the currently expected behavior, pass "-znotext" to linker
flags.

BUG=chromium:1005468
BUG=chromium:1006338

TEST=No functional change yet.

Change-Id: If570b7c260d2bc3cd93e2656195c0509638a7650
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/bootstub/+/1816984
Tested-by: Manoj Gupta <[email protected]>
Reviewed-by: Julius Werner <[email protected]>
Reviewed-by: Mike Frysinger <[email protected]>
Commit-Queue: Manoj Gupta <[email protected]>
Legacy-Commit-Queue: Commit Bot <[email protected]>
1 file changed
tree: 5dc2522a0362afc0478513116e6f09f15efb9986
  1. bootstub.c
  2. LICENSE
  3. Makefile
  4. OWNERS
  5. README.chromium
  6. trampoline.S