include/elf
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2009-04-30 Nick Clifton <nickc@redhat.com>
2
3 * config/obj-elf.c (obj_elf_type): Add support for a
4 gnu_indirect_function type.
5 * config/tc-i386.c (tc_i386_fix_adjustable): Do not adjust fixups
6 against indirect function symbols.
7 * doc/as.texinfo (.type): Document the support for the
8 gnu_indirect_function symbol type.
9 * NEWS: Mention the new feature.
10
11 2009-04-24 Cary Coutant <ccoutant@google.com>
12
13 * NEWS: Add item about discriminator support.
14 * dwarf2dbg.h (struct dwarf2_line_info): Add discriminator field.
15 * dwarf2dbg.c (current): Add discriminator field.
16 (dwarf2_where): Copy discriminator value.
17 (dwarf2_consume_line_info): Set discriminator to 0.
18 (dwarf2_directive_loc): Process discriminator sub-op.
19 (out_leb128): New function.
20 (process_entries): Output DW_LNE_set_discriminator.
21 * doc/as.texinfo: Add discriminator operand to .loc directive.
22 * testsuite/gas/lns/lns-common-1.d: Add test for discriminator.
23 * testsuite/gas/lns/lns-common-1.s: Likewise.
24
25 2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
26
27 * config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
28 as_bad calls to silence compiler warning.
29
30 2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
31
32 * config/tc-i386-intel.c (O_XXX): Reorder.
33
34 2009-04-20 Jan Beulich <jbeulich@novell.com>
35
36 * Makefile.am: Add explicit dependency of tc-i386.o on
37 tc-i386-intel.c.
38 * Makefile.in: Likewise.
39 * config/tc-i386.c (i386_finalize_immediate): Declare, broken
40 out from i386_immediate.
41 (i386_immediate): Slightly re-arrange, call
42 i386_finalize_immediate.
43 (i386_finalize_displacement): Declare, broken out from
44 i386_displacement.
45 (i386_displacement): Slightly re-arrange, call
46 i386_finalize_displacement.
47 (i386_intel_simplify, i386_intel_parse_name): Declare.
48 (this_operand): Initialize to -1.
49 (set_intel_syntax): Set expression rank for O_full_ptr.
50 (md_assemble): Set this_operand back to -1 after parsing
51 operands.
52 (x86_cons): Negate intel_syntax to indicate state. Call
53 i386_intel_simplify.
54 (md_operand): Convert if to switch. Handle '[' for Intel
55 syntax.
56 (i386_intel_operand): Delete, including all helper functions
57 and data.
58 * config/tc-i386-intel.c: New file, all new code.
59 * config/tc-i386.h (i386_operator): Declare.
60 (md_operator): Define to i386_operator.
61 (i386_need_index_operator): Declare.
62 (md_need_index_operator): Define to i386_need_index_operator.
63 (O_full_ptr): Define.
64
65 2009-04-20 Jan Beulich <jbeulich@novell.com>
66
67 * expr.c (operand): Call md_need_index_operator() and
68 md_operator() if defined. Add unary label.
69 (operator): Call md_operator() if defined.
70 (expr): Adjust assertions on range and rank of op_left and
71 op_right. Don't abort on unhandled operators when reducing
72 expressions with both operands being constant.
73 (expr_set_rank): New.
74 * expr.h (expr_set_rank): Declare.
75
76 2008-04-15 Anthony Green <green@moxielogic.com>
77
78 * config/tc-moxie.h: New file.
79 * config/tc-moxie.c: New file.
80 * configure: Add support for moxie.
81 * configure.tgt: Add support for moxie.
82
83 2009-04-16 Jan Beulich <jbeulich@novell.com>
84
85 * expr.c: Include limits.h if available, and #define CHAR_BITS
86 otherwise.
87 (expr): Check range of shift count when evaluating a constant
88 expression.
89
90 2009-04-15 Jan Beulich <jbeulich@novell.com>
91
92 * config/tc-i386.c (process_operands): Print operands in
93 correct order depending on intel_syntax.
94
95 2009-04-09 Catherine Moore <clm@codesourcery.com>
96
97 * config/tc-mips.c (mips_fix_24k): Declare.
98 (check_for_24k_errata): New.
99 (mips_cleanup): Call check_for_24k_errata.
100 (start_noreorder): Likewise.
101 (md_mips_end): Likewise.
102 (s_change_sec): Likewise.
103 (s_change_section): Likewise.
104 (append_insn): Call check_for_24k_errata. Prevent
105 ERET/DERET instructions from being moved into delay
106 slots.
107 (OPTION_FIX_24K): New.
108 (OPTION_NO_FIX_24k) New.
109 (md_longopts): Add "mfix-24k" and "mno-fix-24k".
110 (md_parse_option): Handle fix-24k options.
111 (md_show_usage): Display fix-24k options.
112 * doc/c-mips.texi: Document.
113
114 2009-04-09 Adam Nemet <anemet@caviumnetworks.com>
115
116 * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
117 instead of HAVE_64BIT_SYMBOLS.
118
119 2009-04-07 DJ Delorie <dj@redhat.com>
120
121 * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support.
122 (md_show_usage): Change default endian to little.
123 * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
124
125 2009-04-06 DJ Delorie <dj@redhat.com>
126
127 * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
128 immediates.
129 (build_bytes): Pass insn to do_a_fix_imm.
130
131 2009-04-02 Daniel Gutson <dgutson@codesourcery.com>
132
133 * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
134 * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
135 Cortex-M1.
136
137 2009-04-01 Matt Thomas <matt@netbsd.org>
138
139 * config/tc-vax.c (synthetic_votstrs): add "jbbcci" and "jbbssi"
140 (md_assemble): emit symbol name when used as immediate in PIC mode.
141 (md_assemble): fix LP64 bug (use sizeof (valueT) instead 4).
142
143 2009-04-01 Sterling Augustine <sterling@jaw.hq.tensilica.com>
144
145 * config/tc-xtensa.c (parse_arguments): call demand_empty_rest_of_line
146
147 2009-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
148
149 * config/tc-arm.c (arm_validate_fix): Define only for OBJ_COFF.
150 (find_real_start): Likewise.
151 * config/tc-arm.h (TC_VALIDATE_FIX): Likewise
152
153 2009-04-01 Nathan Sidwell <nathan@codesourcery.com>
154
155 * config/tc-arm.c (do_nop): Generate v6k nops whenever possible.
156 (arm_handle_align): Generate v6k ARM, thumb2 wide & narrow nops
157 whenever possible.
158
159 2009-03-31 Peter Bergner <bergner@vnet.ibm.com>
160
161 * config/tc-ppc.c (ppc_handle_align): Handle power7's group ending nop.
162
163 2009-03-31 Dave Korn <dave.korn.cygwin@gmail.com>
164
165 * doc/internals.texi: Fix trivial syntax errors.
166
167 2009-03-26 Alan Modra <amodra@bigpond.net.au>
168
169 PR 10005
170 * config/tc-i386.c (reloc): Don't abort on lack of required
171 reloc type.
172
173 2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
174
175 * config/tc-i386.c (parse_insn): Use default_arch on unsupported
176 arch.
177
178 2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
179
180 PR gas/9966
181 * listing.c (listing_newline): Properly handle `\\"' and ';'.
182
183 * read.c (is_end_of_line): Update comments for line separator.
184 (read_begin): Set line separator in is_end_of_line to 2.
185
186 2009-03-19 David S. Miller <davem@davemloft.net>
187
188 * config/tc-sparc.c (md_parse_option): If the user gives
189 us '--64' make sure max_architecture is at least V9.
190
191 2009-03-18 Andrew Stubbs <ams@codesourcery.com>
192
193 * config/tc-arm.c (md_apply_fix): Check BFD_RELOC_ARM_IMMEDIATE and
194 BFD_RELOC_ARM_ADRL_IMMEDIATE value is in the correct section.
195 Check BFD_RELOC_ARM_ADRL_IMMEDIATE has a defined symbol.
196
197 2009-03-18 Alan Modra <amodra@bigpond.net.au>
198
199 * as.h: Include alloca-conf.h instead of config.h and remove
200 existing #if's handling alloca.
201 * Makefile.am: Run "make dep-am".
202 * Makefile.in: Regenerate.
203
204 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
205
206 * config/tc-ppc.c (ppc_frob_symbol): Add csect information for
207 C_AIX_WEAKEXT too.
208
209 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
210
211 * config/tc-ppc.c (md_apply_fix): On COFF targets, always reread
212 "value" from fx_offset. Manually resubtract md_pcrel_from_section
213 where necessary.
214
215 2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
216
217 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
218 * configure.in: Likewise.
219 * configure: Regenerate.
220
221 2009-03-11 Hans-Peter Nilsson <hp@axis.com>
222
223 * config/tc-cris.c (cris_create_short_jump): Remove prototype.
224 Rename, changing all callers, to...
225 (md_create_short_jump): Adjust head comment. Assert
226 word-sized-branch distance for v32. Bail out calling as_fatal for
227 compatibility mode here.
228 (md_create_long_jump): ...not here.
229 * config/tc-cris.h (md_create_short_jump): Do not define.
230
231 2009-03-10 Hans-Peter Nilsson <hp@axis.com>
232
233 * write.c (write_object_file) [!WORKING_DOT_WORD]: When patching
234 the jump table for multiple overflowing entries with the same
235 target, handle base symbols being different.
236 (relax_segment) <case rs_broken_word, second loop>: Whenever a
237 single entry overflows, arrange to redirect all entries with the
238 same target.
239
240 2009-03-10 Alan Modra <amodra@bigpond.net.au>
241
242 * config/tc-ppc.c (parse_cpu): Delete.
243 (md_parse_option, ppc_machine): Use ppc_parse_cpu.
244
245 2009-03-09 H.J. Lu <hongjiu.lu@intel.com>
246
247 PR gas/9915
248 * config/tc-i386.h (LOCAL_LABELS_DOLLAR): New. Defined as 0.
249 (LOCAL_LABELS_FB): Undefine befoe define.
250
251 2009-03-06 Nick Clifton <nickc@redhat.com>
252
253 * po/es.po: Updated Spanish translation.
254
255 2009-03-05 Joseph Myers <joseph@codesourcery.com>
256
257 * read.c (s_fill, s_space, s_float_space, float_cons, stringer,
258 s_incbin): Call md_cons_align (1).
259
260 2009-03-04 Nick Clifton <nickc@redhat.com>
261
262 * config/tc-alpha.c (alpha_prologue_label): Only define for ELF
263 based targets.
264 (s_alpha_comm): Only define "temp" and "log_align" local variables
265 for EVAX targets.
266
267 2009-03-04 Alan Modra <amodra@bigpond.net.au>
268
269 * config/tc-ppc.c (ppc_elf_suffix): Error if ppc32 tls got relocs
270 have non-zero addend.
271 (md_assemble): Parse args of __tls_get_addr calls.
272 (md_apply_fix): Handle BFD_RELOC_PPC_TLSGD and BFD_RELOC_PPC_TLSLD.
273
274 2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
275
276 binutils/3807
277 * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
278 local scope for ELF targets.
279
280 2009-03-04 Alan Modra <amodra@bigpond.net.au>
281
282 * config/tc-ppc.c (md_assemble): APUinfo only for e500.
283
284 2009-03-03 Tristan Gingold <gingold@adacore.com>
285 Eric Botcazou <ebotcazou@adacore.com>
286 Douglas B Rupp <rupp@gnat.com>
287
288 * doc/as.texinfo (Overview): Mention -replace/-noreplace options
289 for Alpha.
290 * doc/c-alpha.texi (Alpha Options): Document -replace/-noreplace.
291 * config/tc-alpha.h (TC_VALIDATE_FIX_SUB): Define to 1 (evax).
292 (OBJ_SYMFIELD_TYPE): Remove.
293 (tc_canonicalize_symbol_name): Define to evax_shorten_name.
294 (TC_IMPLICIT_LCOMM_ALIGNMENT): For alignment to 3 on evax.
295 (tc_frob_file_before_fix): Do not defined on evax.
296 * config/tc-alpha.c: Always includes dwarf2dbg.h.
297 Include vms.h if OBJ_EVAX.
298 (struct alpha_fixup): Add xtrasym and procsym (evax only).
299 (enum alpha_macro_arg): Remove trailing comma.
300 (md_longopts): Add replace and noreplace arguments (evax only).
301 (alpha_evax_proc_hash): New variable.
302 (alpha_link_section): Make it global.
303 (alpha_ctors_section, alpha_dtors_section): Removed.
304 (alpha_ctors_symbol, alpha_dtors_symbol): Ditto.
305 (alpha_lit8_section): Ifndef'ed on evax.
306 (alpha_lit8_symbol): Ditto.
307 (alpha_prologue_label): New variable.
308 (alpha_linkage_symbol): New variable (evax only).
309 (alpha_flag_replace): Ditto.
310 (struct alpha_evax_procs): Add handler and handler_data field.
311 (alpha_evax_proc): Now of type pointer.
312 (alpha_linkage_fixup_root, alpha_linkage_fixup_tail): New variables.
313 (struct alpha_reloc_tag): Add sym and psym fields (evax only).
314 (get_alpha_reloc_tag): Initialize sym and psym fields (evax only).
315 (alpha_adjust_relocs): Ifndef'ed on evax.
316 (load_expression): Add opname argument.
317 Implement LDA/BSR optimization for evax.
318 (emit_lda): Adjust for new prototype of load_expression.
319 (emit_ir_load): Ditto. Do not nothing for GP if ..lk symbols.
320 (emit_loadstore): Likewise.
321 (emit_ldXu): Likewise.
322 (emit_stX): Likewise.
323 (emit_jsrjmp): Likewise. Implement LDA/BSR optimization for evax.
324 (emit_ldgp): Avoid warning in evax case.
325 (add_to_link_pool): Make it static. Return symbolic expression rather
326 than number expression for the offset.
327 (s_alpha_text): Create .text symbol for evax if not already created.
328 (s_alpha_comm): Do not create specific section for common symbol.
329 Fill common area with zeros for evax.
330 (s_alpha_prologue): Create alpha_prologue_label.
331 (s_alpha_section_name): New function (evax).
332 (s_alpha_section_word): Likewise.
333 (section_name): New static variabke moved out from ...
334 (s_alpha_section): ... here. Create new sections on demand.
335 (s_alpha_literals): New function (evax).
336 (s_alpha_ent): Create alpha_evax_proc instance and insert it in the
337 alpha_evax_proc_hash table.
338 (s_alpha_handler): New function (evax).
339 (s_alpha_frame): Adjust for new type of alpha_evax_proc.
340 (s_alpha_prologue): New function (evax).
341 (s_alpha_pdesc): Adjust for new type of alpha_evax_proc and new
342 handling of procedures with hash table.
343 Add support for condition handlers.
344 (s_alpha_linkage): Create linkage_fixup instance and chain it.
345 (s_alpha_fp_save): Adjust for new type of alpha_evax_proc.
346 (s_alpha_mask): Likewise.
347 (s_alpha_fmask): Likewise.
348 (s_alpha_end): Clear alpha_evax_proc.
349 (s_alpha_align): Increase max_alignment to 16.
350 (alpha_print_token): Call print_expr_1 instead of print_expr.
351 (md_pseudo_table): Add "section", "literals", "handler" and
352 "handler_data" (evax). Do not ignore "prologue" on evax.
353 Fix indentation.
354 (md_begin): Create hash table for alpha_evax_proc_hash.
355 (md_parse_option): Handle OPTION_REPLACE and OPTION_NOREPLACE.
356 (md_show_usage): Mention -replace/-noreplace for evax.
357 (md_apply_fix): Handle evax relocs (_NOP, _LDA, _BSR and _BOH).
358 (alpha_force_relocation): Likewise.
359 (alpha_fix_adjustable): Likewise. Add BFD_RELOC_16 case.
360 (tc_gen_reloc): Likewise. Add BFD_RELOC_ALPHA_LINKAGE for evax.
361 (emit_insn): New cases for evax specific relocs.
362 (assemble_insn): Fix indentation.
363 Take care of -MDISP in operand table.
364 * config/obj-evax.h (struct alpha_linkage_fixups): New struct.
365 (OBJ_SYMFIELD_TYPE): New macro.
366 (obj_symbol_new_hook): Define.
367 (obj_frob_symbol, obj_frob_file_before_adjust): Ditto.
368 (obj_frob_file_before_fix): Ditto.
369 (PDSC_S_M_HANDLER_VALID): New macro.
370 (PDSC_S_M_HANDLER_DATA_VALID): Ditto.
371 (TC_IMPLICIT_LCOMM_ALIGNMENT): Remove.
372 Add prototypes for functions declared in obj-evax.c
373 * config/obj-evax.c: Include subsegs.h, struc-symbol.h, safe-ctype.h.
374 (s_evax_weak): Convert to ansi-C.
375 (evax_symbol_new_hook): New function.
376 (evax_frob_symbol): Ditto.
377 (evax_frob_file_before_adjust): Ditto.
378 (evax_frob_file_before_fix): Ditto.
379 (evax_shorten_name): Ditto.
380 (crc32): Ditto.
381 (encode_32): Ditto.
382 (encode_16): Ditto.
383 (decode_16): Ditto.
384 (shorten_identifier): Ditto.
385 (is_truncated_identifier): Ditto.
386 * dwarf2dbg.c (out_debug_info): Do not append trailing slash on VMS.
387 * as.c (close_output_file): Remove #ifndef OBJ_VMS.
388 (main): Ditto.
389
390 2009-03-03 Alan Modra <amodra@bigpond.net.au>
391
392 * Makefile.am: Run "make dep-am".
393 * Makefile.in: Regenerate.
394
395 2009-03-02 Nick Clifton <nickc@redhat.com>
396
397 PR 9874
398 * config/tc-ia64.c (fix_insn): Fix warning reported by
399 -Wformat-security.
400
401 2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
402
403 * config/tc-score7.c: New file.
404 * doc/c-score.texi: New file.
405 * Makefile.am: Update dependencies for tc-score.c.
406 * Makefile.in: Regenerate.
407 * NEWS: Mention support for Score7 architecture.
408 * config/tc-score.c: Add support for Score7 architecture.
409 * config/tc-score.h: Likewise.
410 * doc/Makefile.am: Add c-score.texi.
411 * doc/Makefile.in: Regenerate.
412 * doc/all.texi: Add Score7.
413 * doc/as.texinfo: Add Score7.
414
415 2009-03-01 Mark Mitchell <mark@codesourcery.com>
416
417 * config/tc-arm.c (md_assemble): Allow barrier instructions on
418 ARMv6-M cores.
419
420 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
421
422 * configure: Regenerate.
423
424 2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
425
426 * config/tc-ppc.c (pre_defined_registers): Add "f32" to "f63",
427 "f.32" to "f.63", "vs0" to "vs63" and "vs.0" to "vs.63".
428 (parse_cpu): Extend -mpower7 to accept power7 and isel instructions.
429
430 2009-02-25 H.J. Lu <hongjiu.lu@intel.com>
431
432 * config/tc-i386.c (fits_in_imm4): Removed.
433
434 2009-02-24 Helge Deller <deller@gmx.de>
435
436 * config/tc-hppa.c (pa_ip): Add check of immediate values.
437 (SAVE_IMMEDIATE): New define.
438
439 2009-02-23 Mark Mitchell <mark@codesourcery.com>
440
441 * config/tc-arm.c (warn_deprecated_sp): New macro.
442 (do_t_mov_cmp): Permit R13 as the second
443 argument to "cmp.n".
444
445 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
446
447 * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
448 (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
449
450 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
451
452 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
453
454 2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
455
456 * config/tc-i386.c (vex_imm4): Removed.
457 (VEX_check_operands): Likewise.
458 (match_template): Updated.
459
460 2009-02-23 Martin Schwidefsky <schwidefsky@de.ibm.com>
461
462 * doc/all.texi: Set S390.
463 * doc/as.texinfo: Add S390 support and pull in c-s390.texi.
464 * doc/Makefile.am (CPU_DOCS): Add c-s390.texi.
465 * doc/Makefile.in: Likewise.
466 * doc/c-s390.texi: New.
467
468 2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
469
470 * config/tc-m68k.c (mcf51qe_ctrl): Add CPUCR.
471 (mcf52259_ctrl, mcf52277_ctrl, mcf53017_ctrl): New.
472 (mcf5307_ctrl): Add VBR.
473 (no_mac): New variable.
474 (m68k_extensions): Refer to no_mac mask.
475 (m68k_cpus): Add 51, 51ac, 51cn, 51em, 51jm, 52274, 52277,
476 52252..52259, 53011..53017.
477 (m68k_ip): Process CPUCR.
478 (init_table): Add cpucr entry.
479 (m68k_set_extension): Allow negated mask to refer to a variable.
480 (md_show_usage): Use '%s' to silence fprintf warning.
481 * config/m68k-parse.h (CPUCR): New control register.
482
483 2009-02-10 Nathan Sidwell <nathan@codesourcery.com>
484
485 * config/tc-ppc.c (ppc_insert_operand, md_assemble): Use '%s' for
486 as_bad calls to silence compiler warning.
487
488 2009-02-06 Nick Clifton <nickc@redhat.com>
489
490 PR 9814
491 * config/tc-arm.c (MODE_RECORDED): New define.
492 (output_inst): Record the thumb_mode in the current frag.
493 (arm_handle_align): Ignore the MODE_RECORDED bit in tc_frag_data.
494 (arm_init_frag): Only set the tc_frag_data field if it has not
495 already been set.
496
497 2009-02-04 H.J. Lu <hongjiu.lu@intel.com>
498
499 AVX Programming Reference (January, 2009)
500 * config/tc-i386.c (CPU_FLAGS_PCLMUL_MATCH): New.
501 (CPU_FLAGS_AVX_MATCH): Updated.
502 (CPU_FLAGS_32BIT_MATCH): Likewise.
503 (cpu_flags_match): Likewise.
504
505 2009-02-03 Sandip Matte <sandip@rmicorp.com>
506
507 * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T,
508 M_MSGWAIT and M_MSGWAIT_T.
509 (mips_cpu_info_table): Add XLR entry.
510 * doc/c-mips.texi (-march): Document xlr.
511
512 2009-02-03 Eric B. Weddington <eric.weddington@atmel.com>
513
514 * config/tc-avr.c (mcu_types): Add ata6289.
515 * doc/c-avr.texi: Likewise.
516
517 2009-02-03 Carlos O'Donell <carlos@codesourcery.com>
518
519 * configure.in: AC_SUBST pdfdir.
520 * Makefile.am: Add install-pdf, install-pdf-am,
521 and install-pdf-recursive targets.
522 * doc/Makefile.am: Define pdf__strip_dir. Add
523 install-pdf and install-pdf-am targets.
524 * po/Make-in: Add install-pdf target.
525 * configure: Regenerate.
526 * Makefile.in: Regenerate.
527 * doc/Makefile.in: Regenerate.
528
529 2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
530
531 * config/m68k-parse.h (enum pic_relocation): Add values for TLS
532 relocations.
533 * config/m68k-parse.y (yylex): Parse TLS relocations.
534 * config/tc-m68k.c (m68k_elf_cons): New static function.
535 (md_pseudo_table): Use it.
536 (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
537 relocations.
538 (md_apply_fix): Fix to set thread local flag.
539 (m68k_elf_suffix): New static function; helper for m68k_elf_cons.
540
541 2009-02-03 Vince Weaver <vince@csl.cornell.edu>
542
543 PR 9779
544 * config/tc-pdp11.c (parse_op_no_deferred): Fix handling of
545 indexed addressing for symbolic expressions.
546
547 2009-01-29 Mark Mitchell <mark@codesourcery.com>
548
549 * config/tc-arm.c (BAD_SP): Define.
550 (s_arm_unwind_fnstart): Use REG_SP.
551 (s_arm_unwind_setfp): Likewise.
552 (reject_bad_reg): New macro.
553 (do_co_reg): Check for bad registers.
554 (do_co_reg2c): Likewise.
555 (do_srs): Use REG_SP.
556 (do_t_add_sub): Check for bad registers.
557 (do_t_adr): Likewise.
558 (do_t_arit3): Likewise.
559 (do_t_arit3c): Likewise.
560 (do_t_bfc): Likewise.
561 (do_t_bfi): Likewise.
562 (do_t_bfx): Likewise.
563 (do_t_blx): Likewise.
564 (do_t_bx): Likewise.
565 (do_t_bxj): Likewise.
566 (do_t_clz): Likewise.
567 (do_t_div): Likewise.
568 (do_t_mla): Likewise.
569 (do_t_mlal): Likewise.
570 (do_t_mov_cmp): Likewise.
571 (do_t_mov16): Likewise.
572 (do_t_mvn_tst): Likewise.
573 (do_t_mrs): Likewise.
574 (do_t_msr): Likewise.
575 (do_t_mul): Likewise.
576 (do_t_mull): Likewise.
577 (do_t_orn): Likewise.
578 (do_t_pkhbt): Likewise.
579 (do_t_pld): Likewise.
580 (do_t_rbit): Likewise.
581 (do_t_rev): Likewise.
582 (do_t_rrx): Likewise.
583 (do_t_rsb): Likewise.
584 (do_t_shift): Likewise.
585 (do_t_simd): Likewise.
586 (do_t_ssat): Likewise.
587 (do_t_ssat16): Likewise.
588 (do_t_sxtah): Likewise.
589 (do_t_sxth): Likewise.
590 (do_t_tb): Likewise.
591 (do_t_usat): Likewise.
592 (do_t_usat16): Likewise.
593 (nysn_insert_sp): Use REG_SP.
594
595 2009-01-29 Mark Mitchell <mark@codesourcery.com>
596
597 * config/tc-arm.c (do_t_orn): New function.
598 (do_t_rrx): Likewise.
599 (insns): Add orn and rrx.
600
601 2009-01-29 Mark Mitchell <mark@codesourcery.com>
602
603 * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
604 uasx, uhasx, uhsx, uqasx, uqsax, usax.
605
606 2009-01-29 Mark Mitchell <mark@codesourcery.com>
607
608 * config/tc-arm.c (insns): Correct encoding of qadd, qdadd, qsub,
609 qdsub in Thumb-2 mode.
610
611 2009-01-29 Paul Brook <paul@codesourcery.com>
612 Mark Mitchell <mark@codesourcery.com>
613
614 * config/tc-arm.c (do_t_mul): In Thumb-2 mode, use 16-bit encoding
615 of MUL when possible.
616
617 2009-01-29 Nick Clifton <nickc@redhat.com>
618
619 * config/tc-mep.h (DIFF_EXPR_OK): Do not define.
620
621 2009-01-29 Nathan Sidwell <nathan@codesourcery.com>
622 Catherine Moore <clm@codesourcery.com?
623
624 * doc/c-arm.texi (ARM Directives): Alphabetize. Document .2byte,
625 .4byte, .8byte, .bss, .even, .extend, .ldouble, .packed, .secrel32
626 directives.
627
628 2009-01-27 Nick Clifton <nickc@redhat.com>
629
630 * config/tc-mips.c (append_insn): Cope with a complex reloc
631 sequence containing an unsupported reloc type.
632 (enum options): Replace computed #define's constants for option
633 numbers with this enum.
634 (struct md_longopts): Use the enum. Allow OPTION_32 in a non-ELF
635 environment.
636 (md_parse_option): Allow -32 in a non-ELF environment.
637
638 2009-01-26 Andrew Stubbs <ams@codesourcery.com>
639
640 * config/tc-arm.c (attributes_set_explicitly): New array.
641 (s_arm_eabi_attribute): Check return value from s_vendor_attribute.
642 (cpu_arch): Add ARM_ARCH_V5T.
643 (aeabi_set_attribute_int): New function.
644 (aeabi_set_attribute_string): New function.
645 (aeabi_set_public_attributes): Set attributes according to the user's
646 intentions, rather than the actual state of the binary.
647 Use aeabi_set_attribute_int and aeabi_set_attribute_string instead of
648 bfd_elf_add_proc_attr_int and bfd_elf_add_proc_attr_string.
649 Support WMMXv2. Use attribute names instead of numbers.
650 * read.c (s_vendor_attribute): Change return type to int.
651 Return the tag number that was set.
652 * read.h (s_vendor_attribute): Change return type to int.
653
654 2009-01-26 Eric B. Weddington <eric.weddington@atmel.com>
655
656 PR 9789
657 * config/tc-avr.c (mcu_types): Fix typo in atmega128rfa1 name.
658 * doc/c-avr.texi: Likewise.
659
660 2009-01-23 Nathan Sidwell <nathan@codesourcery.com>
661
662 * doc/c-arm.texi (): Document -mwarn-deprecated.
663 * config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
664 (warn_on_deprecated): ... this.
665 (opcode_lookup, md_assemble): Check it before warning.
666 (arm_opts): Add m[no-]warn-deprecated.
667 (md_parse_option): Replace WARN_DEPRECATED with
668 warn_on_deprecated.
669
670 2009-01-23 Andreas Schwab <schwab@suse.de>
671
672 * config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
673 arguments to macro_build to match format.
674
675 * config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
676 * config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
677
678 2009-01-19 Nick Clifton <nickc@redhat.com>
679
680 * config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
681 ELF format ARM targets.
682 * config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
683
684 2009-01-19 Nick Clifton <nickc@redhat.com>
685
686 * configure.tgt: Restore alpha sorting to object format switch
687 statement.
688
689 2009-01-19 Andrew Stubbs <ams@codesourcery.com>
690
691 * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
692
693 2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
694
695 * config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
696 * config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
697
698 2009-01-16 Andrew Stubbs <ams@codesourcery.com>
699 Daniel Jacobowitz <dan@codesourcery.com>
700
701 * config/tc-arm.c (arm_copy_symbol_attributes): New function.
702 * config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
703 (CONVERT_SYMBOLIC_ATTRIBUTE): New define.
704 * read.c (s_vendor_attribute): Add support for symbolic tag names.
705 Improve string parser.
706 * doc/c-arm.texi (ARM Machine Directives): Document
707 .eabi_attribute symbolic tag names.
708
709 2009-01-16 Alan Modra <amodra@bigpond.net.au>
710
711 * configure.in (commonbfdlib): Delete.
712 * configure: Regenerate.
713 * po/POTFILES.in: Regenerate.
714
715 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
716 Julian Brown <julian@codesourcery.com>
717
718 * config/tc-arm.c (cpu_arch): Change ARM_ARCH_V6M to 11.
719
720 2009-01-15 Andrew Stubbs <ams@codesourcery.com>
721
722 * read.c (s_vendor_attribute): bfd_elf_add_obj_attr_compat ->
723 bfd_elf_add_obj_attr_int_string.
724
725 2009-01-15 Douglas B Rupp <rupp@gnat.com>
726
727 * configure.tgt(ia64-*-*vms*): New target.
728 * dwarf2dbg.h (dwarf2_loc_mark_labels): Make extern.
729 * tc.h (md_number_to_chars): Declare iff undefined.
730 * config/obj-elf.c (obj_elf_change_section): Change type of arg
731 attr to bfd_vma.
732 (obj_elf_parse_section_letters): Return a bfd_vma. Change type of
733 variables attr, md_attr to bfd_vma.
734 (obj_elf_section_word): Likewise.
735 (obj_elf_section): Change type of variable attr to bfd_vma
736 * config/obj-elf.h (obj_elf_change_section): Change type of arg
737 attr to bfd_vma.
738 * config/tc-ia64.c (bfdver.h,time.h): Include.
739 (ia64_elf_section_letter): Now returns a bfd_vma.
740 Handle VMS specific attributes.
741 (ia64_elf_section_flags): Arg attr now a bfd_vma.
742 (ia64_init): Don't turn on dependency checking for VMS.
743 (ia64_target_format): Check for VMS flag bit.
744 (do_alias): Hande decc$ functions.
745 (get_vms_time): New function.
746 (ia64_vms_note): New function.
747 * config/tc-ia64.h (ia64_elf_section_letter): Now returns a bfd_vma.
748 (ia64_elf_section_flags): Arg attr now a bfd_vma.
749 (tc_init_after_args): Define for VMS.
750 * config/tc-alpha.c (alpha_elf_section_letter): Return a bfd_vma.
751 (alpha_elf_section_flags): Change type of arg attr to bfd_vma.
752 * config/tc-alpha.h: Likewise.
753 * config/tc-i386.c (x86_64_section_letter): Return a bfd_vma.
754 (x86_64_section_word): Return a bfd_vma.
755 * config/tc-i386.h: Likewise.
756 * config/tc-ip2k.c (ip2k_elf_section_flags): Change type of arg
757 attr to bfd_vma.
758 * config/tc-ip2k.h: Likewise.
759 * config/tc-mep.c (mep_elf_section_letter): Return a bfd_vma.
760 (mep_elf_section_flags): Change type of arg attr to bfd_vma.
761 * config/tc-mep.h: Likewise.
762 * config/tc-ppc.c (ppc_section_letter): Return a bfd_vma.
763 (ppc_section_word): Return a bfd_vma.
764 (ppc_section_flags): Change type of arg attr to bfd_vma.
765 * config/tc-ppc.h: Likewise.
766 * config/tc-frv.h: Provide a prototype for frv_md_number_to_chars.
767 * config/te-vms.h (DWARF2_DIR_SHOULD_END_WITH_SEPARATOR,
768 DWAR2_FILE_TIME_NAME, DWARF2_FILE_SIZE_NAME, DWARF2_FILEN_NAME):
769 New file with new macros
770 * dwarf2dbg.c (get_filenum, out_file_list): Default and call new
771 macros.
772
773 2009-01-15 Nick Clifton <nickc@redhat.com>
774
775 PR 9722
776 * config/tc-arm.c (do_t_nop): Check for availability of Thumb2
777 instructions before generating a Thumb2 nop.
778
779 2009-01-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
780
781 * config/tc-s390.h: Define LOCAL_LABEL_PREFIX.
782
783 2009-01-12 Alan Modra <amodra@bigpond.net.au>
784
785 * config/tc-spu.c (md_pseudo_table): Add "brinfo".
786 (brinfo): New var.
787 (md_assemble): Poke brinfo into branch instructions.
788 (spu_brinfo): New function.
789 (md_apply_fix): Don't assume insn fields start off at zero, mask
790 them to remove possible brinfo.
791
792 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
793
794 * doc/c-i386.texi: Reformat.
795
796 2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
797
798 * config/tc-i386.c (cpu_arch): Add corei7, .clflush and
799 .syscall.
800 (i386_align_code): Handle PROCESSOR_COREI7.
801 (md_show_usage): Add corei7, clflush and syscall.
802 (i386_target_format): Replace cpup4 with cpuclflush.
803
804 * config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
805
806 * doc/c-i386.texi: Document corei7, clflush and syscall.
807
808 2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
809
810 * config/tc-i386.c (cpu_arch): Add .rdtscp.
811 (md_show_usage): Display rdtscp.
812
813 * doc/c-i386.texi: Document rdtscp.
814
815 2009-01-09 Peter Bergner <bergner@vnet.ibm.com>
816
817 * config/tc-ppc.c (ppc_setup_opcodes): Remove PPC_OPCODE_NOPOWER4 test.
818 Test the new "deprecated" opcode field.
819
820 2009-01-07 Sterling Augustine <sterling@tensilica.com>
821
822 * config/tc-xtensa.c (produce_flix): New.
823 (option_flix, optoin_no_generate_flix, option_no_flix) Define.
824 (md_longopts): Add support for them.
825 (md_parse_option): Likewise.
826 (md_show_usage): Add help message.
827 (finish_vinsn): Don't allow multi-slot flix when produce_flix
828 option is set to FLIX_NONE.
829 * config/xtensa-relax.c (transition_applies): Only relax to
830 flix branches when produce_flix equals FLIX_ALL.
831 * config/xtensa-relax.h (flix_level, FLIX_ALL, FLIX_NO_GENERATE
832 FLIX_NONE): New.
833 (produce_flix): Declare.
834
835 2009-01-06 Chao-ying Fu <fu@mips.com>
836
837 * config/tc-mips.c (mips_ip): Set lastregno to 0xffffffff.
838 Use strncmp to match jalr and jalr.hb.
839 Fix a typo.
840
841 2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
842
843 AVX Programming Reference (December, 2008)
844 * config/tc-i386.c (build_modrm_byte): Remove 5 operand instruction
845 support. Don't swap REG and NDS for FMA.
846
847 2009-01-02 Matthias Klose <doko@ubuntu.com>
848
849 * itbl-ops.c (itbl_disassemble): Don't rely on undefined sprintf
850 behaviour.
851
852 For older changes see ChangeLog-2008
853 \f
854 Local Variables:
855 mode: change-log
856 left-margin: 8
857 fill-column: 74
858 version-control: never
859 End:
This page took 0.047845 seconds and 4 git commands to generate.