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