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