freebsd-dev/sys/tools
Ed Maste 2dd51e16ca embed_mfs: support embedding mfs into loader
The script originally supported embedding an mfs into ELF files or any
other type of file, because it searched for magic strings to mark the
beginning and end of the embeddable section. It was later modified to
read the section offset and length via readelf, which made it work for
ELF only. Restore the ability to update arbitrary file types by using
the readelf technique for ELF, and the magic string technique for all
others (including PE/COFF files like loader.efi).

Submitted by:	Zakary Nafziger <worldofzak@gmail.com>
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12746
2017-12-19 19:44:06 +00:00
..
fdt sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
sound sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
acpi_quirks2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
bus_macro.sh sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
embed_mfs.sh embed_mfs: support embedding mfs into loader 2017-12-19 19:44:06 +00:00
fw_stub.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
makeobjops.awk sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
miidevs2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
pccarddevs2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
usbdevs2h.awk sys: general adoption of SPDX licensing ID tags. 2017-11-27 15:23:17 +00:00
vnode_if.awk sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00