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