GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - matiashr/elfloader: elfloader

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
libexample
libexample
 
 
nonlibexample
nonlibexample
 
 
README.md
README.md
 
 
doc.txt
doc.txt
 
 
elf.h
elf.h
 
 
loader.c
loader.c
 
 

Repository files navigation

elfloader

This is an attempt to implement a elfloader for chibios( or actually any OS/osless) for ARM. Im using a stm32F4 discovery board to develop this.

To build a dynamic linked program, one needs to have a library to link against, this could be accomplished by compiling chibios as a lib, and linking it with the application.

But for simplicity (or stupidity) ive created a sample lib (shared library with dummy functions, intention is only to have the symbols) I then link the application with with this lib. During loading, I will then resolv the symbols to their correct locations, thus the "dummy" library will never be used. This could ofcourse be done better later.

in the loader the resolver corrently uses hardcoded symbols, pstr(), listTasks(), this means that only these symbols will resolv, later a real symboltable should be included in the OS.

Currently it seems that a static binary can be loaded and called, only tested one example, it's in nonlibexample directory this example will load and can be executed, but this is ofcourse not enough as static linking would case a very large binary

About

elfloader

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.