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