Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Konstantin Belousov
On Tue, Oct 30, 2018 at 03:32:40PM +, Alexander Richardson wrote: > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > wrote: > > > > > On 29. Oct 2018, at 22:08, Alex Richardson > > > wrote: > > > > > > Author: arichardson > > > Date: Mon Oct 29 21:08:02 2018 > > > New Revision: 339876 > > > UR

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Alexander Richardson
On Tue, 30 Oct 2018 at 10:17, Michael Tuexen wrote: > > > On 29. Oct 2018, at 22:08, Alex Richardson wrote: > > > > Author: arichardson > > Date: Mon Oct 29 21:08:02 2018 > > New Revision: 339876 > > URL: https://svnweb.freebsd.org/changeset/base/339876 > > > > Log: > > rtld: set obj->textsize c

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-10-30 Thread Michael Tuexen
> On 29. Oct 2018, at 22:08, Alex Richardson wrote: > > Author: arichardson > Date: Mon Oct 29 21:08:02 2018 > New Revision: 339876 > URL: https://svnweb.freebsd.org/changeset/base/339876 > > Log: > rtld: set obj->textsize correctly > > With lld-generated binaries the first PT_LOAD will usual

svn commit: r339876 - head/libexec/rtld-elf

2018-10-29 Thread Alex Richardson
Author: arichardson Date: Mon Oct 29 21:08:02 2018 New Revision: 339876 URL: https://svnweb.freebsd.org/changeset/base/339876 Log: rtld: set obj->textsize correctly With lld-generated binaries the first PT_LOAD will usually be a read-only segment unless you pass --no-rosegment. For those