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
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
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
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
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
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
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
27df9f40e4
For SOM, don't force relocs on out-of-range 12 bit branches.
2000-09-28 06:24:43 +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
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
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
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
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
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
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
Hans-Peter Nilsson
07e90ad5b7
* config/tc-cris.c: Correct comment typos.
2000-09-05 21:35:01 +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