Commit: Fix note generation relocs
Nick Clifton
nickc@redhat.com
Fri Jul 13 16:30:00 GMT 2018
Hi H.J.
>> * write.c (maybe_generate_build_notes): Bias reloc offsets by the
>> number of notes already generated.
> A testcase?
Thanks for reminding me. I am applying the attached patch to add a testcase.
Cheers
Nick
gas/ChangeLog
2018-07-13 Nick Clifton <nickc@redhat.com>
* testsuite/gas/elf/missing-build-notes.s: New test. Checks that
relocs are correctly generated for missing build notes.
* testsuite/gas/elf/missing-build-notes.d: New file. Expected
output from objdump.
* testsuite/gas/elf/elf.exp: Run the new test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: missing.patch
Type: text/x-patch
Size: 1120 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20180713/0b57746a/attachment.bin>
More information about the Binutils
mailing list