Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/libmach-elf/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Russ, this code works with the files that jmk sent me, which
appear to be in the same format as those spit out by vl -H5.
It is a major departure from how the code used to work, though.
Previously it would load up elf sections by name using the
SHDRs and string table.  The vl -H5 files and the files jmk sent
me do not have this information.  So the result is libmach can
load up the vl -H5 files with this patch, but probably can no
longer load up some elf files that it previously was capable of
loading.
If you would prefer keeping the old functionality rather than the
vl ELF file support, I can fix up the endian issues if someone
provides me with the appropriate Irix elf files to test against.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].