tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [RFC/WIP PATCH] [ld.elf_so] Support ELF files with number of segments != 2



On Sun, 2019-01-06 at 22:28 +0100, Joerg Sonnenberger wrote:
> On Sun, Jan 06, 2019 at 10:25:19PM +0100, Michał Górny wrote:
> > Update the mapping code to support ELF files that do not follow strictly
> > the layout used by GNU ld on NetBSD.  In particular, allow up to 3
> > segments, and do not rely on specific order.
> 
> Please leave it alone for now. I'm working on fixing it properly and
> this is a step in the wrong direction.
> 

Are you saying that switching from hardcoded assumptions to processing
segments in loop is the wrong direction?  What is the correct direction
then?

-- 
Best regards,
Michał Górny

Attachment: signature.asc
Description: This is a digitally signed message part



Home | Main Index | Thread Index | Old Index