1 2007-02-17 Mark Mitchell <mark@codesourcery.com>
2 Nathan Sidwell <nathan@codesourcery.com>
3 Vladimir Prus <vladimir@codesourcery.com
4 Joseph Myers <joseph@codesourcery.com>
6 * configure.in (--with-bugurl): New option.
7 * configure: Regenerate.
8 * dep-in.sed: Remove bin-bugs.h.
9 * Makefile.am (REPORT_BUGS_TO): Define.
10 (INCLUDES): Define REPORT_BUGS_TO.
11 (DEP_INCLUDES): Likewise.
12 ($(OBJS)): No longer depend on bin-bugs.h.
13 * Makefile.in: Regenerate.
14 * doc/Makefile.in: Regenerate.
15 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
16 * as.h: Remove include of bin-bugs.h.
18 2007-02-17 Alan Modra <amodra@bigpond.net.au>
20 * write.c: White space fixes.
21 (fixup_segment): Move symbol_mri_common_p adjustments..
22 (write_relocs): ..and symbol_equated_reloc_p adjustments..
23 (adjust_reloc_syms): ..to here.
25 2007-02-16 Alan Modra <amodra@bigpond.net.au>
27 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
28 xmalloc, memset. Don't bother assigning NULL to known zero mem.
29 (subseg_set_rest): Remove unnecessary cast.
30 * write.c: Include libbfd.h. Replace PTR with void * throughout.
31 Remove unnecessary forward declarations and casts.
32 (set_symtab): Delete extern bfd_alloc.
33 (fixup_segment): Move.
35 2007-02-15 Nathan Sidwell <nathan@codesourcery.com>
37 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
38 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
39 (mcf5475_ctrl, mcf5485_ctrl): New.
40 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
41 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
42 (init_table): Add asid, mmubar, adjust rombar0.
44 2007-02-14 Alan Modra <amodra@bigpond.net.au>
46 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
47 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
48 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
49 code, and test for these insns using a combination of
50 opcode_modifier and operand_types.
52 2007-02-07 Paul Brook <paul@codesourcery.com>
54 * configure.tgt: Add arm*-*-uclinux-*eabi.
56 2007-02-05 Dave Brolley <brolley@redhat.com>
57 Richard Sandiford <rsandifo@redhat.com>
58 DJ Delorie <dj@redhat.com>
59 Stan Cox <scox@redhat.com>
60 Jim Blandy <jimb@redhat.com>
61 Nick Clifton <nickc@redhat.com>
62 Jim Wilson <wilson@redhat.com>
63 Frank Ch. Eigler <fche@redhat.com>
64 Graydon Hoare <graydon@redhat.com>
65 Ben Elliston <bje@redhat.com>
66 John Healy <jhealy@redhat.com>
67 Richard Henderson <rth@redhat.com>
69 * Makefile.am (CPU_TYPES): Add mep.
70 (TARGET_CPU_CFILES): Add tc-mep.c.
71 (TARGET_CPU_HFILES): Add tc-mep.h.
72 (DEPTC_mep_elf): New variable.
73 (DEPTC_mep_coff): Likewise.
74 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
75 * configure.in: Support mep.
76 * configure.tgt: Likewise.
77 * config/tc-mep.c: New file.
78 * config/obj-elf.c: New file.
79 * config/tc-mep.c: New file.
80 * config/tc-mep.h: New file.
81 * testsuite/gas/mep: New testsuite with content.
82 * Makefile.in: Regenerate.
83 * configure: Regenerate.
85 2007-02-05 Dave Brolley <brolley@redhat.com>
87 * cgen.c (gas_cgen_install_complex_reloc): Removed.
88 (complex_reloc_installation_howto): Removed.
90 2007-02-05 Dave Brolley <brolley@redhat.com>
91 Graydon Hoare <graydon@redhat.com>
92 DJ Delorie <dj@redhat.com>
93 Catherine Moore <clm@redhat.com>
94 Michael Chastain <chastain@redhat.com>
95 Frank Ch. Eigler <fche@redhat.com>
97 * symbols.c (use_complex_relocs_for): New, to decide
98 when to use complex relocs. Add signed RELC support.
99 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
100 encode expression symbols as mangled complex relocation symbols (when
101 compiled with -DOBJ_COMPLEX_RELOC).
102 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
103 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
104 encode_addend with new args. Modify to get start, length from
105 ifield whenever it is set. Also change condition on which
106 self-describing relocs are encoded. Add hook into
107 gas_cgen_encode_addend.
108 (queue_fixup_recursively): Add signed RELC support. Change from masked
109 expr to trunc flag. Restore assignment of sub-field value to
110 temporary in fixups array. Reflect changed meaning of last arg to
111 queue_fixup_recursively.
112 (fixup): Add cgen_maybe_multi_ifield member.
113 (make_right_shifted_expr): New function.
114 (queue_fixup): Change to recursive function that fragments
115 fixups if operand has a multi-ifield.
116 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
117 symbols, call weak_operand_overflow_check, and fragment call
118 queue_fixup with operand fields.
119 (gas_cgen_finish_insn) Modify to manage ifield pointer.
120 (weak_operand_overflow_check): New function to try to select
122 (gas_cgen_encode_addend): New function for relc.
123 (gas_cgen_install_complex_reloc): Likewise.
124 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
125 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
126 cgen_maybe_multi_ifield field to fx_cgen substructure.
127 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
128 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
130 2007-02-03 DJ Delorie <dj@delorie.com>
132 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
134 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
135 (m32c_cons_fix_new): Prototype.
137 2007-02-02 Bob Wilson <bob.wilson@acm.org>
139 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
140 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
142 2007-02-02 Bob Wilson <bob.wilson@acm.org>
144 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
145 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
146 (map_suffix_reloc_to_operator): New.
147 (map_operator_to_reloc): New.
148 (expression_maybe_register): Fix incorrect test of return value from
149 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
150 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
152 2007-02-02 Bob Wilson <bob.wilson@acm.org>
154 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
155 (tinsn_get_tok): Delete prototype.
156 * config/tc-xtensa.c (tinsn_get_tok): Delete.
158 2007-02-02 Bob Wilson <bob.wilson@acm.org>
160 * config/xtensa-relax.h (struct build_instr): Delete id field.
161 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
163 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
164 set op_data fields to zero.
165 (parse_id_constant): Delete.
166 (build_transition): Remove code to handle numbered literals and labels.
168 2007-02-02 Bob Wilson <bob.wilson@acm.org>
170 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
171 (build_transition_table): Likewise.
173 2007-02-01 Bob Wilson <bob.wilson@acm.org>
175 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
177 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
179 2007-02-02 Alan Modra <amodra@bigpond.net.au>
181 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
182 (struct fix <fx_plt>): Rename to tcbit2.
183 * write.c (fix_new_internal): Adjust.
184 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
185 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
186 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
187 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
188 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
189 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
190 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
191 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
192 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
193 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
194 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
195 Instead, compare fx_r_type.
196 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
197 fx_tcbit in place of fx_plt.
198 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
199 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
202 2007-01-30 Nick Clifton <nickc@redhat.com>
204 * as.c (main): Mark symbols created via the --defsym command line
205 option as volatile so that they can be overridden later on by a
206 .set directive. This maintains compatibility with the behaviour
207 of earlier versions of the assembler.
208 * doc/as.texinfo (--defsym): Document that the defined symbol's
209 value can be overridden via a .set directive.
211 2007-01-28 H.J. Lu <hongjiu.lu@intel.com>
213 * config/tc-i386.c (swap_imm_operands): Renamed to ...
214 (swap_2_operands): This. Take 2 ints.
215 (md_assemble): Updated.
216 (swap_operands): Call swap_2_operands to swap 2 operands.
218 2007-01-24 DJ Delorie <dj@redhat.com>
220 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
222 2007-01-22 Nick Clifton <nickc@redhat.com>
225 * tc-score.c: Remove unnecessary uses of _().
226 Make the err_msg[] a file level local array in order to save
228 Remove unnecessary sprintf()s.
230 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
233 * config/tc-score.c : Using _() for const string.
234 Do not assign inst.error with a local string pointer.
235 (md_section_align): Pad section.
237 2007-01-13 H.J. Lu <hongjiu.lu@intel.com>
239 * config/tc-i386.c (build_modrm_byte): Check number of operands
240 when procssing memory/register operand.
242 2007-01-12 Nick Clifton <nickc@redhat.com>
245 * macro.c (expand_irp): Do not ignore spaces inside quoted
248 2007-01-12 Alan Modra <amodra@bigpond.net.au>
250 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
251 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
252 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
253 (TC_FORCE_RELOCATION): Define.
254 (TC_FORCE_RELOCATION_LOCAL): Define.
255 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
257 2007-01-12 Alan Modra <amodra@bigpond.net.au>
259 * input-file.c (input_file_open): Check fgets return.
261 2007-01-11 Paul Brook <paul@codesourcery.com>
263 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
265 2007-01-11 Nick Clifton <nickc@redhat.com>
268 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
271 * config/tc-mcore.c (md_number_to_chars): Use
272 number_to_chars_{big|little}endian.
274 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
276 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
277 architecture by itself.
278 (m68k_ip): Don't issue a warning for tbl instructions on fido.
279 (m68k_elf_final_processing): Treat Fido as an architecture by
282 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
284 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
286 2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
288 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
289 depending on allow_naked_reg.
291 2007-01-04 Paul Brook <paul@codesourcery.com>
293 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
295 2007-01-04 H.J. Lu <hongjiu.lu@intel.com>
298 * config/tc-i386.c (register_prefix): New.
299 (set_intel_syntax): Set set_intel_syntax to "" if register
301 (check_byte_reg): Use register_prefix for error message.
302 (check_long_reg): Likewise.
303 (check_qword_reg): Likewise.
304 (check_word_reg): Likewise.
306 2006-01-04 Julian Brown <julian@codesourcery.com>
308 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
309 (do_neon_qshl_imm): Likewise.
310 (do_neon_rshl): New function. Handle rounding variants of
312 (insns): Use do_neon_rshl for vrshl, vqrshl.
314 2007-01-04 Paul Brook <paul@codesourcery.com>
316 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
319 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
321 * config/tc-i386.c (swap_operands): Remove branches.
323 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
325 * config/tc-i386.c: Update copyright year.
326 * config/tc-i386.h: Likewise.
328 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
330 * config/tc-i386.c (smallest_imm_type): Return unsigned int
333 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
335 * config/tc-i386.c: Convert to ISO C90 formatting
336 * config/tc-i386.h: Likewise.
338 2007-01-03 David Daney <ddaney@avtrex.com>
340 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
343 For older changes see ChangeLog-2006
349 version-control: never