Commit | Line | Data |
---|---|---|
ec668d69 DM |
1 | 2012-04-27 David S. Miller <davem@davemloft.net> |
2 | ||
698544e1 DM |
3 | * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to |
4 | sparc4, v8pluse, v8plusv, v9e, and v9v. | |
5 | (sparc_ip): Handle R_SPARC_5 of immediate constants inline in | |
6 | order to accomodate cbcond which otherwise would require two | |
7 | relocations to be handled in a single instruction.. | |
8 | ||
6cda1326 DM |
9 | * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction |
10 | names containing "_". | |
11 | (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto | |
12 | hwcap masks to v8plusv and v9v. | |
13 | ||
ec668d69 DM |
14 | * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_* |
15 | masks. | |
16 | (sparc_md_end): No longer need to translate hwcap_seen values into | |
17 | ELF hwcap bits, they now match exactly. | |
18 | (get_hwcap_name): Use HWCAP_* and handle new values. | |
19 | (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags. | |
20 | ||
2b0bc501 TG |
21 | 2012-04-20 Tristan Gingold <gingold@adacore.com> |
22 | ||
23 | * config/tc-ia64.c (obj_elf_vms_common): New function. | |
24 | (md_pseudo_table): Add .vms_common pseudo. | |
25 | * config/obj-elf.h (obj_elf_section_name): Add a prototype. | |
26 | * config/obj-elf.c (obj_elf_section_name): Make it public. | |
27 | ||
0b649256 RS |
28 | 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com> |
29 | ||
30 | * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32. | |
31 | ||
2615994e DM |
32 | 2012-04-12 David S. Miller <davem@davemloft.net> |
33 | ||
34 | * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and | |
35 | BFD_RELOC_SPARC_H34. | |
36 | (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34. | |
37 | (tc_gen_reloc): Likewise. | |
38 | ||
b38cadfb NC |
39 | 2012-04-12 Roland McGrath <mcgrathr@google.com> |
40 | ||
41 | * configure.tgt (arm-*-nacl*): Match it. | |
42 | * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define. | |
43 | (LOCAL_LABELS_DOLLAR): Define. | |
44 | * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]: | |
45 | Use nacl format variants. | |
46 | ||
6530b175 NC |
47 | 2012-04-12 Jie Zhang <jie@codesourcery.com> |
48 | Meador Inge <meadori@codesourcery.com> | |
49 | ||
50 | * config/tc-arm.c (only_one_reg_in_list): New function. | |
51 | (encode_ldmstm): Ditto. | |
52 | (do_ldmstm): Use a different encoding when pushing or poping | |
53 | a single register. | |
54 | (A_COND_MASK): New macro. | |
55 | (A_PUSH_POP_OP_MASK): Ditto. | |
56 | (A1_OPCODE_PUSH): Ditto. | |
57 | (A2_OPCODE_PUSH): Ditto. | |
58 | (A2_OPCODE_POP): Ditto. | |
59 | ||
45e279f5 MR |
60 | 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org> |
61 | ||
62 | * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to | |
63 | -mno-fix-24k. | |
64 | ||
58797674 RM |
65 | 2012-04-06 Roland McGrath <mcgrathr@google.com> |
66 | ||
67 | * configure.in (AC_CHECK_HEADERS): Add locale.h. | |
68 | * config.in: Regenerate. | |
69 | * configure: Regenerate. | |
70 | ||
44350750 NC |
71 | 2012-04-05 Nick Clifton <nickc@redhat.com> |
72 | ||
73 | * configure.in (AC_CHECK_FUNCS): Add setlocale. | |
74 | (AM_LC_MESSAGES): Add. | |
75 | * aclocal.m4: Regenerate. | |
76 | * config.in: Regenerate. | |
77 | * configure: Regenerate. | |
78 | ||
e91a22ce DD |
79 | 2012-04-03 DJ Delorie <dj@redhat.com> |
80 | ||
81 | * config/rx-parse.y: Make the .L optional for ADC and SBB. | |
82 | ||
b1c0804b DD |
83 | 2012-04-02 DJ Delorie <dj@redhat.com> |
84 | ||
85 | * config/rx-parse.y: IMM->IMM_, take an extra parameter for the | |
86 | transfer size. | |
87 | (IMM): New, call IMM_ with the default 32. | |
88 | (IMMW,IMMB): Likewise, for 16 and 8. | |
89 | (NIMM, MBIMM): Add size parameter. | |
90 | (immediate): Likewise. Allow 32768..65535 for 16-bit transfers. | |
91 | (MOV.W): Use IMMW instead of IMM. | |
92 | ||
93 | * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L. | |
94 | (op_dp20_rm_l): New. | |
95 | (op_dp20_rim_l): New. | |
96 | ||
97 | * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem. | |
98 | (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms). | |
99 | ||
ce32bd10 MGD |
100 | 2012-03-29 Terry Guo <terry.guo@arm.com> |
101 | ||
102 | * config/tc-arm.c (arm_cpus): Add cortex-m0plus. | |
103 | * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus. | |
104 | ||
55a36193 MK |
105 | 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com> |
106 | ||
107 | * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP. | |
108 | * doc/c-mips.texi: Mention XLP. | |
109 | ||
32b9ff0d TS |
110 | 2012-03-21 Thomas Schwinge <thomas@codesourcery.com> |
111 | ||
112 | [SH] Support the .uaquad and .8byte directives also for non-sh64 | |
113 | configurations. | |
114 | ||
115 | * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle | |
116 | BFD_RELOC_64. | |
117 | * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad | |
118 | description... | |
119 | * doc/c-sh.texi (SH Machine Directives): ... here. | |
120 | ||
7465e07a NC |
121 | 2012-03-20 Nick Clifton <nickc@redhat.com> |
122 | ||
123 | * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system | |
124 | registers. | |
125 | (do_vmsr): Likewise. | |
126 | (arm_opcode_insns): Do not default to using the FPSCR register in | |
127 | the VMRS and VMSR registers. | |
128 | ||
8059fb19 RM |
129 | 2012-03-16 Roland McGrath <mcgrathr@google.com> |
130 | ||
131 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64): | |
132 | Define for this case. | |
133 | * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32. | |
134 | ||
69239280 MGD |
135 | 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
136 | ||
137 | * config/tc-arm.c (aeabi_set_public_attributes): Correct | |
138 | handling of Tag_DIV_use. | |
139 | ||
27dcf5c0 TS |
140 | 2012-03-15 Thomas Schwinge <thomas@codesourcery.com> |
141 | ||
142 | * doc/as.texinfo (Bundle directives): Fix typo. | |
143 | ||
ec82c18e L |
144 | 2012-03-14 Ryan Mansfield <rmansfield@qnx.com> |
145 | ||
146 | * doc/as.texinfo (Bundle directives): Replace @defn with @dfn. | |
147 | ||
8d3eaee6 | 148 | 2012-03-13 Roland McGrath <mcgrathr@google.com> |
fa94de6b RM |
149 | |
150 | * config/tc-arm.c (arm_frag_max_var): New function. | |
151 | * config/tc-arm.h: Declare it. | |
152 | (md_frag_max_var): New macro. | |
153 | ||
154 | * config/tc-i386.c (i386_frag_max_var): New function. | |
155 | * config/tc-i386.h: Declare it. | |
156 | (md_frag_max_var): New macro. | |
157 | ||
158 | * doc/as.texinfo (Bundle directives): New node. | |
159 | (Pseudo Ops): Add it to the menu. | |
160 | * NEWS: Mention new feature. | |
161 | * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro. | |
162 | [HANDLE_BUNDLE] (bundle_align_p2): New variable. | |
163 | [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables. | |
164 | [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle): | |
165 | New functions. | |
166 | (assemble_one): New function if [HANDLE_BUNDLE], #define directly | |
167 | to md_assembly if not. | |
168 | (read_a_source_file): Call assemble_one in place of md_assemble. | |
169 | (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated | |
170 | .bundle_lock at end of processing. | |
171 | [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock): | |
172 | New functions. | |
173 | [HANDLE_BUNDLE] (potable): Add their entries. | |
174 | * read.h: Declare new functions. | |
175 | ||
aea77599 AM |
176 | 2012-03-10 Edmar Wienskoski <edmar@freescale.com> |
177 | ||
178 | * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500. | |
179 | (ppc_handle_align): Add termination nop opcode for e500mc family. | |
180 | * doc/as.texinfo: Document options -me5500 and -me6500. | |
181 | * doc/c-ppc.texi: Likewise. | |
182 | ||
0a22ae8e NC |
183 | 2012-03-07 Nick Clifton <nickc@redhat.com> |
184 | ||
185 | * config/tc-mn10300.c (other_registers): Add SSP and USP. | |
186 | (md_assemble): Add support for TLS relocs. | |
187 | (mn10300_parse_name): Likewise. | |
188 | ||
805e800d AM |
189 | 2012-02-27 Alan Modra <amodra@gmail.com> |
190 | ||
191 | * config/tc-crx.c (check_range): Correct uint32_t misconceptions. | |
192 | ||
b9fcee79 AM |
193 | 2012-02-27 Alan Modra <amodra@gmail.com> |
194 | ||
195 | * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on | |
196 | params. Properly generate NOP pattern. Comment reason for | |
197 | subseg_text_p failure. | |
198 | ||
35a35807 AM |
199 | 2012-02-27 Alan Modra <amodra@gmail.com> |
200 | ||
201 | * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits | |
202 | and sign extend before range tests. | |
203 | (constant_fits_size_p): Similarly. | |
204 | (get_specific): Trim X_add_number to 32 bits. | |
205 | (fix_operand_size): Likewise, and use unsigned test for signed | |
206 | ranges. | |
207 | ||
1f42f8b3 AM |
208 | 2012-02-27 Alan Modra <amodra@gmail.com> |
209 | ||
210 | * config/tc-crx.c: Include bfd_stdint.h. | |
211 | (getconstant): Remove irrelevant comment. Don't fail due to | |
212 | sign-extension of int mask. | |
213 | (check_range): Rewrite using unsigned arithmetic throughout. | |
214 | ||
481fe810 WL |
215 | 2012-02-25 Walter Lee <walt@tilera.com> |
216 | ||
217 | * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is | |
218 | non-local before checking sy_value. | |
219 | * tc-tilegx.c (emit_tilegx_instruction): Ditto. | |
220 | ||
6f7be959 WL |
221 | 2012-02-25 Walter Lee <walt@tilera.com> |
222 | ||
223 | * tc-tilepro.c (O_tls_le): Define operator. | |
224 | (O_tls_le_lo16): Ditto. | |
225 | (O_tls_le_hi16): Ditto. | |
226 | (O_tls_le_ha16): Ditto. | |
227 | (O_tls_gd_call): Ditto. | |
228 | (O_tls_gd_add): Ditto. | |
229 | (O_tls_ie_load): Ditto. | |
230 | (md_begin): Delete old operators; handle new operators. | |
231 | (emit_tilepro_instruction): Ditto. | |
232 | (md_apply_fix): Ditto. | |
233 | * tc-tilegx.c (O_hw1_got): Delete operator. | |
234 | (O_hw2_got): Ditto. | |
235 | (O_hw3_got): Ditto. | |
236 | (O_hw2_last_got): Ditto. | |
237 | (O_hw1_tls_gd): Ditto. | |
238 | (O_hw2_tls_gd): Ditto. | |
239 | (O_hw3_tls_gd): Ditto. | |
240 | (O_hw2_last_tls_gd): Ditto. | |
241 | (O_hw1_tls_ie): Ditto. | |
242 | (O_hw2_tls_ie): Ditto. | |
243 | (O_hw3_tls_ie): Ditto. | |
244 | (O_hw2_last_tls_ie): Ditto. | |
245 | (O_hw0_tls_le): Define operator. | |
246 | (O_hw0_last_tls_le): Ditto. | |
247 | (O_hw1_last_tls_le): Ditto. | |
248 | (O_tls_gd_call): Ditto. | |
249 | (O_tls_gd_add): Ditto. | |
250 | (O_tls_ie_load): Ditto. | |
251 | (O_tls_add): Ditto. | |
252 | (md_begin): Delete old operators; handle new operators. | |
253 | (emit_tilegx_instruction): Ditto. | |
254 | (md_apply_fix): Ditto. | |
255 | * doc/c-tilegx.texi: Delete old operators; document new operators. | |
256 | * doc/c-tilepro.texi: Ditto. | |
257 | ||
82590249 WL |
258 | 2012-02-25 Walter Lee <walt@tilera.com> |
259 | ||
5414dbef WL |
260 | * tc-tilepro.c (apply_special_operator): delete cases for |
261 | got and tls operators. | |
262 | (md_apply_fix): Ditto. | |
fb6cedde WL |
263 | * tc-tilegx.c (md_begin): Set architecture and machine. |
264 | (tilegx_target_format): Handle big endian. | |
265 | (OPTION_EB): Define. | |
266 | (OPTION_EL): Define. | |
267 | (md_longopts): Add entries for "EB" and "EL". | |
268 | (md_parse_option): Handle OPTION_EB and OPTION_EL. | |
269 | (md_show_usage): Add -EB and -EL. | |
270 | (md_number_to_chars): New. | |
5414dbef WL |
271 | (apply_special_operator): delete cases for got and tls |
272 | operators. | |
273 | (md_apply_fix): Ditto. | |
fb6cedde WL |
274 | * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with |
275 | ifndef. | |
276 | (md_number_to_chars): Delete. | |
277 | * configure.tgt (tilegx*be): Handle. | |
278 | * doc/as.texinfo [TILE-Gx]: Document -EB and -EL. | |
279 | * doc/c-tilegx.texi: Ditto. | |
82590249 | 280 | |
82c2def5 L |
281 | 2012-02-21 H.J. Lu <hongjiu.lu@intel.com> |
282 | ||
283 | * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock, | |
284 | HLEPrefixAny and HLEPrefixRelease. | |
285 | ||
1bf10b0d NC |
286 | 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
287 | ||
288 | * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define. | |
289 | ||
16a87420 IS |
290 | 2012-02-21 Iain Sandoe <idsandoe@googlemail.com> |
291 | ||
292 | * write.c (write_object_file): Add md_pre_output_hook. | |
293 | * config/obj-macho.c (obj_mach_o_check_before_writing): New. | |
294 | (obj_mach_o_pre_output_hook): New. | |
295 | * config/obj-macho.h (md_pre_output_hook): Define. | |
296 | (obj_mach_o_pre_output_hook): Declare. | |
297 | ||
cdaa5616 IS |
298 | 2012-02-21 Tristan Gingold <gingold@adacore.com> |
299 | ||
300 | * config/tc-i386.h (OBJ_MACH_O): New section. | |
301 | (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc. | |
302 | (TC_FORCE_RELOCATION_SUB_SAME): New | |
303 | (TC_FORCE_RELOCATION_SUB_LOCAL): New. | |
304 | (TC_VALIDATE_FIX_SUB): New. | |
305 | * frags.h (struct frag): OBJ_FRAG_TYPE, new field. | |
306 | * symbols.c (colon): obj_frob_colon: New hook. | |
307 | * write.c (write_object_file): md_pre_relax_hook, new | |
308 | hook. | |
309 | * config/obj-macho.c (obj_mach_o_frob_colon): New. | |
310 | (obj_mach_o_frob_label): Record sub-section labels. | |
311 | (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol. | |
312 | (obj_mach_o_set_subsections): New. | |
313 | (obj_mach_o_pre_relax_hook): New. | |
314 | (obj_mach_o_in_different_subsection): New. | |
315 | (obj_mach_o_force_reloc_sub_same): New. | |
316 | (obj_mach_o_force_reloc_sub_local): New. | |
317 | (obj_mach_o_force_reloc): New. | |
318 | * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New. | |
319 | (obj_frob_colon): New Define. | |
320 | (obj_mach_o_frob_label): Renamed. | |
321 | (obj_mach_o_frob_symbol): Renamed. | |
322 | (OBJ_FRAG_TYPE): New. | |
323 | (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc, | |
324 | obj_mach_o_force_reloc_sub_same, | |
325 | obj_mach_o_force_reloc_sub_local): New declarations. | |
326 | ||
854ac8ba IS |
327 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
328 | ||
329 | * config/obj-macho.c (obj_mach_o_is_frame_section): New. | |
330 | (obj_mach_o_allow_local_subtract): New. | |
331 | * config/obj-macho.h (md_allow_local_subtract): Define. | |
332 | (obj_mach_o_allow_local_subtract): Declare. | |
333 | ||
a5759139 IS |
334 | 2012-02-20 Iain Sandoe <idsandoe@googlemail.com> |
335 | ||
336 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of | |
337 | canonical information, try to determine CODE and DEBUG section flags | |
338 | from the mach-o section data. | |
339 | ||
9ad45734 NC |
340 | 2012-02-20 Nick Clifton <nickc@redhat.com> |
341 | ||
342 | * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on | |
343 | local symbols. | |
344 | ||
8e43fc02 IS |
345 | 2012-02-12 Iain Sandoe <idsandoe@googlemail.com> |
346 | ||
347 | * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of | |
348 | any local symbol used as an indirect. | |
349 | ||
fb4914b0 IS |
350 | 2012-02-10 Iain Sandoe <idsandoe@googlemail.com> |
351 | ||
352 | * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in | |
353 | stub size when provided. (obj_mach_o_section): Flag that stub-size | |
354 | has been provided. | |
355 | ||
42164a71 L |
356 | 2012-02-08 H.J. Lu <hongjiu.lu@intel.com> |
357 | ||
358 | * config/tc-i386.c (HLE_PREFIX): New. | |
359 | (check_hle): Likewise. | |
360 | (_i386_insn): Add have_hle. | |
361 | (cpu_arch): Add .hle and .rtm. | |
362 | (md_assemble): Call check_hle if i.have_hle isn't zero. | |
363 | (parse_insn): Set i.have_hle to 1 for HLE prefix. | |
364 | (output_jump): Support up to 2 byte opcode. | |
365 | ||
366 | * doc/c-i386.texi: Document hle/.hle and rtm/.rtm. | |
367 | ||
facf03f2 TG |
368 | 2012-02-02 Tristan Gingold <gingold@adacore.com> |
369 | ||
370 | * config/obj-macho.c (obj_mach_o_zerofill): Silent | |
371 | uninitialized variable warning. | |
372 | ||
f6616a06 NC |
373 | 2012-02-02 Nick Clifton <nickc@redhat.com> |
374 | ||
375 | PR gas/13224 | |
376 | * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone' | |
377 | to 'is_clone' to avoid shadowing a gloabl. | |
378 | (obj_elf_section): Likewise. | |
379 | ||
bac03263 | 380 | 2012-01-31 Paul Brook <paul@codesourcery.com> |
f6616a06 | 381 | |
bac03263 PB |
382 | * doc/c-tic6x.c: Fix typo. |
383 | ||
f8819316 NC |
384 | 2012-01-26 Alexey Makhalov <makhaloff@gmail.com> |
385 | ||
386 | PR gas/13624 | |
387 | * app.c (app_push): Set 'add_newlines' to zero after saving. | |
388 | ||
21abe33a DD |
389 | 2012-01-24 DJ Delorie <dj@redhat.com> |
390 | ||
391 | * config/rl78-parse.y (NOT1): Add. | |
392 | ||
8d63c93e RM |
393 | 2012-01-23 Roland McGrath <mcgrathr@google.com> |
394 | ||
395 | * configure.tgt (i386-*-nacl*): Match it. | |
396 | * config/te-nacl.h: New file. | |
397 | * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case. | |
398 | * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR): | |
399 | Use TE_GNU et al case for TE_NACL too. | |
400 | ||
a501d77e L |
401 | 2012-01-20 H.J. Lu <hongjiu.lu@intel.com> |
402 | ||
403 | * config/tc-i386.c (_i386_insn): Replace disp32_encoding with | |
404 | disp_encoding. | |
405 | (md_assemble): Updated. | |
406 | (output_branch): Likewise. | |
407 | (parse_insn): Support .d8 suffix. | |
408 | (build_modrm_byte): Fake zero displacement for .d8 and .d32 | |
409 | suffixes. | |
410 | ||
411 | * doc/c-i386.texi: Document .d8 suffix. | |
412 | ||
032fbb7a AM |
413 | 2012-01-17 Andrew Burgess <aburgess@broadcom.com> |
414 | ||
415 | * write.c (fix_new_internal): Don't mark used parameter as unused. | |
416 | ||
576477a6 AM |
417 | 2012-01-17 Alan Modra <amodra@gmail.com> |
418 | ||
419 | * as.c (parse_args): Update copyright message year. | |
420 | ||
8729a6f6 L |
421 | 2012-01-13 H.J. Lu <hongjiu.lu@intel.com> |
422 | ||
423 | * config/tc-i386.c (cpu_arch): Add ".vmfunc". | |
424 | ||
425 | * doc/c-i386.texi: Document vmfunc. | |
426 | ||
34dd18bc IS |
427 | 2012-01-13 Tristan Gingold <gingold@adacore.com> |
428 | ||
429 | * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New. | |
430 | * config/obj-macho.h (SET_SECTION_RELOCS): Define. | |
431 | (obj_mach_o_reorder_section_relocs): Declare. | |
432 | ||
687be931 IS |
433 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
434 | ||
435 | * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle | |
436 | absolute indirect symbols. | |
437 | ||
c3402d20 IS |
438 | 2012-01-13 Iain Sandoe <idsandoe@googlemail.com> |
439 | ||
440 | * config/obj-macho.c (obj_mach_o_set_vma_data): New type. | |
441 | (obj_mach_o_set_section_vma): New. | |
442 | (obj_mach_o_post_relax_hook): New. | |
443 | * config/obj-macho.h (md_post_relax_hook): Define. | |
444 | (obj_mach_o_post_relax_hook): Declare. | |
445 | ||
50d10658 IS |
446 | 2012-01-12 Iain Sandoe <idsandoe@googlemail.com> |
447 | ||
448 | * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off | |
449 | lazy when the symbol is private_extern. | |
450 | (obj_mach_o_indirect_sym): New type. | |
451 | (obj_mach_o_indirect_symbol): New. | |
452 | (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol. | |
453 | (obj_macho_frob_label): Adjust to avoid adding bsyms for locals. | |
454 | (obj_macho_frob_label): Likewise. Adjust external and comm | |
455 | symbol tests. | |
456 | (obj_mach_o_set_indirect_symbols): New. | |
457 | (obj_mach_o_frob_file_after_relocs): New. | |
458 | *config/obj-macho.h (obj_frob_file_after_relocs): Define. | |
459 | (obj_mach_o_frob_file_after_relocs): Declare. | |
460 | ||
0a4734dc TG |
461 | 2012-01-12 Tristan Gingold <gingold@adacore.com> |
462 | ||
463 | PR gas/13591 | |
464 | * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict. | |
465 | ||
158184ac TG |
466 | 2012-01-10 Tristan Gingold <gingold@adacore.com> |
467 | ||
468 | * struc-symbol.h (struct symbol_flags): New struct, created from... | |
469 | (struct symbol): ... this one. Add sy_flags field, remove flag fields. | |
470 | (struct local_symbol): Replace lsy_marker field by lsy_flags. | |
471 | Adjust comment. | |
472 | (local_symbol_resolved_p): Adjust. | |
473 | (local_symbol_mark_resolved): Likewise. | |
474 | * symbols.c (LOCAL_SYMBOL_CHECK): Adjust. | |
475 | (local_symbol_make, local_symbol_convert, colon) | |
476 | (symbol_clone_if_forward_ref, verify_symbol_chain) | |
477 | (resolve_symbol_value, snapshot_symbol, S_GET_VALUE) | |
478 | (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF) | |
479 | (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD) | |
480 | (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE) | |
481 | (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used) | |
482 | (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc) | |
483 | (symbol_clear_used_in_reloc, symbol_used_in_reloc_p) | |
484 | (symbol_mark_mri_common, symbol_clear_mri_common) | |
485 | (symbol_mri_common_p, symbol_mark_written, symbol_clear_written) | |
486 | (symbol_written_p, symbol_mark_resolved, symbol_resolved_p) | |
487 | (symbol_equated_reloc_p, dot_symbol_init) | |
488 | (print_symbol_value_1): Adjust. | |
489 | ||
b22161d6 IS |
490 | 2012-01-09 Iain Sandoe <idsandoe@googlemail.com> |
491 | ||
492 | * config/obj-macho.c (obj_mach_o_weak): Remove. | |
493 | (obj_mach_o_common_parse): Set symbol qualifiers. | |
494 | (LAZY, REFE): New macros. | |
495 | (obj_mach_o_symbol_type): New enum. | |
496 | (obj_mach_o_set_symbol_qualifier): New. | |
497 | (obj_mach_o_sym_qual): New. | |
498 | (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to | |
499 | a dummy function. | |
500 | (obj_mach_o_type_for_symbol): New. | |
501 | (obj_macho_frob_label): New. | |
502 | (obj_macho_frob_symbol): New. | |
503 | * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name. | |
504 | (obj_frob_label, obj_macho_frob_label): Declare. | |
505 | (obj_frob_symbol, obj_macho_frob_symbol): Declare. | |
506 | ||
de64cffd RS |
507 | 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com> |
508 | ||
509 | * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels. | |
510 | ||
462427c4 RS |
511 | 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com> |
512 | Richard Sandiford <rdsandiford@googlemail.com> | |
513 | ||
514 | * config/tc-mips.c (mips_move_labels): Take the list of labels and | |
515 | textness as parameters. | |
516 | (mips_move_text_labels): New function. | |
517 | (append_insn): Use it instead of mips_move_labels. | |
518 | (mips_emit_delays, start_noreorder): Likewise. | |
519 | (mips_align): Take the labels rather than just one label. | |
520 | Move all labels to after the .align. | |
521 | (s_align): Change the last argument to mips_align. | |
522 | (s_cons): Likewise. | |
523 | (s_float_cons): Likewise. | |
524 | (s_gpword): Likewise. | |
525 | (s_gpdword): Likewise. | |
526 | ||
d382c579 TG |
527 | 2012-01-06 Tristan Gingold <gingold@adacore.com> |
528 | ||
529 | * config/tc-i386.c: Update copyright year. | |
530 | (lex_got): Also defined for Mach-O. | |
531 | Add a guard for non-ELF configuration. | |
532 | (md_longopts): Also handle -64 for Mach-O. | |
533 | (md_parse_option): Likewise. | |
534 | (i386_target_format): Adjust for x86_64-darwin. | |
535 | ||
8cf6e084 IS |
536 | 2012-01-04 Iain Sandoe <idsandoe@googlemail.com> |
537 | ||
538 | * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition. | |
539 | (obj_mach_o_get_section_names): New (split from obj_mach_o_section). | |
540 | (obj_mach_o_make_or_get_sect): Likewise. | |
541 | (obj_mach_o_section): Split out the functionality shared with zerofill. | |
542 | (obj_mach_o_zerofill): New. | |
543 | (obj_mach_o_common_parse): Ensure whitespace is skipped. | |
544 | (mach_o_pseudo_table): Add .zerofill. | |
545 | ||
68588f95 IS |
546 | 2012-01-03 Iain Sandoe <idsandoe@googlemail.com> |
547 | ||
548 | * config/obj-macho.c (obj_macho_process_stab): New. | |
549 | * config/obj-macho.h (OBJ_PROCESS_STAB): Define. | |
550 | (obj_macho_process_stab): Declare. | |
551 | ||
23e1d329 | 552 | For older changes see ChangeLog-2011 |
08d56133 NC |
553 | \f |
554 | Local Variables: | |
555 | mode: change-log | |
556 | left-margin: 8 | |
557 | fill-column: 74 | |
558 | version-control: never | |
559 | End: |