Skip to content

lecopzer/minimal-arm-elf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

I write a program byte by byte. This helps us understand how ELF is constructed and the way to relocate outer symbols.

main.c: Basic ELF construction, is only an empty program return 0.

hello_world.c: Advanced to relocating symbol such as printf by linker.

Prerequest

arm-linux-gnueabihf-gcc
qemu-arm
arm-linux-gnueabihf library

Ref

http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html
https://github.com/mydzor/tinyelf-arm

About

Byte by byte generate an executable elf for arm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published