aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2002-11-07 Only run fastcall test for x86 PE targets.Nick Clifton2-1/+9
2002-11-07* config/tc-mips.c (macro_build_lui): _gp_disp is not special onAlexandre Oliva2-2/+8
NEWABI, but we should still emit HI16_S for non-PIC n32.
2002-11-07 * config/tc-alpha.c (alpha_validate_fix): Move code ...Richard Henderson6-48/+1468
(alpha_fix_adjustable): ... here. * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
2002-11-06Adds support for fastcall symbols as used on Microsoft Windows platformsNick Clifton5-1/+15
(i386)
2002-11-052002-11-05 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+8
* config/tc-mips.c (support_64bit_objects): Check *l before it is freed.
2002-11-04Set SEC_DATA and SEC_LOAD flags for sections marked as 's'.Nick Clifton2-1/+8
2002-11-012002-11-01 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+29
* gas/i386/i386.exp: Add "sub". * gas/i386/sub.d: New. * gas/i386/sub.s: New.
2002-11-01 * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.Alan Modra3-7/+9
(TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK. * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed default.
2002-11-01 * dep-in.sed: Fix typo.Alan Modra2-1/+5
2002-10-30 * configure.in: Update ARM CPU patterns.Daniel Jacobowitz3-204/+184
* configure: Regenerated.
2002-10-30 * itbl-lex.l: Use #include <> for generated headers.Daniel Jacobowitz3-2/+8
* itbl-ops.c: Likewise.
2002-10-28 * doc/gasp.texi: Fix typo in deprecation note.Daniel Jacobowitz2-1/+5
2002-10-23Allow an absolute reference to _GLOBAL_TABLE_OFFSET_ to be converted intoNick Clifton2-1/+6
a GOT reloc.
2002-10-23Fix typo in last entryHans-Peter Nilsson1-1/+1
2002-10-23 * config/tc-mmix.h (tc_frob_file_before_adjust): Don't declare.Hans-Peter Nilsson3-48/+8
(tc_frob_file_before_adjust): Don't define. * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused function. (mmix_frob_file_before_adjust): Remove ineffective function.
2002-10-232002-10-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-6/+16
* gas/mips/branch-misc-2.d: Updated.
2002-10-22 * config/tc-cris.c (SIMPLE_EXPR): New macro.Hans-Peter Nilsson3-10/+154
(cris_relax_frag): New function. (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved expressions that will become absolute expressions to relaxation. (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_WORD)>: Expect only absolute expressions. Use the symbol value, not distance to symbol. <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>: Ditto. Correct placement of fixup. (md_assemble): Use SIMPLE_EXPR when dissecting expressions. (gen_bdap): Ditto. * config/tc-cris.h (cris_relax_frag): Declare. (md_relax_frag): Define.
2002-10-22 * gas/cris/rd-pcrel1.d, gas/cris/rd-pcrel1.s,Hans-Peter Nilsson5-0/+205
gas/cris/rd-pcrel2.d, gas/cris/rd-pcrel2.s: New tests.
2002-10-22 * config/obj-elf.c (special_sections): Use correct types for initAlan Modra2-19/+16
array sections. (obj_elf_change_section): Don't mess with init array section type.
2002-10-21 * config/tc-mips.c (mips_need_elf_addend_fixup): Return trueRichard Sandiford6-1/+55
for relocs against symbols in a merged section. testsuite/ * gas/mips/elf-rel7.[sd]: New test. * gas/mips/mips.exp: Run it.
2002-10-19* config/tc-mips.c (md_begin): Add $fcc registers to the symbolAlexandre Oliva2-0/+19
table as register names.
2002-10-18 * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32Martin Schwidefsky2-1/+6
for option -m31.
2002-10-18 * expr.c (operand): Add support for n.nn flonums.Alan Modra2-16/+32
2002-10-17 * itbl-parse.y (entry): Provide empty action.Alan Modra2-0/+5
2002-10-16 * configure.in (BFDVER_H): Set and subst.Alan Modra7-195/+209
* dep-in.sed: Replace bfdver.h with $(BFDVER_H). * Makefile.am: Run "make dep-am". (BFDVER_H): Define. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate.
2002-10-15 * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.Alan Modra2-1/+14
(MD_APPLY_SYM_VALUE): Define for PE too.
2002-10-14 * Makefile.am: Run "make dep-am".Alan Modra5-4/+19
(CPU_OBJ_VALID): sh64 coff is invalid. * as.c: #include "bfdver.h". * Makefile.in: Regenerate. * config.in: Regenerate.
2002-10-14 * config/tc-v850.c (CHECK_): Remove token pasting operator.Alan Modra2-2/+7
2002-10-14 * configure.in (mips64vr-elf, mips64vrel-elf): New config.Richard Sandiford3-186/+184
* configure: Regenerate.
2002-10-13* config/tc-mips.c (s_gpdword): New function.Alexandre Oliva2-3/+60
(mips_pseudo_table): Add .gpdword. (mips_need_elf_addend_fixup): never for NEWABI. (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or GPREL32 as done. (s_cpadd): Generate .cpadd on NEWABI.
2002-10-12 * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.Alan Modra2-1/+5
2002-10-12* gas/mips/mips.exp: Don't xfail relax.Alexandre Oliva5-5/+492
* gas/mips/relax.s: Increase coverage. * gas/mips/relax.d: Add expected output. Use relax.l for as stderr. * gas/mips/relax.l: New file.
2002-10-12* config/tc-mips.h (mips_relax_frag): Take segment as argument.Alexandre Oliva3-13/+460
(md_relax_frag): Adjust macro. * config/tc-mips.c (mips_relax_branch): New variable. (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY, RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New. (RELAX_MIPS16_P): Adjust. (append_insn): Emit branch to non-constant in a frag_var if branch-relaxation is desirable and possible. (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options. (OPTION_ELF_BASE): Adjust. (md_parse_option): Handle new options. (md_apply_fix3): Update comment on EMBEDDED_PIC conditional branch relaxation. (relaxed_branch_length): New function. (md_estimate_size_before_relax): Handle branch frags. (mips_relax_frag): Likewise. (md_convert_frag): Handle branch frags. Warn if branch is relaxed.
2002-10-11 * gas/sh/tlsd.s, gas/sh/tlsd.d: New.Kaz Kojima8-0/+246
* gas/sh/tlsnopic.s, gas/sh/tlsnopic.d: New. * gas/sh/tlspic.s, gas/sh/tlspic.d: New. * gas/sh/basic.exp: Add new tests.
2002-10-11 * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs getKaz Kojima2-0/+29
emitted. (md_apply_fix3): Add TLS relocs. (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and @DTPOFF.
2002-10-11 * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.Alan Modra2-13/+29
(md_estimate_size_before_relax): Likewise for 8 bit branches.
2002-10-10 * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_nJoern Rennecke2-6/+11
inside loop.
2002-10-09* gas/elf.exp: Don't run for sh64*-*-linux*, because it sets theStephen Clarke84-88/+150
lsb in SHmedia code addresses. * gas/sh/basic.exp: Force SHcompact for sh64*-*-linux* to enable recognition of SH-1/2/3/4 instructions. (proc do_fp): Do not run dsp tests for sh64*-*-linux*. * gas/sh/sh64/abi-32.d: Adjust expected output to include sh64*-*-linux* formats too. * gas/sh/sh64/abi-64.d, gas/sh/sh64/basic-1.d, gas/sh/sh64/case-1.d, gas/sh/sh64/case-noexp-1.d, gas/sh/sh64/crange1-1.d, gas/sh/sh64/crange1-2.d, gas/sh/sh64/crange2-1.d, gas/sh/sh64/crange2-2.d, sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5-1.d, gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-2.d, gas/sh/sh64/datal-2.d, gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal32-3.d, gas/sh/sh64/datal64-1.d, gas/sh/sh64/datal64-3.d, gas/sh/sh64/endian-1.d, gas/sh/sh64/endian-2.d, gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/immexpr32-1.d, gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-1.d, gas/sh/sh64/immexpr64-2.d, gas/sh/sh64/lineno.d, gas/sh/sh64/localcom-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/movi-3.d, gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-2.d, gas/sh/sh64/movi64-3.d, gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/pt-1.d, gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt64-1.d, gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt64-32-2.d, gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc64-noexp-1.d, gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptext64-1.d, gas/sh/sh64/ptext64-32-1.d, gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/rel32-1.d, gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, gas/sh/sh64/rel64-5.d, gas/sh/sh64/relax-1.d, gas/sh/sh64/relax-2.d, gas/sh/sh64/relax-3.d, gas/sh/sh64/shift32-1.d, gas/sh/sh64/shift32-3.d, gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/shift64-1.d, gas/sh/sh64/shift64-2.d, gas/sh/sh64/shift64-3.d, gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/syntax-1.d, gas/sh/sh64/syntax-2.d, gas/sh/sh64/ua32-1.d, gas/sh/sh64/ua64-1.d: Likewise.
2002-10-09* config/tc-sh64.c (sh64_target_format): Add support for sh64Stephen Clarke2-4/+19
Linux environment.
2002-10-032002-10-03 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-1/+6
* gas/mips/mips-no-jalx.l: Make error message regexps accomodate tools which target a specific CPU by default.
2002-10-03 * contig/tc-sh.c (sh_local_pcrel): New.Kaz Kojima4-13/+51
(sh_force_relocation): Use sh_local_pcrel. (md_pcrel_from_section): Check the relocation type whether it should be resolved locally. Use S_FORCE_RELOC. * testsuite/gas/sh/pcrel2.d: Check code also.
2002-10-03* gas/sh/sh64/ptc32-noexp-1.d: Adjust for changes to *ABS*Stephen Clarke3-2/+8
symbol generation. * gas/sh/sh64/ptc64-noexp-1.d: Likewise.
2002-10-01 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.Alan Modra2-1/+10
(TC_FORCE_RELOCATION): Tidy arg.
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-4/+4
* gas/mips/mips.exp: Undo the last change.
2002-10-012002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+3
* gas/mips/vr4120.d: Use "#pass" instead of "#..." to skip the rest of output.
2002-09-302002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+9
* gas/mips/mips.exp: Set xfail on empic, empic2, empic3_g1 and empic3_g2 on Linux/mips.
2002-09-302002-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+6
* gas/mips/vr4120.d: Pass -m mips:4120 to objdump.
2002-09-30[gas/]Richard Sandiford17-10/+789
* doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181, vr5400 and vr5500. Add entry for -mfix-vr4122-bugs. * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros. (hilo_interlocks): True for CPU_VR5500. (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500. (mips_fix_vr4122_bugs): New. (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs. (mips_emit_delays): Likewise. (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR. [M_ROLI]: Likewise ror if CPU_HAS_ROR. (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'. (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options. (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs. (OPTION_ELF_BASE): Bump. (md_parse_option): Handle the new options. (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181, vr5400 and vr5500. [gas/testsuite/] * gas/mips/mips4100.[sd]: Move dmadd16 and madd16 checks to... * gas/mips/vr4111.[sd]: ...this new test. * gas/mips/vr4120.[sd], * gas/mips/vr4122.[sd], * gas/mips/vr5400.[sd], * gas/mips/vr5500.[sd]: New tests. * mips.exp: Run them.
2002-09-302002-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+19
* config/tc-mips.c (md_apply_fix3): Subtract the symbol value twice if howto->pcrel_offset is true.
2002-09-28* config/tc-vax.c (md_estimate_size_before_relax): Only try toJason Thorpe2-7/+13
convert undefined references to GOT32/PLT32 if PIC code is requested. Fix comment.