Backport from git Libtool:
[binutils.git] / gas / ChangeLog
blobb3f22a87b4f572eeaf392824affc9fc6954c7b1f
1 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
3         * configure: Regenerate.
5 2009-02-26  Peter Bergner  <bergner@vnet.ibm.com>
7         * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
8         "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
9         (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
11 2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
13         * config/tc-i386.c (fits_in_imm4): Removed.
15 2009-02-24  Helge Deller <deller@gmx.de>
17         * config/tc-hppa.c (pa_ip): Add check of immediate values.
18         (SAVE_IMMEDIATE): New define.
20 2009-02-23  Mark Mitchell  <mark@codesourcery.com>
22         * config/tc-arm.c (warn_deprecated_sp): New macro.
23         (do_t_mov_cmp): Permit R13 as the second
24         argument to "cmp.n".
26 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28         * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
29         (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
31 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33         * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
35 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
37         * config/tc-i386.c (vex_imm4): Removed.
38         (VEX_check_operands): Likewise.
39         (match_template): Updated.
41 2009-02-23  Martin Schwidefsky  <schwidefsky@de.ibm.com>
43         * doc/all.texi: Set S390.
44         * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
45         * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
46         * doc/Makefile.in: Likewise.
47         * doc/c-s390.texi: New.
49 2009-02-12  Nathan Sidwell  <nathan@codesourcery.com>
51         * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
52         (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
53         (mcf5307_ctrl): Add VBR.
54         (no_mac): New variable.
55         (m68k_extensions): Refer to no_mac mask.
56         (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
57         52252..52259, 53011..53017.
58         (m68k_ip): Process CPUCR.
59         (init_table): Add cpucr entry.
60         (m68k_set_extension): Allow negated mask to refer to a variable.
61         (md_show_usage): Use '%s' to silence fprintf warning.
62         * config/m68k-parse.h (CPUCR): New control register.
64 2009-02-10  Nathan Sidwell  <nathan@codesourcery.com>
66         * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
67         as_bad calls to silence compiler warning.
69 2009-02-06  Nick Clifton  <nickc@redhat.com>
71         PR 9814
72         * config/tc-arm.c (MODE_RECORDED): New define.
73         (output_inst): Record the thumb_mode in the current frag.
74         (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
75         (arm_init_frag): Only set the tc_frag_data field if it has not
76         already been set.
78 2009-02-04  H.J. Lu  <hongjiu.lu@intel.com>
80         AVX Programming Reference (January, 2009)
81         * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
82         (CPU_FLAGS_AVX_MATCH): Updated.
83         (CPU_FLAGS_32BIT_MATCH): Likewise.
84         (cpu_flags_match): Likewise.
86 2009-02-03  Sandip Matte  <sandip@rmicorp.com>
88         * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
89         M_MSGWAIT and M_MSGWAIT_T.
90         (mips_cpu_info_table): Add XLR entry.
91         * doc/c-mips.texi (-march): Document xlr.
93 2009-02-03  Eric B. Weddington  <eric.weddington@atmel.com>
95         * config/tc-avr.c (mcu_types): Add ata6289.
96         * doc/c-avr.texi: Likewise.
98 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
100         * configure.in: AC_SUBST pdfdir.
101         * Makefile.am: Add install-pdf, install-pdf-am,
102         and install-pdf-recursive targets.
103         * doc/Makefile.am: Define pdf__strip_dir. Add
104         install-pdf and install-pdf-am targets.
105         * po/Make-in: Add install-pdf target.
106         * configure: Regenerate.
107         * Makefile.in: Regenerate.
108         * doc/Makefile.in: Regenerate.
110 2009-02-03  Maxim Kuvyrkov  <maxim@codesourcery.com>
112         * config/m68k-parse.h (enum pic_relocation): Add values for TLS
113         relocations.
114         * config/m68k-parse.y (yylex): Parse TLS relocations.
115         * config/tc-m68k.c (m68k_elf_cons): New static function.
116         (md_pseudo_table): Use it.
117         (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
118         relocations.
119         (md_apply_fix): Fix to set thread local flag.
120         (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
122 2009-02-03  Vince Weaver <vince@csl.cornell.edu>
124         PR 9779
125         * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
126         indexed addressing for symbolic expressions.
128 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
130         * config/tc-arm.c (BAD_SP): Define.
131         (s_arm_unwind_fnstart): Use REG_SP.
132         (s_arm_unwind_setfp): Likewise.
133         (reject_bad_reg): New macro.
134         (do_co_reg): Check for bad registers.
135         (do_co_reg2c): Likewise.
136         (do_srs): Use REG_SP.
137         (do_t_add_sub): Check for bad registers.
138         (do_t_adr): Likewise.
139         (do_t_arit3): Likewise.
140         (do_t_arit3c): Likewise.
141         (do_t_bfc): Likewise.
142         (do_t_bfi): Likewise.
143         (do_t_bfx): Likewise.
144         (do_t_blx): Likewise.
145         (do_t_bx): Likewise.
146         (do_t_bxj): Likewise.
147         (do_t_clz): Likewise.
148         (do_t_div): Likewise.
149         (do_t_mla): Likewise.
150         (do_t_mlal): Likewise.
151         (do_t_mov_cmp): Likewise.
152         (do_t_mov16): Likewise.
153         (do_t_mvn_tst): Likewise.
154         (do_t_mrs): Likewise.
155         (do_t_msr): Likewise.
156         (do_t_mul): Likewise.
157         (do_t_mull): Likewise.
158         (do_t_orn): Likewise.
159         (do_t_pkhbt): Likewise.
160         (do_t_pld): Likewise.
161         (do_t_rbit): Likewise.
162         (do_t_rev): Likewise.
163         (do_t_rrx): Likewise.
164         (do_t_rsb): Likewise.
165         (do_t_shift): Likewise.
166         (do_t_simd): Likewise.
167         (do_t_ssat): Likewise.
168         (do_t_ssat16): Likewise.
169         (do_t_sxtah): Likewise.
170         (do_t_sxth): Likewise.
171         (do_t_tb): Likewise.
172         (do_t_usat): Likewise.
173         (do_t_usat16): Likewise.
174         (nysn_insert_sp): Use REG_SP.
176 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
178         * config/tc-arm.c (do_t_orn): New function.
179         (do_t_rrx): Likewise.
180         (insns): Add orn and rrx.
182 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
184         * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
185         uasx, uhasx, uhsx, uqasx, uqsax, usax. 
187 2009-01-29  Mark Mitchell  <mark@codesourcery.com>
189         * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
190         qdsub in Thumb-2 mode.
192 2009-01-29  Paul Brook  <paul@codesourcery.com>
193             Mark Mitchell  <mark@codesourcery.com>
195         * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
196         of MUL when possible.
198 2009-01-29  Nick Clifton  <nickc@redhat.com>
200         * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
202 2009-01-29  Nathan Sidwell  <nathan@codesourcery.com>
203             Catherine Moore <clm@codesourcery.com?
205         * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
206         .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
207         directives.
209 2009-01-27  Nick Clifton  <nickc@redhat.com>
211         * config/tc-mips.c (append_insn): Cope with a complex reloc
212         sequence containing an unsupported reloc type.
213         (enum options): Replace computed #define's constants for option
214         numbers with this enum.
215         (struct md_longopts): Use the enum.  Allow OPTION_32 in a non-ELF
216         environment.
217         (md_parse_option): Allow -32 in a non-ELF environment.
219 2009-01-26  Andrew Stubbs  <ams@codesourcery.com>
221         * config/tc-arm.c (attributes_set_explicitly): New array.
222         (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
223         (cpu_arch): Add ARM_ARCH_V5T.
224         (aeabi_set_attribute_int): New function.
225         (aeabi_set_attribute_string): New function.
226         (aeabi_set_public_attributes): Set attributes according to the user's
227         intentions, rather than the actual state of the binary.
228         Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
229         bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
230         Support WMMXv2. Use attribute names instead of numbers.
231         * read.c (s_vendor_attribute): Change return type to int.
232         Return the tag number that was set.
233         * read.h (s_vendor_attribute): Change return type to int.
235 2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>
237         PR 9789
238         * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
239         * doc/c-avr.texi: Likewise.
241 2009-01-23  Nathan Sidwell  <nathan@codesourcery.com>
243         * doc/c-arm.texi (): Document -mwarn-deprecated.
244         * config/tc-arm.c (WARN_DEPRECATED): Remove.  Replace with ...
245         (warn_on_deprecated): ... this.
246         (opcode_lookup, md_assemble): Check it before warning.
247         (arm_opts): Add m[no-]warn-deprecated.
248         (md_parse_option): Replace WARN_DEPRECATED with
249         warn_on_deprecated.
251 2009-01-23  Andreas Schwab  <schwab@suse.de>
253         * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
254         arguments to macro_build to match format.
256         * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
257         * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
259 2009-01-19  Nick Clifton  <nickc@redhat.com>
261         * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
262         ELF format ARM targets.
263         * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
265 2009-01-19  Nick Clifton  <nickc@redhat.com>
267         * configure.tgt: Restore alpha sorting to object format switch
268         statement.
270 2009-01-19  Andrew Stubbs  <ams@codesourcery.com>
272         * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
274 2009-01-16  Mark Shinwell  <shinwell@codesourcery.com>
276         * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
277         * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
279 2009-01-16  Andrew Stubbs  <ams@codesourcery.com>
280             Daniel Jacobowitz  <dan@codesourcery.com>
282         * config/tc-arm.c (arm_copy_symbol_attributes): New function.
283         * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
284         (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
285         * read.c (s_vendor_attribute): Add support for symbolic tag names.
286         Improve string parser.
287         * doc/c-arm.texi (ARM Machine Directives): Document
288         .eabi_attribute symbolic tag names.
290 2009-01-16  Alan Modra  <amodra@bigpond.net.au>
292         * configure.in (commonbfdlib): Delete.
293         * configure: Regenerate.
294         * po/POTFILES.in: Regenerate.
296 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
297             Julian Brown   <julian@codesourcery.com>
299         * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
301 2009-01-15  Andrew Stubbs  <ams@codesourcery.com>
303         * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
304         bfd_elf_add_obj_attr_int_string.
306 2009-01-15  Douglas B Rupp  <rupp@gnat.com>
308         * configure.tgt(ia64-*-*vms*): New target.
309         * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
310         * tc.h (md_number_to_chars): Declare iff undefined.
311         * config/obj-elf.c (obj_elf_change_section): Change type of arg
312         attr to bfd_vma.
313         (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
314         variables attr, md_attr to bfd_vma.
315         (obj_elf_section_word): Likewise.
316         (obj_elf_section): Change type of variable attr to bfd_vma
317         * config/obj-elf.h (obj_elf_change_section): Change type of arg
318         attr to bfd_vma.
319         * config/tc-ia64.c (bfdver.h,time.h): Include.
320         (ia64_elf_section_letter): Now returns a bfd_vma.
321         Handle VMS specific attributes.
322         (ia64_elf_section_flags): Arg attr now a bfd_vma.
323         (ia64_init): Don't turn on dependency checking for VMS.
324         (ia64_target_format): Check for VMS flag bit.
325         (do_alias): Hande decc$ functions.
326         (get_vms_time): New function.
327         (ia64_vms_note): New function.
328         * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
329         (ia64_elf_section_flags): Arg attr now a bfd_vma.
330         (tc_init_after_args): Define for VMS.
331         * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
332         (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
333         * config/tc-alpha.h: Likewise.
334         * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
335         (x86_64_section_word): Return a bfd_vma.
336         * config/tc-i386.h: Likewise.
337         * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
338         attr to bfd_vma.
339         * config/tc-ip2k.h: Likewise.
340         * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
341         (mep_elf_section_flags): Change type of arg attr to bfd_vma.
342         * config/tc-mep.h: Likewise.
343         * config/tc-ppc.c  (ppc_section_letter): Return a bfd_vma.
344         (ppc_section_word): Return a bfd_vma.
345         (ppc_section_flags): Change type of arg attr to bfd_vma.
346         * config/tc-ppc.h: Likewise.
347         * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
348         * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
349         DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
350         New file with new macros
351         * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
352         macros.
354 2009-01-15  Nick Clifton  <nickc@redhat.com>
356         PR 9722
357         * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
358         instructions before generating a Thumb2 nop.
360 2009-01-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
362         * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
364 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
366         * config/tc-spu.c (md_pseudo_table): Add "brinfo".
367         (brinfo): New var.
368         (md_assemble): Poke brinfo into branch instructions.
369         (spu_brinfo): New function.
370         (md_apply_fix): Don't assume insn fields start off at zero, mask
371         them to remove possible brinfo.
373 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
375         * doc/c-i386.texi: Reformat.
377 2009-01-10  H.J. Lu  <hongjiu.lu@intel.com>
379         * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
380         .syscall.
381         (i386_align_code): Handle PROCESSOR_COREI7.
382         (md_show_usage): Add corei7, clflush and syscall.
383         (i386_target_format): Replace cpup4 with cpuclflush.
385         * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
387         * doc/c-i386.texi: Document corei7, clflush and syscall.
389 2009-01-09  H.J. Lu  <hongjiu.lu@intel.com>
391         * config/tc-i386.c (cpu_arch): Add .rdtscp.
392         (md_show_usage): Display rdtscp.
394         * doc/c-i386.texi: Document rdtscp.
396 2009-01-09  Peter Bergner  <bergner@vnet.ibm.com>
398         * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
399         Test the new "deprecated" opcode field.
401 2009-01-07  Sterling Augustine  <sterling@tensilica.com>
403         * config/tc-xtensa.c (produce_flix): New.
404         (option_flix, optoin_no_generate_flix, option_no_flix) Define.
405         (md_longopts): Add support for them.
406         (md_parse_option): Likewise.
407         (md_show_usage): Add help message.
408         (finish_vinsn): Don't allow multi-slot flix when produce_flix
409         option is set to FLIX_NONE.
410         * config/xtensa-relax.c (transition_applies): Only relax to
411         flix branches when produce_flix equals FLIX_ALL.
412         * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
413         FLIX_NONE): New.
414         (produce_flix): Declare.
416 2009-01-06  Chao-ying Fu  <fu@mips.com>
418         * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
419         Use strncmp to match jalr and jalr.hb.
420         Fix a typo.
422 2009-01-05  H.J. Lu  <hongjiu.lu@intel.com>
424         AVX Programming Reference (December, 2008)
425         * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
426         support.  Don't swap REG and NDS for FMA.
428 2009-01-02  Matthias Klose  <doko@ubuntu.com>
430         * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
431         behaviour.
433 For older changes see ChangeLog-2008
435 Local Variables:
436 mode: change-log
437 left-margin: 8
438 fill-column: 74
439 version-control: never
440 End: