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