| commit | e69fbecd355bf860f4bf165fb83abb354e513fa8 | [log] [tgz] |
|---|---|---|
| author | Manoj Gupta <[email protected]> | Fri Sep 20 18:47:52 2019 |
| committer | Manoj Gupta <[email protected]> | Tue Sep 24 23:05:51 2019 |
| tree | 5dc2522a0362afc0478513116e6f09f15efb9986 | |
| parent | 97f36acc1fe9732aa033fca55dd3baac8f3ceb48 [diff] |
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]>