aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2004-12-07 * read.c (s_align): Use an align_limit temporary to allay a GCCBen Elliston2-2/+8
signed/unsigned comparison warning.
2004-12-03 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.Mark Mitchell9-20/+37
* configure.in: Use it for arm*-*-linux-gnueabi*. * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT. * config/te-armlinuxeabi.h: New file. * Makefile.in: Regenerated. * aclocal.m4: Likewise. * configure: Likewise. * doc/Makefile.in: Regenerated.
2004-12-03 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.Bob Wilson2-2/+7
(xtensa_restore_emit_state): Likewise.
2004-12-02 * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.Alan Modra2-7/+18
(s_align): Use it.
2004-11-30Change LOCALEDIR to $(datadir)/share.Nick Clifton3-4/+9
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-1/+1
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+4
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-883/+420
config/tc-crx.c: Major code cleanup. Remove unused variables and functions, give functions a meaningful name, add comments. (check_range): New function - Replace operand size calculation with range checking. (assemble_insn): Update Algorithm, improve error issuing. (enum op_err): New - Operand error (for issuing operand error messages). (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.
2004-11-292004-11-29 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+11
* config/tc-crx.c: Major code cleanup. Remove unused variables and functions, give functions a meaningful name, add comments. (check_range): New function - Replace operand size calculation with range checking. (assemble_insn): Update Algorithm, improve error issuing. (enum op_err): New - Operand error (for issuing operand error messages). (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.
2004-11-29Fixed a pcrel relocte miss between different section in the same module.Nick Clifton7-3/+66
2004-11-27* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at endRichard Earnshaw2-2/+7
of dump pattern.
2004-11-26Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.Nick Clifton2-0/+10
2004-11-25Really fix it.H.J. Lu1-5/+5
2004-11-252004-11-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+11
* gas/ia64/group-1.d: Adjust expected secion ordering.
2004-11-25gas/Jan Beulich5-39/+41
2004-11-25 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (optimize_imm): Adjust immediates to only those permissible for the selected instruction suffix. (process_suffix): For DefaultSize instructions, suppressing the guessing of a 'q' suffix if the instruction doesn't support it is pointless, because only an 'l' suffix can be guessed in this place. gas/testsuite/ 2004-11-25 Jan Beulich <jbeulich@novell.com> * gas/i386/x86-64-inval.[sl]: Remove sahf/lahf. include/opcode/ 2004-11-25 Jan Beulich <jbeulich@novell.com> * i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves to/from test registers are illegal in 64-bit mode. Add missing NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix (previously one had to explicitly encode a rex64 prefix). Re-enable lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
2004-11-252004-11-24 Paul Brook <paul@codesourcery.com>Paul Brook4-4/+12
bfd/ * elf.c (assign_section_numbers): Number SHT_GROUP sections first. gas/testsuite/ * gas/elf/group0a.d: Adjust expected secion ordering. * gas/elf/group1a.d: Ditto. * gas/elf/section4.d: Ditto.
2004-11-24Remove IQ10 support from IQ2000 portNick Clifton41-9555/+400
2004-11-24 Add checks for other variants of the sr and st instruction.Nick Clifton3-0/+20
2004-11-23* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.Nick Clifton5-13/+109
They should be correct now. * gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions. * gas/mn10300/relax.d: Add expected relocations.
2004-11-23gas/Jan Beulich4-32/+95
2004-11-23 Jan Beulich <jbeulich@novell.com> * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to indicate the MMX extensions added by both SSE and 3DNow!A. (Cpu3dnowA): Declare. (CpuUnknownFlags): Update. * config/tc-i386.c (cpu_sub_arch_name): Declare. (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies 3DNow!. Athlon additionally implies 3DNow!A. Several new entries (those starting with a dot are for sub-arch specification). (set_cpu_arch): Handle sub-arch specifications. (parse_insn): Distinguish between instructions not supported because of insufficient CPU features and because of 64-bit mode. * doc/c-i386.texi: Describe enhanced .arch directive. include/opcode/ 2004-11-23 Jan Beulich <jbeulich@novell.com> * i386.h (i386_optab): paddq and psubq, even in their MMX form, are available only with SSE2. Change the MMX additions introduced by SSE and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A instructions by their now designated identifier (since combining i686 and 3DNow! does not really imply 3DNow!A).
2004-11-22 * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.Bob Wilson2-0/+5
2004-11-22* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect theNick Clifton3-0/+7
change to the short immediate syntax. * gas/arc/ld.s: Add check of load of a long immediate. * gas/arc/ld.d: Add expected disassembly.
2004-11-22 * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line sectionBob Wilson2-3/+7
without a corresponding .debug_info section.
2004-11-22 * read.c (potable): Add "error" and "warning".Hans-Peter Nilsson4-0/+68
(s_errwarn): New function. * read.h (s_errwarn): Declare. * doc/as.texinfo (Error, Warning): Document .error and .warning.
2004-11-22 * gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.Hans-Peter Nilsson4-0/+24
* gas/all/err-1.s, gas/all/warn-1.s: New tests.
2004-11-22(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.Nick Clifton2-1/+6
2004-11-19include/opcode/Alan Modra2-0/+96
* msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes, struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c. gas/ * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes, struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
2004-11-19 * config/obj-coff.c (c_dot_file_symbol): Add "app" param.Alan Modra3-10/+16
(coff_adjust_symtab): Adjust call. (crawl_symbols): Likewise. * config/obj-coff.h (c_dot_file_symbol): Add "app" param. (obj_app_file): Adjust.
2004-11-18Enable bfd_assembler by default for the MAXQ port.Nick Clifton7-32/+46
Adjust the testsuite expected disassemblies to take this into account.
2004-11-17bfd/Daniel Jacobowitz3-6/+11
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. (elf32_arm_plt_thumb_stub): New. (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount and plt_got_offset. (elf32_arm_link_hash_traverse): Fix typo. (elf32_arm_link_hash_table): Add obfd. (elf32_arm_link_hash_newfunc): Initialize new fields. (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. (elf32_arm_link_hash_table_create): Initialize obfd. (record_arm_to_thumb_glue): Mark the glue as a local ARM function. (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. (bfd_elf32_arm_get_bfd_for_interworking): Verify that the interworking BFD is not dynamic. (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do not emit glue for PLT references. (elf32_arm_final_link_relocate): Handle Thumb functions. Do not emit glue for PLT references. Support the Thumb PLT prefix. (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and plt_thumb_refcount. (elf32_arm_check_relocs): Likewise. (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and plt_thumb_refcount. (allocate_dynrelocs): Handle Thumb PLT references. (elf32_arm_finish_dynamic_symbol): Likewise. (elf32_arm_symbol_processing): New function. (elf_backend_symbol_processing): Define. opcodes/ * arm-dis.c (WORD_ADDRESS): Define. (print_insn): Use it. Correct big-endian end-of-section handling. gas/testsuite/ * gas/arm/mapping.d: Expect F markers for Thumb code. * gas/arm/unwind.d: Update big-endian pattern. ld/ * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use a dynamic object for stubs. ld/testsuite/ * ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s, ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r, ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: New files. * ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d, ld-arm/arm-static-app.r: Update for big-endian. * ld-arm/arm-elf.exp: Run the new tests.
2004-11-17Run the relax test.Nick Clifton1-0/+1
2004-11-12Add Sterling Augustine to previous entry (credit where it's due)Bob Wilson1-0/+1
2004-11-122004-11-12 Bob Wilson <bob.wilson@acm.org>Bob Wilson2-11/+24
include/ChangeLog * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id. * xtensa-isa.h (xtensa_interface_class_id): New prototype. bfd/ChangeLog * xtensa-isa.c (xtensa_interface_class_id): New. gas/ChangeLog * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if there is a conflict. (check_t1_t2_reads_and_writes): Check for both reads and writes to interfaces that are related as determined by xtensa_interface_class_id.
2004-11-12Fix off by one negative offsets for conditional branches.Nick Clifton5-3/+64
Add a test of this fix.
2004-11-11gas/Bob Wilson6-4/+75
* config/tc-xtensa.c (MAX_IMMED6): Change value to 65. gas/testsuite/ * gas/xtensa/short_branch_offset.s: New. * gas/xtensa/short_branch_offset.d: New. * gas/xtensa/all.exp: Run new test.
2004-11-10 * config/tc-xtensa.c (update_next_frag_state): Always add a NOP ifBob Wilson2-33/+16
relaxing at the end of a loop. Don't mark frags as UNREACHABLE or MAYBE_UNREACHABLE. (relax_frag_immed): Update call to update_next_frag_state.
2004-11-10 * gas/i386/opcode.s: Pad section.Alan Modra5-6/+21
* gas/i386/intelok.s: Likewise. * gas/i386/opcode.d: Update. * gas/i386/intelok.d: Update.
2004-11-10 * obj.h (struct format_ops <app_file>): Add int param.Alan Modra10-39/+61
* read.h (s_app_file_string): Likewise. * read.c (s_app_file_string): Likewise. (s_app_file): Adjust s_app_file_string call. * config/tc-mips.c (s_mips_file): Likewise. * config/obj-coff.h (obj_app_file): Add app param. * config/obj-ecoff.h (obj_app_file): Likewise. * config/obj-multi.h (obj_app_file): Likewise. * config/obj-elf.h (elf_file_symbol): Likewise. * config/obj-elf.c (elf_file_symbol): Only emit one file symbol if called for # preprocessor lines.
2004-11-09Fix ChangeLog typo.Aaron W. LaFramboise1-1/+1
2004-11-092004-11-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+11
PR 528 * symbols.c (resolve_symbol_value): Convert weak symbols only for Windows PECOFF. (symbol_equated_reloc_p): Don't equate weaks when relocating only for Windows PECOFF.
2004-11-082004-11-08 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi3-2/+23
* config/tc-crx.c (print_insn): Check and set insn_addr. * config/tc-crx.h (md_frag_check): Define.
2004-11-08Add support fpr MAXQ processorNick Clifton54-65/+9825
2004-11-08Fix support for PECOFF weak symbolsNick Clifton8-77/+223
2004-11-062004-11-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-3/+17
* gas/i386/general.s: Add movzb. * gas/i386/general.l: Updated.
2004-11-05 * config/tc-xtensa.c (total_frag_text_expansion): New.Bob Wilson2-3/+22
(md_estimate_size_before_relax): Use it. (find_address_of_next_align_frag): Likewise.
2004-11-052004-11-05 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+16
* config/tc-crx.c: Rename argument types. (processing_arg_number): Rename to 'cur_arg_num'. (get_number_of_bits): Rename to 'set_operand_size'. (get_operandtype): Rename to 'parse_operand', totally rewrite. (set_cons_rparams): Rename to 'set_operand', totally rewrite. (set_indexmode_parameters): Remove function, integrate its code into 'set_operand'. (set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead. Use a local 'argument' pointer to reference the current argument. (parse_operand): Likewise. (set_operand): Likewise. (process_label_constant): Likewise.
2004-11-052004-11-05 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-351/+266
* config/tc-crx.c: Rename argument types. (processing_arg_number): Rename to 'cur_arg_num'. (get_number_of_bits): Rename to 'set_operand_size'. (get_operandtype): Rename to 'parse_operand', totally rewrite. (set_cons_rparams): Rename to 'set_operand', totally rewrite. (set_indexmode_parameters): Remove function, integrate its code into 'set_operand'. (set_operand_size): Get rid of 'Operand Number' function parameter - use global variable 'cur_arg_num' instead. Use a local 'argument' pointer to reference the current argument. (parse_operand): Likewise. (set_operand): Likewise. (process_label_constant): Likewise.
2004-11-04 * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.Bob Wilson5-112/+74
(add_section_rename): Delete. Inlined into... (build_section_rename): ...here. Use xstrdup instead of strdup. (xtensa_section_rename): Drop "const" from argument and return types. (md_show_usage): Indent to match show_usage(). * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs. (tc_canonicalize_section_name): Define. (md_elf_section_rename): Remove unused macro. * doc/as.texinfo (Overview): Document Xtensa --rename-section option. * doc/c-xtensa.texi (Xtensa Options): Likewise. (Frame Directive): Delete.
2004-11-04./Daniel Jacobowitz6-167/+88
* configure.in (arm-*-oabi*, thumb-*-oabi*): Remove. * configure: Regenerated. bfd/ * Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace elfarm-nabi with elf32-arm. Remove elfarm-oabi. (elf32-arm.lo): Replace elfarm-nabi.lo rule. Remove elf32-arm.h dependency. * config.bfd: Move arm-*-oabi* and thumb-*-oabi* from obsolete list to a new removed list. Remove normal configuration stanzas. * configure.in: (bfd_elf32_bigarm_vec, bfd_elf32_bigarm_symbian_vec) (bfd_elf32_littlearm_symbian_vec, bfd_elf32_littlearm_vec): Replace elfarm-nabi.lo with elf32-arm.lo. (bfd_elf32_bigarm_oabi_vec, bfd_elf32_littlearm_oabi_vec): Remove. * elf32-arm.c: Renamed from elfarm-nabi.c. Inline elf32-arm.h. * elf32-arm.h: Remove. * elfarm-oabi.c: Remove. * targets.c (_bfd_target_vector): Remove bfd_elf32_bigarm_oabi_vec and bfd_elf32_littlearm_oabi_vec. * aclocal.m4, Makefile.in, configure, doc/Makefile.in: Regenerated. gas/ * configure.in: Remove arm-*-oabi and thumb-*-oabi. * config/tc-arm.c (target_oabi): Delete. (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks. (arm_opts): Remove moabi. * doc/as.texinfo (Overview): Remove documentation of -moabi. * doc/c-arm.texi (ARM Options): Likewise. * configure: Regenerated. ld/ * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. (earmelf_oabi.c): Remove rule. * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. * Makefile.in: Regenerated.
2004-11-04Add missing entry for cris_relax_frag, last changeHans-Peter Nilsson1-0/+1