mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
Whitespace changes. * archive.c: Update copyright date. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
This commit is contained in:
@ -1,3 +1,14 @@
|
|||||||
|
2002-03-21 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* coff64-rs6000.c (_bfd_xcoff64_put_symbol_name): Prototype.
|
||||||
|
Whitespace changes.
|
||||||
|
* archive.c: Update copyright date.
|
||||||
|
* bfd-in2.h: Regenerate.
|
||||||
|
* libbfd.h: Regenerate.
|
||||||
|
* Makefile.am: Run "make dep-am"
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
* po/SRC-POTFILES.in: Regenerate.
|
||||||
|
|
||||||
2002-03-20 Daniel Jacobowitz <drow@mvista.com>
|
2002-03-20 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* dwarf2.c (struct funcinfo): Move up.
|
* dwarf2.c (struct funcinfo): Move up.
|
||||||
|
@ -1141,6 +1141,11 @@ elf32-ppc.lo: elf32-ppc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
|||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
|
$(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
|
||||||
elf32-target.h
|
elf32-target.h
|
||||||
|
elf32-sh64.lo: elf32-sh64.c $(INCDIR)/filenames.h elf-bfd.h \
|
||||||
|
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||||
|
$(INCDIR)/bfdlink.h $(srcdir)/../opcodes/sh64-opc.h \
|
||||||
|
elf32-sh.c $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
|
||||||
|
elf32-target.h
|
||||||
elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
|
$(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
|
||||||
@ -1157,11 +1162,6 @@ elf32-sh-nbsd.lo: elf32-sh-nbsd.c elf32-sh.c $(INCDIR)/filenames.h \
|
|||||||
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h \
|
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h \
|
||||||
$(INCDIR)/elf/reloc-macros.h elf32-target.h
|
$(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||||
elf32-sh64.lo: elf32-sh64.c $(INCDIR)/filenames.h elf-bfd.h \
|
|
||||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
|
||||||
$(INCDIR)/bfdlink.h $(srcdir)/../opcodes/sh64-opc.h \
|
|
||||||
elf32-sh.c $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
|
|
||||||
elf32-target.h
|
|
||||||
elf32-sparc.lo: elf32-sparc.c $(INCDIR)/filenames.h \
|
elf32-sparc.lo: elf32-sparc.c $(INCDIR)/filenames.h \
|
||||||
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sparc.h \
|
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sparc.h \
|
||||||
@ -1369,8 +1369,7 @@ vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
|||||||
xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
||||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h libcoff.h \
|
$(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h libcoff.h \
|
||||||
libxcoff.h
|
libxcoff.h
|
||||||
aix5ppc-core.lo: aix5ppc-core.c $(INCDIR)/coff/internal.h \
|
aix5ppc-core.lo: aix5ppc-core.c
|
||||||
$(INCDIR)/coff/xcoff.h libcoff.h libxcoff.h
|
|
||||||
aout64.lo: aout64.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
|
aout64.lo: aout64.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
|
||||||
$(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
|
$(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
|
||||||
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
|
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
|
||||||
@ -1391,8 +1390,8 @@ efi-app-ia64.lo: efi-app-ia64.c $(INCDIR)/filenames.h \
|
|||||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
|
$(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
|
||||||
$(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
|
$(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
|
||||||
elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
|
elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
|
||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||||
$(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/x86-64.h \
|
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/x86-64.h \
|
||||||
$(INCDIR)/elf/reloc-macros.h elf64-target.h
|
$(INCDIR)/elf/reloc-macros.h elf64-target.h
|
||||||
elf64-alpha.lo: elf64-alpha.c $(INCDIR)/filenames.h \
|
elf64-alpha.lo: elf64-alpha.c $(INCDIR)/filenames.h \
|
||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||||
|
@ -752,7 +752,7 @@ configure.in
|
|||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = tar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
|
SOURCES = $(libbfd_a_SOURCES) $(libbfd_la_SOURCES)
|
||||||
OBJECTS = $(libbfd_a_OBJECTS) $(libbfd_la_OBJECTS)
|
OBJECTS = $(libbfd_a_OBJECTS) $(libbfd_la_OBJECTS)
|
||||||
@ -1685,6 +1685,11 @@ elf32-ppc.lo: elf32-ppc.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
|||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
|
$(INCDIR)/elf/external.h $(INCDIR)/elf/ppc.h $(INCDIR)/elf/reloc-macros.h \
|
||||||
elf32-target.h
|
elf32-target.h
|
||||||
|
elf32-sh64.lo: elf32-sh64.c $(INCDIR)/filenames.h elf-bfd.h \
|
||||||
|
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
||||||
|
$(INCDIR)/bfdlink.h $(srcdir)/../opcodes/sh64-opc.h \
|
||||||
|
elf32-sh.c $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
|
||||||
|
elf32-target.h
|
||||||
elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
elf32-s390.lo: elf32-s390.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||||
$(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
|
$(INCDIR)/elf/external.h $(INCDIR)/elf/s390.h $(INCDIR)/elf/reloc-macros.h \
|
||||||
@ -1701,11 +1706,6 @@ elf32-sh-nbsd.lo: elf32-sh-nbsd.c elf32-sh.c $(INCDIR)/filenames.h \
|
|||||||
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h \
|
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sh.h \
|
||||||
$(INCDIR)/elf/reloc-macros.h elf32-target.h
|
$(INCDIR)/elf/reloc-macros.h elf32-target.h
|
||||||
elf32-sh64.lo: elf32-sh64.c $(INCDIR)/filenames.h elf-bfd.h \
|
|
||||||
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
|
|
||||||
$(INCDIR)/bfdlink.h $(srcdir)/../opcodes/sh64-opc.h \
|
|
||||||
elf32-sh.c $(INCDIR)/elf/sh.h $(INCDIR)/elf/reloc-macros.h \
|
|
||||||
elf32-target.h
|
|
||||||
elf32-sparc.lo: elf32-sparc.c $(INCDIR)/filenames.h \
|
elf32-sparc.lo: elf32-sparc.c $(INCDIR)/filenames.h \
|
||||||
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||||
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sparc.h \
|
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/sparc.h \
|
||||||
@ -1913,8 +1913,7 @@ vms-tir.lo: vms-tir.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
|||||||
xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
xcofflink.lo: xcofflink.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \
|
||||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h libcoff.h \
|
$(INCDIR)/coff/internal.h $(INCDIR)/coff/xcoff.h libcoff.h \
|
||||||
libxcoff.h
|
libxcoff.h
|
||||||
aix5ppc-core.lo: aix5ppc-core.c $(INCDIR)/coff/internal.h \
|
aix5ppc-core.lo: aix5ppc-core.c
|
||||||
$(INCDIR)/coff/xcoff.h libcoff.h libxcoff.h
|
|
||||||
aout64.lo: aout64.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
|
aout64.lo: aout64.c aoutx.h $(INCDIR)/filenames.h $(INCDIR)/safe-ctype.h \
|
||||||
$(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
|
$(INCDIR)/bfdlink.h libaout.h $(INCDIR)/aout/aout64.h \
|
||||||
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
|
$(INCDIR)/aout/stab_gnu.h $(INCDIR)/aout/stab.def $(INCDIR)/aout/ar.h
|
||||||
@ -1935,8 +1934,8 @@ efi-app-ia64.lo: efi-app-ia64.c $(INCDIR)/filenames.h \
|
|||||||
$(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
|
$(INCDIR)/coff/internal.h $(INCDIR)/coff/pe.h libcoff.h \
|
||||||
$(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
|
$(INCDIR)/bfdlink.h coffcode.h peicode.h libpei.h
|
||||||
elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
|
elf64-x86-64.lo: elf64-x86-64.c $(INCDIR)/filenames.h \
|
||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
|
||||||
$(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/x86-64.h \
|
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/x86-64.h \
|
||||||
$(INCDIR)/elf/reloc-macros.h elf64-target.h
|
$(INCDIR)/elf/reloc-macros.h elf64-target.h
|
||||||
elf64-alpha.lo: elf64-alpha.c $(INCDIR)/filenames.h \
|
elf64-alpha.lo: elf64-alpha.c $(INCDIR)/filenames.h \
|
||||||
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* BFD back-end for archive files (libraries).
|
/* BFD back-end for archive files (libraries).
|
||||||
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||||
2000, 2001
|
2000, 2001, 2002
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
Written by Cygnus Support. Mostly Gumby Henkel-Wallace's fault.
|
Written by Cygnus Support. Mostly Gumby Henkel-Wallace's fault.
|
||||||
|
|
||||||
|
101
bfd/bfd-in2.h
101
bfd/bfd-in2.h
@ -755,6 +755,9 @@ extern boolean bfd_xcoff_size_dynamic_sections
|
|||||||
extern boolean bfd_xcoff_link_generate_rtinit
|
extern boolean bfd_xcoff_link_generate_rtinit
|
||||||
PARAMS ((bfd *, const char *, const char *, boolean));
|
PARAMS ((bfd *, const char *, const char *, boolean));
|
||||||
|
|
||||||
|
/* XCOFF support routines for ar. */
|
||||||
|
extern boolean bfd_xcoff_ar_archive_set_magic PARAMS ((bfd *, char *));
|
||||||
|
|
||||||
/* Externally visible COFF routines. */
|
/* Externally visible COFF routines. */
|
||||||
|
|
||||||
#if defined(__STDC__) || defined(ALMOST_STDC)
|
#if defined(__STDC__) || defined(ALMOST_STDC)
|
||||||
@ -2194,55 +2197,6 @@ to compensate for the borrow when the low bits are added. */
|
|||||||
BFD_RELOC_MIPS_REL16,
|
BFD_RELOC_MIPS_REL16,
|
||||||
BFD_RELOC_MIPS_RELGOT,
|
BFD_RELOC_MIPS_RELGOT,
|
||||||
BFD_RELOC_MIPS_JALR,
|
BFD_RELOC_MIPS_JALR,
|
||||||
BFD_RELOC_SH_GOT_LOW16,
|
|
||||||
BFD_RELOC_SH_GOT_MEDLOW16,
|
|
||||||
BFD_RELOC_SH_GOT_MEDHI16,
|
|
||||||
BFD_RELOC_SH_GOT_HI16,
|
|
||||||
BFD_RELOC_SH_GOTPLT_LOW16,
|
|
||||||
BFD_RELOC_SH_GOTPLT_MEDLOW16,
|
|
||||||
BFD_RELOC_SH_GOTPLT_MEDHI16,
|
|
||||||
BFD_RELOC_SH_GOTPLT_HI16,
|
|
||||||
BFD_RELOC_SH_PLT_LOW16,
|
|
||||||
BFD_RELOC_SH_PLT_MEDLOW16,
|
|
||||||
BFD_RELOC_SH_PLT_MEDHI16,
|
|
||||||
BFD_RELOC_SH_PLT_HI16,
|
|
||||||
BFD_RELOC_SH_GOTOFF_LOW16,
|
|
||||||
BFD_RELOC_SH_GOTOFF_MEDLOW16,
|
|
||||||
BFD_RELOC_SH_GOTOFF_MEDHI16,
|
|
||||||
BFD_RELOC_SH_GOTOFF_HI16,
|
|
||||||
BFD_RELOC_SH_GOTPC_LOW16,
|
|
||||||
BFD_RELOC_SH_GOTPC_MEDLOW16,
|
|
||||||
BFD_RELOC_SH_GOTPC_MEDHI16,
|
|
||||||
BFD_RELOC_SH_GOTPC_HI16,
|
|
||||||
BFD_RELOC_SH_COPY64,
|
|
||||||
BFD_RELOC_SH_GLOB_DAT64,
|
|
||||||
BFD_RELOC_SH_JMP_SLOT64,
|
|
||||||
BFD_RELOC_SH_RELATIVE64,
|
|
||||||
BFD_RELOC_SH_GOT10BY4,
|
|
||||||
BFD_RELOC_SH_GOT10BY8,
|
|
||||||
BFD_RELOC_SH_GOTPLT10BY4,
|
|
||||||
BFD_RELOC_SH_GOTPLT10BY8,
|
|
||||||
BFD_RELOC_SH_GOTPLT32,
|
|
||||||
BFD_RELOC_SH_SHMEDIA_CODE,
|
|
||||||
BFD_RELOC_SH_IMMU5,
|
|
||||||
BFD_RELOC_SH_IMMS6,
|
|
||||||
BFD_RELOC_SH_IMMS6BY32,
|
|
||||||
BFD_RELOC_SH_IMMU6,
|
|
||||||
BFD_RELOC_SH_IMMS10,
|
|
||||||
BFD_RELOC_SH_IMMS10BY2,
|
|
||||||
BFD_RELOC_SH_IMMS10BY4,
|
|
||||||
BFD_RELOC_SH_IMMS10BY8,
|
|
||||||
BFD_RELOC_SH_IMMS16,
|
|
||||||
BFD_RELOC_SH_IMMU16,
|
|
||||||
BFD_RELOC_SH_IMM_LOW16,
|
|
||||||
BFD_RELOC_SH_IMM_LOW16_PCREL,
|
|
||||||
BFD_RELOC_SH_IMM_MEDLOW16,
|
|
||||||
BFD_RELOC_SH_IMM_MEDLOW16_PCREL,
|
|
||||||
BFD_RELOC_SH_IMM_MEDHI16,
|
|
||||||
BFD_RELOC_SH_IMM_MEDHI16_PCREL,
|
|
||||||
BFD_RELOC_SH_IMM_HI16,
|
|
||||||
BFD_RELOC_SH_IMM_HI16_PCREL,
|
|
||||||
BFD_RELOC_SH_PT_16,
|
|
||||||
|
|
||||||
|
|
||||||
/* i386/elf relocations */
|
/* i386/elf relocations */
|
||||||
@ -2423,6 +2377,55 @@ field in the instruction. */
|
|||||||
BFD_RELOC_SH_JMP_SLOT,
|
BFD_RELOC_SH_JMP_SLOT,
|
||||||
BFD_RELOC_SH_RELATIVE,
|
BFD_RELOC_SH_RELATIVE,
|
||||||
BFD_RELOC_SH_GOTPC,
|
BFD_RELOC_SH_GOTPC,
|
||||||
|
BFD_RELOC_SH_GOT_LOW16,
|
||||||
|
BFD_RELOC_SH_GOT_MEDLOW16,
|
||||||
|
BFD_RELOC_SH_GOT_MEDHI16,
|
||||||
|
BFD_RELOC_SH_GOT_HI16,
|
||||||
|
BFD_RELOC_SH_GOTPLT_LOW16,
|
||||||
|
BFD_RELOC_SH_GOTPLT_MEDLOW16,
|
||||||
|
BFD_RELOC_SH_GOTPLT_MEDHI16,
|
||||||
|
BFD_RELOC_SH_GOTPLT_HI16,
|
||||||
|
BFD_RELOC_SH_PLT_LOW16,
|
||||||
|
BFD_RELOC_SH_PLT_MEDLOW16,
|
||||||
|
BFD_RELOC_SH_PLT_MEDHI16,
|
||||||
|
BFD_RELOC_SH_PLT_HI16,
|
||||||
|
BFD_RELOC_SH_GOTOFF_LOW16,
|
||||||
|
BFD_RELOC_SH_GOTOFF_MEDLOW16,
|
||||||
|
BFD_RELOC_SH_GOTOFF_MEDHI16,
|
||||||
|
BFD_RELOC_SH_GOTOFF_HI16,
|
||||||
|
BFD_RELOC_SH_GOTPC_LOW16,
|
||||||
|
BFD_RELOC_SH_GOTPC_MEDLOW16,
|
||||||
|
BFD_RELOC_SH_GOTPC_MEDHI16,
|
||||||
|
BFD_RELOC_SH_GOTPC_HI16,
|
||||||
|
BFD_RELOC_SH_COPY64,
|
||||||
|
BFD_RELOC_SH_GLOB_DAT64,
|
||||||
|
BFD_RELOC_SH_JMP_SLOT64,
|
||||||
|
BFD_RELOC_SH_RELATIVE64,
|
||||||
|
BFD_RELOC_SH_GOT10BY4,
|
||||||
|
BFD_RELOC_SH_GOT10BY8,
|
||||||
|
BFD_RELOC_SH_GOTPLT10BY4,
|
||||||
|
BFD_RELOC_SH_GOTPLT10BY8,
|
||||||
|
BFD_RELOC_SH_GOTPLT32,
|
||||||
|
BFD_RELOC_SH_SHMEDIA_CODE,
|
||||||
|
BFD_RELOC_SH_IMMU5,
|
||||||
|
BFD_RELOC_SH_IMMS6,
|
||||||
|
BFD_RELOC_SH_IMMS6BY32,
|
||||||
|
BFD_RELOC_SH_IMMU6,
|
||||||
|
BFD_RELOC_SH_IMMS10,
|
||||||
|
BFD_RELOC_SH_IMMS10BY2,
|
||||||
|
BFD_RELOC_SH_IMMS10BY4,
|
||||||
|
BFD_RELOC_SH_IMMS10BY8,
|
||||||
|
BFD_RELOC_SH_IMMS16,
|
||||||
|
BFD_RELOC_SH_IMMU16,
|
||||||
|
BFD_RELOC_SH_IMM_LOW16,
|
||||||
|
BFD_RELOC_SH_IMM_LOW16_PCREL,
|
||||||
|
BFD_RELOC_SH_IMM_MEDLOW16,
|
||||||
|
BFD_RELOC_SH_IMM_MEDLOW16_PCREL,
|
||||||
|
BFD_RELOC_SH_IMM_MEDHI16,
|
||||||
|
BFD_RELOC_SH_IMM_MEDHI16_PCREL,
|
||||||
|
BFD_RELOC_SH_IMM_HI16,
|
||||||
|
BFD_RELOC_SH_IMM_HI16_PCREL,
|
||||||
|
BFD_RELOC_SH_PT_16,
|
||||||
|
|
||||||
/* Thumb 23-, 12- and 9-bit pc-relative branches. The lowest bit must
|
/* Thumb 23-, 12- and 9-bit pc-relative branches. The lowest bit must
|
||||||
be zero and is not stored in the instruction. */
|
be zero and is not stored in the instruction. */
|
||||||
|
@ -84,6 +84,9 @@
|
|||||||
|
|
||||||
static void _bfd_xcoff64_swap_lineno_in PARAMS ((bfd *, PTR, PTR));
|
static void _bfd_xcoff64_swap_lineno_in PARAMS ((bfd *, PTR, PTR));
|
||||||
static unsigned int _bfd_xcoff64_swap_lineno_out PARAMS ((bfd *, PTR, PTR));
|
static unsigned int _bfd_xcoff64_swap_lineno_out PARAMS ((bfd *, PTR, PTR));
|
||||||
|
static boolean _bfd_xcoff64_put_symbol_name
|
||||||
|
PARAMS ((bfd *, struct bfd_strtab_hash *, struct internal_syment *,
|
||||||
|
const char *));
|
||||||
static boolean _bfd_xcoff64_put_ldsymbol_name
|
static boolean _bfd_xcoff64_put_ldsymbol_name
|
||||||
PARAMS ((bfd *, struct xcoff_loader_info *, struct internal_ldsym *,
|
PARAMS ((bfd *, struct xcoff_loader_info *, struct internal_ldsym *,
|
||||||
const char *));
|
const char *));
|
||||||
@ -129,8 +132,8 @@ static void xcoff64_swap_ldrel_out
|
|||||||
static boolean xcoff64_write_object_contents PARAMS ((bfd *));
|
static boolean xcoff64_write_object_contents PARAMS ((bfd *));
|
||||||
static boolean xcoff64_ppc_relocate_section
|
static boolean xcoff64_ppc_relocate_section
|
||||||
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
|
||||||
struct internal_reloc *, struct internal_syment *,
|
struct internal_reloc *, struct internal_syment *,
|
||||||
asection **));
|
asection **));
|
||||||
static boolean xcoff64_slurp_armap PARAMS ((bfd *));
|
static boolean xcoff64_slurp_armap PARAMS ((bfd *));
|
||||||
static const bfd_target *xcoff64_archive_p PARAMS ((bfd *));
|
static const bfd_target *xcoff64_archive_p PARAMS ((bfd *));
|
||||||
static bfd *xcoff64_openr_next_archived_file PARAMS ((bfd *, bfd *));
|
static bfd *xcoff64_openr_next_archived_file PARAMS ((bfd *, bfd *));
|
||||||
@ -1022,8 +1025,8 @@ xcoff64_ppc_relocate_section (output_bfd, info, input_bfd,
|
|||||||
bfd_reloc_status_type rstat;
|
bfd_reloc_status_type rstat;
|
||||||
|
|
||||||
/* Relocation type R_REF is a special relocation type which is
|
/* Relocation type R_REF is a special relocation type which is
|
||||||
merely used to prevent garbage collection from occurring for
|
merely used to prevent garbage collection from occurring for
|
||||||
the csect including the symbol which it references. */
|
the csect including the symbol which it references. */
|
||||||
if (rel->r_type == R_REF)
|
if (rel->r_type == R_REF)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
@ -1276,12 +1279,12 @@ xcoff64_ppc_relocate_section (output_bfd, info, input_bfd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* If we see an R_BR or R_RBR reloc which is jumping to global
|
/* If we see an R_BR or R_RBR reloc which is jumping to global
|
||||||
linkage code, and it is followed by an appropriate cror nop
|
linkage code, and it is followed by an appropriate cror nop
|
||||||
instruction, we replace the cror with ld r2,40(r1). This
|
instruction, we replace the cror with ld r2,40(r1). This
|
||||||
restores the TOC after the glink code. Contrariwise, if the
|
restores the TOC after the glink code. Contrariwise, if the
|
||||||
call is followed by a ld r2,40(r1), but the call is not
|
call is followed by a ld r2,40(r1), but the call is not
|
||||||
going to global linkage code, we can replace the load with a
|
going to global linkage code, we can replace the load with a
|
||||||
cror. */
|
cror. */
|
||||||
if ((rel->r_type == R_BR || rel->r_type == R_RBR)
|
if ((rel->r_type == R_BR || rel->r_type == R_RBR)
|
||||||
&& h != NULL
|
&& h != NULL
|
||||||
&& h->root.type == bfd_link_hash_defined
|
&& h->root.type == bfd_link_hash_defined
|
||||||
@ -1430,7 +1433,7 @@ reloc_howto_type xcoff64_howto_table[] =
|
|||||||
0xffff, /* dst_mask */
|
0xffff, /* dst_mask */
|
||||||
false), /* pcrel_offset */
|
false), /* pcrel_offset */
|
||||||
|
|
||||||
/* I don't really know what this is. */
|
/* I don't really know what this is. */
|
||||||
HOWTO (R_RTB, /* type */
|
HOWTO (R_RTB, /* type */
|
||||||
1, /* rightshift */
|
1, /* rightshift */
|
||||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||||
@ -1543,7 +1546,7 @@ reloc_howto_type xcoff64_howto_table[] =
|
|||||||
|
|
||||||
EMPTY_HOWTO (0xe),
|
EMPTY_HOWTO (0xe),
|
||||||
|
|
||||||
/* Non-relocating reference. */
|
/* Non-relocating reference. */
|
||||||
HOWTO (R_REF, /* type */
|
HOWTO (R_REF, /* type */
|
||||||
0, /* rightshift */
|
0, /* rightshift */
|
||||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||||
@ -1636,7 +1639,7 @@ reloc_howto_type xcoff64_howto_table[] =
|
|||||||
0xffff, /* dst_mask */
|
0xffff, /* dst_mask */
|
||||||
false), /* pcrel_offset */
|
false), /* pcrel_offset */
|
||||||
|
|
||||||
/* Modifiable call relative. */
|
/* Modifiable call relative. */
|
||||||
HOWTO (R_CREL, /* type */
|
HOWTO (R_CREL, /* type */
|
||||||
0, /* rightshift */
|
0, /* rightshift */
|
||||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||||
@ -1726,19 +1729,19 @@ reloc_howto_type xcoff64_howto_table[] =
|
|||||||
false), /* pcrel_offset */
|
false), /* pcrel_offset */
|
||||||
|
|
||||||
/* 16 bit Non modifiable absolute branch. */
|
/* 16 bit Non modifiable absolute branch. */
|
||||||
HOWTO (R_BA, /* type */
|
HOWTO (R_BA, /* type */
|
||||||
0, /* rightshift */
|
0, /* rightshift */
|
||||||
2, /* size (0 = byte, 1 = short, 2 = long) */
|
2, /* size (0 = byte, 1 = short, 2 = long) */
|
||||||
16, /* bitsize */
|
16, /* bitsize */
|
||||||
false, /* pc_relative */
|
false, /* pc_relative */
|
||||||
0, /* bitpos */
|
0, /* bitpos */
|
||||||
complain_overflow_bitfield, /* complain_on_overflow */
|
complain_overflow_bitfield, /* complain_on_overflow */
|
||||||
0, /* special_function */
|
0, /* special_function */
|
||||||
"R_BA", /* name */
|
"R_BA", /* name */
|
||||||
true, /* partial_inplace */
|
true, /* partial_inplace */
|
||||||
0xfffc, /* src_mask */
|
0xfffc, /* src_mask */
|
||||||
0xfffc, /* dst_mask */
|
0xfffc, /* dst_mask */
|
||||||
false), /* pcrel_offset */
|
false), /* pcrel_offset */
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -2469,96 +2472,96 @@ HOWTO (0, /* type */
|
|||||||
|
|
||||||
static unsigned long xcoff64_glink_code[10] =
|
static unsigned long xcoff64_glink_code[10] =
|
||||||
{
|
{
|
||||||
0xe9820000, /* ld r12,0(r2) */
|
0xe9820000, /* ld r12,0(r2) */
|
||||||
0xf8410028, /* std r2,40(r1) */
|
0xf8410028, /* std r2,40(r1) */
|
||||||
0xe80c0000, /* ld r0,0(r12) */
|
0xe80c0000, /* ld r0,0(r12) */
|
||||||
0xe84c0008, /* ld r0,8(r12) */
|
0xe84c0008, /* ld r0,8(r12) */
|
||||||
0x7c0903a6, /* mtctr r0 */
|
0x7c0903a6, /* mtctr r0 */
|
||||||
0x4e800420, /* bctr */
|
0x4e800420, /* bctr */
|
||||||
0x00000000, /* start of traceback table */
|
0x00000000, /* start of traceback table */
|
||||||
0x000ca000, /* traceback table */
|
0x000ca000, /* traceback table */
|
||||||
0x00000000, /* traceback table */
|
0x00000000, /* traceback table */
|
||||||
0x00000018, /* ??? */
|
0x00000018, /* ??? */
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct xcoff_backend_data_rec bfd_xcoff_backend_data =
|
static const struct xcoff_backend_data_rec bfd_xcoff_backend_data =
|
||||||
{
|
{
|
||||||
{ /* COFF backend, defined in libcoff.h. */
|
{ /* COFF backend, defined in libcoff.h. */
|
||||||
_bfd_xcoff64_swap_aux_in, /* _bfd_coff_swap_aux_in */
|
_bfd_xcoff64_swap_aux_in, /* _bfd_coff_swap_aux_in */
|
||||||
_bfd_xcoff64_swap_sym_in, /* _bfd_coff_swap_sym_in */
|
_bfd_xcoff64_swap_sym_in, /* _bfd_coff_swap_sym_in */
|
||||||
_bfd_xcoff64_swap_lineno_in, /* _bfd_coff_swap_lineno_in */
|
_bfd_xcoff64_swap_lineno_in, /* _bfd_coff_swap_lineno_in */
|
||||||
_bfd_xcoff64_swap_aux_out, /* _bfd_swap_aux_out */
|
_bfd_xcoff64_swap_aux_out, /* _bfd_swap_aux_out */
|
||||||
_bfd_xcoff64_swap_sym_out, /* _bfd_swap_sym_out */
|
_bfd_xcoff64_swap_sym_out, /* _bfd_swap_sym_out */
|
||||||
_bfd_xcoff64_swap_lineno_out, /* _bfd_swap_lineno_out */
|
_bfd_xcoff64_swap_lineno_out, /* _bfd_swap_lineno_out */
|
||||||
coff_swap_reloc_out, /* _bfd_swap_reloc_out */
|
coff_swap_reloc_out, /* _bfd_swap_reloc_out */
|
||||||
coff_swap_filehdr_out, /* _bfd_swap_filehdr_out */
|
coff_swap_filehdr_out, /* _bfd_swap_filehdr_out */
|
||||||
coff_swap_aouthdr_out, /* _bfd_swap_aouthdr_out */
|
coff_swap_aouthdr_out, /* _bfd_swap_aouthdr_out */
|
||||||
coff_swap_scnhdr_out, /* _bfd_swap_scnhdr_out */
|
coff_swap_scnhdr_out, /* _bfd_swap_scnhdr_out */
|
||||||
FILHSZ, /* _bfd_filhsz */
|
FILHSZ, /* _bfd_filhsz */
|
||||||
AOUTSZ, /* _bfd_aoutsz */
|
AOUTSZ, /* _bfd_aoutsz */
|
||||||
SCNHSZ, /* _bfd_scnhsz */
|
SCNHSZ, /* _bfd_scnhsz */
|
||||||
SYMESZ, /* _bfd_symesz */
|
SYMESZ, /* _bfd_symesz */
|
||||||
AUXESZ, /* _bfd_auxesz */
|
AUXESZ, /* _bfd_auxesz */
|
||||||
RELSZ, /* _bfd_relsz */
|
RELSZ, /* _bfd_relsz */
|
||||||
LINESZ, /* _bfd_linesz */
|
LINESZ, /* _bfd_linesz */
|
||||||
FILNMLEN, /* _bfd_filnmlen */
|
FILNMLEN, /* _bfd_filnmlen */
|
||||||
true, /* _bfd_coff_long_filenames */
|
true, /* _bfd_coff_long_filenames */
|
||||||
false, /* _bfd_coff_long_section_names */
|
false, /* _bfd_coff_long_section_names */
|
||||||
(3), /* _bfd_coff_default_section_alignment_power */
|
(3), /* _bfd_coff_default_section_alignment_power */
|
||||||
true, /* _bfd_coff_force_symnames_in_strings */
|
true, /* _bfd_coff_force_symnames_in_strings */
|
||||||
4, /* _bfd_coff_debug_string_prefix_length */
|
4, /* _bfd_coff_debug_string_prefix_length */
|
||||||
coff_swap_filehdr_in, /* _bfd_coff_swap_filehdr_in */
|
coff_swap_filehdr_in, /* _bfd_coff_swap_filehdr_in */
|
||||||
coff_swap_aouthdr_in, /* _bfd_swap_aouthdr_in */
|
coff_swap_aouthdr_in, /* _bfd_swap_aouthdr_in */
|
||||||
coff_swap_scnhdr_in, /* _bfd_swap_scnhdr_in */
|
coff_swap_scnhdr_in, /* _bfd_swap_scnhdr_in */
|
||||||
coff_swap_reloc_in, /* _bfd_reloc_in */
|
coff_swap_reloc_in, /* _bfd_reloc_in */
|
||||||
xcoff64_bad_format_hook, /* _bfd_bad_format_hook */
|
xcoff64_bad_format_hook, /* _bfd_bad_format_hook */
|
||||||
coff_set_arch_mach_hook, /* _bfd_set_arch_mach_hook */
|
coff_set_arch_mach_hook, /* _bfd_set_arch_mach_hook */
|
||||||
coff_mkobject_hook, /* _bfd_mkobject_hook */
|
coff_mkobject_hook, /* _bfd_mkobject_hook */
|
||||||
styp_to_sec_flags, /* _bfd_syp_to_sec_flags */
|
styp_to_sec_flags, /* _bfd_syp_to_sec_flags */
|
||||||
coff_set_alignment_hook, /* _bfd_set_alignment_hook */
|
coff_set_alignment_hook, /* _bfd_set_alignment_hook */
|
||||||
coff_slurp_symbol_table, /* _bfd_coff_slurp_symbol_table */
|
coff_slurp_symbol_table, /* _bfd_coff_slurp_symbol_table */
|
||||||
symname_in_debug_hook, /* _coff_symname_in_debug_hook */
|
symname_in_debug_hook, /* _coff_symname_in_debug_hook */
|
||||||
coff_pointerize_aux_hook, /* _bfd_coff_pointerize_aux_hook */
|
coff_pointerize_aux_hook, /* _bfd_coff_pointerize_aux_hook */
|
||||||
coff_print_aux, /* bfd_coff_print_aux */
|
coff_print_aux, /* bfd_coff_print_aux */
|
||||||
dummy_reloc16_extra_cases, /* _bfd_coff_reloc16_extra_cases */
|
dummy_reloc16_extra_cases, /* _bfd_coff_reloc16_extra_cases */
|
||||||
dummy_reloc16_estimate, /* _bfd_coff_reloc16_estimate */
|
dummy_reloc16_estimate, /* _bfd_coff_reloc16_estimate */
|
||||||
NULL, /* bfd_coff_sym_is_global */
|
NULL, /* bfd_coff_sym_is_global */
|
||||||
/* _bfd_coff_compute_section_file_positions */
|
/* _bfd_coff_compute_section_file_positions */
|
||||||
coff_compute_section_file_positions,
|
coff_compute_section_file_positions,
|
||||||
NULL , /* _bfd_coff_start_final_link */
|
NULL , /* _bfd_coff_start_final_link */
|
||||||
xcoff64_ppc_relocate_section, /* _bfd_coff_relocate_section */
|
xcoff64_ppc_relocate_section, /* _bfd_coff_relocate_section */
|
||||||
coff_rtype_to_howto, /* _bfd_coff_rtype_to_howto */
|
coff_rtype_to_howto, /* _bfd_coff_rtype_to_howto */
|
||||||
NULL , /* _bfd_coff_addust_symndx */
|
NULL , /* _bfd_coff_addust_symndx */
|
||||||
_bfd_generic_link_add_one_symbol, /* _bfd_coff_add_one_symbol */
|
_bfd_generic_link_add_one_symbol, /* _bfd_coff_add_one_symbol */
|
||||||
coff_link_output_has_begun, /* _bfd_coff_link_output_has_begun */
|
coff_link_output_has_begun, /* _bfd_coff_link_output_has_begun */
|
||||||
coff_final_link_postscript /* _bfd_coff_final_link_postscript */
|
coff_final_link_postscript /* _bfd_coff_final_link_postscript */
|
||||||
},
|
},
|
||||||
|
|
||||||
0x01EF, /* magic number */
|
0x01EF, /* magic number */
|
||||||
bfd_arch_powerpc, /* architecture */
|
bfd_arch_powerpc, /* architecture */
|
||||||
bfd_mach_ppc_620, /* machine */
|
bfd_mach_ppc_620, /* machine */
|
||||||
|
|
||||||
/* Function pointers to xcoff specific swap routines. */
|
/* Function pointers to xcoff specific swap routines. */
|
||||||
xcoff64_swap_ldhdr_in, /* _xcoff_swap_ldhdr_in */
|
xcoff64_swap_ldhdr_in, /* _xcoff_swap_ldhdr_in */
|
||||||
xcoff64_swap_ldhdr_out, /* _xcoff_swap_ldhdr_out */
|
xcoff64_swap_ldhdr_out, /* _xcoff_swap_ldhdr_out */
|
||||||
xcoff64_swap_ldsym_in, /* _xcoff_swap_ldsym_in */
|
xcoff64_swap_ldsym_in, /* _xcoff_swap_ldsym_in */
|
||||||
xcoff64_swap_ldsym_out, /* _xcoff_swap_ldsym_out */
|
xcoff64_swap_ldsym_out, /* _xcoff_swap_ldsym_out */
|
||||||
xcoff64_swap_ldrel_in, /* _xcoff_swap_ldrel_in */
|
xcoff64_swap_ldrel_in, /* _xcoff_swap_ldrel_in */
|
||||||
xcoff64_swap_ldrel_out, /* _xcoff_swap_ldrel_out */
|
xcoff64_swap_ldrel_out, /* _xcoff_swap_ldrel_out */
|
||||||
|
|
||||||
/* Sizes. */
|
/* Sizes. */
|
||||||
LDHDRSZ, /* _xcoff_ldhdrsz */
|
LDHDRSZ, /* _xcoff_ldhdrsz */
|
||||||
LDSYMSZ, /* _xcoff_ldsymsz */
|
LDSYMSZ, /* _xcoff_ldsymsz */
|
||||||
LDRELSZ, /* _xcoff_ldrelsz */
|
LDRELSZ, /* _xcoff_ldrelsz */
|
||||||
24, /* _xcoff_function_descriptor_size */
|
24, /* _xcoff_function_descriptor_size */
|
||||||
0, /* _xcoff_small_aout_header_size */
|
0, /* _xcoff_small_aout_header_size */
|
||||||
|
|
||||||
/* Versions. */
|
/* Versions. */
|
||||||
2, /* _xcoff_ldhdr_version */
|
2, /* _xcoff_ldhdr_version */
|
||||||
|
|
||||||
/* xcoff vs xcoff64 putting symbol names. */
|
/* xcoff vs xcoff64 putting symbol names. */
|
||||||
_bfd_xcoff64_put_symbol_name, /* _xcoff_put_symbol_name */
|
_bfd_xcoff64_put_symbol_name, /* _xcoff_put_symbol_name */
|
||||||
_bfd_xcoff64_put_ldsymbol_name, /* _xcoff_put_ldsymbol_name */
|
_bfd_xcoff64_put_ldsymbol_name, /* _xcoff_put_ldsymbol_name */
|
||||||
|
|
||||||
/* Dynamic reloc howto. */
|
/* Dynamic reloc howto. */
|
||||||
&xcoff64_dynamic_reloc,
|
&xcoff64_dynamic_reloc,
|
||||||
@ -2574,11 +2577,11 @@ static const struct xcoff_backend_data_rec bfd_xcoff_backend_data =
|
|||||||
|
|
||||||
/* glink. */
|
/* glink. */
|
||||||
&xcoff64_glink_code[0],
|
&xcoff64_glink_code[0],
|
||||||
40, /* _xcoff_glink_size */
|
40, /* _xcoff_glink_size */
|
||||||
|
|
||||||
/* rtinit. */
|
/* rtinit. */
|
||||||
88, /* _xcoff_rtinit_size */
|
88, /* _xcoff_rtinit_size */
|
||||||
xcoff64_generate_rtinit, /* _xcoff_generate_rtinit */
|
xcoff64_generate_rtinit, /* _xcoff_generate_rtinit */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The transfer vector that leads the outside world to all of the above. */
|
/* The transfer vector that leads the outside world to all of the above. */
|
||||||
@ -2599,26 +2602,26 @@ const bfd_target rs6000coff64_vec =
|
|||||||
15, /* ar_max_namelen??? FIXMEmgo */
|
15, /* ar_max_namelen??? FIXMEmgo */
|
||||||
|
|
||||||
/* data */
|
/* data */
|
||||||
bfd_getb64, /* bfd_getx64 */
|
bfd_getb64, /* bfd_getx64 */
|
||||||
bfd_getb_signed_64, /* bfd_getx_signed_64 */
|
bfd_getb_signed_64, /* bfd_getx_signed_64 */
|
||||||
bfd_putb64, /* bfd_putx64 */
|
bfd_putb64, /* bfd_putx64 */
|
||||||
bfd_getb32, /* bfd_getx32 */
|
bfd_getb32, /* bfd_getx32 */
|
||||||
bfd_getb_signed_32, /* bfd_getx_signed_32 */
|
bfd_getb_signed_32, /* bfd_getx_signed_32 */
|
||||||
bfd_putb32, /* bfd_putx32 */
|
bfd_putb32, /* bfd_putx32 */
|
||||||
bfd_getb16, /* bfd_getx16 */
|
bfd_getb16, /* bfd_getx16 */
|
||||||
bfd_getb_signed_16, /* bfd_getx_signed_16 */
|
bfd_getb_signed_16, /* bfd_getx_signed_16 */
|
||||||
bfd_putb16, /* bfd_putx16 */
|
bfd_putb16, /* bfd_putx16 */
|
||||||
|
|
||||||
/* hdrs */
|
/* hdrs */
|
||||||
bfd_getb64, /* bfd_h_getx64 */
|
bfd_getb64, /* bfd_h_getx64 */
|
||||||
bfd_getb_signed_64, /* bfd_h_getx_signed_64 */
|
bfd_getb_signed_64, /* bfd_h_getx_signed_64 */
|
||||||
bfd_putb64, /* bfd_h_putx64 */
|
bfd_putb64, /* bfd_h_putx64 */
|
||||||
bfd_getb32, /* bfd_h_getx32 */
|
bfd_getb32, /* bfd_h_getx32 */
|
||||||
bfd_getb_signed_32, /* bfd_h_getx_signed_32 */
|
bfd_getb_signed_32, /* bfd_h_getx_signed_32 */
|
||||||
bfd_putb32, /* bfd_h_putx32 */
|
bfd_putb32, /* bfd_h_putx32 */
|
||||||
bfd_getb16, /* bfd_h_getx16 */
|
bfd_getb16, /* bfd_h_getx16 */
|
||||||
bfd_getb_signed_16, /* bfd_h_getx_signed_16 */
|
bfd_getb_signed_16, /* bfd_h_getx_signed_16 */
|
||||||
bfd_putb16, /* bfd_h_putx16 */
|
bfd_putb16, /* bfd_h_putx16 */
|
||||||
|
|
||||||
{ /* bfd_check_format */
|
{ /* bfd_check_format */
|
||||||
_bfd_dummy_target,
|
_bfd_dummy_target,
|
||||||
@ -2642,15 +2645,15 @@ const bfd_target rs6000coff64_vec =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/* Generic */
|
/* Generic */
|
||||||
bfd_true, /* _close_and_cleanup */
|
bfd_true, /* _close_and_cleanup */
|
||||||
bfd_true, /* _bfd_free_cached_info */
|
bfd_true, /* _bfd_free_cached_info */
|
||||||
coff_new_section_hook, /* _new_section_hook */
|
coff_new_section_hook, /* _new_section_hook */
|
||||||
_bfd_generic_get_section_contents, /* _bfd_get_section_contents */
|
_bfd_generic_get_section_contents, /* _bfd_get_section_contents */
|
||||||
/* _bfd_get_section_contents_in_window */
|
/* _bfd_get_section_contents_in_window */
|
||||||
_bfd_generic_get_section_contents_in_window,
|
_bfd_generic_get_section_contents_in_window,
|
||||||
|
|
||||||
/* Copy */
|
/* Copy */
|
||||||
_bfd_xcoff_copy_private_bfd_data, /* _bfd_copy_private_bfd */
|
_bfd_xcoff_copy_private_bfd_data, /* _bfd_copy_private_bfd */
|
||||||
/* _bfd_merge_private_bfd_data */
|
/* _bfd_merge_private_bfd_data */
|
||||||
((boolean (*) (bfd *, bfd *)) bfd_true),
|
((boolean (*) (bfd *, bfd *)) bfd_true),
|
||||||
/* _bfd_copy_pivate_section_data */
|
/* _bfd_copy_pivate_section_data */
|
||||||
@ -2661,62 +2664,59 @@ const bfd_target rs6000coff64_vec =
|
|||||||
((boolean (*) (bfd *, void * )) bfd_true), /* _bfd_print_private_bfd_data */
|
((boolean (*) (bfd *, void * )) bfd_true), /* _bfd_print_private_bfd_data */
|
||||||
|
|
||||||
/* Core */
|
/* Core */
|
||||||
coff_core_file_failing_command, /* _core_file_failing_command */
|
coff_core_file_failing_command, /* _core_file_failing_command */
|
||||||
coff_core_file_failing_signal, /* _core_file_failing_signal */
|
coff_core_file_failing_signal, /* _core_file_failing_signal */
|
||||||
/* _core_file_matches_executable_p */
|
coff_core_file_matches_executable_p, /* _core_file_matches_executable_p */
|
||||||
coff_core_file_matches_executable_p,
|
|
||||||
|
|
||||||
/* Archive */
|
/* Archive */
|
||||||
xcoff64_slurp_armap, /* _slurp_armap */
|
xcoff64_slurp_armap, /* _slurp_armap */
|
||||||
/* XCOFF archives do not have
|
/* XCOFF archives do not have anything which corresponds to an
|
||||||
anything which corresponds to
|
extended name table. */
|
||||||
an extended name table. */
|
bfd_false, /* _slurp_extended_name_table */
|
||||||
bfd_false, /* _slurp_extended_name_table */
|
|
||||||
/* _construct_extended_name_table */
|
/* _construct_extended_name_table */
|
||||||
((boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false),
|
((boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false),
|
||||||
bfd_dont_truncate_arname, /* _truncate_arname */
|
bfd_dont_truncate_arname, /* _truncate_arname */
|
||||||
_bfd_xcoff_write_armap, /* _write_armap */
|
_bfd_xcoff_write_armap, /* _write_armap */
|
||||||
_bfd_xcoff_read_ar_hdr, /* _read_ar_hdr */
|
_bfd_xcoff_read_ar_hdr, /* _read_ar_hdr */
|
||||||
xcoff64_openr_next_archived_file, /* _openr_next_archived_file */
|
xcoff64_openr_next_archived_file, /* _openr_next_archived_file */
|
||||||
_bfd_generic_get_elt_at_index, /* _get_elt_at_index */
|
_bfd_generic_get_elt_at_index, /* _get_elt_at_index */
|
||||||
_bfd_xcoff_stat_arch_elt, /* _generic_stat_arch_elt */
|
_bfd_xcoff_stat_arch_elt, /* _generic_stat_arch_elt */
|
||||||
/* XCOFF archives do not have
|
/* XCOFF archives do not have a timestamp. */
|
||||||
a timestamp. */
|
bfd_true, /* _update_armap_timestamp */
|
||||||
bfd_true, /* _update_armap_timestamp */
|
|
||||||
|
|
||||||
/* Symbols */
|
/* Symbols */
|
||||||
coff_get_symtab_upper_bound, /* _get_symtab_upper_bound */
|
coff_get_symtab_upper_bound, /* _get_symtab_upper_bound */
|
||||||
coff_get_symtab, /* _get_symtab */
|
coff_get_symtab, /* _get_symtab */
|
||||||
coff_make_empty_symbol, /* _make_empty_symbol */
|
coff_make_empty_symbol, /* _make_empty_symbol */
|
||||||
coff_print_symbol, /* _print_symbol */
|
coff_print_symbol, /* _print_symbol */
|
||||||
coff_get_symbol_info, /* _get_symbol_info */
|
coff_get_symbol_info, /* _get_symbol_info */
|
||||||
_bfd_xcoff_is_local_label_name, /* _bfd_is_local_label_name */
|
_bfd_xcoff_is_local_label_name, /* _bfd_is_local_label_name */
|
||||||
coff_get_lineno, /* _get_lineno */
|
coff_get_lineno, /* _get_lineno */
|
||||||
coff_find_nearest_line, /* _find_nearest_line */
|
coff_find_nearest_line, /* _find_nearest_line */
|
||||||
coff_bfd_make_debug_symbol, /* _bfd_make_debug_symbol */
|
coff_bfd_make_debug_symbol, /* _bfd_make_debug_symbol */
|
||||||
_bfd_generic_read_minisymbols, /* _read_minisymbols */
|
_bfd_generic_read_minisymbols, /* _read_minisymbols */
|
||||||
_bfd_generic_minisymbol_to_symbol, /* _minsymbol_to_symbol */
|
_bfd_generic_minisymbol_to_symbol, /* _minsymbol_to_symbol */
|
||||||
|
|
||||||
/* Reloc */
|
/* Reloc */
|
||||||
coff_get_reloc_upper_bound, /* _get_reloc_upper_bound */
|
coff_get_reloc_upper_bound, /* _get_reloc_upper_bound */
|
||||||
coff_canonicalize_reloc, /* _cononicalize_reloc */
|
coff_canonicalize_reloc, /* _cononicalize_reloc */
|
||||||
xcoff64_reloc_type_lookup, /* _bfd_reloc_type_lookup */
|
xcoff64_reloc_type_lookup, /* _bfd_reloc_type_lookup */
|
||||||
|
|
||||||
/* Write */
|
/* Write */
|
||||||
coff_set_arch_mach, /* _set_arch_mach */
|
coff_set_arch_mach, /* _set_arch_mach */
|
||||||
coff_set_section_contents, /* _set_section_contents */
|
coff_set_section_contents, /* _set_section_contents */
|
||||||
|
|
||||||
/* Link */
|
/* Link */
|
||||||
xcoff64_sizeof_headers, /* _sizeof_headers */
|
xcoff64_sizeof_headers, /* _sizeof_headers */
|
||||||
/* _bfd_get_relocated_section_contents */
|
/* _bfd_get_relocated_section_contents */
|
||||||
bfd_generic_get_relocated_section_contents,
|
bfd_generic_get_relocated_section_contents,
|
||||||
bfd_generic_relax_section, /* _bfd_relax_section */
|
bfd_generic_relax_section, /* _bfd_relax_section */
|
||||||
_bfd_xcoff_bfd_link_hash_table_create, /* _bfd_link_hash_table_create */
|
_bfd_xcoff_bfd_link_hash_table_create,/* _bfd_link_hash_table_create */
|
||||||
_bfd_xcoff_bfd_link_add_symbols, /* _bfd_link_add_symbols */
|
_bfd_xcoff_bfd_link_add_symbols, /* _bfd_link_add_symbols */
|
||||||
_bfd_xcoff_bfd_final_link, /* _bfd_filnal_link */
|
_bfd_xcoff_bfd_final_link, /* _bfd_filnal_link */
|
||||||
_bfd_generic_link_split_section, /* _bfd_link_split_section */
|
_bfd_generic_link_split_section, /* _bfd_link_split_section */
|
||||||
bfd_generic_gc_sections, /* _bfd_gc_sections */
|
bfd_generic_gc_sections, /* _bfd_gc_sections */
|
||||||
bfd_generic_merge_sections, /* _bfd_merge_sections */
|
bfd_generic_merge_sections, /* _bfd_merge_sections */
|
||||||
|
|
||||||
/* Dynamic */
|
/* Dynamic */
|
||||||
/* _get_dynamic_symtab_upper_bound */
|
/* _get_dynamic_symtab_upper_bound */
|
||||||
@ -2732,88 +2732,88 @@ const bfd_target rs6000coff64_vec =
|
|||||||
(void *) &bfd_xcoff_backend_data,
|
(void *) &bfd_xcoff_backend_data,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const bfd_target * xcoff64_core_p PARAMS ((bfd *));
|
extern const bfd_target *xcoff64_core_p PARAMS ((bfd *));
|
||||||
extern boolean xcoff64_core_file_matches_executable_p PARAMS((bfd *, bfd *));
|
extern boolean xcoff64_core_file_matches_executable_p PARAMS((bfd *, bfd *));
|
||||||
extern char * xcoff64_core_file_failing_command PARAMS ((bfd *));
|
extern char *xcoff64_core_file_failing_command PARAMS ((bfd *));
|
||||||
extern int xcoff64_core_file_failing_signal PARAMS ((bfd *));
|
extern int xcoff64_core_file_failing_signal PARAMS ((bfd *));
|
||||||
|
|
||||||
/* AIX 5 */
|
/* AIX 5 */
|
||||||
static const struct xcoff_backend_data_rec bfd_xcoff_aix5_backend_data =
|
static const struct xcoff_backend_data_rec bfd_xcoff_aix5_backend_data =
|
||||||
{
|
{
|
||||||
{ /* COFF backend, defined in libcoff.h. */
|
{ /* COFF backend, defined in libcoff.h. */
|
||||||
_bfd_xcoff64_swap_aux_in, /* _bfd_coff_swap_aux_in */
|
_bfd_xcoff64_swap_aux_in, /* _bfd_coff_swap_aux_in */
|
||||||
_bfd_xcoff64_swap_sym_in, /* _bfd_coff_swap_sym_in */
|
_bfd_xcoff64_swap_sym_in, /* _bfd_coff_swap_sym_in */
|
||||||
_bfd_xcoff64_swap_lineno_in, /* _bfd_coff_swap_lineno_in */
|
_bfd_xcoff64_swap_lineno_in, /* _bfd_coff_swap_lineno_in */
|
||||||
_bfd_xcoff64_swap_aux_out, /* _bfd_swap_aux_out */
|
_bfd_xcoff64_swap_aux_out, /* _bfd_swap_aux_out */
|
||||||
_bfd_xcoff64_swap_sym_out, /* _bfd_swap_sym_out */
|
_bfd_xcoff64_swap_sym_out, /* _bfd_swap_sym_out */
|
||||||
_bfd_xcoff64_swap_lineno_out, /* _bfd_swap_lineno_out */
|
_bfd_xcoff64_swap_lineno_out, /* _bfd_swap_lineno_out */
|
||||||
coff_swap_reloc_out, /* _bfd_swap_reloc_out */
|
coff_swap_reloc_out, /* _bfd_swap_reloc_out */
|
||||||
coff_swap_filehdr_out, /* _bfd_swap_filehdr_out */
|
coff_swap_filehdr_out, /* _bfd_swap_filehdr_out */
|
||||||
coff_swap_aouthdr_out, /* _bfd_swap_aouthdr_out */
|
coff_swap_aouthdr_out, /* _bfd_swap_aouthdr_out */
|
||||||
coff_swap_scnhdr_out, /* _bfd_swap_scnhdr_out */
|
coff_swap_scnhdr_out, /* _bfd_swap_scnhdr_out */
|
||||||
FILHSZ, /* _bfd_filhsz */
|
FILHSZ, /* _bfd_filhsz */
|
||||||
AOUTSZ, /* _bfd_aoutsz */
|
AOUTSZ, /* _bfd_aoutsz */
|
||||||
SCNHSZ, /* _bfd_scnhsz */
|
SCNHSZ, /* _bfd_scnhsz */
|
||||||
SYMESZ, /* _bfd_symesz */
|
SYMESZ, /* _bfd_symesz */
|
||||||
AUXESZ, /* _bfd_auxesz */
|
AUXESZ, /* _bfd_auxesz */
|
||||||
RELSZ, /* _bfd_relsz */
|
RELSZ, /* _bfd_relsz */
|
||||||
LINESZ, /* _bfd_linesz */
|
LINESZ, /* _bfd_linesz */
|
||||||
FILNMLEN, /* _bfd_filnmlen */
|
FILNMLEN, /* _bfd_filnmlen */
|
||||||
true, /* _bfd_coff_long_filenames */
|
true, /* _bfd_coff_long_filenames */
|
||||||
false, /* _bfd_coff_long_section_names */
|
false, /* _bfd_coff_long_section_names */
|
||||||
(3), /* _bfd_coff_default_section_alignment_power */
|
(3), /* _bfd_coff_default_section_alignment_power */
|
||||||
true, /* _bfd_coff_force_symnames_in_strings */
|
true, /* _bfd_coff_force_symnames_in_strings */
|
||||||
4, /* _bfd_coff_debug_string_prefix_length */
|
4, /* _bfd_coff_debug_string_prefix_length */
|
||||||
coff_swap_filehdr_in, /* _bfd_coff_swap_filehdr_in */
|
coff_swap_filehdr_in, /* _bfd_coff_swap_filehdr_in */
|
||||||
coff_swap_aouthdr_in, /* _bfd_swap_aouthdr_in */
|
coff_swap_aouthdr_in, /* _bfd_swap_aouthdr_in */
|
||||||
coff_swap_scnhdr_in, /* _bfd_swap_scnhdr_in */
|
coff_swap_scnhdr_in, /* _bfd_swap_scnhdr_in */
|
||||||
coff_swap_reloc_in, /* _bfd_reloc_in */
|
coff_swap_reloc_in, /* _bfd_reloc_in */
|
||||||
xcoff64_bad_format_hook, /* _bfd_bad_format_hook */
|
xcoff64_bad_format_hook, /* _bfd_bad_format_hook */
|
||||||
coff_set_arch_mach_hook, /* _bfd_set_arch_mach_hook */
|
coff_set_arch_mach_hook, /* _bfd_set_arch_mach_hook */
|
||||||
coff_mkobject_hook, /* _bfd_mkobject_hook */
|
coff_mkobject_hook, /* _bfd_mkobject_hook */
|
||||||
styp_to_sec_flags, /* _bfd_syp_to_sec_flags */
|
styp_to_sec_flags, /* _bfd_syp_to_sec_flags */
|
||||||
coff_set_alignment_hook, /* _bfd_set_alignment_hook */
|
coff_set_alignment_hook, /* _bfd_set_alignment_hook */
|
||||||
coff_slurp_symbol_table, /* _bfd_coff_slurp_symbol_table */
|
coff_slurp_symbol_table, /* _bfd_coff_slurp_symbol_table */
|
||||||
symname_in_debug_hook, /* _coff_symname_in_debug_hook */
|
symname_in_debug_hook, /* _coff_symname_in_debug_hook */
|
||||||
coff_pointerize_aux_hook, /* _bfd_coff_pointerize_aux_hook */
|
coff_pointerize_aux_hook, /* _bfd_coff_pointerize_aux_hook */
|
||||||
coff_print_aux, /* bfd_coff_print_aux */
|
coff_print_aux, /* bfd_coff_print_aux */
|
||||||
dummy_reloc16_extra_cases, /* _bfd_coff_reloc16_extra_cases */
|
dummy_reloc16_extra_cases, /* _bfd_coff_reloc16_extra_cases */
|
||||||
dummy_reloc16_estimate, /* _bfd_coff_reloc16_estimate */
|
dummy_reloc16_estimate, /* _bfd_coff_reloc16_estimate */
|
||||||
NULL, /* bfd_coff_sym_is_global */
|
NULL, /* bfd_coff_sym_is_global */
|
||||||
/* _bfd_coff_compute_section_file_positions */
|
/* _bfd_coff_compute_section_file_positions */
|
||||||
coff_compute_section_file_positions,
|
coff_compute_section_file_positions,
|
||||||
NULL , /* _bfd_coff_start_final_link */
|
NULL , /* _bfd_coff_start_final_link */
|
||||||
xcoff64_ppc_relocate_section, /* _bfd_coff_relocate_section */
|
xcoff64_ppc_relocate_section, /* _bfd_coff_relocate_section */
|
||||||
coff_rtype_to_howto, /* _bfd_coff_rtype_to_howto */
|
coff_rtype_to_howto, /* _bfd_coff_rtype_to_howto */
|
||||||
NULL , /* _bfd_coff_addust_symndx */
|
NULL , /* _bfd_coff_addust_symndx */
|
||||||
_bfd_generic_link_add_one_symbol, /* _bfd_coff_add_one_symbol */
|
_bfd_generic_link_add_one_symbol, /* _bfd_coff_add_one_symbol */
|
||||||
coff_link_output_has_begun, /* _bfd_coff_link_output_has_begun */
|
coff_link_output_has_begun, /* _bfd_coff_link_output_has_begun */
|
||||||
coff_final_link_postscript /* _bfd_coff_final_link_postscript */
|
coff_final_link_postscript /* _bfd_coff_final_link_postscript */
|
||||||
},
|
},
|
||||||
|
|
||||||
U64_TOCMAGIC, /* magic number */
|
U64_TOCMAGIC, /* magic number */
|
||||||
bfd_arch_powerpc, /* architecture */
|
bfd_arch_powerpc, /* architecture */
|
||||||
bfd_mach_ppc_620, /* machine */
|
bfd_mach_ppc_620, /* machine */
|
||||||
|
|
||||||
/* Function pointers to xcoff specific swap routines. */
|
/* Function pointers to xcoff specific swap routines. */
|
||||||
xcoff64_swap_ldhdr_in, /* _xcoff_swap_ldhdr_in */
|
xcoff64_swap_ldhdr_in, /* _xcoff_swap_ldhdr_in */
|
||||||
xcoff64_swap_ldhdr_out, /* _xcoff_swap_ldhdr_out */
|
xcoff64_swap_ldhdr_out, /* _xcoff_swap_ldhdr_out */
|
||||||
xcoff64_swap_ldsym_in, /* _xcoff_swap_ldsym_in */
|
xcoff64_swap_ldsym_in, /* _xcoff_swap_ldsym_in */
|
||||||
xcoff64_swap_ldsym_out, /* _xcoff_swap_ldsym_out */
|
xcoff64_swap_ldsym_out, /* _xcoff_swap_ldsym_out */
|
||||||
xcoff64_swap_ldrel_in, /* _xcoff_swap_ldrel_in */
|
xcoff64_swap_ldrel_in, /* _xcoff_swap_ldrel_in */
|
||||||
xcoff64_swap_ldrel_out, /* _xcoff_swap_ldrel_out */
|
xcoff64_swap_ldrel_out, /* _xcoff_swap_ldrel_out */
|
||||||
|
|
||||||
/* Sizes. */
|
/* Sizes. */
|
||||||
LDHDRSZ, /* _xcoff_ldhdrsz */
|
LDHDRSZ, /* _xcoff_ldhdrsz */
|
||||||
LDSYMSZ, /* _xcoff_ldsymsz */
|
LDSYMSZ, /* _xcoff_ldsymsz */
|
||||||
LDRELSZ, /* _xcoff_ldrelsz */
|
LDRELSZ, /* _xcoff_ldrelsz */
|
||||||
24, /* _xcoff_function_descriptor_size */
|
24, /* _xcoff_function_descriptor_size */
|
||||||
0, /* _xcoff_small_aout_header_size */
|
0, /* _xcoff_small_aout_header_size */
|
||||||
/* Versions. */
|
/* Versions. */
|
||||||
2, /* _xcoff_ldhdr_version */
|
2, /* _xcoff_ldhdr_version */
|
||||||
|
|
||||||
_bfd_xcoff64_put_symbol_name, /* _xcoff_put_symbol_name */
|
_bfd_xcoff64_put_symbol_name, /* _xcoff_put_symbol_name */
|
||||||
_bfd_xcoff64_put_ldsymbol_name, /* _xcoff_put_ldsymbol_name */
|
_bfd_xcoff64_put_ldsymbol_name, /* _xcoff_put_ldsymbol_name */
|
||||||
|
|
||||||
/* Dynamic reloc howto. */
|
/* Dynamic reloc howto. */
|
||||||
&xcoff64_dynamic_reloc,
|
&xcoff64_dynamic_reloc,
|
||||||
@ -2828,11 +2828,11 @@ static const struct xcoff_backend_data_rec bfd_xcoff_aix5_backend_data =
|
|||||||
|
|
||||||
/* glink. */
|
/* glink. */
|
||||||
&xcoff64_glink_code[0],
|
&xcoff64_glink_code[0],
|
||||||
40, /* _xcoff_glink_size */
|
40, /* _xcoff_glink_size */
|
||||||
|
|
||||||
/* rtinit. */
|
/* rtinit. */
|
||||||
88, /* _xcoff_rtinit_size */
|
88, /* _xcoff_rtinit_size */
|
||||||
xcoff64_generate_rtinit, /* _xcoff_generate_rtinit */
|
xcoff64_generate_rtinit, /* _xcoff_generate_rtinit */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The transfer vector that leads the outside world to all of the above. */
|
/* The transfer vector that leads the outside world to all of the above. */
|
||||||
@ -2852,27 +2852,27 @@ const bfd_target aix5coff64_vec =
|
|||||||
'/', /* ar_pad_char */
|
'/', /* ar_pad_char */
|
||||||
15, /* ar_max_namelen??? FIXMEmgo */
|
15, /* ar_max_namelen??? FIXMEmgo */
|
||||||
|
|
||||||
/* data */
|
/* data */
|
||||||
bfd_getb64, /* bfd_getx64 */
|
bfd_getb64, /* bfd_getx64 */
|
||||||
bfd_getb_signed_64, /* bfd_getx_signed_64 */
|
bfd_getb_signed_64, /* bfd_getx_signed_64 */
|
||||||
bfd_putb64, /* bfd_putx64 */
|
bfd_putb64, /* bfd_putx64 */
|
||||||
bfd_getb32, /* bfd_getx32 */
|
bfd_getb32, /* bfd_getx32 */
|
||||||
bfd_getb_signed_32, /* bfd_getx_signed_32 */
|
bfd_getb_signed_32, /* bfd_getx_signed_32 */
|
||||||
bfd_putb32, /* bfd_putx32 */
|
bfd_putb32, /* bfd_putx32 */
|
||||||
bfd_getb16, /* bfd_getx16 */
|
bfd_getb16, /* bfd_getx16 */
|
||||||
bfd_getb_signed_16, /* bfd_getx_signed_16 */
|
bfd_getb_signed_16, /* bfd_getx_signed_16 */
|
||||||
bfd_putb16, /* bfd_putx16 */
|
bfd_putb16, /* bfd_putx16 */
|
||||||
|
|
||||||
/* hdrs */
|
/* hdrs */
|
||||||
bfd_getb64, /* bfd_h_getx64 */
|
bfd_getb64, /* bfd_h_getx64 */
|
||||||
bfd_getb_signed_64, /* bfd_h_getx_signed_64 */
|
bfd_getb_signed_64, /* bfd_h_getx_signed_64 */
|
||||||
bfd_putb64, /* bfd_h_putx64 */
|
bfd_putb64, /* bfd_h_putx64 */
|
||||||
bfd_getb32, /* bfd_h_getx32 */
|
bfd_getb32, /* bfd_h_getx32 */
|
||||||
bfd_getb_signed_32, /* bfd_h_getx_signed_32 */
|
bfd_getb_signed_32, /* bfd_h_getx_signed_32 */
|
||||||
bfd_putb32, /* bfd_h_putx32 */
|
bfd_putb32, /* bfd_h_putx32 */
|
||||||
bfd_getb16, /* bfd_h_getx16 */
|
bfd_getb16, /* bfd_h_getx16 */
|
||||||
bfd_getb_signed_16, /* bfd_h_getx_signed_16 */
|
bfd_getb_signed_16, /* bfd_h_getx_signed_16 */
|
||||||
bfd_putb16, /* bfd_h_putx16 */
|
bfd_putb16, /* bfd_h_putx16 */
|
||||||
|
|
||||||
{ /* bfd_check_format */
|
{ /* bfd_check_format */
|
||||||
_bfd_dummy_target,
|
_bfd_dummy_target,
|
||||||
@ -2896,83 +2896,81 @@ const bfd_target aix5coff64_vec =
|
|||||||
},
|
},
|
||||||
|
|
||||||
/* Generic */
|
/* Generic */
|
||||||
bfd_true, /* _close_and_cleanup */
|
bfd_true, /* _close_and_cleanup */
|
||||||
bfd_true, /* _bfd_free_cached_info */
|
bfd_true, /* _bfd_free_cached_info */
|
||||||
coff_new_section_hook, /* _new_section_hook */
|
coff_new_section_hook, /* _new_section_hook */
|
||||||
_bfd_generic_get_section_contents, /* _bfd_get_section_contents */
|
_bfd_generic_get_section_contents, /* _bfd_get_section_contents */
|
||||||
/* _bfd_get_section_contents_in_window */
|
/* _bfd_get_section_contents_in_window */
|
||||||
_bfd_generic_get_section_contents_in_window,
|
_bfd_generic_get_section_contents_in_window,
|
||||||
|
|
||||||
/* Copy */
|
/* Copy */
|
||||||
_bfd_xcoff_copy_private_bfd_data, /* _bfd_copy_private_bfd */
|
_bfd_xcoff_copy_private_bfd_data, /* _bfd_copy_private_bfd */
|
||||||
/* _bfd_merge_private_bfd_data */
|
/* _bfd_merge_private_bfd_data */
|
||||||
((boolean (*) (bfd *, bfd *)) bfd_true),
|
((boolean (*) (bfd *, bfd *)) bfd_true),
|
||||||
/* _bfd_copy_pivate_section_data */
|
/* _bfd_copy_pivate_section_data */
|
||||||
((boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true),
|
((boolean (*) (bfd *, asection *, bfd *, asection *)) bfd_true),
|
||||||
/* _bfd_copy_private_symbol_data */
|
/* _bfd_copy_private_symbol_data */
|
||||||
((boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true),
|
((boolean (*) (bfd *, asymbol *, bfd *, asymbol *)) bfd_true),
|
||||||
((boolean (*) (bfd *, flagword)) bfd_true), /* _bfd_set_private_flags */
|
((boolean (*) (bfd *, flagword)) bfd_true), /* _bfd_set_private_flags */
|
||||||
((boolean (*) (bfd *, void * )) bfd_true), /* _bfd_print_private_bfd_data */
|
((boolean (*) (bfd *, void * )) bfd_true), /* _bfd_print_private_bfd_data */
|
||||||
|
|
||||||
/* Core */
|
/* Core */
|
||||||
xcoff64_core_file_failing_command, /* _core_file_failing_command */
|
xcoff64_core_file_failing_command, /* _core_file_failing_command */
|
||||||
xcoff64_core_file_failing_signal, /* _core_file_failing_signal */
|
xcoff64_core_file_failing_signal, /* _core_file_failing_signal */
|
||||||
xcoff64_core_file_matches_executable_p, /* _core_file_matches_executable_p */
|
xcoff64_core_file_matches_executable_p, /* _core_file_matches_executable_p */
|
||||||
|
|
||||||
/* Archive */
|
/* Archive */
|
||||||
xcoff64_slurp_armap, /* _slurp_armap */
|
xcoff64_slurp_armap, /* _slurp_armap */
|
||||||
/* XCOFF archives do not have
|
/* XCOFF archives do not have anything which corresponds to an
|
||||||
anything which corresponds to
|
extended name table. */
|
||||||
an extended name table. */
|
bfd_false, /* _slurp_extended_name_table */
|
||||||
bfd_false, /* _slurp_extended_name_table */
|
/* _construct_extended_name_table */
|
||||||
/* _construct_extended_name_table */
|
|
||||||
((boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false),
|
((boolean (*) (bfd *, char **, bfd_size_type *, const char **)) bfd_false),
|
||||||
bfd_dont_truncate_arname, /* _truncate_arname */
|
bfd_dont_truncate_arname, /* _truncate_arname */
|
||||||
_bfd_xcoff_write_armap, /* _write_armap */
|
_bfd_xcoff_write_armap, /* _write_armap */
|
||||||
_bfd_xcoff_read_ar_hdr, /* _read_ar_hdr */
|
_bfd_xcoff_read_ar_hdr, /* _read_ar_hdr */
|
||||||
xcoff64_openr_next_archived_file, /* _openr_next_archived_file */
|
xcoff64_openr_next_archived_file, /* _openr_next_archived_file */
|
||||||
_bfd_generic_get_elt_at_index, /* _get_elt_at_index */
|
_bfd_generic_get_elt_at_index, /* _get_elt_at_index */
|
||||||
_bfd_xcoff_stat_arch_elt, /* _generic_stat_arch_elt */
|
_bfd_xcoff_stat_arch_elt, /* _generic_stat_arch_elt */
|
||||||
/* XCOFF archives do not have
|
/* XCOFF archives do not have a timestamp. */
|
||||||
a timestamp. */
|
bfd_true, /* _update_armap_timestamp */
|
||||||
bfd_true, /* _update_armap_timestamp */
|
|
||||||
|
|
||||||
/* Symbols */
|
/* Symbols */
|
||||||
coff_get_symtab_upper_bound, /* _get_symtab_upper_bound */
|
coff_get_symtab_upper_bound, /* _get_symtab_upper_bound */
|
||||||
coff_get_symtab, /* _get_symtab */
|
coff_get_symtab, /* _get_symtab */
|
||||||
coff_make_empty_symbol, /* _make_empty_symbol */
|
coff_make_empty_symbol, /* _make_empty_symbol */
|
||||||
coff_print_symbol, /* _print_symbol */
|
coff_print_symbol, /* _print_symbol */
|
||||||
coff_get_symbol_info, /* _get_symbol_info */
|
coff_get_symbol_info, /* _get_symbol_info */
|
||||||
_bfd_xcoff_is_local_label_name, /* _bfd_is_local_label_name */
|
_bfd_xcoff_is_local_label_name, /* _bfd_is_local_label_name */
|
||||||
coff_get_lineno, /* _get_lineno */
|
coff_get_lineno, /* _get_lineno */
|
||||||
coff_find_nearest_line, /* _find_nearest_line */
|
coff_find_nearest_line, /* _find_nearest_line */
|
||||||
coff_bfd_make_debug_symbol, /* _bfd_make_debug_symbol */
|
coff_bfd_make_debug_symbol, /* _bfd_make_debug_symbol */
|
||||||
_bfd_generic_read_minisymbols, /* _read_minisymbols */
|
_bfd_generic_read_minisymbols, /* _read_minisymbols */
|
||||||
_bfd_generic_minisymbol_to_symbol, /* _minsymbol_to_symbol */
|
_bfd_generic_minisymbol_to_symbol, /* _minsymbol_to_symbol */
|
||||||
|
|
||||||
/* Reloc */
|
/* Reloc */
|
||||||
coff_get_reloc_upper_bound, /* _get_reloc_upper_bound */
|
coff_get_reloc_upper_bound, /* _get_reloc_upper_bound */
|
||||||
coff_canonicalize_reloc, /* _cononicalize_reloc */
|
coff_canonicalize_reloc, /* _cononicalize_reloc */
|
||||||
xcoff64_reloc_type_lookup, /* _bfd_reloc_type_lookup */
|
xcoff64_reloc_type_lookup, /* _bfd_reloc_type_lookup */
|
||||||
|
|
||||||
/* Write */
|
/* Write */
|
||||||
coff_set_arch_mach, /* _set_arch_mach */
|
coff_set_arch_mach, /* _set_arch_mach */
|
||||||
coff_set_section_contents, /* _set_section_contents */
|
coff_set_section_contents, /* _set_section_contents */
|
||||||
|
|
||||||
/* Link */
|
/* Link */
|
||||||
xcoff64_sizeof_headers, /* _sizeof_headers */
|
xcoff64_sizeof_headers, /* _sizeof_headers */
|
||||||
/* _bfd_get_relocated_section_contents */
|
/* _bfd_get_relocated_section_contents */
|
||||||
bfd_generic_get_relocated_section_contents,
|
bfd_generic_get_relocated_section_contents,
|
||||||
bfd_generic_relax_section, /* _bfd_relax_section */
|
bfd_generic_relax_section, /* _bfd_relax_section */
|
||||||
_bfd_xcoff_bfd_link_hash_table_create, /* _bfd_link_hash_table_create */
|
_bfd_xcoff_bfd_link_hash_table_create,/* _bfd_link_hash_table_create */
|
||||||
_bfd_xcoff_bfd_link_add_symbols, /* _bfd_link_add_symbols */
|
_bfd_xcoff_bfd_link_add_symbols, /* _bfd_link_add_symbols */
|
||||||
_bfd_xcoff_bfd_final_link, /* _bfd_filnal_link */
|
_bfd_xcoff_bfd_final_link, /* _bfd_filnal_link */
|
||||||
_bfd_generic_link_split_section, /* _bfd_link_split_section */
|
_bfd_generic_link_split_section, /* _bfd_link_split_section */
|
||||||
bfd_generic_gc_sections, /* _bfd_gc_sections */
|
bfd_generic_gc_sections, /* _bfd_gc_sections */
|
||||||
bfd_generic_merge_sections, /* _bfd_merge_sections */
|
bfd_generic_merge_sections, /* _bfd_merge_sections */
|
||||||
|
|
||||||
/* Dynamic */
|
/* Dynamic */
|
||||||
/* _get_dynamic_symtab_upper_bound */
|
/* _get_dynamic_symtab_upper_bound */
|
||||||
_bfd_xcoff_get_dynamic_symtab_upper_bound,
|
_bfd_xcoff_get_dynamic_symtab_upper_bound,
|
||||||
_bfd_xcoff_canonicalize_dynamic_symtab, /* _cononicalize_dynamic_symtab */
|
_bfd_xcoff_canonicalize_dynamic_symtab, /* _cononicalize_dynamic_symtab */
|
||||||
_bfd_xcoff_get_dynamic_reloc_upper_bound,/* _get_dynamic_reloc_upper_bound */
|
_bfd_xcoff_get_dynamic_reloc_upper_bound,/* _get_dynamic_reloc_upper_bound */
|
||||||
|
@ -242,7 +242,7 @@ DIST_COMMON = ChangeLog Makefile.am Makefile.in
|
|||||||
|
|
||||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
TAR = gtar
|
TAR = tar
|
||||||
GZIP_ENV = --best
|
GZIP_ENV = --best
|
||||||
all: all-redirect
|
all: all-redirect
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
98
bfd/libbfd.h
98
bfd/libbfd.h
@ -752,55 +752,6 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
|
|||||||
"BFD_RELOC_MIPS_REL16",
|
"BFD_RELOC_MIPS_REL16",
|
||||||
"BFD_RELOC_MIPS_RELGOT",
|
"BFD_RELOC_MIPS_RELGOT",
|
||||||
"BFD_RELOC_MIPS_JALR",
|
"BFD_RELOC_MIPS_JALR",
|
||||||
"BFD_RELOC_SH_GOT_LOW16",
|
|
||||||
"BFD_RELOC_SH_GOT_MEDLOW16",
|
|
||||||
"BFD_RELOC_SH_GOT_MEDHI16",
|
|
||||||
"BFD_RELOC_SH_GOT_HI16",
|
|
||||||
"BFD_RELOC_SH_GOTPLT_LOW16",
|
|
||||||
"BFD_RELOC_SH_GOTPLT_MEDLOW16",
|
|
||||||
"BFD_RELOC_SH_GOTPLT_MEDHI16",
|
|
||||||
"BFD_RELOC_SH_GOTPLT_HI16",
|
|
||||||
"BFD_RELOC_SH_PLT_LOW16",
|
|
||||||
"BFD_RELOC_SH_PLT_MEDLOW16",
|
|
||||||
"BFD_RELOC_SH_PLT_MEDHI16",
|
|
||||||
"BFD_RELOC_SH_PLT_HI16",
|
|
||||||
"BFD_RELOC_SH_GOTOFF_LOW16",
|
|
||||||
"BFD_RELOC_SH_GOTOFF_MEDLOW16",
|
|
||||||
"BFD_RELOC_SH_GOTOFF_MEDHI16",
|
|
||||||
"BFD_RELOC_SH_GOTOFF_HI16",
|
|
||||||
"BFD_RELOC_SH_GOTPC_LOW16",
|
|
||||||
"BFD_RELOC_SH_GOTPC_MEDLOW16",
|
|
||||||
"BFD_RELOC_SH_GOTPC_MEDHI16",
|
|
||||||
"BFD_RELOC_SH_GOTPC_HI16",
|
|
||||||
"BFD_RELOC_SH_COPY64",
|
|
||||||
"BFD_RELOC_SH_GLOB_DAT64",
|
|
||||||
"BFD_RELOC_SH_JMP_SLOT64",
|
|
||||||
"BFD_RELOC_SH_RELATIVE64",
|
|
||||||
"BFD_RELOC_SH_GOT10BY4",
|
|
||||||
"BFD_RELOC_SH_GOT10BY8",
|
|
||||||
"BFD_RELOC_SH_GOTPLT10BY4",
|
|
||||||
"BFD_RELOC_SH_GOTPLT10BY8",
|
|
||||||
"BFD_RELOC_SH_GOTPLT32",
|
|
||||||
"BFD_RELOC_SH_SHMEDIA_CODE",
|
|
||||||
"BFD_RELOC_SH_IMMU5",
|
|
||||||
"BFD_RELOC_SH_IMMS6",
|
|
||||||
"BFD_RELOC_SH_IMMS6BY32",
|
|
||||||
"BFD_RELOC_SH_IMMU6",
|
|
||||||
"BFD_RELOC_SH_IMMS10",
|
|
||||||
"BFD_RELOC_SH_IMMS10BY2",
|
|
||||||
"BFD_RELOC_SH_IMMS10BY4",
|
|
||||||
"BFD_RELOC_SH_IMMS10BY8",
|
|
||||||
"BFD_RELOC_SH_IMMS16",
|
|
||||||
"BFD_RELOC_SH_IMMU16",
|
|
||||||
"BFD_RELOC_SH_IMM_LOW16",
|
|
||||||
"BFD_RELOC_SH_IMM_LOW16_PCREL",
|
|
||||||
"BFD_RELOC_SH_IMM_MEDLOW16",
|
|
||||||
"BFD_RELOC_SH_IMM_MEDLOW16_PCREL",
|
|
||||||
"BFD_RELOC_SH_IMM_MEDHI16",
|
|
||||||
"BFD_RELOC_SH_IMM_MEDHI16_PCREL",
|
|
||||||
"BFD_RELOC_SH_IMM_HI16",
|
|
||||||
"BFD_RELOC_SH_IMM_HI16_PCREL",
|
|
||||||
"BFD_RELOC_SH_PT_16",
|
|
||||||
|
|
||||||
"BFD_RELOC_386_GOT32",
|
"BFD_RELOC_386_GOT32",
|
||||||
"BFD_RELOC_386_PLT32",
|
"BFD_RELOC_386_PLT32",
|
||||||
@ -947,6 +898,55 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@",
|
|||||||
"BFD_RELOC_SH_JMP_SLOT",
|
"BFD_RELOC_SH_JMP_SLOT",
|
||||||
"BFD_RELOC_SH_RELATIVE",
|
"BFD_RELOC_SH_RELATIVE",
|
||||||
"BFD_RELOC_SH_GOTPC",
|
"BFD_RELOC_SH_GOTPC",
|
||||||
|
"BFD_RELOC_SH_GOT_LOW16",
|
||||||
|
"BFD_RELOC_SH_GOT_MEDLOW16",
|
||||||
|
"BFD_RELOC_SH_GOT_MEDHI16",
|
||||||
|
"BFD_RELOC_SH_GOT_HI16",
|
||||||
|
"BFD_RELOC_SH_GOTPLT_LOW16",
|
||||||
|
"BFD_RELOC_SH_GOTPLT_MEDLOW16",
|
||||||
|
"BFD_RELOC_SH_GOTPLT_MEDHI16",
|
||||||
|
"BFD_RELOC_SH_GOTPLT_HI16",
|
||||||
|
"BFD_RELOC_SH_PLT_LOW16",
|
||||||
|
"BFD_RELOC_SH_PLT_MEDLOW16",
|
||||||
|
"BFD_RELOC_SH_PLT_MEDHI16",
|
||||||
|
"BFD_RELOC_SH_PLT_HI16",
|
||||||
|
"BFD_RELOC_SH_GOTOFF_LOW16",
|
||||||
|
"BFD_RELOC_SH_GOTOFF_MEDLOW16",
|
||||||
|
"BFD_RELOC_SH_GOTOFF_MEDHI16",
|
||||||
|
"BFD_RELOC_SH_GOTOFF_HI16",
|
||||||
|
"BFD_RELOC_SH_GOTPC_LOW16",
|
||||||
|
"BFD_RELOC_SH_GOTPC_MEDLOW16",
|
||||||
|
"BFD_RELOC_SH_GOTPC_MEDHI16",
|
||||||
|
"BFD_RELOC_SH_GOTPC_HI16",
|
||||||
|
"BFD_RELOC_SH_COPY64",
|
||||||
|
"BFD_RELOC_SH_GLOB_DAT64",
|
||||||
|
"BFD_RELOC_SH_JMP_SLOT64",
|
||||||
|
"BFD_RELOC_SH_RELATIVE64",
|
||||||
|
"BFD_RELOC_SH_GOT10BY4",
|
||||||
|
"BFD_RELOC_SH_GOT10BY8",
|
||||||
|
"BFD_RELOC_SH_GOTPLT10BY4",
|
||||||
|
"BFD_RELOC_SH_GOTPLT10BY8",
|
||||||
|
"BFD_RELOC_SH_GOTPLT32",
|
||||||
|
"BFD_RELOC_SH_SHMEDIA_CODE",
|
||||||
|
"BFD_RELOC_SH_IMMU5",
|
||||||
|
"BFD_RELOC_SH_IMMS6",
|
||||||
|
"BFD_RELOC_SH_IMMS6BY32",
|
||||||
|
"BFD_RELOC_SH_IMMU6",
|
||||||
|
"BFD_RELOC_SH_IMMS10",
|
||||||
|
"BFD_RELOC_SH_IMMS10BY2",
|
||||||
|
"BFD_RELOC_SH_IMMS10BY4",
|
||||||
|
"BFD_RELOC_SH_IMMS10BY8",
|
||||||
|
"BFD_RELOC_SH_IMMS16",
|
||||||
|
"BFD_RELOC_SH_IMMU16",
|
||||||
|
"BFD_RELOC_SH_IMM_LOW16",
|
||||||
|
"BFD_RELOC_SH_IMM_LOW16_PCREL",
|
||||||
|
"BFD_RELOC_SH_IMM_MEDLOW16",
|
||||||
|
"BFD_RELOC_SH_IMM_MEDLOW16_PCREL",
|
||||||
|
"BFD_RELOC_SH_IMM_MEDHI16",
|
||||||
|
"BFD_RELOC_SH_IMM_MEDHI16_PCREL",
|
||||||
|
"BFD_RELOC_SH_IMM_HI16",
|
||||||
|
"BFD_RELOC_SH_IMM_HI16_PCREL",
|
||||||
|
"BFD_RELOC_SH_PT_16",
|
||||||
"BFD_RELOC_THUMB_PCREL_BRANCH9",
|
"BFD_RELOC_THUMB_PCREL_BRANCH9",
|
||||||
"BFD_RELOC_THUMB_PCREL_BRANCH12",
|
"BFD_RELOC_THUMB_PCREL_BRANCH12",
|
||||||
"BFD_RELOC_THUMB_PCREL_BRANCH23",
|
"BFD_RELOC_THUMB_PCREL_BRANCH23",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
aix386-core.c
|
aix386-core.c
|
||||||
|
aix5ppc-core.c
|
||||||
aout-adobe.c
|
aout-adobe.c
|
||||||
aout-arm.c
|
aout-arm.c
|
||||||
aout-cris.c
|
aout-cris.c
|
||||||
|
Reference in New Issue
Block a user