Regen sh3

This commit is contained in:
christos 2016-12-04 18:43:07 +00:00
parent abe7dda6b4
commit e33f4e7ec2
18 changed files with 242 additions and 106 deletions

View File

@ -11,7 +11,7 @@
/* Main header file for the bfd library -- portable access to object files.
Copyright (C) 1990-2015 Free Software Foundation, Inc.
Copyright (C) 1990-2016 Free Software Foundation, Inc.
Contributed by Cygnus Support.
@ -522,7 +522,6 @@ extern void warn_deprecated (const char *, const char *, int, const char *);
#define bfd_get_file_flags(abfd) ((abfd)->flags)
#define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
#define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
#define bfd_my_archive(abfd) ((abfd)->my_archive)
#define bfd_has_map(abfd) ((abfd)->has_armap)
#define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
@ -914,6 +913,9 @@ extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
(bfd *, struct bfd_link_info *);
extern void bfd_elf32_arm_keep_private_stub_output_sections
(struct bfd_link_info *);
/* ELF ARM mapping symbol support. */
#define BFD_ARM_SPECIAL_SYM_TYPE_MAP (1 << 0)
#define BFD_ARM_SPECIAL_SYM_TYPE_TAG (1 << 1)
@ -945,7 +947,8 @@ extern void elf32_arm_next_input_section
(struct bfd_link_info *, struct bfd_section *);
extern bfd_boolean elf32_arm_size_stubs
(bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int),
struct bfd_section * (*) (const char *, struct bfd_section *,
struct bfd_section *, unsigned int),
void (*) (void));
extern bfd_boolean elf32_arm_build_stubs
(struct bfd_link_info *);
@ -958,13 +961,6 @@ extern bfd_boolean elf32_arm_fix_exidx_coverage
extern bfd_boolean elf32_tic6x_fix_exidx_coverage
(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
/* PowerPC @tls opcode transform/validate. */
extern unsigned int _bfd_elf_ppc_at_tls_transform
(unsigned int, unsigned int);
/* PowerPC @tprel opcode transform/validate. */
extern unsigned int _bfd_elf_ppc_at_tprel_transform
(unsigned int, unsigned int);
extern void bfd_elf64_aarch64_init_maps
(bfd *);
@ -972,10 +968,10 @@ extern void bfd_elf32_aarch64_init_maps
(bfd *);
extern void bfd_elf64_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int, int);
(bfd *, struct bfd_link_info *, int, int, int, int, int, int);
extern void bfd_elf32_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int, int);
(bfd *, struct bfd_link_info *, int, int, int, int, int, int);
/* ELF AArch64 mapping symbol support. */
#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0)
@ -1436,6 +1432,9 @@ typedef struct bfd_section
when memory read flag isn't set. */
#define SEC_COFF_NOREAD 0x40000000
/* Indicate that section has the no read flag set. */
#define SEC_ELF_NOREAD 0x80000000
/* End of section flags. */
/* Some internal packed boolean fields. */
@ -1502,7 +1501,7 @@ typedef struct bfd_section
information. */
bfd_vma lma;
/* The size of the section in octets, as it will be output.
/* The size of the section in *octets*, as it will be output.
Contains a value even if the section has no contents (e.g., the
size of <<.bss>>). */
bfd_size_type size;
@ -1953,13 +1952,29 @@ enum bfd_architecture
#define bfd_mach_sparc_v9a 8 /* with ultrasparc add'ns. */
#define bfd_mach_sparc_v8plusb 9 /* with cheetah add'ns. */
#define bfd_mach_sparc_v9b 10 /* with cheetah add'ns. */
#define bfd_mach_sparc_v8plusc 11 /* with UA2005 and T1 add'ns. */
#define bfd_mach_sparc_v9c 12 /* with UA2005 and T1 add'ns. */
#define bfd_mach_sparc_v8plusd 13 /* with UA2007 and T3 add'ns. */
#define bfd_mach_sparc_v9d 14 /* with UA2007 and T3 add'ns. */
#define bfd_mach_sparc_v8pluse 15 /* with OSA2001 and T4 add'ns (no IMA). */
#define bfd_mach_sparc_v9e 16 /* with OSA2001 and T4 add'ns (no IMA). */
#define bfd_mach_sparc_v8plusv 17 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
#define bfd_mach_sparc_v9v 18 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
#define bfd_mach_sparc_v8plusm 19 /* with OSA2015 and M7 add'ns. */
#define bfd_mach_sparc_v9m 20 /* with OSA2015 and M7 add'ns. */
/* Nonzero if MACH has the v9 instruction set. */
#define bfd_mach_sparc_v9_p(mach) \
((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \
((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m \
&& (mach) != bfd_mach_sparc_sparclite_le)
/* Nonzero if MACH is a 64 bit sparc architecture. */
#define bfd_mach_sparc_64bit_p(mach) \
((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
((mach) >= bfd_mach_sparc_v9 \
&& (mach) != bfd_mach_sparc_v8plusb \
&& (mach) != bfd_mach_sparc_v8plusc \
&& (mach) != bfd_mach_sparc_v8plusd \
&& (mach) != bfd_mach_sparc_v8pluse \
&& (mach) != bfd_mach_sparc_v8plusv \
&& (mach) != bfd_mach_sparc_v8plusm)
bfd_arch_spu, /* PowerPC SPU */
#define bfd_mach_spu 256
bfd_arch_mips, /* MIPS Rxxxx */
@ -2990,6 +3005,9 @@ to compensate for the borrow when the low bits are added. */
BFD_RELOC_MICROMIPS_10_PCREL_S1,
BFD_RELOC_MICROMIPS_16_PCREL_S1,
/* MIPS16 PC-relative relocation. */
BFD_RELOC_MIPS16_16_PCREL_S1,
/* MIPS PC-relative relocations. */
BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2,
@ -3523,6 +3541,12 @@ pc-relative or some form of GOT-indirect relocation. */
/* ARM support for STT_GNU_IFUNC. */
BFD_RELOC_ARM_IRELATIVE,
/* Thumb1 relocations to support execute-only code. */
BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC,
BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC,
BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC,
BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC,
/* These relocs are only used within the ARM assembler. They are not
(at present) written to any object files. */
BFD_RELOC_ARM_IMMEDIATE,
@ -3718,6 +3742,7 @@ pc-relative or some form of GOT-indirect relocation. */
BFD_RELOC_ARC_TLS_LE_32,
BFD_RELOC_ARC_S25W_PCREL_PLT,
BFD_RELOC_ARC_S21H_PCREL_PLT,
BFD_RELOC_ARC_NPS_CMEM16,
/* ADI Blackfin 16 bit immediate absolute reloc. */
BFD_RELOC_BFIN_16_IMM,
@ -5618,6 +5643,12 @@ BFD_RELOC_MACH_O_PAIR. */
/* Pair of relocation. Contains the first symbol. */
BFD_RELOC_MACH_O_PAIR,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_32. */
BFD_RELOC_MACH_O_SUBTRACTOR32,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */
BFD_RELOC_MACH_O_SUBTRACTOR64,
/* PCREL relocations. They are marked as branch to create PLT entry if
required. */
BFD_RELOC_MACH_O_X86_64_BRANCH32,
@ -5630,12 +5661,6 @@ required. */
the linker could optimize the movq to a leaq if possible. */
BFD_RELOC_MACH_O_X86_64_GOT_LOAD,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */
BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */
BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64,
/* Same as BFD_RELOC_32_PCREL but with an implicit -1 addend. */
BFD_RELOC_MACH_O_X86_64_PCREL32_1,
@ -5645,6 +5670,18 @@ the linker could optimize the movq to a leaq if possible. */
/* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend. */
BFD_RELOC_MACH_O_X86_64_PCREL32_4,
/* Addend for PAGE or PAGEOFF. */
BFD_RELOC_MACH_O_ARM64_ADDEND,
/* Relative offset to page of GOT slot. */
BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21,
/* Relative offset within page of GOT slot. */
BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12,
/* Address of a GOT entry. */
BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT,
/* This is a 32 bit reloc for the microblaze that stores the
low 16 bits of a value */
BFD_RELOC_MICROBLAZE_32_LO,
@ -5735,6 +5772,9 @@ important as several tables in the AArch64 bfd backend are indexed
by these enumerators; make sure they are all synced. */
BFD_RELOC_AARCH64_RELOC_START,
/* Deprecated AArch64 null relocation code. */
BFD_RELOC_AARCH64_NULL,
/* AArch64 null relocation code. */
BFD_RELOC_AARCH64_NONE,
@ -6387,8 +6427,7 @@ typedef struct bfd_symbol
#define BSF_EXPORT BSF_GLOBAL /* No real difference. */
/* A normal C symbol would be one of:
<<BSF_LOCAL>>, <<BSF_COMMON>>, <<BSF_UNDEFINED>> or
<<BSF_GLOBAL>>. */
<<BSF_LOCAL>>, <<BSF_UNDEFINED>> or <<BSF_GLOBAL>>. */
/* The symbol is a debugging record. The value has an arbitrary
meaning, unless BSF_DEBUGGING_RELOC is also set. */
@ -6400,7 +6439,9 @@ typedef struct bfd_symbol
/* Used by the linker. */
#define BSF_KEEP (1 << 5)
#define BSF_KEEP_G (1 << 6)
/* An ELF common symbol. */
#define BSF_ELF_COMMON (1 << 6)
/* A weak global symbol, overridable without warnings by
a regular global symbol of the same name. */
@ -6547,7 +6588,7 @@ enum bfd_direction
enum bfd_plugin_format
{
bfd_plugin_uknown = 0,
bfd_plugin_unknown = 0,
bfd_plugin_yes = 1,
bfd_plugin_no = 2
};
@ -6592,7 +6633,7 @@ struct bfd
ENUM_BITFIELD (bfd_direction) direction : 2;
/* Format_specific flags. */
flagword flags : 18;
flagword flags : 20;
/* Values that may appear in the flags field of a BFD. These also
appear in the object_flags field of the bfd_target structure, where
@ -6672,16 +6713,23 @@ struct bfd
/* Compress sections in this BFD with SHF_COMPRESSED from gABI. */
#define BFD_COMPRESS_GABI 0x20000
/* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
BFD. */
#define BFD_CONVERT_ELF_COMMON 0x40000
/* Use the ELF STT_COMMON type in this BFD. */
#define BFD_USE_ELF_STT_COMMON 0x80000
/* Flags bits to be saved in bfd_preserve_save. */
#define BFD_FLAGS_SAVED \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
| BFD_COMPRESS_GABI)
| BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
/* Flags bits which are for BFD use only. */
#define BFD_FLAGS_FOR_BFD_USE_MASK \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
| BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
| BFD_COMPRESS_GABI)
| BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
/* Is the file descriptor being cached? That is, can it be closed as
needed, and re-opened when accessed later? */
@ -7424,6 +7472,7 @@ typedef struct bfd_target
NAME##_bfd_copy_link_hash_symbol_type, \
NAME##_bfd_final_link, \
NAME##_bfd_link_split_section, \
NAME##_bfd_link_check_relocs, \
NAME##_bfd_gc_sections, \
NAME##_bfd_lookup_section_flags, \
NAME##_bfd_merge_sections, \
@ -7465,6 +7514,9 @@ typedef struct bfd_target
/* Should this section be split up into smaller pieces during linking. */
bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
/* Check the relocations in the bfd for validity. */
bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
/* Remove sections that are not referenced from the output. */
bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
@ -7577,6 +7629,12 @@ struct bfd_elf_version_tree * bfd_find_version_for_sym
bfd_boolean bfd_hide_sym_by_version
(struct bfd_elf_version_tree *verdefs, const char *sym_name);
bfd_boolean bfd_link_check_relocs
(bfd *abfd, struct bfd_link_info *info);
bfd_boolean _bfd_generic_link_check_relocs
(bfd *abfd, struct bfd_link_info *info);
/* Extracted from simple.c. */
bfd_byte *bfd_simple_get_relocated_section_contents
(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);

View File

@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
#define BFD_VERSION_DATE 20160629
#define BFD_VERSION 226010000
#define BFD_VERSION_STRING "(NetBSD Binutils nb1) " "2.26.1"
#define BFD_VERSION_DATE 20160803
#define BFD_VERSION 227000000
#define BFD_VERSION_STRING "(NetBSD Binutils nb1) " "2.27"
#define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"

View File

@ -298,7 +298,7 @@
#define PACKAGE_NAME "bfd"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "bfd 2.26.1"
#define PACKAGE_STRING "bfd 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "bfd"
@ -307,7 +307,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* The size of `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
@ -342,6 +342,9 @@
/* Name of host specific header file to include in trad-core.c. */
/* #undef TRAD_HEADER */
/* Define if we should use 64-bit archives. */
/* #undef USE_64_BIT_ARCHIVE */
/* Use b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
@ -354,9 +357,6 @@
/* Define if we should default to creating read-only plt entries */
/* #undef USE_SECUREPLT */
/* Define if we may generate symbols with ELF's STT_COMMON type */
/* #undef USE_STT_COMMON */
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
@ -380,7 +380,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

View File

@ -11,7 +11,7 @@
/* Main header file for the bfd library -- portable access to object files.
Copyright (C) 1990-2015 Free Software Foundation, Inc.
Copyright (C) 1990-2016 Free Software Foundation, Inc.
Contributed by Cygnus Support.
@ -522,7 +522,6 @@ extern void warn_deprecated (const char *, const char *, int, const char *);
#define bfd_get_file_flags(abfd) ((abfd)->flags)
#define bfd_applicable_file_flags(abfd) ((abfd)->xvec->object_flags)
#define bfd_applicable_section_flags(abfd) ((abfd)->xvec->section_flags)
#define bfd_my_archive(abfd) ((abfd)->my_archive)
#define bfd_has_map(abfd) ((abfd)->has_armap)
#define bfd_is_thin_archive(abfd) ((abfd)->is_thin_archive)
@ -914,6 +913,9 @@ extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
extern bfd_boolean bfd_elf32_arm_add_glue_sections_to_bfd
(bfd *, struct bfd_link_info *);
extern void bfd_elf32_arm_keep_private_stub_output_sections
(struct bfd_link_info *);
/* ELF ARM mapping symbol support. */
#define BFD_ARM_SPECIAL_SYM_TYPE_MAP (1 << 0)
#define BFD_ARM_SPECIAL_SYM_TYPE_TAG (1 << 1)
@ -945,7 +947,8 @@ extern void elf32_arm_next_input_section
(struct bfd_link_info *, struct bfd_section *);
extern bfd_boolean elf32_arm_size_stubs
(bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int),
struct bfd_section * (*) (const char *, struct bfd_section *,
struct bfd_section *, unsigned int),
void (*) (void));
extern bfd_boolean elf32_arm_build_stubs
(struct bfd_link_info *);
@ -958,13 +961,6 @@ extern bfd_boolean elf32_arm_fix_exidx_coverage
extern bfd_boolean elf32_tic6x_fix_exidx_coverage
(struct bfd_section **, unsigned int, struct bfd_link_info *, bfd_boolean);
/* PowerPC @tls opcode transform/validate. */
extern unsigned int _bfd_elf_ppc_at_tls_transform
(unsigned int, unsigned int);
/* PowerPC @tprel opcode transform/validate. */
extern unsigned int _bfd_elf_ppc_at_tprel_transform
(unsigned int, unsigned int);
extern void bfd_elf64_aarch64_init_maps
(bfd *);
@ -972,10 +968,10 @@ extern void bfd_elf32_aarch64_init_maps
(bfd *);
extern void bfd_elf64_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int, int);
(bfd *, struct bfd_link_info *, int, int, int, int, int, int);
extern void bfd_elf32_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int, int);
(bfd *, struct bfd_link_info *, int, int, int, int, int, int);
/* ELF AArch64 mapping symbol support. */
#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0)
@ -1436,6 +1432,9 @@ typedef struct bfd_section
when memory read flag isn't set. */
#define SEC_COFF_NOREAD 0x40000000
/* Indicate that section has the no read flag set. */
#define SEC_ELF_NOREAD 0x80000000
/* End of section flags. */
/* Some internal packed boolean fields. */
@ -1502,7 +1501,7 @@ typedef struct bfd_section
information. */
bfd_vma lma;
/* The size of the section in octets, as it will be output.
/* The size of the section in *octets*, as it will be output.
Contains a value even if the section has no contents (e.g., the
size of <<.bss>>). */
bfd_size_type size;
@ -1953,13 +1952,29 @@ enum bfd_architecture
#define bfd_mach_sparc_v9a 8 /* with ultrasparc add'ns. */
#define bfd_mach_sparc_v8plusb 9 /* with cheetah add'ns. */
#define bfd_mach_sparc_v9b 10 /* with cheetah add'ns. */
#define bfd_mach_sparc_v8plusc 11 /* with UA2005 and T1 add'ns. */
#define bfd_mach_sparc_v9c 12 /* with UA2005 and T1 add'ns. */
#define bfd_mach_sparc_v8plusd 13 /* with UA2007 and T3 add'ns. */
#define bfd_mach_sparc_v9d 14 /* with UA2007 and T3 add'ns. */
#define bfd_mach_sparc_v8pluse 15 /* with OSA2001 and T4 add'ns (no IMA). */
#define bfd_mach_sparc_v9e 16 /* with OSA2001 and T4 add'ns (no IMA). */
#define bfd_mach_sparc_v8plusv 17 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
#define bfd_mach_sparc_v9v 18 /* with OSA2011 and T4 and IMA and FJMAU add'ns. */
#define bfd_mach_sparc_v8plusm 19 /* with OSA2015 and M7 add'ns. */
#define bfd_mach_sparc_v9m 20 /* with OSA2015 and M7 add'ns. */
/* Nonzero if MACH has the v9 instruction set. */
#define bfd_mach_sparc_v9_p(mach) \
((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9b \
((mach) >= bfd_mach_sparc_v8plus && (mach) <= bfd_mach_sparc_v9m \
&& (mach) != bfd_mach_sparc_sparclite_le)
/* Nonzero if MACH is a 64 bit sparc architecture. */
#define bfd_mach_sparc_64bit_p(mach) \
((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb)
((mach) >= bfd_mach_sparc_v9 \
&& (mach) != bfd_mach_sparc_v8plusb \
&& (mach) != bfd_mach_sparc_v8plusc \
&& (mach) != bfd_mach_sparc_v8plusd \
&& (mach) != bfd_mach_sparc_v8pluse \
&& (mach) != bfd_mach_sparc_v8plusv \
&& (mach) != bfd_mach_sparc_v8plusm)
bfd_arch_spu, /* PowerPC SPU */
#define bfd_mach_spu 256
bfd_arch_mips, /* MIPS Rxxxx */
@ -2990,6 +3005,9 @@ to compensate for the borrow when the low bits are added. */
BFD_RELOC_MICROMIPS_10_PCREL_S1,
BFD_RELOC_MICROMIPS_16_PCREL_S1,
/* MIPS16 PC-relative relocation. */
BFD_RELOC_MIPS16_16_PCREL_S1,
/* MIPS PC-relative relocations. */
BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2,
@ -3523,6 +3541,12 @@ pc-relative or some form of GOT-indirect relocation. */
/* ARM support for STT_GNU_IFUNC. */
BFD_RELOC_ARM_IRELATIVE,
/* Thumb1 relocations to support execute-only code. */
BFD_RELOC_ARM_THUMB_ALU_ABS_G0_NC,
BFD_RELOC_ARM_THUMB_ALU_ABS_G1_NC,
BFD_RELOC_ARM_THUMB_ALU_ABS_G2_NC,
BFD_RELOC_ARM_THUMB_ALU_ABS_G3_NC,
/* These relocs are only used within the ARM assembler. They are not
(at present) written to any object files. */
BFD_RELOC_ARM_IMMEDIATE,
@ -3718,6 +3742,7 @@ pc-relative or some form of GOT-indirect relocation. */
BFD_RELOC_ARC_TLS_LE_32,
BFD_RELOC_ARC_S25W_PCREL_PLT,
BFD_RELOC_ARC_S21H_PCREL_PLT,
BFD_RELOC_ARC_NPS_CMEM16,
/* ADI Blackfin 16 bit immediate absolute reloc. */
BFD_RELOC_BFIN_16_IMM,
@ -5618,6 +5643,12 @@ BFD_RELOC_MACH_O_PAIR. */
/* Pair of relocation. Contains the first symbol. */
BFD_RELOC_MACH_O_PAIR,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_32. */
BFD_RELOC_MACH_O_SUBTRACTOR32,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */
BFD_RELOC_MACH_O_SUBTRACTOR64,
/* PCREL relocations. They are marked as branch to create PLT entry if
required. */
BFD_RELOC_MACH_O_X86_64_BRANCH32,
@ -5630,12 +5661,6 @@ required. */
the linker could optimize the movq to a leaq if possible. */
BFD_RELOC_MACH_O_X86_64_GOT_LOAD,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */
BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32,
/* Symbol will be substracted. Must be followed by a BFD_RELOC_64. */
BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64,
/* Same as BFD_RELOC_32_PCREL but with an implicit -1 addend. */
BFD_RELOC_MACH_O_X86_64_PCREL32_1,
@ -5645,6 +5670,18 @@ the linker could optimize the movq to a leaq if possible. */
/* Same as BFD_RELOC_32_PCREL but with an implicit -4 addend. */
BFD_RELOC_MACH_O_X86_64_PCREL32_4,
/* Addend for PAGE or PAGEOFF. */
BFD_RELOC_MACH_O_ARM64_ADDEND,
/* Relative offset to page of GOT slot. */
BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGE21,
/* Relative offset within page of GOT slot. */
BFD_RELOC_MACH_O_ARM64_GOT_LOAD_PAGEOFF12,
/* Address of a GOT entry. */
BFD_RELOC_MACH_O_ARM64_POINTER_TO_GOT,
/* This is a 32 bit reloc for the microblaze that stores the
low 16 bits of a value */
BFD_RELOC_MICROBLAZE_32_LO,
@ -5735,6 +5772,9 @@ important as several tables in the AArch64 bfd backend are indexed
by these enumerators; make sure they are all synced. */
BFD_RELOC_AARCH64_RELOC_START,
/* Deprecated AArch64 null relocation code. */
BFD_RELOC_AARCH64_NULL,
/* AArch64 null relocation code. */
BFD_RELOC_AARCH64_NONE,
@ -6387,8 +6427,7 @@ typedef struct bfd_symbol
#define BSF_EXPORT BSF_GLOBAL /* No real difference. */
/* A normal C symbol would be one of:
<<BSF_LOCAL>>, <<BSF_COMMON>>, <<BSF_UNDEFINED>> or
<<BSF_GLOBAL>>. */
<<BSF_LOCAL>>, <<BSF_UNDEFINED>> or <<BSF_GLOBAL>>. */
/* The symbol is a debugging record. The value has an arbitrary
meaning, unless BSF_DEBUGGING_RELOC is also set. */
@ -6400,7 +6439,9 @@ typedef struct bfd_symbol
/* Used by the linker. */
#define BSF_KEEP (1 << 5)
#define BSF_KEEP_G (1 << 6)
/* An ELF common symbol. */
#define BSF_ELF_COMMON (1 << 6)
/* A weak global symbol, overridable without warnings by
a regular global symbol of the same name. */
@ -6547,7 +6588,7 @@ enum bfd_direction
enum bfd_plugin_format
{
bfd_plugin_uknown = 0,
bfd_plugin_unknown = 0,
bfd_plugin_yes = 1,
bfd_plugin_no = 2
};
@ -6592,7 +6633,7 @@ struct bfd
ENUM_BITFIELD (bfd_direction) direction : 2;
/* Format_specific flags. */
flagword flags : 18;
flagword flags : 20;
/* Values that may appear in the flags field of a BFD. These also
appear in the object_flags field of the bfd_target structure, where
@ -6672,16 +6713,23 @@ struct bfd
/* Compress sections in this BFD with SHF_COMPRESSED from gABI. */
#define BFD_COMPRESS_GABI 0x20000
/* Convert ELF common symbol type to STT_COMMON or STT_OBJECT in this
BFD. */
#define BFD_CONVERT_ELF_COMMON 0x40000
/* Use the ELF STT_COMMON type in this BFD. */
#define BFD_USE_ELF_STT_COMMON 0x80000
/* Flags bits to be saved in bfd_preserve_save. */
#define BFD_FLAGS_SAVED \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
| BFD_COMPRESS_GABI)
| BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
/* Flags bits which are for BFD use only. */
#define BFD_FLAGS_FOR_BFD_USE_MASK \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
| BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
| BFD_COMPRESS_GABI)
| BFD_COMPRESS_GABI | BFD_CONVERT_ELF_COMMON | BFD_USE_ELF_STT_COMMON)
/* Is the file descriptor being cached? That is, can it be closed as
needed, and re-opened when accessed later? */
@ -7424,6 +7472,7 @@ typedef struct bfd_target
NAME##_bfd_copy_link_hash_symbol_type, \
NAME##_bfd_final_link, \
NAME##_bfd_link_split_section, \
NAME##_bfd_link_check_relocs, \
NAME##_bfd_gc_sections, \
NAME##_bfd_lookup_section_flags, \
NAME##_bfd_merge_sections, \
@ -7465,6 +7514,9 @@ typedef struct bfd_target
/* Should this section be split up into smaller pieces during linking. */
bfd_boolean (*_bfd_link_split_section) (bfd *, struct bfd_section *);
/* Check the relocations in the bfd for validity. */
bfd_boolean (* _bfd_link_check_relocs)(bfd *, struct bfd_link_info *);
/* Remove sections that are not referenced from the output. */
bfd_boolean (*_bfd_gc_sections) (bfd *, struct bfd_link_info *);
@ -7577,6 +7629,12 @@ struct bfd_elf_version_tree * bfd_find_version_for_sym
bfd_boolean bfd_hide_sym_by_version
(struct bfd_elf_version_tree *verdefs, const char *sym_name);
bfd_boolean bfd_link_check_relocs
(bfd *abfd, struct bfd_link_info *info);
bfd_boolean _bfd_generic_link_check_relocs
(bfd *abfd, struct bfd_link_info *info);
/* Extracted from simple.c. */
bfd_byte *bfd_simple_get_relocated_section_contents
(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);

View File

@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
#define BFD_VERSION_DATE 20160629
#define BFD_VERSION 226010000
#define BFD_VERSION_STRING "(NetBSD Binutils nb1) " "2.26.1"
#define BFD_VERSION_DATE 20160803
#define BFD_VERSION 227000000
#define BFD_VERSION_STRING "(NetBSD Binutils nb1) " "2.27"
#define REPORT_BUGS_TO "<http://www.NetBSD.org/support/send-pr.html>"

View File

@ -298,7 +298,7 @@
#define PACKAGE_NAME "bfd"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "bfd 2.26.1"
#define PACKAGE_STRING "bfd 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "bfd"
@ -307,7 +307,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* The size of `char', as computed by sizeof. */
/* #undef SIZEOF_CHAR */
@ -342,6 +342,9 @@
/* Name of host specific header file to include in trad-core.c. */
/* #undef TRAD_HEADER */
/* Define if we should use 64-bit archives. */
/* #undef USE_64_BIT_ARCHIVE */
/* Use b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
@ -354,9 +357,6 @@
/* Define if we should default to creating read-only plt entries */
/* #undef USE_SECUREPLT */
/* Define if we may generate symbols with ELF's STT_COMMON type */
/* #undef USE_STT_COMMON */
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
@ -380,7 +380,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

View File

@ -74,7 +74,7 @@
#define PACKAGE_NAME "opcodes"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "opcodes 2.26.1"
#define PACKAGE_STRING "opcodes 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "opcodes"
@ -83,7 +83,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
@ -114,7 +114,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define to 1 if on MINIX. */
/* #undef _MINIX */

View File

@ -74,7 +74,7 @@
#define PACKAGE_NAME "opcodes"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "opcodes 2.26.1"
#define PACKAGE_STRING "opcodes 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "opcodes"
@ -83,7 +83,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
@ -114,7 +114,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define to 1 if on MINIX. */
/* #undef _MINIX */

View File

@ -202,7 +202,7 @@
#define PACKAGE_NAME "binutils"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "binutils 2.26.1"
#define PACKAGE_STRING "binutils 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "binutils"
@ -211,7 +211,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 4
@ -265,7 +265,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */

View File

@ -2,7 +2,7 @@
# Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
#
G_VERSION=2.26.1
G_VERSION=2.27
G_DEFS=-DHAVE_CONFIG_H
G_INCLUDES=
G_PROGRAMS=size objdump ar strings ranlib objcopy addr2line readelf elfedit nm-new strip-new cxxfilt bfdtest1 bfdtest2

View File

@ -202,7 +202,7 @@
#define PACKAGE_NAME "binutils"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "binutils 2.26.1"
#define PACKAGE_STRING "binutils 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "binutils"
@ -211,7 +211,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* The size of `long', as computed by sizeof. */
#define SIZEOF_LONG 4
@ -265,7 +265,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */

View File

@ -2,7 +2,7 @@
# Generated from: NetBSD: mknative-binutils,v 1.9 2013/10/01 15:41:17 skrll Exp
# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
#
G_VERSION=2.26.1
G_VERSION=2.27
G_DEFS=-DHAVE_CONFIG_H
G_INCLUDES=
G_PROGRAMS=size objdump ar strings ranlib objcopy addr2line readelf elfedit nm-new strip-new cxxfilt bfdtest1 bfdtest2

View File

@ -44,6 +44,10 @@
/* Define if you want compressed debug sections by default. */
/* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
/* Define to 1 if you want to generate ELF common symbols with the STT_COMMON
type by default. */
#define DEFAULT_GENERATE_ELF_STT_COMMON 0
/* Define to 1 if you want to generate x86 relax relocations by default. */
#define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS 1
@ -264,7 +268,7 @@
#define PACKAGE_NAME "gas"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "gas 2.26.1"
#define PACKAGE_STRING "gas 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gas"
@ -273,7 +277,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* Define if defaulting to ELF on SCO 5. */
/* #undef SCO_ELF */
@ -319,6 +323,9 @@
/* Target vendor. */
#define TARGET_VENDOR ""
/* Target specific CPU. */
/* #undef TARGET_WITH_CPU */
/* Use b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
@ -354,7 +361,7 @@
/* #undef USING_CGEN */
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */

View File

@ -44,6 +44,10 @@
/* Define if you want compressed debug sections by default. */
/* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
/* Define to 1 if you want to generate ELF common symbols with the STT_COMMON
type by default. */
#define DEFAULT_GENERATE_ELF_STT_COMMON 0
/* Define to 1 if you want to generate x86 relax relocations by default. */
#define DEFAULT_GENERATE_X86_RELAX_RELOCATIONS 1
@ -264,7 +268,7 @@
#define PACKAGE_NAME "gas"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "gas 2.26.1"
#define PACKAGE_STRING "gas 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gas"
@ -273,7 +277,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* Define if defaulting to ELF on SCO 5. */
/* #undef SCO_ELF */
@ -319,6 +323,9 @@
/* Target vendor. */
#define TARGET_VENDOR ""
/* Target specific CPU. */
/* #undef TARGET_WITH_CPU */
/* Use b modifier when opening binary files? */
/* #undef USE_BINARY_FOPEN */
@ -354,7 +361,7 @@
/* #undef USING_CGEN */
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */

View File

@ -65,7 +65,7 @@
#define PACKAGE_NAME "gprof"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "gprof 2.26.1"
#define PACKAGE_STRING "gprof 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gprof"
@ -74,7 +74,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
@ -102,7 +102,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

View File

@ -65,7 +65,7 @@
#define PACKAGE_NAME "gprof"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "gprof 2.26.1"
#define PACKAGE_STRING "gprof 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gprof"
@ -74,7 +74,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
@ -102,7 +102,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */

View File

@ -15,6 +15,9 @@
/* Define if you want compressed debug sections by default. */
/* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
/* Define to 1 if you want to enable -z relro in ELF linker by default. */
#define DEFAULT_LD_Z_RELRO 0
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#define ENABLE_NLS 1
@ -170,7 +173,7 @@
#define PACKAGE_NAME "ld"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ld 2.26.1"
#define PACKAGE_STRING "ld 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ld"
@ -179,7 +182,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* The size of `void *', as computed by sizeof. */
#define SIZEOF_VOID_P 4
@ -216,7 +219,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */

View File

@ -15,6 +15,9 @@
/* Define if you want compressed debug sections by default. */
/* #undef DEFAULT_FLAG_COMPRESS_DEBUG */
/* Define to 1 if you want to enable -z relro in ELF linker by default. */
#define DEFAULT_LD_Z_RELRO 0
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#define ENABLE_NLS 1
@ -170,7 +173,7 @@
#define PACKAGE_NAME "ld"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ld 2.26.1"
#define PACKAGE_STRING "ld 2.27"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ld"
@ -179,7 +182,7 @@
#define PACKAGE_URL ""
/* Define to the version of this package. */
#define PACKAGE_VERSION "2.26.1"
#define PACKAGE_VERSION "2.27"
/* The size of `void *', as computed by sizeof. */
#define SIZEOF_VOID_P 4
@ -216,7 +219,7 @@
/* Version number of package */
#define VERSION "2.26.1"
#define VERSION "2.27"
/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
`char[]'. */