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: [patches] Re: [PATCH 2/2] RISC-V: Merge ELF attribute for ld


On Fri, 21 Dec 2018, Kito Cheng wrote:

> > PT_RISCV_ATTRIBUTES should be in the riscv-elf-psabi-doc pull request
> >
> > Do we really need PT_RISCV_ATTRIBUTES? The ARM port doesn't have one.  It
> > doesn't appear that any other target has one either.  This seems unnecessary.
> 
> PT_RISCV_ATTRIBUTES was used in linux kernel for easier find attribute
> section, it can just parse program header instead of section headers.
> 
> That's a mechanism to check ELF executable is safe to execute, however it was
> not accepted by most other guys at Linux Plumbers Conference 2018[1],
> so I'll remove that until community have consensus on that.

 Hmm, an ELF exexutable or DSO is not required to have section headers, as 
these structures are not meant to be used for program loading, so what was 
the alternative proposed by the opposing party?

  Maciej


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