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