Plan 9 from Bell Labs’s /usr/web/sources/patch/applied/vl-elf-endian/readme

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


This fixes ELF-header generation in 0l/vl so that the early
parts of the header are byte-order-independent and the later
parts are in the target byte order.  I believe the alignment
claims made by the header are more accurate, too.

This has been tested for little-endian targets only, but produces
ELFs which are loadable by the Simics system simulator and which
"make sense" to readelf and objdump.

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].