[oi-dev] mapfile and RESERVE_SEGMENT or CAPABILITY

Richard Lowe richlowe at richlowe.net
Mon Aug 9 21:03:04 UTC 2021


It's been so long I honestly don't remember right now, but it or V look
right (ignoring the documentation, for now).  You should be able to check
it was created using elfdump -p

-- Rich

On Mon, Aug 9, 2021, 01:34 Carsten Grzemba via oi-dev <
oi-dev at openindiana.org> wrote:

>
>
> Am 08.08.21 23:46 schrieb *Richard Lowe * <richlowe at richlowe.net>:
>
> We haven't added RESERVE_SEGMENT yet, though it would be fairly easy to do
> I think.
> You can do the same thing in the v1 syntax though, using the ?E flag to
> say it's empty.
>
> ------------------------------
>
> I try to translate the mapfile version 2 to version 1
> version 2;
>
> RESERVE_SEGMENT spidermonkey_reserve {
>         VADDR = 0x800000000000;
>         SIZE = 0xffff7fffffff0000;
>  };
>
> Is the following correct in version = 1?
>
> spidermonkey_reserve = LOAD A0x800000000000 L0xffff7fffffff0000 ?E;
>
> The documentation mentions virtual_address (V) is not usabel for userland
> bins but alligment (A) seems to have an other meaning here.
> I am wrong?
> --
> Carsten
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20210809/672fc255/attachment.html>


More information about the oi-dev mailing list