Re-tun mknative for earm gdb

This commit is contained in:
skrll 2016-05-24 09:16:56 +00:00
parent 743e3b4551
commit 6e3cf83f8e
14 changed files with 565 additions and 62 deletions

View File

@ -303,10 +303,13 @@ typedef struct bfd_section *sec_ptr;
#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
#define bfd_get_section_limit_octets(bfd, sec) \
((bfd)->direction != write_direction && (sec)->rawsize != 0 \
? (sec)->rawsize : (sec)->size)
/* Find the address one past the end of SEC. */ /* Find the address one past the end of SEC. */
#define bfd_get_section_limit(bfd, sec) \ #define bfd_get_section_limit(bfd, sec) \
(((bfd)->direction != write_direction && (sec)->rawsize != 0 \ (bfd_get_section_limit_octets(bfd, sec) / bfd_octets_per_byte (bfd))
? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
/* Return TRUE if input section SEC has been discarded. */ /* Return TRUE if input section SEC has been discarded. */
#define discarded_section(sec) \ #define discarded_section(sec) \
@ -445,6 +448,16 @@ extern void bfd_hash_traverse
this size. */ this size. */
extern unsigned long bfd_hash_set_default_size (unsigned long); extern unsigned long bfd_hash_set_default_size (unsigned long);
/* Types of compressed DWARF debug sections. We currently support
zlib. */
enum compressed_debug_section_type
{
COMPRESS_DEBUG_NONE = 0,
COMPRESS_DEBUG = 1 << 0,
COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 1,
COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 2
};
/* This structure is used to keep track of stabs in sections /* This structure is used to keep track of stabs in sections
information while linking. */ information while linking. */
@ -942,10 +955,10 @@ extern void bfd_elf32_aarch64_init_maps
(bfd *); (bfd *);
extern void bfd_elf64_aarch64_set_options extern void bfd_elf64_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int); (bfd *, struct bfd_link_info *, int, int, int, int, int);
extern void bfd_elf32_aarch64_set_options extern void bfd_elf32_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int); (bfd *, struct bfd_link_info *, int, int, int, int, int);
/* ELF AArch64 mapping symbol support. */ /* ELF AArch64 mapping symbol support. */
#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0) #define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0)
@ -996,6 +1009,13 @@ extern void bfd_elf32_ia64_after_parse
extern void bfd_elf64_ia64_after_parse extern void bfd_elf64_ia64_after_parse
(int); (int);
/* V850 Note manipulation routines. */
extern bfd_boolean v850_elf_create_sections
(struct bfd_link_info *);
extern bfd_boolean v850_elf_set_note
(bfd *, unsigned int, unsigned int);
/* Extracted from init.c. */ /* Extracted from init.c. */
void bfd_init (void); void bfd_init (void);
@ -1372,6 +1392,10 @@ typedef struct bfd_section
executables or shared objects. This is for COFF only. */ executables or shared objects. This is for COFF only. */
#define SEC_COFF_SHARED 0x8000000 #define SEC_COFF_SHARED 0x8000000
/* This section should be compressed. This is for ELF linker
internal use only. */
#define SEC_ELF_COMPRESS 0x8000000
/* When a section with this flag is being linked, then if the size of /* When a section with this flag is being linked, then if the size of
the input section is less than a page, it should not cross a page the input section is less than a page, it should not cross a page
boundary. If the size of the input section is one page or more, boundary. If the size of the input section is one page or more,
@ -1379,11 +1403,18 @@ typedef struct bfd_section
TMS320C54X only. */ TMS320C54X only. */
#define SEC_TIC54X_BLOCK 0x10000000 #define SEC_TIC54X_BLOCK 0x10000000
/* This section should be renamed. This is for ELF linker
internal use only. */
#define SEC_ELF_RENAME 0x10000000
/* Conditionally link this section; do not link if there are no /* Conditionally link this section; do not link if there are no
references found to any symbol in the section. This is for TI references found to any symbol in the section. This is for TI
TMS320C54X only. */ TMS320C54X only. */
#define SEC_TIC54X_CLINK 0x20000000 #define SEC_TIC54X_CLINK 0x20000000
/* This section contains vliw code. This is for Toshiba MeP only. */
#define SEC_MEP_VLIW 0x20000000
/* Indicate that section has the no read flag set. This happens /* Indicate that section has the no read flag set. This happens
when memory read flag isn't set. */ when memory read flag isn't set. */
#define SEC_COFF_NOREAD 0x40000000 #define SEC_COFF_NOREAD 0x40000000
@ -1424,6 +1455,7 @@ typedef struct bfd_section
#define SEC_INFO_TYPE_EH_FRAME 3 #define SEC_INFO_TYPE_EH_FRAME 3
#define SEC_INFO_TYPE_JUST_SYMS 4 #define SEC_INFO_TYPE_JUST_SYMS 4
#define SEC_INFO_TYPE_TARGET 5 #define SEC_INFO_TYPE_TARGET 5
#define SEC_INFO_TYPE_EH_FRAME_ENTRY 6
/* Nonzero if this section uses RELA relocations, rather than REL. */ /* Nonzero if this section uses RELA relocations, rather than REL. */
unsigned int use_rela_p:1; unsigned int use_rela_p:1;
@ -1976,6 +2008,10 @@ enum bfd_architecture
#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl) #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_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) #define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
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_we32k, /* AT&T WE32xxx */
bfd_arch_tahoe, /* CCI/Harris Tahoe */ bfd_arch_tahoe, /* CCI/Harris Tahoe */
bfd_arch_i860, /* Intel 860 */ bfd_arch_i860, /* Intel 860 */
@ -2143,6 +2179,8 @@ enum bfd_architecture
#define bfd_mach_fr550 550 #define bfd_mach_fr550 550
bfd_arch_moxie, /* The moxie processor */ bfd_arch_moxie, /* The moxie processor */
#define bfd_mach_moxie 1 #define bfd_mach_moxie 1
bfd_arch_ft32, /* The ft32 processor */
#define bfd_mach_ft32 1
bfd_arch_mcore, bfd_arch_mcore,
bfd_arch_mep, bfd_arch_mep,
#define bfd_mach_mep 1 #define bfd_mach_mep 1
@ -2260,8 +2298,10 @@ enum bfd_architecture
bfd_arch_aarch64, /* AArch64 */ bfd_arch_aarch64, /* AArch64 */
#define bfd_mach_aarch64 0 #define bfd_mach_aarch64 0
#define bfd_mach_aarch64_ilp32 32 #define bfd_mach_aarch64_ilp32 32
bfd_arch_nios2, bfd_arch_nios2, /* Nios II */
#define bfd_mach_nios2 0 #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 #define bfd_mach_visium 1
bfd_arch_last bfd_arch_last
@ -3006,6 +3046,13 @@ to compensate for the borrow when the low bits are added. */
BFD_RELOC_MOXIE_10_PCREL, BFD_RELOC_MOXIE_10_PCREL,
/* FT32 ELF relocations. */
BFD_RELOC_FT32_10,
BFD_RELOC_FT32_20,
BFD_RELOC_FT32_17,
BFD_RELOC_FT32_18,
/* Fujitsu Frv Relocations. */ /* Fujitsu Frv Relocations. */
BFD_RELOC_FRV_LABEL16, BFD_RELOC_FRV_LABEL16,
BFD_RELOC_FRV_LABEL24, BFD_RELOC_FRV_LABEL24,
@ -4543,6 +4590,7 @@ number for the SBIC, SBIS, SBI and CBI instructions */
BFD_RELOC_RL78_HI8, BFD_RELOC_RL78_HI8,
BFD_RELOC_RL78_LO16, BFD_RELOC_RL78_LO16,
BFD_RELOC_RL78_CODE, BFD_RELOC_RL78_CODE,
BFD_RELOC_RL78_SADDR,
/* Renesas RX Relocations. */ /* Renesas RX Relocations. */
BFD_RELOC_RX_NEG8, BFD_RELOC_RX_NEG8,
@ -5309,6 +5357,19 @@ a matching LO8XG part. */
BFD_RELOC_NIOS2_GOT_HA, BFD_RELOC_NIOS2_GOT_HA,
BFD_RELOC_NIOS2_CALL_LO, BFD_RELOC_NIOS2_CALL_LO,
BFD_RELOC_NIOS2_CALL_HA, BFD_RELOC_NIOS2_CALL_HA,
BFD_RELOC_NIOS2_R2_S12,
BFD_RELOC_NIOS2_R2_I10_1_PCREL,
BFD_RELOC_NIOS2_R2_T1I7_1_PCREL,
BFD_RELOC_NIOS2_R2_T1I7_2,
BFD_RELOC_NIOS2_R2_T2I4,
BFD_RELOC_NIOS2_R2_T2I4_1,
BFD_RELOC_NIOS2_R2_T2I4_2,
BFD_RELOC_NIOS2_R2_X1I7_2,
BFD_RELOC_NIOS2_R2_X2L5,
BFD_RELOC_NIOS2_R2_F1I5_2,
BFD_RELOC_NIOS2_R2_L5I4X1,
BFD_RELOC_NIOS2_R2_T1X1I6,
BFD_RELOC_NIOS2_R2_T1X1I6_2,
/* IQ2000 Relocations. */ /* IQ2000 Relocations. */
BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_16,
@ -5695,12 +5756,25 @@ the GOT entry for this symbol. Used in conjunction with
BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */ BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */
BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, BFD_RELOC_AARCH64_LD32_GOT_LO12_NC,
/* Unsigned 15 bit byte offset for 64 bit load/store from the page of
the GOT entry for this symbol. Valid in ILP64 ABI only. */
BFD_RELOC_AARCH64_LD64_GOTOFF_LO15,
/* Scaled 14 bit byte offset to the page base of the global offset table. */
BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14,
/* Scaled 15 bit byte offset to the page base of the global offset table. */
BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15,
/* Get to the page base of the global offset table entry for a symbols /* Get to the page base of the global offset table entry for a symbols
tls_index structure as part of an adrp instruction using a 21 bit PC tls_index structure as part of an adrp instruction using a 21 bit PC
relative value. Used in conjunction with relative value. Used in conjunction with
BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */
BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21, BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21,
/* AArch64 TLS General Dynamic */
BFD_RELOC_AARCH64_TLSGD_ADR_PREL21,
/* Unsigned 12 bit byte offset to global offset table entry for a symbols /* Unsigned 12 bit byte offset to global offset table entry for a symbols
tls_index structure. Used in conjunction with tls_index structure. Used in conjunction with
BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */
@ -6264,6 +6338,19 @@ enum bfd_direction
both_direction = 3 both_direction = 3
}; };
enum bfd_plugin_format
{
bfd_plugin_uknown = 0,
bfd_plugin_yes = 1,
bfd_plugin_no = 2
};
struct bfd_build_id
{
bfd_size_type size;
bfd_byte data[1];
};
struct bfd struct bfd
{ {
/* The filename the application opened the BFD with. */ /* The filename the application opened the BFD with. */
@ -6298,7 +6385,7 @@ struct bfd
ENUM_BITFIELD (bfd_direction) direction : 2; ENUM_BITFIELD (bfd_direction) direction : 2;
/* Format_specific flags. */ /* Format_specific flags. */
flagword flags : 17; flagword flags : 18;
/* Values that may appear in the flags field of a BFD. These also /* 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 appear in the object_flags field of the bfd_target structure, where
@ -6375,14 +6462,19 @@ struct bfd
/* BFD is a dummy, for plugins. */ /* BFD is a dummy, for plugins. */
#define BFD_PLUGIN 0x10000 #define BFD_PLUGIN 0x10000
/* Compress sections in this BFD with SHF_COMPRESSED from gABI. */
#define BFD_COMPRESS_GABI 0x20000
/* Flags bits to be saved in bfd_preserve_save. */ /* Flags bits to be saved in bfd_preserve_save. */
#define BFD_FLAGS_SAVED \ #define BFD_FLAGS_SAVED \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN) (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
| BFD_COMPRESS_GABI)
/* Flags bits which are for BFD use only. */ /* Flags bits which are for BFD use only. */
#define BFD_FLAGS_FOR_BFD_USE_MASK \ #define BFD_FLAGS_FOR_BFD_USE_MASK \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \ (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
| BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT) | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
| BFD_COMPRESS_GABI)
/* Is the file descriptor being cached? That is, can it be closed as /* Is the file descriptor being cached? That is, can it be closed as
needed, and re-opened when accessed later? */ needed, and re-opened when accessed later? */
@ -6420,6 +6512,19 @@ struct bfd
/* Set if this is the linker output BFD. */ /* Set if this is the linker output BFD. */
unsigned int is_linker_output : 1; unsigned int is_linker_output : 1;
/* Set if this is the linker input BFD. */
unsigned int is_linker_input : 1;
/* If this is an input for a compiler plug-in library. */
ENUM_BITFIELD (bfd_plugin_format) plugin_format : 2;
/* Set if this is a plugin output file. */
unsigned int lto_output : 1;
/* Set to dummy BFD created when claimed by a compiler plug-in
library. */
bfd *plugin_dummy_bfd;
/* Currently my_archive is tested before adding origin to /* Currently my_archive is tested before adding origin to
anything. I believe that this can become always an add of anything. I believe that this can become always an add of
origin, with origin set to 0 for non archive files. */ origin, with origin set to 0 for non archive files. */
@ -6530,6 +6635,9 @@ struct bfd
struct objalloc *, but we use void * to avoid requiring the inclusion struct objalloc *, but we use void * to avoid requiring the inclusion
of objalloc.h. */ of objalloc.h. */
void *memory; void *memory;
/* For input BFDs, the build ID, if the object has one. */
const struct bfd_build_id *build_id;
}; };
/* See note beside bfd_set_section_userdata. */ /* See note beside bfd_set_section_userdata. */
@ -6742,6 +6850,15 @@ void bfd_emul_set_commonpagesize (const char *, bfd_vma);
char *bfd_demangle (bfd *, const char *, int); char *bfd_demangle (bfd *, const char *, int);
void bfd_update_compression_header
(bfd *abfd, bfd_byte *contents, asection *sec);
bfd_boolean bfd_check_compression_header
(bfd *abfd, bfd_byte *contents, asection *sec,
bfd_size_type *uncompressed_size);
int bfd_get_compression_header_size (bfd *abfd, asection *sec);
/* Extracted from archive.c. */ /* Extracted from archive.c. */
symindex bfd_get_next_mapent symindex bfd_get_next_mapent
(bfd *abfd, symindex previous, carsym **sym); (bfd *abfd, symindex previous, carsym **sym);
@ -7248,16 +7365,17 @@ bfd_byte *bfd_simple_get_relocated_section_contents
(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table); (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
/* Extracted from compress.c. */ /* Extracted from compress.c. */
bfd_boolean bfd_compress_section_contents
(bfd *abfd, asection *section, bfd_byte *uncompressed_buffer,
bfd_size_type uncompressed_size);
bfd_boolean bfd_get_full_section_contents bfd_boolean bfd_get_full_section_contents
(bfd *abfd, asection *section, bfd_byte **ptr); (bfd *abfd, asection *section, bfd_byte **ptr);
void bfd_cache_section_contents void bfd_cache_section_contents
(asection *sec, void *contents); (asection *sec, void *contents);
bfd_boolean bfd_is_section_compressed_with_header
(bfd *abfd, asection *section,
int *compression_header_size_p,
bfd_size_type *uncompressed_size_p);
bfd_boolean bfd_is_section_compressed bfd_boolean bfd_is_section_compressed
(bfd *abfd, asection *section); (bfd *abfd, asection *section);
@ -7267,6 +7385,9 @@ bfd_boolean bfd_init_section_decompress_status
bfd_boolean bfd_init_section_compress_status bfd_boolean bfd_init_section_compress_status
(bfd *abfd, asection *section); (bfd *abfd, asection *section);
bfd_boolean bfd_compress_section
(bfd *abfd, asection *section, bfd_byte *uncompressed_buffer);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -303,10 +303,13 @@ typedef struct bfd_section *sec_ptr;
#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
#define bfd_get_section_limit_octets(bfd, sec) \
((bfd)->direction != write_direction && (sec)->rawsize != 0 \
? (sec)->rawsize : (sec)->size)
/* Find the address one past the end of SEC. */ /* Find the address one past the end of SEC. */
#define bfd_get_section_limit(bfd, sec) \ #define bfd_get_section_limit(bfd, sec) \
(((bfd)->direction != write_direction && (sec)->rawsize != 0 \ (bfd_get_section_limit_octets(bfd, sec) / bfd_octets_per_byte (bfd))
? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd))
/* Return TRUE if input section SEC has been discarded. */ /* Return TRUE if input section SEC has been discarded. */
#define discarded_section(sec) \ #define discarded_section(sec) \
@ -445,6 +448,16 @@ extern void bfd_hash_traverse
this size. */ this size. */
extern unsigned long bfd_hash_set_default_size (unsigned long); extern unsigned long bfd_hash_set_default_size (unsigned long);
/* Types of compressed DWARF debug sections. We currently support
zlib. */
enum compressed_debug_section_type
{
COMPRESS_DEBUG_NONE = 0,
COMPRESS_DEBUG = 1 << 0,
COMPRESS_DEBUG_GNU_ZLIB = COMPRESS_DEBUG | 1 << 1,
COMPRESS_DEBUG_GABI_ZLIB = COMPRESS_DEBUG | 1 << 2
};
/* This structure is used to keep track of stabs in sections /* This structure is used to keep track of stabs in sections
information while linking. */ information while linking. */
@ -942,10 +955,10 @@ extern void bfd_elf32_aarch64_init_maps
(bfd *); (bfd *);
extern void bfd_elf64_aarch64_set_options extern void bfd_elf64_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int); (bfd *, struct bfd_link_info *, int, int, int, int, int);
extern void bfd_elf32_aarch64_set_options extern void bfd_elf32_aarch64_set_options
(bfd *, struct bfd_link_info *, int, int, int, int); (bfd *, struct bfd_link_info *, int, int, int, int, int);
/* ELF AArch64 mapping symbol support. */ /* ELF AArch64 mapping symbol support. */
#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0) #define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0)
@ -996,6 +1009,13 @@ extern void bfd_elf32_ia64_after_parse
extern void bfd_elf64_ia64_after_parse extern void bfd_elf64_ia64_after_parse
(int); (int);
/* V850 Note manipulation routines. */
extern bfd_boolean v850_elf_create_sections
(struct bfd_link_info *);
extern bfd_boolean v850_elf_set_note
(bfd *, unsigned int, unsigned int);
/* Extracted from init.c. */ /* Extracted from init.c. */
void bfd_init (void); void bfd_init (void);
@ -1372,6 +1392,10 @@ typedef struct bfd_section
executables or shared objects. This is for COFF only. */ executables or shared objects. This is for COFF only. */
#define SEC_COFF_SHARED 0x8000000 #define SEC_COFF_SHARED 0x8000000
/* This section should be compressed. This is for ELF linker
internal use only. */
#define SEC_ELF_COMPRESS 0x8000000
/* When a section with this flag is being linked, then if the size of /* When a section with this flag is being linked, then if the size of
the input section is less than a page, it should not cross a page the input section is less than a page, it should not cross a page
boundary. If the size of the input section is one page or more, boundary. If the size of the input section is one page or more,
@ -1379,11 +1403,18 @@ typedef struct bfd_section
TMS320C54X only. */ TMS320C54X only. */
#define SEC_TIC54X_BLOCK 0x10000000 #define SEC_TIC54X_BLOCK 0x10000000
/* This section should be renamed. This is for ELF linker
internal use only. */
#define SEC_ELF_RENAME 0x10000000
/* Conditionally link this section; do not link if there are no /* Conditionally link this section; do not link if there are no
references found to any symbol in the section. This is for TI references found to any symbol in the section. This is for TI
TMS320C54X only. */ TMS320C54X only. */
#define SEC_TIC54X_CLINK 0x20000000 #define SEC_TIC54X_CLINK 0x20000000
/* This section contains vliw code. This is for Toshiba MeP only. */
#define SEC_MEP_VLIW 0x20000000
/* Indicate that section has the no read flag set. This happens /* Indicate that section has the no read flag set. This happens
when memory read flag isn't set. */ when memory read flag isn't set. */
#define SEC_COFF_NOREAD 0x40000000 #define SEC_COFF_NOREAD 0x40000000
@ -1424,6 +1455,7 @@ typedef struct bfd_section
#define SEC_INFO_TYPE_EH_FRAME 3 #define SEC_INFO_TYPE_EH_FRAME 3
#define SEC_INFO_TYPE_JUST_SYMS 4 #define SEC_INFO_TYPE_JUST_SYMS 4
#define SEC_INFO_TYPE_TARGET 5 #define SEC_INFO_TYPE_TARGET 5
#define SEC_INFO_TYPE_EH_FRAME_ENTRY 6
/* Nonzero if this section uses RELA relocations, rather than REL. */ /* Nonzero if this section uses RELA relocations, rather than REL. */
unsigned int use_rela_p:1; unsigned int use_rela_p:1;
@ -1976,6 +2008,10 @@ enum bfd_architecture
#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl) #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_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) #define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl)
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_we32k, /* AT&T WE32xxx */
bfd_arch_tahoe, /* CCI/Harris Tahoe */ bfd_arch_tahoe, /* CCI/Harris Tahoe */
bfd_arch_i860, /* Intel 860 */ bfd_arch_i860, /* Intel 860 */
@ -2143,6 +2179,8 @@ enum bfd_architecture
#define bfd_mach_fr550 550 #define bfd_mach_fr550 550
bfd_arch_moxie, /* The moxie processor */ bfd_arch_moxie, /* The moxie processor */
#define bfd_mach_moxie 1 #define bfd_mach_moxie 1
bfd_arch_ft32, /* The ft32 processor */
#define bfd_mach_ft32 1
bfd_arch_mcore, bfd_arch_mcore,
bfd_arch_mep, bfd_arch_mep,
#define bfd_mach_mep 1 #define bfd_mach_mep 1
@ -2260,8 +2298,10 @@ enum bfd_architecture
bfd_arch_aarch64, /* AArch64 */ bfd_arch_aarch64, /* AArch64 */
#define bfd_mach_aarch64 0 #define bfd_mach_aarch64 0
#define bfd_mach_aarch64_ilp32 32 #define bfd_mach_aarch64_ilp32 32
bfd_arch_nios2, bfd_arch_nios2, /* Nios II */
#define bfd_mach_nios2 0 #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 #define bfd_mach_visium 1
bfd_arch_last bfd_arch_last
@ -3006,6 +3046,13 @@ to compensate for the borrow when the low bits are added. */
BFD_RELOC_MOXIE_10_PCREL, BFD_RELOC_MOXIE_10_PCREL,
/* FT32 ELF relocations. */
BFD_RELOC_FT32_10,
BFD_RELOC_FT32_20,
BFD_RELOC_FT32_17,
BFD_RELOC_FT32_18,
/* Fujitsu Frv Relocations. */ /* Fujitsu Frv Relocations. */
BFD_RELOC_FRV_LABEL16, BFD_RELOC_FRV_LABEL16,
BFD_RELOC_FRV_LABEL24, BFD_RELOC_FRV_LABEL24,
@ -4543,6 +4590,7 @@ number for the SBIC, SBIS, SBI and CBI instructions */
BFD_RELOC_RL78_HI8, BFD_RELOC_RL78_HI8,
BFD_RELOC_RL78_LO16, BFD_RELOC_RL78_LO16,
BFD_RELOC_RL78_CODE, BFD_RELOC_RL78_CODE,
BFD_RELOC_RL78_SADDR,
/* Renesas RX Relocations. */ /* Renesas RX Relocations. */
BFD_RELOC_RX_NEG8, BFD_RELOC_RX_NEG8,
@ -5309,6 +5357,19 @@ a matching LO8XG part. */
BFD_RELOC_NIOS2_GOT_HA, BFD_RELOC_NIOS2_GOT_HA,
BFD_RELOC_NIOS2_CALL_LO, BFD_RELOC_NIOS2_CALL_LO,
BFD_RELOC_NIOS2_CALL_HA, BFD_RELOC_NIOS2_CALL_HA,
BFD_RELOC_NIOS2_R2_S12,
BFD_RELOC_NIOS2_R2_I10_1_PCREL,
BFD_RELOC_NIOS2_R2_T1I7_1_PCREL,
BFD_RELOC_NIOS2_R2_T1I7_2,
BFD_RELOC_NIOS2_R2_T2I4,
BFD_RELOC_NIOS2_R2_T2I4_1,
BFD_RELOC_NIOS2_R2_T2I4_2,
BFD_RELOC_NIOS2_R2_X1I7_2,
BFD_RELOC_NIOS2_R2_X2L5,
BFD_RELOC_NIOS2_R2_F1I5_2,
BFD_RELOC_NIOS2_R2_L5I4X1,
BFD_RELOC_NIOS2_R2_T1X1I6,
BFD_RELOC_NIOS2_R2_T1X1I6_2,
/* IQ2000 Relocations. */ /* IQ2000 Relocations. */
BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_16,
@ -5695,12 +5756,25 @@ the GOT entry for this symbol. Used in conjunction with
BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */ BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */
BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, BFD_RELOC_AARCH64_LD32_GOT_LO12_NC,
/* Unsigned 15 bit byte offset for 64 bit load/store from the page of
the GOT entry for this symbol. Valid in ILP64 ABI only. */
BFD_RELOC_AARCH64_LD64_GOTOFF_LO15,
/* Scaled 14 bit byte offset to the page base of the global offset table. */
BFD_RELOC_AARCH64_LD32_GOTPAGE_LO14,
/* Scaled 15 bit byte offset to the page base of the global offset table. */
BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15,
/* Get to the page base of the global offset table entry for a symbols /* Get to the page base of the global offset table entry for a symbols
tls_index structure as part of an adrp instruction using a 21 bit PC tls_index structure as part of an adrp instruction using a 21 bit PC
relative value. Used in conjunction with relative value. Used in conjunction with
BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */
BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21, BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21,
/* AArch64 TLS General Dynamic */
BFD_RELOC_AARCH64_TLSGD_ADR_PREL21,
/* Unsigned 12 bit byte offset to global offset table entry for a symbols /* Unsigned 12 bit byte offset to global offset table entry for a symbols
tls_index structure. Used in conjunction with tls_index structure. Used in conjunction with
BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */
@ -6264,6 +6338,19 @@ enum bfd_direction
both_direction = 3 both_direction = 3
}; };
enum bfd_plugin_format
{
bfd_plugin_uknown = 0,
bfd_plugin_yes = 1,
bfd_plugin_no = 2
};
struct bfd_build_id
{
bfd_size_type size;
bfd_byte data[1];
};
struct bfd struct bfd
{ {
/* The filename the application opened the BFD with. */ /* The filename the application opened the BFD with. */
@ -6298,7 +6385,7 @@ struct bfd
ENUM_BITFIELD (bfd_direction) direction : 2; ENUM_BITFIELD (bfd_direction) direction : 2;
/* Format_specific flags. */ /* Format_specific flags. */
flagword flags : 17; flagword flags : 18;
/* Values that may appear in the flags field of a BFD. These also /* 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 appear in the object_flags field of the bfd_target structure, where
@ -6375,14 +6462,19 @@ struct bfd
/* BFD is a dummy, for plugins. */ /* BFD is a dummy, for plugins. */
#define BFD_PLUGIN 0x10000 #define BFD_PLUGIN 0x10000
/* Compress sections in this BFD with SHF_COMPRESSED from gABI. */
#define BFD_COMPRESS_GABI 0x20000
/* Flags bits to be saved in bfd_preserve_save. */ /* Flags bits to be saved in bfd_preserve_save. */
#define BFD_FLAGS_SAVED \ #define BFD_FLAGS_SAVED \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN) (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_PLUGIN \
| BFD_COMPRESS_GABI)
/* Flags bits which are for BFD use only. */ /* Flags bits which are for BFD use only. */
#define BFD_FLAGS_FOR_BFD_USE_MASK \ #define BFD_FLAGS_FOR_BFD_USE_MASK \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \ (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
| BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT) | BFD_PLUGIN | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT \
| BFD_COMPRESS_GABI)
/* Is the file descriptor being cached? That is, can it be closed as /* Is the file descriptor being cached? That is, can it be closed as
needed, and re-opened when accessed later? */ needed, and re-opened when accessed later? */
@ -6420,6 +6512,19 @@ struct bfd
/* Set if this is the linker output BFD. */ /* Set if this is the linker output BFD. */
unsigned int is_linker_output : 1; unsigned int is_linker_output : 1;
/* Set if this is the linker input BFD. */
unsigned int is_linker_input : 1;
/* If this is an input for a compiler plug-in library. */
ENUM_BITFIELD (bfd_plugin_format) plugin_format : 2;
/* Set if this is a plugin output file. */
unsigned int lto_output : 1;
/* Set to dummy BFD created when claimed by a compiler plug-in
library. */
bfd *plugin_dummy_bfd;
/* Currently my_archive is tested before adding origin to /* Currently my_archive is tested before adding origin to
anything. I believe that this can become always an add of anything. I believe that this can become always an add of
origin, with origin set to 0 for non archive files. */ origin, with origin set to 0 for non archive files. */
@ -6530,6 +6635,9 @@ struct bfd
struct objalloc *, but we use void * to avoid requiring the inclusion struct objalloc *, but we use void * to avoid requiring the inclusion
of objalloc.h. */ of objalloc.h. */
void *memory; void *memory;
/* For input BFDs, the build ID, if the object has one. */
const struct bfd_build_id *build_id;
}; };
/* See note beside bfd_set_section_userdata. */ /* See note beside bfd_set_section_userdata. */
@ -6742,6 +6850,15 @@ void bfd_emul_set_commonpagesize (const char *, bfd_vma);
char *bfd_demangle (bfd *, const char *, int); char *bfd_demangle (bfd *, const char *, int);
void bfd_update_compression_header
(bfd *abfd, bfd_byte *contents, asection *sec);
bfd_boolean bfd_check_compression_header
(bfd *abfd, bfd_byte *contents, asection *sec,
bfd_size_type *uncompressed_size);
int bfd_get_compression_header_size (bfd *abfd, asection *sec);
/* Extracted from archive.c. */ /* Extracted from archive.c. */
symindex bfd_get_next_mapent symindex bfd_get_next_mapent
(bfd *abfd, symindex previous, carsym **sym); (bfd *abfd, symindex previous, carsym **sym);
@ -7248,16 +7365,17 @@ bfd_byte *bfd_simple_get_relocated_section_contents
(bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table); (bfd *abfd, asection *sec, bfd_byte *outbuf, asymbol **symbol_table);
/* Extracted from compress.c. */ /* Extracted from compress.c. */
bfd_boolean bfd_compress_section_contents
(bfd *abfd, asection *section, bfd_byte *uncompressed_buffer,
bfd_size_type uncompressed_size);
bfd_boolean bfd_get_full_section_contents bfd_boolean bfd_get_full_section_contents
(bfd *abfd, asection *section, bfd_byte **ptr); (bfd *abfd, asection *section, bfd_byte **ptr);
void bfd_cache_section_contents void bfd_cache_section_contents
(asection *sec, void *contents); (asection *sec, void *contents);
bfd_boolean bfd_is_section_compressed_with_header
(bfd *abfd, asection *section,
int *compression_header_size_p,
bfd_size_type *uncompressed_size_p);
bfd_boolean bfd_is_section_compressed bfd_boolean bfd_is_section_compressed
(bfd *abfd, asection *section); (bfd *abfd, asection *section);
@ -7267,6 +7385,9 @@ bfd_boolean bfd_init_section_decompress_status
bfd_boolean bfd_init_section_compress_status bfd_boolean bfd_init_section_compress_status
(bfd *abfd, asection *section); (bfd *abfd, asection *section);
bfd_boolean bfd_compress_section
(bfd *abfd, asection *section, bfd_byte *uncompressed_buffer);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif

