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