Commit | Line | Data |
---|---|---|
0a22ae8e NC |
1 | 2012-03-07 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * config/tc-mn10300.c (other_registers): Add SSP and USP. | |
4 | (md_assemble): Add support for TLS relocs. | |
5 | (mn10300_parse_name): Likewise. | |
6 | ||
805e800d AM |
7 | 2012-02-27 Alan Modra <amodra@gmail.com> |
8 | ||
9 | * config/tc-crx.c (check_range): Correct uint32_t misconceptions. | |
10 | ||
b9fcee79 AM |
11 | 2012-02-27 Alan Modra <amodra@gmail.com> |
12 | ||
13 | * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on | |
14 | params. Properly generate NOP pattern. Comment reason for | |
15 | subseg_text_p failure. | |
16 | ||
35a35807 AM |
17 | 2012-02-27 Alan Modra <amodra@gmail.com> |
18 | ||
19 | * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits | |
20 | and sign extend before range tests. | |
21 | (constant_fits_size_p): Similarly. | |
22 | (get_specific): Trim X_add_number to 32 bits. | |
23 | (fix_operand_size): Likewise, and use unsigned test for signed | |
24 | ranges. | |
25 | ||
1f42f8b3 AM |
26 | 2012-02-27 Alan Modra <amodra@gmail.com> |
27 | ||
28 | * config/tc-crx.c: Include bfd_stdint.h. | |
29 | (getconstant): Remove irrelevant comment. Don't fail due to | |
30 | sign-extension of int mask. | |
31 | (check_range): Rewrite using unsigned arithmetic throughout. | |
32 | ||
481fe810 WL |
33 | 2012-02-25 Walter Lee <walt@tilera.com> |
34 | ||
35 | * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is | |
36 | non-local before checking sy_value. | |
37 | * tc-tilegx.c (emit_tilegx_instruction): Ditto. | |
38 | ||
6f7be959 WL |
39 | 2012-02-25 Walter Lee <walt@tilera.com> |
40 | ||
41 | * tc-tilepro.c (O_tls_le): Define operator. | |
42 | (O_tls_le_lo16): Ditto. | |
43 | (O_tls_le_hi16): Ditto. | |
44 | (O_tls_le_ha16): Ditto. | |
45 | (O_tls_gd_call): Ditto. | |
46 | (O_tls_gd_add): Ditto. | |
47 | (O_tls_ie_load): Ditto. | |
48 | (md_begin): Delete old operators; handle new operators. | |
49 | (emit_tilepro_instruction): Ditto. | |
50 | (md_apply_fix): Ditto. | |
51 | * tc-tilegx.c (O_hw1_got): Delete operator. | |
52 | (O_hw2_got): Ditto. | |
53 | (O_hw3_got): Ditto. | |
54 | (O_hw2_last_got): Ditto. | |
55 | (O_hw1_tls_gd): Ditto. | |
56 | (O_hw2_tls_gd): Ditto. | |
57 | (O_hw3_tls_gd): Ditto. | |
58 | (O_hw2_last_tls_gd): Ditto. | |
59 | (O_hw1_tls_ie): Ditto. | |
60 | (O_hw2_tls_ie): Ditto. | |
61 | (O_hw3_tls_ie): Ditto. | |
62 | (O_hw2_last_tls_ie): Ditto. | |
63 | (O_hw0_tls_le): Define operator. | |
64 | (O_hw0_last_tls_le): Ditto. | |
65 | (O_hw1_last_tls_le): Ditto. | |
66 | (O_tls_gd_call): Ditto. | |
67 | (O_tls_gd_add): Ditto. | |
68 | (O_tls_ie_load): Ditto. | |
69 | (O_tls_add): Ditto. | |
70 | (md_begin): Delete old operators; handle new operators. | |
71 | (emit_tilegx_instruction): Ditto. | |
72 | (md_apply_fix): Ditto. | |
73 | * doc/c-tilegx.texi: Delete old operators; document new operators. | |
74 | * doc/c-tilepro.texi: Ditto. | |
75 | ||
82590249 WL |
76 | 2012-02-25 Walter Lee <walt@tilera.com> |
77 | ||
5414dbef WL |
78 | * tc-tilepro.c (apply_special_operator): delete cases for |
79 | got and tls operators. | |
80 | (md_apply_fix): Ditto. | |
fb6cedde WL |
81 | * tc-tilegx.c (md_begin): Set architecture and machine. |
82 | (tilegx_target_format): Handle big endian. | |
83 | (OPTION_EB): Define. | |
84 | (OPTION_EL): Define. | |
85 | (md_longopts): Add entries for "EB" and "EL". | |
86 | (md_parse_option): Handle OPTION_EB and OPTION_EL. | |
87 | (md_show_usage): Add -EB and -EL. | |
88 | (md_number_to_chars): New. | |
5414dbef WL |
89 | (apply_special_operator): delete cases for got and tls |
90 | operators. | |
91 | (md_apply_fix): Ditto. | |
fb6cedde WL |
92 | * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with |
93 | ifndef. | |
94 | (md_number_to_chars): Delete. | |
95 | * configure.tgt (tilegx*be): Handle. | |
96 | * doc/as.texinfo [TILE-Gx]: Document -EB and -EL. | |
97 | * doc/c-tilegx.texi: Ditto. | |
82590249 | 98 | |
82c2def5 L |
99 | 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> |
100 | ||
101 | * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock, | |
102 | HLEPrefixAny and HLEPrefixRelease. | |
103 | ||
1bf10b0d NC |
104 | 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
105 | ||
106 | * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. | |
107 | ||
16a87420 IS |
108 | 2012-02-21 Iain Sandoe <idsandoe@googlemail.com> |
109 | ||
110 | * write.c (write_object_file): Add md_pre_output_hook. | |
111 | * config/obj-macho.c (obj_mach_o_check_before_writing): New. | |
112 | (obj_mach_o_pre_output_hook): New. | |
113 | * config/obj-macho.h (md_pre_output_hook): Define. | |
114 | (obj_mach_o_pre_output_hook): Declare. | |
115 | ||
cdaa5616 IS |
116 | 2012-02-21 Tristan Gingold <gingold@adacore.com> |
117 | ||
118 | * config/tc-i386.h (OBJ_MACH_O): New section. | |
119 | (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc. | |
120 | (TC_FORCE_RELOCATION_SUB_SAME): New | |
121 | (TC_FORCE_RELOCATION_SUB_LOCAL): New. | |
122 | (TC_VALIDATE_FIX_SUB): New. | |
123 | * frags.h (struct frag): OBJ_FRAG_TYPE, new field. | |
124 | * symbols.c (colon): obj_frob_colon: New hook. | |
125 | * write.c (write_object_file): md_pre_relax_hook, new | |
126 | hook. | |
127 | * config/obj-macho.c (obj_mach_o_frob_colon): New. | |
128 | (obj_mach_o_frob_label): Record sub-section labels. | |
129 | (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol. | |
130 | (obj_mach_o_set_subsections): New. | |
131 | (obj_mach_o_pre_relax_hook): New. | |
132 | (obj_mach_o_in_different_subsection): New. | |
133 | (obj_mach_o_force_reloc_sub_same): New. | |
134 | (obj_mach_o_force_reloc_sub_local): New. | |
135 | (obj_mach_o_force_reloc): New. | |
136 | * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New. | |
137 | (obj_frob_colon): New Define. | |
138 | (obj_mach_o_frob_label): Renamed. | |
139 | (obj_mach_o_frob_symbol): Renamed. | |
140 | (OBJ_FRAG_TYPE): New. | |
141 | (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc, | |
142 | obj_mach_o_force_reloc_sub_same, | |
143 | obj_mach_o_force_reloc_sub_local): New declarations. | |
144 | ||
854ac8ba IS |
145 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
146 | ||
147 | * config/obj-macho.c (obj_mach_o_is_frame_section): New. | |
148 | (obj_mach_o_allow_local_subtract): New. | |
149 | * config/obj-macho.h (md_allow_local_subtract): Define. | |
150 | (obj_mach_o_allow_local_subtract): Declare. | |
151 | ||
a5759139 IS |
152 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
153 | ||
154 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of | |
155 | canonical information, try to determine CODE and DEBUG section flags | |
156 | from the mach-o section data. | |
157 | ||
9ad45734 NC |
158 | 2012-02-20 Nick Clifton <nickc@redhat.com> |
159 | ||
160 | * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on | |
161 | local symbols. | |
162 | ||
8e43fc02 IS |
163 | 2012-02-12 Iain Sandoe <idsandoe@googlemail.com> |
164 | ||
165 | * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of | |
166 | any local symbol used as an indirect. | |
167 | ||
fb4914b0 IS |
168 | 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> |
169 | ||
170 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in | |
171 | stub size when provided. (obj_mach_o_section): Flag that stub-size | |
172 | has been provided. | |
173 | ||
42164a71 L |
174 | 2012-02-08 H.J. Lu <hongjiu.lu@intel.com> |
175 | ||
176 | * config/tc-i386.c (HLE_PREFIX): New. | |
177 | (check_hle): Likewise. | |
178 | (_i386_insn): Add have_hle. | |
179 | (cpu_arch): Add .hle and .rtm. | |
180 | (md_assemble): Call check_hle if i.have_hle isn't zero. | |
181 | (parse_insn): Set i.have_hle to 1 for HLE prefix. | |
182 | (output_jump): Support up to 2 byte opcode. | |
183 | ||
184 | * doc/c-i386.texi: Document hle/.hle and rtm/.rtm. | |
185 | ||
facf03f2 TG |
186 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
187 | ||
188 | * config/obj-macho.c (obj_mach_o_zerofill): Silent | |
189 | uninitialized variable warning. | |
190 | ||
f6616a06 NC |
191 | 2012-02-02 Nick Clifton <nickc@redhat.com> |
192 | ||
193 | PR gas/13224 | |
194 | * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone' | |
195 | to 'is_clone' to avoid shadowing a gloabl. | |
196 | (obj_elf_section): Likewise. | |
197 | ||
bac03263 | 198 | 2012-01-31 Paul Brook <paul@codesourcery.com> |
f6616a06 | 199 | |
bac03263 PB |
200 | * doc/c-tic6x.c: Fix typo. |
201 | ||
f8819316 NC |
202 | 2012-01-26 Alexey Makhalov <makhaloff@gmail.com> |
203 | ||
204 | PR gas/13624 | |
205 | * app.c (app_push): Set 'add_newlines' to zero after saving. | |
206 | ||
21abe33a DD |
207 | 2012-01-24 DJ Delorie <dj@redhat.com> |
208 | ||
209 | * config/rl78-parse.y (NOT1): Add. | |
210 | ||
8d63c93e RM |
211 | 2012-01-23 Roland McGrath <mcgrathr@google.com> |
212 | ||
213 | * configure.tgt (i386-*-nacl*): Match it. | |
214 | * config/te-nacl.h: New file. | |
215 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case. | |
216 | * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR): | |
217 | Use TE_GNU et al case for TE_NACL too. | |
218 | ||
a501d77e L |
219 | 2012-01-20 H.J. Lu <hongjiu.lu@intel.com> |
220 | ||
221 | * config/tc-i386.c (_i386_insn): Replace disp32_encoding with | |
222 | disp_encoding. | |
223 | (md_assemble): Updated. | |
224 | (output_branch): Likewise. | |
225 | (parse_insn): Support .d8 suffix. | |
226 | (build_modrm_byte): Fake zero displacement for .d8 and .d32 | |
227 | suffixes. | |
228 | ||
229 | * doc/c-i386.texi: Document .d8 suffix. | |
230 | ||
032fbb7a AM |
231 | 2012-01-17 Andrew Burgess <aburgess@broadcom.com> |
232 | ||
233 | * write.c (fix_new_internal): Don't mark used parameter as unused. | |
234 | ||
576477a6 AM |
235 | 2012-01-17 Alan Modra <amodra@gmail.com> |
236 | ||
237 | * as.c (parse_args): Update copyright message year. | |
238 | ||
8729a6f6 L |
239 | 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> |
240 | ||
241 | * config/tc-i386.c (cpu_arch): Add ".vmfunc". | |
242 | ||
243 | * doc/c-i386.texi: Document vmfunc. | |
244 | ||
34dd18bc IS |
245 | 2012-01-13 Tristan Gingold <gingold@adacore.com> |
246 | ||
247 | * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New. | |
248 | * config/obj-macho.h (SET_SECTION_RELOCS): Define. | |
249 | (obj_mach_o_reorder_section_relocs): Declare. | |
250 | ||
687be931 IS |
251 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
252 | ||
253 | * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle | |
254 | absolute indirect symbols. | |
255 | ||
c3402d20 IS |
256 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
257 | ||
258 | * config/obj-macho.c (obj_mach_o_set_vma_data): New type. | |
259 | (obj_mach_o_set_section_vma): New. | |
260 | (obj_mach_o_post_relax_hook): New. | |
261 | * config/obj-macho.h (md_post_relax_hook): Define. | |
262 | (obj_mach_o_post_relax_hook): Declare. | |
263 | ||
50d10658 IS |
264 | 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> |
265 | ||
266 | * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off | |
267 | lazy when the symbol is private_extern. | |
268 | (obj_mach_o_indirect_sym): New type. | |
269 | (obj_mach_o_indirect_symbol): New. | |
270 | (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol. | |
271 | (obj_macho_frob_label): Adjust to avoid adding bsyms for locals. | |
272 | (obj_macho_frob_label): Likewise. Adjust external and comm | |
273 | symbol tests. | |
274 | (obj_mach_o_set_indirect_symbols): New. | |
275 | (obj_mach_o_frob_file_after_relocs): New. | |
276 | *config/obj-macho.h (obj_frob_file_after_relocs): Define. | |
277 | (obj_mach_o_frob_file_after_relocs): Declare. | |
278 | ||
0a4734dc TG |
279 | 2012-01-12 Tristan Gingold <gingold@adacore.com> |
280 | ||
281 | PR gas/13591 | |
282 | * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict. | |
283 | ||
158184ac TG |
284 | 2012-01-10 Tristan Gingold <gingold@adacore.com> |
285 | ||
286 | * struc-symbol.h (struct symbol_flags): New struct, created from... | |
287 | (struct symbol): ... this one. Add sy_flags field, remove flag fields. | |
288 | (struct local_symbol): Replace lsy_marker field by lsy_flags. | |
289 | Adjust comment. | |
290 | (local_symbol_resolved_p): Adjust. | |
291 | (local_symbol_mark_resolved): Likewise. | |
292 | * symbols.c (LOCAL_SYMBOL_CHECK): Adjust. | |
293 | (local_symbol_make, local_symbol_convert, colon) | |
294 | (symbol_clone_if_forward_ref, verify_symbol_chain) | |
295 | (resolve_symbol_value, snapshot_symbol, S_GET_VALUE) | |
296 | (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF) | |
297 | (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD) | |
298 | (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE) | |
299 | (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used) | |
300 | (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc) | |
301 | (symbol_clear_used_in_reloc, symbol_used_in_reloc_p) | |
302 | (symbol_mark_mri_common, symbol_clear_mri_common) | |
303 | (symbol_mri_common_p, symbol_mark_written, symbol_clear_written) | |
304 | (symbol_written_p, symbol_mark_resolved, symbol_resolved_p) | |
305 | (symbol_equated_reloc_p, dot_symbol_init) | |
306 | (print_symbol_value_1): Adjust. | |
307 | ||
b22161d6 IS |
308 | 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> |
309 | ||
310 | * config/obj-macho.c (obj_mach_o_weak): Remove. | |
311 | (obj_mach_o_common_parse): Set symbol qualifiers. | |
312 | (LAZY, REFE): New macros. | |
313 | (obj_mach_o_symbol_type): New enum. | |
314 | (obj_mach_o_set_symbol_qualifier): New. | |
315 | (obj_mach_o_sym_qual): New. | |
316 | (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to | |
317 | a dummy function. | |
318 | (obj_mach_o_type_for_symbol): New. | |
319 | (obj_macho_frob_label): New. | |
320 | (obj_macho_frob_symbol): New. | |
321 | * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name. | |
322 | (obj_frob_label, obj_macho_frob_label): Declare. | |
323 | (obj_frob_symbol, obj_macho_frob_symbol): Declare. | |
324 | ||
de64cffd RS |
325 | 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com> |
326 | ||
327 | * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels. | |
328 | ||
462427c4 RS |
329 | 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com> |
330 | Richard Sandiford <rdsandiford@googlemail.com> | |
331 | ||
332 | * config/tc-mips.c (mips_move_labels): Take the list of labels and | |
333 | textness as parameters. | |
334 | (mips_move_text_labels): New function. | |
335 | (append_insn): Use it instead of mips_move_labels. | |
336 | (mips_emit_delays, start_noreorder): Likewise. | |
337 | (mips_align): Take the labels rather than just one label. | |
338 | Move all labels to after the .align. | |
339 | (s_align): Change the last argument to mips_align. | |
340 | (s_cons): Likewise. | |
341 | (s_float_cons): Likewise. | |
342 | (s_gpword): Likewise. | |
343 | (s_gpdword): Likewise. | |
344 | ||
d382c579 TG |
345 | 2012-01-06 Tristan Gingold <gingold@adacore.com> |
346 | ||
347 | * config/tc-i386.c: Update copyright year. | |
348 | (lex_got): Also defined for Mach-O. | |
349 | Add a guard for non-ELF configuration. | |
350 | (md_longopts): Also handle -64 for Mach-O. | |
351 | (md_parse_option): Likewise. | |
352 | (i386_target_format): Adjust for x86_64-darwin. | |
353 | ||
8cf6e084 IS |
354 | 2012-01-04 Iain Sandoe <idsandoe@googlemail.com> |
355 | ||
356 | * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition. | |
357 | (obj_mach_o_get_section_names): New (split from obj_mach_o_section). | |
358 | (obj_mach_o_make_or_get_sect): Likewise. | |
359 | (obj_mach_o_section): Split out the functionality shared with zerofill. | |
360 | (obj_mach_o_zerofill): New. | |
361 | (obj_mach_o_common_parse): Ensure whitespace is skipped. | |
362 | (mach_o_pseudo_table): Add .zerofill. | |
363 | ||
68588f95 IS |
364 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
365 | ||
366 | * config/obj-macho.c (obj_macho_process_stab): New. | |
367 | * config/obj-macho.h (OBJ_PROCESS_STAB): Define. | |
368 | (obj_macho_process_stab): Declare. | |
369 | ||
23e1d329 | 370 | For older changes see ChangeLog-2011 |
08d56133 NC |
371 | \f |
372 | Local Variables: | |
373 | mode: change-log | |
374 | left-margin: 8 | |
375 | fill-column: 74 | |
376 | version-control: never | |
377 | End: |