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