Nick Clifton
0808b8a9ca
Add MIPS64 instructions and tests
2000-12-03 22:10:02 +00:00
Nick Clifton
e70f259005
Finish off adding MIPS32 instructions.
2000-12-03 21:34:08 +00:00
Nick Clifton
b6426432a0
More test case alignments.
2000-12-03 20:57:19 +00:00
Nick Clifton
9abcc8f09d
oops - fix typo
2000-12-03 20:51:44 +00:00
Nick Clifton
4c507252cd
Fix tests to align to a 16 byte boundary.
2000-12-03 20:50:35 +00:00
Kazu Hirata
bc80588841
2000-12-03 Kazu Hirata <kazu@hxi.com>
...
* tc-a29k.c: Fix formatting.
* tc-alpha.c: Likewise.
* tc-arm.c: Likewise.
* tc-cris.c: Likewise.
* tc-hppa.c: Likewise.
* tc-i370.c: Likewise.
* tc-i386.c: Likewise.
* tc-i860.c: Likewise.
* tc-i960.c: Likewise.
* tc-ia64.c: Likewise.
* tc-m68hc11.c: Likewise.
* tc-m68k.c: Likewise.
* tc-m88k.c: Likewise.
* tc-pj.c: Likewise.
* tc-ppc.c: Likewise.
* tc-sh.c: Likewise.
* tc-sparc.c: Likewise.
* tc-tahoe.c: Likewise.
* tc-vax.c: Likewise.
2000-12-03 06:49:23 +00:00
Nick Clifton
c6c98b3833
Add MIPS SB1 machine
2000-12-02 01:10:33 +00:00
Nick Clifton
84ea6cf2c5
Add MIPS V and MIPS 64 machine numbers
2000-12-02 00:55:22 +00:00
Nick Clifton
481294f002
Add mips32 tests.
2000-12-01 23:52:12 +00:00
Nick Clifton
6b52a7eb8b
Fix whitespace
2000-12-01 23:50:11 +00:00
Nick Clifton
e7af610e14
Add MIPS32 as a seperate MIPS architecture
2000-12-01 21:35:38 +00:00
Nick Clifton
4372b67322
Improve MIPS32 support
2000-12-01 20:05:32 +00:00
Nick Clifton
0c92ba5f58
Fix testcase and test results
2000-12-01 19:11:20 +00:00
Nick Clifton
3dacdf2eb1
When calculating offsets, don't accept as constant the difference between the
...
addresses of symbols in two different sections.
2000-12-01 19:06:15 +00:00
Nick Clifton
b90dd60727
Expect mips16 nops to be used for padding when mips16 code generation is
...
enabled.
2000-12-01 18:57:08 +00:00
Nick Clifton
5f68c31953
Update RTEMS targets
2000-12-01 18:19:20 +00:00
Phil Blundell
4ce3447c16
2000-11-30 Philip Blundell <pb@futuretv.com>
...
* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
even in non BFD_ASSEMBLER case.
2000-12-01 17:11:57 +00:00
Diego Novillo
76a0ddacc0
2000-11-30 Diego Novillo <dnovillo@redhat.com>
...
* tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
syntax.
2000-11-30 Diego Novillo <dnovillo@redhat.com>
* intel.s, intel.d: New test for @GOT references.
2000-12-01 03:08:32 +00:00
Nick Clifton
95201dc4d6
Turn Gnu Free Documentation License intoa comment
2000-11-29 21:45:14 +00:00
Richard Henderson
220e750f6f
* dwarf2dbg.c: Rewrite from scratch. Queue all debugging output
...
until dwarf2_finish; use relaxation to get cross-fragment offsets;
thread multiple subsegments properly; handle multiple code
sections properly; emit proper compilation unit info for assembler
generated debugging.
* as.h (enum _relax_state): Add rs_dwarf2dbg.
* dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
(dwarf2dbg_estimate_size_before_relax): Declare.
(dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
* write.c: Include dwarf2dbg.h.
(cvt_frag_to_fill): Handle rs_dwarf2dbg.
(relax_segment): Likewise.
2000-11-29 21:42:41 +00:00
Hans-Peter Nilsson
e46fee7099
(parse_reg): Parse names case-insensitively.
2000-11-28 23:53:51 +00:00
Hans-Peter Nilsson
dda5ecfc74
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
...
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.
2000-11-28 23:48:44 +00:00
Hans-Peter Nilsson
dc6e09d363
* gas/sh/err.exp: New, framework for error-testing.
...
* gas/sh/err-1.s: New test.
2000-11-28 23:39:19 +00:00
Hans-Peter Nilsson
99b222b479
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
...
jump>: Use as_bad_where instead of as_bad. Tweak error message
accordingly. Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.
2000-11-28 23:33:45 +00:00
Kazu Hirata
814f664127
2000-11-27 Kazu Hirata <kazu@hxi.com>
...
* config/obj-aout.h: Fix formatting.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-som.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-z8k.h: Likewise.
2000-11-28 21:29:02 +00:00
Nick Clifton
e47b9e39bc
Move GNU Free Documentation License from the output into a comment
2000-11-28 20:40:35 +00:00
Hans-Peter Nilsson
43c34deef7
* Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
...
targets. Remove i860 from valid a.out targets.
* Makefile.in: Regenerate.
2000-11-28 20:13:07 +00:00
Hans-Peter Nilsson
fcdc20a4d3
* config/tc-cris.c: Include dwarf2dbg.h.
...
(md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn if generating ELF.
(s_cris_file, s_cris_loc): New.
* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
2000-11-28 15:39:15 +00:00
Alan Modra
1688794441
Correct {STANDARD,MRI}_MUL_PRECEDENCE value.
2000-11-28 13:33:22 +00:00
Stephane Carrez
ae3e85dd27
Fix movw/movb operands for 68HC12
2000-11-26 21:18:15 +00:00
Nick Clifton
077b8428ab
Add ARM v5t, v5te and XScale support
2000-11-25 00:21:40 +00:00
Jim Wilson
2434f56546
Eliminate compiler warnings from IA-64 port.
...
* config/tc-ia64.c (pseudo_func): Add missing initializers.
(struct rsrc): Make line unsigned.
(gr_values): Add missing initializer.
(SLOT_NUM_NOT_SET): Add unsigned cast.
(ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
Add ATTRIBUTE_UNUSED to unused parameters.
(convert_expr_to_ab_reg): Add parens.
(convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
(dot_prologue): Initialize grsave when declared.
(md_pseudo_table): Add missing initializers.
(operand_match): Add casts to bfd_vma.
(emit_one_bundle): Delete unused local prev. Make required_template
unsigned.
(specify_resource): Cast i to unsigned.
(note_register_values): Use fprintf_vma.
(print_dependency): Likewise.
2000-11-22 23:08:47 +00:00
Jim Wilson
5e7474a7c9
Fix linux kernel unwind section alignment failure.
...
* config/tc-ia64.c (generate_unwind_image): Call record_alignment
for unwind info section.
(dot_endp): Likewise for unwind section.
2000-11-22 02:10:34 +00:00
Jim Wilson
5a080f897a
Fix assembler error on linux kernel mm/memory.c file.
...
* config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
fix_new_exp.
2000-11-22 01:12:05 +00:00
Jakub Jelinek
b8e904dce5
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
2000-11-21 21:37:44 +00:00
Jakub Jelinek
732d96b6ca
* config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
...
(output_insn): Call dwarf2_emit_insn.
2000-11-21 12:40:14 +00:00
H.J. Lu
a257e27a6e
2000-11-20 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.d: Add 3 "nop"s for the a.out assembler.
* gas/i386/intel.s: Likewise.
2000-11-20 21:16:26 +00:00
Richard Henderson
6d2cf69f91
* ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
...
callers. Don't switch segments. Expect CIE == -1 in .debug_frame.
(check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
2000-11-18 00:13:28 +00:00
Nick Clifton
8179bd9b1b
Add support for .line and .file pseudo ops.
2000-11-17 18:46:43 +00:00
Richard Henderson
316e2c0578
* config/tc-i386.c (md_pseudo_table): Add .file and .loc.
2000-11-17 18:15:53 +00:00
Richard Henderson
a8316fe296
* dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
...
* config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
tri-state definition of alpha_flag_mdebug.
* config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
(s_alpha_file): Store first .file directive.
(s_alpha_stab): New.
(md_pseudo_table): Add stabs and stabn.
2000-11-17 18:07:33 +00:00
Richard Henderson
e346e481c2
* config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
2000-11-17 09:28:04 +00:00
Richard Henderson
39bb5fe6d2
* as.c (main): Call dwarf2_finish.
2000-11-17 08:53:38 +00:00
Richard Henderson
4dc7ead9fd
* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
...
* as.h (debug_type): Clarify documentation of the meaning
of this variable.
* dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
(print_stats): Fix parenthesis problem.
(now_subseg_size): New.
(dwarf2_finish): Use it. If DEBUG_DWARF2, emit bits for .debug_info.
(dwarf2_directive_file): Don't set debug_type.
(dwarf2_where): Honor DEBUG_DWARF2 first.
(dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
do nothing if not emitting dwarf2 debug info, or no work.
* dwarf2dbg.h (dwarf2_emit_insn): Update.
* ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
(ecoff_new_file): Likewise.
* read.c (generate_lineno_debug): Kill ecoff hackery. Update
commentary wrt dwarf2.
* config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
ATTRIBUTE_UNUSED as needed.
(emit_insn): Call dwarf2_emit_insn.
(s_alpha_file): New.
(s_alpha_loc): New.
(s_alpha_coff_wrapper): Don't handle them.
(md_pseudo_table): Update for .file and .loc.
* config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
don't protect with debug_type.
* config/tc-hppa.c (md_assemble): Likewise.
* config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
* config/tc-mn10300.c (md_assemble): Likewise.
* config/tc-sh.c (md_assemble): Likewise.
* config/tc-v850.c (md_assemble): Likewise.
* config/tc-arm.c (arm_end_of_source): Remove.
* config/tc-hppa.c (pa_end_of_source): Remove.
* config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
* config/tc-mn10300.c (mn10300_finalize): Remove.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-v850.c (sh_finalize): Remove.
* config/tc-arm.h (md_end): Remove.
* config/tc-hppa.h (md_end): Remove.
(DWARF2_LINE_MIN_INSN_LENGTH): New.
* config/tc-m68hc11.h (md_end): Remove.
* config/tc-mn10300.h (md_end): Remove.
* config/tc-sh.h (md_end): Remove.
* config/tc-v850.h (md_end): Remove.
* config/tc-ia64.c (emit_one_bundle): Don't protect
dwarf2 bits with debug_type.
(md_assemble): Likewise.
(ia64_end_of_source): Don't call dwarf2_finish.
2000-11-17 08:47:52 +00:00
Jim Wilson
ca683b78f3
Fix minor typos in recent errata workaround patch.
...
* config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
>= 128 instead of > 128. Abort if predicate regno is >= 64 instead of
> 16.
2000-11-16 23:52:01 +00:00
H.J. Lu
77e913df42
Use "[ ]+" instead of "[ ]*".
2000-11-16 22:27:45 +00:00
H.J. Lu
f5776d3d84
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver0.d: Add 64bit support.
* gas/symver/symver1.d: Likewise.
2000-11-16 22:25:13 +00:00
H.J. Lu
6f62085610
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* config/obj-elf.c (obj_elf_symver): Don't check the missing
version name.
2000-11-16 19:29:12 +00:00
H.J. Lu
e206b66f34
2000-11-16 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver.exp: Don't run symver4 nor symver5.
2000-11-16 19:28:10 +00:00
Kazu Hirata
19d63e5d2d
2000-11-15 Kazu Hirata <kazu@hxi.com>
...
* config/tc-tic30.c: Fix formatting.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-z8k.c: Likewise.
2000-11-16 00:59:49 +00:00
DJ Delorie
a8761a19f4
* config/tc-v850.c: Support dwarf2.
...
* config/tc-v850.h: Ditto.
* config/tc-v850.c (cons_fix_new_v850): Don't rely on
parse_cons_expression_v850 to initialize hold_cons_reloc.
2000-11-15 19:22:22 +00:00
Bernd Schmidt
88be23ec6a
Workaround for Itanium A/B step errata
2000-11-15 17:34:00 +00:00
Jim Wilson
72a76794c1
Extend earlier ia64-hpux patches to work correctly for ia64-linux.
...
* config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
return little endian bfd formats.
2000-11-14 23:56:38 +00:00
Kazu Hirata
4a1805b14d
2000-11-14 Kazu Hirata <kazu@hxi.com>
...
* config/aout_gnu.h: Fix formatting.
* config/atof-vax.c: Likewise.
* config/m68k-parse.h: Likewise.
* config/m88k-opcode.h: Likewise.
* config/obj-elf.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/te-386bsd.h: Likewise.
* config/te-hppa.h: Likewise.
* config/te-nbsd.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-sparcaout.h: Likewise.
* config/te-tmips.h: Likewise.
* config/vax-inst.h: Likewise.
* config/vms-conf.h: Likewise.
2000-11-14 20:57:30 +00:00
Jakub Jelinek
c810873da1
* elf64-alpha.c (elf64_alpha_relax_opt_call): Only check bits used
...
by STO_ALPHA constants.
* config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
2000-11-14 20:46:25 +00:00
H.J. Lu
747e13a0ce
2000-11-13 H.J. Lu <hjl@gnu.org>
...
* gas/symver/symver.exp: New for symver test.
* gas/symver/symver0.d: Likewise.
* gas/symver/symver0.s: Likewise.
* gas/symver/symver1.d: Likewise.
* gas/symver/symver1.s: Likewise.
* gas/symver/symver2.l: Likewise.
* gas/symver/symver2.s: Likewise.
* gas/symver/symver3.l: Likewise.
* gas/symver/symver3.s: Likewise.
* gas/symver/symver4.l: Likewise.
* gas/symver/symver4.s: Likewise.
* gas/symver/symver5.l: Likewise.
* gas/symver/symver5.s: Likewise.
* gas/symver/symver6.l: Likewise.
* gas/symver/symver6.s: Likewise.
2000-11-13 21:36:14 +00:00
H.J. Lu
79082ff0c6
2000-11-13 H.J. Lu <hjl@gnu.org>
...
* config/obj-elf.c (elf_frob_symbol): Support
".symver name,name2@@@nodename".
(elf_frob_file_before_adjust): Likewise.
* doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
and ".symver name,name2@@@nodename".
Fix a typo.
2000-11-13 21:23:34 +00:00
H.J. Lu
1da00eb45d
2000-11-12 H.J. Lu (hjl@gnu.org)
...
* config/obj-elf.c (obj_elf_symver): Check missing version
name.
2000-11-13 01:12:31 +00:00
H.J. Lu
f585997b37
2000-11-12 H.J. Lu (hjl@gnu.org)
...
* dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
instead of bfd_vma for non-bfd assemblers.
2000-11-13 01:10:05 +00:00
Hans-Peter Nilsson
935e6103d2
* gas/macros/macros.exp: Mark strings test xfail for sh.
2000-11-11 16:02:33 +00:00
Kazu Hirata
ef5c4bfce0
2000-11-09 Kazu Hirata <kazu@hxi.com>
...
* itbl-ops.c: Fix comment typos.
2000-11-10 00:46:17 +00:00
Jim Wilson
f5a30c2e6e
Correct unwind region length calculations.
...
* config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
(struct unwind): Add next_slot_frag field.
(slot_index): New parameters slot_frag and first_frag. Add code
to add in frag sizes when different. Add comments.
(fixup_unw_records): New locals first_frag and last_frag. Pass new
arguments to slot_index.
(emit_one_bundle): Set slot_frag field. Set next_slot_number after
loop end. Set next_slot_frag field.
2000-11-08 20:55:21 +00:00
H.J. Lu
339681c049
2000-11-07 H.J. Lu <hjl@gnu.org>
...
* doc/as.texinfo (.symver): Updated for versioned symbol
reference.
* obj.h (format_ops): Add the frob_file_before_adjust field.
* config/obj-aout.c (aout_format_ops): Set the
frob_file_before_adjust field to 0.
* config/obj-coff.c (coff_format_ops): Likewise.
* config/obj-ecoff.c (ecoff_format_ops): Likewise.
* config/obj-elf.c (obj_elf_symver): Allow duplicated version
name.
(elf_frob_file_before_adjust): New function to remove unneeded
versioned symbols from the symbol table.
(elf_format_ops): Set the frob_file_before_adjust field to
elf_frob_file_before_adjust.
* config/obj-elf.h (obj_frob_file_before_adjust): Defined if
not defined.
* config/obj-multi.h (obj_frob_file_before_adjust): Defined.
2000-11-08 00:24:23 +00:00
Nick Clifton
4a314ec807
Apply patch from Peter Targett to fix building arc-elf32 target.
2000-11-08 00:06:34 +00:00
Nick Clifton
604d524f12
Fix memory corruption with --gstabs and short length filenames.
2000-11-07 19:36:08 +00:00
Jim Wilson
44f5c83ad3
ia64-hpux patches from Steve Ellcey.
...
* config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
Change M to m for -milp32 or -mlp64 to match gcc.
(dot_endp): Use bytes_per_address instead of 8.
(emit_one_bundle): Use number_to_chars_littleendian instead of
md_number_to_chars.
(fix_insn): Likewise.
(ia64_init): New function.
(ia64_target_format): New function.
(md_begin): Set endianness, arch, and machine as appropriate.
* config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
Make these macros depend on TE_HPUX macro.
(TARGET_FORMAT): Define.
(HOST_SPECIAL_INIT): Define.
* config/te-hpux.h: New file.
* configure.in: Add "ia64-*-hpux*" target to configure.
* configure: Regenerate.
2000-11-07 01:21:10 +00:00
Kazu Hirata
ef99799a42
2000-11-06 Kazu Hirata <kazu@hxi.com>
...
* as.c: Fix formatting.
* dwarf2dbg.c: Likewise.
* itbl-ops.c: Likewise.
* listing.c: Likewise.
* macro.h: Likewise.
* messages.c: Likewise.
* read.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* write.c: Likewise.
2000-11-07 01:18:45 +00:00
Kazu Hirata
7152f1dc45
2000-11-06 Kazu Hirata <kazu@hxi.com>
...
* input-file.c: Fix formatting.
* input-file.h: Likewise.
* input-scrub.c: Likewise.
2000-11-06 21:55:46 +00:00
Nick Clifton
cf055d540c
Add GNU Free Documentation License
2000-11-06 20:27:26 +00:00
Nick Clifton
8d6b5c8e2f
Add include of "dwarf2dbg.h"
2000-11-05 19:28:57 +00:00
Nick Clifton
59ff2774bb
Add support for *-storm-chaos target
2000-11-02 23:03:24 +00:00
Nick Clifton
37d8bb275b
Preserve copy of case clobber opcodes so that .req pseudo op works
2000-11-02 19:32:47 +00:00
Nick Clifton
d75bb8cff6
SWitch over to using dwarf2_generate_asm_lineno
2000-11-02 19:17:04 +00:00
Phil Blundell
6c17cfe4d2
2000-11-02 Theo Honohan <th@futuretv.com>
...
* config/tc-arm.c (do_msr): Improve error message.
2000-11-02 15:10:57 +00:00
Eric Christopher
c51ce5f064
2000-10-31 Eric Christopher <echristo@cygnus.com>
...
* config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
or pc-relative, else use fx_offset.
2000-11-01 00:54:00 +00:00
Jim Wilson
f1bcba5b90
Add tag support. Error for dangling qualifying predicates.
...
* config/tc-ia64.c (struct md): New field tag_fixups.
(ia64_flush_insns): Handle tag_fixups. Error if dangling
qualifying predicate.
(emit_one_bundle): Delete spurious multiplication by one. Handle
tag_fixups.
(ia64_start_line): Error if dangling qualifying predicate.
(defining_tag): New static variable.
(ia64_unrecognized_line, case '['): Parse tags.
(ia64_frob_label): Create tag_fixups.
(md_assemble): Reset md.qp.X_op after using it.
2000-11-01 00:00:34 +00:00
Alan Modra
8637c0456a
Kaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.
2000-10-31 12:33:13 +00:00
Bernd Schmidt
ebeeafe61c
Better bundle template selection
2000-10-31 10:30:11 +00:00
Kazu Hirata
b041f888ac
2000-10-30 Kazu Hirata <kazu@hxi.com>
...
* expr.c: Fix formatting.
* flonum-copy.c: Likewise.
* flonum.h: Likewise.
* gasp.c: Likewise.
* hash.c: Likewise.
2000-10-30 21:59:01 +00:00
Hans-Peter Nilsson
1308f14c97
* config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
...
for weak symbols.
2000-10-30 20:26:42 +00:00
Hans-Peter Nilsson
d8374dcd8a
* as.h (OPTION_MD_BASE): Bump to 190.
...
* as.c (parse_args) <std_longopts>: Add comment about the need to
check OPTION_MD_BASE in as.h.
2000-10-30 20:15:02 +00:00
Nick Clifton
6f6ef0faed
Add m68hc12 to list of supported configurations
2000-10-27 18:57:33 +00:00
Aldy Hernandez
bf1b588105
handle lower cased cpsr and spsr
2000-10-27 13:55:49 +00:00
Nick Clifton
85a3969410
Add --gdwarf2 support to ARM toolchain
2000-10-25 19:15:34 +00:00
Diego Novillo
cce0cbdcd7
2000-10-25 Diego Novillo <dnovillo@cygnus.com>
...
* tc-i386.c: Fix prototype declarations for functions taking no
arguments.
2000-10-25 11:42:51 +00:00
Diego Novillo
64a0c77978
2000-10-24 Diego Novillo <dnovillo@cygnus.com>
...
* tc-i386.c (i386_operand_modifier): Remove.
(build_displacement_string): Remove.
(i386_parse_seg): Remove.
(i386_intel_memory_operand): Remove.
(i386_intel_operand): Re-write using recursive descent parser based
on MASM documentation.
(struct intel_parser_s): New structure.
(intel_parser): New static variable.
(struct intel_token): New structure.
(cur_token, prev_token): New static variables.
(T_NIL): Define.
(T_CONST): Define.
(T_REG): Define.
(T_BYTE): Define.
(T_WORD): Define.
(T_DWORD): Define.
(T_QWORD): Define.
(T_XWORD): Define.
(T_SHORT): Define.
(T_OFFSET): Define.
(T_PTR): Define.
(T_ID): Define.
(intel_match_token): New function.
(intel_get_token): New function.
(intel_putback_token): New function.
(intel_expr): New function.
(intel_e05): New function.
(intel_e05_1): New function.
(intel_e06): New function.
(intel_e06_1): New function.
(intel_e09): New function.
(intel_e09_1): New function.
(intel_e10): New function.
(intel_e10_1): New function.
(intel_e11): New function.
2000-10-24 Diego Novillo <dnovillo@cygnus.com>
* intel.s, intel.d: Add new tests for intel syntax.
2000-10-25 01:39:11 +00:00
Jakub Jelinek
19f7b01094
gas/
...
* config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
instructions to loose any special insn->architecture mask.
* config/tc-sparc.c (v9a_asr_table): Add v9b ASRs.
(sparc_md_end, sparc_arch_types, sparc_arch,
sparc_elf_final_processing): Handle v8plusb and v9b architectures.
(sparc_ip): Handle siam mode operands. Support v9b ASRs (and
request v9b architecture if they are used).
bfd/
* elf32-sparc.c (elf32_sparc_merge_private_bfd_data,
elf32_sparc_object_p, elf32_sparc_final_write_processing):
Support v8plusb.
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data,
sparc64_elf_object_p): Support v9b.
* archures.c: Declare v8plusb and v9b machines.
* bfd-in2.h: Ditto.
* cpu-sparc.c: Ditto.
include/opcode/
* sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B.
Note that '3' is used for siam operand.
opcodes/
* sparc-dis.c (v9a_asr_reg_names): Add v9b ASRs.
(compute_arch_mask): Add v8plusb and v9b machines.
(print_insn_sparc): siam mode decoding, accept ASRs up to 25.
* opcodes/sparc-opc.c: Support for Cheetah instruction set.
(prefetch_table): Add #invalidate.
2000-10-20 10:38:47 +00:00
Alan Modra
73cd359e15
Ensure section sizes are multiples of 16, so that targets like MIPS
...
that pad out sections won't fail these tests.
2000-10-19 03:19:51 +00:00
H.J. Lu
476d4b9b97
2000-10-18 H.J. Lu <hjl@gnu.org>
...
* gas/i386/intel.d: Fix the support for 64bit BFD in the last
change.
2000-10-18 19:46:28 +00:00
Nick Clifton
3ae647a0a9
Fix the previous misapplied patch.
2000-10-18 19:26:57 +00:00
Nick Clifton
5cbdaa7740
RELAX_RELOC_*: New definitions for both BFD_ASSEMBLER and !BFD_ASSEMBLER.
2000-10-18 17:42:27 +00:00
Kazu Hirata
e6c774b42a
2000-10-17 Kazu Hirata <kazu@hxi.com>
...
* debug.c: Fix formatting.
* depend.c: Likewise.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.
* ecoff.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-konst.c: Likewise.
* frags.h: Likewise.
2000-10-17 20:21:45 +00:00
Chandra Chavva
ea20a7da87
Added new option --target-help.
2000-10-17 20:10:20 +00:00
Hans-Peter Nilsson
266cb5f1fb
* config/tc-sh.c (JREG): Remove.
...
(md_convert_frag): Remove #if 0:d code using JREG.
2000-10-16 19:44:39 +00:00
Diego Novillo
6588847e4f
gas:
...
2000-10-15 Diego Novillo <dnovillo@cygnus.com>
* config/tc-i386.c (i386_operand_modifier): Only match
modifiers SHORT and FLAT if they are followed by a space.
(parse_register): When `allow_naked_reg' is set, do not confuse
identifiers that start with a register name with a register.
gas/testsuite:
2000-10-15 Diego Novillo <dnovillo@cygnus.com>
* intel.s, intel.d: Add new tests for naked registers using intel
syntax.
2000-10-15 06:17:36 +00:00
Kazu Hirata
30a2b4ef8f
2000-10-12 Kazu Hirata <kazu@hxi.com>
...
* app.c: Fix formatting.
* as.c: Likewise.
* as.h: Likewise.
* bit_fix.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.
2000-10-11 20:24:32 +00:00
Alan Modra
d01e2a23a3
Revert 2000-10-07 link-once section symbol changes.
2000-10-11 07:05:02 +00:00
Alan Modra
dc1fc56bde
(md_apply_fix): Remove bad assert added 2000-09-26.
2000-10-07 14:38:32 +00:00
Alan Modra
44852b190c
Make elf section symbols global for link-once sections.
2000-10-07 12:52:15 +00:00
Jim Wilson
afa680f89a
Minor DV table update, minor DV checking bug fix.
...
* config/tc-ia64.c (resources_match): Handle IA64_RS_PRr.
* ia64-ic.tbl: Update from Intel.
* ia64-asmtab.c: Regenerate.
2000-10-05 21:55:25 +00:00
Alan Modra
ce8a8b2f62
Correct handling of non-global syms in linkonce sections.
...
Tidy a few comments.
2000-10-05 01:49:36 +00:00
Alan Modra
56d27c17b8
Excise C++ style comments.
2000-10-04 00:28:45 +00:00
Alexandre Oliva
d64552c589
* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
...
multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt
all affected `configure' scripts.
2000-09-30 06:07:00 +00:00
Hans-Peter Nilsson
2e968471c5
Oops. Forgot to commit ChangeLog
2000-09-29 18:40:19 +00:00
Hans-Peter Nilsson
37260204fd
* gas/cris/regprefix-err-1.s, gas/cris/rd-regprefix-1.s,
...
gas/cris/rd-regprefix-1.d, gas/cris/rd-regprefix-1b.d,
gas/cris/us-err-1.s, gas/cris/us-err-2.s, gas/cris/us-err-3.s: New.
* gas/cris/cris.exp: Loop run_dump_test over files matching rd-*.d.
2000-09-29 18:39:31 +00:00
Hans-Peter Nilsson
7b15d66830
Changes to handle varying register prefix and user symbol prefix.
...
* config/tc-cris.c (SYNTAX_RELAX_REG_PREFIX,
SYNTAX_ENFORCE_REG_PREFIX, SYNTAX_USER_SYM_LEADING_UNDERSCORE,
SYNTAX_USER_SYM_NO_LEADING_UNDERSCORE, REGISTER_PREFIX_CHAR): New.
(s_syntax, cris_force_reg_prefix, cris_relax_reg_prefix,
cris_sym_leading_underscore, cris_sym_no_leading_underscore): New.
(demand_register_prefix): New variable.
(md_pseudo_table): New pseudo ".syntax".
(md_longopts): New options --no-underscore and --underscore.
(cris_target_format): Return elf32-us-cris or elf32-cris depending
on symbols_have_leading_underscore.
(get_gen_reg): Accept or require REGISTER_PREFIX_CHAR.
(get_spec_reg): Ditto.
(cris_number_to_imm) <case BFD_RELOC_VTABLE_ENTRY>: Remove FIXME.
Fix formatting.
(md_parse_option) <case 'h' 'H'>: Deprecate; add reference to
--help.
<case OPTION_NO_US, case OPTION_US>: New.
(md_show_usage): Be brief and reformat to match continuation of
--help.
* po/gas.pot: Regenerate.
2000-09-29 18:01:23 +00:00
Alan Modra
170cdc4f01
Update for hppa*w -> hppa*64* configure name change.
2000-09-28 10:16:34 +00:00
Alan Modra
9a6355046e
Modify .PARAM so we need an arg reloc.
2000-09-28 08:43:21 +00:00
Alan Modra
27df9f40e4
For SOM, don't force relocs on out-of-range 12 bit branches.
2000-09-28 06:24:43 +00:00
Alan Modra
47d89dba5e
.plt stub for lazy linking, --stub-group-size=N ld switch,
...
import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc
2000-09-27 17:30:19 +00:00
Alan Modra
5506e1a5d8
External/weak SOM fixes, branch limit corrections.
2000-09-27 16:50:39 +00:00
Kazu Hirata
81d4177baa
2000-09-25 Kazu Hirata <kazu@hxi.com>
...
* config/tc-cris.c: Fix formatting.
* config/tc-d10v.h: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-d30v.h: Likewise.
* config/tc-fr30.c: Likewise.
* config/tc-fr30.h: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m68k.h: Likewise.
* config/tc-pj.h: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sh.h: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-v850.h: Likewise.
* config/tc-vax.h: Likewise.
* config/tc-w65.h: Likewise.
* config/tc-z8k.h: Likewise.
2000-09-26 07:09:19 +00:00
Alan Modra
959ee54136
* config/tc-hppa.c (hppa_fix_adjustable): Do the external and weak
...
checks only for ELF.
(hppa_force_relocation): Likewise.
2000-09-23 10:06:15 +00:00
Jim Wilson
d48ad4f3b6
Add missing fpcmp instructions, and add missing fcmp/fpcmp tests.
...
* gas/ia64/opc-f.pl: Add missing fcmp and fpcmp tests.
* gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate.
* ia64-opc-f.c (ia64_opcodes_f): Add fpcmp pseudo-ops for
gt, ge, ngt, and nge.
* ia64-asmtab.c: Regenerate.
2000-09-22 22:34:41 +00:00
Jim Wilson
139368c9f3
Fix ia64 gas testsuite. Update ia64 DV tables. Fix ia64 gas testsuite again.
...
gas/ChangeLog
* config/tc-ia64.c (dv_sem): Add "stop".
(specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now.
(specify_resource, case IA64_RS_PRr): New for regs 16 to 62.
(specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to
match above.
(mark_resources): Check IA64_RS_PRr.
gas/testsuite/ChangeLog
* gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/dv-imply.d: Regenerate.
* gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l,
gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise.
include/opcode/ChangeLog
* ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP.
opcodes/ChangeLog
* ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change.
* ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP.
(lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62".
* ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update.
* ia64-asmtab.c: Regnerate.
2000-09-22 19:43:50 +00:00
Nick Clifton
151337e879
Redesign and clean up the relaxation mechanism.
2000-09-22 17:33:55 +00:00
Kazu Hirata
0b7410c4da
2000-09-21 Kazu Hirata <kazu@hxi.com>
...
* config/tc-ns32k.c: Fix formatting.
* config/tc-ns32k.h: Likewise.
2000-09-21 20:26:34 +00:00
Kazu Hirata
82efde3a56
2000-09-20 Kazu Hirata <kazu@hxi.com>
...
* config/tc-m32r.c: Fix formatting.
* config/tc-m32r.h: Likewise.
* config/tc-m68851.h: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68hc11.h: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mips.h: Likewise.
* config/tc-mn10200.h: Likewise.
* config/tc-mn10300.h: Likewise.
2000-09-20 22:05:08 +00:00
Kazu Hirata
a75214e5d4
2000-09-20 Kazu Hirata <kazu@hxi.com>
...
* config/tc-mcore.c: Fix formatting.
* config/tc-mcore.h: Likewise.
2000-09-20 21:12:43 +00:00
Kazu Hirata
a4d24084f1
2000-09-20 Kazu Hirata <kazu@hxi.com>
...
* config/tc-tahoe.c: Fix formatting.
* config/tc-tahoe.h: Likewise.
2000-09-20 13:14:47 +00:00
Nick Clifton
4844386e5e
oops - fix date ion ChangeLog entry
2000-09-19 23:10:29 +00:00
Nick Clifton
a05388f48b
Remove jbssi and jbcci.
2000-09-19 23:10:01 +00:00
Alan Modra
9e75421134
* config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): For ELF, allow
...
subtraction of two syms without emitting a relocation.
* config/tc-hppa.c (hppa_force_relocation): Force relocations for
global or weak symbols.
2000-09-18 12:36:03 +00:00
Kazu Hirata
4a4f25cfde
2000-09-15 Kazu Hirata <kazu@hxi.com>
...
* config/tc-h8300.h: Fix formatting.
* config/tc-h8500.c: Likewise.
* config/tc-h8500.h: Likewise.
* config/tc-hppa.h: Likewise.
* config/tc-i370.h: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i860.c: Likewise.
* config/tc-i860.h: Likewise.
* config/tc-i960.h: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ia64.h: Likewise.
2000-09-16 00:56:47 +00:00
Kazu Hirata
1dab94dd91
2000-09-14 Kazu Hirata <kazu@hxi.com>
...
* config/tc-a29k.c: Fix formatting.
* config/tc-alpha.c: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arc.h: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-arm.h: Likewise.
* config/tc-avr.c: Likewise.
* config/tc-avr.h: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic30.h: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-tic80.h: Likewise.
2000-09-15 01:06:52 +00:00
Timothy Wall
7484b8e6d9
Eliminate false DVs on parallel compares.
2000-09-14 21:37:04 +00:00
Kazu Hirata
bf514e2154
2000-09-13 Kazu Hirata <kazu@hxi.com>
...
* config/obj-ecoff.c: Fix formatting.
* config/obj-elf.c: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-evax.h: Likewise.
* config/obj-generic.h: Likewise.
* config/obj-hp300.c: Likewise.
* config/obj-hp300.h: Likewise.
* config/obj-ieee.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
2000-09-14 11:48:26 +00:00
Nick Clifton
156c2f8bf7
Add support for the MIPS32
2000-09-14 01:47:38 +00:00
Kazu Hirata
dcd619bedd
2000-09-12 Kazu Hirata <kazu@hxi.com>
...
* config/obj-aout.c: Fix formatting.
* config/obj-aout.h: Likewise.
* config/obj-bout.c: Likewise.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
2000-09-12 21:49:09 +00:00
Kazu Hirata
a01b9fa4ba
2000-09-12 Kazu Hirata <kazu@hxi.com>
...
* as.h: Fix formatting.
* asintl.h: Likewise.
* bit_fix.h: Likewise.
* dwarf2dbg.h: Likewise.
* expr.h: Likewise.
* flonum.h: Likewise.
* frags.h: Likewise.
* itbl-ops.h: Likewise.
* macro.h: Likewise.
* read.h: Likewise.
* sb.h: Likewise.
* struc-symbol.h: Likewise.
* subsegs.h: Likewise.
* symbols.h: Likewise.
* tc.h: Likewise.
* write.h: Likewise.
2000-09-12 20:57:14 +00:00
Kazu Hirata
f0e652b4aa
2000-09-11 Kazu Hirata <kazu@hxi.com>
...
* bignum-copy.c: Fix formatting.
* ehopt.c: Likewise.
* flonum-copy.c: Likewise.
* flonum-konst.c: Likewise.
* flonum-mult.c: Likewise.
* literal.c: Likewise.
* read.c: Likewise.
* sb.c: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
2000-09-12 03:56:22 +00:00
Kazu Hirata
92774660ac
2000-09-11 Kazu Hirata <kazu@hxi.com>
...
* config/tc-i370.c: Fix formatting.
* config/tc-i960.c: Likewise.
* config/tc-m68k.c: Likewise.
2000-09-11 19:49:46 +00:00
Phil Blundell
222f8079b1
2000-09-09 Philip Blundell <philb@gnu.org>
...
* configure.in (arm*-*-uclinux*): New target.
* configure: Regenerate.
2000-09-10 19:48:45 +00:00
Kazu Hirata
c488923f16
2000-09-09 Kazu Hirata <kazu@hxi.com>
...
* input-file.c: Fix formatting.
* itbl-ops.c: Likewise.
* messages.c: Likewise.
2000-09-09 20:23:15 +00:00
Phil Blundell
e0e3ecca5c
2000-09-08 Philip Blundell <philb@gnu.org>
...
* config/tc-arm.c (md_apply_fix3): Correct handling of ADRL when
offset is negative.
2000-09-08 21:05:33 +00:00
Phil Blundell
d14442f4a6
Mention 2.10 change to ARM MSR semantics
2000-09-08 21:05:06 +00:00
H.J. Lu
5d64ca4ed3
2000-09-07 H.J. Lu <hjl@gnu.org>
...
* configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM.
* configure: Rebuild.
2000-09-07 21:08:51 +00:00
Kazu Hirata
e49bc11ea5
2000-09-07 Kazu Hirata <kazu@hxi.com>
...
* atof-generic.c: Fix formatting.
2000-09-07 21:04:26 +00:00
Kazu Hirata
e13b337af5
2000-09-07 Kazu Hirata <kazu@hxi.com>
...
* config/tc-vax.c: Fix formatting.
* input-scrub.c: Likewise.
2000-09-07 20:28:45 +00:00
Kazu Hirata
bdaaa2e114
2000-09-07 Kazu Hirata <kazu@hxi.com>
...
* config/tc-mips.c: Fix formatting.
2000-09-07 12:45:56 +00:00
Alexandre Oliva
d07ed2cd8e
* config/tc-sh.h (TARGET_FORMAT): Use sh-linux targets.
...
* configure.in (sh-*-linux*): Added.
* configure: Rebuilt.
2000-09-07 04:26:37 +00:00
Jeff Law
a28a3ccf6a
> * config/tc-hppa.c: Fix formatting.
2000-09-07 01:34:02 +00:00
Kazu Hirata
86905619cc
2000-09-06 Kazu Hirata <kazu@hxi.com>
...
* ecoff.c: Fix formatting.
2000-09-06 20:27:03 +00:00
Alexandre Oliva
58cccadbd4
* configure: Rebuilt with new libtool.m4.
2000-09-06 13:57:41 +00:00
Alan Modra
50bbae350b
Correct gas/ChangeLog 2000-06-23 entry, which I thought I'd fixed
...
already. Other changes are whitespace.
2000-09-06 02:58:59 +00:00
Kazu Hirata
542d6675fa
2000-09-03 Kazu Hirata <kazu@hxi.com>
...
* cgen.c: Fix formatting.
* config/tc-ia64.c: Likewise.
2000-09-06 02:36:20 +00:00
Nick Clifton
5b343f5ae8
Regenerate files using fixed aclocal install.
2000-09-06 00:13:34 +00:00
Hans-Peter Nilsson
07e90ad5b7
* config/tc-cris.c: Correct comment typos.
2000-09-05 21:35:01 +00:00
Eric Christopher
d95db69295
fix of changelog
2000-09-05 21:29:23 +00:00
Eric Christopher
1485d40032
2000-09-05 Eric Christopher <echristo@cygnus.com>
...
* config/tc-mn10300.c: Cleanup.
(md_pcrel_from): Enable.
2000-09-05 21:01:39 +00:00