Fix bug when generating REL type relocs for assembler generated build notes.
authorNick Clifton <nickc@redhat.com>
Mon, 1 Jul 2019 15:19:14 +0000 (16:19 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 1 Jul 2019 15:19:14 +0000 (16:19 +0100)
commit269b4ded72af1fa05236f866b518f05cf2d408a6
tree364bd497a51f1c4cec97e5a8488db3853aaa6b53
parent41be57caf36943d71ccc6ea70be27a4939399118
Fix bug when generating REL type relocs for assembler generated build notes.

PR 24748
* write.c (create_note_reloc): Add desc2_offset parameter.  Change
name of offset parameter to note_offset.  Only use desc2_offset
when placing addend into REL reloc's address space.
(maybe_generate_build_notes): Update parameters passed to
create_note_reloc.
gas/ChangeLog
gas/write.c