Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PBC Object Files

8 views
Skip to first unread message

Michael Collins

unread,
Mar 17, 2003, 5:09:59 PM3/17/03
to perl6-i...@perl.org
Is there currently a specification for a pbc "object file" for linking and dynamic
loading?

By "object file" I guess mean a file that contains compiled instructions plus
a section with a table that maps subroutine/constant labels to their corresponding
byte offsets within the file.

If no, it might be useful.


Leopold Toetsch

unread,
Mar 18, 2003, 2:30:25 AM3/18/03
to mcol...@bestweb.net, perl6-i...@perl.org
Michael Collins wrote:

> Is there currently a specification for a pbc "object file" for linking and dynamic
> loading?


No, not yet. Packfile loading and some parrot guts still need more
cleanup for getting multiple bytecode sections running.


> By "object file" I guess mean a file that contains compiled instructions plus
> a section with a table that maps subroutine/constant labels to their corresponding
> byte offsets within the file.


Yep. The basic functionality is already there. But some internal
structures like constant and fixup table need some rework to do it
right. And of course we need some opcodes to load another PBC file.


> If no, it might be useful.

And needed.

leo

0 new messages