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