Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use LLVM Tools #1031
Pull Request Overview
At long last, this pull request removes the need for arm-none-eabi-gcc and instead uses the llvm tools (size, objcopy, and objdump).
This requires the nightly upgrade and the switch to lld, so it really needs to be viewed with just individual commits.
This pull request was tested by programming the kernel on hail.
TODO or Help Wanted
referenced this pull request
Jun 26, 2018
left a comment
I'd like to resolve the stack moving problem -- either via a temporary situation with stack padding while we work to improve LLD tools or finding a solution that doesn't require that -- before merging this.
I think allowing stack overflows to overwrite relocations is a pretty major regression.
Tested briefly by building for Hail and running, as well as looking at the section offsets in the ELF and binary file, but worth verifying with a few more apps.
Writing/editing linker files is not a one person job :) Excellent find.