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