1 2012-01-17 Alan Modra <amodra@gmail.com>
3 * as.c (parse_args): Update copyright message year.
5 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
7 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
9 * doc/c-i386.texi: Document vmfunc.
11 2012-01-13 Tristan Gingold <gingold@adacore.com>
13 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
14 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
15 (obj_mach_o_reorder_section_relocs): Declare.
17 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
19 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
20 absolute indirect symbols.
22 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
24 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
25 (obj_mach_o_set_section_vma): New.
26 (obj_mach_o_post_relax_hook): New.
27 * config/obj-macho.h (md_post_relax_hook): Define.
28 (obj_mach_o_post_relax_hook): Declare.
30 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
32 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
33 lazy when the symbol is private_extern.
34 (obj_mach_o_indirect_sym): New type.
35 (obj_mach_o_indirect_symbol): New.
36 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
37 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
38 (obj_macho_frob_label): Likewise. Adjust external and comm
40 (obj_mach_o_set_indirect_symbols): New.
41 (obj_mach_o_frob_file_after_relocs): New.
42 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
43 (obj_mach_o_frob_file_after_relocs): Declare.
45 2012-01-12 Tristan Gingold <gingold@adacore.com>
48 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
50 2012-01-10 Tristan Gingold <gingold@adacore.com>
52 * struc-symbol.h (struct symbol_flags): New struct, created from...
53 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
54 (struct local_symbol): Replace lsy_marker field by lsy_flags.
56 (local_symbol_resolved_p): Adjust.
57 (local_symbol_mark_resolved): Likewise.
58 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
59 (local_symbol_make, local_symbol_convert, colon)
60 (symbol_clone_if_forward_ref, verify_symbol_chain)
61 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
62 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
63 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
64 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
65 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
66 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
67 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
68 (symbol_mark_mri_common, symbol_clear_mri_common)
69 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
70 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
71 (symbol_equated_reloc_p, dot_symbol_init)
72 (print_symbol_value_1): Adjust.
74 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
76 * config/obj-macho.c (obj_mach_o_weak): Remove.
77 (obj_mach_o_common_parse): Set symbol qualifiers.
78 (LAZY, REFE): New macros.
79 (obj_mach_o_symbol_type): New enum.
80 (obj_mach_o_set_symbol_qualifier): New.
81 (obj_mach_o_sym_qual): New.
82 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
84 (obj_mach_o_type_for_symbol): New.
85 (obj_macho_frob_label): New.
86 (obj_macho_frob_symbol): New.
87 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
88 (obj_frob_label, obj_macho_frob_label): Declare.
89 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
91 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
93 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
95 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
96 Richard Sandiford <rdsandiford@googlemail.com>
98 * config/tc-mips.c (mips_move_labels): Take the list of labels and
99 textness as parameters.
100 (mips_move_text_labels): New function.
101 (append_insn): Use it instead of mips_move_labels.
102 (mips_emit_delays, start_noreorder): Likewise.
103 (mips_align): Take the labels rather than just one label.
104 Move all labels to after the .align.
105 (s_align): Change the last argument to mips_align.
107 (s_float_cons): Likewise.
108 (s_gpword): Likewise.
109 (s_gpdword): Likewise.
111 2012-01-06 Tristan Gingold <gingold@adacore.com>
113 * config/tc-i386.c: Update copyright year.
114 (lex_got): Also defined for Mach-O.
115 Add a guard for non-ELF configuration.
116 (md_longopts): Also handle -64 for Mach-O.
117 (md_parse_option): Likewise.
118 (i386_target_format): Adjust for x86_64-darwin.
120 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
122 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
123 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
124 (obj_mach_o_make_or_get_sect): Likewise.
125 (obj_mach_o_section): Split out the functionality shared with zerofill.
126 (obj_mach_o_zerofill): New.
127 (obj_mach_o_common_parse): Ensure whitespace is skipped.
128 (mach_o_pseudo_table): Add .zerofill.
130 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
132 * config/obj-macho.c (obj_macho_process_stab): New.
133 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
134 (obj_macho_process_stab): Declare.
136 For older changes see ChangeLog-2011
142 version-control: never