* powerpc.cc (Powerpc_relobj::add_gc_mark, process_gc_mark): New.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
56c0a61f
RE
12012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2
3 * config/tc-arm.c: Change condition code insertion for
4 lds[hb] instructions from after the 2nd character to after the 3rd.
5 (tCM): Remove macro.
6 (TxCM): Likewise.
7 (TxCM_): Likewise.
8 (TCM): Likewise.
9
5e5c50d3
NE
102012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
11
12 * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
13 * doc/c-i386.texi: Add -march=bdver3 option.
14
04ee5257
NC
152012-10-04 Nick Clifton <nickc@redhat.com>
16
17 * config/tc-v850.c (v850_insert_operand): Use a static buffer for
18 the error message.
19
cfc72779
AK
202012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21
22 * config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
23 * doc/as.texinfo: Document new option zEC12.
24 * doc/c-s390.texi: Likewise.
25
cbf1fdc9
DD
262012-10-03 DJ Delorie <dj@redhat.com>
27
28 * config/tc-rl78.c: Change line_separator to '@' so that '|' can
29 be used in expressions.
30
4fc0b46e
AM
312012-10-01 Alan Modra <amodra@gmail.com>
32
33 * write.c (chain_frchains_together_1): Reorder assertion to avoid
34 uninit warning.
35
b886a2ab
RS
362012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
37
38 * config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
39 * config/tc-mips.c (calculate_reloc): New function.
40 (append_insn): Use it. Do not resolve compound relocations here.
41 (mips16_macro_build, mips16_ip): Use calculate_reloc.
42 (mips16_immed_extend): New function, split out from...
43 (mips16_immed): ...here.
44 (mips_frob_file): Handle null symbols.
45 (mips_force_relocation): Remove NEWABI handling.
46 (read_reloc_insn, write_reloc_insn): New functions.
47 (md_apply_fix): Report TLS relocations against constants.
48 Use read_reloc_insn, calculate_reloc and write_reloc_insn.
49 Report relocations against constants that can't be resolved
50 at assembly time.
51
335574df
RS
522012-09-23 Maciej W. Rozycki <macro@codesourcery.com>
53
54 * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
55 mark as incomplete for constant expressions.
56 <BFD_RELOC_MIPS16_JMP>: Likewise.
57
e1b47bd5
RS
582012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
59 Maciej W. Rozycki <macro@codesourcery.com>
60
61 * config/tc-mips.h (mips_record_label): Delete.
62 (mips_add_dot_label): Declare.
63 (tc_new_dot_label): Use it.
64 * config/tc-mips.c (mips_assembling_insn): New variable.
65 (md_assemble): Call mips_mark_labels. Set mips_assembling_insn
66 while the main part of the function is executing.
67 (mips_compressed_mark_label): New function, split out from...
68 (mips_compressed_mark_labels): ...here.
69 (append_insn): Don't call mips_mark_labels here.
70 (mips_record_label): Make local.
71 (mips_add_dot_label): New function.
72
43c0598f
RS
732012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
74
75 * config/tc-mips.c (SEXT_16BIT): New macro.
76 (mips16_immed): Take the reloc type as a parameter. Do not impose
77 a signed vs. unsigned distinction on the value when a relocation
78 operator was used.
79 (mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
80 type to mips16_immed.
81 (macro): Use SEXT_16BIT.
82
4d68580a
RS
832012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
84
85 * config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
86 New functions.
87 (install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
88 Use them, and write_compressed_insn.
89
5c04167a
RS
902012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
91
92 * config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
93 (MIPS16_EXTEND): New macro.
94 (mips16_opcode_length): New function.
95 (insn_length): Use it.
96 (create_insn): Update after mips_cl_insn change.
97 (write_compressed_insn): New function.
98 (install_insn): Use it.
99 (append_insn): Use insn_length to check for unextended MIPS16
100 instructions.
101 (mips16_macro_build): Update call to mips16_immed.
102 (mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
103 instruction.
104 (mips16_immed): Remove use_extend and extend; install EXTEND
105 opcodes in the upper 16 bits of *INSN instead. Keep the
106 instruction extended if it already is. Replace warn, small
107 and ext with a forced_insn_length-like parameter.
108 (md_convert_frag): Update call mips16_immed.
109 Use write_compressed_insn.
110
60aa667e
L
1112012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
112
113 * config/tc-i386.c (cpu_arch): Add .cx16.
114 * doc/c-i386.texi: Document .cx16.
115
c76b75fd
SE
1162012-09-19 Steve Ellcey <sellcey@mips.com>
117
118 * configure.tgt: Add mips*-mti-elf* target.
119
4b8c8c02
RE
1202012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
121
122 * config/tc-arm.c: Changed ldra and strl-form mnemonics
123 to lda and stl-form for armv8.
124
5a1ad39d
RE
1252012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
126
127 * config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.
128
6c9c0a50
DE
1292012-09-14 David Edelsohn <dje.gcc@gmail.com>
130
131 * configure: Regenerate.
132
e202fa84
AG
1332012-09-13 Anthony Green <green@moxielogic.com>
134
135 * config/tc-moxie.h (DEFAULT_TARGET_FORMAT): Define.
136 (TARGET_FORMAT): Don't hard-code endian-ness.
137 * config/tc-moxie.c (target_big_endian, moxie_target_format):
138 Define.
139 (md_assemble): Handle bi-endian encodings.
140 (md_shortopts, md_parse_option, md_show_usage, md_apply_fix)
141 (md_number_to_chars, md_chars_to_number): Update for bi-endian
142 support.
143
f41aef5f
RE
1442012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
145
146 * config/tc-aarch64.c
147 (reloc_table): Add reloc to table entry.
148 (parse_address_main): Add support for #:<reloc_op>:<symbol>.
149 (parse_operands): Check for unused reloc.
150 (md_apply_fix): New case for reloc.
151 (aarch64_force_relocation): Likewise.
1179bed3
DC
152
1532012-09-11 Georg-Johann Lay <avr@gjlay.de>
154
155 PR gas/13503
156 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO,
157 BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO.
158
5c7a0b3e
AM
1592012-09-11 Alan Modra <amodra@gmail.com>
160
161 * Makefile.am (bootstrap): Add $EXEEXT to dependency.
162 * Makefile.in: Regenerate.
163
00716ab1
AM
1642012-09-10 Matthias Klose <doko@ubuntu.com>
165
166 * config.in: Disable sanity check for kfreebsd.
167
6d2920c8
L
1682012-09-10 H.J. Lu <hongjiu.lu@intel.com>
169
170 * configure: Regenerated.
171
7078b409
AG
1722012-09-07 Anthony Green <green@moxielogic.com>
173
174 * config/tc-moxie.c (md_pcrel_from): Branches are now relative
6d2920c8 175 to the address following the branch instruction.
7078b409 176
1dd53816
AK
1772012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
178
179 * config/tc-s390.c (set_highgprs_p): New variable.
180 (s390_machinemode): New function.
181 (md_pseudo_table): Add new pseudo command machinemode.
182 (md_parse_option): Set set_highgprs_p to TRUE if -mzarch was
183 specified on command line.
184 (s390_elf_final_processing): Set the highgprs flag in the ELF
185 header depending on set_highgprs_p.
186
187 * doc/c-s390.texi: Document new pseudo machinemode.
188
47527d7e
JL
1892012-09-05 James Lemke <jwlemke@codesourcery.com>
190
191 * doc/c-ppc.texi: Document -mvle.
b4b783be 192 * doc/as.texinfo: Likewise.
47527d7e 193
b3e14eda
L
1942012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com>
195
196 * config/tc-ia64.c (reg_symbol): Add a new register.
197 (indirect_reg): Ditto.
198 (pseudo_func): Add new symbolic constants.
199 (operand_match): Add new operand types recognition.
200 (operand_insn): Add new register recognition.
201 (md_begin): Add new register definition.
202 (specify_resource): Add new register recognition.
203
6c106515
HPN
2042012-09-01 Hans-Peter Nilsson <hp@bitrange.com>
205
206 PR gas/14521
207 * config/tc-mmix.h (tc_frob_file_before_fix): Renumber sections
208 after call to mmix_frob_file.
209
b1929900
MR
2102012-08-31 Maciej W. Rozycki <macro@codesourcery.com>
211
212 * doc/c-mips.texi (MIPS Opts): Correct a typo in the -mips5
213 option.
214
e5b95258
WL
2152012-08-27 Walter Lee <walt@tilera.com>
216
217 * tc-tilegx.c (O_hw0_plt): Define operator.
218 (O_hw1_plt): Ditto.
219 (O_hw1_last_plt): Ditto.
220 (O_hw2_last_plt): Ditto.
221 (md_begin): Handle new operators.
222 (emit_tilegx_instruction): Ditto.
223 (md_apply_fix): Ditto.
224 * doc/c-tilegx.texi: Document new operators.
225
3c9017d2
MGD
2262012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
227
228 * config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
229 (do_sha1h): New function.
230 (do_sha1su1): Likewise.
231 (do_sha256su0): Likewise.
232 (insns): Add 2 operand SHA instructions.
233
48adcd8e
MGD
2342012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
235
236 * config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
237 (do_crypto_3op_1): New function.
238 (do_sha1c): Likewise.
239 (do_sha1p): Likewise.
240 (do_sha1m): Likewise.
241 (do_sha1su0): Likewise.
242 (do_sha256h): Likewise.
243 (do_sha256h2): Likewise.
244 (do_sha256su1): Likewise.
245 (insns): Add SHA 3 operand instructions.
246
4f51b4bd
MGD
2472012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
248
249 * config/tc-arm.c (neon_type_mask): Add P64 type.
250 (type_chk_of_el_type): Handle P64 type.
251 (el_type_of_type_chk): Likewise.
252 (do_neon_vmull): Handle VMULL.P64.
253
91ff7894
MGD
2542012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
255
256 * config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
257 (neon_type_mask): Add N_UNT.
258 (neon_check_type): Don't always decay typed to untyped sizes.
259 (do_crypto_2op_1): New function.
260 (do_aese): Likewise.
261 (do_aesd): Likewise.
262 (do_aesmc.8): Likewise.
263 (do_aesimc.8): Likewise.
264 (insns): Add AES instructions.
265
c70a8987
MGD
2662012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
267
268 * config/tc-arm.c (el_type_type_check): Add handling for 16-bit
269 floating point types.
270 (do_neon_cvttb_2): New function.
271 (do_neon_cvttb_1): Likewise.
272 (do_neon_cvtb): Refactor to use do_neon_cvttb_1.
273 (do_neon_cvtt): Likewise.
274
30bdf752
MGD
2752012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
276
277 * config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
278 (neon_cvt_mode): Add neon_cvt_mode_r.
279 (do_vrint_1): New function.
280 (do_vrint_x): Likewise.
281 (do_vrint_z): Likewise.
282 (do_vrint_r): Likewise.
283 (do_vrint_a): Likewise.
284 (do_vrint_n): Likewise.
285 (do_vrint_p): Likewise.
286 (do_vrint_m): Likewise.
287 (insns): Add VRINT instructions.
288
7e8e6784
MGD
2892012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
290
291 * config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
292 (neon_cvt_mode): New enumeration.
293 (do_vfp_nsyn_cvt_fpv8): New function.
294 (do_neon_cvt_1): Add support for new conversions.
295 (do_neon_cvtr): Use neon_cvt_mode enumerator.
296 (do_neon_cvt): Likewise.
297 (do_neon_cvta): New function.
298 (do_neon_cvtn): Likewise.
299 (do_neon_cvtp): Likewise.
300 (do_neon_cvtm): Likewise.
301 (insns): Add new VCVT instructions.
302
6b9a8b67
MGD
3032012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm>
304
305 * config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
306 (CVT_VAR): New helper define.
307 (neon_cvt_flavour): New enumeration, function renamed...
308 (get_neon_cvt_flavour): ...to this.
309 (do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
310 (do_vfp_nsyn_cvtz): Likewise.
311 (do_neon_cvt_1): Likewise.
312
73924fbc
MGD
3132012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
314
315 * config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
316 (vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
317 (vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
318 (do_maxnm): New function.
319 (insns): Add vmaxnm, vminnm entries.
320
33399f07
MGD
3212012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
322
323 * config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
324 (NEON_ENC_FPV8_): New define.
325 (do_vfp_nsyn_fpv8): New function.
326 (do_vsel): Likewise.
327 (insns): Add VSEL instructions.
328
9eb6c0f1
MGD
3292012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
330
331 * config/tc-arm.c (do_rm_rn): New function.
332 (do_strlex): Likewise.
333 (do_t_strlex): Likewise.
334 (insns): Add support for LDRA/STRL instructions.
335
8884b720
MGD
3362012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
337
338 * config/tc-arm.c (do_t_bkpt_hlt1): New function.
339 (do_t_hlt): New function.
340 (do_t_bkpt): Use do_t_bkpt_hlt1.
341 (insns): Add HLT.
342
b79f7053
MGD
3432012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
344
345 * config/tc-arm.c (insns): Add DCPS instruction.
346
53c4b28b
MGD
3472012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
348
349 * config/tc-arm.c (T16_32_TAB): Add _sevl.
350 (insns): Add SEVL.
351
e797f7e0
MGD
3522012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
353
354 * config/tc-arm.c (asm_barrier_opt): Add arch field.
355 (mark_feature_used): New function.
356 (parse_barrier): Check specified option is valid for the
357 specified architecture.
358 (UL_BARRIER): New macro.
359 (barrier_opt_names): Update for new barrier options.
360
12e37cbc
MGD
3612012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
362
363 * config/tc-arm.c (do_setend): Warn on deprecated SETEND.
364 (do_t_setend): Likewise.
365
5a01bb1d
MGD
3662012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
367
368 * config/tc-arm.c (do_t_it): Fully initialise now_it.
369 (new_automatic_it_block): Likewise.
370 (handle_it_block): Record whether current instruction is
371 conditionally executed.
372 * config/tc-arm.c (depr_insn_mask): New structure.
373 (depr_it_insns): New variable.
374 (it_fsm_post_encode): Warn on deprecated uses.
375 * config/tc-arm.h (current_it): Add new fields.
376
dcbd0d71
MGD
3772012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
378
379 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
380 (deprecated_coproc_regs): New variable.
381 (deprecated_coproc_reg_count): Likewise.
382 (do_co_reg): Error on obsolete & warn on deprecated registers.
383
59d09be6
MGD
3842012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
385
386 * config/tc-arm.c (check_obsolete): New function.
387 (do_rd_rm_rn): Check swp{b} for obsoletion.
388
bca38921
MGD
3892012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
390
391 * config/tc-arm.h (arm_ext_v8): New variable.
392 (fpu_vfp_ext_armv8): Likewise.
393 (fpu_neon_ext_armv8): Likewise.
394 (fpu_crypto_ext_armv8): Likewise.
395 (arm_archs): Add armv8-a.
396 (arm_extensions): Add crypto, fp, and simd.
397 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
398 (cpu_arch_ver): Add support for ARMv8.
399 (aeabi_set_public_sttributes): Likewise.
400 * doc/c-arm.texi (ARM Options): Document new architecture and
401 extension options for ARMv8.
402
542385d9
L
4032012-08-20 H.J. Lu <hongjiu.lu@intel.com>
404
405 * doc/as.texinfo: Replace --n32 with --x32.
406
7b458c12
L
4072012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
408
409 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
410 CPU_BTVER2_FLAGS.
411 (i386_align_code): Add case for PROCESSOR_BT.
412
413 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
414
415 * doc/c-i386.texi: Add -march={btver1, btver2} options.
416
f76bf5e0
L
4172012-08-14 H.J. Lu <hongjiu.lu@intel.com>
418
419 PR gas/14457
420 * config/tc-i386.c (i386_att_operand): Terminate register name
421 when reporting bad register.
422
c3330fbe
HPN
4232012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
424
425 * config/tc-mmix.c (loc_asserts): New variable.
426 (mmix_greg_internal): Handle expressions not determinable at first
427 pass.
428 (s_loc): Ditto. Record expressions where the section isn't
429 determinable at the first pass, and assume they don't refer to
430 other sections.
431 (mmix_md_end): Verify that recorded LOC expressions weren't
432 to other sections, else emit error messages.
433
a06ea964
NC
4342012-08-13 Ian Bolton <ian.bolton@arm.com>
435 Laurent Desnogues <laurent.desnogues@arm.com>
436 Jim MacArthur <jim.macarthur@arm.com>
437 Marcus Shawcroft <marcus.shawcroft@arm.com>
438 Nigel Stephens <nigel.stephens@arm.com>
439 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
440 Richard Earnshaw <rearnsha@arm.com>
441 Sofiane Naci <sofiane.naci@arm.com>
442 Tejas Belagod <tejas.belagod@arm.com>
443 Yufeng Zhang <yufeng.zhang@arm.com>
444
445 * Makefile.am: Add AArch64.
446 * Makefile.in: Regenerate.
447 * config/tc-aarch64.c: New file.
448 * config/tc-aarch64.h: New file.
449 * configure.tgt: Add AArch64.
450 * doc/Makefile.am: Add AArch64.
451 * doc/Makefile.in: Regenerate.
452 * doc/all.texi: Add AArch64.
453 * doc/as.texinfo: Add AArch64.
454 * doc/c-aarch64.texi: New file.
455 * po/POTFILES.in: Regenerate.
456 * NEWS: Mention the new support.
457
35d0a169
MR
4582012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
459
460 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
461 (is_opcode_valid): Remove coprocessor instruction exclusions.
462 Replace OPCODE_IS_MEMBER with opcode_is_member.
463 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
464 opcode_is_member.
465 (macro): Remove coprocessor instruction exclusions.
466
a276b80c
MR
4672012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
468
469 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
470 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
471
848930b2
JB
4722012-08-07 Jan Beulich <jbeulich@suse.com>
473
474 * config/tc-i386-intel.c (build_modrm_byte): Split determining
475 default segment from figuring out encoding. Honor RegRex for
476 the former.
477
7bab8ab5
JB
4782012-08-07 Jan Beulich <jbeulich@suse.com>
479
480 * config/tc-i386.c (set_check): Renamed from set_sse_check.
481 Generalize to also handle operand checking option.
482 (enum i386_error): New enumerator 'invalid_vector_register_set'.
483 (match_template): Handle it.
484 (enum check_kind): Give it a tag. Drop sse_ prefixes from
485 enumerators.
486 (operand_check): New.
487 (md_pseudo_table): Add "operand_check".
488 (check_VecOperands): Don't special case RIP addressing. Check
489 that vSIB operands use distinct vector registers unless no
490 checking was requested.
491 (OPTION_MOPERAND_CHECK): New.
492 (md_parse_option): Handle it.
493 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
494 (md_longopts): Add "moperand-check".
495 (md_show_usage): Add help text for it.
496
4c692bc7
JB
4972012-08-07 Jan Beulich <jbeulich@suse.com>
498
499 * config/tc-i386.c (register_number): New function.
500 (build_vex_prefix, process_immext, process_operands,
501 build_modrm_byte, i386_index_check): Use it.
502
a988325c
NC
5032012-08-07 Daniel Green <venix1@gmail.com>
504
505 * config/tc-i386.c (lex_got): Provide implementation for PE
506 format.
507
464ab0e5
MR
5082012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
509
510 * config/tc-mips.c (append_insn): Also handle moving delay-slot
511 instruction across frags for fixed branches.
512
3db8daf3
MR
5132012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
514
515 * frags.c (frag_grow): Never shrink the obstack size requested
516 below the default.
517
03d46c0e
SK
5182012-08-02 Sean Keys <skeys@ipdatasys.com>
519
520 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
521 New function to parse pseudo ops that are unreleated to
522 existing pseudo ops.
523
711eefe4
SL
5242012-08-01 Catherine Moore <clm@codesourcery.com>
525 Sandra Loosemore <sandra@codesourcery.com>
526
527 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
528 * doc/c-mips.texi (MIPS Opts): Document it.
529
8fbf7334
JL
5302012-08-01 James Lemke <jwlemke@codesourcery.com>
531
4e47244d 532 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
8fbf7334 533 DWARF2_LINE_MIN_INSN_LENGTH
4e47244d 534 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
8fbf7334
JL
535 and initialize.
536 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
4e47244d 537 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
8fbf7334
JL
538 variable reference.
539
03f66e8a 5402012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
4e47244d
L
541 Chao-Ying Fu <fu@mips.com>
542 Catherine Moore <clm@codesourcery.com>
03f66e8a 543
7a2d09cc
MR
544 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
545 mode.
546 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
547 (macro_build) <'2'>: Handle microMIPS.
03f66e8a
MR
548 (macro) <M_BALIGN>: Update error handling.
549 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
550 <'7', '8', '0', '@', '^'>: Likewise.
551 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
552 <'9'>: Fix formatting.
553 <'0', '@'>: Handle microMIPS.
554 <'^'>: New case.
555
4a2608e3
JB
5562012-07-31 Jan Beulich <jbeulich@suse.com>
557
558 * config/tc-i386.c (match_template): Adjust error message
559 for 'bad_imm4' case.
560
5a819eb9
JB
5612012-07-31 Jan Beulich <jbeulich@suse.com>
562
563 * config/tc-i386.c (check_byte_reg): Check for I/O port
564 register earlier, and just once. Drop diagnostic that got
565 issued only for some registers.
566
5614d22c
JB
5672012-07-31 Jan Beulich <jbeulich@suse.com>
568
569 * config/tc-i386.c (match_template): New local variable
570 'specific_error'. Set it from i.error after failed
571 check_VecOperands or VEX_check_operands. Use it if set in
572 preference to i.error when actually issuing disagnostic.
573
a6dc81d2
NC
5742012-07-30 Nick Clifton <nickc@redhat.com>
575
576 * po/gas.pot: Updated template.
577 * po/es.po: Updated Spanish translation.
578 * po/fi.po: Updated Finnish translation.
579 * po/fr.po: Updated French translation.
580
c4dd807e
MF
5812012-07-27 Mike Frysinger <vapier@gentoo.org>
582
583 * configure.in (BFD_VERSION): Run bfd/configure --version and
584 parse the output of that.
585 * configure: Regenerate.
586
af18cb59
TG
5872012-07-27 Tristan Gingold <gingold@adacore.com>
588
589 * NEWS: Add marker for 2.23.
590
204d254e
SK
5912012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
592
593 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
594
c71bb85d
SB
5952012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
596
597 * listing.c (struct list_message): New.
598 (struct list_info_struct): Delete "message". Add "messages"
599 and "last_message".
600 (listing_message): Adjust.
601 (listing_newline): Adjust.
602 (print_lines): Adjust.
603
9e2934f7
JB
6042012-07-24 Jan Beulich <jbeulich@suse.com>
605
606 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
607 xmm/ymm index register being specified first as well as esp/rsp
608 base register being specified last in a memory operand.
609
8280f326
JB
6102012-07-24 Jan Beulich <jbeulich@suse.com>
611
612 * config/tc-i386-intel.c (i386_intel_simplify_register):
613 Replace literal 4 by corresponding ESP_REG_NUM.
614
5e73442d
SL
6152012-07-24 Sandra Loosemore <sandra@codesourcery.com>
616 Jie Zhang <jzhang918@gmail.com>
617
618 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
619 if offset is negative.
620
e2e1fcde
L
6212012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
622
623 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
624 * doc/c-i386.texi: Document the new directives.
625
6b0d957e 6262012-07-05 Sean Keys <skeys@ipdatasys.com>
4e47244d
L
627
628 * config/tc-xgate.c: Revised assembler so that operands
629 are collected before the addressing mode is determined.
6b0d957e 630
586ec8c1
NC
6312012-07-02 Nick Clifton <nickc@redhat.com>
632
633 * write.c (fixup_segment): Only perform the subtraction of an
634 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
635 properly defined.
636 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
637
e95a6b1c
AM
6382012-06-30 Alan Modra <amodra@gmail.com>
639
640 PR gas/14315
641 * config/obj-elf.c (obj_elf_weak): Don't set local.
642
08ea7020
AM
6432012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
644
645 * frags.h (frag_offset_fixed_p): Update prototype.
646 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
647 * expr.c (expr, resolve_expression): Likewise for frag_off var.
648
99aad254
NC
6492012-06-29 Nick Clifton <nickc@redhat.com>
650
651 PR gas/14263
652 * config/tc-arm.c (parse_operands): Initialise val.
653
2b2f5df9
NC
6542012-06-28 Nick Clifton <nickc@redhat.com>
655
656 PR gas/14260
657 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
658 message if literal pool addressing is used.
659
453dc3f0
NC
6602012-06-28 Nick Clifton <nickc@redhat.com>
661
662 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
663 linker relaxation.
664 (dwarf2_gen_line_info): Generate real, local, labels for line
665 numbers.
666 (dwarf2dbg_convert_frag): Do not finalize the computation of the
667 frag's symbol value when linker relaxation is enabled.
668 (ADDR_DELTA_LIMIT): Define.
669 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
670 (emit_fixed_inc_line_addr): Likewise.
671 * write.c (fixup_segment): If the subtraction of two symbols
672 cannot be resolved but is valid, then prevent bogus range warnings
673 by pre-biasing add_number.
674 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
675
6b0d957e
SK
6762012-06-28 Sean Keys <skeys@ipdatasys.com>
677
4e47244d
L
678 * config/tc-xgate.h: Defined tc_frob_symbol.
679 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
680 symbols as being XGATE by setting st_target_internal value.
6b0d957e 681
29c048b6
RM
6822012-06-22 Roland McGrath <mcgrathr@google.com>
683
fe13e45b
RM
684 * NEWS: Mention 'rep ret' too.
685
29c048b6
RM
686 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
687 when the template has opcode_modifier.repprefixok set.
688 * NEWS: Mention the change.
689
a574142b
AM
6902012-06-18 Iain Sandoe <iain@codesourcery.com>
691
692 * configure.in: Check DECLS for free, getenv, malloc, realloc,
693 * configure: Regenerate.
694 * config.in: Likewise.
695
357d1bd8
L
6962012-06-13 H.J. Lu <hongjiu.lu@intel.com>
697
698 * config/tc-i386.c (x86_address_bytes): New.
699 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
700 (x86_address_bytes): Likewise.
701
1a43faaf
NC
7022012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
703
704 PR gas/12698
705 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
706 architecure when assembling for all archiectures.
707 (do_t_msr): Likewise.
708
e4efb665
NC
7092012-06-11 Georg-Johann Lay <avr@gjlay.de>
710
711 PR 13503
712 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
713 from 2012-05-16.
714
d2ae702c
L
7152012-06-09 H.J. Lu <hongjiu.lu@intel.com>
716
717 * input-scrub.c (input_scrub_include_sb): Use sb_build to
718 allocate sufficient space for from_sb. Use sb_terminate to
719 terminate string.
720 * read.c (read_a_source_file): Use sb_build to allocate
721 sufficient space and replace sb_add_string with sb_add_buffer.
722 (s_macro): Likewise.
723 (input_scrub_insert_line): Likewise.
724 (s_irp): Use sb_build to allocate sufficient space.
725 (do_repeat): Use sb_build to allocate sufficient space
726 for many.
727 * sb.c (sb_build): Remove static.
728 * sb.h (sb_build): New prototype.
729
5197bfb5
AM
7302012-06-09 Alan Modra <amodra@gmail.com>
731
732 * sb.c: Include limits.h.
733 (dsize): Delete.
734 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
735 (sb_new): Use INIT_ALLOC.
736 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
737 (sb_terminate): Don't use sb_add_char.
738
39a45edc
AM
7392012-06-07 Alan Modra <amodra@gmail.com>
740
741 PR gas/14201
742 * sb.h (sb_max_power_two): Delete.
743 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
744 (sb_element): Delete.
745 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
746 prototypes.
747 * sb.c (string_count, free_list): Delete.
748 (sb_build, sb_kill, sb_check): Rewrite.
749 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
750 sb_skip_white, sb_skip_comma): Replace assorted int params,
751 vars and return types with size_t.
752 * input-scrub.c: Likewise.
753 * macro.c: Likewise.
754 * macro.h: Likewise.
755 * as.c: Likewise.
756 * as.h: Likewise.
757 * input-file.h: Likewise.
758 * input-file.c: Likewise.
759 * read.c: Likewise.
760 * app.c: ..or ptrdiff_t.
761 * input-file.c (input_file_get): Use ferror.
762 (input_file_give_next_buffer): Use input_file_get.
763
6b0d957e
SK
7642012-05-31 Sean Keys <skeys@ipdatasys.com>
765
4e47244d 766 * config/tc-xgate.c (md_begin): Refactored code.
6b0d957e 767
d416e51d
RM
7682012-05-29 Roland McGrath <mcgrathr@google.com>
769
770 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
771 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
772 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
773 pairs.
774
7bfd842d
NC
7752012-05-28 Nick Clifton <nickc@redhat.com>
776
777 * read.c (read_symbol_name): New function. Reads a symbol names.
778 Allows escape codes in names.
779 (s_comm_internal): Use read_symbol_name.
780 (s_globl, s_lsym, s_set, s_weakref): Likewise.
781 * doc/as.texinfo: Document support for multibyte characters in
782 symbol names.
783
95bfe26e
MF
7842012-05-21 Mike Frysinger <vapier@gentoo.org>
785
786 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
787 is non-NULL.
788
59365e19
AM
7892012-05-19 Alan Modra <amodra@gmail.com>
790
791 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
792 targets when checking for "comdat".
793
f3719d90
AM
7942012-05-19 Alan Modra <amodra@gmail.com>
795
796 * config/tc-dlx.c (s_proc): Don't use asprintf.
797
74cda0c4
AM
7982012-05-18 Alan Modra <amodra@gmail.com>
799
800 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
801 return value.
802
d6ed37ed
AM
8032012-05-18 James Lemke <jwlemke@codesourcery.com>
804 Alan Modra <amodra@gmail.com>
805
806 * config/tc-ppc.c: Don't capitalise error and warning messages.
807 (md_parse_option): Add checks for -a32 -mvle.
808
222661cb
AM
8092012-05-18 Alan Modra <amodra@gmail.com>
810
811 * config/obj-evax.c: Include as.h first.
812
f2c621e4
AS
8132012-05-18 Andreas Schwab <schwab@linux-m68k.org>
814
815 * aclocal.m4: Regenerate.
816 * configure: Regenerate.
817 * Makefile.in: Regenerate.
818
df7b86aa
NC
8192012-05-17 Daniel Richard G. <skunk@iskunk.org>
820 Nick Clifton <nickc@redhat.com>
821
822 PR 14072
823 * configure.in: Add check that sysdep.h has been included before
824 any system header files.
825 * configure: Regenerate.
826 * config.in: Regenerate.
827 * aclocal.m4: Regenerate.
828 * Makefile.am: Use wrappers around C files generated by flex.
829 * Makefile.in: Regenerate.
830 * doc/Makefile.in: Regenerate.
831 * itbl-lex-wrapper.c: New file.
832 * config/bfin-lex-wrapper.c: New file.
833 * cgen.c: Include as.h before setjmp.h.
834 * config/tc-dlx.c: Include as.h before any other header.
835 * config/tc-h8300.c: Likewise.
836 * config/tc-lm32.c: Likewise.
837 * config/tc-mep.c: Likewise.
838 * config/tc-microblaze.c: Likewise.
839 * config/tc-mmix.c: Likewise.
840 * config/tc-msp430.c: Likewise.
841 * config/tc-or32.c: Likewise.
842 * config/tc-tic4x.c: Likewise.
843 * config/tc-tic54x.c: Likewise.
844 * config/tc-xtensa.c: Likewise.
845
a0f49396
NC
8462012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
847
848 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
849 as the first argument for `bfd_get_section_vma'.
850
536695d0
NC
8512012-05-16 Alberto Garcia <agarcia@igalia.com>
852
853 PR gas/14082
854 * app.c (do_scrub_chars): Prevent possible out of bounds access to
855 lex[] array.
856
40551fb8
NC
8572012-05-16 Georg-Johann Lay <avr@gjlay.de>
858
859 PR target/13503
860 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
861 R_AVR_8_HLO8.
862 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
863 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
864
c1c30076
NS
8652012-05-16 Nathan Sidwell <nathan@codesourcery.com>
866 Kwok Cheung Yeung <kcy@codesourcery.com>
867
868 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
869 51qm variants.
870
6927f982
NC
8712012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
872
873 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
874 Add option to offset S12 addresses into XGATE memory space.
875 Tweak target flags to match other tools. (i.e. -m m68hc11).
876 * doc/as.texinfo: Mention new options.
877 * doc/c-m68hc11.texi: Document new options.
878 * NEWS: Mention new support.
879
0e25bcb4
DD
8802012-05-14 DJ Delorie <dj@redhat.com>
881
918edac3
DD
882 * config/rx-parse.y (rx_range): declare.
883 (O1,O2,O3,O4): Add calls to rx_range.
884 (UO1,UO2,UO3): Likewise.
885 (IMM2,IMMB): Likewise.
886 (rx_range): New.
887
0e25bcb4
DD
888 * config/tc-rx.c (rx_fetchalign): Declare.
889 (md_pseudo_table): Add .fetchalign.
890 (RX_NBASE_FETCHALIGN): New.
891 (fetchalign_bytes): New.
892 (rx_fetchalign): New.
893 (rx_frag_init): If a "magic" value is found, also init the
894 machine-specific data.
895 (md_assemble): Note following opcode size if called for.
896 (rx_next_opcode): New.
897 (rx_relax_frag): Support .fetchalign.
898 (md_convert_frag): Likewise.
899 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
900
b9c361e0
JL
9012012-05-14 James Lemke <jwlemke@codesourcery.com>
902
903 * config/tc-ppc.c (insn_validate): New func of existing code to call..
904 (ppc_setup_opcodes): ..from 2 places here.
905 Revise for second (VLE) opcode table.
906 Add #ifdef'd code to print opcode tables.
907
9082012-05-14 James Lemke <jwlemke@codesourcery.com>
909
910 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
911 for the VLE conditional branches.
912
9132012-05-14 Catherine Moore <clm@codesourcery.com>
914 Maciej W. Rozycki <macro@codesourcery.com>
915 Rhonda Wittels <rhonda@codesourcery.com>
916
917 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
918 (PPC_VLE_SPLIT16D): New macro.
919 (PPC_VLE_LO16A): New macro.
920 (PPC_VLE_LO16D): New macro.
921 (PPC_VLE_HI16A): New macro.
922 (PPC_VLE_HI16D): New macro.
923 (PPC_VLE_HA16A): New macro.
924 (PPC_VLE_HA16D): New macro.
925 (PPC_APUINFO_VLE): New definition.
926 (md_chars_to_number): New function.
927 (md_parse_option): Check for combinations of little
928 endian and -mvle.
929 (md_show_usage): Document -mvle.
930 (ppc_arch): Recognize VLE.
931 (ppc_mach): Recognize bfd_mach_ppc_vle.
6927f982 932 (ppc_setup_opcodes): Print the opcode table if
b9c361e0
JL
933 * config/tc-ppc.h (ppc_frag_check): Declare.
934 * doc/c-ppc.texi: Document -mvle.
935 * NEWS: Mention PowerPC VLE port.
936
9372012-05-14 Catherine Moore <clm@codesourcery.com>
938
939 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
940 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
941 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
942 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
6927f982 943 for DWARF2_LINE_MIN_INSN_LENGTH.
b9c361e0 944
56e63005
L
9452012-05-12 H.J. Lu <hongjiu.lu@intel.com>
946
947 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
948 for BFD_RELOC_64.
949
208a4923
NC
9502012-05-11 Daniel Richard G. <skunk@iskunk.org>
951
952 PR binutils/14028
953 * configure.in: Invoke ACX_HEADER_STRING.
954 * configure: Regenerate.
955 * config.in: Regenerate.
956 * as.h: If STRINGS_WITH_STRING is defined then include both
957 string.h and strings.h.
958
99700d6f
NC
9592012-05-11 Georg-Johann Lay <avr@gjlay.de
960
961 PR target/13503
962 * config/tc-avr.c (exp_mod_pm): Remove variable.
963 (exp_mod_data_t): New typedef.
964 (pexp_mod_data, exp_mod_data): New variables.
965 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
966 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
967 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
968 (avr_cons_fix_new): Handle new data expression modifiers shipped
969 in pexp_mod_data.
970 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
971 BFD_RELOC_AVR_8_HHI.
972
268a8d3a
L
9732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
974
975 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
976 addend overflow check.
977
6f2c9068
L
9782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
979
980 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
981 x32 addend overflow check.
982
83acd3e8
L
9832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
984
985 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
986
8cf0d2dd
L
9872012-05-09 H.J. Lu <hongjiu.lu@intel.com>
988
989 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
990 for BFD_RELOC_64.
991
e5b62927
AM
9922012-05-08 Alan Modra <amodra@gmail.com>
993
994 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
995 LC and LANG environment vars.
996 * Makefile.in: Regenerate.
997
cce3d66c
AM
9982012-05-07 Alan Modra <amodra@gmail.com>
999
1000 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
1001 * Makefile.in: Regenerate.
1002
25045f79
AM
10032012-05-06 Arnold Metselaar <arnold_m@operamail.com>
1004
1005 * config/tc-z80.h(md_register_arithmetic): Define as 0.
cce3d66c
AM
1006 * config/tc-z80.c(md_begin): Store register names in symbol table,
1007 preventing usage as ordinary symbol.
25045f79
AM
1008 * config/tc-z80.c(contains_register): New function.
1009 * config/tc-z80.c(parse_exp2): Removed.
1010 * config/tc-z80.c(parse_exp_not_indexed): New function.
cce3d66c
AM
1011 * config/tc-z80.c(parse_exp): Add code to recogize indexed
1012 addressing after parsing.
25045f79 1013 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
cce3d66c
AM
1014 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
1015 condition for jump to register.
1016 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
1017 parse_exp_not_indexed.
25045f79 1018
45dfa85a
AM
10192012-05-05 Alan Modra <amodra@gmail.com>
1020
1021 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
1022 bfd_und_section and bfd_ind_section with their _ptr variants, or
1023 use corresponding bfd_is_* macros.
1024 * symbols.c: Likewise.
1025 * config/obj-aout.c: Likewise.
1026 * config/obj-coff-seh.h: Likewise.
1027 * config/tc-hppa.c: Likewise.
1028 * config/tc-hppa.h: Likewise.
1029 * config/tc-ia64.c: Likewise.
1030 * config/tc-m32r.c: Likewise.
1031 * config/tc-microblaze.c: Likewise.
1032 * config/tc-mips.c: Likewise.
1033 * config/tc-score.c: Likewise.
1034 * config/tc-score7.c: Likewise.
1035 * config/tc-tic6x.c: Likewise.
1036
3c995545
L
10372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * configure.tgt: Support x86_64-*-linux-gnux32.
1040
35262a23
L
10412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 * config/tc-i386.c (match_template): Add `instruction' to
1044 unsupported error message.
1045
89e71f5c
L
10462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 * config/tc-i386.c (output_insn): Reformat.
1049
ae5c1c7b
L
10502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1051
1052 * config/tc-i386.c (output_insn): Remove the extra VEX check.
1053
10efe3f6
L
10542012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 * config/tc-i386.c (match_template): Improve unsupported error
1057 message.
1058
f6c1a2d5
NC
10592012-05-03 Sean Keys <skeys@ipdatasys.com>
1060
1061 * configure, Makefile.in: Regenerate.
1062 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1063 * configure.tgt: Added cpu type.
1064 Added files for XGATE assembler.
1065 * config/tc-xgate.c: Assembler for XGATE.
1066 * config/tc-xgate.h: Header definition for assembler
1067 Added files for XGATE testsuite.
1068 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
1069 * doc/c-xgate.texi: Document XGATE and XGATE port.
1070 * doc/as.texinfo: Ditto.
1071 * doc/all.texi: Ditto
1072 * NEWS: Mention the new support.
1073
cad335c9
DD
10742012-04-30 DJ Delorie <dj@redhat.com>
1075
1076 * config/rx-parse.y (rx_intop): Add parameter for operation size.
1077 Check for large positive constants really being small negative
1078 ones.
1079 (BRA, BSR): Update calls to rx_intop.
1080 (immediate): Likewise.
1081
88ebb0a1
MW
10822012-04-26 Mark Wielaard <mjw@redhat.com>
1083
1084 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
1085 (DWARF2_LINE_VERSION): Likewise.
1086 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
1087 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
1088 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
1089 DWARF2_VERSION >= 4.
1090 (out_debug_info): Use difference between start and end as data
1091 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
1092 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
1093
ec668d69
DM
10942012-04-27 David S. Miller <davem@davemloft.net>
1095
2755f698
DM
1096 * doc/c-sparc.text: Document %l34 and %h34.
1097
2e52845b
DM
1098 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
1099
58004e23
DM
1100 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
1101 v8pluse, v8plusv, v9e, and v9v.
1102 (v9a_asr_table): Add 'pause'.
1103
698544e1
DM
1104 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
1105 sparc4, v8pluse, v8plusv, v9e, and v9v.
1106 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
1107 order to accomodate cbcond which otherwise would require two
1108 relocations to be handled in a single instruction..
1109
6cda1326
DM
1110 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
1111 names containing "_".
1112 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
1113 hwcap masks to v8plusv and v9v.
1114
ec668d69
DM
1115 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
1116 masks.
1117 (sparc_md_end): No longer need to translate hwcap_seen values into
1118 ELF hwcap bits, they now match exactly.
1119 (get_hwcap_name): Use HWCAP_* and handle new values.
1120 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
1121
2b0bc501
TG
11222012-04-20 Tristan Gingold <gingold@adacore.com>
1123
1124 * config/tc-ia64.c (obj_elf_vms_common): New function.
1125 (md_pseudo_table): Add .vms_common pseudo.
1126 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
1127 * config/obj-elf.c (obj_elf_section_name): Make it public.
1128
0b649256
RS
11292012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
1130
1131 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
1132
2615994e
DM
11332012-04-12 David S. Miller <davem@davemloft.net>
1134
1135 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
1136 BFD_RELOC_SPARC_H34.
1137 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
1138 (tc_gen_reloc): Likewise.
1139
b38cadfb
NC
11402012-04-12 Roland McGrath <mcgrathr@google.com>
1141
1142 * configure.tgt (arm-*-nacl*): Match it.
1143 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
1144 (LOCAL_LABELS_DOLLAR): Define.
1145 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
1146 Use nacl format variants.
1147
6530b175 11482012-04-12 Jie Zhang <jie@codesourcery.com>
4e47244d 1149 Meador Inge <meadori@codesourcery.com>
6530b175
NC
1150
1151 * config/tc-arm.c (only_one_reg_in_list): New function.
1152 (encode_ldmstm): Ditto.
1153 (do_ldmstm): Use a different encoding when pushing or poping
1154 a single register.
1155 (A_COND_MASK): New macro.
1156 (A_PUSH_POP_OP_MASK): Ditto.
1157 (A1_OPCODE_PUSH): Ditto.
1158 (A2_OPCODE_PUSH): Ditto.
1159 (A2_OPCODE_POP): Ditto.
1160
45e279f5
MR
11612012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
1162
1163 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
1164 -mno-fix-24k.
1165
58797674
RM
11662012-04-06 Roland McGrath <mcgrathr@google.com>
1167
1168 * configure.in (AC_CHECK_HEADERS): Add locale.h.
1169 * config.in: Regenerate.
1170 * configure: Regenerate.
1171
44350750
NC
11722012-04-05 Nick Clifton <nickc@redhat.com>
1173
1174 * configure.in (AC_CHECK_FUNCS): Add setlocale.
1175 (AM_LC_MESSAGES): Add.
1176 * aclocal.m4: Regenerate.
1177 * config.in: Regenerate.
1178 * configure: Regenerate.
1179
e91a22ce
DD
11802012-04-03 DJ Delorie <dj@redhat.com>
1181
1182 * config/rx-parse.y: Make the .L optional for ADC and SBB.
1183
b1c0804b
DD
11842012-04-02 DJ Delorie <dj@redhat.com>
1185
1186 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
1187 transfer size.
1188 (IMM): New, call IMM_ with the default 32.
1189 (IMMW,IMMB): Likewise, for 16 and 8.
1190 (NIMM, MBIMM): Add size parameter.
1191 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
1192 (MOV.W): Use IMMW instead of IMM.
1193
1194 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
1195 (op_dp20_rm_l): New.
1196 (op_dp20_rim_l): New.
1197
1198 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
1199 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
1200
ce32bd10
MGD
12012012-03-29 Terry Guo <terry.guo@arm.com>
1202
1203 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
1204 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
1205
55a36193
MK
12062012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
1207
1208 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
1209 * doc/c-mips.texi: Mention XLP.
1210
32b9ff0d
TS
12112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1212
1213 [SH] Support the .uaquad and .8byte directives also for non-sh64
1214 configurations.
1215
1216 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
1217 BFD_RELOC_64.
1218 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
1219 description...
1220 * doc/c-sh.texi (SH Machine Directives): ... here.
1221
7465e07a
NC
12222012-03-20 Nick Clifton <nickc@redhat.com>
1223
1224 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
1225 registers.
1226 (do_vmsr): Likewise.
1227 (arm_opcode_insns): Do not default to using the FPSCR register in
1228 the VMRS and VMSR registers.
1229
8059fb19
RM
12302012-03-16 Roland McGrath <mcgrathr@google.com>
1231
1232 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
1233 Define for this case.
1234 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
1235
69239280
MGD
12362012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1237
1238 * config/tc-arm.c (aeabi_set_public_attributes): Correct
1239 handling of Tag_DIV_use.
1240
27dcf5c0
TS
12412012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1242
1243 * doc/as.texinfo (Bundle directives): Fix typo.
1244
ec82c18e
L
12452012-03-14 Ryan Mansfield <rmansfield@qnx.com>
1246
1247 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
1248
8d3eaee6 12492012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
1250
1251 * config/tc-arm.c (arm_frag_max_var): New function.
1252 * config/tc-arm.h: Declare it.
1253 (md_frag_max_var): New macro.
1254
1255 * config/tc-i386.c (i386_frag_max_var): New function.
1256 * config/tc-i386.h: Declare it.
1257 (md_frag_max_var): New macro.
1258
1259 * doc/as.texinfo (Bundle directives): New node.
1260 (Pseudo Ops): Add it to the menu.
1261 * NEWS: Mention new feature.
1262 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
1263 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
1264 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
1265 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
1266 New functions.
1267 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
1268 to md_assembly if not.
1269 (read_a_source_file): Call assemble_one in place of md_assemble.
1270 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
1271 .bundle_lock at end of processing.
1272 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
1273 New functions.
1274 [HANDLE_BUNDLE] (potable): Add their entries.
1275 * read.h: Declare new functions.
1276
aea77599
AM
12772012-03-10 Edmar Wienskoski <edmar@freescale.com>
1278
1279 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
1280 (ppc_handle_align): Add termination nop opcode for e500mc family.
1281 * doc/as.texinfo: Document options -me5500 and -me6500.
1282 * doc/c-ppc.texi: Likewise.
1283
0a22ae8e
NC
12842012-03-07 Nick Clifton <nickc@redhat.com>
1285
1286 * config/tc-mn10300.c (other_registers): Add SSP and USP.
1287 (md_assemble): Add support for TLS relocs.
1288 (mn10300_parse_name): Likewise.
1289
805e800d
AM
12902012-02-27 Alan Modra <amodra@gmail.com>
1291
1292 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
1293
b9fcee79
AM
12942012-02-27 Alan Modra <amodra@gmail.com>
1295
1296 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
1297 params. Properly generate NOP pattern. Comment reason for
1298 subseg_text_p failure.
1299
35a35807
AM
13002012-02-27 Alan Modra <amodra@gmail.com>
1301
1302 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
1303 and sign extend before range tests.
1304 (constant_fits_size_p): Similarly.
1305 (get_specific): Trim X_add_number to 32 bits.
1306 (fix_operand_size): Likewise, and use unsigned test for signed
1307 ranges.
1308
1f42f8b3
AM
13092012-02-27 Alan Modra <amodra@gmail.com>
1310
1311 * config/tc-crx.c: Include bfd_stdint.h.
1312 (getconstant): Remove irrelevant comment. Don't fail due to
1313 sign-extension of int mask.
1314 (check_range): Rewrite using unsigned arithmetic throughout.
1315
481fe810
WL
13162012-02-25 Walter Lee <walt@tilera.com>
1317
1318 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
1319 non-local before checking sy_value.
1320 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
1321
6f7be959
WL
13222012-02-25 Walter Lee <walt@tilera.com>
1323
1324 * tc-tilepro.c (O_tls_le): Define operator.
1325 (O_tls_le_lo16): Ditto.
1326 (O_tls_le_hi16): Ditto.
1327 (O_tls_le_ha16): Ditto.
1328 (O_tls_gd_call): Ditto.
1329 (O_tls_gd_add): Ditto.
1330 (O_tls_ie_load): Ditto.
1331 (md_begin): Delete old operators; handle new operators.
1332 (emit_tilepro_instruction): Ditto.
1333 (md_apply_fix): Ditto.
1334 * tc-tilegx.c (O_hw1_got): Delete operator.
1335 (O_hw2_got): Ditto.
1336 (O_hw3_got): Ditto.
1337 (O_hw2_last_got): Ditto.
1338 (O_hw1_tls_gd): Ditto.
1339 (O_hw2_tls_gd): Ditto.
1340 (O_hw3_tls_gd): Ditto.
1341 (O_hw2_last_tls_gd): Ditto.
1342 (O_hw1_tls_ie): Ditto.
1343 (O_hw2_tls_ie): Ditto.
1344 (O_hw3_tls_ie): Ditto.
1345 (O_hw2_last_tls_ie): Ditto.
1346 (O_hw0_tls_le): Define operator.
1347 (O_hw0_last_tls_le): Ditto.
1348 (O_hw1_last_tls_le): Ditto.
1349 (O_tls_gd_call): Ditto.
1350 (O_tls_gd_add): Ditto.
1351 (O_tls_ie_load): Ditto.
1352 (O_tls_add): Ditto.
1353 (md_begin): Delete old operators; handle new operators.
1354 (emit_tilegx_instruction): Ditto.
1355 (md_apply_fix): Ditto.
1356 * doc/c-tilegx.texi: Delete old operators; document new operators.
1357 * doc/c-tilepro.texi: Ditto.
1358
82590249
WL
13592012-02-25 Walter Lee <walt@tilera.com>
1360
5414dbef
WL
1361 * tc-tilepro.c (apply_special_operator): delete cases for
1362 got and tls operators.
1363 (md_apply_fix): Ditto.
fb6cedde
WL
1364 * tc-tilegx.c (md_begin): Set architecture and machine.
1365 (tilegx_target_format): Handle big endian.
1366 (OPTION_EB): Define.
1367 (OPTION_EL): Define.
1368 (md_longopts): Add entries for "EB" and "EL".
1369 (md_parse_option): Handle OPTION_EB and OPTION_EL.
1370 (md_show_usage): Add -EB and -EL.
1371 (md_number_to_chars): New.
5414dbef
WL
1372 (apply_special_operator): delete cases for got and tls
1373 operators.
1374 (md_apply_fix): Ditto.
fb6cedde
WL
1375 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1376 ifndef.
1377 (md_number_to_chars): Delete.
1378 * configure.tgt (tilegx*be): Handle.
1379 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1380 * doc/c-tilegx.texi: Ditto.
82590249 1381
82c2def5
L
13822012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1383
1384 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1385 HLEPrefixAny and HLEPrefixRelease.
1386
1bf10b0d
NC
13872012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1388
1389 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1390
16a87420
IS
13912012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1392
1393 * write.c (write_object_file): Add md_pre_output_hook.
1394 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1395 (obj_mach_o_pre_output_hook): New.
1396 * config/obj-macho.h (md_pre_output_hook): Define.
1397 (obj_mach_o_pre_output_hook): Declare.
1398
cdaa5616
IS
13992012-02-21 Tristan Gingold <gingold@adacore.com>
1400
1401 * config/tc-i386.h (OBJ_MACH_O): New section.
1402 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1403 (TC_FORCE_RELOCATION_SUB_SAME): New
1404 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1405 (TC_VALIDATE_FIX_SUB): New.
1406 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1407 * symbols.c (colon): obj_frob_colon: New hook.
1408 * write.c (write_object_file): md_pre_relax_hook, new
1409 hook.
1410 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1411 (obj_mach_o_frob_label): Record sub-section labels.
1412 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1413 (obj_mach_o_set_subsections): New.
1414 (obj_mach_o_pre_relax_hook): New.
1415 (obj_mach_o_in_different_subsection): New.
1416 (obj_mach_o_force_reloc_sub_same): New.
1417 (obj_mach_o_force_reloc_sub_local): New.
1418 (obj_mach_o_force_reloc): New.
1419 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1420 (obj_frob_colon): New Define.
1421 (obj_mach_o_frob_label): Renamed.
1422 (obj_mach_o_frob_symbol): Renamed.
1423 (OBJ_FRAG_TYPE): New.
1424 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1425 obj_mach_o_force_reloc_sub_same,
1426 obj_mach_o_force_reloc_sub_local): New declarations.
1427
854ac8ba
IS
14282012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1429
1430 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1431 (obj_mach_o_allow_local_subtract): New.
1432 * config/obj-macho.h (md_allow_local_subtract): Define.
1433 (obj_mach_o_allow_local_subtract): Declare.
1434
a5759139
IS
14352012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1436
1437 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1438 canonical information, try to determine CODE and DEBUG section flags
1439 from the mach-o section data.
1440
9ad45734
NC
14412012-02-20 Nick Clifton <nickc@redhat.com>
1442
1443 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1444 local symbols.
1445
8e43fc02
IS
14462012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1447
1448 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1449 any local symbol used as an indirect.
1450
fb4914b0
IS
14512012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1452
1453 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1454 stub size when provided. (obj_mach_o_section): Flag that stub-size
1455 has been provided.
1456
42164a71
L
14572012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1458
1459 * config/tc-i386.c (HLE_PREFIX): New.
1460 (check_hle): Likewise.
1461 (_i386_insn): Add have_hle.
1462 (cpu_arch): Add .hle and .rtm.
1463 (md_assemble): Call check_hle if i.have_hle isn't zero.
1464 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1465 (output_jump): Support up to 2 byte opcode.
1466
1467 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1468
facf03f2
TG
14692012-02-02 Tristan Gingold <gingold@adacore.com>
1470
1471 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1472 uninitialized variable warning.
1473
f6616a06
NC
14742012-02-02 Nick Clifton <nickc@redhat.com>
1475
1476 PR gas/13224
1477 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1478 to 'is_clone' to avoid shadowing a gloabl.
1479 (obj_elf_section): Likewise.
1480
bac03263 14812012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 1482
bac03263
PB
1483 * doc/c-tic6x.c: Fix typo.
1484
f8819316
NC
14852012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1486
1487 PR gas/13624
1488 * app.c (app_push): Set 'add_newlines' to zero after saving.
1489
21abe33a
DD
14902012-01-24 DJ Delorie <dj@redhat.com>
1491
1492 * config/rl78-parse.y (NOT1): Add.
1493
8d63c93e
RM
14942012-01-23 Roland McGrath <mcgrathr@google.com>
1495
1496 * configure.tgt (i386-*-nacl*): Match it.
1497 * config/te-nacl.h: New file.
1498 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1499 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1500 Use TE_GNU et al case for TE_NACL too.
1501
a501d77e
L
15022012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1503
1504 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1505 disp_encoding.
1506 (md_assemble): Updated.
1507 (output_branch): Likewise.
1508 (parse_insn): Support .d8 suffix.
1509 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1510 suffixes.
1511
1512 * doc/c-i386.texi: Document .d8 suffix.
1513
032fbb7a
AM
15142012-01-17 Andrew Burgess <aburgess@broadcom.com>
1515
1516 * write.c (fix_new_internal): Don't mark used parameter as unused.
1517
576477a6
AM
15182012-01-17 Alan Modra <amodra@gmail.com>
1519
1520 * as.c (parse_args): Update copyright message year.
1521
8729a6f6
L
15222012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1525
1526 * doc/c-i386.texi: Document vmfunc.
1527
34dd18bc
IS
15282012-01-13 Tristan Gingold <gingold@adacore.com>
1529
1530 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1531 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1532 (obj_mach_o_reorder_section_relocs): Declare.
1533
687be931
IS
15342012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1535
1536 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1537 absolute indirect symbols.
1538
c3402d20
IS
15392012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1540
1541 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1542 (obj_mach_o_set_section_vma): New.
1543 (obj_mach_o_post_relax_hook): New.
1544 * config/obj-macho.h (md_post_relax_hook): Define.
1545 (obj_mach_o_post_relax_hook): Declare.
1546
50d10658
IS
15472012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1548
1549 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1550 lazy when the symbol is private_extern.
1551 (obj_mach_o_indirect_sym): New type.
1552 (obj_mach_o_indirect_symbol): New.
1553 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1554 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1555 (obj_macho_frob_label): Likewise. Adjust external and comm
1556 symbol tests.
1557 (obj_mach_o_set_indirect_symbols): New.
1558 (obj_mach_o_frob_file_after_relocs): New.
1559 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1560 (obj_mach_o_frob_file_after_relocs): Declare.
1561
0a4734dc
TG
15622012-01-12 Tristan Gingold <gingold@adacore.com>
1563
1564 PR gas/13591
1565 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1566
158184ac
TG
15672012-01-10 Tristan Gingold <gingold@adacore.com>
1568
1569 * struc-symbol.h (struct symbol_flags): New struct, created from...
1570 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1571 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1572 Adjust comment.
1573 (local_symbol_resolved_p): Adjust.
1574 (local_symbol_mark_resolved): Likewise.
1575 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1576 (local_symbol_make, local_symbol_convert, colon)
1577 (symbol_clone_if_forward_ref, verify_symbol_chain)
1578 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1579 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1580 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1581 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1582 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1583 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1584 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1585 (symbol_mark_mri_common, symbol_clear_mri_common)
1586 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1587 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1588 (symbol_equated_reloc_p, dot_symbol_init)
1589 (print_symbol_value_1): Adjust.
1590
b22161d6
IS
15912012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1592
1593 * config/obj-macho.c (obj_mach_o_weak): Remove.
1594 (obj_mach_o_common_parse): Set symbol qualifiers.
1595 (LAZY, REFE): New macros.
1596 (obj_mach_o_symbol_type): New enum.
1597 (obj_mach_o_set_symbol_qualifier): New.
1598 (obj_mach_o_sym_qual): New.
1599 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1600 a dummy function.
1601 (obj_mach_o_type_for_symbol): New.
1602 (obj_macho_frob_label): New.
1603 (obj_macho_frob_symbol): New.
1604 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1605 (obj_frob_label, obj_macho_frob_label): Declare.
1606 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1607
de64cffd
RS
16082012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1609
1610 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1611
462427c4
RS
16122012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1613 Richard Sandiford <rdsandiford@googlemail.com>
1614
1615 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1616 textness as parameters.
1617 (mips_move_text_labels): New function.
1618 (append_insn): Use it instead of mips_move_labels.
1619 (mips_emit_delays, start_noreorder): Likewise.
1620 (mips_align): Take the labels rather than just one label.
1621 Move all labels to after the .align.
1622 (s_align): Change the last argument to mips_align.
1623 (s_cons): Likewise.
1624 (s_float_cons): Likewise.
1625 (s_gpword): Likewise.
1626 (s_gpdword): Likewise.
1627
d382c579
TG
16282012-01-06 Tristan Gingold <gingold@adacore.com>
1629
1630 * config/tc-i386.c: Update copyright year.
1631 (lex_got): Also defined for Mach-O.
1632 Add a guard for non-ELF configuration.
1633 (md_longopts): Also handle -64 for Mach-O.
1634 (md_parse_option): Likewise.
1635 (i386_target_format): Adjust for x86_64-darwin.
1636
8cf6e084
IS
16372012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1638
1639 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1640 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1641 (obj_mach_o_make_or_get_sect): Likewise.
1642 (obj_mach_o_section): Split out the functionality shared with zerofill.
1643 (obj_mach_o_zerofill): New.
1644 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1645 (mach_o_pseudo_table): Add .zerofill.
1646
68588f95
IS
16472012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1648
1649 * config/obj-macho.c (obj_macho_process_stab): New.
1650 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1651 (obj_macho_process_stab): Declare.
1652
23e1d329 1653For older changes see ChangeLog-2011
08d56133
NC
1654\f
1655Local Variables:
1656mode: change-log
1657left-margin: 8
1658fill-column: 74
1659version-control: never
1660End:
This page took 0.637283 seconds and 4 git commands to generate.