diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-07-28 02:17:26 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-07-28 02:17:26 +0000 |
commit | 9d98a69423a0bf6d7f6c33f1f05f70c74282d65b (patch) | |
tree | ef8a8d9eb4fda8faa814cb484ce4a1e01ef25372 /gcc/config/arm/arm.c | |
parent | b87487b66a26b2db805a02e59b25bffb9438fb14 (diff) | |
download | gcc-9d98a69423a0bf6d7f6c33f1f05f70c74282d65b.zip gcc-9d98a69423a0bf6d7f6c33f1f05f70c74282d65b.tar.gz gcc-9d98a69423a0bf6d7f6c33f1f05f70c74282d65b.tar.bz2 |
Makefile.in (INSN_ATTR_H): New macro.
* Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
on insn-attr.h with it.
* genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
* insn-addr.h: New header.
(insn_addresses_): Renamed from insn_addresses.
(INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
INSN_ADDRESSES_NEW): New macros.
* genattrtab.c (write_test_expr): Use new macros.
* final.c (insn_addresses, init_insn_lengths): Likewise.
(align_fuzz, shorten_branches): Likewise.
(final): Likewise. Do not reject new insns if their addresses
have been added to INSN_ADDRESSES.
* config/arm/arm.c, config/avr/avr.c: Use new macros.
* config/h8300/h8300.c, config/i370/i370.c: Likewise.
* config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
* config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
* config/sh/sh.c: Likewise.
(output_branchy_insn): Use INSN_ADDRESSES_NEW.
From-SVN: r35307
Diffstat (limited to 'gcc/config/arm/arm.c')
-rw-r--r-- | gcc/config/arm/arm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ec80863..5d83e4b 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -8570,10 +8570,9 @@ void thumb_final_prescan_insn (insn) rtx insn; { - extern int * insn_addresses; - if (flag_print_asm_name) - asm_fprintf (asm_out_file, "%@ 0x%04x\n", insn_addresses[INSN_UID (insn)]); + asm_fprintf (asm_out_file, "%@ 0x%04x\n", + INSN_ADDRESSES (INSN_UID (insn))); } int |