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