diff options
author | Alan Modra <amodra@gmail.com> | 2019-06-28 10:17:45 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-06-28 10:17:45 +0930 |
commit | f073a3e8c6735bd8fc24d35a957d8944087ea367 (patch) | |
tree | 3438e59b4a39f85c9939e17004f32804fc0ae6ae /gold/ChangeLog | |
parent | c432bbbaaa072438e6303b819bdcb4289c2b22e0 (diff) | |
download | gdb-f073a3e8c6735bd8fc24d35a957d8944087ea367.zip gdb-f073a3e8c6735bd8fc24d35a957d8944087ea367.tar.gz gdb-f073a3e8c6735bd8fc24d35a957d8944087ea367.tar.bz2 |
[GOLD] PowerPC linkage table error
This fixes a segfault when attempring to output a "linkage table
error". "object" is only non-NULL in the local symbol case.
* powerpc.cc (Stub_table::plt_error): New function.
(Stub_table::do_write): Use it.
(Output_data_glink::do_write): Don't segfault emitting linkage
table error.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 955e556..225a85c 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,12 @@ 2019-06-28 Alan Modra <amodra@gmail.com> + * powerpc.cc (Stub_table::plt_error): New function. + (Stub_table::do_write): Use it. + (Output_data_glink::do_write): Don't segfault emitting linkage + table error. + +2019-06-28 Alan Modra <amodra@gmail.com> + * powerpc.cc (Target_powerpc::Scan::get_reference_flags): Handle REL16_HIGH* relocs. (Target_powerpc::Scan::local): Likewise. |