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