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