[Mono-dev] Building Mono on Linux/Alpha

Sergey Tikhonov tsv at solvo.ru
Thu Feb 16 04:11:05 EST 2006


Hello,

I made some progress, but still need help. :)
Working with ICONSTs on Alpha is real pain. I would like to do the 
following:
- allocate some memory at the end of method and store ICONSTs there
- use some of the registers to hold base address of that memory
- load ICONSTs from that memory using offsets from the base
Kind of local GOT section for a method. I can put addresses for CALLs 
there too
(doing patching of these addresses is not big issue - I won't need to 
know structure of instructions).
I need some clues how to do it, because the size of that GOT section is 
not know in advance and
allocation of GOT entries is done in mono_arch_output_basic_block and 
others. I need some
arch callback method that is called at the end of method compilation, so 
I write my collected local
GOT section and determine offset to it from the begining of compiled method.

Thank you,

-- 
Sergey Tikhonov
Solvo Ltd.
tsv at solvo.ru




More information about the Mono-devel-list mailing list