binutils-gdb/elfcpp
H.J. Lu f49fe902ba Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to gold
elfcpp/

	* x86_64.h (R_X86_64_PC32_BND): New.
	(R_X86_64_PLT32_BND): Likewise.

gold/

	* x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
	Handle R_X86_64_PC32_BND and R_X86_64_PLT32_BND just like
	R_X86_64_PC32 and R_X86_64_PLT32, respectively.
	(Target_x86_64<size>::Scan::local): Likewise.
	(Target_x86_64<size>::Scan::global): Likewise.
	(Target_x86_64<size>::Relocate::relocate): Likewise.
	(Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
	Likewise.
	(Target_x86_64<size>::Scan::check_non_pic(): Handle
	R_X86_64_PC32_BND.

	* testsuite/Makefile.am (check_PROGRAMS): Add
	exception_x86_64_bnd_test.
	(exception_x86_64_bnd_test_SOURCES): New macro.
	(exception_x86_64_bnd_test_DEPENDENCIES): Likewise.
	(exception_x86_64_bnd_test_LDFLAGS): Likewise.
	(exception_x86_64_bnd_test_LDADD): Likewise.
	(exception_x86_64_bnd_1.o): New rule.
	(exception_x86_64_bnd_2.o): Likewise.
	* testsuite/Makefile.in: Regenerated.
2013-11-18 09:55:09 -08:00
..
ChangeLog Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to gold 2013-11-18 09:55:09 -08:00
README Add copyright notices 2012-12-17 16:56:12 +00:00
arm.h bfd: 2012-10-30 12:44:58 +00:00
dwarf.h elfcpp/ 2013-03-01 22:45:56 +00:00
elfcpp.h Add support for tilegx in gold. 2012-09-15 17:11:28 +00:00
elfcpp_file.h * elfcpp_file.h: Revert last patch. 2009-12-14 19:57:47 +00:00
elfcpp_internal.h Add licensing text to every source file. 2007-09-22 21:02:10 +00:00
elfcpp_swap.h elfcpp/ 2012-04-23 23:31:15 +00:00
i386.h elfcpp:/ 2010-08-04 09:53:38 +00:00
mips.h * mips.h: New file 2012-01-28 01:04:22 +00:00
powerpc.h PowerPC64 ELFv2 support for gold. 2013-10-30 13:45:05 +10:30
sparc.h gold: Add sparc IFUNC support to Gold. 2012-04-17 01:57:23 +00:00
tilegx.h Add support for tilegx in gold. 2012-09-15 17:11:28 +00:00
x86_64.h Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to gold 2013-11-18 09:55:09 -08:00

README

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 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.