binutils-gdb/opcodes
H.J. Lu d7921315ba Check R_X86_64_32 overflow and allow R_X86_64_64 for x32.
bfd/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13048
	* archures.c (bfd_mach_i386_intel_syntax): New.
	(bfd_mach_i386_i8086): Updated.
	(bfd_mach_i386_i386): Likewise.
	(bfd_mach_x86_64): Likewise.
	(bfd_mach_x64_32): Likewise.
	(bfd_mach_i386_i386_intel_syntax): Likewise.
	(bfd_mach_x86_64_intel_syntax): Likewise.
	(bfd_mach_x64_32_intel_syntax): Likewise.
	(bfd_mach_l1om): Likewise.
	(bfd_mach_l1om_intel_syntax): Likewise.
	(bfd_mach_k1om): Likewise.
	(bfd_mach_k1om_intel_syntax): Likewise.

	* bfd-in2.h: Regenerated.

	* cpu-i386.c (bfd_i386_compatible): Check mach instead of
	bits_per_address.
	(bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64.
	(bfd_x64_32_arch): Likewise.

	* elf64-x86-64.c: Include "libiberty.h".
	(x86_64_elf_howto_table): Append x32 R_X86_64_32.
	(elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32.
	(elf_x86_64_reloc_type_lookup): Likewise.
	(elf_x86_64_reloc_name_lookup): Likewise.
	(elf_x86_64_relocate_section): Likewise.
	(elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32.

gas/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13048
	* config/tc-i386.c (handle_quad): Removed.
	(md_pseudo_table): Remove "quad".
	(tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
	(x86_dwarf2_addr_size): New.

	* config/tc-i386.h (x86_dwarf2_addr_size): New.
	(DWARF2_ADDR_SIZE): Likewise.

gas/testsuite/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13048
	* gas/i386/ilp32/ilp32.exp: Don't run inval.

	* gas/i386/ilp32/inval.l: Removed.
	* gas/i386/ilp32/inval.s: Likewise.

	* gas/i386/ilp32/quad.d: Expect R_X86_64_64 instead of
	R_X86_64_32.

	* gas/i386/ilp32/x86-64-pcrel.s: Add tests for movabs.
	* gas/i386/ilp32/x86-64-pcrel.d: Updated.

ld/testsuite/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13048
	* ld-x86-64/ilp32-6.d: New.
	* ld-x86-64/ilp32-6.s: Likewise.
	* ld-x86-64/ilp32-7.d: Likewise.
	* ld-x86-64/ilp32-7.s: Likewise.
	* ld-x86-64/ilp32-8.d: Likewise.
	* ld-x86-64/ilp32-8.s: Likewise.
	* ld-x86-64/ilp32-9.d: Likewise.
	* ld-x86-64/ilp32-9.s: Likewise.

	* ld-x86-64/x86-64.exp: Run ilp32-6, ilp32-7, ilp32-8 and ilp32-9.

opcodes/

2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13048
	* i386-dis.c (print_insn): Optimize info->mach check.
2011-08-01 23:04:23 +00:00
..
po * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
.gitignore
aclocal.m4
alpha-dis.c
alpha-opc.c
arc-dis.c
arc-dis.h
arc-ext.c
arc-ext.h
arc-opc.c
arm-dis.c * arm-dis.c (print_insn_arm): Revert previous, undocumented, 2011-07-12 08:45:45 +00:00
avr-dis.c PR binutils/12329 2011-07-01 16:11:27 +00:00
bfin-dis.c opcodes: blackfin: ignore (M) on MAC0-only dsp mac funcs 2011-03-24 05:27:39 +00:00
cgen-asm.c
cgen-asm.in
cgen-bitset.c
cgen-dis.c
cgen-dis.in
cgen-ibld.in
cgen-opc.c
cgen.sh
ChangeLog Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010 Rotate binutils ChangeLogs. 2011-01-01 16:43:53 +00:00
ChangeLog-9297
ChangeLog-9899
config.in
configure bfd/ 2011-07-24 14:20:15 +00:00
configure.com
configure.in bfd/ 2011-07-24 14:20:15 +00:00
cr16-dis.c
cr16-opc.c
cris-dis.c
cris-opc.c
crx-dis.c
crx-opc.c
d10v-dis.c
d10v-opc.c
d30v-dis.c
d30v-opc.c
dep-in.sed
dis-buf.c
dis-init.c
disassemble.c Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
dlx-dis.c
fr30-asm.c
fr30-desc.c
fr30-desc.h
fr30-dis.c
fr30-ibld.c
fr30-opc.c
fr30-opc.h
frv-asm.c
frv-desc.c
frv-desc.h
frv-dis.c
frv-ibld.c
frv-opc.c
frv-opc.h
h8300-dis.c
h8500-dis.c
h8500-opc.h
hppa-dis.c PR gas/11395 2010-12-31 16:43:46 +00:00
i370-dis.c
i370-opc.c
i386-dis.c Check R_X86_64_32 overflow and allow R_X86_64_64 for x32. 2011-08-01 23:04:23 +00:00
i386-gen.c Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
i386-init.h Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
i386-opc.c
i386-opc.h Add initial Intel K1OM support. 2011-07-22 20:22:38 +00:00
i386-opc.tbl Add Disp32S to 64bit call. 2011-08-01 19:25:48 +00:00
i386-reg.tbl
i386-tbl.h Add Disp32S to 64bit call. 2011-08-01 19:25:48 +00:00
i860-dis.c
i960-dis.c
ia64-asmtab.c
ia64-asmtab.h
ia64-dis.c
ia64-gen.c
ia64-ic.tbl
ia64-opc-a.c
ia64-opc-b.c
ia64-opc-d.c
ia64-opc-f.c
ia64-opc-i.c
ia64-opc-m.c
ia64-opc-x.c
ia64-opc.c
ia64-opc.h
ia64-raw.tbl
ia64-war.tbl
ia64-waw.tbl
ip2k-asm.c
ip2k-desc.c
ip2k-desc.h
ip2k-dis.c
ip2k-ibld.c
ip2k-opc.c
ip2k-opc.h
iq2000-asm.c
iq2000-desc.c
iq2000-desc.h
iq2000-dis.c
iq2000-ibld.c
iq2000-opc.c
iq2000-opc.h
lm32-asm.c
lm32-desc.c
lm32-desc.h
lm32-dis.c
lm32-ibld.c
lm32-opc.c
lm32-opc.h
lm32-opinst.c
m32c-asm.c
m32c-desc.c
m32c-desc.h
m32c-dis.c
m32c-ibld.c
m32c-opc.c
m32c-opc.h
m32r-asm.c
m32r-desc.c
m32r-desc.h
m32r-dis.c
m32r-ibld.c
m32r-opc.c
m32r-opc.h
m32r-opinst.c
m68hc11-dis.c
m68hc11-opc.c
m68k-dis.c
m68k-opc.c
m88k-dis.c
m10200-dis.c
m10200-opc.c
m10300-dis.c
m10300-opc.c
MAINTAINERS
Makefile.am bfd/ 2011-07-24 14:20:15 +00:00
Makefile.in bfd/ 2011-07-24 14:20:15 +00:00
makefile.vms
mcore-dis.c
mcore-opc.h
mep-asm.c
mep-desc.c
mep-desc.h
mep-dis.c
mep-ibld.c
mep-opc.c
mep-opc.h
microblaze-dis.c
microblaze-dis.h
microblaze-opc.h
microblaze-opcm.h
micromips-opc.c Fix misapplied patch. 2011-07-24 14:57:31 +00:00
mips16-opc.c include/opcode/ 2011-07-24 14:04:51 +00:00
mips-dis.c bfd/ 2011-07-24 14:20:15 +00:00
mips-opc.c include/opcode/ 2011-07-24 14:04:51 +00:00
mmix-dis.c
mmix-opc.c
moxie-dis.c
moxie-opc.c
msp430-dis.c
mt-asm.c
mt-desc.c
mt-desc.h
mt-dis.c
mt-ibld.c
mt-opc.c
mt-opc.h
ns32k-dis.c
opc2c.c
openrisc-asm.c
openrisc-desc.c
openrisc-desc.h
openrisc-dis.c
openrisc-ibld.c
openrisc-opc.c
openrisc-opc.h
opintl.h
or32-dis.c
or32-opc.c
pdp11-dis.c
pdp11-opc.c
pj-dis.c
pj-opc.c
ppc-dis.c
ppc-opc.c * ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7. 2011-04-25 23:11:21 +00:00
rx-decode.c * rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs. 2011-04-21 05:48:06 +00:00
rx-decode.opc * rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs. 2011-04-21 05:48:06 +00:00
rx-dis.c * rx-dis.c (print_insn_rx): Support RX_Operand_TwoReg. 2011-01-12 07:06:29 +00:00
s390-dis.c
s390-mkopc.c
s390-opc.c 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2011-05-24 16:13:31 +00:00
s390-opc.txt 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2011-05-24 16:13:31 +00:00
score7-dis.c
score-dis.c
score-opc.h
sh64-dis.c
sh64-opc.c
sh64-opc.h
sh-dis.c
sh-opc.h
sparc-dis.c
sparc-opc.c
spu-dis.c
spu-opc.c
stamp-h.in
sysdep.h
tic4x-dis.c
tic6x-dis.c
tic30-dis.c
tic54x-dis.c
tic54x-opc.c
tic80-dis.c
tic80-opc.c
tilegx-dis.c * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
tilegx-opc.c Replace "index" with "i". 2011-06-29 20:46:11 +00:00
tilepro-dis.c * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
tilepro-opc.c Replace "index" with "i". 2011-06-29 20:46:11 +00:00
v850-dis.c * v850-dis.c (disassemble): Always print a closing square brace if 2011-04-13 13:20:24 +00:00
v850-opc.c * v850-opc.c (cmpf.[sd]): Reverse the order of the reg1 and reg2 2011-05-19 11:10:59 +00:00
vax-dis.c
w65-dis.c
w65-opc.h
xc16x-asm.c
xc16x-desc.c
xc16x-desc.h
xc16x-dis.c
xc16x-ibld.c
xc16x-opc.c
xc16x-opc.h
xstormy16-asm.c
xstormy16-desc.c
xstormy16-desc.h
xstormy16-dis.c
xstormy16-ibld.c
xstormy16-opc.c
xstormy16-opc.h
xtensa-dis.c
z8k-dis.c
z8k-opc.h
z8kgen.c
z80-dis.c