2003-06-18 09:49:59 +00:00
|
|
|
# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2002-02-11 05:12:26 +00:00
|
|
|
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
|
1999-05-03 07:29:11 +00:00
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
2000-05-02 00:12:52 +00:00
|
|
|
|
1999-05-03 07:29:11 +00:00
|
|
|
SHELL = @SHELL@
|
|
|
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
DESTDIR =
|
|
|
|
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
|
|
|
|
top_builddir = ..
|
|
|
|
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
|
|
AUTOCONF = @AUTOCONF@
|
|
|
|
AUTOMAKE = @AUTOMAKE@
|
|
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
2000-06-20 20:40:40 +00:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
1999-05-03 07:29:11 +00:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
transform = @program_transform_name@
|
|
|
|
|
|
|
|
NORMAL_INSTALL = :
|
|
|
|
PRE_INSTALL = :
|
|
|
|
POST_INSTALL = :
|
|
|
|
NORMAL_UNINSTALL = :
|
|
|
|
PRE_UNINSTALL = :
|
|
|
|
POST_UNINSTALL = :
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_triplet = @build@
|
|
|
|
host_alias = @host_alias@
|
|
|
|
host_triplet = @host@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
target_triplet = @target@
|
|
|
|
ALL_OBJ_DEPS = @ALL_OBJ_DEPS@
|
|
|
|
AS = @AS@
|
|
|
|
BFDLIB = @BFDLIB@
|
2002-10-16 13:27:04 +00:00
|
|
|
BFDVER_H = @BFDVER_H@
|
1999-05-03 07:29:11 +00:00
|
|
|
CATALOGS = @CATALOGS@
|
|
|
|
CATOBJEXT = @CATOBJEXT@
|
|
|
|
CC = @CC@
|
2000-09-02 21:35:47 +00:00
|
|
|
CXX = @CXX@
|
|
|
|
CXXCPP = @CXXCPP@
|
1999-05-03 07:29:11 +00:00
|
|
|
DATADIRNAME = @DATADIRNAME@
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
EXEEXT = @EXEEXT@
|
2000-11-06 20:27:26 +00:00
|
|
|
GCJ = @GCJ@
|
|
|
|
GCJFLAGS = @GCJFLAGS@
|
1999-08-08 15:56:55 +00:00
|
|
|
GDBINIT = @GDBINIT@
|
1999-05-03 07:29:11 +00:00
|
|
|
GMOFILES = @GMOFILES@
|
|
|
|
GMSGFMT = @GMSGFMT@
|
|
|
|
GT_NO = @GT_NO@
|
|
|
|
GT_YES = @GT_YES@
|
|
|
|
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
|
|
|
|
INSTOBJEXT = @INSTOBJEXT@
|
|
|
|
INTLDEPS = @INTLDEPS@
|
|
|
|
INTLLIBS = @INTLLIBS@
|
|
|
|
INTLOBJS = @INTLOBJS@
|
|
|
|
LEX = @LEX@
|
2000-06-20 13:52:32 +00:00
|
|
|
LIBM = @LIBM@
|
1999-05-03 07:29:11 +00:00
|
|
|
LIBTOOL = @LIBTOOL@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
|
|
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
|
|
|
MSGFMT = @MSGFMT@
|
2000-02-27 16:55:52 +00:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2000-09-02 21:35:47 +00:00
|
|
|
OBJEXT = @OBJEXT@
|
1999-05-03 07:29:11 +00:00
|
|
|
OPCODES_LIB = @OPCODES_LIB@
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
POFILES = @POFILES@
|
|
|
|
POSUB = @POSUB@
|
|
|
|
RANLIB = @RANLIB@
|
2000-09-02 21:35:47 +00:00
|
|
|
STRIP = @STRIP@
|
1999-05-03 07:29:11 +00:00
|
|
|
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
|
|
|
|
USE_NLS = @USE_NLS@
|
|
|
|
VERSION = @VERSION@
|
2000-05-02 00:12:52 +00:00
|
|
|
WARN_CFLAGS = @WARN_CFLAGS@
|
1999-05-03 07:29:11 +00:00
|
|
|
YACC = @YACC@
|
|
|
|
atof = @atof@
|
|
|
|
cgen_cpu_prefix = @cgen_cpu_prefix@
|
|
|
|
extra_objects = @extra_objects@
|
|
|
|
install_tooldir = @install_tooldir@
|
|
|
|
l = @l@
|
|
|
|
obj_format = @obj_format@
|
|
|
|
target_cpu_type = @target_cpu_type@
|
|
|
|
te_file = @te_file@
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
# What version of the manual you want; "all" includes everything
|
|
|
|
CONFIG = all
|
|
|
|
|
2001-03-25 20:32:31 +00:00
|
|
|
# Options to extract the man page from as.texinfo
|
|
|
|
MANCONF = -Dman
|
|
|
|
|
|
|
|
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
|
|
|
|
|
2001-11-09 20:24:02 +00:00
|
|
|
POD2MAN = pod2man --center="GNU Development Tools" \
|
|
|
|
--release="binutils-$(VERSION)" --section=1
|
2001-03-25 20:32:31 +00:00
|
|
|
|
2001-12-08 03:46:03 +00:00
|
|
|
|
1999-05-03 07:29:11 +00:00
|
|
|
man_MANS = as.1
|
|
|
|
|
2002-02-21 16:51:00 +00:00
|
|
|
info_TEXINFOS = as.texinfo
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2001-04-24 15:22:25 +00:00
|
|
|
CPU_DOCS = \
|
|
|
|
c-a29k.texi \
|
2002-02-10 23:25:17 +00:00
|
|
|
c-alpha.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-arc.texi \
|
|
|
|
c-arm.texi \
|
|
|
|
c-d10v.texi \
|
2002-02-09 03:12:24 +00:00
|
|
|
c-cris.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-h8300.texi \
|
|
|
|
c-h8500.texi \
|
|
|
|
c-hppa.texi \
|
|
|
|
c-i370.texi \
|
|
|
|
c-i386.texi \
|
|
|
|
c-i860.texi \
|
|
|
|
c-i960.texi \
|
2002-07-19 07:52:40 +00:00
|
|
|
c-ip2k.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-m32r.texi \
|
|
|
|
c-m68hc11.texi \
|
|
|
|
c-m68k.texi \
|
2001-07-05 00:25:28 +00:00
|
|
|
c-m88k.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-mips.texi \
|
2001-10-30 15:20:14 +00:00
|
|
|
c-mmix.texi \
|
2002-12-30 19:25:13 +00:00
|
|
|
c-msp430.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-ns32k.texi \
|
|
|
|
c-pdp11.texi \
|
|
|
|
c-pj.texi \
|
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
flags, equivalent to -m7400. New -maltivec to enable AltiVec
instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable
64-bit and 32-bit BookE support, respectively. Change -m403 and
-m405 to set PPC403 option.
(md_show_usage): Adjust for new options.
* doc/all.texi: Set PPC.
* doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
* doc/c-ppc.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
* doc/Makefile.in: Regenerate.
[gas/testsuite/ChangeLog]
* gas/ppc/booke.s: New test for Motorola BookE.
* gas/ppc/booke.d: New file.
* gas/ppc/ppc.exp: Test booke.s.
[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for
BookE and PowerPC403 instructions.
[opcodes/ChangeLog]
* ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
instruction field instruction/extraction functions for new BookE
DE form instructions.
(CT): New macro for CT field in an X form instruction.
(DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
instructions.
(PPC64): Don't include PPC_OPCODE_PPC.
(403): New opcode macro for PPC403 processors.
(BOOKE): New opcode macro for BookE processors.
(bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
(bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
(dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
(stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
(mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
(subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
(subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
(addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
(lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
(stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
(tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
(lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
(stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
(lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.
* ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
for a disassembler option of `booke', `booke32' or `booke64' to enable
BookE support in the disassembler.
2001-10-13 01:59:09 +00:00
|
|
|
c-ppc.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-sh.texi \
|
Contribute sh64-elf.
2002-02-08 Alexandre Oliva <aoliva@redhat.com>
Stephen Clarke <Stephen.Clarke@st.com>
* doc/c-sh64.texi: Fix citation of SH64 architecture manual.
2002-01-31 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh.c (md_relax_table): Added default sizes for
non-PC-relative UNDEF_MOVI, and relaxation sequences for
MOVI_16, MOVI_32 and MOVI_48.
* config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning.
(shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI
and MOVI_16.
(shmedia_md_estimate_size_before_relax): Remove redundant
blocks. Set fragP->fr_var even if relaxation type unchanged.
Retain UNDEF_MOVI until expression decays to number.
2002-01-24 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC
relocation types. Take fixP->fx_addnumber into account too.
(shmedia_md_apply_fix): Likewise.
(shmedia_md_convert_frag): Likewise.
(shmedia_build_Mytes): Likewise.
(sh64_consume_datalabel): Complain about nested datalabel.
Support PIC relocs. Call sh_parse_name.
* config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition
in tc-sh.h to SHmedia reloc types.
* config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF,
MOVI_GOTPC): New relaxation constants.
(md_relax_table): Introduce relaxation directives for PIC-related
constants.
(sh_PIC_related_p): Handle datalabel.
(sh_check_fixup): Choose SH5 PIC relocations.
(sh_cons_fix_new): Added BDF_RELOC_64.
(md_apply_fix3, sh_parse_name): Handle GOTPLT.
2002-01-18 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the
current ISA is SHmedia, get 7 bytes.
2001-11-28 Nick Clifton <nickc@cambridge.redhat.com>
* config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a
void function.
* config/tc-sh64.c (shmedia_apply_fix): Rename to
shmedia_apply_fix3 and make void.
2001-05-17 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to
as_bad.
2001-04-12 Alexandre Oliva <aoliva@redhat.com>
* config/tc-sh64.h (md_parse_name): Take &c as argument.
2001-03-14 DJ Delorie <dj@redhat.com>
* doc/Makefile.am (CPU_DOCS): Added c-sh64.texi
* doc/Makefile.in(CPU_DOCS): Ditto.
* doc/c-sh64.texi: New file.
* doc/as.texinfo: Add SH64 support.
2001-03-13 DJ Delorie <dj@redhat.com>
* config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to
A_REUSE_PREV so that its purpose is more obvious.
(shmedia_build_Mytes): Ditto.
2001-03-07 DJ Delorie <dj@redhat.com>
* config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels
before processing.
(sh64_vtable_inherit): Ditto.
(strip_datalabels): New, strip "datalabel" from given line.
* config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable
pseudos.
2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn
call ...
(shmedia_build_Mytes): ... to here.
2001-03-06 DJ Delorie <dj@redhat.com>
* config/tc-sh.c: Remove sh64-specific uaquad now that there
is a generic one.
2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override.
* config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn
address by one in call to dwarf2_emit_insn.
2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com>
Implement ".abi" pseudo and correct .cranges descriptors. Correct
alignment handling broken by imported changes.
* config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h.
(sh64_handle_align): Declare.
(MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h.
(sh64_max_mem_for_rs_align_code): Declare.
(enum sh64_isa_values): Moved here from tc-sh64.c.
(md_do_align): Define.
(sh64_do_align): Declare.
(struct sh64_tc_frag_data): New.
(TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users
changed.
(TC_FRAG_INIT): Change to set new datatype.
(struct sh64_segment_info_type): Rename member
last_flushed_location to last_contents_mark. All users changed.
(md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define.
(shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype.
* config/tc-sh.c (md_pseudo_table): Add ".abi".
(sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead
of unsetting seen_insn.
(md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also
call sh64_update_contents_mark.
(sh_handle_align): Remove HAVE_SH64-conditioned code.
* config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to
enum sh64_isa_values.
(sh64_set_contents_type): Drop segT parameter. All callers changed.
(emitting_crange): Boolean guard moved to file scope from function
scope in sh64_set_contents_type.
(s_sh64_abi): New.
(sh64_update_contents_mark): New; most split out from
sh64_flush_pending_output.
(shmedia_md_end): Call sh64_update_contents_mark. Set
sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified.
(sh64_do_align): New function.
(sh64_max_mem_for_rs_align_code): New function.
(sh64_handle_align): Rename from shmedia_do_align. Make
non-static. Add head comment. Emit zero bytes for n bytes modulo
four. Change return-type to void.
(shmedia_elf_new_section): Remove.
(shmedia_md_assemble): Call sh64_update_contents_mark.
(s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make
new frag. Call sh64_update_contents_mark after making the new
frag.
(sh64_flush_pending_output): Just call sh64_update_contents_mark
and sh_flush_pending_output.
(sh64_flag_output): Also call md_flush_pending_output, but add
condition on not emitting_crange.
(sh64_tc_cons_fix_new): Remove.
2001-01-12 Nick Clifton <nickc@redhat.com>
* config/tc-sh64.c (shmedia_do_align): Fix to work with new
alignment handling scheme imported from sourceware.
2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.h (TARGET_FORMAT): Define.
(sh64_target_format): Prototype.
* config/tc-sh64.c (sh64_target_mach): New function.
2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_md_end): When equating a symbol, use
zero_address_frag instead of copying the frag of the symbol.
(shmedia_frob_file_before_adjust): Ditto.
(shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask
to valueT to remove signedness.
(shmedia_md_convert_frag): Add parameter final. Rename parameter
headers to output_bfd. Do not evaluate symbols if final is false;
do emit fixups.
(shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32,
UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative
to the current frag, call shmedia_md_convert_frag to emit fixups
and make frag_wane neutralize the frag. Update comments.
* config/tc-sh.c (md_convert_frag): Change caller of
shmedia_md_convert_frag.
2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.h: Tweak comments and correct formatting.
* config/tc-sh64.c: Ditto.
(shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit
expansion, MOVI pcrel expansion>: Fix thinko calculating offset
for the no-relocation case.
(shmedia_check_limits): Fix range check being off-by-one for PTA.
* config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef
wrappers.
(SH64PCREL16_F): Increment for proper max-PTA handling. Update
comment.
(SH64PCREL16_M, MOVI_16_M): Correct range thinko.
(SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of
expansion.
(SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression.
Correct comment.
2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case
BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1.
(shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et
al>: Set lowest bit of field to relocate to 1 and rest to empty,
if reloc is emitted.
2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
New options plus bugfixes.
* config/tc-sh.c (md_longopts): New options "-no-expand" and
"-expand-pt32".
(md_parse_option): Handle new options.
(md_show_usage): Add blurb for new options.
* config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro.
(sh64_expand, sh64_pt32): New variables.
(shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16.
(shmedia_md_apply_fix): Hold original fixP->fx_r_type in
orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into
BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative.
<resolved previously-pc-relative relocs>: Handle
SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16.
(shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16),
case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand
points to SHcompact code.
<case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64,
SH64PCREL16)>: Check that ISA of what operand points at and
PTA/PTB matches, or emit error.
(shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and
SHMEDIA_BFD_RELOC_PT.
(shmedia_immediate_op): If pcrel, emit fixup also for constant
operand.
(shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in
condition for MOVI expansion.
<case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if
sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not
sh64_expand.
<case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT
fixup.
(sh64_target_format): Error-check setting of sh64_pt32 and
sh64_expand. Fix typo in check for sh64_shcompact_const_crange.
(shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and
SHMEDIA_BFD_RELOC_PT as coming from SHmedia code.
2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c: Improve comments.
(shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do
not say the linker will check correctness of PTA/PTB expansion.
(shmedia_md_end): Make non-static.
* config/tc-sh64.h (md_end): Define to shmedia_md_end. Add
prototype.
* config/tc-sh.c (sh_finalize): Remove.
* config/tc-sh.h (md_end): Do not define.
Remove prototype for sh_finalize.
2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_frob_section_type): Use a struct
sh64_section_data container when storing section type in tdata
field in elf_section_data.
* config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to
EF_SH5.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_md_assemble): Don't protect
dwarf2_emit_insn call with test on debug_type.
2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (sh64_set_contents_type): Make contents-type
CRT_SH5_ISA32 sticky for 64-bit.
2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com>
Generate .crange sections when switching ISA mode or emitting
constants in same section as code.
* config/tc-sh64.c: Reformat structure definitions.
(sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New
variables.
(sh64_set_contents_type): Rename from sh64_init_section. Rewrite
to emit a .cranges descriptor when contents type changes. Only
emit error if changing contents type and -no-mix is in effect.
(sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output,
sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions.
(shmedia_md_end): Set sh64_end_of_assembly. Pass
sh64_flush_last_crange over sections.
When checking main symbol of datalabel symbol, check for
STO_SH5_ISA32, not ISA type of section in definition.
(shmedia_frob_file_before_adjust): Check main symbol for
STO_SH5_ISA32; don't check ISA type of section in definition.
(shmedia_frob_section_type): Adjust for .cranges; set section flag
to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether
.cranges entries have been output.
(shmedia_elf_new_section): Just call md_flush_pending_output.
(shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE
fix. Do not set tc_segment_info_data.in_code for section. Call
sh64_set_contents_type for SHmedia code.
(s_sh64_mode): Do not call sh64_init_section or set seen_insn to
false. Call md_flush_pending_output.
(sh64_target_format): Check that -no-mix and
-shcompact-const-crange are used in sane combination with other
options.
(shmedia_md_pcrel_from_section): Check type of fix for how to
adjust pc-relative.
(sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32,
not ISA type of section in definition.
* config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to
hold contents-type state.
(md_flush_pending_output): Redefine to sh64_flush_pending_output.
(sh64_flush_pending_output): Declare.
(TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new.
(sh64_tc_cons_fix_new): Declare.
* config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and
call sh64_flag_output.
(md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just
call sh64_set_contents_type to mark SHcompact code and set
seen_insn.
(md_longopts): New options "-no-mix" and
"-shcompact-const-crange".
(md_parse_option): Handle new options.
(md_show_usage): Add blurb for new options.
(md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output.
2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c: Delete investigated and obsolete fixme:s.
(sh64_last_insn_frag): New.
(shmedia_md_convert_frag): Use tc_frag_data field of incoming frag
to get frag for insn opcode for generating fixups; do not assume it
is the same frag.
(shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag
for new insn.
* config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges
section.
(TC_FRAG_TYPE): Define as fragS *.
(TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag.
(sh64_last_insn_frag): Declare.
(sh64_consume_datalabel): Fix typo; check for seginfo != NULL,
not == NULL before dereferencing.
2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com>
Get rid of BFD section flag and EF_SH64_ABI64.
* config/tc-sh64.c (shmedia_frob_section_type): Use
elf_section_data (sec)->tdata, not a specific BFD section flag, to
communicate the section as containing SHmedia code. Describe why.
* config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set
EF_SH64 regardless of ABI.
* config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid"
in error message. Handle resolved expressions for
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64.
(shmedia_check_limits): Handle BFD_RELOC_64.
(sh64_adjust_symtab): Do not decrement the GAS symbol value for
a STO_SH5_ISA32 symbol, only the BFD value.
2000-12-11 Ben Elliston <bje@redhat.com>
* config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct
dwarf2_generate_asm_lineno.
2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com>
Handle PC-relative MOVI expansions with assembler relaxation.
Generate PC-relative relocs from 16-bit PC-relative expressions.
* config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from...
(shmedia_md_pcrel_from_section): ...here.
(shmedia_md_apply_fix): Handle fixups for 16-bit operands that has
turned completely resolved. Adjust relocation type for 16-bit
immediate operands that has turned PC-relative. Adjust back for
MD_PCREL_FROM_SECTION being applied twice.
(shmedia_md_convert_frag): Always emit reloc for expression with
global or weak symbol. Handle relaxation result for PC-relative
expressions.
(shmedia_md_estimate_size_before_relax): An expression with a weak
or global symbol can not be relaxed. Break out tests for
relaxable symbol into variable sym_relaxable.
<cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32,
UNDEF_MOVI)>: Break out any PC-relative expression and change
relaxation type.
(shmedia_build_Mytes): CSE &operands->operands[j] into variable
opjp.
<case A_IMMS16>: Fix typo for initial minor relaxation type of
MOVI expansion. If X_op_symbol of the immediate expression is
set, make an expression symbol for the argument to frag_var.
* config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New
relaxations.
(END): Adjust for new relaxations.
(md_relax_table): Add entries for new relaxations.
2000-12-07 Ben Elliston <bje@redhat.com>
* config/tc-sh64.c (shmedia_parse_reg): Initialize variable len.
2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and
SHORI operand offsets in PT/PTA/PTB expansions.
2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com>
Implement DataLabel semantics.
* config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call
shmedia_frob_file_before_adjust.
* config/tc-sh64.c [! OBJ_ELF]: Emit #error.
(DATALABEL_SUFFIX): Define.
(shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk
symbol list to update "datalabel" symbols to their main symbol
counterparts.
(shmedia_frob_file_before_adjust): New.
(sh64_adjust_symtab): For remaining datalabel symbols, set to
undefined and set STT_DATALABEL.
(sh64_frob_label): Initialize TC symbol field.
(sh64_consume_datalabel): Actually implement semantics. New
parameter operandf, call it instead of expression.
(sh64_exclude_symbol): New.
* config/tc-sh64.h (md_parse_name): Pass on the function operand
to sh64_consume_datalabel.
(tc_symbol_new_hook): Define to tc_frob_symbol.
(TC_SYMFIELD_TYPE): Define to symbolS *.
(tc_frob_symbol): Define to call sh64_exclude_symbol.
2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default
case.
(shmedia_md_assemble): Call dwarf2_generate_asm_lineno if
generating dwarf2 debug information.
2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and
elf64-sh64 for the 64-bit ABI.
* config/tc-sh.c (md_show_usage): Tweak usage output for -abi=*
option.
2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for
case-insensitivity.
2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c: Tweak comments, formatting and error messages.
(enum sh64_abi_values): New type.
(enum sh64_isa_values): New type.
(sh64_isa_mode): Replace shmedia_mode. All referers changed.
(seen_shcompact_mode, seen_shmedia_mode): Delete.
(sh64_abi): Replace shmedia_64.
(shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64),
C (MOVI_IMM_32, MOVI_32)>: Correct register number handling.
(s_sh64_mode): Check validity for this target.
(sh64_target_format): Initialize defaults for ISA and ABI.
Fallback to old object format if no SH64 ISA or ABI has been
specified.
* config/tc-sh.c (md_parse_option): Check combinations for errors.
(sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit
ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified.
* config/tc-sh64.h: Fix typo in comment.
2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com>
* config/tc-sh64.c (shmedia_md_estimate_size_before_relax)
<PT fixups for absolute values>: Size will be longest, not
shortest.
(shmedia_md_convert_frag): Disable PTB-warning machinery. Correct
all MOVI and SHORI operand offsets in PT/PTA/PTB expansions.
* config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0
and l1 to hold lowercase of two first characters. Change all
remaining TO_LOWER to tolower.
* config/tc-sh64.c (TO_LOWER): Delete.
(shmedia_find_cooked_opcode): Use tolower, not TO_LOWER.
(md_parse_name): Define.
(sh64_consume_datalabel): Declare.
(DOLLAR_DOT): Define.
* config/tc-sh64.c (shmedia_parse_exp): New.
(sh64_consume_datalabel): New; just ignoring datalabel semantics.
(shmedia_parse_reg): Remove const from src
parameter.
(shmedia_get_operands): Ditto for args parameter and ptr variable.
(shmedia_md_assemble): Ditto for op_end variable.
(shmedia_get_operand): Ditto for ptr parameter and src variable.
Use shmedia_parse_exp, not parse_exp.
* config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type
parameter. All callers changed.
(shmedia_get_operand): Add shmedia_arg_type parameter. All
callers changed.
(shmedia_parse_reg): Put first two character in local variables.
Use tolower, not TO_LOWER. If no register is found and argtype
indicates a control register, scan shmedia_creg_table
case-insensitive.
2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (CPU_TYPES): Add sh64.
(TARGET_CPU_CFILES): Add config/tc-sh64.c.
(TARGET_CPU_HFILES): Add config/tc-sh64.h.
Regenerate dependencies.
* Makefile.in: Regenerate.
* configure.in: Add support for sh64-*-elf*.
* configure: Regenerate.
* config/tc-sh64.h: New.
* config/tc-sh64.c: New.
* config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos
.mode, .isa and .uaquad.
[HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32,
SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define.
[HAVE_SH64] (END): Define as 10.
[HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32,
SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48,
MOVI_64): Define.
[HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH,
SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F,
SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH,
MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH):
Define.
(md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia.
(md_begin) [HAVE_SH64]: Call shmedia_md_begin.
(parse_reg) [HAVE_SH64]: Parse register names case-insensitive.
(md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling
SHmedia instructions. Handle state-change after switching to
SHcompact.
(md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*.
(md_parse_option) [HAVE_SH64]: Parse new options.
(md_show_usage) [HAVE_SH64]: Show usage of new options.
(md_convert_frag) [HAVE_SH64] <default>: Call
shmedia_md_convert_frag instead of abort.
(sh_force_relocation) [HAVE_SH64]: Also force relocation for
BFD_RELOC_SH_SHMEDIA_CODE.
(sh_elf_final_processing) [HAVE_SH64]: Set flags identifying
SHcompact or SHmedia code.
(md_apply_fix) [HAVE_SH64] <default>: Return result from calling
shmedia_md_apply_fix instead of abort.
(md_estimate_size_before_relax) [HAVE_SH64] <default>: Return
result from calling shmedia_md_estimate_size_before_relax instead
of calling abort.
(sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align
do the work.
(tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call
shmedia_init_reloc and do nothing more if it returns non-zero.
(sh_finalize) [HAVE_SH64]: Call shmedia_md_end.
* po/POTFILES.in: Regenerate.
* po/gas.pot: Regenerate.
2002-02-08 06:32:23 +00:00
|
|
|
c-sh64.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-sparc.texi \
|
|
|
|
c-tic54x.texi \
|
|
|
|
c-vax.texi \
|
|
|
|
c-v850.texi \
|
2003-04-01 15:50:31 +00:00
|
|
|
c-xtensa.texi \
|
2001-04-24 15:22:25 +00:00
|
|
|
c-z8k.texi
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
# This one isn't ready for prime time yet. Not even a little bit.
|
|
|
|
|
2002-12-02 15:42:15 +00:00
|
|
|
noinst_TEXINFOS = internals.texi
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = asconfig.texi
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = gasver.texi
|
|
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
|
|
|
CONFIG_HEADER = ../config.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
|
|
|
TEXI2DVI = `if test -f $(top_srcdir)/../texinfo/util/texi2dvi; then echo $(top_srcdir)/../texinfo/util/texi2dvi; else echo texi2dvi; fi`
|
|
|
|
TEXINFO_TEX = $(top_srcdir)/../texinfo/texinfo.tex
|
2002-02-21 16:51:00 +00:00
|
|
|
INFO_DEPS = as.info
|
|
|
|
DVIS = as.dvi
|
|
|
|
TEXINFOS = as.texinfo
|
1999-05-03 07:29:11 +00:00
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
MANS = $(man_MANS)
|
|
|
|
|
|
|
|
NROFF = nroff
|
|
|
|
DIST_COMMON = Makefile.am Makefile.in
|
|
|
|
|
|
|
|
|
2000-05-02 00:12:52 +00:00
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
1999-05-03 07:29:11 +00:00
|
|
|
|
2003-06-18 09:49:59 +00:00
|
|
|
TAR = gtar
|
1999-05-03 07:29:11 +00:00
|
|
|
GZIP_ENV = --best
|
|
|
|
all: all-redirect
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .dvi .info .ps .texi .texinfo .txi
|
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus doc/Makefile
|
|
|
|
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
cd $(top_builddir) \
|
|
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
|
|
|
|
|
|
as.info: as.texinfo
|
|
|
|
as.dvi: as.texinfo
|
|
|
|
|
|
|
|
|
|
|
|
DVIPS = dvips
|
|
|
|
|
|
|
|
.texi.info:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texi.dvi:
|
2000-05-02 00:12:52 +00:00
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
1999-05-03 07:29:11 +00:00
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.texi:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo.info:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.texinfo.dvi:
|
2000-05-02 00:12:52 +00:00
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
1999-05-03 07:29:11 +00:00
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.txi.info:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
|
|
|
|
.txi.dvi:
|
2000-05-02 00:12:52 +00:00
|
|
|
TEXINPUTS=$(top_srcdir)/../texinfo/texinfo.tex:$$TEXINPUTS \
|
1999-05-03 07:29:11 +00:00
|
|
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
|
|
|
|
|
|
|
.txi:
|
|
|
|
@rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
|
|
$(MAKEINFO) -I $(srcdir) $<
|
|
|
|
.dvi.ps:
|
|
|
|
$(DVIPS) $< -o $@
|
|
|
|
|
|
|
|
install-info-am: $(INFO_DEPS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
|
|
|
@list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
2000-05-02 00:12:52 +00:00
|
|
|
for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
1999-05-03 07:29:11 +00:00
|
|
|
if test -f $$d/$$ifile; then \
|
|
|
|
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
|
|
|
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
|
|
|
else : ; fi; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
@$(POST_INSTALL)
|
|
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
|
|
|
echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
|
|
|
|
install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
|
|
|
|
done; \
|
|
|
|
else : ; fi
|
|
|
|
|
|
|
|
uninstall-info:
|
|
|
|
$(PRE_UNINSTALL)
|
|
|
|
@if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
|
2000-05-02 00:12:52 +00:00
|
|
|
ii=yes; \
|
|
|
|
else ii=; fi; \
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for file in $$list; do \
|
2002-02-11 05:12:26 +00:00
|
|
|
test -z "$$ii" \
|
2000-05-02 00:12:52 +00:00
|
|
|
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
|
|
|
|
done
|
1999-05-03 07:29:11 +00:00
|
|
|
@$(NORMAL_UNINSTALL)
|
2000-05-02 00:12:52 +00:00
|
|
|
list='$(INFO_DEPS)'; \
|
1999-05-03 07:29:11 +00:00
|
|
|
for file in $$list; do \
|
2000-05-02 00:12:52 +00:00
|
|
|
(cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
|
1999-05-03 07:29:11 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
dist-info: $(INFO_DEPS)
|
|
|
|
list='$(INFO_DEPS)'; \
|
|
|
|
for base in $$list; do \
|
|
|
|
if test -f $$base; then d=.; else d=$(srcdir); fi; \
|
2000-05-02 00:12:52 +00:00
|
|
|
for file in `cd $$d && eval echo $$base*`; do \
|
1999-05-03 07:29:11 +00:00
|
|
|
test -f $(distdir)/$$file \
|
2000-05-02 00:12:52 +00:00
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
1999-05-03 07:29:11 +00:00
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
|
|
done; \
|
|
|
|
done
|
|
|
|
|
|
|
|
mostlyclean-aminfo:
|
2000-05-02 00:12:52 +00:00
|
|
|
-rm -f as.aux as.cp as.cps as.dvi as.fn as.fns as.ky as.kys as.ps \
|
|
|
|
as.log as.pg as.toc as.tp as.tps as.vr as.vrs as.op as.tr \
|
2002-02-21 16:51:00 +00:00
|
|
|
as.cv as.cn
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
clean-aminfo:
|
|
|
|
|
|
|
|
distclean-aminfo:
|
|
|
|
|
|
|
|
maintainer-clean-aminfo:
|
|
|
|
for i in $(INFO_DEPS); do \
|
|
|
|
rm -f $$i; \
|
|
|
|
if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
|
|
|
|
rm -f $$i-[0-9]*; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
clean-info: mostlyclean-aminfo
|
|
|
|
|
|
|
|
install-man1:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
|
|
@list='$(man1_MANS)'; \
|
|
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
|
|
case "$$i" in \
|
|
|
|
*.1*) list="$$list $$i" ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
for i in $$list; do \
|
|
|
|
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
|
|
|
|
else file=$$i; fi; \
|
|
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
|
|
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
|
|
|
|
$(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
|
|
|
|
done
|
|
|
|
|
|
|
|
uninstall-man1:
|
|
|
|
@list='$(man1_MANS)'; \
|
|
|
|
l2='$(man_MANS)'; for i in $$l2; do \
|
|
|
|
case "$$i" in \
|
|
|
|
*.1*) list="$$list $$i" ;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
|
|
|
for i in $$list; do \
|
|
|
|
ext=`echo $$i | sed -e 's/^.*\\.//'`; \
|
|
|
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
|
|
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
|
|
|
echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
|
|
|
|
rm -f $(DESTDIR)$(man1dir)/$$inst; \
|
|
|
|
done
|
|
|
|
install-man: $(MANS)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) install-man1
|
|
|
|
uninstall-man:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) uninstall-man1
|
|
|
|
tags: TAGS
|
|
|
|
TAGS:
|
|
|
|
|
|
|
|
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
|
2000-05-02 00:12:52 +00:00
|
|
|
subdir = doc
|
|
|
|
|
1999-05-03 07:29:11 +00:00
|
|
|
distdir: $(DISTFILES)
|
|
|
|
@for file in $(DISTFILES); do \
|
|
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
2001-04-24 15:22:25 +00:00
|
|
|
cp -pr $$d/$$file $(distdir)/$$file; \
|
1999-05-03 07:29:11 +00:00
|
|
|
else \
|
|
|
|
test -f $(distdir)/$$file \
|
2000-05-02 00:12:52 +00:00
|
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
1999-05-03 07:29:11 +00:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
|
|
|
|
info-am: $(INFO_DEPS)
|
|
|
|
info: info-am
|
|
|
|
dvi-am: $(DVIS)
|
|
|
|
dvi: dvi-am
|
|
|
|
check-am:
|
|
|
|
check: check-am
|
|
|
|
installcheck-am:
|
|
|
|
installcheck: installcheck-am
|
|
|
|
install-info-am:
|
|
|
|
install-info: install-info-am
|
|
|
|
install-exec-am:
|
|
|
|
install-exec: install-exec-am
|
|
|
|
|
|
|
|
install-data-am: install-man
|
|
|
|
install-data: install-data-am
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
install: install-am
|
|
|
|
uninstall-am: uninstall-man
|
|
|
|
uninstall: uninstall-am
|
|
|
|
all-am: Makefile $(MANS)
|
|
|
|
all-redirect: all-am
|
|
|
|
install-strip:
|
2000-06-20 20:40:40 +00:00
|
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
1999-05-03 07:29:11 +00:00
|
|
|
installdirs:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(mandir)/man1
|
|
|
|
|
|
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
|
|
|
|
clean-generic:
|
|
|
|
|
|
|
|
distclean-generic:
|
|
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
|
|
mostlyclean-am: mostlyclean-aminfo mostlyclean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
|
|
|
clean-am: clean-aminfo clean-generic mostlyclean-am
|
|
|
|
|
|
|
|
clean: clean-am
|
|
|
|
|
|
|
|
distclean-am: distclean-aminfo distclean-generic clean-am
|
|
|
|
-rm -f libtool
|
|
|
|
|
|
|
|
distclean: distclean-am
|
|
|
|
|
|
|
|
maintainer-clean-am: maintainer-clean-aminfo maintainer-clean-generic \
|
|
|
|
distclean-am
|
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
|
|
|
|
.PHONY: install-info-am uninstall-info mostlyclean-aminfo \
|
|
|
|
distclean-aminfo clean-aminfo maintainer-clean-aminfo install-man1 \
|
|
|
|
uninstall-man1 install-man uninstall-man tags distdir info-am info \
|
|
|
|
dvi-am dvi check check-am installcheck-am installcheck install-info-am \
|
|
|
|
install-info install-exec-am install-exec install-data-am install-data \
|
|
|
|
install-am install uninstall-am uninstall all-redirect all-am all \
|
2000-05-02 00:12:52 +00:00
|
|
|
installdirs mostlyclean-generic distclean-generic clean-generic \
|
|
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
1999-05-03 07:29:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
asconfig.texi: $(CONFIG).texi
|
|
|
|
rm -f asconfig.texi
|
|
|
|
ln -s $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|
|
|
|
|| ln $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|
|
|
|
|| cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
|
|
|
|
|
|
|
|
gasver.texi: Makefile
|
|
|
|
rm -f $@
|
|
|
|
echo '@set VERSION $(VERSION)' > $@
|
|
|
|
|
|
|
|
as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
|
|
|
as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
|
|
|
|
2002-01-26 21:27:36 +00:00
|
|
|
# We want install to imply install-info as per GNU standards, despite the
|
|
|
|
# cygnus option.
|
|
|
|
install: install-info
|
|
|
|
|
2001-03-25 20:32:31 +00:00
|
|
|
# Maintenance
|
|
|
|
|
2001-06-19 11:57:29 +00:00
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
|
|
|
info: $(MANS)
|
|
|
|
|
2001-03-25 20:32:31 +00:00
|
|
|
# Build the man page from the texinfo file
|
|
|
|
# The sed command removes the no-adjust Nroff command so that
|
|
|
|
# the man output looks standard.
|
2003-01-02 01:20:26 +00:00
|
|
|
as.1: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
2001-06-19 11:57:29 +00:00
|
|
|
touch $@
|
2001-03-25 20:32:31 +00:00
|
|
|
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
|
|
|
-($(POD2MAN) as.pod | \
|
2001-06-19 11:57:29 +00:00
|
|
|
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
|
|
mv -f $@.T$$$$ $@) || \
|
|
|
|
(rm -f $@.T$$$$ && exit 1)
|
|
|
|
rm -f as.pod
|
2001-03-25 20:32:31 +00:00
|
|
|
|
1999-05-03 07:29:11 +00:00
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
|
.NOEXPORT:
|