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