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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [ChangeLog-2005] - Blame information for rev 449

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

Line No. Rev Author Line
1 38 julius
2005-12-30  Sterling Augustine  
2
            Bob Wilson  
3
 
4
        * config/tc-xtensa.c (op_placement_info_struct): Delete single,
5
        single_size, widest, and widest_size fields.  Add narrowest_slot.
6
        (xg_emit_insn_to_buf): Remove fmt parameter and compute it here.
7
        Use xg_get_single_slot to find the slot.
8
        (finish_vinsn): Use emit_single_op instead of bundle_single_op.
9
        (bundle_single_op): Rename this to....
10
        (bundle_tinsn): ...this function, which builds a vliw_insn but does
11
        not call finish_vinsn.
12
        (emit_single_op): Use bundle_tinsn instead of bundle_single_op.
13
        (relax_frag_immed): Get num_slots from cur_vinsn.
14
        (convert_frag_narrow): Update call to xg_emit_insn_to_buf.
15
        (convert_frag_immed): Likewise.  Also, get num_slots from cur_vinsn.
16
        (init_op_placement_info_table): Set narrowest_slot field.  Remove
17
        code for deleted fields.
18
        (xg_get_single_size): Return narrowest_size field, not single_size.
19
        (xg_get_single_format): Return narrowest field, not single.
20
        (xg_get_single_slot): New.
