Dimitry Andric a1517e1182 Merge commit 189b7393d from llvm git (by John Baldwin):
[lld][RISCV] Use an e_flags of 0 if there are only binary input files.

  Summary:
  If none of the input files are ELF object files (for example, when
  generating an object file from a single binary input file via "-b
  binary"), use a fallback value for the ELF header flags instead of
  crashing with an assertion failure.

  Reviewers: MaskRay, ruiu, espindola

  Reviewed By: MaskRay, ruiu

  Subscribers: kevans, grimar, emaste, arichardson, asb, rbar,
  johnrusso, simoncook, sabuasal, niosHD, kito-cheng, shiva0217,
  zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o,
  rkruppe, PkmX, jocewei, psnobl, benna, Jim, lenary, s.egerton,
  pzheng, sameer.abuasal, apazos, luismarques, llvm-commits, jrtc27

  Tags: #llvm

  Differential Revision: https://reviews.llvm.org/D71101

This is a prerequisite for building and linking hard- and soft-float
riscv worlds with clang and lld.

Requested by:	jhb
MFC after:	1 week
X-MFC-With:	r353358
2020-01-03 20:29:54 +00:00
..
2019-02-26 05:59:22 +00:00
2018-12-23 01:05:52 +00:00
2019-08-11 06:26:03 +00:00
2018-10-20 20:49:46 +00:00
2019-11-18 04:22:04 +00:00
2019-11-01 11:28:43 +00:00
2019-06-29 18:41:40 +00:00
2019-12-31 00:05:06 +00:00
2019-12-21 21:05:53 +00:00
2019-09-01 16:41:24 +00:00
2019-11-07 18:06:44 +00:00
2019-11-20 19:43:34 +00:00
2019-12-09 17:58:22 +00:00
2019-05-08 11:04:09 +00:00
2019-02-25 18:41:16 +00:00
2019-11-20 23:56:20 +00:00
2019-11-03 01:25:46 +00:00
2019-12-21 21:02:50 +00:00
2019-09-12 00:19:16 +00:00
2019-12-31 15:50:41 +00:00
2019-08-22 18:52:30 +00:00