binutils-gdb/elfcpp
Alan Modra eb97d02405 [GOLD] PowerPC64 @notoc in non-power10 code
Gold version of commit 7aba54da42.

elfcpp/
	* powerpc.h (R_PPC64_REL24_P9NOTOC): Define.
gold/
	* powerpc.cc (Target_powerpc::maybe_skip_tls_get_addr_call,
	is_branch_reloc, max_branch_delta): Handle R_PPC64_REL24_P9NOTOC.
	(Target_powerpc::Branch_info::make_stub): Likewise.
	(struct Plt_stub_ent): Add p9notoc_, p9off_, tsize_.
	(struct Branch_stub_ent): Add p9notoc_, p9off_.
	(Stub_table::add_plt_call_entry): Handle R_PPC64_REL24_P9NOTOC.
	(Stub_table::add_long_branch_entry): Likewise.
	(Stub_table::add_eh_frame): Likewise.
	(Stub_table::plt_call_size): Return aligned size.  Adjust callers.
	Handle p9notoc_ sizing.
	(Stub_table::do_write): Write out p9notoc_ stubs.
	(Target_powerpc::Scan::get_reference_flags, local, global):
	Handle R_PPC64_REL24_P9NOTOC.
	(Target_powerpc::Relocate::relocate): Likewise.
2021-12-11 14:52:36 +10:30
..
aarch64.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
arm.h arm: add armv9-a architecture to -march 2021-11-01 10:51:03 +00:00
ChangeLog Add markers for 2.37 branch 2021-07-03 14:50:57 +01:00
ChangeLog-0815
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020 ChangeLog rotation 2021-01-01 10:31:02 +10:30
dwarf.h Add DWARF 5 support in gold. 2021-03-19 13:55:35 -07:00
elfcpp_file.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elfcpp_internal.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elfcpp_swap.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elfcpp.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
i386.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
mips.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
powerpc.h [GOLD] PowerPC64 @notoc in non-power10 code 2021-12-11 14:52:36 +10:30
README Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
s390.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
sparc.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
tilegx.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
x86_64.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

elfcpp is a C++ library for reading and writing ELF information.  This
was written to support gold, the ELF linker, and may not be generally
useful.

elfcpp does not do file I/O.  It deals only with offsets and memory
data.

For efficiency, most accessors are templates with two arguments: the
ELF file class (32 or 64 bits) and the endianness.


Copyright (C) 2012-2021 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.