[PATCH] D41735: Use uint64_t to store the ELF sh_entsize field.

Davis, Matthew via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 19:33:56 PST 2018


> From: Rafael Avila de Espindola [mailto:rafael.espindola at gmail.com]
> Sent: Friday, January 12, 2018 6:46 PM
> Subject: Re: [PATCH] D41735: Use uint64_t to store the ELF sh_entsize field.
> 
> Matt Davis via Phabricator via llvm-commits <llvm-commits at lists.llvm.org>
> writes:
> 
> > mattd added a comment.
> >
> > Ping.
> >
> > I'm not certain how helpful this change is, per some discussion on the list last
> week, this change implies that linkers can also support extremely large
> sh_entsize values.  The intention with this patch is to represent the same
> sh_entsize size used in elf.h for 64bit elfs.
> 
> Sorry, which linker supports this?

I don't know of any, but I haven't really looked.  I figured that if elf.h defined a 64bit sh_entsize then llvm's elf representation should too.

-Matt


More information about the llvm-commits mailing list