gold: Increment plt_offset after setting TLSDESC PLT entry
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 May 2020 16:00:14 +0000 (09:00 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 May 2020 16:00:27 +0000 (09:00 -0700)
commit48bc218262da3784dd5258b774832d6b36afcf93
treeb5bad0b9fe86517bd7f618014e8ce5551e4e1538
parente977e74712cf8df6ff44ead0a5c0ffd3cb9aa065
gold: Increment plt_offset after setting TLSDESC PLT entry

Increment plt_offset after setting the reserved TLSDESC PLT entry.

PR gold/25872
* x86_64.cc (Output_data_plt_x86_64_bnd::do_write): Increment
plt_offset after setting the reserved TLSDESC PLT entry.
(Output_data_plt_x86_64_ibt<size>::do_write): Likewise.
gold/ChangeLog
gold/x86_64.cc