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