View File

@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
/* generated for arm--netbsdelf-eabi-gcc (NetBSD nb2 20150115) 4.8.5 */ /* generated for arm--netbsdelf-eabi-gcc (NetBSD nb1 20160317) 5.3.0 */
#ifndef GCC_GENERATED_STDINT_H #ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1 #define GCC_GENERATED_STDINT_H 1

View File

@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
#define BFD_VERSION_DATE 20150513 #define BFD_VERSION_DATE 20151205
#define BFD_VERSION 225510000 #define BFD_VERSION 225510000
#define BFD_VERSION_STRING "(GNU Binutils)" "2.25.51" #define BFD_VERSION_STRING "(GNU Binutils)" "2.25.51"
#define REPORT_BUGS_TO "<http://www.sourceware.org/bugzilla/>" #define REPORT_BUGS_TO "<http://www.sourceware.org/bugzilla/>"

View File

@ -22,6 +22,10 @@
/* Define to 1 if you have the <alloca.h> header file. */ /* Define to 1 if you have the <alloca.h> header file. */
/* #undef HAVE_ALLOCA_H */ /* #undef HAVE_ALLOCA_H */
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#define HAVE_DECL_ASPRINTF 1
/* Define to 1 if you have the declaration of `basename', and to 0 if you /* Define to 1 if you have the declaration of `basename', and to 0 if you
don't. */ don't. */
#define HAVE_DECL_BASENAME 0 #define HAVE_DECL_BASENAME 0
@ -77,6 +81,10 @@
*/ */
#define HAVE_DECL_STRSTR 1 #define HAVE_DECL_STRSTR 1
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
don't. */
#define HAVE_DECL_VASPRINTF 1
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you /* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */ don't. */
#define HAVE_DECL_VSNPRINTF 1 #define HAVE_DECL_VSNPRINTF 1
@ -267,15 +275,15 @@
/* Define to 1 if you have the <wchar.h> header file. */ /* Define to 1 if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1 #define HAVE_WCHAR_H 1
/* Define to 1 if you have the <wctype.h> header file. */
#define HAVE_WCTYPE_H 1
/* Define if <sys/procfs.h> has win32_pstatus_t. */ /* Define if <sys/procfs.h> has win32_pstatus_t. */
/* #undef HAVE_WIN32_PSTATUS_T */ /* #undef HAVE_WIN32_PSTATUS_T */
/* Define to 1 if you have the <windows.h> header file. */ /* Define to 1 if you have the <windows.h> header file. */
/* #undef HAVE_WINDOWS_H */ /* #undef HAVE_WINDOWS_H */
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
/* Define to the sub-directory in which libtool stores uninstalled libraries. /* Define to the sub-directory in which libtool stores uninstalled libraries.
*/ */
#define LT_OBJDIR ".libs/" #define LT_OBJDIR ".libs/"

