diff options
author | Alan Modra <amodra@gmail.com> | 2021-08-25 20:24:18 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-09-18 08:20:11 +0930 |
commit | 2cc9ed14fae1b288bbdbd9b102b2cbc9a29bf348 (patch) | |
tree | ecfc23a51fb6bdf6f6e894f391b4f6d26a3a03e9 /.gitignore | |
parent | 54721a930e80a635d3cb47c0ad3899ed9680bd78 (diff) | |
download | gdb-2cc9ed14fae1b288bbdbd9b102b2cbc9a29bf348.zip gdb-2cc9ed14fae1b288bbdbd9b102b2cbc9a29bf348.tar.gz gdb-2cc9ed14fae1b288bbdbd9b102b2cbc9a29bf348.tar.bz2 |
[GOLD] Output_data_got create entry method addends
This patch makes all the Output_data_got methods that create new
entries accept an optional addend.
PR 28192
* output.h (Output_data_got::add_global): Add optional addend
parameter. Update comment. Delete overload without addend.
(Output_data_got::add_global_plt): Likewise.
(Output_data_got::add_global_tls): Likewise.
(Output_data_got::add_global_with_rel): Likewise.
(Output_data_got::add_global_pair_with_rel): Likewise.
(Output_data_got::add_local_plt): Likewise.
(Output_data_got::add_local_tls): Likewise.
(Output_data_got::add_local_tls_pair): Likewise.
(Output_data_got::reserve_local): Likewise.
(Output_data_got::reserve_global): Likewise.
(Output_data_got::Got_entry): Include addend in global sym
constructor. Delete local sym constructor without addend.
* output.cc (Output_data_got::add_global): Add addend param,
pass to got handling methods.
(Output_data_got::add_global_plt): Likewise.
(Output_data_got::add_global_with_rel): Likewise.
(Output_data_got::add_global_pair_with_rel): Likewise.
(Output_data_got::add_local_plt): Likewise.
(Output_data_got::add_local_tls_pair): Likewise.
(Output_data_got::reserve_local): Likewise.
(Output_data_got::reserve_global): Likewise.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions