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.
hi,
i am linking my osloader with ld but the loader makes a wrong call.
how could i order ld to give me the adresses of the funktions in the .obj files to compare them with the resulting binary-file?
Since you did not say what operating system you were using I will give you the linux example. You also said object files so passing the map file option to the linker would not do exactly what you want. So:
You should check wether you are using an absolute call or not. (you are probably not) run bochs' debugger to see wether the call points to the location you expect it to be.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]