Re: dynamic linker change to handle multiple PT_LOAD segments

2023-01-15 Thread PHO
On 1/6/23 1:53 AM, Christos Zoulas wrote: > Our dynamic linker ld_elf.so in map_object.c currently can only handle 2 PT_LOAD segments (one for text and one for data); the kernel elf loader does not have this limitation, it can load multiple PT_LOAD segment. The following patch (from FreeBSD)

Re: dynamic linker change to handle multiple PT_LOAD segments

2023-01-05 Thread Christos Zoulas
In article <3cf2e88d-1262-419d-bfcf-c11599e2b...@me.com>, Jason Thorpe wrote: > >> On Jan 5, 2023, at 8:53 AM, Christos Zoulas wrote: >> >> Hello, >> >> Our dynamic linker ld_elf.so in map_object.c currently can only handle >2 PT_LOAD segments (one for text and one for data); the kernel elf

Re: dynamic linker change to handle multiple PT_LOAD segments

2023-01-05 Thread Jason Thorpe
> On Jan 5, 2023, at 8:53 AM, Christos Zoulas wrote: > > Hello, > > Our dynamic linker ld_elf.so in map_object.c currently can only handle 2 > PT_LOAD segments (one for text and one for data); the kernel elf loader does > not have this limitation, it can load multiple PT_LOAD segment. The

dynamic linker change to handle multiple PT_LOAD segments

2023-01-05 Thread Christos Zoulas
Hello, Our dynamic linker ld_elf.so in map_object.c currently can only handle 2 PT_LOAD segments (one for text and one for data); the kernel elf loader does not have this limitation, it can load multiple PT_LOAD segment. The following patch (from FreeBSD) removes this limitation from the