ELF and SO Dynamic Linking

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

ELF and SO Dynamic Linking

Post by Jeko »

I need some source code about ELF loading and SO dynamic linking.

Have you anything?
Thanks!
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Have you read the ELF specification?
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post by Jeko »

JamesM wrote:Have you read the ELF specification?
yes, sure. If I don't read specifications, I don't ask.
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post by Jeko »

JamesM wrote:Have you read the ELF specification?
yes, sure. If I don't read specifications, I don't ask.
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post by Jeko »

JamesM wrote:Have you read the ELF specification?
yes, sure. Until I read specifications, I don't ask.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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]
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post 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).
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post by Jeko »

There isn't any simple source code for this?
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post 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.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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]
Post Reply