Added support for FR30
This commit is contained in:
parent
1898346aa7
commit
4aeed4f292
11 changed files with 1253 additions and 961 deletions
|
@ -1,3 +1,18 @@
|
|||
Wed Nov 4 15:58:48 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* Makefile.am: Add FR30 target.
|
||||
* Makefile.in: Add FR30 target.
|
||||
* archures.c: Add support for FR30.
|
||||
* config.bfd: Add support for FR30.
|
||||
* configure.in: Add support for FR30.
|
||||
* reloc.c: Add support for FR30 relocations.
|
||||
* targets.c: Add support for FR30 relocations.
|
||||
* bfd-in2.h: Regenerate.
|
||||
* configure: Regenerate.
|
||||
* libbfd.h: Regenerate.
|
||||
* cpu-fr30.c: New file.
|
||||
* elf32-fr30.c: New file.
|
||||
|
||||
Mon Nov 2 14:59:33 1998 Geoffrey Noer <noer@cygnus.com>
|
||||
|
||||
* configure.in: detect cygwin* instead of cygwin32*
|
||||
|
|
121
bfd/Makefile.am
121
bfd/Makefile.am
|
@ -42,9 +42,8 @@ ALL_MACHINES = \
|
|||
cpu-arc.lo \
|
||||
cpu-arm.lo \
|
||||
cpu-d10v.lo \
|
||||
$(start-sanitize-d30v) \
|
||||
cpu-d30v.lo \
|
||||
$(end-sanitize-d30v) \
|
||||
cpu-fr30.lo \
|
||||
cpu-h8300.lo \
|
||||
cpu-h8500.lo \
|
||||
cpu-hppa.lo \
|
||||
|
@ -77,6 +76,9 @@ ALL_MACHINES_CFILES = \
|
|||
cpu-alpha.c \
|
||||
cpu-arc.c \
|
||||
cpu-arm.c \
|
||||
cpu-d10v.c \
|
||||
cpu-d30v.c \
|
||||
cpu-fr30.c \
|
||||
cpu-h8300.c \
|
||||
cpu-h8500.c \
|
||||
cpu-hppa.c \
|
||||
|
@ -148,10 +150,10 @@ BFD32_BACKENDS = \
|
|||
ecofflink.lo \
|
||||
elf.lo \
|
||||
elf32-arc.lo \
|
||||
elf32-arm.lo \
|
||||
elf32-d10v.lo \
|
||||
$(start-sanitize-d30v) \
|
||||
elf32-d30v.lo \
|
||||
$(end-sanitize-d30v) \
|
||||
elf32-fr30.lo \
|
||||
elf32-gen.lo \
|
||||
elf32-hppa.lo \
|
||||
elf32-i386.lo \
|
||||
|
@ -256,7 +258,10 @@ BFD32_BACKENDS_CFILES = \
|
|||
ecofflink.c \
|
||||
elf.c \
|
||||
elf32-arc.c \
|
||||
elf32-arm.c \
|
||||
elf32-d10v.c \
|
||||
elf32-d30v.c \
|
||||
elf32-fr30.c \
|
||||
elf32-gen.c \
|
||||
elf32-hppa.c \
|
||||
elf32-i386.c \
|
||||
|
@ -331,13 +336,13 @@ BFD64_BACKENDS = \
|
|||
elf64-mips.lo \
|
||||
elf64-sparc.lo \
|
||||
elf64.lo \
|
||||
evax-alpha.lo \
|
||||
evax-egsd.lo \
|
||||
evax-etir.lo \
|
||||
evax-emh.lo \
|
||||
evax-misc.lo \
|
||||
nlm32-alpha.lo \
|
||||
nlm64.lo
|
||||
nlm64.lo \
|
||||
vms.lo \
|
||||
vms-gsd.lo \
|
||||
vms-hdr.lo \
|
||||
vms-misc.lo \
|
||||
vms-tir.lo
|
||||
|
||||
BFD64_BACKENDS_CFILES = \
|
||||
aout64.c \
|
||||
|
@ -348,13 +353,13 @@ BFD64_BACKENDS_CFILES = \
|
|||
elf64-mips.c \
|
||||
elf64-sparc.c \
|
||||
elf64.c \
|
||||
evax-alpha.c \
|
||||
evax-egsd.c \
|
||||
evax-etir.c \
|
||||
evax-emh.c \
|
||||
evax-misc.c \
|
||||
nlm32-alpha.c \
|
||||
nlm64.c
|
||||
nlm64.c \
|
||||
vms.c \
|
||||
vms-gsd.c \
|
||||
vms-hdr.c \
|
||||
vms-misc.c \
|
||||
vms-tir.c
|
||||
|
||||
OPTIONAL_BACKENDS = \
|
||||
aix386-core.lo \
|
||||
|
@ -395,9 +400,10 @@ CFILES = \
|
|||
SOURCE_HFILES = \
|
||||
aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
|
||||
ecoffswap.h elf32-hppa.h \
|
||||
elfcode.h evax.h genlink.h go32stub.h hppa_stubs.h libaout.h \
|
||||
elfcode.h genlink.h go32stub.h hppa_stubs.h libaout.h \
|
||||
libbfd.h libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h \
|
||||
libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h
|
||||
libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h \
|
||||
som.h vms.h
|
||||
|
||||
HFILES = \
|
||||
elf32-target.h elf64-target.h targmatch.h \
|
||||
|
@ -490,6 +496,8 @@ $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
|
|||
|
||||
# Install BFD include file, and others that it needs.
|
||||
install-data-local: $(BFD_H)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(includedir)
|
||||
$(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
|
||||
$(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
|
||||
$(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
|
||||
|
@ -598,11 +606,9 @@ MOSTLYCLEANFILES = elf32-target.h elf64-target.h ofiles stamp-ofiles \
|
|||
CLEANFILES = bfd.h dep.sed stmp-bfd-h .dep .dep1 libbfd.a stamp-lib \
|
||||
stmp-bin2-h stmp-lbfd-h stmp-lcoff-h
|
||||
|
||||
start-sanitize-d30v:
|
||||
elf32-d30v.lo: elf32-d30v.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
end-sanitize-d30v:
|
||||
# We want to rerun configure if config.bfd or configure.host change.
|
||||
config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
start-sanitize-tic80:
|
||||
cpu-tic80.lo: cpu-tic80.c
|
||||
|
@ -610,6 +616,10 @@ coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
|||
$(INCDIR)/coff/tic80.h $(INCDIR)/coff/internal.h coffcode.h
|
||||
end-sanitize-tic80:
|
||||
|
||||
elf32-arm.lo: elf32-arm.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
|
||||
# What appears below is generated by a hacked mkdep using gcc -MM.
|
||||
|
||||
# DO NOT DELETE THIS LINE -- mkdep uses it.
|
||||
|
@ -635,8 +645,6 @@ syms.lo: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
|
|||
targets.lo: targets.c $(INCDIR)/fnmatch.h targmatch.h
|
||||
hash.lo: hash.c $(INCDIR)/objalloc.h
|
||||
linker.lo: linker.c $(INCDIR)/bfdlink.h genlink.h
|
||||
elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
|
||||
srec.lo: srec.c $(INCDIR)/libiberty.h
|
||||
binary.lo: binary.c
|
||||
tekhex.lo: tekhex.c $(INCDIR)/libiberty.h
|
||||
|
@ -648,6 +656,8 @@ cpu-a29k.lo: cpu-a29k.c
|
|||
cpu-alpha.lo: cpu-alpha.c
|
||||
cpu-arc.lo: cpu-arc.c
|
||||
cpu-arm.lo: cpu-arm.c
|
||||
cpu-d10v.lo: cpu-d10v.c
|
||||
cpu-d30v.lo: cpu-d30v.c
|
||||
cpu-h8300.lo: cpu-h8300.c
|
||||
cpu-h8500.lo: cpu-h8500.c
|
||||
cpu-hppa.lo: cpu-hppa.c
|
||||
|
@ -767,9 +777,9 @@ coff-z8k.lo: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
|
|||
$(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
|
||||
cofflink.lo: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
|
||||
libcoff.h
|
||||
dwarf2.lo: dwarf2.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/dwarf2.h
|
||||
dwarf2.lo: dwarf2.c $(INCDIR)/libiberty.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
|
||||
ecoff.lo: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
|
||||
$(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
|
||||
libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
|
||||
|
@ -779,28 +789,36 @@ ecofflink.lo: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/objalloc.h \
|
|||
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
|
||||
libcoff.h libecoff.h
|
||||
elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
|
||||
elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/arc.h elf32-target.h
|
||||
$(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-d10v.lo: elf32-d10v.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-d30v.lo: elf32-d30v.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-fr30.lo: elf32-fr30.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-gen.lo: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-hppa.lo: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
|
||||
elf32-target.h
|
||||
elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h \
|
||||
hppa_stubs.h elf32-target.h
|
||||
elf32-i386.lo: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-target.h
|
||||
$(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-i860.lo: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-m32r.lo: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/m32r.h elf32-target.h
|
||||
$(INCDIR)/elf/m32r.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-m68k.lo: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-target.h
|
||||
|
@ -809,8 +827,8 @@ elf32-m88k.lo: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
|
|||
elf32-target.h
|
||||
elf32-mips.lo: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
|
||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
|
||||
$(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
|
||||
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
|
||||
elf32-target.h
|
||||
elf-m10200.lo: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
|
@ -818,19 +836,21 @@ elf-m10200.lo: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
|
|||
elf32-target.h
|
||||
elf-m10300.lo: elf-m10300.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/mn10300.h $(INCDIR)/elf/reloc-macros.h \
|
||||
elf32-target.h
|
||||
elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/elf/ppc.h elf32-target.h
|
||||
$(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-sh.lo: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-target.h
|
||||
elf32-sparc.lo: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/elf/sparc.h elf32-target.h
|
||||
$(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
|
||||
elf32-target.h
|
||||
elf32-v850.lo: elf32-v850.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/elf/v850.h elf32-target.h
|
||||
$(INCDIR)/elf/v850.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32.lo: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/fnmatch.h elfcore.h elflink.h
|
||||
|
@ -969,35 +989,36 @@ demo64.lo: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
|
|||
aout-target.h
|
||||
elf64-alpha.lo: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
|
||||
$(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
|
||||
$(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \
|
||||
elf64-target.h
|
||||
$(INCDIR)/elf/alpha.h $(INCDIR)/elf/reloc-macros.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
|
||||
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h \
|
||||
libcoff.h libecoff.h ecoffswap.h elf64-target.h
|
||||
elf64-gen.lo: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf64-target.h
|
||||
elf64-mips.lo: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \
|
||||
genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
|
||||
$(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
|
||||
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
|
||||
elf64-target.h
|
||||
elf64-sparc.lo: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/sparc.h elf64-target.h
|
||||
$(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
|
||||
elf64-target.h
|
||||
elf64.lo: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/fnmatch.h elfcore.h elflink.h
|
||||
evax-alpha.lo: evax-alpha.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-egsd.lo: evax-egsd.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-etir.lo: evax-etir.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-emh.lo: evax-emh.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-misc.lo: evax-misc.c $(INCDIR)/bfdlink.h evax.h
|
||||
nlm32-alpha.lo: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
|
||||
libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
|
||||
$(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
|
||||
nlm64.lo: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
|
||||
$(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
|
||||
vms.lo: vms.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-gsd.lo: vms-gsd.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-hdr.lo: vms-hdr.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-misc.lo: vms-misc.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-tir.lo: vms-tir.c $(INCDIR)/bfdlink.h vms.h
|
||||
aix386-core.lo: aix386-core.c $(INCDIR)/coff/i386.h \
|
||||
$(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
|
||||
hpux-core.lo: hpux-core.c
|
||||
|
|
169
bfd/Makefile.in
169
bfd/Makefile.in
|
@ -1,4 +1,4 @@
|
|||
# Makefile.in generated automatically by automake 1.3 from Makefile.am
|
||||
# Makefile.in generated automatically by automake 1.3b from Makefile.am
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
|
||||
# This Makefile.in is free software; the Free Software Foundation
|
||||
|
@ -32,7 +32,7 @@ mandir = @mandir@
|
|||
includedir = @includedir@
|
||||
oldincludedir = /usr/include
|
||||
|
||||
DISTDIR =
|
||||
DESTDIR =
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
|
@ -156,9 +156,8 @@ ALL_MACHINES = \
|
|||
cpu-arc.lo \
|
||||
cpu-arm.lo \
|
||||
cpu-d10v.lo \
|
||||
$(start-sanitize-d30v) \
|
||||
cpu-d30v.lo \
|
||||
$(end-sanitize-d30v) \
|
||||
cpu-fr30.lo \
|
||||
cpu-h8300.lo \
|
||||
cpu-h8500.lo \
|
||||
cpu-hppa.lo \
|
||||
|
@ -191,6 +190,9 @@ ALL_MACHINES_CFILES = \
|
|||
cpu-alpha.c \
|
||||
cpu-arc.c \
|
||||
cpu-arm.c \
|
||||
cpu-d10v.c \
|
||||
cpu-d30v.c \
|
||||
cpu-fr30.c \
|
||||
cpu-h8300.c \
|
||||
cpu-h8500.c \
|
||||
cpu-hppa.c \
|
||||
|
@ -262,10 +264,10 @@ BFD32_BACKENDS = \
|
|||
ecofflink.lo \
|
||||
elf.lo \
|
||||
elf32-arc.lo \
|
||||
elf32-arm.lo \
|
||||
elf32-d10v.lo \
|
||||
$(start-sanitize-d30v) \
|
||||
elf32-d30v.lo \
|
||||
$(end-sanitize-d30v) \
|
||||
elf32-fr30.lo \
|
||||
elf32-gen.lo \
|
||||
elf32-hppa.lo \
|
||||
elf32-i386.lo \
|
||||
|
@ -370,7 +372,10 @@ BFD32_BACKENDS_CFILES = \
|
|||
ecofflink.c \
|
||||
elf.c \
|
||||
elf32-arc.c \
|
||||
elf32-arm.c \
|
||||
elf32-d10v.c \
|
||||
elf32-d30v.c \
|
||||
elf32-fr30.c \
|
||||
elf32-gen.c \
|
||||
elf32-hppa.c \
|
||||
elf32-i386.c \
|
||||
|
@ -445,13 +450,13 @@ BFD64_BACKENDS = \
|
|||
elf64-mips.lo \
|
||||
elf64-sparc.lo \
|
||||
elf64.lo \
|
||||
evax-alpha.lo \
|
||||
evax-egsd.lo \
|
||||
evax-etir.lo \
|
||||
evax-emh.lo \
|
||||
evax-misc.lo \
|
||||
nlm32-alpha.lo \
|
||||
nlm64.lo
|
||||
nlm64.lo \
|
||||
vms.lo \
|
||||
vms-gsd.lo \
|
||||
vms-hdr.lo \
|
||||
vms-misc.lo \
|
||||
vms-tir.lo
|
||||
|
||||
BFD64_BACKENDS_CFILES = \
|
||||
aout64.c \
|
||||
|
@ -462,13 +467,13 @@ BFD64_BACKENDS_CFILES = \
|
|||
elf64-mips.c \
|
||||
elf64-sparc.c \
|
||||
elf64.c \
|
||||
evax-alpha.c \
|
||||
evax-egsd.c \
|
||||
evax-etir.c \
|
||||
evax-emh.c \
|
||||
evax-misc.c \
|
||||
nlm32-alpha.c \
|
||||
nlm64.c
|
||||
nlm64.c \
|
||||
vms.c \
|
||||
vms-gsd.c \
|
||||
vms-hdr.c \
|
||||
vms-misc.c \
|
||||
vms-tir.c
|
||||
|
||||
OPTIONAL_BACKENDS = \
|
||||
aix386-core.lo \
|
||||
|
@ -508,9 +513,10 @@ CFILES = \
|
|||
SOURCE_HFILES = \
|
||||
aout-target.h aoutf1.h aoutx.h coffcode.h coffswap.h \
|
||||
ecoffswap.h elf32-hppa.h \
|
||||
elfcode.h evax.h genlink.h go32stub.h hppa_stubs.h libaout.h \
|
||||
elfcode.h genlink.h go32stub.h hppa_stubs.h libaout.h \
|
||||
libbfd.h libcoff.h libecoff.h elf-bfd.h libhppa.h libieee.h \
|
||||
libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h som.h
|
||||
libnlm.h liboasys.h netbsd.h nlm-target.h nlmcode.h ns32k.h \
|
||||
som.h vms.h
|
||||
|
||||
HFILES = \
|
||||
elf32-target.h elf64-target.h targmatch.h \
|
||||
|
@ -570,9 +576,9 @@ corefile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo \
|
|||
syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo \
|
||||
ihex.lo stabs.lo stab-syms.lo
|
||||
CFLAGS = @CFLAGS@
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LINK = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
||||
DIST_COMMON = README COPYING ChangeLog Makefile.am Makefile.in TODO \
|
||||
acconfig.h acinclude.m4 aclocal.m4 bfd-in2.h config.in configure \
|
||||
configure.in stamp-h.in
|
||||
|
@ -598,9 +604,6 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|||
|
||||
$(ACLOCAL_M4): @MAINT@ configure.in acinclude.m4
|
||||
cd $(srcdir) && $(ACLOCAL)
|
||||
|
||||
config.status: $(srcdir)/configure
|
||||
$(SHELL) ./config.status --recheck
|
||||
$(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||
cd $(srcdir) && $(AUTOCONF)
|
||||
|
||||
|
@ -625,7 +628,7 @@ distclean-hdr:
|
|||
|
||||
maintainer-clean-hdr:
|
||||
bfd-in3.h: $(top_builddir)/config.status bfd-in2.h
|
||||
cd $(top_builddir) && CONFIG_FILES=$@:bfd-in2.h CONFIG_HEADERS= ./config.status
|
||||
cd $(top_builddir) && CONFIG_FILES=$@:bfd-in2.h CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
mostlyclean-noinstLIBRARIES:
|
||||
|
||||
|
@ -718,7 +721,7 @@ check-recursive installcheck-recursive info-recursive dvi-recursive:
|
|||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
(cd $$subdir && $(MAKE) $$target) \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
|
||||
|
@ -731,12 +734,12 @@ maintainer-clean-recursive:
|
|||
for subdir in $$rev; do \
|
||||
target=`echo $@ | sed s/-recursive//`; \
|
||||
echo "Making $$target in $$subdir"; \
|
||||
(cd $$subdir && $(MAKE) $$target) \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$target) \
|
||||
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||
done && test -z "$$fail"
|
||||
tags-recursive:
|
||||
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||
(cd $$subdir && $(MAKE) tags); \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||
done
|
||||
|
||||
tags: TAGS
|
||||
|
@ -781,12 +784,12 @@ distcheck: dist
|
|||
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
||||
cd $(distdir)/=build \
|
||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||
&& $(MAKE) \
|
||||
&& $(MAKE) dvi \
|
||||
&& $(MAKE) check \
|
||||
&& $(MAKE) install \
|
||||
&& $(MAKE) installcheck \
|
||||
&& $(MAKE) dist
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||
&& $(MAKE) $(AM_MAKEFLAGS) dist
|
||||
-rm -rf $(distdir)
|
||||
@echo "========================"; \
|
||||
echo "$(distdir).tar.gz is ready for distribution"; \
|
||||
|
@ -814,17 +817,17 @@ distdir: $(DISTFILES)
|
|||
|| mkdir $(distdir)/$$subdir \
|
||||
|| exit 1; \
|
||||
chmod 777 $(distdir)/$$subdir; \
|
||||
(cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
|
||||
|| exit 1; \
|
||||
done
|
||||
info: info-recursive
|
||||
dvi: dvi-recursive
|
||||
check:
|
||||
$(MAKE) check-recursive
|
||||
$(MAKE) $(AM_MAKEFLAGS) check-recursive
|
||||
installcheck: installcheck-recursive
|
||||
install-info: install-info-recursive
|
||||
all-recursive-am: config.h
|
||||
$(MAKE) all-recursive
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h
|
||||
|
||||
|
@ -846,9 +849,9 @@ install: install-recursive install-exec-am install-data-am
|
|||
uninstall: uninstall-recursive uninstall-am
|
||||
|
||||
install-strip:
|
||||
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
||||
installdirs: installdirs-recursive
|
||||
$(mkinstalldirs) $(DATADIR)$(libdir)
|
||||
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
||||
|
||||
|
||||
mostlyclean-generic:
|
||||
|
@ -858,13 +861,10 @@ clean-generic:
|
|||
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||
|
||||
distclean-generic:
|
||||
-rm -f Makefile $(DISTCLEANFILES)
|
||||
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
||||
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
||||
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
||||
|
||||
maintainer-clean-generic:
|
||||
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
||||
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||
mostlyclean-am: mostlyclean-hdr mostlyclean-noinstLIBRARIES \
|
||||
mostlyclean-compile mostlyclean-libtool \
|
||||
mostlyclean-libLTLIBRARIES mostlyclean-tags \
|
||||
|
@ -982,6 +982,8 @@ $(OPTIONAL_BACKENDS): $(BFD_H) $(BFD_H_DEPS) $(LOCAL_H_DEPS)
|
|||
|
||||
# Install BFD include file, and others that it needs.
|
||||
install-data-local: $(BFD_H)
|
||||
@$(NORMAL_INSTALL)
|
||||
$(mkinstalldirs) $(includedir)
|
||||
$(INSTALL_DATA) $(BFD_H) $(includedir)/bfd.h
|
||||
$(INSTALL_DATA) $(INCDIR)/ansidecl.h $(includedir)/ansidecl.h
|
||||
$(INSTALL_DATA) $(INCDIR)/bfdlink.h $(includedir)/bfdlink.h
|
||||
|
@ -1079,11 +1081,9 @@ stmp-lcoff-h: $(LIBCOFF_H_FILES)
|
|||
$(SHELL) $(srcdir)/../move-if-change libcoff.h-new $(srcdir)/libcoff.h
|
||||
touch stmp-lcoff-h
|
||||
|
||||
start-sanitize-d30v:
|
||||
elf32-d30v.lo: elf32-d30v.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
end-sanitize-d30v:
|
||||
# We want to rerun configure if config.bfd or configure.host change.
|
||||
config.status: $(srcdir)/configure $(srcdir)/config.bfd $(srcdir)/configure.host
|
||||
$(SHELL) ./config.status --recheck
|
||||
|
||||
start-sanitize-tic80:
|
||||
cpu-tic80.lo: cpu-tic80.c
|
||||
|
@ -1091,6 +1091,10 @@ coff-tic80.lo: coff-tic80.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
|||
$(INCDIR)/coff/tic80.h $(INCDIR)/coff/internal.h coffcode.h
|
||||
end-sanitize-tic80:
|
||||
|
||||
elf32-arm.lo: elf32-arm.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/arm.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
|
||||
# What appears below is generated by a hacked mkdep using gcc -MM.
|
||||
|
||||
# DO NOT DELETE THIS LINE -- mkdep uses it.
|
||||
|
@ -1116,8 +1120,6 @@ syms.lo: syms.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/stab_gnu.h \
|
|||
targets.lo: targets.c $(INCDIR)/fnmatch.h targmatch.h
|
||||
hash.lo: hash.c $(INCDIR)/objalloc.h
|
||||
linker.lo: linker.c $(INCDIR)/bfdlink.h genlink.h
|
||||
elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
|
||||
srec.lo: srec.c $(INCDIR)/libiberty.h
|
||||
binary.lo: binary.c
|
||||
tekhex.lo: tekhex.c $(INCDIR)/libiberty.h
|
||||
|
@ -1129,6 +1131,8 @@ cpu-a29k.lo: cpu-a29k.c
|
|||
cpu-alpha.lo: cpu-alpha.c
|
||||
cpu-arc.lo: cpu-arc.c
|
||||
cpu-arm.lo: cpu-arm.c
|
||||
cpu-d10v.lo: cpu-d10v.c
|
||||
cpu-d30v.lo: cpu-d30v.c
|
||||
cpu-h8300.lo: cpu-h8300.c
|
||||
cpu-h8500.lo: cpu-h8500.c
|
||||
cpu-hppa.lo: cpu-hppa.c
|
||||
|
@ -1248,9 +1252,9 @@ coff-z8k.lo: coff-z8k.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/z8k.h \
|
|||
$(INCDIR)/coff/internal.h libcoff.h coffcode.h coffswap.h
|
||||
cofflink.lo: cofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/coff/internal.h \
|
||||
libcoff.h
|
||||
dwarf2.lo: dwarf2.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/dwarf2.h
|
||||
dwarf2.lo: dwarf2.c $(INCDIR)/libiberty.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/bfdlink.h $(INCDIR)/elf/dwarf2.h
|
||||
ecoff.lo: ecoff.c $(INCDIR)/bfdlink.h $(INCDIR)/aout/ar.h \
|
||||
$(INCDIR)/aout/ranlib.h $(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def \
|
||||
libaout.h $(INCDIR)/aout/aout64.h $(INCDIR)/coff/internal.h \
|
||||
|
@ -1260,28 +1264,36 @@ ecofflink.lo: ecofflink.c $(INCDIR)/bfdlink.h $(INCDIR)/objalloc.h \
|
|||
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h \
|
||||
libcoff.h libecoff.h
|
||||
elf.lo: elf.c $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h
|
||||
elf32-arc.lo: elf32-arc.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/arc.h elf32-target.h
|
||||
$(INCDIR)/elf/arc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-d10v.lo: elf32-d10v.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-d30v.lo: elf32-d30v.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-fr30.lo: elf32-fr30.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-gen.lo: elf32-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-hppa.lo: elf32-hppa.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h hppa_stubs.h \
|
||||
elf32-target.h
|
||||
elf32-hppa.h libhppa.h $(INCDIR)/elf/hppa.h $(INCDIR)/elf/reloc-macros.h \
|
||||
hppa_stubs.h elf32-target.h
|
||||
elf32-i386.lo: elf32-i386.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-target.h
|
||||
$(INCDIR)/elf/i386.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-i860.lo: elf32-i860.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf32-target.h
|
||||
elf32-m32r.lo: elf32-m32r.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/m32r.h elf32-target.h
|
||||
$(INCDIR)/elf/m32r.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-m68k.lo: elf32-m68k.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-target.h
|
||||
|
@ -1290,8 +1302,8 @@ elf32-m88k.lo: elf32-m88k.c elf-bfd.h $(INCDIR)/elf/common.h \
|
|||
elf32-target.h
|
||||
elf32-mips.lo: elf32-mips.c $(INCDIR)/bfdlink.h genlink.h \
|
||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
|
||||
$(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
|
||||
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/mips.h ecoffswap.h \
|
||||
elf32-target.h
|
||||
elf-m10200.lo: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
|
@ -1299,19 +1311,21 @@ elf-m10200.lo: elf-m10200.c elf-bfd.h $(INCDIR)/elf/common.h \
|
|||
elf32-target.h
|
||||
elf-m10300.lo: elf-m10300.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/mn10300.h $(INCDIR)/elf/reloc-macros.h \
|
||||
elf32-target.h
|
||||
elf32-ppc.lo: elf32-ppc.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/elf/ppc.h elf32-target.h
|
||||
$(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32-sh.lo: elf32-sh.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
elf32-target.h
|
||||
elf32-sparc.lo: elf32-sparc.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/elf/sparc.h elf32-target.h
|
||||
$(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
|
||||
elf32-target.h
|
||||
elf32-v850.lo: elf32-v850.c $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/elf/v850.h elf32-target.h
|
||||
$(INCDIR)/elf/v850.h $(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||
elf32.lo: elf32.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/fnmatch.h elfcore.h elflink.h
|
||||
|
@ -1450,35 +1464,36 @@ demo64.lo: demo64.c aoutf1.h $(INCDIR)/aout/sun4.h \
|
|||
aout-target.h
|
||||
elf64-alpha.lo: elf64-alpha.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/alpha.h $(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h \
|
||||
$(INCDIR)/coff/symconst.h $(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h \
|
||||
$(INCDIR)/aout/ar.h libcoff.h libecoff.h ecoffswap.h \
|
||||
elf64-target.h
|
||||
$(INCDIR)/elf/alpha.h $(INCDIR)/elf/reloc-macros.h \
|
||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h \
|
||||
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h $(INCDIR)/aout/ar.h \
|
||||
libcoff.h libecoff.h ecoffswap.h elf64-target.h
|
||||
elf64-gen.lo: elf64-gen.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
elf64-target.h
|
||||
elf64-mips.lo: elf64-mips.c $(INCDIR)/aout/ar.h $(INCDIR)/bfdlink.h \
|
||||
genlink.h elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/coff/sym.h \
|
||||
$(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/reloc-macros.h \
|
||||
$(INCDIR)/coff/sym.h $(INCDIR)/coff/symconst.h $(INCDIR)/coff/internal.h \
|
||||
$(INCDIR)/coff/ecoff.h $(INCDIR)/coff/alpha.h ecoffswap.h \
|
||||
elf64-target.h
|
||||
elf64-sparc.lo: elf64-sparc.c elf-bfd.h $(INCDIR)/elf/common.h \
|
||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \
|
||||
$(INCDIR)/elf/sparc.h elf64-target.h
|
||||
$(INCDIR)/elf/sparc.h $(INCDIR)/elf/reloc-macros.h \
|
||||
elf64-target.h
|
||||
elf64.lo: elf64.c elfcode.h $(INCDIR)/bfdlink.h elf-bfd.h \
|
||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||
$(INCDIR)/fnmatch.h elfcore.h elflink.h
|
||||
evax-alpha.lo: evax-alpha.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-egsd.lo: evax-egsd.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-etir.lo: evax-etir.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-emh.lo: evax-emh.c $(INCDIR)/bfdlink.h evax.h
|
||||
evax-misc.lo: evax-misc.c $(INCDIR)/bfdlink.h evax.h
|
||||
nlm32-alpha.lo: nlm32-alpha.c $(INCDIR)/nlm/alpha-ext.h \
|
||||
libnlm.h $(INCDIR)/nlm/common.h $(INCDIR)/nlm/internal.h \
|
||||
$(INCDIR)/nlm/external.h nlmswap.h nlm-target.h
|
||||
nlm64.lo: nlm64.c nlmcode.h libnlm.h $(INCDIR)/nlm/common.h \
|
||||
$(INCDIR)/nlm/internal.h $(INCDIR)/nlm/external.h
|
||||
vms.lo: vms.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-gsd.lo: vms-gsd.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-hdr.lo: vms-hdr.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-misc.lo: vms-misc.c $(INCDIR)/bfdlink.h vms.h
|
||||
vms-tir.lo: vms-tir.c $(INCDIR)/bfdlink.h vms.h
|
||||
aix386-core.lo: aix386-core.c $(INCDIR)/coff/i386.h \
|
||||
$(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/bfdlink.h
|
||||
hpux-core.lo: hpux-core.c
|
||||
|
|
|
@ -1339,6 +1339,8 @@ enum bfd_architecture
|
|||
/* start-sanitize-am33 */
|
||||
#define bfd_mach_am33 330
|
||||
/* end-sanitize-am33 */
|
||||
bfd_arch_fr30,
|
||||
#define bfd_mach_fr30 0x46523330
|
||||
bfd_arch_last
|
||||
};
|
||||
|
||||
|
@ -2151,6 +2153,34 @@ significant 8 bits of a 24 bit word are placed into the least
|
|||
significant 8 bits of the opcode. */
|
||||
BFD_RELOC_TIC30_LDP,
|
||||
|
||||
/* This is a 32 bit reloc for the FR30 that stores 20 bits split up into
|
||||
two sections. */
|
||||
BFD_RELOC_FR30_20,
|
||||
|
||||
/* This is a 16 bit reloc for the FR30 that stores a 6 bit word offset in
|
||||
4 bits. */
|
||||
BFD_RELOC_FR30_6_IN_4,
|
||||
|
||||
/* This is a 16 bit reloc for the FR30 that stores an 8 bit byte offset
|
||||
into 8 bits. */
|
||||
BFD_RELOC_FR30_8_IN_8,
|
||||
|
||||
/* This is a 16 bit reloc for the FR30 that stores a 9 bit short offset
|
||||
into 8 bits. */
|
||||
BFD_RELOC_FR30_9_IN_8,
|
||||
|
||||
/* This is a 16 bit reloc for the FR30 that stores a 10 bit word offset
|
||||
into 8 bits. */
|
||||
BFD_RELOC_FR30_10_IN_8,
|
||||
|
||||
/* This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
|
||||
short offset into 8 bits. */
|
||||
BFD_RELOC_FR30_9_PCREL,
|
||||
|
||||
/* This is a 16 bit reloc for the FR30 that stores a 12 bit pc relative
|
||||
short offset into 11 bits. */
|
||||
BFD_RELOC_FR30_12_PCREL,
|
||||
|
||||
/* These two relocations are used by the linker to determine which of
|
||||
the entries in a C++ virtual function table are actually used. When
|
||||
the --gc-sections option is given, the linker will zero out the entries
|
||||
|
|
|
@ -109,11 +109,21 @@ case "${targ}" in
|
|||
targ_selvecs=armcoff_big_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
arm-*-elf)
|
||||
targ_defvec=bfd_elf32_littlearm_vec
|
||||
targ_selvecs=bfd_elf32_bigarm_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
thumb-*-coff)
|
||||
targ_defvec=armcoff_little_vec
|
||||
targ_selvecs=armcoff_big_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
thumb-*-elf)
|
||||
targ_defvec=bfd_elf32_littlearm_vec
|
||||
targ_selvecs=bfd_elf32_bigarm_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
thumb-*-pe*)
|
||||
targ_defvec=armpe_little_vec
|
||||
targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec"
|
||||
|
@ -145,6 +155,10 @@ case "${targ}" in
|
|||
targ_defvec=bfd_elf32_d30v_vec
|
||||
;;
|
||||
|
||||
fr30-*-elf)
|
||||
targ_defvec=bfd_elf32_fr30_vec
|
||||
;;
|
||||
|
||||
# start-sanitize-sky
|
||||
dvp-*-*)
|
||||
targ_defvec=bfd_elf32_littlemips_vec
|
||||
|
@ -531,6 +545,10 @@ case "${targ}" in
|
|||
targ_selvecs=sparcle_aout_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
sparc86x-*-aout*)
|
||||
targ_defvec=sunos_big_vec
|
||||
targ_underscore=yes
|
||||
;;
|
||||
sparclite-*-elf* | sparc86x-*-elf*)
|
||||
targ_defvec=bfd_elf32_sparc_vec
|
||||
;;
|
||||
|
|
928
bfd/configure
vendored
928
bfd/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -432,6 +432,7 @@ do
|
|||
target64=true ;;
|
||||
bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_d30v_vec) tb="$tb elf32-d30v.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_fr30_vec) tb="$tb elf32-fr30.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_hppa_vec) tb="$tb elf32-hppa.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf32.lo $elf" ;;
|
||||
bfd_elf32_i860_vec) tb="$tb elf32-i860.lo elf32.lo $elf" ;;
|
||||
|
|
38
bfd/cpu-fr30.c
Normal file
38
bfd/cpu-fr30.c
Normal file
|
@ -0,0 +1,38 @@
|
|||
/* BFD support for the FR30 processor.
|
||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of BFD, the Binary File Descriptor library.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include "bfd.h"
|
||||
#include "sysdep.h"
|
||||
#include "libbfd.h"
|
||||
|
||||
const bfd_arch_info_type bfd_m32r_arch =
|
||||
{
|
||||
32, /* bits per word */
|
||||
32, /* bits per address */
|
||||
8, /* bits per byte */
|
||||
bfd_arch_fr30, /* architecture */
|
||||
bfd_mach_fr30, /* machine */
|
||||
"fr30", /* architecture name */
|
||||
"fr30", /* printable name */
|
||||
4, /* section align power */
|
||||
true, /* the default ? */
|
||||
bfd_default_compatible, /* architecture comparison fn */
|
||||
bfd_default_scan, /* string to architecture convert fn */
|
||||
NULL /* next in list */
|
||||
};
|
516
bfd/elf32-fr30.c
Normal file
516
bfd/elf32-fr30.c
Normal file
|
@ -0,0 +1,516 @@
|
|||
/* FR30-specific support for 32-bit ELF.
|
||||
Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of BFD, the Binary File Descriptor library.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
||||
|
||||
#include "bfd.h"
|
||||
#include "sysdep.h"
|
||||
#include "libbfd.h"
|
||||
#include "elf-bfd.h"
|
||||
#include "elf/fr30.h"
|
||||
|
||||
/* Forward declarations. */
|
||||
static bfd_reloc_status_type fr30_elf_i20_reloc
|
||||
PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
|
||||
|
||||
static reloc_howto_type fr30_elf_howto_table [] =
|
||||
{
|
||||
/* This reloc does nothing. */
|
||||
HOWTO (R_FR30_NONE, /* type */
|
||||
0, /* rightshift */
|
||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
32, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
0, /* bitpos */
|
||||
complain_overflow_bitfield, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_FR30_NONE", /* name */
|
||||
false, /* partial_inplace */
|
||||
0, /* src_mask */
|
||||
0, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* An 8 bit absolute relocation. */
|
||||
HOWTO (R_FR30_8, /* type */
|
||||
0, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
8, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
4, /* bitpos */
|
||||
complain_overflow_bitfield, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_FR30_8", /* name */
|
||||
true, /* partial_inplace */
|
||||
0x0ff0, /* src_mask */
|
||||
0x0ff0, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* A 20 bit absolute relocation. */
|
||||
HOWTO (R_FR30_20, /* type */
|
||||
0, /* rightshift */
|
||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
20, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
0, /* bitpos */
|
||||
complain_overflow_bitfield, /* complain_on_overflow */
|
||||
fr30_elf_i20_reloc, /* special_function */
|
||||
"R_FR30_20", /* name */
|
||||
true, /* partial_inplace */
|
||||
0x00f0ffff, /* src_mask */
|
||||
0x00f0ffff, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* A 32 bit absolute relocation. */
|
||||
HOWTO (R_FR30_32, /* type */
|
||||
0, /* rightshift */
|
||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
32, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
0, /* bitpos */
|
||||
complain_overflow_bitfield, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_FR30_32", /* name */
|
||||
true, /* partial_inplace */
|
||||
0xffffffff, /* src_mask */
|
||||
0xffffffff, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* A 6 bit absolute relocation. */
|
||||
HOWTO (R_FR30_6_IN_4, /* type */
|
||||
2, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
6, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
4, /* bitpos */
|
||||
complain_overflow_unsigned, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_FR30_6_IN_4", /* name */
|
||||
true, /* partial_inplace */
|
||||
0x00f0, /* src_mask */
|
||||
0x00f0, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* An 8 bit absolute relocation. */
|
||||
HOWTO (R_FR30_8_IN_8, /* type */
|
||||
0, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
8, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
4, /* bitpos */
|
||||
complain_overflow_signed, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc,/* special_function */
|
||||
"R_FR30_8_IN_8", /* name */
|
||||
true, /* partial_inplace */
|
||||
0x0ff0, /* src_mask */
|
||||
0x0ff0, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* A 9 bit absolute relocation. */
|
||||
HOWTO (R_FR30_9_IN_8, /* type */
|
||||
1, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
9, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
4, /* bitpos */
|
||||
complain_overflow_signed, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc,/* special_function */
|
||||
"R_FR30_9_IN_8", /* name */
|
||||
true, /* partial_inplace */
|
||||
0x0ff0, /* src_mask */
|
||||
0x0ff0, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* A 10 bit absolute relocation. */
|
||||
HOWTO (R_FR30_10_IN_8, /* type */
|
||||
2, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
10, /* bitsize */
|
||||
false, /* pc_relative */
|
||||
4, /* bitpos */
|
||||
complain_overflow_signed, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc,/* special_function */
|
||||
"R_FR30_10_IN_8", /* name */
|
||||
true, /* partial_inplace */
|
||||
0x0ff0, /* src_mask */
|
||||
0x0ff0, /* dst_mask */
|
||||
false), /* pcrel_offset */
|
||||
|
||||
/* A PC relative 9 bit relocation, right shifted by 1. */
|
||||
HOWTO (R_FR30_9_PCREL, /* type */
|
||||
1, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
9, /* bitsize */
|
||||
true, /* pc_relative */
|
||||
0, /* bitpos */
|
||||
complain_overflow_signed, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_FR30_9_PCREL", /* name */
|
||||
false, /* partial_inplace */
|
||||
0x00ff, /* src_mask */
|
||||
0x00ff, /* dst_mask */
|
||||
true), /* pcrel_offset */
|
||||
|
||||
/* A PC relative 12 bit relocation, right shifted by 1. */
|
||||
HOWTO (R_FR30_12_PCREL, /* type */
|
||||
1, /* rightshift */
|
||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||
12, /* bitsize */
|
||||
true, /* pc_relative */
|
||||
0, /* bitpos */
|
||||
complain_overflow_signed, /* complain_on_overflow */
|
||||
bfd_elf_generic_reloc, /* special_function */
|
||||
"R_FR30_12_PCREL", /* name */
|
||||
false, /* partial_inplace */
|
||||
0x07ff, /* src_mask */
|
||||
0x07ff, /* dst_mask */
|
||||
true), /* pcrel_offset */
|
||||
};
|
||||
|
||||
/* Utility to actually perform an R_FR30_20 reloc. */
|
||||
|
||||
static bfd_reloc_status_type
|
||||
fr30_elf_i20_reloc (abfd, reloc_entry, symbol, data,
|
||||
input_section, output_bfd, error_message)
|
||||
bfd * abfd;
|
||||
arelent * reloc_entry;
|
||||
asymbol * symbol;
|
||||
PTR data;
|
||||
asection * input_section;
|
||||
bfd * output_bfd;
|
||||
char ** error_message;
|
||||
{
|
||||
bfd_vma relocation;
|
||||
unsigned long x;
|
||||
|
||||
/* This part is from bfd_elf_generic_reloc. */
|
||||
if (output_bfd != (bfd *) NULL
|
||||
&& (symbol->flags & BSF_SECTION_SYM) == 0
|
||||
&& (! reloc_entry->howto->partial_inplace
|
||||
|| reloc_entry->addend == 0))
|
||||
{
|
||||
reloc_entry->address += input_section->output_offset;
|
||||
return bfd_reloc_ok;
|
||||
}
|
||||
|
||||
if (output_bfd != NULL)
|
||||
/* FIXME: See bfd_perform_relocation. Is this right? */
|
||||
return bfd_reloc_continue;
|
||||
|
||||
relocation =
|
||||
symbol->value
|
||||
+ symbol->section->output_section->vma
|
||||
+ symbol->section->output_offset
|
||||
+ reloc_entry->addend;
|
||||
|
||||
if (relocation > ((1U << 20) - 1))
|
||||
return bfd_reloc_overflow;
|
||||
|
||||
x = bfd_get_32 (abfd, data + reloc_entry->address);
|
||||
x = (x & 0xff0f0000) | (relocation & 0x0000ffff) | ((relocation & 0x000f0000) << 4);
|
||||
bfd_put_32 (abfd, x, data + reloc_entry->address);
|
||||
|
||||
return bfd_reloc_ok;
|
||||
}
|
||||
|
||||
|
||||
/* Map BFD reloc types to FR30 ELF reloc types. */
|
||||
|
||||
struct fr30_reloc_map
|
||||
{
|
||||
unsigned char bfd_reloc_val;
|
||||
unsigned char elf_reloc_val;
|
||||
};
|
||||
|
||||
static const struct fr30_reloc_map fr30_reloc_map [] =
|
||||
{
|
||||
{ BFD_RELOC_NONE, R_FR30_NONE },
|
||||
{ BFD_RELOC_8, R_FR30_8 },
|
||||
{ BFD_RELOC_FR30_20, R_FR30_20 },
|
||||
{ BFD_RELOC_32, R_FR30_32 },
|
||||
{ BFD_RELOC_FR30_6_IN_4, R_FR30_6_IN_4 },
|
||||
{ BFD_RELOC_FR30_8_IN_8, R_FR30_8_IN_8 },
|
||||
{ BFD_RELOC_FR30_9_IN_8, R_FR30_9_IN_8 },
|
||||
{ BFD_RELOC_FR30_10_IN_8, R_FR30_10_IN_8 },
|
||||
{ BFD_RELOC_FR30_9_PCREL, R_FR30_9_PCREL },
|
||||
{ BFD_RELOC_FR30_12_PCREL, R_FR30_12_PCREL },
|
||||
};
|
||||
|
||||
static reloc_howto_type *
|
||||
bfd_elf32_bfd_reloc_type_lookup (abfd, code)
|
||||
bfd * abfd;
|
||||
bfd_reloc_code_real_type code;
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for (i = sizeof (fr30_reloc_map) / sizeof (fr30_reloc_map[0]);
|
||||
--i;)
|
||||
{
|
||||
if (fr30_reloc_map [i].bfd_reloc_val == code)
|
||||
return & fr30_elf_howto_table [fr30_reloc_map[i].elf_reloc_val];
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Set the howto pointer for an FR30 ELF reloc. */
|
||||
|
||||
static void
|
||||
fr30_info_to_howto_rel (abfd, cache_ptr, dst)
|
||||
bfd * abfd;
|
||||
arelent * cache_ptr;
|
||||
Elf32_Internal_Rela * dst;
|
||||
{
|
||||
unsigned int r_type;
|
||||
|
||||
r_type = ELF32_R_TYPE (dst->r_info);
|
||||
BFD_ASSERT (r_type < (unsigned int) R_FR30_max);
|
||||
cache_ptr->howto = & fr30_elf_howto_table [r_type];
|
||||
}
|
||||
|
||||
/* Relocate an FR30 ELF section.
|
||||
There is some attempt to make this function usable for many architectures,
|
||||
both USE_REL and USE_RELA ['twould be nice if such a critter existed],
|
||||
if only to serve as a learning tool.
|
||||
|
||||
The RELOCATE_SECTION function is called by the new ELF backend linker
|
||||
to handle the relocations for a section.
|
||||
|
||||
The relocs are always passed as Rela structures; if the section
|
||||
actually uses Rel structures, the r_addend field will always be
|
||||
zero.
|
||||
|
||||
This function is responsible for adjusting the section contents as
|
||||
necessary, and (if using Rela relocs and generating a relocateable
|
||||
output file) adjusting the reloc addend as necessary.
|
||||
|
||||
This function does not have to worry about setting the reloc
|
||||
address or the reloc symbol index.
|
||||
|
||||
LOCAL_SYMS is a pointer to the swapped in local symbols.
|
||||
|
||||
LOCAL_SECTIONS is an array giving the section in the input file
|
||||
corresponding to the st_shndx field of each local symbol.
|
||||
|
||||
The global hash table entry for the global symbols can be found
|
||||
via elf_sym_hashes (input_bfd).
|
||||
|
||||
When generating relocateable output, this function must handle
|
||||
STB_LOCAL/STT_SECTION symbols specially. The output symbol is
|
||||
going to be the section symbol corresponding to the output
|
||||
section, which means that the addend must be adjusted
|
||||
accordingly. */
|
||||
|
||||
static boolean
|
||||
fr30_elf_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
contents, relocs, local_syms, local_sections)
|
||||
bfd * output_bfd;
|
||||
struct bfd_link_info * info;
|
||||
bfd * input_bfd;
|
||||
asection * input_section;
|
||||
bfd_byte * contents;
|
||||
Elf_Internal_Rela * relocs;
|
||||
Elf_Internal_Sym * local_syms;
|
||||
asection ** local_sections;
|
||||
{
|
||||
Elf_Internal_Shdr * symtab_hdr;
|
||||
struct elf_link_hash_entry ** sym_hashes;
|
||||
Elf_Internal_Rela * rel;
|
||||
Elf_Internal_Rela * relend;
|
||||
|
||||
symtab_hdr = & elf_tdata (input_bfd)->symtab_hdr;
|
||||
sym_hashes = elf_sym_hashes (input_bfd);
|
||||
relend = relocs + input_section->reloc_count;
|
||||
|
||||
for (rel = relocs; rel < relend; rel ++)
|
||||
{
|
||||
reloc_howto_type * howto;
|
||||
unsigned long r_symndx;
|
||||
Elf_Internal_Sym * sym;
|
||||
asection * sec;
|
||||
struct elf_link_hash_entry * h;
|
||||
bfd_vma relocation;
|
||||
bfd_reloc_status_type r;
|
||||
const char * name;
|
||||
|
||||
r_symndx = ELF32_R_SYM (rel->r_info);
|
||||
|
||||
if (info->relocateable)
|
||||
{
|
||||
/* This is a relocateable link. We don't have to change
|
||||
anything, unless the reloc is against a section symbol,
|
||||
in which case we have to adjust according to where the
|
||||
section symbol winds up in the output section. */
|
||||
if (r_symndx < symtab_hdr->sh_info)
|
||||
{
|
||||
sym = local_syms + r_symndx;
|
||||
|
||||
if (ELF_ST_TYPE (sym->st_info) == STT_SECTION)
|
||||
{
|
||||
sec = local_sections [r_symndx];
|
||||
rel->r_addend += sec->output_offset + sym->st_value;
|
||||
}
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
/* This is a final link. */
|
||||
howto = fr30_elf_howto_table + ELF32_R_TYPE (rel->r_info);
|
||||
h = NULL;
|
||||
sym = NULL;
|
||||
sec = NULL;
|
||||
|
||||
if (r_symndx < symtab_hdr->sh_info)
|
||||
{
|
||||
sym = local_syms + r_symndx;
|
||||
sec = local_sections [r_symndx];
|
||||
relocation = (sec->output_section->vma
|
||||
+ sec->output_offset
|
||||
+ sym->st_value);
|
||||
|
||||
name = bfd_elf_string_from_elf_section
|
||||
(input_bfd, symtab_hdr->sh_link, sym->st_name);
|
||||
name = (name == NULL) ? bfd_section_name (input_bfd, sec) : name;
|
||||
#if 0
|
||||
fprintf (stderr, "local: sec: %s, sym: %s (%d), value: %x + %x + %x addend %x\n",
|
||||
sec->name, name, sym->st_name,
|
||||
sec->output_section->vma, sec->output_offset,
|
||||
sym->st_value, rel->r_addend);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
{
|
||||
h = sym_hashes [r_symndx - symtab_hdr->sh_info];
|
||||
|
||||
while (h->root.type == bfd_link_hash_indirect
|
||||
|| h->root.type == bfd_link_hash_warning)
|
||||
h = (struct elf_link_hash_entry *) h->root.u.i.link;
|
||||
|
||||
name = h->root.root.string;
|
||||
|
||||
if (h->root.type == bfd_link_hash_defined
|
||||
|| h->root.type == bfd_link_hash_defweak)
|
||||
{
|
||||
sec = h->root.u.def.section;
|
||||
relocation = (h->root.u.def.value
|
||||
+ sec->output_section->vma
|
||||
+ sec->output_offset);
|
||||
#if 0
|
||||
fprintf (stderr,
|
||||
"defined: sec: %s, name: %s, value: %x + %x + %x gives: %x\n",
|
||||
sec->name, name, h->root.u.def.value,
|
||||
sec->output_section->vma, sec->output_offset, relocation);
|
||||
#endif
|
||||
}
|
||||
else if (h->root.type == bfd_link_hash_undefweak)
|
||||
{
|
||||
#if 0
|
||||
fprintf (stderr, "undefined: sec: %s, name: %s\n",
|
||||
sec->name, name);
|
||||
#endif
|
||||
relocation = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (! ((*info->callbacks->undefined_symbol)
|
||||
(info, h->root.root.string, input_bfd,
|
||||
input_section, rel->r_offset)))
|
||||
return false;
|
||||
#if 0
|
||||
fprintf (stderr, "unknown: name: %s\n", name);
|
||||
#endif
|
||||
relocation = 0;
|
||||
}
|
||||
}
|
||||
|
||||
r = _bfd_final_link_relocate (howto, input_bfd, input_section,
|
||||
contents, rel->r_offset,
|
||||
relocation, rel->r_addend);
|
||||
|
||||
if (r != bfd_reloc_ok)
|
||||
{
|
||||
const char * msg = (const char *)0;
|
||||
|
||||
switch (r)
|
||||
{
|
||||
case bfd_reloc_overflow:
|
||||
if (! ((*info->callbacks->reloc_overflow)
|
||||
(info, name, howto->name, (bfd_vma) 0,
|
||||
input_bfd, input_section, rel->r_offset)))
|
||||
return false;
|
||||
break;
|
||||
|
||||
case bfd_reloc_undefined:
|
||||
if (! ((*info->callbacks->undefined_symbol)
|
||||
(info, name, input_bfd, input_section,
|
||||
rel->r_offset)))
|
||||
return false;
|
||||
break;
|
||||
|
||||
case bfd_reloc_outofrange:
|
||||
msg = _("internal error: out of range error");
|
||||
goto common_error;
|
||||
|
||||
case bfd_reloc_notsupported:
|
||||
msg = _("internal error: unsupported relocation error");
|
||||
goto common_error;
|
||||
|
||||
case bfd_reloc_dangerous:
|
||||
msg = _("internal error: dangerous relocation");
|
||||
goto common_error;
|
||||
|
||||
case bfd_reloc_other:
|
||||
msg = _("could not locate special linker symbol __gp");
|
||||
goto common_error;
|
||||
|
||||
case bfd_reloc_continue:
|
||||
msg = _("could not locate special linker symbol __ep");
|
||||
goto common_error;
|
||||
|
||||
case (bfd_reloc_dangerous + 1):
|
||||
msg = _("could not locate special linker symbol __ctbp");
|
||||
goto common_error;
|
||||
|
||||
default:
|
||||
msg = _("internal error: unknown error");
|
||||
/* fall through */
|
||||
|
||||
common_error:
|
||||
if (!((*info->callbacks->warning)
|
||||
(info, msg, name, input_bfd, input_section,
|
||||
rel->r_offset)))
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
#define ELF_ARCH bfd_arch_fr30
|
||||
#define ELF_MACHINE_CODE EM_CYGNUS_FR30
|
||||
#define ELF_MAXPAGESIZE 0x1000
|
||||
|
||||
#define TARGET_BIG_SYM bfd_elf32_fr30_vec
|
||||
#define TARGET_BIG_NAME "elf32-fr30"
|
||||
|
||||
#define elf_info_to_howto 0
|
||||
#define elf_info_to_howto_rel fr30_info_to_howto_rel
|
||||
#define elf_backend_relocate_section fr30_elf_relocate_section
|
||||
|
||||
#include "elf32-target.h"
|
|
@ -56,6 +56,7 @@ cpu-arc.c
|
|||
cpu-arm.c
|
||||
cpu-d10v.c
|
||||
cpu-d30v.c
|
||||
cpu-fr30.c
|
||||
cpu-h8300.c
|
||||
cpu-h8500.c
|
||||
cpu-hppa.c
|
||||
|
@ -89,8 +90,10 @@ elf-m10200.c
|
|||
elf-m10300.c
|
||||
elf.c
|
||||
elf32-arc.c
|
||||
elf32-arm.c
|
||||
elf32-d10v.c
|
||||
elf32-d30v.c
|
||||
elf32-fr30.c
|
||||
elf32-gen.c
|
||||
elf32-hppa.c
|
||||
elf32-hppa.h
|
||||
|
|
375
bfd/po/bfd.pot
375
bfd/po/bfd.pot
|
@ -6,7 +6,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 1998-07-23 19:26-0400\n"
|
||||
"POT-Creation-Date: 1998-11-04 15:53-0800\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -19,22 +19,22 @@ msgstr ""
|
|||
msgid "%s: Unknown section type in a.out.adobe file: %x\n"
|
||||
msgstr ""
|
||||
|
||||
#: aoutx.h:1216 aoutx.h:1630
|
||||
#: aoutx.h:1222 aoutx.h:1636
|
||||
#, c-format
|
||||
msgid "%s: can not represent section `%s' in a.out object file format"
|
||||
msgstr ""
|
||||
|
||||
#: aoutx.h:1600
|
||||
#: aoutx.h:1606
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: can not represent section for symbol `%s' in a.out object file format"
|
||||
msgstr ""
|
||||
|
||||
#: aoutx.h:1602
|
||||
#: aoutx.h:1608
|
||||
msgid "*unknown*"
|
||||
msgstr ""
|
||||
|
||||
#: aoutx.h:3646
|
||||
#: aoutx.h:3652
|
||||
#, c-format
|
||||
msgid "%s: relocateable link from %s to %s not supported"
|
||||
msgstr ""
|
||||
|
@ -157,132 +157,132 @@ msgstr ""
|
|||
msgid "GP relative relocation used when GP not defined"
|
||||
msgstr ""
|
||||
|
||||
#: coff-alpha.c:1486 elf64-alpha.c:4089
|
||||
#: coff-alpha.c:1486 elf64-alpha.c:4148
|
||||
msgid "using multiple gp values"
|
||||
msgstr ""
|
||||
|
||||
#: coff-alpha.c:1992 coff-mips.c:1428 elf32-mips.c:4997
|
||||
#: coff-alpha.c:1992 coff-mips.c:1435 elf32-mips.c:5032
|
||||
msgid "GP relative relocation when GP not defined"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:895
|
||||
#: coff-arm.c:895 elf32-arm.c:149
|
||||
#, c-format
|
||||
msgid "%s: unable to find THUMB glue '%s' for `%s'"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:924
|
||||
#: coff-arm.c:924 elf32-arm.c:182
|
||||
#, c-format
|
||||
msgid "%s: unable to find ARM glue '%s' for `%s'"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:1176 coff-arm.c:1266
|
||||
#: coff-arm.c:1168 coff-arm.c:1258 elf32-arm.c:1076 elf32-arm.c:1175
|
||||
#, c-format
|
||||
msgid "%s(%s): warning: interworking not enabled."
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:1180
|
||||
#: coff-arm.c:1172 elf32-arm.c:1178
|
||||
#, c-format
|
||||
msgid " first occurrence: %s: arm call to thumb"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:1270
|
||||
#: coff-arm.c:1262 elf32-arm.c:1079
|
||||
#, c-format
|
||||
msgid " first occurrence: %s: thumb call to arm"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:1273
|
||||
#: coff-arm.c:1265
|
||||
msgid " consider relinking with --support-old-code enabled"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:1567 cofflink.c:2705
|
||||
#: coff-arm.c:1559 cofflink.c:2705
|
||||
#, c-format
|
||||
msgid "%s: bad reloc address 0x%lx in section `%s'"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2022
|
||||
#: coff-arm.c:2014
|
||||
#, c-format
|
||||
msgid "%s: ERROR: compiled for APCS-%d whereas target %s uses APCS-%d"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2037
|
||||
#: coff-arm.c:2029
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: ERROR: passes floats in float registers whereas target %s uses integer "
|
||||
"registers"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2040
|
||||
#: coff-arm.c:2032
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: ERROR: passes floats in integer registers whereas target %s uses float "
|
||||
"registers"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2055
|
||||
#: coff-arm.c:2047
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: ERROR: compiled as position independent code, whereas target %s is "
|
||||
"absolute position"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2058
|
||||
#: coff-arm.c:2050
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: ERROR: compiled as absolute position code, whereas target %s is position "
|
||||
"independent"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2087
|
||||
#: coff-arm.c:2079
|
||||
#, c-format
|
||||
msgid "Warning: input file %s supports interworking, whereas %s does not."
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2090
|
||||
#: coff-arm.c:2082
|
||||
#, c-format
|
||||
msgid "Warning: input file %s does not support interworking, whereas %s does."
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2118
|
||||
#: coff-arm.c:2110
|
||||
#, c-format
|
||||
msgid "private flags = %x:"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2126
|
||||
#: coff-arm.c:2118 elf32-arm.c:1804
|
||||
msgid " [floats passed in float registers]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2128
|
||||
#: coff-arm.c:2120 elf32-arm.c:1806
|
||||
msgid " [floats passed in integer registers]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2131
|
||||
#: coff-arm.c:2123 elf32-arm.c:1809
|
||||
msgid " [position independent]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2133
|
||||
#: coff-arm.c:2125 elf32-arm.c:1811
|
||||
msgid " [absolute position]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2137
|
||||
#: coff-arm.c:2129
|
||||
msgid " [interworking flag not initialised]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2139
|
||||
#: coff-arm.c:2131
|
||||
msgid " [interworking supported]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2141
|
||||
#: coff-arm.c:2133
|
||||
msgid " [interworking not supported]"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2190
|
||||
#: coff-arm.c:2182
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Warning: Not setting interworking flag of %s, since it has already been "
|
||||
"specified as non-interworking"
|
||||
msgstr ""
|
||||
|
||||
#: coff-arm.c:2194
|
||||
#: coff-arm.c:2186
|
||||
#, c-format
|
||||
msgid "Warning: Clearing the interworking flag of %s due to outside request"
|
||||
msgstr ""
|
||||
|
@ -291,21 +291,21 @@ msgstr ""
|
|||
msgid "uncertain calling convention for non-COFF symbol"
|
||||
msgstr ""
|
||||
|
||||
#: coff-mips.c:875 elf32-mips.c:1173
|
||||
#: coff-mips.c:875 elf32-mips.c:1182
|
||||
msgid "GP relative relocation when _gp not defined"
|
||||
msgstr ""
|
||||
|
||||
#: coff-mips.c:2426
|
||||
#: coff-mips.c:2433
|
||||
msgid "unsupported reloc type"
|
||||
msgstr ""
|
||||
|
||||
#. No other sections should appear in -membedded-pic
|
||||
#. code.
|
||||
#: coff-mips.c:2463
|
||||
#: coff-mips.c:2470
|
||||
msgid "reloc against unsupported section"
|
||||
msgstr ""
|
||||
|
||||
#: coff-mips.c:2471
|
||||
#: coff-mips.c:2478
|
||||
msgid "reloc not properly aligned"
|
||||
msgstr ""
|
||||
|
||||
|
@ -382,30 +382,30 @@ msgstr ""
|
|||
msgid "Dwarf Error: Can't find .debug_line section."
|
||||
msgstr ""
|
||||
|
||||
#: dwarf2.c:881
|
||||
#: dwarf2.c:884
|
||||
msgid "Dwarf Error: mangled line number section."
|
||||
msgstr ""
|
||||
|
||||
#: dwarf2.c:1055 dwarf2.c:1203
|
||||
#: dwarf2.c:1058 dwarf2.c:1205
|
||||
#, c-format
|
||||
msgid "Dwarf Error: Could not find abbrev number %d."
|
||||
msgstr ""
|
||||
|
||||
#: dwarf2.c:1164
|
||||
#: dwarf2.c:1166
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Dwarf Error: found dwarf version '%hu', this reader only handles version 2 "
|
||||
"information."
|
||||
msgstr ""
|
||||
|
||||
#: dwarf2.c:1171
|
||||
#: dwarf2.c:1173
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Dwarf Error: found address size '%u', this reader can not handle sizes "
|
||||
"greater than '%u'."
|
||||
msgstr ""
|
||||
|
||||
#: dwarf2.c:1194
|
||||
#: dwarf2.c:1196
|
||||
#, c-format
|
||||
msgid "Dwarf Error: Bad abbrev number: %d."
|
||||
msgstr ""
|
||||
|
@ -471,407 +471,502 @@ msgid ""
|
|||
" Type: %s"
|
||||
msgstr ""
|
||||
|
||||
#: elf-m10200.c:455 elf-m10300.c:639 elf32-m32r.c:1120 elf32-v850.c:1608
|
||||
#: elf-m10200.c:455 elf-m10300.c:667 elf32-arm.c:1583 elf32-fr30.c:465
|
||||
#: elf32-m32r.c:1157 elf32-v850.c:1666
|
||||
msgid "internal error: out of range error"
|
||||
msgstr ""
|
||||
|
||||
#: elf-m10200.c:459 elf-m10300.c:643 elf32-m32r.c:1124 elf32-v850.c:1612
|
||||
#: elf-m10200.c:459 elf-m10300.c:671 elf32-arm.c:1587 elf32-fr30.c:469
|
||||
#: elf32-m32r.c:1161 elf32-v850.c:1670
|
||||
msgid "internal error: unsupported relocation error"
|
||||
msgstr ""
|
||||
|
||||
#: elf-m10200.c:463 elf-m10300.c:647 elf32-m32r.c:1128
|
||||
#: elf-m10200.c:463 elf-m10300.c:675 elf32-arm.c:1591 elf32-m32r.c:1165
|
||||
msgid "internal error: dangerous error"
|
||||
msgstr ""
|
||||
|
||||
#: elf-m10200.c:467 elf-m10300.c:651 elf32-m32r.c:1132 elf32-v850.c:1632
|
||||
#: elf-m10200.c:467 elf-m10300.c:679 elf32-arm.c:1595 elf32-fr30.c:489
|
||||
#: elf32-m32r.c:1169 elf32-v850.c:1690
|
||||
msgid "internal error: unknown error"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:311
|
||||
#: elf.c:320
|
||||
#, c-format
|
||||
msgid "%s: invalid string offset %u >= %lu for section `%s'"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:534
|
||||
#: elf.c:543
|
||||
msgid ""
|
||||
"\n"
|
||||
"Program Header:\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:582
|
||||
#: elf.c:591
|
||||
msgid ""
|
||||
"\n"
|
||||
"Dynamic Section:\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:684
|
||||
#: elf.c:693
|
||||
msgid ""
|
||||
"\n"
|
||||
"Version definitions:\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:707
|
||||
#: elf.c:716
|
||||
msgid ""
|
||||
"\n"
|
||||
"Version References:\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:712
|
||||
#: elf.c:721
|
||||
#, c-format
|
||||
msgid " required from %s:\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:1856
|
||||
#: elf.c:1865
|
||||
#, c-format
|
||||
msgid ""
|
||||
"creating section symbol, name = %s, value = 0x%.8lx, index = %d, section = "
|
||||
"0x%.8lx\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:2455
|
||||
#: elf.c:2464
|
||||
#, c-format
|
||||
msgid "%s: Not enough room for program headers (allocated %u, need %u)"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:2545
|
||||
#: elf.c:2554
|
||||
#, c-format
|
||||
msgid "%s: Not enough room for program headers, try linking with -N"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:2670
|
||||
#: elf.c:2680
|
||||
#, c-format
|
||||
msgid "Error: First section in segment (%s) starts at 0x%x"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:2673
|
||||
#: elf.c:2683
|
||||
#, c-format
|
||||
msgid " whereas segment starts at 0x%x"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:2920
|
||||
#: elf.c:2952
|
||||
#, c-format
|
||||
msgid "%s: warning: allocated section `%s' not in segment"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:3269
|
||||
#: elf.c:3313
|
||||
#, c-format
|
||||
msgid "%s: symbol `%s' required but not present"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:3278
|
||||
#: elf.c:3322
|
||||
#, c-format
|
||||
msgid ""
|
||||
"elf_symbol_from_bfd_symbol 0x%.8lx, name = %s, sym num = %d, flags = "
|
||||
"0x%.8lx%s\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:3405
|
||||
#: elf.c:3462
|
||||
#, c-format
|
||||
msgid "%s: warning: Empty loadable segment detected\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf.c:4665
|
||||
#: elf.c:4735
|
||||
#, c-format
|
||||
msgid "%s: unsupported relocation type %s"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1621
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Warning: Not setting interwork flag of %s since it has already been "
|
||||
"specified as non-interworking"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1625
|
||||
#, c-format
|
||||
msgid "Warning: Clearing the interwork flag of %s due to outside request"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1673
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Warning: Clearing the interwork flag in %s because non-interworking code in "
|
||||
"%s has been linked with it"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1738
|
||||
#, c-format
|
||||
msgid "Error: %s compiled for APCS-%d, whereas %s is compiled for APCS-%d"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1746
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Error: %s passes floats in %s registers, whereas %s passes them in %s "
|
||||
"registers"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1749 elf32-arm.c:1751
|
||||
msgid "float"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1749 elf32-arm.c:1751
|
||||
msgid "integer"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1754
|
||||
#, c-format
|
||||
msgid "Error: %s is compiled as position %s code, whereas %s is not"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1757
|
||||
msgid "independent"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1757
|
||||
msgid "dependent"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1763
|
||||
#, c-format
|
||||
msgid "Warning: %s %s interworking, whereas %s %s"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1766
|
||||
msgid "supports"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1766
|
||||
msgid "does not support"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1768
|
||||
msgid "does not"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1768
|
||||
msgid "does"
|
||||
msgstr ""
|
||||
|
||||
#. Ignore init flag - it may not be set, despite the flags field containing valid data.
|
||||
#: elf32-arm.c:1791
|
||||
#, c-format
|
||||
msgid "private flags = %lx:"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1794
|
||||
msgid " [interworking enabled]"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1796
|
||||
msgid " [interworking not enabled]"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1799
|
||||
msgid " [APCS-26]"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-arm.c:1801
|
||||
msgid " [APCS-32]"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-fr30.c:473 elf32-v850.c:1674
|
||||
msgid "internal error: dangerous relocation"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-fr30.c:477 elf32-v850.c:1678
|
||||
msgid "could not locate special linker symbol __gp"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-fr30.c:481 elf32-v850.c:1682
|
||||
msgid "could not locate special linker symbol __ep"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-fr30.c:485 elf32-v850.c:1686
|
||||
msgid "could not locate special linker symbol __ctbp"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-hppa.c:1215
|
||||
msgid "Unsupported call to hppa_elf_reloc"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-i386.c:1164
|
||||
#: elf32-i386.c:1288
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: warning: unresolvable relocation against symbol `%s' from %s section"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-m32r.c:775
|
||||
#: elf32-m32r.c:808
|
||||
msgid "SDA relocation when _SDA_BASE_ not defined"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-m32r.c:859 elf32-ppc.c:2759
|
||||
#: elf32-m32r.c:892 elf32-ppc.c:2794
|
||||
#, c-format
|
||||
msgid "%s: unknown relocation type %d"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-m32r.c:1063
|
||||
#: elf32-m32r.c:1100
|
||||
#, c-format
|
||||
msgid "%s: The target (%s) of an %s relocation is in the wrong section (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-m32r.c:1869
|
||||
#: elf32-m32r.c:1906
|
||||
#, c-format
|
||||
msgid "%s: Instruction set mismatch with previous modules"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-m32r.c:1892
|
||||
#: elf32-m32r.c:1929
|
||||
#, c-format
|
||||
msgid "private flags = %lx"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-m32r.c:1897
|
||||
#: elf32-m32r.c:1934
|
||||
msgid ": m32r instructions"
|
||||
msgstr ""
|
||||
|
||||
#. start-sanitize-m32rx
|
||||
#: elf32-m32r.c:1899
|
||||
#: elf32-m32r.c:1936
|
||||
msgid ": m32rx instructions"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:1333
|
||||
#: elf32-mips.c:1342
|
||||
msgid "32bits gp relative relocation occurs for an external symbol"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:1482
|
||||
#: elf32-mips.c:1491
|
||||
#, c-format
|
||||
msgid "Linking mips16 objects into %s format is not supported"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2260 elf32-ppc.c:1129
|
||||
#: elf32-mips.c:2275 elf32-ppc.c:1132
|
||||
#, c-format
|
||||
msgid "%s: compiled for a big endian system and target is little endian"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2262 elf32-ppc.c:1131
|
||||
#: elf32-mips.c:2277 elf32-ppc.c:1134
|
||||
#, c-format
|
||||
msgid "%s: compiled for a little endian system and target is big endian"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2309
|
||||
#: elf32-mips.c:2324
|
||||
#, c-format
|
||||
msgid "%s: linking PIC files with non-PIC files"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2319
|
||||
#: elf32-mips.c:2334
|
||||
#, c-format
|
||||
msgid "%s: linking abicalls files with non-abicalls files"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2344
|
||||
#: elf32-mips.c:2359
|
||||
#, c-format
|
||||
msgid "%s: ISA mismatch (-mips%d) with previous modules (-mips%d)"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2353
|
||||
#: elf32-mips.c:2368
|
||||
#, c-format
|
||||
msgid "%s: ISA mismatch (%d) with previous modules (%d)"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2368 elf32-ppc.c:1193 elf64-sparc.c:2195
|
||||
#: elf32-mips.c:2383 elf32-ppc.c:1196 elf64-sparc.c:2204
|
||||
#, c-format
|
||||
msgid "%s: uses different e_flags (0x%lx) fields than previous modules (0x%lx)"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:2404
|
||||
msgid ".liblist"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:3954
|
||||
#: elf32-mips.c:3982
|
||||
msgid "static procedure (no name)"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:4527 elf64-alpha.c:4463
|
||||
#: elf32-mips.c:4555 elf64-alpha.c:4522
|
||||
#, c-format
|
||||
msgid "%s: illegal section name `%s'"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:4834
|
||||
#: elf32-mips.c:4862
|
||||
msgid "more got entries are needed for hipage relocations"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:5154
|
||||
#: elf32-mips.c:5189
|
||||
msgid "_gp_disp used when GP not defined"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:5571
|
||||
#: elf32-mips.c:5606
|
||||
#, c-format
|
||||
msgid "%s: %s+0x%lx: jump to mips16 routine which is not jal"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-mips.c:6348
|
||||
#: elf32-mips.c:6383
|
||||
#, c-format
|
||||
msgid "%s: CALL16 reloc at 0x%lx not against global symbol"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:1164
|
||||
#: elf32-ppc.c:1167
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: compiled with -mrelocatable and linked with modules compiled normally"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:1172
|
||||
#: elf32-ppc.c:1175
|
||||
#, c-format
|
||||
msgid ""
|
||||
"%s: compiled normally and linked with modules compiled with -mrelocatable"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:1294
|
||||
#: elf32-ppc.c:1297
|
||||
#, c-format
|
||||
msgid "%s: Unknown special linker type %d"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:2014 elf32-ppc.c:2048 elf32-ppc.c:2083
|
||||
#: elf32-ppc.c:2037 elf32-ppc.c:2071 elf32-ppc.c:2106
|
||||
#, c-format
|
||||
msgid "%s: relocation %s cannot be used when making a shared object"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:2904
|
||||
#: elf32-ppc.c:2939
|
||||
#, c-format
|
||||
msgid "%s: unknown relocation type %d for symbol %s"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:3277 elf32-ppc.c:3299 elf32-ppc.c:3346
|
||||
#: elf32-ppc.c:3306 elf32-ppc.c:3328 elf32-ppc.c:3377
|
||||
#, c-format
|
||||
msgid "%s: The target (%s) of a %s relocation is in the wrong section (%s)"
|
||||
msgid ""
|
||||
"%s: The target (%s) of a %s relocation is in the wrong output section (%s)"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-ppc.c:3412
|
||||
#: elf32-ppc.c:3443
|
||||
#, c-format
|
||||
msgid "%s: Relocation %s is not yet supported for symbol %s."
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:648
|
||||
#: elf32-sh.c:683
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: bad R_SH_USES offset"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:660
|
||||
#: elf32-sh.c:695
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: R_SH_USES points to unrecognized insn 0x%x"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:677
|
||||
#: elf32-sh.c:712
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: bad R_SH_USES load offset"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:692
|
||||
#: elf32-sh.c:727
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: could not find expected reloc"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:729
|
||||
#: elf32-sh.c:764
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: symbol in unexpected section"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:851
|
||||
#: elf32-sh.c:886
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: could not find expected COUNT reloc"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:860
|
||||
#: elf32-sh.c:895
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: warning: bad count"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sh.c:1243 elf32-sh.c:1580
|
||||
#: elf32-sh.c:1278 elf32-sh.c:1615
|
||||
#, c-format
|
||||
msgid "%s: 0x%lx: fatal: reloc overflow while relaxing"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sparc.c:1364 elf64-sparc.c:1585
|
||||
#: elf32-sparc.c:1510 elf64-sparc.c:1585
|
||||
#, c-format
|
||||
msgid "%s: probably compiled without -fPIC?"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sparc.c:1777
|
||||
#: elf32-sparc.c:1931
|
||||
#, c-format
|
||||
msgid "%s: compiled for a v8plus system and target is v8"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sparc.c:1786
|
||||
#: elf32-sparc.c:1940
|
||||
#, c-format
|
||||
msgid "%s: compiled for a v8plusa system and target is v8plus"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sparc.c:1794
|
||||
#: elf32-sparc.c:1948
|
||||
#, c-format
|
||||
msgid "%s: compiled for a 64 bit system and target is 32 bit"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-sparc.c:1806
|
||||
#: elf32-sparc.c:1960
|
||||
#, c-format
|
||||
msgid "%s: linking little endian files with big endian files"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:644
|
||||
#: elf32-v850.c:691
|
||||
#, c-format
|
||||
msgid "Variable `%s' cannot occupy in multiple small data regions"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:647
|
||||
#: elf32-v850.c:694
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Variable `%s' can only be in one of the small, zero, and tiny data regions"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:650
|
||||
#: elf32-v850.c:697
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Variable `%s' cannot be in both small and zero data regions simultaneously"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:653
|
||||
#: elf32-v850.c:700
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Variable `%s' cannot be in both small and tiny data regions simultaneously"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:656
|
||||
#: elf32-v850.c:703
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Variable `%s' cannot be in both zero and tiny data regions simultaneously"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1018
|
||||
#: elf32-v850.c:1064
|
||||
msgid "FAILED to find previous HI16 reloc\n"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1616
|
||||
msgid "internal error: dangerous relocation"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1620
|
||||
msgid "could not locate special linker symbol __gp"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1624
|
||||
msgid "could not locate special linker symbol __ep"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1628
|
||||
msgid "could not locate special linker symbol __ctbp"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1767
|
||||
#: elf32-v850.c:1876
|
||||
#, c-format
|
||||
msgid "%s: Architecture mismatch with previous modules"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1786
|
||||
#: elf32-v850.c:1895
|
||||
#, c-format
|
||||
msgid "private flags = %lx: "
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1791
|
||||
#: elf32-v850.c:1900
|
||||
msgid "v850 architecture"
|
||||
msgstr ""
|
||||
|
||||
#. start-sanitize-v850e
|
||||
#: elf32-v850.c:1793
|
||||
#: elf32-v850.c:1902
|
||||
msgid "v850e architecture"
|
||||
msgstr ""
|
||||
|
||||
#: elf32-v850.c:1794
|
||||
#: elf32-v850.c:1903
|
||||
msgid "v850ea architecture"
|
||||
msgstr ""
|
||||
|
||||
#: elf64-alpha.c:949
|
||||
#: elf64-alpha.c:952
|
||||
msgid "GPDISP relocation did not find ldah and lda instructions"
|
||||
msgstr ""
|
||||
|
||||
#: elf64-alpha.c:3029
|
||||
#: elf64-alpha.c:3059
|
||||
#, c-format
|
||||
msgid "%s: .got subsegment exceeds 64K (size %d)"
|
||||
msgstr ""
|
||||
|
@ -881,12 +976,12 @@ msgstr ""
|
|||
msgid "%s: check_relocs: unhandled reloc type %d"
|
||||
msgstr ""
|
||||
|
||||
#: elf64-sparc.c:2177
|
||||
#: elf64-sparc.c:2186
|
||||
#, c-format
|
||||
msgid "%s: linking UltraSPARC specific with HAL specific code"
|
||||
msgstr ""
|
||||
|
||||
#: elfcode.h:1017
|
||||
#: elfcode.h:1021
|
||||
#, c-format
|
||||
msgid "%s: version count (%ld) does not match symbol count (%ld)"
|
||||
msgstr ""
|
||||
|
@ -1063,7 +1158,7 @@ msgstr ""
|
|||
msgid "Partition[%d] length = 0x%.8lx (%ld)\n"
|
||||
msgstr ""
|
||||
|
||||
#: som.c:5046
|
||||
#: som.c:5066
|
||||
msgid "som_sizeof_headers unimplemented"
|
||||
msgstr ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue