1 2012-05-16 Georg-Johann Lay <avr@gjlay.de>
4 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
6 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
7 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
9 2012-05-16 Nathan Sidwell <nathan@codesourcery.com>
10 Kwok Cheung Yeung <kcy@codesourcery.com>
12 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
15 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
17 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
18 Add option to offset S12 addresses into XGATE memory space.
19 Tweak target flags to match other tools. (i.e. -m m68hc11).
20 * doc/as.texinfo: Mention new options.
21 * doc/c-m68hc11.texi: Document new options.
22 * NEWS: Mention new support.
24 2012-05-14 DJ Delorie <dj@redhat.com>
26 * config/rx-parse.y (rx_range): declare.
27 (O1,O2,O3,O4): Add calls to rx_range.
28 (UO1,UO2,UO3): Likewise.
29 (IMM2,IMMB): Likewise.
32 * config/tc-rx.c (rx_fetchalign): Declare.
33 (md_pseudo_table): Add .fetchalign.
34 (RX_NBASE_FETCHALIGN): New.
35 (fetchalign_bytes): New.
37 (rx_frag_init): If a "magic" value is found, also init the
38 machine-specific data.
39 (md_assemble): Note following opcode size if called for.
40 (rx_next_opcode): New.
41 (rx_relax_frag): Support .fetchalign.
42 (md_convert_frag): Likewise.
43 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
45 2012-05-14 James Lemke <jwlemke@codesourcery.com>
47 * config/tc-ppc.c (insn_validate): New func of existing code to call..
48 (ppc_setup_opcodes): ..from 2 places here.
49 Revise for second (VLE) opcode table.
50 Add #ifdef'd code to print opcode tables.
52 2012-05-14 James Lemke <jwlemke@codesourcery.com>
54 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
55 for the VLE conditional branches.
57 2012-05-14 Catherine Moore <clm@codesourcery.com>
58 Maciej W. Rozycki <macro@codesourcery.com>
59 Rhonda Wittels <rhonda@codesourcery.com>
61 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
62 (PPC_VLE_SPLIT16D): New macro.
63 (PPC_VLE_LO16A): New macro.
64 (PPC_VLE_LO16D): New macro.
65 (PPC_VLE_HI16A): New macro.
66 (PPC_VLE_HI16D): New macro.
67 (PPC_VLE_HA16A): New macro.
68 (PPC_VLE_HA16D): New macro.
69 (PPC_APUINFO_VLE): New definition.
70 (md_chars_to_number): New function.
71 (md_parse_option): Check for combinations of little
73 (md_show_usage): Document -mvle.
74 (ppc_arch): Recognize VLE.
75 (ppc_mach): Recognize bfd_mach_ppc_vle.
76 (ppc_setup_opcodes): Print the opcode table if
77 * config/tc-ppc.h (ppc_frag_check): Declare.
78 * doc/c-ppc.texi: Document -mvle.
79 * NEWS: Mention PowerPC VLE port.
81 2012-05-14 Catherine Moore <clm@codesourcery.com>
83 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
84 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
85 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
86 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
87 for DWARF2_LINE_MIN_INSN_LENGTH.
89 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
91 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
94 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
97 * configure.in: Invoke ACX_HEADER_STRING.
98 * configure: Regenerate.
99 * config.in: Regenerate.
100 * as.h: If STRINGS_WITH_STRING is defined then include both
101 string.h and strings.h.
103 2012-05-11 Georg-Johann Lay <avr@gjlay.de
106 * config/tc-avr.c (exp_mod_pm): Remove variable.
107 (exp_mod_data_t): New typedef.
108 (pexp_mod_data, exp_mod_data): New variables.
109 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
110 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
111 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
112 (avr_cons_fix_new): Handle new data expression modifiers shipped
114 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
117 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
119 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
120 addend overflow check.
122 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
124 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
125 x32 addend overflow check.
127 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
129 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
131 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
133 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
136 2012-05-08 Alan Modra <amodra@gmail.com>
138 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
139 LC and LANG environment vars.
140 * Makefile.in: Regenerate.
142 2012-05-07 Alan Modra <amodra@gmail.com>
144 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
145 * Makefile.in: Regenerate.
147 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
149 * config/tc-z80.h(md_register_arithmetic): Define as 0.
150 * config/tc-z80.c(md_begin): Store register names in symbol table,
151 preventing usage as ordinary symbol.
152 * config/tc-z80.c(contains_register): New function.
153 * config/tc-z80.c(parse_exp2): Removed.
154 * config/tc-z80.c(parse_exp_not_indexed): New function.
155 * config/tc-z80.c(parse_exp): Add code to recogize indexed
156 addressing after parsing.
157 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
158 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
159 condition for jump to register.
160 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
161 parse_exp_not_indexed.
163 2012-05-05 Alan Modra <amodra@gmail.com>
165 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
166 bfd_und_section and bfd_ind_section with their _ptr variants, or
167 use corresponding bfd_is_* macros.
168 * symbols.c: Likewise.
169 * config/obj-aout.c: Likewise.
170 * config/obj-coff-seh.h: Likewise.
171 * config/tc-hppa.c: Likewise.
172 * config/tc-hppa.h: Likewise.
173 * config/tc-ia64.c: Likewise.
174 * config/tc-m32r.c: Likewise.
175 * config/tc-microblaze.c: Likewise.
176 * config/tc-mips.c: Likewise.
177 * config/tc-score.c: Likewise.
178 * config/tc-score7.c: Likewise.
179 * config/tc-tic6x.c: Likewise.
181 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
183 * configure.tgt: Support x86_64-*-linux-gnux32.
185 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
187 * config/tc-i386.c (match_template): Add `instruction' to
188 unsupported error message.
190 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
192 * config/tc-i386.c (output_insn): Reformat.
194 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
196 * config/tc-i386.c (output_insn): Remove the extra VEX check.
198 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
200 * config/tc-i386.c (match_template): Improve unsupported error
203 2012-05-03 Sean Keys <skeys@ipdatasys.com>
205 * configure, Makefile.in: Regenerate.
206 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
207 * configure.tgt: Added cpu type.
208 Added files for XGATE assembler.
209 * config/tc-xgate.c: Assembler for XGATE.
210 * config/tc-xgate.h: Header definition for assembler
211 Added files for XGATE testsuite.
212 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
213 * doc/c-xgate.texi: Document XGATE and XGATE port.
214 * doc/as.texinfo: Ditto.
215 * doc/all.texi: Ditto
216 * NEWS: Mention the new support.
218 2012-04-30 DJ Delorie <dj@redhat.com>
220 * config/rx-parse.y (rx_intop): Add parameter for operation size.
221 Check for large positive constants really being small negative
223 (BRA, BSR): Update calls to rx_intop.
224 (immediate): Likewise.
226 2012-04-26 Mark Wielaard <mjw@redhat.com>
228 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
229 (DWARF2_LINE_VERSION): Likewise.
230 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
231 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
232 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
234 (out_debug_info): Use difference between start and end as data
235 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
236 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
238 2012-04-27 David S. Miller <davem@davemloft.net>
240 * doc/c-sparc.text: Document %l34 and %h34.
242 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
244 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
245 v8pluse, v8plusv, v9e, and v9v.
246 (v9a_asr_table): Add 'pause'.
248 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
249 sparc4, v8pluse, v8plusv, v9e, and v9v.
250 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
251 order to accomodate cbcond which otherwise would require two
252 relocations to be handled in a single instruction..
254 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
255 names containing "_".
256 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
257 hwcap masks to v8plusv and v9v.
259 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
261 (sparc_md_end): No longer need to translate hwcap_seen values into
262 ELF hwcap bits, they now match exactly.
263 (get_hwcap_name): Use HWCAP_* and handle new values.
264 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
266 2012-04-20 Tristan Gingold <gingold@adacore.com>
268 * config/tc-ia64.c (obj_elf_vms_common): New function.
269 (md_pseudo_table): Add .vms_common pseudo.
270 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
271 * config/obj-elf.c (obj_elf_section_name): Make it public.
273 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
275 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
277 2012-04-12 David S. Miller <davem@davemloft.net>
279 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
281 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
282 (tc_gen_reloc): Likewise.
284 2012-04-12 Roland McGrath <mcgrathr@google.com>
286 * configure.tgt (arm-*-nacl*): Match it.
287 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
288 (LOCAL_LABELS_DOLLAR): Define.
289 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
290 Use nacl format variants.
292 2012-04-12 Jie Zhang <jie@codesourcery.com>
293 Meador Inge <meadori@codesourcery.com>
295 * config/tc-arm.c (only_one_reg_in_list): New function.
296 (encode_ldmstm): Ditto.
297 (do_ldmstm): Use a different encoding when pushing or poping
299 (A_COND_MASK): New macro.
300 (A_PUSH_POP_OP_MASK): Ditto.
301 (A1_OPCODE_PUSH): Ditto.
302 (A2_OPCODE_PUSH): Ditto.
303 (A2_OPCODE_POP): Ditto.
305 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
307 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
310 2012-04-06 Roland McGrath <mcgrathr@google.com>
312 * configure.in (AC_CHECK_HEADERS): Add locale.h.
313 * config.in: Regenerate.
314 * configure: Regenerate.
316 2012-04-05 Nick Clifton <nickc@redhat.com>
318 * configure.in (AC_CHECK_FUNCS): Add setlocale.
319 (AM_LC_MESSAGES): Add.
320 * aclocal.m4: Regenerate.
321 * config.in: Regenerate.
322 * configure: Regenerate.
324 2012-04-03 DJ Delorie <dj@redhat.com>
326 * config/rx-parse.y: Make the .L optional for ADC and SBB.
328 2012-04-02 DJ Delorie <dj@redhat.com>
330 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
332 (IMM): New, call IMM_ with the default 32.
333 (IMMW,IMMB): Likewise, for 16 and 8.
334 (NIMM, MBIMM): Add size parameter.
335 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
336 (MOV.W): Use IMMW instead of IMM.
338 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
340 (op_dp20_rim_l): New.
342 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
343 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
345 2012-03-29 Terry Guo <terry.guo@arm.com>
347 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
348 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
350 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
352 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
353 * doc/c-mips.texi: Mention XLP.
355 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
357 [SH] Support the .uaquad and .8byte directives also for non-sh64
360 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
362 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
364 * doc/c-sh.texi (SH Machine Directives): ... here.
366 2012-03-20 Nick Clifton <nickc@redhat.com>
368 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
371 (arm_opcode_insns): Do not default to using the FPSCR register in
372 the VMRS and VMSR registers.
374 2012-03-16 Roland McGrath <mcgrathr@google.com>
376 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
377 Define for this case.
378 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
380 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
382 * config/tc-arm.c (aeabi_set_public_attributes): Correct
383 handling of Tag_DIV_use.
385 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
387 * doc/as.texinfo (Bundle directives): Fix typo.
389 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
391 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
393 2012-03-13 Roland McGrath <mcgrathr@google.com>
395 * config/tc-arm.c (arm_frag_max_var): New function.
396 * config/tc-arm.h: Declare it.
397 (md_frag_max_var): New macro.
399 * config/tc-i386.c (i386_frag_max_var): New function.
400 * config/tc-i386.h: Declare it.
401 (md_frag_max_var): New macro.
403 * doc/as.texinfo (Bundle directives): New node.
404 (Pseudo Ops): Add it to the menu.
405 * NEWS: Mention new feature.
406 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
407 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
408 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
409 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
411 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
412 to md_assembly if not.
413 (read_a_source_file): Call assemble_one in place of md_assemble.
414 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
415 .bundle_lock at end of processing.
416 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
418 [HANDLE_BUNDLE] (potable): Add their entries.
419 * read.h: Declare new functions.
421 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
423 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
424 (ppc_handle_align): Add termination nop opcode for e500mc family.
425 * doc/as.texinfo: Document options -me5500 and -me6500.
426 * doc/c-ppc.texi: Likewise.
428 2012-03-07 Nick Clifton <nickc@redhat.com>
430 * config/tc-mn10300.c (other_registers): Add SSP and USP.
431 (md_assemble): Add support for TLS relocs.
432 (mn10300_parse_name): Likewise.
434 2012-02-27 Alan Modra <amodra@gmail.com>
436 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
438 2012-02-27 Alan Modra <amodra@gmail.com>
440 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
441 params. Properly generate NOP pattern. Comment reason for
442 subseg_text_p failure.
444 2012-02-27 Alan Modra <amodra@gmail.com>
446 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
447 and sign extend before range tests.
448 (constant_fits_size_p): Similarly.
449 (get_specific): Trim X_add_number to 32 bits.
450 (fix_operand_size): Likewise, and use unsigned test for signed
453 2012-02-27 Alan Modra <amodra@gmail.com>
455 * config/tc-crx.c: Include bfd_stdint.h.
456 (getconstant): Remove irrelevant comment. Don't fail due to
457 sign-extension of int mask.
458 (check_range): Rewrite using unsigned arithmetic throughout.
460 2012-02-25 Walter Lee <walt@tilera.com>
462 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
463 non-local before checking sy_value.
464 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
466 2012-02-25 Walter Lee <walt@tilera.com>
468 * tc-tilepro.c (O_tls_le): Define operator.
469 (O_tls_le_lo16): Ditto.
470 (O_tls_le_hi16): Ditto.
471 (O_tls_le_ha16): Ditto.
472 (O_tls_gd_call): Ditto.
473 (O_tls_gd_add): Ditto.
474 (O_tls_ie_load): Ditto.
475 (md_begin): Delete old operators; handle new operators.
476 (emit_tilepro_instruction): Ditto.
477 (md_apply_fix): Ditto.
478 * tc-tilegx.c (O_hw1_got): Delete operator.
481 (O_hw2_last_got): Ditto.
482 (O_hw1_tls_gd): Ditto.
483 (O_hw2_tls_gd): Ditto.
484 (O_hw3_tls_gd): Ditto.
485 (O_hw2_last_tls_gd): Ditto.
486 (O_hw1_tls_ie): Ditto.
487 (O_hw2_tls_ie): Ditto.
488 (O_hw3_tls_ie): Ditto.
489 (O_hw2_last_tls_ie): Ditto.
490 (O_hw0_tls_le): Define operator.
491 (O_hw0_last_tls_le): Ditto.
492 (O_hw1_last_tls_le): Ditto.
493 (O_tls_gd_call): Ditto.
494 (O_tls_gd_add): Ditto.
495 (O_tls_ie_load): Ditto.
497 (md_begin): Delete old operators; handle new operators.
498 (emit_tilegx_instruction): Ditto.
499 (md_apply_fix): Ditto.
500 * doc/c-tilegx.texi: Delete old operators; document new operators.
501 * doc/c-tilepro.texi: Ditto.
503 2012-02-25 Walter Lee <walt@tilera.com>
505 * tc-tilepro.c (apply_special_operator): delete cases for
506 got and tls operators.
507 (md_apply_fix): Ditto.
508 * tc-tilegx.c (md_begin): Set architecture and machine.
509 (tilegx_target_format): Handle big endian.
512 (md_longopts): Add entries for "EB" and "EL".
513 (md_parse_option): Handle OPTION_EB and OPTION_EL.
514 (md_show_usage): Add -EB and -EL.
515 (md_number_to_chars): New.
516 (apply_special_operator): delete cases for got and tls
518 (md_apply_fix): Ditto.
519 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
521 (md_number_to_chars): Delete.
522 * configure.tgt (tilegx*be): Handle.
523 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
524 * doc/c-tilegx.texi: Ditto.
526 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
528 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
529 HLEPrefixAny and HLEPrefixRelease.
531 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
533 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
535 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
537 * write.c (write_object_file): Add md_pre_output_hook.
538 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
539 (obj_mach_o_pre_output_hook): New.
540 * config/obj-macho.h (md_pre_output_hook): Define.
541 (obj_mach_o_pre_output_hook): Declare.
543 2012-02-21 Tristan Gingold <gingold@adacore.com>
545 * config/tc-i386.h (OBJ_MACH_O): New section.
546 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
547 (TC_FORCE_RELOCATION_SUB_SAME): New
548 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
549 (TC_VALIDATE_FIX_SUB): New.
550 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
551 * symbols.c (colon): obj_frob_colon: New hook.
552 * write.c (write_object_file): md_pre_relax_hook, new
554 * config/obj-macho.c (obj_mach_o_frob_colon): New.
555 (obj_mach_o_frob_label): Record sub-section labels.
556 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
557 (obj_mach_o_set_subsections): New.
558 (obj_mach_o_pre_relax_hook): New.
559 (obj_mach_o_in_different_subsection): New.
560 (obj_mach_o_force_reloc_sub_same): New.
561 (obj_mach_o_force_reloc_sub_local): New.
562 (obj_mach_o_force_reloc): New.
563 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
564 (obj_frob_colon): New Define.
565 (obj_mach_o_frob_label): Renamed.
566 (obj_mach_o_frob_symbol): Renamed.
567 (OBJ_FRAG_TYPE): New.
568 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
569 obj_mach_o_force_reloc_sub_same,
570 obj_mach_o_force_reloc_sub_local): New declarations.
572 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
574 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
575 (obj_mach_o_allow_local_subtract): New.
576 * config/obj-macho.h (md_allow_local_subtract): Define.
577 (obj_mach_o_allow_local_subtract): Declare.
579 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
581 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
582 canonical information, try to determine CODE and DEBUG section flags
583 from the mach-o section data.
585 2012-02-20 Nick Clifton <nickc@redhat.com>
587 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
590 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
592 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
593 any local symbol used as an indirect.
595 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
597 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
598 stub size when provided. (obj_mach_o_section): Flag that stub-size
601 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
603 * config/tc-i386.c (HLE_PREFIX): New.
604 (check_hle): Likewise.
605 (_i386_insn): Add have_hle.
606 (cpu_arch): Add .hle and .rtm.
607 (md_assemble): Call check_hle if i.have_hle isn't zero.
608 (parse_insn): Set i.have_hle to 1 for HLE prefix.
609 (output_jump): Support up to 2 byte opcode.
611 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
613 2012-02-02 Tristan Gingold <gingold@adacore.com>
615 * config/obj-macho.c (obj_mach_o_zerofill): Silent
616 uninitialized variable warning.
618 2012-02-02 Nick Clifton <nickc@redhat.com>
621 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
622 to 'is_clone' to avoid shadowing a gloabl.
623 (obj_elf_section): Likewise.
625 2012-01-31 Paul Brook <paul@codesourcery.com>
627 * doc/c-tic6x.c: Fix typo.
629 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
632 * app.c (app_push): Set 'add_newlines' to zero after saving.
634 2012-01-24 DJ Delorie <dj@redhat.com>
636 * config/rl78-parse.y (NOT1): Add.
638 2012-01-23 Roland McGrath <mcgrathr@google.com>
640 * configure.tgt (i386-*-nacl*): Match it.
641 * config/te-nacl.h: New file.
642 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
643 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
644 Use TE_GNU et al case for TE_NACL too.
646 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
648 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
650 (md_assemble): Updated.
651 (output_branch): Likewise.
652 (parse_insn): Support .d8 suffix.
653 (build_modrm_byte): Fake zero displacement for .d8 and .d32
656 * doc/c-i386.texi: Document .d8 suffix.
658 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
660 * write.c (fix_new_internal): Don't mark used parameter as unused.
662 2012-01-17 Alan Modra <amodra@gmail.com>
664 * as.c (parse_args): Update copyright message year.
666 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
668 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
670 * doc/c-i386.texi: Document vmfunc.
672 2012-01-13 Tristan Gingold <gingold@adacore.com>
674 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
675 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
676 (obj_mach_o_reorder_section_relocs): Declare.
678 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
680 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
681 absolute indirect symbols.
683 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
685 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
686 (obj_mach_o_set_section_vma): New.
687 (obj_mach_o_post_relax_hook): New.
688 * config/obj-macho.h (md_post_relax_hook): Define.
689 (obj_mach_o_post_relax_hook): Declare.
691 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
693 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
694 lazy when the symbol is private_extern.
695 (obj_mach_o_indirect_sym): New type.
696 (obj_mach_o_indirect_symbol): New.
697 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
698 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
699 (obj_macho_frob_label): Likewise. Adjust external and comm
701 (obj_mach_o_set_indirect_symbols): New.
702 (obj_mach_o_frob_file_after_relocs): New.
703 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
704 (obj_mach_o_frob_file_after_relocs): Declare.
706 2012-01-12 Tristan Gingold <gingold@adacore.com>
709 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
711 2012-01-10 Tristan Gingold <gingold@adacore.com>
713 * struc-symbol.h (struct symbol_flags): New struct, created from...
714 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
715 (struct local_symbol): Replace lsy_marker field by lsy_flags.
717 (local_symbol_resolved_p): Adjust.
718 (local_symbol_mark_resolved): Likewise.
719 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
720 (local_symbol_make, local_symbol_convert, colon)
721 (symbol_clone_if_forward_ref, verify_symbol_chain)
722 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
723 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
724 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
725 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
726 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
727 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
728 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
729 (symbol_mark_mri_common, symbol_clear_mri_common)
730 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
731 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
732 (symbol_equated_reloc_p, dot_symbol_init)
733 (print_symbol_value_1): Adjust.
735 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
737 * config/obj-macho.c (obj_mach_o_weak): Remove.
738 (obj_mach_o_common_parse): Set symbol qualifiers.
739 (LAZY, REFE): New macros.
740 (obj_mach_o_symbol_type): New enum.
741 (obj_mach_o_set_symbol_qualifier): New.
742 (obj_mach_o_sym_qual): New.
743 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
745 (obj_mach_o_type_for_symbol): New.
746 (obj_macho_frob_label): New.
747 (obj_macho_frob_symbol): New.
748 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
749 (obj_frob_label, obj_macho_frob_label): Declare.
750 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
752 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
754 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
756 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
757 Richard Sandiford <rdsandiford@googlemail.com>
759 * config/tc-mips.c (mips_move_labels): Take the list of labels and
760 textness as parameters.
761 (mips_move_text_labels): New function.
762 (append_insn): Use it instead of mips_move_labels.
763 (mips_emit_delays, start_noreorder): Likewise.
764 (mips_align): Take the labels rather than just one label.
765 Move all labels to after the .align.
766 (s_align): Change the last argument to mips_align.
768 (s_float_cons): Likewise.
769 (s_gpword): Likewise.
770 (s_gpdword): Likewise.
772 2012-01-06 Tristan Gingold <gingold@adacore.com>
774 * config/tc-i386.c: Update copyright year.
775 (lex_got): Also defined for Mach-O.
776 Add a guard for non-ELF configuration.
777 (md_longopts): Also handle -64 for Mach-O.
778 (md_parse_option): Likewise.
779 (i386_target_format): Adjust for x86_64-darwin.
781 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
783 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
784 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
785 (obj_mach_o_make_or_get_sect): Likewise.
786 (obj_mach_o_section): Split out the functionality shared with zerofill.
787 (obj_mach_o_zerofill): New.
788 (obj_mach_o_common_parse): Ensure whitespace is skipped.
789 (mach_o_pseudo_table): Add .zerofill.
791 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
793 * config/obj-macho.c (obj_macho_process_stab): New.
794 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
795 (obj_macho_process_stab): Declare.
797 For older changes see ChangeLog-2011
803 version-control: never