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