Add support for h8300hn and h8300sn
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8d9cd6b1
NC
12003-04-24 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2
3 * config/tc-h8300.c (Nmode, h8300hnmode, h8300snmode): New.
4 (md_pseudo_table): Add h8300hn, h8300sn.
5 * config/tc-h8300.h (COFF_MAGIC): Handle h8300hn, h8300sn.
6 * doc/c-h8300.texi : Add documentation for new machine directives.
7
5ce8663f
NC
82003-04-24 Nick Clifton <nickc@redhat.com>
9
10 * config/tc-ppc.c (ppc_symbol_chars): Define.
11 * config/tc-ppc.h (tc_symbol_chars): Define.
12
ef230218
JR
132003-04-23 J"orn Rennecke <joern.rennecke@superh.com>
14
15 * config/tc-sh.c: Amend comment to refer to SuperH.
16 * config/tc-sh.h: Likewise.
17 (LISTING_HEADER): Amend to refer to SuperH.
18 * config/tc-sh64.c: Change comment to refer to SuperH.
19 * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
20 * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
21 * doc/c-sh.texi: Amend to refer to SuperH.
22 Add SuperH architecture documentation references.
23 * doc/c-sh64.texi: Change to refer to SuperH.
24
204cd129
NC
252003-04-23 H.J. Lu <hjl@gnu.org>
26
27 * app.c (do_scrub_chars): More checks for valid labels.
28
2cdb18a7
L
292003-04-22 H.J. Lu <hjl@gnu.org>
30
31 * app.c (do_scrub_chars): Check for valid label.
32
26597c86
NC
332003-04-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
34
35 * doc/as.texinfo: Replace references to Mitsubishi M32R with
36 references to Renesas M32R.
37 * doc/c-m32r.texi: Likewise.
38
88b4ca40
RH
392003-04-21 Richard Henderson <rth@redhat.com>
40
41 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
42 (out_file_list): Assign non-null filename after generating error.
43
e5f08f7e
JJ
442003-04-18 Jakub Jelinek <jakub@redhat.com>
45
46 * ehopt.c (check_eh_frame): For aug_size == 0
47 in state_seeing_aug_size state skip the state_skipping_aug
48 state.
49
c2dcd04e
NC
502003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
51
52 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
53 'Renesas'.
54 * doc/c-h8500.texi: Likewise.
55 * doc/c-sh.texi: Likewise.
56 * doc/c-sh64.texi: Likewise.
57 * doc/h8.texi: Likewise.
58 * config/tc-h8300.c: Likewise.
59 * config/tc-h8300.h: Likewise.
60 * config/tc-h8500.c: Likewise.
61 * config/tc-h8500.h: Likewise.
62 * config/tc-sh.c: Likewise.
63 * config/tc-sh.h: Likewise.
64 * config/tc-sh64.c: Likewise.
65 * config/tc-sh64.h: Likewise.
66
f5040a92
AO
672003-04-10 Alexandre Oliva <aoliva@redhat.com>
68
69 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
70 * config/tc-mips.c: Use signed add for n32 address arithmetic.
71 (append_insn): When filling delay slots with instructions
72 that have fixups that tc_gen_reloc might consider modifyable
73 in variant frags, start a new frag.
74 (load_address): Generate GOT_DISP with of without offset
75 depending on whether symbol is local. For -xgot, use
76 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
77 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
78 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
79 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
80 <ld_st>: In NewABI with small got, always use
81 GOT_PAGE/GOT_OFST, with the latter in the load/store
82 instruction. With big got, use GOT_HI16/GOT_LO16 or
83 GOT_PAGE/GOT_OFST.
84 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
85 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
86 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
87 (md_convert_frag): Use memmove for safe copying of overlapping
88 regions.
89
35b55ed2
SC
902003-04-09 Stephane Carrez <stcarrez@nerim.fr>
91
92 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
93 -mlong, -mshort-double and -mlong-double options; use table @code.
94 (M68HC11-Syntax): Update to document 68HC12 operands.
95 (M68HC11-Modifiers): New section for operand modifiers.
96 (M68HC11-Directives): New section for specific assembler directives.
97 (M68HC11-Branch): Fix Overfull hbox error.
98
9214dd3b
AO
992003-04-09 Alexandre Oliva <aoliva@redhat.com>
100
101 * config/tc-mips.c (macro): Add comments explaining the rationale
102 for Chris' change.
103
eb0a7d52
AO
1042003-04-09 Chris Demetriou <cgd@broadcom.com>
105
106 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
107 constant address that Alexandre took out by accident. Reject
108 64-bit addresses that are not sign extensions of 32 bits only if
109 we don't support 64-bit address constants.
110
a7fc733f
AM
1112003-04-09 Alan Modra <amodra@bigpond.net.au>
112
113 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
114
9cc92a36
NC
1152003-04-08 Nick Clifton <nickc@redhat.com>
116
117 * as.c (perform_an_assembly_pass): If using cgen, call
118 gas_cgen_begin.
119 * cgen.c (gas_cgen_begin): New function. If
120 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
121 otherwise call cgen_clear_signed_overflow_ok.
122 * cgen.h: Prototype gas_cgen_begin.
123
fe59a223
TS
1242003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
125
126 * write.c (write_relocs): Remove unused variable.
127
5a7a0b7b
AO
1282003-04-06 Chris Demetriou <cgd@broadcom.com>
129
130 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
131 (macro): Use new macro to decide whether to emit constant address
132 as 32 or 64 bits if addresses are 32-bit wide but registers are
133 64-bit wide.
134
577300ce
SC
1352003-04-05 Stephane Carrez <stcarrez@nerim.fr>
136
137 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
138 (M6811_OP_PAGE_ADDR): New internal define.
139 (get_operand): New modifier %page and %addr to obtain page and
140 address part of a far-function.
141 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
142 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
143 relocs.
144 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
145 (find_opcode): Add comment.
146 (md_estimate_size_before_relax): Force relocation of
147 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
148 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
149 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
150 on the symbol itself so that DWARF2 strings are merged correctly.
151
be33c5dd
SS
1522003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
153
154 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
155 default tic4x target format to 'coff2-tic4x'.
156 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
157 s/c3x/tic3x/
158 * config/tc-tic4x.h: Ditto
159
e8fd7476
NC
1602003-04-03 Nick Clifton <nickc@redhat.com>
161
162 * NEWS: Mention support for Xtensa architecture.
163
47281638
PB
1642003-04-02 Philip Blundell <philb@gnu.org>
165
166 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
167
af22f5b2
CD
1682003-04-02 Chris Demetriou <cgd@broadcom.com>
169
170 * config/tc-mips.c (macro2): Adjust implementation of
171 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
172 in the case where the source and destination registers
173 are the same.
174
e0001a05
NC
1752003-04-01 Bob Wilson <bob.wilson@acm.org>
176
177 * Makefile.am (CPU_TYPES): Add xtensa.
178 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
179 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
180 (xtensa-relax.o): New target.
181 Run "make dep-am".
182 * Makefile.in: Regenerate.
183 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
184 extra_objects for xtensa targets.
185 * configure: Regenerate.
186 * write.c (write_object_file): Add new md_post_relax_hook.
187 * config/tc-xtensa.c: New file.
188 * config/tc-xtensa.h: Likewise.
189 * config/xtensa-istack.h: Likewise.
190 * config/xtensa-relax.c: Likewise.
191 * config/xtensa-relax.h: Likewise.
192 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
193 * doc/Makefile.in: Regenerate.
194 * doc/all.texi: Set new XTENSA variable.
195 * doc/as.texinfo: Set new Xtensa variable. Describe
196 Xtensa-specific options. Define line comment character for
197 Xtensa. Add Xtensa processors to list of ELF targets where
198 alignment is specified in bytes. Add new Xtensa-Dependent node.
199 Add acknowledgements for those contributing to the Xtensa port.
200 * doc/internals.texi: Describe new md_post_relax_hook.
201 * doc/c-xtensa.texi: New file.
202
203
5a6c6817
NC
2042003-04-01 Nick Clifton <nickc@redhat.com>
205 Richard Earnshaw <rearnsha@arm.com>
206
207 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
208 (ARM_ARCH_IWMMXT): Simplify.
209 (insns): Place iwmmx instructions in correct place in table.
210 (arm_add_note): New function: Add a note entry to a .note section.
211 (md_begin): Make the default architecture be unknown.
212 Suppress the creation of an arm note section.
213
97bbfa38
EC
2142003-03-26 Eric Christopher <echristo@redhat.com>
215
216 * config/tc-mips.c (nopic_need_relax): Check for
217 S_IS_EXTERN.
218
e16bb312
NC
2192003-03-25 Stan Cox <scox@redhat.com>
220 Nick Clifton <nickc@redhat.com>
97bbfa38 221
e16bb312
NC
222 Contribute support for Intel's iWMMXt chip - an ARM variant:
223
224 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
225 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
226 (enum wreg_type, enum iwmmxt_insn_type): New types.
227 (wr_register, wc_register, wcg_register): New macros.
228 (iwmmxt_table): New variable.
229 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
230 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
231 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
232 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
233 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
234 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
235 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
236 cp_byte_address_offset, cp_byte_address_required_here,
237 check_iwmmxt_insn): New functions.
97bbfa38 238 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
239 (md_begin): Set the mach value for iWMMXt targets. Create a note
240 section to identify iwmmxt binaries.
241 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
242 * doc/c-arm.texi: Document the support for the iWMMXt.
243 * NEWS: Mention new support.
244