X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=5462dd59b284284d24a7bd24ed6b2f11c6304e91;hb=e0001a05d2e4967ee86f4468cdc4fafea66b92d1;hp=8be8c172b3ee6d080d25476a4dab2d3e1eb951b3;hpb=55ac548dfbc3a914db2b07b958523573f34690a1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 8be8c172b3..5462dd59b2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,524 @@ +2003-04-01 Bob Wilson + + * Makefile.am (CPU_TYPES): Add xtensa. + (TARGET_CPU_CFILES): Add config/tc-xtensa.c. + (TARGET_CPU_HFILES): Add config/tc-xtensa.h. + (xtensa-relax.o): New target. + Run "make dep-am". + * Makefile.in: Regenerate. + * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to + extra_objects for xtensa targets. + * configure: Regenerate. + * write.c (write_object_file): Add new md_post_relax_hook. + * config/tc-xtensa.c: New file. + * config/tc-xtensa.h: Likewise. + * config/xtensa-istack.h: Likewise. + * config/xtensa-relax.c: Likewise. + * config/xtensa-relax.h: Likewise. + * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi. + * doc/Makefile.in: Regenerate. + * doc/all.texi: Set new XTENSA variable. + * doc/as.texinfo: Set new Xtensa variable. Describe + Xtensa-specific options. Define line comment character for + Xtensa. Add Xtensa processors to list of ELF targets where + alignment is specified in bytes. Add new Xtensa-Dependent node. + Add acknowledgements for those contributing to the Xtensa port. + * doc/internals.texi: Describe new md_post_relax_hook. + * doc/c-xtensa.texi: New file. + + +2003-04-01 Nick Clifton + Richard Earnshaw + + * config/tc-arm.c: Remove presence of (r) and (tm) symbols. + (ARM_ARCH_IWMMXT): Simplify. + (insns): Place iwmmx instructions in correct place in table. + (arm_add_note): New function: Add a note entry to a .note section. + (md_begin): Make the default architecture be unknown. + Suppress the creation of an arm note section. + +2003-03-26 Eric Christopher + + * config/tc-mips.c (nopic_need_relax): Check for + S_IS_EXTERN. + +2003-03-25 Stan Cox + Nick Clifton + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX, + WC_PREFIX, REG_TYPE_IWMMXT): New constants. + (enum wreg_type, enum iwmmxt_insn_type): New types. + (wr_register, wc_register, wcg_register): New macros. + (iwmmxt_table): New variable. + (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc, + do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm, + do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia, + do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc, + do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov, + do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg, + do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero, + cp_byte_address_offset, cp_byte_address_required_here, + check_iwmmxt_insn): New functions. + (asm_opcode_insns): Add iWMMXt instructions. + (md_begin): Set the mach value for iWMMXt targets. Create a note + section to identify iwmmxt binaries. + (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2. + * doc/c-arm.texi: Document the support for the iWMMXt. + * NEWS: Mention new support. + +2003-03-24 Daniel NĂ©ri + + * doc/as.texinfo: Rename the all occurances of C54X to TIC54X. + * doc/all.texi: Likewise. + * doc/c-tic54x.texi: Likewise. + +2003-03-21 Andreas Schwab + + * config/tc-ia64.c (generate_unwind_image): Fix type of unw_rec to + avoid aliasing issue. + +2003-03-21 Martin Schwidefsky + + * config/tc-s390.c (s390_arch_size): Initialize to zero. + (current_arch_mask): Rename to current_mode_mask. + (current_arch_requested): Remove variable. + (current_cpu): New variable. + (init_default_arch): Set defaults values for s390_arch_size, + current_mode_mask and current_cpu. + (md_parse_option): New options -mesa, -mzarch and -march={g5,g6,z900}. + (md_begin): Replace current_arch_mask by current_cpu. + (md_assemble): Adapt check and error message to current_mode_mask and + current_cpu. + +2003-03-09 James E Wilson + + * macro.c (buffer_and_nest): Store more to sb instead of '\n'. + * read.c (get_line_sb): Return end of line character or '\n' if + it is zero or non-existent. + +2003-03-12 Alexandre Oliva + + * config/tc-mips.c (mips_validate_fix): New function. + * config/tc-mips.h (TC_VALIDATE_FIX): Define. + (mips_validate_fix): Declare. + +2003-03-12 Alexandre Oliva + + * Reverted 2003-03-02's patch. + +2003-03-11 Steve Ellcey + + * dwarf2dbg.c (generic_dwarf2_emit_offset): New. + (TC_DWARF2_EMIT_OFFSET): Provide default. + (out_debug_aranges, out_debug_info): Use it. + * config/tc-ia64.c (ia64_dwarf2_emit_offset): New. + (ia64_cons_fix_new): Move FUNC_DTP_RELATIVE handling ... + (ia64_gen_real_reloc_type): ... here. + * config/tc-ia64.h (TC_DWARF2_EMIT_OFFSET): New. + +2003-03-09 Thiemo Seufer + + * config/tc-mips.c (s_mips_end): Remove !BFD_ASSEMBLER case. + (s_mips_ent): Likewise. + +2003-03-04 Dmitry Diky + + * config/tc-msp430.c (mcu_types): Add recently announced x1122 + and x1123 devices, add missed x437. + (md_show_usage): Sort device list. + +2003-03-03 J"orn Rennecke + + * config/tc-sh.c (sh_dsp): Replace with preset_target_arch. + (md_begin): Use preset_target_arch. + (md_longopts): Make isa option unconditional. + (md_parse_option): Make OPTION_DSP and OPTION_ISA sh4 / any + set preset_target_arch. + (md_apply_fix3): If BFD_ASSEMBLER, adjust SWITCH_TABLE fixups + by -S_GET_VALUE (fixP->fx_subsy). + (tc_gen_reloc): For SWITCH_TABLE fixups, the symbol is fixp->fx_subsy, + and the addend is 0. + Adjust addend of R_SH_IND12W relocations by fixp->fx_offset - 4. + * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define. + +2003-03-02 Thiemo Seufer + + * config/tc-mips.c (append_insn): Add handling of + BFD_RELOC_MIPSEMB_16_PCREL_S2. Avoid emitting unneeded + BFD_RELOC_16_PCREL_S2 relocs and add earlier warnings about + misaligned address and reange overflow. + (macro_build): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. Add + earlier warnings about misaligned address and reange overflow. + (mips_ip): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. + (md_apply_fix): Likewise. Fix warning output. + (tc_gen_reloc): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. + Allow BFD_RELOC_16_PCREL_S2 for all ABIs. + (md_convert_frag): Add handling of BFD_RELOC_MIPSEMB_16_PCREL_S2. + +2003-02-21 Nick Clifton + + * NEWS: Mention availability of test generator program. + +2003-02-21 Miles Bader + + * config/tc-v850.c (system_registers): Add v850e debug registers. + (system_register_name): Accept up to 27 (the last v850e sys register). + +2003-02-21 Bob Wilson + + * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text + relevant to both COFF and ELF. Fix obvious typos and texinfo bugs. + Capitalize section headings consistently. Format index entries more + consistently. Unconditionalize text about whether text and data + sections are alterable. Use @ifnottex for alternatives to @tex output + so that HTML works. Clean up COFF vs. ELF descriptions of .section, + .size and .type directives. Be more polite about bad bug reports. + Move FDL into a separate file. + * doc/fdl.texi: New file. + +2003-02-21 Richard Sandiford + + * config/tc-mips.c (prev_reloc_op_frag): New variable. + (macro): Check it to decide whether a new frag is needed. + (my_getSmallExpression): Set it. + +2003-02-20 jmc + + * cgen.c: Fix typo: intial -> initial. + +2003-02-19 Jie Zhang + + * app.c (do_scrub_chars): Handle '||' in two states. + +2003-02-13 Alan Modra + + * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change. + * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define. + +2003-02-11 Uwe Stieber + + * configure.in: Add support for kaOS as cross build target system. + * configure: Regenerated. + +2003-02-10 Nick Clifton + + * config/tc-arm.c (md_begin): If the Maverick co-processor is + selected, set the EF_ARM_MAVERICK_FLOAT flag and + bfd_mach_arm_ep9312 machine number. + +2003-02-08 Richard Sandiford + + * config/tc-mips.c (reloc_needs_lo_p): New function. + (fixup_has_matching_lo_p): New function. + (append_insn): Use reloc_needs_lo_p to check whether a relocation + might need a matching %lo(). Reuse the head of mips_hi_fixup_list + if that fixup already has a matching %lo(). Don't call frag_wane here. + (macro): Call frag_wane here if the last unmatched hi was in the + current frag. + (pic_need_relax): New function, split out from... + (md_estimate_size_before_relax): ...here. + (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test + whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols. + +2003-02-07 Richard Sandiford + + * config/tc-mips.c (my_getSmallExpression): Rework bracket handling. + +2003-02-06 Alan Modra + + * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that + x@toc+off works. + +2003-02-05 Alan Modra + + * config/tc-ppc.c (mapping): Handle new TLS reloc specs. + (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't + accept x@got+off etc. + (md_assemble): Handle TLS relocs. + (ppc_force_relocation): Force for all TLS relocs. + (ppc_fix_adjustable): Likewise. + (md_apply_fix3): Handle TLS relocs. + +2003-02-04 Alan Modra + + * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and + SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p. + +2003-02-02 Richard Sandiford + + * config/tc-mips.c (enum small_ex_type): Remove. + (imm_unmatched_hi): Remove. + (md_assemble): Remove use of imm_unmatched_hi. Remove the last + argument from calls to append_insn. + (append_insn): Remove unmatched_hi parameter; check reloc_type[0] + instead. + (macro_build): Update append_insn calls. + (mips16_macro_build, macro_build_lui): Likewise. + (mips_ip): Rework handling of small expressions. Move explicit + relocation handling into my_getSmallExpression. Assume that the + value of 'o' operands is zero if there is only one bracketed + expression left. + (percent_op): Make constant. Record the BFD relocation code + associated with each operator. + (my_getSmallParser, my_getPercentOp): Remove. + (parse_relocation): New function. + (my_getSamllExpression): Rework. Fill in relocations here + rather than in mips_ip. + +2003-01-29 Nick Clifton + + * config/tc-i386.c (line_comment_chars): Add '#'. This makes the + assembler's handling of # "" directives work. + +2003-01-28 Jakub Jelinek + + * dwarf2dbg.c: Include filenames.h. + (struct file_entry): Make filename const char *. + (dirs, dirs_in_use, dirs_allocated): New variables. + (get_filenum): Add NUM argument. Build directory table. + (dwarf2_where): Adjust caller. + (dwarf2_directive_file): Use get_filenum to allocate + slot in file and directory tables. + (dwarf2_directive_loc): Recreate full filename from + directory and filename part if needed for listing. + (out_file_list): Output directory table. + Output main source file dirname before its filename. + +2003-01-28 Dmitry Diky + + * config/tc-msp430.c: Replace occurences of 'tolower' with + 'TOLOWER'. + +2003-01-27 David Mosberger + + * config/tc-ia64.c (dot_vframesp): Correct error message. + (dot_vframepsp): Ditto. + +2003-01-27 Alexandre Oliva + + * configure.in (em): Set to irix on all Irix systems. + * configure: Rebuilt. + * config/te-irix.h: New file. + * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide + whether to use Irix-specific 64-bit format. + +2003-01-27 Martin Schwidefsky + + * config/tc-s390.c (s390_elf_cons): Avoid designated initializers. + +2003-01-25 Jakub Jelinek + + * config/tc-sparc.c (sparc_ip): Handle TLS % operators. + (tc_gen_reloc): Handle TLS relocs. + (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff. + * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS + relocs. + * config/obj-elf.c (obj_elf_section_word): Handle tls. + (obj_elf_type): Handle tls_object. + +2003-01-24 Martin Schwidefsky + + * config/tc-s390.c (s390_tls_suffix): New function. + (elf_suffix_type): Add suffix enums for TLS relocations. + (s390_elf_suffix): Add suffix strings for TLS relocations. + (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to + bfd relocations. + (md_gather_operands): Map new instruction operand/elf suffix + combinations for TLS to bfd relocations. + (tc_s390_fix_adjustable): Add new TLS relocations. + (tc_s390_force_relocation): Likewise. + (md_apply_fix3): Likewise. + +2003-01-24 Alan Modra + + * as.h: Update copyright date. + * symbols.c: Likewise. + * config/tc-d10v.h: Likewise. + * config/tc-fr30.h: Likewise. + * config/tc-i960.h: Likewise. + * config/tc-mips.h: Likewise. + + * config/tc-hppa.h (DIFF_EXPR_OK): Define. + (MD_APPLY_SYM_VALUE): Move. + +2003-01-23 Nick Clifton + + NEWS: Announce sh2e support. + + * Add sh2e support: + + 2002-04-02 Alexandre Oliva + + * config/tc-sh.c (md_show_usage): Added sh2e next to + sh3e. + (sh_elf_final_processing): Handle arch_sh2e. + +2003-01-23 Alan Modra + + * symbols.c (S_FORCE_RELOC): Add "strict" param. + * symbols.h (S_FORCE_RELOC): Likewise. + * config/obj-aout.h (S_FORCE_RELOC): Likewise. + * config/obj-bout.h (S_FORCE_RELOC): Likewise. + * config/obj-coff.h (S_FORCE_RELOC): Likewise. + * config/obj-ieee.h (S_FORCE_RELOC): Likewise. + * config/obj-vms.h (S_FORCE_RELOC): Likewise. + * write.c (generic_force_reloc): New function. + (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC. + (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. + (adjust_reloc_syms): Adjust S_FORCE_RELOC call. + * as.h (generic_force_reloc): Declare. + * doc/internals.texi (S_FORCE_RELOC): Update. + (TC_FORCE_RELOCATION_SUB_SAME): Update. + + * config/tc-alpha.c (alpha_force_relocation): Adjust to use + generic_force_reloc. + (alpha_fix_adjustable): Likewise. + * config/tc-arm.c (arm_force_relocation): Likewise. + * config/tc-cris.c (md_cris_force_relocation): Likewise. + * config/tc-frv.c (frv_force_relocation): Likewise. + * config/tc-i386.c (md_apply_fix3): Likewise. + * config/tc-ia64.c (ia64_force_relocation): Likewise. + * config/tc-ip2k.c (ip2k_force_relocation): Likewise. + * config/tc-m32r.c (m32r_force_relocation): Likewise. + * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise. + * config/tc-mcore.c (mcore_force_relocation): Likewise. + * config/tc-mips.c (mips_force_relocation): Likewise. + * config/tc-mmix.c (mmix_force_relocation): Likewise. + * config/tc-ppc.c (ppc_force_relocation): Likewise. + * config/tc-s390.c (tc_s390_force_relocation): Likewise. + * config/tc-sh.c (sh_force_relocation): Likewise. + (md_pcrel_from_section): Likewise. + * config/tc-sparc.c (tc_gen_reloc): Likewise. + * config/tc-v850.c (v850_force_relocation): Likewise. + * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise. + * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise. + * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise. + * config/tc-sparc.h (tc_fix_adjustable): Likewise. + + * config/tc-d10v.c (d10v_force_relocation): Delete. + * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-dlx.c (md_dlx_force_relocation): Delete. + * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-fr30.c (fr30_force_relocation): Delete. + * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-mn10300.c (mn10300_force_relocation): Delete. + * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define. + (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. + * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. + * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call. + * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix. + * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define. + * config/tc-openrisc.c (openrisc_force_relocation): Delete. + * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-sparc.c (elf32_sparc_force_relocation): Delete. + * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF. + * config/tc-i386.c (i386_force_relocation): Delete. + * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for + BFD_ASSEMBLER. + (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting. + * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define. + * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call + S_FORCE_RELOC. + (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too. + * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise. + +2003-01-23 Alan Modra + + * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed + sh64_elf_section_data. + * config/tc-sh64.h: Include elf32-sh64.h. + * config/tc-m68hc11.c: Don't include stdio.h. + (md_show_usage): Fix missing continuation. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-01-22 Nick Clifton + + * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts. + +2003-01-21 Fabio Alemagna + + * configure.in: Handle *-*-aros*. + * configure: Regenerated from configure.in. + +2003-01-20 Martin Schwidefsky + + * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff, + gotplt and pltoff relocations. + (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff. + (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff, + gotplt and pltoff to bfd relocations. + (md_gather_operands): Map new instruction operand/elf suffix + combinations to bfd relocations. + (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations + to the list of unadjustable relocations. + (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt + and pltoff relocations. + (md_apply_fix3): Add the new relocations. + +2003-01-20 Martin Schwidefsky + + * config/tc-s390.c (md_apply_fix3): Emit error message for relocations + with a subsy symbol. + +2003-01-17 Stephane Carrez + + * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment + of relocs for memory bank addressing. + +2003-01-17 Stephane Carrez + + * config/tc-m68hc11.c (md_show_usage): Update usage. + (md_parse_option): Recognize -m68hcs12. + (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify + HCS12. + * doc/as.texinfo (Overview): Document new option -m68hcs12. + +2003-01-16 Jakub Jelinek + + * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data. + +2003-01-16 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * po/POTFILES.in: Regenerate. + +2003-01-11 Alan Modra + + * read.c (get_absolute_expr): New, split out from.. + (get_absolute_expression): ..here. + * read.h (get_absolute_expr): Declare. + * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size". + Trim size to arch bits_per_address, and test for negative input + via get_absolute_expr. + +2003-01-07 DJ Delorie + + * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based + on operand type. + (xstormy16_md_apply_fix3): Use adjustment. + +2003-01-02 Ben Elliston + + * configure.in: Add iq2000-elf target. + * configure: Regenerate. + * config/tc-iq2000.c: New file. + * config/tc-iq2000.h: Likewise. + * po/gas.pot: Regenerate. + +2003-01-02 Chris Demetriou + + * config/tc-mips.c: Update copyright years to include 2003. + (mips_ip): Fix indentation of "+A", "+B", and "+C" handling. + Additionally, clean up their code slightly and clean up their + comments some more. + + * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation. + 2003-01-01 Daniel Jacobowitz * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi @@ -106,7 +627,7 @@ 2002-12-16 Andrew MacLeod - * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation + * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation has already been set up, use it. 2002-12-16 Kazu Hirata