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