Marek Michalkiewicz
bdfdba87d1
* config/tc-avr.c (mcu_types): Update for new devices.
2002-05-16 19:24:00 +00:00
Thiemo Seufer
3bec30a830
* config/tc-mips.c (macro): Warn about wrong la/dla use.
2002-05-14 23:35:59 +00:00
Thiemo Seufer
8586fc660d
* config/tc_mips.c (s_cpsetup): Fix completely bogus code which had
...
worked sometimes by accident. Fix copy&paste comment.
2002-05-14 23:29:23 +00:00
Thiemo Seufer
195325d290
* config/tc-mips.c (md_begin): Fix .reginfo and .MIPS.option section
...
alignment for NewABI. Let n32 use .reginfo. Remove useless casts.
(mips_elf_final_processing): Let n32 use .reginfo.
2002-05-14 23:27:35 +00:00
Thiemo Seufer
4db1a35d12
* config/tc-mips.c (append_insn): Fix too small range of variable.
2002-05-14 23:19:39 +00:00
Nick Clifton
7f367f0135
Remove redundant call to listing_prev_line
2002-05-14 20:40:30 +00:00
Nick Clifton
f5b4e9e449
Remove redundant call to listing_prev().
2002-05-13 11:33:07 +00:00
Nick Clifton
f8e42b8cb6
Fix formatting and compile tine warnings when compiling without BFD_ASSEMBLER
...
defined.
2002-05-11 12:08:26 +00:00
Nick Clifton
cce5a61824
Define md_pcrel_from for use with sh-hms target.
2002-05-11 11:31:17 +00:00
Kazu Hirata
5d6255fea6
* config/obj-coff.h: Fix formatting.
...
* config/tc-mcore.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-openrisc.c: Likewise.
* config/tc-or32.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-xstormy16.c: Likewise.
* config/tc-xstormy16.h: Likewise.
2002-05-11 09:53:52 +00:00
Kazu Hirata
cc8a6dd09b
* config/obj-coff.c: Fix formatting.
...
* config/obj-elf.c: Likewise.
* config/tc-alpha.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-hppa.c: Likewise.
2002-05-09 13:12:57 +00:00
Alan Modra
412167cbaa
* config/tc-i386.c (md_estimate_size_before_relax) Don't lose
...
reloc when no_cond_jump_promotion.
2002-05-09 06:35:22 +00:00
Jim Wilson
9197546776
Fix i960-elf abort in cvt_frag_to_fill while compiling libc/stdio/vfprintf.c.
...
* config/tc-i960.c (md_estimate_size_before_relax): Return size of
current variable part of frag.
2002-05-09 01:43:11 +00:00
Kazu Hirata
a1b6236b7d
* config/tc-mmix.c: Fix formatting.
...
* config/tc-mmix.h: Likewise.
2002-05-09 00:33:09 +00:00
Kazu Hirata
8a104df9d7
* config/tc-m68k.c: Fix formatting.
2002-05-08 01:54:04 +00:00
Kazu Hirata
40449e9f8b
* config/tc-ia64.c: Fix formatting.
...
* config/tc-ia64.h: Likewise.
2002-05-06 11:43:03 +00:00
Kazu Hirata
98d3f06fa0
* config/tc-mips.c: Fix formatting.
...
* config/tc-s390.c: Likewise.
* config/tc-s390.h: Likewise.
2002-05-04 17:38:00 +00:00
Alexandre Oliva
8f5b2891d8
* config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
...
information for instructions.
2002-05-03 18:25:08 +00:00
Alan Modra
1cfc59d51f
* config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
...
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
BFD_RELOC_16_BASEREL.
(md_assemble): Likewise.
(md_apply_fix3): Likewise.
2002-05-02 12:41:35 +00:00
Nick Clifton
358b94bdb1
Do not convert a subtract of zero into an add of zero.
2002-05-02 09:11:14 +00:00
Nick Clifton
d8731e7dad
Generate warning if the same destination register is used in parallel
...
instructions.
2002-05-01 09:54:31 +00:00
Alan Modra
200dbde8db
* config/tc-i386.c (extra_symbol_chars): Add '[' to the list.
2002-05-01 00:53:55 +00:00
Alan Modra
819e64205a
* config/tc-s390.c (md_parse_option): Formatting.
2002-04-28 12:34:02 +00:00
Alan Modra
0f3f3d8bfb
* config/tc-i386.c: Formatting fixes, add missing space in error
...
message.
2002-04-28 12:19:46 +00:00
Nick Clifton
3c25c5f6e8
The patch contains mostly fixes for the disassembler. It also fixes
...
a crash of the assembler with some malformed source input.
Long segmented addresses are now correctly relocated.
Finally it updates my email address in the MAINTAINERS file.
2002-04-25 10:59:24 +00:00
Chris Demetriou
af55c2e6c3
2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
...
* config/tc-mips.c (macro_build): Do _not_ allow MIPS-3D
instructions to be generated by macros.
2002-04-24 21:52:47 +00:00
Andreas Schwab
062cd5e7fc
* config/tc-i386.c (output_jump, output_disp)
...
(md_estimate_size_before_relax): Don't set fx_pcrel_adjust any
more.
(md_apply_fix3): Remember addend value for rela relocations.
(tc_gen_reloc): Correctly compute pc-relative relocation addend.
2002-04-24 14:56:07 +00:00
Chris Demetriou
2b2e39bfa5
2002-04-22 Chris Demetriou <cgd@broadcom.com>
...
* config/tc-mips.c (macro_build): Add close-parenthesis missing
from previous change.
(also, fix ChangeLog entry for previous patch.)
2002-04-22 21:50:44 +00:00
Eric Christopher
80cc45a581
2002-04-22 Eric Christopher <echristo@redhat.com>
...
* config/tc-mips.c: Add warning if macro instructions are expanded
into a branch delay slot.
2002-04-22 21:21:06 +00:00
Martin Schwidefsky
302576afe4
* config/tc-s390.c (tc_s390_fix_adjustable): Prevent adjustments to
...
symbols in merge sections.
2002-04-17 15:12:24 +00:00
Tom Rix
76b999d013
Prevent adjustments to symbols in merge sections.
2002-04-16 02:58:11 +00:00
Richard Sandiford
3a18fa4f57
Fix thinko in last commit.
2002-04-11 11:21:01 +00:00
Richard Sandiford
580a832ee0
* doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
...
* config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
argument for the precision.
(gen_to_words): Update accordingly.
2002-04-11 11:11:35 +00:00
Alan Modra
edde18a577
* as.c (parse_args <OPTION_VERSION>): Use VERSION is
...
BFD_VERSION_STRING unavailable.
* config/tc-i386.c (INLINE): Define (for non-BFD assembler).
2002-04-10 13:00:02 +00:00
Joern Rennecke
5bcd00a60a
* config/tc-sh.h (TC_FIX_ADJUSTABLE): Disable adjusting if
...
symbol_used_in_reloc_p is true.
2002-04-09 16:48:03 +00:00
Joern Rennecke
2ed5f585e4
* config/tc-sh.c (md_apply_fix3): Don't zero relocations on big
...
endian hosts.
2002-04-09 15:26:59 +00:00
Thiemo Seufer
874e898605
* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
...
(mips_ip): Remove unused variable.
(md_apply_fix3): Cast signed/unsignes mismatches. Replace
unsigned char with bfd_byte.
(s_file): Remove unused variable.
(s_mips_ent): Likewise.
2002-04-04 07:43:11 +00:00
Tom Rix
fbdbf47268
Various fixes and improvements for d10v.
2002-04-03 19:44:05 +00:00
Richard Henderson
5f44c186d7
* config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
...
in 32-bit mode.
2002-04-02 00:32:41 +00:00
Andreas Schwab
3458b54ce7
* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
...
field for pc-relative fixups.
(output_disp): Likewise.
(md_estimate_size_before_relax): Likewise.
(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
pc-relative fixups in 64bit mode.
2002-03-27 16:22:04 +00:00
Alan Modra
815b453c05
* config/te-aix5.h: Typo fix.
2002-03-22 02:07:36 +00:00
Nick Clifton
f201ccb3e5
Fix typo
2002-03-21 09:13:34 +00:00
Alexandre Oliva
177b4a6ad0
* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
...
the EXTENDED bit here; report the estimate according to the
current size.
2002-03-18 18:56:18 +00:00
Nick Clifton
eb1e0e807a
Add AIX 64 shared library support and emulation layer for binutils
2002-03-18 12:46:27 +00:00
Chris Demetriou
1f25f5d300
[ gas/ChangeLog ]
...
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_set_options): New "ase_mips3d" member.
(mips_opts): Initialize "ase_mips3d" member.
(file_ase_mips3d): New variable.
(CPU_HAS_MIPS3D): New macro.
(md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d
based on command line options and configuration defaults.
(macro_build, mips_ip): Accept MIPS-3D instructions if
mips_opts.ase_mips3d is set.
(OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option):
Add support for "-mips3d" and "-no-mips3d" options.
(OPTION_ELF_BASE): Move to accomodate new options.
(s_mipsset): Support ".set mips3d" and ".set nomips3d".
(mips_elf_final_processing): Add a comment indicating that a
MIPS-3D ASE ELF header flag should be set, when one exists.
* doc/as.texinfo: Document -mips3d and -no-mips3d options.
* doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set
nomips3d" directives.
[ gas/testsuite/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips64-mips3d.s: New file.
* gas/mips/mips64-mips3d.d: Likewise.
* gas/mips/mips.exp: Run new "mips64-mips3d" test.
[ include/opcode/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D
instructions.
(OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks
may be passed along with the ISA bitmask.
[ opcodes/ChangeLog ]
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA
bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add
comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that
indicate that they should dissassemble all applicable
MIPS-specified ASEs.
* mips-opc.c: Add support for MIPS-3D instructions.
(M3D): New definition.
* mips-opc.c: Update copyright years.
2002-03-16 03:09:19 +00:00
Hans-Peter Nilsson
2be11e7ecc
* config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
...
a weak symbol in same section to be within reach.
2002-03-14 10:02:42 +00:00
Andreas Schwab
1e16b528eb
* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
...
body record so that an error is given for misplaced .save
pseudo-ops.
2002-03-12 09:30:42 +00:00
Alan Modra
29b0f896b1
* config/tc-i386.h (REX_OPCODE): Define.
...
(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
(rex_byte): typedef to int.
* config/tc-i386.c: Group prototypes and vars together.
Formatting fixes. Remove occurrences of "register" keyword.
(true): Delete.
(false): Delete.
(mode_from_disp_size): Add INLINE keyword to prototype.
(fits_in_signed_byte): Likewise.
(fits_in_unsigned_byte): Likewise.
(fits_in_unsigned_word): Likewise.
(fits_in_signed_word): Likewise.
(fits_in_unsigned_long): Likewise.
(fits_in_signed_long): Likewise.
(type_names): Constify.
(intel_float_operand): Constify param.
(add_prefix): Use REX_OPCODE.
(md_assemble): Likewise. Modify for changed rex_byte.
(parse_insn): Split out of md_assemble.
(parse_operands): Likewise.
(swap_operands): Likewise.
(optimize_imm): Likewise.
(optimize_disp): Likewise.
(match_template): Likewise.
(check_string): Likewise.
(process_suffix): Likewise.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(finalize_imm): Likewise.
(process_operands): Likewise.
(build_modrm_byte): Likewise.
(output_insn): Likewise.
(output_branch): Likewise.
(output_jump): Likewise.
(output_interseg_jump): Likewise.
(output_disp): Likewise.
(output_imm): Likewise.
2002-03-09 05:36:51 +00:00
Alan Modra
937149dd3c
* config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
...
relocs except when BFD64.
* write.c (number_to_chars_bigendian): Don't abort when N is
larger than sizeof (VAL).
(number_to_chars_littleendian): Likewise.
2002-03-06 04:59:36 +00:00
Jeff Law
40d74fb122
2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
...
* config/tc-hppa.c (md_apply_fix3): Add cast.
(hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
e_rrsel.
2002-03-05 17:57:17 +00:00