aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-06-21 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN): RemoveThiemo Seufer6-219/+228
special handling for n32 ABI. (macro): Likewise. * gas/mips/elf-rel-got-n32.d: Remove special handling for n32 ABI. * gas/mips/elf-rel-xgot-n32.d: Likewise. * gas/mips/jal-newabi.d: Likewise. * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
2003-06-21 * gas/z8k: New directory.Christian Groessler18-0/+1332
* gas/z8k/dec.s: New file. * gas/z8k/decbf.s: New file. * gas/z8k/decf.s: New file. * gas/z8k/eidi.s: New file. * gas/z8k/eidif.s: New file. * gas/z8k/inc.s: New file. * gas/z8k/incbf.s: New file. * gas/z8k/incf.s: New file. * gas/z8k/inout.d: New file. * gas/z8k/inout.s: New file. * gas/z8k/jr-back.s: New file. * gas/z8k/jr-backf.s: New file. * gas/z8k/jr-forw.s: New file. * gas/z8k/jr-forwf.s: New file. * gas/z8k/ldk.s: New file. * gas/z8k/ldkf.s: New file. * gas/z8k/z8k.exp: New file.
2003-06-19Revert 2003-06-11 change.Thiemo Seufer2-3/+8
2003-06-19 * config/tc-z8k.c (parse_reg): Invalid registers generate an errorChristian Groessler2-14/+42
now, not only a warning. Add some more checks to detect invalid registers. (get_operand): For CLASS_IR remember register size in mode struct. (get_specific): Handle new CLASS_IRO type. Add register size checks for CLASS_IR and CLASS_IRO. (md_apply_fix3): Fix undefined usage of buf.
2003-06-18 * config/tc-ppc.c (ppc_csect): Pass alignment to ppc_change_csect.Alan Modra2-16/+37
(ppc_change_csect): Add align param. Align frag at start of csect. (ppc_section, ppc_named_section): Adjust ppc_change_csect calls. (ppc_frob_section): Align vma.
2003-06-18 * dw2gencfi.c (EH_FRAME_ALIGNMENT): Define if not defined.Jakub Jelinek11-87/+93
(output_cie): Don't pad. (output_fde): Add align argument. Pad to align if not 0. (cfi_finish): Set .eh_frame alignment to EH_FRAME_ALIGNMENT. Pad just last FDE to EH_FRAME_ALIGNMENT. * gas/cfi/cfi-i386.d: Regenerated. * gas/cfi/cfi-common-1.d: Regenerated. * gas/cfi/cfi-common-2.d: Regenerated. * gas/cfi/cfi-common-3.d: Regenerated. * gas/cfi/cfi-x86_64.d: Regenerated. * gas/cfi/cfi-alpha-1.d: Regenerated. * gas/cfi/cfi-alpha-2.d: Regenerated. * gas/cfi/cfi-alpha-3.d: Regenerated.
2003-06-18 * config/tc-s390.c (init_default_arch): Make current_mode_maskMartin Schwidefsky2-8/+21
dependent on s390_arch_size and current_cpu dependent on current_mode_mask.
2003-06-18Add c4x as an architecture variant to tic4x.Nick Clifton5-235/+255
2003-06-18 * config/tc-ppc.c (ppc_elf_suffix): Don't remove symbols other thanAlan Modra2-4/+9
".TOC." from PPC64_TOC relocs.
2003-06-17Tweak expected results for i386-pc-cygwin target.Nick Clifton3-4/+10
2003-06-17Allow system-specific gunk after canonical file format.Nick Clifton8-7/+18
2003-06-17 * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.Alan Modra2-0/+10
2003-06-16 * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,Thiemo Seufer2-255/+175
ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros. (macro_build_ldst_constoffset,load_address,macro,s_cpsetup, s_cprestore,s_cpadd): Use them.
2003-06-16 * configure.in: Add specific case for cris-*-linux-gnu* withHans-Peter Nilsson5-243/+259
em=linux. * configure: Regenerate. * config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE if TE_LINUX defined, else FALSE. (bfd_boolean demand_register_prefix): Set default from DEFAULT_CRIS_AXIS_LINUX_GNU. (symbols_have_leading_underscore): Similar. * config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.
2003-06-15 * gas/cris: Match output having $ register prefix. Deal withHans-Peter Nilsson72-3683/+3709
target variants default requiring register prefix on input.
2003-06-13* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.Richard Earnshaw2-1/+5
2003-06-13* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.Richard Earnshaw2-0/+27
(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF, FPU_ARCH_FPA for AOUT. (md_begin): Don't try to guess the floating point architecture from the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.
2003-06-13Add i386-netbsd-gnu target.Nick Clifton3-169/+176
2003-06-12 * doc/as.texinfo (Comm): Added @node. Moved before CFITom Tromey2-29/+37
directives node.
2003-06-12 * config/tc-mips.c (append_insn): In a compound relocation, take theRichard Sandiford6-74/+56
field width from the final (outermost) operator.
2003-06-11 * dw2gencfi.c (struct cfi_escape_data): New.Richard Henderson10-22/+110
(cfi_add_CFA_nop): Remove. (CFI_escape, dot_cfi_escape): New. (dot_cfi): Remove nop. (cfi_pseudo_table): Remove nop; add escape. (output_cfi_insn): Likewise. (select_cie_for_fde): Stop on escape. * dw2gencfi.h (cfi_add_CFA_nop): Remove. * read.c, read.h (do_parse_cons_expression): New. * doc/as.texinfo (.cfi_escape): New. * gas/cfi/cfi-common-3.[ds]: New. * gas/cfi/cfi.exp: Run it.
2003-06-11 * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.Thiemo Seufer2-3/+9
(s_cprestore): Likewise. (s_cpreturn): Likewise.
2003-06-11 * config/tc-mips.c (tc_gen_reloc): Initialize retval amd relocThiemo Seufer2-5/+7
with zeros.
2003-06-11 * elf32-mips.c (mips_elf_generic_reloc): New Function.Thiemo Seufer3-202/+121
(elf_mips_howto_table_rel): Use it. (gprel32_with_gp): Move prototype. (mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. Use mips_elf_generic_reloc. (mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. Code cleanup. (_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of zero addend. (mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic as in the other *_gprel*_reloc functions. (gprel32_with_gp): Handle partial_inplace properly. (mips32_64bit_reloc): Use mips_elf_generic_reloc. (mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend. Do addend handling directly instead of calling _bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly. * elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend. Handle partial_inplace properly. (mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero addend. (mips_elf64_gprel16_reloc): Likewise. (mips_elf64_literal_reloc): Likewise. (mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment logic as in the other *_gprel*_reloc functions. Handle partial_inplace properly. (mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero addend. Handle partial_inplace properly. (mips16_gprel_reloc): Likewise. Do addend handling directly instead of calling _bfd_mips_elf_gprel16_with_gp. * elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL. (mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead of zero addend. (mips_elf_shift6_reloc): Handle partial_inplace properly. (mips16_gprel_reloc): Likewise. Do addend handling directly instead of calling _bfd_mips_elf_gprel16_with_gp. * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle partial_inplace properly. Fix wrong addend handling. Fix overflow check. (_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and exported. (mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend. (_bfd_mips_elf_relocate_section): Likewise. (mips_elf_create_dynamic_relocation): Update sec_info_type access. * elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration. (_bfd_mips_elf_sign_extend): New prototype. * config/tc-mips.c (md_pcrel_from): Return actual pcrel address. (md_apply_fix3): Ignore non-special relocations. Remove superfluous exceptions from size assert. Remove most of the addend fixup specialcasing. Remove value, use valP directly. simplify fx_addnumber handling. Remove zero addend specialcases. (tc_gen_reloc): Use appropriate value for reloc2 addend. Remove the addend fixup specialcase. * config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.
2003-06-11 * write.c (write_relocs): Use xcalloc. Fix relocs initializationThiemo Seufer2-3/+7
in the RELOC_EXPANSION_POSSIBLE case.
2003-06-11 * config/tc-i960.c (line_comment_chars): Add '#'.Alan Modra3-3/+23
* config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.
2003-06-11 * gas/macros/app1.d: Ignore section symbols.Alan Modra5-0/+11
* gas/macros/app2.d: Likewise. * gas/macros/app3.d: Likewise. * gas/macros/app4.d: Likewise.
2003-06-11bfd/H.J. Lu2-11/+19
2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. binutils/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gas/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. gprof/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. ld/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise. opcodes/ 2003-06-06 H.J. Lu <hongjiu.lu@intel.com> * po/Make-in (DESTDIR): New. (install-data-yes): Support $(DESTDIR). (uninstall): Likewise.
2003-06-10* bfd/Makefile.am (config.status): Depend on version.h.Alan Modra4-9/+280
Run "make dep-am" in bfd/ and elsewhere, and regen files.
2003-06-10opcodes:Doug Evans5-5/+13
* cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to CGEN_INSN_RELAXED. * fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate. * frv-asm.c,frv-desc.c,frv-desc.h: Regenerate. * ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate. * iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate. * m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate. * openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate. * xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate. gas: * cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to CGEN_INSN_RELAXED. * config/tc-fr30.c (md_estimate_size_before_relax): Ditto. * config/tc-m32r.c (md_estimate_size_before_relax): Ditto. * config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.
2003-06-10 * gas/mips/mips.exp: Fix typo.Thiemo Seufer4-3/+9
* gas/mips/elempic.d: Force o64 ABI. * gas/mips/telempic.d: Likewise. * ld-mips-elf/rel32-n32.d: Force big endian assembly. * ld-mips-elf/rel32-o32.d: Likewise. * ld-mips-elf/rel64.d: Likewise.
2003-06-10 * gas/cfi/cfi.exp: Use here. Only run tests when ELF.Alan Modra3-23/+52
* gas/macros/and.s: Avoid .set so we don't break mips.
2003-06-10 * gas/macros/and.s: Avoid .set so we don't break mips.Alan Modra2-1/+5
2003-06-10 * gas/macros/and.s: New.Alan Modra3-0/+16
* gas/macros/macros.exp: Assemble it.
2003-06-10Add "attn", "lq" and "stq" power4 insns.Alan Modra6-8/+179
2003-06-10include/opcode/Richard Sandiford4-0/+397
* h8300.h (IMM4_NS, IMM8_NS): New. (h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries. Likewise IMM8 for mov.w and mov.l. Likewise IMM16U for mov.l. gas/testsuite * gas/h8300/h8sx_mov_imm.[sd]: New test. * gas/h8300/h8300.exp: Run it.
2003-06-10opcodes/Richard Sandiford6-14/+42
* h8300-dis.c (bfd_h8_disassemble): Don't print brackets round rts/l and rte/l register lists. gas/ * config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register lists. Allow single-register ranges. testsuite/ * gas/h8300/h8sx_rtsl.[sd]: New test. * gas/h8300/h8300.exp: Run it.
2003-06-10 * gas/h8300/h8sx_disp2.[sd]: New test.Richard Sandiford4-0/+62
* gas/h8300/h8300.exp: Run it.
2003-06-10Fix last changelog.Richard Sandiford1-1/+1
2003-06-10include/elf/Richard Sandiford2-0/+20
* h8.h (E_H8_MACH_H8300SXN): New flag. bfd/ * archures.c (bfd_mach_h8300sxn): New architecture. * bfd-in2.h: Regenerate. * cpu-h8300.c (h8300_scan): Check for 'sxn'. (h8300sxn_info_struct): New. (h8300sx_info_struct): Link to it. * elf32-h8300.c (elf32_h8_mach): Add h8300sxn case. (elf32_h8_final_write_processing): Likewise. gas/ * config/tc-h8300.c (h8300sxnmode): New. (md_pseudo_table): Add .h8300sxn entry. Sync others with FSF version. ld/ * configure.tgt (h8300*): Add h8300sxn emulations. * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. (eh8300sxn.c, eh8300sxnelf.c): New rules. * Makefile.in: Regenerate. * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.
2003-06-102003-06-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-5/+46
* NEWS: Updated for the new -n option for the i386 assembler. * config/tc-i386.c (optimize_align_code): New. (md_shortopts): Add 'n'. (md_parse_option): Handle 'n'. (md_show_usage): Add '-n'. * config/tc-i386.h (optimize_align_code): Declared. (md_do_align): Optimize code alignment only if optimize_align_code is not 0. * doc/as.texinfo: Add the new -n option. * doc/c-i386.texi: Document the new -n option.
2003-06-08 * doc/as.texinfo: Document .cfi_rel_offset.Richard Henderson2-4/+8
2003-06-08 * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.Richard Henderson10-0/+161
(cfi_add_CFA_offset): Detect invalid offsets. (cfi_add_CFA_remember_state): Save cur_cfa_offset. (cfi_add_CFA_restore_state): Restore it. (CFI_rel_offset): New. (cfi_pseudo_table): Add it. (dot_cfi): Handle it. * gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-1.s: New. * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-2.s: New. * gas/cfi/cfi-diag-1.d, gas/cfi/cfi-diag-1.s: New. * gas/cfi/cfi.exp: Run them.
2003-06-072003-06-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+30
* app.c (do_scrub_chars): Add states 14 and 15 to handle predicate for ia64.
2003-06-052003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder2-42/+105
* config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops. (build_bytes): Ditto. 2003-06-05 Richard Sandiford <rsandifo@redhat.com> * config/tc-h8sx.c (DMODE): Remove. (colonmod24): Don't choose a default if the operand is a 16-bit constant integer. (fix_operand_size): New function. (md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn). Adjust @(d:2,ERn) operands before choosing the specific opcodes.
2003-06-052003-06-05 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+36364
* gas/h8300/t01_mov.s: New file, tests mov instructions. * gas/h8300/t02_mova.s: New file, tests mova instructions. * gas/h8300/t03_add.s: New file, tests add instructions. * gas/h8300/t04_sub.s: New file, tests sub instructions. * gas/h8300/t05_cmp.s: New file, tests cmp instructions. * gas/h8300/t06_ari2.s: New file, tests arithmetic instructions. * gas/h8300/t07_ari3.s: New file, tests arithmetic instructions. * gas/h8300/t08_or.s: New file, tests or instructions. * gas/h8300/t09_xor.s: New file, tests xor instructions. * gas/h8300/t10_and.s: New file, tests and instructions. * gas/h8300/t11_logs.s: New file, tests logical instructions. * gas/h8300/t12_bit.s: New file, tests bit instructions. * gas/h8300/t13_otr.s.s: New file, tests misc. instructions. * gas/h8300/t01_mov.exp: New file. * gas/h8300/t02_mova.exp: New file. * gas/h8300/t03_add.exp: New file. * gas/h8300/t04_sub.exp: New file. * gas/h8300/t05_cmp.exp: New file. * gas/h8300/t06_ari2.exp: New file. * gas/h8300/t07_ari3.exp: New file. * gas/h8300/t08_or.exp: New file. * gas/h8300/t09_xor.exp: New file. * gas/h8300/t10_and.exp: New file. * gas/h8300/t11_logs.exp: New file. * gas/h8300/t12_bit.exp: New file. * gas/h8300/t13_otr.exp: New file.
2003-06-052003-06-05 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-40/+185
* dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg) (cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New. (cfi_add_CFA_offset, cfi_add_CFA_def_cfa) (cfi_add_CFA_register, cfi_add_CFA_def_cfa_register) (cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*(). (cfi_add_CFA_restore, cfi_add_CFA_undefined) (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New. (cfi_pseudo_table): New directives .cfi_return_column, .cfi_restore, .cfi_undefined, .cfi_same_value, .cfi_remember_state, .cfi_restore_state, .cfi_nop. (dot_cfi, output_cfi_insn): Handle new directives. * dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined) (cfi_add_CFA_same_value, cfi_add_CFA_remember_state) (cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.
2003-06-05 * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.Richard Henderson2-1/+3
2003-06-05 * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.Richard Henderson2-1/+5
2003-06-05 * config/tc-alpha.c (s_alpha_usepv): New.Richard Henderson13-0/+185
(md_pseudo_table): Add it. (alpha_cfi_frame_initial_instructions): New. * config/tc-alpha.h (TARGET_USE_CFIPOP): New. (tc_cfi_frame_initial_instructions): New. * doc/c-alpha.texi: Document .usepv. * gas/alpha/elf-usepv-1.[sd]: New. * gas/alpha/elf-usepv-2.[sd]: New. * gas/alpha/alpha.exp: Run them. * gas/cfi/cfi-alpha-3.[sd]: New. * gas/cfi/cfi.exp: Run it.