binutils-gdb/gas/config
Andreas Jaeger 7b81dfbbf9 Patch by matz@suse.de:
bfd/ChangeLog:
	* reloc.c: Add BFD_RELOC_X86_64_GOT64, BFD_RELOC_X86_64_GOTPCREL64,
	BFD_RELOC_X86_64_GOTPC64, BFD_RELOC_X86_64_GOTPLT64,
	BFD_RELOC_X86_64_PLTOFF64.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Regenerated.
	* elf64-x86-64.c (x86_64_elf_howto_table): Correct comment.
	Add howtos for above relocs.
	(x86_64_reloc_map): Add mappings for new relocs.
	(elf64_x86_64_check_relocs): R_X86_64_GOT64, R_X86_64_GOTPCREL64,
	R_X86_64_GOTPLT64 need a got entry.  R_X86_64_GOTPLT64 also a PLT
	entry.  R_X86_64_GOTPC64 needs a .got section.  R_X86_64_PLTOFF64
	needs a PLT entry.
	(elf64_x86_64_gc_sweep_hook): Reflect changes from
	elf64_x86_64_check_relocs for the new relocs.
	(elf64_x86_64_relocate_section): Handle new relocs.

gas/ChangeLog:
	* config/tc-i386.c (type_names): Correct placement of 'static'.
	(reloc): Map some more relocs to their 64 bit counterpart when
	size is 8.
	(output_insn): Work around breakage if DEBUG386 is defined.
	(output_disp): A BFD_RELOC_64 with GOT_symbol as operand also
	needs to be mapped to BFD_RELOC_X86_64_GOTPC64 or
	BFD_RELOC_X86_64_GOTPC32.  Also x86-64 handles pcrel addressing
	different from i386.
	(output_imm): Ditto.
	(lex_got): Recognize @PLTOFF and @GOTPLT.  Make @GOT accept also
	Imm64.
	(md_convert_frag): Jumps can now be larger than 2GB away, error
	out in that case.
	(tc_gen_reloc): New relocs are passed through.  BFD_RELOC_64
	and BFD_RELOC_64_PCREL are mapped to BFD_RELOC_X86_64_GOTPC64.

gas/testsuite/ChangeLog:
	* gas/i386/reloc64.s: Accept 64-bit forms.
	* gas/i386/reloc64.d: Adjust.
	* gas/i386/reloc64.l: Adjust.

include/ChangeLog:
	* elf/x86-64.h: Add the new relocations with their official
	numbers.
