Page 1 of 1

ELF and SO Dynamic Linking

Posted: Mon Feb 18, 2008 9:18 am
by Jeko
I need some source code about ELF loading and SO dynamic linking.

Have you anything?
Thanks!

Posted: Mon Feb 18, 2008 10:16 am
by JamesM
Have you read the ELF specification?

Posted: Mon Feb 18, 2008 10:30 am
by Jeko
JamesM wrote:Have you read the ELF specification?
yes, sure. If I don't read specifications, I don't ask.

Posted: Mon Feb 18, 2008 10:30 am
by Jeko
JamesM wrote:Have you read the ELF specification?
yes, sure. If I don't read specifications, I don't ask.

Posted: Mon Feb 18, 2008 10:32 am
by Jeko
JamesM wrote:Have you read the ELF specification?
yes, sure. Until I read specifications, I don't ask.

Posted: Mon Feb 18, 2008 10:34 am
by AJ
Hi,

There is a topic about this on page 1 of the OS Development forum at the moment (about SO's) and there have been several ELF topics discussed on the forum recently, including code snippets.

Cheers,
Adam

[edit]...and why have you posted the same response to JamesM on this forum 3 times, one with a slight change of wording?[/edit]

Posted: Tue Feb 19, 2008 12:18 pm
by Jeko
AJ wrote:Hi,

There is a topic about this on page 1 of the OS Development forum at the moment (about SO's) and there have been several ELF topics discussed on the forum recently, including code snippets.

Cheers,
Adam

[edit]...and why have you posted the same response to JamesM on this forum 3 times, one with a slight change of wording?[/edit]
Ok. Could you post the link to this topic?

Sorry for my multiple posts, it's due to my internet connection (It's a long story).

Posted: Thu Feb 21, 2008 8:10 am
by Jeko
There isn't any simple source code for this?

Posted: Thu Feb 21, 2008 8:16 am
by JamesM
Yes - there's simple source code. Do send me a link to it when you write it, because I can't be bothered to learn for myself.

Thanks.

Posted: Thu Feb 21, 2008 8:21 am
by AJ
Hi,

I was going to ignore this, but as you've bumped your post:

1. Please search the forums for the topic. Firstly, there is a search function and secondly, if I mention that this topic appears on page 1, you can look through the titles and find the topic. Even by now, it can't be any further than page 2-3 of this forum.

2. Once you get to a certain point of OS development, you'll find the tutorials and spoon-fed code stops. You are better of reading the documentation and asking a specific question if you don't understand something (and if it hasn't been discussed on the forum a few days before).

3. Have you tried other sources such as the wiki and the web? I suspect not, since a Google search of "ELF relocation shared objects" gave me a pretty good link as the first hit.

All of the above means: "Don't expect someone else to do the legwork for you."

Cheers,
Adam

[edit]damn - too slow. perhaps I should stick to one-line answers![/edit]