Reserving a bit in ELF segment flags for huge page mappings

Cary Coutant ccoutant@google.com
Tue Jul 24 20:40:00 GMT 2012


>   To do this, I would like to reserve a bit in the segment flags to
> indicate that this segment is to be mapped to huge pages if possible.
> Can I reserve something like a PF_LARGE_PAGE bit?

HP-UX has a PF_HP_PAGE_SIZE (0x00100000) bit that says "Segment should
be mapped with page size specified in p_align field".

-cary



More information about the Binutils mailing list