8e4c127963c4e2123fec1832cb07d668c517cc45
[external/binutils.git] / gas / ChangeLog
1 2012-01-23  Roland McGrath  <mcgrathr@google.com>
2
3         * configure.tgt (i386-*-nacl*): Match it.
4         * config/te-nacl.h: New file.
5         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
6         * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
7         Use TE_GNU et al case for TE_NACL too.
8
9 2012-01-20  H.J. Lu  <hongjiu.lu@intel.com>
10
11         * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
12         disp_encoding.
13         (md_assemble): Updated.
14         (output_branch): Likewise.
15         (parse_insn): Support .d8 suffix.
16         (build_modrm_byte): Fake zero displacement for .d8 and .d32
17         suffixes.
18
19         * doc/c-i386.texi: Document .d8 suffix.
20
21 2012-01-17  Andrew Burgess  <aburgess@broadcom.com>
22
23         * write.c (fix_new_internal): Don't mark used parameter as unused.
24
25 2012-01-17  Alan Modra  <amodra@gmail.com>
26
27         * as.c (parse_args): Update copyright message year.
28
29 2012-01-13  H.J. Lu  <hongjiu.lu@intel.com>
30
31         * config/tc-i386.c (cpu_arch): Add ".vmfunc".
32
33         * doc/c-i386.texi: Document vmfunc.
34
35 2012-01-13  Tristan Gingold  <gingold@adacore.com>
36
37         * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
38         * config/obj-macho.h (SET_SECTION_RELOCS): Define.
39         (obj_mach_o_reorder_section_relocs): Declare.
40
41 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
42
43         * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
44         absolute indirect symbols.
45
46 2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
47
48         * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
49         (obj_mach_o_set_section_vma): New.
50         (obj_mach_o_post_relax_hook): New.
51         * config/obj-macho.h (md_post_relax_hook): Define.
52         (obj_mach_o_post_relax_hook): Declare.
53
54 2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
55
56         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
57         lazy when the symbol is private_extern.
58         (obj_mach_o_indirect_sym): New type.
59         (obj_mach_o_indirect_symbol): New.
60         (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
61         (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
62         (obj_macho_frob_label): Likewise.  Adjust external and comm
63         symbol tests.
64         (obj_mach_o_set_indirect_symbols): New.
65         (obj_mach_o_frob_file_after_relocs): New.
66         *config/obj-macho.h (obj_frob_file_after_relocs): Define.
67         (obj_mach_o_frob_file_after_relocs): Declare.
68
69 2012-01-12  Tristan Gingold  <gingold@adacore.com>
70
71         PR gas/13591
72         * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
73
74 2012-01-10  Tristan Gingold  <gingold@adacore.com>
75
76         * struc-symbol.h (struct symbol_flags): New struct, created from...
77         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
78         (struct local_symbol): Replace lsy_marker field by lsy_flags.
79         Adjust comment.
80         (local_symbol_resolved_p): Adjust.
81         (local_symbol_mark_resolved): Likewise.
82         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
83         (local_symbol_make, local_symbol_convert, colon)
84         (symbol_clone_if_forward_ref, verify_symbol_chain)
85         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
86         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
87         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
88         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
89         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
90         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
91         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
92         (symbol_mark_mri_common, symbol_clear_mri_common)
93         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
94         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
95         (symbol_equated_reloc_p, dot_symbol_init)
96         (print_symbol_value_1): Adjust.
97
98 2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
99
100         * config/obj-macho.c (obj_mach_o_weak): Remove.
101         (obj_mach_o_common_parse): Set symbol qualifiers.
102         (LAZY, REFE): New macros.
103         (obj_mach_o_symbol_type): New enum.
104         (obj_mach_o_set_symbol_qualifier): New.
105         (obj_mach_o_sym_qual): New.
106         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
107         a dummy function.
108         (obj_mach_o_type_for_symbol): New.
109         (obj_macho_frob_label): New.
110         (obj_macho_frob_symbol): New.
111         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
112         (obj_frob_label, obj_macho_frob_label): Declare.
113         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
114
115 2012-01-08  Richard Sandiford  <rdsandiford@googlemail.com>
116
117         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
118
119 2012-01-08  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
120             Richard Sandiford  <rdsandiford@googlemail.com>
121
122         * config/tc-mips.c (mips_move_labels): Take the list of labels and
123         textness as parameters.
124         (mips_move_text_labels): New function.
125         (append_insn): Use it instead of mips_move_labels.
126         (mips_emit_delays, start_noreorder): Likewise.
127         (mips_align): Take the labels rather than just one label.
128         Move all labels to after the .align.
129         (s_align): Change the last argument to mips_align.
130         (s_cons): Likewise.
131         (s_float_cons): Likewise.
132         (s_gpword): Likewise.
133         (s_gpdword): Likewise.
134
135 2012-01-06  Tristan Gingold  <gingold@adacore.com>
136
137         * config/tc-i386.c: Update copyright year.
138         (lex_got): Also defined for Mach-O.
139         Add a guard for non-ELF configuration.
140         (md_longopts): Also handle -64 for Mach-O.
141         (md_parse_option): Likewise.
142         (i386_target_format): Adjust for x86_64-darwin.
143
144 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
145
146         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
147         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
148         (obj_mach_o_make_or_get_sect): Likewise.
149         (obj_mach_o_section): Split out the functionality shared with zerofill.
150         (obj_mach_o_zerofill): New.
151         (obj_mach_o_common_parse): Ensure whitespace is skipped.
152         (mach_o_pseudo_table): Add .zerofill.
153
154 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
155
156         * config/obj-macho.c (obj_macho_process_stab): New.
157         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
158         (obj_macho_process_stab): Declare.
159
160 For older changes see ChangeLog-2011
161 \f
162 Local Variables:
163 mode: change-log
164 left-margin: 8
165 fill-column: 74
166 version-control: never
167 End: