* config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
7764b395
TS
12006-11-03 Thiemo Seufer <ths@mips.com>
2
3 * config/tc-mips.c (mips_cpu_info_table): The 25Kf is a MIPS64
4 release 1 CPU.
5
ae424f82
JJ
62006-11-03 Jakub Jelinek <jakub@redhat.com>
7
9b8ae42e
JJ
8 * dw2gencfi.c (struct fde_entry): Add per_encoding, lsda_encoding,
9 personality and lsda.
10 (struct cie_entry): Add per_encoding, lsda_encoding and personality.
11 (alloc_fde_entry): Initialize per_encoding and lsda_encoding.
12 (cfi_pseudo_table): Handle .cfi_personality and .cfi_lsda.
13 (dot_cfi_personality, dot_cfi_lsda, encoding_size): New functions.
14 (output_cie): Output personality including its encoding and LSDA encoding.
15 (output_fde): Output LSDA.
16 (select_cie_for_fde): Don't share CIE if personality, its encoding or
17 LSDA encoding are different. Copy the 3 fields from fde_entry to
18 cie_entry.
19 * doc/as.texinfo (.cfi_personality, .cfi_lsda): Document.
20
ae424f82
JJ
21 * subsegs.h (struct frchain): Add frch_cfi_data field.
22 * dw2gencfi.c: Include subsegs.h.
23 (cur_fde_data, last_address, cur_cfa_offset, cfa_save_stack): Removed.
24 (struct frch_cfi_data): New type.
25 (unused_cfi_data): New variable.
26 (alloc_fde_entry): Move cur_fde_data, last_address, cur_cfa_offset
27 and cfa_save_stack static vars into a structure pointed from
28 each frchain.
29 (alloc_cfi_insn_data, cfi_new_fde, cfi_end_fde, cfi_set_return_column,
30 cfi_add_advance_loc, cfi_add_CFA_def_cfa, cfi_add_CFA_def_cfa_offset,
31 cfi_add_CFA_remember_state, cfi_add_CFA_restore_state, dot_cfi,
32 dot_cfi_escape, dot_cfi_startproc, dot_cfi_endproc, cfi_finish):
33 Likewise.
34
d1e50f8a
DJ
352006-11-02 Daniel Jacobowitz <dan@codesourcery.com>
36
37 * config/tc-h8300.c (build_bytes): Fix const warning.
38
06d2da93
NC
392006-11-01 Mei Ligang <ligang@sunnorth.com.cn>
40
41 * tc-score.c (do16_rdrs): Handle not! instruction especially.
42
3ba67470
PB
432006-10-31 Paul Brook <paul@codesourcery.com>
44
45 * config/tc-arm.c (arm_adjust_symtab): Don't use STT_ARM_16BIT
46 for EABIv4.
47
7a1d4c38
PB
482006-10-31 Paul Brook <paul@codesourcery.com>
49
50 gas/
51 * config/tc-arm.c (object_arch): New variable.
52 (s_arm_object_arch): New function.
53 (md_pseudo_table): Add object_arch.
54 (aeabi_set_public_attributes): Obey object_arch.
55 * doc/c-arm.texi: Document .object_arch.
56
b138abaa
NC
572006-10-31 Mei Ligang <ligang@sunnorth.com.cn>
58
59 * tc-score.c (data_op2): Check invalid operands.
60 (my_get_expression): Const operand of some instructions can not be
61 symbol in assembly.
62 (get_insn_class_from_type): Handle instruction type Insn_internal.
63 (do_macro_ldst_label): Modify inst.type.
64 (Insn_PIC): Delete.
65 (data_op2): The immediate value in lw is 15 bit signed.
66
c79b7c30
RC
672006-10-29 Randolph Chung <tausq@debian.org>
68
69 * config/tc-hppa.c (hppa_cfi_frame_initial_instructions)
70 (hppa_regname_to_dw2regnum): New funcions.
71 * config/tc-hppa.h [OBJ_ELF] (TARGET_USE_CFIPOP): Define.
72 (tc_cfi_frame_initial_instructions)
73 (tc_regname_to_dw2regnum): Define.
74 (hppa_cfi_frame_initial_instructions)
75 (hppa_regname_to_dw2regnum): Declare.
76 (DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN)
77 (DWARF2_CIE_DATA_ALIGNMENT): Define.
78
e2785c44
NC
792006-10-29 Nick Clifton <nickc@redhat.com>
80
81 * config/tc-spu.c (md_assemble): Cast printf string size parameter
82 to int in order to avoid a compiler warning.
83
86157c20
AS
842006-10-27 Andrew Stubbs <andrew.stubbs@st.com>
85
86 * config/tc-sh.c (md_assemble): Define size of branches.
87
ba5f0fda
BE
882006-10-26 Ben Elliston <bje@au.ibm.com>
89
90 * dw2gencfi.c (cfi_add_CFA_offset):
91 Assert DWARF2_CIE_DATA_ALIGNMENT is non-zero.
92
033cd5fd
BE
93 * write.c (chain_frchains_together_1): Assert that this function
94 never returns a pointer to the auto variable `dummy'.
95
e9f53129
AM
962006-10-25 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
97 Yukishige Shibata <shibata@rd.scei.sony.co.jp>
98 Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp>
99 Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp>
100 Alan Modra <amodra@bigpond.net.au>
101
102 * config/tc-spu.c: New file.
103 * config/tc-spu.h: New file.
104 * configure.tgt: Add SPU support.
105 * Makefile.am: Likewise. Run "make dep-am".
106 * Makefile.in: Regenerate.
107 * po/POTFILES.in: Regenerate.
108
7b383517
BE
1092006-10-25 Ben Elliston <bje@au.ibm.com>
110
111 * expr.c (expr): Replace O_add case in switch (op_left) explaining
112 why it can never occur.
113
ede602d7
AM
1142006-10-24 Andrew Pinski <andrew_pinski@playstation.sony.com>
115
116 * doc/c-ppc.texi (-mcell): Document.
117 * config/tc-ppc.c (parse_cpu): Parse -mcell.
118 (md_show_usage): Document -mcell.
119
7918206c
MM
1202006-10-23 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
121
122 * doc/c-i386.texi : Document amdfam10,.sse4a and .abm in cpu_type.
123
878bcc43
AM
1242006-10-23 Alan Modra <amodra@bigpond.net.au>
125
126 * config/tc-m68hc11.c (md_assemble): Quiet warning.
127
8620418b
MF
1282006-10-19 Mike Frysinger <vapier@gentoo.org>
129
130 * config/tc-i386.c (md_parse_option): Use CONST_STRNEQ.
131 (x86_64_section_letter): Likewise.
132
b3549761
NC
1332006-10-19 Mei Ligang <ligang@sunnorth.com.cn>
134
135 * config/tc-score.c (build_relax_frag): Compute correct
136 tc_frag_data.fixp.
137
71a75f6f
MF
1382006-10-18 Roy Marples <uberlord@gentoo.org>
139
140 * config/tc-sparc.c (md_parse_option): Treat any target starting with
a70ae331
AM
141 elf32-sparc as a viable target for the -32 switch and any target
142 starting with elf64-sparc as a viable target for the -64 switch.
143 (sparc_target_format): For 64-bit ELF flavoured output use
144 ELF_TARGET_FORMAT64 while for 32-bit ELF flavoured output use
145 ELF_TARGET_FORMAT.
71a75f6f
MF
146 * config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define.
147
e1b5fdd4
L
1482006-10-17 H.J. Lu <hongjiu.lu@intel.com>
149
150 * configure: Regenerated.
151
f8ef9cd7
BS
1522006-10-16 Bernd Schmidt <bernd.schmidt@analog.com>
153
154 * input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSN
155 in addition to testing for '\n'.
156 (TC_EOL_IN_INSN): Provide a default definition if necessary.
157
eb1fe072
NC
1582006-10-13 Sterling Augstine <sterling@tensilica.com>
159
160 * dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit
161 a disjoint DW_AT range.
162
ec6e49f4
NC
1632006-10-13 Mei Ligang <ligang@sunnorth.com.cn>
164
165 * config/tc-score.c (md_show_usage): Print -KPIC option usage.
166
036dc3f7
PB
1672006-10-08 Paul Brook <paul@codesourcery.com>
168
169 * config/tc-arm.c (parse_big_immediate): 64-bit host fix.
170 (parse_operands): Use parse_big_immediate for OP_NILO.
171 (neon_cmode_for_logic_imm): Try smaller element sizes.
172 (neon_cmode_for_move_imm): Ditto.
173 (do_neon_logic): Handle .i64 pseudo-op.
174
3bb0c887
AM
1752006-09-29 Alan Modra <amodra@bigpond.net.au>
176
177 * po/POTFILES.in: Regenerate.
178
ef05d495
L
1792006-09-28 H.J. Lu <hongjiu.lu@intel.com>
180
181 * config/tc-i386.h (CpuMNI): Renamed to ...
182 (CpuSSSE3): This.
183 (CpuUnknownFlags): Updated.
184 (processor_type): Replace PROCESSOR_YONAH with PROCESSOR_CORE
185 and PROCESSOR_MEROM with PROCESSOR_CORE2.
186 * config/tc-i386.c: Updated.
187 * doc/c-i386.texi: Likewise.
a70ae331 188
ef05d495
L
189 * config/tc-i386.c (cpu_arch): Add ".ssse3", "core" and "core2".
190
d8ad03e9
NC
1912006-09-28 Bridge Wu <mingqiao.wu@gmail.com>
192
193 * config/tc-arm.c (md_apply_fix): Do not clear write_back bit.
194
df3ca5a3
NC
1952006-09-27 Nick Clifton <nickc@redhat.com>
196
197 * output-file.c (output_file_close): Prevent an infinite loop
198 reporting that stdoutput could not be closed.
199
2d447fca
JM
2002006-09-26 Mark Shinwell <shinwell@codesourcery.com>
201 Joseph Myers <joseph@codesourcery.com>
202 Ian Lance Taylor <ian@wasabisystems.com>
203 Ben Elliston <bje@wasabisystems.com>
204
205 * config/tc-arm.c (arm_cext_iwmmxt2): New.
206 (enum operand_parse_code): New code OP_RIWR_I32z.
207 (parse_operands): Handle OP_RIWR_I32z.
208 (do_iwmmxt_wmerge): New function.
209 (do_iwmmxt_wldstd): Handle iwmmxt2 case where second operand is
210 a register.
211 (do_iwmmxt_wrwrwr_or_imm5): New function.
212 (insns): Mark instructions as RIWR_I32z as appropriate.
213 Also add torvsc<b,h,w>, wabs<b,h,w>, wabsdiff<b,h,w>,
214 waddbhus<l,m>, waddhc, waddwc, waddsubhx, wavg4{r}, wmaddu{x,n},
215 wmadds{x,n}, wmerge, wmiaxy{n}, wmiawxy{n}, wmul<sm,um>{r},
216 wmulw<um,sm,l>{r}, wqmiaxy{n}, wqmulm{r}, wqmulwm{r}, wsubaddhx.
217 (md_begin): Handle IWMMXT2.
218 (arm_cpus): Add iwmmxt2.
219 (arm_extensions): Likewise.
220 (arm_archs): Likewise.
221
ba83aca1
BW
2222006-09-25 Bob Wilson <bob.wilson@acm.org>
223
224 * doc/as.texinfo (Overview): Revise description of --keep-locals.
225 Add xref to "Symbol Names".
226 (L): Refer to "local symbols" instead of "local labels". Move
227 definition to "Symbol Names" section; add xref to that section.
228 (Symbol Names): Use "Local Symbol Names" section to define local
229 symbols. Add "Local Labels" heading for description of temporary
230 forward/backward labels, and refer to those as "local labels".
231
539e75ad
L
2322006-09-23 H.J. Lu <hongjiu.lu@intel.com>
233
234 PR binutils/3235
235 * config/tc-i386.c (match_template): Check address size prefix
236 to turn Disp64/Disp32/Disp16 operand into Disp32/Disp16/Disp32
237 operand.
238
5e02f92e
AM
2392006-09-22 Alan Modra <amodra@bigpond.net.au>
240
241 * config/tc-ppc.c (ppc_symbol_chars): Remove '+' and '-'.
242
885afe7b
AM
2432006-09-22 Alan Modra <amodra@bigpond.net.au>
244
245 * as.h (as_perror): Delete declaration.
246 * gdbinit.in (as_perror): Delete breakpoint.
247 * messages.c (as_perror): Delete function.
248 * doc/internals.texi: Remove as_perror description.
249 * listing.c (listing_print: Don't use as_perror.
250 * output-file.c (output_file_create, output_file_close): Likewise.
251 * symbols.c (symbol_create, symbol_clone): Likewise.
252 * write.c (write_contents): Likewise.
253 * config/obj-som.c (obj_som_version, obj_som_copyright): Likewise.
254 * config/tc-tic54x.c (tic54x_mlib): Likewise.
255
3aeeedbb
AM
2562006-09-22 Alan Modra <amodra@bigpond.net.au>
257
258 * config/tc-ppc.c (md_section_align): Don't round up address for ELF.
259 (ppc_handle_align): New function.
260 * config/tc-ppc.h (HANDLE_ALIGN): Use ppc_handle_align.
261 (SUB_SEGMENT_ALIGN): Define as zero.
262
96e9638b
BW
2632006-09-20 Bob Wilson <bob.wilson@acm.org>
264
265 * doc/as.texinfo: Fix cross reference usage, typos and grammar.
266 (Overview): Skip cross reference in man page.
267
99ad8390
NC
2682006-09-20 Kai Tietz <Kai.Tietz@onevision.com>
269
270 * configure.in: Add new target x86_64-pc-mingw64.
271 * configure: Regenerate.
272 * configure.tgt: Add new target x86_64-pc-mingw64.
a70ae331
AM
273 * config/obj-coff.h: Add handling for TE_PEP target specific code
274 and definitions.
99ad8390
NC
275 * config/tc-i386.c: Add new targets.
276 (md_parse_option): Add targets to OPTION_64.
a70ae331
AM
277 (x86_64_target_format): Add new method for setup proper default
278 target cpu mode.
99ad8390
NC
279 * config/te-pep.h: Add new target definition header.
280 (TE_PEP): New macro: Identifies new target architecture.
281 (COFF_WITH_pex64): Set proper includes in bfd.
282 * NEWS: Mention new target.
283
73332571
BS
2842006-09-18 Bernd Schmidt <bernd.schmidt@analog.com>
285
286 * config/bfin-parse.y (binary): Change sub of const to add of negated
287 const.
288
1c0d3aa6
NC
2892006-09-17 Mei Ligang <ligang@sunnorth.com.cn>
290
291 * config/tc-score.c: New file.
292 * config/tc-score.h: Newf file.
293 * configure.tgt: Add Score target.
294 * Makefile.am: Add Score files.
295 * Makefile.in: Regenerate.
296 * NEWS: Mention new target support.
297
4fa3602b
PB
2982006-09-16 Paul Brook <paul@codesourcery.com>
299
300 * config/tc-arm.c (s_arm_unwind_movsp): Add offset argument.
301 * doc/c-arm.texi (movsp): Document offset argument.
302
16dd5e42
PB
3032006-09-16 Paul Brook <paul@codesourcery.com>
304
305 * config/tc-arm.c (thumb32_negate_data_op): Consistently use
306 unsigned int to avoid 64-bit host problems.
307
c4ae04ce
BS
3082006-09-15 Bernd Schmidt <bernd.schmidt@analog.com>
309
310 * config/bfin-parse.y (binary): Do some more constant folding for
311 additions.
312
e5d4a5a6
JB
3132006-09-13 Jan Beulich <jbeulich@novell.com>
314
315 * input-file.c (input_file_give_next_buffer): Demote as_bad to
316 as_warn.
317
1a1219cb
AM
3182006-09-13 Alan Modra <amodra@bigpond.net.au>
319
320 PR gas/3165
321 * config/tc-sh (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number
322 in parens.
323
f79d9c1d
AM
3242006-09-13 Alan Modra <amodra@bigpond.net.au>
325
326 * input-file.c (input_file_open): Replace as_perror with as_bad
327 so that gas exits with error on file errors. Correct error
328 message.
329 (input_file_get, input_file_give_next_buffer): Likewise.
e336c79f 330 * input-file.h: Update comment.
f79d9c1d 331
f512f76f
NC
3322006-09-11 Tomas Frydrych <dr.tomas@yahoo.co.uk>
333
334 PR gas/3172
335 * config/tc-arm.c (parse_typed_reg_or_scalar): Accept wCg class
336 registers as a sub-class of wC registers.
337
8d79fd44
AM
3382006-09-11 Alan Modra <amodra@bigpond.net.au>
339
340 PR gas/3165
341 * config/tc-mips.h (enum dwarf2_format): Forward declare.
342 (DWARF2_CIE_DATA_ALIGNMENT): Wrap negative number in parens.
343 * config/tc-alpha.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
344 * config/tc-arm.h (DWARF2_CIE_DATA_ALIGNMENT): Likewise.
345
6258339f
NC
3462006-09-08 Nick Clifton <nickc@redhat.com>
347
348 PR gas/3129
349 * doc/as.texinfo (Macro): Improve documentation about separating
350 macro arguments from following text.
351
f91e006c
PB
3522006-09-08 Paul Brook <paul@codesourcery.com>
353
354 * config/tc-arm.c (insns): Allow ARM IT pseudo-insn on all cores.
355
466bbf93
PB
3562006-09-07 Paul Brook <paul@codesourcery.com>
357
358 * config/tc-arm.c (parse_operands): Mark operand as present.
359
428e3f1f
PB
3602006-09-04 Paul Brook <paul@codesourcery.com>
361
362 * config/tc-arm.c (do_neon_dyadic_if_i): Remove.
363 (do_neon_dyadic_if_i_d): Avoid setting U bit.
364 (do_neon_mac_maybe_scalar): Ditto.
365 (do_neon_dyadic_narrow): Force operand type to NT_integer.
366 (insns): Remove out of date comments.
367
fb25138b
NC
3682006-08-29 Nick Clifton <nickc@redhat.com>
369
370 * read.c (s_align): Initialize the 'stopc' variable to prevent
371 compiler complaints about it being used without being
372 initialized.
373 (s_comm_internal, s_mri_common, s_fail, s_globl, s_space,
374 s_float_space, s_struct, cons_worker, equals): Likewise.
375
5091343a
AM
3762006-08-29 Malcolm Parsons <malcolm.parsons@gmail.com>
377
378 * ecoff.c (ecoff_directive_val): Fix message typo.
379 * config/tc-ns32k.c (convert_iif): Likewise.
380 * config/tc-sh64.c (shmedia_check_limits): Likewise.
381
1f2a7e38
BW
3822006-08-25 Sterling Augustine <sterling@tensilica.com>
383 Bob Wilson <bob.wilson@acm.org>
384
385 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not check
386 the state of the absolute_literals directive. Remove align frag at
387 the start of the literal pool position.
388
34135039
BW
3892006-08-25 Bob Wilson <bob.wilson@acm.org>
390
391 * doc/c-xtensa.texi: Add @group commands in examples.
392
74869ac7
BW
3932006-08-24 Bob Wilson <bob.wilson@acm.org>
394
395 * config/tc-xtensa.c (FINI_LITERAL_SECTION_NAME): Delete.
396 (INIT_LITERAL_SECTION_NAME): Delete.
397 (lit_state struct): Remove segment names, init_lit_seg, and
398 fini_lit_seg. Add lit_prefix and current_text_seg.
399 (init_literal_head_h, init_literal_head): Delete.
400 (fini_literal_head_h, fini_literal_head): Delete.
401 (xtensa_begin_directive): Move argument parsing to
402 xtensa_literal_prefix function.
403 (xtensa_end_directive): Deallocate lit_prefix field of lit_state.
404 (xtensa_literal_prefix): Parse the directive argument here and
405 record it in the lit_prefix field. Remove code to derive literal
406 section names.
407 (linkonce_len): New.
408 (get_is_linkonce_section): Use linkonce_len. Check for any
409 ".gnu.linkonce.*" section, not just text sections.
410 (md_begin): Remove initialization of deleted lit_state fields.
411 (xtensa_reorder_segments, xtensa_post_relax_hook): Remove references
412 to init_literal_head and fini_literal_head.
413 (xtensa_move_literals): Likewise. Skip literals for .init and .fini
414 when traversing literal_head list.
415 (match_section_group): New.
416 (cache_literal_section): Rewrite to determine the literal section
417 name on the fly, create the section and return it.
418 (xtensa_switch_to_literal_fragment): Adjust for cache_literal_section.
419 (xtensa_switch_to_non_abs_literal_fragment): Likewise.
420 (xtensa_create_property_segments, xtensa_create_xproperty_segments):
421 Use xtensa_get_property_section from bfd.
422 (retrieve_xtensa_section): Delete.
423 * doc/c-xtensa.texi (Xtensa Options): Fix --text-section-literals
424 description to refer to plural literal sections and add xref to
425 the Literal Directive section.
426 (Literal Directive): Describe new rules for deriving literal section
427 names. Add footnote for special case of .init/.fini with
428 --text-section-literals.
429 (Literal Prefix Directive): Replace old naming rules with xref to the
430 Literal Directive section.
431
87a1fd79
JM
4322006-08-21 Joseph Myers <joseph@codesourcery.com>
433
434 * config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for
435 merging with previous long opcode.
436
7148cc28
NC
4372006-08-22 Pedro Alves <pedro_alves@portugalmail.pt>
438
439 * Makefile.am (TARG_ENV_HFILES): Add te-wince-pe.h.
440 * Makefile.in: Regenerate.
441 * config/tc-arm.h [TARGET_FORMAT]: ARM wince bfd names were
442 renamed. Adjust.
443
3e9e4fcf
JB
4442006-08-16 Julian Brown <julian@codesourcery.com>
445
446 * config/tc-arm.c (md_assemble): Improve diagnostic when attempting
447 to use ARM instructions on non-ARM-supporting cores.
448 (autoselect_thumb_from_cpu_variant): New function. Switch on Thumb
449 mode automatically based on cpu variant.
450 (md_begin): Call above function.
451
267d2029
JB
4522006-08-16 Julian Brown <julian@codesourcery.com>
453
454 * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
455 recognized in non-unified syntax mode.
456
4be041b2
TS
4572006-08-15 Thiemo Seufer <ths@mips.com>
458 Nigel Stephens <nigel@mips.com>
459 David Ung <davidu@mips.com>
460
461 * configure.tgt: Handle mips*-sde-elf*.
462
3a93f742
TS
4632006-08-12 Thiemo Seufer <ths@networkno.de>
464
465 * config/tc-mips.c (mips16_ip): Fix argument register handling
466 for restore instruction.
467
1737851b
BW
4682006-08-08 Bob Wilson <bob.wilson@acm.org>
469
470 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New.
471 (out_sleb128): New.
472 (out_fixed_inc_line_addr): New.
473 (process_entries): Use out_fixed_inc_line_addr when
474 DWARF2_USE_FIXED_ADVANCE_PC is set.
475 * config/tc-xtensa.h (DWARF2_USE_FIXED_ADVANCE_PC): Define.
476
e14e52f8
DD
4772006-08-08 DJ Delorie <dj@redhat.com>
478
479 * config/tc-sh.c (sh_frob_section): Canonicalize pointers to local
480 vs full symbols so that we never have more than one pointer value
481 for any given symbol in our symbol table.
482
802f5d9e
NC
4832006-08-08 Sterling Augustine <sterling@tensilica.com>
484
485 * dwarf2dbg.c (out_debug_info): Add new parameter ranges_seg
486 and emit DW_AT_ranges when code in compilation unit is not
487 contiguous.
488 (out_debug_abbrev): Emit DW_AT_ranges abbreviation if code in
489 is not contiguous.
490 (dwarf2_finish): Create and pass ranges_seg to out_debug_info.
491 (out_debug_ranges): New function to emit .debug_ranges section
492 when code is not contiguous.
493
720abc60
NC
4942006-08-08 Nick Clifton <nickc@redhat.com>
495
496 * config/tc-arm.c (WARN_DEPRECATED): Enable.
497
f0927246
NC
4982006-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
499
500 * config/tc-arm.c: Move "dwarf2dbg.h" inclusion out of OBJ_ELF
501 only block.
502 (pe_directive_secrel) [TE_PE]: New function.
503 (md_pseudo_table) [!OBJ_ELF]: Handle 2byte, 4byte, 8byte, file,
504 loc, loc_mark_labels.
505 [TE_PE]: Handle secrel32.
506 (output_relax_insn): Remove OBJ_ELF around dwarf2_emit_insn
507 call.
508 (output_inst): Remove OBJ_ELF around dwarf2_emit_insn call.
509 (arm_frob_label): Remove OBJ_ELF around dwarf2_emit_label call.
510 (md_section_align): Only round section sizes here for AOUT
511 targets.
512 (tc_arm_regname_to_dw2regnum): Move out for OBJ_ELF only block.
513 (tc_pe_dwarf2_emit_offset): New function.
514 (md_apply_fix) [TE_PE]: Handle BFD_RELOC_32_SECREL.
515 (cons_fix_new_arm): Handle O_secrel.
516 * config/tc-arm.h : Move DWARF2_LINE_MIN_INSN_LENGTH,
517 DWARF2_DEFAULT_RETURN_COLUMN and DWARF2_CIE_DATA_ALIGNMENT out
518 of OBJ_ELF only block.
519 [TE_PE]: Define O_secrel, TC_DWARF2_EMIT_OFFSET, and declare
520 tc_pe_dwarf2_emit_offset.
521
55e6e397
RS
5222006-08-04 Richard Sandiford <richard@codesourcery.com>
523
524 * config/tc-sh.c (apply_full_field_fix): New function.
525 (md_apply_fix): Use it instead of md_number_to_chars. Do not fill
526 in fx_addnumber for BFD_RELOC_32_PLT_PCREL.
527 (tc_gen_reloc): Use fx_addnumber rather than 0 as the default case.
528 * config/tc-sh.h (TARGET_FORMAT): Override for TE_VXWORKS.
529
9cd19b17
NC
5302006-08-03 Nick Clifton <nickc@redhat.com>
531
532 PR gas/2991
533 * config.in: Regenerate.
534
97f87066
JM
5352006-08-03 Joseph Myers <joseph@codesourcery.com>
536
537 * config/tc-arm.c (parse_operands): Handle invalid register name
a70ae331 538 for OP_RIWR_RIWC.
97f87066 539
41adaa5c
JM
5402006-08-03 Joseph Myers <joseph@codesourcery.com>
541
542 * config/tc-arm.c (enum operand_parse_code): Add OP_RIWC_RIWG.
543 (parse_operands): Handle it.
544 (insns): Use it for tmcr and tmrc.
545
9d7cbccd
NC
5462006-08-02 Petr Salinger <Petr.Salinger@seznam.cz>
547
548 PR binutils/2983
549 * config/tc-i386.c (md_parse_option): Treat any target starting
550 with elf64_x86_64 as a viable target for the -64 switch.
551 (i386_target_format): For 64-bit ELF flavoured output use
552 ELF_TARGET_FORMAT64.
553 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define.
554
c973bc5c
NC
5552006-08-02 Nick Clifton <nickc@redhat.com>
556
557 PR gas/2991
558 * acinclude.m4 (BFD_BINARY_FOPEN): Import this function from
559 bfd/aclocal.m4.
560 * configure.in: Run BFD_BINARY_FOPEN.
561 * configure: Regenerate.
562 * as.h: Look at USE_BINARY_FOPEN to decide which fopen-*.h header
563 file to include.
564
cfde7f70
L
5652006-08-01 H.J. Lu <hongjiu.lu@intel.com>
566
567 * config/tc-i386.c (md_assemble): Don't update
568 cpu_arch_isa_flags.
569
b4c71f56
TS
5702006-08-01 Thiemo Seufer <ths@mips.com>
571
572 * config/tc-mips.c (md_section_align): Check ELF-ness at runtime.
573
54f4ddb3
TS
5742006-08-01 Thiemo Seufer <ths@mips.com>
575
576 * config/tc-mips.c (macro_build_lui): Fix comment formatting.
577 (md_apply_fix): Likewise. Unify handling of BFD_RELOC_RVA,
578 BFD_RELOC_32 and BFD_RELOC_16.
579 (s_align, s_cpload, s_cplocal, s_cprestore, s_mips_stab,
580 md_convert_frag, md_obj_end): Fix comment formatting.
581
d103cf61
TS
5822006-07-31 Thiemo Seufer <ths@mips.com>
583
584 * config/tc-mips.c (md_apply_fix, tc_gen_reloc): Remove special
585 handling for BFD_RELOC_MIPS16_JMP.
586
601e61cd
NC
5872006-07-24 Andreas Schwab <schwab@suse.de>
588
589 PR/2756
590 * read.c (read_a_source_file): Ignore unknown text after line
591 comment character. Fix misleading comment.
592
b45619c0
NC
5932006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de>
594
595 * doc/all.texi, doc/as.texinfo, doc/c-arc.texi, doc/c-arm.texi,
596 doc/c-avr.texi, doc/c-bfin.texi, doc/c-i386.texi,
597 doc/c-i960.texi, doc/c-m32r.texi, doc/c-m68k.texi,
598 doc/c-mmix.texi, doc/c-pdp11.texi, doc/c-ppc.texi,
599 doc/c-tic54x.texi, doc/c-v850.texi, doc/c-xtensa.texi,
600 doc/c-z80.texi, doc/internals.texi: Fix some typos.
601
784906c5
NC
6022006-07-21 Nick Clifton <nickc@redhat.com>
603
604 * config/tc-sh.c (md_longopts): Add -EL and -EB for use by the
605 linker testsuite.
606
d5f010e9
TS
6072006-07-20 Thiemo Seufer <ths@mips.com>
608 Nigel Stephens <nigel@mips.com>
609
610 * config/tc-mips.c (md_parse_option): Don't infer optimisation
611 options from debug options.
612
35d3d567
TS
6132006-07-20 Thiemo Seufer <ths@mips.com>
614
615 * config/tc-mips.c (mips_fix_adjustable): Handle BFD_RELOC_MIPS16_JMP.
616 (tc_gen_reloc): Handle mips16 jumps to section symbol offsets.
617
401a54cf
PB
6182006-07-19 Paul Brook <paul@codesourcery.com>
619
620 * config/tc-arm.c (insns): Fix rbit Arm opcode.
621
16805f35
PB
6222006-07-18 Paul Brook <paul@codesourcery.com>
623
624 * tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
625 (md_convert_frag): Use correct reloc for add_pc. Use
626 BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
627 (md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
628 (arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.
629
d9e05e4e
AM
6302006-07-17 Mat Hostetter <mat@lcs.mit.edu>
631
632 * symbols.c (report_op_error): Fix pasto. Don't use as_bad_where
633 when file and line unknown.
634
f43abd2b
TS
6352006-07-17 Thiemo Seufer <ths@mips.com>
636
637 * read.c (s_struct): Use IS_ELF.
638 * config/tc-mips.c (md_begin, mips16_mark_labels, mips_ip,
639 md_parse_option, s_change_sec, pic_need_relax, mips_fix_adjustable,
640 tc_gen_reloc, mips_frob_file_after_relocs, s_mips_end, s_mips_frame,
641 s_mips_mask): Likewise.
642
a2902af6
TS
6432006-07-16 Thiemo Seufer <ths@mips.com>
644 David Ung <davidu@mips.com>
645
646 * read.c (s_struct): Handle ELF section changing.
647 * config/tc-mips.c (s_align): Leave enabling auto-align to the
648 generic code.
649 (s_change_sec): Try section changing only if we output ELF.
650
d32cad65
L
6512006-07-15 H.J. Lu <hongjiu.lu@intel.com>
652
653 * config/tc-i386.c (cpu_arch): Remove Cpu086, CpuAthlon and
654 CpuAmdFam10.
655 (smallest_imm_type): Remove Cpu086.
656 (i386_target_format): Likewise.
657
658 * config/tc-i386.h: Remove Cpu086, CpuAthlon and CpuAmdFam10.
659 Update CpuXXX.
660
050dfa73
MM
6612006-07-13 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
662 Michael Meissner <michael.meissner@amd.com>
663
664 * config/tc-i386.h (PROCESSOR_AMDFAM10): New processor_type.
665 (CpuSSE4a, CpuABM, CpuAmdFam10): New Cpu directives.
666 * config/tc-i386.c (cpu_arch): Add support for AmdFam10
667 architecture.
668 (i386_align_code): Ditto.
669 (md_assemble_code): Add support for insertq/extrq instructions,
670 swapping as needed for intel syntax.
671 (swap_imm_operands): New function to swap immediate operands.
672 (swap_operands): Deal with 4 operand instructions.
673 (build_modrm_byte): Add support for insertq instruction.
674
6b2de085
L
6752006-07-13 H.J. Lu <hongjiu.lu@intel.com>
676
677 * config/tc-i386.h (Size64): Fix a typo in comment.
678
01eaea5a
NC
6792006-07-12 Nick Clifton <nickc@redhat.com>
680
681 * config/tc-sh.c (md_apply_fix): Do not allow the generic code in
7cfe9437 682 fixup_segment() to repeat a range check on a value that has
01eaea5a
NC
683 already been checked here.
684
1e85aad8
JW
6852006-07-07 James E Wilson <wilson@specifix.com>
686
687 * config/tc-mips.c (mips_cpu_info_table): Add sb1a.
688
1370e33d
NC
6892006-07-06 Mohammed Adnène Trojette <adn@diwi.org>
690 Nick Clifton <nickc@redhat.com>
691
692 PR binutils/2877
693 * doc/as.texi: Fix spelling typo: branchs => branches.
694 * doc/c-m68hc11.texi: Likewise.
695 * config/tc-m68hc11.c: Likewise.
696 Support old spelling of command line switch for backwards
697 compatibility.
698
5f0fe04b
TS
6992006-07-04 Thiemo Seufer <ths@mips.com>
700 David Ung <davidu@mips.com>
701
702 * config/tc-mips.c (s_is_linkonce): New function.
703 (mips16_mark_labels): Don't adjust mips16 symbol addresses for
704 weak, external, and linkonce symbols.
705 (pic_need_relax): Use s_is_linkonce.
706
85234291
L
7072006-06-24 H.J. Lu <hongjiu.lu@intel.com>
708
709 * doc/as.texinfo (Org): Remove space.
710 (P2align): Add "@var{abs-expr},".
711
ccc9c027
L
7122006-06-23 H.J. Lu <hongjiu.lu@intel.com>
713
714 * config/tc-i386.c (cpu_arch_tune_set): New.
715 (cpu_arch_isa): Likewise.
716 (i386_align_code): Use xchg %ax,%ax for 2 byte nop. Optimize
717 nops with short or long nop sequences based on -march=/.arch
718 and -mtune=.
719 (set_cpu_arch): Set cpu_arch_isa. If cpu_arch_tune_set is 0,
720 set cpu_arch_tune and cpu_arch_tune_flags.
721 (md_parse_option): For -march=, set cpu_arch_isa and set
722 cpu_arch_tune and cpu_arch_tune_flags if cpu_arch_tune_set is
723 0. Set cpu_arch_tune_set to 1 for -mtune=.
724 (i386_target_format): Don't set cpu_arch_tune.
725
d4dc2f22
TS
7262006-06-23 Nigel Stephens <nigel@mips.com>
727
728 * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
729 generated .sbss.* and .gnu.linkonce.sb.*.
730
a8dbcb85
TS
7312006-06-23 Thiemo Seufer <ths@mips.com>
732 David Ung <davidu@mips.com>
733
734 * config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment
735 label_list.
736 * config/tc-mips.c (label_list): Define per-segment label_list.
737 (mips_clear_insn_labels, mips_move_labels, mips16_mark_labels,
738 append_insn, s_align, s_cons, s_float_cons, s_gpword, s_gpdword,
739 mips_from_file_after_relocs, mips_define_label): Use per-segment
740 label_list.
741
3994f87e
TS
7422006-06-22 Thiemo Seufer <ths@mips.com>
743
744 * config/tc-mips.c (ISA_SUPPORTS_MIPS16E): New macro.
745 (append_insn): Use it.
746 (md_apply_fix): Whitespace formatting.
747 (md_begin, append_insn, macro, macro2, mips16_immed, mips_align,
748 mips16_extended_frag): Remove register specifier.
749 (md_convert_frag): Likewise. Use TRUE ans FALSE instead of numeric
750 constants.
751
fa073d69
MS
7522006-06-21 Mark Shinwell <shinwell@codesourcery.com>
753
754 * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New. Parse
755 a directive saving VFP registers for ARMv6 or later.
756 (s_arm_unwind_save): Add parameter arch_v6 and call
757 s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as
758 appropriate.
759 (md_pseudo_table): Add entry for new "vsave" directive.
760 * doc/c-arm.texi: Correct error in example for "save"
761 directive (fstmdf -> fstmdx). Also document "vsave" directive.
762
8e77b565 7632006-06-18 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
026dcbd7
DC
764 Anatoly Sokolov <aesok@post.ru>
765
a70ae331
AM
766 * config/tc-avr.c (mcu_types): Add support for atmega165p, atmega169p
767 and atmega644p devices. Rename atmega164/atmega324 devices to
026dcbd7
DC
768 atmega164p/atmega324p.
769 * doc/c-avr.texi: Document new mcu and arch options.
770
8b1ad454
NC
7712006-06-17 Nick Clifton <nickc@redhat.com>
772
773 * config/tc-arm.c (enum parse_operand_result): Move outside of
774 #ifdef OBJ_ELF so that non-ELF targeted ARM ports can build.
775
9103f4f4
L
7762006-06-16 H.J. Lu <hongjiu.lu@intel.com>
777
778 * config/tc-i386.h (processor_type): New.
779 (arch_entry): Add type.
780
781 * config/tc-i386.c (cpu_arch_tune): New.
782 (cpu_arch_tune_flags): Likewise.
783 (cpu_arch_isa_flags): Likewise.
784 (cpu_arch): Updated.
785 (set_cpu_arch): Also update cpu_arch_isa_flags.
786 (md_assemble): Update cpu_arch_isa_flags.
787 (OPTION_MARCH): New.
788 (OPTION_MTUNE): Likewise.
789 (md_longopts): Add -march= and -mtune=.
790 (md_parse_option): Support -march= and -mtune=.
791 (md_show_usage): Add -march=CPU/-mtune=CPU.
792 (i386_target_format): Also update cpu_arch_isa_flags,
793 cpu_arch_tune and cpu_arch_tune_flags.
794
795 * doc/as.texinfo: Add -march=CPU/-mtune=CPU.
796
797 * doc/c-i386.texi: Document -march=CPU/-mtune=CPU.
798
4962c51a
MS
7992006-06-15 Mark Shinwell <shinwell@codesourcery.com>
800
801 * config/tc-arm.c (enum parse_operand_result): New.
802 (struct group_reloc_table_entry): New.
803 (enum group_reloc_type): New.
804 (group_reloc_table): New array.
805 (find_group_reloc_table_entry): New function.
806 (parse_shifter_operand_group_reloc): New function.
807 (parse_address_main): New function, incorporating code
808 from the old parse_address function. To be used via...
809 (parse_address): wrapper for parse_address_main; and
810 (parse_address_group_reloc): new function, likewise.
811 (enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
812 OP_ADDRGLDRS, OP_ADDRGLDC.
813 (parse_operands): Support for these new operand codes.
814 New macro po_misc_or_fail_no_backtrack.
815 (encode_arm_cp_address): Preserve group relocations.
816 (insns): Modify to use the above operand codes where group
817 relocations are permitted.
818 (md_apply_fix): Handle the group relocations
819 ALU_PC_G0_NC through LDC_SB_G2.
820 (tc_gen_reloc): Likewise.
821 (arm_force_relocation): Leave group relocations for the linker.
822 (arm_fix_adjustable): Likewise.
823
cd2f129f
JB
8242006-06-15 Julian Brown <julian@codesourcery.com>
825
826 * config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
827 (do_neon_ldr_str): Always defer to VFP encoding routines, which handle
828 relocs properly.
829
46e883c5
L
8302006-06-12 H.J. Lu <hongjiu.lu@intel.com>
831
832 * config/tc-i386.c (process_suffix): Don't add rex64 for
833 "xchg %rax,%rax".
834
1787fe5b
TS
8352006-06-09 Thiemo Seufer <ths@mips.com>
836
837 * config/tc-mips.c (mips_ip): Maintain argument count.
838
96f989c2
AM
8392006-06-09 Alan Modra <amodra@bigpond.net.au>
840
841 * config/tc-iq2000.c: Include sb.h.
842
7c752c2a
TS
8432006-06-08 Nigel Stephens <nigel@mips.com>
844
845 * config/tc-mips.c (mips_pseudo_table): Add "origin" and "repeat"
846 aliases for better compatibility with SGI tools.
847
03bf704f
AM
8482006-06-08 Alan Modra <amodra@bigpond.net.au>
849
850 * configure.in (BFDLIB, BFDVER_H, ALL_OBJ_DEPS): Delete.
851 * Makefile.am (GASLIBS): Expand @BFDLIB@.
852 (BFDVER_H): Delete.
853 (OBJS): Expand @ALL_OBJ_DEPS@. Depend on all fopen-*.h variants.
854 (obj-aout.o): Depend on $(DEP_@target_get_type@_aout)
855 (obj-coff.o, obj-ecoff.o, obj-elf.o): Similarly.
856 Run "make dep-am".
857 * dep-in.sed: Don't substitute bfdver.h. Do remove symcat.h.
858 * Makefile.in: Regenerate.
859 * doc/Makefile.in: Regenerate.
860 * configure: Regenerate.
861
6648b7cf
JM
8622006-06-07 Joseph S. Myers <joseph@codesourcery.com>
863
864 * po/Make-in (pdf, ps): New dummy targets.
865
037e8744
JB
8662006-06-07 Julian Brown <julian@codesourcery.com>
867
868 * config/tc-arm.c (stdarg.h): include.
869 (arm_it): Add uncond_value field. Add isvec and issingle to operand
870 array.
871 (arm_reg_type): Add REG_TYPE_VFSD (single or double VFP reg) and
872 REG_TYPE_NSDQ (single, double or quad vector reg).
873 (reg_expected_msgs): Update.
874 (BAD_FPU): Add macro for unsupported FPU instruction error.
875 (parse_neon_type): Support 'd' as an alias for .f64.
876 (parse_typed_reg_or_scalar): Support REG_TYPE_VFSD, REG_TYPE_NSDQ
877 sets of registers.
878 (parse_vfp_reg_list): Don't update first arg on error.
879 (parse_neon_mov): Support extra syntax for VFP moves.
880 (operand_parse_code): Add OP_RVSD, OP_RNSDQ, OP_VRSDLST, OP_RVSD_IO,
881 OP_RNSDQ_RNSC, OP_RVC_PSR, OP_APSR_RR, OP_oRNSDQ.
882 (parse_operands): Support isvec, issingle operands fields, new parse
883 codes above.
884 (do_vfp_nsyn_mrs, do_vfp_nsyn_msr): New functions. Support VFP mrs,
885 msr variants.
886 (do_mrs, do_msr, do_t_mrs, do_t_msr): Add support for above.
887 (NEON_ENC_TAB): Add vnmul, vnmla, vnmls, vcmp, vcmpz, vcmpe, vcmpez.
888 (NEON_ENC_SINGLE, NEON_ENC_DOUBLE): Define macros.
889 (NEON_SHAPE_DEF): New macro. Define table of possible instruction
890 shapes.
891 (neon_shape): Redefine in terms of above.
892 (neon_shape_class): New enumeration, table of shape classes.
893 (neon_shape_el): New enumeration. One element of a shape.
894 (neon_shape_el_size): Register widths of above, where appropriate.
895 (neon_shape_info): New struct. Info for shape table.
896 (neon_shape_tab): New array.
897 (neon_type_mask): Add N_F64, N_VFP. Update N_MAX_NONSPECIAL.
898 (neon_check_shape): Rewrite as...
899 (neon_select_shape): New function to classify instruction shapes,
900 driven by new table neon_shape_tab array.
901 (neon_quad): New function. Return 1 if shape should set Q flag in
902 instructions (or equivalent), 0 otherwise.
903 (type_chk_of_el_type): Support F64.
904 (el_type_of_type_chk): Likewise.
905 (neon_check_type): Add support for VFP type checking (VFP data
906 elements fill their containing registers).
907 (do_vfp_cond_or_thumb): Fill in condition field in ARM mode, or 0xE
908 in thumb mode for VFP instructions.
909 (do_vfp_nsyn_opcode): New function. Look up the opcode in argument,
910 and encode the current instruction as if it were that opcode.
911 (try_vfp_nsyn): New. If this looks like a VFP instruction with ARGS
912 arguments, call function in PFN.
913 (do_vfp_nsyn_add_sub, do_vfp_nsyn_mla_mls, do_vfp_nsyn_mul)
914 (do_vfp_nsyn_abs_neg, do_vfp_nsyn_ldm_stm, do_vfp_nsyn_ldr_str)
915 (do_vfp_nsyn_sqrt, do_vfp_nsyn_div, do_vfp_nsyn_nmul)
916 (do_vfp_nsyn_cmp, nsyn_insert_sp, do_vfp_nsyn_push)
917 (do_vfp_nsyn_pop, do_vfp_nsyn_cvt, do_vfp_nsyn_cvtz): New functions.
918 Redirect Neon-syntax VFP instructions to VFP instruction handlers.
919 (do_neon_dyadic_i_su, do_neon_dyadic_i64_su, do_neon_shl_imm)
920 (do_neon_qshl_imm, do_neon_logic, do_neon_bitfield)
921 (neon_dyadic_misc, neon_compare, do_neon_tst, do_neon_qdmulh)
922 (do_neon_fcmp_absolute, do_neon_step, do_neon_sli, do_neon_sri)
923 (do_neon_qshlu_imm, neon_move_immediate, do_neon_mvn, do_neon_ext)
924 (do_neon_rev, do_neon_dup, do_neon_rshift_round_imm, do_neon_trn)
925 (do_neon_zip_uzp, do_neon_sat_abs_neg, do_neon_pair_long)
926 (do_neon_recip_est, do_neon_cls, do_neon_clz, do_neon_cnt)
927 (do_neon_swp): Use neon_select_shape not neon_check_shape. Use
928 neon_quad.
929 (vfp_or_neon_is_neon): New function. Call if a mnemonic shared
930 between VFP and Neon turns out to belong to Neon. Perform
931 architecture check and fill in condition field if appropriate.
932 (do_neon_addsub_if_i, do_neon_mac_maybe_scalar, do_neon_abs_neg)
933 (do_neon_cvt): Add support for VFP variants of instructions.
934 (neon_cvt_flavour): Extend to cover VFP conversions.
935 (do_neon_mov): Rewrite to use neon_select_shape. Add support for VFP
936 vmov variants.
937 (do_neon_ldr_str): Handle single-precision VFP load/store.
938 (do_neon_ld_st_interleave, do_neon_ld_st_lane, do_neon_ld_dup): Use
939 NS_NULL not NS_IGNORE.
940 (opcode_tag): Add OT_csuffixF for operands which either take a
941 conditional suffix, or have 0xF in the condition field.
942 (md_assemble): Add support for OT_csuffixF.
943 (NCE): Replace macro with...
944 (NCE_tag, NCE, NCEF): New macros.
945 (nCE): Replace macro with...
946 (nCE_tag, nCE, nCEF): New macros.
947 (insns): Add support for VFP insns or VFP versions of insns msr,
948 mrs, vsqrt, vdiv, vnmul, vnmla, vnmls, vcmp, vcmpe, vpush, vpop,
949 vcvtz, vmul, vmla, vmls, vadd, vsub, vabs, vneg, vldm, vldmia,
950 vldbdb, vstm, vstmia, vstmdb, vldr, vstr, vcvt, vmov. Group shared
951 VFP/Neon insns together.
952
ebd1c875
AM
9532006-06-07 Alan Modra <amodra@bigpond.net.au>
954 Ladislav Michl <ladis@linux-mips.org>
955
956 * app.c: Don't include headers already included by as.h.
957 * as.c: Likewise.
958 * atof-generic.c: Likewise.
959 * cgen.c: Likewise.
960 * dwarf2dbg.c: Likewise.
961 * expr.c: Likewise.
962 * input-file.c: Likewise.
963 * input-scrub.c: Likewise.
964 * macro.c: Likewise.
965 * output-file.c: Likewise.
966 * read.c: Likewise.
967 * sb.c: Likewise.
968 * config/bfin-lex.l: Likewise.
969 * config/obj-coff.h: Likewise.
970 * config/obj-elf.h: Likewise.
971 * config/obj-som.h: Likewise.
972 * config/tc-arc.c: Likewise.
973 * config/tc-arm.c: Likewise.
974 * config/tc-avr.c: Likewise.
975 * config/tc-bfin.c: Likewise.
976 * config/tc-cris.c: Likewise.
977 * config/tc-d10v.c: Likewise.
978 * config/tc-d30v.c: Likewise.
979 * config/tc-dlx.h: Likewise.
980 * config/tc-fr30.c: Likewise.
981 * config/tc-frv.c: Likewise.
982 * config/tc-h8300.c: Likewise.
983 * config/tc-hppa.c: Likewise.
984 * config/tc-i370.c: Likewise.
985 * config/tc-i860.c: Likewise.
986 * config/tc-i960.c: Likewise.
987 * config/tc-ip2k.c: Likewise.
988 * config/tc-iq2000.c: Likewise.
989 * config/tc-m32c.c: Likewise.
990 * config/tc-m32r.c: Likewise.
991 * config/tc-maxq.c: Likewise.
992 * config/tc-mcore.c: Likewise.
993 * config/tc-mips.c: Likewise.
994 * config/tc-mmix.c: Likewise.
995 * config/tc-mn10200.c: Likewise.
996 * config/tc-mn10300.c: Likewise.
997 * config/tc-msp430.c: Likewise.
998 * config/tc-mt.c: Likewise.
999 * config/tc-ns32k.c: Likewise.
1000 * config/tc-openrisc.c: Likewise.
1001 * config/tc-ppc.c: Likewise.
1002 * config/tc-s390.c: Likewise.
1003 * config/tc-sh.c: Likewise.
1004 * config/tc-sh64.c: Likewise.
1005 * config/tc-sparc.c: Likewise.
1006 * config/tc-tic30.c: Likewise.
1007 * config/tc-tic4x.c: Likewise.
1008 * config/tc-tic54x.c: Likewise.
1009 * config/tc-v850.c: Likewise.
1010 * config/tc-vax.c: Likewise.
1011 * config/tc-xc16x.c: Likewise.
1012 * config/tc-xstormy16.c: Likewise.
1013 * config/tc-xtensa.c: Likewise.
1014 * config/tc-z80.c: Likewise.
1015 * config/tc-z8k.c: Likewise.
1016 * macro.h: Don't include sb.h or ansidecl.h.
1017 * sb.h: Don't include stdio.h or ansidecl.h.
1018 * cond.c: Include sb.h.
1019 * itbl-lex.l: Include as.h instead of other system headers.
1020 * itbl-parse.y: Likewise.
1021 * itbl-ops.c: Similarly.
1022 * itbl-ops.h: Don't include as.h or ansidecl.h.
1023 * config/bfin-defs.h: Don't include bfd.h or as.h.
1024 * config/bfin-parse.y: Include as.h instead of other system headers.
1025
9622b051
AM
10262006-06-06 Ben Elliston <bje@au.ibm.com>
1027 Anton Blanchard <anton@samba.org>
1028
1029 * config/tc-ppc.c (parse_cpu): Handle "-mpower6".
1030 (md_show_usage): Document it.
1031 (ppc_setup_opcodes): Test power6 opcode flag bits.
1032 * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower6".
1033
65263ce3
TS
10342006-06-06 Thiemo Seufer <ths@mips.com>
1035 Chao-ying Fu <fu@mips.com>
1036
1037 * config/tc-mips.c (ISA_SUPPORTS_DSP64): New macro.
1038 (CPU_HAS_MIPS3D, CPU_HAS_MDMX, CPU_HAS_DSP, CPU_HAS_MT): Delete.
1039 (macro_build): Update comment.
1040 (mips_ip): Allow DSP64 instructions for MIPS64R2.
1041 (mips_after_parse_args): Remove uses of CPU_HAS_MIPS3D and
1042 CPU_HAS_MDMX.
1043 (mips_cpu_info): Fix formatting. Add MIPS_CPU_ASE_MIPS3D and
1044 MIPS_CPU_ASE_MDMX flags for sb1.
1045
a9e24354
TS
10462006-06-05 Thiemo Seufer <ths@mips.com>
1047
1048 * config/tc-mips.c (macro_build): Use INSERT_OPERAND wherew
1049 appropriate.
1050 (mips16_macro_build): Use MIPS16_INSERT_OPERAND where appropriate.
1051 (mips_ip): Make overflowed/underflowed constant arguments in DSP
1052 and MT instructions a fatal error. Use INSERT_OPERAND where
1053 appropriate. Improve warnings for break and wait code overflows.
1054 Use symbolic constant of OP_MASK_COPZ.
1055 (mips16_ip): Use MIPS16_INSERT_OPERAND where appropriate.
1056
4cfe2c59
DJ
10572006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
1058
1059 * po/Make-in (top_builddir): Define.
1060
e10fad12
JM
10612006-06-02 Joseph S. Myers <joseph@codesourcery.com>
1062
1063 * doc/Makefile.am (TEXI2DVI): Define.
1064 * doc/Makefile.in: Regenerate.
1065 * doc/c-arc.texi: Fix typo.
1066
12e64c2c
AM
10672006-06-01 Alan Modra <amodra@bigpond.net.au>
1068
1069 * config/obj-ieee.c: Delete.
1070 * config/obj-ieee.h: Delete.
1071 * Makefile.am (OBJ_FORMATS): Remove ieee.
1072 (OBJ_FORMAT_CFILES, OBJ_FORMAT_HFILES): Similarly.
1073 (obj-ieee.o): Remove rule.
1074 * Makefile.in: Regenerate.
1075 * configure.in (atof): Remove tahoe.
1076 (OBJ_MAYBE_IEEE): Don't define.
1077 * configure: Regenerate.
1078 * config.in: Regenerate.
1079 * doc/Makefile.in: Regenerate.
1080 * po/POTFILES.in: Regenerate.
1081
20e95c23
DJ
10822006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
1083
1084 * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
1085 and LIBINTL_DEP everywhere.
1086 (INTLLIBS): Remove.
1087 (INCLUDES, DEP_INCLUDES): Use @INCINTL@.
1088 * acinclude.m4: Include new gettext macros.
1089 * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
1090 Remove local code for po/Makefile.
1091 * Makefile.in, configure, doc/Makefile.in: Regenerated.
1092
eebf07fb
NC
10932006-05-30 Nick Clifton <nickc@redhat.com>
1094
1095 * po/es.po: Updated Spanish translation.
1096
b6aee19e
DC
10972006-05-06 Denis Chertykov <denisc@overta.ru>
1098
1099 * doc/c-avr.texi: New file.
1100 * doc/Makefile.am (CPU_DOCS): Add c-avr.texi
1101 * doc/all.texi: Set AVR
1102 * doc/as.texinfo: Include c-avr.texi
1103
f8fdc850 11042006-05-28 Jie Zhang <jie.zhang@analog.com>
a70ae331 1105
f8fdc850
JZ
1106 * config/bfin-parse.y (check_macfunc): Loose the condition of
1107 calling check_multiply_halfregs ().
1108
a3205465
JZ
11092006-05-25 Jie Zhang <jie.zhang@analog.com>
1110
1111 * config/bfin-parse.y (asm_1): Better check and deal with
1112 vector and scalar Multiply 16-Bit Operands instructions.
1113
9b52905e
NC
11142006-05-24 Nick Clifton <nickc@redhat.com>
1115
1116 * config/tc-hppa.c: Convert to ISO C90 format.
1117 * config/tc-hppa.h: Likewise.
1118
11192006-05-24 Carlos O'Donell <carlos@systemhalted.org>
1120 Randolph Chung <randolph@tausq.org>
a70ae331 1121
9b52905e
NC
1122 * config/tc-hppa.c (is_tls_gdidx, is_tls_ldidx, is_tls_dtpoff,
1123 is_tls_ieoff, is_tls_leoff): Define.
1124 (fix_new_hppa): Handle TLS.
1125 (cons_fix_new_hppa): Likewise.
1126 (pa_ip): Likewise.
1127 (md_apply_fix): Handle TLS relocs.
1128 * config/tc-hppa.h (hppa_fix_adjustable): Handle TLS.
1129
a70ae331 11302006-05-24 Bjoern Haase <bjoern.m.haase@web.de>
28c9d252
NC
1131
1132 * config/tc-avr.c: Add new cpu targets avr6, avr2560 and avr2561.
1133
ad3fea08
TS
11342006-05-23 Thiemo Seufer <ths@mips.com>
1135 David Ung <davidu@mips.com>
1136 Nigel Stephens <nigel@mips.com>
1137
1138 [ gas/ChangeLog ]
1139 * config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS): Rename.
1140 (ISA_SUPPORTS_DSP_ASE, ISA_SUPPORTS_MT_ASE, ISA_HAS_64BIT_FPRS,
1141 ISA_HAS_MXHC1): New macros.
1142 (HAVE_32BIT_FPRS): Use ISA_HAS_64BIT_FPRS instead of
1143 ISA_HAS_64BIT_REGS. Formatting fixes. Improved comments.
1144 (mips_cpu_info): Change to use combined ASE/IS_ISA flag.
1145 (MIPS_CPU_IS_ISA, MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP,
1146 MIPS_CPU_ASE_MT, MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX): New defines.
1147 (mips_after_parse_args): Change default handling of float register
1148 size to account for 32bit code with 64bit FP. Better sanity checking
1149 of ISA/ASE/ABI option combinations.
1150 (s_mipsset): Support switching of GPR and FPR sizes via
1151 .set {g,f}p={32,64,default}. Better sanity checking for .set ASE
1152 options.
1153 (mips_elf_final_processing): We should record the use of 64bit FP
1154 registers in 32bit code but we don't, because ELF header flags are
1155 a scarce ressource.
1156 (mips_cpu_info_table): Add ASE flags for CPUs with mandatory ASE
1157 extensions. Add 4ksc, 4kec, 4kem, 4kep, 4ksd, m4kp, 24kec, 24kef,
1158 24kex, 34kc, 34kf, 34kx, 25kf CPU definitions.
1159 (mips_cpu_info_from_isa): Use MIPS_CPU_IS_ISA.
1160 * doc/c-mips.texi: Document .set {g,f}p={32,64,default}. Document
1161 missing -march options. Document .set arch=CPU. Move .set smartmips
1162 to ASE page. Use @code for .set FOO examples.
1163
8b64503a
JZ
11642006-05-23 Jie Zhang <jie.zhang@analog.com>
1165
1166 * config/tc-bfin.c (bfin_start_line_hook): Bump line counters
1167 if needed.
1168
403022e0
JZ
11692006-05-23 Jie Zhang <jie.zhang@analog.com>
1170
1171 * config/bfin-defs.h (bfin_equals): Remove declaration.
1172 * config/bfin-parse.y (asm_1): Remove "expr ASSIGN expr".
1173 * config/tc-bfin.c (bfin_name_is_register): Remove.
1174 (bfin_equals): Remove.
1175 * config/tc-bfin.h (TC_EQUAL_IN_INSN): Redefine as 1.
1176 (bfin_name_is_register): Remove declaration.
1177
7455baf8
TS
11782006-05-19 Thiemo Seufer <ths@mips.com>
1179 Nigel Stephens <nigel@mips.com>
1180
1181 * config/tc-mipc.c (ISA_HAS_ODD_SINGLE_FPR): New define.
1182 (mips_oddfpreg_ok): New function.
1183 (mips_ip): Use it.
1184
707bfff6
TS
11852006-05-19 Thiemo Seufer <ths@mips.com>
1186 David Ung <davidu@mips.com>
1187
1188 * config/tc-mips.h (tc_mips_regname_to_dw2regnum): Declare.
1189 * config/tc-mipc.c (ABI_NEEDS_64BIT_REGS, ISA_HAS_64BIT_REGS,
1190 ISA_HAS_DROR, ISA_HAS_ROR): Reformat.
1191 (regname, RTYPE_MASK, RTYPE_NUM, RTYPE_FPU, RTYPE_FCC, RTYPE_VEC,
1192 RTYPE_GP, RTYPE_CP0, RTYPE_PC, RTYPE_ACC, RTYPE_CCC, RNUM_MASK,
1193 RWARN, GENERIC_REGISTER_NUMBERS, FPU_REGISTER_NAMES,
1194 FPU_CONDITION_CODE_NAMES, COPROC_CONDITION_CODE_NAMES,
1195 N32N64_SYMBOLIC_REGISTER_NAMES, O32_SYMBOLIC_REGISTER_NAMES,
1196 SYMBOLIC_REGISTER_NAMES, MIPS16_SPECIAL_REGISTER_NAMES,
1197 MDMX_VECTOR_REGISTER_NAMES, MIPS_DSP_ACCUMULATOR_NAMES, reg_names,
1198 reg_names_o32, reg_names_n32n64): Define register classes.
1199 (reg_lookup): New function, use register classes.
1200 (md_begin): Reserve register names in the symbol table. Simplify
1201 OBJ_ELF defines.
1202 (mips_ip): Fix comment formatting. Handle symbolic COP0 registers.
1203 Use reg_lookup.
1204 (mips16_ip): Use reg_lookup.
1205 (tc_get_register): Likewise.
1206 (tc_mips_regname_to_dw2regnum): New function.
1207
1df69f4f
TS
12082006-05-19 Thiemo Seufer <ths@mips.com>
1209
1210 * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum):
1211 Un-constify string argument.
1212 * config/tc-i386.c, config/tc-i386.h (tc_x86_regname_to_dw2regnum):
1213 Likewise.
1214 * config/tc-m68k.c, config/tc-m68k.h (tc_m68k_regname_to_dw2regnum):
1215 Likewise.
1216 * config/tc-ppc.c, config/tc-ppc.h (tc_ppc_regname_to_dw2regnum):
1217 Likewise.
1218 * config/tc-s390.c, config/tc-s390.h (tc_s390_regname_to_dw2regnum):
1219 Likewise.
1220 * config/tc-sh.c, config/tc-sh.h (sh_regname_to_dw2regnum):
1221 Likewise.
1222 * config/tc-sparc.c, config/tc-sparc.h (sparc_regname_to_dw2regnum):
1223 Likewise.
1224
377260ba
NS
12252006-05-19 Nathan Sidwell <nathan@codesourcery.com>
1226
1227 * gas/config/tc-m68k.c (m68k_init_arch): Move checking of
1228 cfloat/m68881 to correct architecture before using it.
1229
cce7653b
NC
12302006-05-16 Bjoern Haase <bjoern.m.haase@web.de>
1231
a70ae331 1232 * config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate
cce7653b
NC
1233 constant values.
1234
b0796911
PB
12352006-05-15 Paul Brook <paul@codesourcery.com>
1236
1237 * config/tc-arm.c (arm_adjust_symtab): Use
1238 bfd_is_arm_special_symbol_name.
1239
64b607e6
BW
12402006-05-15 Bob Wilson <bob.wilson@acm.org>
1241
1242 * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next,
1243 xg_assemble_vliw_tokens, xtensa_mark_narrow_branches,
1244 xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed):
1245 Handle errors from calls to xtensa_opcode_is_* functions.
1246
9b3f89ee
TS
12472006-05-14 Thiemo Seufer <ths@mips.com>
1248
1249 * config/tc-mips.c (macro_build): Test for currently active
1250 mips16 option.
1251 (mips16_ip): Reject invalid opcodes.
1252
370b66a1
CD
12532006-05-11 Carlos O'Donell <carlos@codesourcery.com>
1254
1255 * doc/as.texinfo: Rename "Index" to "AS Index",
1256 and "ABORT" to "ABORT (COFF)".
1257
b6895b4f
PB
12582006-05-11 Paul Brook <paul@codesourcery.com>
1259
1260 * config/tc-arm.c (parse_half): New function.
1261 (operand_parse_code): Remove OP_Iffff. Add OP_HALF.
1262 (parse_operands): Ditto.
1263 (do_mov16): Reject invalid relocations.
1264 (do_t_mov16): Ditto. Use Thumb reloc numbers.
1265 (insns): Replace Iffff with HALF.
1266 (md_apply_fix): Add MOVW and MOVT relocs.
1267 (tc_gen_reloc): Ditto.
1268 * doc/c-arm.texi: Document relocation operators
1269
e28387c3
PB
12702006-05-11 Paul Brook <paul@codesourcery.com>
1271
1272 * config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
1273
89ee2ebe
TS
12742006-05-11 Thiemo Seufer <ths@mips.com>
1275
1276 * config/tc-mips.c (append_insn): Don't check the range of j or
1277 jal addresses.
1278
53baae48
NC
12792006-05-11 Pedro Alves <pedro_alves@portugalmail.pt>
1280
1281 * config/tc-arm.c (md_pcrel_from_section): Force a bias for
a70ae331 1282 relocs against external symbols for WinCE targets.
53baae48
NC
1283 (md_apply_fix): Likewise.
1284
4e2a74a8
TS
12852006-05-09 David Ung <davidu@mips.com>
1286
1287 * config/tc-mips.c (append_insn): Only warn about an out-of-range
1288 j or jal address.
1289
337ff0a5
NC
12902006-05-09 Nick Clifton <nickc@redhat.com>
1291
1292 * config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups
1293 against symbols which are not going to be placed into the symbol
1294 table.
1295
8c9f705e
BE
12962006-05-09 Ben Elliston <bje@au.ibm.com>
1297
1298 * expr.c (operand): Remove `if (0 && ..)' statement and
1299 subsequently unused target_op label. Collapse `if (1 || ..)'
1300 statement.
1301 * app.c (do_scrub_chars): Remove unused case 0, as it is handled
1302 separately above the switch.
1303
2fd0d2ac
NC
13042006-05-08 Nick Clifton <nickc@redhat.com>
1305
1306 PR gas/2623
1307 * config/tc-msp430.c (line_separator_character): Define as |.
1308
e16bfa71
TS
13092006-05-08 Thiemo Seufer <ths@mips.com>
1310 Nigel Stephens <nigel@mips.com>
1311 David Ung <davidu@mips.com>
1312
1313 * config/tc-mips.c (mips_set_options): Add ase_smartmips flag.
1314 (mips_opts): Likewise.
1315 (file_ase_smartmips): New variable.
1316 (ISA_HAS_ROR): SmartMIPS implements rotate instructions.
1317 (macro_build): Handle SmartMIPS instructions.
1318 (mips_ip): Likewise.
1319 (md_longopts): Add argument handling for smartmips.
1320 (md_parse_options, mips_after_parse_args): Likewise.
1321 (s_mipsset): Add .set smartmips support.
1322 (md_show_usage): Document -msmartmips/-mno-smartmips.
1323 * doc/as.texinfo: Document -msmartmips/-mno-smartmips and
1324 .set smartmips.
1325 * doc/c-mips.texi: Likewise.
1326
32638454
AM
13272006-05-08 Alan Modra <amodra@bigpond.net.au>
1328
1329 * write.c (relax_segment): Add pass count arg. Don't error on
1330 negative org/space on first two passes.
1331 (relax_seg_info): New struct.
1332 (relax_seg, write_object_file): Adjust.
1333 * write.h (relax_segment): Update prototype.
1334
b7fc2769
JB
13352006-05-05 Julian Brown <julian@codesourcery.com>
1336
1337 * config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
1338 checking.
1339 (do_neon_mov): Enable several VMOV variants for VFP. Add suitable
1340 architecture version checks.
1341 (insns): Allow overlapping instructions to be used in VFP mode.
1342
7f841127
L
13432006-05-05 H.J. Lu <hongjiu.lu@intel.com>
1344
1345 PR gas/2598
1346 * config/obj-elf.c (obj_elf_change_section): Allow user
1347 specified SHF_ALPHA_GPREL.
1348
73160847
NC
13492006-05-05 Bjoern Haase <bjoern.m.haase@web.de>
1350
1351 * gas/config/tc-avr.h (TC_VALIDATE_FIX): Define. Disable fixups
1352 for PMEM related expressions.
1353
56487c55
NC
13542006-05-05 Nick Clifton <nickc@redhat.com>
1355
1356 PR gas/2582
1357 * dwarf2dbg.c (INSERT_DIR_SEPARATOR): New macro. Handles the
1358 insertion of a directory separator character into a string at a
1359 given offset. Uses heuristics to decide when to use a backslash
1360 character rather than a forward-slash character.
1361 (dwarf2_directive_loc): Use the macro.
1362 (out_debug_info): Likewise.
1363
d43b4baf
TS
13642006-05-05 Thiemo Seufer <ths@mips.com>
1365 David Ung <davidu@mips.com>
1366
1367 * config/tc-mips.c (macro_build): Add case 'k' to handle cache
1368 instruction.
1369 (macro): Add new case M_CACHE_AB.
1370
088fa78e
KH
13712006-05-04 Kazu Hirata <kazu@codesourcery.com>
1372
1373 * config/tc-arm.c (opcode_tag): Add OT_cinfix3_deprecated.
1374 (opcode_lookup): Issue a warning for opcode with
1375 OT_cinfix3_deprecated. Otherwise treat OT_cinfix3_deprecated
1376 identical to OT_cinfix3.
1377 (TxC3w, TC3w, tC3w): New.
1378 (insns): Use tC3w and TC3w for comparison instructions with
1379 's' suffix.
1380
c9049d30
AM
13812006-05-04 Alan Modra <amodra@bigpond.net.au>
1382
1383 * subsegs.h (struct frchain): Delete frch_seg.
1384 (frchain_root): Delete.
1385 (seg_info): Define as macro.
1386 * subsegs.c (frchain_root): Delete.
1387 (abs_seg_info, und_seg_info, absolute_frchain): Delete.
1388 (subsegs_begin, subseg_change): Adjust for above.
1389 (subseg_set_rest): Likewise. Add new frchain structs to seginfo
1390 rather than to one big list.
1391 (subseg_get): Don't special case abs, und sections.
1392 (subseg_new, subseg_force_new): Don't set frchainP here.
1393 (seg_info): Delete.
1394 (subsegs_print_statistics): Adjust frag chain control list traversal.
1395 * debug.c (dmp_frags): Likewise.
1396 * dwarf2dbg.c (first_frag_for_seg): Don't start looking for frag
1397 at frchain_root. Make use of known frchain ordering.
1398 (last_frag_for_seg): Likewise.
1399 (get_frag_fix): Likewise. Add seg param.
1400 (process_entries, out_debug_aranges): Adjust get_frag_fix calls.
1401 * write.c (chain_frchains_together_1): Adjust for struct frchain.
1402 (SUB_SEGMENT_ALIGN): Likewise.
1403 (subsegs_finish): Adjust frchain list traversal.
1404 * config/tc-xtensa.c (xtensa_cleanup_align_frags): Likewise.
1405 (xtensa_fix_target_frags, xtensa_mark_narrow_branches): Likewise.
1406 (xtensa_mark_zcl_first_insns, xtensa_fix_a0_b_retw_frags): Likewise.
1407 (xtensa_fix_b_j_loop_end_frags): Likewise.
1408 (xtensa_fix_close_loop_end_frags): Likewise.
1409 (xtensa_fix_short_loop_frags, xtensa_sanity_check): Likewise.
1410 (retrieve_segment_info): Delete frch_seg initialisation.
1411
f592407e
AM
14122006-05-03 Alan Modra <amodra@bigpond.net.au>
1413
1414 * subsegs.c (subseg_get): Don't call obj_sec_set_private_data.
1415 * config/obj-elf.h (obj_sec_set_private_data): Delete.
1416 * config/tc-hppa.c (tc_gen_reloc): Don't use bfd_abs_symbol.
1417 * config/tc-mn10300.c (tc_gen_reloc): Likewise.
1418
df7849c5
JM
14192006-05-02 Joseph Myers <joseph@codesourcery.com>
1420
1421 * config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
1422 here.
1423 (md_apply_fix3): Multiply offset by 4 here for
1424 BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
1425
2d545b82
L
14262006-05-02 H.J. Lu <hongjiu.lu@intel.com>
1427 Jan Beulich <jbeulich@novell.com>
1428
1429 * config/tc-i386.c (output_invalid_buf): Change size for
1430 unsigned char.
1431 * config/tc-tic30.c (output_invalid_buf): Likewise.
1432
1433 * config/tc-i386.c (output_invalid): Cast none-ascii char to
1434 unsigned char.
1435 * config/tc-tic30.c (output_invalid): Likewise.
1436
38fc1cb1
DJ
14372006-05-02 Daniel Jacobowitz <dan@codesourcery.com>
1438
1439 * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
1440 (TEXI2POD): Use AM_MAKEINFOFLAGS.
1441 (asconfig.texi): Don't set top_srcdir.
1442 * doc/as.texinfo: Don't use top_srcdir.
1443 * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
1444
2d545b82
L
14452006-05-02 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 * config/tc-i386.c (output_invalid_buf): Change size to 16.
1448 * config/tc-tic30.c (output_invalid_buf): Likewise.
1449
1450 * config/tc-i386.c (output_invalid): Use snprintf instead of
1451 sprintf.
1452 * config/tc-ia64.c (declare_register_set): Likewise.
1453 (emit_one_bundle): Likewise.
1454 (check_dependencies): Likewise.
1455 * config/tc-tic30.c (output_invalid): Likewise.
1456
a8bc6c78
PB
14572006-05-02 Paul Brook <paul@codesourcery.com>
1458
1459 * config/tc-arm.c (arm_optimize_expr): New function.
1460 * config/tc-arm.h (md_optimize_expr): Define
1461 (arm_optimize_expr): Add prototype.
1462 (TC_FORCE_RELOCATION_SUB_SAME): Define.
1463
58633d9a
BE
14642006-05-02 Ben Elliston <bje@au.ibm.com>
1465
22772e33
BE
1466 * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Make single bit
1467 field unsigned.
1468
58633d9a
BE
1469 * sb.h (sb_list_vector): Move to sb.c.
1470 * sb.c (free_list): Use type of sb_list_vector directly.
1471 (sb_build): Fix off-by-one error in assertion about `size'.
1472
89cdfe57
BE
14732006-05-01 Ben Elliston <bje@au.ibm.com>
1474
1475 * listing.c (listing_listing): Remove useless loop.
1476 * macro.c (macro_expand): Remove is_positional local variable.
1477 * read.c (s_comm_internal): Simplify `if' condition 1 || x -> 1
1478 and simplify surrounding expressions, where possible.
1479 (assign_symbol): Likewise.
1480 (s_weakref): Likewise.
1481 * symbols.c (colon): Likewise.
1482
c35da140
AM
14832006-05-01 James Lemke <jwlemke@wasabisystems.com>
1484
1485 * subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.
1486
9bcd4f99
TS
14872006-04-30 Thiemo Seufer <ths@mips.com>
1488 David Ung <davidu@mips.com>
1489
1490 * config/tc-mips.c (validate_mips_insn): Handling of udi cases.
1491 (mips_immed): New table that records various handling of udi
1492 instruction patterns.
1493 (mips_ip): Adds udi handling.
1494
001ae1a4
AM
14952006-04-28 Alan Modra <amodra@bigpond.net.au>
1496
1497 * dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end
1498 of list rather than beginning.
1499
136da414
JB
15002006-04-26 Julian Brown <julian@codesourcery.com>
1501
1502 * gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
1503 (is_quarter_float): Rename from above. Simplify slightly.
1504 (parse_qfloat_immediate): Parse a "quarter precision" floating-point
1505 number.
1506 (parse_neon_mov): Parse floating-point constants.
1507 (neon_qfloat_bits): Fix encoding.
1508 (neon_cmode_for_move_imm): Tweak to use floating-point encoding in
1509 preference to integer encoding when using the F32 type.
1510
dcbf9037
JB
15112006-04-26 Julian Brown <julian@codesourcery.com>
1512
1513 * config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
1514 zero-initialising structures containing it will lead to invalid types).
1515 (arm_it): Add vectype to each operand.
1516 (NTA_HASTYPE, NTA_HASINDEX): Constants used in neon_typed_alias
1517 defined field.
1518 (neon_typed_alias): New structure. Extra information for typed
1519 register aliases.
1520 (reg_entry): Add neon type info field.
1521 (arm_reg_parse): Remove RTYPE argument (revert to previous arguments).
1522 Break out alternative syntax for coprocessor registers, etc. into...
1523 (arm_reg_alt_syntax): New function. Alternate syntax handling broken
1524 out from arm_reg_parse.
1525 (parse_neon_type): Move. Return SUCCESS/FAIL.
1526 (first_error): New function. Call to ensure first error which occurs is
1527 reported.
1528 (parse_neon_operand_type): Parse exactly one type.
1529 (NEON_ALL_LANES, NEON_INTERLEAVE_LANES): Move.
1530 (parse_typed_reg_or_scalar): New function. Handle core of both
1531 arm_typed_reg_parse and parse_scalar.
1532 (arm_typed_reg_parse): Parse a register with an optional type.
1533 (NEON_SCALAR_REG, NEON_SCALAR_INDEX): Extract parts of parse_scalar
1534 result.
1535 (parse_scalar): Parse a Neon scalar with optional type.
1536 (parse_reg_list): Use first_error.
1537 (parse_vfp_reg_list): Use arm_typed_reg_parse instead of arm_reg_parse.
1538 (neon_alias_types_same): New function. Return true if two (alias) types
1539 are the same.
1540 (parse_neon_el_struct_list): Use parse_typed_reg_or_scalar. Return type
1541 of elements.
1542 (insert_reg_alias): Return new reg_entry not void.
1543 (insert_neon_reg_alias): New function. Insert type/index information as
1544 well as register for alias.
1545 (create_neon_reg_alias): New function. Parse .dn/.qn directives and
1546 make typed register aliases accordingly.
1547 (s_dn, s_qn): New functions. Handle incorrectly used .dn/.qn at start
1548 of line.
1549 (s_unreq): Delete type information if present.
1550 (s_arm_unwind_save_mmxwr): Remove arg 3 from arm_reg_parse calls.
1551 (s_arm_unwind_save_mmxwcg): Likewise.
1552 (s_arm_unwind_movsp): Likewise.
1553 (s_arm_unwind_setfp): Likewise.
1554 (parse_shift): Likewise.
1555 (parse_shifter_operand): Likewise.
1556 (parse_address): Likewise.
1557 (parse_tb): Likewise.
1558 (tc_arm_regname_to_dw2regnum): Likewise.
1559 (md_pseudo_table): Add dn, qn.
1560 (parse_neon_mov): Handle typed operands.
1561 (parse_operands): Likewise.
1562 (neon_type_mask): Add N_SIZ.
1563 (N_ALLMODS): New macro.
1564 (neon_check_shape): Fix typo in NS_DDD_QQQ case. Use first_error.
1565 (el_type_of_type_chk): Add some safeguards.
1566 (modify_types_allowed): Fix logic bug.
1567 (neon_check_type): Handle operands with types.
1568 (neon_three_same): Remove redundant optional arg handling.
1569 (do_neon_dyadic_i64_su, do_neon_shl_imm, do_neon_qshl_imm)
1570 (do_neon_logic, do_neon_qdmulh, do_neon_fcmp_absolute)
1571 (do_neon_step): Adjust accordingly.
1572 (neon_cmode_for_logic_imm): Use first_error.
1573 (do_neon_bitfield): Call neon_check_type.
1574 (neon_dyadic): Rename to...
1575 (neon_dyadic_misc): ...this. New name for neon_dyadic. Add bitfield
1576 to allow modification of type of the destination.
1577 (do_neon_dyadic_if_su, do_neon_dyadic_if_i, do_neon_dyadic_if_i_d)
1578 (do_neon_addsub_if_i, do_neon_mul): Adjust accordingly.
1579 (do_neon_compare): Make destination be an untyped bitfield.
1580 (neon_scalar_for_mul): Use NEON_SCALAR_REG, NEON_SCALAR_INDEX.
1581 (neon_mul_mac): Return early in case of errors.
1582 (neon_move_immediate): Use first_error.
1583 (neon_mac_reg_scalar_long): Fix type to include scalar.
1584 (do_neon_dup): Likewise.
1585 (do_neon_mov): Likewise (in several places).
1586 (do_neon_tbl_tbx): Fix type.
1587 (do_neon_ld_st_interleave, neon_alignment_bit, do_neon_ld_st_lane)
1588 (do_neon_ld_dup): Exit early in case of errors and/or use
1589 first_error.
1590 (opcode_lookup): Update for parse_neon_type returning SUCCESS/FAIL.
1591 Handle .dn/.qn directives.
1592 (REGDEF): Add zero for reg_entry neon field.
1593
5287ad62
JB
15942006-04-26 Julian Brown <julian@codesourcery.com>
1595
1596 * config/tc-arm.c (limits.h): Include.
1597 (fpu_arch_vfp_v3, fpu_vfp_ext_v3, fpu_neon_ext_v1)
1598 (fpu_vfp_v3_or_neon_ext): Declare constants.
1599 (neon_el_type): New enumeration of types for Neon vector elements.
1600 (neon_type_el): New struct. Define type and size of a vector element.
1601 (NEON_MAX_TYPE_ELS): Define constant. The maximum number of types per
1602 instruction.
1603 (neon_type): Define struct. The type of an instruction.
1604 (arm_it): Add 'vectype' for the current instruction.
1605 (isscalar, immisalign, regisimm, isquad): New predicates for operands.
1606 (vfp_sp_reg_pos): Rename to...
1607 (vfp_reg_pos): ...this, and add VFP_REG_Dd, VFP_REG_Dm, VFP_REG_Dn
1608 tags.
1609 (arm_reg_type): Add REG_TYPE_NQ (Neon Q register) and REG_TYPE_NDQ
1610 (Neon D or Q register).
1611 (reg_expected_msgs): Sync with above. Allow VFD to mean VFP or Neon D
1612 register.
1613 (GE_OPT_PREFIX_BIG): Define constant, for use in...
1614 (my_get_expression): Allow above constant as argument to accept
1615 64-bit constants with optional prefix.
1616 (arm_reg_parse): Add extra argument to return the specific type of
1617 register in when either a D or Q register (REG_TYPE_NDQ) is
1618 requested. Can be NULL.
1619 (parse_scalar): New function. Parse Neon scalar (vector reg and index).
1620 (parse_reg_list): Update for new arm_reg_parse args.
1621 (parse_vfp_reg_list): Allow parsing of Neon D/Q register lists.
1622 (parse_neon_el_struct_list): New function. Parse element/structure
1623 register lists for VLD<n>/VST<n> instructions.
1624 (s_arm_unwind_save_vfp): Update for new parse_vfp_reg_list args.
1625 (s_arm_unwind_save_mmxwr): Likewise.
1626 (s_arm_unwind_save_mmxwcg): Likewise.
1627 (s_arm_unwind_movsp): Likewise.
1628 (s_arm_unwind_setfp): Likewise.
1629 (parse_big_immediate): New function. Parse an immediate, which may be
1630 64 bits wide. Put results in inst.operands[i].
1631 (parse_shift): Update for new arm_reg_parse args.
1632 (parse_address): Likewise. Add parsing of alignment specifiers.
1633 (parse_neon_mov): Parse the operands of a VMOV instruction.
1634 (operand_parse_code): Add OP_RND, OP_RNQ, OP_RNDQ, OP_RNSC, OP_NRDLST,
1635 OP_NSTRLST, OP_NILO, OP_RNDQ_I0, OP_RR_RNSC, OP_RNDQ_RNSC, OP_RND_RNSC,
1636 OP_VMOV, OP_RNDQ_IMVNb, OP_RNDQ_I63b, OP_I0, OP_I16z, OP_I32z, OP_I64,
1637 OP_I64z, OP_oI32b, OP_oRND, OP_oRNQ, OP_oRNDQ.
1638 (parse_operands): Handle new codes above.
1639 (encode_arm_vfp_sp_reg): Rename to...
1640 (encode_arm_vfp_reg): ...this. Handle D regs (0-31) too. Complain if
1641 selected VFP version only supports D0-D15.
1642 (do_vfp_sp_monadic, do_vfp_sp_dyadic, do_vfp_sp_compare_z)
1643 (do_vfp_dp_sp_cvt, do_vfp_reg_from_sp, do_vfp_reg2_from_sp2)
1644 (do_vfp_sp_from_reg, do_vfp_sp2_from_reg2, do_vfp_sp_ldst)
1645 (do_vfp_dp_ldst, vfp_sp_ldstm, vfp_dp_ldstm): Update for new
1646 encode_arm_vfp_reg name, and allow 32 D regs.
1647 (do_vfp_dp_rd_rm, do_vfp_dp_rn_rd, do_vfp_dp_rd_rn, do_vfp_dp_rd_rn_rm)
1648 (do_vfp_rm_rd_rn): New functions to encode VFP insns allowing 32 D
1649 regs.
1650 (do_vfp_sp_const, do_vfp_dp_const, vfp_conv, do_vfp_sp_conv_16)
1651 (do_vfp_dp_conv_16, do_vfp_sp_conv_32, do_vfp_dp_conv_32): Handle
1652 constant-load and conversion insns introduced with VFPv3.
1653 (neon_tab_entry): New struct.
1654 (NEON_ENC_TAB): Bit patterns for overloaded Neon instructions, and
1655 those which are the targets of pseudo-instructions.
1656 (neon_opc): Enumerate opcodes, use as indices into...
1657 (neon_enc_tab): ...this. Hold data from NEON_ENC_TAB.
1658 (NEON_ENC_INTEGER, NEON_ENC_ARMREG, NEON_ENC_POLY, NEON_ENC_FLOAT)
1659 (NEON_ENC_SCALAR, NEON_ENC_IMMED, NEON_ENC_INTERLV, NEON_ENC_LANE)
1660 (NEON_ENC_DUP): Define meaningful helper macros to look up values in
1661 neon_enc_tab.
1662 (neon_shape): Enumerate shapes (permitted register widths, etc.) for
1663 Neon instructions.
1664 (neon_type_mask): New. Compact type representation for type checking.
1665 (N_SU_ALL, N_SU_32, N_SU_16_64, N_SUF_32, N_I_ALL, N_IF_32): Common
1666 permitted type combinations.
1667 (N_IGNORE_TYPE): New macro.
1668 (neon_check_shape): New function. Check an instruction shape for
1669 multiple alternatives. Return the specific shape for the current
1670 instruction.
1671 (neon_modify_type_size): New function. Modify a vector type and size,
1672 depending on the bit mask in argument 1.
1673 (neon_type_promote): New function. Convert a given "key" type (of an
1674 operand) into the correct type for a different operand, based on a bit
1675 mask.
1676 (type_chk_of_el_type): New function. Convert a type and size into the
1677 compact representation used for type checking.
1678 (el_type_of_type_ckh): New function. Reverse of above (only when a
1679 single bit is set in the bit mask).
1680 (modify_types_allowed): New function. Alter a mask of allowed types
1681 based on a bit mask of modifications.
1682 (neon_check_type): New function. Check the type of the current
1683 instruction against the variable argument list. The "key" type of the
1684 instruction is returned.
1685 (neon_dp_fixup): New function. Fill in and modify instruction bits for
1686 a Neon data-processing instruction depending on whether we're in ARM
1687 mode or Thumb-2 mode.
1688 (neon_logbits): New function.
1689 (neon_three_same, neon_two_same, do_neon_dyadic_i_su)
1690 (do_neon_dyadic_i64_su, neon_imm_shift, do_neon_shl_imm)
1691 (do_neon_qshl_imm, neon_cmode_for_logic_imm, neon_bits_same_in_bytes)
1692 (neon_squash_bits, neon_is_quarter_float, neon_qfloat_bits)
1693 (neon_cmode_for_move_imm, neon_write_immbits, neon_invert_size)
1694 (do_neon_logic, do_neon_bitfield, neon_dyadic, do_neon_dyadic_if_su)
1695 (do_neon_dyadic_if_su_d, do_neon_dyadic_if_i, do_neon_dyadic_if_i_d)
1696 (do_neon_addsub_if_i, neon_exchange_operands, neon_compare)
1697 (do_neon_cmp, do_neon_cmp_inv, do_neon_ceq, neon_scalar_for_mul)
1698 (neon_mul_mac, do_neon_mac_maybe_scalar, do_neon_tst, do_neon_mul)
1699 (do_neon_qdmulh, do_neon_fcmp_absolute, do_neon_fcmp_absolute_inv)
1700 (do_neon_step, do_neon_abs_neg, do_neon_sli, do_neon_sri)
1701 (do_neon_qshlu_imm, do_neon_qmovn, do_neon_qmovun)
1702 (do_neon_rshift_sat_narrow, do_neon_rshift_sat_narrow_u, do_neon_movn)
1703 (do_neon_rshift_narrow, do_neon_shll, neon_cvt_flavour, do_neon_cvt)
1704 (neon_move_immediate, do_neon_mvn, neon_mixed_length)
1705 (do_neon_dyadic_long, do_neon_abal, neon_mac_reg_scalar_long)
1706 (do_neon_mac_maybe_scalar_long, do_neon_dyadic_wide, do_neon_vmull)
1707 (do_neon_ext, do_neon_rev, do_neon_dup, do_neon_mov)
1708 (do_neon_rshift_round_imm, do_neon_movl, do_neon_trn, do_neon_zip_uzp)
1709 (do_neon_sat_abs_neg, do_neon_pair_long, do_neon_recip_est)
1710 (do_neon_cls, do_neon_clz, do_neon_cnt, do_neon_swp, do_neon_tbl_tbx)
1711 (do_neon_ldm_stm, do_neon_ldr_str, do_neon_ld_st_interleave)
1712 (neon_alignment_bit, do_neon_ld_st_lane, do_neon_ld_dup)
1713 (do_neon_ldx_stx): New functions. Neon bit encoding and encoding
1714 helpers.
1715 (parse_neon_type): New function. Parse Neon type specifier.
1716 (opcode_lookup): Allow parsing of Neon type specifiers.
1717 (REGNUM2, REGSETH, REGSET2): New macros.
1718 (reg_names): Add new VFPv3 and Neon registers.
1719 (NUF, nUF, NCE, nCE): New macros for opcode table.
1720 (insns): More VFP registers allowed in fcpyd, fmdhr, fmdlr, fmrdh,
1721 fmrdl, fabsd, fnegd, fsqrtd, faddd, fsubd, fmuld, fdivd, fmacd, fmscd,
1722 fnmuld, fnmacd, fnmscd, fcmpd, fcmpzd, fcmped, fcmpezd, fmdrr, fmrrd.
1723 Add Neon instructions vaba, vhadd, vrhadd, vhsub, vqadd, vqsub, vrshl,
1724 vqrshl, vshl, vqshl{u}, vand, vbic, vorr, vorn, veor, vbsl, vbit, vbif,
1725 vabd, vmax, vmin, vcge, vcgt, vclt, vcle, vceq, vpmax, vpmin, vmla,
1726 vmls, vpadd, vadd, vsub, vtst, vmul, vqdmulh, vqrdmulh, vacge, vacgt,
1727 vaclt, vacle, vrecps, vrsqrts, vabs, vneg, v{r}shr, v{r}sra, vsli,
1728 vsri, vqshrn, vq{r}shr{u}n, v{r}shrn, vshll, vcvt, vmov, vmvn, vabal,
1729 vabdl, vaddl, vsubl, vmlal, vmlsl, vaddw, vsubw, v{r}addhn, v{r}subhn,
1730 vqdmlal, vqdmlsl, vqdmull, vmull, vext, vrev64, vrev32, vrev16, vdup,
1731 vmovl, v{q}movn, vzip, vuzp, vqabs, vqneg, vpadal, vpaddl, vrecpe,
1732 vrsqrte, vcls, vclz, vcnt, vswp, vtrn, vtbl, vtbx, vldm, vstm, vldr,
1733 vstr, vld[1234], vst[1234], fconst[sd], f[us][lh]to[sd],
1734 fto[us][lh][sd].
1735 (tc_arm_regname_to_dw2regnum): Update for arm_reg_parse args.
1736 (arm_cpu_option_table): Add Neon and VFPv3 to Cortex-A8.
1737 (arm_option_cpu_value): Add vfp3 and neon.
1738 (aeabi_set_public_attributes): Support VFPv3 and NEON attributes. Fix
1739 VFPv1 attribute.
1740
1946c96e
BW
17412006-04-25 Bob Wilson <bob.wilson@acm.org>
1742
1743 * config/xtensa-relax.c (widen_spec_list): Use new "WIDE.<opcode>"
1744 syntax instead of hardcoded opcodes with ".w18" suffixes.
1745 (wide_branch_opcode): New.
1746 (build_transition): Use it to check for wide branch opcodes with
1747 either ".w18" or ".w15" suffixes.
1748
5033a645
BW
17492006-04-25 Bob Wilson <bob.wilson@acm.org>
1750
1751 * config/tc-xtensa.c (xtensa_create_literal_symbol,
1752 xg_assemble_literal, xg_assemble_literal_space): Do not set the
1753 frag's is_literal flag.
1754
395fa56f
BW
17552006-04-25 Bob Wilson <bob.wilson@acm.org>
1756
1757 * config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.
1758
708587a4
KH
17592006-04-23 Kazu Hirata <kazu@codesourcery.com>
1760
1761 * config/obj-coff.c, config/tc-arm.c, config/tc-bfin.c,
1762 config/tc-cris.c, config/tc-crx.c, config/tc-i386.c,
1763 config/tc-ia64.c, config/tc-maxq.c, config/tc-maxq.h,
1764 config/tc-mips.c, config/tc-msp430.c, config/tc-sh.c,
1765 config/tc-tic4x.c, config/tc-xtensa.c: Fix comment typos.
1766
8463be01
PB
17672005-04-20 Paul Brook <paul@codesourcery.com>
1768
1769 * config/tc-arm.c (s_arm_arch, s_arm_cpu, s_arm_fpu): Enable for
1770 all targets.
1771 (md_pseudo_table): Enable .arch, .cpu and .fpu for all targets.
1772
f26a5955
AM
17732006-04-19 Alan Modra <amodra@bigpond.net.au>
1774
1775 * Makefile.am (CPU_TYPES): Add maxq and mt. Sort.
1776 (CPU_OBJ_VALID): Change sense of COFF test to default to invalid.
1777 Make some cpus unsupported on ELF. Run "make dep-am".
1778 * Makefile.in: Regenerate.
1779
241a6c40
AM
17802006-04-19 Alan Modra <amodra@bigpond.net.au>
1781
1782 * configure.in (--enable-targets): Indent help message.
1783 * configure: Regenerate.
1784
bb8f5920
L
17852006-04-18 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 PR gas/2533
1788 * config/tc-i386.c (i386_immediate): Check illegal immediate
1789 register operand.
1790
23d9d9de
AM
17912006-04-18 Alan Modra <amodra@bigpond.net.au>
1792
64e74474
AM
1793 * config/tc-i386.c: Formatting.
1794 (output_disp, output_imm): ISO C90 params.
1795
6cbe03fb
AM
1796 * frags.c (frag_offset_fixed_p): Constify args.
1797 * frags.h (frag_offset_fixed_p): Ditto.
1798
23d9d9de
AM
1799 * config/tc-dlx.h (tc_coff_symbol_emit_hook): Delete.
1800 (COFF_MAGIC): Delete.
a37d486e
AM
1801
1802 * config/tc-xc16x.h (TC_LINKRELAX_FIXUP): Delete.
1803
e7403566
DJ
18042006-04-16 Daniel Jacobowitz <dan@codesourcery.com>
1805
1806 * po/POTFILES.in: Regenerated.
1807
58ab4f3d
MM
18082006-04-16 Mark Mitchell <mark@codesourcery.com>
1809
1810 * doc/as.texinfo: Mention that some .type syntaxes are not
1811 supported on all architectures.
1812
482fd9f9
BW
18132006-04-14 Sterling Augustine <sterling@tensilica.com>
1814
1815 * config/tc-xtensa.c (emit_single_op): Do not relax MOVI
1816 instructions when such transformations have been disabled.
1817
05d58145
BW
18182006-04-10 Sterling Augustine <sterling@tensilica.com>
1819
1820 * config/tc-xtensa.c (xg_assemble_vliw_tokens): Record loop target
1821 symbols in RELAX[_CHECK]_ALIGN_NEXT_OPCODE frags.
1822 (xtensa_fix_close_loop_end_frags): Use the recorded values instead of
1823 decoding the loop instructions. Remove current_offset variable.
1824 (xtensa_fix_short_loop_frags): Likewise.
1825 (min_bytes_to_other_loop_end): Remove current_offset argument.
1826
9e75b3fa
AM
18272006-04-09 Arnold Metselaar <arnold.metselaar@planet.nl>
1828
a37d486e 1829 * config/tc-z80.c (z80_optimize_expr): Removed.
9e75b3fa
AM
1830 * config/tc-z80.h (z80_optimize_expr, md_optimize_expr): Removed.
1831
d727e8c2
NC
18322006-04-07 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
1833
1834 * gas/config/tc-avr.c (mcu_types): Add support for attiny261,
1835 attiny461, attiny861, attiny25, attiny45, attiny85,attiny24,
1836 attiny44, attiny84, at90pwm2, at90pwm3, atmega164, atmega324,
1837 atmega644, atmega329, atmega3290, atmega649, atmega6490,
1838 atmega406, atmega640, atmega1280, atmega1281, at90can32,
1839 at90can64, at90usb646, at90usb647, at90usb1286 and
1840 at90usb1287.
1841 Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
1842
d252fdde
PB
18432006-04-07 Paul Brook <paul@codesourcery.com>
1844
1845 * config/tc-arm.c (parse_operands): Set default error message.
1846
ab1eb5fe
PB
18472006-04-07 Paul Brook <paul@codesourcery.com>
1848
1849 * config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
1850
7ae2971b
PB
18512006-04-07 Paul Brook <paul@codesourcery.com>
1852
1853 * config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
1854
53365c0d
PB
18552006-04-07 Paul Brook <paul@codesourcery.com>
1856
1857 * config/tc-arm.c (THUMB2_LOAD_BIT): Define.
1858 (move_or_literal_pool): Handle Thumb-2 instructions.
1859 (do_t_ldst): Call move_or_literal_pool for =N addressing modes.
1860
45aa61fe
AM
18612006-04-07 Alan Modra <amodra@bigpond.net.au>
1862
1863 PR 2512.
1864 * config/tc-i386.c (match_template): Move 64-bit operand tests
1865 inside loop.
1866
108a6f8e
CD
18672006-04-06 Carlos O'Donell <carlos@codesourcery.com>
1868
1869 * po/Make-in: Add install-html target.
1870 * Makefile.am: Add install-html and install-html-recursive targets.
1871 * Makefile.in: Regenerate.
1872 * configure.in: AC_SUBST datarootdir, docdir, htmldir.
1873 * configure: Regenerate.
1874 * doc/Makefile.am: Add install-html and install-html-am targets.
1875 * doc/Makefile.in: Regenerate.
1876
ec651a3b
AM
18772006-04-06 Alan Modra <amodra@bigpond.net.au>
1878
1879 * frags.c (frag_offset_fixed_p): Reinitialise offset before
1880 second scan.
1881
910600e9
RS
18822006-04-05 Richard Sandiford <richard@codesourcery.com>
1883 Daniel Jacobowitz <dan@codesourcery.com>
1884
1885 * config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
1886 (GOTT_BASE, GOTT_INDEX): New.
1887 (tc_gen_reloc): Don't alter relocations against GOTT_BASE and
1888 GOTT_INDEX when generating VxWorks PIC.
1889 * configure.tgt (sparc*-*-vxworks*): Remove this special case;
1890 use the generic *-*-vxworks* stanza instead.
1891
99630778
AM
18922006-04-04 Alan Modra <amodra@bigpond.net.au>
1893
1894 PR 997
1895 * frags.c (frag_offset_fixed_p): New function.
1896 * frags.h (frag_offset_fixed_p): Declare.
1897 * expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction.
1898 (resolve_expression): Likewise.
1899
a02728c8
BW
19002006-04-03 Sterling Augustine <sterling@tensilica.com>
1901
1902 * config/tc-xtensa.c (init_op_placement_info_table): Check for formats
1903 of the same length but different numbers of slots.
1904
9dfde49d
AS
19052006-03-30 Andreas Schwab <schwab@suse.de>
1906
1907 * configure.in: Fix help string for --enable-targets option.
1908 * configure: Regenerate.
1909
2da12c60
NS
19102006-03-28 Nathan Sidwell <nathan@codesourcery.com>
1911
6d89cc8f
NS
1912 * gas/config/tc-m68k.c (find_cf_chip): Merge into ...
1913 (m68k_ip): ... here. Use for all chips. Protect against buffer
1914 overrun and avoid excessive copying.
1915
2da12c60
NS
1916 * config/tc-m68k.c (m68000_control_regs, m68010_control_regs,
1917 m68020_control_regs, m68040_control_regs, m68060_control_regs,
1918 mcf_control_regs, mcf5208_control_regs, mcf5213_control_regs,
1919 mcf5329_control_regs, mcf5249_control_regs, mcf528x_control_regs,
1920 mcfv4e_control_regs, m68010_control_regs): Rename and reorder to ...
1921 (m68000_ctrl, m68010_ctrl, m68020_ctrl, m68040_ctrl, m68060_ctrl,
a70ae331 1922 mcf_ctrl, mcf5208_ctrl, mcf5213_ctrl, mcf5235_ctrl, mcf5249_ctrl,
2da12c60
NS
1923 mcf5216_ctrl, mcf5250_ctrl, mcf5271_ctrl, mcf5272_ctrl,
1924 mcf5282_ctrl, mcfv4e_ctrl): ... these.
1925 (mcf5275_ctrl, mcf5329_ctrl, mcf5373_ctrl): New.
1926 (struct m68k_cpu): Change chip field to control_regs.
1927 (current_chip): Remove.
1928 (control_regs): New.
1929 (m68k_archs, m68k_extensions): Adjust.
1930 (m68k_cpus): Reorder to be in cpu number order. Adjust.
1931 (CPU_ALLOW_MC, CPU_ALLOW_NEGATION): Remove.
1932 (find_cf_chip): Reimplement for new organization of cpu table.
1933 (select_control_regs): Remove.
1934 (mri_chip): Adjust.
1935 (struct save_opts): Save control regs, not chip.
1936 (s_save, s_restore): Adjust.
1937 (m68k_lookup_cpu): Give deprecated warning when necessary.
1938 (m68k_init_arch): Adjust.
1939 (md_show_usage): Adjust for new cpu table organization.
1940
1ac4baed
BS
19412006-03-25 Bernd Schmidt <bernd.schmidt@analog.com>
1942
1943 * config/bfin-defs.h (Expr_Node_Type enum): Add Expr_Node_GOT_Reloc.
1944 * config/bfin-lex.l: Recognize GOT17M4 and FUNCDESC_GOT17M4.
1945 * config/bfin-parse.y: Include "libbfd.h", "elf/common.h" and
1946 "elf/bfin.h".
1947 (GOT17M4, FUNCDESC_GOT17M4): New tokens of type <value>.
1948 (any_gotrel): New rule.
1949 (got): Use it, and create Expr_Node_GOT_Reloc nodes.
1950 * config/tc-bfin.c: Include "libbfd.h", "elf/common.h" and
1951 "elf/bfin.h".
1952 (DEFAULT_FLAGS, bfin_flags, bfin_pic_flag): New.
1953 (bfin_pic_ptr): New function.
1954 (md_pseudo_table): Add it for ".picptr".
1955 (OPTION_FDPIC): New macro.
1956 (md_longopts): Add -mfdpic.
1957 (md_parse_option): Handle it.
1958 (md_begin): Set BFD flags.
1959 (md_apply_fix3, bfin_fix_adjustable): Handle new relocs.
1960 (bfin_gen_ldstidxi): Adjust to match the trees that the parser gives
1961 us for GOT relocs.
1962 * Makefile.am (bfin-parse.o): Update dependencies.
1963 (DEPTC_bfin_elf): Likewise.
1964 * Makefile.in: Regenerate.
1965
a9d34880
RS
19662006-03-25 Richard Sandiford <richard@codesourcery.com>
1967
1968 * config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use
1969 mcfemac instead of mcfmac.
1970
9ca26584
AJ
19712006-03-23 Michael Matz <matz@suse.de>
1972
1973 * config/tc-i386.c (type_names): Correct placement of 'static'.
1974 (reloc): Map some more relocs to their 64 bit counterpart when
1975 size is 8.
1976 (output_insn): Work around breakage if DEBUG386 is defined.
1977 (output_disp): A BFD_RELOC_64 with GOT_symbol as operand also
1978 needs to be mapped to BFD_RELOC_X86_64_GOTPC64 or
1979 BFD_RELOC_X86_64_GOTPC32. Also x86-64 handles pcrel addressing
1980 different from i386.
1981 (output_imm): Ditto.
1982 (lex_got): Recognize @PLTOFF and @GOTPLT. Make @GOT accept also
1983 Imm64.
1984 (md_convert_frag): Jumps can now be larger than 2GB away, error
1985 out in that case.
1986 (tc_gen_reloc): New relocs are passed through. BFD_RELOC_64
1987 and BFD_RELOC_64_PCREL are mapped to BFD_RELOC_X86_64_GOTPC64.
1988
0a44bf69
RS
19892006-03-22 Richard Sandiford <richard@codesourcery.com>
1990 Daniel Jacobowitz <dan@codesourcery.com>
1991 Phil Edwards <phil@codesourcery.com>
1992 Zack Weinberg <zack@codesourcery.com>
1993 Mark Mitchell <mark@codesourcery.com>
1994 Nathan Sidwell <nathan@codesourcery.com>
1995
1996 * config/tc-mips.c (mips_target_format): Handle vxworks targets.
1997 (md_begin): Complain about -G being used for PIC. Don't change
1998 the text, data and bss alignments on VxWorks.
1999 (reloc_needs_lo_p): Don't return true for R_MIPS_GOT16 when
2000 generating VxWorks PIC.
2001 (load_address): Extend SVR4_PIC handling to VXWORKS_PIC.
2002 (macro): Likewise, but do not treat la $25 specially for
2003 VxWorks PIC, and do not handle jal.
2004 (OPTION_MVXWORKS_PIC): New macro.
2005 (md_longopts): Add -mvxworks-pic.
2006 (md_parse_option): Don't complain about using PIC and -G together here.
2007 Handle OPTION_MVXWORKS_PIC.
2008 (md_estimate_size_before_relax): Always use the first relaxation
2009 sequence on VxWorks.
2010 * config/tc-mips.h (VXWORKS_PIC): New.
2011
080eb7fe
PB
20122006-03-21 Paul Brook <paul@codesourcery.com>
2013
2014 * config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
2015
03aaa593
BW
20162006-03-21 Sterling Augustine <sterling@tensilica.com>
2017
2018 * config/tc-xtensa.c (enforce_three_byte_loop_align): New flag.
2019 (xtensa_setup_hw_workarounds): Set this new flag for older hardware.
2020 (get_loop_align_size): New.
2021 (xtensa_end): Skip xtensa_mark_narrow_branches when not aligning.
2022 (xtensa_mark_zcl_first_insns): Prevent widening of first loop frag.
2023 (get_text_align_power): Rewrite to handle inputs in the range 2-8.
2024 (get_noop_aligned_address): Use get_loop_align_size.
2025 (get_aligned_diff): Likewise.
2026
3e94bf1a
PB
20272006-03-21 Paul Brook <paul@codesourcery.com>
2028
2029 * config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt.
2030
dfa9f0d5
PB
20312006-03-20 Paul Brook <paul@codesourcery.com>
2032
2033 * config/tc-arm.c (BAD_BRANCH, BAD_NOT_IT): Define.
2034 (do_t_branch): Encode branches inside IT blocks as unconditional.
2035 (do_t_cps): New function.
2036 (do_t_blx, do_t_bkpt, do_t_branch23, do_t_bx, do_t_bxj, do_t_cpsi,
2037 do_t_czb, do_t_it, do_t_setend, do_t_tb): Add IT constaints.
2038 (opcode_lookup): Allow conditional suffixes on all instructions in
2039 Thumb mode.
2040 (md_assemble): Advance condexec state before checking for errors.
2041 (insns): Use do_t_cps.
2042
6e1cb1a6
PB
20432006-03-20 Paul Brook <paul@codesourcery.com>
2044
2045 * config/tc-arm.c (output_relax_insn): Call dwarf2_emit_insn before
2046 outputting the insn.
2047
0a966e2d
JBG
20482006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
2049
2050 * config/tc-vax.c: Update copyright year.
2051 * config/tc-vax.h: Likewise.
2052
a49fcc17
JBG
20532006-03-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
2054
2055 * config/tc-vax.c (md_chars_to_number): Used only locally, so
2056 make it static.
2057 * config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.
2058
f5208ef2
PB
20592006-03-17 Paul Brook <paul@codesourcery.com>
2060
2061 * config/tc-arm.c (insns): Add ldm and stm.
2062
cb4c78d6
BE
20632006-03-17 Ben Elliston <bje@au.ibm.com>
2064
2065 PR gas/2446
2066 * doc/as.texinfo (Ident): Document this directive more thoroughly.
2067
c16d2bf0
PB
20682006-03-16 Paul Brook <paul@codesourcery.com>
2069
2070 * config/tc-arm.c (insns): Add "svc".
2071
80ca4e2c
BW
20722006-03-13 Bob Wilson <bob.wilson@acm.org>
2073
2074 * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
2075 flag and avoid double underscore prefixes.
2076
3a4a14e9
PB
20772006-03-10 Paul Brook <paul@codesourcery.com>
2078
2079 * config/tc-arm.c (md_begin): Handle EABIv5.
2080 (arm_eabis): Add EF_ARM_EABI_VER5.
2081 * doc/c-arm.texi: Document -meabi=5.
2082
518051dc
BE
20832006-03-10 Ben Elliston <bje@au.ibm.com>
2084
2085 * app.c (do_scrub_chars): Simplify string handling.
2086
00a97672
RS
20872006-03-07 Richard Sandiford <richard@codesourcery.com>
2088 Daniel Jacobowitz <dan@codesourcery.com>
2089 Zack Weinberg <zack@codesourcery.com>
2090 Nathan Sidwell <nathan@codesourcery.com>
2091 Paul Brook <paul@codesourcery.com>
2092 Ricardo Anguiano <anguiano@codesourcery.com>
2093 Phil Edwards <phil@codesourcery.com>
2094
2095 * config/tc-arm.c (md_apply_fix): Install a value of zero into a
2096 BFD_RELOC_ARM_OFFSET_IMM field if we're going to generate a RELA
2097 R_ARM_ABS12 reloc.
2098 (tc_gen_reloc): Keep the original fx_offset for RELA pc-relative
2099 relocs, but adjust by md_pcrel_from_section. Create R_ARM_ABS12
2100 relocations for BFD_RELOC_ARM_OFFSET_IMM on RELA targets.
2101
b29757dc
BW
21022006-03-06 Bob Wilson <bob.wilson@acm.org>
2103
2104 * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
2105 even when using the text-section-literals option.
2106
0b2e31dc
NS
21072006-03-06 Nathan Sidwell <nathan@codesourcery.com>
2108
2109 * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
2110 and cf.
2111 (m68k_ip): <case 'J'> Check we have some control regs.
2112 (md_parse_option): Allow raw arch switch.
2113 (m68k_init_arch): Better detection of arch/cpu mismatch. Detect
2114 whether 68881 or cfloat was meant by -mfloat.
2115 (md_show_usage): Adjust extension display.
2116 (m68k_elf_final_processing): Adjust.
2117
df406460
NC
21182006-03-03 Bjoern Haase <bjoern.m.haase@web.de>
2119
2120 * config/tc-avr.c (avr_mod_hash_value): New function.
2121 (md_apply_fix, exp_mod): Use BFD_RELOC_HH8_LDI and
a70ae331 2122 BFD_RELOC_MS8_LDI for hlo8() and hhi8()
df406460
NC
2123 (md_begin): Set linkrelax variable to 1, use avr_mod_hash_value
2124 instead of int avr_ldi_expression: use avr_mod_hash_value instead
2125 of (int).
2126 (tc_gen_reloc): Handle substractions of symbols, if possible do
a70ae331 2127 fixups, abort otherwise.
df406460
NC
2128 * config/tc-avr.h (TC_LINKRELAX_FIXUP, TC_VALIDATE_FIX,
2129 tc_fix_adjustable): Define.
a70ae331 2130
53022e4a
JW
21312006-03-02 James E Wilson <wilson@specifix.com>
2132
2133 * config/tc-ia64.c (emit_one_bundle): For IA64_OPCODE_LAST, if we
2134 change the template, then clear md.slot[curr].end_of_insn_group.
2135
9f6f925e
JB
21362006-02-28 Jan Beulich <jbeulich@novell.com>
2137
2138 * macro.c (get_any_string): Don't insert quotes for <>-quoted input.
2139
0e31b3e1
JB
21402006-02-28 Jan Beulich <jbeulich@novell.com>
2141
2142 PR/1070
2143 * macro.c (getstring): Don't treat parentheses special anymore.
2144 (get_any_string): Don't consider '(' and ')' as quoting anymore.
2145 Special-case '(', ')', '[', and ']' when dealing with non-quoting
2146 characters.
2147
10cd14b4
AM
21482006-02-28 Mat <mat@csail.mit.edu>
2149
2150 * dwarf2dbg.c (get_filenum): Don't inadvertently decrease files_in_use.
2151
63752a75
JJ
21522006-02-27 Jakub Jelinek <jakub@redhat.com>
2153
2154 * dw2gencfi.c (struct fde_entry, struct cie_entry): Add signal_frame
2155 field.
2156 (CFI_signal_frame): Define.
2157 (cfi_pseudo_table): Add .cfi_signal_frame.
2158 (dot_cfi): Handle CFI_signal_frame.
2159 (output_cie): Handle cie->signal_frame.
2160 (select_cie_for_fde): Don't share CIE if signal_frame flag is
2161 different. Copy signal_frame from FDE to newly created CIE.
2162 * doc/as.texinfo: Document .cfi_signal_frame.
2163
f7d9e5c3
CD
21642006-02-27 Carlos O'Donell <carlos@codesourcery.com>
2165
2166 * doc/Makefile.am: Add html target.
2167 * doc/Makefile.in: Regenerate.
2168 * po/Make-in: Add html target.
2169
331d2d0d
L
21702006-02-27 H.J. Lu <hongjiu.lu@intel.com>
2171
8502d882 2172 * config/tc-i386.c (output_insn): Support Intel Merom New
331d2d0d
L
2173 Instructions.
2174
8502d882 2175 * config/tc-i386.h (CpuMNI): New.
331d2d0d
L
2176 (CpuUnknownFlags): Add CpuMNI.
2177
10156f83
DM
21782006-02-24 David S. Miller <davem@sunset.davemloft.net>
2179
2180 * config/tc-sparc.c (priv_reg_table): Add entry for "gl".
2181 (hpriv_reg_table): New table for hyperprivileged registers.
2182 (sparc_ip): New cases '$' and '%' for wrhpr/rdhpr hyperprivileged
2183 register encoding.
2184
6772dd07
DD
21852006-02-24 DJ Delorie <dj@redhat.com>
2186
2187 * config/tc-m32c.h (md_apply_fix): Define to m32c_apply_fix.
2188 (tc_gen_reloc): Don't define.
2189 * config/tc-m32c.c (rl_for, relaxable): New convenience macros.
2190 (OPTION_LINKRELAX): New.
2191 (md_longopts): Add it.
2192 (m32c_relax): New.
2193 (md_parse_options): Set it.
2194 (md_assemble): Emit relaxation relocs as needed.
2195 (md_convert_frag): Emit relaxation relocs as needed.
2196 (md_cgen_lookup_reloc): Add LAB_8_8 and LAB_8_16.
2197 (m32c_apply_fix): New.
2198 (tc_gen_reloc): New.
2199 (m32c_force_relocation): Force out jump relocs when relaxing.
2200 (m32c_fix_adjustable): Return false if relaxing.
2201
62b3e311
PB
22022006-02-24 Paul Brook <paul@codesourcery.com>
2203
2204 * config/arm/tc-arm.c (arm_ext_v6_notm, arm_ext_div, arm_ext_v7,
2205 arm_ext_v7a, arm_ext_v7r, arm_ext_v7m): New variables.
2206 (struct asm_barrier_opt): Define.
2207 (arm_v7m_psr_hsh, arm_barrier_opt_hsh): New variables.
2208 (parse_psr): Accept V7M psr names.
2209 (parse_barrier): New function.
2210 (enum operand_parse_code): Add OP_oBARRIER.
2211 (parse_operands): Implement OP_oBARRIER.
2212 (do_barrier): New function.
2213 (do_dbg, do_pli, do_t_barrier, do_t_dbg, do_t_div): New functions.
2214 (do_t_cpsi): Add V7M restrictions.
2215 (do_t_mrs, do_t_msr): Validate V7M variants.
2216 (md_assemble): Check for NULL variants.
2217 (v7m_psrs, barrier_opt_names): New tables.
2218 (insns): Add V7 instructions. Mark V6 instructions absent from V7M.
2219 (md_begin): Initialize arm_v7m_psr_hsh and arm_barrier_opt_hsh.
2220 (arm_cpu_option_table): Add Cortex-M3, R4 and A8.
2221 (arm_arch_option_table): Add armv7, armv7a, armv7r and armv7m.
2222 (struct cpu_arch_ver_table): Define.
2223 (cpu_arch_ver): New.
2224 (aeabi_set_public_attributes): Use cpu_arch_ver. Set
2225 Tag_CPU_arch_profile.
2226 * doc/c-arm.texi: Document new cpu and arch options.
2227
59cf82fe
L
22282006-02-23 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 * config/tc-ia64.c (operand_match): Handle IA64_OPND_IMMU5b.
2231
19a7219f
L
22322006-02-23 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * config/tc-ia64.c: Update copyright years.
2235
7f3dfb9c
L
22362006-02-22 H.J. Lu <hongjiu.lu@intel.com>
2237
2238 * config/tc-ia64.c (specify_resource): Add the rule 17 from
2239 SDM 2.2.
2240
f40d1643
PB
22412005-02-22 Paul Brook <paul@codesourcery.com>
2242
2243 * config/tc-arm.c (do_pld): Remove incorrect write to
2244 inst.instruction.
2245 (encode_thumb32_addr_mode): Use correct operand.
2246
216d22bc
PB
22472006-02-21 Paul Brook <paul@codesourcery.com>
2248
2249 * config/tc-arm.c (md_apply_fix): Fix off-by-one errors.
2250
d70c5fc7
NC
22512006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com>
2252 Anil Paranjape <anilp1@kpitcummins.com>
2253 Shilin Shakti <shilins@kpitcummins.com>
2254
2255 * Makefile.am: Add xc16x related entry.
2256 * Makefile.in: Regenerate.
2257 * configure.in: Added xc16x related entry.
2258 * configure: Regenerate.
2259 * config/tc-xc16x.h: New file
2260 * config/tc-xc16x.c: New file
2261 * doc/c-xc16x.texi: New file for xc16x
2262 * doc/all.texi: Entry for xc16x
a70ae331 2263 * doc/Makefile.texi: Added c-xc16x.texi
d70c5fc7
NC
2264 * NEWS: Announce the support for the new target.
2265
aaa2ab3d
NH
22662006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com>
2267
2268 * configure.tgt: set emulation for mips-*-netbsd*
2269
82de001f
JJ
22702006-02-14 Jakub Jelinek <jakub@redhat.com>
2271
2272 * config.in: Rebuilt.
2273
431ad2d0
BW
22742006-02-13 Bob Wilson <bob.wilson@acm.org>
2275
2276 * config/tc-xtensa.c (xg_add_opcode_fix): Number operands starting
2277 from 1, not 0, in error messages.
2278 (md_assemble): Simplify special-case check for ENTRY instructions.
2279 (tinsn_has_invalid_symbolic_operands): Do not include opcode and
2280 operand in error message.
2281
94089a50
JM
22822006-02-13 Joseph S. Myers <joseph@codesourcery.com>
2283
2284 * configure.tgt (arm-*-linux-gnueabi*): Change to
2285 arm-*-linux-*eabi*.
2286
52de4c06
NC
22872006-02-10 Nick Clifton <nickc@redhat.com>
2288
70e45ad9
NC
2289 * config/tc-crx.c (check_range): Ensure that the sign bit of a
2290 32-bit value is propagated into the upper bits of a 64-bit long.
2291
52de4c06
NC
2292 * config/tc-arc.c (init_opcode_tables): Fix cast.
2293 (arc_extoper, md_operand): Likewise.
2294
21af2bbd
BW
22952006-02-09 David Heine <dlheine@tensilica.com>
2296
2297 * config/tc-xtensa.c (xg_assembly_relax): Increment steps_taken for
2298 each relaxation step.
2299
75a706fc 23002006-02-09 Eric Botcazou <ebotcazou@libertysurf.fr>
a70ae331 2301
75a706fc
L
2302 * configure.in (CHECK_DECLS): Add vsnprintf.
2303 * configure: Regenerate.
2304 * messages.c (errno.h, stdarg.h, varargs.h, va_list): Do not
2305 include/declare here, but...
2306 * as.h: Move code detecting VARARGS idiom to the top.
2307 (errno.h, stdarg.h, varargs.h, va_list): ...here.
2308 (vsnprintf): Declare if not already declared.
2309
0d474464
L
23102006-02-08 H.J. Lu <hongjiu.lu@intel.com>
2311
2312 * as.c (close_output_file): New.
2313 (main): Register close_output_file with xatexit before
2314 dump_statistics. Don't call output_file_close.
2315
266abb8f
NS
23162006-02-07 Nathan Sidwell <nathan@codesourcery.com>
2317
2318 * config/tc-m68k.c (mcf5208_control_regs, mcf5213_control_regs,
2319 mcf5329_control_regs): New.
2320 (not_current_architecture, selected_arch, selected_cpu): New.
2321 (m68k_archs, m68k_extensions): New.
2322 (archs): Renamed to ...
2323 (m68k_cpus): ... here. Adjust.
2324 (n_arches): Remove.
2325 (md_pseudo_table): Add arch and cpu directives.
2326 (find_cf_chip, m68k_ip): Adjust table scanning.
2327 (no_68851, no_68881): Remove.
2328 (md_assemble): Lazily initialize.
2329 (select_control_regs): Adjust cpu names. Add 5208, 5213, 5329.
2330 (md_init_after_args): Move functionality to m68k_init_arch.
2331 (mri_chip): Adjust table scanning.
2332 (md_parse_option): Reimplement 'm' processing to add -march & -mcpu
2333 options with saner parsing.
2334 (m68k_lookup_cpu, m68k_set_arch, m68k_set_cpu, m68k_set_extension,
2335 m68k_init_arch): New.
2336 (s_m68k_cpu, s_m68k_arch): New.
2337 (md_show_usage): Adjust.
2338 (m68k_elf_final_processing): Set CF EF flags.
2339 * config/tc-m68k.h (m68k_init_after_args): Remove.
2340 (tc_init_after_args): Remove.
2341 * doc/c-m68k.texi (M68K-Opts): Document -march, -mcpu options.
2342 (M68k-Directives): Document .arch and .cpu directives.
2343
134dcee5
AM
23442006-02-05 Arnold Metselaar <arnold.metselaar@planet.nl>
2345
a70ae331
AM
2346 * config/tc-z80.c (z80_start_line_hook): allow .equ and .defl as
2347 synonyms for equ and defl.
134dcee5
AM
2348 (z80_cons_fix_new): New function.
2349 (emit_byte): Disallow relative jumps to absolute locations.
a70ae331 2350 (emit_data): Only handle defb, prototype changed, because defb is
134dcee5
AM
2351 now handled as pseudo-op rather than an instruction.
2352 (instab): Entries for defb,defw,db,dw moved from here...
a70ae331 2353 (md_pseudo_table): ... to here, use generic cons() for defw,dw.
134dcee5
AM
2354 Add entries for def24,def32,d24,d32.
2355 (md_assemble): Improved error handling.
2356 (md_apply_fix): New case BFD_RELOC_24, set fixP->fx_no_overflow to one.
2357 * config/tc-z80.h (TC_CONS_FIX_NEW): Define.
2358 (z80_cons_fix_new): Declare.
a70ae331 2359 * doc/c-z80.texi (defb, db): Mention warning on overflow.
134dcee5 2360 (def24,d24,def32,d32): New pseudo-ops.
a70ae331 2361
a9931606
PB
23622006-02-02 Paul Brook <paul@codesourcery.com>
2363
2364 * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
2365
ef8d22e6
PB
23662005-02-02 Paul Brook <paul@codesourcery.com>
2367
2368 * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
2369 T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
2370 T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
2371 T2_OPCODE_RSB): Define.
2372 (thumb32_negate_data_op): New function.
2373 (md_apply_fix): Use it.
2374
e7da6241
BW
23752006-01-31 Bob Wilson <bob.wilson@acm.org>
2376
2377 * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
2378 fields.
2379 * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
2380 * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
2381 subtracted symbols.
2382 (relaxation_requirements): Add pfinish_frag argument and use it to
2383 replace setting tinsn->record_fix fields.
2384 (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
2385 and vinsn_to_insnbuf. Remove references to record_fix and
2386 slot_sub_symbols fields.
2387 (xtensa_mark_narrow_branches): Delete unused code.
2388 (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
2389 a symbol.
2390 (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
2391 record_fix fields.
2392 (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
2393 (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
2394 of the record_fix field. Simplify error messages for unexpected
2395 symbolic operands.
2396 (set_expr_symbol_offset_diff): Delete.
2397
79134647
PB
23982006-01-31 Paul Brook <paul@codesourcery.com>
2399
2400 * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
2401
e74cfd16
PB
24022006-01-31 Paul Brook <paul@codesourcery.com>
2403 Richard Earnshaw <rearnsha@arm.com>
2404
2405 * config/tc-arm.c: Use arm_feature_set.
2406 (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
2407 arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
2408 fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
2409 New variables.
2410 (insns): Use them.
2411 (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
2412 md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
2413 arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
2414 s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
2415 feature flags.
2416 (arm_legacy_option_table, arm_option_cpu_value_table): New types.
2417 (arm_opts): Move old cpu/arch options from here...
2418 (arm_legacy_opts): ... to here.
2419 (md_parse_option): Search arm_legacy_opts.
2420 (arm_cpus, arm_archs, arm_extensions, arm_fpus)
2421 (arm_float_abis, arm_eabis): Make const.
2422
d47d412e
BW
24232006-01-25 Bob Wilson <bob.wilson@acm.org>
2424
2425 * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
2426
b14273fe
JZ
24272006-01-21 Jie Zhang <jie.zhang@analog.com>
2428
2429 * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
2430 in load immediate intruction.
2431
39cd1c76
JZ
24322006-01-21 Jie Zhang <jie.zhang@analog.com>
2433
2434 * config/bfin-parse.y (value_match): Use correct conversion
2435 specifications in template string for __FILE__ and __LINE__.
2436 (binary): Ditto.
2437 (unary): Ditto.
2438
67a4f2b7
AO
24392006-01-18 Alexandre Oliva <aoliva@redhat.com>
2440
2441 Introduce TLS descriptors for i386 and x86_64.
2442 * config/tc-i386.c (tc_i386_fix_adjustable): Handle
2443 BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
2444 BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
2445 (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
2446 BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
2447 displacement bits.
2448 (build_modrm_byte): Set up zero modrm for TLS desc calls.
2449 (lex_got): Handle @tlsdesc and @tlscall.
2450 (md_apply_fix, tc_gen_reloc): Handle the new relocations.
2451
8ad7c533
NC
24522006-01-11 Nick Clifton <nickc@redhat.com>
2453
2454 Fixes for building on 64-bit hosts:
2455 * config/tc-avr.c (mod_index): New union to allow conversion
2456 between pointers and integers.
2457 (md_begin, avr_ldi_expression): Use it.
2458 * config/tc-i370.c (md_assemble): Add cast for argument to print
2459 statement.
2460 * config/tc-tic54x.c (subsym_substitute): Likewise.
2461 * config/tc-mn10200.c (md_assemble): Use a union to convert the
2462 opindex field of fr_cgen structure into a pointer so that it can
2463 be stored in a frag.
2464 * config/tc-mn10300.c (md_assemble): Likewise.
2465 * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
2466 types.
2467 * config/tc-v850.c: Replace uses of (int) casts with correct
2468 types.
2469
4dcb3903
L
24702006-01-09 H.J. Lu <hongjiu.lu@intel.com>
2471
2472 PR gas/2117
2473 * symbols.c (snapshot_symbol): Don't change a defined symbol.
2474
e0f6ea40
HPN
24752006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
2476
2477 PR gas/2101
2478 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
2479 a local-label reference.
2480
e88d958a 2481For older changes see ChangeLog-2005
08d56133
NC
2482\f
2483Local Variables:
2484mode: change-log
2485left-margin: 8
2486fill-column: 74
2487version-control: never
2488End:
This page took 0.372181 seconds and 4 git commands to generate.