aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2009-10-26 * doc/as.texinfo: Add mention of RX port and inclusion of RXNick Clifton1-0/+5
documentation.
2009-10-26 * doc/as.texinfo: Add mention of RX port and inclusion of RXNick Clifton1-0/+14
documentation.
2009-10-25* gas/z80/equ.d, gas/z80/equ.s: Added test of parsing equ directives.Arnold Metselaar5-1/+28
* gas/z80/z80.exp: Run it. * gas/z80/redef.d: Expect little endian output only.
2009-10-25* config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' orArnold Metselaar2-11/+17
'defl' in cases where the space between the keyword and the expression has been scrubbed away. Do not check whether a symbol is redefined with 'equ' here; the function equals takes an argument indicating whether redefinitions are allowed. Only call LISTING_NEWLINE if needed, and then after the call to bump_line_counters.
2009-10-25 * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 toMaciej W. Rozycki3-3/+13
match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and -mfix-vr4130/-mno-fix-vr4130. * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
2009-10-20gas/H.J. Lu8-67/+84
2009-10-20 H.J. Lu <hongjiu.lu@intel.com> PR gas/10775 * doc/c-i386.texi: Mention movabs. gas/testsuite/ 2009-10-20 H.J. Lu <hongjiu.lu@intel.com> PR gas/10775 * gas/i386/immed64.d: Updated. * gas/i386/l1om.d: Likewise. * gas/i386/x86-64-disp-intel.d: Likewise. * gas/i386/x86-64-disp.d: Likewise. * gas/i386/x86_64.d: Likewise. opcodes/ 2009-10-20 H.J. Lu <hongjiu.lu@intel.com> PR gas/10775 * i386-dis.c: Document LB, LS and LV macros. (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction with the 64-bit displacement or immediate operand. (putop): Handle LB, LS and LV macros.
2009-10-192009-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+5
* doc/c-i386.texi: Don't mention the 8 extra control registers for x86-64.
2009-10-19 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.Doug Evans2-0/+5
2009-10-19 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is setDoug Evans5-12/+30
correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc isn't recognized, not BFD_RELOC_XC16X_SOF. testsuite: * gas/xc16x/shlrol.s: Specify constant shift amount. * gas/xc16x/xc16x.exp (do_xc16x_shlrol): Update expected output.
2009-10-18 * as.h (know): Don't define as empty.Alan Modra3-4/+7
* config/tc-arm.c (make_mapping_symbol): Revert last patch.
2009-10-18 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty bodyAlan Modra2-1/+8
in release builds.
2009-10-18Exclude more aout targets.Alan Modra5-1/+11
2009-10-162009-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+13
PR gas/10775 * doc/c-i386.texi: Mention the 8 extra control registers for x86-64. Mention .code64 directive.
2009-10-15 PR gas/1491Alan Modra8-89/+99
gas/ * macro.c: Delete unnecessary function declarations. (buffer_and_nest): Support multiple labels per line for LABELS_WITHOUT_COLONS targets if the labels do have colons. (free_macro): Move so that we don't need forward declaration. * read.c (read_a_source_file): Take a copy of macro expansion line before we trim labels. * listing.c (listing_newline): Adjust stdin line save for input_line_pointer still at start of line. gas/testsuite/ * gas/macros/dot.s: Don't start macro invocations is first column. * gas/macros/dot.l: Update. * gas/macros/macros.exp: Run dot test on more targets.
2009-10-13Fix a typo.H.J. Lu1-1/+1
2009-10-132009-10-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
PR binutils/10766 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
2009-10-13gas/H.J. Lu8-26/+157
2009-10-13 H.J. Lu <hongjiu.lu@intel.com> PR gas/10740 * config/tc-i386-intel.c (i386_intel_operand): Handle call and jump with 2 immediate operands. * config/tc-i386.c (i386_finalize_immediate): Don't generate error message if operand string is NULL. gas/testsuite/ 2009-10-13 H.J. Lu <hongjiu.lu@intel.com> PR gas/10740 * gas/i386/jump.s: Add new tests. * gas/i386/jump16.s: Likewise. * gas/i386/jump.d: Updated. * gas/i386/jump16.d: Likewise.
2009-10-13gas:Nick Clifton8-16/+148
2009-10-07 Vincent Riviere <vincent.riviere@freesbee.fr> PR gas/3041 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations located in data section an referencing a weak symbol. gas/testsuite: 2009-10-07 Vincent Riviere <vincent.riviere@freesbee.fr> PR gas/3041 * gas/m68k/all.exp: Added "p3041data". * gas/m68k/p3041.d, gas/m68k/p3041.s: Added tests of weak references from text section to all possible sections. * gas/m68k/p3041data.d, gas/m68k/p3041data.s: New test. Check weak references from data section.
2009-10-082009-10-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-16/+22
PR gas/10704 * gas/i386/intelok.s: Move 2 PIC tests to ... * gas/i386/intelpic.s: Here. * gas/i386/intelok.d: Updated. * gas/i386/intelpic.d: Likewise.
2009-10-072009-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-2/+12
PR gas/10704 * gas/i386/intelok.s: Add 2 new tests. * gas/i386/intelok.d: Updated.
2009-10-07 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummyNathan Sidwell2-2/+5
versions slightly more than nothing.
2009-10-07 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.Nathan Sidwell2-3/+9
2009-10-07 PR gas/2117Alan Modra2-36/+82
* config/tc-ia64.c (parse_operand): Use expression rather than expression_and_evalute. (parse_operand_and_eval): New function. Replace all uses of parse_operand outside of parse_operands with this function. (parse_operans_maybe_eval): New function. Replace uses of parse_operand in parse_operands, except for the dummy, with this function.
2009-10-05 PR gas/10704Alan Modra2-4/+6
* symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
2009-10-05 * read.c (s_reloc): Don't use expression_and_evaluate.Alan Modra2-1/+5
2009-10-02typo fixAlan Modra1-6/+6
2009-10-02gas/Peter Bergner7-0/+993
* config/tc-ppc.c (md_show_usage): Document -m476. * doc/c-ppc.texi (PowerPC-Opts): Document -m476. gas/testsuite/ * gas/ppc/476.s: New test. * gas/ppc/476.d: Likewise. * gas/ppc/ppc.exp: Run the 476 test. include/opcode/ * ppc.h (PPC_OPCODE_476): Define. opcodes/ * ppc-dis.c (ppc_opts): Add "476" entry. * ppc-opc.c (PPC476): Define. (powerpc_opcodes): Update mnemonics where required for 476.
2009-10-02 * dw2gencfi.c: Include dwarf2dbg.h.Jakub Jelinek4-57/+288
(DWARF2_FORMAT): Define if not defined. (dot_cfi_sections): New function. (cfi_pseudo_table): Handle .cfi_sections. (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define. (cfi_sections): New variable. (output_cie, output_fde, select_cie_for_fde): Add eh_frame argument, add supporting for outputting .debug_frame section. (cfi_change_reg_numbers): New function or macro. (cfi_finish): Only emit .eh_frame if cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if cfi_sections & CFI_EMIT_debug_frame. * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define. * doc/as.texinfo (CFI directives): Document .cfi_sections.
2009-10-01gas/Peter Bergner5-5/+14
* config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2". * doc/c-ppc.texi (PowerPC-Opts): Likewise. gas/testsuite/ * gas/ppc/a2.d: Rename "ppca2" to "a2". include/opcode/ * ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2. opcodes/ * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2. * ppc-dis.c (ppc_opts): Likewise. Rename "ppca2" to "a2".
2009-10-012009-10-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+9
* config/tc-i386.c (x86_cons): Reformat.
2009-09-29bfdNick Clifton227-7/+9457
* Makefile.am (ALL_MACHINES): Add cpu-rx.lo. (ALL_MACHINES_CFILES): Add cpu-rx.c. (BFD32_BACKENDS): Add elf32-rx.lo. (BFD32_BACKENDS_CFILES): Add elf32-rx.c. * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx. Export bfd_rx_arch. (bfd_archures_list): Add bfd_rx_arch. * config.bfd: Add entry for rx-*-elf. * configure.in: Add entries for bfd_elf32_rx_le_vec and bfd_elf32_rx_be_vec. * reloc.c: Add RX relocations. * targets.c: Add RX target vectors. * Makefile.in: Regenerate. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate. * cpu-rx.c: New file. * elf32-rx.c: New file. binutils * readelf.c: Add support for RX target. * MAINTAINERS: Add DJ and NickC as maintainers for RX. gas * Makefile.am: Add RX target. * configure.in: Likewise. * configure.tgt: Likewise. * read.c (do_repeat_with_expander): New function. * read.h: Provide a prototype for do_repeat_with_expander. * doc/Makefile.am: Add RX target documentation. * doc/all.texi: Likewise. * doc/as.texinfo: Likewise. * Makefile.in: Regenerate. * NEWS: Mention support for RX architecture. * configure: Regenerate. * doc/Makefile.in: Regenerate. * config/rx-defs.h: New file. * config/rx-parse.y: New file. * config/tc-rx.h: New file. * config/tc-rx.c: New file. * doc/c-rx.texi: New file. gas/testsuite * gas/rx: New directory. * gas/rx/*: New set of test cases. * gas/elf/section2.e-rx: New expected output file. * gas/all/gas.exp: Add support for RX target. * gas/elf/elf.exp: Likewise. * gas/lns/lns.exp: Likewise. * gas/macros/macros.exp: Likewise. include * dis-asm.h: Add prototype for print_insn_rx. include/elf * rx.h: New file. include/opcode * rx.h: New file. ld * Makefile.am: Add rules to build RX emulation. * configure.tgt: Likewise. * NEWS: Mention support for RX architecture. * Makefile.in: Regenerate. * emulparams/elf32rx.sh: New file. * emultempl/rxelf.em: New file. opcodes * Makefile.am: Add RX files. * configure.in: Add support for RX target. * disassemble.c: Likewise. * Makefile.in: Regenerate. * configure: Regenerate. * opc2c.c: New file. * rx-decode.c: New file. * rx-decode.opc: New file. * rx-dis.c: New file.
2009-09-29opcodes/Peter Bergner5-276/+264
* ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes. gas/testsuite/ * gas/ppc/vsx.s ("lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux", "stxvw4ux"): Remove tests. * gas/ppc/vsx.d: Likewise. * gas/ppc/power7.s: Likewise. * gas/ppc/power7.d: Likewise.
2009-09-25 Update soruces to make alpha, arc and arm targets compile cleanlyNick Clifton7-1399/+1444
with -Wc++-compat: * config/tc-alpha.c: Add casts. (extended_bfd_reloc_code_real_type): New type. Used to avoid enumeration conversion warnings. (struct alpha_fixup, void assemble_insn, assemble_insn) (assemble_tokens): Use new type. * ecoff.c: Add casts. (mark_stabs): Use enumeration names. * config/obj-elf.c: Add cast * config/tc-arc.c: Add casts. * config/obj-aout.h (text_section,data_section,bss_section): Make extern. * config/obj-elf.c: Add cast. * config/tc-arm.c: Add casts. (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE) (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the need for keywords as arguments. * ecoff.c: Add casts. * ecofflink.c: Add casts. * elf64-alpha.c: Add casts. (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move to top level. (SKIP_HOWTO): Use enum name. * elf32-arm.c: Add casts. (elf32_arm_vxworks_bed): Update code to avoid multiple declarations. (struct map_stub): Move to top level. * arc-dis.c Fix casts. * arc-ext.c: Add casts. * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous enum. * emultempl/armelf.em: Add casts.
2009-09-252009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>Nick Hudson2-2/+7
* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex entries.
2009-09-24gas/H.J. Lu2-1/+6
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead of vex256. opcodes/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Remove Vex256. (set_bitfield): Handle XXX=V. * i386-opc.h (Vex): Update comments. (Vex256): Removed. (VexNDS): Updated. (i386_opcode_modifier): Change vex to 2 bits. Remove vex256. * i386-opc.tbl: Replace "Vex|Vex256" with Vex=2. * i386-tbl.h: Regenerated.
2009-09-24gas/H.J. Lu6-8/+32
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/10677 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true for BFD_RELOC_X86_64_GOTPCREL. gas/testsuite/ 2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR gas/10677 * gas/i386/i386.exp: Run x86-64-localpic. * gas/i386/x86-64-localpic.d: New. * gas/i386/x86-64-localpic.s: Likewise.
2009-09-242009-09-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* gas/i386/localpic.d: Updated.
2009-09-24gas/H.J. Lu6-4/+26
2009-09-23 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check BFD_RELOC_386_GOT32. gas/testsuite/ 2009-09-23 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run localpic. * gas/i386/localpic.d: New. * gas/i386/localpic.s: Likewise.
2009-09-232009-09-22 Sterling Augustine <sterling@tensilica.com>Sterling Augustine1-0/+6
* config/tc-xtensa.c (md_apply_fix): Remove check for constant with difference of of two symbols. (xtensa_fix_adjustable): Likewise.
2009-09-23Fix previous entry.Tristan Gingold1-1/+1
2009-09-232009-09-23 Tim E. Sneddon <tsneddon@kednos.com>Tristan Gingold2-1/+5
* gas/configure.com: Fix a typo.
2009-09-23 * symbols.c (define_sym_at_dot): New function, extracted from..Alan Modra2-12/+19
(colon): ..here. Define error case cloned symbol.
2009-09-23Tolerate some whitespace differences in readelf output.Alan Modra27-339/+368
2009-09-222009-09-22 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine1-17/+0
* config/tc-xtensa.c (md_apply_fix): Remove check for constant with difference of of two symbols. (xtensa_fix_adjustable): Likewise.
2009-09-22 * gas/ppc/a2.d: Match PPC64 relocs.Alan Modra2-16/+20
2009-09-212009-09-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+14
* config/tc-i386.c: Remove white spaces.
2009-09-21 * lib/gas-defs.exp (gas_test_error): Mark internal error/assertionMaciej W. Rozycki2-7/+13
failures seen in output as fails. Also record output being matched for fails.
2009-09-21 * gas/mips/eret-1.d: Adjust regexps for robustness.Maciej W. Rozycki6-65/+75
* gas/mips/eret-2.d: Likewise. * gas/mips/eret-3.d: Likewise. * gas/mips/eret-1.s: Reformat for readability. Add a label at the beginning. * gas/mips/eret-2.s: Add a label at the beginning.
2009-09-21 * gas/mips/eret-1.s: Add trailing padding.Maciej W. Rozycki7-3/+25
* gas/mips/eret-2.s: Likewise. * gas/mips/eret-3.s: Likewise. * gas/mips/eret-1.d: Adjust accordingly. Force a 32-bit ABI. * gas/mips/eret-2.d: Likewise. * gas/mips/eret-3.d: Likewise.
2009-09-21 * gas/mips/mips.exp: Fix a typo.Maciej W. Rozycki2-1/+5