* elfxx-mips.c (mips_elf_calculate_relocation): Decay
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
35b55ed2
SC
12003-04-09 Stephane Carrez <stcarrez@nerim.fr>
2
3 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,
4 -mlong, -mshort-double and -mlong-double options; use table @code.
5 (M68HC11-Syntax): Update to document 68HC12 operands.
6 (M68HC11-Modifiers): New section for operand modifiers.
7 (M68HC11-Directives): New section for specific assembler directives.
8 (M68HC11-Branch): Fix Overfull hbox error.
9
9214dd3b
AO
102003-04-09 Alexandre Oliva <aoliva@redhat.com>
11
12 * config/tc-mips.c (macro): Add comments explaining the rationale
13 for Chris' change.
14
eb0a7d52
AO
152003-04-09 Chris Demetriou <cgd@broadcom.com>
16
17 * config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bit
18 constant address that Alexandre took out by accident. Reject
19 64-bit addresses that are not sign extensions of 32 bits only if
20 we don't support 64-bit address constants.
21
a7fc733f
AM
222003-04-09 Alan Modra <amodra@bigpond.net.au>
23
24 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.
25
9cc92a36
NC
262003-04-08 Nick Clifton <nickc@redhat.com>
27
28 * as.c (perform_an_assembly_pass): If using cgen, call
29 gas_cgen_begin.
30 * cgen.c (gas_cgen_begin): New function. If
31 flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok
32 otherwise call cgen_clear_signed_overflow_ok.
33 * cgen.h: Prototype gas_cgen_begin.
34
fe59a223
TS
352003-04-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
36
37 * write.c (write_relocs): Remove unused variable.
38
5a7a0b7b
AO
392003-04-06 Chris Demetriou <cgd@broadcom.com>
40
41 * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.
42 (macro): Use new macro to decide whether to emit constant address
43 as 32 or 64 bits if addresses are 32-bit wide but registers are
44 64-bit wide.
45
577300ce
SC
462003-04-05 Stephane Carrez <stcarrez@nerim.fr>
47
48 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.
49 (M6811_OP_PAGE_ADDR): New internal define.
50 (get_operand): New modifier %page and %addr to obtain page and
51 address part of a far-function.
52 (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't
53 complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation
54 relocs.
55 (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier.
56 (find_opcode): Add comment.
57 (md_estimate_size_before_relax): Force relocation of
58 STATE_UNDEXED_OFFSET types when the symbol is not absolute.
59 (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16
60 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32
61 on the symbol itself so that DWARF2 strings are merged correctly.
62
be33c5dd
SS
632003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com>
64
65 * config/obj-coff.h (TARGET_FORMAT): Namespace cleanup, changed
66 default tic4x target format to 'coff2-tic4x'.
67 * config/tc-tic4x.c: Namespace cleanup. Replace s/c4x/tic4x/ and
68 s/c3x/tic3x/
69 * config/tc-tic4x.h: Ditto
70
e8fd7476
NC
712003-04-03 Nick Clifton <nickc@redhat.com>
72
73 * NEWS: Mention support for Xtensa architecture.
74
47281638
PB
752003-04-02 Philip Blundell <philb@gnu.org>
76
77 * config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
78
af22f5b2
CD
792003-04-02 Chris Demetriou <cgd@broadcom.com>
80
81 * config/tc-mips.c (macro2): Adjust implementation of
82 M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly
83 in the case where the source and destination registers
84 are the same.
85
e0001a05
NC
862003-04-01 Bob Wilson <bob.wilson@acm.org>
87
88 * Makefile.am (CPU_TYPES): Add xtensa.
89 (TARGET_CPU_CFILES): Add config/tc-xtensa.c.
90 (TARGET_CPU_HFILES): Add config/tc-xtensa.h.
91 (xtensa-relax.o): New target.
92 Run "make dep-am".
93 * Makefile.in: Regenerate.
94 * configure.in: Handle xtensa-*-*. Add xtensa-relax.o to
95 extra_objects for xtensa targets.
96 * configure: Regenerate.
97 * write.c (write_object_file): Add new md_post_relax_hook.
98 * config/tc-xtensa.c: New file.
99 * config/tc-xtensa.h: Likewise.
100 * config/xtensa-istack.h: Likewise.
101 * config/xtensa-relax.c: Likewise.
102 * config/xtensa-relax.h: Likewise.
103 * doc/Makefile.am (CPU_DOCS): Add c-xtensa.texi.
104 * doc/Makefile.in: Regenerate.
105 * doc/all.texi: Set new XTENSA variable.
106 * doc/as.texinfo: Set new Xtensa variable. Describe
107 Xtensa-specific options. Define line comment character for
108 Xtensa. Add Xtensa processors to list of ELF targets where
109 alignment is specified in bytes. Add new Xtensa-Dependent node.
110 Add acknowledgements for those contributing to the Xtensa port.
111 * doc/internals.texi: Describe new md_post_relax_hook.
112 * doc/c-xtensa.texi: New file.
113
114
5a6c6817
NC
1152003-04-01 Nick Clifton <nickc@redhat.com>
116 Richard Earnshaw <rearnsha@arm.com>
117
118 * config/tc-arm.c: Remove presence of (r) and (tm) symbols.
119 (ARM_ARCH_IWMMXT): Simplify.
120 (insns): Place iwmmx instructions in correct place in table.
121 (arm_add_note): New function: Add a note entry to a .note section.
122 (md_begin): Make the default architecture be unknown.
123 Suppress the creation of an arm note section.
124
97bbfa38
EC
1252003-03-26 Eric Christopher <echristo@redhat.com>
126
127 * config/tc-mips.c (nopic_need_relax): Check for
128 S_IS_EXTERN.
129
e16bb312
NC
1302003-03-25 Stan Cox <scox@redhat.com>
131 Nick Clifton <nickc@redhat.com>
97bbfa38 132
e16bb312
NC
133 Contribute support for Intel's iWMMXt chip - an ARM variant:
134
135 * config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
136 WC_PREFIX, REG_TYPE_IWMMXT): New constants.
137 (enum wreg_type, enum iwmmxt_insn_type): New types.
138 (wr_register, wc_register, wcg_register): New macros.
139 (iwmmxt_table): New variable.
140 (wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
141 do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
142 do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
143 do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
144 do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
145 do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
146 do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
147 cp_byte_address_offset, cp_byte_address_required_here,
148 check_iwmmxt_insn): New functions.
97bbfa38 149 (asm_opcode_insns): Add iWMMXt instructions.
e16bb312
NC
150 (md_begin): Set the mach value for iWMMXt targets. Create a note
151 section to identify iwmmxt binaries.
152 (md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
153 * doc/c-arm.texi: Document the support for the iWMMXt.
154 * NEWS: Mention new support.
155