View File

@ -21,6 +21,15 @@
#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
{ "aarch64-*-freebsd*",
&aarch64_elf64_le_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec) #if !defined (SELECT_VECS) || defined (HAVE_aarch64_elf64_le_vec)
{ "aarch64-*-linux*", { "aarch64-*-linux*",
@ -550,6 +559,14 @@
#if !defined (SELECT_VECS) || defined (HAVE_h8300_elf32_linux_vec)
{ "h8300*-*-linux*",
&h8300_elf32_linux_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_h8300_coff_vec) #if !defined (SELECT_VECS) || defined (HAVE_h8300_coff_vec)
{ "h8300*-*-*", { "h8300*-*-*",
@ -658,7 +675,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_i386_elf32_vec) #if !defined (SELECT_VECS) || defined (HAVE_i386_elf32_vec)
{ "i[3-7]86-*-sysv4*", NULL },{ "i[3-7]86-*-unixware*", NULL }, { "i[3-7]86-*-sysv4*", NULL },{ "i[3-7]86-*-unixware*", NULL },
{ "i[3-7]86-*-elf", NULL },{ "i[3-7]86-*-sco3.2v5*", NULL }, { "i[3-7]86-*-elf*", NULL },{ "i[3-7]86-*-sco3.2v5*", NULL },
{ "i[3-7]86-*-dgux*", NULL },{ "i[3-7]86-*-sysv5*", { "i[3-7]86-*-dgux*", NULL },{ "i[3-7]86-*-sysv5*",
&i386_elf32_vec }, &i386_elf32_vec },
#endif #endif
@ -709,6 +726,7 @@
#endif #endif
#if !defined (SELECT_VECS) || defined (HAVE_i386_elf32_vec) #if !defined (SELECT_VECS) || defined (HAVE_i386_elf32_vec)
{ "i[3-7]86-*-chorus*", { "i[3-7]86-*-chorus*",
@ -716,6 +734,7 @@
#endif #endif
#if !defined (SELECT_VECS) || defined (HAVE_i386_elf32_vec) #if !defined (SELECT_VECS) || defined (HAVE_i386_elf32_vec)
{ "i[3-7]86-*-dicos*", { "i[3-7]86-*-dicos*",
@ -724,6 +743,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_i386_coff_go32_vec) #if !defined (SELECT_VECS) || defined (HAVE_i386_coff_go32_vec)
{ "*-*-msdosdjgpp*", NULL },{ "*-*-go32*", { "*-*-msdosdjgpp*", NULL },{ "*-*-go32*",
@ -782,6 +802,7 @@
#if !defined (SELECT_VECS) || defined (HAVE_i386_aout_fbsd_vec) #if !defined (SELECT_VECS) || defined (HAVE_i386_aout_fbsd_vec)
{ "i[3-7]86-*-freebsdaout*", NULL },{ "i[3-7]86-*-freebsd[12].*", NULL }, { "i[3-7]86-*-freebsdaout*", NULL },{ "i[3-7]86-*-freebsd[12].*", NULL },
@ -874,6 +895,14 @@
#ifdef BFD64 #ifdef BFD64
#if !defined (SELECT_VECS) || defined (HAVE_x86_64_elf64_cloudabi_vec)
{ "x86_64-*-cloudabi*",
&x86_64_elf64_cloudabi_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_x86_64_mach_o_vec) #if !defined (SELECT_VECS) || defined (HAVE_x86_64_mach_o_vec)
{ "x86_64-*-darwin*", { "x86_64-*-darwin*",
@ -982,6 +1011,7 @@
#endif #endif
#if !defined (SELECT_VECS) || defined (HAVE_i386_aout_mach3_vec) #if !defined (SELECT_VECS) || defined (HAVE_i386_aout_mach3_vec)
{ "i[3-7]86-*-mach*", NULL },{ "i[3-7]86-*-osf1mk*", { "i[3-7]86-*-mach*", NULL },{ "i[3-7]86-*-osf1mk*",
@ -1488,28 +1518,7 @@
#ifdef BFD64
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_vec)
{ "mips*el-*-netbsd*",
&bfd_elf32_tradlittlemips_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradbigmips_vec)
{ "mips*-*-netbsd*",
&bfd_elf32_tradbigmips_vec },
#endif
#endif
#if !defined (SELECT_VECS) || defined (HAVE_mips_ecoff_le_vec) #if !defined (SELECT_VECS) || defined (HAVE_mips_ecoff_le_vec)
{ "mips*-dec-*", NULL },{ "mips*el-*-ecoff*", { "mips*-dec-*", NULL },{ "mips*el-*-ecoff*",
@ -1651,6 +1660,38 @@
#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_ntrad_le_vec)
{ "mips64*el-*-netbsd*",
&mips_elf32_ntrad_le_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_ntrad_be_vec)
{ "mips64*-*-netbsd*",
&mips_elf32_ntrad_be_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_trad_le_vec)
{ "mips*el-*-netbsd*",
&mips_elf32_trad_le_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_mips_elf32_trad_be_vec)
{ "mips*-*-netbsd*",
&mips_elf32_trad_be_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_mips_elf64_trad_be_vec) #if !defined (SELECT_VECS) || defined (HAVE_mips_elf64_trad_be_vec)
{ "mips64*-*-openbsd*", { "mips64*-*-openbsd*",
@ -2667,6 +2708,14 @@
#if !defined (SELECT_VECS) || defined (HAVE_ft32_elf32_vec)
{ "ft32*-*-*",
&ft32_elf32_vec },
#endif
#if !defined (SELECT_VECS) || defined (HAVE_v850_elf32_vec) #if !defined (SELECT_VECS) || defined (HAVE_v850_elf32_vec)
{ "v850*-*-*", { "v850*-*-*",

View File

@ -2,7 +2,7 @@
/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
/* generated for arm--netbsdelf-eabi-gcc (NetBSD nb2 20150115) 4.8.5 */ /* generated for arm--netbsdelf-eabi-gcc (NetBSD nb1 20160317) 5.3.0 */
#ifndef GCC_GENERATED_STDINT_H #ifndef GCC_GENERATED_STDINT_H
#define GCC_GENERATED_STDINT_H 1 #define GCC_GENERATED_STDINT_H 1

View File

@ -122,6 +122,9 @@
/* Define to 1 when the gnulib module strstr should be tested. */ /* Define to 1 when the gnulib module strstr should be tested. */
#define GNULIB_TEST_STRSTR 1 #define GNULIB_TEST_STRSTR 1
/* Define to 1 when the gnulib module strtok_r should be tested. */
#define GNULIB_TEST_STRTOK_R 1
/* Define to 1 if you have the `alarm' function. */ /* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1 #define HAVE_ALARM 1
@ -170,6 +173,10 @@
*/ */
#define HAVE_DECL_MEMMEM 1 #define HAVE_DECL_MEMMEM 1
/* Define to 1 if you have the declaration of `strtok_r', and to 0 if you
don't. */
#define HAVE_DECL_STRTOK_R 1
/* Define to 1 if you have the declaration of `towlower', and to 0 if you /* Define to 1 if you have the declaration of `towlower', and to 0 if you
don't. */ don't. */
/* #undef HAVE_DECL_TOWLOWER */ /* #undef HAVE_DECL_TOWLOWER */
@ -1067,6 +1074,9 @@
/* Define to 1 if you have the <string.h> header file. */ /* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1 #define HAVE_STRING_H 1
/* Define to 1 if you have the `strtok_r' function. */
#define HAVE_STRTOK_R 1
/* Define to 1 if you have the `symlink' function. */ /* Define to 1 if you have the `symlink' function. */
#define HAVE_SYMLINK 1 #define HAVE_SYMLINK 1

View File

@ -90,6 +90,17 @@
you don't. */ you don't. */
#define HAVE_DECL_ADDR_NO_RANDOMIZE 0 #define HAVE_DECL_ADDR_NO_RANDOMIZE 0
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#define HAVE_DECL_ASPRINTF 1
/* Define to 1 if you have the declaration of `basename(char *)', and to 0 if
you don't. */
#define HAVE_DECL_BASENAME 0
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
#define HAVE_DECL_FFS 1
/* Define to 1 if you have the declaration of `free', and to 0 if you don't. /* Define to 1 if you have the declaration of `free', and to 0 if you don't.
*/ */
#define HAVE_DECL_FREE 1 #define HAVE_DECL_FREE 1
@ -122,6 +133,34 @@
*/ */
#define HAVE_DECL_STRSTR 1 #define HAVE_DECL_STRSTR 1
/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
*/
#define HAVE_DECL_STRTOL 1
/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
don't. */
#define HAVE_DECL_STRTOLL 1
/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
don't. */
#define HAVE_DECL_STRTOUL 1
/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
don't. */
#define HAVE_DECL_STRTOULL 1
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
don't. */
#define HAVE_DECL_STRVERSCMP 0
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
don't. */
#define HAVE_DECL_VASPRINTF 1
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */
#define HAVE_DECL_VSNPRINTF 1
/* Define to 1 if you have the <dlfcn.h> header file. */ /* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1 #define HAVE_DLFCN_H 1
@ -143,6 +182,9 @@
/* Define if <sys/procfs.h> has fpregset_t. */ /* Define if <sys/procfs.h> has fpregset_t. */
/* #undef HAVE_FPREGSET_T */ /* #undef HAVE_FPREGSET_T */
/* Define to 1 if you have the `getauxval' function. */
/* #undef HAVE_GETAUXVAL */
/* Define to 1 if you have the `getgid' function. */ /* Define to 1 if you have the `getgid' function. */
#define HAVE_GETGID 1 #define HAVE_GETGID 1
@ -164,6 +206,9 @@
/* Define if Guile interpreter is being linked in. */ /* Define if Guile interpreter is being linked in. */
/* #undef HAVE_GUILE */ /* #undef HAVE_GUILE */
/* Define if Guile supports manual finalization. */
/* #undef HAVE_GUILE_MANUAL_FINALIZATION */
/* Define if you have the iconv() function. */ /* Define if you have the iconv() function. */
#define HAVE_ICONV 1 #define HAVE_ICONV 1
@ -173,6 +218,9 @@
/* Define to 1 if you have the <inttypes.h> header file. */ /* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1 #define HAVE_INTTYPES_H 1
/* Define to 1 if your system has the kinfo_getvmmap function. */
#define HAVE_KINFO_GETVMMAP 1
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
#define HAVE_LANGINFO_CODESET 1 #define HAVE_LANGINFO_CODESET 1
@ -191,6 +239,9 @@
/* Define to 1 if you have the `libiconvlist' function. */ /* Define to 1 if you have the `libiconvlist' function. */
/* #undef HAVE_LIBICONVLIST */ /* #undef HAVE_LIBICONVLIST */
/* Define if you have the ipt library. */
/* #undef HAVE_LIBIPT */
/* Define if you have the lzma library. */ /* Define if you have the lzma library. */
/* #undef HAVE_LIBLZMA */ /* #undef HAVE_LIBLZMA */
@ -227,6 +278,9 @@
/* Define to 1 if the compiler supports long double. */ /* Define to 1 if the compiler supports long double. */
#define HAVE_LONG_DOUBLE 1 #define HAVE_LONG_DOUBLE 1
/* Define to 1 if the system has the type `long long'. */
#define HAVE_LONG_LONG 1
/* Define if <sys/procfs.h> has lwpid_t. */ /* Define if <sys/procfs.h> has lwpid_t. */
/* #undef HAVE_LWPID_T */ /* #undef HAVE_LWPID_T */
@ -344,6 +398,9 @@
/* Define to 1 if you have the `setlocale' function. */ /* Define to 1 if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1 #define HAVE_SETLOCALE 1
/* Define to 1 if you have the `setns' function. */
/* #undef HAVE_SETNS */
/* Define to 1 if you have the `setpgid' function. */ /* Define to 1 if you have the `setpgid' function. */
#define HAVE_SETPGID 1 #define HAVE_SETPGID 1
@ -536,9 +593,6 @@
/* Define to 1 if you have the `XML_StopParser' function. */ /* Define to 1 if you have the `XML_StopParser' function. */
/* #undef HAVE_XML_STOPPARSER */ /* #undef HAVE_XML_STOPPARSER */
/* Define to 1 if you have the <zlib.h> header file. */
#define HAVE_ZLIB_H 1
/* Define to 1 if your system has the _etext variable. */ /* Define to 1 if your system has the _etext variable. */
#define HAVE__ETEXT 1 #define HAVE__ETEXT 1
@ -637,6 +691,9 @@
/* The size of `long', as computed by sizeof. */ /* The size of `long', as computed by sizeof. */
/* #undef SIZEOF_LONG */ /* #undef SIZEOF_LONG */
/* The size of `long long', as computed by sizeof. */
#define SIZEOF_LONG_LONG 8
/* The size of `unsigned long', as computed by sizeof. */ /* The size of `unsigned long', as computed by sizeof. */
#define SIZEOF_UNSIGNED_LONG 4 #define SIZEOF_UNSIGNED_LONG 4

View File

@ -2,6 +2,6 @@
# Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp # Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp
# Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp # Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp
# #
G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral G_INTERNAL_CFLAGS= -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib/import -Ibuild-gnulib/import -DTUI=1 -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wpointer-sign -Wmissing-prototypes -Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral
G_LIBGDB_OBS=arm-tdep.o armnbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o corelow.o nbsd-nat.o armnbsd-nat.o bsd-kvm.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o tracefile.o tracefile-tfile.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o guile.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symfile-debug.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o extension.o filesystem.o filestuff.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o target-dcache.o parse.o language.o build-id.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o c-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o waitstatus.o print-utils.o rsp-low.o errors.o common-debug.o debug.o common-exceptions.o compile.o compile-c-symbols.o compile-c-types.o compile-object-load.o compile-object-run.o compile-loc2c.o compile-c-support.o inflow.o init.o G_LIBGDB_OBS=arm-tdep.o armnbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o corelow.o nbsd-nat.o armnbsd-nat.o bsd-kvm.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.o tracefile.o tracefile-tfile.o cli-dump.o cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-logging.o cli-interp.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-catch.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-cmd-target.o mi-cmd-info.o mi-interp.o mi-main.o mi-parse.o mi-getopt.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o tui.o python.o guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o c-exp.o cp-name-parser.o ada-exp.o jv-exp.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o version.o annotate.o addrmap.o auto-load.o auxv.o agent.o bfd-target.o blockframe.o breakpoint.o break-catch-sig.o break-catch-throw.o break-catch-syscall.o findvar.o regcache.o cleanups.o charset.o continuations.o corelow.o disasm.o dummy-frame.o dfp.o source.o value.o eval.o valops.o valarith.o valprint.o printcmd.o block.o symtab.o psymtab.o symfile.o symfile-debug.o symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o extension.o filesystem.o filestuff.o inf-child.o interps.o minidebug.o main.o macrotab.o macrocmd.o macroexp.o macroscope.o mi-common.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbtypes.o gdb_bfd.o gdb_obstack.o osabi.o copying.o memattr.o mem-break.o target.o target-dcache.o parse.o language.o build-id.o buildsym.o findcmd.o std-regs.o signals.o exec.o reverse.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr.o dwarf2loc.o dwarf2-frame.o dwarf2-frame-tailcall.o ada-lang.o c-lang.o d-lang.o f-lang.o objc-lang.o ada-tasks.o ada-varobj.o c-varobj.o ui-out.o cli-out.o varobj.o vec.o go-lang.o go-valprint.o go-typeprint.o jv-lang.o jv-valprint.o jv-typeprint.o jv-varobj.o m2-lang.o opencl-lang.o p-lang.o p-typeprint.o p-valprint.o sentinel-frame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-typeprint.o ada-valprint.o c-valprint.o cp-valprint.o d-valprint.o f-valprint.o m2-valprint.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame-unwind.o doublest.o frame-base.o inline-frame.o gnu-v2-abi.o gnu-v3-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o trad-frame.o tramp-frame.o solib.o solib-target.o prologue-value.o memory-map.o memrange.o xml-support.o xml-syscall.o xml-utils.o target-descriptions.o target-memory.o xml-tdesc.o xml-builtin.o inferior.o osdata.o gdb_usleep.o record.o record-full.o gcore.o gdb_vecs.o jit.o progspace.o skip.o probe.o common-utils.o buffer.o ptid.o gdb-dlfcn.o common-agent.o format.o registry.o btrace.o record-btrace.o waitstatus.o print-utils.o rsp-low.o errors.o common-debug.o debug.o common-exceptions.o btrace-common.o fileio.o compile.o compile-c-symbols.o compile-c-types.o compile-object-load.o compile-object-run.o compile-loc2c.o compile-c-support.o inflow.o init.o
G_SIM_OBS= G_SIM_OBS=

View File

@ -27,6 +27,7 @@ extern initialize_file_ftype _initialize_tracefile;
extern initialize_file_ftype _initialize_tracefile_tfile; extern initialize_file_ftype _initialize_tracefile_tfile;
extern initialize_file_ftype _initialize_elfread; extern initialize_file_ftype _initialize_elfread;
extern initialize_file_ftype _initialize_stap_probe; extern initialize_file_ftype _initialize_stap_probe;
extern initialize_file_ftype _initialize_dtrace_probe;
extern initialize_file_ftype _initialize_annotate; extern initialize_file_ftype _initialize_annotate;
extern initialize_file_ftype _initialize_addrmap; extern initialize_file_ftype _initialize_addrmap;
extern initialize_file_ftype _initialize_auto_load; extern initialize_file_ftype _initialize_auto_load;
@ -35,6 +36,7 @@ extern initialize_file_ftype _initialize_agent;
extern initialize_file_ftype _initialize_breakpoint; extern initialize_file_ftype _initialize_breakpoint;
extern initialize_file_ftype _initialize_break_catch_sig; extern initialize_file_ftype _initialize_break_catch_sig;
extern initialize_file_ftype _initialize_break_catch_throw; extern initialize_file_ftype _initialize_break_catch_throw;
extern initialize_file_ftype _initialize_break_catch_syscall;
extern initialize_file_ftype _initialize_regcache; extern initialize_file_ftype _initialize_regcache;
extern initialize_file_ftype _initialize_charset; extern initialize_file_ftype _initialize_charset;
extern initialize_file_ftype _initialize_dummy_frame; extern initialize_file_ftype _initialize_dummy_frame;
@ -59,6 +61,7 @@ extern initialize_file_ftype _initialize_filesystem;
extern initialize_file_ftype _initialize_interpreter; extern initialize_file_ftype _initialize_interpreter;
extern initialize_file_ftype _initialize_macrocmd; extern initialize_file_ftype _initialize_macrocmd;
extern initialize_file_ftype _initialize_macroscope; extern initialize_file_ftype _initialize_macroscope;
extern initialize_file_ftype _initialize_completer;
extern initialize_file_ftype _initialize_gdbarch; extern initialize_file_ftype _initialize_gdbarch;
extern initialize_file_ftype _initialize_gdbarch_utils; extern initialize_file_ftype _initialize_gdbarch_utils;
extern initialize_file_ftype _initialize_gdb_bfd; extern initialize_file_ftype _initialize_gdb_bfd;
@ -130,6 +133,7 @@ extern initialize_file_ftype _initialize_gcore;
extern initialize_file_ftype _initialize_jit; extern initialize_file_ftype _initialize_jit;
extern initialize_file_ftype _initialize_step_skip; extern initialize_file_ftype _initialize_step_skip;
extern initialize_file_ftype _initialize_probe; extern initialize_file_ftype _initialize_probe;
extern initialize_file_ftype _initialize_btrace;
extern initialize_file_ftype _initialize_record_btrace; extern initialize_file_ftype _initialize_record_btrace;
extern initialize_file_ftype _initialize_inflow; extern initialize_file_ftype _initialize_inflow;
extern initialize_file_ftype _initialize_cli_dump; extern initialize_file_ftype _initialize_cli_dump;
@ -148,6 +152,7 @@ extern initialize_file_ftype _initialize_tui_out;
extern initialize_file_ftype _initialize_tui_regs; extern initialize_file_ftype _initialize_tui_regs;
extern initialize_file_ftype _initialize_tui_stack; extern initialize_file_ftype _initialize_tui_stack;
extern initialize_file_ftype _initialize_tui_win; extern initialize_file_ftype _initialize_tui_win;
extern initialize_file_ftype _initialize_tui;
extern initialize_file_ftype _initialize_python; extern initialize_file_ftype _initialize_python;
extern initialize_file_ftype _initialize_guile; extern initialize_file_ftype _initialize_guile;
extern initialize_file_ftype _initialize_compile; extern initialize_file_ftype _initialize_compile;
@ -175,6 +180,7 @@ initialize_all_files (void)
_initialize_tracefile_tfile (); _initialize_tracefile_tfile ();
_initialize_elfread (); _initialize_elfread ();
_initialize_stap_probe (); _initialize_stap_probe ();
_initialize_dtrace_probe ();
_initialize_annotate (); _initialize_annotate ();
_initialize_addrmap (); _initialize_addrmap ();
_initialize_auto_load (); _initialize_auto_load ();
@ -183,6 +189,7 @@ initialize_all_files (void)
_initialize_breakpoint (); _initialize_breakpoint ();
_initialize_break_catch_sig (); _initialize_break_catch_sig ();
_initialize_break_catch_throw (); _initialize_break_catch_throw ();
_initialize_break_catch_syscall ();
_initialize_regcache (); _initialize_regcache ();
_initialize_charset (); _initialize_charset ();
_initialize_dummy_frame (); _initialize_dummy_frame ();
@ -207,6 +214,7 @@ initialize_all_files (void)
_initialize_interpreter (); _initialize_interpreter ();
_initialize_macrocmd (); _initialize_macrocmd ();
_initialize_macroscope (); _initialize_macroscope ();
_initialize_completer ();
_initialize_gdbarch (); _initialize_gdbarch ();
_initialize_gdbarch_utils (); _initialize_gdbarch_utils ();
_initialize_gdb_bfd (); _initialize_gdb_bfd ();
@ -278,6 +286,7 @@ initialize_all_files (void)
_initialize_jit (); _initialize_jit ();
_initialize_step_skip (); _initialize_step_skip ();
_initialize_probe (); _initialize_probe ();
_initialize_btrace ();
_initialize_record_btrace (); _initialize_record_btrace ();
_initialize_inflow (); _initialize_inflow ();
_initialize_cli_dump (); _initialize_cli_dump ();
@ -296,6 +305,7 @@ initialize_all_files (void)
_initialize_tui_regs (); _initialize_tui_regs ();
_initialize_tui_stack (); _initialize_tui_stack ();
_initialize_tui_win (); _initialize_tui_win ();
_initialize_tui ();
_initialize_python (); _initialize_python ();
_initialize_guile (); _initialize_guile ();
_initialize_compile (); _initialize_compile ();

View File

@ -3,6 +3,6 @@
/* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */ /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp */
#include "version.h" #include "version.h"
const char version[] = "7.9.1"; const char version[] = "7.10.1";
const char host_name[] = "arm--netbsdelf-eabi"; const char host_name[] = "arm--netbsdelf-eabi";
const char target_name[] = "arm--netbsdelf-eabi"; const char target_name[] = "arm--netbsdelf-eabi";

View File

@ -725,7 +725,8 @@ static const char xml_feature_btrace_dtd[] = {
'\n', '\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ', '<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'b', 't', 'r', 'a', 'c', 'e', ' ', ' ', '(', 'b', 'b', 't', 'r', 'a', 'c', 'e', ' ', ' ', '(', 'b',
'l', 'o', 'c', 'k', ')', '*', ' ', '>', '\n', 'l', 'o', 'c', 'k', '*', ' ', '|', ' ', 'p', 't',
')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'b', 't', 'r', 'a', 'c', 'e', ' ', ' ', 'v', 'e', 'b', 't', 'r', 'a', 'c', 'e', ' ', ' ', 'v', 'e',
'r', 's', 'i', 'o', 'n', ' ', 'C', 'D', 'A', 'T', 'r', 's', 'i', 'o', 'n', ' ', 'C', 'D', 'A', 'T',
@ -745,9 +746,102 @@ static const char xml_feature_btrace_dtd[] = {
' ', ' ', ' ', 'e', 'n', 'd', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 'e', 'n', 'd', ' ', ' ', ' ', ' ',
'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R',
'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'p', 't', ' ', '(', 'p', 't', '-', 'c', 'o', 'n',
'f', 'i', 'g', '?', ',', ' ', 'r', 'a', 'w', '?',
')', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'p', 't', '-', 'c', 'o', 'n', 'f', 'i', 'g', ' ',
'(', 'c', 'p', 'u', '?', ')', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'c', 'p', 'u', ' ', 'E', 'M', 'P', 'T', 'Y', '>',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'c', 'p', 'u', ' ', 'v', 'e', 'n', 'd', 'o', 'r',
' ', ' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#',
'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\n',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'f', 'a', 'm', 'i', 'l', 'y',
' ', ' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#',
'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\n',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 'm', 'o', 'd', 'e', 'l', ' ',
' ', ' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#',
'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '\n',
' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ',
' ', ' ', ' ', ' ', 's', 't', 'e', 'p', 'p', 'i',
'n', 'g', ' ', 'C', 'D', 'A', 'T', 'A', ' ', '#',
'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'r', 'a', 'w', ' ', '(', '#', 'P', 'C', 'D', 'A',
'T', 'A', ')', '>', '\n',
0 };
static const char xml_feature_btrace_conf_dtd[] = {
'<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r',
'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2',
'0', '1', '3', '-', '2', '0', '1', '5', ' ', 'F',
'r', 'e', 'e', ' ', 'S', 'o', 'f', 't', 'w', 'a',
'r', 'e', ' ', 'F', 'o', 'u', 'n', 'd', 'a', 't',
'i', 'o', 'n', ',', ' ', 'I', 'n', 'c', '.', '\n',
'\n',
' ', ' ', ' ', ' ', ' ', 'C', 'o', 'p', 'y', 'i',
'n', 'g', ' ', 'a', 'n', 'd', ' ', 'd', 'i', 's',
't', 'r', 'i', 'b', 'u', 't', 'i', 'o', 'n', ' ',
'o', 'f', ' ', 't', 'h', 'i', 's', ' ', 'f', 'i',
'l', 'e', ',', ' ', 'w', 'i', 't', 'h', ' ', 'o',
'r', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't', ' ',
'm', 'o', 'd', 'i', 'f', 'i', 'c', 'a', 't', 'i',
'o', 'n', ',', '\n',
' ', ' ', ' ', ' ', ' ', 'a', 'r', 'e', ' ', 'p',
'e', 'r', 'm', 'i', 't', 't', 'e', 'd', ' ', 'i',
'n', ' ', 'a', 'n', 'y', ' ', 'm', 'e', 'd', 'i',
'u', 'm', ' ', 'w', 'i', 't', 'h', 'o', 'u', 't',
' ', 'r', 'o', 'y', 'a', 'l', 't', 'y', ' ', 'p',
'r', 'o', 'v', 'i', 'd', 'e', 'd', ' ', 't', 'h',
'e', ' ', 'c', 'o', 'p', 'y', 'r', 'i', 'g', 'h',
't', '\n',
' ', ' ', ' ', ' ', ' ', 'n', 'o', 't', 'i', 'c',
'e', ' ', 'a', 'n', 'd', ' ', 't', 'h', 'i', 's',
' ', 'n', 'o', 't', 'i', 'c', 'e', ' ', 'a', 'r',
'e', ' ', 'p', 'r', 'e', 's', 'e', 'r', 'v', 'e',
'd', '.', ' ', ' ', '-', '-', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'b', 't', 'r', 'a', 'c', 'e', '-', 'c', 'o', 'n',
'f', '\011', '(', 'b', 't', 's', '?', ',', ' ', 'p',
't', '?', ')', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'b', 't', 'r', 'a', 'c', 'e', '-', 'c', 'o', 'n',
'f', '\011', 'v', 'e', 'r', 's', 'i', 'o', 'n', '\011',
'C', 'D', 'A', 'T', 'A', '\011', '#', 'F', 'I', 'X',
'E', 'D', ' ', '"', '1', '.', '0', '"', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'b', 't', 's', '\011', 'E', 'M', 'P', 'T', 'Y', '>',
'\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'b', 't', 's', '\011', 's', 'i', 'z', 'e', '\011', 'C',
'D', 'A', 'T', 'A', '\011', '#', 'I', 'M', 'P', 'L',
'I', 'E', 'D', '>', '\n',
'\n',
'<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ',
'p', 't', '\011', 'E', 'M', 'P', 'T', 'Y', '>', '\n',
'<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ',
'p', 't', '\011', 's', 'i', 'z', 'e', '\011', 'C', 'D',
'A', 'T', 'A', '\011', '#', 'I', 'M', 'P', 'L', 'I',
'E', 'D', '>', '\n',
0 }; 0 };
const char *const xml_builtin[][2] = { #ifdef __cplusplus
# define EXPORTED_CONST extern const
#else
# define EXPORTED_CONST const
#endif
EXPORTED_CONST char *const xml_builtin[][2] = {
{ "gdb-target.dtd", xml_feature_gdb_target_dtd }, { "gdb-target.dtd", xml_feature_gdb_target_dtd },
{ "xinclude.dtd", xml_feature_xinclude_dtd }, { "xinclude.dtd", xml_feature_xinclude_dtd },
{ "library-list.dtd", xml_feature_library_list_dtd }, { "library-list.dtd", xml_feature_library_list_dtd },
@ -757,5 +851,6 @@ const char *const xml_builtin[][2] = {
{ "threads.dtd", xml_feature_threads_dtd }, { "threads.dtd", xml_feature_threads_dtd },
{ "traceframe-info.dtd", xml_feature_traceframe_info_dtd }, { "traceframe-info.dtd", xml_feature_traceframe_info_dtd },
{ "btrace.dtd", xml_feature_btrace_dtd }, { "btrace.dtd", xml_feature_btrace_dtd },
{ "btrace-conf.dtd", xml_feature_btrace_conf_dtd },
{ 0, 0 } { 0, 0 }
}; };

View File

@ -490,6 +490,28 @@
/* Define to an unsigned 64-bit type available in the compiler. */ /* Define to an unsigned 64-bit type available in the compiler. */
#define UNSIGNED_64BIT_TYPE uint64_t #define UNSIGNED_64BIT_TYPE uint64_t
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# define _ALL_SOURCE 1
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# define _GNU_SOURCE 1
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# define _POSIX_PTHREAD_SEMANTICS 1
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# define _TANDEM_SOURCE 1
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# define __EXTENSIONS__ 1
#endif
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */ significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD #if defined AC_APPLE_UNIVERSAL_BUILD
@ -508,6 +530,16 @@
/* Define for large files, on AIX-style hosts. */ /* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */ /* #undef _LARGE_FILES */
/* Define to 1 if on MINIX. */
/* #undef _MINIX */
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
/* #undef _POSIX_1_SOURCE */
/* Define to 1 if you need to in order for `stat' and other things to work. */
/* #undef _POSIX_SOURCE */
/* Define to empty if `const' does not conform to ANSI C. */ /* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */ /* #undef const */