* Sergey Bugaev:

> We could define EXEC_PAGESIZE to some conservative value on
> aarch64-gnu too, if it turns out that this little workaround is really
> required. But it seems cleaner to make sure we don't need to, as
> Roland's email suggests, and introducing a new port that doesn't have
> a fixed page size (and doesn't come with an EXEC_PAGESIZE value
> already defined in kernel headers) seems to be a good opportunity to
> do that. That's my reasoning here.

But the ELF image must be laid out with certain expectations regarding
the maximum support page size.  Otherwise, something (kernel or dynamic
linker) needs to perform copies or upgrade conflicting permissions
within one page to a superset of all permissions.  I don't think we have
code for that today, and we wouldn't necessarily want to implement that,
I think.

Thanks,
Florian


Reply via email to