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