This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

loader/linker for object code


given a binary, b and a function in obj.c that only depends on symbols in b:

$ gcc -c obj.c

It seems reasonable that b could:
 - load obj.o with mmap()
 - relocate obj code
 - resolve symbols using b exports
 - call the function in obj.o

is there a loader out there that does this?  or should I poke about in
binutils to find the secrets?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]