]> Git Repo - binutils.git/blob - gas/ChangeLog
* read.c (read_symbol_name): New function. Reads a symbol names.
[binutils.git] / gas / ChangeLog
1 2012-05-28  Nick Clifton  <[email protected]>
2
3         * read.c (read_symbol_name): New function.  Reads a symbol names.
4         Allows escape codes in names.
5         (s_comm_internal): Use read_symbol_name.
6         (s_globl, s_lsym, s_set, s_weakref): Likewise.
7         * doc/as.texinfo: Document support for multibyte characters in
8         symbol names.
9
10 2012-05-21  Mike Frysinger  <[email protected]>
11
12         * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
13         is non-NULL.
14
15 2012-05-19  Alan Modra  <[email protected]>
16
17         * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
18         targets when checking for "comdat".
19
20 2012-05-19  Alan Modra  <[email protected]>
21
22         * config/tc-dlx.c (s_proc): Don't use asprintf.
23
24 2012-05-18  Alan Modra  <[email protected]>
25
26         * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
27         return value.
28
29 2012-05-18  James Lemke  <[email protected]>
30             Alan Modra  <[email protected]>
31
32         * config/tc-ppc.c: Don't capitalise error and warning messages.
33         (md_parse_option): Add checks for -a32 -mvle.
34
35 2012-05-18  Alan Modra  <[email protected]>
36
37         * config/obj-evax.c: Include as.h first.
38
39 2012-05-18  Andreas Schwab  <[email protected]>
40
41         * aclocal.m4: Regenerate.
42         * configure: Regenerate.
43         * Makefile.in: Regenerate.
44
45 2012-05-17  Daniel Richard G.  <[email protected]>
46             Nick Clifton  <[email protected]>
47
48         PR 14072
49         * configure.in: Add check that sysdep.h has been included before
50         any system header files.
51         * configure: Regenerate.
52         * config.in: Regenerate.
53         * aclocal.m4: Regenerate.
54         * Makefile.am: Use wrappers around C files generated by flex.
55         * Makefile.in: Regenerate.
56         * doc/Makefile.in: Regenerate.
57         * itbl-lex-wrapper.c: New file.
58         * config/bfin-lex-wrapper.c: New file.
59         * cgen.c: Include as.h before setjmp.h.
60         * config/tc-dlx.c: Include as.h before any other header.
61         * config/tc-h8300.c: Likewise.
62         * config/tc-lm32.c: Likewise.
63         * config/tc-mep.c: Likewise.
64         * config/tc-microblaze.c: Likewise.
65         * config/tc-mmix.c: Likewise.
66         * config/tc-msp430.c: Likewise.
67         * config/tc-or32.c: Likewise.
68         * config/tc-tic4x.c: Likewise.
69         * config/tc-tic54x.c: Likewise.
70         * config/tc-xtensa.c: Likewise.
71
72 2012-05-16  Sergio Durigan Junior  <[email protected]>
73
74         * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
75         as the first argument for `bfd_get_section_vma'.
76
77 2012-05-16  Alberto Garcia  <[email protected]>
78
79         PR gas/14082
80         * app.c (do_scrub_chars): Prevent possible out of bounds access to
81         lex[] array.
82
83 2012-05-16  Georg-Johann Lay  <[email protected]>
84
85         PR target/13503
86         * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
87         R_AVR_8_HLO8.
88         (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
89         (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
90
91 2012-05-16  Nathan Sidwell  <[email protected]>
92             Kwok Cheung Yeung  <[email protected]>
93
94         * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
95         51qm variants.
96
97 2012-05-15  James Murray <[email protected]>
98
99         * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
100         Add option to offset S12 addresses into XGATE memory space.
101         Tweak target flags to match other tools. (i.e. -m m68hc11).
102         * doc/as.texinfo: Mention new options.
103         * doc/c-m68hc11.texi: Document new options.
104         * NEWS: Mention new support.
105
106 2012-05-14  DJ Delorie  <[email protected]>
107
108         * config/rx-parse.y (rx_range): declare.
109         (O1,O2,O3,O4): Add calls to rx_range.
110         (UO1,UO2,UO3): Likewise.
111         (IMM2,IMMB): Likewise.
112         (rx_range): New.
113
114         * config/tc-rx.c (rx_fetchalign): Declare.
115         (md_pseudo_table): Add .fetchalign.
116         (RX_NBASE_FETCHALIGN): New.
117         (fetchalign_bytes): New.
118         (rx_fetchalign): New.
119         (rx_frag_init): If a "magic" value is found, also init the
120         machine-specific data.
121         (md_assemble): Note following opcode size if called for.
122         (rx_next_opcode): New.
123         (rx_relax_frag): Support .fetchalign.
124         (md_convert_frag): Likewise.
125         * doc/c-rx.texi (RX-Directives): Add .fetchalign.
126
127 2012-05-14  James Lemke  <[email protected]>
128
129         * config/tc-ppc.c (insn_validate): New func of existing code to call..
130         (ppc_setup_opcodes): ..from 2 places here.
131         Revise for second (VLE) opcode table.
132         Add #ifdef'd code to print opcode tables.
133
134 2012-05-14  James Lemke  <[email protected]>
135
136         * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
137         for the VLE conditional branches.
138
139 2012-05-14  Catherine Moore  <[email protected]>
140             Maciej W. Rozycki  <[email protected]>
141             Rhonda Wittels  <[email protected]>
142
143         * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
144         (PPC_VLE_SPLIT16D): New macro.
145         (PPC_VLE_LO16A): New macro.
146         (PPC_VLE_LO16D): New macro.
147         (PPC_VLE_HI16A): New macro.
148         (PPC_VLE_HI16D): New macro.
149         (PPC_VLE_HA16A): New macro.
150         (PPC_VLE_HA16D): New macro.
151         (PPC_APUINFO_VLE): New definition.
152         (md_chars_to_number): New function.
153         (md_parse_option): Check for combinations of little
154         endian and -mvle.
155         (md_show_usage): Document -mvle.
156         (ppc_arch): Recognize VLE.
157         (ppc_mach): Recognize bfd_mach_ppc_vle.
158         (ppc_setup_opcodes): Print the opcode table if
159         * config/tc-ppc.h (ppc_frag_check): Declare.
160         * doc/c-ppc.texi: Document -mvle.
161         * NEWS:  Mention PowerPC VLE port.
162
163 2012-05-14  Catherine Moore  <[email protected]>
164
165         * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
166         (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
167         * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
168         * dwarf2dbg.c (scale_addr_delta): Handle values of 1
169         for DWARF2_LINE_MIN_INSN_LENGTH.
170
171 2012-05-12  H.J. Lu  <[email protected]>
172
173         * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
174         for BFD_RELOC_64.
175
176 2012-05-11  Daniel Richard G.  <[email protected]>
177
178         PR binutils/14028
179         * configure.in: Invoke ACX_HEADER_STRING.
180         * configure: Regenerate.
181         * config.in: Regenerate.
182         * as.h: If STRINGS_WITH_STRING is defined then include both
183         string.h and strings.h.
184
185 2012-05-11  Georg-Johann Lay  <[email protected]
186
187         PR target/13503
188         * config/tc-avr.c (exp_mod_pm): Remove variable.
189         (exp_mod_data_t): New typedef.
190         (pexp_mod_data, exp_mod_data): New variables.
191         (avr_parse_cons_expression): Scan through exp_mod_data[] to find
192         data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
193         and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
194         (avr_cons_fix_new): Handle new data expression modifiers shipped
195         in pexp_mod_data.
196         (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
197         BFD_RELOC_AVR_8_HHI.
198
199 2012-05-10  H.J. Lu  <[email protected]>
200
201         * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
202         addend overflow check.
203
204 2012-05-10  H.J. Lu  <[email protected]>
205
206         * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
207         x32 addend overflow check.
208
209 2012-05-09  H.J. Lu  <[email protected]>
210
211         * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
212
213 2012-05-09  H.J. Lu  <[email protected]>
214
215         * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
216         for BFD_RELOC_64.
217
218 2012-05-08  Alan Modra  <[email protected]>
219
220         * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
221         LC and LANG environment vars.
222         * Makefile.in: Regenerate.
223
224 2012-05-07  Alan Modra  <[email protected]>
225
226         * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
227         * Makefile.in: Regenerate.
228
229 2012-05-06  Arnold Metselaar <[email protected]>
230
231         * config/tc-z80.h(md_register_arithmetic): Define as 0.
232         * config/tc-z80.c(md_begin): Store register names in symbol table,
233         preventing usage as ordinary symbol.
234         * config/tc-z80.c(contains_register): New function.
235         * config/tc-z80.c(parse_exp2): Removed.
236         * config/tc-z80.c(parse_exp_not_indexed): New function.
237         * config/tc-z80.c(parse_exp): Add code to recogize indexed
238         addressing after parsing.
239         * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
240         * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
241         condition for jump to register.
242         * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
243         parse_exp_not_indexed.
244
245 2012-05-05  Alan Modra  <[email protected]>
246
247         * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
248         bfd_und_section and bfd_ind_section with their _ptr variants, or
249         use corresponding bfd_is_* macros.
250         * symbols.c: Likewise.
251         * config/obj-aout.c: Likewise.
252         * config/obj-coff-seh.h: Likewise.
253         * config/tc-hppa.c: Likewise.
254         * config/tc-hppa.h: Likewise.
255         * config/tc-ia64.c: Likewise.
256         * config/tc-m32r.c: Likewise.
257         * config/tc-microblaze.c: Likewise.
258         * config/tc-mips.c: Likewise.
259         * config/tc-score.c: Likewise.
260         * config/tc-score7.c: Likewise.
261         * config/tc-tic6x.c: Likewise.
262
263 2012-05-04  H.J. Lu  <[email protected]>
264
265         * configure.tgt: Support x86_64-*-linux-gnux32.
266
267 2012-05-04  H.J. Lu  <[email protected]>
268
269         * config/tc-i386.c (match_template): Add `instruction' to
270         unsupported error message.
271
272 2012-05-04  H.J. Lu  <[email protected]>
273
274         * config/tc-i386.c (output_insn): Reformat.
275
276 2012-05-04  H.J. Lu  <[email protected]>
277
278         * config/tc-i386.c (output_insn): Remove the extra VEX check.
279
280 2012-05-04  H.J. Lu  <[email protected]>
281
282         * config/tc-i386.c (match_template): Improve unsupported error
283         message.
284
285 2012-05-03  Sean Keys  <[email protected]>
286
287         * configure, Makefile.in: Regenerate.
288         * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
289         * configure.tgt: Added cpu type.
290         Added files for XGATE assembler.
291         * config/tc-xgate.c: Assembler for XGATE.
292         * config/tc-xgate.h: Header definition for assembler
293         Added files for XGATE testsuite.
294         * doc/Makefile.am (CPU_DOCS): Added XGATE file.
295         * doc/c-xgate.texi: Document XGATE and XGATE port.
296         * doc/as.texinfo: Ditto.
297         * doc/all.texi: Ditto
298         * NEWS: Mention the new support.
299
300 2012-04-30  DJ Delorie  <[email protected]>
301
302         * config/rx-parse.y (rx_intop): Add parameter for operation size.
303         Check for large positive constants really being small negative
304         ones.
305         (BRA, BSR): Update calls to rx_intop.
306         (immediate): Likewise.
307
308 2012-04-26  Mark Wielaard  <[email protected]>
309
310         * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
311         (DWARF2_LINE_VERSION): Likewise.
312         (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
313         (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
314         (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
315         DWARF2_VERSION >= 4.
316         (out_debug_info): Use difference between start and end as data
317         value for DW_AT_high_pc when DWARF2_VERSION >= 4.
318         * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
319
320 2012-04-27  David S. Miller  <[email protected]>
321
322         * doc/c-sparc.text: Document %l34 and %h34.
323
324         * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
325
326         * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
327         v8pluse, v8plusv, v9e, and v9v.
328         (v9a_asr_table): Add 'pause'.
329
330         * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
331         sparc4, v8pluse, v8plusv, v9e, and v9v.
332         (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
333         order to accomodate cbcond which otherwise would require two
334         relocations to be handled in a single instruction..
335
336         * config/tc-sparc.c (sparc_ip): Likewise.  Accept instruction
337         names containing "_".
338         (sparc_arch_table): Add sparc4, v8pluse, and v9e.  Add crypto
339         hwcap masks to v8plusv and v9v.
340
341         * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
342         masks.
343         (sparc_md_end): No longer need to translate hwcap_seen values into
344         ELF hwcap bits, they now match exactly.
345         (get_hwcap_name): Use HWCAP_* and handle new values.
346         (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
347
348 2012-04-20  Tristan Gingold  <[email protected]>
349
350         * config/tc-ia64.c (obj_elf_vms_common): New function.
351         (md_pseudo_table): Add .vms_common pseudo.
352         * config/obj-elf.h (obj_elf_section_name): Add a prototype.
353         * config/obj-elf.c (obj_elf_section_name): Make it public.
354
355 2012-04-17  Richard Sandiford  <[email protected]>
356
357         * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
358
359 2012-04-12  David S. Miller  <[email protected]>
360
361         * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
362         BFD_RELOC_SPARC_H34.
363         (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
364         (tc_gen_reloc): Likewise.
365
366 2012-04-12  Roland McGrath  <[email protected]>
367
368         * configure.tgt (arm-*-nacl*): Match it.
369         * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
370         (LOCAL_LABELS_DOLLAR): Define.
371         * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
372         Use nacl format variants.
373
374 2012-04-12  Jie Zhang  <[email protected]>
375             Meador Inge  <[email protected]>
376
377         * config/tc-arm.c (only_one_reg_in_list): New function.
378         (encode_ldmstm): Ditto.
379         (do_ldmstm): Use a different encoding when pushing or poping
380         a single register.
381         (A_COND_MASK): New macro.
382         (A_PUSH_POP_OP_MASK): Ditto.
383         (A1_OPCODE_PUSH): Ditto.
384         (A2_OPCODE_PUSH): Ditto.
385         (A2_OPCODE_POP): Ditto.
386
387 2012-04-06  Maciej W. Rozycki  <[email protected]>
388
389         * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
390         -mno-fix-24k.
391
392 2012-04-06  Roland McGrath  <[email protected]>
393
394         * configure.in (AC_CHECK_HEADERS): Add locale.h.
395         * config.in: Regenerate.
396         * configure: Regenerate.
397
398 2012-04-05  Nick Clifton  <[email protected]>
399
400         * configure.in (AC_CHECK_FUNCS): Add setlocale.
401         (AM_LC_MESSAGES): Add.
402         * aclocal.m4: Regenerate.
403         * config.in: Regenerate.
404         * configure: Regenerate.
405
406 2012-04-03  DJ Delorie  <[email protected]>
407
408         * config/rx-parse.y: Make the .L optional for ADC and SBB.
409
410 2012-04-02  DJ Delorie  <[email protected]>
411
412         * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
413         transfer size.
414         (IMM): New, call IMM_ with the default 32.
415         (IMMW,IMMB): Likewise, for 16 and 8.
416         (NIMM, MBIMM): Add size parameter.
417         (immediate): Likewise.  Allow 32768..65535 for 16-bit transfers.
418         (MOV.W): Use IMMW instead of IMM.
419
420         * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
421         (op_dp20_rm_l): New.
422         (op_dp20_rim_l): New.
423
424         * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
425         (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
426
427 2012-03-29  Terry Guo  <[email protected]>
428
429         * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
430         * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
431
432 2012-03-23  Maxim Kuvyrkov  <[email protected]>
433
434         * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
435         * doc/c-mips.texi: Mention XLP.
436
437 2012-03-21  Thomas Schwinge  <[email protected]>
438
439         [SH] Support the .uaquad and .8byte directives also for non-sh64
440         configurations.
441
442         * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
443         BFD_RELOC_64.
444         * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
445         description...
446         * doc/c-sh.texi (SH Machine Directives): ... here.
447
448 2012-03-20  Nick Clifton  <[email protected]>
449
450         * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
451         registers.
452         (do_vmsr): Likewise.
453         (arm_opcode_insns): Do not default to using the FPSCR register in
454         the VMRS and VMSR registers.
455
456 2012-03-16  Roland McGrath  <[email protected]>
457
458         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
459         Define for this case.
460         * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
461
462 2012-03-16  Matthew Gretton-Dann  <[email protected]>
463
464         * config/tc-arm.c (aeabi_set_public_attributes): Correct
465         handling of Tag_DIV_use.
466
467 2012-03-15  Thomas Schwinge  <[email protected]>
468
469         * doc/as.texinfo (Bundle directives): Fix typo.
470
471 2012-03-14  Ryan Mansfield  <[email protected]>
472
473         * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
474
475 2012-03-13  Roland McGrath  <[email protected]>
476
477         * config/tc-arm.c (arm_frag_max_var): New function.
478         * config/tc-arm.h: Declare it.
479         (md_frag_max_var): New macro.
480
481         * config/tc-i386.c (i386_frag_max_var): New function.
482         * config/tc-i386.h: Declare it.
483         (md_frag_max_var): New macro.
484
485         * doc/as.texinfo (Bundle directives): New node.
486         (Pseudo Ops): Add it to the menu.
487         * NEWS: Mention new feature.
488         * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
489         [HANDLE_BUNDLE] (bundle_align_p2): New variable.
490         [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
491         [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
492         New functions.
493         (assemble_one): New function if [HANDLE_BUNDLE], #define directly
494         to md_assembly if not.
495         (read_a_source_file): Call assemble_one in place of md_assemble.
496         (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
497         .bundle_lock at end of processing.
498         [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
499         New functions.
500         [HANDLE_BUNDLE] (potable): Add their entries.
501         * read.h: Declare new functions.
502
503 2012-03-10  Edmar Wienskoski  <[email protected]>
504
505         * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
506         (ppc_handle_align): Add termination nop opcode for e500mc family.
507         * doc/as.texinfo: Document options -me5500 and -me6500.
508         * doc/c-ppc.texi: Likewise.
509
510 2012-03-07  Nick Clifton  <[email protected]>
511
512         * config/tc-mn10300.c (other_registers): Add SSP and USP.
513         (md_assemble): Add support for TLS relocs.
514         (mn10300_parse_name): Likewise.
515
516 2012-02-27  Alan Modra  <[email protected]>
517
518         * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
519
520 2012-02-27  Alan Modra  <[email protected]>
521
522         * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
523         params.  Properly generate NOP pattern.  Comment reason for
524         subseg_text_p failure.
525
526 2012-02-27  Alan Modra  <[email protected]>
527
528         * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
529         and sign extend before range tests.
530         (constant_fits_size_p): Similarly.
531         (get_specific): Trim X_add_number to 32 bits.
532         (fix_operand_size): Likewise, and use unsigned test for signed
533         ranges.
534
535 2012-02-27  Alan Modra  <[email protected]>
536
537         * config/tc-crx.c: Include bfd_stdint.h.
538         (getconstant): Remove irrelevant comment.  Don't fail due to
539         sign-extension of int mask.
540         (check_range): Rewrite using unsigned arithmetic throughout.
541
542 2012-02-25  Walter Lee  <[email protected]>
543
544         * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
545         non-local before checking sy_value.
546         * tc-tilegx.c (emit_tilegx_instruction): Ditto.
547
548 2012-02-25  Walter Lee  <[email protected]>
549
550         * tc-tilepro.c (O_tls_le): Define operator.
551         (O_tls_le_lo16): Ditto.
552         (O_tls_le_hi16): Ditto.
553         (O_tls_le_ha16): Ditto.
554         (O_tls_gd_call): Ditto.
555         (O_tls_gd_add): Ditto.
556         (O_tls_ie_load): Ditto.
557         (md_begin): Delete old operators; handle new operators.
558         (emit_tilepro_instruction): Ditto.
559         (md_apply_fix): Ditto.
560         * tc-tilegx.c (O_hw1_got): Delete operator.
561         (O_hw2_got): Ditto.
562         (O_hw3_got): Ditto.
563         (O_hw2_last_got): Ditto.
564         (O_hw1_tls_gd): Ditto.
565         (O_hw2_tls_gd): Ditto.
566         (O_hw3_tls_gd): Ditto.
567         (O_hw2_last_tls_gd): Ditto.
568         (O_hw1_tls_ie): Ditto.
569         (O_hw2_tls_ie): Ditto.
570         (O_hw3_tls_ie): Ditto.
571         (O_hw2_last_tls_ie): Ditto.
572         (O_hw0_tls_le): Define operator.
573         (O_hw0_last_tls_le): Ditto.
574         (O_hw1_last_tls_le): Ditto.
575         (O_tls_gd_call): Ditto.
576         (O_tls_gd_add): Ditto.
577         (O_tls_ie_load): Ditto.
578         (O_tls_add): Ditto.
579         (md_begin): Delete old operators; handle new operators.
580         (emit_tilegx_instruction): Ditto.
581         (md_apply_fix): Ditto.
582         * doc/c-tilegx.texi: Delete old operators; document new operators.
583         * doc/c-tilepro.texi: Ditto.
584
585 2012-02-25  Walter Lee  <[email protected]>
586
587         * tc-tilepro.c (apply_special_operator): delete cases for
588         got and tls operators.
589         (md_apply_fix): Ditto.
590         * tc-tilegx.c (md_begin): Set architecture and machine.
591         (tilegx_target_format): Handle big endian.
592         (OPTION_EB): Define.
593         (OPTION_EL): Define.
594         (md_longopts): Add entries for "EB" and "EL".
595         (md_parse_option): Handle OPTION_EB and OPTION_EL.
596         (md_show_usage): Add -EB and -EL.
597         (md_number_to_chars): New.
598         (apply_special_operator): delete cases for got and tls
599         operators.
600         (md_apply_fix): Ditto.
601         * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
602         ifndef.
603         (md_number_to_chars): Delete.
604         * configure.tgt (tilegx*be): Handle.
605         * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
606         * doc/c-tilegx.texi: Ditto.
607
608 2012-02-21  H.J. Lu  <[email protected]>
609
610         * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
611         HLEPrefixAny and HLEPrefixRelease.
612
613 2012-02-21  Matthew Gretton-Dann  <[email protected]>
614
615         * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
616
617 2012-02-21  Iain Sandoe  <[email protected]>
618
619         * write.c (write_object_file): Add md_pre_output_hook.
620         * config/obj-macho.c (obj_mach_o_check_before_writing): New.
621         (obj_mach_o_pre_output_hook): New.
622         * config/obj-macho.h (md_pre_output_hook): Define.
623         (obj_mach_o_pre_output_hook): Declare.
624
625 2012-02-21  Tristan Gingold  <[email protected]>
626
627         * config/tc-i386.h (OBJ_MACH_O): New section.
628         (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
629         (TC_FORCE_RELOCATION_SUB_SAME): New
630         (TC_FORCE_RELOCATION_SUB_LOCAL): New.
631         (TC_VALIDATE_FIX_SUB): New.
632         * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
633         * symbols.c (colon): obj_frob_colon: New hook.
634         * write.c (write_object_file): md_pre_relax_hook, new
635         hook.
636         * config/obj-macho.c (obj_mach_o_frob_colon): New.
637         (obj_mach_o_frob_label): Record sub-section labels.
638         (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
639         (obj_mach_o_set_subsections): New.
640         (obj_mach_o_pre_relax_hook): New.
641         (obj_mach_o_in_different_subsection): New.
642         (obj_mach_o_force_reloc_sub_same): New.
643         (obj_mach_o_force_reloc_sub_local): New.
644         (obj_mach_o_force_reloc): New.
645         * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
646         (obj_frob_colon): New Define.
647         (obj_mach_o_frob_label): Renamed.
648         (obj_mach_o_frob_symbol): Renamed.
649         (OBJ_FRAG_TYPE): New.
650         (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
651          obj_mach_o_force_reloc_sub_same,
652          obj_mach_o_force_reloc_sub_local): New declarations.
653
654 2012-02-20  Iain Sandoe  <[email protected]>
655
656         * config/obj-macho.c (obj_mach_o_is_frame_section): New.
657         (obj_mach_o_allow_local_subtract): New.
658         * config/obj-macho.h (md_allow_local_subtract): Define.
659         (obj_mach_o_allow_local_subtract): Declare.
660
661 2012-02-20  Iain Sandoe  <[email protected]>
662
663         * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
664         canonical information, try to determine CODE and DEBUG section flags
665         from the mach-o section data.
666
667 2012-02-20  Nick Clifton  <[email protected]>
668
669         * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
670         local symbols.
671
672 2012-02-12  Iain Sandoe  <[email protected]>
673
674         * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
675         any local symbol used as an indirect.
676
677 2012-02-10  Iain Sandoe  <[email protected]>
678
679         * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
680         stub size when provided.  (obj_mach_o_section): Flag that stub-size
681         has been provided.
682
683 2012-02-08  H.J. Lu  <[email protected]>
684
685         * config/tc-i386.c (HLE_PREFIX): New.
686         (check_hle): Likewise.
687         (_i386_insn): Add have_hle.
688         (cpu_arch): Add .hle and .rtm.
689         (md_assemble): Call check_hle if i.have_hle isn't zero.
690         (parse_insn): Set i.have_hle to 1 for HLE prefix.
691         (output_jump): Support up to 2 byte opcode.
692
693         * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
694
695 2012-02-02  Tristan Gingold  <[email protected]>
696
697         * config/obj-macho.c (obj_mach_o_zerofill): Silent
698         uninitialized variable warning.
699
700 2012-02-02  Nick Clifton  <[email protected]>
701
702         PR gas/13224
703         * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
704         to 'is_clone' to avoid shadowing a gloabl.
705         (obj_elf_section): Likewise.
706
707 2012-01-31  Paul Brook  <[email protected]>
708
709         * doc/c-tic6x.c: Fix typo.
710
711 2012-01-26  Alexey Makhalov  <[email protected]>
712
713         PR gas/13624
714         * app.c (app_push): Set 'add_newlines' to zero after saving.
715
716 2012-01-24  DJ Delorie  <[email protected]>
717
718         * config/rl78-parse.y (NOT1): Add.
719
720 2012-01-23  Roland McGrath  <[email protected]>
721
722         * configure.tgt (i386-*-nacl*): Match it.
723         * config/te-nacl.h: New file.
724         * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
725         * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
726         Use TE_GNU et al case for TE_NACL too.
727
728 2012-01-20  H.J. Lu  <[email protected]>
729
730         * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
731         disp_encoding.
732         (md_assemble): Updated.
733         (output_branch): Likewise.
734         (parse_insn): Support .d8 suffix.
735         (build_modrm_byte): Fake zero displacement for .d8 and .d32
736         suffixes.
737
738         * doc/c-i386.texi: Document .d8 suffix.
739
740 2012-01-17  Andrew Burgess  <[email protected]>
741
742         * write.c (fix_new_internal): Don't mark used parameter as unused.
743
744 2012-01-17  Alan Modra  <[email protected]>
745
746         * as.c (parse_args): Update copyright message year.
747
748 2012-01-13  H.J. Lu  <[email protected]>
749
750         * config/tc-i386.c (cpu_arch): Add ".vmfunc".
751
752         * doc/c-i386.texi: Document vmfunc.
753
754 2012-01-13  Tristan Gingold  <[email protected]>
755
756         * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
757         * config/obj-macho.h (SET_SECTION_RELOCS): Define.
758         (obj_mach_o_reorder_section_relocs): Declare.
759
760 2012-01-13  Iain Sandoe  <[email protected]>
761
762         * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
763         absolute indirect symbols.
764
765 2012-01-13  Iain Sandoe  <[email protected]>
766
767         * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
768         (obj_mach_o_set_section_vma): New.
769         (obj_mach_o_post_relax_hook): New.
770         * config/obj-macho.h (md_post_relax_hook): Define.
771         (obj_mach_o_post_relax_hook): Declare.
772
773 2012-01-12  Iain Sandoe  <[email protected]>
774
775         * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
776         lazy when the symbol is private_extern.
777         (obj_mach_o_indirect_sym): New type.
778         (obj_mach_o_indirect_symbol): New.
779         (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
780         (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
781         (obj_macho_frob_label): Likewise.  Adjust external and comm
782         symbol tests.
783         (obj_mach_o_set_indirect_symbols): New.
784         (obj_mach_o_frob_file_after_relocs): New.
785         *config/obj-macho.h (obj_frob_file_after_relocs): Define.
786         (obj_mach_o_frob_file_after_relocs): Declare.
787
788 2012-01-12  Tristan Gingold  <[email protected]>
789
790         PR gas/13591
791         * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
792
793 2012-01-10  Tristan Gingold  <[email protected]>
794
795         * struc-symbol.h (struct symbol_flags): New struct, created from...
796         (struct symbol): ... this one.  Add sy_flags field, remove flag fields.
797         (struct local_symbol): Replace lsy_marker field by lsy_flags.
798         Adjust comment.
799         (local_symbol_resolved_p): Adjust.
800         (local_symbol_mark_resolved): Likewise.
801         * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
802         (local_symbol_make, local_symbol_convert, colon)
803         (symbol_clone_if_forward_ref, verify_symbol_chain)
804         (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
805         (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
806         (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
807         (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
808         (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
809         (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
810         (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
811         (symbol_mark_mri_common, symbol_clear_mri_common)
812         (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
813         (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
814         (symbol_equated_reloc_p, dot_symbol_init)
815         (print_symbol_value_1): Adjust.
816
817 2012-01-09  Iain Sandoe  <[email protected]>
818
819         * config/obj-macho.c (obj_mach_o_weak): Remove.
820         (obj_mach_o_common_parse): Set symbol qualifiers.
821         (LAZY, REFE): New macros.
822         (obj_mach_o_symbol_type): New enum.
823         (obj_mach_o_set_symbol_qualifier): New.
824         (obj_mach_o_sym_qual): New.
825         (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
826         a dummy function.
827         (obj_mach_o_type_for_symbol): New.
828         (obj_macho_frob_label): New.
829         (obj_macho_frob_symbol): New.
830         * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
831         (obj_frob_label, obj_macho_frob_label): Declare.
832         (obj_frob_symbol, obj_macho_frob_symbol): Declare.
833
834 2012-01-08  Richard Sandiford  <[email protected]>
835
836         * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
837
838 2012-01-08  Andrew Pinski  <[email protected]>
839             Richard Sandiford  <[email protected]>
840
841         * config/tc-mips.c (mips_move_labels): Take the list of labels and
842         textness as parameters.
843         (mips_move_text_labels): New function.
844         (append_insn): Use it instead of mips_move_labels.
845         (mips_emit_delays, start_noreorder): Likewise.
846         (mips_align): Take the labels rather than just one label.
847         Move all labels to after the .align.
848         (s_align): Change the last argument to mips_align.
849         (s_cons): Likewise.
850         (s_float_cons): Likewise.
851         (s_gpword): Likewise.
852         (s_gpdword): Likewise.
853
854 2012-01-06  Tristan Gingold  <[email protected]>
855
856         * config/tc-i386.c: Update copyright year.
857         (lex_got): Also defined for Mach-O.
858         Add a guard for non-ELF configuration.
859         (md_longopts): Also handle -64 for Mach-O.
860         (md_parse_option): Likewise.
861         (i386_target_format): Adjust for x86_64-darwin.
862
863 2012-01-04  Iain Sandoe  <[email protected]>
864
865         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
866         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
867         (obj_mach_o_make_or_get_sect): Likewise.
868         (obj_mach_o_section): Split out the functionality shared with zerofill.
869         (obj_mach_o_zerofill): New.
870         (obj_mach_o_common_parse): Ensure whitespace is skipped.
871         (mach_o_pseudo_table): Add .zerofill.
872
873 2012-01-03  Iain Sandoe  <[email protected]>
874
875         * config/obj-macho.c (obj_macho_process_stab): New.
876         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
877         (obj_macho_process_stab): Declare.
878
879 For older changes see ChangeLog-2011
880 \f
881 Local Variables:
882 mode: change-log
883 left-margin: 8
884 fill-column: 74
885 version-control: never
886 End:
This page took 0.072384 seconds and 4 git commands to generate.