aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2002-09-19 * config/tc-alpha.c (md_pcrel_from): Only adjust special forRichard Henderson6-9/+66
branch type relocs. (alpha_force_relocation): Don't special-case branch type relocs. * gas/alpha/elf-reloc-7.s: New. * gas/alpha/elf-reloc-7.d: New. * gas/alpha/alpha.exp: Run it.
2002-09-19Handle situation where architecture has not yet been selected.Nick Clifton2-0/+10
2002-09-18[ gas/ChangeLog ]Chris Demetriou1-0/+1
2002-09-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. [ gas/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/baddata1.s: New file. * gas/mips/baddata1.l: New file. * gas/mips/mips.exp: Run new test.
2002-09-18[ gas/ChangeLog ]Chris Demetriou6-16/+268
2002-09-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (IS_SEXT_32BIT_NUM): Move closer to top of file. (IS_SEXT_16BIT_NUM): New macro. (macro_build_ldst_constoffset): New function, to build a set of instructions to do a load or store from a constant offset relative to a given register. (macro, s_cprestore): Use macro_build_ldst_constoffset to implement .cprestore pseudo-op. [ gas/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/mips-abi32-pic2.s: New file. * gas/mips/mips-abi32-pic2.d: New file. * gas/mips/mips.exp: Run new test. [ plus, fixed date on prev. gas/testsuite/ChangeLog entry. ]
2002-09-18[ gas/ChangeLog ]Chris Demetriou5-0/+27
2002-09-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (md_apply_fix3): Just return for BFD_RELOC_8. [ gas/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/baddata1.s: New file. * gas/mips/baddata1.l: New file. * gas/mips/mips.exp: Run new test.
2002-09-18[ gas/testsuite/ChangeLog ]Chris Demetriou6-0/+125
2002-09-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/branch-misc-1.d: New file. * gas/mips/branch-misc-1.s: New file. * gas/mips/branch-misc-2.s: New file. * gas/mips/branch-misc-2.d: New file. * gas/mips/mips.exp: Run new tests. [ ld/testsuite/ChangeLog ] 2002-09-18 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/branch-misc-1.d: New file. * ld-mips-elf/branch-misc-2.d: New file. * ld-mips-elf/mips-elf.exp: Run new tests.
2002-09-18 * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.Thiemo Seufer2-8/+10
2002-09-18 * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.Stan Cox2-44/+94
(macro): Likewise for la. Likewise for ld. (mips_after_parse_args): Make -xgot optional, not the default. (md_apply_fix3): Allow composite relocation to set up gp. (tc_gen_reloc): Allow relaxing for newabi. Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local. Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.
2002-09-17Note that an implemented BFD_RELOC_ARM_IMMEDIATE has been done.Nick Clifton2-6/+41
Do not issue reloc number of unimplemented BFD_RELOC_ARM_IMMEDIATE and BFD_RELOC_ARM_OFFSET_IMM relocs - their name is already in the error message - plus remove them from the default case. Warn about unpredictable behavior of LDM and STM instructions.
2002-09-172002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Thiemo Seufer4-0/+17
* gas/mips/jal-range.s: Check for jal overflows. * gas/mips/jal-range.l: List file for it. * gas/mips/mips.exp: Use it.
2002-09-17 * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.Alan Modra2-65/+240
Convert functions to K&R format.
2002-09-17 * config/tc-mips.c (pdr_seg): Define only for ELF.Thiemo Seufer2-4/+12
(s_change_section): Remove unused variable. Don't use for nonELF.
2002-09-17 * config/obj-elf.c (obj_elf_change_section): Move prototype toThiemo Seufer3-2/+8
obj-elf.h * config/obj-elf.h (obj_elf_change_section): Likewise.
2002-09-17 * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.Richard Henderson2-0/+16
(out_debug_info): Likewise.
2002-09-172002-09-16 Bruno Haible <bruno@clisp.org>David O'Brien4-3/+25
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included by a target variant implementation. * elf64-alpha.c: Likewise. * elf32-i386-fbsd.c: New file. * elf64-alpha-fbsd.c: New file. * targets.c: Support bfd_elf32_i386_freebsd_vec and bfd_elf64_alpha_freebsd_vec. * configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec, bfd_elf64_alpha_freebsd_vec. * Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo. (BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c. (BFD64_BACKENDS): Add elf64-alpha-fbsd.lo. (BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c. (elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies. * config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate. * config/tc-i386.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386". * config/tc-i386.c (i386_target_format): Likewise. * config/tc-alpha.h (ELF_TARGET_FORMAT): New macro. (TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha". * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to elf32-i386-freebsd. * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to elf64-alpha-freebsd. Approved by: Alan Modra <amodra@bigpond.net.au> Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>
2002-09-13Do not count FAKE operands when deciding if any operands have been skipped.Nick Clifton2-1/+14
2002-09-11New TI port supports both C4x and C3x series of DSPs.Nick Clifton2-2/+4
2002-09-11Update translationsNick Clifton2-1655/+2724
2002-09-11 * config/tc-i386.c (md_apply_fix3): Allow addend forJakub Jelinek2-3/+6
BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and BFD_RELOC_386_TLS_LE_32.
2002-09-09 * config/tc-hppa.c (md_apply_fix3): Don't set fx_done forJeff Law3-4/+11
marker relocations such as ENTRY/EXIT. * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies to both OBJ_ELF and OBJ_SOM.
2002-09-092002-09-08 Ben Elliston <bje@redhat.com>Ben Elliston13-23/+26
* gas/hppa/basic/basic.exp: Update DejaGnu mail address. * gas/hppa/parse/parse.exp: Likewise. * gas/hppa/reloc/reloc.exp: Likewise. * gas/hppa/unsorted/unsorted.exp: Likewise. * gas/mn10200/basic.exp: Likewise. * gas/mn10300/basic.exp: Likewise. * gas/sh/basic.exp: Likewise. * gas/sh/sh64/sh64.exp: Likewise. * gas/v850/basic.exp: Likewise. * lib/gas-defs.exp: Likewise. * gas/all/gas.exp: Removing limping support for DejaGnu 1.1.1. * gasp/gasp.exp: Likewise.
2002-09-06correct entryAlan Modra1-3/+2
2002-09-05 * gas/i386/absrel.s: New.Alan Modra12-18/+252
* gas/i386/absrel.d: New. * gas/i386/pcrel.s: New. * gas/i386/pcrel.d: New. * gas/i386/i386.exp: Run them. * gas/testsuite/gas/mmix/comment-1.d: Don't test the symbol index, the name will do. * gas/mri/moveml.d: Escape dots. * gas/macros/macros.exp (strings): Add rs6000-*-* to xfails. * gas/mips/beq.s: Don't make text_label global. * gas/mips/mips32.s: Likewise. * gas/mips/mips64-mips3d.s: Likewise.
2002-09-05gas reloc rewrite.Alan Modra95-1786/+1801
2002-09-04 * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.Alan Modra2-36/+40
(ppc_fix_adjustable <coff version>): Cleanup.
2002-09-04 * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.Alan Modra2-6/+26
(md_parse_option): No -a64 without BFD64. (ppc_set_cpu): Select appropriate cpu when ppc_obj64. (ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.
2002-09-04Do not insert non-BookE32 instructions into the hash table if the target cpuNick Clifton2-0/+13
is the BookE32. (case 107575)
2002-08-31 * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, notHans-Peter Nilsson2-1/+6
ATTRIBUTE_UNUSED.
2002-08-29Add linker relaxation to v850 toolchainNick Clifton4-25/+142
2002-08-28Add TMS320C4x supportNick Clifton8-171/+2920
2002-08-28 * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.Alan Modra2-97/+97
(TC_ADJUST_RELOC_COUNT): Tweak param name. (TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise. (TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise. (RELOC_ENUM): Define. (fix_new_internal): Use RELOC_ENUM. (fix_new, fix_new_exp): Likewise. (adjust_reloc_syms): Comment. Remove unnecessary tests on sym != NULL. Replace gotos with continue. (write_relocs): Formatting. Avoid symbol loops in RELOC_EXPANSION_POSSIBLE case too. Report bfd_reloc_outofrange errors, and error number in other cases. (fixup_segment): Remove param names from prototype. Rename "this_segment_type" to "this_segment". Update linkrelax comment. Remove "size, "place" and "where" local vars. Formatting. Update "no symbol" comment. Remove #if 0 and #if 1.
2002-08-27 * gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjustAlan Modra7-38/+49
to suit. Match coff relocs. Match "from address pool" comments. * gas/sparc/pcrel.s: Use 2b label in expressions. * gas/sparc/pcrel64.s: Likewise. * gas/sparc/pcrel.d: Adjust to suit. * gas/sparc/pcrel64.d: Likewise. * gas/vtable/vtable.exp: Move xfails to .. (proc vtable_setup_xfails): .. here. Add i866.
2002-08-27 * gas/macros/macros.exp (strings): Update xfails.Alan Modra2-6/+11
2002-08-27 * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.Alan Modra2-12/+13
2002-08-27 * dwarf2dbg.c: Always include dwarf2dbg.h.Alan Modra6-43/+52
(dwarf2_directive_file): Adjust dummy version args. * ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED. * expr.c (clean_up_expression <O_subtract>): Allow subtraction when symbol values differ. * read.c (do_align): Add ATTRIBUTE_UNUSED to label. (pseudo_set <O_subtract>): Remove unnecessary segment test. * config/obj-bout.c (obj_pseudo_table): Warning fix.
2002-08-26 * gas/m68k/all.exp: xfail non-ELF targets on pcrel test.Alan Modra2-0/+5
2002-08-26 * gas/m68hc11/insns.d: Quote dots.Alan Modra3-3/+6
* gas/m68hc11/opers12.d: Likewise.
2002-08-26 * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.Alan Modra2-8/+9
2002-08-26 * gas/vax/quad.exp: Use quad_elf.s for ELF targets.Alan Modra4-1/+13
* gas/vax/quad.s: Align * gas/vax/quad_elf.s: New version of quad.s with %reg.
2002-08-26 * gas/sparc/sparc.exp (sparc_elf_setup): New.Alan Modra2-0/+14
Use it to xfail for non-ELF targets.
2002-08-26 * gas/tic54x/align.s: Add comment.Alan Modra4-4/+9
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change. * gas/tic54x/extaddr.d: Similarly adjust disassembly tail.
2002-08-26 * config/tc-w65.c (md_section_align): Fix typo.Alan Modra2-2/+7
(md_parse_option): Return 0, not 1.
2002-08-22Note that if '@' is a comment character then another symbol is used to prefixNick Clifton2-0/+10
the section's type.
2002-08-22opcodes: Fix definition of "in rd,imm16" opcode.Nick Clifton2-24/+22
gas: Adjust ptr variable also in "case 0" case.
2002-08-22Add sh-nto supportNick Clifton4-7/+11
2002-08-22 * config/tc-h8300.h (TC_LINKRELAX_FIXUP): Define.Jeff Law2-0/+8
2002-08-22Fix arm-aout failuresNick Clifton14-9/+67
2002-08-22 * gas/ppc/ppc.exp: Don't run e500 test on xcoff targets.Alan Modra3-23/+25
* gas/ppc/astest2.d: Escape dots.
2002-08-212002-08-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-11/+25
* config/tc-ppc.c (ppc_cleanup): Do something only if format is ELF. (ppc_apuinfo_section_add): Define only if format is ELF. (md_assemble): Emit APUinfo section only if format is ELF. Fix formatting.
2002-08-20 * config/tc-arc.c (md_pseudo_table <dwarf2_directive_file>): Cast.Alan Modra13-13/+28
* config/tc-frv.c: Likewise. * config/tc-hppa.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ip2k.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-m68k.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sparc.c: Likewise. * config/tc-v850.c: Likewise.