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