aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-08-20[gas/]Richard Sandiford6-91/+130
* config/tc-mips.c (macro2): Implement rotates by zero using shifts by zero. [gas/testsuite] * gas/mips/rol.s: Add rotate by zero tests. * gas/mips/rol.d: Update accordingly. * gas/mips/rol64.d: Expect rotates by zero to use dsrl.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-16/+195
From matthew green <mrg@redhat.com> * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere PPC_OPCODE_PPC is, except for BookE architectures. (md_parse_option): Add support for -mspe. (md_show_usage): Add -mspe. (md_parse_option): Add support for -me500 and -me500x2 to generate code for Motorola e500 core complex. (md_show_usage): Add -me500 and -me500x2. (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK): New macros. (ppc_cleanup): New function. (ppc_apuinfo_section_add): New function. (APUID): New macro. (md_assemble): Collect info and write the APUinfo section. * config/tc-ppc.h (md_cleanup): Define. (ppc_cleanup): Export. (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
2002-08-192002-08-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-0/+49
From matthew green <mrg@redhat.com> * e500.s: New tests for e500 instructions. * e500.d: Results for new test. * ppc.exp: Test e500.s.
2002-08-17 * config/obj-elf.c (obj_elf_change_section): Make non-static.Stan Cox3-2/+65
config/tc-mips.c (s_change_section): New function to support IRIX .section pseudo-op.
2002-08-16Correct date on previous ChangeLog entry.Stephen Clarke1-1/+1
2002-08-16 * gas/sh/sh64/datal32-3.d: Formatting change to match the currentStephen Clarke2-1/+6
output of objdump.
2002-08-16Fix assembly of "callt 0x3f"Nick Clifton2-5/+9
2002-08-16* config/tc-mips.c (macro_build_jalr): Make sure we generateAlexandre Oliva2-16/+32
the fix-up against on the right frag. (s_cpsetup): Likewise. Parse third argument as expression, to handle global symbols and forward/backward labels correctly.
2002-08-16 * gas/all/gas.exp (forward references): Don't test c30.Alan Modra10-48/+96
* gas/d30v/guard-debug.d: Use -gstabs rather than -g. * gas/elf/ehopt0.s: Don't use "$" in labels. * gas/ieee-fp/x930509a.exp: Don't test c30. * gas/m68hc11/malis.d: Adjust -I so that test runs when not building in source dir. * gas/mri/mri.exp: Don't run on "m68hc*". * gas/sh/basic.exp (do_fp): Match LE too. (pcrel-coff): Run this version for "sh*-pe*" and rename "sh*-hms" to "sh*-rtems". * gas/sh/pcrel-coff.d: Add -EB to objdump flags. * gas/vtable/vtable.exp: Don't run on linuxecoff. setup_xfail in preference to not running on ELF targets that might one day pass. Add more xfails. Add more targets to the REL list.
2002-08-14Catch attempts to create strings in the abs section.Nick Clifton2-0/+12
2002-08-14Only define TC_VALIDATE_FIX for ELF buildsNick Clifton1-0/+3
2002-08-14Fix compiling for COFF targets.Nick Clifton2-151/+162
Some minor formatting tidyups.
2002-08-142002-08-14 H.J. Lu <hjl@gnu.org>H.J. Lu4-3/+10
* gas/mips/elempic.d: Treat "addiu" and "daddiu" as equivalent when $0 is source. * gas/mips/telempic.d: Likewise. * gas/mips/telempic.d: Likewise.
2002-08-13 * gas/m68hc11/all.exp: Run the new test.Stephane Carrez13-536/+1265
* gas/m68hc11/insns12.s: New file to test specific 68HC12 insns. * gas/m68hc11/insns12.d: New file. * gas/m68hc11/branchs12.s: New test. * gas/m68hc11/branchs12.d: New test. * gas/m68hc11/all_insns.d: Dump the relocs to verify that they are against symbols and not sections (for linker relaxation). * gas/m68hc11/insns-dwarf2.d: Likewise. * gas/m68hc11/insns.d: Likewise. * gas/m68hc11/lbranch.d: Likewise. * gas/m68hc11/lbranch-dwarf2.d: Likewise. * gas/m68hc11/opers12.d: Likewise. * gas/m68hc11/opers12-dwarf2.d: Likewise.
2002-08-13 * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.Stephane Carrez3-17/+161
(TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag according to the reloc. (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define. (TC_FORCE_RELOCATION): Define. (tc_m68hc11_force_relocation): Declare. * config/tc-m68hc11.c (md_pseudo_table): Add relax command. (s_m68hc11_relax): New function for relax group. (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at beginning of jump instruction. (md_pcrel_from): Rename from md_pcrel_from_section and fix address computation. (tc-gen_reloc): Update. (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as PC-relative fixup. (tc_m68hc11_force_relocation): New function, handle new relocs. (tc_m68hc11_fix_adjustable): New to make sure there are enough reloc for the linker relax pass. (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP and VTABLE relocs.
2002-08-13 * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.Stephane Carrez3-0/+125
(md_pseudo_table): Add .mode, .far and .interrupt pseudo op. (s_m68hc11_mode): New function for .mode pseudo op. (s_m68hc11_mark_symbol): New function for .far and .interrupt pseudo op. * config/tc-m68hc11.h (elf_tc_final_processing): Define. (m68hc11_elf_final_processing): Declare.
2002-08-13 * config/tc-m68hc11.c (md_begin): Take into account additionalStephane Carrez2-37/+162
page operand for call instruction. (print_opcode_format): Likewise. (check_range): Likewise for page range checking. (get_operand): Don't skip a possible comma in operands. (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc. (fixup16): Likwise with BFD_RELOC_M68HC11_LO16. (fixup24): New to handle call reloc. (build_insn): Handle missing page operand for call instruction. (find): Likewise. (md_apply_fix3): Take into account new relocs. (get_operand): Fix the mode for indexed indirect addressing. (build_indexed_byte): Fix post index byte for indexed indirect mode.
2002-08-12[gas/]Richard Sandiford6-15/+42
* config/tc-mips.c (mips_ip): Don't work out the value of constant %hi()s here. [gas/testsuite/] * gas/mips/elf-consthilo.[sd]: New test. * gas/mips/mips.exp: Run it.
2002-08-10 * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVORAlan Modra2-16/+36
for ELF, and don't bother checking ELF relocs when non-ELF. (i386_immediate): Allow absolute_section expressions for aout. (i386_displacement): Likewise. Also test bfd_is_com_section. (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF. (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel, not when fx_addsy. Remove dead code.
2002-08-09Add QNX Neutrino PowerPC support and common up QNX functionsNick Clifton3-169/+176
2002-08-09 * config/tc-i386.h: Reorganize.Alan Modra2-82/+83
2002-08-09* config/tc-mips.c (macro): Handle a register plus a 16-bitMaciej W. Rozycki4-1/+21
immediate offset in "dla" and "la" expansions. * gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when $0 is source. * mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as aliases to "daddiu" and "addiu".
2002-08-09 * configure.in: bfd_gas=yes for all i386 targets. Formatting.Alan Modra3-884/+798
Remove "bfd_gas=yes" from target table when covered later. Consolidate some entries. * configure: Regenerate
2002-08-09 * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()Jakub Jelinek5-51/+219
at start of insn, pass it to output_disp and output_imm. (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen in displacement for R_386_32 reloc, use R_386_GOTPC and compute properly addend. (output_imm): Added arguments. Compute properly addend for R_386_GOTPC. (md_apply_fix3): Remove R_386_GOTPC handling. * testsuite/gas/i386/gotpc.s: New. * testsuite/gas/i386/gotpc.d: New. * testsuite/gas/i386/i386.exp: Add gotpc test.
2002-08-06 * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264aRichard Henderson3-3/+19
and m21264b processor names and cpu types. * doc/c-alpha.texi: Documented new types.
2002-08-06 * gas/ppc/altivec_xcoff64.d: Adjust for aix5 target.Alan Modra3-6/+11
* gas/ppc/booke_xcoff64.d: Likewise. Also fix relocs.
2002-08-06 * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.Alan Modra2-2/+20
2002-08-022002-08-01 H.J. Lu <hjl@gnu.org>H.J. Lu3-0/+12
* gas/mips/elf-rel6.s: Add ".p2align 4". * gas/mips/elf-rel6.d: Check nop.
2002-08-01[gas/]Richard Sandiford6-1/+38
* config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend handling to BFD_RELOC_MIPS16_GPREL. [gas/testsuite/] * gas/mips/elf-rel6.[sd]: New test. * gas/mips/mips.exp: Run it.
2002-08-01Ensure that offset to literal pool is computed using signed arithmetic so thatNick Clifton2-7/+18
proper sign extension is performed if X_add_number is a 64-bit integer.
2002-08-012002-08-01 H.J. Lu <hjl@gnu.org>Daniel Jacobowitz2-2/+15
Daniel Jacobowitz <drow@mvista.com> * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced .debug_line section unless it has line information.
2002-07-31Fix bugs and remove compile time warnings for N"32K port.Nick Clifton3-263/+314
2002-07-31Retroactively add entry for Lars Brinkhoff's contribution of the PDP-11 andNick Clifton2-0/+7
2.11BSD a.out support.
2002-07-31Fix range check for immediate operand.Nick Clifton2-1/+6
2002-07-312002-07-30 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+6
* config/tc-mips.c (mips_cpu_info_table): Clean up entries related to Broadcom SB-1 core support.
2002-07-30 * config/tc-mips.c (mips_target_format): Fix formatting.Thiemo Seufer2-8/+22
Add recognition of n32 ABI formats.
2002-07-30* tc-mips.c (load_address): Don't clobber $at when loading aMaciej W. Rozycki2-3/+9
64-bit address in non-PIC code if noat is in effect. (macro): Likewise.
2002-07-30* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructionsMaciej W. Rozycki2-9/+16
used in division/multiply macro expansions similarly to how they are used in the variants with break instructions. (macro2): Likewise.
2002-07-30Add arm-*-nto port.Nick Clifton5-175/+195
2002-07-30Add per-section and per-sub-section literal pools.Nick Clifton3-117/+145
2002-07-29[ gas/testsuite/ChangeLog ]Chris Demetriou4-0/+20
2002-07-26 Chris Demetriou <cgd@broadcom.com> * gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking. * gas/mips/elf_ase_mips16.s: Likewise. * gas/mips/mips.exp: Run the new test. [ ld/testsuite/ChangeLog ] 2002-07-26 Chris Demetriou <cgd@broadcom.com> * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
2002-07-26 * gas/ppc/altivec.d: Invoke "as" with "-a32".Alan Modra2-1/+5