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