* config/rx-parse.y: Make the .L optional for ADC and SBB.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
e91a22ce
DD
12012-04-03 DJ Delorie <dj@redhat.com>
2
3 * config/rx-parse.y: Make the .L optional for ADC and SBB.
4
b1c0804b
DD
52012-04-02 DJ Delorie <dj@redhat.com>
6
7 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
8 transfer size.
9 (IMM): New, call IMM_ with the default 32.
10 (IMMW,IMMB): Likewise, for 16 and 8.
11 (NIMM, MBIMM): Add size parameter.
12 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
13 (MOV.W): Use IMMW instead of IMM.
14
15 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
16 (op_dp20_rm_l): New.
17 (op_dp20_rim_l): New.
18
19 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
20 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
21
ce32bd10
MGD
222012-03-29 Terry Guo <terry.guo@arm.com>
23
24 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
25 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
26
55a36193
MK
272012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
28
29 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
30 * doc/c-mips.texi: Mention XLP.
31
32b9ff0d
TS
322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
33
34 [SH] Support the .uaquad and .8byte directives also for non-sh64
35 configurations.
36
37 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
38 BFD_RELOC_64.
39 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
40 description...
41 * doc/c-sh.texi (SH Machine Directives): ... here.
42
7465e07a
NC
432012-03-20 Nick Clifton <nickc@redhat.com>
44
45 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
46 registers.
47 (do_vmsr): Likewise.
48 (arm_opcode_insns): Do not default to using the FPSCR register in
49 the VMRS and VMSR registers.
50
8059fb19
RM
512012-03-16 Roland McGrath <mcgrathr@google.com>
52
53 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
54 Define for this case.
55 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
56
69239280
MGD
572012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
58
59 * config/tc-arm.c (aeabi_set_public_attributes): Correct
60 handling of Tag_DIV_use.
61
27dcf5c0
TS
622012-03-15 Thomas Schwinge <thomas@codesourcery.com>
63
64 * doc/as.texinfo (Bundle directives): Fix typo.
65
ec82c18e
L
662012-03-14 Ryan Mansfield <rmansfield@qnx.com>
67
68 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
69
8d3eaee6 702012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
71
72 * config/tc-arm.c (arm_frag_max_var): New function.
73 * config/tc-arm.h: Declare it.
74 (md_frag_max_var): New macro.
75
76 * config/tc-i386.c (i386_frag_max_var): New function.
77 * config/tc-i386.h: Declare it.
78 (md_frag_max_var): New macro.
79
80 * doc/as.texinfo (Bundle directives): New node.
81 (Pseudo Ops): Add it to the menu.
82 * NEWS: Mention new feature.
83 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
84 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
85 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
86 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
87 New functions.
88 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
89 to md_assembly if not.
90 (read_a_source_file): Call assemble_one in place of md_assemble.
91 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
92 .bundle_lock at end of processing.
93 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
94 New functions.
95 [HANDLE_BUNDLE] (potable): Add their entries.
96 * read.h: Declare new functions.
97
aea77599
AM
982012-03-10 Edmar Wienskoski <edmar@freescale.com>
99
100 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
101 (ppc_handle_align): Add termination nop opcode for e500mc family.
102 * doc/as.texinfo: Document options -me5500 and -me6500.
103 * doc/c-ppc.texi: Likewise.
104
0a22ae8e
NC
1052012-03-07 Nick Clifton <nickc@redhat.com>
106
107 * config/tc-mn10300.c (other_registers): Add SSP and USP.
108 (md_assemble): Add support for TLS relocs.
109 (mn10300_parse_name): Likewise.
110
805e800d
AM
1112012-02-27 Alan Modra <amodra@gmail.com>
112
113 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
114
b9fcee79
AM
1152012-02-27 Alan Modra <amodra@gmail.com>
116
117 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
118 params. Properly generate NOP pattern. Comment reason for
119 subseg_text_p failure.
120
35a35807
AM
1212012-02-27 Alan Modra <amodra@gmail.com>
122
123 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
124 and sign extend before range tests.
125 (constant_fits_size_p): Similarly.
126 (get_specific): Trim X_add_number to 32 bits.
127 (fix_operand_size): Likewise, and use unsigned test for signed
128 ranges.
129
1f42f8b3
AM
1302012-02-27 Alan Modra <amodra@gmail.com>
131
132 * config/tc-crx.c: Include bfd_stdint.h.
133 (getconstant): Remove irrelevant comment. Don't fail due to
134 sign-extension of int mask.
135 (check_range): Rewrite using unsigned arithmetic throughout.
136
481fe810
WL
1372012-02-25 Walter Lee <walt@tilera.com>
138
139 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
140 non-local before checking sy_value.
141 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
142
6f7be959
WL
1432012-02-25 Walter Lee <walt@tilera.com>
144
145 * tc-tilepro.c (O_tls_le): Define operator.
146 (O_tls_le_lo16): Ditto.
147 (O_tls_le_hi16): Ditto.
148 (O_tls_le_ha16): Ditto.
149 (O_tls_gd_call): Ditto.
150 (O_tls_gd_add): Ditto.
151 (O_tls_ie_load): Ditto.
152 (md_begin): Delete old operators; handle new operators.
153 (emit_tilepro_instruction): Ditto.
154 (md_apply_fix): Ditto.
155 * tc-tilegx.c (O_hw1_got): Delete operator.
156 (O_hw2_got): Ditto.
157 (O_hw3_got): Ditto.
158 (O_hw2_last_got): Ditto.
159 (O_hw1_tls_gd): Ditto.
160 (O_hw2_tls_gd): Ditto.
161 (O_hw3_tls_gd): Ditto.
162 (O_hw2_last_tls_gd): Ditto.
163 (O_hw1_tls_ie): Ditto.
164 (O_hw2_tls_ie): Ditto.
165 (O_hw3_tls_ie): Ditto.
166 (O_hw2_last_tls_ie): Ditto.
167 (O_hw0_tls_le): Define operator.
168 (O_hw0_last_tls_le): Ditto.
169 (O_hw1_last_tls_le): Ditto.
170 (O_tls_gd_call): Ditto.
171 (O_tls_gd_add): Ditto.
172 (O_tls_ie_load): Ditto.
173 (O_tls_add): Ditto.
174 (md_begin): Delete old operators; handle new operators.
175 (emit_tilegx_instruction): Ditto.
176 (md_apply_fix): Ditto.
177 * doc/c-tilegx.texi: Delete old operators; document new operators.
178 * doc/c-tilepro.texi: Ditto.
179
82590249
WL
1802012-02-25 Walter Lee <walt@tilera.com>
181
5414dbef
WL
182 * tc-tilepro.c (apply_special_operator): delete cases for
183 got and tls operators.
184 (md_apply_fix): Ditto.
fb6cedde
WL
185 * tc-tilegx.c (md_begin): Set architecture and machine.
186 (tilegx_target_format): Handle big endian.
187 (OPTION_EB): Define.
188 (OPTION_EL): Define.
189 (md_longopts): Add entries for "EB" and "EL".
190 (md_parse_option): Handle OPTION_EB and OPTION_EL.
191 (md_show_usage): Add -EB and -EL.
192 (md_number_to_chars): New.
5414dbef
WL
193 (apply_special_operator): delete cases for got and tls
194 operators.
195 (md_apply_fix): Ditto.
fb6cedde
WL
196 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
197 ifndef.
198 (md_number_to_chars): Delete.
199 * configure.tgt (tilegx*be): Handle.
200 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
201 * doc/c-tilegx.texi: Ditto.
82590249 202
82c2def5
L
2032012-02-21 H.J. Lu <hongjiu.lu@intel.com>
204
205 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
206 HLEPrefixAny and HLEPrefixRelease.
207
1bf10b0d
NC
2082012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
209
210 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
211
16a87420
IS
2122012-02-21 Iain Sandoe <idsandoe@googlemail.com>
213
214 * write.c (write_object_file): Add md_pre_output_hook.
215 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
216 (obj_mach_o_pre_output_hook): New.
217 * config/obj-macho.h (md_pre_output_hook): Define.
218 (obj_mach_o_pre_output_hook): Declare.
219
cdaa5616
IS
2202012-02-21 Tristan Gingold <gingold@adacore.com>
221
222 * config/tc-i386.h (OBJ_MACH_O): New section.
223 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
224 (TC_FORCE_RELOCATION_SUB_SAME): New
225 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
226 (TC_VALIDATE_FIX_SUB): New.
227 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
228 * symbols.c (colon): obj_frob_colon: New hook.
229 * write.c (write_object_file): md_pre_relax_hook, new
230 hook.
231 * config/obj-macho.c (obj_mach_o_frob_colon): New.
232 (obj_mach_o_frob_label): Record sub-section labels.
233 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
234 (obj_mach_o_set_subsections): New.
235 (obj_mach_o_pre_relax_hook): New.
236 (obj_mach_o_in_different_subsection): New.
237 (obj_mach_o_force_reloc_sub_same): New.
238 (obj_mach_o_force_reloc_sub_local): New.
239 (obj_mach_o_force_reloc): New.
240 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
241 (obj_frob_colon): New Define.
242 (obj_mach_o_frob_label): Renamed.
243 (obj_mach_o_frob_symbol): Renamed.
244 (OBJ_FRAG_TYPE): New.
245 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
246 obj_mach_o_force_reloc_sub_same,
247 obj_mach_o_force_reloc_sub_local): New declarations.
248
854ac8ba
IS
2492012-02-20 Iain Sandoe <idsandoe@googlemail.com>
250
251 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
252 (obj_mach_o_allow_local_subtract): New.
253 * config/obj-macho.h (md_allow_local_subtract): Define.
254 (obj_mach_o_allow_local_subtract): Declare.
255
a5759139
IS
2562012-02-20 Iain Sandoe <idsandoe@googlemail.com>
257
258 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
259 canonical information, try to determine CODE and DEBUG section flags
260 from the mach-o section data.
261
9ad45734
NC
2622012-02-20 Nick Clifton <nickc@redhat.com>
263
264 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
265 local symbols.
266
8e43fc02
IS
2672012-02-12 Iain Sandoe <idsandoe@googlemail.com>
268
269 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
270 any local symbol used as an indirect.
271
fb4914b0
IS
2722012-02-10 Iain Sandoe <idsandoe@googlemail.com>
273
274 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
275 stub size when provided. (obj_mach_o_section): Flag that stub-size
276 has been provided.
277
42164a71
L
2782012-02-08 H.J. Lu <hongjiu.lu@intel.com>
279
280 * config/tc-i386.c (HLE_PREFIX): New.
281 (check_hle): Likewise.
282 (_i386_insn): Add have_hle.
283 (cpu_arch): Add .hle and .rtm.
284 (md_assemble): Call check_hle if i.have_hle isn't zero.
285 (parse_insn): Set i.have_hle to 1 for HLE prefix.
286 (output_jump): Support up to 2 byte opcode.
287
288 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
289
facf03f2
TG
2902012-02-02 Tristan Gingold <gingold@adacore.com>
291
292 * config/obj-macho.c (obj_mach_o_zerofill): Silent
293 uninitialized variable warning.
294
f6616a06
NC
2952012-02-02 Nick Clifton <nickc@redhat.com>
296
297 PR gas/13224
298 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
299 to 'is_clone' to avoid shadowing a gloabl.
300 (obj_elf_section): Likewise.
301
bac03263 3022012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 303
bac03263
PB
304 * doc/c-tic6x.c: Fix typo.
305
f8819316
NC
3062012-01-26 Alexey Makhalov <makhaloff@gmail.com>
307
308 PR gas/13624
309 * app.c (app_push): Set 'add_newlines' to zero after saving.
310
21abe33a
DD
3112012-01-24 DJ Delorie <dj@redhat.com>
312
313 * config/rl78-parse.y (NOT1): Add.
314
8d63c93e
RM
3152012-01-23 Roland McGrath <mcgrathr@google.com>
316
317 * configure.tgt (i386-*-nacl*): Match it.
318 * config/te-nacl.h: New file.
319 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
320 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
321 Use TE_GNU et al case for TE_NACL too.
322
a501d77e
L
3232012-01-20 H.J. Lu <hongjiu.lu@intel.com>
324
325 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
326 disp_encoding.
327 (md_assemble): Updated.
328 (output_branch): Likewise.
329 (parse_insn): Support .d8 suffix.
330 (build_modrm_byte): Fake zero displacement for .d8 and .d32
331 suffixes.
332
333 * doc/c-i386.texi: Document .d8 suffix.
334
032fbb7a
AM
3352012-01-17 Andrew Burgess <aburgess@broadcom.com>
336
337 * write.c (fix_new_internal): Don't mark used parameter as unused.
338
576477a6
AM
3392012-01-17 Alan Modra <amodra@gmail.com>
340
341 * as.c (parse_args): Update copyright message year.
342
8729a6f6
L
3432012-01-13 H.J. Lu <hongjiu.lu@intel.com>
344
345 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
346
347 * doc/c-i386.texi: Document vmfunc.
348
34dd18bc
IS
3492012-01-13 Tristan Gingold <gingold@adacore.com>
350
351 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
352 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
353 (obj_mach_o_reorder_section_relocs): Declare.
354
687be931
IS
3552012-01-13 Iain Sandoe <idsandoe@googlemail.com>
356
357 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
358 absolute indirect symbols.
359
c3402d20
IS
3602012-01-13 Iain Sandoe <idsandoe@googlemail.com>
361
362 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
363 (obj_mach_o_set_section_vma): New.
364 (obj_mach_o_post_relax_hook): New.
365 * config/obj-macho.h (md_post_relax_hook): Define.
366 (obj_mach_o_post_relax_hook): Declare.
367
50d10658
IS
3682012-01-12 Iain Sandoe <idsandoe@googlemail.com>
369
370 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
371 lazy when the symbol is private_extern.
372 (obj_mach_o_indirect_sym): New type.
373 (obj_mach_o_indirect_symbol): New.
374 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
375 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
376 (obj_macho_frob_label): Likewise. Adjust external and comm
377 symbol tests.
378 (obj_mach_o_set_indirect_symbols): New.
379 (obj_mach_o_frob_file_after_relocs): New.
380 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
381 (obj_mach_o_frob_file_after_relocs): Declare.
382
0a4734dc
TG
3832012-01-12 Tristan Gingold <gingold@adacore.com>
384
385 PR gas/13591
386 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
387
158184ac
TG
3882012-01-10 Tristan Gingold <gingold@adacore.com>
389
390 * struc-symbol.h (struct symbol_flags): New struct, created from...
391 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
392 (struct local_symbol): Replace lsy_marker field by lsy_flags.
393 Adjust comment.
394 (local_symbol_resolved_p): Adjust.
395 (local_symbol_mark_resolved): Likewise.
396 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
397 (local_symbol_make, local_symbol_convert, colon)
398 (symbol_clone_if_forward_ref, verify_symbol_chain)
399 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
400 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
401 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
402 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
403 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
404 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
405 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
406 (symbol_mark_mri_common, symbol_clear_mri_common)
407 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
408 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
409 (symbol_equated_reloc_p, dot_symbol_init)
410 (print_symbol_value_1): Adjust.
411
b22161d6
IS
4122012-01-09 Iain Sandoe <idsandoe@googlemail.com>
413
414 * config/obj-macho.c (obj_mach_o_weak): Remove.
415 (obj_mach_o_common_parse): Set symbol qualifiers.
416 (LAZY, REFE): New macros.
417 (obj_mach_o_symbol_type): New enum.
418 (obj_mach_o_set_symbol_qualifier): New.
419 (obj_mach_o_sym_qual): New.
420 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
421 a dummy function.
422 (obj_mach_o_type_for_symbol): New.
423 (obj_macho_frob_label): New.
424 (obj_macho_frob_symbol): New.
425 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
426 (obj_frob_label, obj_macho_frob_label): Declare.
427 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
428
de64cffd
RS
4292012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
430
431 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
432
462427c4
RS
4332012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
434 Richard Sandiford <rdsandiford@googlemail.com>
435
436 * config/tc-mips.c (mips_move_labels): Take the list of labels and
437 textness as parameters.
438 (mips_move_text_labels): New function.
439 (append_insn): Use it instead of mips_move_labels.
440 (mips_emit_delays, start_noreorder): Likewise.
441 (mips_align): Take the labels rather than just one label.
442 Move all labels to after the .align.
443 (s_align): Change the last argument to mips_align.
444 (s_cons): Likewise.
445 (s_float_cons): Likewise.
446 (s_gpword): Likewise.
447 (s_gpdword): Likewise.
448
d382c579
TG
4492012-01-06 Tristan Gingold <gingold@adacore.com>
450
451 * config/tc-i386.c: Update copyright year.
452 (lex_got): Also defined for Mach-O.
453 Add a guard for non-ELF configuration.
454 (md_longopts): Also handle -64 for Mach-O.
455 (md_parse_option): Likewise.
456 (i386_target_format): Adjust for x86_64-darwin.
457
8cf6e084
IS
4582012-01-04 Iain Sandoe <idsandoe@googlemail.com>
459
460 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
461 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
462 (obj_mach_o_make_or_get_sect): Likewise.
463 (obj_mach_o_section): Split out the functionality shared with zerofill.
464 (obj_mach_o_zerofill): New.
465 (obj_mach_o_common_parse): Ensure whitespace is skipped.
466 (mach_o_pseudo_table): Add .zerofill.
467
68588f95
IS
4682012-01-03 Iain Sandoe <idsandoe@googlemail.com>
469
470 * config/obj-macho.c (obj_macho_process_stab): New.
471 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
472 (obj_macho_process_stab): Declare.
473
23e1d329 474For older changes see ChangeLog-2011
08d56133
NC
475\f
476Local Variables:
477mode: change-log
478left-margin: 8
479fill-column: 74
480version-control: never
481End:
This page took 0.526706 seconds and 4 git commands to generate.