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