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