]> Git Repo - binutils.git/blob - gas/ChangeLog
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
[binutils.git] / gas / ChangeLog
1 2004-10-01  Paul Brook  <[email protected]>
2
3         * config/tc-arm.c (arm_elf_section_type): New function.
4         (arm_elf_change_section): Set section link for exidx sections.
5         * config/tc-arm.h (arm_elf_section_type): Add prototype.
6         (md_elf_section_type): Define.
7
8 2004-10-01  Bill Farmer  <[email protected]>
9
10         * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
11         instruction's offset.
12
13 2004-10-01  Adam Nemet  <[email protected]>
14
15         * (TARGET_FORMAT): Remove LynxOS COFF definition.
16
17 2004-10-01  Ravi Ramaseshan  <[email protected]>
18
19         * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
20         asymbol *, instead use symbol_get_bfdsym.
21
22 2004-09-30  Linus Nielsen Feltzing  <[email protected]>
23
24         * config/tc-m68k.c (select_control_regs): Add mcf5249.
25
26 2004-09-30  Paul Brook  <[email protected]>
27
28         * config/tc-arm.c (do_smi, do_nop): New functions.
29         (insns): Add ARMv6ZK instructions.
30         (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
31         (tc_gen_reloc): Ditto.
32         (arm_cpus): Add mpcore and arm1176.
33         (arm_archs): Add armv6{k,z,zk}.
34         * doc/c-arm.texi: Document new cores and architectures.
35
36 2004-09-30  Nick Clifton  <[email protected]>
37
38         * config/tc-arm.c: Use ISO C90 formatting.
39
40 2004-09-30  Vladimir Ivanov  <[email protected]>
41
42         * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
43         as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
44         REG_TYPE_MVDX is expected.
45
46 2004-09-29  Marc Bevand  <[email protected]>
47
48         * doc/c-i386.texi (i386-Mnemonics): Fix typo.
49
50 2004-09-21  James E Wilson  <[email protected]>
51
52         * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
53         (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
54         output_spill_base, output_unat_psprel, output_lc_psprel,
55         output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
56         output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
57         output_spill_psprel_p): Use it.
58
59 2004-09-20  Tomer Levi  <[email protected]>
60
61         * config/tc-crx.c (handle_LoadStor): New function. 
62         Handle load/stor unique instructions before parsing. 
63
64 2004-09-17  Paul Brook  <[email protected]>
65
66         * config/tc-arm.c (s_arm_rel31): New funciton.
67         (md_pseudo_table): Add .rel31.
68         (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2, 
69         BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
70         (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
71         (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
72         (arm_parse_reloc): Add (target2).
73
74 2004-09-17  Alan Modra  <[email protected]>
75
76         * Makefile.am: Run "make dep-am".
77         * Makefile.in: Regenerate.
78         * aclocal.m4: Regenerate.
79         * configure: Regenerate.
80         * doc/Makefile.in: Regenerate.
81         * po/POTFILES.in: Regenerate.
82         * po/gas.pot: Regenerate.
83
84 2004-09-14  Hideki IWAMOTO  <[email protected]>
85
86         * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
87         [!LLONG_MAX]: Ditto.
88
89 2004-09-13  Paul Brook  <[email protected]>
90
91         * config/tc-arm.c: Rename RELABS to TARGET1.
92
93 2004-09-13  Alan Modra  <[email protected]>
94
95         * messages.c (as_internal_value_out_of_range): Cast values passed
96         to as_bad_where or as_warn_where to proper type.
97
98 2004-09-11  Theodore A. Roth  <[email protected]>
99
100         * config/tc-avr.c: Add support for
101         atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
102
103 2004-09-09  Alan Modra  <[email protected]>
104
105         * dw2gencfi.c (select_cie_for_fde): When separating CIE out
106         from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
107
108 2004-09-08  Paul Brook  <[email protected]>
109
110         * config/obj-elf.c (obj_elf_section_type): Handle init_array,
111         fini_array and preinit_array section types.
112         * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
113         and fini_array.
114         * doc/as.texinfo: Document extra section types.
115
116 2004-09-02  Mark Mitchell  <[email protected]>
117
118         * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
119         * Makefile.in: Regenerated.
120         * configure.in: Set em for arm*-*-symbianelf*.
121         * configure: Regenerated.
122         * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
123         vectors when appropriate.
124         * config/te-symbian.h: New file.
125
126 2004-09-03  Tomer Levi  <[email protected]>
127
128         * config/tc-crx.c (gettrap): Exception vector can be case
129         insensitive.
130         (process_label_constant): Fix a 32-bit displacement bug in branch 
131         instructions.
132         (get_operandtype) : Bug fix, wrong operand was used.
133         (process_label_constant): Initialize relocation type to 
134         BFD_RELOC_NONE
135
136 2004-09-01  Richard Earnshaw < [email protected]>
137
138         * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
139         for synthesizable cores.
140
141         * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
142
143 2004-08-25  Dmitry Diky  <[email protected]>
144
145         * config/tc-msp430.c:   Clean-up the code.
146         (md_relax_table): New relax table.
147         (mcu_types): Sort MCU types.
148         (md_pseudo_table): Add .profiler pseudo handler.
149         (pow2value): New function.
150         (msp430_profiler): New function.
151         (msp430_operands): Add new insns handlers.
152         (msp430_srcoperand): Add register operand handler, allow complex
153         expressions.
154         (md_estimate_size_before_relax): Rewritten.
155         (md_convert_frag): Rewritten.
156         (msp430_relax_frag): New function.
157         * config/tc-msp430.h (md_relax_frag): define macro
158         * doc/c-msp430.texi: Update information.
159
160 2004-08-24  Nick Clifton  <[email protected]>
161
162         * as.c (std_shortopts): Allow -g to take an optional argument.
163         (parse_args): Pass any switch starting with -g on to the backend
164         for parsing.
165
166 2004-08-18  Mark Mitchell  <[email protected]>
167
168         * configure.in (arm*-*-symbianelf*): New target.
169         (arm*-*-eabi*): Likewise.
170         * configure: Regenerated.
171
172 2004-08-18  Thiemo Seufer  <[email protected]>
173         * config/tc-mips.c (append_insn): Handle delay slots in branch likely
174         correctly.
175
176 2004-08-18  Jakub Jelinek  <[email protected]>
177
178         * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
179         argument, don't do anything if current section is not
180         .gnu.linkonce.t.* and linkonce_empty is set.
181         (generate_unwind_image, dot_endp): Adjust callers, call
182         start_unwind_section (*, 1) if nothing will be put into the
183         section.
184
185 2004-08-17  Nick Clifton  <[email protected]>
186
187         * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
188         (show_usage): Add -g.
189         (std_longopts): Add --gen-debug.  Alpha sort the table.
190         (parse_args): Print an error message if a switch is not handled.
191         Handle the -g switch, calling md_debug_format_selector() if
192         necessary.
193         * NEWS: Mention new feature.
194         * doc/as.texinfo: Document new switch.
195         * doc/internals.texi: Document behaviour of md_parse_option.
196         
197         * config/tc-arm.c (md_parse_option): Do not issue an error message
198         if the switch is not recognised.
199         * config/tc-m68k.c (md_parse_option): Likewise.
200         * config/tc-pdp11.c (md_parse_option): Likewise.
201         * config/tc-v850.c (md_parse_option): Likewise.
202
203         * as.h: Fix up formatting.
204         * tc.h: Likewise.
205
206 2004-08-16  Nick Clifton  <[email protected]>
207
208         * macro.c (macro_set_alternate): Use ISO C90 formatting.
209
210         * configure.in: Sort architecture based tables alphabetically.
211         * configure: Regenerate.
212
213 2004-08-16  Alan Modra  <[email protected]>
214
215         * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
216         { "cc", 68 }, with { "cr", 70 }.
217
218 2004-08-13 Jan Beulich <[email protected]>
219            Nick Clifton <[email protected]>
220
221         * as.c: Add and handle new --alternate command line option.
222         * macro.c (macro_set_alternate): New.
223         * macro.h (macro_set_alternate): Declare.
224         * read.c: Add and handle new .altmacro and .noaltmacro directives.
225         * doc/as.texinfo: Document new command line option and pseudo-ops
226         as well as insert documentation originating from gasp about
227         alternate macro syntax.
228         * NEWS: Mention new command line option and pseudo-ops.
229
230 2004-08-10  Mark Mitchell  <[email protected]>
231
232         * expr.c (operand): Handle the "~", "-", and "!" operators applied
233         to bignums.
234
235 2004-08-06  Paul Brook  <[email protected]>
236
237         * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
238         Handle new relocations.
239         * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
240
241 2004-08-05  Bob Wilson  <[email protected]>
242
243         * write.c (relax_segment): Use was_address instead of address when
244         setting fr_fix field for align frag due to backwards .org.
245
246 2004-07-29  Alexandre Oliva  <[email protected]>
247
248         Introduce SH2a support.
249         2004-02-24  Corinna Vinschen  <[email protected]>
250         * config/tc-sh.c (get_specific): Change arch_sh2a_up to
251         arch_sh2a_nofpu_up.
252         2004-02-24  Corinna Vinschen  <[email protected]>
253         * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
254         2004-02-20  Corinna Vinschen  <[email protected]>
255         * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
256         to end of conditional expression.
257         2004-02-20  Corinna Vinschen  <[email protected]>
258         * config/tc-sh.c: Add sh2a-nofpu support.
259         2003-12-29  DJ Delorie  <[email protected]>
260         * tc-sh.c: Add sh2a support.
261         (parse_reg): Add tbr.
262         (parse_at): Support @@(disp,tbr).
263         (get_specific): Support sh2a opcodes.
264         (insert4): New, for 4 byte relocs.
265         (build_Mytes): Support sh2a opcodes.
266         (md_apply_fix3_Mytes): Support sh2a opcodes.
267         2003-12-02  Michael Snyder  <[email protected]>
268         * config/tc-sh.c (md_parse_option): Handle sh2a.
269         (sh_elf_final_processing): Ditto.
270
271 2004-07-27  Jason Thorpe  <[email protected]>
272
273         * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
274         for TE_NetBSD.
275
276 2004-07-27  Alan Modra  <[email protected]>
277
278         * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
279         (ppc_arch): Expand comment.
280
281 2004-07-27  Tomer Levi  <[email protected]>
282
283         * config/tc-crx.c: Support evaluating the difference between two
284         symbols.
285         * config/tc-crx.h: Likewise.
286
287 2004-07-26  H.J. Lu  <[email protected]>
288
289         * config/tc-ia64.c (start_unwind_section): Set the linked-to
290         section.
291         (ia64_elf_section_change_hook): Set the linked-to section for
292         SHT_IA_64_UNWIND.
293
294 2004-07-26  Dmitry Diky  <[email protected]>
295
296         * config/tc-msp430.c: Add new subtargets: msp430x1610,
297         msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
298         msp430xG438, msp430xG439.
299
300 2004-07-25  Daniel Jacobowitz  <[email protected]>
301
302         * doc/as.texinfo (Section, PushSection): Correct documentation
303         for ELF.
304
305 2004-07-21  Jan Beulich  <[email protected]>
306
307         * config/tc-i386.c (optimize_imm): Adjust immediates to only those
308         permissible for the selected instruction suffix.
309         (match_template): Don't permit 64-bit general purpose operands in
310         32-bit mode.
311         (finalize_imm): Permit 64-bit immediates.
312         (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
313         specially except for the width of the used base and/or index
314         registers.  For 32-bit displacements, use sign-extended
315         relocations only when using 64-bit addressing.
316         Force zero displacement on rip-relative addressing when there is
317         no other displacement.
318         (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
319         specially except for the width of the used base and/or index
320         registers.
321         (parse_register): Disallow Reg64 registers in 32-bit mode.
322
323         * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
324         suffix if the instruction doesn't support it.
325         
326 2004-07-20  Maciej W. Rozycki  <[email protected]>
327
328         * config/tc-mips.c (append_insn): Handle constant expressions with
329         no associated relocation.
330         (mips_ip): Cancel the expression after use for the Q format
331         specifier.
332         (parse_relocation): Return no relocation for unsupported
333         operators.
334         (my_getSmallExpression): Return no relocation if no relocation
335         operators are used.
336
337 2004-07-19  John David Anglin  <[email protected]>
338
339         * config/obj-som.c (adjust_stab_sections): Add prototype.
340         (obj_som_compiler, obj_som_version, obj_som_copyright,
341         adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
342         * config/tc-hppa.c (update_subspace):  Likewise.
343         (is_defined_subspace): Amplify comment.
344         * config/obj-som.h (som_frob_file): Add prototype.
345
346 2004-07-19  Christopher Faylor  <[email protected]>
347             H.J. Lu  <[email protected]>
348
349         * subsegs.c (section_symbol): Don't create a new segment when
350         existing segment is undefined.
351
352 2004-07-16  Richard Earnshaw  <[email protected]>
353
354         * config/tc-arm.c: Include include/opcode/arm.h.
355         (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
356         (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
357         (FPU_ARCH_*): Delete.
358         * Makefile.am: Update dependencies.
359         * Makefile.in: Regenerate.
360
361 2004-07-15  Nick Clifton  <[email protected]>
362
363         * configure.in: Accept armbe as a big-endian arm configuration.
364         * configure: Regenerate.
365
366 2004-07-13  Thomas Nystrom  <[email protected]>
367
368         * config/tc-i386.c (T_SHIFTOP): New constant.
369         (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
370         (intel_el1): Handle '~'.
371         (intel_get_token): Handle '<>', '&', '|' and '~'.
372
373 2004-07-13  Nick Clifton <[email protected]>
374
375         (md_assemble): Remove spurious newline from end of as_bad error
376         message.
377         (intel_e05_1): Likewise.
378         (intel_e11): Likewise.
379         (intel_match_token): Likewise.
380
381 2004-07-11  Andreas Schwab  <[email protected]>
382
383         * config/tc-m68k.c: Convert to C90.  Remove redundant
384         declarations.  Indentation fixup.
385         [M68KCOFF]: Include "obj-coff.h" instead of declaring
386         obj_coff_section ourselves.
387         
388 2004-07-09  James E Wilson  <[email protected]>
389
390         * config/tc-ia64.c (default_big_endian): New.
391         (dot_byteorder, md_begin): Use it.
392         (md_parse_option): Set it.
393         
394 2004-07-09  Nick Clifton  <[email protected]>
395
396         * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
397         * configure: Regenerate.
398         * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
399         * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
400         sh_find_elf_flags if necessary.
401
402 2004-07-08  Richard Sandiford  <[email protected]>
403
404         * config/tc-mips.c (mips_fix_adjustable): If the full addend is
405         going to be split into more than one in-place addend, return 0
406         for relocations against mergeable sections.  Associate comments
407         with code.
408
409 2004-07-07  Tomer Levi  <[email protected]>
410
411         * Makefile.am (CPU_TYPES): Add crx.
412         (TARGET_CPU_CFILES): Add config/tc-crx.c.
413         (TARGET_CPU_HFILES): Add config/tc-crx.h.
414         (DEPTC_crx_elf): New target.
415         (DEPOBJ_crx_elf): Likewise.
416         (DEP_crx_elf): Likewise.
417         * Makefile.in: Regenerate.
418         * configure.in: Add crx* target.
419         * configure: Regenerate.
420         * config/tc-crx.c: New file.
421         * config/tc-crx.h: New file.
422         * NEWS: Mention new target.
423
424 2004-07-06  Nick Clifton  <[email protected]>
425
426         * config.in: Undefine TARGET_SYMBIAN by default.
427         * configure.in:
428         * configure: Regenerate. Add sh-symbian-elf target.  If
429         selected define TARGET_SYMBIAN.
430         * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
431         format if TARGET_SYMBIAN has been defined.
432                 
433         * output-file.c (output_file_create): Report the target format
434         chosen when bfd_openw reports that it is invalid.
435
436         * config/obj-coff.c (coff_pseudo_table): Only define the weak
437         pseudo for BFD based assemblers.
438
439 2004-07-05  Andrew Stubbs <[email protected]>
440
441         gas:
442         * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
443         (md_parse_option): Remove redundant -isa testing.
444         Make bfd_arch variable const.
445         (md_show_usage): Make bfd_arch variable const.
446
447 2004-07-03  James E Wilson  <[email protected]>
448
449         * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
450         * config/tc-ia64.h (md_frag_check): Define.
451
452 2004-07-03  Aaron W. LaFramboise  <[email protected]>
453
454         * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
455         externals.
456         * doc/as.texinfo (Weak): Document PE weak symbols.
457
458 2004-07-03  Richard Sandiford  <[email protected]>
459
460         * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
461         (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
462         (mips_frob_file): Rework so that only a single pass through the
463         relocs is needed.  Allow %lo()s to have higher offsets than their
464         corresponding %hi()s or %got()s.
465
466 2004-07-02  Nick Clifton  <[email protected]>
467
468         * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
469         allow values which have come from undefined symbols.
470         Always consider this fixup to have been processed as a reloc
471         cannot be generated for it.
472
473 2004-07-02  Alan Modra  <[email protected]>
474
475         * frags.h (struct frag): Add has_code and insn_addr fields.
476         * write.c (cvt_frag_to_fill): Invoke md_frag_check.
477         * config/tc-ppc.c (md_assemble): Check and set insn_addr.
478         * config/tc-ppc.h (md_frag_check): Define.
479
480 2004-06-28  Maciej W. Rozycki  <[email protected]>
481
482         * doc/Makefile.am (info): Rename goal to...
483         (info-local): ... this, to preserve implicit dependencies.
484         * doc/Makefile.in: Regenerate with automake 1.8.5.
485
486 2004-06-25  Kazuhiro Inaoka  <[email protected]>
487
488         * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
489         (m32r_cgen_record_fixup_exp): Changed for  @GOTOFF, @GOT.
490         (m32r_fix_adjustable): Changed for  @GOTOFF, @GOT, @PLT.
491         (tc_gen_reloc): Likewise.
492         (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
493         (m32r_parse_name): Likewise.
494         (m32r_cgen_parse_fix_exp): Likewise.
495         * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
496         (O_PIC_reloc): Likewise.
497         (TC_CGEN_PARSE_FIX_EXP): Likewise..
498         * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
499         for @GOTOFF, @GOT, @PLT.
500
501 2004-06-21 Jan Beulich  <[email protected]>
502
503         * gas/symbols.c: While discarding ordinary local absolute symbols
504         when --strip-local-absolute is in effect, retain file symbols.
505
506 2004-06-20  Andreas Schwab  <[email protected]>
507
508         * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
509         (md_parse_option): Likewise.
510
511 2004-06-17  Jan Beulich <[email protected]>
512
513         * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
514         * config/te-netware.h: New file.
515         * config/te-ppcnw.h: Delete: Obsolete.
516         * configure.in: Eliminate ill NetWare targets. Make generic
517         NetWare target use proper emulation.
518         * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
519         reference to new te-netware.h.
520         * configure: Regenerate.
521         * Makefile.in: Regenerate.
522
523 2004-06-15  Martin Schwidefsky  <[email protected]>
524
525         * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
526         comparison in .insn pseudo operation.
527
528 2004-06-15  Alan Modra  <[email protected]>
529
530         * config/obj-coff.c (coff_adjust_section_syms): Use
531         bfd_get_section_size instead of bfd_get_section_size_before_reloc.
532         (coff_frob_section): Likewise.
533         * config/tc-mips.c (md_apply_fix3): Likewise.
534         * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
535         (elf_frob_file_after_relocs): Likewise.
536
537 2004-06-10  John David Anglin  <[email protected]>
538
539         * config/tc-hppa.c (log2): Rename to exact_log2.
540         (pa_next_subseg): Delete unused function.
541         (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
542         (create_new_subspace): Likewise.
543
544         Bug gas/213
545         * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
546         labels.  Fix warning.
547
548 2004-05-28  DJ Delorie  <[email protected]>
549
550         * config/tc-mn10300.h (tc_fix_adjustable): Define.
551         * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
552         or non-merged symbols.
553
554 2004-05-28  H.J. Lu  <[email protected]>
555
556         * config/tc-ia64.c (remove_marked_resource): Save, clear and
557         restore the old slot when inserting srlz.i/srlz.d.
558
559 2004-05-28  Andrew Stubbs <[email protected]>
560
561         * Makefile.am: Regenerate dependecies.
562         * Makefile.in: Regenerate.
563         * config/tc-sh.c (valid_arch): Make unsigned.
564         (preset_target_arch): Likewise.
565         (md_begin): Use new architecture flags system.
566         (get_specific): Likewise.
567         (assemble_ppi): Likewise.
568         (md_assemble): Likewise. Also fix error check for bad opcodes.
569         (md_parse_option): Likewise. Also generate -isa values according
570         to the table in bfd/cpu-sh.c instead of just constants. Also
571         allow <arch>-up ISA variants.
572         (sh_elf_final_processing): Replace if-else chain with a call to
573         sh_find_elf_flags().
574         * testsuite/gas/sh/arch: New directory.
575         * testsuite/gas/sh/arch/arch.exp: New test script.
576         * testsuite/gas/sh/arch/arch_expected.txt: New file.
577         * testsuite/gas/sh/arch/sh.s: New file.
578         * testsuite/gas/sh/arch/sh2.s: New file.
579         * testsuite/gas/sh/arch/sh-dsp.s: New file.
580         * testsuite/gas/sh/arch/sh2e.s: New file.
581         * testsuite/gas/sh/arch/sh3-nommu.s: New file.
582         * testsuite/gas/sh/arch/sh3.s: New file.
583         * testsuite/gas/sh/arch/sh3-dsp.s: New file.
584         * testsuite/gas/sh/arch/sh3e.s: New file.
585         * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
586         * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
587         * testsuite/gas/sh/arch/sh4.s: New file.
588         * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
589         * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
590         * testsuite/gas/sh/arch/sh4a.s: New file.
591
592 2004-05-28  Peter Barada <[email protected]>
593
594         * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
595         with zero offset into mode 2 addressing to save a word.
596
597 2004-05-27  H.J. Lu  <[email protected]>
598
599         * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
600         (ar_is_only_in_integer_unit): New.
601         (ar_is_only_in_memory_unit): New.
602         (generate_unwind_image): Silence gcc on 32bit host.
603         (md_assemble): Use ar_is_only_in_integer_unit instead of
604         ar_is_in_integer_unit. Check AR access.
605
606 2004-05-27  Peter Barada  <[email protected]>
607
608         * config/tc-m68k.c (md_begin): Sort the opcode table into
609         alphabetical order.
610         (m68k_compare_opcode): New function to do the sorting.
611
612 2004-05-24  Peter Barada  <[email protected]>
613
614         * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
615         addressing on MIT style operands.
616         * config/m68k-parse.y(yylex): Allow '-&' for predecrement
617         w/mask addressing.
618         * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
619         operands.
620
621 2004-05-23  Alan Modra  <[email protected]>
622
623         * expr.c (operand, operator): Don't reject '++' and '--'.
624
625 2004-05-20  Richard Sandiford  <[email protected]>
626
627         * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
628         dwarf tables.
629
630 2004-05-17  Adam Nemet  <[email protected]
631
632         * configure.in: Add ppc-*-lynxos*.  Update i386-*-lynxos* to ELF.
633         * configure: Regenerate.
634
635 2004-05-13  Paul Brook  <[email protected]>
636
637         * dw2gencfi.c (output_cie):  Handle dwarf3 format CIE entries.
638
639 2004-05-13  Joel Sherrill <[email protected]>
640
641         * configure.in (or32-*-rtems*): Switch to elf.
642         * configure: Regenerate.
643
644 2004-05-13  Nick Clifton  <[email protected]>
645
646         * po/fr.po: Updated French translation.
647
648 2004-05-11  Nick Clifton  <[email protected]>
649
650         * doc/as.texinfo (Section): Document G and T flags to .section
651         directive.  Document the extra arguments that the G flag
652         requires.  Document the #tls flag.
653
654 2004-05-11  H.J. Lu  <[email protected]>
655
656         * subsegs.c (section_symbol): Create a new section symbol if
657         the existing one doesn't match.
658         * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
659
660 2004-05-07  Richard Sandiford  <[email protected]>
661
662         * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
663         to cope with VR4181A errata MD(1) and MD(4).
664
665 2004-05-07  Brian Ford  <[email protected]>
666
667         * NEWS: Mention .secrel32 for pe[i]-i386.
668
669 2004-05-07  Alexandre Oliva  <[email protected]>
670
671         * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
672         (HANDLE_ALIGN): New.
673
674 2004-05-06  Daniel Jacobowitz  <[email protected]>
675
676         * Makefile.am (DIST_SUBDIRS): Define.
677         * aclocal.m4: Regenerate with automake 1.8.4.
678         * Makefile.in: Likewise.
679         * doc/Makefile.in: Likewise.
680
681 2004-05-06  David Mosberger-Tang  <[email protected]>
682
683         * config/tc-ia64.c (dot_serialize): Declare.
684         (dot_serialize): New function.
685         (md_pseudo_table): Add ".serialize.data" and
686         ".serialize.instruction" directives.
687
688 2004-05-06  Nick Clifton  <[email protected]>
689
690         * messages (as_internal_value_out_of_range): Print a message about
691         a value being out of range.  Be consistent about whether the
692         values are printed in decimal or hexadecimal.
693         (as_warn_value_out_of_range): Generate a warning message about an
694         out of range value.
695         (as_bad_value_out_of_range): Generate an error message about an
696         out of range value.
697         * as.h: Prototype the new functions.
698         * config/tc-alpha.c (insert_operand): Use new function.
699         * config/tc-arc.c (arc_insert_operand): Likewise.
700         * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
701         * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
702         * config/tc-ppc.c (ppc_insert_operand): Likewise.
703         * config/tc-s390.c (s390_insert_operand): Likewise.
704         * config/tc-v850.c (v850_insert_operand): Likewise.
705
706 2004-05-05  Alexandre Oliva  <[email protected]>
707
708         * configure.in: Set em=linux for frv-*-*linux*.
709         * configure: Rebuilt.
710         * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
711         (frv_md_fdpic_enabled): New.
712         * config/tc-frv.c (frv_md_fdpic_enabled): New.
713         (DEFAULT_FDPIC): New.
714         (frv_flags): Use DEFAULT_FDPIC.
715         (frv_pic_flag): Likewise.
716         (OPTION_NOPIC): New.
717         (md_longopts): Add -mnopic.
718         (md_parse_option): Handle it.
719         (md_show_usage): Add -mfdpic and -mnopic.
720
721 2004-05-05  Peter Barada  <[email protected]>
722
723         * config/tc-m68k.c: Add find_cf_chip to print list of valid
724         chips for invalid coldfire instructions, rename selectors
725         for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
726         add current_chip to track which chip is referred to(including save/restore),
727         use current_chip to select control registers, not current_arch.
728         (md_show_usage): Add new chips.
729         * doc/c-m68k.texi: Document new command line switches.
730
731 2004-05-05  Jakub Jelinek  <[email protected]>
732
733         * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
734         (NOP_OPCODE): Define.
735         (s390_align_code): Remove prototype.
736         * tc-s390.c (s390_align_code): Remove.
737
738 2004-05-04  H.J. Lu  <[email protected]>
739
740         * config/tc-ia64.c (make_unw_section_name): Removed.
741         (start_unwind_section): New function.
742         (generate_unwind_image): Take const segT instead of const
743         char *.
744         (dot_handlerdata): Adjusted.
745         (dot_endp): Likewise.
746
747 2004-05-02  H.J. Lu  <[email protected]>
748
749         * config/obj-elf.c (obj_elf_change_section): Allow the
750         ".note.GNU-stack" section has SHF_EXECINSTR.
751
752 2004-05-02  H.J. Lu  <[email protected]>
753
754         * config/obj-elf.c (get_section): Return bfd_boolean.
755         (obj_elf_change_section): Call bfd_get_section_by_name_if
756         instead of bfd_map_over_sections.
757
758 2004-04-30  H.J. Lu  <[email protected]>
759
760         * config/obj-elf.c (get_section): New function.
761         (obj_elf_change_section): Support multiple sections with same
762         name.
763
764 2004-04-30  Nick Clifton  <[email protected]>
765
766         * config/tc-arm.c (create_register_alias): Fix typo checking for
767         case sensitive register aliases.
768         (co_proc_number): Use error message string in all_reg_maps[]
769         array.
770         (cp_reg_required_here): Likewise.
771         (fp_reg_required_here): Likewise.
772
773 2004-04-29  Brian Ford  <[email protected]>
774
775         * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
776
777 2004-04-28  Chris Demetriou  <[email protected]>
778
779         * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
780         (load_address, macro, mips_ip, md_parse_option)
781         (mips_force_relocation, mips_validate_fix, md_apply_fix3)
782         (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
783         embedded-PIC handling, and update comments.
784         (SWITCH_TABLE): Remove.
785         * config/tc-mips.h (DIFF_EXPR_OK): Delete.
786         (enum mips_pic_level): Remove EMBEDDED_PIC.
787         (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
788         (TC_FORCE_RELOCATION): Update comment.
789         * ecoff.c (ecoff_build_lineno): Add comment about some code that
790         might be safe to remove now that MIPS embedded-PIC is gone.
791
792 2004-04-28  John David Anglin  <[email protected]>
793
794         * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
795         call to obj_set_subsection_attributes.
796         (obj_som_init_stab_section): Likewise.
797         * config/tc-hppa.c (default_subspace_dict): Add comdat field.
798         (pa_def_subspaces): Provide comdat default.
799         (pa_subspace): Handle new "comdat" parameter.  Set SEC_LINK_ONCE and
800         not SEC_IS_COMMON if section is comdat, common or dup_common.  Update
801         calls to create_new_subspace and update_subspace to pass comdat flag.
802         (create_new_subspace, update_subspace): Add new comdat argument.  Use
803         it in calls to obj_set_subsection_attributes.
804         * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
805         and use of comdat, common and dup_comm parameters.
806
807 2004-04-26  H.J. Lu  <[email protected]>
808
809         * config/obj-elf.c (obj_elf_change_section): Check if the old
810         group name is NULL before comparison.
811
812 2004-04-23  Chris Demetriou  <[email protected]>
813
814         * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
815
816 2004-04-23  Thiemo Seufer  <[email protected]>
817
818         * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
819
820 2004-04-23  Chris Demetriou  <[email protected]>
821
822         * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
823         (OPTION_MEMBEDDED_PIC): Remove.
824         (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
825         (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
826         (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
827         (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
828         (OPTION_ELF_BASE): Renumber.
829         (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
830         (md_show_usage): Remove mention of -membedded-pic.
831         * doc/as.texinfo: Remove mention of -membedded-pic.
832
833 2004-04-23  Thiemo Seufer  <[email protected]>
834
835         * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
836         * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
837         a.out support.
838         (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
839         s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
840         USE_GLOBAL_POINTER_OPT.
841
842 2004-04-22  Thiemo Seufer  <[email protected]>
843
844         * config/tc-mips.c (macro): One more use of load_delay_nop.
845
846 2004-04-22  Atsushi Nemoto  <[email protected]>
847
848         * config/tc-mips.c (load_delay_nop): New function.
849         (load_address, macro): Use load_delay_nop() to build a nop
850         which can be omitted with gpr_interlocks.
851
852 2004-04-22  Thiemo Seufer  <[email protected]>
853
854         * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
855         cop_interlocks): Remove superfluous CPU entries.
856
857 2004-04-22  Paul Brook  <[email protected]>
858
859         * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
860
861 2004-04-22  Peter Barada <[email protected]>
862
863         * NEWS: Added support for EMAC instructions and MAC/EMAC
864         Motorola syntax.
865         * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
866         scale factor tokens, trailing_ampersand to mark mask addressing
867         for MAC/EMAC instructions.
868         * config/m68k-parse.y: Add options_ampersand clause, '<<',
869         '>>'.
870         (yylex): Handle '>', '<', and '&' following '+'.
871         * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
872         architectures in archs[].  
873         (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
874         for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
875         respectively.
876         (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
877         (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
878         cases.
879         Add EMAC operands to init_table[].
880
881 2004-04-22  Bruno De Bus <[email protected]>
882
883         * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
884         state.
885         (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
886         * config/tc-arm.c (enum mstate): Delete from here.
887         (mapping_state): Remove the static mapstate variable and instead
888         store the state in the segment.  This allows a per-section mapping
889         state.  Handle and ignore MAP_UNDEFINED states.
890         (arm_elf_change_section): Get the current mapping state from the
891         new section.
892         (s_ltorg): Set the mapping state to MAP_DATA.
893         (arm_cleanup): Use arm_elf_change_section to get the mapping state
894         for each pool as it is emitted.
895
896 2004-04-22  Nick Clifton  <[email protected]>
897
898         * config/tc-arm.h: Formatting tidy ups.
899
900 2004-04-20  Chris Demetriou  <[email protected]>
901
902         * NEWS: Note that MIPS -membedded-pic option is deprecated.
903
904 2004-04-20  DJ Delorie  <[email protected]>
905
906         * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
907         * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
908         [TE_PE] (O_secrel): Define.
909         [TE_PE] (x86_pe_cons_fix_new): New.
910         [TE_PE] (pe_directive_secrel): Likewise.
911         (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
912
913 2004-04-19  Eric Christopher  <[email protected]>
914
915         * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
916         of previous patch for fix in gcc.
917
918 2004-04-19  Jakub Jelinek  <[email protected]>
919
920         * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
921
922 2004-04-19  Nathan Sidwell  <[email protected]>
923
924         * read.c (do_align): Call md_flush_pending_output, if defined.
925
926 2004-04-16  Alan Modra  <[email protected]>
927
928         * expr.c (operand): Correct checks for ++ and --.
929
930 2004-04-14  H.J. Lu  <[email protected]>
931
932         * config/tc-generic.c: Add some comments.
933
934 2004-04-14  Richard Sandiford  <[email protected]>
935
936         * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
937         -{no-}mfix-vr4122-bugs.
938         * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
939         (append_insn, mips_emit_delays): Update accordingly.
940         (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
941         (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
942         (md_parse_option): Update after above changes.
943         (md_show_usage): Add -mfix-vr4120.
944
945 2004-04-13  Bob Wilson  <[email protected]>
946
947         * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
948         of .section directive; add a reference to the ELF .subsection
949         directive.
950
951 2004-04-13  Kazuhiro Inaoka  <[email protected]>
952
953         * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
954         in parallel.
955
956 2004-04-11  Thiemo Seufer  <[email protected]>
957
958         * Makefile.am: Remove mips from aout targets.
959         * Makefile.in: Regenerate.
960         * configure.in: Remove mips-dec-bsd* target.
961         * configure: Regenerate.
962
963 2004-04-07  Alan Modra  <[email protected]>
964
965         PR 96
966         * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
967         to struct map_bfd.  Adjust MAP macro, and define MAP32, MAP64.
968         Update "mapping".  Restrict some @ modifiers to 32 bit.
969
970 2004-04-01  Asgari Jinia  <[email protected]>
971             Dhananjay Deshpande <[email protected]>
972
973         * config/tc-sh.c (dont_adjust_reloc_32): New variable.
974         (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
975         dont_adjust_reloc_32 is set.
976         (md_longopts): Add option -renesas.
977         (md_parse_option, md_show_usage): Likewise.
978         * doc/c-sh.texi: Likewise.
979
980 2004-04-01  Dave Korn  <[email protected]>
981
982         * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
983         hi16 and lo16 fixS structs.
984         (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
985         exactly the same way as for RELOC_DLX_REL16.
986         (machine_ip): properly respect LO flag in the_insn and
987         output RELOC_DLX_LO16 rather than RELOC_DLX_16.
988         (md_apply_fix3): apply RELOC_DLX_LO16.
989
990 2004-03-30  Stan Shebs  <[email protected]>
991
992         Remove long-obsolete MPW support.
993         * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
994         * configure.in: Remove mention of ppc-*-mpw* config.
995         * configure.in: Likewise.
996
997 2004-03-30  Nick Clifton  <[email protected]>
998
999         * config/tc-arm.c (meabi_flags): Make its use conditional upon
1000         OBJ_ELF being defined.
1001
1002 2004-03-27  Alan Modra  <[email protected]>
1003
1004         * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
1005
1006 2004-03-23  Paul Brook  <[email protected]>
1007
1008         * config/tc-arm.c (meabi_flags): New variable.
1009         (arm_parse_eabi): New function.
1010         (md_begin): Set flags for EABI v3.
1011         (arm_eabis): Add.
1012         (arm_long_opts): Add meabi.
1013         * doc/as.texinf <ARM>: Document -meabi.
1014         * doc/c-arm.texi: Ditto.
1015
1016 2004-03-22  Bob Wilson  <[email protected]>
1017
1018         * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
1019         tables even when use_literal_section flag is not set.
1020
1021 2004-03-22  Alan Modra  <[email protected]>
1022
1023         * config/tc-sh.c: Remove trailing whitespace.
1024
1025 2004-03-22  Hans-Peter Nilsson  <[email protected]>
1026
1027         * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
1028         --mul-bug-abort and the default behavior.
1029         * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
1030         (err_for_dangerous_mul_placement): New variable.
1031         (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
1032         macros.
1033         (md_cris_relax_table): Have placeholder for STATE_MUL.
1034         (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
1035         (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
1036         case doing nothing.
1037         (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
1038         STATE_BYTE)>: Ditto.
1039         (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
1040         alignment and position of this frag, emit error message if
1041         suspicious.
1042         (md_assemble): For a multiply insn and when checking it,
1043         transform the current frag into a special frag for that purpose.
1044         (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
1045         OPTION_MULBUG_ABORT_ON>: Handle new options.
1046
1047 2004-03-19  Bob Wilson  <[email protected]>
1048
1049         * config/tc-xtensa.c (mark_literal_frags): New function.
1050         (xtensa_move_literals): Call mark_literal_frags for all literal
1051         segments, including init and fini literal segments.
1052         (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
1053
1054 2004-03-19  John David Anglin  <[email protected]>
1055
1056         * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
1057         (pa_comm): Set BSF_OBJECT in symbol flags.
1058
1059 2004-03-19  Alan Modra  <[email protected]>
1060
1061         * Makefile.am: Run "make dep-am".
1062         * Makefile.in: Regenerate.
1063         * doc/Makefile.in: Regenerate.
1064         * config.in: Regenerate.
1065         * po/gas.pot: Regenerate.
1066
1067 2004-03-18  Nathan Sidwell  <[email protected]>
1068
1069         * read.c (read_a_source_file): Use demand_empty_rest_of_line.
1070         (demand_empty_rest_of_line): Issue an error here.
1071         (ignore_rest_of_line): Silently skip to end.
1072         (demand_copy_string): Issue an error, not warning.
1073         (equals): Likewise.
1074         * config/obj-elf.c (obj_elf_section_name): Likewise.
1075         (obj_elf_section): Likewise.
1076         * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
1077         (arc_extinst): Likewise.
1078         * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
1079         (dot_spill): Likewise.
1080         (dot_unwabi): Likewise.
1081         (dot_prologue): Likewise.
1082
1083         * expr.c (operand): Reject ++ and --.
1084         (operator): Likewise.
1085
1086 2004-03-17  Kaz Kojima  <[email protected]>
1087
1088         * config/tc-sh.c: Include dw2gencfi.h.
1089         (sh_cfi_frame_initial_instructions): New function.
1090         (sh_regname_to_dw2regnum): Likewise.
1091         * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
1092         file.
1093         (TARGET_USE_CFIPOP): Define.
1094         (tc_cfi_frame_initial_instructions): Likewise.
1095         (tc_regname_to_dw2regnum): Likewise.
1096         (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
1097         * Makefile.am: Update dependencies.
1098         * Makefile.in: Regenerate.
1099
1100 2004-03-17  Ralf Corsepius <[email protected]>
1101
1102         * configure.in: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
1103         * configure: Regenerate.
1104
1105 2004-03-12  Bob Wilson  <[email protected]>
1106
1107         * read.c (s_leb128): Call md_flush_pending_output.
1108
1109 2004-03-12  Michal Ludvig  <[email protected]>
1110
1111         * config/tc-i386.c (output_insn): Handle PadLock instructions.
1112         * config/tc-i386.h (CpuPadLock): New define.
1113         (CpuUnknownFlags): Added CpuPadLock.
1114
1115 2004-03-07  Andreas Schwab  <[email protected]>
1116
1117         * doc/c-hppa.texi (HPPA Directives): Fix typo.
1118
1119 2004-03-07  Richard Henderson  <[email protected]>
1120
1121         * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
1122         (cfi_finish): Likewise for fde.
1123
1124 2004-03-05  H.J. Lu  <[email protected]>
1125
1126         * config/tc-ia64.c (md_assemble): Properly handle NULL
1127         align_frag.
1128         (ia64_handle_align): Don't abort if failed to add a stop bit.
1129
1130 2004-03-04  H.J. Lu  <[email protected]>
1131
1132         * Makefile.in: Regenerated.
1133         * aclocal.m4: Likewise.
1134         * configure: Likewise.
1135         * doc/Makefile.in: Likewise.
1136
1137 2004-03-03  H.J. Lu  <[email protected]>
1138
1139         * config/tc-ia64.c (dot_align): New.
1140         (ia64_do_align): Make it static.
1141         (md_pseudo_table): Use "dot_align" for "align".
1142         (ia64_md_do_align): Don't set align_frag here.
1143         (ia64_handle_align): Add a stop bit to the previous bundle if
1144         needed.
1145
1146         * config/tc-ia64.h (ia64_do_align): Removed.
1147
1148 2003-03-03  Andrew Stubbs  <[email protected]>
1149
1150         * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
1151         -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
1152         (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
1153         the most general type or the user specifically requested it.
1154         (md_assemble): Add a new error message for when an instruction
1155         is understood, but is not allowed due to an -isa option.
1156
1157 2004-03-02  H.J. Lu  <[email protected]>
1158
1159         * config/tc-ia64.c (align_frag): New.
1160         (md_assemble): Set the tc_frag_data field in align_frag for
1161         IA64_OPCODE_FIRST instructions.
1162         (ia64_md_do_align): Set align_frag.
1163         (ia64_handle_align): Add a stop bit if needed.
1164
1165         * config/tc-ia64.h (TC_FRAG_TYPE): New.
1166         (TC_FRAG_INIT): New.
1167
1168 2004-03-01  Richard Sandiford  <[email protected]>
1169
1170         * config/tc-frv.c (fr400_audio): New variable.
1171         (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
1172         (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
1173         (target_implements_insn_p): New function.
1174         (md_assemble): Report an error if the processor doesn't implement
1175         the instruction.
1176
1177 2004-02-27  Kazuhiro Inaoka  <[email protected]>
1178
1179         * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
1180         (md_parse_option): Ditto.
1181         (OPTION_NO_SPECIAL_M32R): Added.
1182         (md_show_usage): Document it.
1183         (enable_speial_m32r): Changed a default value from 0 to 1.
1184         * doc/c-m32r.texi: Document the -no-bitinst option.
1185
1186 2004-02-27  Nick Clifton  <[email protected]>
1187
1188         * config/tc-sh.c (get_operand): Revert previous delta.
1189         (tc_gen_reloc): Check for an unknown reloc type before processing
1190         the addend.
1191
1192 2004-02-27  Hannes Reinecke  <[email protected]>
1193
1194         * config/tc-s390.c (s390_insn): Correct range check for opcode in
1195         .insn pseudo operation.
1196
1197 2004-02-27  Anil Paranjpe  <[email protected]>
1198
1199         * config/tc-sh.c (get_operand):  In case of #Imm, check has been
1200         added for wrong syntax.
1201
1202 2004-02-26  Eric Christopher  <[email protected]>
1203
1204         * config/tc-mips.c (mips_dwarf2_addr_size): New.
1205         * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
1206
1207 2004-02-26  Andrew Stubbs <[email protected]>
1208
1209         * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
1210         nibble types to assembler.
1211
1212 2004-02-25  Fred Fish  <[email protected]>
1213
1214         * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
1215
1216 2004-02-20  James E Wilson  <[email protected]>
1217
1218         * config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
1219         finalize_syms.
1220         (fixup_unw_records): New arg before_relax.  Pass to slot_index.
1221         (ia64_estimate_size_before_relax): New.
1222         (ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
1223         (generate_unwind_image): Pass 1 to fixup_unw_records.
1224         * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
1225         (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
1226
1227 2004-02-19  Jakub Jelinek  <[email protected]>
1228
1229         * stabs.c (generate_asm_file): Avoid warning about use of
1230         uninitialized variable.
1231
1232 2004-02-18  David Mosberger  <[email protected]>
1233
1234         * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
1235         body, and endp, allow unwind records which do not have a "t"
1236         (time/instruction) field.
1237
1238 2004-02-17  Petko Manolov  <[email protected]>
1239
1240         * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
1241         (do_mav_dspsc_2): Likewise.
1242         Fix accumulator registers move opcodes.
1243
1244 2004-02-13  Hannes Reinecke  <[email protected]>
1245             Jakub Jelinek  <[email protected]>
1246
1247         * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
1248
1249 2004-02-10  Steve Ellcey  <[email protected]>
1250
1251         * config/tc-ia64.h (ia64_frob_symbol): New declaration.
1252         (tc_frob_symbol): New macro definition.
1253         * config/tc-ia64.c (ia64_frob_symbol): New routine.
1254
1255 2004-02-09  Daniel Jacobowitz  <[email protected]>
1256
1257         * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
1258         read-only.
1259
1260 2004-02-09  Nathan Sidwell  <[email protected]>
1261
1262         * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
1263         (TC_CASE_SENSITIVE): ... this.
1264         * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
1265         * doc/internals.texi (TC_CASE_SENSITIVE): Document.
1266
1267 2004-02-06  James E Wilson  <[email protected]>
1268
1269         * config/tc-ia64.c (dot_endp): Delete call to output_endp.
1270         (generate_unwind_image): Re-add it here.
1271
1272 2004-02-06  Nathan Sidwell  <[email protected]>
1273
1274         * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
1275         * read.h (SKIP_WHITESPACE): Turn into an expression.
1276         * read.c (read_a_source_file): A pseudo is removed by having a
1277         NULL handler.
1278
1279 2004-02-05  James E Wilson  <[email protected]>
1280
1281         * config/tc-ia64.c (output_endp): New.
1282         (count_bits): Delete.
1283         (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
1284         endp unwind records.
1285         (fixup_unw_records): Handle endp unwind records.  Delete code for
1286         shortening prologue regions not followed by a body record.
1287         (dot_endp): Call add_unwind_entry to emit endp unwind record.
1288         * config/tc-ia64.h (unw_record_type): Add endp.
1289
1290 2004-02-03  James E Wilson  <[email protected]>
1291
1292         * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
1293         fill padding bytes with zeroes.
1294         (emit_one_bundle): New locals last_ptr, end_ptr.  Rewrite code that
1295         sets unwind_record slot_number and slot_frag fields.
1296
1297 2004-02-02  Maciej W. Rozycki  <[email protected]>
1298
1299         * config/tc-mips.c (add_got_offset_hilo): New function.
1300         (macro): Use load_register() and add_got_offset_hilo() to load
1301         constants instead of hardcoding code sequences throughout.
1302
1303 2004-01-28  H.J. Lu  <[email protected]>
1304
1305         * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
1306
1307 2004-01-26  Bernardo Innocenti  <[email protected]>
1308
1309         * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
1310         like m68k-elf.
1311         * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
1312         of hard-coded test for TARGET_OS=elf.
1313
1314 2004-01-24  Chris Demetriou  <[email protected]>
1315
1316         * config/tc-mips.c (hilo_interlocks): Change definition
1317         so that MIPS32, MIPS64 and later ISAs are included, along with
1318         the already-included machines.  Update comments.
1319
1320 2004-01-23  Daniel Jacobowitz  <[email protected]>
1321
1322         * config/tc-arm.c (tc_gen_reloc): Improve error message for
1323         undefined local labels.
1324
1325 2004-01-23  Richard Sandiford  <[email protected]>
1326
1327         * config/tc-mips.c (load_address, macro): Update comments about
1328         NewABI GP relaxation.
1329
1330 2004-01-23  Richard Sandiford  <[email protected]>
1331
1332         * config/tc-mips.c (macro_build): Remove place and counter arguments.
1333         (mips_build_lui, macro_build_ldst_constoffset): Likewise.
1334         (mips16_macro_build, macro_build_jalr): Remove counter argument.
1335         (set_at, load_register, load_address, move_register): Likewise.
1336         (load_got_offset, add_got_offset): Likewise.
1337         Update all calls and tidy accordingly.
1338
1339 2004-01-23  Richard Sandiford  <[email protected]>
1340
1341         * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
1342         (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
1343         (RELAX_USE_SECOND): Bump to 0x10000.
1344         (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
1345         (mips_macro_warning): New variable.
1346         (md_assemble): Wrap macro expansion in macro_start() and macro_end().
1347         (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
1348         (relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
1349         of RELAX_ENCODE.
1350         (append_insn): Update mips_macro_warning.sizes.
1351         (macro_start, macro_warning, macro_end): New functions.
1352         (macro_build): Don't emit warnings here.
1353         (macro_build_lui, md_estimate_size_before_relax): ...or here.
1354         (md_convert_frag): Check for cases where one macro alternative
1355         needs a warning and the other doesn't.  Emit a warning if the
1356         longer sequence was chosen.
1357
1358 2004-01-23  Richard Sandiford  <[email protected]>
1359
1360         * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
1361         * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
1362         the first sequence, the size of the second sequence, and a flag
1363         that says whether we should warn.
1364         (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
1365         (RELAX_FIRST, RELAX_SECOND): New.
1366         (mips_relax): New variable.
1367         (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
1368         (append_insn): Remove "place" argument.  Use mips_relax.sequence
1369         rather than "place" to check whether we're expanding the second
1370         alternative of a relaxable macro.  Remove redundant check for
1371         branch relaxation.  If generating a normal insn, and there
1372         is not enough room in the current frag, call relax_close_frag()
1373         to close it.  Update mips_relax.sizes[].  Emit fixups for the
1374         second version of a relaxable macro.  Record the first relaxable
1375         fixup in mips_relax.  Remove tc_gen_reloc workaround.
1376         (macro_build): Remove all uses of "place".  Use mips_relax.sequence
1377         in the same way as in append_insn.
1378         (mips16_macro_build): Remove "place" argument.
1379         (macro_build_lui): As for macro_build.  Don't drop the add_symbol
1380         when generating the second version of a relaxable macro.
1381         (load_got_offset, add_got_offset): New functions.
1382         (load_address, macro): Use new relaxation machinery.  Remove
1383         tc_gen_reloc workarounds.
1384         (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
1385         version of a relaxable macro is needed.  Return -RELAX_SECOND if the
1386         first version is needed.
1387         (tc_gen_reloc): Remove relaxation handling.
1388         (md_convert_frag): Go through the fixups for a relaxable macro and
1389         mark those that belong to the unneeded alternative as done.  If the
1390         second alternative is needed, adjust the fixup addresses to account
1391         for the deleted first alternative.
1392
1393 2004-01-23  Richard Sandiford  <[email protected]>
1394
1395         * frags.h (frag_room): Declare.
1396         * frags.c (frag_room): New function.
1397         * doc/internals.texi: Document it.
1398
1399 2004-01-22  Thiemo Seufer <[email protected]>
1400
1401         * config/tc-mips.c (append_insn): Don't do r3900 interlock
1402         optimization for -mtune=r3900, as this will break on other CPUs.
1403
1404 2004-01-11  Tom Rix   <[email protected]>
1405
1406         * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
1407         be relaxed, use fixup.
1408         (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
1409
1410 2004-01-19  Jakub Jelinek  <[email protected]>
1411
1412         * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
1413         precision operands.
1414
1415 2004-01-14  Maciej W. Rozycki  <[email protected]>
1416
1417         * config/tc-mips.c (append_insn): Properly detect variant frags
1418         that preclude swapping of relaxed branches.  Correctly swap
1419         instructions between frags when dealing with relaxed branches.
1420
1421 2004-01-14  Maciej W. Rozycki  <[email protected]>
1422
1423         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1424         throughout.
1425         * aclocal.m4: Regenerate.
1426         * configure: Regenerate.
1427
1428 2004-01-12  Anil Paranjpe  <[email protected]>
1429
1430         * config/tc-h8300.c (build_bytes): Apply relaxation to bit
1431         manipulation insns.
1432
1433 2004-01-12  Richard Sandiford  <[email protected]>
1434
1435         * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
1436         reloc, reserve space for the delay slot as well as the jalr itself.
1437
1438 2004-01-09  Paul Brook  <[email protected]>
1439
1440         * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
1441         (do_vfp_sp2_from_reg2): New function.
1442         (insns): Use them.
1443         (do_vfp_dp_from_reg2): Check return values properly.
1444
1445 2004-01-08  Ian Lance Taylor  <[email protected]>
1446
1447         * config/tc-mips.c (warn_nops): Remove static variable.
1448         (macro): Remove test of warn_nops.
1449         (md_shortops): Remove 'n'.
1450         (md_parse_option): Remove 'n' case.
1451         (md_show_usage): Remove -n.
1452         * doc/as.texinfo (Overview): Remove MIPS -n option.
1453         * doc/c-mips.texi (MIPS Opts): Remove mention -n.
1454         * NEWS: Mention removal of MIPS -n option.
1455
1456         * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
1457         (cop_interlocks): Check ISA level.
1458         (cop_mem_interlocks): Define.
1459         (reg_needs_delay): Check cop_interlocks rather than
1460         ISA_HAS_COPROC_DELAYS.
1461         (append_insn): Likewise.  Use cop_mem_interlocks rather than
1462         directly checking mips_opts.isa.
1463         (mips_emit_delays): Likewise.
1464
1465 2004-01-07  H.J. Lu  <[email protected]>
1466
1467         * config/tc-ia64.c (unwind): Move next_slot_number and
1468         next_slot_frag to ...
1469         (unw_rec_list): Here.
1470         (free_list_records): Removed.
1471         (output_unw_records): Likewise.
1472         (generate_unwind_image): Make it void.
1473         (alloc_record): Initialize next_slot_number and next_slot_frag.
1474         (slot_index): Take .org, .space and .align into account.
1475         (fixup_unw_records): Don't set slot_number to 0. Use
1476         list->next_slot_number and list->next_slot_frag instead of
1477         unwind.next_slot_number and unwind.next_slot_frag.
1478         (ia64_convert_frag): New.
1479         (generate_unwind_image): Generate a rs_machine_dependent frag
1480         for unwind record.
1481         (emit_one_bundle): Use list->next_slot_number and
1482         list->next_slot_frag instead of unwind.next_slot_number and
1483         unwind.next_slot_frag.
1484
1485         * config/tc-ia64.h (md_convert_frag): Defined as
1486         ia64_convert_frag.
1487         (md_estimate_size_before_relax): Defined as (f)->fr_var.
1488
1489 2004-01-06  Alexandre Oliva  <[email protected]>
1490
1491         2003-12-19  Alexandre Oliva  <[email protected]>
1492         * config/tc-frv.h (md_apply_fix3): Don't define.
1493         * config/tc-frv.c (md_apply_fix3): New.  Shift/truncate %hi/%lo
1494         operands.
1495         * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
1496         2003-10-07  Alexandre Oliva  <[email protected]>
1497         * config/tc-frv.c (line_separator_chars): Add `!'.
1498         2003-09-19  Alexandre Oliva  <[email protected]>
1499         * config/tc-frv.c (md_assemble): Clear insn upfront.
1500         2003-09-18  Alexandre Oliva  <[email protected]>
1501         * config/tc-frv.c (OPTION_FDPIC): New macro.
1502         (md_longopts): Add mfdpic.
1503         (md_parse_option): Handle it.
1504         2003-08-04  Alexandre Oliva  <[email protected]>
1505         * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
1506         FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
1507         (frv_pic_ptr): Parse funcdesc.
1508
1509 2004-01-05  Maciej W. Rozycki  <[email protected]>
1510
1511         * doc/as.texinfo: Let texi2pod parse asconfig.texi and
1512         gasver.texi.  Remove duplicate symbol definitions for texi2pod.
1513
1514 2004-01-05  Maciej W. Rozycki  <[email protected]>
1515
1516         * Makefile.am (Makefile): Move the dependency on
1517         $(BFDDIR)/configure.in to...
1518         (CONFIG_STATUS_DEPENDENCIES): ... here.
1519         (AUTOMAKE_OPTIONS): Require automake 1.8.
1520         * Makefile.in: Regenerate.
1521         * doc/Makefile.am (BASEDIR, BFDDIR): Define.
1522         (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
1523         $(BFDDIR)/configure.in here as well.
1524         * doc/Makefile.in: Regenerate.
1525
1526 2004-01-05  Maciej W. Rozycki  <[email protected]>
1527
1528         * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
1529         * Makefile.in: Regenerate.
1530         * aclocal.m4: Regenerate.
1531         * doc/Makefile.am (install, install-info): Remove.
1532         (install-data-local): A new hook for install-info.
1533         (AUTOMAKE_OPTIONS): Require automake 1.8.
1534         * doc/Makefile.in: Regenerate.
1535
1536 2004-01-02  Nutan Singh <[email protected]>
1537
1538         * doc/c-sh.texi: Update description about floating point behavior
1539         of SH family.
1540
1541 2004-01-02  Bernardo Innocenti  <[email protected]>
1542
1543         * configure.in: Add m68k-uClinux target.
1544         * configure: Regenerate.
1545
1546 For older changes see ChangeLog-0203
1547 \f
1548 Local Variables:
1549 mode: change-log
1550 left-margin: 8
1551 fill-column: 74
1552 version-control: never
1553 End:
This page took 0.113586 seconds and 4 git commands to generate.