bfd/
[binutils.git] / ChangeLog.csl
blobd9ba0c6f7f99788fdd8dbf4b25035a3a6062f8ff
1 2006-08-31  Mark Shinwell  <shinwell@codesourcery.com>
3         bfd/
4         * elf32-arm.c (elf32_arm_howto_table_1): Adjust entries for
5         R_ARM_THM_ALU_PREL_11_0 and R_ARM_THM_PC12 relocations.
6         (elf32_arm_final_link_relocate): Handle R_ARM_THM_ALU_PREL_11_0
7         and R_ARM_THM_PC12 relocations.
9 2006-08-31  Joseph Myers  <joseph@codesourcery.com>
11         ld/testsuite/
12         * ld-scripts/crossref.exp: XFAIL third test on mips*-*-linux*.
14 2006-08-30  Mark Shinwell  <shinwell@codesourcery.com>
16         bfd/
17         * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
18         R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
19         R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
20         R_ARM_THM_MOVT_BREL relocations.
22 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
24         * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
26 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
28         ld/
29         Backport 2006-08-28  Alan Modra  <amodra@bigpond.net.au>
30         * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
31         not match random object files in a path containing "crtbegin" or
32         "crtend" as part of a directory name.
33         * scripttempl/armbpabi.sc: Likewise.
34         * scripttempl/crisaout.sc: Likewise.
35         * scripttempl/elf32crx.sc: Likewise.
36         * scripttempl/elf32sh-symbian.sc: Likewise.
37         * scripttempl/elf_chaos.sc: Likewise.
38         * scripttempl/elfd10v.sc: Likewise.
39         * scripttempl/elfd30v.sc: Likewise.
40         * scripttempl/elfxtensa.sc: Likewise.
41         * scripttempl/iq2000.sc: Likewise.
42         * scripttempl/mmo.sc: Likewise.
43         * scripttempl/xstormy16.sc: Likewise.
45 2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
47         ld/
48         This is fixed differently (and more intrusively) upstream.
49         * ldexp.c (fold_name): Loadaddrs of sections with an lma_region
50         are absolute.
52         ld/testsuite/
53         * ld-elf/loadaddr3.t: New.
54         * ld-elf/loadaddr3a.d: New.
55         * ld-elf/loadaddr3b.d: New.
57 2006-08-24  Mark Shinwell  <shinwell@codesourcery.com>
59         bfd/
60         * elf32-arm.c (elf32_arm_howto_table_1): Change offset for
61         R_THM_CALL to 25 and remove FIXME comment.
62         (using_thumb2): New function.
63         (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
65         ld/testsuite/
66         * arm-elf.exp: Add thumb1-bl, thumb2-bl, thumb2-bl-as-thumb1-bad
67         and thumb2-bl-bad tests.
68         * thumb1-bl.d: New.
69         * thumb1-bl.s: New.
70         * thumb2-bl-as-thumb1-bad.d: New.
71         * thumb2-bl-as-thumb1-bad.s: New.
72         * thumb2-bl-bad.d: New.
73         * thumb2-bl-bad.s: New.
74         * thumb2-bl.d: New.
75         * thumb2-bl.s: New.
77 2006-08-24  Mark Shinwell  <shinwell@codesourcery.com>
79         bfd/
80         * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
81         for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
82         (elf32_arm_gc_sweep_hook): Likewise.
83         (elf32_arm_check_relocs): Likewise.
84         (allocate_dynrelocs): Likewise.
86 2006-08-22  Joseph Myers  <joseph@codesourcery.com>
88         Merge changes between binutils-csl-2_17-branchpoint and
89         binutils-2_17, except for the addition of generated files to CVS.
91 2006-08-21  Mark Shinwell  <shinwell@codesourcery.com>
93         bfd/
94         * elf32-arm.c (elf32_arm_link_hash_table): Correct typo in
95         comment for target1_is_rel.
97 2006-08-19  Joseph Myers  <joseph@codesourcery.com>
99         gas/
100         * config/tc-arm.c (s_arm_unwind_save_mmxwr): Correct condition for
101         merging with previous long opcode.
103         gas/testsuite/
104         * gas/arm/unwind.s: Test not merging iWMMXt register save with
105         previous long opcode.
106         * gas/arm/unwind.d, gas/arm/unwind_vxworks.d: Update.
108 2006-08-18  Paul Brook  <paul@codesourcery.com>
110         Backport from mainline.
111         bfd/
112         * elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
113         (elf32_arm_link_hash_newfunc): Initialize export_glue.
114         (record_arm_to_thumb_glue): Return stub symbol.
115         (elf32_arm_create_thumb_stub): New function.
116         (elf32_arm_to_thumb_stub): Use it.
117         (elf32_arm_to_thumb_export_stub): New function.
118         (elf32_arm_begin_write_processing): New function.
119         (allocate_dynrelocs): Allocate Arm stubs.
120         (elf_backend_begin_write_processing): Define.
121         (elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
122         Call elf32_arm_begin_write_processing.
124         ld/
125         * emultempl/armelf.em (arm_elf_before_allocation): Call
126         gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
128         ld/testsuite/
129         * ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
130         -use-blx to mixed-lib.so
131         * ld-arm/armthumb-lib.d: New file.
132         * ld-arm/armthumb-lib.sym: New file.
134 2006-08-18  Julian Brown  <julian@codesourcery.com>
136         libiberty/
137         * floatformat.c (get_field): Fix segfault with little-endian word
138         order on 64-bit hosts.
139         (put_field): Likewise.
140         (min): Move definition.
142 2006-08-18  Julian Brown  <julian@codesourcery.com>
144         opcodes/
145         * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as
146         signed on 64-bit hosts.
148 2006-08-16  Julian Brown  <julian@codesourcery.com>
150         gas/
151         * config/tc-arm.c (md_assemble): Improve diagnostic when attempting
152         to use ARM instructions on non-ARM-supporting cores.
153         (autoselect_thumb_from_cpu_variant): New function. Switch on Thumb
154         mode automatically based on cpu variant.
155         (md_begin): Call above function.
157         gas/testsuite/
158         * gas/arm/noarm.s: Add test for disabled ARM insns.
159         * gas/arm/noarm.d: Drive test for above.
160         * gas/arm/noarm.l: Expected error output.
162 2006-08-16  Julian Brown  <julian@codesourcery.com>
164         gas/
165         * config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
166         recognized in non-unified syntax mode.
168 2006-08-15  Mark Shinwell  <shinwell@codesourcery.com>
170         gas/
171         * config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New.  Parse
172         a directive saving VFP registers for ARMv6 or later.
173         (s_arm_unwind_save): Add parameter arch_v6 and call
174         s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as
175         appropriate.
176         (md_pseudo_table): Add entry for new "vsave" directive.
177         * doc/c-arm.texi: Correct error in example for "save"
178         directive (fstmdf -> fstmdx).  Also document "vsave" directive.
180 2006-08-03  Joseph Myers  <joseph@codesourcery.com>
182         Backport from mainline.
184         gas/
185         * config/tc-arm.c (parse_operands): Handle invalid register name
186         for OP_RIWR_RIWC. 
188         gas/testsuite/
189         * gas/arm/iwmmxt-bad.s: Test invalid register names for wldrw and
190         wstrw.
191         * gas/arm/iwmmxt-bad.l: Update.
193         gas/
194         * config/tc-arm.c (enum operand_parse_code): Add OP_RIWC_RIWG.
195         (parse_operands): Handle it.
196         (insns): Use it for tmcr and tmrc.
198         gas/testsuite/
199         * gas/arm/iwmmxt.s: Test tmcr and tmrc with wcgr registers.
200         * gas/arm/iwmmxt.d: Update.
202 2006-07-27  Carlos O'Donell  <carlos@codesourcery.com>
204         bfd/
205         * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data):
206         Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT
207         and EF_MIPS_UCODE.
209 2006-07-26  Vladimir Prus  <vladimir@codesourcery.com>
210         
211         bfd/
212         * Makefile.am: (VERSUFFIX_s): New. Pass it to compiler
213         via -D.
214         * Makefile.in: Regenerated.
215         * configure: Regenerated.
216         * configure.in: Add --with-versuffix option.
217         * version.h: Add BFD_VERSION_SUFFIX, use it 
218         in BFD_VERSION_STRING.
219         
220         binutils/
221         * Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
222         via -D.
223         * Makefile.in: Regenerated.
224         * configure: Regenerated.
225         * configure.in: Add --with-bugurl option.
227         gas/
228         * Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
229         via -D.
230         * Makefile.in: Regenerated.
231         * configure: Regenerated.
232         * configure.in: Add --with-bugurl option.
234         gprof/
235         * Makefile.am: (VERSUFFIX_s, REPORT_BUGS_TO_s): New. Pass 
236         them to compiler via -D.
237         * Makefile.in: Regenerated.
238         * configure: Regenerated.
239         * configure.in: Add --with-versuffix and --with-bugurl option.
240         * gprof.c: Print version suffix.
242         ld/
243         * Makefile.am: (REPORT_BUGS_TO_s): New. Pass it to compiler
244         via -D.
245         * Makefile.in: Regenerated.
246         * configure: Regenerated.
247         * configure.in: Add --with-bugurl option.
249 2006-07-26  Richard Sandiford  <richard@codesourcery.com>
251         opcodes/
252         * m68k-opc.c (m68k_opcodes): Fix operand specifier in the Coldfire
253         "fdaddl" entry.
255         gas/testsuite/
256         * gas/m68k/mcf-fpu.s: Add tests for all addressing modes.
257         * gas/m68k/mcf-fpu.d: Update accordingly.
259 2006-07-20  Julian Brown  <julian@codesourcery.com>
261         Backport from mainline.
263         opcodes/
264         * arm-dis.c (coprocessor): Alter fmsrr disassembly syntax.
266         gas/testsuite/
267         * gas/arm/vfp-neon-syntax.d: Tweak expected fmsrr syntax.
268         * gas/arm/vfp-neon-syntax_t2.d: Likewise.
269         * gas/arm/vfp2.d: Likewise.
270         * gas/arm/vfp2_t2.d: Likewise.
272 2006-07-19  Paul Brook  <paul@codesourcery.com>
274         Backport from mainline.
275         gas/
276         * config/tc-arm.c (insns): Fix rbit Arm opcode.
277         gas/testsuite/
278         * gas/arm/archv6t2.d: Adjust expected output for rbit.
279         opcodes/
280         * armd-dis.c (arm_opcodes): Fix rbit opcode.
282 2006-07-18  Paul Brook  <paul@codesourcery.com>
284         Backport from mainline.
285         bfd/
286         * bfd-in2.h: Regenerate.
287         * libbfd.h: Regenerate.
288         * reloc.c: Add BFD_RELOC_ARM_T32_ADD_IMM.
290         gas/
291         * tc-arm.c (do_t_add_sub): Use addw/subw when source is PC.
292         (md_convert_frag): Use correct reloc for add_pc.  Use
293         BFD_RELOC_ARM_T32_ADD_IMM for normal add/sum.
294         (md_apply_fix): Handle BFD_RELOC_ARM_T32_ADD_IMM.
295         (arm_force_relocation): Handle BFD_RELOC_ARM_T32_ADD_IMM.
297         gas/testsuite/
298         * gas/arm/thumb2_add.d: New test.
299         * gas/arm/thumb2_add.s: New test.
301 2006-07-14  Nathan Sidwell  <nathan@codesourcery.com>
303         bfd/
304         * config.bfd (sh-*-uclinux, sh[12]-*-uclinux): New stanza.
306         gas/
307         * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
309         ld/
310         * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
311         (eshelf_uclinux.c): New target.
312         * Makefile.in: Rebuilt.
313         * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
314         * emulparams/shelf_uclinux.sh: New.
316 2006-07-12  Richard Sandiford  <richard@codesourcery.com>
318         Backport from mainline:
320         bfd/
321         2006-07-12  Matthew R. Dempsky  <mrd@alkemio.org>
323         * cpu-m68k.c (bfd_m68k_compatible): Handle CPU32.
325         ld/testsuite/
326         2006-07-12  Richard Sandiford  <richard@codesourcery.com>
328         * ld-m68k/merge-ok-1c.d: New test.
329         * ld-m68k/m68k.exp: Run it.
331 2006-06-22  Richard Sandiford  <richard@codesourcery.com>
333         binutils/
334         * objcopy.c (localize_hidden): New variable.
335         (OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
336         (copy_options): Add --localize-hidden.
337         (copy_usage): Mention --localize-hidden.
338         (is_hidden_symbol): New function.
339         (filter_symbols): Handle localize_hidden.
340         (copy_object): Call filter_symbols if localize_hidden.
341         (copy_main): Handle OPTION_LOCALIZE_HIDDEN.
342         * doc/binutils.texi (--localize-hidden): Document new option.
344         binutils/testsuite/
345         * binutils-all/localize-hidden-1.s,
346         * binutils-all/localize-hidden-1.d,
347         * binutils-all/localize-hidden-2.s,
348         * binutils-all/localize-hidden-2.d: New tests.
349         * binutils-all/objcopy.exp: Run them.
351 2006-06-22  Richard Sandiford  <richard@codesourcery.com>
353         Backport from mainline:
355         binutils/testsuite/
356         2006-04-26  H.J. Lu  <hongjiu.lu@intel.com>
358         * lib/utils-lib.exp (run_dump_test): New.
359         (slurp_options): Likewise.
360         (regexp_diff): Likewise.
361         (file_contents): Likewise.
362         (verbose_eval): Likewise.
364 2006-06-21  Mark Shinwell  <shinwell@codesourcery.com>
366         ld/
367         * ldlang.c (lang_insert_orphan): Correctly handle the case where
368         the section is to end up after the section currently at the end
369         of the list in output_bfd.
371 2006-06-19  Vladimir Prus  <vladimir@codesourcery.com>
373         bfd/
374         * elf32-arm.c (elf32_arm_swap_symbol_out): Don't set low
375         bit for undefined symbols.
377         ld/testsuite
378         * ld-arm/arm-elf.exp: New test.
379         * ld-arm/use-thumb-lib.s: New file.
380         * ld-arm/use-thumb-lib.sym: New file.
382 2006-06-15  Mark Shinwell  <shinwell@codesourcery.com>
384         * include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2}
385         to R_ARM_LDC_SB_G{0,1,2} respectively.
387         bfd/
388         * bfd-in2.h: Regenerate.
389         * elf32-arm.c (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0,
390         R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1, R_ARM_ALU_PC_G2,
391         R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2, R_ARM_LDRS_PC_G0,
392         R_ARM_LDRS_PC_G1, R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0,
393         R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2, R_ARM_ALU_SB_G0_NC,
394         R_ARM_ALU_SB_G0, R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1,
395         R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1,
396         R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0, R_ARM_LDRS_SB_G1,
397         R_ARM_LDRS_SB_G2, R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1,
398         R_ARM_LDC_SB_G2): New relocation types.
399         (R_ARM_PC13): Rename to AAELF name R_ARM_LDR_PC_G0 and
400         adjust HOWTO entry to be consistent with R_ARM_LDR_PC_G1
401         and friends.
402         (elf32_arm_howto_table_3): Delete; contents merged into
403         elf32_arm_howto_table_2.
404         (elf32_arm_howto_from_type): Adjust correspondingly.
405         (elf32_arm_reloc_map): Extend with the above relocations.
406         (calculate_group_reloc_mask): New function.
407         (identify_add_or_sub): New function.
408         (elf32_arm_final_link_relocate): Support for the above
409         relocations.
410         * reloc.c: Add enumeration entries for BFD_RELOC_ARM_...
411         codes to correspond to the above relocations.
413         gas/
414         * config/tc-arm.c (enum parse_operand_result): New.
415         (struct group_reloc_table_entry): New.
416         (enum group_reloc_type): New.
417         (group_reloc_table): New array.
418         (find_group_reloc_table_entry): New function.
419         (parse_shifter_operand_group_reloc): New function.
420         (parse_address_main): New function, incorporating code
421         from the old parse_address function.  To be used via...
422         (parse_address): wrapper for parse_address_main; and
423         (parse_address_group_reloc): new function, likewise.
424         (enum operand_parse_code): New codes OP_SHG, OP_ADDRGLDR,
425         OP_ADDRGLDRS, OP_ADDRGLDC.
426         (parse_operands): Support for these new operand codes.
427         New macro po_misc_or_fail_no_backtrack.
428         (encode_arm_cp_address): Preserve group relocations.
429         (insns): Modify to use the above operand codes where group
430         relocations are permitted.
431         (md_apply_fix): Handle the group relocations
432         ALU_PC_G0_NC through LDC_SB_G2.
433         (tc_gen_reloc): Likewise.
434         (arm_force_relocation): Leave group relocations for the linker.
435         (arm_fix_adjustable): Likewise.
437         gas/testsuite/
438         * gas/arm/group-reloc-alu.d: New test.
439         * gas/arm/group-reloc-alu-encoding-bad.d: New test.
440         * gas/arm/group-reloc-alu-encoding-bad.l: New test.
441         * gas/arm/group-reloc-alu-encoding-bad.s: New test.
442         * gas/arm/group-reloc-alu-parsing-bad.d: New test.
443         * gas/arm/group-reloc-alu-parsing-bad.l: New test.
444         * gas/arm/group-reloc-alu-parsing-bad.s: New test.
445         * gas/arm/group-reloc-alu.s: New test.
446         * gas/arm/group-reloc-ldc.d: New test.
447         * gas/arm/group-reloc-ldc-encoding-bad.d: New test.
448         * gas/arm/group-reloc-ldc-encoding-bad.l: New test.
449         * gas/arm/group-reloc-ldc-encoding-bad.s: New test.
450         * gas/arm/group-reloc-ldc-parsing-bad.d: New test.
451         * gas/arm/group-reloc-ldc-parsing-bad.l: New test.
452         * gas/arm/group-reloc-ldc-parsing-bad.s: New test.
453         * gas/arm/group-reloc-ldc.s: New test.
454         * gas/arm/group-reloc-ldr.d: New test.
455         * gas/arm/group-reloc-ldr-encoding-bad.d: New test.
456         * gas/arm/group-reloc-ldr-encoding-bad.l: New test.
457         * gas/arm/group-reloc-ldr-encoding-bad.s: New test.
458         * gas/arm/group-reloc-ldr-parsing-bad.d: New test.
459         * gas/arm/group-reloc-ldr-parsing-bad.l: New test.
460         * gas/arm/group-reloc-ldr-parsing-bad.s: New test.
461         * gas/arm/group-reloc-ldr.s: New test.
462         * gas/arm/group-reloc-ldrs.d: New test.
463         * gas/arm/group-reloc-ldrs-encoding-bad.d: New test.
464         * gas/arm/group-reloc-ldrs-encoding-bad.l: New test.
465         * gas/arm/group-reloc-ldrs-encoding-bad.s: New test.
466         * gas/arm/group-reloc-ldrs-parsing-bad.d: New test.
467         * gas/arm/group-reloc-ldrs-parsing-bad.l: New test.
468         * gas/arm/group-reloc-ldrs-parsing-bad.s: New test.
469         * gas/arm/group-reloc-ldrs.s: New test.
471         ld/testsuite/
472         * ld-arm/group-relocs-alu-bad.d: New test.
473         * ld-arm/group-relocs-alu-bad.s: New test.
474         * ld-arm/group-relocs.d: New test.
475         * ld-arm/group-relocs-ldc-bad.d: New test.
476         * ld-arm/group-relocs-ldc-bad.s: New test.
477         * ld-arm/group-relocs-ldr-bad.d: New test.
478         * ld-arm/group-relocs-ldr-bad.s: New test.
479         * ld-arm/group-relocs-ldrs-bad.d: New test.
480         * ld-arm/group-relocs-ldrs-bad.s: New test.
481         * ld-arm/group-relocs.s: New test.
482         * ld-arm/arm-elf.exp: Wire in new tests.
484 2006-06-15  Julian Brown  <julian@codesourcery.com>
486         gas/
487         * config/tc-arm.c (do_vfp_nsyn_ldr_str): Remove, fold into...
488         (do_neon_ldr_str): Always defer to VFP encoding routines, which handle
489         relocs properly.
491 2006-05-25  Alan Modra  <amodra@bigpond.net.au>
493         * bfd/elf.c (sym_is_global): Return a bfd_boolean.
494         (ignore_section_sym): New function.
495         (elf_map_symbols): Use ignore_section_sym to discard some syms.
496         (_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to
497         bfd before using elf_section_syms.
499 2006-05-25  Nathan Sidwell  <nathan@codesourcery.com>
501         * gas/config/tc-m68k.c (mcf52235_ctrl, mcf5225_ctrl): New.
502         (m68k_cpus): Add 52230, 52233, 52234, 52235, 5224, 5225.
504 2006-05-24  Paul Brook  <paul@codesourcery.com>
506         Backport from mainline.
507         * bfd/elf-bfd.h (elf_backend_data): Add
508         elf_backend_output_arch_local_syms
509         * bfd/elf32-arm.c (output_arch_syminfo): Define.
510         (elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
511         elf32_arm_output_arch_local_syms): New functions.
512         (elf_backend_output_arch_local_syms): Define.
513         * bfd/elflink.c (bfd_elf_final_link): Call
514         elf_backend_output_arch_local_syms.
515         * bfd/elfxx-target.h (elf_backend_output_arch_local_syms): Provide
516         default definition.
517         (elfNN_bed): Add elf_backend_output_arch_local_syms.
518         * ld/testsuite/ld-arm/arm-app-abs32.d: Update expected output.
519         * ld/testsuite/ld-arm/arm-app.d: Ditto.
520         * ld/testsuite/ld-arm/arm-lib-plt32.d: Ditto.
521         * ld/testsuite/ld-arm/arm-lib.d: Ditto.
522         * ld/testsuite/ld-arm/mixed-app-v5.d: Ditto.
523         * ld/testsuite/ld-arm/mixed-app.d: Ditto.
524         * ld/testsuite/ld-arm/mixed-lib.d: Ditto.
526 2006-05-24  Paul Brook  <paul@codesourcery.com>
528         Backport from mainline.
529         * bfd/elf32-arm.c (put_arm_insn, put_thumb_insn): New functions.
530         (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub,
531         elf32_arm_finish_dynamic_symbol): Use them.
533 2006-05-22  Richard Sandiford  <richard@codesourcery.com>
535         opcodes/
536         * m68k-dis.c (m68k_scan_mask): Add missing return.
538 2006-05-20  Nathan Sidwell  <nathan@codesourcery.com>
540         * binutils/testsuite/binutils-all/objcopy.exp: Skip for uclinux
541         targets.
543 2006-05-15  Paul Brook  <paul@codesourcery.com>
545         Backport from mainline.
546         * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
547         (bfd_is_arm_special_symbol_name): ... to this.  Add type argument.
548         Check symbol name is of specified type.
549         * bfd/elf32-arm.c (elf32_arm_is_target_special_symbol,
550         arm_elf_find_function, elf32_arm_output_symbol_hook): Use
551         bfd_is_arm_special_symbol_name.
552         * bfd/bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
553         BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
554         BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
555         (bfd_is_arm_mapping_symbol_name): Remove prototype.
556         (bfd_is_arm_special_symbol_name): Add prototype.
557         * bfd/bfd-in2.h: Regenerate.
558         * gas/config/tc-arm.c (arm_adjust_symtab): Use
559         bfd_is_arm_special_symbol_name.
560         * ld/testsuite/ld-arm/arm-be8.d: New test.
561         * ld/testsuite/ld-arm/arm-be8.s: New test.
562         * ld/testsuite/ld-arm/arm-elf.exp: Add arm-be8.
564 2006-05-12  Carlos O'Donell  <carlos@codesourcery.com>
566         * binutils/doc/binutils.texi: Rename "Index" to "Binutils Index"
568 2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
570         * bfd/doc/bfd.texinfo: Rename "Index" to "BFD Index"
571         * ld/ld.texinfo: Rename "Index" to "LD Index"
572         * gas/doc/as.texinfo: Rename "Index" to "AS Index"
573         Rename "ABORT" to "ABORT (COFF)"
575 2006-05-06  Joseph S. Myers  <joseph@codesourcery.com>
577         Backport:
578         2006-03-30  Jakub Jelinek  <jakub@redhat.com>
579         * ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
580         bfd_find_nearest_line succeeded for %C or %D, but filename
581         is NULL, print section+offset at the end.
583 2006-05-05  Julian Brown  <julian@codesourcery.com>
585         * gas/config/tc-arm.c (stdarg.h): include.
586         (arm_it): Add uncond_value field. Add isvec and issingle to operand
587         array.
588         (arm_reg_type): Add REG_TYPE_VFSD (single or double VFP reg) and
589         REG_TYPE_NSDQ (single, double or quad vector reg).
590         (reg_expected_msgs): Update.
591         (BAD_FPU): Add macro for unsupported FPU instruction error.
592         (parse_neon_type): Support 'd' as an alias for .f64.
593         (parse_typed_reg_or_scalar): Support REG_TYPE_VFSD, REG_TYPE_NSDQ
594         sets of registers.
595         (parse_vfp_reg_list): Don't update first arg on error.
596         (parse_neon_mov): Support extra syntax for VFP moves.
597         (operand_parse_code): Add OP_RVSD, OP_RNSDQ, OP_VRSDLST, OP_RVSD_IO,
598         OP_RNSDQ_RNSC, OP_RVC_PSR, OP_APSR_RR, OP_oRNSDQ.
599         (parse_operands): Support isvec, issingle operands fields, new parse
600         codes above.
601         (do_vfp_nsyn_mrs, do_vfp_nsyn_msr): New functions. Support VFP mrs,
602         msr variants.
603         (do_mrs, do_msr, do_t_mrs, do_t_msr): Add support for above.
604         (NEON_ENC_TAB): Add vnmul, vnmla, vnmls, vcmp, vcmpz, vcmpe, vcmpez.
605         (NEON_ENC_SINGLE, NEON_ENC_DOUBLE): Define macros.
606         (NEON_SHAPE_DEF): New macro. Define table of possible instruction
607         shapes.
608         (neon_shape): Redefine in terms of above.
609         (neon_shape_class): New enumeration, table of shape classes.
610         (neon_shape_el): New enumeration. One element of a shape.
611         (neon_shape_el_size): Register widths of above, where appropriate.
612         (neon_shape_info): New struct. Info for shape table.
613         (neon_shape_tab): New array.
614         (neon_type_mask): Add N_F64, N_VFP. Update N_MAX_NONSPECIAL.
615         (neon_check_shape): Rewrite as...
616         (neon_select_shape): New function to classify instruction shapes,
617         driven by new table neon_shape_tab array.
618         (neon_quad): New function. Return 1 if shape should set Q flag in
619         instructions (or equivalent), 0 otherwise.
620         (type_chk_of_el_type): Support F64.
621         (el_type_of_type_chk): Likewise.
622         (neon_check_type): Add support for VFP type checking (VFP data
623         elements fill their containing registers).
624         (do_vfp_cond_or_thumb): Fill in condition field in ARM mode, or 0xE
625         in thumb mode for VFP instructions.
626         (do_vfp_nsyn_opcode): New function. Look up the opcode in argument,
627         and encode the current instruction as if it were that opcode.
628         (try_vfp_nsyn): New. If this looks like a VFP instruction with ARGS
629         arguments, call function in PFN.
630         (do_vfp_nsyn_add_sub, do_vfp_nsyn_mla_mls, do_vfp_nsyn_mul)
631         (do_vfp_nsyn_abs_neg, do_vfp_nsyn_ldm_stm, do_vfp_nsyn_ldr_str)
632         (do_vfp_nsyn_sqrt, do_vfp_nsyn_div, do_vfp_nsyn_nmul)
633         (do_vfp_nsyn_cmp, nsyn_insert_sp, do_vfp_nsyn_push)
634         (do_vfp_nsyn_pop, do_vfp_nsyn_cvt, do_vfp_nsyn_cvtz): New functions.
635         Redirect Neon-syntax VFP instructions to VFP instruction handlers.
636         (do_neon_dyadic_i_su, do_neon_dyadic_i64_su, do_neon_shl_imm)
637         (do_neon_qshl_imm, do_neon_logic, do_neon_bitfield)
638         (neon_dyadic_misc, neon_compare, do_neon_tst, do_neon_qdmulh)
639         (do_neon_fcmp_absolute, do_neon_step, do_neon_sli, do_neon_sri)
640         (do_neon_qshlu_imm, neon_move_immediate, do_neon_mvn, do_neon_ext)
641         (do_neon_rev, do_neon_dup, do_neon_rshift_round_imm, do_neon_trn)
642         (do_neon_zip_uzp, do_neon_sat_abs_neg, do_neon_pair_long)
643         (do_neon_recip_est, do_neon_cls, do_neon_clz, do_neon_cnt)
644         (do_neon_swp): Use neon_select_shape not neon_check_shape. Use
645         neon_quad.
646         (vfp_or_neon_is_neon): New function. Call if a mnemonic shared
647         between VFP and Neon turns out to belong to Neon. Perform
648         architecture check and fill in condition field if appropriate.
649         (do_neon_addsub_if_i, do_neon_mac_maybe_scalar, do_neon_abs_neg)
650         (do_neon_cvt): Add support for VFP variants of instructions.
651         (neon_cvt_flavour): Extend to cover VFP conversions.
652         (do_neon_mov): Rewrite to use neon_select_shape. Add support for VFP
653         vmov variants.
654         (do_neon_ldr_str): Handle single-precision VFP load/store.
655         (do_neon_ld_st_interleave, do_neon_ld_st_lane, do_neon_ld_dup): Use
656         NS_NULL not NS_IGNORE.
657         (opcode_tag): Add OT_csuffixF for operands which either take a
658         conditional suffix, or have 0xF in the condition field.
659         (md_assemble): Add support for OT_csuffixF.
660         (NCE): Replace macro with...
661         (NCE_tag, NCE, NCEF): New macros.
662         (nCE): Replace macro with...
663         (nCE_tag, nCE, nCEF): New macros.
664         (insns): Add support for VFP insns or VFP versions of insns msr, mrs,
665         vsqrt, vdiv, vnmul, vnmla, vnmls, vcmp, vcmpe, vpush, vpop, vcvtz,
666         vmul, vmla, vmls, vadd, vsub, vabs, vneg, vldm, vldmia, vldbdb, vstm,
667         vstmia, vstmdb, vldr, vstr, vcvt, vmov. Group shared VFP/Neon insns
668         together.
670         * gas/testsuite/gas/arm/itblock.s: New file. Helper macro for making
671         all-true IT blocks.
672         * gas/testsuite/gas/arm/neon-cond-bad-inc.s: New test. Make sure
673         unconditional Neon instructions are rejected...
674         * gas/testsuite/gas/arm/neon-cond-bad.s: In ARM mode, and...
675         * gas/testsuite/gas/arm/neon-cond-bad_t2.s: Accepted in Thumb mode
676         (with IT).
677         * gas/testsuite/gas/arm/neon-cond-bad.l: Expected error output in ARM
678         mode.
679         * gas/testsuite/gas/arm/neon-cond-bad.d: Control ARM mode test.
680         * gas/testsuite/gas/arm/neon-cond-bad_t2.d: Expected output in Thumb
681         mode.
682         * gas/testsuite/gas/arm/vfp-neon-syntax-inc.s: Test VFP Neon-style
683         syntax.
684         * gas/testsuite/gas/arm/vfp-neon-syntax.s: ...in ARM mode.
685         * gas/testsuite/gas/arm/vfp-neon-syntax_t2.s: ...and Thumb mode.
686         * gas/testsuite/gas/arm/vfp-neon-syntax.d: Expected output in ARM mode.
687         * gas/testsuite/gas/arm/vfp-neon-syntax_t2.d: Expected output in Thumb
688         mode.
690 2006-05-05  Mark Shinwell  <shinwell@codesourcery.com>
692         * configure: Regenerate.
693         * configure.in: Enable gprof for cross builds.
695 2006-05-03  Julian Brown  <julian@codesourcery.com>
697         * gas/doc/c-arm.texi: Add documentation for .dn/.qn directives.
699 2006-05-03  Paul Brook  <paul@codesourcery.com>
701         * bfd/elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs.
702         (elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs.
703         (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
704         * bfd/reloc.c: Ditto.
705         * bfd/bfd-in2.h: Regenerate.
706         * bfd/libbfd.h: Regenerate.
707         * bfd/libcoff.h: Regenerate.
708         * gas/config/tc-arm.c (parse_half): New function.
709         (operand_parse_code): Remove OP_Iffff.  Add OP_HALF.
710         (parse_operands): Ditto.
711         (do_mov16): Reject invalid relocations.
712         (do_t_mov16): Ditto.  Use Thumb reloc numbers.
713         (insns): Replace Iffff with HALF.
714         (md_apply_fix): Add MOVW and MOVT relocs.
715         (tc_gen_reloc): Ditto.
716         * gas/doc/c-arm.texi: Document relocation operators
717         * ld/testsuite/ld-arm/arm-elf.exp: Add arm-movwt.
718         * ld/testsuite/ld-arm/arm-movwt.d: New test.
719         * ld/testsuite/ld-arm/arm-movwt.s: New test.
720         * ld/testsuite/ld-arm/arm.ld: Add .far.
722 2006-05-02  Joseph Myers  <joseph@codesourcery.com>
724         * gas/config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset
725         by 4 here.
726         (md_apply_fix3): Multiply offset by 4 here for
727         BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
728         * gas/testsuite/gas/arm/iwmmxt.s: Increase offsets for wstrb and
729         wstrh.
730         * gas/testsuite/gas/arm/iwmmxt.d: Update expected results.
731         * gas/testsuite/gas/arm/iwmmxt-bad2.s: Test wstrb, wstrh, wldrb
732         and wldrh.
733         * gas/testsuite/gas/arm/iwmmxt-bad2.l: Update expected error
734         messages.
736 2006-05-01  Paul Brook  <paul@codesourcery.com>
738         * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Set thumb funciton
739         bit for R_ARM_REL32.
740         * gas/config/tc-arm.c (arm_optimize_expr): New function.
741         * gas/config/tc-arm.h (md_optimize_expr): Define
742         (arm_optimize_expr): Add prototype.
743         (TC_FORCE_RELOCATION_SUB_SAME): Define.
744         * ld/testsuite/ld-arm/arm-elf.exp: Add thumb-rel32.
745         * ld/testsuite/ld-arm/thumb-rel32.d: New test.
746         * ld/testsuite/ld-arm/thumb-rel32.s: New test.
748 2006-04-29  Paul Brook  <paul@codesourcery.com>
750         * opcodes/arm-dis.c (coprocessor_opcodes): Add %c to unconditional
751         arm instructions.
752         (neon_opcodes): Add conditional execution specifiers.
753         (thumb_opcodes): Ditto.
754         (thumb32_opcodes): Ditto.
755         (arm_conditional): Change 0xe to "al" and add "" to end.
756         (ifthen_state, ifthen_next_state, ifthen_address): New.
757         (IFTHEN_COND): Define.
758         (print_insn_coprocessor, print_insn_neon): Print thumb conditions.
759         (print_insn_arm): Change %c to use new values of arm_conditional.
760         (print_insn_thumb16): Print thumb conditions.  Add %I.
761         (print_insn_thumb32): Print thumb conditions.
762         (find_ifthen_state): New function.
763         (print_insn): Track IT block state.
764         * gas/testsuite/gas/arm/thumb2_bcond.d: Update expected output.
765         * gas/testsuite/gas/arm/thumb32.d: Ditto.
766         * gas/testsuite/gas/arm/vfp1_t2.d: Ditto.
767         * gas/testsuite/gas/arm/vfp1xD_t2.d: Ditto.
768         * binutils/testsuite/binutils-all/arm/objdump.exp: New file.
769         * binutils/testsuite/binutils-all/arm/thumb2-cond.s: New test.
771 2006-04-28  Mark Mitchell  <mark@codesourcery.com>
773         * doc/as.texinfo: Mention that some .type syntaxes are not
774         supported on all architectures.
776 2006-04-27  Richard Sandiford  <richard@codesourcery.com>
778         include/opcodes/
779         * m68k.h (mcf_mask): Define.
781         opcodes/
782         * m68k-opc.c (m68k_opcodes): Fix the masks of the Coldfire fmovemd
783         and fmovem entries.  Put register list entries before immediate
784         mask entries.  Use "l" rather than "L" in the fmovem entries.
785         * m68k-dis.c (match_insn_m68k): Remove the PRIV argument and work it
786         out from INFO.
787         (m68k_scan_mask): New function, split out from...
788         (print_insn_m68k): ...here.  If no architecture has been set,
789         first try printing an m680x0 instruction, then try a Coldfire one.
791 2006-04-27  Richard Sandiford  <richard@codesourcery.com>
793         bfd/
794         * elf32-m68k.c (elf_m68k_pcrel_insn): New structure.
795         (elf_m68k_plt_info): Likewise.
796         (elf_m68k_plt_info): New table.
797         (CFV4E_PLT_ENTRY_SIZE): Rename to...
798         (ISAB_PLT_ENTRY_SIZE): ...this.
799         (CFV4E_FLAG): Delete.
800         (elf_cfv4e_plt0_entry): Rename to...
801         (elf_isab_plt0_entry): ...this.  Adjust comments.  Use (-6,%pc,%d0)
802         for the second instruction too.
803         (elf_cfv4e_plt_entry): Rename to...
804         (elf_isab_plt_entry): ...this.  Adjust comments and use (-6,%pc,%d0).
805         (elf_isab_plt_info): New table.
806         (CPU32_FLAG): Delete.
807         (PLT_CPU32_ENTRY_SIZE): Rename to...
808         (CPU32_PLT_ENTRY_SIZE): ...this.
809         (elf_cpu32_plt0_entry): Update bounds accordingly.
810         (elf_cpu32_plt_entry): Likewise.
811         (elf_cpu32_plt_info): New table.
812         (elf_m68k_link_hash_table): Add a plt_info field.
813         (elf_m68k_link_hash_table_create): Initialize it.
814         (elf_m68k_get_plt_info): New function.
815         (elf_m68k_always_size_sections): Likewise.
816         (elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
817         (elf_m68k_install_pcrel_field): New function.
818         (elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
819         elf_m68k_install_pcrel_field.
820         (elf_m68k_finish_dynamic_sections): Likewise.
821         (elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
822         (elf_backend_always_size_sections): Define.
824 2006-04-26  Julian Brown  <julian@codesourcery.com>
826         * gas/config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
827         checking.
828         (do_neon_mov): Enable several VMOV variants for VFP. Add suitable
829         architecture version checks.
830         (insns): Allow overlapping instructions to be used in VFP mode.
832         * gas/testsuite/gas/arm/vfp-neon-overlap.s: New test. Overlapping
833         VFP/Neon instructions.
834         * gas/testsuite/gas/arm/vfp-neon-overlap.d: Expected output of above.
835         * gas/testsuite/gas/arm/vfp1xD.d: Test for fldmx/fstmx.
836         * gas/testsuite/gas/arm/vfp1xD_t2.d: Likewise.
837         * gas/testsuite/gas/arm/vfpv3-32drs.d: Likewise.
839         * opcodes/arm-dis.c (coprocessor_opcodes): Don't interpret fldmx/fstmx
840         as vldm/vstm.
842 2006-04-26  Julian Brown  <julian@codesourcery.com>
844         * gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
845         (is_quarter_float): Rename from above. Simplify slightly.
846         (parse_qfloat_immediate): Parse a "quarter precision" floating-point
847         number.
848         (parse_neon_mov): Parse floating-point constants.
849         (neon_qfloat_bits): Fix encoding.
850         (neon_cmode_for_move_imm): Tweak to use floating-point encoding in
851         preference to integer encoding when using the F32 type.
853         * gas/testsuite/gas/arm/neon-const.s: New testcase. Neon floating-point
854         constants.
855         * gas/testsuite/gas/arm/neon-const.d: Expected output of above.
856         * gas/testsuite/gas/arm/neon-cov.d: Expect floating-point disassembly
857         for VMOV.F32.
859         * opcodes/arm-dis.c (print_insn_neon): Disassemble floating-point
860         constant VMOV.
862 2006-04-24  Julian Brown  <julian@codesourcery.com>
864         * libiberty/floatformat.c (floatformat_to_double): Fix (biased)
865         exponent=0 case.
867 2006-04-12  Carlos O'Donell  <carlos@codesourcery.com>
869         * Makefile.tpl: Add install-html to install target deps.
870         * Makefile.in: Regenerate.
872 2006-04-07  Julian Brown  <julian@codesourcery.com>
874         * gas/config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
875         zero-initialising structures containing it will lead to invalid
876         types).
877         (arm_it): Add vectype to each operand.
878         (NTA_HASTYPE, NTA_HASINDEX): Constants used in neon_typed_alias
879         defined field.
880         (neon_typed_alias): New structure. Extra information for typed
881         register aliases.
882         (reg_entry): Add neon type info field.
883         (arm_reg_parse): Remove RTYPE argument (revert to previous arguments).
884         Break out alternative syntax for coprocessor registers, etc. into...
885         (arm_reg_alt_syntax): New function. Alternate syntax handling broken
886         out from arm_reg_parse.
887         (parse_neon_type): Move. Return SUCCESS/FAIL.
888         (first_error): New function. Call to ensure first error which occurs
889         is reported.
890         (parse_neon_operand_type): Parse exactly one type.
891         (NEON_ALL_LANES, NEON_INTERLEAVE_LANES): Move.
892         (parse_typed_reg_or_scalar): New function. Handle core of both
893         arm_typed_reg_parse and parse_scalar.
894         (arm_typed_reg_parse): Parse a register with an optional type.
895         (NEON_SCALAR_REG, NEON_SCALAR_INDEX): Extract parts of parse_scalar
896         result.
897         (parse_scalar): Parse a Neon scalar with optional type.
898         (parse_reg_list): Use first_error.
899         (parse_vfp_reg_list): Use arm_typed_reg_parse instead of arm_reg_parse.
900         (neon_alias_types_same): New function. Return true if two (alias) types
901         are the same.
902         (parse_neon_el_struct_list): Use parse_typed_reg_or_scalar. Return type
903         of elements.
904         (insert_reg_alias): Return new reg_entry not void.
905         (insert_neon_reg_alias): New function. Insert type/index information as
906         well as register for alias.
907         (create_neon_reg_alias): New function. Parse .dn/.qn directives and
908         make typed register aliases accordingly.
909         (s_dn, s_qn): New functions. Handle incorrectly used .dn/.qn at start
910         of line.
911         (s_unreq): Delete type information if present.
912         (s_arm_unwind_save_mmxwr): Remove arg 3 from arm_reg_parse calls.
913         (s_arm_unwind_save_mmxwcg): Likewise.
914         (s_arm_unwind_movsp): Likewise.
915         (s_arm_unwind_setfp): Likewise.
916         (parse_shift): Likewise.
917         (parse_shifter_operand): Likewise.
918         (parse_address): Likewise.
919         (parse_tb): Likewise.
920         (tc_arm_regname_to_dw2regnum): Likewise.
921         (md_pseudo_table): Add dn, qn.
922         (parse_neon_mov): Handle typed operands.
923         (parse_operands): Likewise.
924         (neon_type_mask): Add N_SIZ.
925         (N_ALLMODS): New macro.
926         (neon_check_shape): Fix typo in NS_DDD_QQQ case. Use first_error.
927         (el_type_of_type_chk): Add some safeguards.
928         (modify_types_allowed): Fix logic bug.
929         (neon_check_type): Handle operands with types.
930         (neon_three_same): Remove redundant optional arg handling.
931         (do_neon_dyadic_i64_su, do_neon_shl_imm, do_neon_qshl_imm)
932         (do_neon_logic, do_neon_qdmulh, do_neon_fcmp_absolute)
933         (do_neon_step): Adjust accordingly.
934         (neon_cmode_for_logic_imm): Use first_error.
935         (do_neon_bitfield): Call neon_check_type.
936         (neon_dyadic): Rename to...
937         (neon_dyadic_misc): ...this. New name for neon_dyadic. Add bitfield to
938         allow modification of type of the destination.
939         (do_neon_dyadic_if_su, do_neon_dyadic_if_i, do_neon_dyadic_if_i_d)
940         (do_neon_addsub_if_i, do_neon_mul): Adjust accordingly.
941         (do_neon_compare): Make destination be an untyped bitfield.
942         (neon_scalar_for_mul): Use NEON_SCALAR_REG, NEON_SCALAR_INDEX.
943         (neon_mul_mac): Return early in case of errors.
944         (neon_move_immediate): Use first_error.
945         (neon_mac_reg_scalar_long): Fix type to include scalar.
946         (do_neon_dup): Likewise.
947         (do_neon_mov): Likewise (in several places).
948         (do_neon_tbl_tbx): Fix type.
949         (do_neon_ld_st_interleave, neon_alignment_bit, do_neon_ld_st_lane)
950         (do_neon_ld_dup): Exit early in case of errors and/or use first_error.
951         (opcode_lookup): Update for parse_neon_type returning SUCCESS/FAIL.
952         Handle .dn/.qn directives.
953         (REGDEF): Add zero for reg_entry neon field.
955         * gas/testsuite/gas/arm/neon-psyn.s: Basic test of programmers syntax.
956         * gas/testsuite/gas/arm/neon-psyn.d: Expected output of above.
958 2006-04-03  Carlos O'Donell  <carlos@codesourcery.com>
960         * Makefile.tpl: Add install-html target.
961         * Makefile.def: Add install-html target.
962         * Makefile.in: Regenerate.
963         * configure.in: Add --with-datarootdir, --with-docdir,
964         and --with-htmldir options.
965         * configure: Regenerate.
966         * opcodes/Makefile.am: Add install-html target.
967         * opcodes/Makefile.in: Regenerate.
968         * libiberty/Makefile.in: Add install-html, install-html-am, and
969         install-html-recursive targets. Define mkdir_p and 
970         NORMAL_INSTALL. 
971         * libiberty/configure.ac: AC_SUBST datarootdir, docdir, htmldir.
972         * libiberty/configure: Regenerate.
973         * libiberty/testsuite/Makefile.in: Add install-html and html targets.
974         * ld/Makefile.am: Add install-html, install-html-am, and
975         install-html-recursive targets.
976         * ld/Makefile.in: Regenerate.
977         * ld/configure.in: AC_SUBST datarootdir, docdir, htmldir.
978         * ld/configure: Regenerate.
979         * ld/po/Make-in: Add install-html target.
980         * intl/Makefile.in: Add html info and dvi and install-html to .PHONY
981         Add install-html target.
982         * gprof/po/Make-in: Add install-html target.
983         * gprof/Makefile.am: Add install-html, install-html-am and 
984         install-html-recursive targets. 
985         * gprof/Makefile.in: Regenerate.
986         * gprof/configure.in: AC_SUBST datarootdir, docdir, htmldir.
987         * gprof/configure: Regenerate.
988         * gas/po/Make-in: Add install-html target.
989         * gas/Makefile.am: Add install-html and install-html-recursive targets.
990         * gas/Makefile.in: Regenerate.
991         * gas/configure.in: AC_SUBST datarootdir, docdir, htmldir.
992         * gas/configure: Regenerate.
993         * gas/doc/Makefile.am: Add install-html and install-html-am targets.
994         * gas/doc/Makefile.in: Regenerate.
995         * binutils/po/Make-in: Add install-html target.
996         * binutils/Makefile.am: Add install-html and install-html-recursive targets.
997         * binutils/Makefile.in: Regenerate.
998         * binutils/configure.in: AC_SUBST datarootdir, docdir and htmldir.
999         * binutils/configure: Regenerate.
1000         * binutils/doc/Makefile.am: Add install-html and install-html-am targets.
1001         * binutils/doc/Makefile.in: Regenerate.
1002         * bfd/po/Make-in: Add install-html target.
1003         * bfd/Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
1004         htmldir. Add install-html and install-html-recursive targets.
1005         * bfd/Makefile.in: Regenerate.
1006         * bfd/configure.in: AC_SUBST for datarootdir, docdir and htmldir.
1007         * bfd/configure: Regenerate.
1008         * bfd/doc/Makefile.am: Add install-html and install-html-am targets. 
1009         Define datarootdir, docdir and htmldir.
1010         * bfd/doc/Makefile.in: Regenerate.
1011         * etc/Makefile.in: Add install-html target. Add htmldir,
1012         docdir and datarootdir.
1013         * etc/configure.texi: Document install-html target.
1014         * etc/configure.in: AC_SUBST datarootdir, docdir, htmldir.
1015         * etc/configure: Regenerate.
1017 2005-04-03  Julian Brown  <julian@codesourcery.com>
1018             Nathan Sidwell  <nathan@codesourcery.com>
1020         * binutils/readelf.c (arm_attr_tag_VFP_arch): Add VFPv3.
1021     
1022         * gas/config/tc-arm.c (limits.h): Include.
1023         (fpu_arch_vfp_v3, fpu_vfp_ext_v3, fpu_neon_ext_v1)
1024         (fpu_vfp_v3_or_neon_ext): Declare constants.
1025         (neon_el_type): New enumeration of types for Neon vector elements.
1026         (neon_type_el): New struct. Define type and size of a vector element.
1027         (NEON_MAX_TYPE_ELS): Define constant. The maximum number of types per
1028         instruction.
1029         (neon_type): Define struct. The type of an instruction.
1030         (arm_it): Add 'vectype' for the current instruction.
1031         (isscalar, immisalign, regisimm, isquad): New predicates for operands.
1032         (vfp_sp_reg_pos): Rename to...
1033         (vfp_reg_pos): ...this, and add VFP_REG_Dd, VFP_REG_Dm, VFP_REG_Dn
1034         tags.
1035         (arm_reg_type): Add REG_TYPE_NQ (Neon Q register) and REG_TYPE_NDQ
1036         (Neon D or Q register).
1037         (reg_expected_msgs): Sync with above. Allow VFD to mean VFP or Neon
1038         D register.
1039         (GE_OPT_PREFIX_BIG): Define constant, for use in...
1040         (my_get_expression): Allow above constant as argument to accept
1041         64-bit constants with optional prefix.
1042         (arm_reg_parse): Add extra argument to return the specific type of
1043         register in when either a D or Q register (REG_TYPE_NDQ) is requested.
1044         Can be NULL.
1045         (parse_scalar): New function. Parse Neon scalar (vector reg and index).
1046         (parse_reg_list): Update for new arm_reg_parse args.
1047         (parse_vfp_reg_list): Allow parsing of Neon D/Q register lists.
1048         (parse_neon_el_struct_list): New function. Parse element/structure
1049         register lists for VLD<n>/VST<n> instructions.
1050         (s_arm_unwind_save_vfp): Update for new parse_vfp_reg_list args.
1051         (s_arm_unwind_save_mmxwr): Likewise.
1052         (s_arm_unwind_save_mmxwcg): Likewise.
1053         (s_arm_unwind_movsp): Likewise.
1054         (s_arm_unwind_setfp): Likewise.
1055         (parse_big_immediate): New function. Parse an immediate, which may
1056         be 64 bits wide. Put results in inst.operands[i].
1057         (parse_shift): Update for new arm_reg_parse args.
1058         (parse_address): Likewise. Add parsing of alignment specifiers.
1059         (parse_neon_mov): Parse the operands of a VMOV instruction.
1060         (operand_parse_code): Add OP_RND, OP_RNQ, OP_RNDQ, OP_RNSC,
1061         OP_NRDLST, OP_NSTRLST, OP_NILO, OP_RNDQ_I0, OP_RR_RNSC,
1062         OP_RNDQ_RNSC, OP_RND_RNSC, OP_VMOV, OP_RNDQ_IMVNb, OP_RNDQ_I63b,
1063         OP_I0, OP_I16z, OP_I32z, OP_I64, OP_I64z, OP_oI32b, OP_oRND,
1064         OP_oRNQ, OP_oRNDQ.
1065         (parse_operands): Handle new codes above.
1066         (encode_arm_vfp_sp_reg): Rename to...
1067         (encode_arm_vfp_reg): ...this. Handle D regs (0-31) too. Complain if
1068         selected VFP version only supports D0-D15.
1069         (do_vfp_sp_monadic, do_vfp_sp_dyadic, do_vfp_sp_compare_z)
1070         (do_vfp_dp_sp_cvt, do_vfp_reg_from_sp, do_vfp_reg2_from_sp2)
1071         (do_vfp_sp_from_reg, do_vfp_sp2_from_reg2, do_vfp_sp_ldst)
1072         (do_vfp_dp_ldst, vfp_sp_ldstm, vfp_dp_ldstm): Update for new
1073         encode_arm_vfp_reg name, and allow 32 D regs.
1074         (do_vfp_dp_rd_rm, do_vfp_dp_rn_rd, do_vfp_dp_rd_rn)
1075         (do_vfp_dp_rd_rn_rm, do_vfp_rm_rd_rn): New functions to encode VFP
1076         insns allowing 32 D regs.
1077         (do_vfp_sp_const, do_vfp_dp_const, vfp_conv, do_vfp_sp_conv_16)
1078         (do_vfp_dp_conv_16, do_vfp_sp_conv_32, do_vfp_dp_conv_32): Handle
1079         constant-load and conversion insns introduced with VFPv3.
1080         (neon_tab_entry): New struct.
1081         (NEON_ENC_TAB): Bit patterns for overloaded Neon instructions, and
1082         those which are the targets of pseudo-instructions.
1083         (neon_opc): Enumerate opcodes, use as indices into...
1084         (neon_enc_tab): ...this. Hold data from NEON_ENC_TAB.
1085         (NEON_ENC_INTEGER, NEON_ENC_ARMREG, NEON_ENC_POLY, NEON_ENC_FLOAT)
1086         (NEON_ENC_SCALAR, NEON_ENC_IMMED, NEON_ENC_INTERLV, NEON_ENC_LANE)
1087         (NEON_ENC_DUP): Define meaningful helper macros to look up values in
1088         neon_enc_tab.
1089         (neon_shape): Enumerate shapes (permitted register widths, etc.) for
1090         Neon instructions.
1091         (neon_type_mask): New. Compact type representation for type
1092         checking.
1093         (N_SU_ALL, N_SU_32, N_SU_16_64, N_SUF_32, N_I_ALL, N_IF_32): Common
1094         permitted type combinations.
1095         (N_IGNORE_TYPE): New macro.
1096         (neon_check_shape): New function. Check an instruction shape for
1097         multiple alternatives. Return the specific shape for the current
1098         instruction.
1099         (neon_modify_type_size): New function. Modify a vector type and
1100         size, depending on the bit mask in argument 1.
1101         (neon_type_promote): New function. Convert a given "key" type (of an
1102         operand) into the correct type for a different operand, based on a bit
1103         mask.
1104         (type_chk_of_el_type): New function. Convert a type and size into the
1105         compact representation used for type checking.
1106         (el_type_of_type_ckh): New function. Reverse of above (only when a
1107         single bit is set in the bit mask).
1108         (modify_types_allowed): New function. Alter a mask of allowed types
1109         based on a bit mask of modifications.
1110         (neon_check_type): New function. Check the type of the current
1111         instruction against the variable argument list. The "key" type of the
1112         instruction is returned.
1113         (neon_dp_fixup): New function. Fill in and modify instruction bits for
1114         a Neon data-processing instruction depending on whether we're in ARM
1115         mode or Thumb-2 mode.
1116         (neon_logbits): New function.
1117         (neon_three_same, neon_two_same, do_neon_dyadic_i_su)
1118         (do_neon_dyadic_i64_su, neon_imm_shift, do_neon_shl_imm)
1119         (do_neon_qshl_imm, neon_cmode_for_logic_imm)
1120         (neon_bits_same_in_bytes, neon_squash_bits, neon_is_quarter_float)
1121         (neon_qfloat_bits, neon_cmode_for_move_imm, neon_write_immbits)
1122         (neon_invert_size, do_neon_logic, do_neon_bitfield, neon_dyadic)
1123         (do_neon_dyadic_if_su, do_neon_dyadic_if_su_d, do_neon_dyadic_if_i)
1124         (do_neon_dyadic_if_i_d, do_neon_addsub_if_i, neon_exchange_operands)
1125         (neon_compare, do_neon_cmp, do_neon_cmp_inv, do_neon_ceq)
1126         (neon_scalar_for_mul, neon_mul_mac, do_neon_mac_maybe_scalar)
1127         (do_neon_tst, do_neon_mul, do_neon_qdmulh, do_neon_fcmp_absolute)
1128         (do_neon_fcmp_absolute_inv, do_neon_step, do_neon_abs_neg)
1129         (do_neon_sli, do_neon_sri, do_neon_qshlu_imm, do_neon_qmovn)
1130         (do_neon_qmovun, do_neon_rshift_sat_narrow)
1131         (do_neon_rshift_sat_narrow_u, do_neon_movn, do_neon_rshift_narrow)
1132         (do_neon_shll, neon_cvt_flavour, do_neon_cvt, neon_move_immediate)
1133         (do_neon_mvn, neon_mixed_length, do_neon_dyadic_long, do_neon_abal)
1134         (neon_mac_reg_scalar_long, do_neon_mac_maybe_scalar_long)
1135         (do_neon_dyadic_wide, do_neon_vmull, do_neon_ext, do_neon_rev)
1136         (do_neon_dup, do_neon_mov, do_neon_rshift_round_imm, do_neon_movl)
1137         (do_neon_trn, do_neon_zip_uzp, do_neon_sat_abs_neg)
1138         (do_neon_pair_long, do_neon_recip_est, do_neon_cls, do_neon_clz)
1139         (do_neon_cnt, do_neon_swp, do_neon_tbl_tbx, do_neon_ldm_stm)
1140         (do_neon_ldr_str, do_neon_ld_st_interleave, neon_alignment_bit)
1141         (do_neon_ld_st_lane, do_neon_ld_dup, do_neon_ldx_stx): New
1142         functions. Neon bit encoding and encoding helpers.
1143         (parse_neon_type): New function. Parse Neon type specifier.
1144         (opcode_lookup): Allow parsing of Neon type specifiers.
1145         (REGNUM2, REGSETH, REGSET2): New macros.
1146         (reg_names): Add new VFPv3 and Neon registers.
1147         (NUF, nUF, NCE, nCE): New macros for opcode table.
1148         (insns): More VFP registers allowed in fcpyd, fmdhr, fmdlr, fmrdh,
1149         fmrdl, fabsd, fnegd, fsqrtd, faddd, fsubd, fmuld, fdivd, fmacd,
1150         fmscd, fnmuld, fnmacd, fnmscd, fcmpd, fcmpzd, fcmped, fcmpezd,
1151         fmdrr, fmrrd. Add Neon instructions vaba, vhadd, vrhadd, vhsub,
1152         vqadd, vqsub, vrshl, vqrshl, vshl, vqshl{u}, vand, vbic, vorr, vorn,
1153         veor, vbsl, vbit, vbif, vabd, vmax, vmin, vcge, vcgt, vclt, vcle,
1154         vceq, vpmax, vpmin, vmla, vmls, vpadd, vadd, vsub, vtst, vmul,
1155         vqdmulh, vqrdmulh, vacge, vacgt, vaclt, vacle, vrecps, vrsqrts,
1156         vabs, vneg, v{r}shr,  v{r}sra, vsli, vsri, vqshrn, vq{r}shr{u}n,
1157         v{r}shrn, vshll, vcvt, vmov, vmvn, vabal, vabdl, vaddl, vsubl,
1158         vmlal, vmlsl, vaddw, vsubw, v{r}addhn, v{r}subhn, vqdmlal, vqdmlsl,
1159         vqdmull, vmull, vext, vrev64, vrev32, vrev16, vdup, vmovl, v{q}movn,
1160         vzip, vuzp, vqabs, vqneg, vpadal, vpaddl, vrecpe, vrsqrte, vcls,
1161         vclz, vcnt, vswp, vtrn, vtbl, vtbx, vldm, vstm, vldr, vstr,
1162         vld[1234], vst[1234], fconst[sd], f[us][lh]to[sd], fto[us][lh][sd].
1163         (tc_arm_regname_to_dw2regnum): Update for arm_reg_parse args.
1164         (arm_cpu_option_table): Add Neon and VFPv3 to Cortex-A8.
1165         (arm_option_cpu_value): Add vfp3 and neon.
1166         (aeabi_set_public_attributes): Support VFPv3 and NEON attributes.
1167         Fix VFPv1 attribute.
1169         * gas/testsuite/gas/arm/copro.s: Avoid ldcl which encodes as a bad Neon
1170         instruction.
1171         * gas/testsuite/gas/arm/copro.d: Update accordingly.
1172         * gas/testsuite/gas/arm/neon-cond.s: New test. Conditional Neon opcodes
1173         in ARM mode.
1174         * gas/testsuite/gas/arm/neon-cond.d: Expected results of above.
1175         * gas/testsuite/gas/arm/neon-cov.s: New test. Coverage of Neon
1176         instructions.
1177         * gas/testsuite/gas/arm/neon-cov.d: Expected results of above.
1178         * gas/testsuite/gas/arm/neon-ldst-es.s: New test. Element and structure
1179         loads and stores.
1180         * gas/testsuite/gas/arm/neon-ldst-es.d: Expected results of above.
1181         * gas/testsuite/gas/arm/neon-ldst-rm.s: New test. Single and multiple
1182         register loads and stores.
1183         * gas/testsuite/gas/arm/neon-ldst-rm.d: Expected results of above.
1184         * gas/testsuite/gas/arm/neon-omit.s: New test. Omission of optional
1185         operands.
1186         * gas/testsuite/gas/arm/neon-omit.d: Expected results of above.
1187         * gas/testsuite/gas/arm/vfp1.d: Expect Neon syntax for some VFP
1188         instructions.
1189         * gas/testsuite/gas/arm/vfp1_t2.d: Likewise.
1190         * gas/testsuite/gas/arm/vfp1xD.d: Likewise.
1191         * gas/testsuite/gas/arm/vfp1xD_t2.d: Likewise.
1192         * gas/testsuite/gas/arm/vfp2.d: Likewise.
1193         * gas/testsuite/gas/arm/vfp2_t2.d: Likewise.
1194         * gas/testsuite/gas/arm/vfp3-32drs.s: New test. Extended D register
1195         range for VFP instructions.
1196         * gas/testsuite/gas/arm/vfp3-32drs.d: Expected results of above.
1197         * gas/testsuite/gas/arm/vfp3-const-conv.s: New test. VFPv3
1198         constant-load and conversion instructions.
1199         * gas/testsuite/gas/arm/vfp3-const-conv.d: Expected results of above.
1201         * include/opcode/arm.h (FPU_VFP_EXT_V3): Define constant.
1202         (FPU_NEON_EXT_V1): Likewise.
1203         (FPU_VFP_HARD): Update.
1204         (FPU_VFP_V3): Define macro.
1205         (FPU_ARCH_VFP_V3, FPU_ARCH_VFP_V3_PLUS_NEON_V1): Define macros.
1207         * opcodes/arm-dis.c (coprocessor_opcodes): Add %A, %B, %k,
1208         convert %<code>[zy] into %[zy]<code>.  Expand meaning of
1209         %<bitfield>['`?].
1210         Add unified load/store instruction names.
1211         (neon_opcode_table): New.
1212         (arm_opcodes): Expand meaning of %<bitfield>['`?].
1213         (arm_decode_bitfield): New.
1214         (print_insn_coprocessor): Add pc argument. Add %A & %B specifiers.
1215         Use arm_decode_bitfield and adjust numeric specifiers.
1216         Adjust %z & %y.
1217         (print_insn_neon): New.
1218         (print_insn_arm): Adjust print_insn_coprocessor call. Call
1219         print_insn_neon. Use arm_decode_bitfield and adjust numeric specifiers.
1220         (print_insn_thumb32): Likewise.
1222 2005-04-01  Paul Brook  <paul@codesourcery.com>
1224         * config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
1226 2006-03-30  Mark Mitchell <mark@codesourcery.com>
1228         * libiberty/configure.ac: Add cygpath for mingw hosts.
1229         * libiberty.configure: Rebuilt.
1230         * libiberty/Makefile.in: Add cygpath.
1231         * libiberty/cygpath.c: New.
1233 2006-03-30  Jim Blandy  <jimb@codesourcery.com>
1235         * include/libiberty.h (pex_write_input): New declaration.
1237         * libiberty/pex-common.c (pex_write_input): New function.
1238         * libiberty/pexecute.txh (pex_write_input): Document it.
1239         * libiberty/pex-common.h (struct pex_funcs): New function ptr fdopenw.
1240         * libiberty/pex-unix.c (pex_unix_fdopenw): New function.
1241         (funcs): List it as our fdopenw function.
1242         * libiberty/pex-win32.c (pex_win32_fdopenw): New function.
1243         (funcs): List it as our fdopenw function.
1244         * libiberty/pex-djgpp.c (funcs): Leave fdopenw null.
1245         * libiberty/pex-msdos (funcs): Same.
1246         * libiberty/functions.texi: Regenerated.
1248         * libiberty/pex-common.h (struct pex_obj): Doc fixes.
1250         * libiberty/functions.texi: Regenerate.
1252 2006-03-27  Mark Mitchell  <mark@codesourcery.com>
1254         * libiberty/pex-win32.c (pex_win32_exec_child): Close stdout/stderr
1255         in parent.
1257 2006-03-26  Nathan Sidwell  <nathan@codesourcery.com>
1259         * gas/config/tc-m68k.c (m68k_init_arch): Move checking of
1260         cfloat/m68881 to correct architecture before using it.
1262 2006-03-21  Paul Brook  <paul@codesourcery.com>
1264         * gas/config/tc-arm.c (md_apply_fix): Fix typo in offset mask.
1266 2006-03-21  Nathan Sidwell  <nathan@codesourcery.com>
1268         * gas/config/tc-m68k.c (find_cf_chip): Merge into ...
1269         (m68k_ip): ... here.  Use for all chips.  Protect against buffer
1270         overrun and avoid excessive copying.
1272         * gcc/config/tc-m68k.c (m68000_control_regs, m68010_control_regs,
1273         m68020_control_regs, m68040_control_regs, m68060_control_regs,
1274         mcf_control_regs, mcf5208_control_regs, mcf5213_control_regs,
1275         mcf5329_control_regs, mcf5249_control_regs, mcf528x_control_regs,
1276         mcfv4e_control_regs, m68010_control_regs): Rename and reorder to ...
1277         (m68000_ctrl, m68010_ctrl, m68020_ctrl, m68040_ctrl, m68060_ctrl,
1278         mcf_ctrl, mcf5208_ctrl, mcf5213_ctrl, mcf5235_ctrl, mcf5249_ctrl, 
1279         mcf5216_ctrl, mcf5250_ctrl, mcf5271_ctrl, mcf5272_ctrl,
1280         mcf5282_ctrl, mcfv4e_ctrl): ... these.
1281         (mcf5275_ctrl, mcf5329_ctrl, mcf5373_ctrl): New.
1282         (struct m68k_cpu): Change chip field to control_regs.
1283         (current_chip): Remove.
1284         (control_regs): New.
1285         (m68k_archs, m68k_extensions): Adjust.
1286         (m68k_cpus): Reorder to be in cpu number order.  Adjust.
1287         (CPU_ALLOW_MC, CPU_ALLOW_NEGATION): Remove.
1288         (find_cf_chip): Reimplement for new organization of cpu table.
1289         (select_control_regs): Remove.
1290         (mri_chip): Adjust.
1291         (struct save_opts): Save control regs, not chip.
1292         (s_save, s_restore): Adjust.
1293         (m68k_lookup_cpu): Give deprecated warning when necessary.
1294         (m68k_init_arch): Adjust.
1295         (md_show_usage): Adjust for new cpu table organization.
1296         * include/opcode/m68k.h (cpu_m68k, cpu_cf, cpu_m68000, cpu_m68008,
1297         cpu_m68010, cpu_m68020, cpu_m68ec030, cpu_m68040, cpu_m68060,
1298         cpu_m68851, cpu_m68881, cpu_m68882, cpu_cpu32, cpu_cf5200, cpu_cf5206e,
1299         cpu_cf5208, cpu_cf521x, cpu_cf5213, cpu_cf5249, cpu_cf528x,
1300         cpu_cf5307, cpu_cf5329, cpu_cf5407, cpu_cf547x, cpu_cf548x): Remove.
1302 2006-03-20  Mark Mitchell  <mark@codesourcery.com>
1304         * libiberty/pex-win32.c (<errno.h>): Include.
1305         (fix_argv): Remove.
1306         (argv_to_cmdline): New function.
1307         (std_suffixes): New variable.
1308         (no_suffixes): Likewise.
1309         (find_executable): New function.
1310         (win32_spawn): Likewise.
1311         (spawn_script): Use win32_spawn instead of _spawnv[p].
1312         (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
1313         (pex_win32_wait): Likewise.
1315 2006-03-21  Richard Sandiford  <richard@codesourcery.com>
1317         * bfd/cpu-m68k.c (bfd_m68k_compatible): Treat ISA A+ and ISA B code as
1318         incompatible.  Likewise MAC and EMAC code.
1319         * bfd/elf32-m68k.c (elf32_m68k_merge_private_bfd_data): Use
1320         bfd_get_compatible to set the new bfd architecture.  Rely on it
1321         to detect incompatibilities.
1322         * gas/config/tc-m68k.c (m68k_cpus): Change cpu_cf5208 entries to use
1323         mcfemac instead of mcfmac.
1324         * ld/testsuite/ld-m68k/merge-error-1a.s,
1325         * ld/testsuite/ld-m68k/merge-error-1b.s,
1326         * ld/testsuite/ld-m68k/merge-error-1a.d,
1327         * ld/testsuite/ld-m68k/merge-error-1b.d,
1328         * ld/testsuite/ld-m68k/merge-error-1c.d,
1329         * ld/testsuite/ld-m68k/merge-error-1d.d,
1330         * ld/testsuite/ld-m68k/merge-error-1e.d,
1331         * ld/testsuite/ld-m68k/merge-ok-1a.d,
1332         * ld/testsuite/ld-m68k/merge-ok-1b.d: New tests.
1333         * ld/testsuite/ld-m68k/m68k.exp: Run them.
1335 2006-03-20  Paul Brook  <paul@codesourcery.com>
1337         * gas/config/tc-arm.c (insns): Correct opcodes for ldrbt and strbt.
1338         * gas/testsuite/gas/arm/thumb32.d: Correct expected output.
1340 2006-03-20  Paul Brook  <paul@codesourcery.com>
1342         * gas/config/tc-arm.c (parse_operands): Set default error message.
1344 2006-03-20  Paul Brook  <paul@codesourcery.com>
1346         * gas/config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
1348 2006-03-20  Paul Brook  <paul@codesourcery.com>
1350         * gas/config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
1352         * gas/testsuite/gas/arm/blx-local.d: New test.
1353         * gas/testsuite/gas/arm/blx-local.d: New test.
1355 2006-03-20  Paul Brook  <paul@codesourcery.com>
1357         * gas/config/tc-arm.c (THUMB2_LOAD_BIT): Define.
1358         (move_or_literal_pool): Handle Thumb-2 instructions.
1359         (do_t_ldst): Call move_or_literal_pool for =N addressing modes.
1361         * gas/testsuite/gas/arm/thumb2_pool.d: New test.
1362         * gas/testsuite/gas/arm/thumb2_pool.s: New test.