This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Reserving a bit in ELF segment flags for huge page mappings


On Tue, Jul 24, 2012 at 1:40 PM, Cary Coutant <ccoutant@google.com> wrote:
>>   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".

Ok to define PF_LINUX_PAGE_SIZE similarly, same bit (0x00100000) ? I
want this to be a hint to the loader.

Thanks,
-Sri.

>
> -cary


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]