Understanding sections header of ARM ELF binary file

We written simple helloworld.c and compiled using ARM gcc toolchain to generate executable file helloworld now in this post, we will understand what are the sections added to this ELF binary generated. The ELF header sections can be printed using readelf arm toolchain binary as, The Third Column in this header comes from linker script … Read more

Solved: compilation error for ARM toolchain “undefined reference to `_exit'”

Our ARM toolchain was extracted at “/home/devlab/Desktop/helloworld/assembly/gcc-arm-none-eabi-10-2020-q4-major/” hence lets first try to add this toolchain to terminal path as, Now, we had written simple helloworld.c program, which we tried to compile as, But we got the compilation error as, Solution This error can be solved by adding “–specs=nosys.specs” at the end of the command as, … Read more

How to cross compile Busybox

BusyBox combines tiny versions of many common UNIX utilities / commands into a single small executable. It provides minimalist replacements for most of the utilities you usually find in GNU coreutils, util-linux, etc. The utilities in BusyBox generally have fewer options than their full-featured GNU cousins. Following steps helps to cross compile Busybox to a … Read more