binutils-gdb/include
H.J. Lu d968975277 Check ELF relocs after opening all input files
Delaying checking ELF relocations until opening all input files so
that symbol information is final when relocations are checked.  This
is only enabled for x86 targets.

bfd/

	* elf-bfd.h (_bfd_elf_link_check_relocs): New.
	* elflink.c (_bfd_elf_link_check_relocs): New function.
	(elf_link_add_object_symbols): Call _bfd_elf_link_check_relocs
	if check_relocs_after_open_input is FALSE.

include/

	* bfdlink.h (bfd_link_info): Add check_relocs_after_open_input.

ld/

	* emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	New.
	* emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
	Likewise.
	* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
	Set check_relocs_after_open_input to TRUE if
	CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
	(gld${EMULATION_NAME}_after_open): Call
	_bfd_elf_link_check_relocs on all inputs if
	check_relocs_after_open_input is TRUE.
2016-04-20 05:26:51 -07:00
..
aout Copyright update for binutils 2016-01-01 23:00:01 +10:30
cgen Copyright update for binutils 2016-01-01 23:00:01 +10:30
coff Use a 32-bit value to hold the section number in the internal COFF symbol structure. 2016-01-18 15:58:47 +00:00
elf arc: Fix relocation formula for ARC_NPS_CMEM16 relocation 2016-04-20 11:45:24 +01:00
gdb sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly 2016-01-06 21:48:59 -05:00
mach-o Copyright update for binutils 2016-01-01 23:00:01 +10:30
nlm Copyright update for binutils 2016-01-01 23:00:01 +10:30
opcode opcodes/arc: Add yet more nps instructions 2016-04-19 22:51:27 +01:00
som Copyright update for binutils 2016-01-01 23:00:01 +10:30
vms Copyright update for binutils 2016-01-01 23:00:01 +10:30
COPYING Update the address and phone number of the FSF organization 2005-05-10 10:21:13 +00:00
COPYING3 * COPYING3: New file. Contains version 3 of the GNU General Public License. 2007-07-17 13:50:23 +00:00
ChangeLog Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
ChangeLog-0415 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:03 +00:00
MAINTAINERS Copyright update for binutils 2016-01-01 23:00:01 +10:30
alloca-conf.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
ansidecl.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfdlink.h Check ELF relocs after opening all input files 2016-04-20 05:26:51 -07:00
binary-io.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
bout.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
demangle.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
dis-asm.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
dwarf2.def Copyright update for binutils 2016-01-01 23:00:01 +10:30
dwarf2.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
dyn-string.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
environ.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fibheap.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
filenames.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
floatformat.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fnmatch.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fopen-bin.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fopen-same.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
fopen-vms.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
gcc-c-fe.def Copyright update for binutils 2016-01-01 23:00:01 +10:30
gcc-c-interface.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
gcc-interface.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
getopt.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
hashtab.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
hp-symtab.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
ieee.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
leb128.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
libiberty.h libiberty: {count,dup,write}argv: constify argv input slightly 2016-01-05 15:25:13 -05:00
longlong.h Import changes made to files shared with the FSF GCC project. 2016-01-11 11:06:56 +00:00
lto-symtab.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
md5.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
oasys.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
objalloc.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
obstack.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
os9k.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
partition.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
plugin-api.h Add new plugin hooks to support querying section alignment and size. 2016-03-03 12:09:06 -08:00
progress.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
safe-ctype.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
sha1.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
simple-object.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
sort.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
splay-tree.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
symcat.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
timeval-utils.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
vtv-change-permission.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xregex.h merge from gcc 2011-07-25 17:11:48 +00:00
xregex2.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-config.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-isa-internal.h Copyright update for binutils 2016-01-01 23:00:01 +10:30
xtensa-isa.h Copyright update for binutils 2016-01-01 23:00:01 +10:30