2003-04-21 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
e5f08f7e
JJ
12003-04-18 Jakub Jelinek <jakub@redhat.com>
2
3 * ehopt.c (check_eh_frame): For aug_size == 0
4 in state_seeing_aug_size state skip the state_skipping_aug
5 state.
6
c2dcd04e
NC
72003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
8
9 * doc/c-h8300.texi: Replace occurrances of 'Hitachi' with
10 'Renesas'.
11 * doc/c-h8500.texi: Likewise.
12 * doc/c-sh.texi: Likewise.
13 * doc/c-sh64.texi: Likewise.
14 * doc/h8.texi: Likewise.
15 * config/tc-h8300.c: Likewise.
16 * config/tc-h8300.h: Likewise.
17 * config/tc-h8500.c: Likewise.
18 * config/tc-h8500.h: Likewise.
19 * config/tc-sh.c: Likewise.
20 * config/tc-sh.h: Likewise.
21 * config/tc-sh64.c: Likewise.
22 * config/tc-sh64.h: Likewise.
23
f5040a92
AO
242003-04-10 Alexandre Oliva <aoliva@redhat.com>
25
26 * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.
27 * config/tc-mips.c: Use signed add for n32 address arithmetic.
28 (append_insn): When filling delay slots with instructions
29 that have fixups that tc_gen_reloc might consider modifyable
30 in variant frags, start a new frag.
31 (load_address): Generate GOT_DISP with of without offset
32 depending on whether symbol is local. For -xgot, use
33 GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16.
34 (macro) <M_DLA_AB, M_LA_AB>: Likewise.
35 <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got,
36 CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got.
37 <ld_st>: In NewABI with small got, always use
38 GOT_PAGE/GOT_OFST, with the latter in the load/store
39 instruction. With big got, use GOT_HI16/GOT_LO16 or
40 GOT_PAGE/GOT_OFST.
41 (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI.
42 Add tc_frag_data.tc_fr_offset to addends. Decay CALL16,
43 GOT_OFST and GOT_DISP to GOT_DISP in NewABI.
44 (md_convert_frag): Use memmove for safe copying of overlapping
45 regions.
46
35b55ed2
SC
472003-04-09 Stephane Carrez <stcarrez@nerim.fr>
48
49 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
50 -mlong, -mshort-double and -mlong-double options; use table @code.
51 (M68HC11-Syntax): Update to document 68HC12 operands.
52 (M68HC11-Modifiers): New section for operand modifiers.
53 (M68HC11-Directives): New section for specific assembler directives.
54 (M68HC11-Branch): Fix Overfull hbox error.
55
9214dd3b
AO
562003-04-09 Alexandre Oliva <aoliva@redhat.com>
57
58 * config/tc-mips.c (macro): Add comments explaining the rationale
59 for Chris' change.
60
eb0a7d52
AO
612003-04-09 Chris Demetriou <cgd@broadcom.com>
62
63 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
64 constant address that Alexandre took out by accident. Reject
65 64-bit addresses that are not sign extensions of 32 bits only if
66 we don't support 64-bit address constants.
67
a7fc733f
AM
682003-04-09 Alan Modra <amodra@bigpond.net.au>
69
70 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
71
9cc92a36
NC
722003-04-08 Nick Clifton <nickc@redhat.com>
73
74 * as.c (perform_an_assembly_pass): If using cgen, call
75 gas_cgen_begin.
76 * cgen.c (gas_cgen_begin): New function. If
77 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
78 otherwise call cgen_clear_signed_overflow_ok.
79 * cgen.h: Prototype gas_cgen_begin.
80
fe59a223
TS
812003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
82
83 * write.c (write_relocs): Remove unused variable.
84
5a7a0b7b
AO
852003-04-06 Chris Demetriou <cgd@broadcom.com>
86
87 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
88 (macro): Use new macro to decide whether to emit constant address
89 as 32 or 64 bits if addresses are 32-bit wide but registers are
90 64-bit wide.
91
577300ce
SC
922003-04-05 Stephane Carrez <stcarrez@nerim.fr>
93
94 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
95 (M6811_OP_PAGE_ADDR): New internal define.
96 (get_operand): New modifier %page and %addr to obtain page and
97 address part of a far-function.
98 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
99 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
100 relocs.
101 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
102 (find_opcode): Add comment.
103 (md_estimate_size_before_relax): Force relocation of
104 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
105 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
106 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
107 on the symbol itself so that DWARF2 strings are merged correctly.
108
be33c5dd
SS
1092003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
110
111 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
112 default tic4x target format to 'coff2-tic4x'.
113 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
114 s/c3x/tic3x/
115 * config/tc-tic4x.h: Ditto
116
e8fd7476
NC
1172003-04-03 Nick Clifton <nickc@redhat.com>
118
119 * NEWS: Mention support for Xtensa architecture.
120
47281638
PB
1212003-04-02 Philip Blundell <philb@gnu.org>
122
123 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
124
af22f5b2
CD
1252003-04-02 Chris Demetriou <cgd@broadcom.com>
126
127 * config/tc-mips.c (macro2): Adjust implementation of
128 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
129 in the case where the source and destination registers
130 are the same.
131
e0001a05
NC
1322003-04-01 Bob Wilson <bob.wilson@acm.org>
133
134 * Makefile.am (CPU_TYPES): Add xtensa.
135 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
136 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
137 (xtensa-relax.o): New target.
138 Run "make dep-am".
139 * Makefile.in: Regenerate.
140 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
141 extra_objects for xtensa targets.
142 * configure: Regenerate.
143 * write.c (write_object_file): Add new md_post_relax_hook.
144 * config/tc-xtensa.c: New file.
145 * config/tc-xtensa.h: Likewise.
146 * config/xtensa-istack.h: Likewise.
147 * config/xtensa-relax.c: Likewise.
148 * config/xtensa-relax.h: Likewise.
149 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
150 * doc/Makefile.in: Regenerate.
151 * doc/all.texi: Set new XTENSA variable.
152 * doc/as.texinfo: Set new Xtensa variable. Describe
153 Xtensa-specific options. Define line comment character for
154 Xtensa. Add Xtensa processors to list of ELF targets where
155 alignment is specified in bytes. Add new Xtensa-Dependent node.
156 Add acknowledgements for those contributing to the Xtensa port.
157 * doc/internals.texi: Describe new md_post_relax_hook.
158 * doc/c-xtensa.texi: New file.
159
160
5a6c6817
NC
1612003-04-01 Nick Clifton <nickc@redhat.com>
162 Richard Earnshaw <rearnsha@arm.com>
163
164 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
165 (ARM_ARCH_IWMMXT): Simplify.
166 (insns): Place iwmmx instructions in correct place in table.
167 (arm_add_note): New function: Add a note entry to a .note section.
168 (md_begin): Make the default architecture be unknown.
169 Suppress the creation of an arm note section.
170
97bbfa38
EC
1712003-03-26 Eric Christopher <echristo@redhat.com>
172
173 * config/tc-mips.c (nopic_need_relax): Check for
174 S_IS_EXTERN.
175
e16bb312
NC
1762003-03-25 Stan Cox <scox@redhat.com>
177 Nick Clifton <nickc@redhat.com>
97bbfa38 178
e16bb312
NC
179 Contribute support for Intel's iWMMXt chip - an ARM variant:
180
181 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
182 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
183 (enum wreg_type, enum iwmmxt_insn_type): New types.
184 (wr_register, wc_register, wcg_register): New macros.
185 (iwmmxt_table): New variable.
186 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
187 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
188 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
189 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
190 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
191 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
192 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
193 cp_byte_address_offset, cp_byte_address_required_here,
194 check_iwmmxt_insn): New functions.
97bbfa38 195 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
196 (md_begin): Set the mach value for iWMMXt targets. Create a note
197 section to identify iwmmxt binaries.
198 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
199 * doc/c-arm.texi: Document the support for the iWMMXt.
200 * NEWS: Mention new support.
201