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