H.J. Lu 4c10bbaa09 Add -z noreloc-overflow option to x86-64 ld
Add -z noreloc-overflow command-line option to the x86-64 ELF linker to
disable relocation overflow check.  This can be used to avoid relocation
overflow check if there will be no dynamic relocation overflow at
run-time.

bfd/

	PR ld/19807
	* elf64-x86-64.c (elf_x86_64_relocate_section): Check
	no_reloc_overflow_check to diable R_X86_64_32/R_X86_64_32S
	relocation overflow check.

include/

	PR ld/19807
	* bfdlink.h (bfd_link_info): Add no_reloc_overflow_check.

ld/

	PR ld/19807
	* Makefile.am (ELF_X86_DEPS): Add
	$(srcdir)/emulparams/reloc_overflow.sh.
	* Makefile.in: Regenerated.
	* NEWS: Mention -z noreloc-overflow.
	* ld.texinfo: Document -z noreloc-overflow.
	* emulparams/elf32_x86_64.sh: Source
	${srcdir}/emulparams/reloc_overflow.sh.
	* emulparams/elf_x86_64.sh: Likewise.
	* emulparams/reloc_overflow.sh: New file.
	* testsuite/ld-x86-64/pr19807-1.s: New file.
	* testsuite/ld-x86-64/pr19807-1a.d: Likewise.
	* testsuite/ld-x86-64/pr19807-1b.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2.s: Likewise.
	* testsuite/ld-x86-64/pr19807-2a.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2b.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2c.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2d.d: Likewise.
	* testsuite/ld-x86-64/pr19807-2e.d: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2016-03-15 11:07:54 -07:00
..
2013-11-21 11:17:50 -08:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2015-10-07 14:20:19 +01:00
2011-03-22 18:10:48 +00:00
2011-03-22 18:10:48 +00:00
2011-03-22 18:10:48 +00:00
2011-03-22 18:10:48 +00:00
2011-03-22 18:10:48 +00:00
2011-03-22 18:10:48 +00:00
2011-03-22 18:10:48 +00:00
2015-07-20 14:29:37 +09:30
ld:
2010-10-22 12:08:32 +00:00
2010-03-25 21:12:36 +00:00
ld/
2011-05-13 18:15:33 +00:00
ld/
2011-05-13 18:15:33 +00:00
ld/
2011-05-13 18:15:33 +00:00
ld/
2011-05-13 18:15:33 +00:00
2013-08-26 22:18:07 +00:00
2015-04-08 09:46:50 -07:00
2010-12-31 11:01:00 +00:00
2013-06-24 23:55:46 +00:00
2010-12-31 11:01:00 +00:00
2011-10-25 11:18:16 +00:00
2015-01-28 16:25:18 +10:30
2013-04-25 13:22:52 +00:00
2013-04-25 13:22:52 +00:00
2010-12-31 11:01:00 +00:00
2010-12-31 11:01:00 +00:00
2013-01-10 09:49:22 +00:00
ld/
2012-08-06 22:40:36 +00:00
2012-09-13 22:24:51 +00:00
2013-01-10 20:08:03 +00:00
2014-12-06 16:45:22 +01:00
ld:
2010-10-22 12:08:32 +00:00
2010-12-31 11:01:00 +00:00
2010-12-31 11:01:00 +00:00
2015-04-23 09:49:19 +09:30
2013-08-26 22:18:07 +00:00
ld/
2013-08-23 22:38:42 +00:00
2013-01-10 20:08:03 +00:00
2013-08-26 22:18:07 +00:00
2011-02-18 18:20:29 +00:00
2014-07-27 08:51:20 -04:00
2013-12-13 11:52:32 +00:00
2013-12-13 11:52:32 +00:00
2014-01-30 17:47:07 -08:00
2015-04-08 04:55:23 -07:00
2016-01-01 23:00:01 +10:30
2015-09-22 11:12:51 +02:00

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.

The files in this directory are read by genscripts.sh as shell commands.
They set parameters for the emulations.

Copyright (C) 2012-2016 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.