tynet-lichat/shirakumo - IRC Chatlog
Search
19:25:24
Colleen
this is not a GC managed space but is irrelevant because immobile text space never moves
19:25:24
karlosz
this is not a GC managed space but is irrelevant because immobile text space never moves
19:27:04
Colleen
so the object that looks like #<FUNCTION FOO> in sbcl is really just a header + entry point into the code object containing FOO
19:27:04
karlosz
so the object that looks like #<FUNCTION FOO> in sbcl is really just a header + entry point into the code object containing FOO
19:27:17
Colleen
the problem right now is that these 2 word objects are currently embedded in the code objects themselves
19:27:17
karlosz
the problem right now is that these 2 word objects are currently embedded in the code objects themselves
19:27:46
Colleen
which is a problem because it's impossible to fill in the second word of those objects without text relocation
19:27:46
karlosz
which is a problem because it's impossible to fill in the second word of those objects without text relocation
19:28:10
Colleen
the code section gets loaded into a random address, how do you initialize that entry point word?
19:28:10
karlosz
the code section gets loaded into a random address, how do you initialize that entry point word?
19:29:06
Colleen
so the idea is to make a .bss section and copy the embedded simple funs there so you can actually figure out where the entry points are and initialize them after the code section has been loaded and you acutally know the address of the text section
19:29:06
karlosz
so the idea is to make a .bss section and copy the embedded simple funs there so you can actually figure out where the entry points are and initialize them after the code section has been loaded and you acutally know the address of the text section
19:29:22
shinmera
Sorry for the confusion, I thought this was related to the data having to be mapped at a fixed address.