OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [ChangeLog] - Blame information for rev 864

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.