Hi Mathew, On Thursday 02 September 2010 13:52:32 you wrote: > Thanks for the help. I have made quite a few changes to adapt pico to > the plan9 compiler. I don't think there is a compiler flag that let me > align addresses. I have to search further or repeat the changes in the > bigpico and try to compile that. Anyway, have to wait till I get a > comfortable weekend or the next holiday. :-)
I think you could create a C program that reads symbols & their values from a compiled (and possibly linked) executable and writes a new executable with functions aligned `by hand' to desired value. There is a bunch of functions in http://plan9.bell-labs.com/magic/man2html/2/symbol http://plan9.bell-labs.com/magic/man2html/2/object and http://plan9.bell-labs.com/magic/man2html/2/mach which let you read and write symbols from & to files. BTW., great initiative, to have picoLisp ported to P9 :) Cheers, -- Mateusz Jan Przybylski ``One can't proceed from the informal to the formal by formal means.'' -- UNSUBSCRIBE: mailto:[email protected]?subject=unsubscribe
