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 <manojgupta@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Manoj Gupta <manojgupta@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
1 file changed
tree: 5dc2522a0362afc0478513116e6f09f15efb9986
  1. bootstub.c
  2. LICENSE
  3. Makefile
  4. OWNERS
  5. README.chromium
  6. trampoline.S