develooper Front page | perl.perl6.internals | Postings from August 2001

Re: Opcode Dispatch

Thread Previous | Thread Next
Dan Sugalski
August 6, 2001 17:17
Re: Opcode Dispatch
Message ID:
At 05:54 PM 8/6/2001 -0400, Uri Guttman wrote:
> >>>>> "DS" == Dan Sugalski <> writes:
>   DS> Perl bytecode will have three sections:
>   DS> 1) Fixup section. RW. This has all the real-address pointers and
>   DS> suchlike things stored in it. It will be abused as needed when
>   DS> 2) Constants section. RO. Holds constants. (I bet that was a
>   DS> 3) Instruction section. RO. Holds the actual bytecode. Everything
>   DS> here's position independent--it either refers to things relative
>and where does the op code dispatch table fit in? it has tobe updated at
>load time with the real address of the functions. is this part of the
>fixup section? and what about maps for any dynamic libs (inline or XS to

Yes, and yes.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai                         have teddy bears and even
                                      teddy bears get drunk

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About