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