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