PR binutils/14028
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
2
3 PR binutils/14028
4 * configure.in: Invoke ACX_HEADER_STRING.
5 * configure: Regenerate.
6 * config.in: Regenerate.
7 * as.h: If STRINGS_WITH_STRING is defined then include both
8 string.h and strings.h.
9
10 2012-05-11 Georg-Johann Lay <avr@gjlay.de
11
12 PR target/13503
13 * config/tc-avr.c (exp_mod_pm): Remove variable.
14 (exp_mod_data_t): New typedef.
15 (pexp_mod_data, exp_mod_data): New variables.
16 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
17 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
18 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
19 (avr_cons_fix_new): Handle new data expression modifiers shipped
20 in pexp_mod_data.
21 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
22 BFD_RELOC_AVR_8_HHI.
23
24 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25
26 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
27 addend overflow check.
28
29 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30
31 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
32 x32 addend overflow check.
33
34 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35
36 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
37
38 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39
40 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
41 for BFD_RELOC_64.
42
43 2012-05-08 Alan Modra <amodra@gmail.com>
44
45 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
46 LC and LANG environment vars.
47 * Makefile.in: Regenerate.
48
49 2012-05-07 Alan Modra <amodra@gmail.com>
50
51 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
52 * Makefile.in: Regenerate.
53
54 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
55
56 * config/tc-z80.h(md_register_arithmetic): Define as 0.
57 * config/tc-z80.c(md_begin): Store register names in symbol table,
58 preventing usage as ordinary symbol.
59 * config/tc-z80.c(contains_register): New function.
60 * config/tc-z80.c(parse_exp2): Removed.
61 * config/tc-z80.c(parse_exp_not_indexed): New function.
62 * config/tc-z80.c(parse_exp): Add code to recogize indexed
63 addressing after parsing.
64 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
65 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
66 condition for jump to register.
67 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
68 parse_exp_not_indexed.
69
70 2012-05-05 Alan Modra <amodra@gmail.com>
71
72 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
73 bfd_und_section and bfd_ind_section with their _ptr variants, or
74 use corresponding bfd_is_* macros.
75 * symbols.c: Likewise.
76 * config/obj-aout.c: Likewise.
77 * config/obj-coff-seh.h: Likewise.
78 * config/tc-hppa.c: Likewise.
79 * config/tc-hppa.h: Likewise.
80 * config/tc-ia64.c: Likewise.
81 * config/tc-m32r.c: Likewise.
82 * config/tc-microblaze.c: Likewise.
83 * config/tc-mips.c: Likewise.
84 * config/tc-score.c: Likewise.
85 * config/tc-score7.c: Likewise.
86 * config/tc-tic6x.c: Likewise.
87
88 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
89
90 * configure.tgt: Support x86_64-*-linux-gnux32.
91
92 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
93
94 * config/tc-i386.c (match_template): Add `instruction' to
95 unsupported error message.
96
97 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
98
99 * config/tc-i386.c (output_insn): Reformat.
100
101 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
102
103 * config/tc-i386.c (output_insn): Remove the extra VEX check.
104
105 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
106
107 * config/tc-i386.c (match_template): Improve unsupported error
108 message.
109
110 2012-05-03 Sean Keys <skeys@ipdatasys.com>
111
112 * configure, Makefile.in: Regenerate.
113 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
114 * configure.tgt: Added cpu type.
115 Added files for XGATE assembler.
116 * config/tc-xgate.c: Assembler for XGATE.
117 * config/tc-xgate.h: Header definition for assembler
118 Added files for XGATE testsuite.
119 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
120 * doc/c-xgate.texi: Document XGATE and XGATE port.
121 * doc/as.texinfo: Ditto.
122 * doc/all.texi: Ditto
123 * NEWS: Mention the new support.
124
125 2012-04-30 DJ Delorie <dj@redhat.com>
126
127 * config/rx-parse.y (rx_intop): Add parameter for operation size.
128 Check for large positive constants really being small negative
129 ones.
130 (BRA, BSR): Update calls to rx_intop.
131 (immediate): Likewise.
132
133 2012-04-26 Mark Wielaard <mjw@redhat.com>
134
135 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
136 (DWARF2_LINE_VERSION): Likewise.
137 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
138 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
139 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
140 DWARF2_VERSION >= 4.
141 (out_debug_info): Use difference between start and end as data
142 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
143 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
144
145 2012-04-27 David S. Miller <davem@davemloft.net>
146
147 * doc/c-sparc.text: Document %l34 and %h34.
148
149 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
150
151 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
152 v8pluse, v8plusv, v9e, and v9v.
153 (v9a_asr_table): Add 'pause'.
154
155 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
156 sparc4, v8pluse, v8plusv, v9e, and v9v.
157 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
158 order to accomodate cbcond which otherwise would require two
159 relocations to be handled in a single instruction..
160
161 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
162 names containing "_".
163 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
164 hwcap masks to v8plusv and v9v.
165
166 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
167 masks.
168 (sparc_md_end): No longer need to translate hwcap_seen values into
169 ELF hwcap bits, they now match exactly.
170 (get_hwcap_name): Use HWCAP_* and handle new values.
171 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
172
173 2012-04-20 Tristan Gingold <gingold@adacore.com>
174
175 * config/tc-ia64.c (obj_elf_vms_common): New function.
176 (md_pseudo_table): Add .vms_common pseudo.
177 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
178 * config/obj-elf.c (obj_elf_section_name): Make it public.
179
180 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
181
182 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
183
184 2012-04-12 David S. Miller <davem@davemloft.net>
185
186 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
187 BFD_RELOC_SPARC_H34.
188 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
189 (tc_gen_reloc): Likewise.
190
191 2012-04-12 Roland McGrath <mcgrathr@google.com>
192
193 * configure.tgt (arm-*-nacl*): Match it.
194 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
195 (LOCAL_LABELS_DOLLAR): Define.
196 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
197 Use nacl format variants.
198
199 2012-04-12 Jie Zhang <jie@codesourcery.com>
200 Meador Inge <meadori@codesourcery.com>
201
202 * config/tc-arm.c (only_one_reg_in_list): New function.
203 (encode_ldmstm): Ditto.
204 (do_ldmstm): Use a different encoding when pushing or poping
205 a single register.
206 (A_COND_MASK): New macro.
207 (A_PUSH_POP_OP_MASK): Ditto.
208 (A1_OPCODE_PUSH): Ditto.
209 (A2_OPCODE_PUSH): Ditto.
210 (A2_OPCODE_POP): Ditto.
211
212 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
213
214 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
215 -mno-fix-24k.
216
217 2012-04-06 Roland McGrath <mcgrathr@google.com>
218
219 * configure.in (AC_CHECK_HEADERS): Add locale.h.
220 * config.in: Regenerate.
221 * configure: Regenerate.
222
223 2012-04-05 Nick Clifton <nickc@redhat.com>
224
225 * configure.in (AC_CHECK_FUNCS): Add setlocale.
226 (AM_LC_MESSAGES): Add.
227 * aclocal.m4: Regenerate.
228 * config.in: Regenerate.
229 * configure: Regenerate.
230
231 2012-04-03 DJ Delorie <dj@redhat.com>
232
233 * config/rx-parse.y: Make the .L optional for ADC and SBB.
234
235 2012-04-02 DJ Delorie <dj@redhat.com>
236
237 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
238 transfer size.
239 (IMM): New, call IMM_ with the default 32.
240 (IMMW,IMMB): Likewise, for 16 and 8.
241 (NIMM, MBIMM): Add size parameter.
242 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
243 (MOV.W): Use IMMW instead of IMM.
244
245 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
246 (op_dp20_rm_l): New.
247 (op_dp20_rim_l): New.
248
249 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
250 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
251
252 2012-03-29 Terry Guo <terry.guo@arm.com>
253
254 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
255 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
256
257 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
258
259 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
260 * doc/c-mips.texi: Mention XLP.
261
262 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
263
264 [SH] Support the .uaquad and .8byte directives also for non-sh64
265 configurations.
266
267 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
268 BFD_RELOC_64.
269 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
270 description...
271 * doc/c-sh.texi (SH Machine Directives): ... here.
272
273 2012-03-20 Nick Clifton <nickc@redhat.com>
274
275 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
276 registers.
277 (do_vmsr): Likewise.
278 (arm_opcode_insns): Do not default to using the FPSCR register in
279 the VMRS and VMSR registers.
280
281 2012-03-16 Roland McGrath <mcgrathr@google.com>
282
283 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
284 Define for this case.
285 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
286
287 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
288
289 * config/tc-arm.c (aeabi_set_public_attributes): Correct
290 handling of Tag_DIV_use.
291
292 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
293
294 * doc/as.texinfo (Bundle directives): Fix typo.
295
296 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
297
298 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
299
300 2012-03-13 Roland McGrath <mcgrathr@google.com>
301
302 * config/tc-arm.c (arm_frag_max_var): New function.
303 * config/tc-arm.h: Declare it.
304 (md_frag_max_var): New macro.
305
306 * config/tc-i386.c (i386_frag_max_var): New function.
307 * config/tc-i386.h: Declare it.
308 (md_frag_max_var): New macro.
309
310 * doc/as.texinfo (Bundle directives): New node.
311 (Pseudo Ops): Add it to the menu.
312 * NEWS: Mention new feature.
313 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
314 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
315 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
316 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
317 New functions.
318 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
319 to md_assembly if not.
320 (read_a_source_file): Call assemble_one in place of md_assemble.
321 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
322 .bundle_lock at end of processing.
323 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
324 New functions.
325 [HANDLE_BUNDLE] (potable): Add their entries.
326 * read.h: Declare new functions.
327
328 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
329
330 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
331 (ppc_handle_align): Add termination nop opcode for e500mc family.
332 * doc/as.texinfo: Document options -me5500 and -me6500.
333 * doc/c-ppc.texi: Likewise.
334
335 2012-03-07 Nick Clifton <nickc@redhat.com>
336
337 * config/tc-mn10300.c (other_registers): Add SSP and USP.
338 (md_assemble): Add support for TLS relocs.
339 (mn10300_parse_name): Likewise.
340
341 2012-02-27 Alan Modra <amodra@gmail.com>
342
343 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
344
345 2012-02-27 Alan Modra <amodra@gmail.com>
346
347 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
348 params. Properly generate NOP pattern. Comment reason for
349 subseg_text_p failure.
350
351 2012-02-27 Alan Modra <amodra@gmail.com>
352
353 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
354 and sign extend before range tests.
355 (constant_fits_size_p): Similarly.
356 (get_specific): Trim X_add_number to 32 bits.
357 (fix_operand_size): Likewise, and use unsigned test for signed
358 ranges.
359
360 2012-02-27 Alan Modra <amodra@gmail.com>
361
362 * config/tc-crx.c: Include bfd_stdint.h.
363 (getconstant): Remove irrelevant comment. Don't fail due to
364 sign-extension of int mask.
365 (check_range): Rewrite using unsigned arithmetic throughout.
366
367 2012-02-25 Walter Lee <walt@tilera.com>
368
369 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
370 non-local before checking sy_value.
371 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
372
373 2012-02-25 Walter Lee <walt@tilera.com>
374
375 * tc-tilepro.c (O_tls_le): Define operator.
376 (O_tls_le_lo16): Ditto.
377 (O_tls_le_hi16): Ditto.
378 (O_tls_le_ha16): Ditto.
379 (O_tls_gd_call): Ditto.
380 (O_tls_gd_add): Ditto.
381 (O_tls_ie_load): Ditto.
382 (md_begin): Delete old operators; handle new operators.
383 (emit_tilepro_instruction): Ditto.
384 (md_apply_fix): Ditto.
385 * tc-tilegx.c (O_hw1_got): Delete operator.
386 (O_hw2_got): Ditto.
387 (O_hw3_got): Ditto.
388 (O_hw2_last_got): Ditto.
389 (O_hw1_tls_gd): Ditto.
390 (O_hw2_tls_gd): Ditto.
391 (O_hw3_tls_gd): Ditto.
392 (O_hw2_last_tls_gd): Ditto.
393 (O_hw1_tls_ie): Ditto.
394 (O_hw2_tls_ie): Ditto.
395 (O_hw3_tls_ie): Ditto.
396 (O_hw2_last_tls_ie): Ditto.
397 (O_hw0_tls_le): Define operator.
398 (O_hw0_last_tls_le): Ditto.
399 (O_hw1_last_tls_le): Ditto.
400 (O_tls_gd_call): Ditto.
401 (O_tls_gd_add): Ditto.
402 (O_tls_ie_load): Ditto.
403 (O_tls_add): Ditto.
404 (md_begin): Delete old operators; handle new operators.
405 (emit_tilegx_instruction): Ditto.
406 (md_apply_fix): Ditto.
407 * doc/c-tilegx.texi: Delete old operators; document new operators.
408 * doc/c-tilepro.texi: Ditto.
409
410 2012-02-25 Walter Lee <walt@tilera.com>
411
412 * tc-tilepro.c (apply_special_operator): delete cases for
413 got and tls operators.
414 (md_apply_fix): Ditto.
415 * tc-tilegx.c (md_begin): Set architecture and machine.
416 (tilegx_target_format): Handle big endian.
417 (OPTION_EB): Define.
418 (OPTION_EL): Define.
419 (md_longopts): Add entries for "EB" and "EL".
420 (md_parse_option): Handle OPTION_EB and OPTION_EL.
421 (md_show_usage): Add -EB and -EL.
422 (md_number_to_chars): New.
423 (apply_special_operator): delete cases for got and tls
424 operators.
425 (md_apply_fix): Ditto.
426 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
427 ifndef.
428 (md_number_to_chars): Delete.
429 * configure.tgt (tilegx*be): Handle.
430 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
431 * doc/c-tilegx.texi: Ditto.
432
433 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
434
435 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
436 HLEPrefixAny and HLEPrefixRelease.
437
438 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
439
440 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
441
442 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
443
444 * write.c (write_object_file): Add md_pre_output_hook.
445 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
446 (obj_mach_o_pre_output_hook): New.
447 * config/obj-macho.h (md_pre_output_hook): Define.
448 (obj_mach_o_pre_output_hook): Declare.
449
450 2012-02-21 Tristan Gingold <gingold@adacore.com>
451
452 * config/tc-i386.h (OBJ_MACH_O): New section.
453 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
454 (TC_FORCE_RELOCATION_SUB_SAME): New
455 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
456 (TC_VALIDATE_FIX_SUB): New.
457 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
458 * symbols.c (colon): obj_frob_colon: New hook.
459 * write.c (write_object_file): md_pre_relax_hook, new
460 hook.
461 * config/obj-macho.c (obj_mach_o_frob_colon): New.
462 (obj_mach_o_frob_label): Record sub-section labels.
463 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
464 (obj_mach_o_set_subsections): New.
465 (obj_mach_o_pre_relax_hook): New.
466 (obj_mach_o_in_different_subsection): New.
467 (obj_mach_o_force_reloc_sub_same): New.
468 (obj_mach_o_force_reloc_sub_local): New.
469 (obj_mach_o_force_reloc): New.
470 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
471 (obj_frob_colon): New Define.
472 (obj_mach_o_frob_label): Renamed.
473 (obj_mach_o_frob_symbol): Renamed.
474 (OBJ_FRAG_TYPE): New.
475 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
476 obj_mach_o_force_reloc_sub_same,
477 obj_mach_o_force_reloc_sub_local): New declarations.
478
479 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
480
481 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
482 (obj_mach_o_allow_local_subtract): New.
483 * config/obj-macho.h (md_allow_local_subtract): Define.
484 (obj_mach_o_allow_local_subtract): Declare.
485
486 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
487
488 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
489 canonical information, try to determine CODE and DEBUG section flags
490 from the mach-o section data.
491
492 2012-02-20 Nick Clifton <nickc@redhat.com>
493
494 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
495 local symbols.
496
497 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
498
499 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
500 any local symbol used as an indirect.
501
502 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
503
504 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
505 stub size when provided. (obj_mach_o_section): Flag that stub-size
506 has been provided.
507
508 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
509
510 * config/tc-i386.c (HLE_PREFIX): New.
511 (check_hle): Likewise.
512 (_i386_insn): Add have_hle.
513 (cpu_arch): Add .hle and .rtm.
514 (md_assemble): Call check_hle if i.have_hle isn't zero.
515 (parse_insn): Set i.have_hle to 1 for HLE prefix.
516 (output_jump): Support up to 2 byte opcode.
517
518 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
519
520 2012-02-02 Tristan Gingold <gingold@adacore.com>
521
522 * config/obj-macho.c (obj_mach_o_zerofill): Silent
523 uninitialized variable warning.
524
525 2012-02-02 Nick Clifton <nickc@redhat.com>
526
527 PR gas/13224
528 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
529 to 'is_clone' to avoid shadowing a gloabl.
530 (obj_elf_section): Likewise.
531
532 2012-01-31 Paul Brook <paul@codesourcery.com>
533
534 * doc/c-tic6x.c: Fix typo.
535
536 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
537
538 PR gas/13624
539 * app.c (app_push): Set 'add_newlines' to zero after saving.
540
541 2012-01-24 DJ Delorie <dj@redhat.com>
542
543 * config/rl78-parse.y (NOT1): Add.
544
545 2012-01-23 Roland McGrath <mcgrathr@google.com>
546
547 * configure.tgt (i386-*-nacl*): Match it.
548 * config/te-nacl.h: New file.
549 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
550 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
551 Use TE_GNU et al case for TE_NACL too.
552
553 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
554
555 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
556 disp_encoding.
557 (md_assemble): Updated.
558 (output_branch): Likewise.
559 (parse_insn): Support .d8 suffix.
560 (build_modrm_byte): Fake zero displacement for .d8 and .d32
561 suffixes.
562
563 * doc/c-i386.texi: Document .d8 suffix.
564
565 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
566
567 * write.c (fix_new_internal): Don't mark used parameter as unused.
568
569 2012-01-17 Alan Modra <amodra@gmail.com>
570
571 * as.c (parse_args): Update copyright message year.
572
573 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
574
575 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
576
577 * doc/c-i386.texi: Document vmfunc.
578
579 2012-01-13 Tristan Gingold <gingold@adacore.com>
580
581 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
582 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
583 (obj_mach_o_reorder_section_relocs): Declare.
584
585 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
586
587 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
588 absolute indirect symbols.
589
590 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
591
592 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
593 (obj_mach_o_set_section_vma): New.
594 (obj_mach_o_post_relax_hook): New.
595 * config/obj-macho.h (md_post_relax_hook): Define.
596 (obj_mach_o_post_relax_hook): Declare.
597
598 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
599
600 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
601 lazy when the symbol is private_extern.
602 (obj_mach_o_indirect_sym): New type.
603 (obj_mach_o_indirect_symbol): New.
604 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
605 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
606 (obj_macho_frob_label): Likewise. Adjust external and comm
607 symbol tests.
608 (obj_mach_o_set_indirect_symbols): New.
609 (obj_mach_o_frob_file_after_relocs): New.
610 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
611 (obj_mach_o_frob_file_after_relocs): Declare.
612
613 2012-01-12 Tristan Gingold <gingold@adacore.com>
614
615 PR gas/13591
616 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
617
618 2012-01-10 Tristan Gingold <gingold@adacore.com>
619
620 * struc-symbol.h (struct symbol_flags): New struct, created from...
621 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
622 (struct local_symbol): Replace lsy_marker field by lsy_flags.
623 Adjust comment.
624 (local_symbol_resolved_p): Adjust.
625 (local_symbol_mark_resolved): Likewise.
626 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
627 (local_symbol_make, local_symbol_convert, colon)
628 (symbol_clone_if_forward_ref, verify_symbol_chain)
629 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
630 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
631 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
632 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
633 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
634 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
635 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
636 (symbol_mark_mri_common, symbol_clear_mri_common)
637 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
638 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
639 (symbol_equated_reloc_p, dot_symbol_init)
640 (print_symbol_value_1): Adjust.
641
642 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
643
644 * config/obj-macho.c (obj_mach_o_weak): Remove.
645 (obj_mach_o_common_parse): Set symbol qualifiers.
646 (LAZY, REFE): New macros.
647 (obj_mach_o_symbol_type): New enum.
648 (obj_mach_o_set_symbol_qualifier): New.
649 (obj_mach_o_sym_qual): New.
650 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
651 a dummy function.
652 (obj_mach_o_type_for_symbol): New.
653 (obj_macho_frob_label): New.
654 (obj_macho_frob_symbol): New.
655 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
656 (obj_frob_label, obj_macho_frob_label): Declare.
657 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
658
659 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
660
661 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
662
663 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
664 Richard Sandiford <rdsandiford@googlemail.com>
665
666 * config/tc-mips.c (mips_move_labels): Take the list of labels and
667 textness as parameters.
668 (mips_move_text_labels): New function.
669 (append_insn): Use it instead of mips_move_labels.
670 (mips_emit_delays, start_noreorder): Likewise.
671 (mips_align): Take the labels rather than just one label.
672 Move all labels to after the .align.
673 (s_align): Change the last argument to mips_align.
674 (s_cons): Likewise.
675 (s_float_cons): Likewise.
676 (s_gpword): Likewise.
677 (s_gpdword): Likewise.
678
679 2012-01-06 Tristan Gingold <gingold@adacore.com>
680
681 * config/tc-i386.c: Update copyright year.
682 (lex_got): Also defined for Mach-O.
683 Add a guard for non-ELF configuration.
684 (md_longopts): Also handle -64 for Mach-O.
685 (md_parse_option): Likewise.
686 (i386_target_format): Adjust for x86_64-darwin.
687
688 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
689
690 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
691 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
692 (obj_mach_o_make_or_get_sect): Likewise.
693 (obj_mach_o_section): Split out the functionality shared with zerofill.
694 (obj_mach_o_zerofill): New.
695 (obj_mach_o_common_parse): Ensure whitespace is skipped.
696 (mach_o_pseudo_table): Add .zerofill.
697
698 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
699
700 * config/obj-macho.c (obj_macho_process_stab): New.
701 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
702 (obj_macho_process_stab): Declare.
703
704 For older changes see ChangeLog-2011
705 \f
706 Local Variables:
707 mode: change-log
708 left-margin: 8
709 fill-column: 74
710 version-control: never
711 End:
This page took 0.0441859999999999 seconds and 4 git commands to generate.