* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
9cc92a36
NC
12003-04-08 Nick Clifton <nickc@redhat.com>
2
3 * as.c (perform_an_assembly_pass): If using cgen, call
4 gas_cgen_begin.
5 * cgen.c (gas_cgen_begin): New function. If
6 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
7 otherwise call cgen_clear_signed_overflow_ok.
8 * cgen.h: Prototype gas_cgen_begin.
9
fe59a223
TS
102003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
11
12 * write.c (write_relocs): Remove unused variable.
13
5a7a0b7b
AO
142003-04-06 Chris Demetriou <cgd@broadcom.com>
15
16 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
17 (macro): Use new macro to decide whether to emit constant address
18 as 32 or 64 bits if addresses are 32-bit wide but registers are
19 64-bit wide.
20
577300ce
SC
212003-04-05 Stephane Carrez <stcarrez@nerim.fr>
22
23 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
24 (M6811_OP_PAGE_ADDR): New internal define.
25 (get_operand): New modifier %page and %addr to obtain page and
26 address part of a far-function.
27 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
28 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
29 relocs.
30 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
31 (find_opcode): Add comment.
32 (md_estimate_size_before_relax): Force relocation of
33 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
34 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
35 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
36 on the symbol itself so that DWARF2 strings are merged correctly.
37
be33c5dd
SS
382003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
39
40 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
41 default tic4x target format to 'coff2-tic4x'.
42 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
43 s/c3x/tic3x/
44 * config/tc-tic4x.h: Ditto
45
e8fd7476
NC
462003-04-03 Nick Clifton <nickc@redhat.com>
47
48 * NEWS: Mention support for Xtensa architecture.
49
47281638
PB
502003-04-02 Philip Blundell <philb@gnu.org>
51
52 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
53
af22f5b2
CD
542003-04-02 Chris Demetriou <cgd@broadcom.com>
55
56 * config/tc-mips.c (macro2): Adjust implementation of
57 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
58 in the case where the source and destination registers
59 are the same.
60
e0001a05
NC
612003-04-01 Bob Wilson <bob.wilson@acm.org>
62
63 * Makefile.am (CPU_TYPES): Add xtensa.
64 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
65 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
66 (xtensa-relax.o): New target.
67 Run "make dep-am".
68 * Makefile.in: Regenerate.
69 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
70 extra_objects for xtensa targets.
71 * configure: Regenerate.
72 * write.c (write_object_file): Add new md_post_relax_hook.
73 * config/tc-xtensa.c: New file.
74 * config/tc-xtensa.h: Likewise.
75 * config/xtensa-istack.h: Likewise.
76 * config/xtensa-relax.c: Likewise.
77 * config/xtensa-relax.h: Likewise.
78 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
79 * doc/Makefile.in: Regenerate.
80 * doc/all.texi: Set new XTENSA variable.
81 * doc/as.texinfo: Set new Xtensa variable. Describe
82 Xtensa-specific options. Define line comment character for
83 Xtensa. Add Xtensa processors to list of ELF targets where
84 alignment is specified in bytes. Add new Xtensa-Dependent node.
85 Add acknowledgements for those contributing to the Xtensa port.
86 * doc/internals.texi: Describe new md_post_relax_hook.
87 * doc/c-xtensa.texi: New file.
88
89
5a6c6817
NC
902003-04-01 Nick Clifton <nickc@redhat.com>
91 Richard Earnshaw <rearnsha@arm.com>
92
93 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
94 (ARM_ARCH_IWMMXT): Simplify.
95 (insns): Place iwmmx instructions in correct place in table.
96 (arm_add_note): New function: Add a note entry to a .note section.
97 (md_begin): Make the default architecture be unknown.
98 Suppress the creation of an arm note section.
99
97bbfa38
EC
1002003-03-26 Eric Christopher <echristo@redhat.com>
101
102 * config/tc-mips.c (nopic_need_relax): Check for
103 S_IS_EXTERN.
104
e16bb312
NC
1052003-03-25 Stan Cox <scox@redhat.com>
106 Nick Clifton <nickc@redhat.com>
97bbfa38 107
e16bb312
NC
108 Contribute support for Intel's iWMMXt chip - an ARM variant:
109
110 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
111 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
112 (enum wreg_type, enum iwmmxt_insn_type): New types.
113 (wr_register, wc_register, wcg_register): New macros.
114 (iwmmxt_table): New variable.
115 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
116 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
117 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
118 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
119 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
120 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
121 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
122 cp_byte_address_offset, cp_byte_address_required_here,
123 check_iwmmxt_insn): New functions.
97bbfa38 124 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
125 (md_begin): Set the mach value for iWMMXt targets. Create a note
126 section to identify iwmmxt binaries.
127 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
128 * doc/c-arm.texi: Document the support for the iWMMXt.
129 * NEWS: Mention new support.
130