21
        (tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf.
22
        * config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations.
23
        (transition_applies): Check wide branch option availability.
24
 
25
2005-12-29  Sterling Augustine  
26
 
27
        * config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define.
28
 
29
2005-12-29  Sterling Augustine  
30
 
31
        * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf.
32
 
33
2005-12-27  Nathan Sidwell  
34
 
35
        * config/tc-mt.c (mt_arch): Default to ms1_16_002.
36
        (md_parse_options): Only allow lowercase.
37
        (md_show_usage): Update.
38
 
39
2005-12-27  Leif Ekblad  
40
 
41
        * configure.tgt: Add support for RDOS targets.
42
 
43
2005-12-27  James Troup  
44
 
45
        PR 1300
46
        * config/tc-arm.c (md_apply_fix): Fix casts to match type in
47
        printf format.
48
 
49
2005-12-27  Alan Modra  
50
 
51
        * Makefile.am: Run "make dep-am".
52
        * Makefile.in: Regenerate.
53
        * po/POTFILES.in: Regenerate.
54
 
55
2005-12-22  Jan Beulich  
56
 
57
        * symbols.h (snapshot_symbol): First parameter is now pointer
58
        to pointer to symbolS.
59
        * symbols.c (snapshot_symbol): Likewise. Store resulting symbol
60
        there. Use symbol_equated_p.
61
        * expr.c (resolve_expression): Change first argument to
62
        snapshot_symbol. Track possibly changed add_symbol consistently
63
        across function. Resolve more special cases with known result.
64
        Also update final_val when replacing add_symbol.
65
 
66
2005-12-13  Jan-Benedict Glaw  
67
 
68
        * config/tc-vax.c: Convert to ISO C90 format.  Fix formatting and
69
        white space usage as well.
70
 
71
2005-12-20  Sterling Augustine  
72
 
73
        * config/tc-xtensa.c (xtensa_mark_narrow_branches): Set
74
        is_aligning_branch flag.
75
        (find_address_of_next_align_frag): Limit by xtensa_fetch_width.
76
        (future_alignment_required): Except for frags with is_aligning_branch
77
        flag set, call frag_wane for frags that do not need to be reexamined
78
        for aligning.
79
        (relax_frag_immed): Replace orig_vinsn with cur_vinsn to fix a leak.
80
        (convert_frag_immed): Likewise.
81
        (convert_frag_narrow): Check is_aligning_branch flag.
82
        * config/tc-xtensa.h (xtensa_frag_type): Add is_aligning_branch flag.
83
 
84
2005-12-20  Sterling Augustine  
85
 
86
        * config/tc-xtensa.c (xg_find_narrowest_format): Optimize 1 slot case.
87
        (xg_init_vinsn): Remove redundant initialization.
88
        (xg_clear_vinsn): Zero all the slots with a single memset.
89
        * config/xtensa-istack.h (vliw_insn): Move insnbuf field after slots.
90
 
91
2005-12-20  Nathan Sidwell  
92
 
93
        * doc/t-mt.texi: Update MS1 to MT.
94
 
95
2005-12-16  Nathan Sidwell  
96
 
97
        Second part of ms1 to mt renaming.
98
        * configure: Rebuilt.
99
        * configure.in (mt): Remove special case.
100
        * config/tc-mt.c (opcodes/mt-desc.h, opcodes/mt-opc.h): Change
101
        #includes.
102
        (mt_insn, mt_mach, mt_mach_bitmask, mt_flags, mt_architectures):
103
        Rename, adjust.
104
        (md_parse_option, md_show_usage, md_begin, md_assemble,
105
        md_cgen_lookup_reloc, md_atof): Adjust.
106
        (mt_force_relocation, mt_apply_fix, mt_fix_adjustable): Rename, adjust.
107
        * config/tc-mt.h (TC_MT): Rename.
108
        (LISTING_HEADER, TARGET_ARCH, TARGET_FORMAT): Adjust.
109
        (md_apply_fix): Adjust.
110
        (mt_apply_fix, mt_fix_adjustable, mt_force_relocation): Rename.
111
        (TC_FORCE_RELOCATION, tc_fix_adjustable): Adjust.
112
 
113
2005-12-14  Jan Beulich  
114
 
115
        * config/tc-i386.c (add_prefix): More fine-grained handling of
116
        REX prefixes. Or new prefix value into i.prefix instead of
117
        assigning.
118
 
119
2005-12-13  DJ Delorie  
120
 
121
        * config/tc-m32c.c (m32c_md_end): Only pad code sections.
122
 
123
2005-12-12  Paul Brook  
124
 
125
        * config/tc-arm.c (do_branch): Generate EABI branch relocations.
126
        (do_bl): New function.
127
        (do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
128
        (do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
129
        (insns): Use do_bl.
130
        (md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
131
        BFD_RELOC_ARM_PCREL_JUMP.
132
        (md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
133
        BFD_RELOC_ARM_PCREL_BLX cases.  Handle BFD_RELOC_ARM_PCREL_CALL and
134
        BFD_RELOC_ARM_PCREL_JUMP.
135
        (tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
136
        BFD_RELOC_ARM_PCREL_JUMP.
137
        gas/testsuite/
138
        * gas/arm/pic.d: Allow R_ARM_CALL relocations.
139
 
140
2005-12-12  Nathan Sidwell  
141
 
142
        * configure.in: Replace ms1 arch with mt arch.
143
        * configure: Rebuilt.
144
        * configure.tgt: Replace ms1 arch with mt arch.
145
        * config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
146
        * doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
147
        * doc/Makefile.in: Rebuilt.
148
 
149
2005-12-07  Hans-Peter Nilsson  
150
 
151
        Change 32-bit-branch expansion for --pic.
152
        * config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
153
        (md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
154
        (cris_any_v0_v10_long_jump_size_pic): New macro.
155
        (md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
156
        (md_convert_frag): Similar.
157
        (md_create_long_jump): Change 32-bit-branch expansion for --pic.
158
        (md_assemble, gen_cond_branch_32): Adjust similarly.
159
        (md_parse_option) : Adjust md_long_jump_size.
160
        : Similar, if --pic.
161
 
162
2005-12-06  H.J. Lu  
163
 
164
        PR gas/1874
165
        * config/tc-i386.c (match_template): Handle monitor.
166
        (process_suffix): Likewise.
167
 
168
2005-12-05  John David Anglin  
169
 
170
        Bug gas/1948
171
        * symbols.c (colon): Also check if now_seg is bss_section when a symbol
172
        is being redefined.
173
 
174
2005-12-02  Arnold Metselaar  
175
 
176
        * config/tc-z80.c (emit_ldreg): fix bug in ld rr,
177
 
178
2005-11-26  Arnold Metselaar  
179
 
180
        * config/tc-z80.c (z80_start_line_hook): issue an error when
181
        redefining a symbol with equ
182
        * doc/as.texinfo(equ): mention difference with .equiv
183
        * doc/as.texinfo(err): fix typo
184
        * doc/c-z80.texi(equ): redefining a symbol with equ is no longer
185
        allowed
186
 
187
2005-11-24  John David Anglin  
188
 
189
        Bug gas/1896
190
        * config/tc-hppa.c (hppa_fix_adjustable): Don't reject for reduction
191
        R_HPPA relocations that are 32-bits wide.
192
 
193
2005-11-23  Daniel Jacobowitz  
194
            Thiemo Seufer 
195
 
196
        * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL_S2.
197
        (macro_build): Complain for invalid branch displacements.
198
        (mips_validate_fix): Delete.
199
        (md_apply_fix): Re-add pcrel support for branches.  Use consistent
200
        text for misaligned branch targets.
201
        (tc_gen_reloc: Re-add pcrel support for branches.  Handle strange
202
        BFD pcrel processing.  Remove error for unresolved branches.
203
        * config/tc-mips.h (TC_VALIDATE_FIX, mips_validate_fix): Delete.
204
 
205
2005-11-22  James E Wilson  
206
 
207
        * config/tc-ia64.c (emit_one_bundle): Perform last_slot < 0 check
208
        even when manual_bundling isn't set.
209
 
210
        * config/tc-ia64.c (slot_index): Emit an error instead of a warning
211
        when the frag chain is broken by section switching.
212
 
213
2005-11-18  Jie Zhang  
214
 
215
        * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
216
        * config/bfin-parse.y (asm_1): Check register type for load immediate
217
        instruction.
218
 
219
2005-11-17  Alexandre Oliva  
220
 
221
        * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
222
        dotname.
223
        * write.c (write_object_file): Do not remove used weakrefd.
224
 
225
2005-11-17  Jan Beulich  
226
 
227
        * dw2gencfi.c (dot_cfi): Put argument parsing for cases
228
        DW_CFA_restore and DW_CFA_undefined in a loop.
229
 
230
2005-11-17  Jan Beulich  
231
 
232
 
233
        * symbols.h (S_CLEAR_VOLATILE): Declare.
234
        * symbols.c (colon): Also accept redefinable symbols for
235
        redefinition. Clone them before modifying.
236
        (S_CLEAR_VOLATILE): Define.
237
        * cond.c (s_ifdef): Also test for equated symbols.
238
        * read.c (s_comm_internal): Also exclude non-redefinable
239
        equated symbols. Clone redefinable ones before modifying.
240
        (s_weakref): Clone redefinable symbols before modifying.
241
        * doc/internals.texi: Document sy_volatile, sy_forward_ref,
242
        S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
243
        S_IS_FORWARD_REF, and S_SET_FORWARD_REF.
244
 
245
2005-11-16  Alan Modra  
246
 
247
        * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
248
 
249
2005-11-16  Alan Modra  
250
 
251
        * configure.tgt (i386-*-gnu*): Set em=gnu.
252
        * config/te-gnu.h: New file.
253
        * config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
254
 
255
2005-11-16  Alan Modra  
256
 
257
        * config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
258
        * config/tc-alpha.c (s_alpha_comm): Likewise.  Also, remove
259
        redundant check.
260
        * read.c (s_lsym): Remove non-BFD assembler sym handling.
261
 
262
2005-11-16  Alan Modra  
263
 
264
        * read.c (s_comm_internal): Set bfd_com_section segment.
265
        (s_mri_common): Likewise.
266
        * write.c (write_object_file): Remove non-BFD assembler common
267
        sym handling.
268
 
269
2005-11-15  Daniel Jacobowitz  
270
 
271
        * config/tc-arm.c (s_arm_unwind_save_core): Don't emit an extra
272
        opcode if r4-r15 are not saved.
273
 
274
2005-11-15  Alan Modra  
275
 
276
        * symbols.c (S_GET_VALUE): Remove non-BFD assembler recursion guard.
277
 
278
2005-11-14  Jan Beulich  
279
 
280
        * config/tc-ia64.c (AR_FCR, AR_EFLAG, AR_CSD, AR_SSD, AR_CFLG,
281
        AR_FSR, AR_FIR, AR_FDR, AR_CCV, AR_EC): Define.
282
        (ar): Use AR_* instead of literals.
283
        (CR_DCR, CR_ITM, CR_IVA, CR_PTA, CR_GPTA, CR_LID, CR_ITV,
284
        CR_PMV, CR_CMCV): Define.
285
        (cr): Use CR_* instead of literals.
286
 
287
2005-11-14  Jan Beulich  
288
 
289
        * config/tc-ia64.c (md): Rename regsym to indregsym and move
290
        it to the end of the structure.
291
        (ar): Field regnum is unsigned.
292
        (cr): Likewise:
293
        (indirect_reg): Likewise.
294
        (declare_register_set): Parameter regnum is unsigned.
295
        (declare_register): Parameter numregs and base_regnum are
296
        unsigned. So is the local loop variable.
297
        (md_begin): Restrict scope of local variable regnum, which
298
        also is unsigned. Replace loops with function calls where
299
        possible. Re-order things so that register groups are kept
300
        together. Remove all uses of regsym except for indirect
301
        registers. Replace use of regsym by indregsym for indirect
302
        registers.
303
        (ia64_optimize_expr): Replace use of regsym by indregsym for
304
        indirect registers, with appropriate bias.
305
 
306
2005-11-14  David Ung  
307
 
308
        * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
309
        for the MIPS16e save/restore instructions.
310
 
311
2005-11-11  Jan Beulich  
312
 
313
        * doc/Makefile.am: Make asconfig.texi writeable before trying
314
        to write to it.
315
        * doc/Makefile.in: Refresh.
316
 
317
2005-11-10  Jan Beulich  
318
 
319
        * config/tc-i386.c (intel_e11): Don't special-case segment
320
        registers in brackets.
321
 
322
2005-11-10  Nick Clifton  
323
 
324
        * config/tc-arm.c (BAD_ADDR_MODE): Define.
325
        (arm_reg_parse_multi): Return NULL rather than FAIL.
326
        (arm_reg_parse): Fix comment, the function returns FAIL rather
327
        than NULL if it is unable to parse the register name.
328
        (do_ldrex): Use BAD_ADDR_MODE.
329
        Change error message for PC-relative addressing.
330
        (do_strex): Likewise.
331
        (do_t_ldrex): Use BAD_ADDR_MODE.
332
        (do_t_strex): Likewise.
333
 
334
2005-11-08   Jean-Jacques Metayer  
335
 
336
        * config/tc-sparc.c (isoctal): Fix thinko.
337
 
338
2005-11-08  Arnold Metselaar  
339
 
340
        * expr.c (operand ): Use DOLLAR_AMBIGU rather than
341
        flag_mri_m68k as condition for parsing the '$' as a prefix.
342
        * as.h (DOLLAR_AMBIGU): Define if needed.
343
 
344
2005-11-08  Nathan Sidwell  
345
 
346
        Add ms2 support.
347
        * config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
348
        (ms1_architectures): Add ms2.
349
        (md_parse_option): Add ms2.
350
        (md_show_usage): Add ms2.
351
        (md_assemble): Add JAL_HAZARD detection logic.
352
        (md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
353
        * doc/c-ms1.texi: New.
354
        * doc/all.texi: Add MS1.
355
        * doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
356
        * doc/Makefile.in: Rebuilt.
357
        * doc/Makefile: Rebuilt.
358
 
359
2005-11-07  Steve Ellcey  
360
 
361
        * configure: Regenerate after modifying bfd/warning.m4.
362
 
363
2005-11-07  John David Anglin  
364
 
365
        PR gas/1804
366
        * config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
367
        output constant data.
368
 
369
2005-11-07  Mark Mitchell  
370
 
371
        * doc/Makefile.am (asconfig.texi): Set top_srcdir.
372
        * doc/Makefile.in: Regenerated.
373
        * doc/as.texinfo: Document "@FILE".
374
 
375
2005-11-07  Nick Clifton  
376
 
377
        PR binutils/1568
378
        * config/obj-coff.c (obj_coff_section): Set readonly flag with the
379
        'x' attribute.  Remember the actions of the 'w' and 'n' attributes
380
        and do not allow the 'x','s' or 'd' attributes to change them.
381
 
382
2005-11-07  John Levon  
383
 
384
        * config/tc-i386.h (tc_comment_chars): Define.
385
        * config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
386
        (i386_comment_chars): Add.
387
        (md_parse_options): Process OPTION_DIVIDE.
388
        (md_show_usage): Describe --divide option.
389
        * doc/c-i386.texi: Document --divide option.
390
 
391
2005-11-07  Arnold Metselaar  
392
 
393
        * expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
394
        * config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
395
 
396
2005-11-07  Alan Modra  
397
 
398
        * macro.c (buffer_and_nest): Skip labels regardless of
399
        NO_PSEUDO_DOT and flag_m68k_mri.
400
 
401
2005-11-07  Arnold Metselaar  
402
 
403
        * expr.c (integer_constant): Match only 'B' as binary suffix if
404
        NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB.  Allow both 'b' and 'B'
405
        otherwise.
406
 
407
2005-11-04  Alexandre Oliva  
408
 
409
        * read.c (s_weakref): Do not permit redefinitions.
410
        * symbols.c (colon): Do not permit redefinitions of equated
411
        symbols.
412
 
413
2005-11-01  Thiemo Seufer  
414
 
415
        PR gas/1299
416
        * Makefile.am: Disable -Werror for the itbl-lex.o rule.
417
        * Makefile.in: Regenerate.
418
 
419
2005-11-01  Thiemo Seufer  
420
 
421
        * config/tc-mips.c (md_parse_option): Fix typo in comment.
422
 
423
2005-10-30  Mark Mitchell  
424
 
425
        * as.c (show_usage): Document "@FILE".
426
 
427
2005-10-30  H.J. Lu  
428
 
429
        * Makefile.am (OBJ_FORMATS): Remove vms.
430
        Run "make dep-am".
431
        * Makefile.in: Regenerated.
432
 
433
        * dep-in.sed: Replace " ./" with " ".
434
 
435
2005-10-28  Dave Brolley  
436
 
437
        Contribute the following change:
438
        2005-09-19  Dave Brolley  
439
 
440
        * config/tc-m32c.c (default_isa): New static variable.
441
        (m32c_isa): Now of type CGEN_BITSET.
442
        (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
443
 
444
2005-10-28  Paul Brook  
445
 
446
        * config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
447
        instead of mcpu_cpu_opt.
448
 
449
2005-10-27  Sterling Augustine  
450
 
451
        * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
452
        refer to "ports" instead of "queues".
453
        (check_t1_t2_reads_and_writes): Pass correct interface values to
454
        xtensa_interface_inout.
455
 
456
2005-10-27  Jan Beulich  
457
 
458
        * read.c (assign_symbol): Also consider equates already defined.
459
        * symbols.c (symbol_clone): Also clone the underlying BFD symbol.
460
        * config/obj-coff.h (obj_symbol_clone_hook): New.
461
        (coff_obj_symbol_clone_hook): Declare.
462
        * config/obj-coff.c (coff_obj_symbol_clone_hook): New.
463
 
464
2005-10-26  DJ Delorie  
465
 
466
        * config/tc-m32c.c (md_relax_table, subtype_mappings,
467
        md_convert_frag): Add jsr.w support.
468
 
469
        * config/tc-m32c.c (md_assemble): Don't use errmsg as the format
470
        itself.
471
        (md_cgen_lookup_reloc): Add m32c bitbase operands.  Add 8-s24
472
        and imm-8-HI operands.
473
 
474
2005-10-26  Paul Brook  
475
 
476
        * config/tc-arm.c (insns): Correct "sel" entry.
477
 
478
2005-10-26  Jan Beulich  
479
 
480
        * config/tc-i386.c (i386_operand): Don't check register prefix here.
481
        (parse_real_register): Rename from parse_register.
482
        (parse_register): New.
483
        (i386_parse_name): New.
484
        (md_operand): New.
485
        (intel_e11): Don't tolerate registers in offset expressions anymore.
486
        (intel_get_token): Don't check register prefix here. Copy the actual
487
        register token, not the canonical register name.
488
        * config/tc-i386.h (md_operand): Delete.
489
        (i386_parse_name): Declare.
490
        (md_parse_name): Define.
491
 
492
2005-10-25  Arnold Metselaar  
493
 
494
        * Makefile.am: Add Z80 cpu.
495
        * Makefile.in: Regenerated.
496
        * app.c (do_scrub_chars): Correctly scrub "ex af,af'"
497
        and disallow newlines in quoted strings.
498
        * configure.tgt: Add z80-*-coff.
499
        * config/obj-coff.h: Add format "coff-z80".
500
        * doc/Makefile.am: Add c-z80.texi.
501
        * doc/Makefile.in: Regenerated.
502
        * doc/all.texi: Add Z80.
503
        * doc/c-z80.texi: New file
504
        * doc/as.texinfo: Add z80 options and some z80-related remarks.
505
        * config/tc-z80.c: New file
506
        * config/tc-z80.h: New file
507
        * NEWS: Mention new support.
508
 
509
2005-10-25  H.J. Lu  
510
 
511
        * write.c (adjust_reloc_syms): Undo the change made on
512
        2005-04-26 to allow local symbol set to undefined symbol.
513
 
514
2005-10-24  H.J. Lu  
515
 
516
        * Makefile.am (bfin-parse.tab.h): Removed.
517
        (bfin-parse.h): Added.
518
        * Makefile.in: Regenerated.
519
 
520
2005-10-25  Alan Modra  
521
 
522
        * po/POTFILES.in: Regenerate.
523
        * po/gas.pot: Regenerate.
524
 
525
2005-10-24  Bernd Schmidt  
526
 
527
        * config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
528
        make a single reloc with an offset rather than a stack.
529
        * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
530
 
531
2005-10-24  Alexandre Oliva  
532
 
533
        * read.c (potable): Add weakref.
534
        (s_weakref): New.
535
        * read.h (s_weakref): Declare.
536
        * struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
537
        * symbols.c (colon): Clear weakrefr.
538
        (symbol_find_exact): Rename to, and reimplement in terms of...
539
        (symbol_find_exact_noref): ... new function.
540
        (symbol_find): Likewise...
541
        (symbol_find_noref): ... ditto.
542
        (resolve_symbol_value): Resolve weakrefr without setting their
543
        values.
544
        (S_SET_WEAK): Call hook.
545
        (S_GET_VALUE): Follow weakref link.
546
        (S_SET_VALUE): Clear weakrefr.
547
        (S_IS_WEAK): Follow weakref link.
548
        (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
549
        (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
550
        (symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
551
        (symbol_mark_used): Follow weakref link.
552
        (print_symbol_value_1): Print weak, weakrefr and weakrefd.
553
        * symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
554
        (S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
555
        (S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
556
        * write.c (adust_reloc_syms): Follow weakref link.  Do not
557
        complain if target is undefined.
558
        (write_object_file): Likewise.  Remove weakrefr symbols.  Drop
559
        unreferenced weakrefd symbols.
560
        * config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
561
        symbols EXTERNAL.
562
        (pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
563
        * config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
564
        * doc/as.texinfo: Document weakref.
565
        * doc/internals.texi: Document new struct members, internal
566
        functions and hooks.
567
 
568
2005-10-24  Jie Zhang  
569
 
570
        * Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
571
        (EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
572
        * Makefile.in: Regenerate.
573
        * config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
574
        * config/tc-bfin.c (md_chars_to_number): Change the type of first
575
        argument from unsigned char * to char * to remove signedness warnings.
576
 
577
2005-10-24  Jan Beulich  
578
 
579
        * config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
580
        (dot_rot): Change type of num_* variables. Check for positive count.
581
        (ia64_optimize_expr): Re-structure.
582
        (md_operand): Check for general register.
583
 
584
2005-10-24  Jan Beulich  
585
 
586
        * config/tc-ia64.c (declare_register): Call symbol_create.
587
        (md_begin): Remove local variables total, ar_base, and cr_base.
588
        Start loops for registers at their respective first one. Don't
589
        update md.regsym for alias names. Generate alias name tp for r13.
590
 
591
2005-10-21  DJ Delorie  
592
 
593
        * config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs.  Print
594
        names unstead of numbers.
595
 
596
2005-10-19  David Ung  
597
 
598
        * config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
599
        into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
600
        hence avoiding to emit a nop.
601
 
602
2005-10-19  Jie Zhang  
603
 
604
        * config/tc-bfin.c (md_begin): Let the lex_type of '(' be
605
        LEX_BEGIN_NAME.
606
        (bfin_start_line_hook): Remove the workaround for LSETUP(.
607
        (bfin_name_is_register): Remove the workarounds for LSETUP(
608
        and SAA(.
609
        (bfin_start_label): Ditto.
610
 
611
2005-10-18  Bob Wilson  
612
 
613
        * config/tc-xtensa.c (xtensa_end_directive): Restore
614
        default_lit_sections regardless of use_literal_section.
615
 
616
2005-10-18  Jie Zhang  
617
 
618
        * Makefile.am (bfin-lex.c): Update ylwrap invocation.
619
        * Makefile.in: Regenerated.
620
 
621
2005-10-18  Arnold Metselaar  
622
 
623
        * doc/as.texinfo (.loc) Fix placement of '@end table'.
624
 
625
2005-10-17  Bob Wilson  
626
 
627
        * config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
628
        unsigned line number.  Do not include "dwarf2dbg.h".
629
        * config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc".
630
        (xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete.
631
        (xg_build_to_insn, xg_build_token_insn): Update TInsn uses.
632
        (md_assemble): Use as_where instead of dwarf2_where.
633
        (xg_assemble_vliw_tokens): Use unsigned line numbers instead of
634
        dwarf2_line_infos.  Change to call new_logical_line followed by
635
        dwarf2_emit_insn.
636
 
637
2005-10-14  Mike Frysinger 
638
 
639
        * doc/as.texinfo (Section): Add missing ']' to .section example.
640
 
641
2005-10-12  John David Anglin  
642
 
643
        PR binutils/941
644
        * config/tc-hppa.c (pa_ip): Use as_bad instead of as_fatal when an
645
        unknown opcode is found.
646
 
647
2005-10-12  Mark Mitchell  
648
 
649
        * NEWS: Mention @file.
650
 
651
2005-10-12  Nick Clifton  
652
 
653
        * config/tc-avr.c: Convert to ISO C90 format.  Fix formatting and
654
        generally tidy up the code.
655
        * config/tc-avr.h: Likewise.
656
 
657
2005-10-12  Jan Beulich  
658
 
659
        * config/tc-ia64.c (dot_reg_val): Use expression_and_evaluate.
660
        (dot_pred_rel): Likewise.
661
        (parse_operand): Likewise.
662
        (ia64_unrecognized_line): Likewise.
663
        (md_operand): Likewise.
664
 
665
2005-10-11  Jan Beulich  
666
 
667
        * expr.h (enum expr_mode): New.
668
        (expression): Pass third argument to expr.
669
        (expression_and_evaluate): New.
670
        (deferred_expression): New.
671
        (expr): Add third parameter.
672
        (resolve_expression): New.
673
        * struc-symbol.h (struct symbol): New members sy_volatile and
674
        sy_forward_ref.
675
        * symbols.c, symbols.h (symbol_clone): New.
676
        (symbol_clone_if_forward_ref): New.
677
        (snapshot_symbol): New.
678
        (S_IS_VOLATILE): New.
679
        (S_IS_FORWARD_REF): New.
680
        (S_SET_VOLATILE): New.
681
        (S_SET_FORWARD_REF): New.
682
        * as.c (macro_expr): Use expression_and_evaluate.
683
        * cond.c (s_if): Likewise.
684
        (s_elseif): Likewise.
685
        * dw2gencfi.c (cfi_parse_reg): Likewise.
686
        * expr.c (operand): Add second parameter. Optionally call
687
        deferred_expression. Pass mode argument to itself and md_parse_name.
688
        Check mode before trying to evaluate symbol. Call
689
        symbol_clone_if_forward_ref for both operands.
690
        (expr): Add third parameter. Pass mode to operand and itself.
691
        Optionally call resolve_expression.
692
        (resolve_expression): New.
693
        (get_single_number): Pass second argument to operand.
694
        * read.c (potable): New entry for .eqv.
695
        (read_a_source_file): Handle new == operator.
696
        (get_absolute_expr): Use expression_and_evaluate.
697
        (s_lsym): Likewise.
698
        (assign_symbol): Rename second parameter. Call symbol_clone on
699
        legal and illegal redefinition. Call S_SET_VOLATILE and
700
        S_SET_FORWARD_REF depending on mode.
701
        (s_set): Update description.
702
        (s_space): Call resolve_expression.
703
        (pseudo_set): Optionally call deferred_expression. Check
704
        S_IS_FORWARD_REF before trying to simplify/resolve an expression.
705
        (equals): Handle ==.
706
        * config/tc-ia64.h (md_parse_name): Add mode parameter.
707
        * config/tc-arc.c (arc_parse_cons_expression): Likewise.
708
        * config/tc-m32r.h (md_parse_name): Likewise.
709
        (m32r_parse_name): Likewise.
710
        * config/tc-mmix.h (md_parse_name): Likewise.
711
        * config/tc-mn10300.h (md_parse_name): Likewise.
712
        (mn10300_parse_name): Likewise.
713
        * config/tc-ppc.h (md_parse_name): Likewise.
714
        * config/tc-sh.h (md_parse_name): Likewise.
715
        (sh_parse_name): Likewise.
716
        * config/tc-sh64.h (md_parse_name): Likewise.
717
        (sh64_consume_datalabel): Likewise.
718
        * config/tc-tic54x.h (md_parse_name): Likewise.
719
        * config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it
720
        before trying to evaluate symbol.
721
        * config/tc-mn10300.c (mn10300_parse_name): Likewise.
722
        * config/tc-sh.c (sh_parse_name): Likewise.
723
        * config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass
724
        second argument to operandf. Pass mode parameter to sh_parse_name.
725
        * doc/as.texinfo: Document .eqv and the == assignment operator.
726
 
727
2005-10-10  Ian Lance Taylor  
728
 
729
        * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
730
        * Makefile.in: Regenerate.
731
 
732
2005-10-10  Arnold Metselaar  
733
 
734
        * expr.c (operator): Allow "!=" as a synonym for "<>".
735
        * doc/as.texinfo (Infix Op): Mention "!=".
736
 
737
2005-10-08  John David Anglin  
738
 
739
        * config/tc-hppa.c (strict): Don't initialize.  Update comment.
740
        (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
741
        found.  Simplify handling of "ma" and "mb" completers.
742
 
743
2005-10-08  Paul Brook  
744
 
745
        * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
746
        (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
747
        New variables.
748
        (arm_cpu_option_table): Add canonical_name.
749
        (arm_cpus): Populate canonical_name field.
750
        (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
751
        aeabi_set_public_attributes, arm_md_end): New functions.
752
        (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
753
        (md_assemble): Set thumb_arch_used and arm_arch_used.
754
        (md_begin): Set defaut cpu if CPU_DEFAULT not defined.
755
        * config/tc-arm.h (md_end): Define.
756
        * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
757
 
758
2005-10-06  Khem Raj  
759
            NIIBE Yutaka  
760
 
761
        * config/tc-sh.c (allow_dollar_register_prefix): New variable.
762
        (parse_reg_without_prefix): New function.
763
        (parse_reg): Check for '$' register prefix if --allow-reg-prefix is
764
        set.
765
        (option md_longopts): Add allow-reg-prefix option.
766
        * doc/c-sh.texi: Document --allow-reg-prefix option.
767
        * NEWS: Mention the new switch.
768
 
769
2005-10-03  Arnold Metselaar  
770
 
771
        * doc/as.texinfo (Infix Ops):  '<' and '>' are not shift
772
        operators.
773
 
774
2005-09-30  Sterling Augustine  
775
            Bob Wilson  
776
 
777
        * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
778
 
779
2005-09-30  H.J. Lu  
780
 
781
        * Makefile.am: Run "make dep-am".
782
        * Makefile.in: Regenerated.
783
        * aclocal.m4: Likewise.
784
 
785
2005-09-30  Mark Mitchell  
786
 
787
        * as.c (main): Use expandargv.
788
 
789
2005-09-30  Jan Beulich  
790
 
791
        * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
792
        (removed) comma.
793
 
794
2005-09-30  Catherine Moore  
795
 
796
        * Makefile.am: Bfin support.
797
        * Makefile.in: Regenerated.
798
        * aclocal.m4: Regenerated.
799
        * configure: Regenerated.
800
        * configure.in: Bfin support.
801
        * configure.tgt: Bfin support.
802
        * config/bfin-aux.h: New file.
803
        * config/bfin-defs.h: New file.
804
        * config/bfin-lex.l: New file.
805
        * config/bfin-parse.y: New file.
806
        * config/tc-bfin.c: New file.
807
        * config/tc-bfin.h: New file.
808
        * doc/Makefile.am: Recognize c-bfin.texi.
809
        * doc/Makefile.in: Regenerated.
810
        * doc/all.texi: Bfin support.
811
        * doc/as.texinfo: Likewise.
812
        * doc/c-bfin.texi: Document bfin-specific syntax and
813
        directives.
814
 
815
2005-09-30  Paul Brook  
816
 
817
        * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
818
        (opcode_lookup): Handle OT_cinfix3_legacy.  Revert earlier change for
819
        normal infix conditions.
820
        (C3E): Include Thumb-2 definition.
821
        (CL, cCL): Define.
822
        (insns): Use them for legacy mnemonics.
823
 
824
2005-09-30  Matthias Kurz  
825
 
826
        * asintl.h: Prevent the inclusion of  from the Solaris
827
        version of  when ENABLE_NLS is not defined.
828
 
829
2005-09-29  Jan Beulich  
830
 
831
        * config/tc-ia64.c (parse_operands): Always parse first operand of
832
        alloc.
833
 
834
2005-09-29  Arnold Metselaar 
835
            Alan Modra  
836
 
837
        * app.c (do_scrub_chars): Match open and close quote of strings.
838
        Remove redundant EOF test in case 7.
839
 
840
2005-09-28  Jan Beulich  
841
 
842
        * config/tc-i386.c (reloc): Disable signedness check for 4-byte
843
        relocations in 16- and 32-bit modes.
844
        (i386_displacement): Make pc-relative branch handling dependent
845
        upon operand (rather than address) size.
846
 
847
2005-09-28  Jan Beulich  
848
 
849
        * dw2gencfi.c (dot_cfi): Call ignore_rest_of_line when not fully
850
        parsing the input.
851
        (dot_cfi_startproc): Likewise.
852
        (dot_cfi_endproc): Likewise. Also check no extra input was given.
853
        (dot_cfi_escape): Likewise.
854
 
855
2005-09-28  Jan Beulich  
856
 
857
        * config/tc-i386.h (x86_cons_fix_new): Declare unconditionally.
858
        (TC_CONS_FIX_NEW): Define unconditionally.
859
        (x86_pe_cons_fix_new): Remove.
860
        * config/tc-i386.c (signed_cons): New.
861
        (md_pseudo_table): Add slong.
862
        (x86_cons_fix_new): Declare unconditionally.
863
        (x86_pe_cons_fix_new): Merge into x86_cons_fix_new.
864
        (tc_gen_reloc): Also consider BFD_RELOC_X86_64_32S for gotpc
865
        conversion.
866
 
867
2005-09-28  Arnold Metselaar  
868
 
869
        * app.c (do_scrub_chars ): Check for full
870
        buffer after copying string.
871
 
872
2005-09-27  Paul Brook  
873
 
874
        * config/arm.c (arm_cpus): Add more cpu names.
875
        * doc/c-arm.texi: Document them.
876
 
877
2005-09-21  Alan Modra  
878
 
879
        * read.c (pseudo_set): Don't set undefined symbols to expr_section.
880
 
881
2005-09-20  Richard Henderson  
882
 
883
        * dwarf2dbg.c (process_entries): Fix uninitialized variable warning.
884
 
885
2005-09-20  Richard Henderson  
886
 
887
        * dwarf2dbg.c (struct line_entry): Replace frag and frag_ofs
888
        with label.
889
        (dwarf2_loc_mark_labels): New.
890
        (dwarf2_gen_line_info_1): Split out of ...
891
        (dwarf2_gen_line_info): ... here.  Create the temp symbol here.
892
        (dwarf2_emit_label): New.
893
        (dwarf2_directive_loc_mark_labels): New.
894
        (out_set_addr): Take a symbol instead of frag+ofs.
895
        (relax_inc_line_addr): Likewise.
896
        (emit_inc_line_addr): Assert delta non-negative.
897
        (process_entries): Remove dead code.  Update to work with temp
898
        symbols instead of frag+ofs.
899
        * dwarf2dbg.h (dwarf2_directive_loc_mark_labels): Declare.
900
        (dwarf2_emit_label, dwarf2_loc_mark_labels): Declare.
901
        * config/obj-elf.c (elf_pseudo_tab): Add loc_mark_labels.
902
        * config/obj-elf.h (obj_frob_label): New.
903
        * config/tc-alpha.c (alpha_define_label): Call dwarf2_emit_label.
904
        * config/tc-arm.c, config/tc-hppa.c, config/tc-m68k.c,
905
        config/tc-mips.c, config/tc-ppc.c, config/tc-sh.c, config/tc-xtensa.c:
906
        Similarly in the respective tc_frob_label implementation functions.
907
        * config/tc-i386.c (md_pseudo_table): Move file and loc to
908
        non-elf section; add loc_mark_labels.
909
        * config/tc-ia64.c (struct label_fix): Add dw2_mark_labels.
910
        (ia64_flush_insns): Check for marked labels; emit line entry if so.
911
        (emit_one_bundle): Similarly.
912
        (ia64_frob_label): Record marked labels.
913
        * config/tc-m68hc11.h (tc_frob_label): Remove.
914
        * config/tc-ms1.c (md_pseudo_table): Remove file and loc.
915
        * config/tc-sh.h (tc_frob_label): Pass sym to sh_frob_label.
916
        * config/tc-sh64.h (tc_frob_label): Likewise.
917
        * doc/as.texinfo (LNS directives): Docuement .loc_mark_blocks.
918
 
919
2005-09-20  Alan Modra  
920
 
921
        * read.c (pseudo_set): Set segment of expression syms to expr_section.
922
 
923
2005-09-14  Jan Beulich  
924
 
925
        * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Add selector
926
        registers, floating point control and status words, and mxcsr as
927
        well as (for 64-bit code) segment base registers and rflags.
928
 
929
2005-09-09  Dmitry Diky  
930
 
931
        * config/tc-msp430.c (msp430_operands): Undo last changes. Instead...
932
        (msp430_relax_frag): add a guard check to ensure that final fr_subtype
933
        has been reached.
934
 
935
2005-09-08  Chao-ying Fu  
936
 
937
        * doc/as.texinfo: Document -mdsp and -mno-dsp options.
938
        * doc/c-mips.texi: Likewise, and document ".set dsp" and ".set nodsp"
939
        directives.
940
 
941
2005-09-08  Paul Brook  
942
 
943
        * config/tc-arm.c (do_smi, do_t_smi): Rename ...
944
        (do_smc, do_t_smc): ... to this.
945
        (insns): Remane smi to smc.
946
        (md_apply_fix, tc_gen_reloc): Rename BFD_RELOC_ARM_SMI to
947
        BFD_RELOC_ARM_SMC.
948
 
949
2005-09-07  Richard Henderson  
950
 
951
        * dwarf2dbg.c (dwarf2_where): Set line->isa.
952
        (dwarf2_set_isa): New.
953
        (dwarf2_directive_loc): Rearrange to allow all options on one line.
954
        * dwarf2dbg.h (dwarf2_set_isa): Declare.
955
        * doc/as.texinfo: Update .loc documentation.
956
 
957
2005-09-07  Richard Henderson  
958
 
959
        * dwarf2dbg.c: Include safe-ctype.h.
960
        (DWARF2_LINE_OPCODE_BASE): Bump to 13.
961
        (current): Initialize.
962
        (dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
963
        DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
964
        (dwarf2_directive_file): Cope with invalid filename.
965
        (dwarf2_directive_loc): Add handling for basic_block, prologue_end,
966
        epilogue_begin, is_stmt, isa.
967
        (emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
968
        case down lower.
969
        (process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
970
        and DWARF2_FLAG_EPILOGUE_BEGIN.
971
        (out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
972
        DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
973
        * dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT.
974
        (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
975
        (DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
976
        (struct dwarf2_line_info): Add isa member.
977
        * doc/as.texinfo (LNS directives): New node.
978
 
979
2005-09-07  David Ung  
980
 
981
        * config/tc-mips.c (append_insn): Undo last change.  Instead add
982
        guard to suppress calling frag_grow if the current instruction is
983
        one that allows a delay slot.
984
 
985
2005-09-06  Chao-ying Fu  
986
 
987
        * config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
988
        (mips_opts): Add -1 to initialize ase_mt.
989
        (file_ase_mt): New variable for -mmt.
990
        (CPU_HAS_MT): New define.
991
        (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
992
        formats.
993
        (mips_ip): Check ase_mt to enable MT instructions.
994
        Handle !, $, *, &, +T, +t, g operand formats.
995
        For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
996
        odd float registers.
997
        (OPTION_MT, OPTION_NO_MT): New define.
998
        (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
999
        (md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
1000
        (mips_after_parse_args): Set ase_mt based on CPU.
1001
        (s_mipsset): Handle ".set mt" and ".set nomt".
1002
        (mips_elf_final_processing): Remind of adding new flag for MT ASE.
1003
        (md_show_usage): Show usage of -mmt and -mno-mt.
1004
        * doc/as.texinfo: Document -mmt and -mno-mt options.
1005
        * doc/c-mips.texi: Likewise, and document ".set mt" and ".set nomt"
1006
        directives.
1007
 
1008
2005-09-06  Paul Brook  
1009
 
1010
        * config/tc-arm.c (arm_it): Add relax field.
1011
        (T16_32_TAB): Add addi, addis, add_pc, add_sp, dec_sp, inc_sp,
1012
        b, bcond, ldr_pc, ldr_pc2, ldr_sp, str_sp, subi, subis.
1013
        (do_t_add_sub, do_t_addr, do_t_branch, do_t_ldst,
1014
        do_t_mov_cmp): Allow relaxation.
1015
        (output_relax_insn): New function.
1016
        (put_thumb32_insn): New function.
1017
        (output_inst): Use new functions.
1018
        (md_assemble): Don't throw error on relaxable instructions.
1019
        (insns): Change "b" entry from TCE(...) to tCE(...).
1020
        (md_estimate_size_before_relax): Return 2.
1021
        (md_convert_frag, relax_immediate, relax_adr, relax_addsub,
1022
        relax_branch, arm_relax_frag): New functions.
1023
        (arm_force_relocation): Return 0 for Thumb-2 immediate operand
1024
        relocations.
1025
        * config/tc-arm.h (md_convert_frag): Remove definition.
1026
        (md_relax_frag): Define.
1027
        (arm_relax_frag): Add prototype.
1028
 
1029
2005-09-02  Paul Brook  
1030
 
1031
        * config/tc-arm.c (do_rn_rd): Enforce SWP operand constraints.
1032
 
1033
2005-09-02  Paul Brook  
1034
 
1035
        * config/tc-arm.c (encode_arm_cp_address): Use
1036
        BFD_RELOC_ARM_T32_CP_OFF_IMM in thumb mode.
1037
        (do_iwmmxt_wldstbh): Use BFD_RELOC_ARM_T32_CP_OFF_IMM_S2 in thumb
1038
        mode.
1039
        (md_assemble): Only allow coprocessor instructions when Thumb-2 is
1040
        available.
1041
        (cCE, cC3): Define.
1042
        (insns): Use them for coprocessor instructions.
1043
        (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM.
1044
        (get_thumb32_insn): New function.
1045
        (put_thumb32_insn): New function.
1046
        (md_apply_fix): Handle BFD_RELOC_ARM_T32_CP_OFF_IMM and
1047
        BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
1048
 
1049
2005-09-02  Paul Brook  
1050
 
1051
        * config/tc-arm.c (opcode_lookup): Look for infix opcode when
1052
        incorrect suffix matches.
1053
 
1054
2005-09-01  David Ung  
1055
 
1056
        * config/tc-mips.c (append_insn): Correctly handle mips16 case
1057
        when the frags are different for the 2 instructions we want to
1058
        swap.  If the lengths of the 2 instructions are not the same, we
1059
        won't do the swap but emit an nop.
1060
 
1061
2005-09-01  Dmitry Diky  
1062
 
1063
        * config/tc-msp430.c (msp430_operands): Emit dwarf2_emit_insn()
1064
        as appropriate. Change frag_variant() to frag_var() for relaxes.
1065
 
1066
2005-08-29  Nick Clifton  
1067
 
1068
        * write.c (generic_force_reloc): Do not call S_FORCE_RELOC if
1069
        there is no symbol.
1070
 
1071
2005-08-26  Jan Beulich  
1072
 
1073
        * config/tc-i386.c (intel_e09): Set JumpAbsolute when seeing a PTR-
1074
        qualified operand of a branch.
1075
        (intel_bracket_expr): Set JumpAbsolute here...
1076
        (intel_e11): ... rather than here.
1077
 
1078
2005-08-26  Christian Groessler  
1079
 
1080
        * configure.tgt: Set bfd_gas also for z8k cpu.
1081
        * config/tc-z8k.c (s_segm): Use bfd_set_arch_mach to set machine
1082
        type.
1083
        (newfix): Adapt to bfd reloc types.
1084
        (build_bytes): Adapt to bfd reloc types.  Ensure that enough space
1085
        is available in the current frag.
1086
        (md_convert_frag): Adapt function parameters.
1087
        (tc_gen_reloc): New function.
1088
        (md_section_align): Use bfd_get_section_alignment.
1089
        (md_apply_fix): Adapt to bfd reloc types.  Fix handling of
1090
        BFD_RELOC_Z8K_IMM4L, BFD_RELOC_8, BFD_RELOC_16, and BFD_RELOC_32
1091
        relocations.
1092
        * config/tc-z8k.h (TARGET_ARCH): Define.
1093
        (tc_fix_adjustable): Define.
1094
 
1095
2005-08-25  Chao-ying Fu  
1096
 
1097
        * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
1098
        (mips_opts): Add -1 to initialize ase_dsp.
1099
        (file_ase_dsp): New variable for -mdsp.
1100
        (CPU_HAS_DSP): New define.
1101
        (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @
1102
        operand formats.
1103
        (mips_ip): Add min_range and max_range for checking singed numbers.
1104
        Check ase_dsp to enable DSP instructions.
1105
        Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats.
1106
        (OPTION_DSP, OPTION_NO_DSP): New define.
1107
        (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define.
1108
        (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP.
1109
        (mips_after_parse_args): Set ase_dsp based on CPU.
1110
        (s_mipsset): Handle ".set dsp" and ".set nodsp".
1111
        (mips_elf_final_processing): Remind of adding new flag for DSP ASE.
1112
        (md_show_usage): Show usage of -mdsp and -mno-dsp.
1113
 
1114
2005-08-23  David Ung  
1115
 
1116
        * config/tc-mips.c (mips_cpu_info_table): Add 5kf to the table of
1117
        cpu names.
1118
 
1119
2005-08-23  Alan Modra  
1120
 
1121
        PR 1036
1122
        * config/tc-ppc.c (ppc_symbol_chars): Add '%' and '['.
1123
 
1124
2005-08-23  Phil Edwards  
1125
 
1126
        * configure.tgt (*-*-vxworks):  Match vxworks* instead.
1127
 
1128
2005-08-22  Jan Beulich  
1129
 
1130
        * config/tc-i386.c (object_64bit): New.
1131
        (i386_target_format): Initialize it.
1132
        (output_disp): Use object_64bit for relocation type determination.
1133
        (output_imm): Likewise.
1134
        (i386_validate_fix): Likewise.
1135
        (tc_gen_reloc): Likewise.
1136
        (lex_got): Likewise. Remove static mode_name. Change array size
1137
        of gotrel's rel field, and adjust its initializer. Adjust diagnostic.
1138
        (x86_cons): Use object_64bit for deciding whether quad fields can
1139
        have relocations.
1140
 
1141
2005-08-18  Christian Groessler  
1142
 
1143
        * config/tc-h8300.h: Remove TC_RELOC_MANGLE/tc_reloc_mangle.
1144
        * config/tc-mcore.h: Likewise.
1145
        * config/tc-z8k.h: Likewise.
1146
        * config/tc-z8k.c: Likewise.
1147
        * config/tc-sh.h: Remove TC_RELOC_MANGLE and
1148
        sh_coff_reloc_mangle declaration.
1149
        * config/tc-sh.c: (md_apply_fix): Fix comment for case
1150
        BFD_RELOC_SH_USES.
1151
 
1152
2005-08-18  Kaz Kojima  
1153
 
1154
        * config/tc-sh64.c (sh64_target_format): Check preset_target_arch
1155
        to confirm that no ISA is specified.
1156
 
1157
2005-08-18  Nick Clifton  
1158
 
1159
        * write.c (relax_segment): Count the number of frags being
1160
        processed and use this to compute a maximum limit on the number of
1161
        iterations that will be allowed when attempting to relax the
1162
        segment.
1163
 
1164
2005-08-17  Danny Smith  
1165
 
1166
        * config/obj-coff.c (obj_coff_weak): Set auxiliary record
1167
        of NT weak externals to IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY.
1168
 
1169
2005-08-16  Alan Modra  
1170
 
1171
        * config/tc-ppc.c (ppc_set_cpu): Don't select 64-bit based on
1172
        default cpu.
1173
 
1174
2005-08-15  Paul Brook  
1175
 
1176
        * config/tc-arm.c (do_t_mov_cmp): Fix encoding of i16-bit conditional
1177
        instructions.
1178
        (do_t_mvn_tst, do_t_neg, do_t_shift): Ditto.
1179
 
1180
2005-08-15  Daniel Jacobowitz  
1181
 
1182
        * config/tc-ppc.c (parse_cpu): Add -me300 support.
1183
        (md_show_usage): Likewise.
1184
        * doc/c-ppc.texi (PowerPC-Opts): Document it.
1185
 
1186
2005-08-12 Martin Schwidefsky  
1187
 
1188
        * config/tc-s390.c (md_parse_option):  Add cpu type z9-109.
1189
        (md_gather_operands): Add support for optional operands.
1190
 
1191
2005-08-12  Dmitry Diky 
1192
        * config/tc-msp430.c (msp430_enable_relax): New flag.
1193
        (msp430_enable_polys): Likewise.
1194
        (OPTION_RELAX): New option.
1195
        (OPTION_POLYMORPHS): Likewise.
1196
        (md_longopts): New long options.
1197
        (md_show_usage): Updated.
1198
        (md_parse_option): Add new options handler.
1199
        (msp430_operands): Add check if polymorph insns are enabled.
1200
        (msp430_force_relocation_local): New function.
1201
        (md_apply_fix): Now delete relocs according to new flags combination.
1202
        (msp430_relax_frag): Convert long branches to short branches only if
1203
        flag msp430_enable_relax is set.
1204
        * config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
1205
        (msp430_force_relocation_local): Likewise.
1206
        * doc/c-msp430.texi: Describe new options.
1207
 
1208
2005-08-11  Ian Lance Taylor  
1209
 
1210
        * Makefile.am ($(srcdir)/make-gas.com): Remove target.
1211
        (stamp-mk.com): Likewise.
1212
        (EXTRA_DIST): Remove make-gas.com from list.
1213
        (MOSTLYCLEANFILES): Remove stamp-mk.com from list.
1214
        * Makefile.in: Regenerate.
1215
 
1216
2005-08-11  Hans-Peter Nilsson  
1217
 
1218
        * subsegs.c (subseg_change): Move declaration of seginfo to before
1219
        first statement.
1220
 
1221
2005-08-11  Alan Modra  
1222
 
1223
        * README-vms: Delete.
1224
        * config-gas.com: Delete.
1225
        * makefile.vms: Delete.
1226
        * vmsconf.sh: Delete.
1227
        * config/atof-tahoe.c: Delete.
1228
        * config/m88k-opcode.h: Delete.
1229
        * config/obj-bout.c: Delete.
1230
        * config/obj-bout.h: Delete.
1231
        * config/obj-hp300.c: Delete.
1232
        * config/obj-hp300.h: Delete.
1233
        * config/tc-a29k.c: Delete.
1234
        * config/tc-a29k.h: Delete.
1235
        * config/tc-h8500.c: Delete.
1236
        * config/tc-h8500.h: Delete.
1237
        * config/tc-m88k.c: Delete.
1238
        * config/tc-m88k.h: Delete.
1239
        * config/tc-tahoe.c: Delete.
1240
        * config/tc-tahoe.h: Delete.
1241
        * config/tc-tic80.c: Delete.
1242
        * config/tc-tic80.h: Delete.
1243
        * config/tc-w65.c: Delete.
1244
        * config/tc-w65.h: Delete.
1245
        * config/te-aux.h: Delete.
1246
        * config/te-delt88.h: Delete.
1247
        * config/te-delta.h: Delete.
1248
        * config/te-dpx2.h: Delete.
1249
        * config/te-hp300.h: Delete.
1250
        * config/te-ic960.h: Delete.
1251
        * config/vms-a-conf.h: Delete.
1252
        * doc/c-a29k.texi: Delete.
1253
        * doc/c-h8500.texi: Delete.
1254
        * doc/c-m88k.texi: Delete.
1255
        * README: Remove obsolete examples, and list of supported targets.
1256
        * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65,
1257
        bout and hp300 support.
1258
        (DEP_FLAGS): Don't define BFD_ASSEMBLER.
1259
        * configure.in: Remove --enable-bfd-assembler, need_bfd,
1260
        primary_bfd_gas.
1261
        * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf,
1262
        m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy.
1263
        * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets.
1264
        * as.h: Likewise.
1265
        * dw2gencfi.c: Likewise.
1266
        * dwarf2dbg.c: Likewise.
1267
        * ehopt.c: Likewise.
1268
        * input-file.c: Likewise.
1269
        * listing.c: Likewise.
1270
        * literal.c: Likewise.
1271
        * messages.c: Likewise.
1272
        * obj.h: Likewise.
1273
        * output-file.c: Likewise.
1274
        * read.c: Likewise.
1275
        * stabs.c: Likewise.
1276
        * struc-symbol.h: Likewise.
1277
        * subsegs.c: Likewise.
1278
        * subsegs.h: Likewise.
1279
        * symbols.c: Likewise.
1280
        * symbols.h: Likewise.
1281
        * tc.h: Likewise.
1282
        * write.c: Likewise.
1283
        * write.h: Likewise.
1284
        * config/aout_gnu.h: Likewise.
1285
        * config/obj-aout.c: Likewise.
1286
        * config/obj-aout.h: Likewise.
1287
        * config/obj-coff.c: Likewise.
1288
        * config/obj-coff.h: Likewise.
1289
        * config/obj-evax.h: Likewise.
1290
        * config/obj-ieee.h: Likewise.
1291
        * config/tc-arm.c: Likewise.
1292
        * config/tc-arm.h: Likewise.
1293
        * config/tc-avr.c: Likewise.
1294
        * config/tc-avr.h: Likewise.
1295
        * config/tc-crx.h: Likewise.
1296
        * config/tc-d10v.h: Likewise.
1297
        * config/tc-d30v.h: Likewise.
1298
        * config/tc-dlx.h: Likewise.
1299
        * config/tc-fr30.h: Likewise.
1300
        * config/tc-frv.h: Likewise.
1301
        * config/tc-h8300.c: Likewise.
1302
        * config/tc-h8300.h: Likewise.
1303
        * config/tc-hppa.h: Likewise.
1304
        * config/tc-i370.h: Likewise.
1305
        * config/tc-i386.c: Likewise.
1306
        * config/tc-i386.h: Likewise.
1307
        * config/tc-i860.h: Likewise.
1308
        * config/tc-i960.c: Likewise.
1309
        * config/tc-i960.h: Likewise.
1310
        * config/tc-ip2k.h: Likewise.
1311
        * config/tc-iq2000.h: Likewise.
1312
        * config/tc-m32c.h: Likewise.
1313
        * config/tc-m32r.h: Likewise.
1314
        * config/tc-m68hc11.h: Likewise.
1315
        * config/tc-m68k.c: Likewise.
1316
        * config/tc-m68k.h: Likewise.
1317
        * config/tc-maxq.c: Likewise.
1318
        * config/tc-maxq.h: Likewise.
1319
        * config/tc-mcore.c: Likewise.
1320
        * config/tc-mcore.h: Likewise.
1321
        * config/tc-mn10200.h: Likewise.
1322
        * config/tc-mn10300.c: Likewise.
1323
        * config/tc-mn10300.h: Likewise.
1324
        * config/tc-ms1.h: Likewise.
1325
        * config/tc-msp430.c: Likewise.
1326
        * config/tc-msp430.h: Likewise.
1327
        * config/tc-ns32k.c: Likewise.
1328
        * config/tc-ns32k.h: Likewise.
1329
        * config/tc-openrisc.h: Likewise.
1330
        * config/tc-or32.c: Likewise.
1331
        * config/tc-or32.h: Likewise.
1332
        * config/tc-ppc.c: Likewise.
1333
        * config/tc-ppc.h: Likewise.
1334
        * config/tc-s390.h: Likewise.
1335
        * config/tc-sh.c: Likewise.
1336
        * config/tc-sh.h: Likewise.
1337
        * config/tc-sparc.c: Likewise.
1338
        * config/tc-tic30.c: Likewise.
1339
        * config/tc-tic30.h: Likewise.
1340
        * config/tc-tic4x.c: Likewise.
1341
        * config/tc-tic4x.h: Likewise.
1342
        * config/tc-tic54x.c: Likewise.
1343
        * config/tc-tic54x.h: Likewise.
1344
        * config/tc-v850.h: Likewise.
1345
        * config/tc-vax.c: Likewise.
1346
        * config/tc-vax.h: Likewise.
1347
        * config/tc-xstormy16.h: Likewise.
1348
        * config/tc-xtensa.h: Likewise.
1349
        * config/tc-z8k.c: Likewise.
1350
        * config/tc-z8k.h: Likewise.
1351
        * config/vms-a-conf.h
1352
        * doc/Makefile.am: Likewise.
1353
        * doc/all.texi: Likewise.
1354
        * doc/as.texinfo: Likewise.
1355
        * doc/internals.texi: Likewise.
1356
        * doc/Makefile.in: Regenerate.
1357
        * Makefile.in: Regenerate.
1358
        * configure: Regenerate.
1359
        * config.in: Regenerate.
1360
        * po/POTFILES.in: Regenerate.
1361
 
1362
2005-08-09  Nick Clifton  
1363
 
1364
        PR 1070
1365
        * macro.c (getstring): Do not treat round parentheses exactly the
1366
        same as angle brackets - the parentheses need to be preserved and
1367
        passed on to the macro processing code.
1368
 
1369
2005-08-08  Nick Clifton  
1370
 
1371
        * config/tc-msp430.c (MSP430_ISA_21): Define.
1372
        (mcu_types): Add entries for msp430x21xx variants.
1373
 
1374
2005-08-08  Nick Clifton  
1375
 
1376
        PR 1070
1377
        * macro.c (getstring): Treat round parentheses in the same way as
1378
        angle brackets.
1379
        (get_any_string): Likewise.
1380
 
1381
2005-08-07  H.J. Lu  
1382
 
1383
        PR gas/1118
1384
        * as.c (parse_args): Handle -al=.
1385
 
1386
2005-08-07  Nick Clifton  
1387
 
1388
        * read.c (s_app_line): Accept a line number of 0 for compatibility
1389
        with gcc's output for assembler-with-cpp files.
1390
 
1391
2005-08-05  Paul Brook  
1392
 
1393
        * config/tc-arm.c (current_it_mask, current_cc): New variables.
1394
        (do_t_add_sub): Use correct encodings inside IT block.
1395
        (do_t_arit3c): Ditto.
1396
        (do_t_it): Simplify logic.  Set current_it_mask and current_cc.
1397
        (md_assemble): Verify conditional suffixes agains IT blocks.
1398
 
1399
2005-08-05  Paul Brook  
1400
 
1401
        * config/tc-arm.c (encode_thumb32_immediate): Only accept shifted
1402
        constants.
1403
        (encode_thumb32_shifted_operand): Prohibit register shifts.
1404
        (encode_thumb32_addr_mode): Fix typo.
1405
        (insns): Correct thumb2 ldm and stm opcodes.
1406
 
1407
2005-08-02  Khem Raj  
1408
 
1409
        * config/tc-arm.c (do_iwmmxt_wldstd): Correct the offset range for
1410
        WLDRD/WSTRD instruction.
1411
 
1412
2005-08-02  Alan Modra  
1413
 
1414
        * config/tc-ppc.c (md_apply_fix ): Don't warn on overflow
1415
        if emitting a reloc.
1416
 
1417
2005-07-29  Thiemo Seufer  
1418
 
1419
        * config/tc-mips.c (s_mips_globl): Allow multiple symbols per .globl.
1420
 
1421
2005-07-29  Paul Brook  
1422
 
1423
        * config/tc-arm.c (T16_32_TAB): Add "addr". Fix encoding of push and
1424
        pop.
1425
        (do_t_addr): Implement 32-bit variant.
1426
        (do_t_push_pop): Make some errors warnings.  Handle single register
1427
        32-bit case.
1428
        (insns): Use tCE for adr.
1429
        (md_pcrel_from_section): Handle BFD_RELOC_ARM_T32_ADD_PC12.
1430
        (md_apply_fix): Ditto.
1431
 
1432
2005-07-29  Paul Brook  
1433
 
1434
        * config/tc-arm.c (parse_tb): New function.
1435
        (enum operand_parse_code): Add OP_TB.
1436
        (parse_operands): Handle OP_TB.
1437
        (do_t_add_sub_w, do_t_tb): New functions.
1438
        (insns): Add entries for addw, subw, tbb and tbh.
1439
        (md_apply_fix): Handle BFD_RELOC_ARM_T32_IMM12.
1440
 
1441
2005-07-29  Kazuhiro Inaoka 
1442
 
1443
        * config/tc-m32r.c (m32r_check_fixup): Fixed X_op check.
1444
 
1445
2005-07-27  H.J. Lu 
1446
 
1447
        * config/tc-i386.c (handle_large_common): Declare only for ELF.
1448
 
1449
2005-07-27  Jan Beulich  
1450
 
1451
        * config/tc-ia64.h (unw_r_record): Change type of fr_mem to unsigned
1452
        int.
1453
        (unw_p_record): Remove unused/redundant fields imask and rmask.
1454
        Combine spoff and pspoff into a union. Combine gr and br into a
1455
        union. Change type of grmask and brmask to unsigned char. Change type
1456
        of frmask to unsigned int.
1457
        (unw_x_record): Combine spoff, pspoff, and treg into a union.
1458
        * config/tc-ia64.c (unwind): New field 'pending_saves'.
1459
        (check_pending_save): New.
1460
        (alloc_record): Clear out entire record.
1461
        (output_psp_gr): Use renamed structure fields.
1462
        (output_psp_sprel): Likewise.
1463
        (output_rp_gr): Likewise.
1464
        (output_rp_br): Likewise.
1465
        (output_rp_psprel): Likewise.
1466
        (output_rp_sprel): Likewise.
1467
        (output_pfs_gr): Likewise.
1468
        (output_pfs_psprel): Likewise.
1469
        (output_pfs_sprel): Likewise.
1470
        (output_preds_gr): Likewise.
1471
        (output_preds_psprel): Likewise.
1472
        (output_preds_sprel): Likewise.
1473
        (output_spill_base): Likewise.
1474
        (output_unat_gr): Likewise.
1475
        (output_unat_psprel): Likewise.
1476
        (output_unat_sprel): Likewise.
1477
        (output_lc_gr): Likewise.
1478
        (output_lc_psprel): Likewise.
1479
        (output_lc_sprel): Likewise.
1480
        (output_fpsr_gr): Likewise.
1481
        (output_fpsr_psprel): Likewise.
1482
        (output_fpsr_sprel): Likewise.
1483
        (output_priunat_gr): Likewise.
1484
        (output_priunat_psprel): Likewise.
1485
        (output_priunat_sprel): Likewise.
1486
        (output_bsp_gr): Likewise.
1487
        (output_bsp_psprel): Likewise.
1488
        (output_bsp_sprel): Likewise.
1489
        (output_bspstore_gr): Likewise.
1490
        (output_bspstore_psprel): Likewise.
1491
        (output_bspstore_sprel): Likewise.
1492
        (output_rnat_gr): Likewise.
1493
        (output_rnat_psprel): Likewise.
1494
        (output_rnat_sprel): Likewise.
1495
        (output_spill_psprel): Likewise.
1496
        (output_spill_sprel): Likewise.
1497
        (output_spill_reg): Likewise.
1498
        (output_fr_mem): Likewise. Allocate one unwind record per set mask
1499
        bit.
1500
        (output_frgr_mem): Likewise.
1501
        (output_gr_mem): Likewise.
1502
        (output_br_mem): Likewise.
1503
        (output_gr_gr): Likewise.
1504
        (output_br_gr): Likewise.
1505
        (fixup_unw_records): Likewise.
1506
        (process_one_record): Use renamed structure fields. For gr_gr and
1507
        br_gr, collect mask from chain of records before output.
1508
        (in_prologue): Simplify and eliminate early returns. Call
1509
        check_pending_save.
1510
        (in_body): Simplify and eliminate early returns.
1511
        (dot_body): Call check_pending_save.
1512
        (md_assemble): Update comment. Deal with pending saves.
1513
 
1514
2005-07-26  Jan Beulich  
1515
 
1516
        * config/tc-i386.c (optimize_imm): Calculate candidate immediates
1517
        mask from guessed suffix, but mask out other immediate types only
1518
        if at least on candidate is valid for the insn.
1519
 
1520
2005-07-25  DJ Delorie  
1521
 
1522
        * config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
1523
        Support %mod() modifiers from opcodes.
1524
        * doc/c-m32c.texi (M32C-Modifiers): New section.
1525
 
1526
2005-07-25  Jan Hubicka  
1527
            H.J. Lu  
1528
 
1529
        * config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
1530
        defined.
1531
        (elf_com_section_ptr): New.
1532
        (elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
1533
        (elf_common_parse): Make it global. Use elf_com_section_ptr
1534
        instead of bfd_com_section_ptr.
1535
        (obj_elf_change_section): Handle x86-64 large bss sections.
1536
 
1537
        * config/obj-elf.h (elf_com_section_ptr): New.
1538
        (elf_common_parse): New.
1539
 
1540
        * config/tc-i386.c (handle_large_common): New.
1541
        (md_pseudo_table): Add "largecomm".
1542
        (x86_64_section_letter): New.
1543
        (x86_64_section_word): New.
1544
 
1545
        * config/tc-i386.h (x86_64_section_word): New.
1546
        (x86_64_section_letter): New.
1547
        (md_elf_section_letter): New. Defined.
1548
        (md_elf_section_word): Likewise.
1549
 
1550
2005-07-21  Ralf Corsepius  
1551
 
1552
        * configure.tgt: Remove i386-*-rtemself*.
1553
        Remove sparc-*-rtemself*.
1554
 
1555
2005-07-21  Ben Elliston  
1556
 
1557
        * config/tc-m68k.h: Remove TE_LYNX conditional code.
1558
 
1559
2005-07-21  Paul Brook  
1560
 
1561
        * config/tc-arm.c (encode_thumb32_addr_mode): Don't set
1562
        inst.reloc.pc_rel.
1563
 
1564
2005-07-20  Tavis Ormandy 
1565
 
1566
        * messages.c: Use vsnprintf instead of vsprintf.
1567
 
1568
2005-07-20  Kazuhiro Inaoka  
1569
 
1570
        * config/tc-m32r.c (tc_gen_reloc): Check BFD_RELOC_32_PCREL and
1571
        BFD_RELOC_16_PCREL to Support R_M32R_REL32.
1572
 
1573
2005-07-18  Nick Clifton  
1574
 
1575
        * configure.tgt: Restore alpha ordering to list of arches.
1576
 
1577
2005-07-18  John David Anglin  
1578
 
1579
        * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
1580
 
1581
2005-07-18  Jan Beulich  
1582
 
1583
        * config/tc-i386.c (md_begin): Use IS_ELF.
1584
        (tc_i386_fix_adjustable): Likewise.
1585
        (md_estimate_size_before_relax): Likewise.
1586
        (md_apply_fix): Likewise.
1587
        (i386_target_format): Likewise.
1588
        (lex_got): Define to NULL when not ELF or when LEX_AT. Check IS_ELF.
1589
        (i386_immediate): Remove #ifdef LEX_AT.
1590
        (i386_displacement): Likewise.
1591
        * config/tc-i386.h (x86_cons): Prototype only when ELF and when not
1592
        LEX_AT.
1593
 
1594
2005-07-18  Jan Beulich  
1595
 
1596
        * config/tc-i386.c (reloc): Convert to ISO C90. Change first
1597
        parameter to unsigned. Parameter sign now is tristate - zero/
1598
        positive mean unsigned/signed, negative means signedness doesn't
1599
        matter. Check field size,
1600
        signedness, and pcrel-ness are in agreement between relocated field
1601
        and relocation type. Adjust diagnostics.
1602
        (optimize_imm): And type mask of operand instead of overwriting it.
1603
        (lex_got): Convert to ISO C90. Add third parameter. Add new field to
1604
        local structure and initialize gotrel accordingly. Pass caller as
1605
        mask of types that the operator can match.
1606
        (x86_cons_fix_new): Let reloc know that signedness of relocation
1607
        doesn't matter.
1608
        (x86_pe_cons_fix_new): Likewise.
1609
        (x86_cons): Pass additional argument to lex_got.
1610
        (i386_immediate): New local variable 'types'. Pass its address as
1611
        additional argument to lex_got. Mask out operand types not supported
1612
        befoe returning.
1613
        (i386_displacement): Likewise. Set bigdisp to all types supported in
1614
        64-bit mode, combining the previously split initialization.
1615
 
1616
2005-07-18  Jan Beulich  
1617
 
1618
        * config/tc-i386.c (parse_insn): Reject prefix if unavailable in
1619
        current mode.
1620
 
1621
2005-07-16  John David Anglin  
1622
 
1623
        * config/tc-hppa.c (pa_ip): Search entire mnemonic before considering
1624
        promoted match.
1625
 
1626
2005-07-16  Alan Modra  
1627
 
1628
        * Makefile.am: Run "make dep-am".
1629
        * Makefile.in: Regenerate.
1630
 
1631
2005-07-15  H.J. Lu 
1632
 
1633
        * gas/config/tc-i386.h (CpuVMX): New.
1634
        (CpuUnknownFlags): Add CpuVMX.
1635
 
1636
2005-07-14  Jim Blandy  
1637
 
1638
        Add support for the Renesas M32C.
1639
        * Makefile.am (CPU_TYPES): List m32c.
1640
        (TARGET_CPU_CFILES): List config/tc-m32c.c.
1641
        (TARGET_CPU_HFILES): List config/tc-m32c.h.
1642
        * configure.in: Add case for m32c.
1643
        * configure.tgt: Add cases for m32c and m32c-*-elf.
1644
        * configure: Regenerated.
1645
        * config/tc-m32c.c, config/tc-m32c.h: New files.
1646
        * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi.
1647
        * doc/Makefile.in: Regenerated.
1648
        * doc/all.texi: Set M32C.
1649
        * doc/as.texinfo: Add text for the M32C-specific options and line
1650
        comment characters, and refer to c-m32c.texi.
1651
        * doc/c-m32c.texi: New file.
1652
 
1653
2005-07-14  Nick Clifton  
1654
 
1655
        PR 1069
1656
        * config/tc-crx.c (reset_vars): Use strncpy to prevent overflowing
1657
        the ins_parse buffer.
1658
 
1659
2005-07-10  Ralf Corsepius 
1660
 
1661
        * configure.tgt: Remove a29k-*-rtems*, hppa*-*-rtems*,i386-go32-rtems*,
1662
        i386-*-rtemscoff*, sparc-*-rtemsaout*.
1663
 
1664
2005-07-10  H.J. Lu  
1665
 
1666
        * config/tc-i386.c (optimize_disp): Optimize signed 32bit
1667
        displacements.
1668
 
1669
2005-07-08  Ben Elliston  
1670
 
1671
        * frags.h: Remove ANSI_PROTOTYPES conditional code.
1672
        * config/obj-elf.h: Likewise.
1673
        * config/tc-h8300.h: Likewise.
1674
        * config/tc-h8500.h: Likewise.
1675
        * config/tc-i370.h: Likewise.
1676
        * config/tc-i386.h: Likewise.
1677
        * config/tc-m68hc11.h: Likewise.
1678
        * config/tc-m68k.h: Likewise.
1679
        * config/tc-ppc.h: Likewise.
1680
        * config/tc-s390.h: Likewise.
1681
        * config/tc-sh.h: Likewise.
1682
        * config/tc-sparc.h: Likewise.
1683
        * config/tc-tic30.c: Likewise.
1684
        * config/tc-w65.h: Likewise.
1685
        * config/tc-xtensa.h: Likewise.
1686
 
1687
2005-07-08  Hans-Peter Nilsson  
1688
 
1689
        PR gas/1049
1690
        * config/tc-cris.h (MD_APPLY_SYM_VALUE): Define.
1691
 
1692
2005-07-07  Kaveh R. Ghazi  
1693
 
1694
        * config/tc-tic30.c (debug): Add format attribute.  Fix format
1695
        bugs.
1696
 
1697
2005-07-06  H.J. Lu  
1698
 
1699
        * config/tc-i386.c (cpu_arch): Add sse3.
1700
 
1701
        * config/tc-i386.h (CpuSSE3): Renamed from ...
1702
        (CpuPNI): This. Defined as CpuSSE3.
1703
 
1704
        * doc/c-i386.texi: Document .sse3.
1705
 
1706
2005-07-06  Jan Beulich  
1707
 
1708
        * config/tc-ia64.c (nop): Use zero for L-unit pseudo-nop.
1709
 
1710
2005-07-05  Nick Clifton  
1711
 
1712
        * config/tc-pdp11.c (md_apply_fix): Cast first argument to
1713
        md_chars_to_numbers to an unsigned pointer in order to avoid a
1714
        compile time warning.
1715
 
1716
2005-07-05  Paul Brook  
1717
 
1718
        * config/tc-ppc.c (ppc_target_format): Add VxWorks.
1719
 
1720
2005-07-05  Aldy Hernandez  
1721
 
1722
        * config/tc-ms1.c: New.
1723
        * config/tc-ms1.h: New.
1724
        * testsuite/gas/ms1/allinsn.d: New.
1725
        * testsuite/gas/ms1/allinsn.s: New.
1726
        * testsuite/gas/ms1/badinsn.s: New.
1727
        * testsuite/gas/ms1/badinsn1.s: New.
1728
        * testsuite/gas/ms1/badoffsethigh.s: New.
1729
        * testsuite/gas/ms1/badoffsetlow.s: New.
1730
        * testsuite/gas/ms1/badorder.s: New.
1731
        * testsuite/gas/ms1/badreg.s: New.
1732
        * testsuite/gas/ms1/badsignedimmhigh.s: New.
1733
        * testsuite/gas/ms1/badsignedimmlow.s: New.
1734
        * testsuite/gas/ms1/badsyntax.s: New.
1735
        * testsuite/gas/ms1/badsyntax1.s: New.
1736
        * testsuite/gas/ms1/badunsignedimmhigh.s: New.
1737
        * testsuite/gas/ms1/badunsignedimmlow.s: New.
1738
        * testsuite/gas/ms1/errors.exp: New.
1739
        * testsuite/gas/ms1/ldst.s: New.
1740
        * testsuite/gas/ms1/misc.d: New.
1741
        * testsuite/gas/ms1/misc.s: New.
1742
        * testsuite/gas/ms1/ms1-16-003.d: New.
1743
        * testsuite/gas/ms1/ms1-16-003.s: New.
1744
        * testsuite/gas/ms1/ms1.exp: New.
1745
        * testsuite/gas/ms1/msys.d: New.
1746
        * testsuite/gas/ms1/msys.s: New.
1747
        * testsuite/gas/ms1/relocs.d: New.
1748
        * testsuite/gas/ms1/relocs.exp: New.
1749
        * testsuite/gas/ms1/relocs1.s: New.
1750
        * testsuite/gas/ms1/relocs2.s: New.
1751
 
1752
2005-07-05  Jan Beulich  
1753
 
1754
        * config/tc-i386.h (CpuSVME): New.
1755
        (CpuUnknownFlags): Include CpuSVME.
1756
        * config/tc-i386.c (cpu_arch): Add .pacifica and .svme. Add opteron
1757
        as alias of sledgehammer.
1758
        (md_assemble): Include invlpga in the check for insns with two source
1759
        operands.
1760
        (process_operands): Include SVME insns in the check for ignored
1761
        segment overrides. Adjust diagnostic.
1762
        (i386_index_check): Special-case SVME insns with memory operands.
1763
 
1764
2005-07-04  Khem Raj  
1765
            Nick Clifton  
1766
 
1767
        * tc-arm.c (struct arm_it): Make operands.imm signed to match its
1768
        use an immediate value.
1769
        (parse_vfp_reg_list): Make the 2nd parameter an unsigned pointer
1770
        since the register field of the operands structure is unsigned.
1771
        (s_arm_unwind_save_vfp): Make "reg" unsigned.
1772
        (parse_operands): Make the 2ns parameter an unsigned pointer to
1773
        match its use.
1774
        (do_ldrd): When using the imm field of the operands structure as a
1775
        second register field, treat it as unsigned.
1776
 
1777
2005-07-04  Alan Modra  
1778
 
1779
        PR 1004
1780
        * config/obj-elf.c (obj_elf_change_section): Use backend
1781
        get_sec_type_attr.
1782
 
1783
2005-07-01  Jan Beulich  
1784
 
1785
        * config/tc-ia64.c (line_separator_chars): Add '{' and '}'.
1786
        (output_spill_psprel, output_spill_psprel_p): Combine.
1787
        (output_spill_sprel, output_spill_sprel_p): Combine.
1788
        (output_spill_reg, output_spill_regp_p): Combine.
1789
        (process_one_record): Handle psp_psprel.
1790
        (parse_predicate_and_operand): New.
1791
        (convert_expr_to_ab_reg): Two new parameters. Return void. Always
1792
        initialize output values. Emit diagnostic case here.
1793
        (convert_expr_to_xy_reg): Likewise. Don't allow r0, f0, and f1.
1794
        (add_unwind_entry): New second parameter. Allow first parameter to
1795
        be NULL. Parse optional tag, emit warning about further support for
1796
        it otherwise being missing. Check end-of-line when requested.
1797
        (dot_fframe): Clear operand when wrong. Allow tag.
1798
        (dot_vframe): Likewise.
1799
        (dot_vframesp): Likewise. Rename parameter, issue warning when psp
1800
        relative.
1801
        (dot_vframepsp): Remove.
1802
        (dot_altrp): Clear operand when wrong. Allow tag.
1803
        (dot_save): Likewise. Let default case also go through
1804
        add_unwind_entry.
1805
        (dot_savemem): Likewise.
1806
        (dot_restore): Don't return when wrong operand. Allow tag.
1807
        (dot_spillreg, dot_spillreg_p): Combine. Simplify by using
1808
        parse_predicate_and_operand and the new arguments to
1809
        convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
1810
        when wrong operand. Allow tag.
1811
        (dot_restorereg, dot_restorereg_p): Likewise.
1812
        (dot_spillmem, dot_spillmem_p): Likewise.
1813
        (dot_saveg): Clear operand when wrong. Perform tighter operand
1814
        checks. Allow tag.
1815
        (dot_savef): Likewise.
1816
        (dot_saveb): Likewise.
1817
        (dot_savegf): Likewise.
1818
        (dot_spill): Remove end-of-line check.  Combine. Simplify by using
1819
        parse_predicate_and_operand and the new arguments to
1820
        convert_expr_to_ab_reg and convert_expr_to_xy_reg. Don't return
1821
        when wrong operand. Allow tag.
1822
        (popcount): New.
1823
        (dot_label_state): Don't return when wrong operand.
1824
        (dot_copy_state): Likewise.
1825
        (dot_unwabi): Likewise. Check if in prologue.
1826
        (dot_body): Don't call demand_empty_rest_of_line.
1827
        (dot_prologue): Type of mask and grsave is unsigned. Perform tighter
1828
        operand checks.
1829
        (md_pseudo_table): Also use dot_restorereg for .restorereg.p. Also
1830
        use dot_spillreg for .spillreg.p. Also use dot_spillmem for
1831
        .spillpsp.p and .spillsp.p. Also use dot_vframesp for .vframepsp.
1832
        (parse_operand): New second parameter. Don't deal with '}' here
1833
        anymore. Don't advance past end-of-line.
1834
        (parse_operands): Pass second argument to parse_operand.
1835
        (ia64_start_line): Prevent out-of-bounds access through
1836
        input_line_pointer. Deal with '}' here.
1837
        (ia64_unrecognized_line): Don't deal with '}' here.
1838
        (dot_alias): Use ignore_rest_of_line not its deprecated alias
1839
        discard_rest_of_line.
1840
 
1841
2005-06-30  Zack Weinberg  
1842
 
1843
        * config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
1844
        (encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
1845
        (do_t_branch, insns [b, bl]): Don't encode pipeline offset.
1846
        (do_branch): Always set inst.reloc.pc_rel.
1847
        (s_arm_elf_cons): Disallow use of (plt) suffix.
1848
        (do_adrl): Adjust X_add_number unconditionally.
1849
        (md_pcrel_from): Rename md_pcrel_from_section, add second segT
1850
        argument.  Handle all adjustment for pipeline offset here.
1851
        (md_apply_fix): No need to undo work of md_pcrel_from.  No
1852
        need to extract pre-encoded pipeline adjustments from various
1853
        branch instructions.  Generally, assume instructions are already
1854
        all-bits-zero in the field being fixed up.  Remove all OBJ_ELF
1855
        special cases.  Handle BFD_RELOC_ARM_PLT32 like
1856
        BFD_RELOC_ARM_PCREL_BRANCH.
1857
        (tc_gen_reloc): Remove OBJ_ELF special case.
1858
        * config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
1859
 
1860
2005-06-30  Ben Elliston  
1861
 
1862
        * Makefile.am (check-DEJAGNU): Don't search for expect.
1863
        * Makefile.in: Regenerate.
1864
 
1865
2005-06-30  Ben Elliston  
1866
 
1867
        * Makefile.am (EXPECT): Set to expect.
1868
        (RUNTEST): Likewise, set to runtest.
1869
        * Makefile.in: Regenerate.
1870
 
1871
2005-06-23  Ben Elliston  
1872
 
1873
        * config/m68k-parse.h: Use ISO C90.
1874
        * config/m68k-parse.y: Likewise.
1875
        * config/tc-m68k.h: Likewise.
1876
 
1877
2005-06-20  H.J. Lu  
1878
 
1879
        PR 1013
1880
        * config/tc-i386.c (md_assemble): Don't call optimize_disp on
1881
        movabs.
1882
        (optimize_disp): Optimize only if possible. Don't use 64bit
1883
        displacement on non-constants and do same on constants if
1884
        possible.
1885
 
1886
2005-06-17  Jan Beulich  
1887
 
1888
        * config/tc-i386.c (reloc): Also handle BFD_RELOC_64_PCREL.
1889
        (tc_i386_fix_adjustable): Include BFD_RELOC_X86_64_GOTOFF64,
1890
        BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64.
1891
        (output_disp): Do GOTPC conversion also for BFD_RELOC_X86_64_32S
1892
        and BFD_RELOC_32_PCREL. Use BFD_RELOC_X86_64_GOTPC32 instead of
1893
        aborting.
1894
        (output_imm): Do GOTPC conversion also for BFD_RELOC_X86_64_32S.
1895
        Use BFD_RELOC_X86_64_GOTPC32 instead of aborting.
1896
        (tc_gen_reloc): Do GOTPC conversion also for BFD_RELOC_32_PCREL.
1897
        Use BFD_RELOC_X86_64_GOTPC32 instead of aborting. Also handle
1898
        BFD_RELOC_X86_64_GOTOFF64, BFD_RELOC_X86_64_GOTPC32,
1899
        BFD_RELOC_X86_64_DTPOFF64, and BFD_RELOC_X86_64_TPOFF64. Also
1900
        convert 8-byte pc-relative relocations.
1901
        (lex_got): Use BFD_RELOC_X86_64_GOTOFF64 for 64-bit @gotoff.
1902
        (i386_validate_fix): Likewise.
1903
        (x86_cons): Also handle quad values in 64-bit mode.
1904
        (i386_displacement): Also handle BFD_RELOC_X86_64_GOTOFF64.
1905
        (md_apply_fix): Include BFD_RELOC_X86_64_DTPOFF64 and
1906
        BFD_RELOC_X86_64_TPOFF64 in the TLS check. Also convert BFD_RELOC_64
1907
        to pc-relative variant. Also check for BFD_RELOC_64_PCREL.
1908
 
1909
2005-06-13  Zack Weinberg  
1910
 
1911
        * config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
1912
        symbolP as well as for names with a leading dot.  Use ACONCAT.
1913
        (md_apply_fix): For branch relocations, only replace value
1914
        with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
1915
        (arm_force_relocation): Remove #ifdef OBJ_ELF case.
1916
        * config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
1917
        (LOCAL_LABEL_PREFIX): Don't define.
1918
 
1919
2005-06-10  Alan Modra  
1920
 
1921
        * config/tc-hppa.c (pa_block): Allocate just one byte for the
1922
        fill pattern.
1923
 
1924
2005-06-08  James E Wilson  
1925
 
1926
        PR 994
1927
        * config/tc-ia64.c (slot_index): Revert last change.  If first_frag
1928
        is NULL, then emit a warning, and return the current index.
1929
 
1930
2005-06-08  Tomas Hurka  
1931
 
1932
        PR 991
1933
        * config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a
1934
        temporary copy of the operands array so that changes can be safely
1935
        backed out if the insn does not match.
1936
        (m68k_compare_opcode): Shortcut the test when the parameters are
1937
        the same.  Return 1 if the names match but the second opcode is
1938
        further on in the array than the first.
1939
 
1940
2005-06-08  Nick Clifton  
1941
 
1942
        PR 994
1943
        * config/tc-ia64.c (slot_index): Check for a NULL first_frag.
1944
 
1945
2005-06-08  Kazuhiro Inaoka 
1946
 
1947
        * config/tc-m32r.c (use_parallel): Change default value from 1 to 0.
1948
 
1949
2005-06-07  Aldy Hernandez  
1950
            Michael Snyder  
1951
            Stan Cox  
1952
 
1953
        * configure.in: Add ms1 case.
1954
 
1955
        * configure: Regenerate.
1956
 
1957
        * configure.tgt: Add ms1 case.
1958
 
1959
2005-06-07  Bob Wilson  
1960
 
1961
        * config/tc-xtensa.h (resource_table): Change units to unsigned chars.
1962
        * config/tc-xtensa.c (new_resource_table): Likewise.
1963
        (resize_resource_table): Likewise.
1964
        (release_resources): Fix assertion for unsigned values.
1965
 
1966
2005-06-07  Zack Weinberg  
1967
 
1968
        * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c
1969
        * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h
1970
        * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c
1971
        * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h
1972
        * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c
1973
        * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h
1974
        * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h
1975
        * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c
1976
        * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h
1977
        * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c
1978
        * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h
1979
        * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c
1980
        * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c
1981
        * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h
1982
        * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c
1983
        * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c
1984
        * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c
1985
        * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c
1986
        * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c
1987
        * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h
1988
        * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h
1989
        * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c
1990
        * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c
1991
        * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h
1992
        * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c
1993
        * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c
1994
        * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h
1995
        * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h
1996
        * config/tc-xtensa.c, config/tc-z8k.c:
1997
        Replace all instances of the string "_apply_fix3" with
1998
        "_apply_fix".
1999
        * po/POTFILES.in, po/gas.pot: Regenerate.
2000
 
2001
2005-06-08  Alan Modra  
2002
 
2003
        * Makefile.am: Run "make dep-am".
2004
        (POTFILES): Remove GAS_CFILES.
2005
        * Makefile.in: Regenerate.
2006
 
2007
2005-06-07  David Ung  
2008
 
2009
        * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k,
2010
        24kc, 24kf and 24kfx under MIPS32 release 2.
2011
 
2012
2005-06-04  Nick Clifton  
2013
 
2014
        * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference
2015
        to their Thumb-enabled equivalents.
2016
 
2017
2005-06-01  Maciej W. Rozycki  
2018
 
2019
        * config/tc-mips.c (load_register): Add leading "0x" to the
2020
        output of sprintf_vma().
2021
        (macro): Likewise.
2022
 
2023
2005-06-01  Nick Clifton  
2024
 
2025
        * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant
2026
        test for the presence of thumb version of the parsing functions
2027
        since they must always exist and the test generates a compile time
2028
        warning message.
2029
 
2030
2005-05-31  Richard Henderson  
2031
 
2032
        * config/tc-alpha.c (O_lituse_jsrdirect): New.
2033
        (alpha_reloc_op): Add it.
2034
        (debug_exp): Handle it.
2035
        (DUMMY_RELOC_LITUSE_JSRDIRECT): New.
2036
        (emit_insn): Handle it.
2037
        * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect.
2038
 
2039
2005-05-31  Christian Groessler  
2040
 
2041
        * write.c (dump_section_relocs): Convert to ISO-C.
2042
        (write_relocs): Avoid signed/unsigned and fprintf argument
2043
        warnings in debug code.
2044
 
2045
2005-05-26  Zack Weinberg  
2046
 
2047
        * config/tc-arm.h (TC_FIX_TYPE): Change to int.
2048
        (TC_INIT_FIX_DATA): Initialize to 0, not NULL.
2049
        * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast.
2050
        (md_apply_fix3): Delete fix_is_thumb variable; refer to
2051
        fixP->tc_fix_data directly in the sole place it was used.
2052
        Explicitly truncate value, *valP, fixP->fx_addnumber, and
2053
        fixP->fx_offset to 32 bits, for consistent behavior between 32-
2054
        and 64-bit hosts.
2055
 
2056
2005-05-27  Jan Beulich  
2057
 
2058
        * config/tc-ia64.c (struct proc_pending): New.
2059
        (unwind): Replace proc_start with proc_pending.
2060
        (unwind_diagnostic): Check unwind.proc_pending.sym.
2061
        (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym.
2062
        Check if previous proc not closed. Record all entry points.
2063
        (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym.
2064
        Set symbol sizes for entry points recorded in dot_proc. Check
2065
        arguments for consistency with respective .proc's.
2066
        (md_assemble): Replace unwind.proc_start with
2067
        unwind.proc_pending.sym.
2068
 
2069
2005-05-27  Jan Beulich  
2070
 
2071
        * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr,
2072
        and last_ptr. Check all in-use slots for first one with non-NULL
2073
        unwind_record. Don't reload end_ptr before second update round.
2074
 
2075
2005-05-26  James E Wilson  
2076
 
2077
        * config/tc-ia64.c (extra_goodness): Update comment.
2078
        (md_begin): Add debugging code to print best_template table.
2079
 
2080
2005-05-25  Jan Beulich  
2081
 
2082
        * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX
2083
        template.
2084
 
2085
2005-05-25  Jan Beulich  
2086
 
2087
        * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle
2088
        BFD_RELOC_UNUSED when determining the width of the reloc.
2089
 
2090
2005-05-25  Jan Beulich  
2091
 
2092
        * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
2093
        section entry.
2094
 
2095
2005-05-25  Jan Beulich  
2096
 
2097
        * config/tc-ia64.c (dot_radix): Rewrite.
2098
 
2099
2005-05-25  Jan Beulich  
2100
 
2101
        * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
2102
        and next_slot_frag.
2103
        (alloc_record): Remove references to next_slot_number and
2104
        next_slot_frag.
2105
        (emit_one_bundle): Likewise.
2106
 
2107
2005-05-22  Nick Clifton  
2108
 
2109
        * config/tc-v850.c (md_apply_fix3): Pass the address of the
2110
        message buffer when invoking the insert function.
2111
 
2112
2005-05-21  John David Anglin  
2113
 
2114
        * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1
2115
        only if an instruction match is found.
2116
 
2117
2005-05-20  Bob Wilson  
2118
 
2119
        * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction
2120
        to addition in argument to xtensa_dwarf2_emit_insn.
2121
 
2122
2005-05-19  Zack Weinberg  
2123
 
2124
        * Makefile.am: Have 'all' depend on 'info'.
2125
        * Makefile.in: Regenerate.
2126
 
2127
2005-05-19  Alan Modra  
2128
 
2129
        * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL.
2130
 
2131
2005-05-19  Anton Blanchard  
2132
 
2133
        * config/tc-ppc.c (parse_cpu): Handle "-mpower5".
2134
        (md_show_usage): Document it.
2135
        (ppc_setup_opcodes): Insert POWER5 mnemonics.
2136
        * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5".
2137
 
2138
2005-05-19  Jan Beulich  
2139
 
2140
        * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
2141
        relocations in unwind section.
2142
 
2143
2005-05-18  Nick Clifton  
2144
 
2145
        * config/tc-v850.c (md_apply_fix3): Only use the insertion routine
2146
        if one exists.  Ignore any error messages it may produce, just
2147
        allow it to perform the insertion.
2148
 
2149
2005-05-17  Zack Weinberg  
2150
 
2151
        * hash.c (hash_lookup): Add len parameter.  All callers changed.
2152
        (hash_find_n): New interface.
2153
        * hash.h: Prototype hash_find_n.
2154
        * sb.c: Include as.h.
2155
        (scrub_from_sb, sb_to_scrub, scrub_position): New statics.
2156
        (sb_scrub_and_add_sb): New interface.
2157
        * sb.h: Prototype sb_scrub_and_add_sb.
2158
        * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb.
2159
 
2160
        * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove
2161
        reference to BFD_RELOC_ARM_GOT12 which is never generated.
2162
        * config/tc-arm.c: Rewrite, adding Thumb-2 support.
2163
 
2164
2005-05-17  Daniel Jacobowitz  
2165
 
2166
        * doc/Makefile.am (gasver.texi): Don't use $<.
2167
        * doc/Makefile.in: Regenerated.
2168
 
2169
2005-05-17  Nick Clifton  
2170
 
2171
        PR 876
2172
        * symbols.c (resolve_symbol_value): Do not move symbols whose
2173
        value expression has not been resolved or finalized into the
2174
        absolute section as this will confuse other parts of the assembler
2175
        into thinking that their value is zero.
2176
 
2177
2005-05-17  Jan Beulich  
2178
 
2179
        * read.c (_find_end_of_line): New.
2180
        (find_end_of_line): New.
2181
        (HANDLE_CONDITIONAL_ASSEMBLY): Use it.
2182
        (read_a_source_file): Use it.
2183
        (s_globl): Use it.
2184
        (s_macro): Use it.
2185
        (get_line_sb): Use it.
2186
        (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line.
2187
        (s_comm_internal): Likewise.
2188
        (s_lsym): Likewise.
2189
        (s_macro): Likewise.
2190
        (s_ignore): Use ignore_rest_of_line.
2191
        * read.h (find_end_of_line): Prototype.
2192
        (discard_rest_of_line): Remove prototype. #define to
2193
        ignore_rest_of_line.
2194
 
2195
2005-05-17  Nick Clifton  
2196
 
2197
        * config/tc-v850,h (TC_FIX_TYPE): Define.
2198
        (TC_INIT_FIX_TYPE): Define.
2199
        * config/tc-v850.c (md_assemble): When creating a fix record the
2200
        operand in the tc_fix_data field.
2201
        (md_apply_fix3): When applying a resolved fix use the operand's
2202
        insertion procedure to store the value, if the operand has been
2203
        recorded.
2204
 
2205
2005-05-15  Daniel Jacobowitz  
2206
 
2207
        * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap
2208
        invocation.
2209
        * Makefile.in: Regenerated.
2210
 
2211
2005-05-13  Sterling Augustine  
2212
            Bob Wilson  
2213
 
2214
        * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error
2215
        message.
2216
        (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional
2217
        for handling RELAX_CHECK_ALIGN_NEXT_OPCODE.
2218
 
2219
2005-05-11  Alan Modra  
2220
 
2221
        * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16,
2222
        BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S.
2223
 
2224
2005-05-10  Michael Matz  
2225
 
2226
        * frags.c (frag_grow): Don't be too greedy in allocating memory.
2227
 
2228
        * config/tc-hppa.c (pa_block): Check arguments to .block[z].
2229
 
2230
2005-05-10  Hans-Peter Nilsson  
2231
 
2232
        PR binutils/886
2233
        * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly.
2234
        Handle label-without-colon before ordinary dot-pseudo as an
2235
        ordinary label.  Don't leak memory for label-without-colon alone
2236
        on a line.  Don't mmixal-munge operands for dot-pseudos.
2237
 
2238
2005-05-10  Jan Beulich  
2239
 
2240
        * macro.c (get_any_string): Remove the two last parameters. Replace
2241
        references to the former expand parameter by using macro_alternate.
2242
        Simplify loop condition for checking for end-of-string.
2243
        (get_string): Remove redunant call to sb_skip_white.
2244
        (do_formals): Remove two last arguments to get_any_string.
2245
        (macro_expand): Likewise.
2246
        (expand_irp): Likewise.
2247
 
2248
2005-05-10  Jan Beulich  
2249
 
2250
        * read.c (s_macro): Move local variable 'local' to smaller scope.
2251
        Call sb_kill on it when done.
2252
 
2253
2005-05-09  Jan Beulich  
2254
 
2255
        * config/tc-i386.c (optimize_disp): Discard displacement entirely
2256
        when zero and not required by encoding constraints.
2257
 
2258
2005-05-09  H.J. Lu  
2259
 
2260
        PR 936
2261
        * config/tc-sh64.c (sh64_fake_label): New.
2262
 
2263
        * config/tc-sh64.h (TC_FAKE_LABEL): New.
2264
 
2265
        * doc/internals.texi (TC_FAKE_LABEL): Document.
2266
 
2267
        * write.c (TC_FAKE_LABEL): New.
2268
        (adjust_reloc_syms): Use it.
2269
        (write_object_file): Likewise.
2270
 
2271
2005-05-09  Jan Beulich  
2272
 
2273
        * config/tc-i386.c (parse_insn): Disallow use of prefix separator
2274
        and comma in Intel mode.
2275
 
2276
2005-05-09  Jan Beulich  
2277
 
2278
        * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
2279
        names to match ABI. Add more registers for 32-bit and 64-bit modes.
2280
        Make name array static and const. Adjust lookup to account for NULL
2281
        entries (standing for unused register numbers).
2282
 
2283
2005-05-09  Jan Beulich  
2284
 
2285
        * config/tc-i386.c (parse_insn): Consider all matching instructions
2286
        when checking for string instruction after string-only prefix.
2287
 
2288
2005-05-07  H.J. Lu  
2289
 
2290
        PR 940
2291
        * config/tc-ia64.c (start_unwind_section): Properly check
2292
        comdat group with SHF_GROUP.
2293
 
2294
2005-05-06  Bob Wilson  
2295
 
2296
        * doc/c-xtensa.texi (Literal Directive): Spelling correction.
2297
 
2298
2005-05-06  Bob Wilson  
2299
 
2300
        * config/tc-xtensa.c: Remove excess whitespace.
2301
        * config/tc-xtensa.h: Likewise.
2302
        * config/xtensa-istack.h: Likewise.
2303
        * config/xtensa-relax.c: Likewise.
2304
        * config/xtensa-relax.h: Likewise.
2305
 
2306
2005-05-06  Nick Clifton  
2307
 
2308
        * sb.h: Fix formatting of comments.
2309
        * sb.c: Fix formatting of comments.
2310
 
2311
2005-05-06  Jan Beulich  
2312
 
2313
        * sb.h (sb_add_buffer): Reintroduce.
2314
        * sb.c (sb_add_buffer): Likewise.
2315
 
2316
2005-05-06  Jan Beulich  
2317
 
2318
        * macro.c (new_formal, del_formal): New.
2319
        (do_formals): Use new_formal. Check for and parse qualifier. Warn if
2320
        required argument has default value. Stop looking for more formal
2321
        when there was a vararg one.
2322
        (macro_expand_body): Use new_formal and del_formal.
2323
        (macro_expand): Likewise. Initialize local variable err. Don't
2324
        return immediately when encountering an error. Warn when keyword
2325
        argument already had a value assigned. Eliminate duplicate clearing
2326
        of argument value. When current positional argument matches parameter
2327
        of vararg type, assign to it all the remaining arguments. Issue error
2328
        when required parameter does not have value.
2329
        (free_macro): Use del_formal.
2330
        (expand_irp): Initialize formal type. Free buffers associated with
2331
        formal prior to returning.
2332
        * macro.h (struct formal_struct): Add new field 'type' with new
2333
        enumeration type 'formal_type'.
2334
        * doc/as.texinfo: Document macro parameter qualifiers.
2335
        * NEWS: Mention new functionality.
2336
 
2337
2005-05-06  Jan Beulich  
2338
 
2339
        * cond.c (s_ifb): New.
2340
        * read.c (potable): Add s_ifb as handler for .ifb and .ifnb.
2341
        * read.h (s_ifb): Prototype.
2342
        * doc/as.texinfo: Document .ifb and .ifnb.
2343
 
2344
2005-05-05  Steve Ellcey  
2345
 
2346
        * config/tc-ia64.c (MIN): Undef.
2347
 
2348
2005-05-05  Paul Brook  
2349
 
2350
        * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS.
2351
 
2352
2005-05-05  Matt Thomas 
2353
 
2354
        * config/tc-vax.c (md_assemble): Don't assume a valueT is 4
2355
        bytes.
2356
 
2357
2005-05-05  Nick Clifton  
2358
 
2359
        * Update the address and phone number of the FSF organization in
2360
        the GPL notices in the following files:
2361
        COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h,
2362
        bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c,
2363
        dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c,
2364
        emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c,
2365
        flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h,
2366
        input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l,
2367
        itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h,
2368
        literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c,
2369
        output-file.h, read.c, read.h, sb.c, sb.h, stabs.c,
2370
        struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h,
2371
        write.c, write.h, config/aout_gnu.h, config/atof-ieee.c,
2372
        config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h,
2373
        config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c,
2374
        config/obj-aout.h, config/obj-bout.c, config/obj-bout.h,
2375
        config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c,
2376
        config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h,
2377
        config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c,
2378
        config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h,
2379
        config/obj-multi.h, config/obj-som.c, config/obj-som.h,
2380
        config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c,
2381
        config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h,
2382
        config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
2383
        config/tc-cris.c, config/tc-cris.h, config/tc-crx.c,
2384
        config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h,
2385
        config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c,
2386
        config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h,
2387
        config/tc-frv.c, config/tc-frv.h, config/tc-generic.c,
2388
        config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h,
2389
        config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c,
2390
        config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h,
2391
        config/tc-i386.c, config/tc-i386.h, config/tc-i860.c,
2392
        config/tc-i860.h, config/tc-i960.c, config/tc-i960.h,
2393
        config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c,
2394
        config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h,
2395
        config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h,
2396
        config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
2397
        config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h,
2398
        config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c,
2399
        config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h,
2400
        config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
2401
        config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
2402
        config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c,
2403
        config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h,
2404
        config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c,
2405
        config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h,
2406
        config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c,
2407
        config/tc-s390.h, config/tc-sh.c, config/tc-sh.h,
2408
        config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c,
2409
        config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h,
2410
        config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
2411
        config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
2412
        config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c,
2413
        config/tc-v850.h, config/tc-vax.c, config/tc-vax.h,
2414
        config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c,
2415
        config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h,
2416
        config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
2417
        config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h,
2418
        config/te-ic960.h, config/te-irix.h, config/te-nbsd.h,
2419
        config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h,
2420
        config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h,
2421
        config/xtensa-istack.h, config/xtensa-relax.c,
2422
        config/xtensa-relax.h, doc/fdl.texi
2423
 
2424
2005-05-05  Nick Clifton  
2425
 
2426
        * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set
2427
        the target_big_endian variable to false.
2428
 
2429
2005-05-04  Alan Modra  
2430
 
2431
        * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section
2432
        list traversal.  Use bfd_section_list_prepend.
2433
        * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate
2434
        over the section list.
2435
        * config/tc-xtensa.c (xtensa_remove_section): Delete.
2436
        (xtensa_insert_section): Delete.
2437
        (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove
2438
        and bfd_section_list_prepend.
2439
        (xtensa_reorder_seg_list): Use bfd_section_list_remove and
2440
        bfd_section_list_insert_after.
2441
 
2442
2005-05-03  Nick Clifton  
2443
 
2444
        * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations
2445
        of bfd_section_list... macros.
2446
        * config/tc-mmix.c (mmix_frob_file): Likewise.
2447
        * config/tc-xtensa.c (xtensa_remove_section): Likewise.
2448
        (xtensa_insert_section): Likewise.
2449
 
2450
        * macro.c (macro_hash): Remove static.
2451
        * macro.h (macro_hash): Provide an external declaration.
2452
 
2453
2005-05-02  H.J. Lu  
2454
 
2455
        * write.c (write_object_file): Use bfd_section_double_list_remove
2456
        to remove sections.
2457
 
2458
2005-05-02  Daniel Jacobowitz  
2459
 
2460
        * doc/Makefile.am (gasver.texi): Correct quoting.
2461
        * doc/Makefile.in: Regenerated.
2462
 
2463
2005-04-29  Ralf Corsepius 
2464
 
2465
        * configure.tgt: Add h8300*-*-rtemscoff.
2466
        Switch h8300*-*-rtems* to elf.
2467
 
2468
2005-04-29  H.J. Lu  
2469
 
2470
        * hash.c: Undo the last change.
2471
        * hash.h: Likewise.
2472
 
2473
2005-04-29  Daniel Jacobowitz  
2474
 
2475
        * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead
2476
        of Makefile.
2477
        (DISTCLEANFILES): Remove.
2478
        (MAINTAINERCLEANFILES): Add asconfig.texi.
2479
        * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2480
 
2481
2005-04-29  Ben Elliston  
2482
 
2483
        * Makefile.am (GAS_CFILES): Remove bignum-copy.c.
2484
        (GENERIC_OBJS): Likewise, remove bignum-copy.o.
2485
        (bignum-copy.o): Remove.
2486
        * Makefile.in: Regenerate.
2487
        * makefile.vms (OBJS): Remove bignum-copy.obj.
2488
        * symbols.h (local_symbol_make): Remove declaration.
2489
        (verify_symbol_chain_2): Likewise.
2490
        * symbols.c (local_symbol_make): Make static.
2491
        (max_indent_level): Likewise.
2492
        (verify_symbol_chain_2): Remove.
2493
        * macro.c (macro_hash): Make static.
2494
        * messages.c (fprint_value): Remove.
2495
        * read.h (get_absolute_expr): Remove.
2496
        (emit_leb128_expr): Likewise.
2497
        (do_s_func): Likewise.
2498
        * read.c (do_s_func): Make static.
2499
        (emit_leb128_expr): Likewise.
2500
        (get_absolute_expr): Likewise.
2501
        * as.h (as_howmuch): Remove declaration.
2502
        (fprint_value): Likewise.
2503
        * as.c (myname): Make static.
2504
        * input-scrub.c (as_howmuch): Remove.
2505
        (as_1_char): Likewise.
2506
        * input-file.h (input_file_is_open): Remove.
2507
        * input-file.c (input_file_is_open): Likewise.
2508
        * expr.h (expr_build_unary): Remove declaration.
2509
        (expr_build_binary): Likewise.
2510
        * expr.c (expr_build_unary): Remove.
2511
        (expr_build_binary): Likewise.
2512
        * hash.h (hash_replace): Remove declaration.
2513
        (hash_delete): Likewise.
2514
        * hash.c (hash_replace): Remove.
2515
        (hash_delete): Likewise.
2516
        * bignum-copy.c (bignum_copy): Move from here ..
2517
        * config/tc-vax.c (bignum_copy): .. to here.
2518
        * bignum.h (LOG_TO_BASE_2_OF_10): Remove.
2519
        (bignum_copy): Remove extern declaration.
2520
        * sb.h (string_count): Remove extern declaration.
2521
        (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
2522
        (sb_name): Likewise.
2523
        * sb.c (dsize): Replace preprocessor macro with static int.
2524
        (string_count): Make static.
2525
        (sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
2526
        (sb_name): Likewise.
2527
        * config/obj-coff.c (dim_index): Make static.
2528
        * config/tc-i386.c (GOT_symbol): Likewise.
2529
        (output_invalid_buf): Likewise.
2530
        * doc/internals.texi (Warning and error messages): Remove the
2531
        prototype for fprint_value.
2532
 
2533
2005-04-27  Ben Elliston  
2534
 
2535
        * link.cmd: Remove.
2536
 
2537
2005-04-26  H.J. Lu  
2538
 
2539
        * config/obj-multi.h (FAKE_LABEL_NAME): Defined.
2540
 
2541
        * read.c (pseudo_set): Disallow symbol set to common symbol.
2542
 
2543
        PR 857
2544
        * write.c (write_object_file): Report common symbol name when
2545
        disallowing local symbol set to common symbol.
2546
        (adjust_reloc_syms): Disallow local symbol set to undefined
2547
        symbol.
2548
 
2549
2005-04-25  Jan Beulich  
2550
 
2551
        * macro.c (macro_expand_body): Replace locals indicator parameters
2552
        with actual macro_entry. New local variables macro_line and err.
2553
        Don't return when encountering an error, just record the fact.
2554
        Detect local symbol name colliding with parameter. Track line number
2555
        inside of macro expansion.
2556
        (do_formals): Move local variable name to wider scope. Check
2557
        parameter of the same name doesn't already exist. In MRI mode, also
2558
        check it doesn't collide with the argument count pseudo-parameter).
2559
        (define_macro): Add file and line number parameters. Remove local
2560
        variable namestr. New local variable error. Initialize macro_entry
2561
        members file, line, and name. Don't return when encountering an
2562
        error, just record the fact. Use %s in some diagnostics for read.c
2563
        to insert the macro name. Free macro_entry on error.
2564
        (macro_expand): Pass macro_entry to macro_epand_body. Don't return
2565
        when encountering an error, just record the fact.
2566
        (expand_irp): Don't return when encountering an error, just record
2567
        the fact.
2568
        * macro.h (macro_struct): New members name, file, and line.
2569
        (define_macro): Add file and line number parameters.
2570
        * read.c (s_macro): Pass file and line to define_macro. Tag warning
2571
        regarding pseudo-op redefinition with the file/line that macro
2572
        definition started at.
2573
 
2574
2005-04-22  Bob Wilson  
2575
 
2576
        * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
2577
        (future_alignment_required): Remove ifdefs that use it.
2578
 
2579
2005-04-22  Bob Wilson  
2580
 
2581
        * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
2582
        (xg_is_narrow_insn, xg_expand_narrow): Remove.  Merge into...
2583
        (xg_is_single_relaxable_insn): ...here.  Add "targ" and "narrow_only"
2584
        parameters.
2585
        (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
2586
        convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
2587
 
2588
2005-04-21  Christian Groessler  
2589
 
2590
        * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
2591
        array.
2592
 
2593
2005-04-20  H.J. Lu  
2594
 
2595
        * config/obj-aout.h (S_IS_EXTERN): Removed.
2596
        * config/obj-bout.h (S_IS_EXTERN): Likewise.
2597
        * config/obj-coff.h (S_IS_EXTERN): Likewise.
2598
        * symbols.c (S_IS_EXTERN): Likewise.
2599
        * symbols.h (S_IS_EXTERN): Likewise.
2600
 
2601
        * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
2602
        S_IS_EXTERNAL.
2603
        * config/tc-d10v.c (md_apply_fix3): Likewise.
2604
        * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
2605
        * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
2606
        * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
2607
        * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
2608
        * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
2609
        (shmedia_md_convert_frag): Likewise.
2610
        * symbols.c (print_symbol_value_1): Likewise.
2611
        * write.c (write_object_file): Likewise.
2612
 
2613
2005-04-20  Nick Clifton  
2614
 
2615
        * config/tc-xtensa.c (get_aligned_diff): Change type of
2616
        branch_align to offsetT so that its signedness matches that of
2617
        target_size.
2618
 
2619
        * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
2620
        number into a readable string.
2621
        (load_register): Likewise.
2622
 
2623
2005-04-20  Andreas Schwab  
2624
 
2625
        * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
2626
 
2627
2005-04-19  David S. Miller  
2628
 
2629
        * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
2630
        NULL insn, exit early.  Remove now spurious NULL checks.
2631
        (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
2632
        to NULL and exit.
2633
 
2634
2005-04-19  Jan Beulich  
2635
 
2636
        * symbols.h (symbol_find_base): Remove prototype.
2637
        * symbols.c (save_symbol_name): Remove code section conditional upon
2638
        STRIP_UNDERSCORE.
2639
        (symbol_find): Remove.
2640
        (symbol_find_base): Rename to symbol_find.
2641
        * subsegs.c (section_symbol): Replace use of symbol_find_base with
2642
        symbol_find.
2643
        * config/obj-coff.c (tag_insert): Remove code section conditional
2644
        upon STRIP_UNDERSCORE.
2645
        (obj_coff_def): Likewise.
2646
        (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
2647
        (coff_frob_symbol): Likewise.
2648
        (yank_symbols): Likewise.
2649
        (c_section_symbol): Likewise.
2650
        * config/obj-coff.h (DO_NOT_STRIP): Remove.
2651
        * config/tc-arm.c (symbol_locate): Remove code section conditional
2652
        upon STRIP_UNDERSCORE.
2653
        * config/tc-h8300.h (DO_NOT_STRIP): Remove.
2654
        * config/tc-h8500.h (DO_NOT_STRIP): Remove.
2655
        * config/tc-sh.h (DO_NOT_STRIP): Remove.
2656
        * config/tc-w65.h (DO_NOT_STRIP): Remove.
2657
        * config/tc-z8k.h (DO_NOT_STRIP): Remove.
2658
 
2659
2005-04-19  Andreas Schwab  
2660
 
2661
        * config/tc-ia64.c (md_assemble): Fix error message for wrong
2662
        access to application registers.
2663
 
2664
2005-04-19  Jan Beulich  
2665
 
2666
        * config/te-sysv32.h: Remove.
2667
        * Makefile.am (TARG_ENV_HFILES): Remove reference to
2668
        config/te-sysv32.h.
2669
        * Makefile.in (TARG_ENV_HFILES): Likewise.
2670
 
2671
2005-04-19  Jan Beulich  
2672
 
2673
        PR/847
2674
        * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
2675
        length symbols.
2676
 
2677
2005-04-18  Mark Kettenis  
2678
 
2679
        * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
2680
 
2681
2005-04-18  Maciej W. Rozycki  
2682
 
2683
        * config/tc-mips.c (normalize_constant_expr): Don't check for
2684
        HAVE_32BIT_GPRS.
2685
        (check_absolute_expr): Only call normalize_constant_expr() if
2686
        HAVE_32BIT_GPRS.
2687
        (mips_ip): Likewise.
2688
 
2689
        * config/tc-mips.c (check_absolute_expr): Fix formatting.
2690
 
2691
2005-04-18  Jan Beulich  
2692
 
2693
        * macro.c (free_token): New, freeing all the memory associated with a
2694
        macro.
2695
        (do_formals): Move initializers to ...
2696
        (define_macro): ... here.
2697
        (delete_macro): Convert passed in name to lower case. Warn when
2698
        purging macro that doesn't exist. Use hash_jam instead of hash_delete.
2699
 
2700
2005-04-15  Maciej W. Rozycki  
2701
 
2702
        * config/tc-mips.c (normalize_constant_expr): Fix formatting.
2703
 
2704
2005-04-15  Jan Beulich  
2705
 
2706
        * config/obj-elf.c (obj_elf_struct): New.
2707
        (elf_pseudo_table). Use it for .offset and .struct.
2708
 
2709
2005-04-14  Bob Wilson  
2710
            Sterling Augustine  
2711
 
2712
        * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
2713
        than the section alignment.
2714
 
2715
2005-04-14  Bob Wilson  
2716
            H.J. Lu  
2717
 
2718
        * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
2719
        * config/tc-xtensa.c (xg_translate_sysreg_op,
2720
        xtensa_translate_old_userregs_ops,
2721
        xtensa_find_unaligned_branch_targets,
2722
        xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
2723
        relax_frag_add_nop): Support 64-bit host.
2724
        (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
2725
        tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
2726
 
2727
2005-04-14  Mark Kettenis  
2728
 
2729
        * configure.tgt: Add support for OpenBSD/sparc ELF.
2730
 
2731
        * configure.tgt: Set emulation for mips-*-openbsd*.
2732
        Remove broken mips-dec-openbsd* config.
2733
        * configure.in: Set default ABI for mips64-*-openbsd*.
2734
        * configure: Regenerate.
2735
 
2736
2005-04-14  Maciej W. Rozycki  
2737
 
2738
        * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
2739
        optimization for constant addresses.
2740
 
2741
2005-04-14  Nick Clifton  
2742
 
2743
        * as.c (main): Move parse_args before symbol_begin and frag_init
2744
        so that the hash table size can be set before it is used.
2745
        * hash.c: Use an unsigned long type for the size of the hash
2746
        tables.
2747
        * hash.h (set_gas_hash_table_size): Update the prototype.
2748
 
2749
2005-04-14  Alan Modra  
2750
 
2751
        * Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
2752
        * acinclude.m4: Include ../bfd/warning.m4.
2753
        * configure.in: Invoke AM_BINUTILS_WARNINGS.
2754
        * Makefile.in: Regenerate.
2755
        * configure: Regenerate.
2756
        * doc/Makefile.in: Regenerate.
2757
 
2758
2005-04-13  Maciej W. Rozycki  
2759
 
2760
        * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
2761
        (normalize_address_expr): New function to sign-extend address
2762
        offsets that fit into 32 bits in 32-bit mode.
2763
        (macro_build_ldst_constoffset): Use normalize_address_expr()
2764
        instead of a handcoded sequence.
2765
        (load_register): Likewise.  Report oversized numbers in a useful
2766
        way.
2767
        (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
2768
        for constant addresses.  Report oversized numbers in a useful way.
2769
        (mips_ip): Use normalize_address_expr() for addresses.
2770
 
2771
2005-04-12  Mark Kettenis  
2772
 
2773
        * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
2774
        similar to other instructions now that they're marked as ImmExt.
2775
 
2776
2005-04-12  Nick Clifton  
2777
 
2778
        * hash.c (DEFAULT_SIZE): Delete.  Replace with:
2779
        (gas_hash_table_size): New static variable.
2780
        (set_gas_hash_table_size): New function:  Records a requested size
2781
        for the hash tables.
2782
        (get_gas_hash_table_size): New function: Return a prime number
2783
        near the requested size of the hash table.
2784
        (hash_new): Use get_gas_hash_table_size.
2785
        * hash.h: Add a prototype for set_gas_hash_table_size.
2786
        * as.c (show_usage): Add description of new switches: --hash-size
2787
        and --reduce-memory-overheads.
2788
        (option_values): Add OPTION_HASH_TABLE_SIZE and
2789
        OPTION_REDUCE_MEMORY_OVERHEADS.
2790
        (std_longpopts): Add entries for the new options.
2791
        (parse_args): Handle the new options.
2792
        * Makefile.am: Add a dependency of as.c on hash.h.
2793
        * Makefile.in: Regenerate.
2794
        * doc/as.texinfo: Document the new switches.
2795
        * NEWS: Mention the new switches.
2796
 
2797
2005-04-12  Nick Clifton  
2798
 
2799
        PR gas/818
2800
        * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
2801
        synonyms.
2802
 
2803
2005-04-12  Alan Modra  
2804
 
2805
        * Makefile.am: Run "make dep-am".
2806
        * Makefile.in: Regenerate.
2807
 
2808
2005-04-11  Sterling Augustine  
2809
            Bob Wilson  
2810
 
2811
        * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
2812
 
2813
2005-04-11  Mark Kettenis  
2814
 
2815
        * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
2816
 
2817
2005-04-11  Jan Beulich  
2818
 
2819
        * NEWS: Mention these changes and their effects.
2820
        * macro.c (get_token): Use is_name_beginner/is_part_of_name/
2821
        is_name_ender.
2822
        (check_macro): Likewise.
2823
        (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
2824
        labels together with the closing pseudo-op.
2825
        (macro_expand_body): Adjust comment. Range-check input before use.
2826
        Adjust mis-spelled diagnostic. Use is_name_beginner.
2827
        * read.c (try_macro): New.
2828
        (read_a_source_file): New static variable last_eol. Don't list
2829
        macro expansion lines more than once. Call try_macro.
2830
        (s_macro): Set section of line_label to absolute instead of undefined.
2831
        * doc/as.texinfo: Add information on the caveats of these changes.
2832
 
2833
2005-04-11  Alan Modra  
2834
 
2835
        * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
2836
        * symbols.h (symbol_X_add_number): Update prototype.
2837
 
2838
2005-04-10  Eric Christopher  
2839
 
2840
        * symbols.c (symbol_X_add_number): Fix warning.
2841
 
2842
2005-04-10  H.J. Lu  
2843
 
2844
        * config/tc-m68k.c (md_begin): Support 64bit host.
2845
        (get_num): Support 64bit BFD on 32bit host.
2846
 
2847
2005-04-10  H.J. Lu  
2848
 
2849
        * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
2850
 
2851
2005-04-09  Alan Modra  
2852
 
2853
        * read.c (assign_symbol): Remove const from parm.  Fix xcalloc
2854
        call.  Don't do the COFF hacks for multi-emulation gas.  Move
2855
        demand_empty_rest_of_line back to caller.
2856
        (s_set, equals): demand_empty_rest_of_line here.
2857
 
2858
        PR gas/827
2859
        * as.h (rs_dummy): Define.
2860
        * symbols.c (symbol_X_add_number): New function.
2861
        * symbols.h (symbol_X_add_number): Declare.
2862
        * stabs.c (aout_process_stab): Tidy symbol frag setting.
2863
        * read.c (assign_symbol): New function, split out from s_set.
2864
        Use symbol_find_or_make.  Leave fr_type of dummy frag as rs_dummy.
2865
        Fix COFF hacks for multi-emulation gas.
2866
        (s_set): Call assign_symbol.  Remove "register" keyword.
2867
        (set_zero_frag): New function.
2868
        (pseudo_set): Always check for assignment to section syms.
2869
        Always set segment and frag of symbol, and likewise extern for
2870
        aout/bout.  Handle assignment of sym=sym+/-const specially.  Don't
2871
        special case exp.X_add_number non-zero for O_symbol expressions.
2872
        (equals): Use assign_symbol.
2873
 
2874
2005-04-08  Bob Wilson  
2875
 
2876
        * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
2877
        SEC_MERGE sections.
2878
 
2879
2005-04-06  H.J. Lu  
2880
 
2881
        * config/tc-i386.c (tc_gen_reloc): Don't turn
2882
        BFD_RELOC_X86_64_32S into BFD_RELOC_32.
2883
 
2884
2005-04-06  Nick Clifton  
2885
 
2886
        * po/rw.po: New translation: Kinyarwanda
2887
        * configure.in (ALL_LINGUAS): Add rw
2888
        * configure: Regenerate.
2889
 
2890
2005-04-05  Sterling Augustine  
2891
            Bob Wilson  
2892
 
2893
        * config/tc-xtensa.c (branch_align_power): New.
2894
        (xtensa_find_unaligned_branch_targets, get_aligned_diff,
2895
        future_alignment_required): Use branch_align_power to check section
2896
        alignment as well as xtensa_fetch_width when aligning branch targets.
2897
 
2898
2005-04-05  Bob Wilson  
2899
 
2900
        * config/tc-xtensa.c: Warning fixes throughout.
2901
        (xtensa_fetch_width): Change to unsigned.
2902
        (assemble_nop, xtensa_find_unaligned_branch_targets,
2903
        xtensa_find_unaligned_loops, xg_assemble_vliw_tokens,
2904
        is_narrow_branch_guaranteed_in_range, xtensa_fix_close_loop_end_frags,
2905
        min_bytes_to_other_loop_end, unrelaxed_frag_min_size,
2906
        unrelaxed_frag_max_size, xtensa_fix_short_loop_frags,
2907
        count_insns_to_loop_end, unrelaxed_frag_min_insn_count,
2908
        get_text_align_max_fill_size, get_text_align_nop_count,
2909
        get_text_align_nth_nop_size, get_noop_aligned_address,
2910
        get_aligned_diff, convert_frag_align_next_opcode,
2911
        convert_frag_immed_finish_loop, xtensa_create_property_segments,
2912
        xtensa_create_xproperty_segments, xt_block_aligned_size): Clean up
2913
        types, avoiding size_t and using offsetT and addressT appropriately.
2914
        (get_text_align_power): Clean up types.  Avoid incorrect bound.
2915
        (get_text_align_fill_size): Clean up types.  Restructure for clarity.
2916
 
2917
2005-04-04  H.J. Lu  
2918
 
2919
        * config/tc-ia64.c (start_unwind_section): Undo the change
2920
        of 2004-08-18.
2921
        (generate_unwind_image, dot_endp): Likewise.
2922
 
2923
2005-04-01 David Mosberger  
2924
 
2925
        * config/tc-ia64.c (ia64_handle_align): Move le_nop and
2926
        le_nop_stop arrays and initializers to file scope.
2927
        (md_begin): When generating code for anything other than
2928
        Itanium 1, use MMI instead of MFI NOP bundles as a filler.
2929
 
2930
2005-04-01  Jan Beulich  
2931
 
2932
        * config/tc-i386.c (output_imm): Also set sign flag for 64-bit push
2933
        immediates.
2934
 
2935
2005-04-01  Jan-Benedict Glaw  
2936
 
2937
        * NEWS: Mention [fdgh]_floating.
2938
        * config/atof-vax.c: Fix some whitespace.
2939
        * config/tc-vax.c (md_pseudo_table): Add "[fdgh]_floating".
2940
 
2941
2005-04-01  Nick Clifton  
2942
 
2943
        * configure.in: Add a check for  providing a prototype
2944
        for getopt() which is compatible with the one in
2945
        include/getopt.h.  If so then define HAVE_DECL_GETOPT.
2946
        * configure: Regenerate.
2947
        * config.in (HAVE_DECL_GETOPT): Add.
2948
 
2949
2005-04-01  Jan Beulich  
2950
 
2951
        * config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
2952
 
2953
2005-04-01  Jan Beulich  
2954
 
2955
        * config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
2956
        (tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
2957
 
2958
2005-03-30  Julian Brown  
2959
 
2960
        * config/tc-arm.c (arm_adjust_symtab): Rename
2961
        bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
2962
 
2963
2005-03-30  Julian Brown  
2964
 
2965
        * config/tc-arm.c (mapping_state): Change documentation in function
2966
        comment to cross-reference spec instead. Change type of mapping symbols
2967
        to BSF_NO_TYPE.
2968
        (arm_adjust_symtab): Don't change type of mapping symbols here.
2969
 
2970
2005-03-30  Aaron W. LaFramboise  
2971
 
2972
        * as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
2973
        * config.in: Regenerate.
2974
        * configure: Regenerate.
2975
        * configure.in: Check for ffs decl and alphabetize.
2976
 
2977
2005-03-29  Daniel Jacobowitz  
2978
            Phil Blundell  
2979
 
2980
        * config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
2981
        (md_apply_fix3): Mark TLS symbols.
2982
        (tc_gen_reloc): Handle TLS relocations.
2983
        (arm_fix_adjustable): Ignore TLS relocations.
2984
        (s_arm_elf_cons): Support expressions after decorated symbols.
2985
 
2986
2005-03-29  Julian Brown  
2987
 
2988
        * config/tc-arm.c (marked_pr_dependency): New bitmap, bit N indicates
2989
        whether personality routine index N has been output for this section.
2990
        (mapping_state): tc_segment_info_data now struct not enum.
2991
        (arm_elf_change_section): Likewise, and marked_pr_dependency is now
2992
        handled on section change.
2993
        (create_unwind_entry): Previous code to output dependency removed.
2994
        (s_arm_unwind_fnend): Output dependency if it hasn't been done already
2995
        for this section.
2996
        * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
2997
        arm_segment_info_type.
2998
        (arm_segment_info_type): New struct.
2999
 
3000
2005-03-28  Sterling Augustine  
3001
            Bob Wilson  
3002
 
3003
        * config/tc-xtensa.c (do_align_targets): Update comment.
3004
        (xtensa_frob_label): Compute "freq" before possibly switching frags.
3005
        Insert a LOOP_END frag before every loop target, and do not overload
3006
        DESIRE_ALIGN_IF_TARGET frags with loop end information.
3007
        (xg_assemble_vliw_tokens): Use do_align_targets.
3008
        (xtensa_fix_target_frags): Remove code to convert a
3009
        DESIRE_ALIGN_IF_TARGET frag to a LOOP_END frag when there is a
3010
        negatable branch at the end of a loop.
3011
        (frag_can_negate_branch): Delete.
3012
 
3013
2005-03-28  David Mosberger  
3014
            H.J. Lu  
3015
 
3016
        PR 803
3017
        NEWS: Mention "-mtune=[itanium1|itanium2]".
3018
 
3019
        * config/tc-ia64.c (md): Add tune.
3020
        (md_parse_option): Accepted "-mtune=[itanium1|itanium2]".
3021
        (md_show_usage): Add "-mtune=[itanium1|itanium2]".
3022
        (extra_goodness): Prefer M- and I-unit NOPs for itanium2. F and
3023
        B unit NOPs are discouraged for McKinley-derived cores.
3024
        (md_begin): Don't hardcode the "extra_goodness()" function in
3025
        the comment...
3026
        (ia64_init): Set md.tune to itanium2.
3027
 
3028
        * doc/as.texinfo: Add -mtune=[itanium1|itanium2]".
3029
        * doc/c-ia64.texi: Likewise.
3030
 
3031
2005-03-27  Ian Lance Taylor  
3032
 
3033
        * config/obj-coff.c (coff_frob_symbol): When crashing because of a
3034
        bad C_EFCN symbol, print its name.
3035
 
3036
2005-03-25  Bob Wilson  
3037
 
3038
        * config/tc-xtensa.c (use_longcalls): Delete.
3039
        (xg_symbolic_immeds_fit): Check for direct calls and return TRUE if
3040
        the use_longcalls flag is set.  Do this before checking the segment.
3041
        (xg_expand_assembly_insn): Rearrange to use new do_expand flag.  Never
3042
        expand direct calls at this point.
3043
        (xtensa_set_frag_assembly_state): Set use_longcalls flag.
3044
        (xtensa_find_unmarked_state_frags): Likewise.
3045
        (md_assemble): Do not disable longcalls by setting is_specific_opcode.
3046
        (xg_assemble_vliw_tokens): Switch frags when use_longcalls changes.
3047
        (convert_frag_immed): Remove unnecessary check of is_specific_opcode.
3048
        * config/tc-xtensa.h (xtensa_frag_type): Add use_longcalls flag.
3049
 
3050
2005-03-25  Hans-Peter Nilsson  
3051
 
3052
        * config/tc-mmix.c, config/tc-mmix.h: Convert to ISO C90.
3053
 
3054
2005-03-25  Hans-Peter Nilsson  
3055
 
3056
        * config/tc-cris.h: Convert to ISO C90.
3057
        * config/tc-cris.c: Ditto.
3058
        (md_estimate_size_before_relax): Remove obsolete comment for
3059
        parameter "segment_type".
3060
        (md_begin): Document reason for cast of hash_insert argument.
3061
        (md_atof): Correct type of parameter "type".
3062
 
3063
2005-03-24  Nick Clifton  
3064
 
3065
        * write.h (bit_fix_new): Remove redundant prototype.
3066
        * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
3067
        * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
3068
        * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
3069
        * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
3070
        * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
3071
        * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
3072
        * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
3073
        * config/obj-som.c: Convert to ISO-C90 and fix formatting.
3074
        * config/obj-som.h: Convert to ISO-C90 and fix formatting.
3075
        * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
3076
        * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
3077
        * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
3078
        * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
3079
        * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
3080
        * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
3081
        * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
3082
        * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
3083
        * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
3084
        * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
3085
        * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
3086
        * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
3087
        * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
3088
        * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
3089
        * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
3090
        * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
3091
        * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
3092
        * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
3093
        * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
3094
        * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
3095
        * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
3096
        * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
3097
        * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
3098
        * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
3099
        * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
3100
        * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
3101
        * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
3102
        * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
3103
        * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
3104
        * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
3105
        * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
3106
        * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
3107
        * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
3108
        * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
3109
        * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
3110
        * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
3111
        * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
3112
        * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
3113
        * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
3114
        * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
3115
        * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
3116
        * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
3117
        * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
3118
        * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
3119
        * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
3120
        * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
3121
 
3122
2005-03-23  Jim Blandy  
3123
 
3124
        * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
3125
        attributes properly.
3126
 
3127
2005-03-23  Mike Frysinger  
3128
            Nick Clifton  
3129
 
3130
        * configure.tgt: Accept any C library to accompany a GNU Linux
3131
        implementation, not just the GNU C library.
3132
        * configure.in: Likewise.
3133
        * configure: Regenerate.
3134
 
3135
2005-03-23  Nick Clifton  
3136
 
3137
        * config/tc-tic30.c: Convert to ISO C90 formatting.
3138
        * config/tc-tic30.h: Convert to ISO C90 formatting.
3139
        * config/tc-pdp11.c: Convert to ISO C90 formatting.
3140
        * config/atof-vax.c: Convert to ISO C90 formatting.
3141
 
3142
2005-03-21  Maciej W. Rozycki  
3143
 
3144
        * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
3145
        relocations correctly as well.
3146
        (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
3147
        relocations in mergeable sections section-relative either.
3148
 
3149
2005-03-21  Bob Wilson  
3150
 
3151
        * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
3152
 
3153
2005-03-21  Nick Clifton  
3154
 
3155
        * config/tc-sh.c (sh_elf_final_processing): Fix compile time
3156
        warning by providing a prototype for sh_symbian_find_elf_flags.
3157
 
3158
        * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
3159
        previous delta.
3160
 
3161
2005-03-21  Alan Modra  
3162
 
3163
        * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
3164
        along with other formats that set bfd_gas.  Remove unnecessary
3165
        setting of bfd_gas.  Delete strongarm cases in generic_target
3166
        switch.
3167
 
3168
2005-03-21  Alan Modra  
3169
 
3170
        PR gas/780
3171
        * config/tc-m68k.c (TRUNC, SEXT): Define.
3172
        (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
3173
        (m68k_ip): Truncate or sign extend expressions as appropriate.
3174
        (get_num): Likewise.
3175
        (md_apply_fix3): Use SEXT.
3176
 
3177
2005-03-21  Alan Modra  
3178
 
3179
        * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
3180
        (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
3181
        (obj-vms.o): Delete rule.
3182
        Run "make dep-am".
3183
        * Makefile.in: Regenerate.
3184
        * aclocal.m4: Regenerate.
3185
        * doc/Makefile.in: Regenerate.
3186
        * po/POTFILES.in: Regenerate.
3187
 
3188
2005-03-18  C Jaiprakash  
3189
 
3190
        * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
3191
        flag for coldfire v4e.
3192
 
3193
2005-03-17  Bob Wilson  
3194
 
3195
        * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
3196
        xg_apply_fix_value and return a value to indicate success.
3197
        (md_pcrel_from): Skip check of fx_done.  Return 0 if not PC-relative.
3198
        (xtensa_force_relocation): Remove checks for VTABLE relocs.
3199
        (xtensa_validate_fix_sub): New.
3200
        (xtensa_fix_adjustable): Remove check for external or weak symbols.
3201
        (tc_gen_reloc): Move code to handle difference of symbols and code to
3202
        apply tentative fix values to ...
3203
        (md_apply_fix3): ...here.  Enable standard overflow checks for simple
3204
        8, 16, and 32 bit relocations.  Apply fixes for slot-specific
3205
        relocations when linkrelax flag is not set.
3206
        * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
3207
        (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
3208
 
3209
2005-03-17  Jan Beulich  
3210
 
3211
        * config/tc-i386.c (i386_scale): Beautify error message.
3212
        (Intel syntax comments): Update.
3213
        (struct intel_parser_s): Add fields in_offset, in_bracket, and
3214
        next_operand.
3215
        (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
3216
        Remove declarations.
3217
        (intel_bracket_expr): Declare.
3218
        (i386_intel_operand): Initialize new intel_parser fields. Wrap most
3219
        of the function body in a loop allowing to split an operand into two.
3220
        Replace calls to malloc and checks of it returning non-NULL with
3221
        calls to xmalloc/xstrdup.
3222
        (intel_expr): SHORT no longer handled here. Add comment indicating
3223
        comparison ops need implementation.
3224
        (intel_e04, intel_e04_1): Combine, replace recursion with loop.
3225
        Check right operand of - does not specify a register when parsing
3226
        the address of a memory reference.
3227
        (intel_e05, intel_e05_1): Combine, replace recursion with loop.
3228
        Check operands do not specify a register when parsing the address of
3229
        a memory reference.
3230
        (intel_e06, intel_e06_1): Likewise.
3231
        (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
3232
        handle SHORT as well as unary + and -. Don't accept : except for
3233
        segment overrides or in direct far jump/call insns.
3234
        (intel_brack_expr): New.
3235
        (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
3236
        intel_brack_expr.
3237
        (intel_e11): Replace chain of if/else-if by switch, alloing fall-
3238
        through in certain cases. Use intel_brack_expr. Add new diagnostics.
3239
        Allow symbolic constants as register scale value.
3240
        (intel_get_token): Replace call to malloc and check of return value
3241
        with call to xmalloc. Change handling for FLAT to match MASM's.
3242
        (intel_putback_token): Don't try to back up/free current token if
3243
        that is T_NIL.
3244
 
3245
2005-03-16  Daniel Jacobowitz  
3246
 
3247
        * configure.tgt: Set emulation for arm-*-eabi*.
3248
        * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
3249
        * config/te-armeabi.h: New file.
3250
        * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
3251
        * config/te-symbian.h: Include "te-armeabi.h".
3252
 
3253
2005-03-16  Nick Clifton  
3254
 
3255
        * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
3256
        local variable in case it is clobbered by the setjmp.
3257
 
3258
2005-03-16  Nick Clifton  
3259
            Ben Elliston  
3260
 
3261
        * configure.in (werror): New switch: Add -Werror to the
3262
        compiler command line.  Enabled by default.  Disable via
3263
        --disable-werror.
3264
        * configure: Regenerate.
3265
 
3266
2005-03-16  Nick Clifton  
3267
 
3268
        * config/obj-coff.h: Convert to ISO C90 formatting.
3269
        * config/obj-coff.c: Convert to ISO C90 formatting.
3270
 
3271
2005-03-15  Zack Weinberg  
3272
 
3273
        * config/tc-arm.c (do_mla): Rename to do_mlas, take second
3274
        is_mls parameter; do not diagnose Rm==Rd when is_mls.
3275
        (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
3276
        (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
3277
        (insns): Add ARMv6T2 instructions:
3278
        bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
3279
        (arm_archs): Add V6T2 variants.
3280
 
3281
2005-03-15  Nick Clifton  
3282
 
3283
        * NEWS: Add cutoff for changes in 2.16 release.
3284
 
3285
2005-03-15  Jan Beulich  
3286
 
3287
        * expr.c (operand): Merge handling of unary + into that for unary
3288
        -, !, and ~.
3289
 
3290
2005-03-14  Eric Christopher  
3291
 
3292
        * config/tc-mips.c: Include dw2gencfi.h.
3293
        (mips_cfi_frame_initial_instructions): New.
3294
        * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
3295
        (tc_cfi_frame_initial_instructions): Ditto.
3296
        (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
3297
        (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
3298
        * Makefile.am: Update dependencies.
3299
        * Makefile.in: Regenerate.
3300
 
3301
2005-03-15  Alan Modra  
3302
 
3303
        * po/es.po: Commit new Spanish translation.
3304
 
3305
2005-03-14  Alan Modra  
3306
 
3307
        * po/tr.po: Commit new Turkish translation.
3308
 
3309
2005-03-12  Zack Weinberg  
3310
 
3311
        * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
3312
        wfi, yield.
3313
 
3314
2005-03-11  Daniel Jacobowitz  
3315
 
3316
        * config-gas.com: Mark vax-vms as obsolete.
3317
        * configure.in: Remove fmt=vms support.
3318
        * config.in: Regenerate.
3319
        * configure: Regenerate.
3320
        * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
3321
 
3322
2005-03-10  Sterling Augustine  
3323
            Bob Wilson  
3324
 
3325
        * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
3326
        when checking if xg_resolve_literals needs to be called.
3327
        * config/tc-xtensa.h: Fix spelling typo in a comment.
3328
 
3329
2005-03-10  Jan Beulich  
3330
 
3331
        * config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
3332
        * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
3333
        crafted structure declarations with the types from macro.h.
3334
 
3335
2005-03-09  Richard Sandiford  
3336
 
3337
        * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
3338
        for -mno-shared optimization.
3339
 
3340
2005-03-09  Richard Sandiford  
3341
 
3342
        * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
3343
        (MAX_NOPS): Bump to 4.
3344
        (mips_fix_vr4130): New variable.
3345
        (nops_for_vr4130): New function.
3346
        (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS.  Use
3347
        nops_for_vr4130 if working around VR4130 errata.
3348
        (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
3349
        (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
3350
        (md_parse_option): Handle them.
3351
        (md_show_usage): Print them.
3352
        * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
3353
 
3354
2005-03-09  Richard Sandiford  
3355
 
3356
        * config/tc-mips.c (append_insn): Remove cop_interlocks test from
3357
        branch delay code.
3358
 
3359
2005-03-09  Richard Sandiford  
3360
 
3361
        * config/tc-mips.h (mips_flush_pending_output): Delete.
3362
        (mips_emit_delays): Declare.
3363
        (md_flush_pending_output): Use mips_emit_delays.
3364
        * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
3365
        the previous instructions.
3366
        (md_begin, append_insn, md_parse_option): Update callers.
3367
        (mips_emit_delay): Remove parameter.  Move INSNS != 0 code to
3368
        start_noreorder.
3369
        (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
3370
        (s_gpdword): Update callers.
3371
        (start_noreorder, end_noreorder): New functions.
3372
        (macro, macro2, mips16_macro, s_mipsset): Use them instead of
3373
        manipulating mips_opts or prev_nop_frag directly.
3374
        (mips_flush_pending_output): Delete.
3375
 
3376
2005-03-09  Richard Sandiford  
3377
 
3378
        * config/tc-mips.c (mips_move_labels): New function, taken from...
3379
        (append_insn, mips_emit_delays): ...here.
3380
 
3381
2005-03-09  Richard Sandiford  
3382
 
3383
        * config/tc-mips.c (MAX_NOPS): New macro.
3384
        (history): Resize to 1 + MAX_NOPS.
3385
        (fix_vr4120_class): New enumeration.
3386
        (vr4120_conflicts): New variable.
3387
        (init_vr4120_conflicts): New function.
3388
        (md_begin): Call it.
3389
        (insn_uses_reg): Constify first argument.
3390
        (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
3391
        (nops_for_insn_or_target): New functions.
3392
        (append_insn): Use the new nops_for_* functions instead of inline
3393
        delay checks.  Generalize prev_nop_frag handling to handle an
3394
        arbitrary history length.  Insert nops into the history buffer
3395
        once the number of nops in prev_nop_frag is fixed.
3396
        (emit_delays): Use nops_for_insn instead of inline delay checks.
3397
 
3398
2005-03-09  Richard Sandiford  
3399
 
3400
        * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
3401
        check from branch delay code.  Remove unnecessary check for branches.
3402
 
3403
2005-03-09  Richard Sandiford  
3404
 
3405
        * config/tc-mips.c (dummy_opcode): Delete.
3406
        (nop_insn, mips16_nop_insn): New variables.
3407
        (NOP_INSN): New macro.
3408
        (insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
3409
        (add_relaxed_insn, insert_into_history, emit_nop): New functions.
3410
        (md_begin): Initialize nop_insn and mips16_nop_insn.
3411
        (append_insn): Use the new emit_nop function to add nops, recording
3412
        them in the history buffer.  Use add_fixed_insn or add_relaxed_insn
3413
        to reserve room for the instruction and install_insn to install the
3414
        final form.  Use insert_into_history to record the instruction in
3415
        the history buffer.  Use move_insn to do delay slot filling.
3416
        (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
3417
        (macro_build, mips16_macro_build, macro_build_lui, mips_ip)
3418
        (mips16_ip): Use create_insn to initialize mips_cl_insns.
3419
 
3420
2005-03-09  Richard Sandiford  
3421
 
3422
        * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
3423
        (EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
3424
        (insn_uses_reg, reg_needs_delay, append_insn, macro_build)
3425
        (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
3426
        (mips16_ip): Use the new macros instead of explicit masks and shifts.
3427
 
3428
2005-03-09  Richard Sandiford  
3429
 
3430
        * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
3431
        and extended_p fields with a single fixed_p field.
3432
        (append_insn, mips_no_prev_insn): Adjust accordingly.
3433
 
3434
2005-03-09  Richard Sandiford  
3435
 
3436
        * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
3437
        a single mips16_absolute_jump_p bit.
3438
        (append_insn): Adjust accordingly.
3439
 
3440
2005-03-09  Richard Sandiford  
3441
 
3442
        * config/tc-mips.h (mips_cl_insn): Move definition to...
3443
        * config/tc-mips.c (mips_cl_insn): ...here.  Add new fields:
3444
        frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
3445
        and extended_p.
3446
        (history): New variable.
3447
        (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
3448
        (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
3449
        (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
3450
        (prev_prev_insn_unreordered): Delete.
3451
        (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
3452
        (macro_start): Replace uses of prev_insn* with the equivalent history[]
3453
        field.
3454
 
3455
2005-03-08  Daniel Jacobowitz  
3456
 
3457
        * doc/Makefile.am: Update as.info dependencies.
3458
        * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
3459
 
3460
2005-03-08  Jan Beulich  
3461
 
3462
        * doc/as.texinfo: Add sentence to indicate redefining a macro is an
3463
        error, and point to .purgem documentation if someone really needs
3464
        re-definitions.
3465
        * NEWS: Mention macro redefinition is now an error.
3466
 
3467
2005-03-08  Jan Beulich  
3468
 
3469
        * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was
3470
        emitted to. Add more precise diagnostics for non-fitting insns based
3471
        on that. Eliminate now superfluous special casing of MLX. Clear out
3472
        slot information when dropping an insn.
3473
 
3474
2005-03-08  Jan Beulich  
3475
 
3476
        * config/tc-ia64.c (parse_section_name): Rename to...
3477
        (cross_section): In addition to separating the name from the rest of
3478
        the arguments, also carry out the operation.
3479
        (dot_xdata): Use cross_section.
3480
        (dot_float_cons): Likewise.
3481
        (dot_xstringer): Likewise.
3482
        (dot_xdata_ua): Likewise.
3483
        (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons.
3484
 
3485
2005-03-05  Alan Modra  
3486
 
3487
        * po/gas.pot: Regenerate.
3488
 
3489
2005-03-04  David Daney  
3490
 
3491
        * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp'
3492
        instead of '_gp' for -mno-shared optimization.
3493
        (s_cpload): Ditto.
3494
        (s_abicalls): Document it in the comment.
3495
        (md_show_usage): Document the -mno-shared option.
3496
 
3497
2005-03-04  Richard Sandiford  
3498
 
3499
        * config/tc-mips.c (mips_set_options): Add sym32 field.
3500
        (mips_opts): Initialize it.
3501
        (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide.
3502
        (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES.
3503
        (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros.
3504
        (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES
3505
        when deciding whether to use a symbolic %highest/%higher expansion.
3506
        (macro): Likewise.  Remove o64/n32 linux hack.  Always use
3507
        ADDRESS_ADD*_INSN for address addition in the expansion of "dla"
3508
        and "la".  Handle constants separately from symbolic expressions in
3509
        the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES
3510
        and using load_register to load the high part of the address.
3511
        (OPTION_MSYM32, OPTION_NO_MSYM32): New macros.
3512
        (OPTION_ELF_BASE): Bump by 2.
3513
        (md_longopts): Add entries for -msym32 and -mno-sym32.
3514
        (md_parse_option): Handle them.
3515
        (usage): Document them.
3516
        (s_mipsset): Handle ".set sym32" and ".set nosym32".
3517
        (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of
3518
        HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp".
3519
        * doc/c-mips.texi: Document ".set sym32", ".set nosym32",
3520
        -msym32 and -mno-sym32.
3521
 
3522
2005-03-03  Thiemo Seufer  
3523
 
3524
        * config/tc-mips.c (load_address): Implement GP optimization
3525
        for 64bit address space non-PIC. Fix formatting.
3526
        (macro): Likewise. Simplify code.
3527
        (md_parse_option): Don't bail out if -G 0 is set for PIC code.
3528
        (mips_after_parse_args): Simplify code.
3529
 
3530
2005-03-03  Nick Clifton  
3531
 
3532
        * expr.c (operand): Remove redundant code enclosed by #ifdef
3533
        RELAX_PAREN_GROUPING....#endif.
3534
 
3535
        * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
3536
        reloc is the difference of two symbols defined in the same
3537
        section.
3538
 
3539
        * config/tc-iq2000.c (line_comment_chars): Include the # character
3540
        as otherwise this breaks #APP/#NO_APP processing.
3541
 
3542
2005-03-03  Ramana Radhakrishnan  
3543
 
3544
        * config/tc-arc.c(md_assemble): Remove dead code for handling
3545
        immediate indexing of ld and st .
3546
 
3547
2005-03-02  Daniel Jacobowitz  
3548
            Joseph Myers  
3549
 
3550
        * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
3551
        %dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel.
3552
        (parse_relocation): Check for a word break after a relocation
3553
        operator.
3554
        (md_apply_fix3): Handle TLS relocations, and mark thread-local
3555
        symbols.
3556
 
3557
2005-03-02  Alan Modra  
3558
 
3559
        * config/tc-ppc.c (ppc_fix_adjustable ): Remove bogus checks.
3560
 
3561
2005-03-02  Jan Beulich  
3562
 
3563
        * as.c (main): Use unlink_if_ordinary instead of unlink.
3564
        * messages.c (as_fatal): Likewise.
3565
 
3566
2005-03-02  Jan Beulich  
3567
 
3568
        * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
3569
        accesses.
3570
        (parse_register): Allow cr8...15 in all modes.
3571
 
3572
2005-03-02  Jan Beulich  
3573
 
3574
        * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
3575
        etc. like normal symbol references (T_ID).
3576
 
3577
2005-03-02  Alan Modra  
3578
 
3579
        * symbols.c (fb_label_name): Fix silly thinko in last change.
3580
 
3581
2005-03-02  Alan Modra  
3582
 
3583
        * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
3584
        * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
3585
 
3586
        * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
3587
 
3588
2005-03-01  Ramana Radhakrishnan  
3589
 
3590
        PR gas/708
3591
        * config/tc-arc.c (md_assemble): Initialize suffix for extension
3592
        suffixes also.
3593
 
3594
2005-03-01  Alan Modra  
3595
 
3596
        * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
3597
 
3598
        * as.h (assert): Warning fix.
3599
        * expr.c (expr): Correct assertion.
3600
        * read.c (s_comm_internal): Remove assertion.
3601
        * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
3602
        (fixup_segment): Remove assertion.
3603
        * config/tc-dlx.c (machine_ip): Remove untrue assertions.
3604
        (md_apply_fix3): Likewise.
3605
        * config/tc-i370.c (md_begin): Correct assertion.
3606
        (i370_macro): Warning fix for assertion.
3607
 
3608
2005-03-01  Alan Modra  
3609
 
3610
        * configure.in (AC_C_BIGENDIAN): Invoke.
3611
        * configure: Regenerate.
3612
        * write.c (write_object_file ): Don't use sizeof
3613
        host variable to set string header size.
3614
        * config/obj-aout.c (obj_header_append): Don't use host structs.
3615
        (obj_symbol_to_chars): Likewise.
3616
        (obj_emit_strings): Likewise.  Use the passed in output pointer.
3617
        * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
3618
        * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
3619
        not sizeof host struct.
3620
        (obj_header_append, obj_symbol_to_chars): Don't use host structs.
3621
        (obj_emit_strings): Likewise.
3622
        * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
3623
        (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
3624
        sizeof host struct.
3625
        (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
3626
        sizeof host struct.
3627
        (host_number_to_chars): Define.
3628
        * config/obj-hp300.c (hp300_header_append): Don't use sizeof
3629
        host internal struct to set header sizes.
3630
        * config/tc-i960.c (md_number_to_field): Warning fix.
3631
        (md_ri_to_chars): Use host byte order.
3632
        (get_cdisp, md_apply_fix3): Warning fix.
3633
        * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
3634
 
3635
2005-02-28  Ramana Radhakrishnan  
3636
 
3637
        * doc/c-arc.texi: Update documentation about ARC's extension
3638
        instructions.
3639
 
3640
2005-02-27  Svein E. Seldal  
3641
 
3642
        * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
3643
        address for myself.
3644
 
3645
2005-02-23  Alan Modra  
3646
 
3647
        * cgen.c: Warning fixes.
3648
        * config/tc-arc.c: Likewise.
3649
        * config/tc-arm.c: Likewise.
3650
        * config/tc-avr.c: Likewise.
3651
        * config/tc-d10v.c: Likewise.
3652
        * config/tc-d30v.c: Likewise.
3653
        * config/tc-frv.c: Likewise.
3654
        * config/tc-frv.h: Likewise.
3655
        * config/tc-h8300.c: Likewise.
3656
        * config/tc-h8500.c: Likewise.
3657
        * config/tc-i370.c: Likewise.
3658
        * config/tc-i960.c: Likewise.
3659
        * config/tc-ia64.c: Likewise.
3660
        * config/tc-ip2k.c: Likewise.
3661
        * config/tc-m68hc11.c: Likewise.
3662
        * config/tc-maxq.c: Likewise.
3663
        * config/tc-mcore.c: Likewise.
3664
        * config/tc-mips.c: Likewise.
3665
        * config/tc-msp430.c: Likewise.
3666
        * config/tc-pj.c: Likewise.
3667
        * config/tc-ppc.c: Likewise.
3668
        * config/tc-ppc.h: Likewise.
3669
        * config/tc-s390.c: Likewise.
3670
        * config/tc-sh.c: Likewise.
3671
        * config/tc-sh64.c: Likewise.
3672
        * config/tc-tic4x.c: Likewise.
3673
        * config/tc-tic80.c: Likewise.
3674
        * config/tc-v850.c: Likewise.
3675
        * config/tc-vax.c: Likewise.
3676
        * config/tc-w65.c: Likewise.
3677
        * config/tc-xstormy16.c: Likewise.
3678
        * config/tc-z8k.c: Likewise.
3679
 
3680
2005-02-22  Catherine Moore  
3681
 
3682
        * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
3683
        * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
3684
 
3685
2005-02-22  Eric Christopher  
3686
 
3687
        * config/tc-mips.c (struct proc): Change isym to
3688
        func_sym. New member func_end_sym.
3689
        (s_mips_ent): Update.
3690
        (s_mips_end): Ditto. Add code to compute function size.
3691
 
3692
2005-02-22  Alan Modra  
3693
 
3694
        * read.c: Warning fixes.
3695
        * config/obj-elf.c: Likewise.
3696
 
3697
2005-02-22  Maciej W. Rozycki  
3698
 
3699
        * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
3700
        emitting insn.
3701
 
3702
2005-02-21  H.J. Lu  
3703
 
3704
        * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
3705
        SEC_COFF_SHARED.
3706
 
3707
        * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
3708
        SEC_TIC54X_BLOCK.
3709
        (demand_empty_rest_of_line): Likewise.
3710
        (tic54x_sblock): Likewise.
3711
        (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
3712
 
3713
2005-02-21  Alan Modra  
3714
 
3715
        * read.c (address_bytes): New function.
3716
        (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
3717
        (potable): Add "dc.a".
3718
        (cons_worker): Handle "dc.a".
3719
        * doc/internals.texi (TC_ADDRESS_BYTES): Document.
3720
 
3721
2005-02-21  Alan Modra  
3722
 
3723
        * input-file.c (input_file_open): Rearrange to avoid warning.
3724
 
3725
2005-02-19  Alan Modra  
3726
 
3727
        * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
3728
        * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
3729
        * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
3730
 
3731
2005-02-18  Thiemo Seufer  
3732
 
3733
        * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
3734
        uses after .set noat.
3735
        (load_address): Likewise.
3736
        (macro): Likewise. Don't try to avoid $at use by sacrificing
3737
        the target register before it is stored, it won't work.
3738
 
3739
2005-02-17  James E Wilson  
3740
 
3741
        * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
3742
        see an instruction that specifies a template.
3743
 
3744
2005-02-18  Alan Modra  
3745
 
3746
        * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
3747
        * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
3748
        * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
3749
 
3750
2005-02-17  H.J. Lu  
3751
 
3752
        * NEWS: Mention "-mhint.b=[ok|warning|error]".
3753
 
3754
        * config/tc-ia64.c (md): Add hint_b.
3755
        (emit_one_bundle): Handle md.hint_b for "hint".
3756
        (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
3757
        (md_show_usage): Add "-mhint.b=[ok|warning|error]".
3758
        (ia64_init): Set md.hint_b to error.
3759
        (md_assemble): Handle md.hint_b for "hint.b".
3760
 
3761
        * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
3762
        * doc/c-ia64.texi: Likewise.
3763
 
3764
2005-02-17  Alan Modra  
3765
 
3766
        * tc.h (struct relax_type, relax_typeS): Move from here..
3767
        * as.h: ..to here.  Make rlx_forward and rlx_backward an offsetT.
3768
        * ecoff.c (ecoff_new_file): Add appfile param.
3769
        * ecoff.h (ecoff_new_file): Likewise.
3770
        * itbl-lex.h: New file.
3771
        * itbl-lex.l: Include itbl-lex.h.
3772
        * itbl-parse.y: Likewise.
3773
        (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
3774
        * read.c (s_app_file_string): Mark appfile possibly unused.
3775
        * subsegs.c (seg_not_empty_p): Make sec possibly unused.
3776
        * subsegs.h (struct seg_info_trash): Delete.
3777
        (seg_info): Use segment_info_type instead.
3778
        * config/obj-coff.c (struct filename_list): Make filename const char *.
3779
        * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
3780
        * config/obj-elf.c (elf_file_symbol): Similarly.
3781
        * config/tc-a29k.c (md_apply_fix3): Make val a valueT.  Don't use
3782
        signed right shift.
3783
        * config/tc-arc.c (md_operand): Warning fix.
3784
        * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
3785
        (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
3786
        * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
3787
        * config/tc-frv.c (frv_force_relocation): Warning fix.
3788
        * config/tc-m68k.c (md_parse_option): Delete unused var.
3789
        * config/tc-mcore.c (mylog2): Rename from log2 throughout.
3790
        * config/tc-sparc.c: Likewise.
3791
        (s_common): Warning fix.
3792
        * config/tc-mips.c (append_insn): Use unsigned long long expressions.
3793
        * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
3794
        addressT.
3795
        * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
3796
        * config/tc-sh.c (sh_cfi_frame_initial_instructions,
3797
        sh_regname_to_dw2regnum): Only define for OBJ_ELF.
3798
        * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
3799
        (tic4x_do_align): Use TIC_NOP_OPCODE.
3800
        * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
3801
        * config/tc-vax.c: Include netinet/in.h.
3802
        (tc_headers_hook): Formatting.
3803
        * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
3804
 
3805
2005-02-17  Jan Beulich  
3806
 
3807
        * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
3808
        parsing inN, locN, outN. Set 'idx' to offset register number starts
3809
        at. Don't handle numbers with leading zeroes or beyond 95. Remove
3810
        pointless cast.
3811
 
3812
2005-02-16  Thiemo Seufer  
3813
 
3814
        * config/tc-mips.c (load_address): Fix formatting.
3815
        (macro): Don't use AT if .set noat is in effect. Fix formatting.
3816
        Catch macros which are unexpandable without AT. Remove duplicate
3817
        zeroing of used_at.
3818
        (macro2): Remove duplicate zeroing of used_at.
3819
 
3820
2005-02-16  Alan Modra  
3821
 
3822
        * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
3823
        than zero.
3824
 
3825
2005-02-15  Nigel Stephens  
3826
            Maciej W. Rozycki  
3827
 
3828
        * config/tc-mips.c (reloc_needs_lo_p): Handle
3829
        BFD_RELOC_MIPS16_HI16_S.
3830
        (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
3831
        (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
3832
        and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
3833
        complaints on.
3834
        (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
3835
        BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
3836
        Call my_getSmallExpression() to parse percent operators.
3837
        (percent_op_match, mips_percent_op): Separate definitions.
3838
        (mips16_percent_op): Define percent operators for the MIPS16 mode.
3839
        (parse_relocation): Handle the MIPS16 mode using
3840
        mips16_percent_op.
3841
        (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
3842
        BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
3843
 
3844
2005-02-15  Jan Beulich  
3845
 
3846
        * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
3847
        instead of explicitly dealing with the translation; exclude
3848
        relocations that are already pcrel, however.
3849
 
3850
2005-02-15  Jan Beulich  
3851
 
3852
        * config/tc-ia64.c: Include limits.h (if available).
3853
        (gr_values[0]): Set path to INT_MAX.
3854
        (dot_reg_val): Don't allow changing value of r0. Limit range of
3855
        general registers at r127.
3856
        (specify_resource): Default resource index is -1. Don't set resource
3857
        index (in case IA64_RS_RSE) without setting the specific flag.
3858
        (note_register_values): Check operand is O_constant before tracking
3859
        input value of moves. Add tracking for dep.z with constant inputs.
3860
        (print_dependency): Resource index of specific resource may be zero.
3861
        (check_dependencies): Likewise.
3862
 
3863
2005-02-15  Jan Beulich  
3864
 
3865
        * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
3866
        reg_class. Check operands and emit diagnostics for illegal use of
3867
        registers.
3868
 
3869
2005-02-15  Jan Beulich  
3870
 
3871
        * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
3872
        new variables type, suffix, and width. Handle
3873
        BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
3874
        Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
3875
        FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
3876
        FUNC_DTP_RELATIVE case. Return incoming relocation type if
3877
        BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
3878
        if unable to translate relocation type, using the new variables.
3879
 
3880
2005-02-15  Jan Beulich  
3881
 
3882
        * config/tc-ia64.h (ia64_symbol_chars): Declare.
3883
        (ty_symbol_chars): Define.
3884
        * config/tc-ia64.c (ia64_symbol_chars): Define.
3885
 
3886
2005-02-15  Jan Beulich  
3887
 
3888
        * config/tc-ia64.c (ia64_parse_name): Only update next character if
3889
        input_line_pointer was advanced.
3890
 
3891
2005-02-14  Kaz Kojima  
3892
 
3893
        * config/tc-sh.c (md_apply_fix3): Add parentheses around &
3894
        within |.
3895
 
3896
2005-02-13  Jan Beulich  
3897
 
3898
        * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
3899
        (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
3900
        indicator.
3901
        (ia64_init): Set md.detect_dv.
3902
        (ia64_start_line): New static variable warned. Warn only once when
3903
        encountering explicit stops in automatic mode.
3904
        * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
3905
        * NEWS: Mention new default mode.
3906
 
3907
2005-02-13  Jan Beulich  
3908
 
3909
        * config/tc-ia64.c (dot_rot): Add comment that name strings should
3910
        be freed when wiping out previous state. Canonicalize names before
3911
        use. Free name string when detecting redefinition.
3912
        (dot_pred_rel): Call generic expression parser to process arguments.
3913
        Handle O_register case for individual predicates and O_subtract for
3914
        ranges.
3915
        (ia64_parse_name): Canonicalize name before looking it up in dynamic
3916
        register hash.
3917
        (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
3918
        Warn if multiple found, issue error if resulting symbol name has zero
3919
        length.
3920
        (dot_alias): Canonicalize name before use.
3921
 
3922
2005-02-11  H.J. Lu  
3923
 
3924
        * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
3925
        and 0 for error.
3926
        (in_procedure): Return -1 for warning.
3927
        (in_prologue): Likewise.
3928
        (in_body): Likewise.
3929
 
3930
2005-02-11  H.J. Lu  
3931
 
3932
        * config/tc-ia64.c (dot_xdata): Undo the last change.
3933
        (dot_float_cons): Likewise.
3934
        (dot_xstringer): Likewise.
3935
        (dot_xdata_ua): Likewise.
3936
        (dot_float_cons_ua): Likewise.
3937
 
3938
2005-02-11  H.J. Lu  
3939
 
3940
        * NEWS: Mention "-munwind-check=[warning|error]".
3941
 
3942
        * config/tc-ia64.c (md): Add unwind_check.
3943
        (unwind_diagnostic): New.
3944
        (in_procedure): Call unwind_diagnostic when a directive isn't
3945
        in procedure.
3946
        (in_prologue): Call unwind_diagnostic when a directive isn't in
3947
        prologue.
3948
        (in_body): Call unwind_diagnostic when a directive isn't in
3949
        body region.
3950
        (dot_endp): Set md.unwind_check to error before calling
3951
        in_procedure and restore it after. When the name is missing or
3952
        couldn't be found, use the one from the last .proc if
3953
        md.unwind_check isn't error. Warn if md.unwind_check is
3954
        warning.
3955
        (md_parse_option): Handle "-munwind-check=[warning|error]".
3956
        (md_show_usage): Add "-munwind-check=[warning|error]".
3957
        (ia64_init): Set md.unwind_check to warning.
3958
 
3959
        * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
3960
        * doc/c-ia64.texi: Likewise.
3961
 
3962
2005-02-11  Jan Beulich  
3963
 
3964
        * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
3965
        (LEX_QM): Likewise.
3966
        (ia64_parse_name): New third parameter.
3967
        (md_parse_name): Pass third argument.
3968
        * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
3969
        (md_operand): Handling of '@'-prefixed symbols moved from here...
3970
        (ia64_parse_name): ...to here.
3971
 
3972
2005-02-11  Jan Beulich  
3973
 
3974
        * config/tc-ia64.c (md): Remove last_groups and group_idx.
3975
        (errata_nop_necessary_p): Remove declaraction and definition.
3976
        (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
3977
        update md.group_idx. Don't reset md.last_groups.
3978
 
3979
2005-02-11  Jan Beulich  
3980
 
3981
        * config/tc-ia64.c (parse_section_name): Handle non-quoted first
3982
        argument.
3983
        (dot_xdata): Free section name after use.
3984
        (dot_float_cons): Likewise.
3985
        (dot_xstringer): Likewise.
3986
        (dot_xdata_ua): Likewise.
3987
        (dot_float_cons_ua): Likewise.
3988
        (md_pseudo_table): Add xdata16 and xdata16.ua.
3989
 
3990
2005-02-10  H.J. Lu  
3991
 
3992
        * doc/all.texi: Add IA64.
3993
        * doc/as.texinfo: Likewise.
3994
 
3995
        * doc/c-ia64.texi: Fix typos.
3996
 
3997
2005-02-10  Julian Brown  
3998
 
3999
        * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
4000
        BFD_RELOC_UNUSED.
4001
        (do_t_push_pop): Likewise.
4002
        (md_assemble): Likewise.
4003
        (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
4004
        BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
4005
        (create_unwind_entry): Output dependency on the required personality
4006
        routines.
4007
 
4008
2005-02-07  Nathan Sidwell  
4009
 
4010
        * as.h (seg_not_empty_p): Return int, not bfd_boolean.
4011
        * subsegs.c (seg_not_empty_p): Likewise.
4012
 
4013
2005-02-07  Inderpreet Singh 
4014
 
4015
        * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
4016
        relative jump calculation.
4017
        
4018
        
4019
 
4020
2005-02-07  Hans-Peter Nilsson  
4021
 
4022
        * write.c (write_object_file): Recognize warning-symbol construct
4023
        and skip object- and target- handling for the second symbol.
4024
 
4025
2005-02-02  Jan Beulich  
4026
 
4027
        * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
4028
        designators along with quoted ones. Free copy of quoted designator
4029
        when done.
4030
 
4031
2005-02-01  Ben Elliston  
4032
 
4033
        * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
4034
        config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
4035
        config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
4036
        config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
4037
        config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
4038
        config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
4039
        config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
4040
        config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
4041
        config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
4042
        config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
4043
        config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
4044
        config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
4045
        config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
4046
        #if 0'd code throughout.
4047
 
4048
2005-01-31  Nick Clifton  
4049
 
4050
        * as.c (parse_args): Bump copyright date reported by --version to
4051
        2005.
4052
 
4053
2005-01-31  Nick Clifton  
4054
 
4055
        * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
4056
        and vax-vms.
4057
 
4058
2005-01-31  Jan Beulich  
4059
 
4060
        * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
4061
        that can end with .endr in that case. Make requiring/permitting
4062
        pseudo-ops without leading dot closer to the logic in read.c serving
4063
        the same purpose.
4064
        (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
4065
        ignored.
4066
 
4067
2005-01-31  Jan Beulich  
4068
 
4069
        * macro.c (do_formals): Adjust to no longer accept empty parameter
4070
        names.
4071
        (define_macro): Adjust to no longer accept empty macro name, garbage
4072
        following the parameters, or macros that were previously defined.
4073
        * read.c (s_bad_end): Declare.
4074
        (potable): Add endm. Handler for endr and endm is s_bad_end.
4075
        (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
4076
        and .endr.
4077
        * read.h (s_bad_endr): Remove.
4078
 
4079
2005-01-31  Jan Beulich  
4080
 
4081
        * config/tc-ia64.c (parse_operands): Parse all specified operands,
4082
        immediately discarding (but counting) those exceeding the maximum
4083
        possible amount. Track whether output and input operand counts ever
4084
        matched, and use this to better indicate which of the operands/
4085
        operand types was wrong; specifically don't default to pointing to
4086
        the first operand.
4087
 
4088
2005-01-31  Jan Beulich  
4089
 
4090
        * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
4091
        variable in dot_endp). Add body and insn. Make prologue,
4092
        prologue_mask, body, and insn bitfields.
4093
        (fixup_unw_records): Remove spurious new-lines from end of diagnostic
4094
        messages.
4095
        (in_procedure, in_prologue, in_body): New.
4096
        (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
4097
        dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
4098
        dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
4099
        dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
4100
        dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
4101
        dot_personality): Use the appropriate one of the above.
4102
        (dot_proc): Clear unwind.proc_start; set to current location only if
4103
        none of the entry points were valid. Check for non-zero-length entry
4104
        point names. Check that entry points aren't defined, yet. Clear
4105
        unwind.prologue, unwind.body, and unwind.insn.
4106
        (dot_body): Call in_procedure. Check that first directive in procedure
4107
        had no insns emitted before. Set unwind.body.
4108
        (dot_prologue): Call in_procedure. Check that not already in prologue.
4109
        Check that first directive in procedure had no insns emitted before.
4110
        Clear unwind.body.
4111
        (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
4112
        length entry point names. Check that entry points became defined.
4113
        (md_assemble): Set unwind.insn once unwind.proc_start is defined.
4114
 
4115
2005-01-31  Jan Beulich  
4116
 
4117
        * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
4118
        before actually using it. Don't generate an error in manual bundling
4119
        mode when looking at an insn requiring slot 2 but not yet at slot 2.
4120
        Don't generate an error in manual bundling mode when looking at an
4121
        insn required to be last in its group but the required slot hasn't
4122
        been reached, yet. Allow conversion from MII to MI;I for bundle
4123
        consisting of only 2 insns with the stop between them. Suppress
4124
        various meaningless errors resulting from detecting earlier ones.
4125
 
4126
2005-01-31  Jan Beulich  
4127
 
4128
        * config/tc-ia64.c (parse_operands): Also handle alloc without first
4129
        input being ar.pfs.
4130
 
4131
2005-01-28  Christian Groessler  
4132
 
4133
        * config/tc-z8k.c (md_assemble): Improve error detection.
4134
 
4135
2005-01-28  Jan Beulich  
4136
 
4137
        * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
4138
        for personality routine pointer only if there is one.
4139
        (ia64_convert_frag): Likewise.
4140
        (generate_unwind_image): Likewise.
4141
 
4142
2005-01-27  Christian Groessler  
4143
 
4144
        * config/tc-z8k.c (INSERT): Remove, not used anywhere.
4145
        (md_apply_fix3): Make relative branches out of range an error
4146
        instead of a warning.  Display correct line number for out of
4147
        range branches/calls/memory accesses.
4148
 
4149
2005-01-27  Nathan Sidwell  
4150
 
4151
        * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
4152
        to emit .debug_line and other debug sections.
4153
        * as.h (seg_not_empty_p): Declare.
4154
        * subsegs.c (seg_not_empty_p): New predicate.
4155
 
4156
2005-01-27  Andrew Cagney  
4157
 
4158
        * configure: Regenerate to track ../gettext.m4 change.
4159
 
4160
2005-01-27  Jan Beulich  
4161
 
4162
        * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
4163
 
4164
2005-01-27  Jan Beulich  
4165
 
4166
        * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
4167
        to/from application registers dynamic insns.
4168
        (md_assemble): Defer resolution of move to/from application registers
4169
        dynamic insns when they can be issued on either the I- or M-units.
4170
 
4171
2005-01-25  Alexandre Oliva  
4172
 
4173
        * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
4174
        2004-12-10  Alexandre Oliva  
4175
        * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
4176
        2004-11-10  Alexandre Oliva  
4177
        * cgen.c (gas_cgen_parse_operand): Handle
4178
        CGEN_PARSE_OPERAND_SYMBOLIC.
4179
        * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
4180
        (frv_force_relocation): Likewise.  Fix handling of PIC
4181
        relocations.
4182
        (md_apply_fix3): Likewise.
4183
 
4184
2005-01-21  Ben Elliston  
4185
 
4186
        * as.h: Remove #if 0'd code.
4187
        * atof-generic.c (atof_generic): Likewise.
4188
        * ecoff.c (ecoff_directive_frame): Likewise.
4189
        * frags.h (FRAG_APPEND_1_CHAR): Likewise.
4190
        * itbl-ops.c (itbl_add_reg): Likewise.
4191
        * listing.c (calc_hex): Likewise.
4192
        * read.c (MASK_CHAR): Likewise.
4193
        * subsegs.c (subsegs_print_statistics): Likewise.
4194
        * symbols.c (indent): Likewise.
4195
        * write.c (write_relocs): Likewise.
4196
        (write_object_file): Likewise.
4197
        (relax_frag): Likewise.
4198
 
4199
2005-01-20  Nick Clifton  
4200
 
4201
        * as.c (std_longopts): Add an entry for "--a" in order to prevent
4202
        getopt_long_only() from considering -a as an abbreviation for
4203
        --alternate.
4204
        (parse_args): Fix the parsing of -a=.
4205
 
4206
2005-01-20  Alan Modra  
4207
 
4208
        PR gas/684
4209
        * read.c (s_incbin): Adjust default count for skip.  Check validity
4210
        of count and skip rigorously.
4211
 
4212
2005-01-19  Fred Fish  
4213
 
4214
        * config/tc-mips.c (dummy_opcode): Add init for new struct member.
4215
 
4216
2005-01-19  Richard Sandiford  
4217
 
4218
        * read.c (convert_to_bignum): New function, split out from...
4219
        (emit_expr): ...here.  Handle the case where X_add_number is
4220
        positive and the input value is negative.
4221
        (output_big_sleb128): Fix setting of continuation bit.  Check whether
4222
        the final byte needs to be sign-extended.  Fix size-shrinking loop.
4223
        (emit_leb128_expr): When generating a signed leb128, see whether the
4224
        sign of an O_constant's X_add_number matches the sign of the input
4225
        value.  Use a bignum if not.
4226
 
4227
2005-01-17  Andrew Stubbs  
4228
 
4229
        * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
4230
        arch_sh_up in order to match the external name and make the
4231
        testsuite's job easier.
4232
 
4233
2005-01-14  H.J. Lu  
4234
 
4235
        PR 659
4236
        * config/tc-i386.c (i386_scale): Disallow 0 scale.
4237
 
4238
2005-01-12  Nick Clifton  
4239
 
4240
        * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
4241
        ignored_arguments array.
4242
 
4243
2005-01-10  H.J. Lu  
4244
 
4245
        * write.c (write_object_file): Disallow a symbol equated to
4246
        common symbol.
4247
 
4248
2005-01-10  Inderpreet Singh 
4249
 
4250
        * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
4251
        bfd_mach_maxq20.
4252
        (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
4253
        (maxq_target): New function: Set the machine type.
4254
 
4255
2005-01-06  Paul Brook  
4256
 
4257
        * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
4258
        (md_begin): Handle TE_VXWORKS for FP defaults.
4259
        (md_apply_fix3): Correct rela offsets.
4260
        (elf32_arm_target_format): Add VxWorks targets.
4261
 
4262
2005-01-06  Paul Brook  
4263
 
4264
        * configure.tgt: Set em=vxworks for *-*-vxworks.
4265
        * config/te-vxworks.h: New File.
4266
 
4267
2005-01-06  Paul Brook  
4268
 
4269
        * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
4270
 
4271
2005-01-04  Dmitry Diky  
4272
 
4273
        * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
4274
        global label.
4275
 
4276
2005-01-03  David Mosberger  
4277
 
4278
        * config/tc-ia64.c (md): Add member "loc_directive_seen".
4279
        (dot_loc): New function.
4280
        (md_pseudo_table): Add entry to map .loc to dot_loc().
4281
        (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
4282
        seen a .loc directive or we're generating DWARF2 debug info for
4283
        assembly source.
4284
 
4285
For older changes see ChangeLog-2004
4286
 
4287
Local Variables:
4288
mode: change-log
4289
left-margin: 8
4290
fill-column: 74
4291
version-control: never
4292
End:

powered by: WebSVN 2.1.0

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