flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Programming Language Design > How does dynamic linking work in other "linkers" than FASM?

Author
Thread Post new topic Reply to topic
Memnarch



Joined: 13 Mar 2012
Posts: 7
How does dynamic linking work in other "linkers" than FASM?
Hi,
OK i know FASM is not a pure linker, but i wen't a bit out of space in the Title.
Given the following case, i have:
A.dll, exports Foo
B.dll, exports Foo
I want to link Bar.exe against both functions.

In FASM this is quite simple by specifying the IDATA-Section. However, how is this case resolved for linkers like in MSVC and LLVM? Those always need importlibraries(which you'd need to create on the fly if you don't have them).
Would you simply create 2 importlibraries on the fly for A/B which define aliases for the functions and use those aliases inside Bar.exe?

In the end, it ends in the IDATA-Section, too. But the route is different.

Greetings
Memnarch
Post 20 Sep 2017, 06:24
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.