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