[roll] Roll fuchsia [elfldltl] Refactor segment-loading in VmarLoader

This separates much-simpler read-only case from the others, using
just a trivial Map wrapper for that trivial case.

MapFileData is replaced with MapWritable, which handles only the
writable (COW clone creation) case.  Both it and MapZeroFill use
constant flags for R/W page permissions, which are always what
writable segments use.

Error messages for mapping failures include the address or
file offset, which can be matched up with PT_LOAD details to
see exactly which segment failed to load.

Original-Bug: 91206
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/785766
Original-Revision: e831cc4a837bdebf229d1bc973f5d8fa24c82b39
GitOrigin-RevId: 9e3439ca04e17026033390b5c9b84df1310a015e
Change-Id: I165c6ae58291f0658ef03f3017d0db820c988157
1 file changed
tree: 4312375771433d9625d3575c0050e53d967ffdbb
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.