[PATCH 3/3] ELF: Add testcases for PR ld/23658
Nick Clifton
nickc@redhat.com
Wed Oct 3 14:29:00 GMT 2018
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
More information about the Binutils
mailing list