2009-07-30 10:45:41 +02:00
|
|
|
|
2009-07-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
2009-07-30 10:54:49 +02:00
|
|
|
|
* doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
|
|
|
|
|
different syntaxes support by the ARM port.
|
|
|
|
|
(ARM Directives): Add entry for .syntax.
|
|
|
|
|
|
2009-07-30 10:45:41 +02:00
|
|
|
|
* doc/c-mips.texi (MIPS insn): Fix typo.
|
|
|
|
|
|
2009-07-29 08:22:13 +02:00
|
|
|
|
2009-07-29 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR ld/10269
|
|
|
|
|
* symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
|
|
|
|
|
* config/tc-i386.c: Revert 2009-06-13 change.
|
|
|
|
|
* config/tc-i386.h: Likewise.
|
|
|
|
|
|
2009-07-28 08:20:49 +02:00
|
|
|
|
2009-07-28 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* expr.c (op_rank): Specify size. Remove O_md* initializers.
|
|
|
|
|
|
2009-07-27 22:07:00 +02:00
|
|
|
|
2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-m68k.c (mcf5221x_ctrl): New.
|
|
|
|
|
(m68k_cpu): Add line for MCF5221x.
|
|
|
|
|
|
|
|
|
|
2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
|
2009-07-27 22:05:03 +02:00
|
|
|
|
|
|
|
|
|
* config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
|
|
|
|
|
(mcf53017_ctrl): Fix RAMBAR.
|
|
|
|
|
|
2009-07-27 12:04:25 +02:00
|
|
|
|
2009-07-27 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* obj-elf.c (elf_file_symbol): Replace symbol name set up by
|
|
|
|
|
symbol_new() with the passed in, unmodified one.
|
|
|
|
|
|
2009-07-27 09:05:25 +02:00
|
|
|
|
2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
|
|
|
|
|
object file without symbol values.
|
|
|
|
|
(tc_gen_reloc): For local symbols resolved or its absolute symbol,
|
|
|
|
|
then set the relocation type as NULL.
|
|
|
|
|
|
2009-07-25 16:58:58 +02:00
|
|
|
|
2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add l1om.
|
|
|
|
|
(check_cpu_arch_compatible): New.
|
|
|
|
|
(set_cpu_arch): Use it.
|
|
|
|
|
(i386_arch): New.
|
|
|
|
|
(i386_mach): Return bfd_mach_l1om for Intel L1OM.
|
|
|
|
|
(md_show_usage): Display l1om.
|
|
|
|
|
(i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
|
|
|
|
|
cpu_arch_isa_flags.bitfield.cpul1om is set.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
|
|
|
|
|
(i386_arch): New.
|
|
|
|
|
(ELF_TARGET_L1OM_FORMAT): Likewise.
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Document l1om.
|
|
|
|
|
|
2009-07-25 01:49:51 +02:00
|
|
|
|
2009-07-24 Roland McGrath <roland@redhat.com>
|
2009-07-25 01:51:13 +02:00
|
|
|
|
Mark Wielaard <mjw@redhat.com>
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
|
|
|
|
* config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
|
|
|
|
|
flags on .comment section.
|
|
|
|
|
|
2009-07-24 21:51:27 +02:00
|
|
|
|
2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
|
|
|
|
|
Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
|
|
|
|
|
* config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
|
|
|
|
|
(TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
|
|
|
|
|
|
gas/
2009-07-24 Jan Beulich <jbeulich@novell.com>
* tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
.nosse, and .noavx.
(cpu_flags_and_not): New.
(set_cpu_arch): Check whether sub-architecture specified is a
feature disable.
(md_parse_option): Likewise.
(parse_real_register): Don't return floating point register
when x87 functionality is disabled.
(md_show_usage): Add new sub-options.
* doc/c-i386.texi: Update with new command line sub-options.
gas/testsuite/
2009-07-24 Jan Beulich <jbeulich@novell.com>
* gas/i386/8087.[ds]: New.
* gas/i386/287.[ds]: New.
* gas/i386/387.[ds]: New.
* gas/i386/no87.[ls]: New.
* gas/i386/no87-2.[ls]: New.
* gas/i386/i386.exp: Run new tests.
* gas/i386/att-regs.s: Also check FPU register access.
* gas/i386/intel-regs.s: Likewise.
* gas/i386/att-regs.d: Adjust expectations.
* gas/i386/intel-regs.d: Likewise.
opcodes/
2009-07-24 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (fgrps): Correct annotation for feni/fdisi. Add
frstpm.
* i386-gen.c (cpu_flag_init): Add FP enabling flags where needed.
(cpu_flags): Add Cpu8087, Cpu287, Cpu387, Cpu687, and CpuFISTTP.
(set_bitfield): Expand CpuFP to Cpu8087|Cpu287|Cpu387.
* i386-opc.h (Cpu8087, Cpu287, Cpu387, Cpu687, CpuFISTTP):
Define.
(union i386_cpu_flags): Add cpu8087, cpu287, cpu387, cpu687,
and cpufisttp.
* i386-opc.tbl: Qualify floating point instructions by their
respective CpuXXX flag. Fix fucom{,p,pp}, fprem1, fsin, fcos,
and fsincos to be avilable only on 387. Fix fstsw ax to be
available only on 287+. Add f{,n}eni, f{,n}disi, f{,n}setpm,
and frstpm.
* i386-init.h, i386-tbl.h: Regenerate.
2009-07-24 17:41:20 +02:00
|
|
|
|
2009-07-24 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
|
|
|
|
|
.nosse, and .noavx.
|
|
|
|
|
(cpu_flags_and_not): New.
|
|
|
|
|
(set_cpu_arch): Check whether sub-architecture specified is a
|
|
|
|
|
feature disable.
|
|
|
|
|
(md_parse_option): Likewise.
|
|
|
|
|
(parse_real_register): Don't return floating point register
|
|
|
|
|
when x87 functionality is disabled.
|
|
|
|
|
(md_show_usage): Add new sub-options.
|
|
|
|
|
* doc/c-i386.texi: Update with new command line sub-options.
|
|
|
|
|
|
2009-07-24 13:45:01 +02:00
|
|
|
|
2009-07-24 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 10437
|
|
|
|
|
* config/tc-alpha.c: Fix up uses of gas printf like functions so
|
|
|
|
|
that the format string is a constant string. Add translation
|
|
|
|
|
support to message strings.
|
|
|
|
|
* config/tc-arc.c: Likewise.
|
|
|
|
|
* config/tc-arm.c: Likewise.
|
|
|
|
|
* config/tc-cris.c: Likewise.
|
|
|
|
|
* config/tc-fr30.c: Likewise.
|
|
|
|
|
* config/tc-frv.c: Likewise.
|
|
|
|
|
* config/tc-h8300.c: Likewise.
|
|
|
|
|
* config/tc-hppa.c: Likewise.
|
|
|
|
|
* config/tc-i370.c: Likewise.
|
|
|
|
|
* config/tc-i960.c: Likewise.
|
|
|
|
|
* config/tc-ia64.c: Likewise.
|
|
|
|
|
* config/tc-m32r.c: Likewise.
|
|
|
|
|
* config/tc-mep.c: Likewise.
|
|
|
|
|
* config/tc-mips.c: Likewise.
|
|
|
|
|
* config/tc-moxie.c: Likewise.
|
|
|
|
|
* config/tc-msp430.c: Likewise.
|
|
|
|
|
* config/tc-openrisc.c: Likewise.
|
|
|
|
|
* config/tc-pdp11.c: Likewise.
|
|
|
|
|
* config/tc-pj.c: Likewise.
|
|
|
|
|
* config/tc-s390.c: Likewise.
|
|
|
|
|
* config/tc-sh.c: Likewise.
|
|
|
|
|
* config/tc-sh64.c: Likewise.
|
|
|
|
|
* config/tc-sparc.c: Likewise.
|
|
|
|
|
* config/tc-spu.c: Likewise.
|
|
|
|
|
* config/tc-tic30.c: Likewise.
|
|
|
|
|
* config/tc-tic4x.c: Likewise.
|
|
|
|
|
* config/tc-tic54x.c: Likewise.
|
|
|
|
|
* config/tc-v850.c: Likewise.
|
|
|
|
|
* config/tc-xc16x.c: Likewise.
|
|
|
|
|
* config/tc-xstormy16.c: Likewise.
|
|
|
|
|
* config/tc-z80.c: Likewise.
|
|
|
|
|
* config/tc-z8k.c: Likewise.
|
|
|
|
|
* config/atof-ieee.c: Add translation support to as_warn
|
|
|
|
|
messages.
|
|
|
|
|
* config/obj-coff.c: Likewise.
|
|
|
|
|
|
2009-07-23 15:00:30 +02:00
|
|
|
|
2009-07-23 Ulrich Drepper <drepper@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-elf.c (obj_elf_type): Add code to support a type of
|
|
|
|
|
gnu_unique_object.
|
|
|
|
|
* doc/as.texinfo: Document new feature of .type directive.
|
|
|
|
|
* NEWS: Mention support for gnu_unique_object symbol type.
|
|
|
|
|
|
2009-07-23 12:19:20 +02:00
|
|
|
|
2009-07-23 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/10379
|
|
|
|
|
* doc/c-mips.texi (MIPS insn): Document the special behaviour of
|
|
|
|
|
the .global directive for MIPS ports.
|
|
|
|
|
|
2009-07-21 19:50:21 +02:00
|
|
|
|
2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/10420
|
|
|
|
|
* config/tc-i386.c (i386_align_code): Tune for 32bit nops in
|
|
|
|
|
64bit.
|
|
|
|
|
(i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
|
|
|
|
|
for 64bit.
|
|
|
|
|
|
2009-07-17 19:54:51 +02:00
|
|
|
|
2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Update operand types.
|
|
|
|
|
(update_imm): Updated.
|
|
|
|
|
(finalize_imm): Update the first 2 immediate operands only
|
|
|
|
|
for instructions with 2 operands or more.
|
|
|
|
|
|
2009-07-17 19:08:34 +02:00
|
|
|
|
2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Check implicit registers
|
|
|
|
|
only for instructions with 3 operands or less.
|
|
|
|
|
|
2009-07-17 17:22:11 +02:00
|
|
|
|
2009-07-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
|
|
|
|
|
compile time warning.
|
|
|
|
|
|
2009-07-16 19:37:26 +02:00
|
|
|
|
2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_assemble): Only check i.operands for AX.
|
|
|
|
|
(md_estimate_size_before_relax): Don't relax IFUNC symbols.
|
|
|
|
|
|
2009-07-16 15:18:52 +02:00
|
|
|
|
2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
|
|
|
|
|
the offset for REL targets here.
|
|
|
|
|
|
2009-07-16 02:37:28 +02:00
|
|
|
|
2009-07-15 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
|
|
|
|
* listing.c (print_source): Initialize cache by NULL.
|
|
|
|
|
|
2009-07-15 17:08:55 +02:00
|
|
|
|
2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-arm.texi (mauto-it): Removed old option.
|
|
|
|
|
(mimplicit-it): Added right option.
|
|
|
|
|
|
2009-07-14 17:47:13 +02:00
|
|
|
|
2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
|
|
|
|
|
(MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
|
|
|
|
|
MAX_MEM_ALIGNMENT_BYTES.
|
|
|
|
|
* config/tc-arm.c (arm_frag_align_code): Replace hard coded
|
|
|
|
|
constant with MAX_MEM_FOR_RS_ALIGN_CODE.
|
|
|
|
|
|
2009-07-14 17:38:20 +02:00
|
|
|
|
2009-07-14 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 10387
|
|
|
|
|
* config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
|
|
|
|
|
(ARM_IS_FUNC): Likewise.
|
|
|
|
|
|
2009-07-14 14:54:47 +02:00
|
|
|
|
2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (md_assemble): Added validation.
|
|
|
|
|
|
2009-07-10 20:27:01 +02:00
|
|
|
|
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2009-07-10 17:27:04 +02:00
|
|
|
|
2009-07-10 Tom Tromey <tromey@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
|
|
|
|
|
elf/dwarf2.h.
|
|
|
|
|
(DEPTC_alpha_elf): Likewise.
|
|
|
|
|
(DEPTC_alpha_evax): Likewise.
|
|
|
|
|
(DEPTC_arm_elf): Likewise.
|
|
|
|
|
(DEPTC_hppa_elf): Likewise.
|
|
|
|
|
(DEPTC_i386_aout): Likewise.
|
|
|
|
|
(DEPTC_i386_coff): Likewise.
|
|
|
|
|
(DEPTC_i386_elf): Likewise.
|
|
|
|
|
(DEPTC_m68k_aout): Likewise.
|
|
|
|
|
(DEPTC_m68k_coff): Likewise.
|
|
|
|
|
(DEPTC_m68k_elf): Likewise.
|
|
|
|
|
(DEPTC_mips_coff): Likewise.
|
|
|
|
|
(DEPTC_mips_ecoff): Likewise.
|
|
|
|
|
(DEPTC_mips_elf): Likewise.
|
|
|
|
|
(DEPTC_ppc_coff): Likewise.
|
|
|
|
|
(DEPTC_ppc_elf): Likewise.
|
|
|
|
|
(DEPTC_s390_elf): Likewise.
|
|
|
|
|
(DEPTC_sh_coff): Likewise.
|
|
|
|
|
(DEPTC_sh_elf): Likewise.
|
|
|
|
|
(DEPTC_sh64_elf): Likewise.
|
|
|
|
|
(DEPTC_sparc_aout): Likewise.
|
|
|
|
|
(DEPTC_sparc_coff): Likewise.
|
|
|
|
|
(DEPTC_sparc_elf): Likewise.
|
|
|
|
|
(as.o): Likewise.
|
|
|
|
|
(dwarf2dbg.o): Likewise.
|
|
|
|
|
(dw2gencfi.o): Likewise.
|
|
|
|
|
(ehopt.o): Likewise.
|
|
|
|
|
(read.o): Likewise.
|
|
|
|
|
* Makefile.in: Rebuild.
|
|
|
|
|
* dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
|
|
|
|
|
* dwarf2dbg.c: Likewise.
|
|
|
|
|
* ehopt.c: Likewise.
|
|
|
|
|
|
2009-07-09 09:52:37 +02:00
|
|
|
|
2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (it_fsm_post_encode): New forward declaration.
|
|
|
|
|
(set_it_insn_type_nonvoid): New macro.
|
|
|
|
|
(emit_thumb32_expr): New function.
|
|
|
|
|
(thumb_insn_size): New function.
|
|
|
|
|
(emit_insn): New function.
|
|
|
|
|
(s_arm_elf_inst): New function.
|
|
|
|
|
(md_pseudo_table): New pseudo-opcode entries added.
|
|
|
|
|
* doc/c-arm.texi: New directive added.
|
|
|
|
|
|
2009-07-07 23:12:52 +02:00
|
|
|
|
2009-07-07 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mep.c (md_begin): Don't reset the coprocessor options
|
|
|
|
|
when enabling other options without a specific configuration.
|
|
|
|
|
|
2009-07-07 18:15:32 +02:00
|
|
|
|
2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (insns): Fix encoding for torvsc.
|
|
|
|
|
|
<gas changes>
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
(build_modrm_byte): Add support to handle FMA4 instructions.
(md_show_usage): Add fma4.
<gas/testsuite changes>
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* gas/i386/i386.exp: Add FMA4 tests.
* gas/i386/x86-64-fma4.d: Ditto.
* gas/i386/fma4.d: Ditto.
* gas/i386/x86-64-fma4.s: Ditto.
* gas/i386/fma4.s: Ditto.
<opcodes changes>
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
* i386-opc.h (CpuFMA4): Add CpuFMA4.
(i386_cpu_flags): New.
* i386-gen.c: Add CPU_FMA4_FLAGS.
* i386-opc.tbl: Add FMA4 instructions.
* i386-tbl.h: Regenerate.
* i386-init.h: Regenerate.
* i386-dis.c (OP_VEX_FMA): New. Handle FMA4.
(OP_XMM_VexW): Ditto.
(OP_EX_VexW): Ditto.
(VEXI4_Fixup): Ditto.
(VexI4, VexFMA, Vex128FMA, EXVexW, EXdVexW, XMVexW): New Macros.
(PREFIX_VEX_3A5C, PREFIX_VEX_3A5D, PREFIX_VEX_3A5E): New.
(PREFIX_VEX_3A5F, PREFIX_VEX_3A60): New.
(PREFIX_VEX_3A68, PREFIX_VEX_3A69, PREFIX_VEX_3A6A): New.
(PREFIX_VEX_3A6B, PREFIX_VEX_3A6C, PREFIX_VEX_3A6D): New.
(PREFIX_VEX_3A6E, PREFIX_VEX_3A6F, PREFIX_VEX_3A7A): New.
(PREFIX_VEX_3A7B, PREFIX_VEX_3A7C, PREFIX_VEX_3A7D): New.
(PREFIX_VEX_3A7E, PREFIX_VEX_3A7F): New.
(VEX_LEN_3A6A_P_2,VEX_LEN_3A6B_P_2, VEX_LEN_3A6E_P_2): New.
(VEX_LEN_3A6F_P_2,VEX_LEN_3A7A_P_2, VEX_LEN_3A7B_P_2): New.
(VEX_LEN_3A7E_P_2,VEX_LEN_3A7F_P_2): New.
(get_vex_imm8): New. handle FMA4.
(OP_EX_VexReg): Ditto.
2009-07-06 21:34:30 +02:00
|
|
|
|
2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
|
|
|
|
|
(build_modrm_byte): Add support to handle FMA4 instructions.
|
|
|
|
|
(md_show_usage): Add fma4.
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
2009-07-04 03:50:44 +02:00
|
|
|
|
2009-07-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
|
|
|
|
|
|
2009-07-02 10:09:35 +02:00
|
|
|
|
2009-07-02 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (OBJ_FORMATS): Add macho.
|
|
|
|
|
(CPU_OBJ_VALID): Ditto.
|
|
|
|
|
(OBJ_FORMAT_CFILES): Add config/obj-macho.c
|
|
|
|
|
(OBJ_FORMAT_HFILES): Add config/obj-macho.h
|
|
|
|
|
(obj-macho.o): New rule.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* configure.tgt (generic_target): Add i386-*-darwin*.
|
|
|
|
|
* config/tc-i386.h: Use i386_target_format for Mach-O.
|
|
|
|
|
* config/tc-i386.c (i386_target_format): Define it for Mach-O.
|
|
|
|
|
(i386_target_format): Add a case for bfd_target_mach_o_flavour.
|
|
|
|
|
* config/obj-macho.h: New file.
|
|
|
|
|
* config/obj-macho.c: New file.
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
2009-07-01 18:36:28 +02:00
|
|
|
|
2009-07-01 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 10168
|
|
|
|
|
* config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
|
|
|
|
|
PKHBT.
|
|
|
|
|
|
2009-07-01 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (MISSING_FNSTART): Define.
(s_arm_unwind_fnstart): Diagnose duplicate directive.
(s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
not inside function unwinding region.
gas/testsuite/
* gas/arm/fp-save.s: Add .fnstart and .fnend directives.
2009-07-01 13:44:54 +02:00
|
|
|
|
2009-07-01 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (MISSING_FNSTART): Define.
|
|
|
|
|
(s_arm_unwind_fnstart): Diagnose duplicate directive.
|
|
|
|
|
(s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
|
|
|
|
|
s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
|
|
|
|
|
s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
|
|
|
|
|
s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
|
|
|
|
|
not inside function unwinding region.
|
|
|
|
|
|
2009-06-29 19:44:37 +02:00
|
|
|
|
2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c: Reformat.
|
|
|
|
|
|
2009-06-24 02:51:09 +02:00
|
|
|
|
2009-06-23 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
|
|
|
|
|
32 bits for relaxable branches so that we can relax them later.
|
|
|
|
|
(md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
|
|
|
|
|
(mep_relax_frag): New.
|
|
|
|
|
(md_convert_frag): Relax IVC2 branches in-place.
|
|
|
|
|
* config/tc-mep.h ((mep_relax_frag): New.
|
|
|
|
|
|
* gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
gas/config/atof-ieee.c, gas/config/obj-aout.c,
gas/config/obj-coff.c, gas/config/obj-ecoff.c,
gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
gas/config/tc-s390.c, gas/config/tc-score.c,
gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
gas macro `assert' to `gas_assert'.
2009-06-22 19:56:02 +02:00
|
|
|
|
2009-06-22 Martin Thuresson <martin@mtme.org>
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
* gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
gas/config/atof-ieee.c, gas/config/obj-aout.c,
gas/config/obj-coff.c, gas/config/obj-ecoff.c,
gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
gas/config/tc-s390.c, gas/config/tc-score.c,
gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
gas macro `assert' to `gas_assert'.
2009-06-22 19:56:02 +02:00
|
|
|
|
* gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c,
|
|
|
|
|
gas/config/atof-ieee.c, gas/config/obj-aout.c,
|
|
|
|
|
gas/config/obj-coff.c, gas/config/obj-ecoff.c,
|
|
|
|
|
gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
|
|
|
|
|
gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
|
|
|
|
|
gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
|
|
|
|
|
gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
|
|
|
|
|
gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
|
|
|
|
|
gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
|
|
|
|
|
gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
|
|
|
|
|
gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
|
|
|
|
|
gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
|
|
|
|
|
gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
|
|
|
|
|
gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
|
|
|
|
|
gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
|
|
|
|
|
gas/config/tc-s390.c, gas/config/tc-score.c,
|
|
|
|
|
gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
|
|
|
|
|
gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
|
|
|
|
|
gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
|
|
|
|
|
gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
|
|
|
|
|
gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
|
|
|
|
|
gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
|
|
|
|
|
gas macro `assert' to `gas_assert'.
|
|
|
|
|
|
2009-06-22 16:40:28 +02:00
|
|
|
|
2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (implicit_it_mode): New enum.
|
|
|
|
|
(implicit_it_mode): New global.
|
|
|
|
|
(it_instruction_type): New enum.
|
|
|
|
|
(arm_parse_it_mode): New function.
|
|
|
|
|
(arm_long_opts): New option added.
|
|
|
|
|
(arm_it): New field.
|
|
|
|
|
(it_state): New enum.
|
|
|
|
|
(now_it): New macro.
|
|
|
|
|
(check_it_blocks_finished): New function.
|
|
|
|
|
(insns[]): Use the IT Thumb opcodes for ARM too.
|
|
|
|
|
(arm_cleanup): Call check_it_blocks_finished.
|
|
|
|
|
(now_it_compatible): New function.
|
|
|
|
|
(conditional_insn): New function.
|
|
|
|
|
(set_it_insn_type): New macro.
|
|
|
|
|
(set_it_insn_type_last): New macro.
|
|
|
|
|
(do_it): Call automatic IT machinery functions.
|
|
|
|
|
(do_t_add_sub): Likewise
|
|
|
|
|
(do_t_arit3): Likewise.
|
|
|
|
|
(do_t_arit3c): Likewise.
|
|
|
|
|
(do_t_blx): Likewise.
|
|
|
|
|
(do_t_branch): Likewise.
|
|
|
|
|
(do_t_bkpt): Likewise.
|
|
|
|
|
(do_t_branch23): Likewise.
|
|
|
|
|
(do_t_bx): Likewise.
|
|
|
|
|
(do_t_bxj): Likewise.
|
|
|
|
|
(do_t_cps): Likewise.
|
|
|
|
|
(do_t_cpsi): Likewise.
|
|
|
|
|
(do_t_cbz): Likewise.
|
|
|
|
|
(do_t_it): Likewise.
|
|
|
|
|
(encode_thumb2_ldmstm): Likewise.
|
|
|
|
|
(do_t_ldst): Likewise.
|
|
|
|
|
(do_t_mov_cmp): Likewise.
|
|
|
|
|
(do_t_mvn_tst): Likewise.
|
|
|
|
|
(do_t_mul): Likewise.
|
|
|
|
|
(do_t_neg): Likewise.
|
|
|
|
|
(do_t_setend): Likewise.
|
|
|
|
|
(do_t_shift): Likewise.
|
|
|
|
|
(do_t_tb): Likewise.
|
|
|
|
|
(output_it_inst): New function.
|
|
|
|
|
(new_automatic_it_block): New function.
|
|
|
|
|
(close_automatic_it_block): New function.
|
|
|
|
|
(now_it_add_mask): New function.
|
|
|
|
|
(it_fsm_pre_encode): New function.
|
|
|
|
|
(handle_it_state): New function.
|
|
|
|
|
(it_fsm_post_encode): New function.
|
|
|
|
|
(force_automatic_it_block_close): New function.
|
|
|
|
|
(in_it_block): New function.
|
|
|
|
|
(md_assemble): Call automatic IT block machinery functions.
|
|
|
|
|
(arm_frob_label): Likewise.
|
|
|
|
|
(arm_opts): New element.
|
|
|
|
|
* config/tc-arm.h (it_state): New enum.
|
|
|
|
|
(current_it): New struct.
|
|
|
|
|
(arm_segment_info_type): New member added.
|
|
|
|
|
* doc/c-arm.texi: New option -mimplicit-it documented.
|
|
|
|
|
|
2009-06-20 04:52:08 +02:00
|
|
|
|
2009-06-20 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 10302
|
|
|
|
|
* doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
|
|
|
|
|
|
2009-06-19 12:58:27 +02:00
|
|
|
|
2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-s390.c (md_gather_operands): Accept an instruction
|
|
|
|
|
without operands if all operands are tagged as optional.
|
|
|
|
|
|
2009-06-18 18:36:05 +02:00
|
|
|
|
2009-06-18 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 10169
|
|
|
|
|
* gas/tc-arm.c (do_t_ssat): Move common code from here...
|
|
|
|
|
(do_t_usat): ... and here to...
|
|
|
|
|
(do_t_ssat_usat): New function: ... here. Add code to check that
|
|
|
|
|
the shift value, if present, is in range.
|
|
|
|
|
|
2009-06-18 04:11:03 +02:00
|
|
|
|
2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
Merge cegcc and mingw32ce target name changes
|
|
|
|
|
from CeGCC project:
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm*-*-cegcc* target.
|
|
|
|
|
|
2009-06-18 12:41:42 +02:00
|
|
|
|
2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
|
2009-06-18 04:11:03 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt: Add arm-*-mingw32ce* target.
|
|
|
|
|
|
2009-06-16 03:52:13 +02:00
|
|
|
|
2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-vax.c (md_estimate_size_before_relax): Accept
|
|
|
|
|
indirect symbol references in the PIC mode and emit a
|
|
|
|
|
PC-relative relocation instead of a GOT/PLT one. Likewise
|
|
|
|
|
for symbols known to be hidden at this point.
|
|
|
|
|
|
2009-06-15 17:42:36 +02:00
|
|
|
|
2009-06-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 10186
|
|
|
|
|
* config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
|
|
|
|
|
instruction.
|
|
|
|
|
|
2009-06-14 03:39:46 +02:00
|
|
|
|
2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR ld/10269
|
|
|
|
|
* config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
|
|
|
|
|
instead of generic_force_reloc.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h (TC_FORCE_RELOCATION): New.
|
|
|
|
|
|
2009-06-11 13:27:58 +02:00
|
|
|
|
2009-06-11 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-moxie.c (md_chars_to_number): Define.
|
|
|
|
|
(md_begin): Populate opcode hashtable with more form 3 opcodes.
|
|
|
|
|
(md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
|
|
|
|
|
(md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
|
|
|
|
|
(tc_gen_reloc): Ditto.
|
|
|
|
|
(md_pcrel_from): Ditto.
|
|
|
|
|
(md_chars_to_number): New function.
|
|
|
|
|
|
2009-06-10 08:07:47 +02:00
|
|
|
|
2009-06-10 Anthony Green <green@moxielogic.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
|
|
|
|
|
opcodes.
|
|
|
|
|
|
2009-06-09 17:12:45 +02:00
|
|
|
|
2009-06-09 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/10255
|
|
|
|
|
* dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
|
|
|
|
|
to DW_CFA_advance_loc4.
|
|
|
|
|
|
2009-06-08 18:06:24 +02:00
|
|
|
|
2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/977
|
|
|
|
|
* config/tc-i386.c (md_estimate_size_before_relax): Don't relax
|
|
|
|
|
branches to weak symbols.
|
|
|
|
|
(md_apply_fix): Don't convert fixes against weak symbols to
|
|
|
|
|
section-relative offsets, but save addend for later reloc emission.
|
|
|
|
|
(tc_gen_reloc): When emitting reloc against weak symbol, adjust
|
|
|
|
|
addend to pre-compensate for bfd_install_relocation.
|
|
|
|
|
|
2009-06-04 08:57:12 +02:00
|
|
|
|
2009-06-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dep-in.sed: Don't use \n in replacement part of s command.
|
|
|
|
|
* Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-06-01 18:31:00 +02:00
|
|
|
|
2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/10198
|
|
|
|
|
* config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
|
|
|
|
|
|
2009-05-27 16:14:42 +02:00
|
|
|
|
2009-05-26 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (check_for_24k_errata): Remove.
|
|
|
|
|
(md_mips_end): Remove call to check_for_24k_errata.
|
|
|
|
|
(start_noreorder): Likewise.
|
|
|
|
|
(s_change_sec): Likewise.
|
|
|
|
|
(s_change_section): Likewise.
|
|
|
|
|
(insns_between): Add 24k errata checks.
|
|
|
|
|
(append_insn): Remove declaration and references to nhdx_24k.
|
|
|
|
|
Remove calls to check_for_24k_errata.
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
2009-05-26 18:49:41 +02:00
|
|
|
|
2009-05-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/id.po: Updated Indonesian translation.
|
|
|
|
|
* po/gas.pot: Updated template file.
|
|
|
|
|
|
2009-05-26 17:35:37 +02:00
|
|
|
|
2009-05-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 10143
|
|
|
|
|
* config/bfin-parse.y (error): Use "%s" as format string for error
|
|
|
|
|
message.
|
|
|
|
|
|
2009-05-26 05:19:50 +02:00
|
|
|
|
2009-05-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* dep-in.sed: Output one filename per line with all lines having
|
|
|
|
|
continuation backslash. Prefix first line with "A", following
|
|
|
|
|
lines with "B".
|
|
|
|
|
* Makefile.am (DEP): Don't use dep.sed here.
|
|
|
|
|
(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
|
|
|
|
|
sort and uniq.
|
|
|
|
|
(DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
|
|
|
|
|
Emit multi dependencies on one line.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-25 15:24:13 +02:00
|
|
|
|
2009-05-25 Tristan Gingold <gingold@adacore.com>
|
2009-05-25 15:11:33 +02:00
|
|
|
|
|
|
|
|
|
* makefile.vms: New file to compile gas on VMS.
|
|
|
|
|
|
|
|
|
|
* configure.com: New file to do configuration on VMS with DCL.
|
|
|
|
|
|
2009-05-23 10:28:22 +02:00
|
|
|
|
2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
|
|
|
|
|
(nops_for_insn): Likewise.
|
|
|
|
|
|
2009-05-22 20:11:59 +02:00
|
|
|
|
2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
|
|
|
|
|
|
2009-05-22 17:57:25 +02:00
|
|
|
|
2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
|
|
|
|
|
(build_modrm_byte): Remove DREX handling support.
|
|
|
|
|
(DREX_*): Delete.
|
|
|
|
|
(drex_byte): Delete.
|
|
|
|
|
(md_assemble): Remove DREX handling support.
|
|
|
|
|
(process_operands): Remove DREX, SSE5 support.
|
|
|
|
|
(i386_insn): Remove DREX.
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
2009-05-22 11:33:16 +02:00
|
|
|
|
2009-05-22 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-05-20 15:48:16 +02:00
|
|
|
|
2009-05-20 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
|
|
|
|
|
(TARGET_FORMAT): Removed for x86 pe-coff.
|
|
|
|
|
(COFF_TARGET_FORMAT): Likewise.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
|
|
|
|
|
(md_parse_option): Likewise.
|
|
|
|
|
(md_show_usage): Show option --32/--64 for x86 pe-coff.
|
|
|
|
|
(i386_target_format): Use also for x86 pe-coff.
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
|
|
|
|
|
for x86 pe-coff.
|
|
|
|
|
|
2009-05-20 01:31:33 +02:00
|
|
|
|
2009-05-19 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
|
|
|
|
|
(mep_process_saved_insns): Remove debugging printfs.
|
|
|
|
|
|
2009-05-19 18:08:08 +02:00
|
|
|
|
2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Mention new feature.
|
|
|
|
|
* config/obj-coff.c (obj_coff_common_parse): New function.
|
|
|
|
|
(obj_coff_comm): Likewise.
|
|
|
|
|
(coff_pseudo_table): Override default ".comm" definition on PE.
|
|
|
|
|
* doc/as.texinfo: Document new feature.
|
|
|
|
|
|
2009-05-17 22:09:02 +02:00
|
|
|
|
2009-05-17 Kai Tietz <kai.tietz@onevision.com>
|
|
|
|
|
|
2009-05-20 15:48:16 +02:00
|
|
|
|
* config/obj-coff.c (obj_coff_section): Add 'y' as
|
|
|
|
|
specifier for SEC_COFF_NOREAD section flag.
|
2009-05-17 22:09:02 +02:00
|
|
|
|
* doc/as.texinfo: Add documentation about .section flag 'y'.
|
|
|
|
|
|
2009-05-13 23:41:38 +02:00
|
|
|
|
2009-05-13 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
|
|
|
|
|
|
2009-05-13 18:44:56 +02:00
|
|
|
|
2009-05-13 Andrew Jenner <andrew@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c: Move as.h to start of file.
|
|
|
|
|
|
2009-05-05 13:41:32 +02:00
|
|
|
|
2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
2009-05-05 23:13:27 +02:00
|
|
|
|
* config/tc-arm.h: Fix typo in comment.
|
2009-05-05 13:41:32 +02:00
|
|
|
|
(ARM_IS_FUNC): New macro.
|
|
|
|
|
(MD_APPLY_SYM_VALUE): Define.
|
|
|
|
|
|
2009-05-05 23:13:27 +02:00
|
|
|
|
* config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
|
2009-05-05 13:41:32 +02:00
|
|
|
|
all versions of EABI.
|
|
|
|
|
(relax_branch): Do not relax for branches to ARM functions.
|
|
|
|
|
(md_pcrel_from_section): Set up base correctly for
|
|
|
|
|
BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
|
|
|
|
|
BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
|
|
|
|
|
BFD_RELOC_ARM_PCREL_CALL.
|
|
|
|
|
(md_apply_fix): Flip bl to blx where possible.
|
|
|
|
|
Flip blx to bl where possible.
|
|
|
|
|
(arm_force_relocation): Force relocations for
|
|
|
|
|
BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
|
|
|
|
|
BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
|
|
|
|
|
BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
|
|
|
|
|
BFD_RELOC_THUMB_PCREL_BRANCH25.
|
|
|
|
|
(arm_apply_sym_value): New function.
|
2009-07-25 01:49:51 +02:00
|
|
|
|
|
2009-05-04 15:31:43 +02:00
|
|
|
|
2009-05-04 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
|
|
|
|
|
|
2009-05-01 16:44:17 +02:00
|
|
|
|
2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
|
|
|
|
|
* config/tc-armeabi.h (FPU_DEFAULT): Likewise.
|
|
|
|
|
* config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
|
|
|
|
|
the default FPU from the processor.
|
|
|
|
|
|
2009-05-01 15:50:10 +02:00
|
|
|
|
2009-05-01 Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
|
|
|
|
|
(md_pcrel_from_section): Align address for BLX.
|
|
|
|
|
(tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
|
|
|
|
|
BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
|
|
|
|
|
|
2009-04-30 23:23:30 +02:00
|
|
|
|
2009-04-29 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mep.c (md_begin): Check coprocessor type.
|
|
|
|
|
(md_check_parallel64_scheduling): Use memset to initialize the buffer.
|
|
|
|
|
(md_check_parallel32_scheduling): Likewise.
|
|
|
|
|
(slot_ok): New.
|
|
|
|
|
(mep_check_ivc2_scheduling): New.
|
|
|
|
|
(mep_check_parallel_scheduling): Call it.
|
|
|
|
|
(mep_process_saved_insns): Add IVC2 slot support.
|
|
|
|
|
(md_assemble): Likewise.
|
|
|
|
|
|
2009-04-30 17:47:13 +02:00
|
|
|
|
2009-04-30 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/obj-elf.c (obj_elf_type): Add support for a
|
|
|
|
|
gnu_indirect_function type.
|
|
|
|
|
* config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
|
|
|
|
|
against indirect function symbols.
|
|
|
|
|
* doc/as.texinfo (.type): Document the support for the
|
|
|
|
|
gnu_indirect_function symbol type.
|
|
|
|
|
* NEWS: Mention the new feature.
|
|
|
|
|
|
2009-04-24 20:31:29 +02:00
|
|
|
|
2009-04-24 Cary Coutant <ccoutant@google.com>
|
|
|
|
|
|
|
|
|
|
* NEWS: Add item about discriminator support.
|
|
|
|
|
* dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
|
|
|
|
|
* dwarf2dbg.c (current): Add discriminator field.
|
|
|
|
|
(dwarf2_where): Copy discriminator value.
|
|
|
|
|
(dwarf2_consume_line_info): Set discriminator to 0.
|
|
|
|
|
(dwarf2_directive_loc): Process discriminator sub-op.
|
|
|
|
|
(out_leb128): New function.
|
|
|
|
|
(process_entries): Output DW_LNE_set_discriminator.
|
|
|
|
|
* doc/as.texinfo: Add discriminator operand to .loc directive.
|
|
|
|
|
|
2009-04-22 13:40:25 +02:00
|
|
|
|
2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
|
|
|
|
|
as_bad calls to silence compiler warning.
|
|
|
|
|
|
2009-04-21 18:23:12 +02:00
|
|
|
|
2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386-intel.c (O_XXX): Reorder.
|
|
|
|
|
|
2009-04-20 08:31:50 +02:00
|
|
|
|
2009-04-20 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Add explicit dependency of tc-i386.o on
|
|
|
|
|
tc-i386-intel.c.
|
|
|
|
|
* Makefile.in: Likewise.
|
|
|
|
|
* config/tc-i386.c (i386_finalize_immediate): Declare, broken
|
|
|
|
|
out from i386_immediate.
|
|
|
|
|
(i386_immediate): Slightly re-arrange, call
|
|
|
|
|
i386_finalize_immediate.
|
|
|
|
|
(i386_finalize_displacement): Declare, broken out from
|
|
|
|
|
i386_displacement.
|
|
|
|
|
(i386_displacement): Slightly re-arrange, call
|
|
|
|
|
i386_finalize_displacement.
|
|
|
|
|
(i386_intel_simplify, i386_intel_parse_name): Declare.
|
|
|
|
|
(this_operand): Initialize to -1.
|
|
|
|
|
(set_intel_syntax): Set expression rank for O_full_ptr.
|
|
|
|
|
(md_assemble): Set this_operand back to -1 after parsing
|
|
|
|
|
operands.
|
|
|
|
|
(x86_cons): Negate intel_syntax to indicate state. Call
|
|
|
|
|
i386_intel_simplify.
|
|
|
|
|
(md_operand): Convert if to switch. Handle '[' for Intel
|
|
|
|
|
syntax.
|
|
|
|
|
(i386_intel_operand): Delete, including all helper functions
|
|
|
|
|
and data.
|
|
|
|
|
* config/tc-i386-intel.c: New file, all new code.
|
|
|
|
|
* config/tc-i386.h (i386_operator): Declare.
|
|
|
|
|
(md_operator): Define to i386_operator.
|
|
|
|
|
(i386_need_index_operator): Declare.
|
|
|
|
|
(md_need_index_operator): Define to i386_need_index_operator.
|
|
|
|
|
(O_full_ptr): Define.
|
|
|
|
|
|
2009-04-20 08:26:23 +02:00
|
|
|
|
2009-04-20 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* expr.c (operand): Call md_need_index_operator() and
|
|
|
|
|
md_operator() if defined. Add unary label.
|
|
|
|
|
(operator): Call md_operator() if defined.
|
|
|
|
|
(expr): Adjust assertions on range and rank of op_left and
|
|
|
|
|
op_right. Don't abort on unhandled operators when reducing
|
|
|
|
|
expressions with both operands being constant.
|
|
|
|
|
(expr_set_rank): New.
|
|
|
|
|
* expr.h (expr_set_rank): Declare.
|
|
|
|
|
|
2009-06-01 17:48:14 +02:00
|
|
|
|
2009-04-15 Anthony Green <green@moxielogic.com>
|
2009-04-16 17:39:48 +02:00
|
|
|
|
|
|
|
|
|
* config/tc-moxie.h: New file.
|
|
|
|
|
* config/tc-moxie.c: New file.
|
|
|
|
|
* configure: Add support for moxie.
|
|
|
|
|
* configure.tgt: Add support for moxie.
|
|
|
|
|
|
2009-04-16 10:52:27 +02:00
|
|
|
|
2009-04-16 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* expr.c: Include limits.h if available, and #define CHAR_BITS
|
|
|
|
|
otherwise.
|
|
|
|
|
(expr): Check range of shift count when evaluating a constant
|
|
|
|
|
expression.
|
|
|
|
|
|
2009-04-15 15:33:03 +02:00
|
|
|
|
2009-04-15 Jan Beulich <jbeulich@novell.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (process_operands): Print operands in
|
|
|
|
|
correct order depending on intel_syntax.
|
|
|
|
|
|
2009-04-09 17:55:59 +02:00
|
|
|
|
2009-04-09 Catherine Moore <clm@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_fix_24k): Declare.
|
|
|
|
|
(check_for_24k_errata): New.
|
|
|
|
|
(mips_cleanup): Call check_for_24k_errata.
|
|
|
|
|
(start_noreorder): Likewise.
|
|
|
|
|
(md_mips_end): Likewise.
|
|
|
|
|
(s_change_sec): Likewise.
|
|
|
|
|
(s_change_section): Likewise.
|
|
|
|
|
(append_insn): Call check_for_24k_errata. Prevent
|
|
|
|
|
ERET/DERET instructions from being moved into delay
|
|
|
|
|
slots.
|
|
|
|
|
(OPTION_FIX_24K): New.
|
|
|
|
|
(OPTION_NO_FIX_24k) New.
|
|
|
|
|
(md_longopts): Add "mfix-24k" and "mno-fix-24k".
|
|
|
|
|
(md_parse_option): Handle fix-24k options.
|
|
|
|
|
(md_show_usage): Display fix-24k options.
|
|
|
|
|
* doc/c-mips.texi: Document.
|
|
|
|
|
|
2009-04-09 17:28:56 +02:00
|
|
|
|
2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
|
|
|
|
|
instead of HAVE_64BIT_SYMBOLS.
|
|
|
|
|
|
2009-04-08 04:24:23 +02:00
|
|
|
|
2009-04-07 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
|
|
|
|
|
(md_show_usage): Change default endian to little.
|
|
|
|
|
* config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
|
|
|
|
|
|
2009-04-07 20:21:22 +02:00
|
|
|
|
2009-04-06 DJ Delorie <dj@redhat.com>
|
|
|
|
|
|
|
|
|
|
* tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
|
|
|
|
|
immediates.
|
|
|
|
|
(build_bytes): Pass insn to do_a_fix_imm.
|
|
|
|
|
|
2009-04-02 11:43:56 +02:00
|
|
|
|
2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
|
|
|
|
|
* doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
|
|
|
|
|
Cortex-M1.
|
|
|
|
|
|
2009-04-02 02:10:46 +02:00
|
|
|
|
2009-04-01 Matt Thomas <matt@netbsd.org>
|
|
|
|
|
|
|
|
|
|
* config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
|
|
|
|
|
(md_assemble): emit symbol name when used as immediate in PIC mode.
|
|
|
|
|
(md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
|
|
|
|
|
|
2009-04-01 23:07:14 +02:00
|
|
|
|
2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
|
|
|
|
|
|
2009-04-01 18:49:32 +02:00
|
|
|
|
2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
|
|
|
|
|
(find_real_start): Likewise.
|
|
|
|
|
* config/tc-arm.h (TC_VALIDATE_FIX): Likewise
|
|
|
|
|
|
2009-04-01 16:02:57 +02:00
|
|
|
|
2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
|
|
|
|
|
(arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
|
|
|
|
|
whenever possible.
|
|
|
|
|
|
2009-04-01 03:41:07 +02:00
|
|
|
|
2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
|
|
|
|
|
|
2009-03-31 06:57:48 +02:00
|
|
|
|
2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
|
|
|
|
|
|
|
|
|
|
* doc/internals.texi: Fix trivial syntax errors.
|
|
|
|
|
|
2009-03-26 03:41:12 +01:00
|
|
|
|
2009-03-26 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
PR 10005
|
|
|
|
|
* config/tc-i386.c (reloc): Don't abort on lack of required
|
|
|
|
|
reloc type.
|
|
|
|
|
|
2009-03-25 20:49:25 +01:00
|
|
|
|
2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (parse_insn): Use default_arch on unsupported
|
|
|
|
|
arch.
|
|
|
|
|
|
2009-03-24 02:04:25 +01:00
|
|
|
|
2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/9966
|
|
|
|
|
* listing.c (listing_newline): Properly handle `\\"' and ';'.
|
|
|
|
|
|
|
|
|
|
* read.c (is_end_of_line): Update comments for line separator.
|
|
|
|
|
(read_begin): Set line separator in is_end_of_line to 2.
|
|
|
|
|
|
2009-03-19 11:41:46 +01:00
|
|
|
|
2009-03-19 David S. Miller <davem@davemloft.net>
|
|
|
|
|
|
|
|
|
|
* config/tc-sparc.c (md_parse_option): If the user gives
|
|
|
|
|
us '--64' make sure max_architecture is at least V9.
|
|
|
|
|
|
2009-03-18 16:28:24 +01:00
|
|
|
|
2009-03-18 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
|
|
|
|
|
BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
|
|
|
|
|
Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
|
|
|
|
|
|
2009-03-18 12:27:18 +01:00
|
|
|
|
2009-03-18 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* as.h: Include alloca-conf.h instead of config.h and remove
|
|
|
|
|
existing #if's handling alloca.
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
include/coff/
* internal.h (C_AIX_WEAKEXT): New macro.
(C_WEAKEXT): Use the GNU definition in the generic part of the file,
and conditionally reset it to C_AIX_WEAKEXT in the XCOFF part of
the file.
(CSECT_SYM_P): New macro.
* xcoff.h (L_WEAK): Define.
(EXTERN_SYM_P): New macro.
bfd/
* coffcode.h (coff_pointerize_aux_hook): Update CSECT_SYM_P to
check whether a symbol has csect information.
(coff_print_aux): Likewise.
* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff_swap_aux_out): Likewise.
(xcoff_reloc_type_br): Handle defweak symbols too.
* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Handle auxillary csect
information for C_AIX_WEAKEXT too.
(_bfd_xcoff64_swap_aux_out): Likewise.
(xcoff64_reloc_type_br): Handle defweak symbols too.
* coffgen.c (coff_print_symbol): Handle auxillary function
information for C_AIX_WEAKEXT too.
* xcofflink.c (_bfd_xcoff_canonicalize_dynamic_symtab): Set BSF_WEAK
instead of BSF_GLOBAL if the L_WEAK flag is set.
(xcoff_dynamic_definition_p): New function.
(xcoff_link_add_dynamic_symbols): Use it to decide whether ldsym
defines h. Don't change h if ldsym isn't the definition. Otherwise,
always take the symbol class from the ldsym. Use weak bfd symbol
types for weak ldsyms.
(xcoff_link_add_symbols): Use CSECT_SYM_P and EXTERN_SYM_P.
Fix the check for whether a definition is from a shared object.
Allow redefinitions of weak symbols.
(xcoff_link_check_ar_symbols): Use EXTERN_SYM_P.
(xcoff_keep_symbol_p): Likewise.
(bfd_xcoff_size_dynamic_sections): Use CSECT_SYM_P.
(xcoff_link_input_bfd): Use CSECT_SYM_P and EXTERN_SYM_P.
Add .loader entries for C_AIX_WEAKEXT as well as C_EXT symbols,
but mark them as L_WEAK.
(xcoff_write_global_symbol): Treat weak symbols as C_AIX_WEAKEXT
instead of C_EXT if C_AIX_WEAKEXT == C_WEAKEXT.
gas/
* config/tc-ppc.c (ppc_frob_symbol): Add csect information for
C_AIX_WEAKEXT too.
ld/testsuite/
* ld-powerpc/aix-glink-2a.s, ld-powerpc/aix-glink-2a.ex,
ld-powerpc/aix-glink-2b.s, ld-powerpc/aix-glink-2c.s,
ld-powerpc/aix-glink-2c.ex, ld-powerpc/aix-glink-2d.s,
ld-powerpc/aix-glink-2-32.dd, ld-powerpc/aix-glink-2-64.dd,
ld-powerpc/aix-weak-1a.s, ld-powerpc/aix-weak-1b.s,
ld-powerpc/aix-weak-1-rel.hd, ld-powerpc/aix-weak-1-rel.nd,
ld-powerpc/aix-weak-1-dso.hd, ld-powerpc/aix-weak-1-dso.nd,
ld-powerpc/aix-weak-1-dso.dnd, ld-powerpc/aix-weak-1.ex,
ld-powerpc/aix-weak-2a.s, ld-powerpc/aix-weak-2a.ex,
ld-powerpc/aix-weak-2a.nd, ld-powerpc/aix-weak-2b.s,
ld-powerpc/aix-weak-2b.nd, ld-powerpc/aix-weak-2c.s,
ld-powerpc/aix-weak-2c.ex, ld-powerpc/aix-weak-2c.nd,
ld-powerpc/aix-weak-2c.od, ld-powerpc/aix-weak-3a.s,
ld-powerpc/aix-weak-3a.ex, ld-powerpc/aix-weak-3b.s,
ld-powerpc/aix-weak-3b.ex, ld-powerpc/aix-weak-3-32.d,
ld-powerpc/aix-weak-3-32.dd, ld-powerpc/aix-weak-3-64.d,
ld-powerpc/aix-weak-3-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them. Replace tmp/aix-* with
tmp/aix64-* in 64-bit ld options.
2009-03-14 10:34:27 +01:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_frob_symbol): Add csect information for
|
|
|
|
|
C_AIX_WEAKEXT too.
|
|
|
|
|
|
2009-03-14 10:16:31 +01:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
|
|
|
|
|
"value" from fx_offset. Manually resubtract md_pcrel_from_section
|
|
|
|
|
where necessary.
|
|
|
|
|
|
2009-03-14 10:11:38 +01:00
|
|
|
|
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
|
|
|
|
|
* configure.in: Likewise.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2009-03-11 04:22:44 +01:00
|
|
|
|
2009-03-11 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-cris.c (cris_create_short_jump): Remove prototype.
|
|
|
|
|
Rename, changing all callers, to...
|
|
|
|
|
(md_create_short_jump): Adjust head comment. Assert
|
|
|
|
|
word-sized-branch distance for v32. Bail out calling as_fatal for
|
|
|
|
|
compatibility mode here.
|
|
|
|
|
(md_create_long_jump): ...not here.
|
|
|
|
|
* config/tc-cris.h (md_create_short_jump): Do not define.
|
|
|
|
|
|
2009-03-10 15:38:03 +01:00
|
|
|
|
2009-03-10 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
|
|
|
|
|
the jump table for multiple overflowing entries with the same
|
|
|
|
|
target, handle base symbols being different.
|
|
|
|
|
(relax_segment) <case rs_broken_word, second loop>: Whenever a
|
|
|
|
|
single entry overflows, arrange to redirect all entries with the
|
|
|
|
|
same target.
|
|
|
|
|
|
2009-03-10 07:53:46 +01:00
|
|
|
|
2009-03-10 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (parse_cpu): Delete.
|
|
|
|
|
(md_parse_option, ppc_machine): Use ppc_parse_cpu.
|
|
|
|
|
|
2009-03-09 19:33:42 +01:00
|
|
|
|
2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/9915
|
|
|
|
|
* config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
|
|
|
|
|
(LOCAL_LABELS_FB): Undefine befoe define.
|
|
|
|
|
|
2009-03-06 13:14:40 +01:00
|
|
|
|
2009-03-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* po/es.po: Updated Spanish translation.
|
|
|
|
|
|
2009-03-05 16:27:59 +01:00
|
|
|
|
2009-03-05 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* read.c (s_fill, s_space, s_float_space, float_cons, stringer,
|
|
|
|
|
s_incbin): Call md_cons_align (1).
|
|
|
|
|
|
2009-03-04 17:15:43 +01:00
|
|
|
|
2009-03-04 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-alpha.c (alpha_prologue_label): Only define for ELF
|
|
|
|
|
based targets.
|
|
|
|
|
(s_alpha_comm): Only define "temp" and "log_align" local variables
|
|
|
|
|
for EVAX targets.
|
|
|
|
|
|
2009-03-04 06:50:50 +01:00
|
|
|
|
2009-03-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
|
|
|
|
|
have non-zero addend.
|
|
|
|
|
(md_assemble): Parse args of __tls_get_addr calls.
|
|
|
|
|
(md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
|
|
|
|
|
|
2009-03-04 00:21:52 +01:00
|
|
|
|
2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
binutils/3807
|
|
|
|
|
* config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
|
|
|
|
|
local scope for ELF targets.
|
|
|
|
|
|
2009-03-04 00:15:04 +01:00
|
|
|
|
2009-03-04 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (md_assemble): APUinfo only for e500.
|
|
|
|
|
|
2009-03-03 Tristan Gingold <gingold@adacore.com>
Eric Botcazou <ebotcazou@adacore.com>
Douglas B Rupp <rupp@gnat.com>
* doc/as.texinfo (Overview): Mention -replace/-noreplace options
for Alpha.
* doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
* config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
(OBJ_SYMFIELD_TYPE): Remove.
(tc_canonicalize_symbol_name): Define to evax_shorten_name.
(TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
(tc_frob_file_before_fix): Do not defined on evax.
* config/tc-alpha.c: Always includes dwarf2dbg.h.
Include vms.h if OBJ_EVAX.
(struct alpha_fixup): Add xtrasym and procsym (evax only).
(enum alpha_macro_arg): Remove trailing comma.
(md_longopts): Add replace and noreplace arguments (evax only).
(alpha_evax_proc_hash): New variable.
(alpha_link_section): Make it global.
(alpha_ctors_section, alpha_dtors_section): Removed.
(alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
(alpha_lit8_section): Ifndef'ed on evax.
(alpha_lit8_symbol): Ditto.
(alpha_prologue_label): New variable.
(alpha_linkage_symbol): New variable (evax only).
(alpha_flag_replace): Ditto.
(struct alpha_evax_procs): Add handler and handler_data field.
(alpha_evax_proc): Now of type pointer.
(alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
(struct alpha_reloc_tag): Add sym and psym fields (evax only).
(get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
(alpha_adjust_relocs): Ifndef'ed on evax.
(load_expression): Add opname argument.
Implement LDA/BSR optimization for evax.
(emit_lda): Adjust for new prototype of load_expression.
(emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
(emit_loadstore): Likewise.
(emit_ldXu): Likewise.
(emit_stX): Likewise.
(emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
(emit_ldgp): Avoid warning in evax case.
(add_to_link_pool): Make it static. Return symbolic expression rather
than number expression for the offset.
(s_alpha_text): Create .text symbol for evax if not already created.
(s_alpha_comm): Do not create specific section for common symbol.
Fill common area with zeros for evax.
(s_alpha_prologue): Create alpha_prologue_label.
(s_alpha_section_name): New function (evax).
(s_alpha_section_word): Likewise.
(section_name): New static variabke moved out from ...
(s_alpha_section): ... here. Create new sections on demand.
(s_alpha_literals): New function (evax).
(s_alpha_ent): Create alpha_evax_proc instance and insert it in the
alpha_evax_proc_hash table.
(s_alpha_handler): New function (evax).
(s_alpha_frame): Adjust for new type of alpha_evax_proc.
(s_alpha_prologue): New function (evax).
(s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
handling of procedures with hash table.
Add support for condition handlers.
(s_alpha_linkage): Create linkage_fixup instance and chain it.
(s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
(s_alpha_mask): Likewise.
(s_alpha_fmask): Likewise.
(s_alpha_end): Clear alpha_evax_proc.
(s_alpha_align): Increase max_alignment to 16.
(alpha_print_token): Call print_expr_1 instead of print_expr.
(md_pseudo_table): Add "section", "literals", "handler" and
"handler_data" (evax). Do not ignore "prologue" on evax.
Fix indentation.
(md_begin): Create hash table for alpha_evax_proc_hash.
(md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
(md_show_usage): Mention -replace/-noreplace for evax.
(md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
(alpha_force_relocation): Likewise.
(alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
(tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
(emit_insn): New cases for evax specific relocs.
(assemble_insn): Fix indentation.
Take care of -MDISP in operand table.
* config/obj-evax.h (struct alpha_linkage_fixups): New struct.
(OBJ_SYMFIELD_TYPE): New macro.
(obj_symbol_new_hook): Define.
(obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
(obj_frob_file_before_fix): Ditto.
(PDSC_S_M_HANDLER_VALID): New macro.
(PDSC_S_M_HANDLER_DATA_VALID): Ditto.
(TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
Add prototypes for functions declared in obj-evax.c
* config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
(s_evax_weak): Convert to ansi-C.
(evax_symbol_new_hook): New function.
(evax_frob_symbol): Ditto.
(evax_frob_file_before_adjust): Ditto.
(evax_frob_file_before_fix): Ditto.
(evax_shorten_name): Ditto.
(crc32): Ditto.
(encode_32): Ditto.
(encode_16): Ditto.
(decode_16): Ditto.
(shorten_identifier): Ditto.
(is_truncated_identifier): Ditto.
* dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
* as.c (close_output_file): Remove #ifndef OBJ_VMS.
(main): Ditto.
2009-03-03 11:04:58 +01:00
|
|
|
|
2009-03-03 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
Eric Botcazou <ebotcazou@adacore.com>
|
|
|
|
|
Douglas B Rupp <rupp@gnat.com>
|
|
|
|
|
|
|
|
|
|
* doc/as.texinfo (Overview): Mention -replace/-noreplace options
|
|
|
|
|
for Alpha.
|
|
|
|
|
* doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
|
|
|
|
|
* config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
|
|
|
|
|
(OBJ_SYMFIELD_TYPE): Remove.
|
|
|
|
|
(tc_canonicalize_symbol_name): Define to evax_shorten_name.
|
|
|
|
|
(TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
|
|
|
|
|
(tc_frob_file_before_fix): Do not defined on evax.
|
|
|
|
|
* config/tc-alpha.c: Always includes dwarf2dbg.h.
|
|
|
|
|
Include vms.h if OBJ_EVAX.
|
|
|
|
|
(struct alpha_fixup): Add xtrasym and procsym (evax only).
|
|
|
|
|
(enum alpha_macro_arg): Remove trailing comma.
|
|
|
|
|
(md_longopts): Add replace and noreplace arguments (evax only).
|
|
|
|
|
(alpha_evax_proc_hash): New variable.
|
|
|
|
|
(alpha_link_section): Make it global.
|
|
|
|
|
(alpha_ctors_section, alpha_dtors_section): Removed.
|
|
|
|
|
(alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
|
|
|
|
|
(alpha_lit8_section): Ifndef'ed on evax.
|
|
|
|
|
(alpha_lit8_symbol): Ditto.
|
|
|
|
|
(alpha_prologue_label): New variable.
|
|
|
|
|
(alpha_linkage_symbol): New variable (evax only).
|
|
|
|
|
(alpha_flag_replace): Ditto.
|
|
|
|
|
(struct alpha_evax_procs): Add handler and handler_data field.
|
|
|
|
|
(alpha_evax_proc): Now of type pointer.
|
|
|
|
|
(alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
|
|
|
|
|
(struct alpha_reloc_tag): Add sym and psym fields (evax only).
|
|
|
|
|
(get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
|
|
|
|
|
(alpha_adjust_relocs): Ifndef'ed on evax.
|
|
|
|
|
(load_expression): Add opname argument.
|
|
|
|
|
Implement LDA/BSR optimization for evax.
|
|
|
|
|
(emit_lda): Adjust for new prototype of load_expression.
|
|
|
|
|
(emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
|
|
|
|
|
(emit_loadstore): Likewise.
|
|
|
|
|
(emit_ldXu): Likewise.
|
|
|
|
|
(emit_stX): Likewise.
|
|
|
|
|
(emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
|
|
|
|
|
(emit_ldgp): Avoid warning in evax case.
|
|
|
|
|
(add_to_link_pool): Make it static. Return symbolic expression rather
|
|
|
|
|
than number expression for the offset.
|
|
|
|
|
(s_alpha_text): Create .text symbol for evax if not already created.
|
|
|
|
|
(s_alpha_comm): Do not create specific section for common symbol.
|
|
|
|
|
Fill common area with zeros for evax.
|
|
|
|
|
(s_alpha_prologue): Create alpha_prologue_label.
|
|
|
|
|
(s_alpha_section_name): New function (evax).
|
|
|
|
|
(s_alpha_section_word): Likewise.
|
|
|
|
|
(section_name): New static variabke moved out from ...
|
|
|
|
|
(s_alpha_section): ... here. Create new sections on demand.
|
|
|
|
|
(s_alpha_literals): New function (evax).
|
|
|
|
|
(s_alpha_ent): Create alpha_evax_proc instance and insert it in the
|
|
|
|
|
alpha_evax_proc_hash table.
|
|
|
|
|
(s_alpha_handler): New function (evax).
|
|
|
|
|
(s_alpha_frame): Adjust for new type of alpha_evax_proc.
|
|
|
|
|
(s_alpha_prologue): New function (evax).
|
|
|
|
|
(s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
|
|
|
|
|
handling of procedures with hash table.
|
|
|
|
|
Add support for condition handlers.
|
|
|
|
|
(s_alpha_linkage): Create linkage_fixup instance and chain it.
|
|
|
|
|
(s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
|
|
|
|
|
(s_alpha_mask): Likewise.
|
|
|
|
|
(s_alpha_fmask): Likewise.
|
|
|
|
|
(s_alpha_end): Clear alpha_evax_proc.
|
|
|
|
|
(s_alpha_align): Increase max_alignment to 16.
|
|
|
|
|
(alpha_print_token): Call print_expr_1 instead of print_expr.
|
2009-03-04 00:15:04 +01:00
|
|
|
|
(md_pseudo_table): Add "section", "literals", "handler" and
|
2009-03-03 Tristan Gingold <gingold@adacore.com>
Eric Botcazou <ebotcazou@adacore.com>
Douglas B Rupp <rupp@gnat.com>
* doc/as.texinfo (Overview): Mention -replace/-noreplace options
for Alpha.
* doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
* config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
(OBJ_SYMFIELD_TYPE): Remove.
(tc_canonicalize_symbol_name): Define to evax_shorten_name.
(TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
(tc_frob_file_before_fix): Do not defined on evax.
* config/tc-alpha.c: Always includes dwarf2dbg.h.
Include vms.h if OBJ_EVAX.
(struct alpha_fixup): Add xtrasym and procsym (evax only).
(enum alpha_macro_arg): Remove trailing comma.
(md_longopts): Add replace and noreplace arguments (evax only).
(alpha_evax_proc_hash): New variable.
(alpha_link_section): Make it global.
(alpha_ctors_section, alpha_dtors_section): Removed.
(alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
(alpha_lit8_section): Ifndef'ed on evax.
(alpha_lit8_symbol): Ditto.
(alpha_prologue_label): New variable.
(alpha_linkage_symbol): New variable (evax only).
(alpha_flag_replace): Ditto.
(struct alpha_evax_procs): Add handler and handler_data field.
(alpha_evax_proc): Now of type pointer.
(alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
(struct alpha_reloc_tag): Add sym and psym fields (evax only).
(get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
(alpha_adjust_relocs): Ifndef'ed on evax.
(load_expression): Add opname argument.
Implement LDA/BSR optimization for evax.
(emit_lda): Adjust for new prototype of load_expression.
(emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
(emit_loadstore): Likewise.
(emit_ldXu): Likewise.
(emit_stX): Likewise.
(emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
(emit_ldgp): Avoid warning in evax case.
(add_to_link_pool): Make it static. Return symbolic expression rather
than number expression for the offset.
(s_alpha_text): Create .text symbol for evax if not already created.
(s_alpha_comm): Do not create specific section for common symbol.
Fill common area with zeros for evax.
(s_alpha_prologue): Create alpha_prologue_label.
(s_alpha_section_name): New function (evax).
(s_alpha_section_word): Likewise.
(section_name): New static variabke moved out from ...
(s_alpha_section): ... here. Create new sections on demand.
(s_alpha_literals): New function (evax).
(s_alpha_ent): Create alpha_evax_proc instance and insert it in the
alpha_evax_proc_hash table.
(s_alpha_handler): New function (evax).
(s_alpha_frame): Adjust for new type of alpha_evax_proc.
(s_alpha_prologue): New function (evax).
(s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
handling of procedures with hash table.
Add support for condition handlers.
(s_alpha_linkage): Create linkage_fixup instance and chain it.
(s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
(s_alpha_mask): Likewise.
(s_alpha_fmask): Likewise.
(s_alpha_end): Clear alpha_evax_proc.
(s_alpha_align): Increase max_alignment to 16.
(alpha_print_token): Call print_expr_1 instead of print_expr.
(md_pseudo_table): Add "section", "literals", "handler" and
"handler_data" (evax). Do not ignore "prologue" on evax.
Fix indentation.
(md_begin): Create hash table for alpha_evax_proc_hash.
(md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
(md_show_usage): Mention -replace/-noreplace for evax.
(md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
(alpha_force_relocation): Likewise.
(alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
(tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
(emit_insn): New cases for evax specific relocs.
(assemble_insn): Fix indentation.
Take care of -MDISP in operand table.
* config/obj-evax.h (struct alpha_linkage_fixups): New struct.
(OBJ_SYMFIELD_TYPE): New macro.
(obj_symbol_new_hook): Define.
(obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
(obj_frob_file_before_fix): Ditto.
(PDSC_S_M_HANDLER_VALID): New macro.
(PDSC_S_M_HANDLER_DATA_VALID): Ditto.
(TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
Add prototypes for functions declared in obj-evax.c
* config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
(s_evax_weak): Convert to ansi-C.
(evax_symbol_new_hook): New function.
(evax_frob_symbol): Ditto.
(evax_frob_file_before_adjust): Ditto.
(evax_frob_file_before_fix): Ditto.
(evax_shorten_name): Ditto.
(crc32): Ditto.
(encode_32): Ditto.
(encode_16): Ditto.
(decode_16): Ditto.
(shorten_identifier): Ditto.
(is_truncated_identifier): Ditto.
* dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
* as.c (close_output_file): Remove #ifndef OBJ_VMS.
(main): Ditto.
2009-03-03 11:04:58 +01:00
|
|
|
|
"handler_data" (evax). Do not ignore "prologue" on evax.
|
|
|
|
|
Fix indentation.
|
|
|
|
|
(md_begin): Create hash table for alpha_evax_proc_hash.
|
|
|
|
|
(md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
|
|
|
|
|
(md_show_usage): Mention -replace/-noreplace for evax.
|
|
|
|
|
(md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
|
|
|
|
|
(alpha_force_relocation): Likewise.
|
|
|
|
|
(alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
|
|
|
|
|
(tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
|
|
|
|
|
(emit_insn): New cases for evax specific relocs.
|
|
|
|
|
(assemble_insn): Fix indentation.
|
|
|
|
|
Take care of -MDISP in operand table.
|
|
|
|
|
* config/obj-evax.h (struct alpha_linkage_fixups): New struct.
|
|
|
|
|
(OBJ_SYMFIELD_TYPE): New macro.
|
|
|
|
|
(obj_symbol_new_hook): Define.
|
|
|
|
|
(obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
|
|
|
|
|
(obj_frob_file_before_fix): Ditto.
|
|
|
|
|
(PDSC_S_M_HANDLER_VALID): New macro.
|
|
|
|
|
(PDSC_S_M_HANDLER_DATA_VALID): Ditto.
|
|
|
|
|
(TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
|
|
|
|
|
Add prototypes for functions declared in obj-evax.c
|
|
|
|
|
* config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
|
|
|
|
|
(s_evax_weak): Convert to ansi-C.
|
|
|
|
|
(evax_symbol_new_hook): New function.
|
|
|
|
|
(evax_frob_symbol): Ditto.
|
|
|
|
|
(evax_frob_file_before_adjust): Ditto.
|
|
|
|
|
(evax_frob_file_before_fix): Ditto.
|
|
|
|
|
(evax_shorten_name): Ditto.
|
|
|
|
|
(crc32): Ditto.
|
|
|
|
|
(encode_32): Ditto.
|
|
|
|
|
(encode_16): Ditto.
|
|
|
|
|
(decode_16): Ditto.
|
|
|
|
|
(shorten_identifier): Ditto.
|
|
|
|
|
(is_truncated_identifier): Ditto.
|
|
|
|
|
* dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
|
|
|
|
|
* as.c (close_output_file): Remove #ifndef OBJ_VMS.
|
|
|
|
|
(main): Ditto.
|
|
|
|
|
|
2009-03-04 02:16:15 +01:00
|
|
|
|
2009-03-03 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Run "make dep-am".
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2009-03-02 15:47:38 +01:00
|
|
|
|
2009-03-02 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9874
|
|
|
|
|
* config/tc-ia64.c (fix_insn): Fix warning reported by
|
|
|
|
|
-Wformat-security.
|
|
|
|
|
|
2009-03-02 11:33:08 +01:00
|
|
|
|
2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
|
|
|
|
|
|
|
|
|
|
* config/tc-score7.c: New file.
|
|
|
|
|
* doc/c-score.texi: New file.
|
|
|
|
|
* Makefile.am: Update dependencies for tc-score.c.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* NEWS: Mention support for Score7 architecture.
|
|
|
|
|
* config/tc-score.c: Add support for Score7 architecture.
|
|
|
|
|
* config/tc-score.h: Likewise.
|
|
|
|
|
* doc/Makefile.am: Add c-score.texi.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
* doc/all.texi: Add Score7.
|
|
|
|
|
* doc/as.texinfo: Add Score7.
|
|
|
|
|
|
2009-03-02 01:29:23 +01:00
|
|
|
|
2009-03-01 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (md_assemble): Allow barrier instructions on
|
|
|
|
|
ARMv6-M cores.
|
|
|
|
|
|
2009-03-01 19:57:19 +01:00
|
|
|
|
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
gas/
* config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
"f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
(parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
gas/testsuite/
* gas/ppc/e500mc.d ("wait", "waitsrv", "waitimpl"): Add tests.
* gas/ppc/e500mc.s: Likewise.
* gas/ppc/power6.d ("cdtbcd", "cbcdtd", "addg6s"): Add tests.
* gas/ppc/power6.s: Likewise.
* gas/ppc/power7.d ("lfdpx", "mffgpr", "mftgpr"): Remove invalid tests.
("wait", "waitsrv", "waitimpl", "divwe", "divwe.", "divweo", "divweo.",
"divweu", "divweu.", "divweuo", "divweuo.", "bpermd", "popcntw",
"popcntd", "ldbrx", "stdbrx", "lfiwzx", "lfiwzx", "fcfids", "fcfids.",
"fcfidus", "fcfidus.", "fctiwu", "fctiwu.", "fctiwuz", "fctiwuz.",
"fctidu", "fctidu.", "fctiduz", "fctiduz.", "fcfidu", "fcfidu.",
"ftdiv", "ftdiv", "ftsqrt", "ftsqrt", "dcbtt", "dcbtstt", "dcffix",
"dcffix.", "lbarx", "lbarx", "lbarx", "lharx", "lharx", "lharx",
"stbcx.", "sthcx.", "fre", "fre.", "fres", "fres.", "frsqrte",
"frsqrte.", "frsqrtes", "frsqrtes.", "isel"): Add tests.
* gas/ppc/power7.s: Likewise.
* gas/ppc/vsx.d: New test.
* gas/ppc/vsx.s: Likewise.
* gas/ppc/ppc.exp: Run it.
include/opcode/
* ppc.h (PPC_OPCODE_POWER7): New.
opcodes/
* ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble
the power7 and the isel instructions.
* ppc-opc.c (insert_xc6, extract_xc6): New static functions.
(insert_dm, extract_dm): Likewise.
(XB6): Update comment to include XX2 form.
(WC, XC6, SHW, DMEX, UIM, XX2, XX3RC, XX4, XX2_MASK, XX2UIM_MASK,
XX2BF_MASK, XX3BF_MASK, XX3SHW_MASK, XX4_MASK, XWC_MASK, POWER7): New.
(RemoveXX3DM): Delete.
(powerpc_opcodes): <"lfdp", "lfdpx", "mcrxr", "mftb", "mffgpr",
"mftgpr">: Deprecate for POWER7.
<"fres", "fres.", "frsqrtes", "frsqrtes.", "fre", "fre.", "frsqrte",
"frsqrte.">: Deprecate the three operand form and enable the two
operand form for POWER7 and later.
<"wait">: Extend to accept optional parameter. Enable for POWER7.
<"waitsrv", "waitimpl">: Add extended opcodes.
<"ldbrx", "stdbrx">: Enable for POWER7.
<"cdtbcd", "cbcdtd", "addg6s">: Add POWER6 opcodes.
<"bpermd", "dcbtstt", "dcbtt", "dcffix.", "dcffix", "divde.", "divde",
"divdeo.", "divdeo", "divdeu.", "divdeu", "divdeuo.", "divdeuo",
"divwe.", "divwe", "divweo.", "divweo", "divweu.", "divweu", "divweuo.",
"divweuo", "fcfids.", "fcfids", "fcfidu.", "fcfidu", "fcfidus.",
"fcfidus", "fctidu.", "fctidu", "fctiduz.", "fctiduz", "fctiwu.",
"fctiwu", "fctiwuz.", "fctiwuz", "ftdiv", "ftsqrt", "lbarx", "lfiwzx",
"lharx", "popcntd", "popcntw", "stbcx.", "sthcx.">: Add POWER7 opcodes.
<"lxsdux", "lxsdx", "lxvdsx", "lxvw4ux", "lxvw4x", "stxsdux", "stxsdx",
"stxvw4ux", "stxvw4x", "xsabsdp", "xsadddp", "xscmpodp", "xscmpudp",
"xscpsgndp", "xscvdpsp", "xscvdpsxds", "xscvdpsxws", "xscvdpuxds",
"xscvdpuxws", "xscvspdp", "xscvsxddp", "xscvuxddp", "xsdivdp",
"xsmaddadp", "xsmaddmdp", "xsmaxdp", "xsmindp", "xsmsubadp",
"xsmsubmdp", "xsmuldp", "xsnabsdp", "xsnegdp", "xsnmaddadp",
"xsnmaddmdp", "xsnmsubadp", "xsnmsubmdp", "xsrdpi", "xsrdpic",
"xsrdpim", "xsrdpip", "xsrdpiz", "xsredp", "xsrsqrtedp", "xssqrtdp",
"xssubdp", "xstdivdp", "xstsqrtdp", "xvabsdp", "xvabssp", "xvadddp",
"xvaddsp", "xvcmpeqdp.", "xvcmpeqdp", "xvcmpeqsp.", "xvcmpeqsp",
"xvcmpgedp.", "xvcmpgedp", "xvcmpgesp.", "xvcmpgesp", "xvcmpgtdp.",
"xvcmpgtdp", "xvcmpgtsp.", "xvcmpgtsp", "xvcpsgnsp", "xvcvdpsp",
"xvcvdpsxds", "xvcvdpsxws", "xvcvdpuxds", "xvcvdpuxws", "xvcvspdp",
"xvcvspsxds", "xvcvspsxws", "xvcvspuxds", "xvcvspuxws", "xvcvsxddp",
"xvcvsxdsp", "xvcvsxwdp", "xvcvsxwsp", "xvcvuxddp", "xvcvuxdsp",
"xvcvuxwdp", "xvcvuxwsp", "xvdivdp", "xvdivsp", "xvmaddadp",
"xvmaddasp", "xvmaddmdp", "xvmaddmsp", "xvmaxdp", "xvmaxsp",
"xvmindp", "xvminsp", "xvmovsp", "xvmsubadp", "xvmsubasp", "xvmsubmdp",
"xvmsubmsp", "xvmuldp", "xvmulsp", "xvnabsdp", "xvnabssp", "xvnegdp",
"xvnegsp", "xvnmaddadp", "xvnmaddasp", "xvnmaddmdp", "xvnmaddmsp",
"xvnmsubadp", "xvnmsubasp", "xvnmsubmdp", "xvnmsubmsp", "xvrdpi",
"xvrdpic", "xvrdpim", "xvrdpip", "xvrdpiz", "xvredp", "xvresp",
"xvrspi", "xvrspic", "xvrspim", "xvrspip", "xvrspiz", "xvrsqrtedp",
"xvrsqrtesp", "xvsqrtdp", "xvsqrtsp", "xvsubdp", "xvsubsp", "xvtdivdp",
"xvtdivsp", "xvtsqrtdp", "xvtsqrtsp", "xxland", "xxlandc", "xxlnor",
"xxlor", "xxlxor", "xxmrghw", "xxmrglw", "xxsel", "xxsldwi", "xxspltd",
"xxspltw", "xxswapd">: Add VSX opcodes.
2009-02-26 23:07:33 +01:00
|
|
|
|
2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
|
|
|
|
|
"f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
|
|
|
|
|
(parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
|
|
|
|
|
|
2009-02-25 19:59:52 +01:00
|
|
|
|
2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (fits_in_imm4): Removed.
|
|
|
|
|
|
2009-02-25 00:48:57 +01:00
|
|
|
|
2009-02-24 Helge Deller <deller@gmx.de>
|
|
|
|
|
|
2009-02-25 17:34:10 +01:00
|
|
|
|
* config/tc-hppa.c (pa_ip): Add check of immediate values.
|
2009-02-25 00:48:57 +01:00
|
|
|
|
(SAVE_IMMEDIATE): New define.
|
|
|
|
|
|
2009-02-24 05:30:30 +01:00
|
|
|
|
2009-02-23 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (warn_deprecated_sp): New macro.
|
|
|
|
|
(do_t_mov_cmp): Permit R13 as the second
|
|
|
|
|
argument to "cmp.n".
|
|
|
|
|
|
2009-02-24 00:05:21 +01:00
|
|
|
|
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
|
|
|
|
|
(pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
|
|
|
|
|
|
2009-02-23 23:28:45 +01:00
|
|
|
|
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
|
|
|
|
|
|
2009-02-23 21:41:46 +01:00
|
|
|
|
2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (vex_imm4): Removed.
|
|
|
|
|
(VEX_check_operands): Likewise.
|
|
|
|
|
(match_template): Updated.
|
|
|
|
|
|
2009-02-23 11:10:25 +01:00
|
|
|
|
2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
|
|
|
|
|
|
|
|
|
|
* doc/all.texi: Set S390.
|
|
|
|
|
* doc/as.texinfo: Add S390 support and pull in c-s390.texi.
|
|
|
|
|
* doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
|
|
|
|
|
* doc/Makefile.in: Likewise.
|
|
|
|
|
* doc/c-s390.texi: New.
|
|
|
|
|
|
gas/
* config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
(mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
(mcf5307_ctrl): Add VBR.
(no_mac): New variable.
(m68k_extensions): Refer to no_mac mask.
(m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
52252..52259, 53011..53017.
(m68k_ip): Process CPUCR.
(init_table): Add cpucr entry.
(m68k_set_extension): Allow negated mask to refer to a variable.
(md_show_usage): Use '%s' to silence fprintf warning.
* config/m68k-parse.h (CPUCR): New control register.
gas/testsuite/
* m68k/br-isac.d, m68k/br-isac.s: Add stldsr test.
opcodes/
* m68k-opc.c (m68k_opcodes): Add stldsr instruction.
2009-02-12 09:31:03 +01:00
|
|
|
|
2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
|
|
|
|
|
(mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
|
|
|
|
|
(mcf5307_ctrl): Add VBR.
|
|
|
|
|
(no_mac): New variable.
|
|
|
|
|
(m68k_extensions): Refer to no_mac mask.
|
|
|
|
|
(m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
|
|
|
|
|
52252..52259, 53011..53017.
|
|
|
|
|
(m68k_ip): Process CPUCR.
|
|
|
|
|
(init_table): Add cpucr entry.
|
|
|
|
|
(m68k_set_extension): Allow negated mask to refer to a variable.
|
|
|
|
|
(md_show_usage): Use '%s' to silence fprintf warning.
|
|
|
|
|
* config/m68k-parse.h (CPUCR): New control register.
|
|
|
|
|
|
2009-02-10 09:07:31 +01:00
|
|
|
|
2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
|
|
|
|
|
as_bad calls to silence compiler warning.
|
|
|
|
|
|
2009-02-06 13:51:52 +01:00
|
|
|
|
2009-02-06 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9814
|
|
|
|
|
* config/tc-arm.c (MODE_RECORDED): New define.
|
|
|
|
|
(output_inst): Record the thumb_mode in the current frag.
|
|
|
|
|
(arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
|
|
|
|
|
(arm_init_frag): Only set the tc_frag_data field if it has not
|
|
|
|
|
already been set.
|
|
|
|
|
|
2009-02-04 17:03:31 +01:00
|
|
|
|
2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
AVX Programming Reference (January, 2009)
|
|
|
|
|
* config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
|
|
|
|
|
(CPU_FLAGS_AVX_MATCH): Updated.
|
|
|
|
|
(CPU_FLAGS_32BIT_MATCH): Likewise.
|
|
|
|
|
(cpu_flags_match): Likewise.
|
|
|
|
|
|
bfd:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr.
* archures.c (bfd_mach_mips_xlr): Define.
* bfd-in2.h: Regenerate.
* cpu-mips.c (I_xlr): Define.
(arch_info_struct): Add XLR entry.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR.
(mips_set_isa_flags): Handle bfd_mach_mips_xlr
(mips_mach_extensions): Add XLR entry.
binutils:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR.
gas:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
M_MSGWAIT and M_MSGWAIT_T.
(mips_cpu_info_table): Add XLR entry.
* doc/c-mips.texi (-march): Document xlr.
gas/testsuite:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* gas/mips/mips.exp (xlr): New architecture.
(xlr-ext): Run test.
* gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New.
include/elf:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* mips.h (E_MIPS_MACH_XLR): Define.
include/opcode:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* mips.h (INSN_XLR): Define.
(INSN_CHIP_MASK): Update.
(CPU_XLR): Define.
(OPCODE_IS_MEMBER): Update.
(M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define.
opcodes:
2009-02-03 Sandip Matte <sandip@rmicorp.com>
* mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define.
(mips_arch_choices): Add XLR entry.
* mips-opc.c (XLR): Define.
(mips_builtin_opcodes): Add XLR instructions.
2009-02-03 19:16:04 +01:00
|
|
|
|
2009-02-03 Sandip Matte <sandip@rmicorp.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
|
|
|
|
|
M_MSGWAIT and M_MSGWAIT_T.
|
|
|
|
|
(mips_cpu_info_table): Add XLR entry.
|
|
|
|
|
* doc/c-mips.texi (-march): Document xlr.
|
|
|
|
|
|
2009-02-04 17:25:34 +01:00
|
|
|
|
2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
|
2009-02-03 18:24:36 +01:00
|
|
|
|
|
|
|
|
|
* config/tc-avr.c (mcu_types): Add ata6289.
|
|
|
|
|
* doc/c-avr.texi: Likewise.
|
|
|
|
|
|
2009-02-03 16:54:05 +01:00
|
|
|
|
2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* configure.in: AC_SUBST pdfdir.
|
|
|
|
|
* Makefile.am: Add install-pdf, install-pdf-am,
|
|
|
|
|
and install-pdf-recursive targets.
|
|
|
|
|
* doc/Makefile.am: Define pdf__strip_dir. Add
|
|
|
|
|
install-pdf and install-pdf-am targets.
|
|
|
|
|
* po/Make-in: Add install-pdf target.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* doc/Makefile.in: Regenerate.
|
|
|
|
|
|
M68K TLS support.
ld/testsuite/
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
* ld-m68k/got-multigot-14-ok.d: Update.
* ld-m68k/m68k-got.exp: Update.
* ld-m68k/got-negative-12-13-14-34-ok.d: Update.
* ld-m68k/got-negative-14-ok.d: Update.
* ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
* ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
* ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
* ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
New test sources.
* ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
New test sources.
* ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
* ld-m68k/m68k.exp: Run new tests.
(merge isa-a isa-a:nodiv): Fix.
gas/testsuite/
* gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
* gas/m68k/all.exp: Run it.
gas/
* config/m68k-parse.h (enum pic_relocation): Add values for TLS
relocations.
* config/m68k-parse.y (yylex): Parse TLS relocations.
* config/tc-m68k.c (m68k_elf_cons): New static function.
(md_pseudo_table): Use it.
(get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
relocations.
(md_apply_fix): Fix to set thread local flag.
(m68k_elf_suffix): New static function; helper for m68k_elf_cons.
include/elf/
* m68k.h: Map TLS relocations to numbers.
bfd/
* bfd-in2.h: Regenerate.
* elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
fields from n_entries to n_slots where appropriate, update comments.
(HOWTO): Add TLS relocations.
(reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
(enum elf_m68k_got_offset_size): New enum.
(struct elf_m68k_got_entry.type): Move field to ...
(struct elf_m68k_got_entry_key): ... here. Update all uses.
(elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
functions.
(elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
functions.
(struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
fields into n_entries array. Update comments.
(elf_m68k_init_got): Simplify, update all uses.
(elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
(ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
GOT entries; update name, update all uses.
(ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
(elf_m68k_get_got_entry): Update.
(elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
simplify.
(elf_m68k_remove_got_entry_type): Simplify.
(elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
(elf_m68k_can_merge_gots): Update.
(elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
(struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
GOT entries, simplify.
(elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
(struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
field, remove obsoleted local_n_entries field.
(elf_m68k_partition_multi_got_2): New static function.
(elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
update.
(elf_m68k_remove_got_entry_type): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
update of sgot->size and srelgot->size.
(elf_m68k_gc_sweep_hook): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
TLS relocations.
* reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
* libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
2009-02-03 15:36:47 +01:00
|
|
|
|
2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/m68k-parse.h (enum pic_relocation): Add values for TLS
|
|
|
|
|
relocations.
|
|
|
|
|
* config/m68k-parse.y (yylex): Parse TLS relocations.
|
|
|
|
|
* config/tc-m68k.c (m68k_elf_cons): New static function.
|
|
|
|
|
(md_pseudo_table): Use it.
|
|
|
|
|
(get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
|
|
|
|
|
relocations.
|
|
|
|
|
(md_apply_fix): Fix to set thread local flag.
|
|
|
|
|
(m68k_elf_suffix): New static function; helper for m68k_elf_cons.
|
|
|
|
|
|
2009-02-03 11:58:46 +01:00
|
|
|
|
2009-02-03 Vince Weaver <vince@csl.cornell.edu>
|
|
|
|
|
|
|
|
|
|
PR 9779
|
|
|
|
|
* config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
|
|
|
|
|
indexed addressing for symbolic expressions.
|
|
|
|
|
|
2009-01-29 12:56:19 +01:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (BAD_SP): Define.
|
|
|
|
|
(s_arm_unwind_fnstart): Use REG_SP.
|
|
|
|
|
(s_arm_unwind_setfp): Likewise.
|
|
|
|
|
(reject_bad_reg): New macro.
|
|
|
|
|
(do_co_reg): Check for bad registers.
|
|
|
|
|
(do_co_reg2c): Likewise.
|
|
|
|
|
(do_srs): Use REG_SP.
|
|
|
|
|
(do_t_add_sub): Check for bad registers.
|
|
|
|
|
(do_t_adr): Likewise.
|
|
|
|
|
(do_t_arit3): Likewise.
|
|
|
|
|
(do_t_arit3c): Likewise.
|
|
|
|
|
(do_t_bfc): Likewise.
|
|
|
|
|
(do_t_bfi): Likewise.
|
|
|
|
|
(do_t_bfx): Likewise.
|
|
|
|
|
(do_t_blx): Likewise.
|
|
|
|
|
(do_t_bx): Likewise.
|
|
|
|
|
(do_t_bxj): Likewise.
|
|
|
|
|
(do_t_clz): Likewise.
|
|
|
|
|
(do_t_div): Likewise.
|
|
|
|
|
(do_t_mla): Likewise.
|
|
|
|
|
(do_t_mlal): Likewise.
|
|
|
|
|
(do_t_mov_cmp): Likewise.
|
|
|
|
|
(do_t_mov16): Likewise.
|
|
|
|
|
(do_t_mvn_tst): Likewise.
|
|
|
|
|
(do_t_mrs): Likewise.
|
|
|
|
|
(do_t_msr): Likewise.
|
|
|
|
|
(do_t_mul): Likewise.
|
|
|
|
|
(do_t_mull): Likewise.
|
|
|
|
|
(do_t_orn): Likewise.
|
|
|
|
|
(do_t_pkhbt): Likewise.
|
|
|
|
|
(do_t_pld): Likewise.
|
|
|
|
|
(do_t_rbit): Likewise.
|
|
|
|
|
(do_t_rev): Likewise.
|
|
|
|
|
(do_t_rrx): Likewise.
|
|
|
|
|
(do_t_rsb): Likewise.
|
|
|
|
|
(do_t_shift): Likewise.
|
|
|
|
|
(do_t_simd): Likewise.
|
|
|
|
|
(do_t_ssat): Likewise.
|
|
|
|
|
(do_t_ssat16): Likewise.
|
|
|
|
|
(do_t_sxtah): Likewise.
|
|
|
|
|
(do_t_sxth): Likewise.
|
|
|
|
|
(do_t_tb): Likewise.
|
|
|
|
|
(do_t_usat): Likewise.
|
|
|
|
|
(do_t_usat16): Likewise.
|
|
|
|
|
(nysn_insert_sp): Use REG_SP.
|
|
|
|
|
|
2009-01-29 12:52:26 +01:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_orn): New function.
|
|
|
|
|
(do_t_rrx): Likewise.
|
|
|
|
|
(insns): Add orn and rrx.
|
|
|
|
|
|
gas:
2009-01-29 Mark Mitchell <mark@codesourcery.com>
* config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
uasx, uhasx, uhsx, uqasx, uqsax, usax.
gas/testsuite:
2009-01-29 Mark Mitchell <mark@codesourcery.com>
* gas/arm/thumb32.s (qadd): Add tests for them.
* gas/arm/thumb32.d: Adjust accordingly.
2009-01-29 12:50:46 +01:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
|
2009-03-04 00:15:04 +01:00
|
|
|
|
uasx, uhasx, uhsx, uqasx, uqsax, usax.
|
gas:
2009-01-29 Mark Mitchell <mark@codesourcery.com>
* config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
uasx, uhasx, uhsx, uqasx, uqsax, usax.
gas/testsuite:
2009-01-29 Mark Mitchell <mark@codesourcery.com>
* gas/arm/thumb32.s (qadd): Add tests for them.
* gas/arm/thumb32.d: Adjust accordingly.
2009-01-29 12:50:46 +01:00
|
|
|
|
|
2009-01-29 12:48:34 +01:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
|
|
|
|
|
qdsub in Thumb-2 mode.
|
|
|
|
|
|
2009-01-29 12:46:02 +01:00
|
|
|
|
2009-01-29 Paul Brook <paul@codesourcery.com>
|
2009-05-20 15:48:16 +02:00
|
|
|
|
Mark Mitchell <mark@codesourcery.com>
|
2009-01-29 12:46:02 +01:00
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
|
|
|
|
|
of MUL when possible.
|
|
|
|
|
|
2009-01-29 10:03:13 +01:00
|
|
|
|
2009-01-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mep.h (DIFF_EXPR_OK): Do not define.
|
|
|
|
|
|
2009-01-29 08:08:12 +01:00
|
|
|
|
2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
Catherine Moore <clm@codesourcery.com?
|
|
|
|
|
|
|
|
|
|
* doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
|
|
|
|
|
.4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
|
|
|
|
|
directives.
|
|
|
|
|
|
2009-01-27 14:48:14 +01:00
|
|
|
|
2009-01-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (append_insn): Cope with a complex reloc
|
|
|
|
|
sequence containing an unsupported reloc type.
|
|
|
|
|
(enum options): Replace computed #define's constants for option
|
|
|
|
|
numbers with this enum.
|
|
|
|
|
(struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
|
|
|
|
|
environment.
|
|
|
|
|
(md_parse_option): Allow -32 in a non-ELF environment.
|
|
|
|
|
|
2009-01-26 15:36:43 +01:00
|
|
|
|
2009-01-26 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (attributes_set_explicitly): New array.
|
|
|
|
|
(s_arm_eabi_attribute): Check return value from s_vendor_attribute.
|
|
|
|
|
(cpu_arch): Add ARM_ARCH_V5T.
|
|
|
|
|
(aeabi_set_attribute_int): New function.
|
|
|
|
|
(aeabi_set_attribute_string): New function.
|
|
|
|
|
(aeabi_set_public_attributes): Set attributes according to the user's
|
|
|
|
|
intentions, rather than the actual state of the binary.
|
|
|
|
|
Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
|
|
|
|
|
bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
|
|
|
|
|
Support WMMXv2. Use attribute names instead of numbers.
|
|
|
|
|
* read.c (s_vendor_attribute): Change return type to int.
|
|
|
|
|
Return the tag number that was set.
|
|
|
|
|
* read.h (s_vendor_attribute): Change return type to int.
|
|
|
|
|
|
2009-01-26 14:38:52 +01:00
|
|
|
|
2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
|
|
|
|
|
|
|
|
|
|
PR 9789
|
|
|
|
|
* config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
|
|
|
|
|
* doc/c-avr.texi: Likewise.
|
|
|
|
|
|
2009-01-23 18:46:21 +01:00
|
|
|
|
2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-arm.texi (): Document -mwarn-deprecated.
|
|
|
|
|
* config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
|
|
|
|
|
(warn_on_deprecated): ... this.
|
|
|
|
|
(opcode_lookup, md_assemble): Check it before warning.
|
|
|
|
|
(arm_opts): Add m[no-]warn-deprecated.
|
|
|
|
|
(md_parse_option): Replace WARN_DEPRECATED with
|
|
|
|
|
warn_on_deprecated.
|
|
|
|
|
|
2009-01-23 15:45:48 +01:00
|
|
|
|
2009-01-23 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
2009-01-23 15:56:38 +01:00
|
|
|
|
* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
|
|
|
|
|
arguments to macro_build to match format.
|
|
|
|
|
|
2009-01-23 15:45:48 +01:00
|
|
|
|
* config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
|
|
|
|
|
* config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
|
|
|
|
|
|
2009-01-19 16:40:56 +01:00
|
|
|
|
2009-01-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
|
|
|
|
|
ELF format ARM targets.
|
|
|
|
|
* config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
|
|
|
|
|
|
|
|
|
|
2009-01-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Restore alpha sorting to object format switch
|
|
|
|
|
statement.
|
|
|
|
|
|
2009-01-19 12:50:31 +01:00
|
|
|
|
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* read.c (s_vendor_attribute): Allow for unknown flag bits in type.
|
|
|
|
|
|
2009-01-16 12:38:14 +01:00
|
|
|
|
2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
|
|
|
|
|
* config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
|
|
|
|
|
|
2009-01-16 11:26:49 +01:00
|
|
|
|
2009-01-16 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (arm_copy_symbol_attributes): New function.
|
|
|
|
|
* config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
|
|
|
|
|
(CONVERT_SYMBOLIC_ATTRIBUTE): New define.
|
|
|
|
|
* read.c (s_vendor_attribute): Add support for symbolic tag names.
|
|
|
|
|
Improve string parser.
|
|
|
|
|
* doc/c-arm.texi (ARM Machine Directives): Document
|
|
|
|
|
.eabi_attribute symbolic tag names.
|
|
|
|
|
|
2009-01-16 09:02:29 +01:00
|
|
|
|
2009-01-16 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* configure.in (commonbfdlib): Delete.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* po/POTFILES.in: Regenerate.
|
|
|
|
|
|
2009-01-15 Andrew Stubbs <ams@codesourcery.com>
Julian Brown <julian@codesourcery.com>
bfd/
* elf-bfd.h (NUM_KNOWN_OBJ_ATTRIBUTES): Set to 71 to include all known
ARM attributes in ABI 2.07.
* elf32-arm.c (get_secondary_compatible_arch): New function.
(set_secondary_compatible_arch): New function.
(tag_cpu_arch_combine): New function.
(elf32_arm_copy_one_eabi_other_attribute): Delete function.
(elf32_arm_copy_eabi_other_attribute_list): Delete function.
(elf32_arm_merge_eabi_attributes): Rename order_312 to order_021 to
make it fit with order_01243.
Add support for Tag_also_compatible_with,
Tag_CPU_unaligned_access, Tag_T2EE_use, Tag_Virtualization_use,
Tag_MPextension_use, Tag_nodefaults and Tag_conformance.
Improve/tidy up support for Tag_CPU_raw_name, Tag_CPU_name,
Tag_CPU_arch, Tag_ABI_HardFP_use, Tag_VFP_HP_extension,
Tag_ABI_FP_denormal, Tag_ABI_PCS_GOT_use, Tag_ABI_align8_needed,
Tag_VFP_arch and Tag_ABI_FP_16bit_format.
Rework the way unknown attributes are handled.
Defer errors until all attributes have been processed.
gas/
* config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
include/elf/
* arm.h (TAG_CPU_ARCH_V6_M, TAG_CPU_ARCH_V6S_M): New defines.
(MAX_TAG_CPU_ARCH, TAG_CPU_ARCH_V4T_PLUS_V6_M): New defines.
(Tag_NEON_arch): Rename to Tag_Advanced_SIMD_arch to match ARM ABI
version 2.07.
(Tag_undefined39, Tag_nodefaults): New enum values.
(Tag_also_compatible_with, Tag_T2EE_use): Likewise.
(Tag_conformance, Tag_Virtualization_use): Likewise.
(Tag_undefined69, Tag_MPextension_use): Likewise.
2009-01-15 19:00:49 +01:00
|
|
|
|
2009-01-15 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
Julian Brown <julian@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
|
|
|
|
|
|
2009-01-15 14:03:05 +01:00
|
|
|
|
2009-01-15 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
|
|
|
|
|
bfd_elf_add_obj_attr_int_string.
|
|
|
|
|
|
* include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO,
EF_IA_64_ARCHVER_1): New macros. Minor reformatting.
* bfd/Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
(BFD32_BACKENDS_CFILES): Add new file vmsutil.c
(vmsutil.lo): Add dependency rule
* bfd/Makefile.in: Regenerate
* bfd/config.bfd (ia64*-*-*vms*): Add case.
* bfd/configure.in (bfd_elf64_ia64_vms_vec): Add case.
* bfd/configure: Regenerate
* bfd/vmsutil.[ch]: New files
* bfd/elf-bfd.h (struct bfd_elf_special_section): Change type of
attr to bfd_vma.
* bfd/elfxx-ia64.c (elfNN_vms_post_process_headers,
elfNN_vms_section_processing, elfNN_vms_final_write_processing,
elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
elfNN_vms_object_p): New functions
* bfd/targets.c (bfd_elf64_ia64_vms_vec): New target.
* gas/configure.tgt(ia64-*-*vms*): New target.
* gas/dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
* gas/tc.h (md_number_to_chars): Declare iff undefined.
* gas/config/obj-elf.c (obj_elf_change_section): Change type of
arg attr to bfd_vma.
(obj_elf_parse_section_letters): Return a bfd_vma. Change type of
variables attr, md_attr to bfd_vma.
(obj_elf_section_word): Likewise.
(obj_elf_section): Change type of variable attr to bfd_vma
* gas/config/obj-elf.h (obj_elf_change_section): Change type of
arg attr to bfd_vma
* gas/config/tc-ia64.c (bfdver.h,time.h): Include.
(ia64_elf_section_letter): Now returns a bfd_vma.
Handle VMS specific attributes.
(ia64_elf_section_flags): Arg attr now a bfd_vma.
(ia64_init): Don't turn on dependency checking for VMS.
(ia64_target_format): Check for VMS flag bit.
(do_alias): Hande decc$ functions.
(get_vms_time): New function.
(ia64_vms_note): New function.
* gas/config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
(ia64_elf_section_flags): Arg attr now a bfd_vma.
(tc_init_after_args): Define for VMS.
* gas/config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
(alpha_elf_section_flags): Change type of arg attr to bfd_vma.
* gas/config/tc-alpha.h: Likewise.
* gas/config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
(x86_64_section_word): Return a bfd_vma.
* gas/config/tc-i386.h: Likewise.
* gas/config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
attr to bfd_vma.
* gas/config/tc-ip2k.h: Likewise.
* gas/config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
(mep_elf_section_flags): Change type of arg attr to bfd_vma.
* gas/config/tc-mep.h: Likewise.
* gas/config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
(ppc_section_word): Return a bfd_vma.
(ppc_section_flags): Change type of arg attr to bfd_vma.
* gas/config/tc-ppc.h: Likewise.
* gas/config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
New file with new macros
* gas/dwarf2dbg.c (get_filenum, out_file_list): Default and call new
macros.
2009-01-15 13:42:52 +01:00
|
|
|
|
2009-01-15 Douglas B Rupp <rupp@gnat.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt(ia64-*-*vms*): New target.
|
|
|
|
|
* dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
|
|
|
|
|
* tc.h (md_number_to_chars): Declare iff undefined.
|
|
|
|
|
* config/obj-elf.c (obj_elf_change_section): Change type of arg
|
|
|
|
|
attr to bfd_vma.
|
|
|
|
|
(obj_elf_parse_section_letters): Return a bfd_vma. Change type of
|
|
|
|
|
variables attr, md_attr to bfd_vma.
|
|
|
|
|
(obj_elf_section_word): Likewise.
|
|
|
|
|
(obj_elf_section): Change type of variable attr to bfd_vma
|
|
|
|
|
* config/obj-elf.h (obj_elf_change_section): Change type of arg
|
|
|
|
|
attr to bfd_vma.
|
|
|
|
|
* config/tc-ia64.c (bfdver.h,time.h): Include.
|
|
|
|
|
(ia64_elf_section_letter): Now returns a bfd_vma.
|
|
|
|
|
Handle VMS specific attributes.
|
|
|
|
|
(ia64_elf_section_flags): Arg attr now a bfd_vma.
|
|
|
|
|
(ia64_init): Don't turn on dependency checking for VMS.
|
|
|
|
|
(ia64_target_format): Check for VMS flag bit.
|
|
|
|
|
(do_alias): Hande decc$ functions.
|
|
|
|
|
(get_vms_time): New function.
|
|
|
|
|
(ia64_vms_note): New function.
|
|
|
|
|
* config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
|
|
|
|
|
(ia64_elf_section_flags): Arg attr now a bfd_vma.
|
|
|
|
|
(tc_init_after_args): Define for VMS.
|
|
|
|
|
* config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
|
|
|
|
|
(alpha_elf_section_flags): Change type of arg attr to bfd_vma.
|
|
|
|
|
* config/tc-alpha.h: Likewise.
|
|
|
|
|
* config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
|
|
|
|
|
(x86_64_section_word): Return a bfd_vma.
|
|
|
|
|
* config/tc-i386.h: Likewise.
|
|
|
|
|
* config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
|
|
|
|
|
attr to bfd_vma.
|
|
|
|
|
* config/tc-ip2k.h: Likewise.
|
|
|
|
|
* config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
|
|
|
|
|
(mep_elf_section_flags): Change type of arg attr to bfd_vma.
|
|
|
|
|
* config/tc-mep.h: Likewise.
|
|
|
|
|
* config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
|
|
|
|
|
(ppc_section_word): Return a bfd_vma.
|
|
|
|
|
(ppc_section_flags): Change type of arg attr to bfd_vma.
|
|
|
|
|
* config/tc-ppc.h: Likewise.
|
|
|
|
|
* config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
|
|
|
|
|
* config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
|
2009-01-23 15:56:38 +01:00
|
|
|
|
DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
|
|
|
|
|
New file with new macros
|
|
|
|
|
* dwarf2dbg.c (get_filenum, out_file_list): Default and call new
|
|
|
|
|
macros.
|
* include/elf/ia64.h (SHT_IA_64_VMS_DISPLAY_NAME_INFO,
EF_IA_64_ARCHVER_1): New macros. Minor reformatting.
* bfd/Makefile.am (BFD32_BACKENDS): Add new object vmsutil.lo
(BFD32_BACKENDS_CFILES): Add new file vmsutil.c
(vmsutil.lo): Add dependency rule
* bfd/Makefile.in: Regenerate
* bfd/config.bfd (ia64*-*-*vms*): Add case.
* bfd/configure.in (bfd_elf64_ia64_vms_vec): Add case.
* bfd/configure: Regenerate
* bfd/vmsutil.[ch]: New files
* bfd/elf-bfd.h (struct bfd_elf_special_section): Change type of
attr to bfd_vma.
* bfd/elfxx-ia64.c (elfNN_vms_post_process_headers,
elfNN_vms_section_processing, elfNN_vms_final_write_processing,
elfNN_vms_close_and_cleanup, elfNN_vms_section_from_shdr,
elfNN_vms_object_p): New functions
* bfd/targets.c (bfd_elf64_ia64_vms_vec): New target.
* gas/configure.tgt(ia64-*-*vms*): New target.
* gas/dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
* gas/tc.h (md_number_to_chars): Declare iff undefined.
* gas/config/obj-elf.c (obj_elf_change_section): Change type of
arg attr to bfd_vma.
(obj_elf_parse_section_letters): Return a bfd_vma. Change type of
variables attr, md_attr to bfd_vma.
(obj_elf_section_word): Likewise.
(obj_elf_section): Change type of variable attr to bfd_vma
* gas/config/obj-elf.h (obj_elf_change_section): Change type of
arg attr to bfd_vma
* gas/config/tc-ia64.c (bfdver.h,time.h): Include.
(ia64_elf_section_letter): Now returns a bfd_vma.
Handle VMS specific attributes.
(ia64_elf_section_flags): Arg attr now a bfd_vma.
(ia64_init): Don't turn on dependency checking for VMS.
(ia64_target_format): Check for VMS flag bit.
(do_alias): Hande decc$ functions.
(get_vms_time): New function.
(ia64_vms_note): New function.
* gas/config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
(ia64_elf_section_flags): Arg attr now a bfd_vma.
(tc_init_after_args): Define for VMS.
* gas/config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
(alpha_elf_section_flags): Change type of arg attr to bfd_vma.
* gas/config/tc-alpha.h: Likewise.
* gas/config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
(x86_64_section_word): Return a bfd_vma.
* gas/config/tc-i386.h: Likewise.
* gas/config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
attr to bfd_vma.
* gas/config/tc-ip2k.h: Likewise.
* gas/config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
(mep_elf_section_flags): Change type of arg attr to bfd_vma.
* gas/config/tc-mep.h: Likewise.
* gas/config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
(ppc_section_word): Return a bfd_vma.
(ppc_section_flags): Change type of arg attr to bfd_vma.
* gas/config/tc-ppc.h: Likewise.
* gas/config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
New file with new macros
* gas/dwarf2dbg.c (get_filenum, out_file_list): Default and call new
macros.
2009-01-15 13:42:52 +01:00
|
|
|
|
|
2009-01-15 13:33:46 +01:00
|
|
|
|
2009-01-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9722
|
|
|
|
|
* config/tc-arm.c (do_t_nop): Check for availability of Thumb2
|
|
|
|
|
instructions before generating a Thumb2 nop.
|
|
|
|
|
|
2009-01-14 16:43:20 +01:00
|
|
|
|
2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2009-01-23 15:56:38 +01:00
|
|
|
|
|
2009-01-14 16:43:20 +01:00
|
|
|
|
* config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
|
|
|
|
|
|
bfd/
* elf32-spu.c (struct spu_link_hash_table): Add init, line_size_log2,
num_lines_log2.
(struct got_entry): Add br_addr.
(struct call_info): Add priority.
(struct function_info): Add lr_store and sp_adjust.
(spu_elf_setup): Init line_size_log2 and num_lines_log2.
(spu_elf_find_overlays): For soft-icache, mark any section within cache
area as an overlay, and check that no other overlays exist. Look up
icache overlay manager entry sym.
(BRA_STUBS, BRA, BRASL): Define.
(enum _stub_type): Replace ovl_stub with call_ovl_stub and br*_ovl_stub.
(needs_ovl_stub): Adjust for soft-icache. Return priority encoded
in branch insn.
(count_stub, build_stub): Support soft-icache.
(build_spuear_stubs, process_stubs): Adjust build_stub call.
(spu_elf_size_stubs): Size soft-icache stubs.
(overlay_index): New function.
(spu_elf_build_stubs): Make static. Support soft-icache.
(spu_elf_check_vma): Don't turn off auto_overlay if soft-icache.
(find_function_stack_adjust): Save lr store and stack adjust insn
offsets.
(maybe_insert_function): Adjust find_function_stack_adjust call.
(mark_functions_via_relocs): Retrieve priority.
(remove_cycles): Only warn about pruned arcs when stack_analysis.
(sort_calls): Sort by priority first.
(mark_overlay_section): Ignore .ovl.init.
(sum_stack): Only print when stack_analysis.
(print_one_overlay_section): New function, extracted from..
(spu_elf_auto_overlay): ..here. Support soft-icache overlays.
(spu_elf_stack_analysis): Only print when htab->stack_analysis.
(spu_elf_final_link): Call spu_elf_stack_analysis for lrlive
analysis. Call spu_elf_build_stubs.
(spu_elf_relocate_section): For soft-icache encode overlay index
into addresses.
(spu_elf_output_symbol_hook): Support soft-icache.
(spu_elf_modify_program_headers: Likewise.
* elf32-spu.h (struct spu_elf_params): Add lrlive_analysis. Rename
num_regions to num_lines. Add line_size and max_branch.
(enum _ovly_flavour): Add ovly_soft_icache.
(spu_elf_build_stubs): Delete.
gas/
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
(brinfo): New var.
(md_assemble): Poke brinfo into branch instructions.
(spu_brinfo): New function.
(md_apply_fix): Don't assume insn fields start off at zero, mask
them to remove possible brinfo.
ld/
* emultempl/spuelf.em (params): Init new fields.
(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
(spu_place_special_section): Adjust placement for soft-icache. Pad
soft-icache section to a fixed size. Clear addr_tree.
(spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
sections a little more intelligently.
(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
(OPTION_SPU_LRLIVE): Define.
(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Handle them.
* emultempl/spu_icache.S: Dummy file.
* emultempl/spu_icache.o_c: Regenerate.
* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
(spu_icache.o_c): Add rule to build.
(CLEANFILES): Zap temp files.
(EXTRA_DIST): Add spu_icache.o_c.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-spu/ovl.d: Allow for absolute branches in stubs.
* ld-spu/ovl2.d: Likewise.
2009-01-12 01:23:58 +01:00
|
|
|
|
2009-01-12 Alan Modra <amodra@bigpond.net.au>
|
|
|
|
|
|
|
|
|
|
* config/tc-spu.c (md_pseudo_table): Add "brinfo".
|
|
|
|
|
(brinfo): New var.
|
|
|
|
|
(md_assemble): Poke brinfo into branch instructions.
|
|
|
|
|
(spu_brinfo): New function.
|
|
|
|
|
(md_apply_fix): Don't assume insn fields start off at zero, mask
|
|
|
|
|
them to remove possible brinfo.
|
|
|
|
|
|
2009-01-10 19:33:35 +01:00
|
|
|
|
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Reformat.
|
|
|
|
|
|
gas/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
.syscall.
(i386_align_code): Handle PROCESSOR_COREI7.
(md_show_usage): Add corei7, clflush and syscall.
(i386_target_format): Replace cpup4 with cpuclflush.
* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
* doc/c-i386.texi: Document corei7, clflush and syscall.
gas/testsuite/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.s: Add clflush and syscall.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
opcodes/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
(cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
and CpuSYSCALL.
(lineno): Removed.
(set_bitfield): Take an argument, lineno. Don't report lineno
on error if it is -1.
(process_i386_cpu_flag): Take an argument, lineno.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(output_i386_opcode): Likewise.
(opcode_hash_entry): Add lineno.
(process_i386_opcodes): Updated.
(process_i386_registers): Likewise.
(process_i386_initializers): Likewise.
* i386-opc.h (CpuP4): Removed.
(CpuK6): Likewise.
(CpuK8): Likewise.
(CpuClflush): New.
(CpuSYSCALL): Likewise.
(CpuMMX): Updated.
(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
cpuclflush and cpusyscall.
* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
syscall and sysret.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2009-01-10 18:25:52 +01:00
|
|
|
|
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
2009-02-25 17:34:10 +01:00
|
|
|
|
* config/tc-i386.c (cpu_arch): Add corei7, .clflush and
|
gas/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
.syscall.
(i386_align_code): Handle PROCESSOR_COREI7.
(md_show_usage): Add corei7, clflush and syscall.
(i386_target_format): Replace cpup4 with cpuclflush.
* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
* doc/c-i386.texi: Document corei7, clflush and syscall.
gas/testsuite/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.s: Add clflush and syscall.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
opcodes/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
(cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
and CpuSYSCALL.
(lineno): Removed.
(set_bitfield): Take an argument, lineno. Don't report lineno
on error if it is -1.
(process_i386_cpu_flag): Take an argument, lineno.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(output_i386_opcode): Likewise.
(opcode_hash_entry): Add lineno.
(process_i386_opcodes): Updated.
(process_i386_registers): Likewise.
(process_i386_initializers): Likewise.
* i386-opc.h (CpuP4): Removed.
(CpuK6): Likewise.
(CpuK8): Likewise.
(CpuClflush): New.
(CpuSYSCALL): Likewise.
(CpuMMX): Updated.
(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
cpuclflush and cpusyscall.
* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
syscall and sysret.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2009-01-10 18:25:52 +01:00
|
|
|
|
.syscall.
|
|
|
|
|
(i386_align_code): Handle PROCESSOR_COREI7.
|
|
|
|
|
(md_show_usage): Add corei7, clflush and syscall.
|
|
|
|
|
(i386_target_format): Replace cpup4 with cpuclflush.
|
|
|
|
|
|
2009-02-25 17:34:10 +01:00
|
|
|
|
* config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
|
gas/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
.syscall.
(i386_align_code): Handle PROCESSOR_COREI7.
(md_show_usage): Add corei7, clflush and syscall.
(i386_target_format): Replace cpup4 with cpuclflush.
* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
* doc/c-i386.texi: Document corei7, clflush and syscall.
gas/testsuite/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.s: Add clflush and syscall.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
opcodes/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
(cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
and CpuSYSCALL.
(lineno): Removed.
(set_bitfield): Take an argument, lineno. Don't report lineno
on error if it is -1.
(process_i386_cpu_flag): Take an argument, lineno.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(output_i386_opcode): Likewise.
(opcode_hash_entry): Add lineno.
(process_i386_opcodes): Updated.
(process_i386_registers): Likewise.
(process_i386_initializers): Likewise.
* i386-opc.h (CpuP4): Removed.
(CpuK6): Likewise.
(CpuK8): Likewise.
(CpuClflush): New.
(CpuSYSCALL): Likewise.
(CpuMMX): Updated.
(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
cpuclflush and cpusyscall.
* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
syscall and sysret.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2009-01-10 18:25:52 +01:00
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Document corei7, clflush and syscall.
|
|
|
|
|
|
2009-01-09 21:32:32 +01:00
|
|
|
|
2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-i386.c (cpu_arch): Add .rdtscp.
|
|
|
|
|
(md_show_usage): Display rdtscp.
|
|
|
|
|
|
|
|
|
|
* doc/c-i386.texi: Document rdtscp.
|
|
|
|
|
|
2009-01-09 19:50:58 +01:00
|
|
|
|
2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
|
|
|
|
|
Test the new "deprecated" opcode field.
|
|
|
|
|
|
2009-01-07 18:41:09 +01:00
|
|
|
|
2009-01-07 Sterling Augustine <sterling@tensilica.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-xtensa.c (produce_flix): New.
|
|
|
|
|
(option_flix, optoin_no_generate_flix, option_no_flix) Define.
|
|
|
|
|
(md_longopts): Add support for them.
|
|
|
|
|
(md_parse_option): Likewise.
|
|
|
|
|
(md_show_usage): Add help message.
|
|
|
|
|
(finish_vinsn): Don't allow multi-slot flix when produce_flix
|
|
|
|
|
option is set to FLIX_NONE.
|
|
|
|
|
* config/xtensa-relax.c (transition_applies): Only relax to
|
|
|
|
|
flix branches when produce_flix equals FLIX_ALL.
|
|
|
|
|
* config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
|
|
|
|
|
FLIX_NONE): New.
|
|
|
|
|
(produce_flix): Declare.
|
|
|
|
|
|
2009-01-06 20:22:11 +01:00
|
|
|
|
2009-01-06 Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
|
|
|
|
|
Use strncmp to match jalr and jalr.hb.
|
|
|
|
|
Fix a typo.
|
|
|
|
|
|
2009-01-06 02:03:27 +01:00
|
|
|
|
2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
2008-07-04 15:04:04 +02:00
|
|
|
|
|
2009-01-06 02:03:27 +01:00
|
|
|
|
AVX Programming Reference (December, 2008)
|
|
|
|
|
* config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
|
|
|
|
|
support. Don't swap REG and NDS for FMA.
|
2008-07-04 15:04:04 +02:00
|
|
|
|
|
2009-01-23 15:56:38 +01:00
|
|
|
|
2009-01-02 Matthias Klose <doko@ubuntu.com>
|
2008-01-02 21:59:47 +01:00
|
|
|
|
|
2009-01-23 15:56:38 +01:00
|
|
|
|
* itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
|
|
|
|
|
behaviour.
|
2008-01-02 21:59:47 +01:00
|
|
|
|
|
2009-01-06 02:03:27 +01:00
|
|
|
|
For older changes see ChangeLog-2008
|
2002-01-07 13:12:47 +01:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|