Skip to content
This repository has been archived by the owner on May 12, 2023. It is now read-only.

Milestone #1 - Tiny Clear Elf on ARM, MIPS, PowerPC, and S390x #3

Closed
12 tasks done
eliminmax opened this issue Dec 18, 2022 · 0 comments
Closed
12 tasks done

Milestone #1 - Tiny Clear Elf on ARM, MIPS, PowerPC, and S390x #3

eliminmax opened this issue Dec 18, 2022 · 0 comments

Comments

@eliminmax
Copy link
Owner

eliminmax commented Dec 18, 2022

Implement tiny-clear-elf binaries for the 6 or 7* remaining architectures planned. tiny-clear-elf binaries are defined as follows:

  • ELF executables with properly-structured ELF header and Phdr, but no section header, made in the vi-like hed hex editor
  • less than 256 bytes, assuming that's possible within the constraints of the architecture, otherwise as small as possible.
  • only makes 2 Linux syscalls, one of which writes "␛[H␛[J␛3J" to STDOUT, and the other exiting with error code 0. No extra functionality, and no parsing of arguments

* armhf and armel are technically the same architecture, but armhf can take advantage built-in support for hardware floating point calculations, which not all arm processors have. Debian has separate repository architectures for the two, and I took my list of architectures to target from the list of architectures that the current stable release supports. The same binary will be used for both in this project, because I don't see how the write and exit syscalls would need to deal with floats.

  • Kickoff meeting
  • Week 1 work
    • armel/armhf implementation
    • aarch64 implementation
  • Week 2 work
    • ppc64el implementation
    • s390x implementation
  • Week 3 work
    • mips64el implementation
    • mipsel implementation
  • Demo
    • run binaries with QEMU and binfmt_misc
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Development

No branches or pull requests

1 participant