binutils-gdb/gas/config
H.J. Lu 862be3fb9a Disallow 64bit relocations in x32 mode.
gas/

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

	* config/tc-i386.c (disallow_64bit_disp): Renamed to ...
	(disallow_64bit_reloc): This.
	(md_assemble): Don't check movabs for x32 mode here.
	(i386_target_format): Updated.
	(tc_gen_reloc): Check if 64bit relocations are allowed.

gas/testsuite/

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

	* gas/i386/ilp32/immed64.s: New.
	* gas/i386/ilp32/reloc64.s: Likewise.
	* gas/i386/ilp32/x86-64-pcrel.s: Likewise.

	* gas/i386/ilp32/inval.s: Add more tests.

	* gas/i386/ilp32/immed64.d: Updated.
	* gas/i386/ilp32/inval.l: Likewise.
	* gas/i386/ilp32/reloc64.d: Likewise.
	* gas/i386/ilp32/x86-64-pcrel.d: Likewise.
2011-01-16 17:06:12 +00:00
..
aout_gnu.h
atof-ieee.c
atof-vax.c
bfin-aux.h gas: blackfin: support numeric local labels with LOOP_BEGIN/LOOP_END pseudo insns 2010-10-11 08:36:30 +00:00
bfin-defs.h gas: blackfin: add missing register move insns 2010-09-22 21:30:35 +00:00
bfin-lex.l gas: blackfin: reign in overeager insn flag handling 2010-10-11 08:37:20 +00:00
bfin-parse.y gas: blackfin: fix encoding of BYTEOP2M insn 2010-10-15 20:44:46 +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
m68k-parse.h * config/m68k-parse.h (enum m68k_register): Add ACR[4-7], RGPIOBAR. 2009-11-10 18:05:24 +00:00
m68k-parse.y
obj-aout.c * obj.h (struct format_ops): Add adjust_symtab. 2010-10-25 12:38:42 +00:00
obj-aout.h
obj-coff-seh.c ChangeLog gas 2010-09-15 19:48:52 +00:00
obj-coff-seh.h ChangeLog gas 2010-09-15 19:43:56 +00:00
obj-coff.c * config/obj-coff.c (weak_altname2name): Don't infer from the presence 2010-11-05 04:58:24 +00:00
obj-coff.h remove maxq-coff port 2010-06-29 04:17:34 +00:00
obj-ecoff.c * obj.h (struct format_ops): Add adjust_symtab. 2010-10-25 12:38:42 +00:00
obj-ecoff.h * ecoff.c (ecoff_symbol_clone_hook): New function. 2009-11-02 11:49:48 +00:00
obj-elf.c PR gas/12181 2010-11-18 16:00:25 +00:00
obj-elf.h 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
obj-evax.c 2010-05-31 Tristan Gingold <gingold@adacore.com> 2010-05-31 15:53:13 +00:00
obj-evax.h * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
obj-fdpicelf.c
obj-fdpicelf.h
obj-macho.c
obj-macho.h
obj-multi.c
obj-multi.h * obj.h (struct format_ops): Add adjust_symtab. 2010-10-25 12:38:42 +00:00
obj-som.c
obj-som.h bfd/ 2010-06-10 08:51:46 +00:00
rx-defs.h
rx-parse.y * config/rx-parse.y (SUB): Correct subtraction of immediate 2010-12-18 05:40:46 +00:00
tc-alpha.c Use bfd_elf_generic_reloc for alpha-elf. 2010-09-20 16:09:03 +00:00
tc-alpha.h
tc-arc.c
tc-arc.h
tc-arm.c * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only 2011-01-10 09:50:02 +00:00
tc-arm.h * write.c (fixup_segment): Revert previous delta. 2010-05-04 16:21:07 +00:00
tc-avr.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-avr.h 2009-10-27 Tristan Gingold <gingold@adacore.com> 2009-10-27 15:39:27 +00:00
tc-bfin.c gas: blackfin: support numeric local labels with LOOP_BEGIN/LOOP_END pseudo insns 2010-10-11 08:36:30 +00:00
tc-bfin.h strip trailing whitespace in Blackfin files 2010-03-10 14:23:58 +00:00
tc-cr16.c * config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG -> 2010-11-05 11:08:27 +00:00
tc-cr16.h
tc-cris.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-cris.h
tc-crx.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-crx.h
tc-d10v.c * config/tc-d10v.c (do_assemble): Correctly detect overflow of 2010-08-25 11:51:07 +00:00
tc-d10v.h * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1. 2010-08-03 10:53:10 +00:00
tc-d30v.c * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame. 2010-10-28 05:34:55 +00:00
tc-d30v.h
tc-dlx.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-dlx.h
tc-fr30.c
tc-fr30.h
tc-frv.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-frv.h
tc-generic.c
tc-generic.h
tc-h8300.c * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list 2010-05-19 10:47:49 +00:00
tc-h8300.h
tc-hppa.c PR gas/11395 2010-12-31 16:43:46 +00:00
tc-hppa.h
tc-i370.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-i370.h
tc-i386-intel.c Properly fold _GLOBAL_OFFSET_TABLE_ in Intel syntax. 2010-11-03 14:18:43 +00:00
tc-i386.c Disallow 64bit relocations in x32 mode. 2011-01-16 17:06:12 +00:00
tc-i386.h Add x86-64 ILP32 support. 2010-12-31 00:33:36 +00:00
tc-i860.c
tc-i860.h
tc-i960.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-i960.h
tc-ia64.c PR gas/12011 2010-09-16 23:55:10 +00:00
tc-ia64.h bfd: 2010-03-25 21:12:36 +00:00
tc-ip2k.c
tc-ip2k.h
tc-iq2000.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-iq2000.h
tc-lm32.c * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach. 2009-10-19 15:30:06 +00:00
tc-lm32.h
tc-m32c.c * configure.tgt (m32c): Set endian=little. 2010-08-04 04:21:06 +00:00
tc-m32c.h * configure.tgt (m32c): Set endian=little. 2010-08-04 04:21:06 +00:00
tc-m32r.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-m32r.h
tc-m68hc11.c * config/tc-d10v.c (do_assemble): Correctly detect overflow of 2010-08-25 11:51:07 +00:00
tc-m68hc11.h
tc-m68k.c * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined 2010-09-09 10:48:17 +00:00
tc-m68k.h 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> 2009-11-04 09:52:00 +00:00
tc-m68851.h
tc-mcore.c
tc-mcore.h
tc-mep.c PR gas/12011 2010-09-16 23:55:10 +00:00
tc-mep.h
tc-microblaze.c * config/tc-d10v.c (do_assemble): Correctly detect overflow of 2010-08-25 11:51:07 +00:00
tc-microblaze.h
tc-mips.c Take unadjusted offset for loongson3a specific instructions. 2011-01-11 07:22:09 +00:00
tc-mips.h * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label 2010-12-16 18:48:28 +00:00
tc-mmix.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-mmix.h
tc-mn10200.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-mn10200.h
tc-mn10300.c * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols 2010-09-23 12:11:31 +00:00
tc-mn10300.h
tc-moxie.c * config/tc-moxie.c (md_apply_fix): Delete set but otherwise 2010-07-05 05:56:11 +00:00
tc-moxie.h
tc-msp430.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-msp430.h
tc-mt.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-mt.h
tc-ns32k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-ns32k.h
tc-openrisc.c
tc-openrisc.h
tc-or32.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-or32.h
tc-pdp11.c * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative 2011-01-06 16:41:35 +00:00
tc-pdp11.h
tc-pj.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-pj.h
tc-ppc.c * config/tc-ppc.c (nop_limit): New var. 2010-11-04 03:30:05 +00:00
tc-ppc.h Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
tc-rx.c * reloc.c: Add BFD_RELOC_RX_OP_NEG. 2011-01-05 22:04:09 +00:00
tc-rx.h * config/tc-rx.h (md_do_align): New. 2010-07-02 20:40:28 +00:00
tc-s390.c 2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-11-25 09:33:54 +00:00
tc-s390.h 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2010-01-21 11:40:28 +00:00
tc-score7.c 2010-03-01 Tristan Gingold <gingold@adacore.com> 2010-03-01 16:47:52 +00:00
tc-score.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-score.h
tc-sh64.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-sh64.h
tc-sh.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-sh.h 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
tc-sparc.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-sparc.h ld: 2010-10-22 12:08:32 +00:00
tc-spu.c 2009-10-29 Tristan Gingold <gingold@adacore.com> 2009-10-29 09:43:18 +00:00
tc-spu.h
tc-tic4x.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-tic4x.h
tc-tic6x.c bfd: 2010-11-02 14:36:39 +00:00
tc-tic6x.h gas/ 2010-09-27 15:52:40 +00:00
tc-tic30.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-tic30.h
tc-tic54x.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-tic54x.h
tc-v850.c * config/tc-v850.c (md_assemble): Always pass format string to 2010-08-02 08:43:18 +00:00
tc-v850.h
tc-vax.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-vax.h
tc-xc16x.c * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set 2009-10-19 15:27:39 +00:00
tc-xc16x.h
tc-xstormy16.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-xstormy16.h
tc-xtensa.c * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define. 2010-06-28 14:06:57 +00:00
tc-xtensa.h
tc-z8k.c Add -Wshadow to the gcc command line options used when compiling the binutils. 2009-12-11 13:42:17 +00:00
tc-z8k.h
tc-z80.c * config/tc-z80.c (md_apply_fix): Rename var to fix shadow warning. 2010-12-09 20:02:07 +00:00
tc-z80.h
te-386bsd.h
te-aix5.h
te-armeabi.h
te-armlinuxeabi.h
te-dynix.h
te-epoc-pe.h
te-freebsd.h
te-generic.h
te-gnu.h
te-go32.h
te-hppa64.h
te-hppa.h
te-hppalinux64.h
te-hpux.h
te-i386aix.h bfd/ 2010-01-23 12:05:33 +00:00
te-ia64aix.h
te-interix.h
te-irix.h
te-linux.h
te-lnews.h
te-lynx.h
te-mach.h
te-macos.h
te-nbsd532.h
te-nbsd.h
te-netware.h
te-pc532mach.h
te-pe.h
te-pep.h
te-psos.h
te-riscix.h
te-solaris.h * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only 2010-01-21 20:58:34 +00:00
te-sparcaout.h
te-sun3.h
te-svr4.h
te-symbian.h
te-tmips.h
te-uclinux.h 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com> 2009-11-04 09:52:00 +00:00
te-vms.c
te-vms.h
te-vxworks.h
te-wince-pe.h
vax-inst.h
xtensa-istack.h
xtensa-relax.c
xtensa-relax.h