| 1 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 2 | |
| 3 | * config/tc-mips.c (mips_opts): Fix comment, all ASE fields are set |
| 4 | to -1. |
| 5 | (file_ase_mips16): New veriable. |
| 6 | (mips_eabi64): Remove. |
| 7 | (CPU_HAS_MIPS16): New define. |
| 8 | (CPU_HAS_MDMX): Fix data type. |
| 9 | (md_begin): Code cleanup. Use file_ase_mips16. |
| 10 | (mips_elf_final_processing): Handle mips16 header flag. |
| 11 | Handle EABI flag without intermediate variable. |
| 12 | |
| 13 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 14 | |
| 15 | * doc/as.texinfo: Update MIPS documentation. |
| 16 | |
| 17 | 2002-06-08 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 18 | |
| 19 | * config/tc-mips.c: Add define for $zero register. |
| 20 | (md_begin): Add $zero as alias name for $0. |
| 21 | (insn_uses_reg): Use ZERO define. |
| 22 | (mips_ip): Add $zero as alias name for $0. |
| 23 | (mips16_ip): Likewise. |
| 24 | (s_cplocal): Demand empty rest of input line. |
| 25 | (tc_get_register): Likewise. Add support for $kt0, kt1 register |
| 26 | names. Use ZERO define. Fix input_line_pointer progress. |
| 27 | |
| 28 | 2002-06-07 Alan Modra <amodra@bigpond.net.au> |
| 29 | |
| 30 | * symbols.c: Replace CONST by const throughout. |
| 31 | (symbol_find_exact): Split out from.. |
| 32 | (symbol_find_base): ..here. |
| 33 | * symbols.h: Replace CONST by const throughout. |
| 34 | (symbol_find_exact): Declare. |
| 35 | * config/obj-elf.c: #include "struc-symbol.h". |
| 36 | (elf_frob_file): If group name matches an exported symbol, use that |
| 37 | symbol for the signature and ".group" as the section name. |
| 38 | |
| 39 | Thu Jun 6 17:42:12 2002 J"orn Rennecke <joern.rennecke@superh.com> |
| 40 | |
| 41 | * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again, |
| 42 | but warn about it. |
| 43 | * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc). |
| 44 | * testsuite/gas/sh/pcrel.d: Update. |
| 45 | * testsuite/gas/sh/pcrel.l: New file. |
| 46 | |
| 47 | 2002-06-06 Daniel Jacobowitz <drow@mvista.com> |
| 48 | |
| 49 | * tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d |
| 50 | and mips_opts.ase_mdmx if they are uninitialized. |
| 51 | |
| 52 | 2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 53 | |
| 54 | * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME. |
| 55 | (hppa_force_relocation): Check if a stub just before the start symbol |
| 56 | of the last call_info is reachable before forcing relocation. Fix |
| 57 | typo. |
| 58 | |
| 59 | 2002-06-04 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
| 60 | |
| 61 | * config/tc-mips.c (mips_after_parse_args): New function. |
| 62 | (md_begin): Move processing of defaults to mips_after_parse_args. |
| 63 | config/tc-mips.h (md_after_parse_args): Define. |
| 64 | |
| 65 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 66 | |
| 67 | * configure.in (sh5*): Set cpu_type to sh64 and endian to big. |
| 68 | (sh5le*, sh64le*): Set cpu_type to sh64 and endian to little. |
| 69 | (sh5*-*-netbsd*, sh64*-*-netbsd*): New targets. |
| 70 | * configure: Regenerate. |
| 71 | * config/tc-sh64.c (sh64_target_format): Add support for NetBSD |
| 72 | environment. |
| 73 | |
| 74 | 2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 75 | |
| 76 | * config/tc-sh64.h (MD_PCREL_FROM_SECTION): Undef before redefining. |
| 77 | |
| 78 | 2002-06-04 Alan Modra <amodra@bigpond.net.au> |
| 79 | |
| 80 | * config/obj-elf.c (obj_elf_change_section): Set and check elf |
| 81 | linkonce flag. Print all warnings. |
| 82 | (obj_elf_section): Parse ",comdat" for groups. |
| 83 | (elf_frob_file): Set SEC_LINK_ONCE on COMDAT groups. Check |
| 84 | consistency of comdat flag. |
| 85 | |
| 86 | 2002-06-02 Richard Henderson <rth@redhat.com> |
| 87 | |
| 88 | * config/tc-alpha.c (alpha_adjust_symtab_relocs): Fix thinko |
| 89 | with LITERALs without sequence numbers. |
| 90 | |
| 91 | 2002-06-01 Richard Henderson <rth@redhat.com> |
| 92 | |
| 93 | * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h". |
| 94 | Rename them LITUSE_ALPHA_*. |
| 95 | |
| 96 | 2002-05-31 Shrinivas Atre <ShrinivasA@kpit.com> |
| 97 | |
| 98 | * config/tc-h8300.c (get_operand): Allow stm.l and ldm.l insns to |
| 99 | accept parentheses enclosed register lists. |
| 100 | |
| 101 | 2002-05-31 Alan Modra <amodra@bigpond.net.au> |
| 102 | |
| 103 | * Makefile.am: Run "make dep-am". |
| 104 | * Makefile.in: Regenerate. |
| 105 | * po/POTFILES.in: Regenerate. |
| 106 | |
| 107 | 2002-05-31 Graeme Peterson <gp@qnx.com> |
| 108 | |
| 109 | * configure.in: Add i386-*-nto-qnx*. |
| 110 | * configure: Regenerate. |
| 111 | |
| 112 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 113 | |
| 114 | * config/tc-mips.c (mips_ip): Use unsigned long values for |
| 115 | warning output. |
| 116 | |
| 117 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 118 | |
| 119 | * config/tc-mips.c (s_cpsetup): Fix initialization of |
| 120 | mips_cpreturn_register and mips_cpreturn_offset. |
| 121 | |
| 122 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 123 | |
| 124 | * config/tc-mips.c (s_cpsetup): Fix comment. |
| 125 | |
| 126 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 127 | |
| 128 | * config/tc-mips.c (md_begin): Add $ra as alias name for $31. |
| 129 | (mips_ip): Likewise. |
| 130 | (mips16_ip): Likewise. |
| 131 | (tc_get_register): Likewise. |
| 132 | |
| 133 | 2002-05-30 Chris G. Demetriou <cgd@broadcom.com> |
| 134 | Ed Satterthwaite <ehs@broadcom.com> |
| 135 | |
| 136 | * config/tc-mips.c (mips_set_options): New "ase_mdmx" member. |
| 137 | (mips_opts): Initialize "ase_mdmx" member. |
| 138 | (file_ase_mdmx): New variable. |
| 139 | (CPU_HAS_MDMX): New macro. |
| 140 | (md_begin): Initialize mips_opts.ase_mdmx and file_ase_mdmx |
| 141 | based on command line options and configuration defaults. |
| 142 | (macro_build): Note in comment that use of MDMX in macros is |
| 143 | not currently allowed. |
| 144 | (validate_mips_insn): Add support for the "O", "Q", "X", "Y", and |
| 145 | "Z" MDMX operand types. |
| 146 | (mips_ip): Accept MDMX instructions if mips_opts.ase_mdmx is set, |
| 147 | and add support for the "O", "Q", "X", "Y", and "Z" MDMX operand |
| 148 | types. |
| 149 | (OPTION_MDMX, OPTION_NO_MDMX, md_longopts, md_parse_option): |
| 150 | Add support for "-mdmx" and "-no-mdmx" options. |
| 151 | (OPTION_ELF_BASE): Move to accomodate new options. |
| 152 | (s_mipsset): Support ".set mdmx" and ".set nomdmx". |
| 153 | (mips_elf_final_processing): Set MDMX ASE ELF header flag if |
| 154 | file_ase_mdmx was set. |
| 155 | * doc/as.texinfo: Document -mdmx and -no-mdmx options. |
| 156 | * doc/c-mips.texi: Likewise, and document ".set mdmx" and ".set |
| 157 | nomdmx" directives. |
| 158 | |
| 159 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 160 | |
| 161 | * config/tc-mips.c (OPTION_NO_M7000_HILO_FIX): Rename to |
| 162 | OPTION_MNO_7000_HILO_FIX. Add alternate "mno-fix7000" |
| 163 | command line switch conforming to gcc conventions. |
| 164 | * doc/c-mips.texi: Document -mno-fix7000 instead of no-mfix-7000. |
| 165 | |
| 166 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 167 | |
| 168 | * config/tc-mips.c (macro_build_jalr): New Function. |
| 169 | (md_begin): NewABI uses big GOTs. |
| 170 | (macro_build): Recognize BFD_RELOC_MIPS_GOT_DISP, |
| 171 | BFD_RELOC_MIPS_GOT_PAGE, BFD_RELOC_MIPS_GOT_OFST as valid. |
| 172 | (load_address): Add some NewABI PIC support. |
| 173 | (macro): Likewise. |
| 174 | (md_apply_fix): Special handling for BFD_RELOC_MIPS_JALR. |
| 175 | (tc_gen_reloc): Don't encode NewABI vtables in REL relocations. |
| 176 | |
| 177 | 2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 178 | |
| 179 | * config/tc-mips.c (load_address): Use mips_gp_register instead |
| 180 | of hardcoded value. Remove dbl parameter, use HAVE_32BIT_ADDRESSES |
| 181 | instead. |
| 182 | (macro): Use mips_gp_register instead of hardcoded value. |
| 183 | |
| 184 | 2002-05-30 Richard Henderson <rth@redhat.com> |
| 185 | |
| 186 | * expr.h (operatorT): Add O_md17..O_md32. |
| 187 | * config/tc-alpha.c (O_lituse_tlsgd, O_lituse_tlsldm, O_tlsgd, |
| 188 | O_tlsldm, O_gotdtprel, O_dtprelhi, O_dtprello, O_dtprel, O_gottprel, |
| 189 | O_tprelhi, O_tprello, O_tprel): New. |
| 190 | (USER_RELOC_P, alpha_reloc_op_tag, debug_exp): Include them. |
| 191 | (DUMMY_RELOC_LITUSE_TLSGD, DUMMY_RELOC_LITUSE_TLSLDM): New. |
| 192 | (LITUSE_TLSGD, LITUSE_TLSLDM): New. |
| 193 | (struct alpha_reloc_tag): Add master, saw_tlsgd, saw_tlsld, |
| 194 | saw_lu_tlsgd, saw_lu_tlsldm. Make multi_section_p a bit field. |
| 195 | (md_apply_fix3): Handle TLS relocations. |
| 196 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. |
| 197 | (alpha_adjust_symtab_relocs): Sort LITERAL relocs after the |
| 198 | associated TLS reloc. Check lituse_tls relocs match up. |
| 199 | (emit_insn): Handle TLS relocations. |
| 200 | (ldX_op): Remove. |
| 201 | |
| 202 | * doc/c-alpha.texi: Add docs for tls relocations. |
| 203 | |
| 204 | 2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 205 | |
| 206 | * config/tc-mips.c (mips_gprel_offset): New variable. |
| 207 | (s_gpvalue): Use it. |
| 208 | |
| 209 | 2002-05-30 Diego Novillo <dnovillo@redhat.com> |
| 210 | |
| 211 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
| 212 | write-write conflicts. |
| 213 | (md_assemble): Reformat introductory comment. |
| 214 | (parallel_ok): Prevent packing only if the first |
| 215 | instruction cannot be packed. |
| 216 | |
| 217 | 2002-05-30 Jason Eckhardt <jle@redhat.com> |
| 218 | Tom Rix <trix@redhat.com> |
| 219 | |
| 220 | * config/tc-d10v.c (build_insn): Check for immediates. |
| 221 | |
| 222 | 2002-05-28 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 223 | |
| 224 | * config/tc-mips.c: Replace GP in comments by $gp. |
| 225 | (mips_big_got): Initialize. |
| 226 | (mips_trap): Initialize. |
| 227 | (load_address): Use mips_gp_register instead of hardcoded value. |
| 228 | Remove dbl parameter, use HAVE_32BIT_ADDRESSES instead. |
| 229 | (macro): Use mips_gp_register instead of hardcoded value. |
| 230 | (macro2): Change load_address calls. |
| 231 | (md_pcrel_from): Comment formatting. |
| 232 | (s_cpload): Use mips_gp_register instead of hardcoded value. |
| 233 | (s_cprestore): Likewise. Comment formatting. |
| 234 | (s_gpword): Fix data type. |
| 235 | (s_cpadd): Use mips_gp_register instead of hardcoded value. |
| 236 | (nopic_need_relax): Replace GP in comments by $gp. |
| 237 | (mips_elf_final_processing): Better comment. |
| 238 | |
| 239 | 2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> |
| 240 | |
| 241 | * configure.in: Add DLX configuraton |
| 242 | * Makefile.am: Add DLX configuraton |
| 243 | * configure: Regenerate. |
| 244 | * Makefile.in: Regenerate. |
| 245 | * config/tc-dlx.c: New file. |
| 246 | * config/tc-dlx.h: New files. |
| 247 | * NEWS: Mention new support. |
| 248 | |
| 249 | 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com> |
| 250 | |
| 251 | * config/obj-coff.c (write_object_file): Add missing semicolon. |
| 252 | |
| 253 | 2002-05-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 254 | |
| 255 | * config/tc-mips.c (mips_emit_delays): Replace magic constant for RA |
| 256 | by the define. Remove superfluous check of mips_opts.mips16. |
| 257 | (append_insn): Likewise. Canonicalize variable increments. |
| 258 | (macro_build): Canonicalize variable increments. |
| 259 | (macro_build_lui): Likewise. |
| 260 | (load_register): Likewise. |
| 261 | (load_address): Move pointer initialization. |
| 262 | (macro): Move pointer to a more local scope. Canonicalize variable |
| 263 | increments. Better comments. Replace magic constant for RA by the |
| 264 | define. |
| 265 | (macro2): Replace magic constant for RA by the define. Canonicalize |
| 266 | variable increments. |
| 267 | (mips_ip): Canonicalize variable increments. |
| 268 | (mips16_ip): Replace magic constant for RA by the define. |
| 269 | (my_getSmallParser): Canonicalize variable increments/decrements. |
| 270 | (my_getPercentOp): Likewise. |
| 271 | (my_getSmallExpression): Likewise. |
| 272 | (s_align): Likewise. |
| 273 | (s_mipsset): Likewise. |
| 274 | (s_cpsetup): Likewise. |
| 275 | (s_insn): Remove superfluous check of mips_opts.mips16. |
| 276 | (s_mips_stab): Likewise. |
| 277 | (mips_handle_align): Canonicalize variable increments. |
| 278 | (s_mips_ent): Likewise. |
| 279 | (s_mips_end): Add comment. |
| 280 | |
| 281 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 282 | |
| 283 | * configure.in: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. |
| 284 | * configure: Regenerate. |
| 285 | |
| 286 | 2002-05-25 Alan Modra <amodra@bigpond.net.au> |
| 287 | |
| 288 | * Makefile.am (OBJS): Depend on ansidecl.h and fopen-same.h. |
| 289 | * Makefile.in: Regenerate. |
| 290 | * dep-in.sed: Reorder to match OBJS in Makefile.am. |
| 291 | * configure.in (ALL_OBJ_DEPS): Add symcat.h when need_bfd. |
| 292 | * configure: Regenerate. |
| 293 | * as.h: Use #include "" instead of <> for local header files. |
| 294 | * flonum-konst.c: Likewise. |
| 295 | * flonum-mult.c: Likewise. |
| 296 | * gasp.c: Likewise. |
| 297 | * listing.c: Likewise. |
| 298 | * config/tc-ia64.h: Likewise. |
| 299 | * config/tc-v850.h: Likewise. |
| 300 | |
| 301 | 2002-05-24 TAMURA Kent <kent@netbsd.org> |
| 302 | |
| 303 | * configure.in: Add a target for i386-netbsdpe. |
| 304 | * configure: Regenerate. |
| 305 | |
| 306 | 2002-05-23 Jakub Jelinek <jakub@redhat.com> |
| 307 | |
| 308 | * config/obj-elf.c (elf_common): Renamed from obj_elf_common. |
| 309 | (obj_elf_common): Call elf_common. |
| 310 | (obj_elf_tls_common): New function. |
| 311 | (elf_pseudo_tab): Support .tls_common. |
| 312 | (special_sections): Add .tdata and .tbss. |
| 313 | (obj_elf_change_section): Set SEC_THREAD_LOCAL for SHF_TLS |
| 314 | sections. |
| 315 | (obj_elf_parse_section_letters): Support T in section flags (SHF_TLS). |
| 316 | (obj_elf_parse_section_letters): Include T in error message. |
| 317 | * config/tc-ppc.c (ppc_section_letter): Likewise. |
| 318 | * config/tc-alpha.c (alpha_elf_section_letter): Likewise. |
| 319 | (tc_gen_reloc): Handle SEC_THREAD_LOCAL the same way as |
| 320 | SEC_MERGE. |
| 321 | * config/tc-sparc.c (md_apply_fix3): Likewise. |
| 322 | * config/tc-i386.c (tc_i386_fix_adjustable): Add TLS relocs. |
| 323 | Define them if not BFD_ASSEMBLER. |
| 324 | (lex_got): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF, @DTPOFF |
| 325 | and @NTPOFF. |
| 326 | (md_apply_fix3): Add TLS relocs. |
| 327 | * config/tc-ia64.c (enum reloc_func): Add FUNC_DTP_MODULE, |
| 328 | FUNC_DTP_RELATIVE, FUNC_TP_RELATIVE, FUNC_LT_DTP_MODULE, |
| 329 | FUNC_LT_DTP_RELATIVE, FUNC_LT_TP_RELATIVE. |
| 330 | (pseudo_func): Support @dtpmod(), @dtprel() and @tprel(). |
| 331 | (ia64_elf_section_letter): Include T in error message. |
| 332 | (md_begin): Support TLS operators. |
| 333 | (md_operand): Likewise. |
| 334 | (ia64_gen_real_reloc_type): Support TLS relocs. |
| 335 | * testsuite/gas/i386/tlspic.s: New file. |
| 336 | * testsuite/gas/i386/tlsd.s: New file. |
| 337 | * testsuite/gas/i386/tlsnopic.s: New file. |
| 338 | * testsuite/gas/i386/tlsd.d: New file. |
| 339 | * testsuite/gas/i386/tlsnopic.d: New file. |
| 340 | * testsuite/gas/i386/tlspic.d: New file. |
| 341 | * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests. |
| 342 | * testsuite/gas/ia64/tls.s: New file. |
| 343 | * testsuite/gas/ia64/tls.d: New file. |
| 344 | * testsuite/gas/ia64/ia64.exp: Add tls test. |
| 345 | * write.c (adjust_reloc_syms): Don't change symbols in |
| 346 | SEC_THREAD_LOCAL sections to STT_SECTION + addend. |
| 347 | |
| 348 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
| 349 | |
| 350 | * config/tc-arm.c (md_apply_fix3): For the Thumb BLX reloc |
| 351 | round the relocation up rather than down. |
| 352 | |
| 353 | 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com> |
| 354 | |
| 355 | * config/obj-coff.c (obj_coff_section): Silently ignore an 'a' |
| 356 | flag. |
| 357 | * doc/as.texinfo: Document that the COFF version of .section |
| 358 | ignores the 'a' flag. |
| 359 | |
| 360 | 2002-05-23 Alan Modra <amodra@bigpond.net.au> |
| 361 | |
| 362 | * config/tc-alpha.c (assemble_tokens): Protect use of |
| 363 | ALPHA_RELOC_TABLE with #ifdef RELOC_OP_P. |
| 364 | |
| 365 | * write.c (size_seg): Check adjustment to last frag. |
| 366 | (SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to |
| 367 | section alignment. |
| 368 | * config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise. |
| 369 | * config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise. |
| 370 | (write_object_file): Invoke md_do_align if available, and use |
| 371 | frag_align_code on text sections. |
| 372 | * config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args. |
| 373 | * config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise. |
| 374 | * config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise. |
| 375 | * config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise. |
| 376 | * config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise. Define for |
| 377 | BFD_ASSEMBLER too. |
| 378 | |
| 379 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
| 380 | |
| 381 | * dwarf2dbg.c (dwarf2_directive_loc): Call listing_source_file |
| 382 | for source file. |
| 383 | |
| 384 | 2002-05-22 Nick Clifton <nickc@cambridge.redhat.com> |
| 385 | |
| 386 | * config/tc-arm.c (arm_s_section): Enable for COFF builds as well |
| 387 | as ELF builds. |
| 388 | |
| 389 | 2002-05-22 H.J. Lu <hjl@gnu.org> |
| 390 | |
| 391 | * dwarf2dbg.c (dwarf2_emit_insn): Emit only one line symbol |
| 392 | for one .loc for compiler. |
| 393 | |
| 394 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 395 | |
| 396 | * config/tc-mips.c (macro): Relax warning, it's toot strict for |
| 397 | embedded-PIC. |
| 398 | |
| 399 | 2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 400 | |
| 401 | * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. |
| 402 | Optimize the rotate by zero case. |
| 403 | |
| 404 | 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> |
| 405 | |
| 406 | * configure.in: Remove accidental enabling of bfd_gas=yes for |
| 407 | sh-coff targets. |
| 408 | * configure: Regenerate. |
| 409 | |
| 410 | 2002-05-18 Kazu Hirata <kazu@cs.umass.edu> |
| 411 | |
| 412 | * app.c: Fix formatting. |
| 413 | * as.c: Likewise. |
| 414 | * ehopt.c: Likewise. |
| 415 | * expr.c: Likewise. |
| 416 | * input-file.c: Likewise. |
| 417 | * listing.c: Likewise. |
| 418 | * macro.h: Likewise. |
| 419 | * stabs.c: Likewise. |
| 420 | * symbols.c: Likewise. |
| 421 | |
| 422 | 2002-05-17 Alan Modra <amodra@bigpond.net.au> |
| 423 | |
| 424 | * config/obj-generic.c: Delete file. |
| 425 | * config/obj-generic.h: Likewise. |
| 426 | |
| 427 | 2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 428 | |
| 429 | * config/tc-avr.c (mcu_types): Update for new devices. |
| 430 | |
| 431 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 432 | |
| 433 | * config/tc-mips.c (macro): Warn about wrong la/dla use. |
| 434 | |
| 435 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 436 | |
| 437 | * config/tc_mips.c (s_cpsetup): Fix completely bogus code which had |
| 438 | worked sometimes by accident. Fix copy&paste comment. |
| 439 | |
| 440 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 441 | |
| 442 | * config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section |
| 443 | alignment for NewABI. Let n32 use .reginfo. Remove useless casts. |
| 444 | (mips_elf_final_processing): Let n32 use .reginfo. |
| 445 | |
| 446 | 2002-05-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 447 | |
| 448 | * config/tc-mips.c (append_insn): Fix too small range of variable. |
| 449 | |
| 450 | 2002-05-14 Nick Clifton <nickc@cambridge.redhat.com> |
| 451 | |
| 452 | * config/tc-arm.c (arm_cleanup): Remove redundant call to |
| 453 | listing_prev_line(). |
| 454 | |
| 455 | 2002-05-13 Nick Clifton <nickc@cambridge.redhat.com> |
| 456 | |
| 457 | * config/tc-arm.c (md_assemble): Remove redundant call to |
| 458 | listing_prev(). |
| 459 | |
| 460 | * dwarf2dbg.c (dwarf2_emit_insn): Do not reset |
| 461 | loc_directive_seen. |
| 462 | |
| 463 | * stabs.c (s_stab_generic): Fix grammatical error in warning |
| 464 | message. |
| 465 | |
| 466 | 2002-05-13 Alan Modra <amodra@bigpond.net.au> |
| 467 | |
| 468 | * write.c (subsegs_finish): Don't specially align last subseg. |
| 469 | |
| 470 | 2002-05-11 Nick Clifton <nickc@cambridge.redhat.com> |
| 471 | |
| 472 | * stabs.c (s_stab_generic): Warn about a description field that is |
| 473 | too big. |
| 474 | |
| 475 | * config/obj-coff.c: Fix compile time warnings when compiling |
| 476 | without BFD_ASSEMBLER defined. |
| 477 | Fix formatting. |
| 478 | |
| 479 | * config/tc-sh.c (md_pcrel_from): Define for use with sh-hms |
| 480 | target. |
| 481 | (md_pcrel_from_section): Use md_pcrel_from(). |
| 482 | |
| 483 | 2002-05-11 Bruno Haible <bruno@clisp.org> |
| 484 | |
| 485 | * dwarf2dbg.c (dwarf2_emit_insn): Use the 'current' struct filled |
| 486 | by dwarf2_directive_loc, instead of calling dwarf2_where. |
| 487 | |
| 488 | 2002-05-11 Kazu Hirata <kazu@cs.umass.edu> |
| 489 | |
| 490 | * config/obj-coff.h: Fix formatting. |
| 491 | * config/tc-mcore.c: Likewise. |
| 492 | * config/tc-mn10300.c: Likewise. |
| 493 | * config/tc-openrisc.c: Likewise. |
| 494 | * config/tc-or32.c: Likewise. |
| 495 | * config/tc-pdp11.c: Likewise. |
| 496 | * config/tc-ppc.c: Likewise. |
| 497 | * config/tc-ppc.h: Likewise. |
| 498 | * config/tc-sh64.c: Likewise. |
| 499 | * config/tc-sh.c: Likewise. |
| 500 | * config/tc-tic54x.c: Likewise. |
| 501 | * config/tc-xstormy16.c: Likewise. |
| 502 | * config/tc-xstormy16.h: Likewise. |
| 503 | |
| 504 | 2002-05-09 Kazu Hirata <kazu@cs.umass.edu> |
| 505 | |
| 506 | * config/obj-coff.c: Fix formatting. |
| 507 | * config/obj-elf.c: Likewise. |
| 508 | * config/tc-alpha.c: Likewise. |
| 509 | * config/tc-arm.c: Likewise. |
| 510 | * config/tc-d10v.c: Likewise. |
| 511 | * config/tc-d30v.c: Likewise. |
| 512 | * config/tc-h8300.c: Likewise. |
| 513 | * config/tc-hppa.c: Likewise. |
| 514 | |
| 515 | 2002-05-09 Alan Modra <amodra@bigpond.net.au> |
| 516 | |
| 517 | * config/tc-i386.c (md_estimate_size_before_relax) Don't lose |
| 518 | reloc when no_cond_jump_promotion. |
| 519 | |
| 520 | 2002-05-08 Jim Wilson <wilson@redhat.com> |
| 521 | |
| 522 | * config/tc-i960.c (md_estimate_size_before_relax): Return size of |
| 523 | current variable part of frag. |
| 524 | |
| 525 | 2002-05-08 Kazu Hirata <kazu@cs.umass.edu> |
| 526 | |
| 527 | * config/tc-mmix.c: Fix formatting. |
| 528 | * config/tc-mmix.h: Likewise. |
| 529 | |
| 530 | 2002-05-08 Alan Modra <amodra@bigpond.net.au> |
| 531 | |
| 532 | * configure: Regenerate. |
| 533 | |
| 534 | 2002-05-07 Kazu Hirata <kazu@cs.umass.edu> |
| 535 | |
| 536 | * config/tc-m68k.c: Fix formatting. |
| 537 | |
| 538 | 2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> |
| 539 | |
| 540 | * Makefile.am: Honour DESTDIR. |
| 541 | * Makefile.in: Regenerate. |
| 542 | |
| 543 | 2002-05-06 Kazu Hirata <kazu@cs.umass.edu> |
| 544 | |
| 545 | * config/tc-ia64.c: Fix formatting. |
| 546 | * config/tc-ia64.h: Likewise. |
| 547 | |
| 548 | 2002-05-04 Kazu Hirata <kazu@cs.umass.edu> |
| 549 | |
| 550 | * config/tc-mips.c: Fix formatting. |
| 551 | * config/tc-s390.c: Likewise. |
| 552 | * config/tc-s390.h: Likewise. |
| 553 | |
| 554 | 2002-05-03 Alexandre Oliva <aoliva@redhat.com> |
| 555 | |
| 556 | * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number |
| 557 | information for instructions. |
| 558 | |
| 559 | 2002-05-02 Kazu Hirata <kazu@cs.umass.edu> |
| 560 | |
| 561 | * as.h: Fix formatting. |
| 562 | * cgen.c: Likewise. |
| 563 | * cgen.h: Likewise. |
| 564 | * dwarf2dbg.c: Likewise. |
| 565 | * frags.h: Likewise. |
| 566 | * gasp.c: Likewise. |
| 567 | * macro.c: Likewise. |
| 568 | * read.c: Likewise. |
| 569 | * stabs.c: Likewise. |
| 570 | * symbols.c: Likewise. |
| 571 | |
| 572 | 2002-05-02 Alan Modra <amodra@bigpond.net.au> |
| 573 | |
| 574 | * app.c (mri_pseudo): Only declare for TC_M68K. |
| 575 | |
| 576 | * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL. |
| 577 | (ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with |
| 578 | BFD_RELOC_16_BASEREL. |
| 579 | (md_assemble): Likewise. |
| 580 | (md_apply_fix3): Likewise. |
| 581 | |
| 582 | 2002-05-02 Nick Clifton <nickc@cambridge.redhat.com> |
| 583 | |
| 584 | * config/tc-arm.c (thumb_add_sub): Do not convert a subtract of |
| 585 | zero into an add of zero - it is not the same. |
| 586 | |
| 587 | 2002-05-01 Arati Dikey <aratid@kpit.com> |
| 588 | |
| 589 | * tc-sh.c (get_specific): Generate warning if the same |
| 590 | destination register is used in parallel instructions. |
| 591 | |
| 592 | 2002-05-01 Andrew Macleod <amacleod@cygnus.com> |
| 593 | |
| 594 | * config/tc-i386.c (extra_symbol_chars): Add '[' to the list. |
| 595 | |
| 596 | 2002-05-01 Alan Modra <amodra@bigpond.net.au> |
| 597 | |
| 598 | * write.c (cvt_frag_to_fill): Set fr_offset to zero on .org |
| 599 | backwards to prevent cascading errors. |
| 600 | |
| 601 | 2002-04-30 Mark Mitchell <mark@codesourcery.com> |
| 602 | |
| 603 | * configure.in: Add support for powerpc-*-windiss. |
| 604 | * configure: Regenerated. |
| 605 | |
| 606 | 2002-04-28 Alan Modra <amodra@bigpond.net.au> |
| 607 | |
| 608 | * config/tc-s390.c (md_parse_option): Formatting. |
| 609 | |
| 610 | * config/tc-i386.c: Formatting fixes, add missing space in error |
| 611 | message. |
| 612 | |
| 613 | 2002-04-24 Christian Groessler <chris@groessler.org> |
| 614 | |
| 615 | * config/tc-z8k.c (build_bytes): Add support for new cases: |
| 616 | CLASS_IGNORE and ARG_NIM4. |
| 617 | (md_assemble): Prevent destruction of input_line_pointer if |
| 618 | get_operands returns failure. |
| 619 | |
| 620 | 2002-04-24 Chris G. Demetriou <cgd@broadcom.com> |
| 621 | |
| 622 | * config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D |
| 623 | instructions to be generated by macros. |
| 624 | |
| 625 | 2002-04-24 Andreas Schwab <schwab@suse.de> |
| 626 | |
| 627 | * config/tc-i386.c (output_jump, output_disp) |
| 628 | (md_estimate_size_before_relax): Don't set fx_pcrel_adjust any |
| 629 | more. |
| 630 | (md_apply_fix3): Remember addend value for rela relocations. |
| 631 | (tc_gen_reloc): Correctly compute pc-relative relocation addend. |
| 632 | |
| 633 | 2002-04-22 Chris Demetriou <cgd@broadcom.com> |
| 634 | |
| 635 | * config/tc-mips.c (macro_build): Add close-parenthesis missing |
| 636 | from previous change. |
| 637 | |
| 638 | 2002-04-22 Eric Christopher <echristo@redhat.com> |
| 639 | |
| 640 | * config/tc-mips.c (macro_build): Add warning if macro instructions |
| 641 | are expanded into a branch delay slot. |
| 642 | |
| 643 | 2002-04-17 Geoffrey Keating <geoffk@redhat.com> |
| 644 | |
| 645 | * dwarf2dbg.c (dwarf2_gen_line_info): Do emit duplicate line |
| 646 | numbers, gdb relies on them to detect the start of the prologue. |
| 647 | |
| 648 | 2002-04-17 Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 649 | |
| 650 | * config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to |
| 651 | symbols in merge sections. |
| 652 | |
| 653 | 2002-04-16 Alan Modra <amodra@bigpond.net.au> |
| 654 | |
| 655 | * as.c (main): Don't reference _bfd_chunksize. |
| 656 | |
| 657 | 2002-04-15 Tom Rix <trix@redhat.com> |
| 658 | |
| 659 | * config/tc-d10v.c (d10v_fix_adjustable): Prevent adjustments to |
| 660 | symbols in merge sections. |
| 661 | |
| 662 | 2002-04-11 Richard Sandiford <rsandifo@redhat.com> |
| 663 | |
| 664 | * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document. |
| 665 | * config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an |
| 666 | argument for the precision. |
| 667 | (gen_to_words): Update accordingly. |
| 668 | |
| 669 | 2002-04-10 Alan Modra <amodra@bigpond.net.au> |
| 670 | |
| 671 | * as.c (parse_args <OPTION_VERSION>): Use VERSION is |
| 672 | BFD_VERSION_STRING unavailable. |
| 673 | * config/tc-i386.c (INLINE): Define (for non-BFD assembler). |
| 674 | |
| 675 | Tue Apr 9 16:45:48 2002 J"orn Rennecke <joern.rennecke@superh.com> |
| 676 | |
| 677 | * config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if |
| 678 | symbol_used_in_reloc_p is true. |
| 679 | |
| 680 | * config/tc-sh.c (md_apply_fix3): Don't zero relocations on big |
| 681 | endian hosts. |
| 682 | |
| 683 | 2002-04-04 Alan Modra <amodra@bigpond.net.au> |
| 684 | |
| 685 | * dep-in.sed: Cope with absolute paths. |
| 686 | * Makefile.am (dep.sed): Subst TOPDIR. |
| 687 | Run "make dep-am". |
| 688 | * Makefile.in: Regenerate. |
| 689 | |
| 690 | 2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 691 | |
| 692 | * config/tc-mips.c (mips16_macro_build): Cast type mismatch. |
| 693 | (mips_ip): Remove unused variable. |
| 694 | (md_apply_fix3): Cast signed/unsignes mismatches. Replace |
| 695 | unsigned char with bfd_byte. |
| 696 | (s_file): Remove unused variable. |
| 697 | (s_mips_ent): Likewise. |
| 698 | |
| 699 | 2002-04-03 Tom Rix <trix@redhat.com> |
| 700 | |
| 701 | * config/tc-d10v.c (d10v_insert_operand): Fix warning in as_bad_where. |
| 702 | (build_insn): Same. |
| 703 | (find_opcode): Fix warning in as_warn. |
| 704 | * config/tc-d10v.h: Update Copyright. |
| 705 | |
| 706 | 2002-04-03 Alan Matsuoka <alanm@redhat.com> |
| 707 | Tom Rix <trix@redhat.com> |
| 708 | |
| 709 | From Jeff Knaggs <jknaggs@redhat.com> |
| 710 | * config/tc-d10v.c (check_resource_conflict): New function to |
| 711 | check for resource conflicts. |
| 712 | |
| 713 | From Jason Eckhardt <jle@redhat.com> |
| 714 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or |
| 715 | imm3 fields. |
| 716 | * config/tc-d10v.c (find_opcode): Emit a warning if one of the |
| 717 | reserved control registers is used. |
| 718 | * config/tc-d10v.c (build_insn): Check for unresolved imm4 or |
| 719 | imm3 fields. |
| 720 | |
| 721 | From 2001-03-28 Diego Novillo <dnovillo@redhat.com> |
| 722 | * tc-d10v.c (parallel_ok): Prevent packing only if the first |
| 723 | instruction cannot be packed. |
| 724 | |
| 725 | From 2001-03-30 Diego Novillo <dnovillo@redhat.com> |
| 726 | * gas/config/tc-d10v.c (check_resource_conflict): Only check |
| 727 | write-write conflicts. |
| 728 | (md_assemble): Reformat introductory comment. |
| 729 | * opcodes/d10v-opc.c (d10v_opcodes): `btsti' does not modify its |
| 730 | arguments. |
| 731 | |
| 732 | 2002-04-03 Alan Modra <amodra@bigpond.net.au> |
| 733 | |
| 734 | * symbols.c (resolve_symbol_value <O_uminus, O_bit_not, |
| 735 | O_logical_not>): Derive final_seg from add_symbol. |
| 736 | <O_multiply..O_logical_or>: More final_seg twiddles. |
| 737 | |
| 738 | 2002-04-01 Jessica Han <jessica@cup.hp.com> |
| 739 | |
| 740 | * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc |
| 741 | in 32-bit mode. |
| 742 | |
| 743 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
| 744 | |
| 745 | * config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of |
| 746 | field for pc-relative fixups. |
| 747 | (output_disp): Likewise. |
| 748 | (md_estimate_size_before_relax): Likewise. |
| 749 | (tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for |
| 750 | pc-relative fixups in 64bit mode. |
| 751 | |
| 752 | 2002-03-22 Alan Modra <amodra@bigpond.net.au> |
| 753 | |
| 754 | * config/te-aix5.h: Typo fix. |
| 755 | |
| 756 | 2002-03-21 Alan Modra <amodra@bigpond.net.au> |
| 757 | |
| 758 | * Makefile.am: Run "make dep-am". |
| 759 | * Makefile.in: Regenerate. |
| 760 | * doc/Makefile.in: Regenerate. |
| 761 | |
| 762 | 2002-03-20 Albert Chin-A-Young <china@thewrittenword.com> |
| 763 | |
| 764 | * config/tc-arm.c (vfp_dp_reg_required_here): Fix typo |
| 765 | (vfp_sp_reg_pos -> vfp_dp_reg_pos). |
| 766 | |
| 767 | 2002-03-18 Alexandre Oliva <aoliva@redhat.com> |
| 768 | |
| 769 | * config/tc-mips.c (md_estimate_size_before_relax): Do not modify |
| 770 | the EXTENDED bit here; report the estimate according to the |
| 771 | current size. |
| 772 | |
| 773 | 2002-03-18 Tom Rix <trix@redhat.com> |
| 774 | |
| 775 | * configure.in: Add AIX 5 support. |
| 776 | * config/tc-ppc.c (ppc_target_format): Add AIX 5 64 bit target. |
| 777 | * config/te-aix5.h: New file. AIX 5 support. |
| 778 | * configure: Regenerate. |
| 779 | |
| 780 | 2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> |
| 781 | |
| 782 | * po/fr.po: Updated version. |
| 783 | |
| 784 | 2002-03-16 Andreas Jaeger <aj@suse.de> |
| 785 | |
| 786 | * doc/c-mips.texi (Machine Dependencies): Add new node. |
| 787 | |
| 788 | 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> |
| 789 | |
| 790 | * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. |
| 791 | (mips_opts): Initialize "ase_mips3d" member. |
| 792 | (file_ase_mips3d): New variable. |
| 793 | (CPU_HAS_MIPS3D): New macro. |
| 794 | (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d |
| 795 | based on command line options and configuration defaults. |
| 796 | (macro_build, mips_ip): Accept MIPS-3D instructions if |
| 797 | mips_opts.ase_mips3d is set. |
| 798 | (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): |
| 799 | Add support for "-mips3d" and "-no-mips3d" options. |
| 800 | (OPTION_ELF_BASE): Move to accomodate new options. |
| 801 | (s_mipsset): Support ".set mips3d" and ".set nomips3d". |
| 802 | (mips_elf_final_processing): Add a comment indicating that a |
| 803 | MIPS-3D ASE ELF header flag should be set, when one exists. |
| 804 | * doc/as.texinfo: Document -mips3d and -no-mips3d options. |
| 805 | * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set |
| 806 | nomips3d" directives. |
| 807 | |
| 808 | 2002-03-14 Hans-Peter Nilsson <hp@bitrange.com> |
| 809 | |
| 810 | * config/tc-mmix.c (md_estimate_size_before_relax): Don't consider |
| 811 | a weak symbol in same section to be within reach. |
| 812 | |
| 813 | 2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> |
| 814 | |
| 815 | * po/fr.po: Updated version. |
| 816 | |
| 817 | 2002-03-12 Andreas Schwab <schwab@suse.de> |
| 818 | |
| 819 | * config/tc-ia64.c (fixup_unw_records): Clear region when seeing a |
| 820 | body record so that an error is given for misplaced .save |
| 821 | pseudo-ops. |
| 822 | |
| 823 | 2002-03-09 Alan Modra <amodra@bigpond.net.au> |
| 824 | |
| 825 | * config/tc-i386.h (REX_OPCODE): Define. |
| 826 | (REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define. |
| 827 | (rex_byte): typedef to int. |
| 828 | * config/tc-i386.c: Group prototypes and vars together. |
| 829 | Formatting fixes. Remove occurrences of "register" keyword. |
| 830 | (true): Delete. |
| 831 | (false): Delete. |
| 832 | (mode_from_disp_size): Add INLINE keyword to prototype. |
| 833 | (fits_in_signed_byte): Likewise. |
| 834 | (fits_in_unsigned_byte): Likewise. |
| 835 | (fits_in_unsigned_word): Likewise. |
| 836 | (fits_in_signed_word): Likewise. |
| 837 | (fits_in_unsigned_long): Likewise. |
| 838 | (fits_in_signed_long): Likewise. |
| 839 | (type_names): Constify. |
| 840 | (intel_float_operand): Constify param. |
| 841 | (add_prefix): Use REX_OPCODE. |
| 842 | (md_assemble): Likewise. Modify for changed rex_byte. |
| 843 | (parse_insn): Split out of md_assemble. |
| 844 | (parse_operands): Likewise. |
| 845 | (swap_operands): Likewise. |
| 846 | (optimize_imm): Likewise. |
| 847 | (optimize_disp): Likewise. |
| 848 | (match_template): Likewise. |
| 849 | (check_string): Likewise. |
| 850 | (process_suffix): Likewise. |
| 851 | (check_byte_reg): Likewise. |
| 852 | (check_long_reg): Likewise. |
| 853 | (check_qword_reg): Likewise. |
| 854 | (check_word_reg): Likewise. |
| 855 | (finalize_imm): Likewise. |
| 856 | (process_operands): Likewise. |
| 857 | (build_modrm_byte): Likewise. |
| 858 | (output_insn): Likewise. |
| 859 | (output_branch): Likewise. |
| 860 | (output_jump): Likewise. |
| 861 | (output_interseg_jump): Likewise. |
| 862 | (output_disp): Likewise. |
| 863 | (output_imm): Likewise. |
| 864 | |
| 865 | 2002-03-07 Daniel Jacobowitz <drow@mvista.com> |
| 866 | |
| 867 | * doc/as.texinfo: Wrap @menu in @ifnottex, not @ifinfo. |
| 868 | |
| 869 | 2002-03-06 Alan Modra <amodra@bigpond.net.au> |
| 870 | |
| 871 | * config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte |
| 872 | relocs except when BFD64. |
| 873 | |
| 874 | * write.c (number_to_chars_bigendian): Don't abort when N is |
| 875 | larger than sizeof (VAL). |
| 876 | (number_to_chars_littleendian): Likewise. |
| 877 | |
| 878 | 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 879 | |
| 880 | * config/tc-hppa.c (md_apply_fix3): Add cast. |
| 881 | (hppa_fix_adjustable): Adjust list of selectors using e_lrsel and |
| 882 | e_rrsel. |
| 883 | |
| 884 | 2002-03-05 Paul Koning <pkoning@equallogic.com> |
| 885 | |
| 886 | * tc-pdp11.c: Use VAX float format support for PDP-11 target. |
| 887 | (parse_ac5): New function for parsing float regs in float operand. |
| 888 | (parse_expression): Remove attempt to make literals be octal. |
| 889 | (parse_op_no_deferred): Support float literals. |
| 890 | (parse_op): Reject attempts to refer to float regs. |
| 891 | (parse_fop): New function, like parse_op but for float operand. |
| 892 | (md_assemble): Add cases to parse float operands. Also fix |
| 893 | IMM3, IMM6, IMM8 cases to pick up the operand from the right spot. |
| 894 | |
| 895 | 2002-03-04 H.J. Lu <hjl@gnu.org> |
| 896 | |
| 897 | * config/obj-elf.c (special_section): Add .init_array, |
| 898 | .fini_array and .preinit_array. |
| 899 | |
| 900 | * config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove |
| 901 | .init_array and .fini_array. |
| 902 | |
| 903 | 2002-03-01 Jakub Jelinek <jakub@redhat.com> |
| 904 | |
| 905 | * config/obj-elf.c (elf_copy_symbol_attributes): Don't copy |
| 906 | visibility. |
| 907 | (obj_frob_symbol): Copy visibility. |
| 908 | |
| 909 | 2002-02-28 Jakub Jelinek <jakub@redhat.com> |
| 910 | |
| 911 | * config/tc-alpha.c (s_alpha_text): Use obj_elf_text for OBJ_ELF, not |
| 912 | s_text. |
| 913 | (s_alpha_data): Use obj_elf_data for OBJ_ELF, not s_data. |
| 914 | |
| 915 | 2002-02-27 Nick Clifton <nickc@cambridge.redhat.com> |
| 916 | |
| 917 | * po/es.po: Updated. |
| 918 | |
| 919 | 2002-02-26 Chris Demetriou <cgd@broadcom.com> |
| 920 | |
| 921 | * config/tc-mips.c (mips_need_elf_addend_fixup): For embedded-PIC |
| 922 | only, undo the changes made on 2001-06-08, with the |
| 923 | effect being that common or extern symbols are |
| 924 | adjusted for embedded-PIC, but weak symbols are not. |
| 925 | (md_estimate_size_before_relax: Likewise, with the effect |
| 926 | that extern symbols are treated the same as weak symbols |
| 927 | only if not embedded-PIC. |
| 928 | (mips_fix_adjustable) Likewise, with the effect that |
| 929 | weak or extern symbols are not adjusted for embedded-PIC. |
| 930 | (md_apply_fix3): Tweak so that the case where value is zero |
| 931 | is handled more correctly for embedded-PIC code. |
| 932 | |
| 933 | 2002-02-26 Nick Clifton <nickc@cambridge.redhat.com> |
| 934 | |
| 935 | * doc/as.texinfo (Overview): Add missing @ifset IA64 |
| 936 | |
| 937 | * configure.in (LINGUAS): Add es.po. |
| 938 | * configure: Regenerate. |
| 939 | * po/es.po: New file. |
| 940 | |
| 941 | 2002-02-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 942 | |
| 943 | * config/tc-mips.c (set_at): Fix handling of 64bit register loads. |
| 944 | (macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC |
| 945 | and NO_PIC cases. Code cleanup. |
| 946 | (macro2): Fix handling of 64bit register loads. |
| 947 | |
| 948 | 2002-02-25 David Mosberger <davidm@hpl.hp.com> |
| 949 | |
| 950 | * doc/as.texinfo: Add entry for IA64. |
| 951 | * doc/c-ia64.texi: New file. |
| 952 | |
| 953 | 2002-02-25 Alan Modra <amodra@bigpond.net.au> |
| 954 | |
| 955 | * config/tc-hppa.c: Update copyright date. |
| 956 | |
| 957 | * doc/c-ppc.texi (PowerPC-Opts): Add -mpower4, -maltivec and -m7400 |
| 958 | Remove references to chip manufacturers. |
| 959 | * config/tc-ppc.c (md_parse_option): Handle -mpower4 option. |
| 960 | Correct comments. |
| 961 | (md_show_usage): Remove references to chip manufacturers. Mention |
| 962 | -mpower4. |
| 963 | (md_begin): Test power4 opcode flag bits. |
| 964 | |
| 965 | 2002-02-22 David Mosberger <davidm@hpl.hp.com> |
| 966 | |
| 967 | * config/tc-ia64.c (dot_restore): Issue error message of epilogue |
| 968 | count exceeds prologue count. |
| 969 | (md_show_usage): Describe -mconstant-gp and -mauto-pic. |
| 970 | (unwind.label_prologue_count): New member. |
| 971 | |
| 972 | Based on a patch by Hans Boehm <hboehm@hpl.hp.com>: |
| 973 | |
| 974 | (get_saved_prologue_count): New function. |
| 975 | (save_prologue_count): New function. |
| 976 | (free_saved_prologue_count): New function. |
| 977 | (dot_label_state): Record state label by calling save_prologue_count(). |
| 978 | (dot_copy_state): Restore prologue count by calling |
| 979 | get_saved_prologue_count(). |
| 980 | (generate_unwind_image): Free up list of saved prologue |
| 981 | counts by calling free_saved_prologue_counts(). |
| 982 | |
| 983 | 2002-02-22 Nick Clifton <nickc@cambridge.redhat.com> |
| 984 | |
| 985 | * config/tc-tic54x.c: Add missing prototypes and remove ANSI style |
| 986 | function declarations. |
| 987 | |
| 988 | 2002-02-21 Nick Clifton <nickc@cambridge.redhat.com> |
| 989 | |
| 990 | * NEWS: Note that GASP is now deprecated. |
| 991 | * Makefile.am: Do not build gasp-new by default. |
| 992 | * Makefile.in: Regenerate. |
| 993 | * doc/Makefile.am: Do not install gasp.info. |
| 994 | * doc/Makefile.in: Regenerate. |
| 995 | * gas/gasp.texi: Note that gasp is now deprecated. |
| 996 | |
| 997 | 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> |
| 998 | |
| 999 | * NEWS: Mark 2.12 branch. |
| 1000 | |
| 1001 | 2002-02-19 Tom Tromey <tromey@redhat.com> |
| 1002 | |
| 1003 | * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. |
| 1004 | |
| 1005 | 2002-02-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 1006 | |
| 1007 | * config/tc-mips.c (md_parse_option): Complain about invalid -mabi |
| 1008 | option input. |
| 1009 | |
| 1010 | 2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> |
| 1011 | |
| 1012 | * config/tc-s390.c (md_parse_option): Add switches -m31 and -m64. |
| 1013 | Make bit size independent of architecture switch. |
| 1014 | (md_begin): Add warning for -m64 with -Aesa. |
| 1015 | (s390_md_end): Use renamed architecture defines. |
| 1016 | |
| 1017 | 2002-02-18 Daniel Jacobowitz <drow@mvista.com> |
| 1018 | |
| 1019 | * config/obj-coff.h: Check !target_big_endian, not shl, for coff-sh. |
| 1020 | |
| 1021 | 2002-02-16 Nick Clifton <nickc@cambridge.redhat.com> |
| 1022 | |
| 1023 | * doc/as.texinfo (Machine Dependencies): Fix typo: MMIX used |
| 1024 | instead of CRIS. |
| 1025 | |
| 1026 | 2002-02-15 Chris Demetriou <cgd@broadcom.com> |
| 1027 | |
| 1028 | * config/tc-mips.c (md_estimate_size_before_relax): Really |
| 1029 | make sure we treat weak like extern only for ELF. (Fixes |
| 1030 | patch from 2001-07-25.) |
| 1031 | |
| 1032 | 2002-02-15 Ben Elliston <bje@redhat.com> |
| 1033 | |
| 1034 | * doc/as.texinfo: Add duplicate directory entry so that "info gas" |
| 1035 | works as expected. |
| 1036 | |
| 1037 | 2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> |
| 1038 | |
| 1039 | * NEWS: Mention support for MMIX. |
| 1040 | |
| 1041 | 2002-02-13 Chris Demetriou <cgd@broadcom.com> |
| 1042 | |
| 1043 | * config/tc-mips.c (mips_need_elf_addend_fixup): Restructure into |
| 1044 | a sequence of indpendent 'if' statements for easier debugging |
| 1045 | and future modification. |
| 1046 | |
| 1047 | 2002-02-13 Matt Fredette <fredette@netbsd.org> |
| 1048 | |
| 1049 | * config/tc-m68k.c (md_show_usage): No longer display a |
| 1050 | hard-coded "68020" for the default CPU, instead display the |
| 1051 | canonical name of the true, configured default CPU. |
| 1052 | (m68k_elf_final_processing): Mark objects for sub-68020 |
| 1053 | CPUs with the new EF_M68000 flag. |
| 1054 | |
| 1055 | 2002-02-13 Andreas Schwab <schwab@suse.de> |
| 1056 | |
| 1057 | * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust |
| 1058 | pc-relative relocations to merge sections in 64-bit mode. |
| 1059 | |
| 1060 | 2002-02-13 Ben Elliston <bje@redhat.com> |
| 1061 | |
| 1062 | * NEWS: Document floating point number handling in gasp. |
| 1063 | * gasp.c: Include <assert.h> and "xregex.h". |
| 1064 | (is_flonum): New function. |
| 1065 | (chew_flownum): Likewise. |
| 1066 | (change_base): Consume flonums from the input, where possible. |
| 1067 | * doc/gasp.texi (Constants): Document floating point numbers. |
| 1068 | |
| 1069 | 2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> |
| 1070 | |
| 1071 | * config/tc-hppa.c (hppa_fix_adjustable): Don't adjust final types |
| 1072 | that implicitly use LR and RR selectors. |
| 1073 | |
| 1074 | 2002-02-12 Alexandre Oliva <aoliva@redhat.com> |
| 1075 | |
| 1076 | * config/tc-mn10300.c (other_registers): Added `epsw'. Mark `pc' |
| 1077 | and `epsw' as available on AM33 and above only. |
| 1078 | (other_register_name): Add logic to handle machine type encoded in |
| 1079 | reg_number. |
| 1080 | |
| 1081 | 2002-02-11 Tom Rix <trix@redhat.com> |
| 1082 | |
| 1083 | * config/tc-ppc.c (md_apply_fix3): Check for insert fop invalid for |
| 1084 | xcoff64. |
| 1085 | |
| 1086 | Mon Feb 11 11:23:38 2002 Alexandre Oliva <aoliva@redhat.com> |
| 1087 | |
| 1088 | * config/tc-sparc.c (U0x80000000, U0xffffffff): New constants. |
| 1089 | Use all over. |
| 1090 | |
| 1091 | Mon Feb 11 12:59:29 CET 2002 Jan Hubicka <jh@suse.cz> |
| 1092 | |
| 1093 | * i386.c (md_assemble): Support 32bit address prefix. |
| 1094 | (i386_displacement): Likewise. |
| 1095 | (i386_index_check): Accept 32bit addressing in 64bit mode. |
| 1096 | |
| 1097 | 2002-02-11 Alexandre Oliva <aoliva@redhat.com> |
| 1098 | |
| 1099 | * config/tc-sh.c (dot): Removed unused function. |
| 1100 | |
| 1101 | 2002-02-11 Alan Modra <amodra@bigpond.net.au> |
| 1102 | |
| 1103 | * Makefile.am: "make dep-am". |
| 1104 | * Makefile.in: Regenerate. |
| 1105 | * aclocal.m4: Regenerate. |
| 1106 | * config.in: Regenerate. |
| 1107 | * configure: Regenerate. |
| 1108 | * doc/Makefile.in: Regenerate. |
| 1109 | |
| 1110 | 2002-02-10 Richard Henderson <rth@redhat.com> |
| 1111 | |
| 1112 | * doc/c-alpha.texi: New file. |
| 1113 | * doc/Makefile.am (CPU_DOCS): Add it. |
| 1114 | * doc/all.texi, doc/as.texinfo: Add hooks for Alpha. |
| 1115 | |
| 1116 | 2002-02-09 Richard Henderson <rth@redhat.com> |
| 1117 | |
| 1118 | * config/tc-alpha.c (O_samegp): New. |
| 1119 | (USER_RELOC_P): Include it. |
| 1120 | (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. |
| 1121 | (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. |
| 1122 | (alpha_force_relocation, alpha_fix_adjustable): Likewise. |
| 1123 | (alpha_validate_fix): New. |
| 1124 | * config/tc-alpha.h (TC_VALIDATE_FIX): New. |
| 1125 | |
| 1126 | 2002-02-09 Hans-Peter Nilsson <hp@axis.com> |
| 1127 | |
| 1128 | * doc/c-cris.texi: New. |
| 1129 | * doc/all.texi: @set CRIS. |
| 1130 | * doc/as.texinfo: Ditto. Add CRIS gas manpage option overview. |
| 1131 | Include c-cris.texi. |
| 1132 | * doc/Makefile.am (CPU_DOCS): Add c-cris.texi |
| 1133 | * doc/Makefile.in: Regenerate. |
| 1134 | |
| 1135 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
| 1136 | |
| 1137 | * config/tc-mips.c (IS_SEXT_32BIT_NUM): New macro to |
| 1138 | determine if a number is a sign-extended 32-bit number. |
| 1139 | (load_register): Use IS_SEXT_32BIT_NUM. |
| 1140 | (macro): Check if load/store macro handling is using a |
| 1141 | constant 32-bit address on 64-bit address systems, and if |
| 1142 | so optimize the generation of that address. |
| 1143 | |
| 1144 | 2002-02-08 Richard Henderson <rth@redhat.com> |
| 1145 | |
| 1146 | * config/tc-alpha.c (alpha_force_relocation): Don't assert that |
| 1147 | we've eliminated all foreign relocation types yet. |
| 1148 | (alpha_fix_adjustable): Likewise. |
| 1149 | |
| 1150 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
| 1151 | |
| 1152 | Contribute sh64-elf. |
| 1153 | 2002-02-08 Alexandre Oliva <aoliva@redhat.com> |
| 1154 | Stephen Clarke <Stephen.Clarke@st.com> |
| 1155 | * doc/c-sh64.texi: Fix citation of SH64 architecture manual. |
| 1156 | 2002-01-31 Alexandre Oliva <aoliva@redhat.com> |
| 1157 | * config/tc-sh.c (md_relax_table): Added default sizes for |
| 1158 | non-PC-relative UNDEF_MOVI, and relaxation sequences for |
| 1159 | MOVI_16, MOVI_32 and MOVI_48. |
| 1160 | * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. |
| 1161 | (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI |
| 1162 | and MOVI_16. |
| 1163 | (shmedia_md_estimate_size_before_relax): Remove redundant |
| 1164 | blocks. Set fragP->fr_var even if relaxation type unchanged. |
| 1165 | Retain UNDEF_MOVI until expression decays to number. |
| 1166 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
| 1167 | * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC |
| 1168 | relocation types. Take fixP->fx_addnumber into account too. |
| 1169 | (shmedia_md_apply_fix): Likewise. |
| 1170 | (shmedia_md_convert_frag): Likewise. |
| 1171 | (shmedia_build_Mytes): Likewise. |
| 1172 | (sh64_consume_datalabel): Complain about nested datalabel. |
| 1173 | Support PIC relocs. Call sh_parse_name. |
| 1174 | * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition |
| 1175 | in tc-sh.h to SHmedia reloc types. |
| 1176 | * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, |
| 1177 | MOVI_GOTPC): New relaxation constants. |
| 1178 | (md_relax_table): Introduce relaxation directives for PIC-related |
| 1179 | constants. |
| 1180 | (sh_PIC_related_p): Handle datalabel. |
| 1181 | (sh_check_fixup): Choose SH5 PIC relocations. |
| 1182 | (sh_cons_fix_new): Added BDF_RELOC_64. |
| 1183 | (md_apply_fix3, sh_parse_name): Handle GOTPLT. |
| 1184 | 2002-01-18 Alexandre Oliva <aoliva@redhat.com> |
| 1185 | * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the |
| 1186 | current ISA is SHmedia, get 7 bytes. |
| 1187 | 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> |
| 1188 | * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a |
| 1189 | void function. |
| 1190 | * config/tc-sh64.c (shmedia_apply_fix): Rename to |
| 1191 | shmedia_apply_fix3 and make void. |
| 1192 | 2001-05-17 Alexandre Oliva <aoliva@redhat.com> |
| 1193 | * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to |
| 1194 | as_bad. |
| 1195 | 2001-04-12 Alexandre Oliva <aoliva@redhat.com> |
| 1196 | * config/tc-sh64.h (md_parse_name): Take &c as argument. |
| 1197 | 2001-03-14 DJ Delorie <dj@redhat.com> |
| 1198 | * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi |
| 1199 | * doc/Makefile.in(CPU_DOCS): Ditto. |
| 1200 | * doc/c-sh64.texi: New file. |
| 1201 | * doc/as.texinfo: Add SH64 support. |
| 1202 | 2001-03-13 DJ Delorie <dj@redhat.com> |
| 1203 | * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to |
| 1204 | A_REUSE_PREV so that its purpose is more obvious. |
| 1205 | (shmedia_build_Mytes): Ditto. |
| 1206 | 2001-03-07 DJ Delorie <dj@redhat.com> |
| 1207 | * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels |
| 1208 | before processing. |
| 1209 | (sh64_vtable_inherit): Ditto. |
| 1210 | (strip_datalabels): New, strip "datalabel" from given line. |
| 1211 | * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable |
| 1212 | pseudos. |
| 1213 | 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1214 | * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn |
| 1215 | call ... |
| 1216 | (shmedia_build_Mytes): ... to here. |
| 1217 | 2001-03-06 DJ Delorie <dj@redhat.com> |
| 1218 | * config/tc-sh.c: Remove sh64-specific uaquad now that there |
| 1219 | is a generic one. |
| 1220 | 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1221 | * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. |
| 1222 | * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn |
| 1223 | address by one in call to dwarf2_emit_insn. |
| 1224 | 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1225 | Implement ".abi" pseudo and correct .cranges descriptors. Correct |
| 1226 | alignment handling broken by imported changes. |
| 1227 | * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. |
| 1228 | (sh64_handle_align): Declare. |
| 1229 | (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. |
| 1230 | (sh64_max_mem_for_rs_align_code): Declare. |
| 1231 | (enum sh64_isa_values): Moved here from tc-sh64.c. |
| 1232 | (md_do_align): Define. |
| 1233 | (sh64_do_align): Declare. |
| 1234 | (struct sh64_tc_frag_data): New. |
| 1235 | (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users |
| 1236 | changed. |
| 1237 | (TC_FRAG_INIT): Change to set new datatype. |
| 1238 | (struct sh64_segment_info_type): Rename member |
| 1239 | last_flushed_location to last_contents_mark. All users changed. |
| 1240 | (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. |
| 1241 | (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. |
| 1242 | * config/tc-sh.c (md_pseudo_table): Add ".abi". |
| 1243 | (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead |
| 1244 | of unsetting seen_insn. |
| 1245 | (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also |
| 1246 | call sh64_update_contents_mark. |
| 1247 | (sh_handle_align): Remove HAVE_SH64-conditioned code. |
| 1248 | * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to |
| 1249 | enum sh64_isa_values. |
| 1250 | (sh64_set_contents_type): Drop segT parameter. All callers changed. |
| 1251 | (emitting_crange): Boolean guard moved to file scope from function |
| 1252 | scope in sh64_set_contents_type. |
| 1253 | (s_sh64_abi): New. |
| 1254 | (sh64_update_contents_mark): New; most split out from |
| 1255 | sh64_flush_pending_output. |
| 1256 | (shmedia_md_end): Call sh64_update_contents_mark. Set |
| 1257 | sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. |
| 1258 | (sh64_do_align): New function. |
| 1259 | (sh64_max_mem_for_rs_align_code): New function. |
| 1260 | (sh64_handle_align): Rename from shmedia_do_align. Make |
| 1261 | non-static. Add head comment. Emit zero bytes for n bytes modulo |
| 1262 | four. Change return-type to void. |
| 1263 | (shmedia_elf_new_section): Remove. |
| 1264 | (shmedia_md_assemble): Call sh64_update_contents_mark. |
| 1265 | (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make |
| 1266 | new frag. Call sh64_update_contents_mark after making the new |
| 1267 | frag. |
| 1268 | (sh64_flush_pending_output): Just call sh64_update_contents_mark |
| 1269 | and sh_flush_pending_output. |
| 1270 | (sh64_flag_output): Also call md_flush_pending_output, but add |
| 1271 | condition on not emitting_crange. |
| 1272 | (sh64_tc_cons_fix_new): Remove. |
| 1273 | 2001-01-12 Nick Clifton <nickc@redhat.com> |
| 1274 | * config/tc-sh64.c (shmedia_do_align): Fix to work with new |
| 1275 | alignment handling scheme imported from sourceware. |
| 1276 | 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1277 | * config/tc-sh64.h (TARGET_FORMAT): Define. |
| 1278 | (sh64_target_format): Prototype. |
| 1279 | * config/tc-sh64.c (sh64_target_mach): New function. |
| 1280 | 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1281 | * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use |
| 1282 | zero_address_frag instead of copying the frag of the symbol. |
| 1283 | (shmedia_frob_file_before_adjust): Ditto. |
| 1284 | (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask |
| 1285 | to valueT to remove signedness. |
| 1286 | (shmedia_md_convert_frag): Add parameter final. Rename parameter |
| 1287 | headers to output_bfd. Do not evaluate symbols if final is false; |
| 1288 | do emit fixups. |
| 1289 | (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, |
| 1290 | UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative |
| 1291 | to the current frag, call shmedia_md_convert_frag to emit fixups |
| 1292 | and make frag_wane neutralize the frag. Update comments. |
| 1293 | * config/tc-sh.c (md_convert_frag): Change caller of |
| 1294 | shmedia_md_convert_frag. |
| 1295 | 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1296 | * config/tc-sh64.h: Tweak comments and correct formatting. |
| 1297 | * config/tc-sh64.c: Ditto. |
| 1298 | (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit |
| 1299 | expansion, MOVI pcrel expansion>: Fix thinko calculating offset |
| 1300 | for the no-relocation case. |
| 1301 | (shmedia_check_limits): Fix range check being off-by-one for PTA. |
| 1302 | * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef |
| 1303 | wrappers. |
| 1304 | (SH64PCREL16_F): Increment for proper max-PTA handling. Update |
| 1305 | comment. |
| 1306 | (SH64PCREL16_M, MOVI_16_M): Correct range thinko. |
| 1307 | (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of |
| 1308 | expansion. |
| 1309 | (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. |
| 1310 | Correct comment. |
| 1311 | 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1312 | * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case |
| 1313 | BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. |
| 1314 | (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et |
| 1315 | al>: Set lowest bit of field to relocate to 1 and rest to empty, |
| 1316 | if reloc is emitted. |
| 1317 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1318 | New options plus bugfixes. |
| 1319 | * config/tc-sh.c (md_longopts): New options "-no-expand" and |
| 1320 | "-expand-pt32". |
| 1321 | (md_parse_option): Handle new options. |
| 1322 | (md_show_usage): Add blurb for new options. |
| 1323 | * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. |
| 1324 | (sh64_expand, sh64_pt32): New variables. |
| 1325 | (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. |
| 1326 | (shmedia_md_apply_fix): Hold original fixP->fx_r_type in |
| 1327 | orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into |
| 1328 | BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. |
| 1329 | <resolved previously-pc-relative relocs>: Handle |
| 1330 | SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. |
| 1331 | (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), |
| 1332 | case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand |
| 1333 | points to SHcompact code. |
| 1334 | <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, |
| 1335 | SH64PCREL16)>: Check that ISA of what operand points at and |
| 1336 | PTA/PTB matches, or emit error. |
| 1337 | (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and |
| 1338 | SHMEDIA_BFD_RELOC_PT. |
| 1339 | (shmedia_immediate_op): If pcrel, emit fixup also for constant |
| 1340 | operand. |
| 1341 | (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in |
| 1342 | condition for MOVI expansion. |
| 1343 | <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if |
| 1344 | sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not |
| 1345 | sh64_expand. |
| 1346 | <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT |
| 1347 | fixup. |
| 1348 | (sh64_target_format): Error-check setting of sh64_pt32 and |
| 1349 | sh64_expand. Fix typo in check for sh64_shcompact_const_crange. |
| 1350 | (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and |
| 1351 | SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. |
| 1352 | 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1353 | * config/tc-sh64.c: Improve comments. |
| 1354 | (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do |
| 1355 | not say the linker will check correctness of PTA/PTB expansion. |
| 1356 | (shmedia_md_end): Make non-static. |
| 1357 | * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add |
| 1358 | prototype. |
| 1359 | * config/tc-sh.c (sh_finalize): Remove. |
| 1360 | * config/tc-sh.h (md_end): Do not define. |
| 1361 | Remove prototype for sh_finalize. |
| 1362 | 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1363 | * config/tc-sh64.c (shmedia_frob_section_type): Use a struct |
| 1364 | sh64_section_data container when storing section type in tdata |
| 1365 | field in elf_section_data. |
| 1366 | * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to |
| 1367 | EF_SH5. |
| 1368 | * Makefile.am: Update dependencies. |
| 1369 | * Makefile.in: Regenerate. |
| 1370 | 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1371 | * config/tc-sh64.c (shmedia_md_assemble): Don't protect |
| 1372 | dwarf2_emit_insn call with test on debug_type. |
| 1373 | 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1374 | * config/tc-sh64.c (sh64_set_contents_type): Make contents-type |
| 1375 | CRT_SH5_ISA32 sticky for 64-bit. |
| 1376 | 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1377 | Generate .crange sections when switching ISA mode or emitting |
| 1378 | constants in same section as code. |
| 1379 | * config/tc-sh64.c: Reformat structure definitions. |
| 1380 | (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New |
| 1381 | variables. |
| 1382 | (sh64_set_contents_type): Rename from sh64_init_section. Rewrite |
| 1383 | to emit a .cranges descriptor when contents type changes. Only |
| 1384 | emit error if changing contents type and -no-mix is in effect. |
| 1385 | (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, |
| 1386 | sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. |
| 1387 | (shmedia_md_end): Set sh64_end_of_assembly. Pass |
| 1388 | sh64_flush_last_crange over sections. |
| 1389 | When checking main symbol of datalabel symbol, check for |
| 1390 | STO_SH5_ISA32, not ISA type of section in definition. |
| 1391 | (shmedia_frob_file_before_adjust): Check main symbol for |
| 1392 | STO_SH5_ISA32; don't check ISA type of section in definition. |
| 1393 | (shmedia_frob_section_type): Adjust for .cranges; set section flag |
| 1394 | to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether |
| 1395 | .cranges entries have been output. |
| 1396 | (shmedia_elf_new_section): Just call md_flush_pending_output. |
| 1397 | (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE |
| 1398 | fix. Do not set tc_segment_info_data.in_code for section. Call |
| 1399 | sh64_set_contents_type for SHmedia code. |
| 1400 | (s_sh64_mode): Do not call sh64_init_section or set seen_insn to |
| 1401 | false. Call md_flush_pending_output. |
| 1402 | (sh64_target_format): Check that -no-mix and |
| 1403 | -shcompact-const-crange are used in sane combination with other |
| 1404 | options. |
| 1405 | (shmedia_md_pcrel_from_section): Check type of fix for how to |
| 1406 | adjust pc-relative. |
| 1407 | (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, |
| 1408 | not ISA type of section in definition. |
| 1409 | * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to |
| 1410 | hold contents-type state. |
| 1411 | (md_flush_pending_output): Redefine to sh64_flush_pending_output. |
| 1412 | (sh64_flush_pending_output): Declare. |
| 1413 | (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. |
| 1414 | (sh64_tc_cons_fix_new): Declare. |
| 1415 | * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and |
| 1416 | call sh64_flag_output. |
| 1417 | (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just |
| 1418 | call sh64_set_contents_type to mark SHcompact code and set |
| 1419 | seen_insn. |
| 1420 | (md_longopts): New options "-no-mix" and |
| 1421 | "-shcompact-const-crange". |
| 1422 | (md_parse_option): Handle new options. |
| 1423 | (md_show_usage): Add blurb for new options. |
| 1424 | (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. |
| 1425 | 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1426 | * config/tc-sh64.c: Delete investigated and obsolete fixme:s. |
| 1427 | (sh64_last_insn_frag): New. |
| 1428 | (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag |
| 1429 | to get frag for insn opcode for generating fixups; do not assume it |
| 1430 | is the same frag. |
| 1431 | (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag |
| 1432 | for new insn. |
| 1433 | * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges |
| 1434 | section. |
| 1435 | (TC_FRAG_TYPE): Define as fragS *. |
| 1436 | (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. |
| 1437 | (sh64_last_insn_frag): Declare. |
| 1438 | (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, |
| 1439 | not == NULL before dereferencing. |
| 1440 | 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1441 | Get rid of BFD section flag and EF_SH64_ABI64. |
| 1442 | * config/tc-sh64.c (shmedia_frob_section_type): Use |
| 1443 | elf_section_data (sec)->tdata, not a specific BFD section flag, to |
| 1444 | communicate the section as containing SHmedia code. Describe why. |
| 1445 | * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set |
| 1446 | EF_SH64 regardless of ABI. |
| 1447 | * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" |
| 1448 | in error message. Handle resolved expressions for |
| 1449 | BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, |
| 1450 | BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. |
| 1451 | (shmedia_check_limits): Handle BFD_RELOC_64. |
| 1452 | (sh64_adjust_symtab): Do not decrement the GAS symbol value for |
| 1453 | a STO_SH5_ISA32 symbol, only the BFD value. |
| 1454 | 2000-12-11 Ben Elliston <bje@redhat.com> |
| 1455 | * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct |
| 1456 | dwarf2_generate_asm_lineno. |
| 1457 | 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1458 | Handle PC-relative MOVI expansions with assembler relaxation. |
| 1459 | Generate PC-relative relocs from 16-bit PC-relative expressions. |
| 1460 | * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... |
| 1461 | (shmedia_md_pcrel_from_section): ...here. |
| 1462 | (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has |
| 1463 | turned completely resolved. Adjust relocation type for 16-bit |
| 1464 | immediate operands that has turned PC-relative. Adjust back for |
| 1465 | MD_PCREL_FROM_SECTION being applied twice. |
| 1466 | (shmedia_md_convert_frag): Always emit reloc for expression with |
| 1467 | global or weak symbol. Handle relaxation result for PC-relative |
| 1468 | expressions. |
| 1469 | (shmedia_md_estimate_size_before_relax): An expression with a weak |
| 1470 | or global symbol can not be relaxed. Break out tests for |
| 1471 | relaxable symbol into variable sym_relaxable. |
| 1472 | <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, |
| 1473 | UNDEF_MOVI)>: Break out any PC-relative expression and change |
| 1474 | relaxation type. |
| 1475 | (shmedia_build_Mytes): CSE &operands->operands[j] into variable |
| 1476 | opjp. |
| 1477 | <case A_IMMS16>: Fix typo for initial minor relaxation type of |
| 1478 | MOVI expansion. If X_op_symbol of the immediate expression is |
| 1479 | set, make an expression symbol for the argument to frag_var. |
| 1480 | * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New |
| 1481 | relaxations. |
| 1482 | (END): Adjust for new relaxations. |
| 1483 | (md_relax_table): Add entries for new relaxations. |
| 1484 | 2000-12-07 Ben Elliston <bje@redhat.com> |
| 1485 | * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. |
| 1486 | 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1487 | * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and |
| 1488 | SHORI operand offsets in PT/PTA/PTB expansions. |
| 1489 | 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1490 | Implement DataLabel semantics. |
| 1491 | * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call |
| 1492 | shmedia_frob_file_before_adjust. |
| 1493 | * config/tc-sh64.c [! OBJ_ELF]: Emit #error. |
| 1494 | (DATALABEL_SUFFIX): Define. |
| 1495 | (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk |
| 1496 | symbol list to update "datalabel" symbols to their main symbol |
| 1497 | counterparts. |
| 1498 | (shmedia_frob_file_before_adjust): New. |
| 1499 | (sh64_adjust_symtab): For remaining datalabel symbols, set to |
| 1500 | undefined and set STT_DATALABEL. |
| 1501 | (sh64_frob_label): Initialize TC symbol field. |
| 1502 | (sh64_consume_datalabel): Actually implement semantics. New |
| 1503 | parameter operandf, call it instead of expression. |
| 1504 | (sh64_exclude_symbol): New. |
| 1505 | * config/tc-sh64.h (md_parse_name): Pass on the function operand |
| 1506 | to sh64_consume_datalabel. |
| 1507 | (tc_symbol_new_hook): Define to tc_frob_symbol. |
| 1508 | (TC_SYMFIELD_TYPE): Define to symbolS *. |
| 1509 | (tc_frob_symbol): Define to call sh64_exclude_symbol. |
| 1510 | 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1511 | * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default |
| 1512 | case. |
| 1513 | (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if |
| 1514 | generating dwarf2 debug information. |
| 1515 | 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1516 | * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and |
| 1517 | elf64-sh64 for the 64-bit ABI. |
| 1518 | * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* |
| 1519 | option. |
| 1520 | 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1521 | * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for |
| 1522 | case-insensitivity. |
| 1523 | 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1524 | * config/tc-sh64.c: Tweak comments, formatting and error messages. |
| 1525 | (enum sh64_abi_values): New type. |
| 1526 | (enum sh64_isa_values): New type. |
| 1527 | (sh64_isa_mode): Replace shmedia_mode. All referers changed. |
| 1528 | (seen_shcompact_mode, seen_shmedia_mode): Delete. |
| 1529 | (sh64_abi): Replace shmedia_64. |
| 1530 | (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), |
| 1531 | C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. |
| 1532 | (s_sh64_mode): Check validity for this target. |
| 1533 | (sh64_target_format): Initialize defaults for ISA and ABI. |
| 1534 | Fallback to old object format if no SH64 ISA or ABI has been |
| 1535 | specified. |
| 1536 | * config/tc-sh.c (md_parse_option): Check combinations for errors. |
| 1537 | (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit |
| 1538 | ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. |
| 1539 | * config/tc-sh64.h: Fix typo in comment. |
| 1540 | 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1541 | * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) |
| 1542 | <PT fixups for absolute values>: Size will be longest, not |
| 1543 | shortest. |
| 1544 | (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct |
| 1545 | all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. |
| 1546 | * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 |
| 1547 | and l1 to hold lowercase of two first characters. Change all |
| 1548 | remaining TO_LOWER to tolower. |
| 1549 | * config/tc-sh64.c (TO_LOWER): Delete. |
| 1550 | (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. |
| 1551 | (md_parse_name): Define. |
| 1552 | (sh64_consume_datalabel): Declare. |
| 1553 | (DOLLAR_DOT): Define. |
| 1554 | * config/tc-sh64.c (shmedia_parse_exp): New. |
| 1555 | (sh64_consume_datalabel): New; just ignoring datalabel semantics. |
| 1556 | (shmedia_parse_reg): Remove const from src |
| 1557 | parameter. |
| 1558 | (shmedia_get_operands): Ditto for args parameter and ptr variable. |
| 1559 | (shmedia_md_assemble): Ditto for op_end variable. |
| 1560 | (shmedia_get_operand): Ditto for ptr parameter and src variable. |
| 1561 | Use shmedia_parse_exp, not parse_exp. |
| 1562 | * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type |
| 1563 | parameter. All callers changed. |
| 1564 | (shmedia_get_operand): Add shmedia_arg_type parameter. All |
| 1565 | callers changed. |
| 1566 | (shmedia_parse_reg): Put first two character in local variables. |
| 1567 | Use tolower, not TO_LOWER. If no register is found and argtype |
| 1568 | indicates a control register, scan shmedia_creg_table |
| 1569 | case-insensitive. |
| 1570 | 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> |
| 1571 | * Makefile.am (CPU_TYPES): Add sh64. |
| 1572 | (TARGET_CPU_CFILES): Add config/tc-sh64.c. |
| 1573 | (TARGET_CPU_HFILES): Add config/tc-sh64.h. |
| 1574 | Regenerate dependencies. |
| 1575 | * Makefile.in: Regenerate. |
| 1576 | * configure.in: Add support for sh64-*-elf*. |
| 1577 | * configure: Regenerate. |
| 1578 | * config/tc-sh64.h: New. |
| 1579 | * config/tc-sh64.c: New. |
| 1580 | * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos |
| 1581 | .mode, .isa and .uaquad. |
| 1582 | [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, |
| 1583 | SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. |
| 1584 | [HAVE_SH64] (END): Define as 10. |
| 1585 | [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, |
| 1586 | SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, |
| 1587 | MOVI_64): Define. |
| 1588 | [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, |
| 1589 | SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, |
| 1590 | SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, |
| 1591 | MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): |
| 1592 | Define. |
| 1593 | (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. |
| 1594 | (md_begin) [HAVE_SH64]: Call shmedia_md_begin. |
| 1595 | (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. |
| 1596 | (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling |
| 1597 | SHmedia instructions. Handle state-change after switching to |
| 1598 | SHcompact. |
| 1599 | (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. |
| 1600 | (md_parse_option) [HAVE_SH64]: Parse new options. |
| 1601 | (md_show_usage) [HAVE_SH64]: Show usage of new options. |
| 1602 | (md_convert_frag) [HAVE_SH64] <default>: Call |
| 1603 | shmedia_md_convert_frag instead of abort. |
| 1604 | (sh_force_relocation) [HAVE_SH64]: Also force relocation for |
| 1605 | BFD_RELOC_SH_SHMEDIA_CODE. |
| 1606 | (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying |
| 1607 | SHcompact or SHmedia code. |
| 1608 | (md_apply_fix) [HAVE_SH64] <default>: Return result from calling |
| 1609 | shmedia_md_apply_fix instead of abort. |
| 1610 | (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return |
| 1611 | result from calling shmedia_md_estimate_size_before_relax instead |
| 1612 | of calling abort. |
| 1613 | (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align |
| 1614 | do the work. |
| 1615 | (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call |
| 1616 | shmedia_init_reloc and do nothing more if it returns non-zero. |
| 1617 | (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. |
| 1618 | * po/POTFILES.in: Regenerate. |
| 1619 | * po/gas.pot: Regenerate. |
| 1620 | |
| 1621 | 2002-02-06 Alexandre Oliva <aoliva@redhat.com> |
| 1622 | |
| 1623 | * config/tc-sh.c (parse_at): Install the correct version of |
| 1624 | 2002-02-04's patch. |
| 1625 | |
| 1626 | * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't |
| 1627 | assume fixP->fx_subsy is non-NULL. |
| 1628 | |
| 1629 | 2002-02-04 Alexandre Oliva <aoliva@redhat.com> |
| 1630 | |
| 1631 | * config/tc-sh.c (parse_at): Set arg type of @(expr,pc) to |
| 1632 | A_DISP_PC_ABS, and adjust it by -4. |
| 1633 | (get_specific): Accept A_DISP_PC_ABS where A_DISP_PC is |
| 1634 | expected. |
| 1635 | (build_Mytes): Mark PCRELIMM fix-ups as pc-relative only if |
| 1636 | the operand type is not A_DISP_PC_ABS. |
| 1637 | |
| 1638 | 2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> |
| 1639 | |
| 1640 | * config/tc-mmix.c (tc_gen_reloc): Don't try and take the value of |
| 1641 | common and weak symbols. Handle common and weak symbols as |
| 1642 | undefined symbols with regards to GREG handling and merging. |
| 1643 | (mmix_frob_file): Ditto. |
| 1644 | |
| 1645 | 2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 1646 | |
| 1647 | * configure.in (hppa-*-netbsd*): New target. |
| 1648 | * configure: Regenerate. |
| 1649 | * config/tc-hppa.h: Also define WARN_COMMENTS if TE_NetBSD. |
| 1650 | |
| 1651 | 2002-02-02 Alan Modra <amodra@bigpond.net.au> |
| 1652 | |
| 1653 | * config/tc-v850.c: Add missing prototypes amd use old-style |
| 1654 | function definitions. |
| 1655 | (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. |
| 1656 | (sdata_section tdata_section, zdata_section, sbss_section, |
| 1657 | tbss_section, zbss_section, rosdata_section, rozdata_section, |
| 1658 | scommon_section, tcommon_section, zcommon_section, |
| 1659 | call_table_data_section, call_table_text_section): Delete. |
| 1660 | (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, |
| 1661 | v850_zbss, v850_bss, v850_rosdata, v850_rozdata, |
| 1662 | v850_call_table_data, v850_call_table_text): Delete. |
| 1663 | (struct v850_seg_entry): New. |
| 1664 | (v850_seg_table): New. |
| 1665 | (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, |
| 1666 | TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, |
| 1667 | ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, |
| 1668 | CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. |
| 1669 | (do_v850_seg): New. |
| 1670 | (v850_seg): New. |
| 1671 | (v850_comm): Use do_v850_seg and v850_seg_table. Simplify |
| 1672 | recording of alignment. |
| 1673 | (md_pseudo_table): Use v850_seg. |
| 1674 | (md_begin): Don't init .call_table_data and .call_table_text here. |
| 1675 | Set v850_seg_table bss entry. |
| 1676 | |
| 1677 | 2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> |
| 1678 | |
| 1679 | Support on-demand global register allocation by passing on |
| 1680 | base-plus-offset relocs to the linker. |
| 1681 | * config/tc-mmix.c: Tweak and fix typos in comments. |
| 1682 | (allocate_undefined_gregs_in_linker): New variable. |
| 1683 | (OPTION_LINKER_ALLOCATED_GREGS): New option macro. |
| 1684 | (md_longopts): Add --linker-allocated-gregs. |
| 1685 | (md_parse_option) <case 'x'>: Imply --linker-allocated-gregs. |
| 1686 | <case OPTION_LINKER_ALLOCATED_GREGS>: New. |
| 1687 | (md_show_usage): Update text for -x. Add text for |
| 1688 | --linker-allocated-gregs. |
| 1689 | (tc_gen_reloc): Derive default value for addend from val and |
| 1690 | baddsy. Use addsec and bfd_is_abs_section in more places. Don't |
| 1691 | emit error for BFD_RELOC_MMIX_BASE_PLUS_OFFSET without suitable |
| 1692 | GREG if allocate_undefined_gregs_in_linker. |
| 1693 | * doc/as.texinfo (Overview) <Target MMIX options>: Add |
| 1694 | --linker-allocated-gregs. |
| 1695 | * doc/c-mmix.texi (MMIX-Opts): Add blurb about |
| 1696 | --linker-allocated-gregs. Mention that it's implied by -x. |
| 1697 | (MMIX-Pseudos) <GREG>: Mention when and how a GREG can be omitted. |
| 1698 | (MMIX-mmixal): Clarify dated comparison and location of MMIXware. |
| 1699 | |
| 1700 | * config/tc-mmix.h (md_parse_name): Use ISUPPER, not isupper. |
| 1701 | |
| 1702 | 2002-02-01 Alan Modra <amodra@bigpond.net.au> |
| 1703 | |
| 1704 | * Makefile.am: Run "make dep-am" |
| 1705 | * Makefile.in: Regenerate. |
| 1706 | |
| 1707 | 2002-01-31 Ivan Guzvinec <ivang@opencores.org> |
| 1708 | |
| 1709 | * config/tc-or32.c: New file. |
| 1710 | * config/tc-or32.h: New file. |
| 1711 | * configure.in: Add support for or32 targets. |
| 1712 | * configure: Regenerate. |
| 1713 | * config/obj-coff.c: Add support for or32 targets. |
| 1714 | * config/obj-coff.h: Add support for or32 targets. |
| 1715 | * Makefile.am: Add support for or32 targets. |
| 1716 | * Makefile.in: Regenerate. |
| 1717 | * NEWS: Mention support for OpenRISC. |
| 1718 | * doc/Makefile.in: Regenerate. |
| 1719 | * po/POTFILES.in: Regenerate. |
| 1720 | * po/gas.pot: Regenerate. |
| 1721 | |
| 1722 | 2002-01-30 Richard Sandiford <rsandifo@redhat.com> |
| 1723 | |
| 1724 | * config/tc-sh.c (parse_reg): Fix end-of-word check for is, ix, iy |
| 1725 | and mod. |
| 1726 | |
| 1727 | 2002-01-29 Chris Demetriou <cgd@broadcom.com> |
| 1728 | |
| 1729 | * config/tc-mips.c (tc_gen_reloc): Arrange for |
| 1730 | BFD_RELOC_PCREL_HI16_S relocations to be output relative to |
| 1731 | their LO16 parts, even for ELF. |
| 1732 | |
| 1733 | 2002-01-29 Daniel Jacobowitz <drow@mvista.com> |
| 1734 | |
| 1735 | * config/tc-i386.c: Protect definitions of true and false |
| 1736 | from redefinition. |
| 1737 | |
| 1738 | 2002-01-28 Jakub Jelinek <jakub@redhat.com> |
| 1739 | |
| 1740 | * config/obj-elf.c (elf_frob_file_before_adjust): Remove symbols |
| 1741 | made because of .weak, if they are neither defined nor used in any |
| 1742 | way. |
| 1743 | |
| 1744 | 2002-01-27 Daniel Jacobowitz <drow@mvista.com> |
| 1745 | |
| 1746 | * configure: Regenerated. |
| 1747 | |
| 1748 | 2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> |
| 1749 | |
| 1750 | * doc/Makefile.am (install): Depend on install-info. |
| 1751 | * doc/Makefile.in: Regenerate. |
| 1752 | |
| 1753 | 2002-01-26 Nick Clifton <nick@redhat.com> |
| 1754 | |
| 1755 | * po/fr.po: Updated version |
| 1756 | |
| 1757 | 2002-01-24 Kazu Hirata <kazu@hxi.com> |
| 1758 | |
| 1759 | * config/tc-h8300.c (check_operand): Don't print a warning |
| 1760 | when a valid 24-bit address is given to a 16-bit address |
| 1761 | operand. |
| 1762 | |
| 1763 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
| 1764 | |
| 1765 | * config/tc-sh.c (sh_elf_suffix): Removed. |
| 1766 | (sh_PIC_related_p, sh_check_fixup, sh_cons_fix_new, |
| 1767 | sh_end_of_match, sh_parse_name): New functions. |
| 1768 | (sh_elf_cons): Simplify. |
| 1769 | (parse_exp): Reject misplaced PIC operands. |
| 1770 | (md_undefined_symbol): Simplify. |
| 1771 | (sh_fix_adjustable): Let @GOTOFF be adjusted. |
| 1772 | (md_apply_fix3): Write @PLT and @GOTOFF addends in place. |
| 1773 | (tc_gen_reloc): Move fixp subsy absolute value into addnumber. |
| 1774 | Complain if subsy remains at the end. |
| 1775 | * config/tc-sh.h (sh_parse_name, sh_cons_fix_new): Declare. |
| 1776 | (md_parse_name, TC_CONS_FIX_NEW, O_PIC_reloc): Define. |
| 1777 | |
| 1778 | 2002-01-22 Alexandre Oliva <aoliva@redhat.com> |
| 1779 | |
| 1780 | * config/tc-mn10300.c (xr_registers): Move `pc'... |
| 1781 | (other_registers): ... here. |
| 1782 | |
| 1783 | 2002-01-22 Alan Modra <amodra@bigpond.net.au> |
| 1784 | |
| 1785 | * Makefile.am: Run "make dep-am". |
| 1786 | * Makefile.in: Regenerate. |
| 1787 | * gas/po/POTFILES.in: Regenerate. |
| 1788 | |
| 1789 | 2002-01-21 DJ Delorie <dj@redhat.com> |
| 1790 | |
| 1791 | * config/obj-coff.c (obj_coff_init_stab_section): Make the |
| 1792 | stabstr_name allocation permanent, as it will be referenced from |
| 1793 | the section hash. |
| 1794 | |
| 1795 | 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 1796 | |
| 1797 | * configure.in (ia64-*-netbsd*): New target. |
| 1798 | * configure: Regenerate. |
| 1799 | |
| 1800 | 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com> |
| 1801 | |
| 1802 | * doc/as.texinfo (Overview) <Target ARM options>: Add missing {} |
| 1803 | to @dots call. |
| 1804 | <Detailed description, ARM options>: Ditto. |
| 1805 | * doc/c-arm.texi (ARM Options): Ditto. |
| 1806 | |
| 1807 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
| 1808 | |
| 1809 | * tc-arm.c (do_xsc_mia, do_xsc_mar, do_xsc_mra): Renamed from |
| 1810 | do_mia, do_mar and do_mra respectively. |
| 1811 | (do_mav_*): Renamed from do_c_*. |
| 1812 | (mav_reg_required_here, mav_parse_offset): Renamed from |
| 1813 | cirrus_reg_required_here and cirrus_parse_offset respectively. |
| 1814 | (MAV_MODE?): Renamed from CIRRUS_MODE?. |
| 1815 | |
| 1816 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
| 1817 | Keith Walker <keith.walker@arm.com> |
| 1818 | |
| 1819 | * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. |
| 1820 | (insns): Add pattern for bxj instruction. |
| 1821 | (do_bxj): New function. |
| 1822 | (arm_cpus): Add arm926ej. |
| 1823 | (arm_archs): Add armv5tej. |
| 1824 | |
| 1825 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
| 1826 | |
| 1827 | * doc/c-arm.texi: Add new fpe options to list of supported flags. |
| 1828 | |
| 1829 | 2002-01-19 Keith Walker <keith.walker@arm.com> |
| 1830 | |
| 1831 | * tc-arm.c (arm_fpus): Add fpe2 and fpe3. |
| 1832 | |
| 1833 | 2002-01-18 Richard Earnshaw <rearnsha@arm.com> |
| 1834 | |
| 1835 | * NEWS: Mention new ARM command-line options and VFP support. |
| 1836 | |
| 1837 | * config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All |
| 1838 | uses changed. |
| 1839 | (ARM_CEXT_MAVERICK): Similarly. |
| 1840 | (ARM_ANY): Now means any core instruction. |
| 1841 | (CPU_DEFAULT): Default to ARM_ANY. |
| 1842 | (uses_apcs_26, atcps, support_interwork, uses_apcs_float) |
| 1843 | (pic_code): Declare for all object types. Make type int. |
| 1844 | (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) |
| 1845 | (march_fpu_opt, mfpu_opt): Declare. |
| 1846 | (md_longopts): Tidy up conditional definitions. |
| 1847 | (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) |
| 1848 | (arm_long_opts): New tables. |
| 1849 | (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. |
| 1850 | (arm_parse_extension): New function. |
| 1851 | (md_parse_option): Rewrite using new table-driven system. |
| 1852 | (md_show_usage): Use new table-driven system. |
| 1853 | (md_begin): Calculate cpu_variant from command line option data. |
| 1854 | * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific |
| 1855 | command-line options. |
| 1856 | * doc/c-arm.texi: Likewise. |
| 1857 | |
| 1858 | 2002-01-18 Andreas Jaeger <aj@suse.de> |
| 1859 | |
| 1860 | * as.c (parse_args): Update year. |
| 1861 | |
| 1862 | 2002-01-17 Timothy Wall <twall@alum.mit.edu> |
| 1863 | |
| 1864 | * config/tc-tic54x.c (encode_address): Add a more informative |
| 1865 | warning about incorrect syntax. |
| 1866 | |
| 1867 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
| 1868 | |
| 1869 | * po/gas.pot: Regenerate. |
| 1870 | |
| 1871 | 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> |
| 1872 | |
| 1873 | * macro.c (get_any_string): Add no-c-format comment to prevent |
| 1874 | confusion when translating string. |
| 1875 | * gasp.c (get_any_string): Add no-c-format comment to prevent |
| 1876 | confusion when translating string. |
| 1877 | |
| 1878 | 2002-01-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 1879 | Johannes Stezenbach <js@convergence.de> |
| 1880 | * config/tc-mips.c (percent_op): Ensure longer percent_op's are |
| 1881 | matched before the shorter ones. |
| 1882 | (my_getSmallParser): Fix handling of nested parentheses in |
| 1883 | percent_op's. Code cleanup. |
| 1884 | (my_getPercentOp): New function, code from my_getSmallParser. |
| 1885 | (my_getSmallExpression): Fix handling of closing parentheses. |
| 1886 | Code cleanup. Better comments. |
| 1887 | |
| 1888 | 2002-01-16 Nick Clifton <nickc@redhat.com> |
| 1889 | |
| 1890 | po/tr.po: New file: Turkish translation. |
| 1891 | configure.in (LINGUAS): Add "tr". |
| 1892 | configure: Regenerate. |
| 1893 | |
| 1894 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
| 1895 | |
| 1896 | Support for VFP instructions |
| 1897 | * tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. |
| 1898 | (cp_address_required_here): New argument wb_ok. When false, do not |
| 1899 | accept write-back forms of addressing. Change all callers. |
| 1900 | (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) |
| 1901 | (FPU_VFP_EXT_V2): Define. |
| 1902 | (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): |
| 1903 | Define in terms of above. |
| 1904 | (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. |
| 1905 | (vfp_reg): New struct. |
| 1906 | (vfp_regs): New array of registers. |
| 1907 | (insns): Add VFP instructions. |
| 1908 | (sn_table): New array of VFP single-precision register names. |
| 1909 | (dn_table): New array of VFP double-precision register names. |
| 1910 | (all_reg_maps): Add the new register tables. |
| 1911 | (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. |
| 1912 | (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) |
| 1913 | (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) |
| 1914 | (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) |
| 1915 | (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) |
| 1916 | (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) |
| 1917 | (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) |
| 1918 | (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) |
| 1919 | (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) |
| 1920 | (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) |
| 1921 | (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) |
| 1922 | (do_vfp_sp_dp_cvt): New functions. |
| 1923 | (md_begin): Set soft-float flag for appropriate VFP work. |
| 1924 | (md_atof): Handle VFP-format doubles. |
| 1925 | (md_parse_option): Handle VFP command-line options. |
| 1926 | (md_show_usage): Display VFP command-line options. |
| 1927 | |
| 1928 | 2002-01-15 Richard Earnshaw <rearnsha@arm.com> |
| 1929 | |
| 1930 | * tc-arm.c (md_parse_option): Tidy up setting of cpu_variant for |
| 1931 | various command line options. |
| 1932 | |
| 1933 | 2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> |
| 1934 | |
| 1935 | * config/tc-xstormy16.c: (xstormy16_fix_adjustable): Do not fix |
| 1936 | vtinherit relocs. |
| 1937 | (xstormy16_md_apply_fix3): Do not return a value. |
| 1938 | |
| 1939 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
| 1940 | |
| 1941 | * tc-arm.c (md_longopts): On targets that aren't bi-endian, support |
| 1942 | the -EL/-EB option that matches the target's endianness. |
| 1943 | (md_parse_option): Likewise. |
| 1944 | |
| 1945 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
| 1946 | |
| 1947 | * tc-arm.c (md_longopts): Fix misplaced #endif -- the -oabi option |
| 1948 | is not dependent on ARM_BI_ENDIAN. |
| 1949 | |
| 1950 | 2002-01-14 Richard Earnshaw <rearnsha@arm.com> |
| 1951 | |
| 1952 | * tc-arm.c (all error messages): Normalize capitalization of messages. |
| 1953 | |
| 1954 | * tc-arm.h (md_operand): Delete define. |
| 1955 | * tc-arm.c (in_my_get_expression): New static variable. |
| 1956 | (my_get_expression): Set and clear it. |
| 1957 | (md_operand): New function. If called from my_get_expression |
| 1958 | put the error in inst.error. |
| 1959 | (output_inst): Now takes argument of instruction being assembled. |
| 1960 | Print it out with any error message. |
| 1961 | (do_ldst, do_ldstv4, thumb_load_store): Fault attempt to use a store |
| 1962 | with '=' syntax. |
| 1963 | (end_of_line): Don't update inst.error if it is already set. |
| 1964 | |
| 1965 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
| 1966 | |
| 1967 | * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo |
| 1968 | op that can be translated into a mvn instruction. |
| 1969 | |
| 1970 | 2002-01-11 Steve Ellcey <sje@cup.hp.com> |
| 1971 | |
| 1972 | * gas/config/tc-ia64.h (MD_FLAGS_DEFAULT): New Macro for |
| 1973 | setting default md.flags. |
| 1974 | (SHT_INIT_ARRAY): New elf special section used by HP-UX. |
| 1975 | (SHT_FINI_ARRAY): New elf special section used by HP-UX. |
| 1976 | * gas/config/tc-ia64.c (setup_unwind_header): Add support |
| 1977 | for 32 bit unwind info blocks. |
| 1978 | (generate_unwind_image): Add support for different types |
| 1979 | of unwind images (32 bits and/or big-endian). |
| 1980 | (ia64_init): Use MD_FLAGS_DEFAULT to set md.flags. |
| 1981 | (ia64_target_format): Add support for hpux target formats. |
| 1982 | (ia64_gen_real_reloc_type): Add support for FUNC_IPLT_RELOC. |
| 1983 | (ia64_elf_section_type): Add support for SHT_INIT_ARRAY and |
| 1984 | SHT_FINI_ARRAY elf section types. |
| 1985 | |
| 1986 | 2002-01-10 Richard Earnshaw <rearnsha@arm.com> |
| 1987 | |
| 1988 | * tc-arm.c (struct reg_entry): Move before prototypes. |
| 1989 | (int_register, cp_register, fp_register): Delete. |
| 1990 | (reg_table): Delete. Replaced with ... |
| 1991 | (rn_table, cp_table, cn_table, fn_table, mav_mvf_table) |
| 1992 | (mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table) |
| 1993 | (mav_dspsc_table): ... one table per register set. |
| 1994 | (arm_reg_hsh): Delete. |
| 1995 | (struct reg_map): New structure. |
| 1996 | (all_reg_maps): New array. |
| 1997 | (enum arm_reg_type): New enums. |
| 1998 | (build_reg_hsh): New function. |
| 1999 | (insert_reg_alias): Use hash table passed by caller. Adjust all |
| 2000 | callers. |
| 2001 | (create_register_alias): New function, split out from ... |
| 2002 | (md_assemble): ... here. |
| 2003 | (md_begin): Build new register hash tables. |
| 2004 | (arm_reg_parse): New argument for the hash table to search. Adjust all |
| 2005 | callers. |
| 2006 | (arm_reg_parse_any): New function. |
| 2007 | (co_proc_number): Look up the processor number in the processor hash |
| 2008 | table. |
| 2009 | (cirrus_regtype): Delete. |
| 2010 | (cirrus_register, cirrus_mvf_register, cirrus_mvd_register) |
| 2011 | (cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register) |
| 2012 | (ARM_EXT_MAVERICKsc_register): Delete. |
| 2013 | (do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete. |
| 2014 | (do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New |
| 2015 | functions. |
| 2016 | (do_c_triple_4, do_c_triple_5): Delete. |
| 2017 | (do_c_triple_4[ab], do_c_triple_5[a-h]): New functions. |
| 2018 | (do_c_quad_6): Delete. |
| 2019 | (do_c_quad_6[ab]): New functions. |
| 2020 | (do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework |
| 2021 | arguments to use new register parsing methods. |
| 2022 | (cirrus_reg_required_here): Likewise. |
| 2023 | (insns): Reclassify cirrus maverick worker functions. |
| 2024 | (cirrus_valid_reg): Delete. |
| 2025 | |
| 2026 | 2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> |
| 2027 | |
| 2028 | * configure.in (sh*le): Set cpu_type=sh and endian=little. |
| 2029 | (sh*-*-netbsdelf*): New target. |
| 2030 | * configure: Regenerate. |
| 2031 | * tc-sh.h: Update copyright years. |
| 2032 | (TARGET_FORMAT): Add version for TE_NetBSD. |
| 2033 | |
| 2034 | 2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> |
| 2035 | |
| 2036 | * read.c (emit_expr): Do not allow 'size' or 'nbytes' to go |
| 2037 | negative. |
| 2038 | |
| 2039 | 2002-01-06 Alan Modra <amodra@bigpond.net.au> |
| 2040 | |
| 2041 | * config/tc-m68k.h (md_prepare_relax_scan): Rewrite. |
| 2042 | * config/tc-m68k.c (md_relax_table): Add md_prepare_relax_scan comment. |
| 2043 | |
| 2044 | 2002-01-05 Daniel Jacobowitz <drow@mvista.com> |
| 2045 | |
| 2046 | * tc-mips.c (mips_cprestore_valid): New flag. |
| 2047 | (mips_frame_reg_valid): New flag. |
| 2048 | (macro) [M_JAL_2]: Check both flags. |
| 2049 | [M_JAL_A]: Likewise. |
| 2050 | (s_cprestore): Set mips_cprestore_valid. |
| 2051 | (tc_get_register): If setting mips_frame_reg, set |
| 2052 | mips_frame_reg_valid and clear mips_cprestore_valid. |
| 2053 | (s_mips_ent): Clear both flags. |
| 2054 | (s_mips_end): Clear both flags. |
| 2055 | |
| 2056 | 2002-01-05 Alan Modra <amodra@bigpond.net.au> |
| 2057 | |
| 2058 | * write.c (write_object_file): Make use of bfd_section_list_remove. |
| 2059 | * config/obj-ecoff.c (ecoff_frob_file): Likewise. |
| 2060 | * config/tc-mmix.c (mmix_frob_file): Likewise. |
| 2061 | |
| 2062 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 2063 | |
| 2064 | * configure.in (i386-*-netbsdelf*): Collapse target into... |
| 2065 | (i386-*-netbsd*): ...this. Add support for x86-64. |
| 2066 | * configure: Regenerated. |
| 2067 | |
| 2068 | 2002-01-03 matthew green <mrg@redhat.com> |
| 2069 | |
| 2070 | * config/tc-ppc.c (md_parse_option): BookE is not Motorola specific. |
| 2071 | |
| 2072 | 2002-01-02 Nick Clifton <nickc@cambridge.redhat.com> |
| 2073 | |
| 2074 | * config/tc-m68k.c (md_estimate_size_before_relax): Test for a |
| 2075 | NULL frag link. |
| 2076 | |
| 2077 | For older changes see ChangeLog-0001 |
| 2078 | \f |
| 2079 | Local Variables: |
| 2080 | mode: change-log |
| 2081 | left-margin: 8 |
| 2082 | fill-column: 74 |
| 2083 | version-control: never |
| 2084 | End: |