[PATCH] Fix sim/testsuite/bpf due to linker warnings
Guillermo E. Martinez
guillermo.e.martinez@oracle.com
Wed Jan 4 17:24:17 GMT 2023
Hello Mike,
On Wed, Jan 04, 2023 at 02:02:26AM -0500, Mike Frysinger wrote:
> On 03 Jan 2023 22:12, Guillermo E. Martinez via Binutils wrote:
> > Hello,
> >
> > This patch is meant to fix bug:
> > https://sourceware.org/bugzilla/show_bug.cgi?id=29954
> >
> > Please let know your thoughts. I'll really appreciate them!,
> > guillermo
> >
> > --
> >
> > On a bpf-*-* testsuite fails:
> > ./ld/ld-new: warning: test has a LOAD segment with RWX permissions
> >
> > Adding `--no-warn-rwx-segments' option to linker and set `--memory-size=10Mb'
> > to the simulator bpf testsuite passes.
> >
> > Tested on bpf-*-*:
> >
> > Bug 29954: https://sourceware.org/bugzilla/show_bug.cgi?id=29954
>
> i thought increasing the memory was sufficient to not need the -Ttext=0x0,
> and the -Ttext=0x0 was the only reason we were triggering RWX warnings. so
> do we still need --no-warn-rwx-segments ?
> -mike
Oh, that's right thanks for pointing out it, I'll send patch-v2.
thanks,
guillermo
More information about the Binutils
mailing list