* spu-tdep.c (spu_in_function_epilogue_p): New function.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
6f12865c
AM
12007-03-08 Alan Modra <amodra@bigpond.net.au>
2
3 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
4
a6d04ec4
AM
52007-03-08 Alan Modra <amodra@bigpond.net.au>
6
7 * Makefile.am: Run "make dep-am".
8 * Makefile.in: Regenerate.
9 * po/POTFILES.in: Regenerate.
10
ad22bfe8
JM
112007-03-07 Joseph Myers <joseph@codesourcery.com>
12
13 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
14 bug-reporting URL.
15 * doc/Makefile.am (gasver.texi): Define BUGURL.
16 * doc/as.texinfo: Use BUGURL.
17 * Makefile.in, configure, doc/Makefile.in: Regenerate.
18
b5639b37
MS
192007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
20
21 * config/tc-s390.c (md_parse_option): z9-ec option added.
22
5e77afaa
PB
232007-03-02 Paul Brook <paul@codesourcery.com>
24
25 * config/tc-arm.c (relax_immediate): Always return positive values.
26 (relaxed_symbol_addr): New function.
27 (relax_adr, relax_branch): Use it.
28 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
29
066c2a57
JM
302007-03-01 Joseph Myers <joseph@codesourcery.com>
31
32 * as.c (parse_args): Update copyright date.
33
ed6ba298
NS
342007-02-28 Nathan Sidwell <nathan@codesourcery.com>
35
36 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
37
870074dd
NC
382007-02-28 Nick Clifton <nickc@redhat.com>
39
c5d07591
NC
40 PR gas/3797
41 * config/tc-d10v.c (do_assemble): Do not generate error messages,
42 just return -1 whenever a problem is encountered.
43 (md_assemble): If do_assemble returns -1 generate a non-fatal
44 error message and return.
45
870074dd
NC
46 PR gas/2623
47 * config/tc-msp430.c (line_separator_char): Change to '{'.
48
fd99afa7
AM
492007-02-27 Alan Modra <amodra@bigpond.net.au>
50
51 * config/tc-m68hc11.c (fixup24): Correct fixup size.
52 (build_jump_insn): Likewise.
53 (build_insn): Likewise.
54 (s_m68hc11_relax): Likewise.
55
07cb2078
AM
562007-02-27 Alan Modra <amodra@bigpond.net.au>
57
58 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
59
22b5b651
MS
602007-02-25 Mark Shinwell <shinwell@codesourcery.com>
61
62 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
63
acb02403
AM
642007-02-23 Alan Modra <amodra@bigpond.net.au>
65
66 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
67 (md_assemble): Likewise.
68
e5435dec
AM
692007-02-22 Alan Modra <amodra@bigpond.net.au>
70
71 * write.c (size_seg): Always clear SEC_RELOC here.
72 (install_reloc): New function, extracted from..
73 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
74 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
75 testing frag size. Set SEC_RELOC here.
76
a1836728
AM
772007-02-21 Alan Modra <amodra@bigpond.net.au>
78
79 PR 4082
80 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
81
f281862d
TS
822007-02-20 Thiemo Seufer <ths@mips.com>
83
84 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
85
01fd108f
TS
862007-02-20 Thiemo Seufer <ths@mips.com>
87
88 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
89
8b082fb1
TS
902007-02-20 Thiemo Seufer <ths@mips.com>
91 Chao-Ying Fu <fu@mips.com>
92
93 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
94 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
95 (macro_build): Add case '2'.
96 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
97 (validate_mips_insn): Add support for balign instruction.
98 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
99 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
100 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
101 command line options.
102 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
103 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
104 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
105 .set dspr2, .set nodspr2.
106
96e0bbcc
NS
1072007-02-20 Nathan Sidwell <nathan@codesourcery.com>
108
109 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
110 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
111
d31f0f6d
AM
1122007-02-18 Alan Modra <amodra@bigpond.net.au>
113
114 * write.c (TC_FX_SIZE_SLACK): Define.
115 (write_relocs): Reinstate check for fixup within frag.
116 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
117 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
118 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
119 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
120 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
121
92f01d61
JM
1222007-02-17 Mark Mitchell <mark@codesourcery.com>
123 Nathan Sidwell <nathan@codesourcery.com>
124 Vladimir Prus <vladimir@codesourcery.com
125 Joseph Myers <joseph@codesourcery.com>
126
127 * configure.in (--with-bugurl): New option.
128 * configure: Regenerate.
129 * dep-in.sed: Remove bin-bugs.h.
130 * Makefile.am (REPORT_BUGS_TO): Define.
131 (INCLUDES): Define REPORT_BUGS_TO.
132 (DEP_INCLUDES): Likewise.
133 ($(OBJS)): No longer depend on bin-bugs.h.
134 * Makefile.in: Regenerate.
135 * doc/Makefile.in: Regenerate.
136 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
137 * as.h: Remove include of bin-bugs.h.
138
b4b24b79
AM
1392007-02-17 Alan Modra <amodra@bigpond.net.au>
140
141 * write.c: White space fixes.
142 (fixup_segment): Move symbol_mri_common_p adjustments..
143 (write_relocs): ..and symbol_equated_reloc_p adjustments..
144 (adjust_reloc_syms): ..to here.
145
e7ff5c73
AM
1462007-02-16 Alan Modra <amodra@bigpond.net.au>
147
148 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
149 xmalloc, memset. Don't bother assigning NULL to known zero mem.
150 (subseg_set_rest): Remove unnecessary cast.
151 * write.c: Include libbfd.h. Replace PTR with void * throughout.
152 Remove unnecessary forward declarations and casts.
153 (set_symtab): Delete extern bfd_alloc.
154 (fixup_segment): Move.
155
a8e24a56
NS
1562007-02-15 Nathan Sidwell <nathan@codesourcery.com>
157
158 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
159 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
160 (mcf5475_ctrl, mcf5485_ctrl): New.
161 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
162 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
163 (init_table): Add asid, mmubar, adjust rombar0.
164
4eed87de
AM
1652007-02-14 Alan Modra <amodra@bigpond.net.au>
166
167 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
168 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
169 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
170 code, and test for these insns using a combination of
171 opcode_modifier and operand_types.
172
7bd1c961
PB
1732007-02-07 Paul Brook <paul@codesourcery.com>
174
5c817587 175 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 176
280d71bf 1772007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
178 Richard Sandiford <rsandifo@redhat.com>
179 DJ Delorie <dj@redhat.com>
180 Stan Cox <scox@redhat.com>
181 Jim Blandy <jimb@redhat.com>
182 Nick Clifton <nickc@redhat.com>
183 Jim Wilson <wilson@redhat.com>
184 Frank Ch. Eigler <fche@redhat.com>
185 Graydon Hoare <graydon@redhat.com>
186 Ben Elliston <bje@redhat.com>
187 John Healy <jhealy@redhat.com>
188 Richard Henderson <rth@redhat.com>
189
190 * Makefile.am (CPU_TYPES): Add mep.
191 (TARGET_CPU_CFILES): Add tc-mep.c.
192 (TARGET_CPU_HFILES): Add tc-mep.h.
193 (DEPTC_mep_elf): New variable.
194 (DEPTC_mep_coff): Likewise.
195 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
196 * configure.in: Support mep.
197 * configure.tgt: Likewise.
198 * config/tc-mep.c: New file.
280d71bf
DB
199 * config/obj-elf.c: New file.
200 * config/tc-mep.c: New file.
201 * config/tc-mep.h: New file.
202 * testsuite/gas/mep: New testsuite with content.
203 * Makefile.in: Regenerate.
204 * configure: Regenerate.
205
2062007-02-05 Dave Brolley <brolley@redhat.com>
207
208 * cgen.c (gas_cgen_install_complex_reloc): Removed.
209 (complex_reloc_installation_howto): Removed.
210
2112007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
212 Graydon Hoare <graydon@redhat.com>
213 DJ Delorie <dj@redhat.com>
214 Catherine Moore <clm@redhat.com>
215 Michael Chastain <chastain@redhat.com>
216 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
217
218 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
219 when to use complex relocs. Add signed RELC support.
220 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
221 encode expression symbols as mangled complex relocation symbols (when
222 compiled with -DOBJ_COMPLEX_RELOC).
223 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
224 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
225 encode_addend with new args. Modify to get start, length from
226 ifield whenever it is set. Also change condition on which
227 self-describing relocs are encoded. Add hook into
228 gas_cgen_encode_addend.
229 (queue_fixup_recursively): Add signed RELC support. Change from masked
230 expr to trunc flag. Restore assignment of sub-field value to
231 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 232 queue_fixup_recursively.
4948f0d4 233 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
234 (make_right_shifted_expr): New function.
235 (queue_fixup): Change to recursive function that fragments
236 fixups if operand has a multi-ifield.
237 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
238 symbols, call weak_operand_overflow_check, and fragment call
239 queue_fixup with operand fields.
240 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
241 (weak_operand_overflow_check): New function to try to select
242 insns correctly.
4948f0d4 243 (gas_cgen_encode_addend): New function for relc.
280d71bf 244 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 245 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
246 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
247 cgen_maybe_multi_ifield field to fx_cgen substructure.
248 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
249 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
250
e110eeb7
DD
2512007-02-03 DJ Delorie <dj@delorie.com>
252
253 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
254 byte relocs.
255 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
256 (m32c_cons_fix_new): Prototype.
257
60242db2
BW
2582007-02-02 Bob Wilson <bob.wilson@acm.org>
259
260 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
261 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
262
bbdd25a8
BW
2632007-02-02 Bob Wilson <bob.wilson@acm.org>
264
265 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
266 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
267 (map_suffix_reloc_to_operator): New.
268 (map_operator_to_reloc): New.
269 (expression_maybe_register): Fix incorrect test of return value from
270 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
271 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
272
9c874773
BW
2732007-02-02 Bob Wilson <bob.wilson@acm.org>
274
275 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
276 (tinsn_get_tok): Delete prototype.
277 * config/tc-xtensa.c (tinsn_get_tok): Delete.
278
61376837
BW
2792007-02-02 Bob Wilson <bob.wilson@acm.org>
280
281 * config/xtensa-relax.h (struct build_instr): Delete id field.
282 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
283 and LABEL tokens.
284 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
285 set op_data fields to zero.
286 (parse_id_constant): Delete.
287 (build_transition): Remove code to handle numbered literals and labels.
288
bc447904
BW
2892007-02-02 Bob Wilson <bob.wilson@acm.org>
290
291 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
292 (build_transition_table): Likewise.
293
63a7429b
BW
2942007-02-01 Bob Wilson <bob.wilson@acm.org>
295
296 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
297 fx_tcbit.
298 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
299
20ee54e8
AM
3002007-02-02 Alan Modra <amodra@bigpond.net.au>
301
302 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
303 (struct fix <fx_plt>): Rename to tcbit2.
304 * write.c (fix_new_internal): Adjust.
305 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
306 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
307 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
308 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
309 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
310 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
311 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
312 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
313 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
314 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
315 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
316 Instead, compare fx_r_type.
317 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
318 fx_tcbit in place of fx_plt.
319 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
320 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
321 to fx_plt.
322
bf083c64
NC
3232007-01-30 Nick Clifton <nickc@redhat.com>
324
325 * as.c (main): Mark symbols created via the --defsym command line
326 option as volatile so that they can be overridden later on by a
327 .set directive. This maintains compatibility with the behaviour
328 of earlier versions of the assembler.
329 * doc/as.texinfo (--defsym): Document that the defined symbol's
330 value can be overridden via a .set directive.
331
fc523535 3322007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
333
334 * config/tc-i386.c (swap_imm_operands): Renamed to ...
335 (swap_2_operands): This. Take 2 ints.
336 (md_assemble): Updated.
337 (swap_operands): Call swap_2_operands to swap 2 operands.
338
7bc4c13c
DD
3392007-01-24 DJ Delorie <dj@redhat.com>
340
341 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
342
48903831
NC
3432007-01-22 Nick Clifton <nickc@redhat.com>
344
07302d31 345 PR gas/3871
48903831
NC
346 * tc-score.c: Remove unnecessary uses of _().
347 Make the err_msg[] a file level local array in order to save
348 storage space.
349 Remove unnecessary sprintf()s.
350
14119072
ML
3512007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
352
07302d31 353 PR gas/3871
14119072
ML
354 * config/tc-score.c : Using _() for const string.
355 Do not assign inst.error with a local string pointer.
356 (md_section_align): Pad section.
357
99018f42
L
3582007-01-13 H.J. Lu <hongjiu.lu@intel.com>
359
360 * config/tc-i386.c (build_modrm_byte): Check number of operands
361 when procssing memory/register operand.
362
465e5617
NC
3632007-01-12 Nick Clifton <nickc@redhat.com>
364
365 PR gas/3856
366 * macro.c (expand_irp): Do not ignore spaces inside quoted
367 strings.
368
e8630bd7
AM
3692007-01-12 Alan Modra <amodra@bigpond.net.au>
370
371 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
372 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
373 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
374 (TC_FORCE_RELOCATION): Define.
375 (TC_FORCE_RELOCATION_LOCAL): Define.
376 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
377
1f5409bb
AM
3782007-01-12 Alan Modra <amodra@bigpond.net.au>
379
380 * input-file.c (input_file_open): Check fgets return.
381
dc4503c6
PB
3822007-01-11 Paul Brook <paul@codesourcery.com>
383
384 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
385
04f8d83b
NC
3862007-01-11 Nick Clifton <nickc@redhat.com>
387
493cb6ef
NC
388 PR gas/3707
389 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
390 variable.
391
04f8d83b
NC
392 * config/tc-mcore.c (md_number_to_chars): Use
393 number_to_chars_{big|little}endian.
394
3bdcfdf4
KH
3952007-01-08 Kazu Hirata <kazu@codesourcery.com>
396
397 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
398 architecture by itself.
399 (m68k_ip): Don't issue a warning for tbl instructions on fido.
400 (m68k_elf_final_processing): Treat Fido as an architecture by
401 itself.
402
42037fe5
NC
4032007-01-08 Kai Tietz <kai.tietz@onevision.com>
404
405 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
406
e4a3b5a4
L
4072007-01-05 H.J. Lu <hongjiu.lu@intel.com>
408
409 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
410 depending on allow_naked_reg.
411
a028a6f5
PB
4122007-01-04 Paul Brook <paul@codesourcery.com>
413
414 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
415
2ca3ace5
L
4162007-01-04 H.J. Lu <hongjiu.lu@intel.com>
417
44f9b8ac 418 PR gas/3830
2ca3ace5
L
419 * config/tc-i386.c (register_prefix): New.
420 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 421 prefix isn't needed.
2ca3ace5
L
422 (check_byte_reg): Use register_prefix for error message.
423 (check_long_reg): Likewise.
424 (check_qword_reg): Likewise.
425 (check_word_reg): Likewise.
426
627907b7
JB
4272006-01-04 Julian Brown <julian@codesourcery.com>
428
429 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
430 (do_neon_qshl_imm): Likewise.
431 (do_neon_rshl): New function. Handle rounding variants of
432 v{q}shl-by-register.
433 (insns): Use do_neon_rshl for vrshl, vqrshl.
434
92559b5b
PB
4352007-01-04 Paul Brook <paul@codesourcery.com>
436
437 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
438 and vacle.
439
2ca3ace5
L
4402007-01-03 H.J. Lu <hongjiu.lu@intel.com>
441
442 * config/tc-i386.c (swap_operands): Remove branches.
443
4dc85607
L
4442007-01-03 H.J. Lu <hongjiu.lu@intel.com>
445
446 * config/tc-i386.c: Update copyright year.
447 * config/tc-i386.h: Likewise.
448
1509aa9a
L
4492007-01-03 H.J. Lu <hongjiu.lu@intel.com>
450
451 * config/tc-i386.c (smallest_imm_type): Return unsigned int
452 instead of int.
453
e3bb37b5
L
4542007-01-03 H.J. Lu <hongjiu.lu@intel.com>
455
456 * config/tc-i386.c: Convert to ISO C90 formatting
457 * config/tc-i386.h: Likewise.
458
d821e36b
DD
4592007-01-03 David Daney <ddaney@avtrex.com>
460
461 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
462 documentation.
463
44021fe5 464For older changes see ChangeLog-2006
08d56133
NC
465\f
466Local Variables:
467mode: change-log
468left-margin: 8
469fill-column: 74
470version-control: never
471End:
This page took 0.315673 seconds and 4 git commands to generate.