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