aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-12-04 * config/tc-mips.c (append_insn): Add jump address range overflowThiemo Seufer2-0/+13
check.
2001-12-04 * config/tc-mips.c (md_parse_option): Fix comment. Allow -mabi optionThiemo Seufer2-2/+41
for ELF only. (show): Document -mabi option.
2001-12-04Only clear cpu part when specifying 'xscale' cpu (don't change the fpu part)Nick Clifton2-1/+7
2001-12-04* config/tc-d10v.c (find_opcode): Reject SP operand ifAlexandre Oliva2-0/+8
OPERAND_NOSP flag is present.
2001-12-042001-12-03 Eric Christopher <echristo@redhat.com>Eric Christopher2-2/+6
* config/tc-mips.c (tc_gen_reloc): One missed BFD_RELOC_MIPS_GPREL.
2001-12-02 * coff-mips.c (mips_bfd_reloc_type_lookup): ReplaceThiemo Seufer3-41/+52
BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. * pe-mips.c (mips_bfd_reloc_type_lookup): Likewise. * elf32-mips.c (mips_reloc_map): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. * elf64-mips.c (mips_reloc_map): Likewise. * reloc.c (BFD_RELOC_MIPS_GPREL): Remove. (BFD_RELOC_MIPS_GPREL32): Remove. * config/tc-mips.c (macro_build): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. (load_address): Likewise. (macro): Likewise. (md_apply_fix): Likewise. Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. (s_gpword): Replace BFD_RELOC_MIPS_GPREL32 by BFD_RELOC_GPREL32. (tc_gen_reloc): Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16. *config/tc-mips.h: Replace BFD_RELOC_MIPS_GPREL by BFD_RELOC_GPREL16.
2001-11-29* config/tc-d10v.c (get_operands): Emit OPERAND_PLUS forAlexandre Oliva2-0/+8
prefix `+'.
2001-11-29* config/tc-d10v.c (find_opcode): Reject non-SP operand ifAlexandre Oliva2-2/+9
flags requires SP.
2001-11-29Remove case sensitivity in register names.Nick Clifton2-4/+14
2001-11-28 * elf64-alpha.c (ALPHA_ELF_GOT_ENTRY_RELOCS_XLATED): Defined.Jakub Jelinek4-6/+17
(elf64_alpha_relocate_section): Translate local_got_entries for STT_SECTION symbol to SHF_MERGE section the first time we see it. * elfxx-ia64.c (struct elfNN_ia64_local_hash_entry): Add sec_merge_done. (get_local_sym_hash): New, extracted from get_dyn_sym_info. (get_dyn_sym_info): Use it. (elfNN_ia64_relocate_section): Translate local dyn entries for STT_SECTION symbol to SHF_MERGE section the first time we see it. * write.c (adjust_reloc_syms): Mark SEC_MERGE symbols as used in reloc if it has non-zero addend. * config/tc-alpha.c (tc_gen_reloc): Reinstall SEC_MERGE check. * config/tc-sparc.c (md_apply_fix3): Likewise.
2001-11-28Add .cvsignore files to skip .gmo filesNick Clifton1-0/+1
2001-11-28 * as.c (parse_args): Call md_after_parse_args if defined.Andreas Schwab5-1/+26
* config/tc-ia64.h (md_after_parse_args): Define. * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs. * doc/internals.texi (CPU backend): Document md_after_parse_args.
2001-11-25 * gas/all/gas.exp (incbin): Fix condition.Andreas Jaeger2-5/+9
2001-11-23 * gas/all/gas.exp (incbin): Do not run on the PA.Jeff Law2-1/+6
2001-11-23 * gas/hppa/parse/parse.exp: Expect failure on line separator bug.Jeff Law2-0/+5
2001-11-23 * elf.c (_bfd_elf_rela_local_sym): New.Jakub Jelinek3-12/+8
* elflink.h (elf_link_input_bfd): Don't consider empty merged sections as removed in relocation tests. * elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype. * elf32-i386.c (elf_i386_relocate_section): Handle relocs against STT_SECTION symbol of SHF_MERGE section. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Call _bfd_elf_rela_local_sym. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_final_link_relocate): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise for !partial_inplace relocs. Handle relocs against STT_SECTION symbol of SHF_MERGE for partial_inplace relocs. * config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test. * write.c (adjust_reloc_syms): Don't handle relocs against SEC_MERGE section symbols specially. (fixup_segment): Likewise.
2001-11-21 * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...Richard Sandiford2-15/+45
(md_apply_fix3): ...here. Don't prevent the symbol value being subtracted twice from GPREL addends. (tc_gen_reloc): Add the symbol value to a GPREL addend if it was subtracted by the previous function.
2001-11-20Fix md_apply_fix3 typo.Nick Clifton2-1/+6
2001-11-202001-11-20 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+7
* config/tc-m88k.c (md_apply_fix3): Match local variable `val' to usage after md_apply_fix3 cleanups.
2001-11-19 * doc/c-mmix.texi: Use texinfo 4 features.Hans-Peter Nilsson2-20/+25
(MMIX-mmixal): Fix typo.
2001-11-17Fix typo in comment in last commitHans-Peter Nilsson1-1/+1
2001-11-17 * config/tc-cris.c (md_apply_fix3): Cast value, not pointer, inHans-Peter Nilsson2-1/+9
val assignment.
2001-11-172001-11-16 Chris Demetriou <cgd@broadcom.cOm>Chris Demetriou4-0/+225
* gas/mips/elf-rel5.s, gas/mips/elf-rel5.s: New test to test symbol plus offset relocations in various ways. * gas/mips/mips.exp: Run new test.
2001-11-16 * config/tc-m68k.c (md_apply_fix3): Change val back to a signed type.Alan Modra2-2/+6
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* config/tc-hppa.c (md_apply_fix3): Fix a typo.
2001-11-162001-11-15 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* config/tc-alpha.c (md_apply_fix3): Fix a typo.
2001-11-15Update all uses of md_apply_fix to use md_apply_fix3. Make it a void function.Nick Clifton72-1042/+833
2001-11-15 * config/tc-i386.h (md_end): Define.Alan Modra3-15/+65
(i386_elf_emit_arch_note): Declare. (CpuUnknown): Delete. * config/tc-i386.c (default_arch): Constify. (smallest_imm_type): Remove CpuUnknown test. (md_assemble): Don't bother checking cpu_arch_flags non-zero. (i386_elf_emit_arch_note): New function.
2001-11-15 * po/POTFILES.in: Regenerate.Alan Modra2-0/+6
2001-11-15 * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.Thiemo Seufer2-3/+7
2001-11-15revert last change.Alan Modra2-6/+2
2001-11-15gas/ChangeLogAlan Modra2-2/+5
* dwarf2dbg.c (get_frag_fix): Align last frag size.
2001-11-15binutils/ChangeLogAlan Modra4-8/+18
* doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
2001-11-14Use frag_make_room() to grow the obstack.Nick Clifton2-0/+11
2001-11-14Do not remove the symbol's value from the addend for fixups against localNick Clifton2-15/+28
symbols in SEC_MERGE sections - it was not added in, in the first place.
2001-11-13remove diff indicatorsTimothy Wall1-1/+0
2001-11-13Fix tic54x testsuite failures and Lmem disassembly bugs.Timothy Wall15-481/+431
2001-11-13 * config/obj-elf.c (obj_elf_version): Ensure terminating NUL isAlan Modra2-13/+12
put in note section. Use sizeof instead of hard-coded constants.
2001-11-12 * config/tc-mips.c (support_64bit_objects): Define for OBJ_ELF only.Thiemo Seufer4-77/+98
(md_longopts): Allow OPTION_MABI for ELF compilation only. RE-allow OPTION_GP32, OPTION_GP64, OPTION_FP32 for non-ELF compilation. Sort options a bit more logical. (md_parse_option): Allow OPTION_32, OPTION_N32, OPTION_N64, OPTION_MABI only for elf targets. * gas/mips/mips.exp: Change naming of some conditionals to reflect the object format they actually mean. Don't try mips-abi32 and mips-abi32-pic tests for ecoff.
2001-11-12 * config/tc-mips.c (set_at): Add cast needed for varargs.Thiemo Seufer2-181/+248
(load_register): Likewise. (macro): Likewise. Some code reformatting. (macro2): Add cast needed for varargs. (mips16_macro): Likewise.
2001-11-12 * config/tc-mips.c (md_assemble): Remove superflous casts.Thiemo Seufer2-42/+38
(append_insn): Likewise. (mips16_macro_build): Likewise. (macro): Likewise. (mips16_ip): Likewise. (s_cpload): Likewise. (mips_relax_frag): Likewise.
2001-11-12 * config/tc-mips.c (mips_abi_level): Move in front ofThiemo Seufer2-79/+95
mips_set_options. (mips_set_options): Add members gp32, fp32, abi. (file_mips_gp32): New flag. (file_mips_fp32): New flag. (mips_opts): Initialize the new members. (mips_gp32): Remove. (mips_fp32): Remove. (HAVE_32BIT_GPRS): Use the new values from mips_opts. (HAVE_32BIT_FPRS): Likewise. (HAVE_NEWABI): Likewise. (HAVE_64BIT_OBJECTS): Likewise. (md_begin): Likewise. Save default (file) values. (md_parse_option): Use the new values from mips_opts. (s_mipsset): Likewise. Fix logic to keep the ABI selection if possible. Let .set mipsN work together with .set push/pop. Enhance error messages. (mips_elf_final_processing): Use file_mips_* for header processing.
2001-11-11 * gas/mmix/bspec-2.d, gas/mmix/bspec-1.d, gas/mmix/comment-1.d:Hans-Peter Nilsson4-90/+28
Prune and generalize, adjusting to generic ELF file layout changes.
2001-11-10 * config/tc-avr.c (mcu_types): Update for new devices.Denis Chertykov2-9/+25
2001-11-09 * doc/Makefile.am (POD2MAN): Use 'GNU Development Tools' forStephane Carrez4-333/+394
the page man title. * doc/Makefile.in: Rebuild. * doc/as.texinfo: Do not put man SEEALSO in document; Use @command for commands, @option for options; Reorganize usage to clearly identify target specific options.
2001-11-08 * config/tc-mips.c (mips_force_relocation): Remove duplicate code.Thiemo Seufer2-7/+4
2001-11-062001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Eric Christopher2-15/+19
* config/tc-mips.c (my_getSmallParser): Fix small parser bug.
2001-11-05Force got and plt relocations.Martin Schwidefsky3-13/+67
2001-11-04[ gas/ChangeLog ]Chris Demetriou5-4/+14
2001-11-04 Chris Demetriou <cgd@broadcom.com> * configure.in (mips-*-netbsd*): Add support for target. * configure: Regenerate. [ gas/testsuite/ChangeLog ] 2001-11-04 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. (aout): Don't set if *-*-netbsd*. [ ld/ChangeLog ] 2001-11-04 Chris Demetriou <cgd@broadcom.com> * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Add support for targets.
2001-11-02Add French translationNick Clifton4-3/+9249