This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 3/3] ELF: Add testcases for PR ld/23658
On Wed, Oct 3, 2018 at 7:29 AM Nick Clifton <nickc@redhat.com> wrote:
>
> Hi H.J.
>
> >> Is the build-id note necessary ? You could check note segment assignment
> >> without it...
> >
> > This test checks if the .note.gnu.build-id section is properly handled.
>
> But you could easily have two tests. One which checks that .note.gnu.build-id
> is handled properly, but which will not run on targets which do not support the
> generation of build-ids. Then you could have a second test, which would run
> for all (ELF) targets, which does not use --build-id, but which does still check
> that similarly aligned notes are combined and placed into properly aligned segments.
The reason why these targets are skipped is that they use generic
linker, not ELF
linker. This test is irrelevant for these targets.
--
H.J.