mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 00:32:30 +08:00
BFD whitespace fixes
Binutils is supposed to use tabs. In my git config I have whitespace = indent-with-non-tab,space-before-tab,trailing-space and I got annoyed enough seeing red in "git diff" output to fix the problems. * doc/header.sed: Trim trailing space when splitting lines. * aix386-core.c, * aout-adobe.c, * aout-arm.c, * aout-cris.c, * aout-ns32k.c, * aout-target.h, * aout-tic30.c, * aoutf1.h, * aoutx.h, * arc-got.h, * arc-plt.def, * arc-plt.h, * archive.c, * archive64.c, * archures.c, * armnetbsd.c, * bfd-in.h, * bfd.c, * bfdio.c, * binary.c, * bout.c, * cache.c, * cisco-core.c, * coff-alpha.c, * coff-apollo.c, * coff-arm.c, * coff-h8300.c, * coff-i386.c, * coff-i860.c, * coff-i960.c, * coff-m68k.c, * coff-m88k.c, * coff-mcore.c, * coff-mips.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c, * coff-stgo32.c, * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c, * coff-we32k.c, * coff-x86_64.c, * coff-z80.c, * coff-z8k.c, * coff64-rs6000.c, * coffcode.h, * coffgen.c, * cofflink.c, * coffswap.h, * compress.c, * corefile.c, * cpu-alpha.c, * cpu-arm.c, * cpu-avr.c, * cpu-bfin.c, * cpu-cr16.c, * cpu-cr16c.c, * cpu-crx.c, * cpu-d10v.c, * cpu-frv.c, * cpu-ft32.c, * cpu-i370.c, * cpu-i960.c, * cpu-ia64-opc.c, * cpu-ip2k.c, * cpu-lm32.c, * cpu-m32r.c, * cpu-mcore.c, * cpu-microblaze.c, * cpu-mips.c, * cpu-moxie.c, * cpu-mt.c, * cpu-nios2.c, * cpu-ns32k.c, * cpu-or1k.c, * cpu-powerpc.c, * cpu-pru.c, * cpu-sh.c, * cpu-spu.c, * cpu-v850.c, * cpu-v850_rh850.c, * cpu-xgate.c, * cpu-z80.c, * dwarf1.c, * dwarf2.c, * ecoff.c, * ecofflink.c, * ecoffswap.h, * elf-bfd.h, * elf-eh-frame.c, * elf-hppa.h, * elf-m10200.c, * elf-m10300.c, * elf-s390-common.c, * elf-strtab.c, * elf-vxworks.c, * elf.c, * elf32-am33lin.c, * elf32-arc.c, * elf32-arm.c, * elf32-avr.c, * elf32-avr.h, * elf32-bfin.c, * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c, * elf32-crx.c, * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c, * elf32-epiphany.c, * elf32-fr30.c, * elf32-frv.c, * elf32-ft32.c, * elf32-h8300.c, * elf32-hppa.c, * elf32-i386.c, * elf32-i860.c, * elf32-i960.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c, * elf32-m68hc1x.c, * elf32-m68hc1x.h, * elf32-m68k.c, * elf32-m88k.c, * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c, * elf32-microblaze.c, * elf32-mips.c, * elf32-moxie.c, * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c, * elf32-nds32.h, * elf32-nios2.c, * elf32-or1k.c, * elf32-pj.c, * elf32-ppc.c, * elf32-ppc.h, * elf32-pru.c, * elf32-rl78.c, * elf32-rx.c, * elf32-s390.c, * elf32-score.c, * elf32-score.h, * elf32-score7.c, * elf32-sh-symbian.c, * elf32-sh.c, * elf32-sh64.c, * elf32-sparc.c, * elf32-spu.c, * elf32-tic6x.c, * elf32-tilegx.c, * elf32-tilegx.h, * elf32-tilepro.c, * elf32-tilepro.h, * elf32-v850.c, * elf32-vax.c, * elf32-wasm32.c, * elf32-xc16x.c, * elf32-xgate.c, * elf32-xgate.h, * elf32-xstormy16.c, * elf32-xtensa.c, * elf64-alpha.c, * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c, * elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c, * elf64-tilegx.c, * elf64-tilegx.h, * elf64-x86-64.c, * elfcore.h, * elflink.c, * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c, * elfnn-riscv.c, * elfxx-aarch64.c, * elfxx-aarch64.h, * elfxx-ia64.c, * elfxx-ia64.h, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-sparc.c, * elfxx-tilegx.c, * elfxx-x86.c, * elfxx-x86.h, * freebsd.h, * hash.c, * host-aout.c, * hp300hpux.c, * hppabsd-core.c, * hpux-core.c, * i386aout.c, * i386linux.c, * i386lynx.c, * i386mach3.c, * i386msdos.c, * i386netbsd.c, * ieee.c, * ihex.c, * irix-core.c, * libaout.h, * libbfd-in.h, * libbfd.c, * libcoff-in.h, * libnlm.h, * libpei.h, * libxcoff.h, * linker.c, * lynx-core.c, * m68k4knetbsd.c, * m68klinux.c, * m68knetbsd.c, * m88kmach3.c, * mach-o-aarch64.c, * mach-o-arm.c, * mach-o-i386.c, * mach-o-target.c, * mach-o-x86-64.c, * mach-o.c, * mach-o.h, * merge.c, * mipsbsd.c, * mmo.c, * netbsd.h, * netbsd-core.c, * newsos3.c, * nlm-target.h, * nlm32-ppc.c, * nlm32-sparc.c, * nlmcode.h, * ns32k.h, * ns32knetbsd.c, * oasys.c, * opncls.c, * pc532-mach.c, * pdp11.c, * pe-arm.c, * pe-i386.c, * pe-mcore.c, * pe-mips.c, * pe-x86_64.c, * peXXigen.c, * pef.c, * pef.h, * pei-arm.c, * pei-i386.c, * pei-mcore.c, * pei-x86_64.c, * peicode.h, * plugin.c, * ppcboot.c, * ptrace-core.c, * reloc.c, * riscix.c, * rs6000-core.c, * section.c, * som.c, * som.h, * sparclinux.c, * sparcnetbsd.c, * srec.c, * stabs.c, * sunos.c, * syms.c, * targets.c, * tekhex.c, * trad-core.c, * vax1knetbsd.c, * vaxnetbsd.c, * verilog.c, * versados.c, * vms-alpha.c, * vms-lib.c, * vms-misc.c, * wasm-module.c, * wasm-module.h, * xcofflink.c, * xsym.c, * xsym.h: Whitespace fixes. * bfd-in2.h, * libbfd.h, * libcoff.h: Regenerate.
This commit is contained in:
@ -1,3 +1,75 @@
|
||||
2017-12-06 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* doc/header.sed: Trim trailing space when splitting lines.
|
||||
* aix386-core.c, * aout-adobe.c, * aout-arm.c, * aout-cris.c,
|
||||
* aout-ns32k.c, * aout-target.h, * aout-tic30.c, * aoutf1.h, * aoutx.h,
|
||||
* arc-got.h, * arc-plt.def, * arc-plt.h, * archive.c, * archive64.c,
|
||||
* archures.c, * armnetbsd.c, * bfd-in.h, * bfd.c, * bfdio.c, * binary.c,
|
||||
* bout.c, * cache.c, * cisco-core.c, * coff-alpha.c, * coff-apollo.c,
|
||||
* coff-arm.c, * coff-h8300.c, * coff-i386.c, * coff-i860.c,
|
||||
* coff-i960.c, * coff-m68k.c, * coff-m88k.c, * coff-mcore.c,
|
||||
* coff-mips.c, * coff-ppc.c, * coff-rs6000.c, * coff-sh.c,
|
||||
* coff-stgo32.c, * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c,
|
||||
* coff-we32k.c, * coff-x86_64.c, * coff-z80.c, * coff-z8k.c,
|
||||
* coff64-rs6000.c, * coffcode.h, * coffgen.c, * cofflink.c,
|
||||
* coffswap.h, * compress.c, * corefile.c, * cpu-alpha.c, * cpu-arm.c,
|
||||
* cpu-avr.c, * cpu-bfin.c, * cpu-cr16.c, * cpu-cr16c.c, * cpu-crx.c,
|
||||
* cpu-d10v.c, * cpu-frv.c, * cpu-ft32.c, * cpu-i370.c, * cpu-i960.c,
|
||||
* cpu-ia64-opc.c, * cpu-ip2k.c, * cpu-lm32.c, * cpu-m32r.c,
|
||||
* cpu-mcore.c, * cpu-microblaze.c, * cpu-mips.c, * cpu-moxie.c,
|
||||
* cpu-mt.c, * cpu-nios2.c, * cpu-ns32k.c, * cpu-or1k.c, * cpu-powerpc.c,
|
||||
* cpu-pru.c, * cpu-sh.c, * cpu-spu.c, * cpu-v850.c, * cpu-v850_rh850.c,
|
||||
* cpu-xgate.c, * cpu-z80.c, * dwarf1.c, * dwarf2.c, * ecoff.c,
|
||||
* ecofflink.c, * ecoffswap.h, * elf-bfd.h, * elf-eh-frame.c,
|
||||
* elf-hppa.h, * elf-m10200.c, * elf-m10300.c, * elf-s390-common.c,
|
||||
* elf-strtab.c, * elf-vxworks.c, * elf.c, * elf32-am33lin.c,
|
||||
* elf32-arc.c, * elf32-arm.c, * elf32-avr.c, * elf32-avr.h,
|
||||
* elf32-bfin.c, * elf32-cr16.c, * elf32-cr16c.c, * elf32-cris.c,
|
||||
* elf32-crx.c, * elf32-d10v.c, * elf32-d30v.c, * elf32-dlx.c,
|
||||
* elf32-epiphany.c, * elf32-fr30.c, * elf32-frv.c, * elf32-ft32.c,
|
||||
* elf32-h8300.c, * elf32-hppa.c, * elf32-i386.c, * elf32-i860.c,
|
||||
* elf32-i960.c, * elf32-ip2k.c, * elf32-lm32.c, * elf32-m32c.c,
|
||||
* elf32-m32r.c, * elf32-m68hc11.c, * elf32-m68hc12.c, * elf32-m68hc1x.c,
|
||||
* elf32-m68hc1x.h, * elf32-m68k.c, * elf32-m88k.c, * elf32-mcore.c,
|
||||
* elf32-mep.c, * elf32-metag.c, * elf32-microblaze.c, * elf32-mips.c,
|
||||
* elf32-moxie.c, * elf32-msp430.c, * elf32-mt.c, * elf32-nds32.c,
|
||||
* elf32-nds32.h, * elf32-nios2.c, * elf32-or1k.c, * elf32-pj.c,
|
||||
* elf32-ppc.c, * elf32-ppc.h, * elf32-pru.c, * elf32-rl78.c,
|
||||
* elf32-rx.c, * elf32-s390.c, * elf32-score.c, * elf32-score.h,
|
||||
* elf32-score7.c, * elf32-sh-symbian.c, * elf32-sh.c, * elf32-sh64.c,
|
||||
* elf32-sparc.c, * elf32-spu.c, * elf32-tic6x.c, * elf32-tilegx.c,
|
||||
* elf32-tilegx.h, * elf32-tilepro.c, * elf32-tilepro.h, * elf32-v850.c,
|
||||
* elf32-vax.c, * elf32-wasm32.c, * elf32-xc16x.c, * elf32-xgate.c,
|
||||
* elf32-xgate.h, * elf32-xstormy16.c, * elf32-xtensa.c, * elf64-alpha.c,
|
||||
* elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
|
||||
* elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c,
|
||||
* elf64-tilegx.c, * elf64-tilegx.h, * elf64-x86-64.c, * elfcore.h,
|
||||
* elflink.c, * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c,
|
||||
* elfnn-riscv.c, * elfxx-aarch64.c, * elfxx-aarch64.h, * elfxx-ia64.c,
|
||||
* elfxx-ia64.h, * elfxx-mips.c, * elfxx-riscv.c, * elfxx-sparc.c,
|
||||
* elfxx-tilegx.c, * elfxx-x86.c, * elfxx-x86.h, * freebsd.h, * hash.c,
|
||||
* host-aout.c, * hp300hpux.c, * hppabsd-core.c, * hpux-core.c,
|
||||
* i386aout.c, * i386linux.c, * i386lynx.c, * i386mach3.c, * i386msdos.c,
|
||||
* i386netbsd.c, * ieee.c, * ihex.c, * irix-core.c, * libaout.h,
|
||||
* libbfd-in.h, * libbfd.c, * libcoff-in.h, * libnlm.h, * libpei.h,
|
||||
* libxcoff.h, * linker.c, * lynx-core.c, * m68k4knetbsd.c,
|
||||
* m68klinux.c, * m68knetbsd.c, * m88kmach3.c, * mach-o-aarch64.c,
|
||||
* mach-o-arm.c, * mach-o-i386.c, * mach-o-target.c, * mach-o-x86-64.c,
|
||||
* mach-o.c, * mach-o.h, * merge.c, * mipsbsd.c, * mmo.c, * netbsd.h,
|
||||
* netbsd-core.c, * newsos3.c, * nlm-target.h, * nlm32-ppc.c,
|
||||
* nlm32-sparc.c, * nlmcode.h, * ns32k.h, * ns32knetbsd.c, * oasys.c,
|
||||
* opncls.c, * pc532-mach.c, * pdp11.c, * pe-arm.c, * pe-i386.c,
|
||||
* pe-mcore.c, * pe-mips.c, * pe-x86_64.c, * peXXigen.c, * pef.c,
|
||||
* pef.h, * pei-arm.c, * pei-i386.c, * pei-mcore.c, * pei-x86_64.c,
|
||||
* peicode.h, * plugin.c, * ppcboot.c, * ptrace-core.c, * reloc.c,
|
||||
* riscix.c, * rs6000-core.c, * section.c, * som.c, * som.h,
|
||||
* sparclinux.c, * sparcnetbsd.c, * srec.c, * stabs.c, * sunos.c,
|
||||
* syms.c, * targets.c, * tekhex.c, * trad-core.c, * vax1knetbsd.c,
|
||||
* vaxnetbsd.c, * verilog.c, * versados.c, * vms-alpha.c, * vms-lib.c,
|
||||
* vms-misc.c, * wasm-module.c, * wasm-module.h, * xcofflink.c,
|
||||
* xsym.c, * xsym.h: Whitespace fixes.
|
||||
* bfd-in2.h, * libbfd.h, * libcoff.h: Regenerate.
|
||||
|
||||
2017-12-06 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* elf32-lm32.c (lm32_elf_check_relocs): Skip non-ALLOC sections.
|
||||
|
148
bfd/archures.c
148
bfd/archures.c
@ -70,7 +70,7 @@ DESCRIPTION
|
||||
.{
|
||||
. bfd_arch_unknown, {* File arch not known. *}
|
||||
. bfd_arch_obscure, {* Arch known, not one of these. *}
|
||||
. bfd_arch_m68k, {* Motorola 68xxx *}
|
||||
. bfd_arch_m68k, {* Motorola 68xxx. *}
|
||||
.#define bfd_mach_m68000 1
|
||||
.#define bfd_mach_m68008 2
|
||||
.#define bfd_mach_m68010 3
|
||||
@ -102,8 +102,8 @@ DESCRIPTION
|
||||
.#define bfd_mach_mcf_isa_c_nodiv 29
|
||||
.#define bfd_mach_mcf_isa_c_nodiv_mac 30
|
||||
.#define bfd_mach_mcf_isa_c_nodiv_emac 31
|
||||
. bfd_arch_vax, {* DEC Vax *}
|
||||
. bfd_arch_i960, {* Intel 960 *}
|
||||
. bfd_arch_vax, {* DEC Vax. *}
|
||||
. bfd_arch_i960, {* Intel 960. *}
|
||||
. {* The order of the following is important.
|
||||
. lower number indicates a machine type that
|
||||
. only accepts a subset of the instructions
|
||||
@ -121,11 +121,11 @@ DESCRIPTION
|
||||
.#define bfd_mach_i960_jx 7
|
||||
.#define bfd_mach_i960_hx 8
|
||||
.
|
||||
. bfd_arch_or1k, {* OpenRISC 1000 *}
|
||||
. bfd_arch_or1k, {* OpenRISC 1000. *}
|
||||
.#define bfd_mach_or1k 1
|
||||
.#define bfd_mach_or1knd 2
|
||||
.
|
||||
. bfd_arch_sparc, {* SPARC *}
|
||||
. bfd_arch_sparc, {* SPARC. *}
|
||||
.#define bfd_mach_sparc 1
|
||||
.{* The difference between v8plus and v9 is that v9 is a true 64 bit env. *}
|
||||
.#define bfd_mach_sparc_sparclet 2
|
||||
@ -163,9 +163,9 @@ DESCRIPTION
|
||||
. && (mach) != bfd_mach_sparc_v8plusv \
|
||||
. && (mach) != bfd_mach_sparc_v8plusm \
|
||||
. && (mach) != bfd_mach_sparc_v8plusm8)
|
||||
. bfd_arch_spu, {* PowerPC SPU *}
|
||||
. bfd_arch_spu, {* PowerPC SPU. *}
|
||||
.#define bfd_mach_spu 256
|
||||
. bfd_arch_mips, {* MIPS Rxxxx *}
|
||||
. bfd_arch_mips, {* MIPS Rxxxx. *}
|
||||
.#define bfd_mach_mips3000 3000
|
||||
.#define bfd_mach_mips3900 3900
|
||||
.#define bfd_mach_mips4000 4000
|
||||
@ -194,13 +194,13 @@ DESCRIPTION
|
||||
.#define bfd_mach_mips_loongson_2e 3001
|
||||
.#define bfd_mach_mips_loongson_2f 3002
|
||||
.#define bfd_mach_mips_loongson_3a 3003
|
||||
.#define bfd_mach_mips_sb1 12310201 {* octal 'SB', 01 *}
|
||||
.#define bfd_mach_mips_sb1 12310201 {* octal 'SB', 01. *}
|
||||
.#define bfd_mach_mips_octeon 6501
|
||||
.#define bfd_mach_mips_octeonp 6601
|
||||
.#define bfd_mach_mips_octeon2 6502
|
||||
.#define bfd_mach_mips_octeon3 6503
|
||||
.#define bfd_mach_mips_xlr 887682 {* decimal 'XLR' *}
|
||||
.#define bfd_mach_mips_interaptiv_mr2 736550 {* decimal 'IA2' *}
|
||||
.#define bfd_mach_mips_xlr 887682 {* decimal 'XLR'. *}
|
||||
.#define bfd_mach_mips_interaptiv_mr2 736550 {* decimal 'IA2'. *}
|
||||
.#define bfd_mach_mipsisa32 32
|
||||
.#define bfd_mach_mipsisa32r2 33
|
||||
.#define bfd_mach_mipsisa32r3 34
|
||||
@ -212,7 +212,7 @@ DESCRIPTION
|
||||
.#define bfd_mach_mipsisa64r5 68
|
||||
.#define bfd_mach_mipsisa64r6 69
|
||||
.#define bfd_mach_mips_micromips 96
|
||||
. bfd_arch_i386, {* Intel 386 *}
|
||||
. bfd_arch_i386, {* Intel 386. *}
|
||||
.#define bfd_mach_i386_intel_syntax (1 << 0)
|
||||
.#define bfd_mach_i386_i8086 (1 << 1)
|
||||
.#define bfd_mach_i386_i386 (1 << 2)
|
||||
@ -221,30 +221,30 @@ DESCRIPTION
|
||||
.#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
|
||||
.#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
|
||||
.#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
|
||||
. bfd_arch_l1om, {* Intel L1OM *}
|
||||
. bfd_arch_l1om, {* Intel L1OM. *}
|
||||
.#define bfd_mach_l1om (1 << 5)
|
||||
.#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
|
||||
. bfd_arch_k1om, {* Intel K1OM *}
|
||||
. bfd_arch_k1om, {* Intel K1OM. *}
|
||||
.#define bfd_mach_k1om (1 << 6)
|
||||
.#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
|
||||
.#define bfd_mach_i386_nacl (1 << 7)
|
||||
.#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl)
|
||||
.#define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl)
|
||||
.#define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
|
||||
. bfd_arch_iamcu, {* Intel MCU *}
|
||||
. bfd_arch_iamcu, {* Intel MCU. *}
|
||||
.#define bfd_mach_iamcu (1 << 8)
|
||||
.#define bfd_mach_i386_iamcu (bfd_mach_i386_i386 | bfd_mach_iamcu)
|
||||
.#define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
|
||||
. bfd_arch_we32k, {* AT&T WE32xxx *}
|
||||
. bfd_arch_tahoe, {* CCI/Harris Tahoe *}
|
||||
. bfd_arch_i860, {* Intel 860 *}
|
||||
. bfd_arch_i370, {* IBM 360/370 Mainframes *}
|
||||
. bfd_arch_romp, {* IBM ROMP PC/RT *}
|
||||
. bfd_arch_convex, {* Convex *}
|
||||
. bfd_arch_m88k, {* Motorola 88xxx *}
|
||||
. bfd_arch_m98k, {* Motorola 98xxx *}
|
||||
. bfd_arch_pyramid, {* Pyramid Technology *}
|
||||
. bfd_arch_h8300, {* Renesas H8/300 (formerly Hitachi H8/300) *}
|
||||
. bfd_arch_we32k, {* AT&T WE32xxx. *}
|
||||
. bfd_arch_tahoe, {* CCI/Harris Tahoe. *}
|
||||
. bfd_arch_i860, {* Intel 860. *}
|
||||
. bfd_arch_i370, {* IBM 360/370 Mainframes. *}
|
||||
. bfd_arch_romp, {* IBM ROMP PC/RT. *}
|
||||
. bfd_arch_convex, {* Convex. *}
|
||||
. bfd_arch_m88k, {* Motorola 88xxx. *}
|
||||
. bfd_arch_m98k, {* Motorola 98xxx. *}
|
||||
. bfd_arch_pyramid, {* Pyramid Technology. *}
|
||||
. bfd_arch_h8300, {* Renesas H8/300 (formerly Hitachi H8/300). *}
|
||||
.#define bfd_mach_h8300 1
|
||||
.#define bfd_mach_h8300h 2
|
||||
.#define bfd_mach_h8300s 3
|
||||
@ -252,9 +252,9 @@ DESCRIPTION
|
||||
.#define bfd_mach_h8300sn 5
|
||||
.#define bfd_mach_h8300sx 6
|
||||
.#define bfd_mach_h8300sxn 7
|
||||
. bfd_arch_pdp11, {* DEC PDP-11 *}
|
||||
. bfd_arch_pdp11, {* DEC PDP-11. *}
|
||||
. bfd_arch_plugin,
|
||||
. bfd_arch_powerpc, {* PowerPC *}
|
||||
. bfd_arch_powerpc, {* PowerPC. *}
|
||||
.#define bfd_mach_ppc 32
|
||||
.#define bfd_mach_ppc64 64
|
||||
.#define bfd_mach_ppc_403 403
|
||||
@ -281,34 +281,34 @@ DESCRIPTION
|
||||
.#define bfd_mach_ppc_e6500 5007
|
||||
.#define bfd_mach_ppc_titan 83
|
||||
.#define bfd_mach_ppc_vle 84
|
||||
. bfd_arch_rs6000, {* IBM RS/6000 *}
|
||||
. bfd_arch_rs6000, {* IBM RS/6000. *}
|
||||
.#define bfd_mach_rs6k 6000
|
||||
.#define bfd_mach_rs6k_rs1 6001
|
||||
.#define bfd_mach_rs6k_rsc 6003
|
||||
.#define bfd_mach_rs6k_rs2 6002
|
||||
. bfd_arch_hppa, {* HP PA RISC *}
|
||||
. bfd_arch_hppa, {* HP PA RISC. *}
|
||||
.#define bfd_mach_hppa10 10
|
||||
.#define bfd_mach_hppa11 11
|
||||
.#define bfd_mach_hppa20 20
|
||||
.#define bfd_mach_hppa20w 25
|
||||
. bfd_arch_d10v, {* Mitsubishi D10V *}
|
||||
. bfd_arch_d10v, {* Mitsubishi D10V. *}
|
||||
.#define bfd_mach_d10v 1
|
||||
.#define bfd_mach_d10v_ts2 2
|
||||
.#define bfd_mach_d10v_ts3 3
|
||||
. bfd_arch_d30v, {* Mitsubishi D30V *}
|
||||
. bfd_arch_dlx, {* DLX *}
|
||||
. bfd_arch_m68hc11, {* Motorola 68HC11 *}
|
||||
. bfd_arch_m68hc12, {* Motorola 68HC12 *}
|
||||
. bfd_arch_d30v, {* Mitsubishi D30V. *}
|
||||
. bfd_arch_dlx, {* DLX. *}
|
||||
. bfd_arch_m68hc11, {* Motorola 68HC11. *}
|
||||
. bfd_arch_m68hc12, {* Motorola 68HC12. *}
|
||||
.#define bfd_mach_m6812_default 0
|
||||
.#define bfd_mach_m6812 1
|
||||
.#define bfd_mach_m6812s 2
|
||||
. bfd_arch_m9s12x, {* Freescale S12X *}
|
||||
. bfd_arch_m9s12xg, {* Freescale XGATE *}
|
||||
. bfd_arch_z8k, {* Zilog Z8000 *}
|
||||
. bfd_arch_m9s12x, {* Freescale S12X. *}
|
||||
. bfd_arch_m9s12xg, {* Freescale XGATE. *}
|
||||
. bfd_arch_z8k, {* Zilog Z8000. *}
|
||||
.#define bfd_mach_z8001 1
|
||||
.#define bfd_mach_z8002 2
|
||||
. bfd_arch_h8500, {* Renesas H8/500 (formerly Hitachi H8/500) *}
|
||||
. bfd_arch_sh, {* Renesas / SuperH SH (formerly Hitachi SH) *}
|
||||
. bfd_arch_h8500, {* Renesas H8/500 (formerly Hitachi H8/500). *}
|
||||
. bfd_arch_sh, {* Renesas / SuperH SH (formerly Hitachi SH). *}
|
||||
.#define bfd_mach_sh 1
|
||||
.#define bfd_mach_sh2 0x20
|
||||
.#define bfd_mach_sh_dsp 0x2d
|
||||
@ -330,7 +330,7 @@ DESCRIPTION
|
||||
.#define bfd_mach_sh4a_nofpu 0x4b
|
||||
.#define bfd_mach_sh4al_dsp 0x4d
|
||||
.#define bfd_mach_sh5 0x50
|
||||
. bfd_arch_alpha, {* Dec Alpha *}
|
||||
. bfd_arch_alpha, {* Dec Alpha. *}
|
||||
.#define bfd_mach_alpha_ev4 0x10
|
||||
.#define bfd_mach_alpha_ev5 0x20
|
||||
.#define bfd_mach_alpha_ev6 0x30
|
||||
@ -349,30 +349,30 @@ DESCRIPTION
|
||||
.#define bfd_mach_arm_ep9312 11
|
||||
.#define bfd_mach_arm_iWMMXt 12
|
||||
.#define bfd_mach_arm_iWMMXt2 13
|
||||
. bfd_arch_nds32, {* Andes NDS32 *}
|
||||
. bfd_arch_nds32, {* Andes NDS32. *}
|
||||
.#define bfd_mach_n1 1
|
||||
.#define bfd_mach_n1h 2
|
||||
.#define bfd_mach_n1h_v2 3
|
||||
.#define bfd_mach_n1h_v3 4
|
||||
.#define bfd_mach_n1h_v3m 5
|
||||
. bfd_arch_ns32k, {* National Semiconductors ns32000 *}
|
||||
. bfd_arch_w65, {* WDC 65816 *}
|
||||
. bfd_arch_tic30, {* Texas Instruments TMS320C30 *}
|
||||
. bfd_arch_tic4x, {* Texas Instruments TMS320C3X/4X *}
|
||||
. bfd_arch_ns32k, {* National Semiconductors ns32000. *}
|
||||
. bfd_arch_w65, {* WDC 65816. *}
|
||||
. bfd_arch_tic30, {* Texas Instruments TMS320C30. *}
|
||||
. bfd_arch_tic4x, {* Texas Instruments TMS320C3X/4X. *}
|
||||
.#define bfd_mach_tic3x 30
|
||||
.#define bfd_mach_tic4x 40
|
||||
. bfd_arch_tic54x, {* Texas Instruments TMS320C54X *}
|
||||
. bfd_arch_tic6x, {* Texas Instruments TMS320C6X *}
|
||||
. bfd_arch_tic80, {* TI TMS320c80 (MVP) *}
|
||||
. bfd_arch_v850, {* NEC V850 *}
|
||||
. bfd_arch_v850_rh850,{* NEC V850 (using RH850 ABI) *}
|
||||
. bfd_arch_tic54x, {* Texas Instruments TMS320C54X. *}
|
||||
. bfd_arch_tic6x, {* Texas Instruments TMS320C6X. *}
|
||||
. bfd_arch_tic80, {* TI TMS320c80 (MVP). *}
|
||||
. bfd_arch_v850, {* NEC V850. *}
|
||||
. bfd_arch_v850_rh850,{* NEC V850 (using RH850 ABI). *}
|
||||
.#define bfd_mach_v850 1
|
||||
.#define bfd_mach_v850e 'E'
|
||||
.#define bfd_mach_v850e1 '1'
|
||||
.#define bfd_mach_v850e2 0x4532
|
||||
.#define bfd_mach_v850e2v3 0x45325633
|
||||
.#define bfd_mach_v850e3v5 0x45335635 {* ('E'|'3'|'V'|'5') *}
|
||||
. bfd_arch_arc, {* ARC Cores *}
|
||||
.#define bfd_mach_v850e3v5 0x45335635 {* ('E'|'3'|'V'|'5'). *}
|
||||
. bfd_arch_arc, {* ARC Cores. *}
|
||||
.#define bfd_mach_arc_a4 0
|
||||
.#define bfd_mach_arc_a5 1
|
||||
.#define bfd_mach_arc_arc600 2
|
||||
@ -382,12 +382,12 @@ DESCRIPTION
|
||||
. bfd_arch_m32c, {* Renesas M16C/M32C. *}
|
||||
.#define bfd_mach_m16c 0x75
|
||||
.#define bfd_mach_m32c 0x78
|
||||
. bfd_arch_m32r, {* Renesas M32R (formerly Mitsubishi M32R/D) *}
|
||||
. bfd_arch_m32r, {* Renesas M32R (formerly Mitsubishi M32R/D). *}
|
||||
.#define bfd_mach_m32r 1 {* For backwards compatibility. *}
|
||||
.#define bfd_mach_m32rx 'x'
|
||||
.#define bfd_mach_m32r2 '2'
|
||||
. bfd_arch_mn10200, {* Matsushita MN10200 *}
|
||||
. bfd_arch_mn10300, {* Matsushita MN10300 *}
|
||||
. bfd_arch_mn10200, {* Matsushita MN10200. *}
|
||||
. bfd_arch_mn10300, {* Matsushita MN10300. *}
|
||||
.#define bfd_mach_mn10300 300
|
||||
.#define bfd_mach_am33 330
|
||||
.#define bfd_mach_am33_2 332
|
||||
@ -399,12 +399,12 @@ DESCRIPTION
|
||||
.#define bfd_mach_fr300 300
|
||||
.#define bfd_mach_fr400 400
|
||||
.#define bfd_mach_fr450 450
|
||||
.#define bfd_mach_frvtomcat 499 {* fr500 prototype *}
|
||||
.#define bfd_mach_frvtomcat 499 {* fr500 prototype. *}
|
||||
.#define bfd_mach_fr500 500
|
||||
.#define bfd_mach_fr550 550
|
||||
. bfd_arch_moxie, {* The moxie processor *}
|
||||
. bfd_arch_moxie, {* The moxie processor. *}
|
||||
.#define bfd_mach_moxie 1
|
||||
. bfd_arch_ft32, {* The ft32 processor *}
|
||||
. bfd_arch_ft32, {* The ft32 processor. *}
|
||||
.#define bfd_mach_ft32 1
|
||||
.#define bfd_mach_ft32b 2
|
||||
. bfd_arch_mcore,
|
||||
@ -414,7 +414,7 @@ DESCRIPTION
|
||||
.#define bfd_mach_mep_c5 0x6335
|
||||
. bfd_arch_metag,
|
||||
.#define bfd_mach_metag 1
|
||||
. bfd_arch_ia64, {* HP/Intel ia64 *}
|
||||
. bfd_arch_ia64, {* HP/Intel ia64. *}
|
||||
.#define bfd_mach_ia64_elf64 64
|
||||
.#define bfd_mach_ia64_elf32 32
|
||||
. bfd_arch_ip2k, {* Ubicom IP2K microcontrollers. *}
|
||||
@ -423,7 +423,7 @@ DESCRIPTION
|
||||
. bfd_arch_iq2000, {* Vitesse IQ2000. *}
|
||||
.#define bfd_mach_iq2000 1
|
||||
.#define bfd_mach_iq10 2
|
||||
. bfd_arch_epiphany, {* Adapteva EPIPHANY *}
|
||||
. bfd_arch_epiphany, {* Adapteva EPIPHANY. *}
|
||||
.#define bfd_mach_epiphany16 1
|
||||
.#define bfd_mach_epiphany32 2
|
||||
. bfd_arch_mt,
|
||||
@ -450,7 +450,7 @@ DESCRIPTION
|
||||
.#define bfd_mach_avrxmega5 105
|
||||
.#define bfd_mach_avrxmega6 106
|
||||
.#define bfd_mach_avrxmega7 107
|
||||
. bfd_arch_bfin, {* ADI Blackfin *}
|
||||
. bfd_arch_bfin, {* ADI Blackfin. *}
|
||||
.#define bfd_mach_bfin 1
|
||||
. bfd_arch_cr16, {* National Semiconductor CompactRISC (ie CR16). *}
|
||||
.#define bfd_mach_cr16 1
|
||||
@ -458,7 +458,7 @@ DESCRIPTION
|
||||
.#define bfd_mach_cr16c 1
|
||||
. bfd_arch_crx, {* National Semiconductor CRX. *}
|
||||
.#define bfd_mach_crx 1
|
||||
. bfd_arch_cris, {* Axis CRIS *}
|
||||
. bfd_arch_cris, {* Axis CRIS. *}
|
||||
.#define bfd_mach_cris_v0_v10 255
|
||||
.#define bfd_mach_cris_v32 32
|
||||
.#define bfd_mach_cris_v10_v32 1032
|
||||
@ -469,10 +469,10 @@ DESCRIPTION
|
||||
.#define bfd_mach_rl78 0x75
|
||||
. bfd_arch_rx, {* Renesas RX. *}
|
||||
.#define bfd_mach_rx 0x75
|
||||
. bfd_arch_s390, {* IBM s390 *}
|
||||
. bfd_arch_s390, {* IBM s390. *}
|
||||
.#define bfd_mach_s390_31 31
|
||||
.#define bfd_mach_s390_64 64
|
||||
. bfd_arch_score, {* Sunplus score *}
|
||||
. bfd_arch_score, {* Sunplus score. *}
|
||||
.#define bfd_mach_score3 3
|
||||
.#define bfd_mach_score7 7
|
||||
. bfd_arch_mmix, {* Donald Knuth's educational processor. *}
|
||||
@ -507,7 +507,7 @@ DESCRIPTION
|
||||
.#define bfd_mach_xc16x 1
|
||||
.#define bfd_mach_xc16xl 2
|
||||
.#define bfd_mach_xc16xs 3
|
||||
. bfd_arch_xgate, {* Freescale XGATE *}
|
||||
. bfd_arch_xgate, {* Freescale XGATE. *}
|
||||
.#define bfd_mach_xgate 1
|
||||
. bfd_arch_xtensa, {* Tensilica's Xtensa cores. *}
|
||||
.#define bfd_mach_xtensa 1
|
||||
@ -516,26 +516,26 @@ DESCRIPTION
|
||||
.#define bfd_mach_z80 3 {* With ixl, ixh, iyl, and iyh. *}
|
||||
.#define bfd_mach_z80full 7 {* All undocumented instructions. *}
|
||||
.#define bfd_mach_r800 11 {* R800: successor with multiplication. *}
|
||||
. bfd_arch_lm32, {* Lattice Mico32 *}
|
||||
. bfd_arch_lm32, {* Lattice Mico32. *}
|
||||
.#define bfd_mach_lm32 1
|
||||
. bfd_arch_microblaze,{* Xilinx MicroBlaze. *}
|
||||
. bfd_arch_tilepro, {* Tilera TILEPro *}
|
||||
. bfd_arch_tilegx, {* Tilera TILE-Gx *}
|
||||
. bfd_arch_tilepro, {* Tilera TILEPro. *}
|
||||
. bfd_arch_tilegx, {* Tilera TILE-Gx. *}
|
||||
.#define bfd_mach_tilepro 1
|
||||
.#define bfd_mach_tilegx 1
|
||||
.#define bfd_mach_tilegx32 2
|
||||
. bfd_arch_aarch64, {* AArch64 *}
|
||||
. bfd_arch_aarch64, {* AArch64. *}
|
||||
.#define bfd_mach_aarch64 0
|
||||
.#define bfd_mach_aarch64_ilp32 32
|
||||
. bfd_arch_nios2, {* Nios II *}
|
||||
. bfd_arch_nios2, {* Nios II. *}
|
||||
.#define bfd_mach_nios2 0
|
||||
.#define bfd_mach_nios2r1 1
|
||||
.#define bfd_mach_nios2r2 2
|
||||
. bfd_arch_visium, {* Visium *}
|
||||
. bfd_arch_visium, {* Visium. *}
|
||||
.#define bfd_mach_visium 1
|
||||
. bfd_arch_wasm32, {* WebAssembly *}
|
||||
. bfd_arch_wasm32, {* WebAssembly. *}
|
||||
.#define bfd_mach_wasm32 1
|
||||
. bfd_arch_pru, {* PRU *}
|
||||
. bfd_arch_pru, {* PRU. *}
|
||||
.#define bfd_mach_pru 0
|
||||
. bfd_arch_last
|
||||
. };
|
||||
@ -564,8 +564,8 @@ DESCRIPTION
|
||||
. The default arch should be the first entry for an arch so that
|
||||
. all the entries for that arch can be accessed via <<next>>. *}
|
||||
. bfd_boolean the_default;
|
||||
. const struct bfd_arch_info * (*compatible)
|
||||
. (const struct bfd_arch_info *a, const struct bfd_arch_info *b);
|
||||
. const struct bfd_arch_info * (*compatible) (const struct bfd_arch_info *,
|
||||
. const struct bfd_arch_info *);
|
||||
.
|
||||
. bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
|
||||
.
|
||||
|
326
bfd/bfd-in2.h
326
bfd/bfd-in2.h
@ -1274,31 +1274,31 @@ typedef struct bfd_section
|
||||
synthesized from other information. */
|
||||
flagword flags;
|
||||
|
||||
#define SEC_NO_FLAGS 0x000
|
||||
#define SEC_NO_FLAGS 0x0
|
||||
|
||||
/* Tells the OS to allocate space for this section when loading.
|
||||
This is clear for a section containing debug information only. */
|
||||
#define SEC_ALLOC 0x001
|
||||
#define SEC_ALLOC 0x1
|
||||
|
||||
/* Tells the OS to load the section from the file when loading.
|
||||
This is clear for a .bss section. */
|
||||
#define SEC_LOAD 0x002
|
||||
#define SEC_LOAD 0x2
|
||||
|
||||
/* The section contains data still to be relocated, so there is
|
||||
some relocation information too. */
|
||||
#define SEC_RELOC 0x004
|
||||
#define SEC_RELOC 0x4
|
||||
|
||||
/* A signal to the OS that the section contains read only data. */
|
||||
#define SEC_READONLY 0x008
|
||||
#define SEC_READONLY 0x8
|
||||
|
||||
/* The section contains code only. */
|
||||
#define SEC_CODE 0x010
|
||||
#define SEC_CODE 0x10
|
||||
|
||||
/* The section contains data only. */
|
||||
#define SEC_DATA 0x020
|
||||
#define SEC_DATA 0x20
|
||||
|
||||
/* The section will reside in ROM. */
|
||||
#define SEC_ROM 0x040
|
||||
#define SEC_ROM 0x40
|
||||
|
||||
/* The section contains constructor information. This section
|
||||
type is used by the linker to create lists of constructors and
|
||||
@ -1310,7 +1310,7 @@ typedef struct bfd_section
|
||||
sections called <<__CTOR_LIST__>> and relocate the data
|
||||
contained within - exactly the operations it would peform on
|
||||
standard data. */
|
||||
#define SEC_CONSTRUCTOR 0x080
|
||||
#define SEC_CONSTRUCTOR 0x80
|
||||
|
||||
/* The section has contents - a data section could be
|
||||
<<SEC_ALLOC>> | <<SEC_HAS_CONTENTS>>; a debug section could be
|
||||
@ -1663,7 +1663,8 @@ struct relax_table {
|
||||
would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some
|
||||
compilers will complain about comma expressions that have no effect. */
|
||||
static inline bfd_boolean
|
||||
bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, void * val)
|
||||
bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
|
||||
void * val)
|
||||
{
|
||||
ptr->userdata = val;
|
||||
return TRUE;
|
||||
@ -1678,7 +1679,8 @@ bfd_set_section_vma (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, bfd_vma val)
|
||||
}
|
||||
|
||||
static inline bfd_boolean
|
||||
bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, unsigned int val)
|
||||
bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
|
||||
unsigned int val)
|
||||
{
|
||||
ptr->alignment_power = val;
|
||||
return TRUE;
|
||||
@ -1929,7 +1931,7 @@ enum bfd_architecture
|
||||
{
|
||||
bfd_arch_unknown, /* File arch not known. */
|
||||
bfd_arch_obscure, /* Arch known, not one of these. */
|
||||
bfd_arch_m68k, /* Motorola 68xxx */
|
||||
bfd_arch_m68k, /* Motorola 68xxx. */
|
||||
#define bfd_mach_m68000 1
|
||||
#define bfd_mach_m68008 2
|
||||
#define bfd_mach_m68010 3
|
||||
@ -1961,8 +1963,8 @@ enum bfd_architecture
|
||||
#define bfd_mach_mcf_isa_c_nodiv 29
|
||||
#define bfd_mach_mcf_isa_c_nodiv_mac 30
|
||||
#define bfd_mach_mcf_isa_c_nodiv_emac 31
|
||||
bfd_arch_vax, /* DEC Vax */
|
||||
bfd_arch_i960, /* Intel 960 */
|
||||
bfd_arch_vax, /* DEC Vax. */
|
||||
bfd_arch_i960, /* Intel 960. */
|
||||
/* The order of the following is important.
|
||||
lower number indicates a machine type that
|
||||
only accepts a subset of the instructions
|
||||
@ -1980,11 +1982,11 @@ enum bfd_architecture
|
||||
#define bfd_mach_i960_jx 7
|
||||
#define bfd_mach_i960_hx 8
|
||||
|
||||
bfd_arch_or1k, /* OpenRISC 1000 */
|
||||
bfd_arch_or1k, /* OpenRISC 1000. */
|
||||
#define bfd_mach_or1k 1
|
||||
#define bfd_mach_or1knd 2
|
||||
|
||||
bfd_arch_sparc, /* SPARC */
|
||||
bfd_arch_sparc, /* SPARC. */
|
||||
#define bfd_mach_sparc 1
|
||||
/* The difference between v8plus and v9 is that v9 is a true 64 bit env. */
|
||||
#define bfd_mach_sparc_sparclet 2
|
||||
@ -2022,9 +2024,9 @@ enum bfd_architecture
|
||||
&& (mach) != bfd_mach_sparc_v8plusv \
|
||||
&& (mach) != bfd_mach_sparc_v8plusm \
|
||||
&& (mach) != bfd_mach_sparc_v8plusm8)
|
||||
bfd_arch_spu, /* PowerPC SPU */
|
||||
bfd_arch_spu, /* PowerPC SPU. */
|
||||
#define bfd_mach_spu 256
|
||||
bfd_arch_mips, /* MIPS Rxxxx */
|
||||
bfd_arch_mips, /* MIPS Rxxxx. */
|
||||
#define bfd_mach_mips3000 3000
|
||||
#define bfd_mach_mips3900 3900
|
||||
#define bfd_mach_mips4000 4000
|
||||
@ -2053,13 +2055,13 @@ enum bfd_architecture
|
||||
#define bfd_mach_mips_loongson_2e 3001
|
||||
#define bfd_mach_mips_loongson_2f 3002
|
||||
#define bfd_mach_mips_loongson_3a 3003
|
||||
#define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01 */
|
||||
#define bfd_mach_mips_sb1 12310201 /* octal 'SB', 01. */
|
||||
#define bfd_mach_mips_octeon 6501
|
||||
#define bfd_mach_mips_octeonp 6601
|
||||
#define bfd_mach_mips_octeon2 6502
|
||||
#define bfd_mach_mips_octeon3 6503
|
||||
#define bfd_mach_mips_xlr 887682 /* decimal 'XLR' */
|
||||
#define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2' */
|
||||
#define bfd_mach_mips_xlr 887682 /* decimal 'XLR'. */
|
||||
#define bfd_mach_mips_interaptiv_mr2 736550 /* decimal 'IA2'. */
|
||||
#define bfd_mach_mipsisa32 32
|
||||
#define bfd_mach_mipsisa32r2 33
|
||||
#define bfd_mach_mipsisa32r3 34
|
||||
@ -2071,7 +2073,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_mipsisa64r5 68
|
||||
#define bfd_mach_mipsisa64r6 69
|
||||
#define bfd_mach_mips_micromips 96
|
||||
bfd_arch_i386, /* Intel 386 */
|
||||
bfd_arch_i386, /* Intel 386. */
|
||||
#define bfd_mach_i386_intel_syntax (1 << 0)
|
||||
#define bfd_mach_i386_i8086 (1 << 1)
|
||||
#define bfd_mach_i386_i386 (1 << 2)
|
||||
@ -2080,30 +2082,30 @@ enum bfd_architecture
|
||||
#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_x86_64_intel_syntax (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_x64_32_intel_syntax (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_l1om, /* Intel L1OM */
|
||||
bfd_arch_l1om, /* Intel L1OM. */
|
||||
#define bfd_mach_l1om (1 << 5)
|
||||
#define bfd_mach_l1om_intel_syntax (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_k1om, /* Intel K1OM */
|
||||
bfd_arch_k1om, /* Intel K1OM. */
|
||||
#define bfd_mach_k1om (1 << 6)
|
||||
#define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
|
||||
#define bfd_mach_i386_nacl (1 << 7)
|
||||
#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl)
|
||||
#define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl)
|
||||
#define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
|
||||
bfd_arch_iamcu, /* Intel MCU */
|
||||
bfd_arch_iamcu, /* Intel MCU. */
|
||||
#define bfd_mach_iamcu (1 << 8)
|
||||
#define bfd_mach_i386_iamcu (bfd_mach_i386_i386 | bfd_mach_iamcu)
|
||||
#define bfd_mach_i386_iamcu_intel_syntax (bfd_mach_i386_iamcu | bfd_mach_i386_intel_syntax)
|
||||
bfd_arch_we32k, /* AT&T WE32xxx */
|
||||
bfd_arch_tahoe, /* CCI/Harris Tahoe */
|
||||
bfd_arch_i860, /* Intel 860 */
|
||||
bfd_arch_i370, /* IBM 360/370 Mainframes */
|
||||
bfd_arch_romp, /* IBM ROMP PC/RT */
|
||||
bfd_arch_convex, /* Convex */
|
||||
bfd_arch_m88k, /* Motorola 88xxx */
|
||||
bfd_arch_m98k, /* Motorola 98xxx */
|
||||
bfd_arch_pyramid, /* Pyramid Technology */
|
||||
bfd_arch_h8300, /* Renesas H8/300 (formerly Hitachi H8/300) */
|
||||
bfd_arch_we32k, /* AT&T WE32xxx. */
|
||||
bfd_arch_tahoe, /* CCI/Harris Tahoe. */
|
||||
bfd_arch_i860, /* Intel 860. */
|
||||
bfd_arch_i370, /* IBM 360/370 Mainframes. */
|
||||
bfd_arch_romp, /* IBM ROMP PC/RT. */
|
||||
bfd_arch_convex, /* Convex. */
|
||||
bfd_arch_m88k, /* Motorola 88xxx. */
|
||||
bfd_arch_m98k, /* Motorola 98xxx. */
|
||||
bfd_arch_pyramid, /* Pyramid Technology. */
|
||||
bfd_arch_h8300, /* Renesas H8/300 (formerly Hitachi H8/300). */
|
||||
#define bfd_mach_h8300 1
|
||||
#define bfd_mach_h8300h 2
|
||||
#define bfd_mach_h8300s 3
|
||||
@ -2111,9 +2113,9 @@ enum bfd_architecture
|
||||
#define bfd_mach_h8300sn 5
|
||||
#define bfd_mach_h8300sx 6
|
||||
#define bfd_mach_h8300sxn 7
|
||||
bfd_arch_pdp11, /* DEC PDP-11 */
|
||||
bfd_arch_pdp11, /* DEC PDP-11. */
|
||||
bfd_arch_plugin,
|
||||
bfd_arch_powerpc, /* PowerPC */
|
||||
bfd_arch_powerpc, /* PowerPC. */
|
||||
#define bfd_mach_ppc 32
|
||||
#define bfd_mach_ppc64 64
|
||||
#define bfd_mach_ppc_403 403
|
||||
@ -2140,34 +2142,34 @@ enum bfd_architecture
|
||||
#define bfd_mach_ppc_e6500 5007
|
||||
#define bfd_mach_ppc_titan 83
|
||||
#define bfd_mach_ppc_vle 84
|
||||
bfd_arch_rs6000, /* IBM RS/6000 */
|
||||
bfd_arch_rs6000, /* IBM RS/6000. */
|
||||
#define bfd_mach_rs6k 6000
|
||||
#define bfd_mach_rs6k_rs1 6001
|
||||
#define bfd_mach_rs6k_rsc 6003
|
||||
#define bfd_mach_rs6k_rs2 6002
|
||||
bfd_arch_hppa, /* HP PA RISC */
|
||||
bfd_arch_hppa, /* HP PA RISC. */
|
||||
#define bfd_mach_hppa10 10
|
||||
#define bfd_mach_hppa11 11
|
||||
#define bfd_mach_hppa20 20
|
||||
#define bfd_mach_hppa20w 25
|
||||
bfd_arch_d10v, /* Mitsubishi D10V */
|
||||
bfd_arch_d10v, /* Mitsubishi D10V. */
|
||||
#define bfd_mach_d10v 1
|
||||
#define bfd_mach_d10v_ts2 2
|
||||
#define bfd_mach_d10v_ts3 3
|
||||
bfd_arch_d30v, /* Mitsubishi D30V */
|
||||
bfd_arch_dlx, /* DLX */
|
||||
bfd_arch_m68hc11, /* Motorola 68HC11 */
|
||||
bfd_arch_m68hc12, /* Motorola 68HC12 */
|
||||
bfd_arch_d30v, /* Mitsubishi D30V. */
|
||||
bfd_arch_dlx, /* DLX. */
|
||||
bfd_arch_m68hc11, /* Motorola 68HC11. */
|
||||
bfd_arch_m68hc12, /* Motorola 68HC12. */
|
||||
#define bfd_mach_m6812_default 0
|
||||
#define bfd_mach_m6812 1
|
||||
#define bfd_mach_m6812s 2
|
||||
bfd_arch_m9s12x, /* Freescale S12X */
|
||||
bfd_arch_m9s12xg, /* Freescale XGATE */
|
||||
bfd_arch_z8k, /* Zilog Z8000 */
|
||||
bfd_arch_m9s12x, /* Freescale S12X. */
|
||||
bfd_arch_m9s12xg, /* Freescale XGATE. */
|
||||
bfd_arch_z8k, /* Zilog Z8000. */
|
||||
#define bfd_mach_z8001 1
|
||||
#define bfd_mach_z8002 2
|
||||
bfd_arch_h8500, /* Renesas H8/500 (formerly Hitachi H8/500) */
|
||||
bfd_arch_sh, /* Renesas / SuperH SH (formerly Hitachi SH) */
|
||||
bfd_arch_h8500, /* Renesas H8/500 (formerly Hitachi H8/500). */
|
||||
bfd_arch_sh, /* Renesas / SuperH SH (formerly Hitachi SH). */
|
||||
#define bfd_mach_sh 1
|
||||
#define bfd_mach_sh2 0x20
|
||||
#define bfd_mach_sh_dsp 0x2d
|
||||
@ -2189,7 +2191,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_sh4a_nofpu 0x4b
|
||||
#define bfd_mach_sh4al_dsp 0x4d
|
||||
#define bfd_mach_sh5 0x50
|
||||
bfd_arch_alpha, /* Dec Alpha */
|
||||
bfd_arch_alpha, /* Dec Alpha. */
|
||||
#define bfd_mach_alpha_ev4 0x10
|
||||
#define bfd_mach_alpha_ev5 0x20
|
||||
#define bfd_mach_alpha_ev6 0x30
|
||||
@ -2208,30 +2210,30 @@ enum bfd_architecture
|
||||
#define bfd_mach_arm_ep9312 11
|
||||
#define bfd_mach_arm_iWMMXt 12
|
||||
#define bfd_mach_arm_iWMMXt2 13
|
||||
bfd_arch_nds32, /* Andes NDS32 */
|
||||
bfd_arch_nds32, /* Andes NDS32. */
|
||||
#define bfd_mach_n1 1
|
||||
#define bfd_mach_n1h 2
|
||||
#define bfd_mach_n1h_v2 3
|
||||
#define bfd_mach_n1h_v3 4
|
||||
#define bfd_mach_n1h_v3m 5
|
||||
bfd_arch_ns32k, /* National Semiconductors ns32000 */
|
||||
bfd_arch_w65, /* WDC 65816 */
|
||||
bfd_arch_tic30, /* Texas Instruments TMS320C30 */
|
||||
bfd_arch_tic4x, /* Texas Instruments TMS320C3X/4X */
|
||||
bfd_arch_ns32k, /* National Semiconductors ns32000. */
|
||||
bfd_arch_w65, /* WDC 65816. */
|
||||
bfd_arch_tic30, /* Texas Instruments TMS320C30. */
|
||||
bfd_arch_tic4x, /* Texas Instruments TMS320C3X/4X. */
|
||||
#define bfd_mach_tic3x 30
|
||||
#define bfd_mach_tic4x 40
|
||||
bfd_arch_tic54x, /* Texas Instruments TMS320C54X */
|
||||
bfd_arch_tic6x, /* Texas Instruments TMS320C6X */
|
||||
bfd_arch_tic80, /* TI TMS320c80 (MVP) */
|
||||
bfd_arch_v850, /* NEC V850 */
|
||||
bfd_arch_v850_rh850,/* NEC V850 (using RH850 ABI) */
|
||||
bfd_arch_tic54x, /* Texas Instruments TMS320C54X. */
|
||||
bfd_arch_tic6x, /* Texas Instruments TMS320C6X. */
|
||||
bfd_arch_tic80, /* TI TMS320c80 (MVP). */
|
||||
bfd_arch_v850, /* NEC V850. */
|
||||
bfd_arch_v850_rh850,/* NEC V850 (using RH850 ABI). */
|
||||
#define bfd_mach_v850 1
|
||||
#define bfd_mach_v850e 'E'
|
||||
#define bfd_mach_v850e1 '1'
|
||||
#define bfd_mach_v850e2 0x4532
|
||||
#define bfd_mach_v850e2v3 0x45325633
|
||||
#define bfd_mach_v850e3v5 0x45335635 /* ('E'|'3'|'V'|'5') */
|
||||
bfd_arch_arc, /* ARC Cores */
|
||||
#define bfd_mach_v850e3v5 0x45335635 /* ('E'|'3'|'V'|'5'). */
|
||||
bfd_arch_arc, /* ARC Cores. */
|
||||
#define bfd_mach_arc_a4 0
|
||||
#define bfd_mach_arc_a5 1
|
||||
#define bfd_mach_arc_arc600 2
|
||||
@ -2241,12 +2243,12 @@ enum bfd_architecture
|
||||
bfd_arch_m32c, /* Renesas M16C/M32C. */
|
||||
#define bfd_mach_m16c 0x75
|
||||
#define bfd_mach_m32c 0x78
|
||||
bfd_arch_m32r, /* Renesas M32R (formerly Mitsubishi M32R/D) */
|
||||
bfd_arch_m32r, /* Renesas M32R (formerly Mitsubishi M32R/D). */
|
||||
#define bfd_mach_m32r 1 /* For backwards compatibility. */
|
||||
#define bfd_mach_m32rx 'x'
|
||||
#define bfd_mach_m32r2 '2'
|
||||
bfd_arch_mn10200, /* Matsushita MN10200 */
|
||||
bfd_arch_mn10300, /* Matsushita MN10300 */
|
||||
bfd_arch_mn10200, /* Matsushita MN10200. */
|
||||
bfd_arch_mn10300, /* Matsushita MN10300. */
|
||||
#define bfd_mach_mn10300 300
|
||||
#define bfd_mach_am33 330
|
||||
#define bfd_mach_am33_2 332
|
||||
@ -2258,12 +2260,12 @@ enum bfd_architecture
|
||||
#define bfd_mach_fr300 300
|
||||
#define bfd_mach_fr400 400
|
||||
#define bfd_mach_fr450 450
|
||||
#define bfd_mach_frvtomcat 499 /* fr500 prototype */
|
||||
#define bfd_mach_frvtomcat 499 /* fr500 prototype. */
|
||||
#define bfd_mach_fr500 500
|
||||
#define bfd_mach_fr550 550
|
||||
bfd_arch_moxie, /* The moxie processor */
|
||||
bfd_arch_moxie, /* The moxie processor. */
|
||||
#define bfd_mach_moxie 1
|
||||
bfd_arch_ft32, /* The ft32 processor */
|
||||
bfd_arch_ft32, /* The ft32 processor. */
|
||||
#define bfd_mach_ft32 1
|
||||
#define bfd_mach_ft32b 2
|
||||
bfd_arch_mcore,
|
||||
@ -2273,7 +2275,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_mep_c5 0x6335
|
||||
bfd_arch_metag,
|
||||
#define bfd_mach_metag 1
|
||||
bfd_arch_ia64, /* HP/Intel ia64 */
|
||||
bfd_arch_ia64, /* HP/Intel ia64. */
|
||||
#define bfd_mach_ia64_elf64 64
|
||||
#define bfd_mach_ia64_elf32 32
|
||||
bfd_arch_ip2k, /* Ubicom IP2K microcontrollers. */
|
||||
@ -2282,7 +2284,7 @@ enum bfd_architecture
|
||||
bfd_arch_iq2000, /* Vitesse IQ2000. */
|
||||
#define bfd_mach_iq2000 1
|
||||
#define bfd_mach_iq10 2
|
||||
bfd_arch_epiphany, /* Adapteva EPIPHANY */
|
||||
bfd_arch_epiphany, /* Adapteva EPIPHANY. */
|
||||
#define bfd_mach_epiphany16 1
|
||||
#define bfd_mach_epiphany32 2
|
||||
bfd_arch_mt,
|
||||
@ -2309,7 +2311,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_avrxmega5 105
|
||||
#define bfd_mach_avrxmega6 106
|
||||
#define bfd_mach_avrxmega7 107
|
||||
bfd_arch_bfin, /* ADI Blackfin */
|
||||
bfd_arch_bfin, /* ADI Blackfin. */
|
||||
#define bfd_mach_bfin 1
|
||||
bfd_arch_cr16, /* National Semiconductor CompactRISC (ie CR16). */
|
||||
#define bfd_mach_cr16 1
|
||||
@ -2317,7 +2319,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_cr16c 1
|
||||
bfd_arch_crx, /* National Semiconductor CRX. */
|
||||
#define bfd_mach_crx 1
|
||||
bfd_arch_cris, /* Axis CRIS */
|
||||
bfd_arch_cris, /* Axis CRIS. */
|
||||
#define bfd_mach_cris_v0_v10 255
|
||||
#define bfd_mach_cris_v32 32
|
||||
#define bfd_mach_cris_v10_v32 1032
|
||||
@ -2328,10 +2330,10 @@ enum bfd_architecture
|
||||
#define bfd_mach_rl78 0x75
|
||||
bfd_arch_rx, /* Renesas RX. */
|
||||
#define bfd_mach_rx 0x75
|
||||
bfd_arch_s390, /* IBM s390 */
|
||||
bfd_arch_s390, /* IBM s390. */
|
||||
#define bfd_mach_s390_31 31
|
||||
#define bfd_mach_s390_64 64
|
||||
bfd_arch_score, /* Sunplus score */
|
||||
bfd_arch_score, /* Sunplus score. */
|
||||
#define bfd_mach_score3 3
|
||||
#define bfd_mach_score7 7
|
||||
bfd_arch_mmix, /* Donald Knuth's educational processor. */
|
||||
@ -2366,7 +2368,7 @@ enum bfd_architecture
|
||||
#define bfd_mach_xc16x 1
|
||||
#define bfd_mach_xc16xl 2
|
||||
#define bfd_mach_xc16xs 3
|
||||
bfd_arch_xgate, /* Freescale XGATE */
|
||||
bfd_arch_xgate, /* Freescale XGATE. */
|
||||
#define bfd_mach_xgate 1
|
||||
bfd_arch_xtensa, /* Tensilica's Xtensa cores. */
|
||||
#define bfd_mach_xtensa 1
|
||||
@ -2375,26 +2377,26 @@ enum bfd_architecture
|
||||
#define bfd_mach_z80 3 /* With ixl, ixh, iyl, and iyh. */
|
||||
#define bfd_mach_z80full 7 /* All undocumented instructions. */
|
||||
#define bfd_mach_r800 11 /* R800: successor with multiplication. */
|
||||
bfd_arch_lm32, /* Lattice Mico32 */
|
||||
bfd_arch_lm32, /* Lattice Mico32. */
|
||||
#define bfd_mach_lm32 1
|
||||
bfd_arch_microblaze,/* Xilinx MicroBlaze. */
|
||||
bfd_arch_tilepro, /* Tilera TILEPro */
|
||||
bfd_arch_tilegx, /* Tilera TILE-Gx */
|
||||
bfd_arch_tilepro, /* Tilera TILEPro. */
|
||||
bfd_arch_tilegx, /* Tilera TILE-Gx. */
|
||||
#define bfd_mach_tilepro 1
|
||||
#define bfd_mach_tilegx 1
|
||||
#define bfd_mach_tilegx32 2
|
||||
bfd_arch_aarch64, /* AArch64 */
|
||||
bfd_arch_aarch64, /* AArch64. */
|
||||
#define bfd_mach_aarch64 0
|
||||
#define bfd_mach_aarch64_ilp32 32
|
||||
bfd_arch_nios2, /* Nios II */
|
||||
bfd_arch_nios2, /* Nios II. */
|
||||
#define bfd_mach_nios2 0
|
||||
#define bfd_mach_nios2r1 1
|
||||
#define bfd_mach_nios2r2 2
|
||||
bfd_arch_visium, /* Visium */
|
||||
bfd_arch_visium, /* Visium. */
|
||||
#define bfd_mach_visium 1
|
||||
bfd_arch_wasm32, /* WebAssembly */
|
||||
bfd_arch_wasm32, /* WebAssembly. */
|
||||
#define bfd_mach_wasm32 1
|
||||
bfd_arch_pru, /* PRU */
|
||||
bfd_arch_pru, /* PRU. */
|
||||
#define bfd_mach_pru 0
|
||||
bfd_arch_last
|
||||
};
|
||||
@ -2413,8 +2415,8 @@ typedef struct bfd_arch_info
|
||||
The default arch should be the first entry for an arch so that
|
||||
all the entries for that arch can be accessed via <<next>>. */
|
||||
bfd_boolean the_default;
|
||||
const struct bfd_arch_info * (*compatible)
|
||||
(const struct bfd_arch_info *a, const struct bfd_arch_info *b);
|
||||
const struct bfd_arch_info * (*compatible) (const struct bfd_arch_info *,
|
||||
const struct bfd_arch_info *);
|
||||
|
||||
bfd_boolean (*scan) (const struct bfd_arch_info *, const char *);
|
||||
|
||||
@ -6545,7 +6547,7 @@ typedef struct bfd_symbol
|
||||
symvalue value;
|
||||
|
||||
/* Attributes of a symbol. */
|
||||
#define BSF_NO_FLAGS 0x00
|
||||
#define BSF_NO_FLAGS 0
|
||||
|
||||
/* The symbol has local scope; <<static>> in <<C>>. The value
|
||||
is the offset into the section of the data. */
|
||||
@ -6775,17 +6777,17 @@ struct bfd
|
||||
the object_flags values have mostly just been copied from backend
|
||||
to another, and are not necessarily correct). */
|
||||
|
||||
#define BFD_NO_FLAGS 0x00
|
||||
#define BFD_NO_FLAGS 0x0
|
||||
|
||||
/* BFD contains relocation entries. */
|
||||
#define HAS_RELOC 0x01
|
||||
#define HAS_RELOC 0x1
|
||||
|
||||
/* BFD is directly executable. */
|
||||
#define EXEC_P 0x02
|
||||
#define EXEC_P 0x2
|
||||
|
||||
/* BFD has line number information (basically used for F_LNNO in a
|
||||
COFF header). */
|
||||
#define HAS_LINENO 0x04
|
||||
#define HAS_LINENO 0x4
|
||||
|
||||
/* BFD has debugging information. */
|
||||
#define HAS_DEBUG 0x08
|
||||
@ -7395,7 +7397,8 @@ typedef struct bfd_target
|
||||
within the target vector structure, one for each format to check. */
|
||||
|
||||
/* Check the format of a file being read. Return a <<bfd_target *>> or zero. */
|
||||
const struct bfd_target *(*_bfd_check_format[bfd_type_end]) (bfd *);
|
||||
const struct bfd_target *
|
||||
(*_bfd_check_format[bfd_type_end]) (bfd *);
|
||||
|
||||
/* Set the format of a file being written. */
|
||||
bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
|
||||
@ -7419,10 +7422,11 @@ typedef struct bfd_target
|
||||
/* Called when a new section is created. */
|
||||
bfd_boolean (*_new_section_hook) (bfd *, sec_ptr);
|
||||
/* Read the contents of a section. */
|
||||
bfd_boolean (*_bfd_get_section_contents)
|
||||
(bfd *, sec_ptr, void *, file_ptr, bfd_size_type);
|
||||
bfd_boolean (*_bfd_get_section_contents_in_window)
|
||||
(bfd *, sec_ptr, bfd_window *, file_ptr, bfd_size_type);
|
||||
bfd_boolean (*_bfd_get_section_contents) (bfd *, sec_ptr, void *, file_ptr,
|
||||
bfd_size_type);
|
||||
bfd_boolean (*_bfd_get_section_contents_in_window) (bfd *, sec_ptr,
|
||||
bfd_window *, file_ptr,
|
||||
bfd_size_type);
|
||||
|
||||
/* Entry points to copy private data. */
|
||||
#define BFD_JUMP_TABLE_COPY(NAME) \
|
||||
@ -7444,21 +7448,22 @@ typedef struct bfd_target
|
||||
/* Called to initialize BFD private section data from one object file
|
||||
to another. */
|
||||
#define bfd_init_private_section_data(ibfd, isec, obfd, osec, link_info) \
|
||||
BFD_SEND (obfd, _bfd_init_private_section_data, (ibfd, isec, obfd, osec, link_info))
|
||||
bfd_boolean (*_bfd_init_private_section_data)
|
||||
(bfd *, sec_ptr, bfd *, sec_ptr, struct bfd_link_info *);
|
||||
BFD_SEND (obfd, _bfd_init_private_section_data, \
|
||||
(ibfd, isec, obfd, osec, link_info))
|
||||
bfd_boolean (*_bfd_init_private_section_data) (bfd *, sec_ptr, bfd *,
|
||||
sec_ptr,
|
||||
struct bfd_link_info *);
|
||||
/* Called to copy BFD private section data from one object file
|
||||
to another. */
|
||||
bfd_boolean (*_bfd_copy_private_section_data)
|
||||
(bfd *, sec_ptr, bfd *, sec_ptr);
|
||||
bfd_boolean (*_bfd_copy_private_section_data) (bfd *, sec_ptr, bfd *,
|
||||
sec_ptr);
|
||||
/* Called to copy BFD private symbol data from one symbol
|
||||
to another. */
|
||||
bfd_boolean (*_bfd_copy_private_symbol_data)
|
||||
(bfd *, asymbol *, bfd *, asymbol *);
|
||||
bfd_boolean (*_bfd_copy_private_symbol_data) (bfd *, asymbol *, bfd *,
|
||||
asymbol *);
|
||||
/* Called to copy BFD private header data from one object file
|
||||
to another. */
|
||||
bfd_boolean (*_bfd_copy_private_header_data)
|
||||
(bfd *, bfd *);
|
||||
bfd_boolean (*_bfd_copy_private_header_data) (bfd *, bfd *);
|
||||
/* Called to set private backend flags. */
|
||||
bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword);
|
||||
|
||||
@ -7493,15 +7498,17 @@ typedef struct bfd_target
|
||||
|
||||
bfd_boolean (*_bfd_slurp_armap) (bfd *);
|
||||
bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *);
|
||||
bfd_boolean (*_bfd_construct_extended_name_table)
|
||||
(bfd *, char **, bfd_size_type *, const char **);
|
||||
bfd_boolean (*_bfd_construct_extended_name_table) (bfd *, char **,
|
||||
bfd_size_type *,
|
||||
const char **);
|
||||
void (*_bfd_truncate_arname) (bfd *, const char *, char *);
|
||||
bfd_boolean (*write_armap)
|
||||
(bfd *, unsigned int, struct orl *, unsigned int, int);
|
||||
bfd_boolean (*write_armap) (bfd *, unsigned int, struct orl *,
|
||||
unsigned int, int);
|
||||
void * (*_bfd_read_ar_hdr_fn) (bfd *);
|
||||
bfd_boolean (*_bfd_write_ar_hdr_fn) (bfd *, bfd *);
|
||||
bfd * (*openr_next_archived_file) (bfd *, bfd *);
|
||||
#define bfd_get_elt_at_index(b,i) BFD_SEND (b, _bfd_get_elt_at_index, (b,i))
|
||||
#define bfd_get_elt_at_index(b,i) \
|
||||
BFD_SEND (b, _bfd_get_elt_at_index, (b,i))
|
||||
bfd * (*_bfd_get_elt_at_index) (bfd *, symindex);
|
||||
int (*_bfd_stat_arch_elt) (bfd *, struct stat *);
|
||||
bfd_boolean (*_bfd_update_armap_timestamp) (bfd *);
|
||||
@ -7525,43 +7532,45 @@ typedef struct bfd_target
|
||||
NAME##_minisymbol_to_symbol
|
||||
|
||||
long (*_bfd_get_symtab_upper_bound) (bfd *);
|
||||
long (*_bfd_canonicalize_symtab)
|
||||
(bfd *, struct bfd_symbol **);
|
||||
long (*_bfd_canonicalize_symtab) (bfd *, struct bfd_symbol **);
|
||||
struct bfd_symbol *
|
||||
(*_bfd_make_empty_symbol) (bfd *);
|
||||
void (*_bfd_print_symbol)
|
||||
(bfd *, void *, struct bfd_symbol *, bfd_print_symbol_type);
|
||||
#define bfd_print_symbol(b,p,s,e) BFD_SEND (b, _bfd_print_symbol, (b,p,s,e))
|
||||
void (*_bfd_get_symbol_info)
|
||||
(bfd *, struct bfd_symbol *, symbol_info *);
|
||||
#define bfd_get_symbol_info(b,p,e) BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
|
||||
const char *(*_bfd_get_symbol_version_string)
|
||||
(bfd *, struct bfd_symbol *, bfd_boolean *);
|
||||
#define bfd_get_symbol_version_string(b,s,h) BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
|
||||
void (*_bfd_print_symbol) (bfd *, void *, struct bfd_symbol *,
|
||||
bfd_print_symbol_type);
|
||||
#define bfd_print_symbol(b,p,s,e) \
|
||||
BFD_SEND (b, _bfd_print_symbol, (b,p,s,e))
|
||||
void (*_bfd_get_symbol_info) (bfd *, struct bfd_symbol *,
|
||||
symbol_info *);
|
||||
#define bfd_get_symbol_info(b,p,e) \
|
||||
BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
|
||||
const char *(*_bfd_get_symbol_version_string) (bfd *, struct bfd_symbol *,
|
||||
bfd_boolean *);
|
||||
#define bfd_get_symbol_version_string(b,s,h) \
|
||||
BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
|
||||
bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
|
||||
bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
|
||||
alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
|
||||
bfd_boolean (*_bfd_find_nearest_line)
|
||||
(bfd *, struct bfd_symbol **, struct bfd_section *, bfd_vma,
|
||||
const char **, const char **, unsigned int *, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_line)
|
||||
(bfd *, struct bfd_symbol **, struct bfd_symbol *,
|
||||
const char **, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_nearest_line) (bfd *, struct bfd_symbol **,
|
||||
struct bfd_section *, bfd_vma,
|
||||
const char **, const char **,
|
||||
unsigned int *, unsigned int *);
|
||||
bfd_boolean (*_bfd_find_line) (bfd *, struct bfd_symbol **,
|
||||
struct bfd_symbol *, const char **,
|
||||
unsigned int *);
|
||||
bfd_boolean (*_bfd_find_inliner_info)
|
||||
(bfd *, const char **, const char **, unsigned int *);
|
||||
/* Back-door to allow format-aware applications to create debug symbols
|
||||
while using BFD for everything else. Currently used by the assembler
|
||||
when creating COFF files. */
|
||||
asymbol * (*_bfd_make_debug_symbol)
|
||||
(bfd *, void *, unsigned long size);
|
||||
asymbol * (*_bfd_make_debug_symbol) (bfd *, void *, unsigned long size);
|
||||
#define bfd_read_minisymbols(b, d, m, s) \
|
||||
BFD_SEND (b, _read_minisymbols, (b, d, m, s))
|
||||
long (*_read_minisymbols)
|
||||
(bfd *, bfd_boolean, void **, unsigned int *);
|
||||
long (*_read_minisymbols) (bfd *, bfd_boolean, void **,
|
||||
unsigned int *);
|
||||
#define bfd_minisymbol_to_symbol(b, d, m, f) \
|
||||
BFD_SEND (b, _minisymbol_to_symbol, (b, d, m, f))
|
||||
asymbol * (*_minisymbol_to_symbol)
|
||||
(bfd *, bfd_boolean, const void *, asymbol *);
|
||||
asymbol * (*_minisymbol_to_symbol) (bfd *, bfd_boolean, const void *,
|
||||
asymbol *);
|
||||
|
||||
/* Routines for relocs. */
|
||||
#define BFD_JUMP_TABLE_RELOCS(NAME) \
|
||||
@ -7572,26 +7581,24 @@ typedef struct bfd_target
|
||||
NAME##_bfd_reloc_name_lookup
|
||||
|
||||
long (*_get_reloc_upper_bound) (bfd *, sec_ptr);
|
||||
long (*_bfd_canonicalize_reloc)
|
||||
(bfd *, sec_ptr, arelent **, struct bfd_symbol **);
|
||||
void (*_bfd_set_reloc)
|
||||
(bfd *, sec_ptr, arelent **, unsigned int);
|
||||
long (*_bfd_canonicalize_reloc) (bfd *, sec_ptr, arelent **,
|
||||
struct bfd_symbol **);
|
||||
void (*_bfd_set_reloc) (bfd *, sec_ptr, arelent **, unsigned int);
|
||||
/* See documentation on reloc types. */
|
||||
reloc_howto_type *
|
||||
(*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
|
||||
reloc_howto_type *
|
||||
(*reloc_name_lookup) (bfd *, const char *);
|
||||
|
||||
|
||||
/* Routines used when writing an object file. */
|
||||
#define BFD_JUMP_TABLE_WRITE(NAME) \
|
||||
NAME##_set_arch_mach, \
|
||||
NAME##_set_section_contents
|
||||
|
||||
bfd_boolean (*_bfd_set_arch_mach)
|
||||
(bfd *, enum bfd_architecture, unsigned long);
|
||||
bfd_boolean (*_bfd_set_section_contents)
|
||||
(bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
|
||||
bfd_boolean (*_bfd_set_arch_mach) (bfd *, enum bfd_architecture,
|
||||
unsigned long);
|
||||
bfd_boolean (*_bfd_set_section_contents) (bfd *, sec_ptr, const void *,
|
||||
file_ptr, bfd_size_type);
|
||||
|
||||
/* Routines used by the linker. */
|
||||
#define BFD_JUMP_TABLE_LINK(NAME) \
|
||||
@ -7615,12 +7622,14 @@ typedef struct bfd_target
|
||||
NAME##_bfd_define_start_stop
|
||||
|
||||
int (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *);
|
||||
bfd_byte * (*_bfd_get_relocated_section_contents)
|
||||
(bfd *, struct bfd_link_info *, struct bfd_link_order *,
|
||||
bfd_byte *, bfd_boolean, struct bfd_symbol **);
|
||||
bfd_byte * (*_bfd_get_relocated_section_contents) (bfd *,
|
||||
struct bfd_link_info *,
|
||||
struct bfd_link_order *,
|
||||
bfd_byte *, bfd_boolean,
|
||||
struct bfd_symbol **);
|
||||
|
||||
bfd_boolean (*_bfd_relax_section)
|
||||
(bfd *, struct bfd_section *, struct bfd_link_info *, bfd_boolean *);
|
||||
bfd_boolean (*_bfd_relax_section) (bfd *, struct bfd_section *,
|
||||
struct bfd_link_info *, bfd_boolean *);
|
||||
|
||||
/* Create a hash table for the linker. Different backends store
|
||||
different information in this table. */
|
||||
@ -7637,8 +7646,9 @@ typedef struct bfd_target
|
||||
assignment of one symbol to another. */
|
||||
#define bfd_copy_link_hash_symbol_type(b, t, f) \
|
||||
BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f))
|
||||
void (*_bfd_copy_link_hash_symbol_type)
|
||||
(bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *);
|
||||
void (*_bfd_copy_link_hash_symbol_type) (bfd *,
|
||||
struct bfd_link_hash_entry *,
|
||||
struct bfd_link_hash_entry *);
|
||||
|
||||
/* Do a link based on the link_order structures attached to each
|
||||
section of the BFD. */
|
||||
@ -7655,8 +7665,7 @@ typedef struct bfd_target
|
||||
|
||||
/* Sets the bitmask of allowed and disallowed section flags. */
|
||||
bfd_boolean (*_bfd_lookup_section_flags) (struct bfd_link_info *,
|
||||
struct flag_info *,
|
||||
asection *);
|
||||
struct flag_info *, asection *);
|
||||
|
||||
/* Attempt to merge SEC_MERGE sections. */
|
||||
bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
|
||||
@ -7677,8 +7686,8 @@ typedef struct bfd_target
|
||||
struct bfd_link_hash_entry *);
|
||||
|
||||
/* Define a __start, __stop, .startof. or .sizeof. symbol. */
|
||||
struct bfd_link_hash_entry *(*_bfd_define_start_stop) (struct bfd_link_info *,
|
||||
const char *,
|
||||
struct bfd_link_hash_entry *
|
||||
(*_bfd_define_start_stop) (struct bfd_link_info *, const char *,
|
||||
asection *);
|
||||
|
||||
/* Routines to handle dynamic symbols and relocs. */
|
||||
@ -7692,20 +7701,19 @@ typedef struct bfd_target
|
||||
/* Get the amount of memory required to hold the dynamic symbols. */
|
||||
long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *);
|
||||
/* Read in the dynamic symbols. */
|
||||
long (*_bfd_canonicalize_dynamic_symtab)
|
||||
(bfd *, struct bfd_symbol **);
|
||||
long (*_bfd_canonicalize_dynamic_symtab) (bfd *, struct bfd_symbol **);
|
||||
/* Create synthetized symbols. */
|
||||
long (*_bfd_get_synthetic_symtab)
|
||||
(bfd *, long, struct bfd_symbol **, long, struct bfd_symbol **,
|
||||
long (*_bfd_get_synthetic_symtab) (bfd *, long, struct bfd_symbol **,
|
||||
long, struct bfd_symbol **,
|
||||
struct bfd_symbol **);
|
||||
/* Get the amount of memory required to hold the dynamic relocs. */
|
||||
long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *);
|
||||
/* Read in the dynamic relocs. */
|
||||
long (*_bfd_canonicalize_dynamic_reloc)
|
||||
(bfd *, arelent **, struct bfd_symbol **);
|
||||
long (*_bfd_canonicalize_dynamic_reloc) (bfd *, arelent **,
|
||||
struct bfd_symbol **);
|
||||
|
||||
/* Opposite endian version of this target. */
|
||||
const struct bfd_target * alternative_target;
|
||||
const struct bfd_target *alternative_target;
|
||||
|
||||
/* Data for use by back-end routines, which isn't
|
||||
generic enough to belong in this structure. */
|
||||
|
@ -100,17 +100,17 @@ CODE_FRAGMENT
|
||||
. the object_flags values have mostly just been copied from backend
|
||||
. to another, and are not necessarily correct). *}
|
||||
.
|
||||
.#define BFD_NO_FLAGS 0x00
|
||||
.#define BFD_NO_FLAGS 0x0
|
||||
.
|
||||
. {* BFD contains relocation entries. *}
|
||||
.#define HAS_RELOC 0x01
|
||||
.#define HAS_RELOC 0x1
|
||||
.
|
||||
. {* BFD is directly executable. *}
|
||||
.#define EXEC_P 0x02
|
||||
.#define EXEC_P 0x2
|
||||
.
|
||||
. {* BFD has line number information (basically used for F_LNNO in a
|
||||
. COFF header). *}
|
||||
.#define HAS_LINENO 0x04
|
||||
.#define HAS_LINENO 0x4
|
||||
.
|
||||
. {* BFD has debugging information. *}
|
||||
.#define HAS_DEBUG 0x08
|
||||
|
@ -1486,8 +1486,7 @@ Special entry points for gdb to swap in coff symbol table parts:
|
||||
.
|
||||
. reloc_howto_type *(*_bfd_coff_rtype_to_howto)
|
||||
. (bfd *, asection *, struct internal_reloc *,
|
||||
. struct coff_link_hash_entry *, struct internal_syment *,
|
||||
. bfd_vma *);
|
||||
. struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *);
|
||||
.
|
||||
. bfd_boolean (*_bfd_coff_adjust_symndx)
|
||||
. (bfd *, struct bfd_link_info *, bfd *, asection *,
|
||||
|
@ -39,4 +39,3 @@ const bfd_arch_info_type bfd_lm32_arch =
|
||||
bfd_arch_default_fill,
|
||||
NULL /* Next. */
|
||||
};
|
||||
|
||||
|
@ -6,7 +6,7 @@ s| |", "|g
|
||||
s|$|"|
|
||||
s|, \([^ ]*\)$| and \1|
|
||||
s|^|/* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically generated from |
|
||||
s|\(.\{60\}[^ ]* \)|\1\
|
||||
s|\(.\{60\}[^ ]*\) |\1\
|
||||
|g
|
||||
s|$|.\
|
||||
Run "make headers" in your build bfd/ to regenerate. */\
|
||||
|
@ -804,8 +804,7 @@ typedef struct
|
||||
|
||||
reloc_howto_type *(*_bfd_coff_rtype_to_howto)
|
||||
(bfd *, asection *, struct internal_reloc *,
|
||||
struct coff_link_hash_entry *, struct internal_syment *,
|
||||
bfd_vma *);
|
||||
struct coff_link_hash_entry *, struct internal_syment *, bfd_vma *);
|
||||
|
||||
bfd_boolean (*_bfd_coff_adjust_symndx)
|
||||
(bfd *, struct bfd_link_info *, bfd *, asection *,
|
||||
|
@ -171,31 +171,31 @@ CODE_FRAGMENT
|
||||
. synthesized from other information. *}
|
||||
. flagword flags;
|
||||
.
|
||||
.#define SEC_NO_FLAGS 0x000
|
||||
.#define SEC_NO_FLAGS 0x0
|
||||
.
|
||||
. {* Tells the OS to allocate space for this section when loading.
|
||||
. This is clear for a section containing debug information only. *}
|
||||
.#define SEC_ALLOC 0x001
|
||||
.#define SEC_ALLOC 0x1
|
||||
.
|
||||
. {* Tells the OS to load the section from the file when loading.
|
||||
. This is clear for a .bss section. *}
|
||||
.#define SEC_LOAD 0x002
|
||||
.#define SEC_LOAD 0x2
|
||||
.
|
||||
. {* The section contains data still to be relocated, so there is
|
||||
. some relocation information too. *}
|
||||
.#define SEC_RELOC 0x004
|
||||
.#define SEC_RELOC 0x4
|
||||
.
|
||||
. {* A signal to the OS that the section contains read only data. *}
|
||||
.#define SEC_READONLY 0x008
|
||||
.#define SEC_READONLY 0x8
|
||||
.
|
||||
. {* The section contains code only. *}
|
||||
.#define SEC_CODE 0x010
|
||||
.#define SEC_CODE 0x10
|
||||
.
|
||||
. {* The section contains data only. *}
|
||||
.#define SEC_DATA 0x020
|
||||
.#define SEC_DATA 0x20
|
||||
.
|
||||
. {* The section will reside in ROM. *}
|
||||
.#define SEC_ROM 0x040
|
||||
.#define SEC_ROM 0x40
|
||||
.
|
||||
. {* The section contains constructor information. This section
|
||||
. type is used by the linker to create lists of constructors and
|
||||
@ -207,7 +207,7 @@ CODE_FRAGMENT
|
||||
. sections called <<__CTOR_LIST__>> and relocate the data
|
||||
. contained within - exactly the operations it would peform on
|
||||
. standard data. *}
|
||||
.#define SEC_CONSTRUCTOR 0x080
|
||||
.#define SEC_CONSTRUCTOR 0x80
|
||||
.
|
||||
. {* The section has contents - a data section could be
|
||||
. <<SEC_ALLOC>> | <<SEC_HAS_CONTENTS>>; a debug section could be
|
||||
@ -560,7 +560,8 @@ CODE_FRAGMENT
|
||||
. would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some
|
||||
. compilers will complain about comma expressions that have no effect. *}
|
||||
.static inline bfd_boolean
|
||||
.bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, void * val)
|
||||
.bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
|
||||
. void * val)
|
||||
.{
|
||||
. ptr->userdata = val;
|
||||
. return TRUE;
|
||||
@ -575,7 +576,8 @@ CODE_FRAGMENT
|
||||
.}
|
||||
.
|
||||
.static inline bfd_boolean
|
||||
.bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, unsigned int val)
|
||||
.bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr,
|
||||
. unsigned int val)
|
||||
.{
|
||||
. ptr->alignment_power = val;
|
||||
. return TRUE;
|
||||
|
@ -204,7 +204,7 @@ CODE_FRAGMENT
|
||||
. symvalue value;
|
||||
.
|
||||
. {* Attributes of a symbol. *}
|
||||
.#define BSF_NO_FLAGS 0x00
|
||||
.#define BSF_NO_FLAGS 0
|
||||
.
|
||||
. {* The symbol has local scope; <<static>> in <<C>>. The value
|
||||
. is the offset into the section of the data. *}
|
||||
|
144
bfd/targets.c
144
bfd/targets.c
@ -244,7 +244,8 @@ DESCRIPTION
|
||||
. within the target vector structure, one for each format to check. *}
|
||||
.
|
||||
. {* Check the format of a file being read. Return a <<bfd_target *>> or zero. *}
|
||||
. const struct bfd_target *(*_bfd_check_format[bfd_type_end]) (bfd *);
|
||||
. const struct bfd_target *
|
||||
. (*_bfd_check_format[bfd_type_end]) (bfd *);
|
||||
.
|
||||
. {* Set the format of a file being written. *}
|
||||
. bfd_boolean (*_bfd_set_format[bfd_type_end]) (bfd *);
|
||||
@ -270,10 +271,11 @@ BFD_JUMP_TABLE macros.
|
||||
. {* Called when a new section is created. *}
|
||||
. bfd_boolean (*_new_section_hook) (bfd *, sec_ptr);
|
||||
. {* Read the contents of a section. *}
|
||||
. bfd_boolean (*_bfd_get_section_contents)
|
||||
. (bfd *, sec_ptr, void *, file_ptr, bfd_size_type);
|
||||
. bfd_boolean (*_bfd_get_section_contents_in_window)
|
||||
. (bfd *, sec_ptr, bfd_window *, file_ptr, bfd_size_type);
|
||||
. bfd_boolean (*_bfd_get_section_contents) (bfd *, sec_ptr, void *, file_ptr,
|
||||
. bfd_size_type);
|
||||
. bfd_boolean (*_bfd_get_section_contents_in_window) (bfd *, sec_ptr,
|
||||
. bfd_window *, file_ptr,
|
||||
. bfd_size_type);
|
||||
.
|
||||
. {* Entry points to copy private data. *}
|
||||
.#define BFD_JUMP_TABLE_COPY(NAME) \
|
||||
@ -295,21 +297,22 @@ BFD_JUMP_TABLE macros.
|
||||
. {* Called to initialize BFD private section data from one object file
|
||||
. to another. *}
|
||||
.#define bfd_init_private_section_data(ibfd, isec, obfd, osec, link_info) \
|
||||
. BFD_SEND (obfd, _bfd_init_private_section_data, (ibfd, isec, obfd, osec, link_info))
|
||||
. bfd_boolean (*_bfd_init_private_section_data)
|
||||
. (bfd *, sec_ptr, bfd *, sec_ptr, struct bfd_link_info *);
|
||||
. BFD_SEND (obfd, _bfd_init_private_section_data, \
|
||||
. (ibfd, isec, obfd, osec, link_info))
|
||||
. bfd_boolean (*_bfd_init_private_section_data) (bfd *, sec_ptr, bfd *,
|
||||
. sec_ptr,
|
||||
. struct bfd_link_info *);
|
||||
. {* Called to copy BFD private section data from one object file
|
||||
. to another. *}
|
||||
. bfd_boolean (*_bfd_copy_private_section_data)
|
||||
. (bfd *, sec_ptr, bfd *, sec_ptr);
|
||||
. bfd_boolean (*_bfd_copy_private_section_data) (bfd *, sec_ptr, bfd *,
|
||||
. sec_ptr);
|
||||
. {* Called to copy BFD private symbol data from one symbol
|
||||
. to another. *}
|
||||
. bfd_boolean (*_bfd_copy_private_symbol_data)
|
||||
. (bfd *, asymbol *, bfd *, asymbol *);
|
||||
. bfd_boolean (*_bfd_copy_private_symbol_data) (bfd *, asymbol *, bfd *,
|
||||
. asymbol *);
|
||||
. {* Called to copy BFD private header data from one object file
|
||||
. to another. *}
|
||||
. bfd_boolean (*_bfd_copy_private_header_data)
|
||||
. (bfd *, bfd *);
|
||||
. bfd_boolean (*_bfd_copy_private_header_data) (bfd *, bfd *);
|
||||
. {* Called to set private backend flags. *}
|
||||
. bfd_boolean (*_bfd_set_private_flags) (bfd *, flagword);
|
||||
.
|
||||
@ -344,15 +347,17 @@ BFD_JUMP_TABLE macros.
|
||||
.
|
||||
. bfd_boolean (*_bfd_slurp_armap) (bfd *);
|
||||
. bfd_boolean (*_bfd_slurp_extended_name_table) (bfd *);
|
||||
. bfd_boolean (*_bfd_construct_extended_name_table)
|
||||
. (bfd *, char **, bfd_size_type *, const char **);
|
||||
. bfd_boolean (*_bfd_construct_extended_name_table) (bfd *, char **,
|
||||
. bfd_size_type *,
|
||||
. const char **);
|
||||
. void (*_bfd_truncate_arname) (bfd *, const char *, char *);
|
||||
. bfd_boolean (*write_armap)
|
||||
. (bfd *, unsigned int, struct orl *, unsigned int, int);
|
||||
. bfd_boolean (*write_armap) (bfd *, unsigned int, struct orl *,
|
||||
. unsigned int, int);
|
||||
. void * (*_bfd_read_ar_hdr_fn) (bfd *);
|
||||
. bfd_boolean (*_bfd_write_ar_hdr_fn) (bfd *, bfd *);
|
||||
. bfd * (*openr_next_archived_file) (bfd *, bfd *);
|
||||
.#define bfd_get_elt_at_index(b,i) BFD_SEND (b, _bfd_get_elt_at_index, (b,i))
|
||||
.#define bfd_get_elt_at_index(b,i) \
|
||||
. BFD_SEND (b, _bfd_get_elt_at_index, (b,i))
|
||||
. bfd * (*_bfd_get_elt_at_index) (bfd *, symindex);
|
||||
. int (*_bfd_stat_arch_elt) (bfd *, struct stat *);
|
||||
. bfd_boolean (*_bfd_update_armap_timestamp) (bfd *);
|
||||
@ -376,43 +381,45 @@ BFD_JUMP_TABLE macros.
|
||||
. NAME##_minisymbol_to_symbol
|
||||
.
|
||||
. long (*_bfd_get_symtab_upper_bound) (bfd *);
|
||||
. long (*_bfd_canonicalize_symtab)
|
||||
. (bfd *, struct bfd_symbol **);
|
||||
. long (*_bfd_canonicalize_symtab) (bfd *, struct bfd_symbol **);
|
||||
. struct bfd_symbol *
|
||||
. (*_bfd_make_empty_symbol) (bfd *);
|
||||
. void (*_bfd_print_symbol)
|
||||
. (bfd *, void *, struct bfd_symbol *, bfd_print_symbol_type);
|
||||
.#define bfd_print_symbol(b,p,s,e) BFD_SEND (b, _bfd_print_symbol, (b,p,s,e))
|
||||
. void (*_bfd_get_symbol_info)
|
||||
. (bfd *, struct bfd_symbol *, symbol_info *);
|
||||
.#define bfd_get_symbol_info(b,p,e) BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
|
||||
. const char *(*_bfd_get_symbol_version_string)
|
||||
. (bfd *, struct bfd_symbol *, bfd_boolean *);
|
||||
.#define bfd_get_symbol_version_string(b,s,h) BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
|
||||
. void (*_bfd_print_symbol) (bfd *, void *, struct bfd_symbol *,
|
||||
. bfd_print_symbol_type);
|
||||
.#define bfd_print_symbol(b,p,s,e) \
|
||||
. BFD_SEND (b, _bfd_print_symbol, (b,p,s,e))
|
||||
. void (*_bfd_get_symbol_info) (bfd *, struct bfd_symbol *,
|
||||
. symbol_info *);
|
||||
.#define bfd_get_symbol_info(b,p,e) \
|
||||
. BFD_SEND (b, _bfd_get_symbol_info, (b,p,e))
|
||||
. const char *(*_bfd_get_symbol_version_string) (bfd *, struct bfd_symbol *,
|
||||
. bfd_boolean *);
|
||||
.#define bfd_get_symbol_version_string(b,s,h) \
|
||||
. BFD_SEND (b, _bfd_get_symbol_version_string, (b,s,h))
|
||||
. bfd_boolean (*_bfd_is_local_label_name) (bfd *, const char *);
|
||||
. bfd_boolean (*_bfd_is_target_special_symbol) (bfd *, asymbol *);
|
||||
. alent * (*_get_lineno) (bfd *, struct bfd_symbol *);
|
||||
. bfd_boolean (*_bfd_find_nearest_line)
|
||||
. (bfd *, struct bfd_symbol **, struct bfd_section *, bfd_vma,
|
||||
. const char **, const char **, unsigned int *, unsigned int *);
|
||||
. bfd_boolean (*_bfd_find_line)
|
||||
. (bfd *, struct bfd_symbol **, struct bfd_symbol *,
|
||||
. const char **, unsigned int *);
|
||||
. bfd_boolean (*_bfd_find_nearest_line) (bfd *, struct bfd_symbol **,
|
||||
. struct bfd_section *, bfd_vma,
|
||||
. const char **, const char **,
|
||||
. unsigned int *, unsigned int *);
|
||||
. bfd_boolean (*_bfd_find_line) (bfd *, struct bfd_symbol **,
|
||||
. struct bfd_symbol *, const char **,
|
||||
. unsigned int *);
|
||||
. bfd_boolean (*_bfd_find_inliner_info)
|
||||
. (bfd *, const char **, const char **, unsigned int *);
|
||||
. {* Back-door to allow format-aware applications to create debug symbols
|
||||
. while using BFD for everything else. Currently used by the assembler
|
||||
. when creating COFF files. *}
|
||||
. asymbol * (*_bfd_make_debug_symbol)
|
||||
. (bfd *, void *, unsigned long size);
|
||||
. asymbol * (*_bfd_make_debug_symbol) (bfd *, void *, unsigned long size);
|
||||
.#define bfd_read_minisymbols(b, d, m, s) \
|
||||
. BFD_SEND (b, _read_minisymbols, (b, d, m, s))
|
||||
. long (*_read_minisymbols)
|
||||
. (bfd *, bfd_boolean, void **, unsigned int *);
|
||||
. long (*_read_minisymbols) (bfd *, bfd_boolean, void **,
|
||||
. unsigned int *);
|
||||
.#define bfd_minisymbol_to_symbol(b, d, m, f) \
|
||||
. BFD_SEND (b, _minisymbol_to_symbol, (b, d, m, f))
|
||||
. asymbol * (*_minisymbol_to_symbol)
|
||||
. (bfd *, bfd_boolean, const void *, asymbol *);
|
||||
. asymbol * (*_minisymbol_to_symbol) (bfd *, bfd_boolean, const void *,
|
||||
. asymbol *);
|
||||
.
|
||||
. {* Routines for relocs. *}
|
||||
.#define BFD_JUMP_TABLE_RELOCS(NAME) \
|
||||
@ -423,26 +430,24 @@ BFD_JUMP_TABLE macros.
|
||||
. NAME##_bfd_reloc_name_lookup
|
||||
.
|
||||
. long (*_get_reloc_upper_bound) (bfd *, sec_ptr);
|
||||
. long (*_bfd_canonicalize_reloc)
|
||||
. (bfd *, sec_ptr, arelent **, struct bfd_symbol **);
|
||||
. void (*_bfd_set_reloc)
|
||||
. (bfd *, sec_ptr, arelent **, unsigned int);
|
||||
. long (*_bfd_canonicalize_reloc) (bfd *, sec_ptr, arelent **,
|
||||
. struct bfd_symbol **);
|
||||
. void (*_bfd_set_reloc) (bfd *, sec_ptr, arelent **, unsigned int);
|
||||
. {* See documentation on reloc types. *}
|
||||
. reloc_howto_type *
|
||||
. (*reloc_type_lookup) (bfd *, bfd_reloc_code_real_type);
|
||||
. reloc_howto_type *
|
||||
. (*reloc_name_lookup) (bfd *, const char *);
|
||||
.
|
||||
.
|
||||
. {* Routines used when writing an object file. *}
|
||||
.#define BFD_JUMP_TABLE_WRITE(NAME) \
|
||||
. NAME##_set_arch_mach, \
|
||||
. NAME##_set_section_contents
|
||||
.
|
||||
. bfd_boolean (*_bfd_set_arch_mach)
|
||||
. (bfd *, enum bfd_architecture, unsigned long);
|
||||
. bfd_boolean (*_bfd_set_section_contents)
|
||||
. (bfd *, sec_ptr, const void *, file_ptr, bfd_size_type);
|
||||
. bfd_boolean (*_bfd_set_arch_mach) (bfd *, enum bfd_architecture,
|
||||
. unsigned long);
|
||||
. bfd_boolean (*_bfd_set_section_contents) (bfd *, sec_ptr, const void *,
|
||||
. file_ptr, bfd_size_type);
|
||||
.
|
||||
. {* Routines used by the linker. *}
|
||||
.#define BFD_JUMP_TABLE_LINK(NAME) \
|
||||
@ -466,12 +471,14 @@ BFD_JUMP_TABLE macros.
|
||||
. NAME##_bfd_define_start_stop
|
||||
.
|
||||
. int (*_bfd_sizeof_headers) (bfd *, struct bfd_link_info *);
|
||||
. bfd_byte * (*_bfd_get_relocated_section_contents)
|
||||
. (bfd *, struct bfd_link_info *, struct bfd_link_order *,
|
||||
. bfd_byte *, bfd_boolean, struct bfd_symbol **);
|
||||
. bfd_byte * (*_bfd_get_relocated_section_contents) (bfd *,
|
||||
. struct bfd_link_info *,
|
||||
. struct bfd_link_order *,
|
||||
. bfd_byte *, bfd_boolean,
|
||||
. struct bfd_symbol **);
|
||||
.
|
||||
. bfd_boolean (*_bfd_relax_section)
|
||||
. (bfd *, struct bfd_section *, struct bfd_link_info *, bfd_boolean *);
|
||||
. bfd_boolean (*_bfd_relax_section) (bfd *, struct bfd_section *,
|
||||
. struct bfd_link_info *, bfd_boolean *);
|
||||
.
|
||||
. {* Create a hash table for the linker. Different backends store
|
||||
. different information in this table. *}
|
||||
@ -488,8 +495,9 @@ BFD_JUMP_TABLE macros.
|
||||
. assignment of one symbol to another. *}
|
||||
.#define bfd_copy_link_hash_symbol_type(b, t, f) \
|
||||
. BFD_SEND (b, _bfd_copy_link_hash_symbol_type, (b, t, f))
|
||||
. void (*_bfd_copy_link_hash_symbol_type)
|
||||
. (bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *);
|
||||
. void (*_bfd_copy_link_hash_symbol_type) (bfd *,
|
||||
. struct bfd_link_hash_entry *,
|
||||
. struct bfd_link_hash_entry *);
|
||||
.
|
||||
. {* Do a link based on the link_order structures attached to each
|
||||
. section of the BFD. *}
|
||||
@ -506,8 +514,7 @@ BFD_JUMP_TABLE macros.
|
||||
.
|
||||
. {* Sets the bitmask of allowed and disallowed section flags. *}
|
||||
. bfd_boolean (*_bfd_lookup_section_flags) (struct bfd_link_info *,
|
||||
. struct flag_info *,
|
||||
. asection *);
|
||||
. struct flag_info *, asection *);
|
||||
.
|
||||
. {* Attempt to merge SEC_MERGE sections. *}
|
||||
. bfd_boolean (*_bfd_merge_sections) (bfd *, struct bfd_link_info *);
|
||||
@ -528,8 +535,8 @@ BFD_JUMP_TABLE macros.
|
||||
. struct bfd_link_hash_entry *);
|
||||
.
|
||||
. {* Define a __start, __stop, .startof. or .sizeof. symbol. *}
|
||||
. struct bfd_link_hash_entry *(*_bfd_define_start_stop) (struct bfd_link_info *,
|
||||
. const char *,
|
||||
. struct bfd_link_hash_entry *
|
||||
. (*_bfd_define_start_stop) (struct bfd_link_info *, const char *,
|
||||
. asection *);
|
||||
.
|
||||
. {* Routines to handle dynamic symbols and relocs. *}
|
||||
@ -543,17 +550,16 @@ BFD_JUMP_TABLE macros.
|
||||
. {* Get the amount of memory required to hold the dynamic symbols. *}
|
||||
. long (*_bfd_get_dynamic_symtab_upper_bound) (bfd *);
|
||||
. {* Read in the dynamic symbols. *}
|
||||
. long (*_bfd_canonicalize_dynamic_symtab)
|
||||
. (bfd *, struct bfd_symbol **);
|
||||
. long (*_bfd_canonicalize_dynamic_symtab) (bfd *, struct bfd_symbol **);
|
||||
. {* Create synthetized symbols. *}
|
||||
. long (*_bfd_get_synthetic_symtab)
|
||||
. (bfd *, long, struct bfd_symbol **, long, struct bfd_symbol **,
|
||||
. long (*_bfd_get_synthetic_symtab) (bfd *, long, struct bfd_symbol **,
|
||||
. long, struct bfd_symbol **,
|
||||
. struct bfd_symbol **);
|
||||
. {* Get the amount of memory required to hold the dynamic relocs. *}
|
||||
. long (*_bfd_get_dynamic_reloc_upper_bound) (bfd *);
|
||||
. {* Read in the dynamic relocs. *}
|
||||
. long (*_bfd_canonicalize_dynamic_reloc)
|
||||
. (bfd *, arelent **, struct bfd_symbol **);
|
||||
. long (*_bfd_canonicalize_dynamic_reloc) (bfd *, arelent **,
|
||||
. struct bfd_symbol **);
|
||||
.
|
||||
|
||||
A pointer to an alternative bfd_target in case the current one is not
|
||||
@ -563,7 +569,7 @@ endianness. The function open_output() in ld/ldlang.c uses this field
|
||||
to find an alternative output format that is suitable.
|
||||
|
||||
. {* Opposite endian version of this target. *}
|
||||
. const struct bfd_target * alternative_target;
|
||||
. const struct bfd_target *alternative_target;
|
||||
.
|
||||
|
||||
. {* Data for use by back-end routines, which isn't
|
||||
|
Reference in New Issue
Block a user