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