* tc-arm.c (md_longopts): On targets that aren't bi-endian, support
[external/binutils.git] / gas / ChangeLog
1 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
2
3         * tc-arm.c (md_longopts): On targets that aren't bi-endian, support
4         the -EL/-EB option that matches the target's endianness.
5         (md_parse_option): Likewise.
6
7 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
8
9         * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option 
10         is not dependent on ARM_BI_ENDIAN.
11
12 2002-01-14  Richard Earnshaw  <rearnsha@arm.com>
13
14         * tc-arm.c (all error messages): Normalize capitalization of messages.
15
16         * tc-arm.h (md_operand): Delete define.
17         * tc-arm.c (in_my_get_expression): New static variable.
18         (my_get_expression): Set and clear it.
19         (md_operand): New function.  If called from my_get_expression
20         put the error in inst.error.
21         (output_inst): Now takes argument of instruction being assembled.
22         Print it out with any error message.
23         (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store
24         with '=' syntax.
25         (end_of_line): Don't update inst.error if it is already set.
26
27 2002-01-11  Richard Earnshaw  <rearnsha@arm.com>
28
29         * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
30         op that can be translated into a mvn instruction.
31
32 2002-01-11  Steve Ellcey  <sje@cup.hp.com>
33
34         * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for
35         setting default md.flags.
36         (SHT_INIT_ARRAY): New elf special section used by HP-UX.
37         (SHT_FINI_ARRAY): New elf special section used by HP-UX.
38         * gas/config/tc-ia64.c (setup_unwind_header): Add support
39         for 32 bit unwind info blocks.
40         (generate_unwind_image): Add support for different types
41         of unwind images (32 bits and/or big-endian).
42         (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags.
43         (ia64_target_format): Add support for hpux target formats.
44         (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC.
45         (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and
46         SHT_FINI_ARRAY elf section types.
47
48 2002-01-10  Richard Earnshaw  <rearnsha@arm.com>
49
50         * tc-arm.c (struct reg_entry): Move before prototypes.
51         (int_register, cp_register, fp_register): Delete.
52         (reg_table): Delete.  Replaced with ...
53         (rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
54         (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
55         (mav_dspsc_table): ... one table per register set.
56         (arm_reg_hsh): Delete.
57         (struct reg_map): New structure.
58         (all_reg_maps): New array.
59         (enum arm_reg_type): New enums.
60         (build_reg_hsh): New function.
61         (insert_reg_alias): Use hash table passed by caller.  Adjust all
62         callers.
63         (create_register_alias): New function, split out from ...
64         (md_assemble): ... here.
65         (md_begin): Build new register hash tables.
66         (arm_reg_parse): New argument for the hash table to search.  Adjust all
67         callers.
68         (arm_reg_parse_any): New function.
69         (co_proc_number): Look up the processor number in the processor hash
70         table.
71         (cirrus_regtype): Delete.
72         (cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
73         (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
74         (ARM_EXT_MAVERICKsc_register): Delete.
75         (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
76         (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
77         functions.
78         (do_c_triple_4, do_c_triple_5): Delete.
79         (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
80         (do_c_quad_6): Delete.
81         (do_c_quad_6[ab]): New functions.
82         (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
83         arguments to use new register parsing methods.
84         (cirrus_reg_required_here): Likewise.
85         (insns): Reclassify cirrus maverick worker functions.
86         (cirrus_valid_reg): Delete.
87
88 2002-01-07  Jason Thorpe  <thorpej@wasabisystems.com>
89
90         * configure.in (sh*le): Set cpu_type=sh and endian=little.
91         (sh*-*-netbsdelf*): New target.
92         * configure: Regenerate.
93         * tc-sh.h: Update copyright years. 
94         (TARGET_FORMAT): Add version for TE_NetBSD.
95
96 2002-01-07  Nick Clifton  <nickc@cambridge.redhat.com>
97
98         * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go
99         negative.
100
101 2002-01-06  Alan Modra  <amodra@bigpond.net.au>
102
103         * config/tc-m68k.h (md_prepare_relax_scan): Rewrite.
104         * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment.
105
106 2002-01-05  Daniel Jacobowitz  <drow@mvista.com>
107
108         * tc-mips.c (mips_cprestore_valid): New flag.
109         (mips_frame_reg_valid): New flag.
110         (macro) [M_JAL_2]: Check both flags.
111         [M_JAL_A]: Likewise.
112         (s_cprestore): Set mips_cprestore_valid.
113         (tc_get_register): If setting mips_frame_reg, set
114         mips_frame_reg_valid and clear mips_cprestore_valid.
115         (s_mips_ent): Clear both flags.
116         (s_mips_end): Clear both flags.
117
118 2002-01-05  Alan Modra  <amodra@bigpond.net.au>
119
120         * write.c (write_object_file): Make use of bfd_section_list_remove.
121         * config/obj-ecoff.c (ecoff_frob_file): Likewise.
122         * config/tc-mmix.c (mmix_frob_file): Likewise.
123
124 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
125
126         * configure.in (i386-*-netbsdelf*): Collapse target into...
127         (i386-*-netbsd*): ...this.  Add support for x86-64.
128         * configure: Regenerated.
129
130 2002-01-03  matthew green  <mrg@redhat.com>
131
132         * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific.
133
134 2002-01-02  Nick Clifton  <nickc@cambridge.redhat.com>
135
136         * config/tc-m68k.c (md_estimate_size_before_relax): Test for a
137         NULL frag link.
138
139 For older changes see ChangeLog-0001
140 \f
141 Local Variables:
142 mode: change-log
143 left-margin: 8
144 fill-column: 74
145 version-control: never
146 End:
147