2006-03-23 08:23:09 +00:00
..
aout_gnu.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
atof-ieee.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
atof-vax.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
bfin-aux.h * Makefile.am: Bfin support. 2005-09-30 15:05:07 +00:00
bfin-defs.h * config/bfin-defs.h (IS_BREG, IS_LREG): New macros. 2005-11-18 14:21:29 +00:00
bfin-lex.l bfd/ 2005-10-24 16:31:22 +00:00
bfin-parse.y * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate 2006-01-20 17:22:50 +00:00
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipsecoff.c
e-mipself.c
itbl-mips.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
m68k-parse.h * config/m68k-parse.h: Use ISO C90. 2005-06-23 11:40:29 +00:00
m68k-parse.y * config/m68k-parse.h: Use ISO C90. 2005-06-23 11:40:29 +00:00
obj-aout.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-aout.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-coff.c PR binutils/1568 2005-11-07 17:57:00 +00:00
obj-coff.h gas/ 2005-10-27 07:40:07 +00:00
obj-ecoff.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-ecoff.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-elf.c * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
obj-elf.h * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
obj-evax.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-evax.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-ieee.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-ieee.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
obj-multi.c
obj-multi.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-som.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
obj-som.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-alpha.c * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment. 2005-11-16 01:49:48 +00:00
tc-alpha.h gas: 2005-06-07 17:54:22 +00:00
tc-arc.c Fix casts to allow for a 64-bit host. 2006-02-10 12:10:21 +00:00
tc-arc.h gas: 2005-06-07 17:54:22 +00:00
tc-arm.c 2006-03-21 Paul Brook <paul@codesourcery.com> 2006-03-21 22:52:06 +00:00
tc-arm.h 2005-10-08 Paul Brook <paul@codesourcery.com> 2005-10-08 17:07:19 +00:00
tc-avr.c Add linker relaxation support for the AVR 2006-03-03 15:25:31 +00:00
tc-avr.h * config/tc-avr.c: Convert to ISO C90 format. Fix formatting and generally 2005-10-12 10:56:46 +00:00
tc-bfin.c * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant, 2005-10-24 18:35:59 +00:00
tc-bfin.h * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant, 2005-10-24 18:35:59 +00:00
tc-cris.c Change 32-bit-branch expansion for --pic. 2005-12-07 06:41:56 +00:00
tc-cris.h PR gas/1049 2005-07-08 03:54:30 +00:00
tc-crx.c (check_range): Ensure that the sign bit of a 32-bit value is propagated into 2006-02-10 12:21:43 +00:00
tc-crx.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d10v.c gas: 2005-06-07 17:54:22 +00:00
tc-d10v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-d30v.c gas: 2005-06-07 17:54:22 +00:00
tc-d30v.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-dlx.c gas: 2005-06-07 17:54:22 +00:00
tc-dlx.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-fr30.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-fr30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-frv.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-frv.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-generic.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-generic.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-h8300.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-h8300.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-hppa.c Bug gas/1896 2005-11-25 02:08:22 +00:00
tc-hppa.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i370.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-i370.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i386.c Patch by matz@suse.de: 2006-03-23 08:23:09 +00:00
tc-i386.h gas/ 2006-02-27 15:35:37 +00:00
tc-i860.c gas: 2005-06-07 17:54:22 +00:00
tc-i860.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i960.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-i960.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-ia64.c Fix problem with double-stop-bit after itc.i instruction. 2006-03-03 01:10:42 +00:00
tc-ia64.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-ip2k.c gas: 2005-06-07 17:54:22 +00:00
tc-ip2k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-iq2000.c gas: 2005-06-07 17:54:22 +00:00
tc-iq2000.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-m32c.c [include/elf] 2006-02-24 22:10:36 +00:00
tc-m32c.h [include/elf] 2006-02-24 22:10:36 +00:00
tc-m32r.c This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-m32r.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-m68hc11.c gas: 2005-06-07 17:54:22 +00:00
tc-m68hc11.h * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs 2005-09-20 18:24:48 +00:00
tc-m68k.c bfd: 2006-03-06 13:42:05 +00:00
tc-m68k.h * bfd/archures.c (bfd_mach_mcf5200, bfd_mach_mcf5206e, 2006-02-07 19:01:10 +00:00
tc-m68851.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-maxq.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-maxq.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mcore.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mcore.h 2005-08-18 Christian Groessler <chris@groessler.org> 2005-08-18 11:54:33 +00:00
tc-mips.c Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
tc-mips.h Richard Sandiford <richard@codesourcery.com> 2006-03-22 09:28:15 +00:00
tc-mmix.c PR gas/2101 2006-01-03 05:56:15 +00:00
tc-mmix.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-mn10200.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-mn10200.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-mn10300.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-mn10300.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-msp430.c 2005-09-09 Dmitry Diky <diwil@spec.ru> 2005-09-09 08:46:19 +00:00
tc-msp430.h 2005-08-12 Dmitry Diky <diwil@spec.ru> 2005-08-12 11:54:23 +00:00
tc-mt.c * config/tc-mt.c (mt_arch): Default to ms1_16_002. 2005-12-27 18:38:05 +00:00
tc-mt.h Second part of ms1 to mt renaming. 2005-12-16 10:23:12 +00:00
tc-ns32k.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-ns32k.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-openrisc.c Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-openrisc.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-or32.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-pdp11.c Fix compile time warnings from a GCC 4.0 compiler 2005-07-05 15:07:46 +00:00
tc-pdp11.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
tc-pj.c gas: 2005-06-07 17:54:22 +00:00
tc-pj.h gas: 2005-06-07 17:54:22 +00:00
tc-ppc.c * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference 2005-11-17 13:32:27 +00:00
tc-ppc.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-s390.c * config/tc-s390.c (md_parse_option): Add cpu type z9-109. 2005-08-12 18:00:56 +00:00
tc-s390.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-sh.c This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh64.c This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sh64.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-sparc.c 2006-02-24 David S. Miller <davem@sunset.davemloft.net> 2006-02-25 01:34:09 +00:00
tc-sparc.h * frags.h: Remove ANSI_PROTOTYPES conditional code. 2005-07-08 05:57:21 +00:00
tc-tic4x.c gas/ 2005-09-30 15:48:24 +00:00
tc-tic4x.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic30.c * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic30.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-tic54x.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-tic54x.h This adjusts equate handling by 2005-10-11 11:16:17 +00:00
tc-v850.c Fixes for building on 64-bit hosts: 2006-01-11 17:39:50 +00:00
tc-v850.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-vax.c * config/tc-vax.c: Update copyright year. 2006-03-18 11:23:38 +00:00
tc-vax.h * config/tc-vax.c: Update copyright year. 2006-03-18 11:23:38 +00:00
tc-xc16x.c Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
tc-xc16x.h Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
tc-xstormy16.c gas: 2005-06-07 17:54:22 +00:00
tc-xstormy16.h * README-vms: Delete. 2005-08-11 01:25:29 +00:00
tc-xtensa.c * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag. 2006-03-21 20:34:38 +00:00
tc-xtensa.h * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 2006-01-31 19:36:57 +00:00
tc-z8k.c Re-enable GAS for z8k-coff 2005-08-26 09:47:49 +00:00
tc-z8k.h Re-enable GAS for z8k-coff 2005-08-26 09:47:49 +00:00
tc-z80.c Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:35 +00:00
tc-z80.h Cleanup of pseudo-ops for constants and new def24,def32 pseudo-ops on z80 2006-02-05 11:57:35 +00:00
te-386bsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-aix5.h
te-armeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-armlinuxeabi.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-dynix.h
te-epoc-pe.h
te-freebsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-generic.h
te-gnu.h * configure.tgt (i386-*-gnu*): Set em=gnu. 2005-11-16 03:44:10 +00:00
te-go32.h
te-hppa.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-hppa64.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h
te-ia64aix.h
te-interix.h
te-irix.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-nbsd532.h
te-netware.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-pc532mach.h
te-pe.h
te-psos.h
te-riscix.h
te-sparcaout.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-sun3.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-svr4.h
te-symbian.h * configure.tgt: Set emulation for arm-*-eabi*. 2005-03-16 17:27:17 +00:00
te-tmips.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-vxworks.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
te-wince-pe.h
vax-inst.h Update the address and phone number of the FSF 2005-05-05 09:13:19 +00:00
xtensa-istack.h * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol 2006-01-31 19:36:57 +00:00
xtensa-relax.c include: 2005-12-30 23:34:00 +00:00
xtensa-relax.h * config/tc-xtensa.c: Remove excess whitespace. 2005-05-06 21:27:47 +00:00