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
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.
Cheers
Nick