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