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