2009-10-19 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2009-10-19 H.J. Lu <hongjiu.lu@intel.com>
2
3 * doc/c-i386.texi: Don't mention the 8 extra control registers
4 for x86-64.
5
6 2009-10-19 Doug Evans <dje@sebabeach.org>
7
8 * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.
9
10 * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is set
11 correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc
12 isn't recognized, not BFD_RELOC_XC16X_SOF.
13
14 2009-10-18 Alan Modra <amodra@bigpond.net.au>
15
16 * as.h (know): Don't define as empty.
17 * config/tc-arm.c (make_mapping_symbol): Revert last patch.
18
19 2009-10-18 Matthias Klose <doko@ubuntu.com>
20
21 * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
22 in release builds.
23
24 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>
25
26 PR gas/10775
27 * doc/c-i386.texi: Mention the 8 extra control registers for
28 x86-64.
29 Mention .code64 directive.
30
31 2009-10-15 Alan Modra <amodra@bigpond.net.au>
32
33 PR gas/1491
34 * macro.c: Delete unnecessary function declarations.
35 (buffer_and_nest): Support multiple labels per line for
36 LABELS_WITHOUT_COLONS targets if the labels do have colons.
37 (free_macro): Move so that we don't need forward declaration.
38 * read.c (read_a_source_file): Take a copy of macro expansion line
39 before we trim labels.
40 * listing.c (listing_newline): Adjust stdin line save for
41 input_line_pointer still at start of line.
42
43 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR gas/10766
46 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
47
48 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
49
50 PR gas/10740
51 * config/tc-i386-intel.c (i386_intel_operand): Handle call
52 and jump with 2 immediate operands.
53
54 * config/tc-i386.c (i386_finalize_immediate): Don't generate
55 error message if operand string is NULL.
56
57 2009-10-013 Vincent Riviere <vincent.riviere@freesbee.fr>
58
59 PR gas/3041
60 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations
61 located in data section an referencing a weak symbol.
62
63 2009-10-07 Nathan Sidwell <nathan@codesourcery.com>
64
65 * config/tc-arm.c (mapping_state, mapping_state_2): Make dummy
66 versions slightly more than nothing.
67
68 * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.
69
70 2009-10-07 Alan Modra <amodra@bigpond.net.au>
71 H.J. Lu <hongjiu.lu@intel.com>
72
73 PR gas/2117
74 * config/tc-ia64.c (parse_operand): Use expression rather than
75 expression_and_evalute.
76 (parse_operand_and_eval): New function. Replace all uses of
77 parse_operand outside of parse_operands with this function.
78 (parse_operans_maybe_eval): New function. Replace uses of
79 parse_operand in parse_operands, except for the dummy, with
80 this function.
81
82 2009-10-06 Alan Modra <amodra@bigpond.net.au>
83
84 PR gas/10704
85 * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
86
87 2009-10-06 Alan Modra <amodra@bigpond.net.au>
88
89 * read.c (s_reloc): Don't use expression_and_evaluate.
90
91 2009-10-02 Peter Bergner <bergner@vnet.ibm.com>
92
93 * config/tc-ppc.c (md_show_usage): Document -m476.
94 * doc/c-ppc.texi (PowerPC-Opts): Document -m476.
95
96 2009-10-02 Jakub Jelinek <jakub@redhat.com>
97
98 * dw2gencfi.c: Include dwarf2dbg.h.
99 (DWARF2_FORMAT): Define if not defined.
100 (dot_cfi_sections): New function.
101 (cfi_pseudo_table): Handle .cfi_sections.
102 (CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
103 (cfi_sections): New variable.
104 (output_cie, output_fde, select_cie_for_fde): Add eh_frame
105 argument, add supporting for outputting .debug_frame
106 section.
107 (cfi_change_reg_numbers): New function or macro.
108 (cfi_finish): Only emit .eh_frame if
109 cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
110 cfi_sections & CFI_EMIT_debug_frame.
111 * config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
112 * doc/as.texinfo (CFI directives): Document .cfi_sections.
113
114 2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
115
116 * config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
117 * doc/c-ppc.texi (PowerPC-Opts): Likewise.
118
119 2009-10-01 H.J. Lu <hongjiu.lu@intel.com>
120
121 * config/tc-i386.c (x86_cons): Reformat.
122
123 2009-09-29 DJ Delorie <dj@redhat.com>
124
125 * Makefile.am: Add RX target.
126 * configure.in: Likewise.
127 * configure.tgt: Likewise.
128 * read.c (do_repeat_with_expander): New function.
129 * read.h: Provide a prototype for do_repeat_with_expander.
130 * doc/Makefile.am: Add RX target documentation.
131 * doc/all.texi: Likewise.
132 * doc/as.texinfo: Likewise.
133 * Makefile.in: Regenerate.
134 * NEWS: Mention support for RX architecture.
135 * configure: Regenerate.
136 * doc/Makefile.in: Regenerate.
137 * config/rx-defs.h: New file.
138 * config/rx-parse.y: New file.
139 * config/tc-rx.h: New file.
140 * config/tc-rx.c: New file.
141 * doc/c-rx.texi: New file.
142
143 2009-09-25 Martin Thuresson <martint@google.com>
144
145 Update sources to make alpha, arc and arm targets compile cleanly
146 with -Wc++-compat:
147 * config/tc-alpha.c: Add casts.
148 (extended_bfd_reloc_code_real_type): New type. Used to avoid
149 enumeration conversion warnings.
150 (struct alpha_fixup, void assemble_insn, assemble_insn)
151 (assemble_tokens): Use new type.
152 * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
153 * config/obj-elf.c: Add cast
154 * config/tc-arc.c: Add casts.
155 * config/obj-aout.h (text_section,data_section,bss_section):
156 Make extern.
157 * config/obj-elf.c: Add cast.
158 * config/tc-arm.c: Add casts.
159 (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
160 (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
161 need for keywords as arguments.
162
163 2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
164
165 * doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
166 entries
167
168 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
169
170 * config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
171 of vex256.
172
173 2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
174
175 PR gas/10677
176 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
177 for BFD_RELOC_X86_64_GOTPCREL.
178
179 2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
180
181 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
182 BFD_RELOC_386_GOT32.
183
184 2009-09-23 Sterling Augustine <sterling@jaw.hq.tensilica.com>
185
186 * config/tc-xtensa.c (md_apply_fix): Remove check for constant with
187 difference of of two symbols.
188 (xtensa_fix_adjustable): Likewise.
189
190 2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
191
192 * configure.com: Fix a typo.
193
194 2009-09-23 Alan Modra <amodra@bigpond.net.au>
195
196 * symbols.c (define_sym_at_dot): New function, extracted from..
197 (colon): ..here. Define error case cloned symbol.
198
199 2009-09-21 H.J. Lu <hongjiu.lu@intel.com>
200
201 * config/tc-i386.c: Remove white spaces.
202
203 2009-09-21 Ben Elliston <bje@au.ibm.com>
204 Peter Bergner <bergner@vnet.ibm.com>
205
206 * config/tc-ppc.c (md_show_usage): Document -mpcca2.
207 * doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
208
209 2009-09-18 Nick Clifton <nickc@redhat.com>
210
211 * po/es.po: Updated Spanish translation.
212
213 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
214
215 * config/tc-i386.c (offset_in_range): Sign extend offset only
216 if BFD64 is defined.
217
218 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
219
220 * config/tc-i386-intel.c (i386_intel_operand): Initialize
221 intel_state.has_offset to 0.
222
223 2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
224
225 * config/tc-i386.c (offset_in_range): Sign extend offset only
226 for 32bit address mode.
227
228 2009-09-15 Tristan Gingold <gingold@adacore.com>
229
230 * makefile.vms (OBJS): Compile te-vms.c only on Itanium.
231
232 2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
233
234 PR gas/10637
235 * config/tc-i386-intel.c (intel_state): Add has_offset.
236 (i386_intel_simplify): Set intel_state.has_offset to 1 for
237 O_offset.
238 (i386_intel_operand): Turn on intel_state.is_mem if
239 intel_state.has_offset is 0 and the last char is ']'.
240
241 2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
242
243 PR gas/10636
244 * config/tc-i386.c (optimize_disp): Set disp32 for 64bit only
245 if there is an ADDR_PREFIX.
246 (i386_finalize_displacement): Repor error if signed 32bit
247 displacement is out of range.
248
249 2009-09-13 Richard Sandiford <rdsandiford@googlemail.com>
250
251 * config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
252 Require the target to be a bare symbol on targets with
253 in-place addends.
254 (macro_build_jalr): Update accordingly.
255 (mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
256 with in-place addends.
257
258 2009-09-11 Nick Clifton <nickc@redhat.com>
259
260 * po/gas.pot: Updated by the Translation project.
261
262 2009-09-11 Martin Thuresson <martint@google.com>
263
264 * as.c (main): Call dwarf2_init.
265 * config/obj-elf.c (struct group_list): New field.
266 (build_group_lists): Use hash lookup.
267 (free_section_idx): New function.
268 (elf_frob_file): Adjust.
269 * dwarf2dbg.c (all_segs_hash, last_seg_ptr): New variables.
270 (get_line_subseg): Adjust.
271 (dwarf2_init): New function.
272 * dwarf2dbg.h (dwarf2_init): New declaration.
273
274 2009-09-11 Martin Thuresson <martint@google.com>
275
276 Updated sources to compile cleanly with -Wc++-compat:
277 * app.c: Add casts.
278 * as.c: Add casts.
279 * config/obj-elf.c: Add casts.
280 (obj_elf_type): Rename variable typename to type_name.
281 * config/tc-i386-intel.c (i386_operators): Rename member operator to op.
282 * config/tc-i386.c: Add casts.
283 (check_cpu_arch_compatible): Rename argument new to new_flag.
284 (gotrel): Update variable to use enum name instead of integer value.
285 * dw2gencfi.c: Add casts.
286 (struct cfi_escape_data): Move to top level.
287 * dwarf2dbg.c: Add cast.
288 * dwarf2dbg.h (dwarf2_loc_directive_seen): Make variable extern.
289 * ehopt.c Add casts.
290 (enum frame_state): Move to top level.
291 * expr.c (operatorf): Rename function operator to operatorf.
292 (operand): Rename variable operator to op.
293 (expr_set_rank): Rename argument operator to op.
294 * frags.c: Add cast.
295 * hash.c: Add casts.
296 * input-scrub.c: Add cast.
297 * listing.c: Add casts.
298 (enum edict_enum): Move to top level.
299 * macro.c: Add casts.
300 * macro.h (enum formal_type): Move to top level.
301 * read.c: Add casts.
302 (s_include): Rename variable try to try_file.
303 * remap.c: Add cast.
304 * stabs.c: Add casts.
305 * subsegs.c: Add casts.
306 * symbols.c: Add casts.
307 * write.c: Add casts.
308
309 2009-09-11 Hans-Peter Nilsson <hp@bitrange.com>
310
311 PR gas/10623
312 * config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
313 Allow register operands for SWYM as for TRIP and TRAP. Correct
314 operand handling and error checking. Never emit
315 BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
316
317 2009-09-10 Alan Modra <amodra@bigpond.net.au>
318
319 * config/tc-d10v.c: Include dwarf2dbg.h.
320 (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
321 (d10v_frob_label): New function.
322 * config/tc-d10v.h (d10v_frob_label): Declare.
323 (tc_frob_label): Define as d10v_frob_label.
324
325 2009-09-10 Alan Modra <amodra@bigpond.net.au>
326
327 * config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
328 * config/tc-frv.c (frv_frob_label): Likewise.
329
330 2009-09-09 Alan Modra <amodra@bigpond.net.au>
331
332 * config/obj-coff.h (USE_UNIQUE): Don't define.
333 * config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
334 * symbols.c (an_external_name): Define when TE_PE.
335 (S_SET_EXTERNAL): Assign an_external_name when TE_PE.
336 * tc.h (an_external_name): Declare when TE_PE.
337
338 * config/tc-i386.c (i386_target_format): Avoid duplicate case label.
339
340 2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
341
342 * configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
343
344 2009-09-08 Alan Modra <amodra@bigpond.net.au>
345
346 * read.c (emit_expr_fix): Handle size 3.
347 * config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
348 * config/tc-d30v.c (write_long, write_1_short,
349 write_2_short, md_assemble): Likewise.
350 * config/tc-dlx.c (md_assemble): Likewise.
351 * config/tc-i860.c (md_assemble): Likewise.
352 * config/tc-mn10200.c (md_assemble): Likewise.
353 * config/tc-pj.c (md_assemble): Likewise.
354 * config/tc-vax.c (md_assemble): Likewise.
355
356 2009-09-07 Daniel Gutson <dgutson@codesourcery.com>
357
358 * config/tc-arm.c (arm_cpus): cortex-r4f CPU added.
359 * doc/c-arm.texi: cortex-r4f CPU added.
360
361 2009-09-07 Tristan Gingold <gingold@adacore.com>
362
363 * po/POTFILES.in: Regenerate.
364 * po/gas.pot: Regenerate.
365
366 * Makefile.am (TARG_ENV_CFILES): New variable. Set to te-vms.c
367 (POTFILES): Add $(TARG_ENV_CFILES) in definition.
368 (EXTRA_as_new_SOURCES): Ditto.
369 * Makefile: Regenerate.
370 * acinclude.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
371 BFD_HAVE_SYS_STAT_TYPE_MEMBER): New macro created from bfd/bfd.m4.
372 * configure.in: Add Tests for tm_gmtoff, st_mtim.tv_sec and
373 st_mtim.tv_nsec (from bfd/configure.in). Check for time.h and
374 sys/stat.h headers.
375 Add te-vms.o in extra_objects if te_file is vms.
376 * configure: Regenerate.
377 * config.in: Regenerate.
378 * config/te-vms.c: New file, from bfd/vmsutil.c
379 (vms_dwarf2_file_time_name, vms_dwarf2_file_size_name)
380 (vms_dwarf2_file_name): New functions.
381 (vms_file_stats_name): Make it static, add a dirname parameter to
382 locally create the full pathname.
383 * config/te-vms.h: Add a copyright header.
384 Declare the above functions.
385 (DWARF2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILE_NAME): Use
386 the above functions in the definition.
387 * makefile.vms (OBJS): Add te-vms.obj.
388 (te-vms.obj): Create a specific target.
389 * configure.com: Create targ-env.h using a per target value.
390 Compile te-vms.c for ia64.
391
392 2009-09-05 Jie Zhang <jie.zhang@analog.com>
393
394 * doc/as.texinfo: Document that Blackfin GAS does not
395 accept SYMBOL = VALUE.
396
397 2009-09-05 Martin Thuresson <martin@mtme.org>
398
399 * config/tc-arc.c (struct syntax_classes): Rename member class
400 to s_class. (arc_extinst): Rename variable class to
401 s_class. Update code to use renamed members.
402 * config/tc-mips.c (insn_uses_reg): Rename argument class to
403 regclass.
404 * config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
405 (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
406 (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
407 members.
408 * config/tc-ppc.h (struct ppc_tc_sy): Change name of member
409 from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
410 code to use renamed members.
411 * config/tc-score.c (s3_adjust_paritybit): Rename argument
412 class to i_class.
413 * config/tc-score7.c (s7_adjust_paritybit): Rename argument
414 class to i_class.
415
416 2009-09-04 Tristan Gingold <gingold@adacore.com>
417
418 * NEWS: Add marker for 2.20.
419
420 2009-09-04 Jie Zhang <jie.zhang@analog.com>
421
422 * config/bfin-parse.y (asm_1): Implement HLT instruction.
423 Fix comments for DBGA, DBGAH and DBGAL.
424 * config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
425 to the new encoding of DBGA, DBGAH, and DBGAL.
426
427 2009-09-04 Jie Zhang <jie.zhang@analog.com>
428
429 * doc/all.texi: Replace BFIN with Blackfin.
430 * doc/as.texinfo: Likewise.
431 * doc/c-bfin.texi: Likewise.
432 * doc/asconfig.texi: Likewise.
433
434 * doc/c-bfin.texi: Update -mcpu= option with bf512, bf514,
435 bf516 and bf518.
436
437 2009-09-04 Jie Zhang <jie.zhang@analog.com>
438
439 * Makefile.am (bfin-parse.o): Remove bfin-parse.h from
440 the prerequisite. Add $(srcdir)/config/bfin-aux.h to the
441 prerequisite.
442 (bfin-defs.h, $(srcdir)/config/bfin-defs.h): Rename to ...
443 (bfin-parse.h, $(srcdir)/config/bfin-parse.h): ... these.
444 (bfin-lex.o): Add bfin-parse.h and $(srcdir)/config/bfin-defs.h
445 to the prerequisite.
446 * Makefile.in: Regenerate.
447
448 2009-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
449
450 * Makefile.am (itbl-lex.o): Depend on itbl-parse.h.
451 (itbl-ops.o, itbl-tops.o): Likewise.
452 (itbl-parse.h): Use separate rule.
453 * Makefile.in: Regenerate.
454
455 2009-09-03 Jie Zhang <jie.zhang@analog.com>
456
457 * config/tc-bfin.c (md_parse_option): Call as_fatal for bad
458 -mcpu= option.
459
460 2009-09-03 Jie Zhang <jie.zhang@analog.com>
461
462 * config/bfin-lex.l: Remove V as STATUS_REG.
463
464 2009-09-03 Jie Zhang <jie.zhang@analog.com>
465
466 * config/bfin-parse.y: Remove trailing whitespace.
467 (ccstat): Indent.
468 * config/tc-bfin.c (struct bfin_reg_entry): Remove.
469 (bfin_reg_info[]): Remove.
470
471 2009-09-03 Jie Zhang <jie.zhang@analog.com>
472
473 * config/bfin-defs.h (F_REG_ALL): Remove macro.
474 (F_REG_HIGH): Redefine.
475 (F_REG_NONE): New macro.
476 (F_REG_LOW): New macro.
477 (REG_CLASS): Enclose macro argument in parentheses when used.
478 (REG_EVEN): Likewise.
479 (IS_H): Use flags.
480 (IS_HCOMPL): Use flags.
481 * config/bfin-lex.l (SP.L, SP.H, FP.L, FP.H): Set flags.
482 (parse_reg): Set flags.
483 (parse_halfreg): Set flags.
484
485 2009-09-03 Jie Zhang <jie.zhang@analog.com>
486
487 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
488 05000074 only when both slot1 and slot2 are filled.
489
490 2009-09-03 Jie Zhang <jie.zhang@analog.com>
491
492 * config/tc-bfin.c (md_assemble): Bump line counters if there is
493 EOL in the instruction.
494
495 2009-09-03 Jie Zhang <jie.zhang@analog.com>
496
497 * config/bfin-defs.h (IS_GENREG): Define.
498 (IS_DAGREG): Define.
499 (IS_SYSREG): Define.
500 * config/bfin-parse.y (asm_1): Check illegal register move
501 instructions.
502
503 2009-09-03 Jie Zhang <jie.zhang@analog.com>
504
505 * config/bfin-parse.y (asm_1): Fix a typo.
506
507 2009-09-03 Jie Zhang <jie.zhang@analog.com>
508
509 * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
510 * config/tc-bfin.c (bfin_start_line_hook): Remove.
511 (bfin_loop_beginend): New.
512 * config/tc-bfin.h (bfin_start_line_hook): Don't declare.
513 (md_start_line_hook): Don't define.
514 * config/bfin-aux.h (bfin_loop_beginend): Declare.
515
516 2009-09-03 Tristan Gingold <gingold@adacore.com>
517
518 * config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
519 Call xstrdup on the result and free the buffer after use.
520
521 2009-09-03 Tristan Gingold <gingold@adacore.com>
522
523 * as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
524
525 2009-09-02 Jie Zhang <jie.zhang@analog.com>
526
527 * config/bfin-parse.y (value_match): Use int instead of long.
528
529 From Michael Frysinger <michael.frysinger@analog.com>
530 * config/bfin-defs.h (Expr_Node_Value): Declare the i_value
531 member as long long.
532
533 2009-09-02 Jie Zhang <jie.zhang@analog.com>
534
535 From Bernd Schmidt <bernd.schmidt@analog.com>
536 * config/bfin-parse.y (asm_1): Clean up and unify error handling
537 for load and store insns.
538 (neg_value): Delete function.
539
540 2009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
541
542 * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o):
543 Supply correct source file name for generated files which may be
544 in $(srcdir).
545 * Makefile.in: Regenerate.
546
547 2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
548
549 * version.c (parse_args): Change to "Copyright 2009".
550
551 2009-09-01 Tristan Gingold <gingold@adacore.com>
552
553 * makefile.vms: Adjust include pathes. Remove useless vaxctrl
554 library.
555 * configure.com: Ported to Itanium VMS. Create build.com DCL script.
556 Make edit silent.
557
558 2009-09-01 Jie Zhang <jie.zhang@analog.com>
559
560 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
561 in comparison.
562
563 2009-09-01 Jie Zhang <jie.zhang@analog.com>
564
565 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
566 * config/tc-bfin.c (bfin_fix_adjustable): Partially revert the
567 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable.
568
569 2007-08-23 Jie Zhang <jie.zhang@analog.com>
570 * config/tc-bfin.c (bfin_fix_adjustable): Adjust
571 BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and
572 BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
573
574 2009-09-01 Jie Zhang <jie.zhang@analog.com>
575
576 * read.c (TC_START_LABEL): Add a new argument.
577 (read_a_source_file): Pass the beginning of the symbol through
578 the new argument of TC_START_LABEL.
579 * config/tc-arm.h (TC_START_LABEL): Add a new argument.
580 * config/tc-bfin.c (bfin_start_label): Only search '(' and '['
581 from the beginning of the symbol.
582 * config/tc-bfin.h (TC_START_LABEL): Add the new argument.
583 * config/tc-d30v.h (TC_START_LABEL): Likewise.
584 * config/tc-fr30.h (TC_START_LABEL): Likewise.
585 * config/tc-m32c.h (TC_START_LABEL): Likewise.
586 * config/tc-m32r.h (TC_START_LABEL): Likewise.
587 * config/tc-mep.h (TC_START_LABEL): Likewise.
588
589 2009-08-31 H.J. Lu <hongjiu.lu@intel.com>
590
591 PR gas/10570
592 * write.c (write_object_file): Revert the accidental change
593 made in revision 1.124 on 2009-08-17.
594
595 2009-08-31 Jan Beulich <jbeulich@novell.com>
596
597 * config/obj-elf.c (obj_elf_change_section): Set default type
598 by calling bfd_elf_get_default_section_type.
599
600 2009-08-31 Jie Zhang <jie.zhang@analog.com>
601
602 * config/bfin-aux.h: Change format from DOS to UNIX.
603
604 2009-08-29 Martin Thuresson <martin@mtme.org>
605
606 * config/tc-arm.c (struct asm_cond, struct asm_psr, struct
607 asm_barrier_opt): Change member template to
608 template_name. (md_begin): Update code to reflect new member
609 names.
610 * config/tc-i386.c (struct templates, struct _i386_insn)
611 (match_template, cpu_flags_match, match_reg_size, match_mem_size)
612 (operand_size_match, md_begin, i386_print_statistics, pi)
613 (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
614 (optimize_disp): Updated code to use new names. (parse_insn):
615 Added casts.
616 * config/tc-ia64.c (dot_template, emit_one_bundle): Updated
617 code to use new names.
618 * config/tc-score.c (struct s3_asm_opcode): Renamed member
619 template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
620 s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
621 use new names.
622 * config/tc-score7.c (struct s7_asm_opcode): Renamed member
623 template to template_name. (s7_parse_16_32_inst,
624 s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
625 use new names.
626 * config/tc-tic30.c (md_begin, struct tic30_insn)
627 (md_assemble): Update code to use new names.
628 * config/tc-tic54x.c (struct _tic54x_insn, md_begin)
629 (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
630 Update code to use new names.
631 * config/tc-arm.c (insert_reg_alias): Rename variable new to
632 new_reg.
633 * config/tc-dlx.c (parse_operand): Rename variable new to
634 new_pos.
635 * config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
636 new to newr.
637 * config/tc-mcore.c (parse_exp, parse_imm): Rename variable
638 new to new_pointer.
639 * config/tc-microblaze.c (parse_exp, parse_imm, check_got):
640 Change name from new to new_pointer.
641 * config/tc-or32.c (parse_operand): Rename variable new to
642 new_pointer.
643 * config/tc-pdp11.c (md_assemble): Rename variable new to
644 new_pointer.
645 * config/tc-pj.c (alias): Change argument new to new_name.
646 * config/tc-score.c (s3_build_score_ops_hsh): Rename variable
647 new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
648 new to new_i2n. (s3_convert): Rename variables old and new to
649 r_old and r_new.
650 * config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
651 new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
652 new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
653 variables old and new to r_old and r_new.
654 * config/tc-sh.c (parse_exp): Rename variable new to
655 new_pointer.
656 * config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
657 new_pointer.
658 * config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
659 to new_pointer.
660 * config/tc-z8k.c (parse_exp): Rename variable new to
661 new_pointer.
662 * listing.c (listing_newline): Rename variable new to new_i.
663
664 2009-08-29 Matt Fleming <matt@console-pimps.org>
665
666 * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
667 for 64-bit host.
668
669 2009-08-28 H.J. Lu <hongjiu.lu@intel.com>
670
671 * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om".
672 (i386_align_code): Handle PROCESSOR_L1OM.
673 (check_cpu_arch_compatible): Fix a typo in comments.
674 (set_cpu_arch): Check cpu_arch_isa instead of
675 cpu_arch_isa_flags.bitfield.cpul1om.
676 (i386_mach): Likewise.
677 (i386_target_format): Likewise.
678
679 * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM.
680
681 2009-08-26 DJ Delorie <dj@redhat.com>
682
683 * config/tc-mep.c (md_pcrel_from_section): Handle any other
684 forced-relocation cases.
685
686 2009-08-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
687
688 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c.
689 * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix
690 syntax error.
691 * Makefile.in: Regenerate.
692 * po/POTFILES.in: Likewise.
693 * po/gas.pot: Likewise.
694
695 2009-08-26 Nick Clifton <nickc@redhat.com>
696
697 * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
698 seh_ctx_root being NULL.
699
700 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
701
702 * Makefile.am (am__skiplex, am__skipyacc): New.
703 * Makefile.in: Regenerate.
704
705 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
706
707 * Makefile.am (YFLAGS): Remove, not needed any more.
708 (AM_CPPFLAGS): Renamed from ...
709 (INCLUDES): ... this.
710 * Makefile.in: Regenerate.
711
712 * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
713 foreign and no-dist.
714 (all): Remove now-unneeded dependency upon info.
715 (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
716 (DEP_FILE_DEPS): Remove variables.
717 (OBJ_FORMAT_CFILES): Add config/obj-multi.c.
718 (OBJ_FORMAT_HFILES): Add config/obj-multi.h.
719 ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
720 ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
721 (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
722 (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
723 (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
724 now-unneeded rules.
725 (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
726 $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
727 $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
728 are picked up in the Makefile.
729 (itbl-lex.c, itbl-ops.o): Remove manual dependencies.
730 (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
731 (itbl-test.o): Rewrite using automake-style dependency
732 tracking rules; only list the dependency upon the primary source
733 file, but no included headers.
734 (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
735 Remove.
736 (mkdep section): Remove.
737 * Makefile.in: Regenerate.
738 * po/POTFILES.in, po/gas.pot: Regenerate.
739
740 * Makefile.am (install-pdf, install-pdf-recursive, install-html)
741 (install-html-recursive): Remove.
742 * Makefile.in: Regenerate.
743 * doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
744 (html__strip_dir, install-html, install-html-am): Remove.
745 * doc/Makefile.in: Regenerate.
746
747 * Makefile.in: Regenerate.
748 * aclocal.m4: Likewise.
749 * config.in: Likewise.
750 * configure: Likewise.
751 * doc/Makefile.in: Likewise.
752
753 2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
754
755 * config/tc-xtensa.c (config_max_slots): New global variable.
756 (md_begin): Set config_max_slots.
757 (total_frag_text_expansion): Use config_max_slots instead of
758 MAX_SLOTS.
759 (xg_init_vinsn): Likewise.
760 (xg_clear_vinsn): Likewise.
761 (xg_free_vinsn): Likewise.
762
763 2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
764
765 * config/tc-xtensa.c (xg_copy_vinsn): New function.
766 (finish_vinsn): Call xg_copy_vinsn.
767
768 2009-08-19 Sterling Augustine <sterling@tensilica.com>
769
770 * config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
771 to no_transform_end.
772 * config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
773 and use no_transform_end.
774
775 2009-08-18 Kai Tietz <kai.tietz@onevision.com>
776
777 * config/obj-coff-seh.c: Add copyright notice.
778 * config/obj-coff-seh.h: Add copyright notice.
779 Add x64 specific macros from coff/pe.h header.
780
781 2009-08-18 Sterling Augustine <sterling@tensilica.com>
782
783 * config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
784 sizeof instead of hard-coded value.
785 (add_xt_block_frags): Remove unused local variable.
786 (frag_flags_to_number): Change return type to flagword. Remove
787 unused local variable.
788
789 2009-08-17 Sterling Augustine <sterling@tensilica.com>
790
791 * config/tc-xtensa.c (xtensa_frob_label): move call to
792 do_align_targets to set frag_type only.
793
794 2009-08-17 Kai Tietz <kai.tietz@onevision.com>
795
796 * config/obj-coff-seh.c: New file.
797 * config/obj-coff-seh.h: Likewise.
798 * config/obj-coff.c (obj-coff-seh.c): Add include.
799 (coff_pseudo_table): Add new .seh... commands.
800 * config/obj-coff.h (obj_coff_seh_do_final): Add new
801 function prototype.
802 (obj_coff_generate_pdata): New obj-coff hook.
803 * write.c (size_seg): Avoid sizing of already sized
804 sections.
805 (write_object_file): Call conditional hook
806 objc_coff_generate_pdata.
807 * Makefile.am: Add dependencies for new files.
808 * Makefile.in: Regenerated.
809
810 2009-08-17 Nick Clifton <nickc@redhat.com>
811
812 * config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
813 (parse_reg): Use safe-ctype.h macros.
814 (parse_exp): Likewise.
815 (md_assemble): Likewise.
816
817 2009-08-11 DJ Delorie <dj@redhat.com>
818
819 * config/tc-mep.c (md_estimate_size_before_relax): Handle weak
820 symbols correctly.
821 (md_convert_frag): Likewise.
822 (md_pcrel_from_section): Likewise.
823 (mep_force_relocation): Likewise.
824
825 2009-08-11 Bernd Schmidt <bernd.schmidt@analog.com>
826
827 * config/bfin-parse.y (gen_multi_instr_1): New function.
828 (asm): Use it instead of bfin_gen_multi_instr.
829 (error): Add a format string when calling as_bad.
830 * config/bfin-defs.h (insn_regmask): Declare.
831 * config/tc-bfin.c (DREG_MASK, DREGH_MASK, DREGL_MASK, IREG_MASK): New
832 macros.
833 (decode_ProgCtrl_0, decode_LDSTpmod_0, decode_dagMODim_0,
834 decode_dagMODik_0, decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0,
835 decode_LDSTii_0, decode_dsp32mac_0, decode_dsp32mult_0,
836 decode_dsp32alu_0, decode_dsp32shift_0, decode_dsp32shitimm_0,
837 insn_regmask): New functions.
838
839 From Jie Zhang <jie.zhang@analog.com>
840 * config/tc-bfin.h (bfin_anomaly_checks): Declare.
841 (AC_05000074): Define.
842 (ENABLE_AC_05000074): Define.
843 * config/tc-bfin.c (enum bfin_cpu_type): New.
844 (bfin_cpu_t): Typedef.
845 (bfin_cpu_type): Define.
846 (bfin_si_revision): Define.
847 (bfin_anomaly_checks): Define.
848 (struct bfin_cpu): New.
849 (bfin_cpus[]): New. (struct bfin_cpu_isa): Define.
850 (bfin_isa): New global variable.
851 (OPTION_MCPU): Define.
852 (md_longopts[]): Add -mcpu option.
853 (md_parse_option): Deal with -mcpu option and initialize
854 bfin_anomaly_checks.
855 * doc/c-bfin.texi: Rename BFIN to Blackfin throughout. Document
856 -mcpu option.
857 * config/bfin-parse.y (gen_multi_instr_1): Check anomaly
858 05000074.
859
860 2009-08-11 Mike Frysinger <vapier@gentoo.org>
861
862 * config/bfin-parse.y (binary): Change "compiler" to "assembler".
863 (unary): Likewise.
864
865 2009-08-11 Nick Clifton <nickc@redhat.com>
866
867 PR 10443
868 * config/tc-arm.c (do_t_mov_cmp): Do not silently ignore shifted
869 operands.
870
871 2009-08-10 Jan Kratochvil <jan.kratochvil@redhat.com>
872
873 Fix compilation of i386-*-go32.
874 * config/tc-i386.c (i386_target_format <TE_GO32>): New.
875 (i386_target_format <OBJ_MAYBE_COFF>): Compile only if !TE_GO32.
876 * config/te-go32.h (TARGET_FORMAT): Move the definition ...
877 * config/tc-i386.h <!i386_target_format>: ... here.
878
879 2009-08-10 Daniel Gutson <dgutson@codesourcery.com>
880
881 PR gas/10479
882 * config/tc-arm.c (do_t_add_sub_w): Fixed constraints.
883
884 2009-08-07 Daniel Jacobowitz <dan@codesourcery.com>
885
886 * config/tc-arm.c (marked_pr_dependency, mapstate): Delete global
887 variables.
888 (mapping_state): Use the section's mapstate.
889 (mapping_state_2): Likewise. Skip special sections.
890 (s_arm_unwind_fnend): Use the section's marked_pr_dependency.
891 (arm_elf_change_section): Do not set deleted globals.
892 * config/tc-arm.h (struct arm_segment_info_type): Document
893 marked_pr_dependency.
894
895 2009-08-07 Michael Eager <eager@eagercon.com>
896
897 * NEWS: Mention MicroBlaze support.
898
899 2009-08-06 Michael Eager <eager@eagercon.com>
900
901 * Makefile.am: add microblaze to CPU_TYPES, config/tc-microblaze.c to
902 TARGET_CPU_CFILES, config/tc-microblaze.h to TARGET_CPU_HFILES, add
903 DEP_microblaze_elf target.
904 * Makefile.in: Regenerate.
905 * config/tc-microblaze.c: Add MicroBlaze assembler.
906 * config/tc-microblaze.h: Add header for tc-microblaze.c.
907 * configure.in: Add microblaze target.
908 * configure: Regenerate.
909 * configure.tgt: Same.
910 * doc/Makefile.am: Add c-microblaze.texi to CPU_DOCS.
911 * doc/Makefile.in: Same.
912 * doc/all.texi: Set MICROBLAZE.
913 * doc/as.texinfo: Add MicroBlaze doc links.
914 * doc/c-microblaze.texi: New MicroBlaze docs.
915
916 2009-08-06 Nick Clifton <nickc@redhat.com>
917
918 * config/tc-arm.c (md_assemble): Call mapping_state from inside a
919 block in case it is a null macro.
920
921 2009-08-05 Chao-ying Fu <fu@mips.com>
922
923 * config/tc-mips.c (MIPS_JALR_HINT_P): New define. For IRIX, it is
924 true for new abi. For non-IRIX targets, it is always true.
925 (macro_build_jalr): If MIPS_JALR_HINT_P, emit BFD_RELOC_MIPS_JALR.
926
927 2009-08-05 Eric B. Weddington <eric.weddington@atmel.com>
928
929 * config/tc-avr.c (mcu_types): Add attiny2313a, attiny4313, attiny261a,
930 attiny861a, atmega644pa, attiny24a, attiny44a.
931 * doc/c-avr.texi: Likewise.
932
933 2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
934
935 * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
936 * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
937
938 2009-08-04 Nathan Sidwell <nathan@codesourcery.com>
939
940 * config/tc-arm.c (my_get_expression): Detect missing expressions.
941
942 2009-08-02 Eric B. Weddington <eric.weddington@atmel.com>
943
944 * config/tc-avr.c (mcu_types): Add atmega8m1, atmega8c1, atmega16c1.
945 * doc/c-avr.texi: Likewise.
946
947 2009-08-01 Eric B. Weddington <eric.weddington@atmel.com>
948
949 * config/tc-avr.c (mcu_types): Add atmega8u2, atmega16u2, atmega32u2.
950 * doc/c-avr.texi: Likewise.
951
952 2009-07-31 Daniel Gutson <dgutson@codesourcery.com>
953 Daniel Jacobowitz <dan@codesourcery.com>
954
955 * config/obj-elf.c (obj_elf_ident): Notify section change to the hook.
956 * config/tc-arm.c (make_mapping_symbol): New function, from
957 mapping_state. Save mapping symbols in the frag.
958 (insert_data_mapping_symbol): New.
959 (mapping_state): Use make_mapping_symbol, improve state transitions.
960 (mapping_state_2): New. Provide dummy definition.
961 (opcode_select): Do not call mapping_state.
962 (s_bss): Call md_elf_section_change_hook instead of mapping_state.
963 (output_inst): Update use of tc_frag_data.
964 (new_automatic_it_block): Call mapping_state before emitting the
965 IT instruction.
966 (md_assemble): Move mapping_state to just before outputting the
967 new instruction.
968 (arm_handle_align): Update use of tc_frag_data.
969 Call insert_data_mapping_symbol.
970 (arm_init_frag): Update use of tc_frag_data. Call
971 mapping_state_2.
972 (arm_elf_change_section): Always update the mapping symbol FSM state.
973 (check_mapping_symbols): New function.
974 (arm_adjust_symtab): Use check_mapping_symbols.
975 * config/tc-arm.h (struct arm_frag_type): New.
976 (TC_FRAG_TYPE): Change to struct arm_frag_type.
977 (TC_FRAG_INIT): Pass max_chars.
978 (arm_init_frag): Update prototype.
979
980 2009-07-31 Anthony Green <green@moxielogic.com>
981
982 * configure.tgt (generic_target): Add moxie-uclinux support.
983
984 2009-07-30 Nick Clifton <nickc@redhat.com>
985
986 * doc/c-arm.texi (ARM-Instruction-Set): New node. Documents the
987 different syntaxes support by the ARM port.
988 (ARM Directives): Add entry for .syntax.
989
990 * doc/c-mips.texi (MIPS insn): Fix typo.
991
992 2009-07-29 Alan Modra <amodra@bigpond.net.au>
993
994 PR ld/10269
995 * symbols.c (S_FORCE_RELOC): True for BSF_GNU_INDIRECT_FUNCTION.
996 * config/tc-i386.c: Revert 2009-06-13 change.
997 * config/tc-i386.h: Likewise.
998
999 2009-07-28 Jan Beulich <jbeulich@novell.com>
1000
1001 * expr.c (op_rank): Specify size. Remove O_md* initializers.
1002
1003 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1004
1005 * config/tc-m68k.c (mcf5221x_ctrl): New.
1006 (m68k_cpu): Add line for MCF5221x.
1007
1008 2009-07-27 Maxim Kuvyrkov <maxim@codesourcery.com>
1009
1010 * config/tc-m68k.c (mcf52235_ctrl): Remove non-existent CACR, ACR[01].
1011 (mcf53017_ctrl): Fix RAMBAR.
1012
1013 2009-07-27 Jan Beulich <jbeulich@novell.com>
1014
1015 * obj-elf.c (elf_file_symbol): Replace symbol name set up by
1016 symbol_new() with the passed in, unmodified one.
1017
1018 2009-07-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
1019
1020 * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
1021 object file without symbol values.
1022 (tc_gen_reloc): For local symbols resolved or its absolute symbol,
1023 then set the relocation type as NULL.
1024
1025 2009-07-25 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * config/tc-i386.c (cpu_arch): Add l1om.
1028 (check_cpu_arch_compatible): New.
1029 (set_cpu_arch): Use it.
1030 (i386_arch): New.
1031 (i386_mach): Return bfd_mach_l1om for Intel L1OM.
1032 (md_show_usage): Display l1om.
1033 (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if
1034 cpu_arch_isa_flags.bitfield.cpul1om is set.
1035
1036 * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()).
1037 (i386_arch): New.
1038 (ELF_TARGET_L1OM_FORMAT): Likewise.
1039
1040 * doc/c-i386.texi: Document l1om.
1041
1042 2009-07-24 Roland McGrath <roland@redhat.com>
1043 Mark Wielaard <mjw@redhat.com>
1044
1045 * config/obj-elf.c (obj_elf_ident): Set SEC_MERGE | SEC_STRINGS
1046 flags on .comment section.
1047
1048 2009-07-24 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
1049 Alan Modra <amodra@bigpond.net.au>
1050
1051 * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC.
1052 * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC.
1053 (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC.
1054
1055 2009-07-24 Jan Beulich <jbeulich@novell.com>
1056
1057 * tc-i386.c (cpu_arch): Add .8087, .287, .387, .no87, .nommx,
1058 .nosse, and .noavx.
1059 (cpu_flags_and_not): New.
1060 (set_cpu_arch): Check whether sub-architecture specified is a
1061 feature disable.
1062 (md_parse_option): Likewise.
1063 (parse_real_register): Don't return floating point register
1064 when x87 functionality is disabled.
1065 (md_show_usage): Add new sub-options.
1066 * doc/c-i386.texi: Update with new command line sub-options.
1067
1068 2009-07-24 Nick Clifton <nickc@redhat.com>
1069
1070 PR 10437
1071 * config/tc-alpha.c: Fix up uses of gas printf like functions so
1072 that the format string is a constant string. Add translation
1073 support to message strings.
1074 * config/tc-arc.c: Likewise.
1075 * config/tc-arm.c: Likewise.
1076 * config/tc-cris.c: Likewise.
1077 * config/tc-fr30.c: Likewise.
1078 * config/tc-frv.c: Likewise.
1079 * config/tc-h8300.c: Likewise.
1080 * config/tc-hppa.c: Likewise.
1081 * config/tc-i370.c: Likewise.
1082 * config/tc-i960.c: Likewise.
1083 * config/tc-ia64.c: Likewise.
1084 * config/tc-m32r.c: Likewise.
1085 * config/tc-mep.c: Likewise.
1086 * config/tc-mips.c: Likewise.
1087 * config/tc-moxie.c: Likewise.
1088 * config/tc-msp430.c: Likewise.
1089 * config/tc-openrisc.c: Likewise.
1090 * config/tc-pdp11.c: Likewise.
1091 * config/tc-pj.c: Likewise.
1092 * config/tc-s390.c: Likewise.
1093 * config/tc-sh.c: Likewise.
1094 * config/tc-sh64.c: Likewise.
1095 * config/tc-sparc.c: Likewise.
1096 * config/tc-spu.c: Likewise.
1097 * config/tc-tic30.c: Likewise.
1098 * config/tc-tic4x.c: Likewise.
1099 * config/tc-tic54x.c: Likewise.
1100 * config/tc-v850.c: Likewise.
1101 * config/tc-xc16x.c: Likewise.
1102 * config/tc-xstormy16.c: Likewise.
1103 * config/tc-z80.c: Likewise.
1104 * config/tc-z8k.c: Likewise.
1105 * config/atof-ieee.c: Add translation support to as_warn
1106 messages.
1107 * config/obj-coff.c: Likewise.
1108
1109 2009-07-23 Ulrich Drepper <drepper@redhat.com>
1110
1111 * config/obj-elf.c (obj_elf_type): Add code to support a type of
1112 gnu_unique_object.
1113 * doc/as.texinfo: Document new feature of .type directive.
1114 * NEWS: Mention support for gnu_unique_object symbol type.
1115
1116 2009-07-23 Nick Clifton <nickc@redhat.com>
1117
1118 PR binutils/10379
1119 * doc/c-mips.texi (MIPS insn): Document the special behaviour of
1120 the .global directive for MIPS ports.
1121
1122 2009-07-21 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 PR gas/10420
1125 * config/tc-i386.c (i386_align_code): Tune for 32bit nops in
1126 64bit.
1127 (i386_target_format): Set cpu_arch_isa_flags.bitfield.cpulm
1128 for 64bit.
1129
1130 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * config/tc-i386.c (md_assemble): Update operand types.
1133 (update_imm): Updated.
1134 (finalize_imm): Update the first 2 immediate operands only
1135 for instructions with 2 operands or more.
1136
1137 2009-07-17 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 * config/tc-i386.c (md_assemble): Check implicit registers
1140 only for instructions with 3 operands or less.
1141
1142 2009-07-17 Nick Clifton <nickc@redhat.com>
1143
1144 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoid
1145 compile time warning.
1146
1147 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * config/tc-i386.c (md_assemble): Only check i.operands for AX.
1150 (md_estimate_size_before_relax): Don't relax IFUNC symbols.
1151
1152 2009-07-16 Nathan Sidwell <nathan@codesourcery.com>
1153
1154 * config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
1155 the offset for REL targets here.
1156
1157 2009-07-15 Kai Tietz <kai.tietz@onevision.com>
1158
1159 * listing.c (print_source): Initialize cache by NULL.
1160
1161 2009-07-15 Daniel Gutson <dgutson@codesourcery.com>
1162
1163 * doc/c-arm.texi (mauto-it): Removed old option.
1164 (mimplicit-it): Added right option.
1165
1166 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1167
1168 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.
1169 (MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of
1170 MAX_MEM_ALIGNMENT_BYTES.
1171 * config/tc-arm.c (arm_frag_align_code): Replace hard coded
1172 constant with MAX_MEM_FOR_RS_ALIGN_CODE.
1173
1174 2009-07-14 Nick Clifton <nickc@redhat.com>
1175
1176 PR 10387
1177 * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer.
1178 (ARM_IS_FUNC): Likewise.
1179
1180 2009-07-14 Daniel Gutson <dgutson@codesourcery.com>
1181
1182 * config/tc-arm.c (md_assemble): Added validation.
1183
1184 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * Makefile.am: Run "make dep-am".
1187 * Makefile.in: Regenerated.
1188
1189 2009-07-10 Tom Tromey <tromey@redhat.com>
1190
1191 * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not
1192 elf/dwarf2.h.
1193 (DEPTC_alpha_elf): Likewise.
1194 (DEPTC_alpha_evax): Likewise.
1195 (DEPTC_arm_elf): Likewise.
1196 (DEPTC_hppa_elf): Likewise.
1197 (DEPTC_i386_aout): Likewise.
1198 (DEPTC_i386_coff): Likewise.
1199 (DEPTC_i386_elf): Likewise.
1200 (DEPTC_m68k_aout): Likewise.
1201 (DEPTC_m68k_coff): Likewise.
1202 (DEPTC_m68k_elf): Likewise.
1203 (DEPTC_mips_coff): Likewise.
1204 (DEPTC_mips_ecoff): Likewise.
1205 (DEPTC_mips_elf): Likewise.
1206 (DEPTC_ppc_coff): Likewise.
1207 (DEPTC_ppc_elf): Likewise.
1208 (DEPTC_s390_elf): Likewise.
1209 (DEPTC_sh_coff): Likewise.
1210 (DEPTC_sh_elf): Likewise.
1211 (DEPTC_sh64_elf): Likewise.
1212 (DEPTC_sparc_aout): Likewise.
1213 (DEPTC_sparc_coff): Likewise.
1214 (DEPTC_sparc_elf): Likewise.
1215 (as.o): Likewise.
1216 (dwarf2dbg.o): Likewise.
1217 (dw2gencfi.o): Likewise.
1218 (ehopt.o): Likewise.
1219 (read.o): Likewise.
1220 * Makefile.in: Rebuild.
1221 * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h.
1222 * dwarf2dbg.c: Likewise.
1223 * ehopt.c: Likewise.
1224
1225 2009-07-09 Daniel Gutson <dgutson@codesourcery.com>
1226
1227 * config/tc-arm.c (it_fsm_post_encode): New forward declaration.
1228 (set_it_insn_type_nonvoid): New macro.
1229 (emit_thumb32_expr): New function.
1230 (thumb_insn_size): New function.
1231 (emit_insn): New function.
1232 (s_arm_elf_inst): New function.
1233 (md_pseudo_table): New pseudo-opcode entries added.
1234 * doc/c-arm.texi: New directive added.
1235
1236 2009-07-07 DJ Delorie <dj@redhat.com>
1237
1238 * config/tc-mep.c (md_begin): Don't reset the coprocessor options
1239 when enabling other options without a specific configuration.
1240
1241 2009-07-07 Chung-Lin Tang <cltang@pllab.cs.nthu.edu.tw>
1242
1243 * config/tc-arm.c (insns): Fix encoding for torvsc.
1244
1245 2009-07-06 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1246
1247 * config/tc-i386.c (cpu_arch): Add .fma4 and CPU_FMA4_FLAGS.
1248 (build_modrm_byte): Add support to handle FMA4 instructions.
1249 (md_show_usage): Add fma4.
1250
1251 2009-07-04 Alan Modra <amodra@bigpond.net.au>
1252
1253 * config/tc-cr16.h (TC_LINKRELAX_FIXUP): Set only for code sections.
1254
1255 2009-07-02 Tristan Gingold <gingold@adacore.com>
1256
1257 * Makefile.am (OBJ_FORMATS): Add macho.
1258 (CPU_OBJ_VALID): Ditto.
1259 (OBJ_FORMAT_CFILES): Add config/obj-macho.c
1260 (OBJ_FORMAT_HFILES): Add config/obj-macho.h
1261 (obj-macho.o): New rule.
1262 * Makefile.in: Regenerated.
1263 * configure.tgt (generic_target): Add i386-*-darwin*.
1264 * config/tc-i386.h: Use i386_target_format for Mach-O.
1265 * config/tc-i386.c (i386_target_format): Define it for Mach-O.
1266 (i386_target_format): Add a case for bfd_target_mach_o_flavour.
1267 * config/obj-macho.h: New file.
1268 * config/obj-macho.c: New file.
1269
1270 2009-07-01 Nick Clifton <nickc@redhat.com>
1271
1272 PR 10168
1273 * config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
1274 PKHBT.
1275
1276 2009-07-01 Paul Brook <paul@codesourcery.com>
1277
1278 * config/tc-arm.c (MISSING_FNSTART): Define.
1279 (s_arm_unwind_fnstart): Diagnose duplicate directive.
1280 (s_arm_unwind_handlerdata, s_arm_unwind_fnend, s_arm_unwind_fnend,
1281 s_arm_unwind_cantunwind, s_arm_unwind_personalityindex,
1282 s_arm_unwind_personality, s_arm_unwind_save, s_arm_unwind_movsp,
1283 s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): Error if
1284 not inside function unwinding region.
1285
1286 2009-06-29 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * config/tc-i386.c: Reformat.
1289
1290 2009-06-23 DJ Delorie <dj@redhat.com>
1291
1292 * config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
1293 32 bits for relaxable branches so that we can relax them later.
1294 (md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
1295 (mep_relax_frag): New.
1296 (md_convert_frag): Relax IVC2 branches in-place.
1297 * config/tc-mep.h ((mep_relax_frag): New.
1298
1299 2009-06-22 Martin Thuresson <martin@mtme.org>
1300
1301 * app, as.c, as.h, atof-generic.c, cgen.c,
1302 config/atof-ieee.c, config/obj-aout.c,
1303 config/obj-coff.c, config/obj-ecoff.c,
1304 config/obj-elf.c, config/obj-som.c, config/tc-alpha.c,
1305 config/tc-arc.c, config/tc-arm.c, config/tc-cr16.c,
1306 config/tc-cris.c, config/tc-crx.c, config/tc-d30v.c,
1307 config/tc-dlx.c, config/tc-hppa.c, config/tc-i370.c,
1308 config/tc-i386-intel.c, config/tc-i386.c,
1309 config/tc-i860.c, config/tc-i960.c, config/tc-ia64.c,
1310 config/tc-iq2000.c, config/tc-m32c.c,
1311 config/tc-m32r.c, config/tc-m68hc11.c,
1312 config/tc-m68k.c, config/tc-maxq.c, config/tc-mcore.c,
1313 config/tc-mep.c, config/tc-mips.c, config/tc-mmix.c,
1314 config/tc-mn10300.c, config/tc-moxie.c,
1315 config/tc-ns32k.c, config/tc-pj.c, config/tc-ppc.c,
1316 config/tc-s390.c, config/tc-score.c,
1317 config/tc-score7.c, config/tc-sh.c, config/tc-sparc.c,
1318 config/tc-spu.c, config/tc-tic30.c, config/tc-vax.c,
1319 config/tc-xtensa.c, config/xtensa-relax.c,
1320 dw2gencfi.c, dwarf2dbg.c, ehopt.c, expr.c,
1321 frags.c, input-file.c, read.c, sb.c,
1322 subsegs.c, symbols.c, write.c: Change the name of the
1323 gas macro `assert' to `gas_assert'.
1324
1325 2009-06-22 Daniel Gutson <dgutson@codesourcery.com>
1326
1327 * config/tc-arm.c (implicit_it_mode): New enum.
1328 (implicit_it_mode): New global.
1329 (it_instruction_type): New enum.
1330 (arm_parse_it_mode): New function.
1331 (arm_long_opts): New option added.
1332 (arm_it): New field.
1333 (it_state): New enum.
1334 (now_it): New macro.
1335 (check_it_blocks_finished): New function.
1336 (insns[]): Use the IT Thumb opcodes for ARM too.
1337 (arm_cleanup): Call check_it_blocks_finished.
1338 (now_it_compatible): New function.
1339 (conditional_insn): New function.
1340 (set_it_insn_type): New macro.
1341 (set_it_insn_type_last): New macro.
1342 (do_it): Call automatic IT machinery functions.
1343 (do_t_add_sub): Likewise
1344 (do_t_arit3): Likewise.
1345 (do_t_arit3c): Likewise.
1346 (do_t_blx): Likewise.
1347 (do_t_branch): Likewise.
1348 (do_t_bkpt): Likewise.
1349 (do_t_branch23): Likewise.
1350 (do_t_bx): Likewise.
1351 (do_t_bxj): Likewise.
1352 (do_t_cps): Likewise.
1353 (do_t_cpsi): Likewise.
1354 (do_t_cbz): Likewise.
1355 (do_t_it): Likewise.
1356 (encode_thumb2_ldmstm): Likewise.
1357 (do_t_ldst): Likewise.
1358 (do_t_mov_cmp): Likewise.
1359 (do_t_mvn_tst): Likewise.
1360 (do_t_mul): Likewise.
1361 (do_t_neg): Likewise.
1362 (do_t_setend): Likewise.
1363 (do_t_shift): Likewise.
1364 (do_t_tb): Likewise.
1365 (output_it_inst): New function.
1366 (new_automatic_it_block): New function.
1367 (close_automatic_it_block): New function.
1368 (now_it_add_mask): New function.
1369 (it_fsm_pre_encode): New function.
1370 (handle_it_state): New function.
1371 (it_fsm_post_encode): New function.
1372 (force_automatic_it_block_close): New function.
1373 (in_it_block): New function.
1374 (md_assemble): Call automatic IT block machinery functions.
1375 (arm_frob_label): Likewise.
1376 (arm_opts): New element.
1377 * config/tc-arm.h (it_state): New enum.
1378 (current_it): New struct.
1379 (arm_segment_info_type): New member added.
1380 * doc/c-arm.texi: New option -mimplicit-it documented.
1381
1382 2009-06-20 Alan Modra <amodra@bigpond.net.au>
1383
1384 PR 10302
1385 * doc/as.texinfo (Section <ELF "M,S" flag>): Clarify tail merge.
1386
1387 2009-06-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
1388
1389 * config/tc-s390.c (md_gather_operands): Accept an instruction
1390 without operands if all operands are tagged as optional.
1391
1392 2009-06-18 Nick Clifton <nickc@redhat.com>
1393
1394 PR 10169
1395 * tc-arm.c (do_t_ssat): Move common code from here...
1396 (do_t_usat): ... and here to...
1397 (do_t_ssat_usat): New function: ... here. Add code to check that
1398 the shift value, if present, is in range.
1399
1400 2009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
1401
1402 Merge cegcc and mingw32ce target name changes
1403 from CeGCC project:
1404
1405 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
1406
1407 * configure.tgt: Add arm*-*-cegcc* target.
1408
1409 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
1410
1411 * configure.tgt: Add arm-*-mingw32ce* target.
1412
1413 2009-06-16 Maciej W. Rozycki <macro@linux-mips.org>
1414
1415 * config/tc-vax.c (md_estimate_size_before_relax): Accept
1416 indirect symbol references in the PIC mode and emit a
1417 PC-relative relocation instead of a GOT/PLT one. Likewise
1418 for symbols known to be hidden at this point.
1419
1420 2009-06-15 Nick Clifton <nickc@redhat.com>
1421
1422 PR 10186
1423 * config/tc-arm.c (T16_32_TAB): Fix binary value of SEV.W
1424 instruction.
1425
1426 2009-06-13 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 PR ld/10269
1429 * config/tc-i386.c (md_apply_fix): Use TC_FORCE_RELOCATION
1430 instead of generic_force_reloc.
1431
1432 * config/tc-i386.h (TC_FORCE_RELOCATION): New.
1433
1434 2009-06-11 Anthony Green <green@moxielogic.com>
1435
1436 * config/tc-moxie.c (md_chars_to_number): Define.
1437 (md_begin): Populate opcode hashtable with more form 3 opcodes.
1438 (md_assemble): Assemble MOXIE_F3_PCREL encoded instructions.
1439 (md_apply_fix): Handle BFD_RELOC_MOXIE_10_PCREL relocations.
1440 (tc_gen_reloc): Ditto.
1441 (md_pcrel_from): Ditto.
1442 (md_chars_to_number): New function.
1443
1444 2009-06-10 Anthony Green <green@moxielogic.com>
1445
1446 * config/tc-moxie.c (md_assemble): Handle MOXIE_F1_M encoded
1447 opcodes.
1448
1449 2009-06-09 Jakub Jelinek <jakub@redhat.com>
1450
1451 PR gas/10255
1452 * dw2gencfi.c (output_cfi_insn): Initialize fragment before rs_cfa
1453 to DW_CFA_advance_loc4.
1454
1455 2009-06-08 Dave Korn <dave.korn.cygwin@gmail.com>
1456
1457 PR gas/977
1458 * config/tc-i386.c (md_estimate_size_before_relax): Don't relax
1459 branches to weak symbols.
1460 (md_apply_fix): Don't convert fixes against weak symbols to
1461 section-relative offsets, but save addend for later reloc emission.
1462 (tc_gen_reloc): When emitting reloc against weak symbol, adjust
1463 addend to pre-compensate for bfd_install_relocation.
1464
1465 2009-06-04 Alan Modra <amodra@bigpond.net.au>
1466
1467 * dep-in.sed: Don't use \n in replacement part of s command.
1468 * Makefile.am (DEP1, DEPTC, DEPOBJ, DEP2): LC_ALL for uniq.
1469 * Makefile.in: Regenerate.
1470
1471 2009-06-01 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 PR gas/10198
1474 * config/tc-i386-intel.c (i386_intel_operand): Check '$' as '.'.
1475
1476 2009-05-26 Catherine Moore <clm@codesourcery.com>
1477
1478 * config/tc-mips.c (check_for_24k_errata): Remove.
1479 (md_mips_end): Remove call to check_for_24k_errata.
1480 (start_noreorder): Likewise.
1481 (s_change_sec): Likewise.
1482 (s_change_section): Likewise.
1483 (insns_between): Add 24k errata checks.
1484 (append_insn): Remove declaration and references to nhdx_24k.
1485 Remove calls to check_for_24k_errata.
1486
1487 2009-05-26 Nick Clifton <nickc@redhat.com>
1488
1489 * po/id.po: Updated Indonesian translation.
1490 * po/gas.pot: Updated template file.
1491
1492 2009-05-26 Nick Clifton <nickc@redhat.com>
1493
1494 PR 10143
1495 * config/bfin-parse.y (error): Use "%s" as format string for error
1496 message.
1497
1498 2009-05-26 Alan Modra <amodra@bigpond.net.au>
1499
1500 * dep-in.sed: Output one filename per line with all lines having
1501 continuation backslash. Prefix first line with "A", following
1502 lines with "B".
1503 * Makefile.am (DEP): Don't use dep.sed here.
1504 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
1505 sort and uniq.
1506 (DEPTC, DEPOBJ, DEP2): Use dep.sed on dependencies, sort and uniq.
1507 Emit multi dependencies on one line.
1508 * Makefile.in: Regenerate.
1509
1510 2009-05-25 Tristan Gingold <gingold@adacore.com>
1511
1512 * makefile.vms: New file to compile gas on VMS.
1513
1514 * configure.com: New file to do configuration on VMS with DCL.
1515
1516 2009-05-23 Richard Sandiford <rdsandiford@googlemail.com>
1517
1518 * config/tc-mips.c (nops_for_vr4130): Don't check noreorder_p.
1519 (nops_for_insn): Likewise.
1520
1521 2009-05-22 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * symbols.c (COPIED_SYMFLAGS): Add BSF_GNU_INDIRECT_FUNCTION.
1524
1525 2009-05-22 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
1526
1527 * config/tc-i386.c (process_drex): Delete. Remove SSE5 support.
1528 (build_modrm_byte): Remove DREX handling support.
1529 (DREX_*): Delete.
1530 (drex_byte): Delete.
1531 (md_assemble): Remove DREX handling support.
1532 (process_operands): Remove DREX, SSE5 support.
1533 (i386_insn): Remove DREX.
1534
1535 2009-05-22 Alan Modra <amodra@bigpond.net.au>
1536
1537 * Makefile.am: Run "make dep-am".
1538 * Makefile.in: Regenerate.
1539
1540 2009-05-20 Kai Tietz <kai.tietz@onevision.com>
1541 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 * config/obj-coff.h: Include "coff/x86_64.h" for x86 pe-coff.
1544 (TARGET_FORMAT): Removed for x86 pe-coff.
1545 (COFF_TARGET_FORMAT): Likewise.
1546
1547 * config/tc-i386.c (md_longopts): Allow --64 for x86 pe-coff.
1548 (md_parse_option): Likewise.
1549 (md_show_usage): Show option --32/--64 for x86 pe-coff.
1550 (i386_target_format): Use also for x86 pe-coff.
1551
1552 * config/tc-i386.h (TARGET_FORMAT): Defined as i386_target_format
1553 for x86 pe-coff.
1554
1555 2009-05-19 DJ Delorie <dj@redhat.com>
1556
1557 * config/tc-mep.c (mep_machine): Only check CPU flags, not COP flags.
1558 (mep_process_saved_insns): Remove debugging printfs.
1559
1560 2009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
1561
1562 * NEWS: Mention new feature.
1563 * config/obj-coff.c (obj_coff_common_parse): New function.
1564 (obj_coff_comm): Likewise.
1565 (coff_pseudo_table): Override default ".comm" definition on PE.
1566 * doc/as.texinfo: Document new feature.
1567
1568 2009-05-17 Kai Tietz <kai.tietz@onevision.com>
1569
1570 * config/obj-coff.c (obj_coff_section): Add 'y' as
1571 specifier for SEC_COFF_NOREAD section flag.
1572 * doc/as.texinfo: Add documentation about .section flag 'y'.
1573
1574 2009-05-13 DJ Delorie <dj@redhat.com>
1575
1576 * cgen.c (gas_cgen_parse_operand): Guard against NULL pointers.
1577
1578 2009-05-13 Andrew Jenner <andrew@codesourcery.com>
1579
1580 * config/tc-arm.c: Move as.h to start of file.
1581
1582 2009-05-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1583
1584 * config/tc-arm.h: Fix typo in comment.
1585 (ARM_IS_FUNC): New macro.
1586 (MD_APPLY_SYM_VALUE): Define.
1587
1588 * config/tc-arm.c (do_blx): Retain BFD_RELOC_ARM_PCREL_BLX for
1589 all versions of EABI.
1590 (relax_branch): Do not relax for branches to ARM functions.
1591 (md_pcrel_from_section): Set up base correctly for
1592 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_THUMB_PCREL_CALL,
1593 BFD_RELOC_THUMB_PCREL_BRANCH23, BFD_RELOC_ARM_PCREL_BLX
1594 BFD_RELOC_ARM_PCREL_CALL.
1595 (md_apply_fix): Flip bl to blx where possible.
1596 Flip blx to bl where possible.
1597 (arm_force_relocation): Force relocations for
1598 BFD_RELOC_ARM_PCREL_JUMP, BFD_RELOC_ARM_PCREL_JUMP,
1599 BFD_RELOC_ARM_PCREL_BLX, BFD_RELOC_THUMB_PCREL_BLX,
1600 BFD_RELOC_THUMB_PCREL_BRANCH20, BFD_RELOC_THUMB_PCREL_BRANCH23,
1601 BFD_RELOC_THUMB_PCREL_BRANCH25.
1602 (arm_apply_sym_value): New function.
1603
1604 2009-05-04 Tristan Gingold <gingold@adacore.com>
1605
1606 * config/tc-alpha.c: Also declare alpha_prologue_label for OBJ_EVAX.
1607
1608 2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
1609
1610 * config/tc-armlinux-eabi.h (FPU_DEFAULT): Default to plain VFP.
1611 * config/tc-armeabi.h (FPU_DEFAULT): Likewise.
1612 * config/tc-arm.c (md_begin): If FPU_DEFAULT is set, don't infer
1613 the default FPU from the processor.
1614
1615 2009-05-01 Julian Brown <julian@codesourcery.com>
1616
1617 * config/tc-arm.c (do_t_blx): Always use BFD_RELOC_THUMB_PCREL_BLX.
1618 (md_pcrel_from_section): Align address for BLX.
1619 (tc_gen_reloc): Change BFD_RELOC_THUMB_PCREL_BLX relocations to
1620 BFD_RELOC_THUMB_PCREL_BRANCH23 for EABI v4+.
1621
1622 2009-04-29 DJ Delorie <dj@redhat.com>
1623
1624 * config/tc-mep.c (md_begin): Check coprocessor type.
1625 (md_check_parallel64_scheduling): Use memset to initialize the buffer.
1626 (md_check_parallel32_scheduling): Likewise.
1627 (slot_ok): New.
1628 (mep_check_ivc2_scheduling): New.
1629 (mep_check_parallel_scheduling): Call it.
1630 (mep_process_saved_insns): Add IVC2 slot support.
1631 (md_assemble): Likewise.
1632
1633 2009-04-30 Nick Clifton <nickc@redhat.com>
1634
1635 * config/obj-elf.c (obj_elf_type): Add support for a
1636 gnu_indirect_function type.
1637 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
1638 against indirect function symbols.
1639 * doc/as.texinfo (.type): Document the support for the
1640 gnu_indirect_function symbol type.
1641 * NEWS: Mention the new feature.
1642
1643 2009-04-24 Cary Coutant <ccoutant@google.com>
1644
1645 * NEWS: Add item about discriminator support.
1646 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
1647 * dwarf2dbg.c (current): Add discriminator field.
1648 (dwarf2_where): Copy discriminator value.
1649 (dwarf2_consume_line_info): Set discriminator to 0.
1650 (dwarf2_directive_loc): Process discriminator sub-op.
1651 (out_leb128): New function.
1652 (process_entries): Output DW_LNE_set_discriminator.
1653 * doc/as.texinfo: Add discriminator operand to .loc directive.
1654
1655 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
1656
1657 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
1658 as_bad calls to silence compiler warning.
1659
1660 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * config/tc-i386-intel.c (O_XXX): Reorder.
1663
1664 2009-04-20 Jan Beulich <jbeulich@novell.com>
1665
1666 * Makefile.am: Add explicit dependency of tc-i386.o on
1667 tc-i386-intel.c.
1668 * Makefile.in: Likewise.
1669 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
1670 out from i386_immediate.
1671 (i386_immediate): Slightly re-arrange, call
1672 i386_finalize_immediate.
1673 (i386_finalize_displacement): Declare, broken out from
1674 i386_displacement.
1675 (i386_displacement): Slightly re-arrange, call
1676 i386_finalize_displacement.
1677 (i386_intel_simplify, i386_intel_parse_name): Declare.
1678 (this_operand): Initialize to -1.
1679 (set_intel_syntax): Set expression rank for O_full_ptr.
1680 (md_assemble): Set this_operand back to -1 after parsing
1681 operands.
1682 (x86_cons): Negate intel_syntax to indicate state. Call
1683 i386_intel_simplify.
1684 (md_operand): Convert if to switch. Handle '[' for Intel
1685 syntax.
1686 (i386_intel_operand): Delete, including all helper functions
1687 and data.
1688 * config/tc-i386-intel.c: New file, all new code.
1689 * config/tc-i386.h (i386_operator): Declare.
1690 (md_operator): Define to i386_operator.
1691 (i386_need_index_operator): Declare.
1692 (md_need_index_operator): Define to i386_need_index_operator.
1693 (O_full_ptr): Define.
1694
1695 2009-04-20 Jan Beulich <jbeulich@novell.com>
1696
1697 * expr.c (operand): Call md_need_index_operator() and
1698 md_operator() if defined. Add unary label.
1699 (operator): Call md_operator() if defined.
1700 (expr): Adjust assertions on range and rank of op_left and
1701 op_right. Don't abort on unhandled operators when reducing
1702 expressions with both operands being constant.
1703 (expr_set_rank): New.
1704 * expr.h (expr_set_rank): Declare.
1705
1706 2009-04-15 Anthony Green <green@moxielogic.com>
1707
1708 * config/tc-moxie.h: New file.
1709 * config/tc-moxie.c: New file.
1710 * configure: Add support for moxie.
1711 * configure.tgt: Add support for moxie.
1712
1713 2009-04-16 Jan Beulich <jbeulich@novell.com>
1714
1715 * expr.c: Include limits.h if available, and #define CHAR_BITS
1716 otherwise.
1717 (expr): Check range of shift count when evaluating a constant
1718 expression.
1719
1720 2009-04-15 Jan Beulich <jbeulich@novell.com>
1721
1722 * config/tc-i386.c (process_operands): Print operands in
1723 correct order depending on intel_syntax.
1724
1725 2009-04-09 Catherine Moore <clm@codesourcery.com>
1726
1727 * config/tc-mips.c (mips_fix_24k): Declare.
1728 (check_for_24k_errata): New.
1729 (mips_cleanup): Call check_for_24k_errata.
1730 (start_noreorder): Likewise.
1731 (md_mips_end): Likewise.
1732 (s_change_sec): Likewise.
1733 (s_change_section): Likewise.
1734 (append_insn): Call check_for_24k_errata. Prevent
1735 ERET/DERET instructions from being moved into delay
1736 slots.
1737 (OPTION_FIX_24K): New.
1738 (OPTION_NO_FIX_24k) New.
1739 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
1740 (md_parse_option): Handle fix-24k options.
1741 (md_show_usage): Display fix-24k options.
1742 * doc/c-mips.texi: Document.
1743
1744 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
1745
1746 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
1747 instead of HAVE_64BIT_SYMBOLS.
1748
1749 2009-04-07 DJ Delorie <dj@redhat.com>
1750
1751 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
1752 (md_show_usage): Change default endian to little.
1753 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
1754
1755 2009-04-06 DJ Delorie <dj@redhat.com>
1756
1757 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
1758 immediates.
1759 (build_bytes): Pass insn to do_a_fix_imm.
1760
1761 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
1762
1763 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
1764 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
1765 Cortex-M1.
1766
1767 2009-04-01 Matt Thomas <matt@netbsd.org>
1768
1769 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
1770 (md_assemble): emit symbol name when used as immediate in PIC mode.
1771 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
1772
1773 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1774
1775 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
1776
1777 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1778
1779 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
1780 (find_real_start): Likewise.
1781 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
1782
1783 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
1784
1785 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
1786 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
1787 whenever possible.
1788
1789 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
1790
1791 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
1792
1793 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
1794
1795 * doc/internals.texi: Fix trivial syntax errors.
1796
1797 2009-03-26 Alan Modra <amodra@bigpond.net.au>
1798
1799 PR 10005
1800 * config/tc-i386.c (reloc): Don't abort on lack of required
1801 reloc type.
1802
1803 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
1804
1805 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
1806 arch.
1807
1808 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
1809
1810 PR gas/9966
1811 * listing.c (listing_newline): Properly handle `\\"' and ';'.
1812
1813 * read.c (is_end_of_line): Update comments for line separator.
1814 (read_begin): Set line separator in is_end_of_line to 2.
1815
1816 2009-03-19 David S. Miller <davem@davemloft.net>
1817
1818 * config/tc-sparc.c (md_parse_option): If the user gives
1819 us '--64' make sure max_architecture is at least V9.
1820
1821 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
1822
1823 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
1824 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
1825 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
1826
1827 2009-03-18 Alan Modra <amodra@bigpond.net.au>
1828
1829 * as.h: Include alloca-conf.h instead of config.h and remove
1830 existing #if's handling alloca.
1831 * Makefile.am: Run "make dep-am".
1832 * Makefile.in: Regenerate.
1833
1834 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1835
1836 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
1837 C_AIX_WEAKEXT too.
1838
1839 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1840
1841 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
1842 "value" from fx_offset. Manually resubtract md_pcrel_from_section
1843 where necessary.
1844
1845 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1846
1847 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1848 * configure.in: Likewise.
1849 * configure: Regenerate.
1850
1851 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
1852
1853 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
1854 Rename, changing all callers, to...
1855 (md_create_short_jump): Adjust head comment. Assert
1856 word-sized-branch distance for v32. Bail out calling as_fatal for
1857 compatibility mode here.
1858 (md_create_long_jump): ...not here.
1859 * config/tc-cris.h (md_create_short_jump): Do not define.
1860
1861 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
1862
1863 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
1864 the jump table for multiple overflowing entries with the same
1865 target, handle base symbols being different.
1866 (relax_segment) <case rs_broken_word, second loop>: Whenever a
1867 single entry overflows, arrange to redirect all entries with the
1868 same target.
1869
1870 2009-03-10 Alan Modra <amodra@bigpond.net.au>
1871
1872 * config/tc-ppc.c (parse_cpu): Delete.
1873 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
1874
1875 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 PR gas/9915
1878 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
1879 (LOCAL_LABELS_FB): Undefine befoe define.
1880
1881 2009-03-06 Nick Clifton <nickc@redhat.com>
1882
1883 * po/es.po: Updated Spanish translation.
1884
1885 2009-03-05 Joseph Myers <joseph@codesourcery.com>
1886
1887 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
1888 s_incbin): Call md_cons_align (1).
1889
1890 2009-03-04 Nick Clifton <nickc@redhat.com>
1891
1892 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
1893 based targets.
1894 (s_alpha_comm): Only define "temp" and "log_align" local variables
1895 for EVAX targets.
1896
1897 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1898
1899 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
1900 have non-zero addend.
1901 (md_assemble): Parse args of __tls_get_addr calls.
1902 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
1903
1904 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1905
1906 binutils/3807
1907 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
1908 local scope for ELF targets.
1909
1910 2009-03-04 Alan Modra <amodra@bigpond.net.au>
1911
1912 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
1913
1914 2009-03-03 Tristan Gingold <gingold@adacore.com>
1915 Eric Botcazou <ebotcazou@adacore.com>
1916 Douglas B Rupp <rupp@gnat.com>
1917
1918 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
1919 for Alpha.
1920 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
1921 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
1922 (OBJ_SYMFIELD_TYPE): Remove.
1923 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
1924 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
1925 (tc_frob_file_before_fix): Do not defined on evax.
1926 * config/tc-alpha.c: Always includes dwarf2dbg.h.
1927 Include vms.h if OBJ_EVAX.
1928 (struct alpha_fixup): Add xtrasym and procsym (evax only).
1929 (enum alpha_macro_arg): Remove trailing comma.
1930 (md_longopts): Add replace and noreplace arguments (evax only).
1931 (alpha_evax_proc_hash): New variable.
1932 (alpha_link_section): Make it global.
1933 (alpha_ctors_section, alpha_dtors_section): Removed.
1934 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
1935 (alpha_lit8_section): Ifndef'ed on evax.
1936 (alpha_lit8_symbol): Ditto.
1937 (alpha_prologue_label): New variable.
1938 (alpha_linkage_symbol): New variable (evax only).
1939 (alpha_flag_replace): Ditto.
1940 (struct alpha_evax_procs): Add handler and handler_data field.
1941 (alpha_evax_proc): Now of type pointer.
1942 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
1943 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
1944 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
1945 (alpha_adjust_relocs): Ifndef'ed on evax.
1946 (load_expression): Add opname argument.
1947 Implement LDA/BSR optimization for evax.
1948 (emit_lda): Adjust for new prototype of load_expression.
1949 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
1950 (emit_loadstore): Likewise.
1951 (emit_ldXu): Likewise.
1952 (emit_stX): Likewise.
1953 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
1954 (emit_ldgp): Avoid warning in evax case.
1955 (add_to_link_pool): Make it static. Return symbolic expression rather
1956 than number expression for the offset.
1957 (s_alpha_text): Create .text symbol for evax if not already created.
1958 (s_alpha_comm): Do not create specific section for common symbol.
1959 Fill common area with zeros for evax.
1960 (s_alpha_prologue): Create alpha_prologue_label.
1961 (s_alpha_section_name): New function (evax).
1962 (s_alpha_section_word): Likewise.
1963 (section_name): New static variabke moved out from ...
1964 (s_alpha_section): ... here. Create new sections on demand.
1965 (s_alpha_literals): New function (evax).
1966 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
1967 alpha_evax_proc_hash table.
1968 (s_alpha_handler): New function (evax).
1969 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
1970 (s_alpha_prologue): New function (evax).
1971 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
1972 handling of procedures with hash table.
1973 Add support for condition handlers.
1974 (s_alpha_linkage): Create linkage_fixup instance and chain it.
1975 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
1976 (s_alpha_mask): Likewise.
1977 (s_alpha_fmask): Likewise.
1978 (s_alpha_end): Clear alpha_evax_proc.
1979 (s_alpha_align): Increase max_alignment to 16.
1980 (alpha_print_token): Call print_expr_1 instead of print_expr.
1981 (md_pseudo_table): Add "section", "literals", "handler" and
1982 "handler_data" (evax). Do not ignore "prologue" on evax.
1983 Fix indentation.
1984 (md_begin): Create hash table for alpha_evax_proc_hash.
1985 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
1986 (md_show_usage): Mention -replace/-noreplace for evax.
1987 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
1988 (alpha_force_relocation): Likewise.
1989 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
1990 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
1991 (emit_insn): New cases for evax specific relocs.
1992 (assemble_insn): Fix indentation.
1993 Take care of -MDISP in operand table.
1994 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
1995 (OBJ_SYMFIELD_TYPE): New macro.
1996 (obj_symbol_new_hook): Define.
1997 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
1998 (obj_frob_file_before_fix): Ditto.
1999 (PDSC_S_M_HANDLER_VALID): New macro.
2000 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
2001 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
2002 Add prototypes for functions declared in obj-evax.c
2003 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
2004 (s_evax_weak): Convert to ansi-C.
2005 (evax_symbol_new_hook): New function.
2006 (evax_frob_symbol): Ditto.
2007 (evax_frob_file_before_adjust): Ditto.
2008 (evax_frob_file_before_fix): Ditto.
2009 (evax_shorten_name): Ditto.
2010 (crc32): Ditto.
2011 (encode_32): Ditto.
2012 (encode_16): Ditto.
2013 (decode_16): Ditto.
2014 (shorten_identifier): Ditto.
2015 (is_truncated_identifier): Ditto.
2016 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
2017 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
2018 (main): Ditto.
2019
2020 2009-03-03 Alan Modra <amodra@bigpond.net.au>
2021
2022 * Makefile.am: Run "make dep-am".
2023 * Makefile.in: Regenerate.
2024
2025 2009-03-02 Nick Clifton <nickc@redhat.com>
2026
2027 PR 9874
2028 * config/tc-ia64.c (fix_insn): Fix warning reported by
2029 -Wformat-security.
2030
2031 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
2032
2033 * config/tc-score7.c: New file.
2034 * doc/c-score.texi: New file.
2035 * Makefile.am: Update dependencies for tc-score.c.
2036 * Makefile.in: Regenerate.
2037 * NEWS: Mention support for Score7 architecture.
2038 * config/tc-score.c: Add support for Score7 architecture.
2039 * config/tc-score.h: Likewise.
2040 * doc/Makefile.am: Add c-score.texi.
2041 * doc/Makefile.in: Regenerate.
2042 * doc/all.texi: Add Score7.
2043 * doc/as.texinfo: Add Score7.
2044
2045 2009-03-01 Mark Mitchell <mark@codesourcery.com>
2046
2047 * config/tc-arm.c (md_assemble): Allow barrier instructions on
2048 ARMv6-M cores.
2049
2050 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2051
2052 * configure: Regenerate.
2053
2054 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
2055
2056 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
2057 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
2058 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
2059
2060 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
2061
2062 * config/tc-i386.c (fits_in_imm4): Removed.
2063
2064 2009-02-24 Helge Deller <deller@gmx.de>
2065
2066 * config/tc-hppa.c (pa_ip): Add check of immediate values.
2067 (SAVE_IMMEDIATE): New define.
2068
2069 2009-02-23 Mark Mitchell <mark@codesourcery.com>
2070
2071 * config/tc-arm.c (warn_deprecated_sp): New macro.
2072 (do_t_mov_cmp): Permit R13 as the second
2073 argument to "cmp.n".
2074
2075 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2076
2077 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
2078 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
2079
2080 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2081
2082 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
2083
2084 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
2085
2086 * config/tc-i386.c (vex_imm4): Removed.
2087 (VEX_check_operands): Likewise.
2088 (match_template): Updated.
2089
2090 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
2091
2092 * doc/all.texi: Set S390.
2093 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
2094 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
2095 * doc/Makefile.in: Likewise.
2096 * doc/c-s390.texi: New.
2097
2098 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
2099
2100 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
2101 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
2102 (mcf5307_ctrl): Add VBR.
2103 (no_mac): New variable.
2104 (m68k_extensions): Refer to no_mac mask.
2105 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
2106 52252..52259, 53011..53017.
2107 (m68k_ip): Process CPUCR.
2108 (init_table): Add cpucr entry.
2109 (m68k_set_extension): Allow negated mask to refer to a variable.
2110 (md_show_usage): Use '%s' to silence fprintf warning.
2111 * config/m68k-parse.h (CPUCR): New control register.
2112
2113 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
2114
2115 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
2116 as_bad calls to silence compiler warning.
2117
2118 2009-02-06 Nick Clifton <nickc@redhat.com>
2119
2120 PR 9814
2121 * config/tc-arm.c (MODE_RECORDED): New define.
2122 (output_inst): Record the thumb_mode in the current frag.
2123 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
2124 (arm_init_frag): Only set the tc_frag_data field if it has not
2125 already been set.
2126
2127 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
2128
2129 AVX Programming Reference (January, 2009)
2130 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
2131 (CPU_FLAGS_AVX_MATCH): Updated.
2132 (CPU_FLAGS_32BIT_MATCH): Likewise.
2133 (cpu_flags_match): Likewise.
2134
2135 2009-02-03 Sandip Matte <sandip@rmicorp.com>
2136
2137 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
2138 M_MSGWAIT and M_MSGWAIT_T.
2139 (mips_cpu_info_table): Add XLR entry.
2140 * doc/c-mips.texi (-march): Document xlr.
2141
2142 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
2143
2144 * config/tc-avr.c (mcu_types): Add ata6289.
2145 * doc/c-avr.texi: Likewise.
2146
2147 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
2148
2149 * configure.in: AC_SUBST pdfdir.
2150 * Makefile.am: Add install-pdf, install-pdf-am,
2151 and install-pdf-recursive targets.
2152 * doc/Makefile.am: Define pdf__strip_dir. Add
2153 install-pdf and install-pdf-am targets.
2154 * po/Make-in: Add install-pdf target.
2155 * configure: Regenerate.
2156 * Makefile.in: Regenerate.
2157 * doc/Makefile.in: Regenerate.
2158
2159 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
2160
2161 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
2162 relocations.
2163 * config/m68k-parse.y (yylex): Parse TLS relocations.
2164 * config/tc-m68k.c (m68k_elf_cons): New static function.
2165 (md_pseudo_table): Use it.
2166 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
2167 relocations.
2168 (md_apply_fix): Fix to set thread local flag.
2169 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
2170
2171 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
2172
2173 PR 9779
2174 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
2175 indexed addressing for symbolic expressions.
2176
2177 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2178
2179 * config/tc-arm.c (BAD_SP): Define.
2180 (s_arm_unwind_fnstart): Use REG_SP.
2181 (s_arm_unwind_setfp): Likewise.
2182 (reject_bad_reg): New macro.
2183 (do_co_reg): Check for bad registers.
2184 (do_co_reg2c): Likewise.
2185 (do_srs): Use REG_SP.
2186 (do_t_add_sub): Check for bad registers.
2187 (do_t_adr): Likewise.
2188 (do_t_arit3): Likewise.
2189 (do_t_arit3c): Likewise.
2190 (do_t_bfc): Likewise.
2191 (do_t_bfi): Likewise.
2192 (do_t_bfx): Likewise.
2193 (do_t_blx): Likewise.
2194 (do_t_bx): Likewise.
2195 (do_t_bxj): Likewise.
2196 (do_t_clz): Likewise.
2197 (do_t_div): Likewise.
2198 (do_t_mla): Likewise.
2199 (do_t_mlal): Likewise.
2200 (do_t_mov_cmp): Likewise.
2201 (do_t_mov16): Likewise.
2202 (do_t_mvn_tst): Likewise.
2203 (do_t_mrs): Likewise.
2204 (do_t_msr): Likewise.
2205 (do_t_mul): Likewise.
2206 (do_t_mull): Likewise.
2207 (do_t_orn): Likewise.
2208 (do_t_pkhbt): Likewise.
2209 (do_t_pld): Likewise.
2210 (do_t_rbit): Likewise.
2211 (do_t_rev): Likewise.
2212 (do_t_rrx): Likewise.
2213 (do_t_rsb): Likewise.
2214 (do_t_shift): Likewise.
2215 (do_t_simd): Likewise.
2216 (do_t_ssat): Likewise.
2217 (do_t_ssat16): Likewise.
2218 (do_t_sxtah): Likewise.
2219 (do_t_sxth): Likewise.
2220 (do_t_tb): Likewise.
2221 (do_t_usat): Likewise.
2222 (do_t_usat16): Likewise.
2223 (nysn_insert_sp): Use REG_SP.
2224
2225 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2226
2227 * config/tc-arm.c (do_t_orn): New function.
2228 (do_t_rrx): Likewise.
2229 (insns): Add orn and rrx.
2230
2231 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2232
2233 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
2234 uasx, uhasx, uhsx, uqasx, uqsax, usax.
2235
2236 2009-01-29 Mark Mitchell <mark@codesourcery.com>
2237
2238 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
2239 qdsub in Thumb-2 mode.
2240
2241 2009-01-29 Paul Brook <paul@codesourcery.com>
2242 Mark Mitchell <mark@codesourcery.com>
2243
2244 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
2245 of MUL when possible.
2246
2247 2009-01-29 Nick Clifton <nickc@redhat.com>
2248
2249 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
2250
2251 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
2252 Catherine Moore <clm@codesourcery.com?
2253
2254 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
2255 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
2256 directives.
2257
2258 2009-01-27 Nick Clifton <nickc@redhat.com>
2259
2260 * config/tc-mips.c (append_insn): Cope with a complex reloc
2261 sequence containing an unsupported reloc type.
2262 (enum options): Replace computed #define's constants for option
2263 numbers with this enum.
2264 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
2265 environment.
2266 (md_parse_option): Allow -32 in a non-ELF environment.
2267
2268 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
2269
2270 * config/tc-arm.c (attributes_set_explicitly): New array.
2271 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
2272 (cpu_arch): Add ARM_ARCH_V5T.
2273 (aeabi_set_attribute_int): New function.
2274 (aeabi_set_attribute_string): New function.
2275 (aeabi_set_public_attributes): Set attributes according to the user's
2276 intentions, rather than the actual state of the binary.
2277 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
2278 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
2279 Support WMMXv2. Use attribute names instead of numbers.
2280 * read.c (s_vendor_attribute): Change return type to int.
2281 Return the tag number that was set.
2282 * read.h (s_vendor_attribute): Change return type to int.
2283
2284 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
2285
2286 PR 9789
2287 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
2288 * doc/c-avr.texi: Likewise.
2289
2290 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
2291
2292 * doc/c-arm.texi (): Document -mwarn-deprecated.
2293 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
2294 (warn_on_deprecated): ... this.
2295 (opcode_lookup, md_assemble): Check it before warning.
2296 (arm_opts): Add m[no-]warn-deprecated.
2297 (md_parse_option): Replace WARN_DEPRECATED with
2298 warn_on_deprecated.
2299
2300 2009-01-23 Andreas Schwab <schwab@suse.de>
2301
2302 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
2303 arguments to macro_build to match format.
2304
2305 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
2306 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
2307
2308 2009-01-19 Nick Clifton <nickc@redhat.com>
2309
2310 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
2311 ELF format ARM targets.
2312 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
2313
2314 2009-01-19 Nick Clifton <nickc@redhat.com>
2315
2316 * configure.tgt: Restore alpha sorting to object format switch
2317 statement.
2318
2319 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
2320
2321 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
2322
2323 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
2324
2325 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
2326 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
2327
2328 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
2329 Daniel Jacobowitz <dan@codesourcery.com>
2330
2331 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
2332 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
2333 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
2334 * read.c (s_vendor_attribute): Add support for symbolic tag names.
2335 Improve string parser.
2336 * doc/c-arm.texi (ARM Machine Directives): Document
2337 .eabi_attribute symbolic tag names.
2338
2339 2009-01-16 Alan Modra <amodra@bigpond.net.au>
2340
2341 * configure.in (commonbfdlib): Delete.
2342 * configure: Regenerate.
2343 * po/POTFILES.in: Regenerate.
2344
2345 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2346 Julian Brown <julian@codesourcery.com>
2347
2348 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
2349
2350 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
2351
2352 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
2353 bfd_elf_add_obj_attr_int_string.
2354
2355 2009-01-15 Douglas B Rupp <rupp@gnat.com>
2356
2357 * configure.tgt(ia64-*-*vms*): New target.
2358 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
2359 * tc.h (md_number_to_chars): Declare iff undefined.
2360 * config/obj-elf.c (obj_elf_change_section): Change type of arg
2361 attr to bfd_vma.
2362 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
2363 variables attr, md_attr to bfd_vma.
2364 (obj_elf_section_word): Likewise.
2365 (obj_elf_section): Change type of variable attr to bfd_vma
2366 * config/obj-elf.h (obj_elf_change_section): Change type of arg
2367 attr to bfd_vma.
2368 * config/tc-ia64.c (bfdver.h,time.h): Include.
2369 (ia64_elf_section_letter): Now returns a bfd_vma.
2370 Handle VMS specific attributes.
2371 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2372 (ia64_init): Don't turn on dependency checking for VMS.
2373 (ia64_target_format): Check for VMS flag bit.
2374 (do_alias): Hande decc$ functions.
2375 (get_vms_time): New function.
2376 (ia64_vms_note): New function.
2377 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
2378 (ia64_elf_section_flags): Arg attr now a bfd_vma.
2379 (tc_init_after_args): Define for VMS.
2380 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
2381 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
2382 * config/tc-alpha.h: Likewise.
2383 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
2384 (x86_64_section_word): Return a bfd_vma.
2385 * config/tc-i386.h: Likewise.
2386 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
2387 attr to bfd_vma.
2388 * config/tc-ip2k.h: Likewise.
2389 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
2390 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
2391 * config/tc-mep.h: Likewise.
2392 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
2393 (ppc_section_word): Return a bfd_vma.
2394 (ppc_section_flags): Change type of arg attr to bfd_vma.
2395 * config/tc-ppc.h: Likewise.
2396 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
2397 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
2398 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
2399 New file with new macros
2400 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
2401 macros.
2402
2403 2009-01-15 Nick Clifton <nickc@redhat.com>
2404
2405 PR 9722
2406 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
2407 instructions before generating a Thumb2 nop.
2408
2409 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2410
2411 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
2412
2413 2009-01-12 Alan Modra <amodra@bigpond.net.au>
2414
2415 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
2416 (brinfo): New var.
2417 (md_assemble): Poke brinfo into branch instructions.
2418 (spu_brinfo): New function.
2419 (md_apply_fix): Don't assume insn fields start off at zero, mask
2420 them to remove possible brinfo.
2421
2422 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2423
2424 * doc/c-i386.texi: Reformat.
2425
2426 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
2429 .syscall.
2430 (i386_align_code): Handle PROCESSOR_COREI7.
2431 (md_show_usage): Add corei7, clflush and syscall.
2432 (i386_target_format): Replace cpup4 with cpuclflush.
2433
2434 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
2435
2436 * doc/c-i386.texi: Document corei7, clflush and syscall.
2437
2438 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
2439
2440 * config/tc-i386.c (cpu_arch): Add .rdtscp.
2441 (md_show_usage): Display rdtscp.
2442
2443 * doc/c-i386.texi: Document rdtscp.
2444
2445 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
2446
2447 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
2448 Test the new "deprecated" opcode field.
2449
2450 2009-01-07 Sterling Augustine <sterling@tensilica.com>
2451
2452 * config/tc-xtensa.c (produce_flix): New.
2453 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
2454 (md_longopts): Add support for them.
2455 (md_parse_option): Likewise.
2456 (md_show_usage): Add help message.
2457 (finish_vinsn): Don't allow multi-slot flix when produce_flix
2458 option is set to FLIX_NONE.
2459 * config/xtensa-relax.c (transition_applies): Only relax to
2460 flix branches when produce_flix equals FLIX_ALL.
2461 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
2462 FLIX_NONE): New.
2463 (produce_flix): Declare.
2464
2465 2009-01-06 Chao-ying Fu <fu@mips.com>
2466
2467 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
2468 Use strncmp to match jalr and jalr.hb.
2469 Fix a typo.
2470
2471 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
2472
2473 AVX Programming Reference (December, 2008)
2474 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
2475 support. Don't swap REG and NDS for FMA.
2476
2477 2009-01-02 Matthias Klose <doko@ubuntu.com>
2478
2479 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
2480 behaviour.
2481
2482 For older changes see ChangeLog-2008
2483 \f
2484 Local Variables:
2485 mode: change-log
2486 left-margin: 8
2487 fill-column: 74
2488 version-control: never
2489 End:
This page took 0.079072 seconds and 5 git commands to generate.