Thiemo Seufer
81a21e382c
* config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
2004-04-23 17:25:50 +00:00
Nick Clifton
2abe3c6ccd
Cope with extra symbols inserted by arm-elf toolchains
2004-04-23 14:15:21 +00:00
Chris Demetriou
1ffcab4b28
2004-04-22 Chris Demetriou <cgd@broadcom.com>
...
* config/tc-mips.c (md_longopts): Remove -membedded-pic option.
(OPTION_MEMBEDDED_PIC): Remove.
(OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
(OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
(OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
(OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
(OPTION_ELF_BASE): Renumber.
(md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
(md_show_usage): Remove mention of -membedded-pic.
* doc/as.texinfo: Remove mention of -membedded-pic.
2004-04-23 04:50:53 +00:00
Kaz Kojima
1f1799d5ad
bfd/
...
* elf32-sh.c (sh_elf_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
opcodes/
* sh-dis.c (print_insn_sh): Print the value in constant pool
as a symbol if it looks like a symbol.
gas/testsuite/
* gas/sh/pcrel2.d: Update.
* gas/sh/tlsd.d: Update.
* gas/sh/tlsnopic.d: Update.
* gas/sh/tlspic.d: Update.
ld/testsuite/
* ld-sh/tlsbin-1.d: Update
* ld-sh/tlspic-1.d: Update.
2004-04-23 02:47:39 +00:00
Thiemo Seufer
4d0d148db8
* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
...
* config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
a.out support.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
USE_GLOBAL_POINTER_OPT.
2004-04-23 02:07:14 +00:00
Thiemo Seufer
017315e42d
* config/tc-mips.c (macro): One more use of load_delay_nop.
2004-04-22 22:00:47 +00:00
Mark Kettenis
d9943e50f8
* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
2004-04-22 20:27:41 +00:00
Thiemo Seufer
269137b29a
* config/tc-mips.c (load_delay_nop): New function.
...
(load_address, macro): Use load_delay_nop() to build a nop
which can be omitted with gpr_interlocks.
* gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot.
* gas/mips/mips-abi32-pic.d: Likewise.
* gas/mips/mips-abi32-pic2.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-gp64-fp32-pic.d: Likewise.
* gas/mips/mips-gp64-fp64-pic.d: Likewise.
* gas/mips/relax-swap1-mips2.d: Likewise.
* gas/mips/lb-svr4pic-ilocks.d: New test.
* gas/mips/mips.exp: Run it.
2004-04-22 18:13:56 +00:00
Thiemo Seufer
24772049ed
* config/tc-mips.c (hilo_interlocks, gpr_interlocks,
...
cop_interlocks): Remove superfluous CPU entries.
2004-04-22 17:58:57 +00:00
Paul Brook
06516a5e02
* config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
...
testsuite
* maverick.c (off8s): Test full shifted operand range.
(MCC2): Define.
(MVDSPACC, MVACCDSP): Use it.
* maverick.d, maverick.s: Regenerate.
2004-04-22 16:18:29 +00:00
Nick Clifton
fd99574ba5
Add support for ColdFire MAC instructions and tidy up support for other m68k
...
variants.
2004-04-22 10:33:16 +00:00
Nick Clifton
69b975477d
Apply Bruno de Bus's patch to record the ARM mapping symbol state on a per-
...
section basis and to switch to the MAP_DATA state when emitting literal pools.
2004-04-22 09:49:03 +00:00
Chris Demetriou
76c6918d30
(forgot to commit this earlier)
...
2004-04-21 Chris Demetriou <cgd@broadcom.com>
* gas/mips/elempic.d: File removed as part of -membedded-pic removal.
* gas/mips/empic.d: Likewise.
* gas/mips/empic.l: Likewise.
* gas/mips/empic.s: Likewise.
* gas/mips/empic2.d: Likewise.
* gas/mips/empic2.s: Likewise.
* gas/mips/empic3_e.d: Likewise.
* gas/mips/empic3_e.s: Likewise.
* gas/mips/empic3_g1.d: Likewise.
* gas/mips/empic3_g1.s: Likewise.
* gas/mips/empic3_g2.d: Likewise.
* gas/mips/empic3_g2.s: Likewise.
* gas/mips/jal-empic-elf-2.d: Likewise.
* gas/mips/jal-empic-elf-2.s: Likewise.
* gas/mips/jal-empic-elf-3.d: Likewise.
* gas/mips/jal-empic-elf-3.s: Likewise.
* gas/mips/jal-empic-elf.d: Likewise.
* gas/mips/jal-empic.d: Likewise.
* gas/mips/la-empic.d: Likewise.
* gas/mips/la-empic.s: Likewise.
* gas/mips/lb-empic.d: Likewise.
* gas/mips/ld-empic.d: Likewise.
* gas/mips/lif-empic.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/ulh-empic.d: Likewise.
* gas/mips/ld-pic.s: Remove code conditional on EMPIC.
* gas/mips/lifloat.s: Likewise.
* gas/mips/mips.exp: Remove -membedded-pic tests and related comments.
2004-04-22 05:24:04 +00:00
Chris Demetriou
2a8043a61b
2004-04-21 Chris Demetriou <cgd@broadcom.com>
...
* gas/mips/elempic.d: File removed as part of -membedded-pic removal.
* gas/mips/empic.d: Likewise.
* gas/mips/empic.l: Likewise.
* gas/mips/empic.s: Likewise.
* gas/mips/empic2.d: Likewise.
* gas/mips/empic2.s: Likewise.
* gas/mips/empic3_e.d: Likewise.
* gas/mips/empic3_e.s: Likewise.
* gas/mips/empic3_g1.d: Likewise.
* gas/mips/empic3_g1.s: Likewise.
* gas/mips/empic3_g2.d: Likewise.
* gas/mips/empic3_g2.s: Likewise.
* gas/mips/jal-empic-elf-2.d: Likewise.
* gas/mips/jal-empic-elf-2.s: Likewise.
* gas/mips/jal-empic-elf-3.d: Likewise.
* gas/mips/jal-empic-elf-3.s: Likewise.
* gas/mips/jal-empic-elf.d: Likewise.
* gas/mips/jal-empic.d: Likewise.
* gas/mips/la-empic.d: Likewise.
* gas/mips/la-empic.s: Likewise.
* gas/mips/lb-empic.d: Likewise.
* gas/mips/ld-empic.d: Likewise.
* gas/mips/lif-empic.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/ulh-empic.d: Likewise.
* gas/mips/ld-pic.s: Remove code conditional on EMPIC.
* gas/mips/lifloat.s: Likewise.
* gas/mips/mips.exp: Remove -membedded-pic tests and related comments.
2004-04-22 02:41:02 +00:00
Chris Demetriou
7a7f4e42f4
[ gas/ChangeLog ]
...
2004-04-20 Chris Demetriou <cgd@broadcom.com>
* NEWS: Note that MIPS -membedded-pic option is deprecated.
[ ld/ChangeLog ]
2004-04-20 Chris Demetriou <cgd@broadcom.com>
* NEWS: Note that MIPS --embedded-relocs option is deprecated.
2004-04-21 00:44:36 +00:00
Nick Clifton
6482c264f4
Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
...
with COFF based x86 ports.
2004-04-20 12:17:16 +00:00
Eric Christopher
5bf100394c
2004-04-19 Eric Christopher <echristo@redhat.com>
...
* config/tc-mips.c (mips_dwarf2_addr_size): Revert part
of previous patch for fix in gcc.
2004-04-19 21:08:43 +00:00
Jakub Jelinek
4dc570c2f5
bfd/
...
* elf32-sparc.c (elf32_sparc_relocate_section): Handle
relocs against hidden/protected undefweak symbols properly.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
gas/testsuite/
* gas/cfi/cfi-sparc64-1.d: Update.
ld/testsuite/
* ld-elfvsb/elfvsb.exp: XFAIL some tests on sparc64.
* ld-shared/shared.exp: Likewise.
2004-04-19 14:25:49 +00:00
Jakub Jelinek
77cd6497db
* config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
2004-04-19 10:35:23 +00:00
Nathan Sidwell
b8861cfbc7
* read.c (do_align): Call md_flush_pending_output, if defined.
2004-04-19 09:32:55 +00:00
Alan Modra
f4c724fc32
* expr.c (operand): Correct checks for ++ and --.
2004-04-16 01:55:27 +00:00
H.J. Lu
a4b6e8f6a4
gas/
...
2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-generic.c: Add some comments.
ld/testsuite/
2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/assert.s: Add a newline.
* ld-scripts/data.s: Likewise.
2004-04-15 01:49:22 +00:00
Richard Sandiford
d766e8ec50
* doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
...
-{no-}mfix-vr4122-bugs.
* config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
(append_insn, mips_emit_delays): Update accordingly.
(OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
(md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
(md_parse_option): Update after above changes.
(md_show_usage): Add -mfix-vr4120.
2004-04-14 07:48:49 +00:00
Richard Sandiford
a11090ae14
* gas/elf/section2.e-mips: Allow named section symbols.
...
* gas/mips/{,el}empic.d, gas/mips/mips{,el}16-[ef].d: Likewise.
2004-04-14 07:37:19 +00:00
Bob Wilson
ed9589d486
* doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
...
of .section directive; add a reference to the ELF .subsection
directive.
2004-04-13 17:56:13 +00:00
Nick Clifton
925d60e5e9
Add test of M32R seth instruction
2004-04-13 16:57:50 +00:00
Nick Clifton
097dba1357
Fix inifnite loop problem with M32R port
2004-04-13 16:47:58 +00:00
Thiemo Seufer
279500dea9
/bfd/ChangeLog
...
* config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
* configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
* configure: Regenerate.
/gas/ChangeLog
* Makefile.am: Remove mips from aout targets.
* Makefile.in: Regenerate.
* configure.in: Remove mips-dec-bsd* target.
* configure: Regenerate.
/ld/ChangeLog
* configure.host: Remove mips*-dec-bsd* target.
* configure.tgt: Likewise.
2004-04-11 04:07:46 +00:00
Alan Modra
b7d7dc6302
PR 96
...
* config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
to struct map_bfd. Adjust MAP macro, and define MAP32, MAP64.
Update "mapping". Restrict some @ modifiers to 32 bit.
2004-04-07 04:50:15 +00:00
Kaz Kojima
f55629b89c
[gas]
...
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
Dhananjay Deshpande <dhananjayd@kpitcummins.com>
* config/tc-sh.c (dont_adjust_reloc_32): New variable.
(sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
dont_adjust_reloc_32 is set.
(md_longopts): Add option -renesas.
(md_parse_option, md_show_usage): Likewise.
* doc/c-sh.texi: Likewise.
[gas/testsuite]
2004-04-01 Asgari Jinia <asgarij@kpitcummins.com>
* gas/sh/renesas-1.s, gas/sh/renesas-1.d: New test for -renesas
option.
* gas/sh/basic.exp: Run the new test.
2004-04-02 01:39:31 +00:00
Nick Clifton
a7844384e8
Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.
2004-04-01 08:22:47 +00:00
Stan Shebs
6c71dbc457
Remove long-obsolete MPW support.
...
* mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
* configure.in: Remove mention of ppc-*-mpw* config.
* configure.in: Likewise.
[testsuite/ChangeLog]
* gas/macros/macros.exp: Remove mention of MPW config.
2004-03-30 18:43:17 +00:00
Nick Clifton
7cc69913c2
make use of meabi_flags be ELF specific
2004-03-30 08:53:05 +00:00
Alan Modra
53fbb48a80
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
2004-03-27 11:36:09 +00:00
Alan Modra
022492317b
* gas/i860/dir-intel03-err.l: Update for junk at end line becoming
...
an error.
* gas/m68hc11/m68hc11.exp: Likewise.
2004-03-27 10:43:58 +00:00
Paul Brook
d507cf36a6
* bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
...
* binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3.
* gas/config/tc-arm.c (meabi_flags): New variable.
(arm_parse_eabi): New function.
(md_begin): Set flags for EABI v3.
(arm_eabis): Add.
(arm_long_opts): Add meabi.
* include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add.
* doc/as.texinf <ARM>: Document -meabi.
* doc/c-arm.texi: Ditto.
2004-03-23 23:05:52 +00:00
Bob Wilson
88d65ad6f1
bfd/ChangeLog:
...
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read
literal tables and check for relocs outside of literal pools.
(elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag.
(elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or
set DF_TEXTREL.
(elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry.
(elf_xtensa_relocate_section): Read literal tables and check for
dynamic relocations in read-only sections and not in literal pools.
gas/ChangeLog:
* config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
tables even when use_literal_section flag is not set.
2004-03-23 01:37:00 +00:00
Andreas Schwab
86b13c282f
* gas/cfi/cfi-m68k.d: Adjust offsets.
2004-03-22 23:16:09 +00:00
Alan Modra
13ef8878af
* config/tc-sh.c: Remove trailing whitespace.
2004-03-22 01:44:29 +00:00
Hans-Peter Nilsson
1048a9ba65
* doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
...
--mul-bug-abort and the default behavior.
* config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
(err_for_dangerous_mul_placement): New variable.
(STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
macros.
(md_cris_relax_table): Have placeholder for STATE_MUL.
(md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
(cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
case doing nothing.
(md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
STATE_BYTE)>: Ditto.
(md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
alignment and position of this frag, emit error message if
suspicious.
(md_assemble): For a multiply insn and when checking it,
transform the current frag into a special frag for that purpose.
(md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
OPTION_MULBUG_ABORT_ON>: Handle new options.
2004-03-21 23:50:38 +00:00
Hans-Peter Nilsson
95631471e2
* gas/cris/regreg.d: Assemble with --no-mul-bug-abort.
...
* gas/cris/mulbug-err-1.s, gas/cris/rd-mulbug-1.d: New tests.
2004-03-21 23:47:54 +00:00
Bob Wilson
a78777489b
* config/tc-xtensa.c (mark_literal_frags): New function.
...
(xtensa_move_literals): Call mark_literal_frags for all literal
segments, including init and fini literal segments.
(xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
2004-03-19 22:35:32 +00:00
Dave Anglin
9992270f89
* elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
...
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations.
* tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
(pa_comm): Set BSF_OBJECT in symbol flags.
2004-03-19 19:19:53 +00:00
Alan Modra
6e1772d5c0
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/gas.pot: Regenerate.
2004-03-19 07:05:56 +00:00
Nathan Sidwell
c95b35a920
* read.c (read_a_source_file): Use demand_empty_rest_of_line.
...
(demand_empty_rest_of_line): Issue an error here.
(ignore_rest_of_line): Silently skip to end.
(demand_copy_string): Issue an error, not warning.
(equals): Likewise.
* config/obj-elf.c (obj_elf_section_name): Likewise.
(obj_elf_section): Likewise.
* config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
(arc_extinst): Likewise.
* config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
(dot_spill): Likewise.
(dot_unwabi): Likewise.
(dot_prologue): Likewise.
2004-03-18 13:31:04 +00:00
Nathan Sidwell
3e4caed2b1
* expr.c (operand): Reject ++ and --.
...
(operator): Likewise.
2004-03-18 09:19:20 +00:00
Kaz Kojima
2ce4cc6025
[gas]
...
* config/tc-sh.c: Include dw2gencfi.h.
(sh_cfi_frame_initial_instructions): New function.
(sh_regname_to_dw2regnum): Likewise.
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
file.
(TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions): Likewise.
(tc_regname_to_dw2regnum): Likewise.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
[gas/testsuite]
* gas/cfi/cfi-sh-1.d: New file.
* gas/cfi/cfi-sh-1.s: Likewise.
* gas/cfi/cfi.exp: Add SH case.
2004-03-18 00:49:23 +00:00
Alan Modra
9183ed4b1b
Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2004-03-17 00:46:25 +00:00
Alan Modra
fdd12ef3c6
opcodes/
...
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO. Update all uses.
(powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.
include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines.
gas/testsuite/
Update gas/ppc/.
ld/testsuite/
Update ld-powerpc/.
2004-03-16 00:58:43 +00:00
Alan Modra
a506b1e62a
* gas/i386/padlock.s: Pad with .p2align.
...
* gas/i386/padlock.d: Adjust.
2004-03-15 00:45:34 +00:00
Bob Wilson
00bbdfe753
* read.c (s_leb128): Call md_flush_pending_output.
2004-03-12 17:48:12 +00:00
Michal Ludvig
26f07657db
2004-03-12 Michal Ludvig <mludvig@suse.cz>
...
* gas/i386/padlock.s, gas/i386/padlock.d: New tests for
VIA PadLock instructions.
* gas/i386/i386.exp: Run padlock tests.
2004-03-12 13:37:38 +00:00
Alan Modra
cc0ec05165
* i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.
...
(M, Mp): Use OP_M.
(None, PADLOCK_SPECIAL, PADLOCK_0): Delete.
(GRPPADLCK): Define.
(dis386): Use NOP_Fixup on "nop".
(dis386_twobyte): Use GRPPADLCK on opcode 0xa7.
(twobyte_has_modrm): Set for 0xa7.
(padlock_table): Delete. Move to..
(grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence
and clflush.
(print_insn): Revert PADLOCK_SPECIAL code.
(OP_E): Delete sfence, lfence, mfence checks.
* gas/i386/katmai.d: Revert last change.
2004-03-12 13:06:50 +00:00
Michal Ludvig
0f10071e3d
2004-03-12 Michal Ludvig <mludvig@suse.cz>
...
* gas/config/tc-i386.c (output_insn): Handle PadLock instructions.
* gas/config/tc-i386.h (CpuPadLock): New define.
(CpuUnknownFlags): Added CpuPadLock.
* include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns.
* opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
(dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
(padlock_table): New struct with PadLock instructions.
(print_insn): Handle PADLOCK_SPECIAL.
2004-03-12 10:14:29 +00:00
Alan Modra
c02908d2c0
opcodes/
...
* i386-dis.c (grps): Use clflush by default for 0x0fae/7.
(OP_E): Twiddle clflush to sfence here.
gas/testsuite/
* gas/i386/katmai.d: Adjust for clflush change.
2004-03-12 07:01:37 +00:00
Andreas Jaeger
b3415246c3
* gas/cfi/cfi-s390x-1.d: Adjust offsets.
2004-03-08 19:12:30 +00:00
Richard Henderson
b793dc7578
* gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.
2004-03-07 23:02:02 +00:00
Andreas Schwab
84c84759cb
* doc/c-hppa.texi (HPPA Directives): Fix typo.
2004-03-07 15:00:16 +00:00
Andreas Jaeger
9fd4314e21
* gas/cfi/cfi-x86_64.d: Adjust offsets.
2004-03-07 10:04:42 +00:00
Richard Henderson
6ec51dba92
* dw2gencfi.c (output_cie): Align length to 4 byte boundary.
...
(cfi_finish): Likewise for fde.
* gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d,
gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d,
gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.
2004-03-07 08:51:21 +00:00
H.J. Lu
bae25f1962
2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-ia64.c (md_assemble): Properly handle NULL
align_frag.
(ia64_handle_align): Don't abort if failed to add a stop bit.
2004-03-05 17:07:12 +00:00
H.J. Lu
ab50923625
2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
2004-03-04 17:08:23 +00:00
Kaz Kojima
28e4a77b9d
* gas/sh/sh64/err-dsp.s: Fix expected error message.
2004-03-04 01:24:21 +00:00
H.J. Lu
d920176395
2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-ia64.c (dot_align): New.
(ia64_do_align): Make it static.
(md_pseudo_table): Use "dot_align" for "align".
(ia64_md_do_align): Don't set align_frag here.
(ia64_handle_align): Add a stop bit to the previous bundle if
needed.
* config/tc-ia64.h (ia64_do_align): Removed.
2004-03-03 19:26:26 +00:00
Joern Rennecke
ae51a426eb
2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
...
opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.
2004-03-03 18:01:49 +00:00
H.J. Lu
9545c4ce85
2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-ia64.c (align_frag): New.
(md_assemble): Set the tc_frag_data field in align_frag for
IA64_OPCODE_FIRST instructions.
(ia64_md_do_align): Set align_frag.
(ia64_handle_align): Add a stop bit if needed.
* config/tc-ia64.h (TC_FRAG_TYPE): New.
(TC_FRAG_INIT): New.
2004-03-03 04:37:38 +00:00
Richard Sandiford
676a64f422
Add fr450 support.
2004-03-01 10:11:46 +00:00
Richard Sandiford
8ae0baa268
cpu/
...
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
(rstb, rsth, rst, rstd, rstq): Delete.
(rstbf, rsthf, rstf, rstdf, rstqf): Delete.
gas/testsuite/
* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
* gas/frv/allinsn.d: Update accordingly.
opcodes/
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.
sim/frv/
* decode.c, decode.h, model.c, sem.c: Regenerate.
sim/testsuite/
* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
2004-03-01 09:26:33 +00:00
Nick Clifton
bd337dde66
Add -no-bitinst switch for M32R2
2004-02-27 14:13:18 +00:00
Nick Clifton
7887817579
Undo previous delta
...
Fix underlying problem by changing the order of tests of rel->howto.
2004-02-27 13:16:39 +00:00
Martin Schwidefsky
1d6d62a482
* config/tc-s390.c (s390_insn): Correct range check for opcode in
...
.insn pseudo operation.
2004-02-27 12:33:11 +00:00
Nick Clifton
4aa3e325e0
Fix seg fault on erroneous input
2004-02-27 12:21:57 +00:00
Eric Christopher
73369e6517
2004-02-26 Eric Christopher <echristo@redhat.com>
...
* config/tc-mips.c (mips_dwarf2_addr_size): New.
* config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
2004-02-26 21:27:32 +00:00
Joern Rennecke
6a5709a5a1
2004-02-23 Andrew Stubbs <andrew.stubbs@superh.com>
...
gas:
* tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
nibble types to assembler.
opcodes:
* sh-dis.c (print_insn_sh): Add REG_N_D nibble type to
ensure that double registers have even numbers.
Add REG_N_B01 for nn01 (binary 01) nibble to ensure
that reserved instruction 0xfffd does not decode the same
as 0xfdfd (ftrv).
* sh-opc.h: Add REG_N_D nibble type and use it whereever
REG_N refers to a double register.
Add REG_N_B01 nibble type and use it instead of REG_NM
in ftrv.
Adjust the bit patterns in a few comments.
2004-02-26 16:14:42 +00:00
Fred Fish
9538538087
Patch reviewed and approved by nickc@redhat.com.
...
2004-02-25 Fred Fish <fnf@redhat.com>
* config/tc-iq2000.c: Add missing \n\ in multiline string literal.
2004-02-26 14:12:26 +00:00
Jim Wilson
b5e0fabd1f
Fix unwind info problems with .align.
...
* config/tc-ia64.c (slot_index): New arg before_relax. Use instead of
finalize_syms.
(fixup_unw_records): New arg before_relax. Pass to slot_index.
(ia64_estimate_size_before_relax): New.
(ia64_convert_frag): Pass 0 to fixup_unw_records. Add comment.
(generate_unwind_image): Pass 1 to fixup_unw_records.
* config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
(md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
2004-02-21 00:24:15 +00:00
Jakub Jelinek
2f01ffbf77
gas/
...
* stabs.c (generate_asm_file): Avoid warning about use of
uninitialized variable.
binutils/
* objcopy.c (copy_section): Avoid warnings.
2004-02-19 17:15:28 +00:00
Jim Wilson
9c59842f2a
Yet another fix for -falign-loops problems.
...
* config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
body, and endp, allow unwind records which do not have a "t"
(time/instruction) field.
2004-02-19 01:24:29 +00:00
Nick Clifton
34920d91a5
Apply fixes for Maverick Crunch
2004-02-18 16:28:18 +00:00
Andreas Jaeger
4dde8e6152
2004-02-13 Hannes Reinecke <hare@suse.de>
...
Jakub Jelinek <jakub@redhat.com>
* dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
2004-02-13 16:12:47 +00:00
Jim Wilson
936cf02ed4
Patch from Steve Ellcey for ia64-hpux.
...
* config/tc-ia64.h (ia64_frob_symbol): New declaration.
(tc_frob_symbol): New macro definition.
* config/tc-ia64.c (ia64_frob_symbol): New routine.
2004-02-11 01:35:14 +00:00
Daniel Jacobowitz
e41f12f300
* config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
...
read-only.
2004-02-09 18:04:26 +00:00
Kaz Kojima
206eb3b641
* gas/sh/basic.exp: Don't do sh4a tests for sh5.
2004-02-09 12:45:52 +00:00
Nathan Sidwell
a8a3b3b21c
* read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
...
(TC_CASE_SENSITIVE): ... this.
* read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
* doc/internals.texi (TC_CASE_SENSITIVE): Document.
2004-02-09 12:12:42 +00:00
Jim Wilson
c97b7ef6e6
Fix unwind abort while compiling glibc, reported by HJ.
...
* config/tc-ia64.c (dot_endp): Delete call to output_endp.
(generate_unwind_image): Re-add it here.
2004-02-07 02:41:20 +00:00
Nathan Sidwell
e4475e391f
.:
...
* dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
* read.h (SKIP_WHITESPACE): Turn into an expression.
* read.c (read_a_source_file): A pseudo is removed by having a
NULL handler.
testsuite:
* gas/macros/test2.s: Lowercase it.
2004-02-06 16:00:21 +00:00
Jim Wilson
5738bc242c
Fix region length calculations when regions end with .align padding.
...
* config/tc-ia64.c (output_endp): New.
(count_bits): Delete.
(ia64_flush_insns, process_one_record, optimize_unw_records): Handle
endp unwind records.
(fixup_unw_records): Handle endp unwind records. Delete code for
shortening prologue regions not followed by a body record.
(dot_endp): Call add_unwind_entry to emit endp unwind record.
* config/tc-ia64.h (unw_record_type): Add endp.
2004-02-05 23:50:21 +00:00
Jim Wilson
d6e78c1105
Fix testcase from David Mosberger.
...
* config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
fill padding bytes with zeroes.
(emit_one_bundle): New locals last_ptr, end_ptr. Rewrite code that
sets unwind_record slot_number and slot_frag fields.
2004-02-04 04:40:24 +00:00
Maciej W. Rozycki
f6a22291f0
gas/
...
* config/tc-mips.c (add_got_offset_hilo): New function.
(macro): Use load_register() and add_got_offset_hilo() to load
constants instead of hardcoding code sequences throughout.
gas/testsuite/
* gas/mips/div.d: Update to accomodate changes in macro
expansions.
gas/mips/elf-rel-got-n32.d: Likewise.
gas/mips/elf-rel-got-n64.d: Likewise.
gas/mips/elf-rel-xgot-n32.d: Likewise.
gas/mips/elf-rel-xgot-n64.d: Likewise.
gas/mips/la-svr4pic.d: Likewise.
gas/mips/la-xgot.d: Likewise.
gas/mips/lca-svr4pic.d: Likewise.
gas/mips/lca-xgot.d: Likewise.
2004-02-02 12:48:21 +00:00
Kaz Kojima
1b5d1a53bd
* gas/sh/sh4a-fp.d: Fix opcode name fssra to fsrra.
...
* gas/sh/sh4a-fp.s: Likewise.
* gas/sh/err-sh4a-fp.s: Likewise.
2004-02-01 22:59:43 +00:00
H.J. Lu
127cab001a
2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-ia64.c (emit_one_bundle): Add proper indentation.
2004-01-28 23:00:02 +00:00
Nick Clifton
6358301e99
(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
...
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for
TARGET_OS=elf.
2004-01-26 18:09:30 +00:00
Chris Demetriou
c8978940ea
2004-01-24 Chris Demetriou <cgd@broadcom.com>
...
* config/tc-mips.c (hilo_interlocks): Change definition
so that MIPS32, MIPS64 and later ISAs are included, along with
the already-included machines. Update comments.
2004-01-25 06:01:03 +00:00
Chris Demetriou
424688adb8
2004-01-24 Chris Demetriou <cgd@broadcom.com>
...
* gas/mips/relax-swap1.s: Add extra space at end, so the
disassembly will consistently have "..." at its end.
* gas/mips/relax-swap2.s: Likewise.
* gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly.
2004-01-25 03:01:42 +00:00
Richard Sandiford
dadcf8010f
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
2004-01-24 17:37:29 +00:00
Daniel Jacobowitz
c3ba240c75
* config/tc-arm.c (tc_gen_reloc): Improve error message for
...
undefined local labels.
2004-01-23 16:29:34 +00:00
Daniel Jacobowitz
34cc4ecc82
* gas/arm/arm.exp: Add "undefined" test.
...
* gas/arm/undefined.s, gas/arm/undefined.l: New files.
2004-01-23 16:29:25 +00:00
Richard Sandiford
e864cecab0
* config/tc-mips.c (load_address, macro): Update comments about
...
NewABI GP relaxation.
2004-01-23 13:11:00 +00:00
Richard Sandiford
67c0d1eb29
* config/tc-mips.c (macro_build): Remove place and counter arguments.
...
(mips_build_lui, macro_build_ldst_constoffset): Likewise.
(mips16_macro_build, macro_build_jalr): Remove counter argument.
(set_at, load_register, load_address, move_register): Likewise.
(load_got_offset, add_got_offset): Likewise.
Update all calls and tidy accordingly.
2004-01-23 13:02:28 +00:00
Richard Sandiford
5fc684199e
* gas/mips/macro-warn-[1234].[sdl]: New tests.
...
* gas/mips/macro-warn-[12]-n32.[dl]: New tests.
* gas/mips/mips.exp: Run them.
2004-01-23 13:01:07 +00:00