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