gas:
[binutils-gdb.git] / gas / ChangeLog
1 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
2
3 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
4 canonical information, try to determine CODE and DEBUG section flags
5 from the mach-o section data.
6
7 2012-02-20 Nick Clifton <nickc@redhat.com>
8
9 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
10 local symbols.
11
12 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
13
14 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
15 any local symbol used as an indirect.
16
17 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
18
19 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
20 stub size when provided. (obj_mach_o_section): Flag that stub-size
21 has been provided.
22
23 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
24
25 * config/tc-i386.c (HLE_PREFIX): New.
26 (check_hle): Likewise.
27 (_i386_insn): Add have_hle.
28 (cpu_arch): Add .hle and .rtm.
29 (md_assemble): Call check_hle if i.have_hle isn't zero.
30 (parse_insn): Set i.have_hle to 1 for HLE prefix.
31 (output_jump): Support up to 2 byte opcode.
32
33 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
34
35 2012-02-02 Tristan Gingold <gingold@adacore.com>
36
37 * config/obj-macho.c (obj_mach_o_zerofill): Silent
38 uninitialized variable warning.
39
40 2012-02-02 Nick Clifton <nickc@redhat.com>
41
42 PR gas/13224
43 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
44 to 'is_clone' to avoid shadowing a gloabl.
45 (obj_elf_section): Likewise.
46
47 2012-01-31 Paul Brook <paul@codesourcery.com>
48
49 * doc/c-tic6x.c: Fix typo.
50
51 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
52
53 PR gas/13624
54 * app.c (app_push): Set 'add_newlines' to zero after saving.
55
56 2012-01-24 DJ Delorie <dj@redhat.com>
57
58 * config/rl78-parse.y (NOT1): Add.
59
60 2012-01-23 Roland McGrath <mcgrathr@google.com>
61
62 * configure.tgt (i386-*-nacl*): Match it.
63 * config/te-nacl.h: New file.
64 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
65 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
66 Use TE_GNU et al case for TE_NACL too.
67
68 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
69
70 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
71 disp_encoding.
72 (md_assemble): Updated.
73 (output_branch): Likewise.
74 (parse_insn): Support .d8 suffix.
75 (build_modrm_byte): Fake zero displacement for .d8 and .d32
76 suffixes.
77
78 * doc/c-i386.texi: Document .d8 suffix.
79
80 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
81
82 * write.c (fix_new_internal): Don't mark used parameter as unused.
83
84 2012-01-17 Alan Modra <amodra@gmail.com>
85
86 * as.c (parse_args): Update copyright message year.
87
88 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
89
90 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
91
92 * doc/c-i386.texi: Document vmfunc.
93
94 2012-01-13 Tristan Gingold <gingold@adacore.com>
95
96 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
97 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
98 (obj_mach_o_reorder_section_relocs): Declare.
99
100 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
101
102 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
103 absolute indirect symbols.
104
105 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
106
107 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
108 (obj_mach_o_set_section_vma): New.
109 (obj_mach_o_post_relax_hook): New.
110 * config/obj-macho.h (md_post_relax_hook): Define.
111 (obj_mach_o_post_relax_hook): Declare.
112
113 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
114
115 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
116 lazy when the symbol is private_extern.
117 (obj_mach_o_indirect_sym): New type.
118 (obj_mach_o_indirect_symbol): New.
119 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
120 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
121 (obj_macho_frob_label): Likewise. Adjust external and comm
122 symbol tests.
123 (obj_mach_o_set_indirect_symbols): New.
124 (obj_mach_o_frob_file_after_relocs): New.
125 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
126 (obj_mach_o_frob_file_after_relocs): Declare.
127
128 2012-01-12 Tristan Gingold <gingold@adacore.com>
129
130 PR gas/13591
131 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
132
133 2012-01-10 Tristan Gingold <gingold@adacore.com>
134
135 * struc-symbol.h (struct symbol_flags): New struct, created from...
136 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
137 (struct local_symbol): Replace lsy_marker field by lsy_flags.
138 Adjust comment.
139 (local_symbol_resolved_p): Adjust.
140 (local_symbol_mark_resolved): Likewise.
141 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
142 (local_symbol_make, local_symbol_convert, colon)
143 (symbol_clone_if_forward_ref, verify_symbol_chain)
144 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
145 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
146 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
147 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
148 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
149 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
150 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
151 (symbol_mark_mri_common, symbol_clear_mri_common)
152 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
153 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
154 (symbol_equated_reloc_p, dot_symbol_init)
155 (print_symbol_value_1): Adjust.
156
157 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
158
159 * config/obj-macho.c (obj_mach_o_weak): Remove.
160 (obj_mach_o_common_parse): Set symbol qualifiers.
161 (LAZY, REFE): New macros.
162 (obj_mach_o_symbol_type): New enum.
163 (obj_mach_o_set_symbol_qualifier): New.
164 (obj_mach_o_sym_qual): New.
165 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
166 a dummy function.
167 (obj_mach_o_type_for_symbol): New.
168 (obj_macho_frob_label): New.
169 (obj_macho_frob_symbol): New.
170 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
171 (obj_frob_label, obj_macho_frob_label): Declare.
172 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
173
174 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
175
176 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
177
178 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
179 Richard Sandiford <rdsandiford@googlemail.com>
180
181 * config/tc-mips.c (mips_move_labels): Take the list of labels and
182 textness as parameters.
183 (mips_move_text_labels): New function.
184 (append_insn): Use it instead of mips_move_labels.
185 (mips_emit_delays, start_noreorder): Likewise.
186 (mips_align): Take the labels rather than just one label.
187 Move all labels to after the .align.
188 (s_align): Change the last argument to mips_align.
189 (s_cons): Likewise.
190 (s_float_cons): Likewise.
191 (s_gpword): Likewise.
192 (s_gpdword): Likewise.
193
194 2012-01-06 Tristan Gingold <gingold@adacore.com>
195
196 * config/tc-i386.c: Update copyright year.
197 (lex_got): Also defined for Mach-O.
198 Add a guard for non-ELF configuration.
199 (md_longopts): Also handle -64 for Mach-O.
200 (md_parse_option): Likewise.
201 (i386_target_format): Adjust for x86_64-darwin.
202
203 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
204
205 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
206 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
207 (obj_mach_o_make_or_get_sect): Likewise.
208 (obj_mach_o_section): Split out the functionality shared with zerofill.
209 (obj_mach_o_zerofill): New.
210 (obj_mach_o_common_parse): Ensure whitespace is skipped.
211 (mach_o_pseudo_table): Add .zerofill.
212
213 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
214
215 * config/obj-macho.c (obj_macho_process_stab): New.
216 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
217 (obj_macho_process_stab): Declare.
218
219 For older changes see ChangeLog-2011
220 \f
221 Local Variables:
222 mode: change-log
223 left-margin: 8
224 fill-column: 74
225 version-control: never
226 End: