Commit | Line | Data |
---|---|---|
4a2608e3 JB |
1 | 2012-07-31 Jan Beulich <jbeulich@suse.com> |
2 | ||
3 | * config/tc-i386.c (match_template): Adjust error message | |
4 | for 'bad_imm4' case. | |
5 | ||
5a819eb9 JB |
6 | 2012-07-31 Jan Beulich <jbeulich@suse.com> |
7 | ||
8 | * config/tc-i386.c (check_byte_reg): Check for I/O port | |
9 | register earlier, and just once. Drop diagnostic that got | |
10 | issued only for some registers. | |
11 | ||
5614d22c JB |
12 | 2012-07-31 Jan Beulich <jbeulich@suse.com> |
13 | ||
14 | * config/tc-i386.c (match_template): New local variable | |
15 | 'specific_error'. Set it from i.error after failed | |
16 | check_VecOperands or VEX_check_operands. Use it if set in | |
17 | preference to i.error when actually issuing disagnostic. | |
18 | ||
a6dc81d2 NC |
19 | 2012-07-30 Nick Clifton <nickc@redhat.com> |
20 | ||
21 | * po/gas.pot: Updated template. | |
22 | * po/es.po: Updated Spanish translation. | |
23 | * po/fi.po: Updated Finnish translation. | |
24 | * po/fr.po: Updated French translation. | |
25 | ||
c4dd807e MF |
26 | 2012-07-27 Mike Frysinger <vapier@gentoo.org> |
27 | ||
28 | * configure.in (BFD_VERSION): Run bfd/configure --version and | |
29 | parse the output of that. | |
30 | * configure: Regenerate. | |
31 | ||
af18cb59 TG |
32 | 2012-07-27 Tristan Gingold <gingold@adacore.com> |
33 | ||
34 | * NEWS: Add marker for 2.23. | |
35 | ||
204d254e SK |
36 | 2012-07-27 James Murray <jsm@jsm-net.demon.co.uk> |
37 | ||
38 | * config/tc-m68hc11.c: Replace binary with hex for cygwin. | |
39 | ||
c71bb85d SB |
40 | 2012-07-26 Segher Boessenkool <segher@kernel.crashing.org> |
41 | ||
42 | * listing.c (struct list_message): New. | |
43 | (struct list_info_struct): Delete "message". Add "messages" | |
44 | and "last_message". | |
45 | (listing_message): Adjust. | |
46 | (listing_newline): Adjust. | |
47 | (print_lines): Adjust. | |
48 | ||
9e2934f7 JB |
49 | 2012-07-24 Jan Beulich <jbeulich@suse.com> |
50 | ||
51 | * config/tc-i386-intel.c (i386_intel_simplify_register): Handle | |
52 | xmm/ymm index register being specified first as well as esp/rsp | |
53 | base register being specified last in a memory operand. | |
54 | ||
8280f326 JB |
55 | 2012-07-24 Jan Beulich <jbeulich@suse.com> |
56 | ||
57 | * config/tc-i386-intel.c (i386_intel_simplify_register): | |
58 | Replace literal 4 by corresponding ESP_REG_NUM. | |
59 | ||
5e73442d SL |
60 | 2012-07-24 Sandra Loosemore <sandra@codesourcery.com> |
61 | Jie Zhang <jzhang918@gmail.com> | |
62 | ||
63 | * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR | |
64 | if offset is negative. | |
65 | ||
e2e1fcde L |
66 | 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com> |
67 | ||
68 | * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives. | |
69 | * doc/c-i386.texi: Document the new directives. | |
70 | ||
6b0d957e SK |
71 | 2012-07-05 Sean Keys <skeys@ipdatasys.com> |
72 | * config/tc-xgate.c: Revised assembler so that operands | |
73 | are collected before the addressing mode is determined. | |
74 | ||
586ec8c1 NC |
75 | 2012-07-02 Nick Clifton <nickc@redhat.com> |
76 | ||
77 | * write.c (fixup_segment): Only perform the subtraction of an | |
78 | fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is | |
79 | properly defined. | |
80 | * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define. | |
81 | ||
e95a6b1c AM |
82 | 2012-06-30 Alan Modra <amodra@gmail.com> |
83 | ||
84 | PR gas/14315 | |
85 | * config/obj-elf.c (obj_elf_weak): Don't set local. | |
86 | ||
08ea7020 AM |
87 | 2012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com> |
88 | ||
89 | * frags.h (frag_offset_fixed_p): Update prototype. | |
90 | * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT. | |
91 | * expr.c (expr, resolve_expression): Likewise for frag_off var. | |
92 | ||
99aad254 NC |
93 | 2012-06-29 Nick Clifton <nickc@redhat.com> |
94 | ||
95 | PR gas/14263 | |
96 | * config/tc-arm.c (parse_operands): Initialise val. | |
97 | ||
2b2f5df9 NC |
98 | 2012-06-28 Nick Clifton <nickc@redhat.com> |
99 | ||
100 | PR gas/14260 | |
101 | * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error | |
102 | message if literal pool addressing is used. | |
103 | ||
453dc3f0 NC |
104 | 2012-06-28 Nick Clifton <nickc@redhat.com> |
105 | ||
106 | * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using | |
107 | linker relaxation. | |
108 | (dwarf2_gen_line_info): Generate real, local, labels for line | |
109 | numbers. | |
110 | (dwarf2dbg_convert_frag): Do not finalize the computation of the | |
111 | frag's symbol value when linker relaxation is enabled. | |
112 | (ADDR_DELTA_LIMIT): Define. | |
113 | (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT. | |
114 | (emit_fixed_inc_line_addr): Likewise. | |
115 | * write.c (fixup_segment): If the subtraction of two symbols | |
116 | cannot be resolved but is valid, then prevent bogus range warnings | |
117 | by pre-biasing add_number. | |
118 | * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0. | |
119 | ||
6b0d957e SK |
120 | 2012-06-28 Sean Keys <skeys@ipdatasys.com> |
121 | ||
122 | * config/tc-xgate.h: Defined tc_frob_symbol. | |
123 | * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark | |
124 | symbols as being XGATE by setting st_target_internal value. | |
125 | ||
29c048b6 RM |
126 | 2012-06-22 Roland McGrath <mcgrathr@google.com> |
127 | ||
fe13e45b RM |
128 | * NEWS: Mention 'rep ret' too. |
129 | ||
29c048b6 RM |
130 | * config/tc-i386.c (parse_insn): Don't complain about REP prefix |
131 | when the template has opcode_modifier.repprefixok set. | |
132 | * NEWS: Mention the change. | |
133 | ||
a574142b AM |
134 | 2012-06-18 Iain Sandoe <iain@codesourcery.com> |
135 | ||
136 | * configure.in: Check DECLS for free, getenv, malloc, realloc, | |
137 | * configure: Regenerate. | |
138 | * config.in: Likewise. | |
139 | ||
357d1bd8 L |
140 | 2012-06-13 H.J. Lu <hongjiu.lu@intel.com> |
141 | ||
142 | * config/tc-i386.c (x86_address_bytes): New. | |
143 | * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise. | |
144 | (x86_address_bytes): Likewise. | |
145 | ||
1a43faaf NC |
146 | 2012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
147 | ||
148 | PR gas/12698 | |
149 | * config/tc-arm.c (do_t_mrs): Do not require an m-profile | |
150 | architecure when assembling for all archiectures. | |
151 | (do_t_msr): Likewise. | |
152 | ||
e4efb665 NC |
153 | 2012-06-11 Georg-Johann Lay <avr@gjlay.de> |
154 | ||
155 | PR 13503 | |
156 | * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82 | |
157 | from 2012-05-16. | |
158 | ||
d2ae702c L |
159 | 2012-06-09 H.J. Lu <hongjiu.lu@intel.com> |
160 | ||
161 | * input-scrub.c (input_scrub_include_sb): Use sb_build to | |
162 | allocate sufficient space for from_sb. Use sb_terminate to | |
163 | terminate string. | |
164 | * read.c (read_a_source_file): Use sb_build to allocate | |
165 | sufficient space and replace sb_add_string with sb_add_buffer. | |
166 | (s_macro): Likewise. | |
167 | (input_scrub_insert_line): Likewise. | |
168 | (s_irp): Use sb_build to allocate sufficient space. | |
169 | (do_repeat): Use sb_build to allocate sufficient space | |
170 | for many. | |
171 | * sb.c (sb_build): Remove static. | |
172 | * sb.h (sb_build): New prototype. | |
173 | ||
5197bfb5 AM |
174 | 2012-06-09 Alan Modra <amodra@gmail.com> |
175 | ||
176 | * sb.c: Include limits.h. | |
177 | (dsize): Delete. | |
178 | (MALLOC_OVERHEAD, INIT_ALLOC): Define. | |
179 | (sb_new): Use INIT_ALLOC. | |
180 | (sb_check): Modify allocation strategy using MALLOC_OVERHEAD. | |
181 | (sb_terminate): Don't use sb_add_char. | |
182 | ||
39a45edc AM |
183 | 2012-06-07 Alan Modra <amodra@gmail.com> |
184 | ||
185 | PR gas/14201 | |
186 | * sb.h (sb_max_power_two): Delete. | |
187 | (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max". | |
188 | (sb_element): Delete. | |
189 | (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update | |
190 | prototypes. | |
191 | * sb.c (string_count, free_list): Delete. | |
192 | (sb_build, sb_kill, sb_check): Rewrite. | |
193 | (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer, | |
194 | sb_skip_white, sb_skip_comma): Replace assorted int params, | |
195 | vars and return types with size_t. | |
196 | * input-scrub.c: Likewise. | |
197 | * macro.c: Likewise. | |
198 | * macro.h: Likewise. | |
199 | * as.c: Likewise. | |
200 | * as.h: Likewise. | |
201 | * input-file.h: Likewise. | |
202 | * input-file.c: Likewise. | |
203 | * read.c: Likewise. | |
204 | * app.c: ..or ptrdiff_t. | |
205 | * input-file.c (input_file_get): Use ferror. | |
206 | (input_file_give_next_buffer): Use input_file_get. | |
207 | ||
6b0d957e SK |
208 | 2012-05-31 Sean Keys <skeys@ipdatasys.com> |
209 | ||
210 | * config/tc-xgate.c (md_begin): Refactored code. | |
211 | ||
d416e51d RM |
212 | 2012-05-29 Roland McGrath <mcgrathr@google.com> |
213 | ||
214 | * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable. | |
215 | (read_a_source_file) [HANDLE_BUNDLE]: Reset it. | |
216 | [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested | |
217 | pairs. | |
218 | ||
7bfd842d NC |
219 | 2012-05-28 Nick Clifton <nickc@redhat.com> |
220 | ||
221 | * read.c (read_symbol_name): New function. Reads a symbol names. | |
222 | Allows escape codes in names. | |
223 | (s_comm_internal): Use read_symbol_name. | |
224 | (s_globl, s_lsym, s_set, s_weakref): Likewise. | |
225 | * doc/as.texinfo: Document support for multibyte characters in | |
226 | symbol names. | |
227 | ||
95bfe26e MF |
228 | 2012-05-21 Mike Frysinger <vapier@gentoo.org> |
229 | ||
230 | * config/tc-mips.c (mips_after_parse_args): Assert that arch_info | |
231 | is non-NULL. | |
232 | ||
59365e19 AM |
233 | 2012-05-19 Alan Modra <amodra@gmail.com> |
234 | ||
235 | * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES | |
236 | targets when checking for "comdat". | |
237 | ||
f3719d90 AM |
238 | 2012-05-19 Alan Modra <amodra@gmail.com> |
239 | ||
240 | * config/tc-dlx.c (s_proc): Don't use asprintf. | |
241 | ||
74cda0c4 AM |
242 | 2012-05-18 Alan Modra <amodra@gmail.com> |
243 | ||
244 | * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf | |
245 | return value. | |
246 | ||
d6ed37ed AM |
247 | 2012-05-18 James Lemke <jwlemke@codesourcery.com> |
248 | Alan Modra <amodra@gmail.com> | |
249 | ||
250 | * config/tc-ppc.c: Don't capitalise error and warning messages. | |
251 | (md_parse_option): Add checks for -a32 -mvle. | |
252 | ||
222661cb AM |
253 | 2012-05-18 Alan Modra <amodra@gmail.com> |
254 | ||
255 | * config/obj-evax.c: Include as.h first. | |
256 | ||
f2c621e4 AS |
257 | 2012-05-18 Andreas Schwab <schwab@linux-m68k.org> |
258 | ||
259 | * aclocal.m4: Regenerate. | |
260 | * configure: Regenerate. | |
261 | * Makefile.in: Regenerate. | |
262 | ||
df7b86aa NC |
263 | 2012-05-17 Daniel Richard G. <skunk@iskunk.org> |
264 | Nick Clifton <nickc@redhat.com> | |
265 | ||
266 | PR 14072 | |
267 | * configure.in: Add check that sysdep.h has been included before | |
268 | any system header files. | |
269 | * configure: Regenerate. | |
270 | * config.in: Regenerate. | |
271 | * aclocal.m4: Regenerate. | |
272 | * Makefile.am: Use wrappers around C files generated by flex. | |
273 | * Makefile.in: Regenerate. | |
274 | * doc/Makefile.in: Regenerate. | |
275 | * itbl-lex-wrapper.c: New file. | |
276 | * config/bfin-lex-wrapper.c: New file. | |
277 | * cgen.c: Include as.h before setjmp.h. | |
278 | * config/tc-dlx.c: Include as.h before any other header. | |
279 | * config/tc-h8300.c: Likewise. | |
280 | * config/tc-lm32.c: Likewise. | |
281 | * config/tc-mep.c: Likewise. | |
282 | * config/tc-microblaze.c: Likewise. | |
283 | * config/tc-mmix.c: Likewise. | |
284 | * config/tc-msp430.c: Likewise. | |
285 | * config/tc-or32.c: Likewise. | |
286 | * config/tc-tic4x.c: Likewise. | |
287 | * config/tc-tic54x.c: Likewise. | |
288 | * config/tc-xtensa.c: Likewise. | |
289 | ||
a0f49396 NC |
290 | 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> |
291 | ||
292 | * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd' | |
293 | as the first argument for `bfd_get_section_vma'. | |
294 | ||
536695d0 NC |
295 | 2012-05-16 Alberto Garcia <agarcia@igalia.com> |
296 | ||
297 | PR gas/14082 | |
298 | * app.c (do_scrub_chars): Prevent possible out of bounds access to | |
299 | lex[] array. | |
300 | ||
40551fb8 NC |
301 | 2012-05-16 Georg-Johann Lay <avr@gjlay.de> |
302 | ||
303 | PR target/13503 | |
304 | * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to | |
305 | R_AVR_8_HLO8. | |
306 | (exp_mod_data) Ditto. And replace "hhi8" with "hlo8". | |
307 | (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO. | |
308 | ||
c1c30076 NS |
309 | 2012-05-16 Nathan Sidwell <nathan@codesourcery.com> |
310 | Kwok Cheung Yeung <kcy@codesourcery.com> | |
311 | ||
312 | * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm, | |
313 | 51qm variants. | |
314 | ||
6927f982 NC |
315 | 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk> |
316 | ||
317 | * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. | |
318 | Add option to offset S12 addresses into XGATE memory space. | |
319 | Tweak target flags to match other tools. (i.e. -m m68hc11). | |
320 | * doc/as.texinfo: Mention new options. | |
321 | * doc/c-m68hc11.texi: Document new options. | |
322 | * NEWS: Mention new support. | |
323 | ||
0e25bcb4 DD |
324 | 2012-05-14 DJ Delorie <dj@redhat.com> |
325 | ||
918edac3 DD |
326 | * config/rx-parse.y (rx_range): declare. |
327 | (O1,O2,O3,O4): Add calls to rx_range. | |
328 | (UO1,UO2,UO3): Likewise. | |
329 | (IMM2,IMMB): Likewise. | |
330 | (rx_range): New. | |
331 | ||
0e25bcb4 DD |
332 | * config/tc-rx.c (rx_fetchalign): Declare. |
333 | (md_pseudo_table): Add .fetchalign. | |
334 | (RX_NBASE_FETCHALIGN): New. | |
335 | (fetchalign_bytes): New. | |
336 | (rx_fetchalign): New. | |
337 | (rx_frag_init): If a "magic" value is found, also init the | |
338 | machine-specific data. | |
339 | (md_assemble): Note following opcode size if called for. | |
340 | (rx_next_opcode): New. | |
341 | (rx_relax_frag): Support .fetchalign. | |
342 | (md_convert_frag): Likewise. | |
343 | * doc/c-rx.texi (RX-Directives): Add .fetchalign. | |
344 | ||
b9c361e0 JL |
345 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> |
346 | ||
347 | * config/tc-ppc.c (insn_validate): New func of existing code to call.. | |
348 | (ppc_setup_opcodes): ..from 2 places here. | |
349 | Revise for second (VLE) opcode table. | |
350 | Add #ifdef'd code to print opcode tables. | |
351 | ||
352 | 2012-05-14 James Lemke <jwlemke@codesourcery.com> | |
353 | ||
354 | * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order | |
355 | for the VLE conditional branches. | |
356 | ||
357 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
358 | Maciej W. Rozycki <macro@codesourcery.com> | |
359 | Rhonda Wittels <rhonda@codesourcery.com> | |
360 | ||
361 | * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro. | |
362 | (PPC_VLE_SPLIT16D): New macro. | |
363 | (PPC_VLE_LO16A): New macro. | |
364 | (PPC_VLE_LO16D): New macro. | |
365 | (PPC_VLE_HI16A): New macro. | |
366 | (PPC_VLE_HI16D): New macro. | |
367 | (PPC_VLE_HA16A): New macro. | |
368 | (PPC_VLE_HA16D): New macro. | |
369 | (PPC_APUINFO_VLE): New definition. | |
370 | (md_chars_to_number): New function. | |
371 | (md_parse_option): Check for combinations of little | |
372 | endian and -mvle. | |
373 | (md_show_usage): Document -mvle. | |
374 | (ppc_arch): Recognize VLE. | |
375 | (ppc_mach): Recognize bfd_mach_ppc_vle. | |
6927f982 | 376 | (ppc_setup_opcodes): Print the opcode table if |
b9c361e0 JL |
377 | * config/tc-ppc.h (ppc_frag_check): Declare. |
378 | * doc/c-ppc.texi: Document -mvle. | |
379 | * NEWS: Mention PowerPC VLE port. | |
380 | ||
381 | 2012-05-14 Catherine Moore <clm@codesourcery.com> | |
382 | ||
383 | * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare. | |
384 | (DWARF2_LINE_MIN_INSN_LENGTH): Redefine. | |
385 | * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New. | |
386 | * dwarf2dbg.c (scale_addr_delta): Handle values of 1 | |
6927f982 | 387 | for DWARF2_LINE_MIN_INSN_LENGTH. |
b9c361e0 | 388 | |
56e63005 L |
389 | 2012-05-12 H.J. Lu <hongjiu.lu@intel.com> |
390 | ||
391 | * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow | |
392 | for BFD_RELOC_64. | |
393 | ||
208a4923 NC |
394 | 2012-05-11 Daniel Richard G. <skunk@iskunk.org> |
395 | ||
396 | PR binutils/14028 | |
397 | * configure.in: Invoke ACX_HEADER_STRING. | |
398 | * configure: Regenerate. | |
399 | * config.in: Regenerate. | |
400 | * as.h: If STRINGS_WITH_STRING is defined then include both | |
401 | string.h and strings.h. | |
402 | ||
99700d6f NC |
403 | 2012-05-11 Georg-Johann Lay <avr@gjlay.de |
404 | ||
405 | PR target/13503 | |
406 | * config/tc-avr.c (exp_mod_pm): Remove variable. | |
407 | (exp_mod_data_t): New typedef. | |
408 | (pexp_mod_data, exp_mod_data): New variables. | |
409 | (avr_parse_cons_expression): Scan through exp_mod_data[] to find | |
410 | data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8" | |
411 | and set pexp_mod_data accordingly to be used in avr_cons_fix_new. | |
412 | (avr_cons_fix_new): Handle new data expression modifiers shipped | |
413 | in pexp_mod_data. | |
414 | (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI, | |
415 | BFD_RELOC_AVR_8_HHI. | |
416 | ||
268a8d3a L |
417 | 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> |
418 | ||
419 | * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32 | |
420 | addend overflow check. | |
421 | ||
6f2c9068 L |
422 | 2012-05-10 H.J. Lu <hongjiu.lu@intel.com> |
423 | ||
424 | * config/tc-i386.c (tc_gen_reloc): Display signed hex number in | |
425 | x32 addend overflow check. | |
426 | ||
83acd3e8 L |
427 | 2012-05-09 H.J. Lu <hongjiu.lu@intel.com> |
428 | ||
429 | * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long. | |
430 | ||
8cf0d2dd L |
431 | 2012-05-09 H.J. Lu <hongjiu.lu@intel.com> |
432 | ||
433 | * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow | |
434 | for BFD_RELOC_64. | |
435 | ||
e5b62927 AM |
436 | 2012-05-08 Alan Modra <amodra@gmail.com> |
437 | ||
438 | * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other | |
439 | LC and LANG environment vars. | |
440 | * Makefile.in: Regenerate. | |
441 | ||
cce3d66c AM |
442 | 2012-05-07 Alan Modra <amodra@gmail.com> |
443 | ||
444 | * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG. | |
445 | * Makefile.in: Regenerate. | |
446 | ||
25045f79 AM |
447 | 2012-05-06 Arnold Metselaar <arnold_m@operamail.com> |
448 | ||
449 | * config/tc-z80.h(md_register_arithmetic): Define as 0. | |
cce3d66c AM |
450 | * config/tc-z80.c(md_begin): Store register names in symbol table, |
451 | preventing usage as ordinary symbol. | |
25045f79 AM |
452 | * config/tc-z80.c(contains_register): New function. |
453 | * config/tc-z80.c(parse_exp2): Removed. | |
454 | * config/tc-z80.c(parse_exp_not_indexed): New function. | |
cce3d66c AM |
455 | * config/tc-z80.c(parse_exp): Add code to recogize indexed |
456 | addressing after parsing. | |
25045f79 | 457 | * config/tc-z80.c(emit_byte, emit_word): Use contains_register. |
cce3d66c AM |
458 | * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify |
459 | condition for jump to register. | |
460 | * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use | |
461 | parse_exp_not_indexed. | |
25045f79 | 462 | |
45dfa85a AM |
463 | 2012-05-05 Alan Modra <amodra@gmail.com> |
464 | ||
465 | * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section, | |
466 | bfd_und_section and bfd_ind_section with their _ptr variants, or | |
467 | use corresponding bfd_is_* macros. | |
468 | * symbols.c: Likewise. | |
469 | * config/obj-aout.c: Likewise. | |
470 | * config/obj-coff-seh.h: Likewise. | |
471 | * config/tc-hppa.c: Likewise. | |
472 | * config/tc-hppa.h: Likewise. | |
473 | * config/tc-ia64.c: Likewise. | |
474 | * config/tc-m32r.c: Likewise. | |
475 | * config/tc-microblaze.c: Likewise. | |
476 | * config/tc-mips.c: Likewise. | |
477 | * config/tc-score.c: Likewise. | |
478 | * config/tc-score7.c: Likewise. | |
479 | * config/tc-tic6x.c: Likewise. | |
480 | ||
3c995545 L |
481 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
482 | ||
483 | * configure.tgt: Support x86_64-*-linux-gnux32. | |
484 | ||
35262a23 L |
485 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
486 | ||
487 | * config/tc-i386.c (match_template): Add `instruction' to | |
488 | unsupported error message. | |
489 | ||
89e71f5c L |
490 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
491 | ||
492 | * config/tc-i386.c (output_insn): Reformat. | |
493 | ||
ae5c1c7b L |
494 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
495 | ||
496 | * config/tc-i386.c (output_insn): Remove the extra VEX check. | |
497 | ||
10efe3f6 L |
498 | 2012-05-04 H.J. Lu <hongjiu.lu@intel.com> |
499 | ||
500 | * config/tc-i386.c (match_template): Improve unsupported error | |
501 | message. | |
502 | ||
f6c1a2d5 NC |
503 | 2012-05-03 Sean Keys <skeys@ipdatasys.com> |
504 | ||
505 | * configure, Makefile.in: Regenerate. | |
506 | * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES): | |
507 | * configure.tgt: Added cpu type. | |
508 | Added files for XGATE assembler. | |
509 | * config/tc-xgate.c: Assembler for XGATE. | |
510 | * config/tc-xgate.h: Header definition for assembler | |
511 | Added files for XGATE testsuite. | |
512 | * doc/Makefile.am (CPU_DOCS): Added XGATE file. | |
513 | * doc/c-xgate.texi: Document XGATE and XGATE port. | |
514 | * doc/as.texinfo: Ditto. | |
515 | * doc/all.texi: Ditto | |
516 | * NEWS: Mention the new support. | |
517 | ||
cad335c9 DD |
518 | 2012-04-30 DJ Delorie <dj@redhat.com> |
519 | ||
520 | * config/rx-parse.y (rx_intop): Add parameter for operation size. | |
521 | Check for large positive constants really being small negative | |
522 | ones. | |
523 | (BRA, BSR): Update calls to rx_intop. | |
524 | (immediate): Likewise. | |
525 | ||
88ebb0a1 MW |
526 | 2012-04-26 Mark Wielaard <mjw@redhat.com> |
527 | ||
528 | * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2. | |
529 | (DWARF2_LINE_VERSION): Likewise. | |
530 | (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION. | |
531 | (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION. | |
532 | (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when | |
533 | DWARF2_VERSION >= 4. | |
534 | (out_debug_info): Use difference between start and end as data | |
535 | value for DW_AT_high_pc when DWARF2_VERSION >= 4. | |
536 | * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it. | |
537 | ||
ec668d69 DM |
538 | 2012-04-27 David S. Miller <davem@davemloft.net> |
539 | ||
2755f698 DM |
540 | * doc/c-sparc.text: Document %l34 and %h34. |
541 | ||
2e52845b DM |
542 | * config/tc-sparc.c (v9a_asr_table): Add 'cfr'. |
543 | ||
58004e23 DM |
544 | * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4, |
545 | v8pluse, v8plusv, v9e, and v9v. | |
546 | (v9a_asr_table): Add 'pause'. | |
547 | ||
698544e1 DM |
548 | * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to |
549 | sparc4, v8pluse, v8plusv, v9e, and v9v. | |
550 | (sparc_ip): Handle R_SPARC_5 of immediate constants inline in | |
551 | order to accomodate cbcond which otherwise would require two | |
552 | relocations to be handled in a single instruction.. | |
553 | ||
6cda1326 DM |
554 | * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction |
555 | names containing "_". | |
556 | (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto | |
557 | hwcap masks to v8plusv and v9v. | |
558 | ||
ec668d69 DM |
559 | * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_* |
560 | masks. | |
561 | (sparc_md_end): No longer need to translate hwcap_seen values into | |
562 | ELF hwcap bits, they now match exactly. | |
563 | (get_hwcap_name): Use HWCAP_* and handle new values. | |
564 | (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags. | |
565 | ||
2b0bc501 TG |
566 | 2012-04-20 Tristan Gingold <gingold@adacore.com> |
567 | ||
568 | * config/tc-ia64.c (obj_elf_vms_common): New function. | |
569 | (md_pseudo_table): Add .vms_common pseudo. | |
570 | * config/obj-elf.h (obj_elf_section_name): Add a prototype. | |
571 | * config/obj-elf.c (obj_elf_section_name): Make it public. | |
572 | ||
0b649256 RS |
573 | 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com> |
574 | ||
575 | * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32. | |
576 | ||
2615994e DM |
577 | 2012-04-12 David S. Miller <davem@davemloft.net> |
578 | ||
579 | * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and | |
580 | BFD_RELOC_SPARC_H34. | |
581 | (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34. | |
582 | (tc_gen_reloc): Likewise. | |
583 | ||
b38cadfb NC |
584 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
585 | ||
586 | * configure.tgt (arm-*-nacl*): Match it. | |
587 | * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define. | |
588 | (LOCAL_LABELS_DOLLAR): Define. | |
589 | * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]: | |
590 | Use nacl format variants. | |
591 | ||
6530b175 NC |
592 | 2012-04-12 Jie Zhang <jie@codesourcery.com> |
593 | Meador Inge <meadori@codesourcery.com> | |
594 | ||
595 | * config/tc-arm.c (only_one_reg_in_list): New function. | |
596 | (encode_ldmstm): Ditto. | |
597 | (do_ldmstm): Use a different encoding when pushing or poping | |
598 | a single register. | |
599 | (A_COND_MASK): New macro. | |
600 | (A_PUSH_POP_OP_MASK): Ditto. | |
601 | (A1_OPCODE_PUSH): Ditto. | |
602 | (A2_OPCODE_PUSH): Ditto. | |
603 | (A2_OPCODE_POP): Ditto. | |
604 | ||
45e279f5 MR |
605 | 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org> |
606 | ||
607 | * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to | |
608 | -mno-fix-24k. | |
609 | ||
58797674 RM |
610 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
611 | ||
612 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
613 | * config.in: Regenerate. | |
614 | * configure: Regenerate. | |
615 | ||
44350750 NC |
616 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
617 | ||
618 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
619 | (AM_LC_MESSAGES): Add. | |
620 | * aclocal.m4: Regenerate. | |
621 | * config.in: Regenerate. | |
622 | * configure: Regenerate. | |
623 | ||
e91a22ce DD |
624 | 2012-04-03 DJ Delorie <dj@redhat.com> |
625 | ||
626 | * config/rx-parse.y: Make the .L optional for ADC and SBB. | |
627 | ||
b1c0804b DD |
628 | 2012-04-02 DJ Delorie <dj@redhat.com> |
629 | ||
630 | * config/rx-parse.y: IMM->IMM_, take an extra parameter for the | |
631 | transfer size. | |
632 | (IMM): New, call IMM_ with the default 32. | |
633 | (IMMW,IMMB): Likewise, for 16 and 8. | |
634 | (NIMM, MBIMM): Add size parameter. | |
635 | (immediate): Likewise. Allow 32768..65535 for 16-bit transfers. | |
636 | (MOV.W): Use IMMW instead of IMM. | |
637 | ||
638 | * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L. | |
639 | (op_dp20_rm_l): New. | |
640 | (op_dp20_rim_l): New. | |
641 | ||
642 | * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem. | |
643 | (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms). | |
644 | ||
ce32bd10 MGD |
645 | 2012-03-29 Terry Guo <terry.guo@arm.com> |
646 | ||
647 | * config/tc-arm.c (arm_cpus): Add cortex-m0plus. | |
648 | * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus. | |
649 | ||
55a36193 MK |
650 | 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com> |
651 | ||
652 | * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP. | |
653 | * doc/c-mips.texi: Mention XLP. | |
654 | ||
32b9ff0d TS |
655 | 2012-03-21 Thomas Schwinge <thomas@codesourcery.com> |
656 | ||
657 | [SH] Support the .uaquad and .8byte directives also for non-sh64 | |
658 | configurations. | |
659 | ||
660 | * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle | |
661 | BFD_RELOC_64. | |
662 | * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad | |
663 | description... | |
664 | * doc/c-sh.texi (SH Machine Directives): ... here. | |
665 | ||
7465e07a NC |
666 | 2012-03-20 Nick Clifton <nickc@redhat.com> |
667 | ||
668 | * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system | |
669 | registers. | |
670 | (do_vmsr): Likewise. | |
671 | (arm_opcode_insns): Do not default to using the FPSCR register in | |
672 | the VMRS and VMSR registers. | |
673 | ||
8059fb19 RM |
674 | 2012-03-16 Roland McGrath <mcgrathr@google.com> |
675 | ||
676 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64): | |
677 | Define for this case. | |
678 | * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32. | |
679 | ||
69239280 MGD |
680 | 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
681 | ||
682 | * config/tc-arm.c (aeabi_set_public_attributes): Correct | |
683 | handling of Tag_DIV_use. | |
684 | ||
27dcf5c0 TS |
685 | 2012-03-15 Thomas Schwinge <thomas@codesourcery.com> |
686 | ||
687 | * doc/as.texinfo (Bundle directives): Fix typo. | |
688 | ||
ec82c18e L |
689 | 2012-03-14 Ryan Mansfield <rmansfield@qnx.com> |
690 | ||
691 | * doc/as.texinfo (Bundle directives): Replace @defn with @dfn. | |
692 | ||
8d3eaee6 | 693 | 2012-03-13 Roland McGrath <mcgrathr@google.com> |
fa94de6b RM |
694 | |
695 | * config/tc-arm.c (arm_frag_max_var): New function. | |
696 | * config/tc-arm.h: Declare it. | |
697 | (md_frag_max_var): New macro. | |
698 | ||
699 | * config/tc-i386.c (i386_frag_max_var): New function. | |
700 | * config/tc-i386.h: Declare it. | |
701 | (md_frag_max_var): New macro. | |
702 | ||
703 | * doc/as.texinfo (Bundle directives): New node. | |
704 | (Pseudo Ops): Add it to the menu. | |
705 | * NEWS: Mention new feature. | |
706 | * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro. | |
707 | [HANDLE_BUNDLE] (bundle_align_p2): New variable. | |
708 | [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables. | |
709 | [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle): | |
710 | New functions. | |
711 | (assemble_one): New function if [HANDLE_BUNDLE], #define directly | |
712 | to md_assembly if not. | |
713 | (read_a_source_file): Call assemble_one in place of md_assemble. | |
714 | (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated | |
715 | .bundle_lock at end of processing. | |
716 | [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock): | |
717 | New functions. | |
718 | [HANDLE_BUNDLE] (potable): Add their entries. | |
719 | * read.h: Declare new functions. | |
720 | ||
aea77599 AM |
721 | 2012-03-10 Edmar Wienskoski <edmar@freescale.com> |
722 | ||
723 | * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500. | |
724 | (ppc_handle_align): Add termination nop opcode for e500mc family. | |
725 | * doc/as.texinfo: Document options -me5500 and -me6500. | |
726 | * doc/c-ppc.texi: Likewise. | |
727 | ||
0a22ae8e NC |
728 | 2012-03-07 Nick Clifton <nickc@redhat.com> |
729 | ||
730 | * config/tc-mn10300.c (other_registers): Add SSP and USP. | |
731 | (md_assemble): Add support for TLS relocs. | |
732 | (mn10300_parse_name): Likewise. | |
733 | ||
805e800d AM |
734 | 2012-02-27 Alan Modra <amodra@gmail.com> |
735 | ||
736 | * config/tc-crx.c (check_range): Correct uint32_t misconceptions. | |
737 | ||
b9fcee79 AM |
738 | 2012-02-27 Alan Modra <amodra@gmail.com> |
739 | ||
740 | * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on | |
741 | params. Properly generate NOP pattern. Comment reason for | |
742 | subseg_text_p failure. | |
743 | ||
35a35807 AM |
744 | 2012-02-27 Alan Modra <amodra@gmail.com> |
745 | ||
746 | * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits | |
747 | and sign extend before range tests. | |
748 | (constant_fits_size_p): Similarly. | |
749 | (get_specific): Trim X_add_number to 32 bits. | |
750 | (fix_operand_size): Likewise, and use unsigned test for signed | |
751 | ranges. | |
752 | ||
1f42f8b3 AM |
753 | 2012-02-27 Alan Modra <amodra@gmail.com> |
754 | ||
755 | * config/tc-crx.c: Include bfd_stdint.h. | |
756 | (getconstant): Remove irrelevant comment. Don't fail due to | |
757 | sign-extension of int mask. | |
758 | (check_range): Rewrite using unsigned arithmetic throughout. | |
759 | ||
481fe810 WL |
760 | 2012-02-25 Walter Lee <walt@tilera.com> |
761 | ||
762 | * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is | |
763 | non-local before checking sy_value. | |
764 | * tc-tilegx.c (emit_tilegx_instruction): Ditto. | |
765 | ||
6f7be959 WL |
766 | 2012-02-25 Walter Lee <walt@tilera.com> |
767 | ||
768 | * tc-tilepro.c (O_tls_le): Define operator. | |
769 | (O_tls_le_lo16): Ditto. | |
770 | (O_tls_le_hi16): Ditto. | |
771 | (O_tls_le_ha16): Ditto. | |
772 | (O_tls_gd_call): Ditto. | |
773 | (O_tls_gd_add): Ditto. | |
774 | (O_tls_ie_load): Ditto. | |
775 | (md_begin): Delete old operators; handle new operators. | |
776 | (emit_tilepro_instruction): Ditto. | |
777 | (md_apply_fix): Ditto. | |
778 | * tc-tilegx.c (O_hw1_got): Delete operator. | |
779 | (O_hw2_got): Ditto. | |
780 | (O_hw3_got): Ditto. | |
781 | (O_hw2_last_got): Ditto. | |
782 | (O_hw1_tls_gd): Ditto. | |
783 | (O_hw2_tls_gd): Ditto. | |
784 | (O_hw3_tls_gd): Ditto. | |
785 | (O_hw2_last_tls_gd): Ditto. | |
786 | (O_hw1_tls_ie): Ditto. | |
787 | (O_hw2_tls_ie): Ditto. | |
788 | (O_hw3_tls_ie): Ditto. | |
789 | (O_hw2_last_tls_ie): Ditto. | |
790 | (O_hw0_tls_le): Define operator. | |
791 | (O_hw0_last_tls_le): Ditto. | |
792 | (O_hw1_last_tls_le): Ditto. | |
793 | (O_tls_gd_call): Ditto. | |
794 | (O_tls_gd_add): Ditto. | |
795 | (O_tls_ie_load): Ditto. | |
796 | (O_tls_add): Ditto. | |
797 | (md_begin): Delete old operators; handle new operators. | |
798 | (emit_tilegx_instruction): Ditto. | |
799 | (md_apply_fix): Ditto. | |
800 | * doc/c-tilegx.texi: Delete old operators; document new operators. | |
801 | * doc/c-tilepro.texi: Ditto. | |
802 | ||
82590249 WL |
803 | 2012-02-25 Walter Lee <walt@tilera.com> |
804 | ||
5414dbef WL |
805 | * tc-tilepro.c (apply_special_operator): delete cases for |
806 | got and tls operators. | |
807 | (md_apply_fix): Ditto. | |
fb6cedde WL |
808 | * tc-tilegx.c (md_begin): Set architecture and machine. |
809 | (tilegx_target_format): Handle big endian. | |
810 | (OPTION_EB): Define. | |
811 | (OPTION_EL): Define. | |
812 | (md_longopts): Add entries for "EB" and "EL". | |
813 | (md_parse_option): Handle OPTION_EB and OPTION_EL. | |
814 | (md_show_usage): Add -EB and -EL. | |
815 | (md_number_to_chars): New. | |
5414dbef WL |
816 | (apply_special_operator): delete cases for got and tls |
817 | operators. | |
818 | (md_apply_fix): Ditto. | |
fb6cedde WL |
819 | * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with |
820 | ifndef. | |
821 | (md_number_to_chars): Delete. | |
822 | * configure.tgt (tilegx*be): Handle. | |
823 | * doc/as.texinfo [TILE-Gx]: Document -EB and -EL. | |
824 | * doc/c-tilegx.texi: Ditto. | |
82590249 | 825 | |
82c2def5 L |
826 | 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> |
827 | ||
828 | * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock, | |
829 | HLEPrefixAny and HLEPrefixRelease. | |
830 | ||
1bf10b0d NC |
831 | 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
832 | ||
833 | * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. | |
834 | ||
16a87420 IS |
835 | 2012-02-21 Iain Sandoe <idsandoe@googlemail.com> |
836 | ||
837 | * write.c (write_object_file): Add md_pre_output_hook. | |
838 | * config/obj-macho.c (obj_mach_o_check_before_writing): New. | |
839 | (obj_mach_o_pre_output_hook): New. | |
840 | * config/obj-macho.h (md_pre_output_hook): Define. | |
841 | (obj_mach_o_pre_output_hook): Declare. | |
842 | ||
cdaa5616 IS |
843 | 2012-02-21 Tristan Gingold <gingold@adacore.com> |
844 | ||
845 | * config/tc-i386.h (OBJ_MACH_O): New section. | |
846 | (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc. | |
847 | (TC_FORCE_RELOCATION_SUB_SAME): New | |
848 | (TC_FORCE_RELOCATION_SUB_LOCAL): New. | |
849 | (TC_VALIDATE_FIX_SUB): New. | |
850 | * frags.h (struct frag): OBJ_FRAG_TYPE, new field. | |
851 | * symbols.c (colon): obj_frob_colon: New hook. | |
852 | * write.c (write_object_file): md_pre_relax_hook, new | |
853 | hook. | |
854 | * config/obj-macho.c (obj_mach_o_frob_colon): New. | |
855 | (obj_mach_o_frob_label): Record sub-section labels. | |
856 | (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol. | |
857 | (obj_mach_o_set_subsections): New. | |
858 | (obj_mach_o_pre_relax_hook): New. | |
859 | (obj_mach_o_in_different_subsection): New. | |
860 | (obj_mach_o_force_reloc_sub_same): New. | |
861 | (obj_mach_o_force_reloc_sub_local): New. | |
862 | (obj_mach_o_force_reloc): New. | |
863 | * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New. | |
864 | (obj_frob_colon): New Define. | |
865 | (obj_mach_o_frob_label): Renamed. | |
866 | (obj_mach_o_frob_symbol): Renamed. | |
867 | (OBJ_FRAG_TYPE): New. | |
868 | (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc, | |
869 | obj_mach_o_force_reloc_sub_same, | |
870 | obj_mach_o_force_reloc_sub_local): New declarations. | |
871 | ||
854ac8ba IS |
872 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
873 | ||
874 | * config/obj-macho.c (obj_mach_o_is_frame_section): New. | |
875 | (obj_mach_o_allow_local_subtract): New. | |
876 | * config/obj-macho.h (md_allow_local_subtract): Define. | |
877 | (obj_mach_o_allow_local_subtract): Declare. | |
878 | ||
a5759139 IS |
879 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
880 | ||
881 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of | |
882 | canonical information, try to determine CODE and DEBUG section flags | |
883 | from the mach-o section data. | |
884 | ||
9ad45734 NC |
885 | 2012-02-20 Nick Clifton <nickc@redhat.com> |
886 | ||
887 | * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on | |
888 | local symbols. | |
889 | ||
8e43fc02 IS |
890 | 2012-02-12 Iain Sandoe <idsandoe@googlemail.com> |
891 | ||
892 | * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of | |
893 | any local symbol used as an indirect. | |
894 | ||
fb4914b0 IS |
895 | 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> |
896 | ||
897 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in | |
898 | stub size when provided. (obj_mach_o_section): Flag that stub-size | |
899 | has been provided. | |
900 | ||
42164a71 L |
901 | 2012-02-08 H.J. Lu <hongjiu.lu@intel.com> |
902 | ||
903 | * config/tc-i386.c (HLE_PREFIX): New. | |
904 | (check_hle): Likewise. | |
905 | (_i386_insn): Add have_hle. | |
906 | (cpu_arch): Add .hle and .rtm. | |
907 | (md_assemble): Call check_hle if i.have_hle isn't zero. | |
908 | (parse_insn): Set i.have_hle to 1 for HLE prefix. | |
909 | (output_jump): Support up to 2 byte opcode. | |
910 | ||
911 | * doc/c-i386.texi: Document hle/.hle and rtm/.rtm. | |
912 | ||
facf03f2 TG |
913 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
914 | ||
915 | * config/obj-macho.c (obj_mach_o_zerofill): Silent | |
916 | uninitialized variable warning. | |
917 | ||
f6616a06 NC |
918 | 2012-02-02 Nick Clifton <nickc@redhat.com> |
919 | ||
920 | PR gas/13224 | |
921 | * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone' | |
922 | to 'is_clone' to avoid shadowing a gloabl. | |
923 | (obj_elf_section): Likewise. | |
924 | ||
bac03263 | 925 | 2012-01-31 Paul Brook <paul@codesourcery.com> |
f6616a06 | 926 | |
bac03263 PB |
927 | * doc/c-tic6x.c: Fix typo. |
928 | ||
f8819316 NC |
929 | 2012-01-26 Alexey Makhalov <makhaloff@gmail.com> |
930 | ||
931 | PR gas/13624 | |
932 | * app.c (app_push): Set 'add_newlines' to zero after saving. | |
933 | ||
21abe33a DD |
934 | 2012-01-24 DJ Delorie <dj@redhat.com> |
935 | ||
936 | * config/rl78-parse.y (NOT1): Add. | |
937 | ||
8d63c93e RM |
938 | 2012-01-23 Roland McGrath <mcgrathr@google.com> |
939 | ||
940 | * configure.tgt (i386-*-nacl*): Match it. | |
941 | * config/te-nacl.h: New file. | |
942 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case. | |
943 | * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR): | |
944 | Use TE_GNU et al case for TE_NACL too. | |
945 | ||
a501d77e L |
946 | 2012-01-20 H.J. Lu <hongjiu.lu@intel.com> |
947 | ||
948 | * config/tc-i386.c (_i386_insn): Replace disp32_encoding with | |
949 | disp_encoding. | |
950 | (md_assemble): Updated. | |
951 | (output_branch): Likewise. | |
952 | (parse_insn): Support .d8 suffix. | |
953 | (build_modrm_byte): Fake zero displacement for .d8 and .d32 | |
954 | suffixes. | |
955 | ||
956 | * doc/c-i386.texi: Document .d8 suffix. | |
957 | ||
032fbb7a AM |
958 | 2012-01-17 Andrew Burgess <aburgess@broadcom.com> |
959 | ||
960 | * write.c (fix_new_internal): Don't mark used parameter as unused. | |
961 | ||
576477a6 AM |
962 | 2012-01-17 Alan Modra <amodra@gmail.com> |
963 | ||
964 | * as.c (parse_args): Update copyright message year. | |
965 | ||
8729a6f6 L |
966 | 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> |
967 | ||
968 | * config/tc-i386.c (cpu_arch): Add ".vmfunc". | |
969 | ||
970 | * doc/c-i386.texi: Document vmfunc. | |
971 | ||
34dd18bc IS |
972 | 2012-01-13 Tristan Gingold <gingold@adacore.com> |
973 | ||
974 | * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New. | |
975 | * config/obj-macho.h (SET_SECTION_RELOCS): Define. | |
976 | (obj_mach_o_reorder_section_relocs): Declare. | |
977 | ||
687be931 IS |
978 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
979 | ||
980 | * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle | |
981 | absolute indirect symbols. | |
982 | ||
c3402d20 IS |
983 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
984 | ||
985 | * config/obj-macho.c (obj_mach_o_set_vma_data): New type. | |
986 | (obj_mach_o_set_section_vma): New. | |
987 | (obj_mach_o_post_relax_hook): New. | |
988 | * config/obj-macho.h (md_post_relax_hook): Define. | |
989 | (obj_mach_o_post_relax_hook): Declare. | |
990 | ||
50d10658 IS |
991 | 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> |
992 | ||
993 | * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off | |
994 | lazy when the symbol is private_extern. | |
995 | (obj_mach_o_indirect_sym): New type. | |
996 | (obj_mach_o_indirect_symbol): New. | |
997 | (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol. | |
998 | (obj_macho_frob_label): Adjust to avoid adding bsyms for locals. | |
999 | (obj_macho_frob_label): Likewise. Adjust external and comm | |
1000 | symbol tests. | |
1001 | (obj_mach_o_set_indirect_symbols): New. | |
1002 | (obj_mach_o_frob_file_after_relocs): New. | |
1003 | *config/obj-macho.h (obj_frob_file_after_relocs): Define. | |
1004 | (obj_mach_o_frob_file_after_relocs): Declare. | |
1005 | ||
0a4734dc TG |
1006 | 2012-01-12 Tristan Gingold <gingold@adacore.com> |
1007 | ||
1008 | PR gas/13591 | |
1009 | * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict. | |
1010 | ||
158184ac TG |
1011 | 2012-01-10 Tristan Gingold <gingold@adacore.com> |
1012 | ||
1013 | * struc-symbol.h (struct symbol_flags): New struct, created from... | |
1014 | (struct symbol): ... this one. Add sy_flags field, remove flag fields. | |
1015 | (struct local_symbol): Replace lsy_marker field by lsy_flags. | |
1016 | Adjust comment. | |
1017 | (local_symbol_resolved_p): Adjust. | |
1018 | (local_symbol_mark_resolved): Likewise. | |
1019 | * symbols.c (LOCAL_SYMBOL_CHECK): Adjust. | |
1020 | (local_symbol_make, local_symbol_convert, colon) | |
1021 | (symbol_clone_if_forward_ref, verify_symbol_chain) | |
1022 | (resolve_symbol_value, snapshot_symbol, S_GET_VALUE) | |
1023 | (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF) | |
1024 | (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD) | |
1025 | (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE) | |
1026 | (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used) | |
1027 | (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc) | |
1028 | (symbol_clear_used_in_reloc, symbol_used_in_reloc_p) | |
1029 | (symbol_mark_mri_common, symbol_clear_mri_common) | |
1030 | (symbol_mri_common_p, symbol_mark_written, symbol_clear_written) | |
1031 | (symbol_written_p, symbol_mark_resolved, symbol_resolved_p) | |
1032 | (symbol_equated_reloc_p, dot_symbol_init) | |
1033 | (print_symbol_value_1): Adjust. | |
1034 | ||
b22161d6 IS |
1035 | 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> |
1036 | ||
1037 | * config/obj-macho.c (obj_mach_o_weak): Remove. | |
1038 | (obj_mach_o_common_parse): Set symbol qualifiers. | |
1039 | (LAZY, REFE): New macros. | |
1040 | (obj_mach_o_symbol_type): New enum. | |
1041 | (obj_mach_o_set_symbol_qualifier): New. | |
1042 | (obj_mach_o_sym_qual): New. | |
1043 | (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to | |
1044 | a dummy function. | |
1045 | (obj_mach_o_type_for_symbol): New. | |
1046 | (obj_macho_frob_label): New. | |
1047 | (obj_macho_frob_symbol): New. | |
1048 | * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name. | |
1049 | (obj_frob_label, obj_macho_frob_label): Declare. | |
1050 | (obj_frob_symbol, obj_macho_frob_symbol): Declare. | |
1051 | ||
de64cffd RS |
1052 | 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com> |
1053 | ||
1054 | * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels. | |
1055 | ||
462427c4 RS |
1056 | 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com> |
1057 | Richard Sandiford <rdsandiford@googlemail.com> | |
1058 | ||
1059 | * config/tc-mips.c (mips_move_labels): Take the list of labels and | |
1060 | textness as parameters. | |
1061 | (mips_move_text_labels): New function. | |
1062 | (append_insn): Use it instead of mips_move_labels. | |
1063 | (mips_emit_delays, start_noreorder): Likewise. | |
1064 | (mips_align): Take the labels rather than just one label. | |
1065 | Move all labels to after the .align. | |
1066 | (s_align): Change the last argument to mips_align. | |
1067 | (s_cons): Likewise. | |
1068 | (s_float_cons): Likewise. | |
1069 | (s_gpword): Likewise. | |
1070 | (s_gpdword): Likewise. | |
1071 | ||
d382c579 TG |
1072 | 2012-01-06 Tristan Gingold <gingold@adacore.com> |
1073 | ||
1074 | * config/tc-i386.c: Update copyright year. | |
1075 | (lex_got): Also defined for Mach-O. | |
1076 | Add a guard for non-ELF configuration. | |
1077 | (md_longopts): Also handle -64 for Mach-O. | |
1078 | (md_parse_option): Likewise. | |
1079 | (i386_target_format): Adjust for x86_64-darwin. | |
1080 | ||
8cf6e084 IS |
1081 | 2012-01-04 Iain Sandoe <idsandoe@googlemail.com> |
1082 | ||
1083 | * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition. | |
1084 | (obj_mach_o_get_section_names): New (split from obj_mach_o_section). | |
1085 | (obj_mach_o_make_or_get_sect): Likewise. | |
1086 | (obj_mach_o_section): Split out the functionality shared with zerofill. | |
1087 | (obj_mach_o_zerofill): New. | |
1088 | (obj_mach_o_common_parse): Ensure whitespace is skipped. | |
1089 | (mach_o_pseudo_table): Add .zerofill. | |
1090 | ||
68588f95 IS |
1091 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
1092 | ||
1093 | * config/obj-macho.c (obj_macho_process_stab): New. | |
1094 | * config/obj-macho.h (OBJ_PROCESS_STAB): Define. | |
1095 | (obj_macho_process_stab): Declare. | |
1096 | ||
23e1d329 | 1097 | For older changes see ChangeLog-2011 |
08d56133 NC |
1098 | \f |
1099 | Local Variables: | |
1100 | mode: change-log | |
1101 | left-margin: 8 | |
1102 | fill-column: 74 | |
1103 | version-control: never | |
1104 | End: |