From 4b6daa28d5e1528271e03597ddb9fb1938d3f759 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 23 Jun 2014 02:34:33 +0000 Subject: [PATCH] regen sh3el --- .../gpl3/gdb/lib/libbfd/arch/sh3el/bfd-in3.h | 666 +++++++++++++----- external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd.h | 666 +++++++++++++----- .../gdb/lib/libbfd/arch/sh3el/bfd_stdint.h | 6 +- .../gpl3/gdb/lib/libbfd/arch/sh3el/bfdver.h | 10 +- .../gpl3/gdb/lib/libbfd/arch/sh3el/config.h | 19 +- .../gdb/lib/libbfd/arch/sh3el/targmatch.h | 89 +-- .../gdb/lib/libdecnumber/arch/sh3el/gstdint.h | 6 +- .../libgdb/arch/sh3el/build-gnulib/config.h | 564 ++++++++++++++- .../gpl3/gdb/lib/libgdb/arch/sh3el/config.h | 85 +-- .../gpl3/gdb/lib/libgdb/arch/sh3el/defs.mk | 8 +- .../gpl3/gdb/lib/libgdb/arch/sh3el/init.c | 22 +- .../gdb/lib/libgdb/arch/sh3el/jit-reader.h | 6 +- .../gpl3/gdb/lib/libgdb/arch/sh3el/observer.h | 14 +- .../gdb/lib/libgdb/arch/sh3el/observer.inc | 45 +- .../gpl3/gdb/lib/libgdb/arch/sh3el/version.c | 6 +- .../gdb/lib/libgdb/arch/sh3el/xml-builtin.c | 127 +++- .../gdb/lib/libiberty/arch/sh3el/config.h | 6 +- .../gpl3/gdb/lib/libiberty/arch/sh3el/defs.mk | 6 +- .../gdb/lib/libopcodes/arch/sh3el/config.h | 6 +- 19 files changed, 1855 insertions(+), 502 deletions(-) diff --git a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd-in3.h b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd-in3.h index a03d7322f26c..7df672416613 100644 --- a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd-in3.h +++ b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd-in3.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c", @@ -11,9 +11,7 @@ /* Main header file for the bfd library -- portable access to object files. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, - 2012 Free Software Foundation, Inc. + Copyright 1990-2013 Free Software Foundation, Inc. Contributed by Cygnus Support. @@ -305,9 +303,6 @@ typedef struct bfd_section *sec_ptr; #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) -#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) -#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE) /* Find the address one past the end of SEC. */ #define bfd_get_section_limit(bfd, sec) \ (((bfd)->direction != write_direction && (sec)->rawsize != 0 \ @@ -530,8 +525,6 @@ extern void warn_deprecated (const char *, const char *, int, const char *); #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char) -#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE) - extern bfd_boolean bfd_cache_close (bfd *abfd); /* NB: This declaration should match the autogenerated one in libbfd.h. */ @@ -922,7 +915,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 *), void (*) (void)); + struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int), + void (*) (void)); extern bfd_boolean elf32_arm_build_stubs (struct bfd_link_info *); @@ -944,7 +938,13 @@ extern unsigned int _bfd_elf_ppc_at_tprel_transform extern void bfd_elf64_aarch64_init_maps (bfd *); -void bfd_elf64_aarch64_set_options +extern void bfd_elf32_aarch64_init_maps + (bfd *); + +extern void bfd_elf64_aarch64_set_options + (bfd *, struct bfd_link_info *, int, int, int); + +extern void bfd_elf32_aarch64_set_options (bfd *, struct bfd_link_info *, int, int, int); /* ELF AArch64 mapping symbol support. */ @@ -955,7 +955,7 @@ void bfd_elf64_aarch64_set_options extern bfd_boolean bfd_is_aarch64_special_symbol_name (const char * name, int type); -/* AArch64 stub generation support. Called from the linker. */ +/* AArch64 stub generation support for ELF64. Called from the linker. */ extern int elf64_aarch64_setup_section_lists (bfd *, struct bfd_link_info *); extern void elf64_aarch64_next_input_section @@ -966,6 +966,18 @@ extern bfd_boolean elf64_aarch64_size_stubs void (*) (void)); extern bfd_boolean elf64_aarch64_build_stubs (struct bfd_link_info *); +/* AArch64 stub generation support for ELF32. Called from the linker. */ +extern int elf32_aarch64_setup_section_lists + (bfd *, struct bfd_link_info *); +extern void elf32_aarch64_next_input_section + (struct bfd_link_info *, struct bfd_section *); +extern bfd_boolean elf32_aarch64_size_stubs + (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, + struct bfd_section * (*) (const char *, struct bfd_section *), + void (*) (void)); +extern bfd_boolean elf32_aarch64_build_stubs + (struct bfd_link_info *); + /* TI COFF load page support. */ extern void bfd_ticoff_set_section_load_page @@ -1002,9 +1014,8 @@ struct coff_comdat_info long symbol; }; -extern struct coff_comdat_info *bfd_coff_get_comdat_section +extern struct coff_comdat_info * bfd_coff_get_comdat_section (bfd *, struct bfd_section *); - /* Extracted from init.c. */ void bfd_init (void); @@ -1017,7 +1028,7 @@ bfd *bfd_openr (const char *filename, const char *target); bfd *bfd_fdopenr (const char *filename, const char *target, int fd); -bfd *bfd_openstreamr (const char *, const char *, void *); +bfd *bfd_openstreamr (const char * filename, const char * target, void * stream); bfd *bfd_openr_iovec (const char *filename, const char *target, void *(*open_func) (struct bfd *nbfd, @@ -1053,8 +1064,16 @@ void *bfd_zalloc (bfd *abfd, bfd_size_type wanted); unsigned long bfd_calc_gnu_debuglink_crc32 (unsigned long crc, const unsigned char *buf, bfd_size_type len); +char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out); + +char *bfd_get_alt_debug_link_info (bfd * abfd, + bfd_size_type *buildid_len, + bfd_byte **buildid_out); + char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir); +char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir); + struct bfd_section *bfd_create_gnu_debuglink_section (bfd *abfd, const char *filename); @@ -1576,6 +1595,32 @@ struct relax_table { int size; }; +/* Note: the following are provided as inline functions rather than macros + because not all callers use the return value. A macro implementation + would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some + compilers will complain about comma expressions that have no effect. */ +static inline bfd_boolean +bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, void * val) +{ + ptr->userdata = val; + return TRUE; +} + +static inline bfd_boolean +bfd_set_section_vma (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, bfd_vma val) +{ + ptr->vma = ptr->lma = val; + ptr->user_set_vma = TRUE; + return TRUE; +} + +static inline bfd_boolean +bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, unsigned int val) +{ + ptr->alignment_power = val; + return TRUE; +} + /* These sections are global, and are managed by BFD. The application and target back end are not permitted to change the values in these sections. */ @@ -1935,6 +1980,10 @@ enum bfd_architecture bfd_arch_k1om, /* Intel K1OM */ #define bfd_mach_k1om (1 << 6) #define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax) +#define bfd_mach_i386_nacl (1 << 7) +#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl) +#define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl) +#define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl) bfd_arch_we32k, /* AT&T WE32xxx */ bfd_arch_tahoe, /* CCI/Harris Tahoe */ bfd_arch_i860, /* Intel 860 */ @@ -2049,6 +2098,12 @@ enum bfd_architecture #define bfd_mach_arm_ep9312 11 #define bfd_mach_arm_iWMMXt 12 #define bfd_mach_arm_iWMMXt2 13 + bfd_arch_nds32, /* Andes NDS32 */ +#define bfd_mach_n1 1 +#define bfd_mach_n1h 2 +#define bfd_mach_n1h_v2 3 +#define bfd_mach_n1h_v3 4 +#define bfd_mach_n1h_v3m 5 bfd_arch_ns32k, /* National Semiconductors ns32000 */ bfd_arch_w65, /* WDC 65816 */ bfd_arch_tic30, /* Texas Instruments TMS320C30 */ @@ -2172,7 +2227,12 @@ enum bfd_architecture #define bfd_mach_msp14 14 #define bfd_mach_msp15 15 #define bfd_mach_msp16 16 +#define bfd_mach_msp20 20 #define bfd_mach_msp21 21 +#define bfd_mach_msp22 22 +#define bfd_mach_msp23 23 +#define bfd_mach_msp24 24 +#define bfd_mach_msp26 26 #define bfd_mach_msp31 31 #define bfd_mach_msp32 32 #define bfd_mach_msp33 33 @@ -2180,6 +2240,10 @@ enum bfd_architecture #define bfd_mach_msp42 42 #define bfd_mach_msp43 43 #define bfd_mach_msp44 44 +#define bfd_mach_msp430x 45 +#define bfd_mach_msp46 46 +#define bfd_mach_msp47 47 +#define bfd_mach_msp54 54 bfd_arch_xc16x, /* Infineon's XC16X Series. */ #define bfd_mach_xc16x 1 #define bfd_mach_xc16xl 2 @@ -2203,6 +2267,7 @@ enum bfd_architecture #define bfd_mach_tilegx32 2 bfd_arch_aarch64, /* AArch64 */ #define bfd_mach_aarch64 0 +#define bfd_mach_aarch64_ilp32 32 bfd_arch_nios2, #define bfd_mach_nios2 0 bfd_arch_last @@ -2926,6 +2991,7 @@ to compensate for the borrow when the low bits are added. */ BFD_RELOC_MICROMIPS_TLS_TPREL_HI16, BFD_RELOC_MIPS_TLS_TPREL_LO16, BFD_RELOC_MICROMIPS_TLS_TPREL_LO16, + BFD_RELOC_MIPS_EH, /* MIPS ELF relocations (VxWorks and PLT extensions). */ @@ -3090,6 +3156,8 @@ instruction. */ BFD_RELOC_X86_64_TLSDESC_CALL, BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_IRELATIVE, + BFD_RELOC_X86_64_PC32_BND, + BFD_RELOC_X86_64_PLT32_BND, /* ns32k relocations */ BFD_RELOC_NS32K_IMM_8, @@ -3188,6 +3256,8 @@ instruction. */ BFD_RELOC_PPC64_TOC16_LO_DS, BFD_RELOC_PPC64_PLTGOT16_DS, BFD_RELOC_PPC64_PLTGOT16_LO_DS, + BFD_RELOC_PPC64_ADDR16_HIGH, + BFD_RELOC_PPC64_ADDR16_HIGHA, /* PowerPC and PowerPC64 thread-local storage relocations. */ BFD_RELOC_PPC_TLS, @@ -3232,6 +3302,10 @@ instruction. */ BFD_RELOC_PPC64_DTPREL16_HIGHERA, BFD_RELOC_PPC64_DTPREL16_HIGHEST, BFD_RELOC_PPC64_DTPREL16_HIGHESTA, + BFD_RELOC_PPC64_TPREL16_HIGH, + BFD_RELOC_PPC64_TPREL16_HIGHA, + BFD_RELOC_PPC64_DTPREL16_HIGH, + BFD_RELOC_PPC64_DTPREL16_HIGHA, /* IBM 370/390 relocations */ BFD_RELOC_I370_D12, @@ -3753,6 +3827,178 @@ add3, load, and store instructions. */ BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO, +/* NDS32 relocs. +This is a 20 bit absolute address. */ + BFD_RELOC_NDS32_20, + +/* This is a 9-bit pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_9_PCREL, + +/* This is a 9-bit pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_WORD_9_PCREL, + +/* This is an 15-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_15_PCREL, + +/* This is an 17-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_17_PCREL, + +/* This is a 25-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_25_PCREL, + +/* This is a 20-bit reloc containing the high 20 bits of an address +used with the lower 12 bits */ + BFD_RELOC_NDS32_HI20, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift right by 3. This is used with ldi,sdi... */ + BFD_RELOC_NDS32_LO12S3, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 2. This is used with lwi,swi... */ + BFD_RELOC_NDS32_LO12S2, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 1. This is used with lhi,shi... */ + BFD_RELOC_NDS32_LO12S1, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 0. This is used with lbisbi... */ + BFD_RELOC_NDS32_LO12S0, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 0. This is only used with branch relaxations */ + BFD_RELOC_NDS32_LO12S0_ORI, + +/* This is a 15-bit reloc containing the small data area 18-bit signed offset +and shift left by 3 for use in ldi, sdi... */ + BFD_RELOC_NDS32_SDA15S3, + +/* This is a 15-bit reloc containing the small data area 17-bit signed offset +and shift left by 2 for use in lwi, swi... */ + BFD_RELOC_NDS32_SDA15S2, + +/* This is a 15-bit reloc containing the small data area 16-bit signed offset +and shift left by 1 for use in lhi, shi... */ + BFD_RELOC_NDS32_SDA15S1, + +/* This is a 15-bit reloc containing the small data area 15-bit signed offset +and shift left by 0 for use in lbi, sbi... */ + BFD_RELOC_NDS32_SDA15S0, + +/* This is a 16-bit reloc containing the small data area 16-bit signed offset +and shift left by 3 */ + BFD_RELOC_NDS32_SDA16S3, + +/* This is a 17-bit reloc containing the small data area 17-bit signed offset +and shift left by 2 for use in lwi.gp, swi.gp... */ + BFD_RELOC_NDS32_SDA17S2, + +/* This is a 18-bit reloc containing the small data area 18-bit signed offset +and shift left by 1 for use in lhi.gp, shi.gp... */ + BFD_RELOC_NDS32_SDA18S1, + +/* This is a 19-bit reloc containing the small data area 19-bit signed offset +and shift left by 0 for use in lbi.gp, sbi.gp... */ + BFD_RELOC_NDS32_SDA19S0, + +/* for PIC */ + BFD_RELOC_NDS32_GOT20, + BFD_RELOC_NDS32_9_PLTREL, + BFD_RELOC_NDS32_25_PLTREL, + BFD_RELOC_NDS32_COPY, + BFD_RELOC_NDS32_GLOB_DAT, + BFD_RELOC_NDS32_JMP_SLOT, + BFD_RELOC_NDS32_RELATIVE, + BFD_RELOC_NDS32_GOTOFF, + BFD_RELOC_NDS32_GOTOFF_HI20, + BFD_RELOC_NDS32_GOTOFF_LO12, + BFD_RELOC_NDS32_GOTPC20, + BFD_RELOC_NDS32_GOT_HI20, + BFD_RELOC_NDS32_GOT_LO12, + BFD_RELOC_NDS32_GOTPC_HI20, + BFD_RELOC_NDS32_GOTPC_LO12, + +/* for relax */ + BFD_RELOC_NDS32_INSN16, + BFD_RELOC_NDS32_LABEL, + BFD_RELOC_NDS32_LONGCALL1, + BFD_RELOC_NDS32_LONGCALL2, + BFD_RELOC_NDS32_LONGCALL3, + BFD_RELOC_NDS32_LONGJUMP1, + BFD_RELOC_NDS32_LONGJUMP2, + BFD_RELOC_NDS32_LONGJUMP3, + BFD_RELOC_NDS32_LOADSTORE, + BFD_RELOC_NDS32_9_FIXED, + BFD_RELOC_NDS32_15_FIXED, + BFD_RELOC_NDS32_17_FIXED, + BFD_RELOC_NDS32_25_FIXED, + +/* for PIC */ + BFD_RELOC_NDS32_PLTREL_HI20, + BFD_RELOC_NDS32_PLTREL_LO12, + BFD_RELOC_NDS32_PLT_GOTREL_HI20, + BFD_RELOC_NDS32_PLT_GOTREL_LO12, + +/* for floating point */ + BFD_RELOC_NDS32_SDA12S2_DP, + BFD_RELOC_NDS32_SDA12S2_SP, + BFD_RELOC_NDS32_LO12S2_DP, + BFD_RELOC_NDS32_LO12S2_SP, + +/* for dwarf2 debug_line. */ + BFD_RELOC_NDS32_DWARF2_OP1, + BFD_RELOC_NDS32_DWARF2_OP2, + BFD_RELOC_NDS32_DWARF2_LEB, + +/* for eliminate 16-bit instructions */ + BFD_RELOC_NDS32_UPDATE_TA, + +/* for PIC object relaxation */ + BFD_RELOC_NDS32_PLT_GOTREL_LO20, + BFD_RELOC_NDS32_PLT_GOTREL_LO15, + BFD_RELOC_NDS32_PLT_GOTREL_LO19, + BFD_RELOC_NDS32_GOT_LO15, + BFD_RELOC_NDS32_GOT_LO19, + BFD_RELOC_NDS32_GOTOFF_LO15, + BFD_RELOC_NDS32_GOTOFF_LO19, + BFD_RELOC_NDS32_GOT15S2, + BFD_RELOC_NDS32_GOT17S2, + +/* NDS32 relocs. +This is a 5 bit absolute address. */ + BFD_RELOC_NDS32_5, + +/* This is a 10-bit unsigned pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_10_UPCREL, + +/* If fp were omitted, fp can used as another gp. */ + BFD_RELOC_NDS32_SDA_FP7U2_RELA, + +/* relaxation relative relocation types */ + BFD_RELOC_NDS32_RELAX_ENTRY, + BFD_RELOC_NDS32_GOT_SUFF, + BFD_RELOC_NDS32_GOTOFF_SUFF, + BFD_RELOC_NDS32_PLT_GOT_SUFF, + BFD_RELOC_NDS32_MULCALL_SUFF, + BFD_RELOC_NDS32_PTR, + BFD_RELOC_NDS32_PTR_COUNT, + BFD_RELOC_NDS32_PTR_RESOLVED, + BFD_RELOC_NDS32_PLTBLOCK, + BFD_RELOC_NDS32_RELAX_REGION_BEGIN, + BFD_RELOC_NDS32_RELAX_REGION_END, + BFD_RELOC_NDS32_MINUEND, + BFD_RELOC_NDS32_SUBTRAHEND, + BFD_RELOC_NDS32_DIFF8, + BFD_RELOC_NDS32_DIFF16, + BFD_RELOC_NDS32_DIFF32, + BFD_RELOC_NDS32_DIFF_ULEB128, + BFD_RELOC_NDS32_25_ABS, + BFD_RELOC_NDS32_DATA, + BFD_RELOC_NDS32_TRAN, + BFD_RELOC_NDS32_17IFC_PCREL, + BFD_RELOC_NDS32_10IFCU_PCREL, + /* This is a 9-bit reloc */ BFD_RELOC_V850_9_PCREL, @@ -4301,12 +4547,24 @@ in .byte hlo8(symbol) */ /* 16 bit GOT offset. */ BFD_RELOC_390_GOT16, +/* PC relative 12 bit shifted by 1. */ + BFD_RELOC_390_PC12DBL, + +/* 12 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT12DBL, + /* PC relative 16 bit shifted by 1. */ BFD_RELOC_390_PC16DBL, /* 16 bit PC rel. PLT shifted by 1. */ BFD_RELOC_390_PLT16DBL, +/* PC relative 24 bit shifted by 1. */ + BFD_RELOC_390_PC24DBL, + +/* 24 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT24DBL, + /* PC relative 32 bit shifted by 1. */ BFD_RELOC_390_PC32DBL, @@ -4871,6 +5129,7 @@ a matching LO8XG part. */ BFD_RELOC_H8_DIR24A8, BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16, + BFD_RELOC_H8_DISP32A16, /* Sony Xstormy16 Relocations. */ BFD_RELOC_XSTORMY16_REL_12, @@ -4919,6 +5178,21 @@ a matching LO8XG part. */ BFD_RELOC_MSP430_16_BYTE, BFD_RELOC_MSP430_2X_PCREL, BFD_RELOC_MSP430_RL_PCREL, + BFD_RELOC_MSP430_ABS8, + BFD_RELOC_MSP430X_PCR20_EXT_SRC, + BFD_RELOC_MSP430X_PCR20_EXT_DST, + BFD_RELOC_MSP430X_PCR20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_EXT_SRC, + BFD_RELOC_MSP430X_ABS20_EXT_DST, + BFD_RELOC_MSP430X_ABS20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_ADR_SRC, + BFD_RELOC_MSP430X_ABS20_ADR_DST, + BFD_RELOC_MSP430X_PCR16, + BFD_RELOC_MSP430X_PCR20_CALL, + BFD_RELOC_MSP430X_ABS16, + BFD_RELOC_MSP430_ABS_HI16, + BFD_RELOC_MSP430_PREL31, + BFD_RELOC_MSP430_SYM_DIFF, /* Relocations used by the Altera Nios II core. */ BFD_RELOC_NIOS2_S16, @@ -5193,21 +5467,78 @@ to two words (uses imm instruction). */ to two words (uses imm instruction). */ BFD_RELOC_MICROBLAZE_64_TLSTPREL, -/* AArch64 ADD immediate instruction, holding bits 0 to 11 of the address. -Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ - BFD_RELOC_AARCH64_ADD_LO12, +/* AArch64 pseudo relocation code to mark the start of the AArch64 +relocation enumerators. N.B. the order of the enumerators is +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, -/* AArch64 Load Literal instruction, holding a 19 bit PC relative word -offset of the global offset table entry for a symbol. The lowest two -bits must be zero and are not stored in the instruction, giving a 21 -bit signed byte offset. This relocation type requires signed overflow -checking. */ - BFD_RELOC_AARCH64_GOT_LD_PREL19, +/* AArch64 null relocation code. */ + BFD_RELOC_AARCH64_NONE, -/* Get to the page base of the global offset table entry for a symbol as -part of an ADRP instruction using a 21 bit PC relative value.Used in -conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC. */ - BFD_RELOC_AARCH64_ADR_GOT_PAGE, +/* Basic absolute relocations of N bits. These are equivalent to +BFD_RELOC_N and they were added to assist the indexing of the howto +table. */ + BFD_RELOC_AARCH64_64, + BFD_RELOC_AARCH64_32, + BFD_RELOC_AARCH64_16, + +/* PC-relative relocations. These are equivalent to BFD_RELOC_N_PCREL +and they were added to assist the indexing of the howto table. */ + BFD_RELOC_AARCH64_64_PCREL, + BFD_RELOC_AARCH64_32_PCREL, + BFD_RELOC_AARCH64_16_PCREL, + +/* AArch64 MOV[NZK] instruction with most significant bits 0 to 15 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G0, + +/* AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of +an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G0_NC, + +/* AArch64 MOV[NZK] instruction with most significant bits 16 to 31 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G1, + +/* AArch64 MOV[NZK] instruction with less significant bits 16 to 31 +of an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G1_NC, + +/* AArch64 MOV[NZK] instruction with most significant bits 32 to 47 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G2, + +/* AArch64 MOV[NZK] instruction with less significant bits 32 to 47 +of an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G2_NC, + +/* AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 +of a signed or unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G3, + +/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G0_S, + +/* AArch64 MOV[NZ] instruction with most significant bits 16 to 31 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G1_S, + +/* AArch64 MOV[NZ] instruction with most significant bits 32 to 47 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G2_S, + +/* AArch64 Load Literal instruction, holding a 19 bit pc-relative word +offset. The lowest two bits must be zero and are not stored in the +instruction, giving a 21 bit signed byte offset. */ + BFD_RELOC_AARCH64_LD_LO19_PCREL, + +/* AArch64 ADR instruction, holding a simple 21 bit pc-relative byte offset. */ + BFD_RELOC_AARCH64_ADR_LO21_PCREL, /* AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page offset, giving a 4KB aligned page base address. */ @@ -5218,45 +5549,33 @@ offset, giving a 4KB aligned page base address, but with no overflow checking. */ BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL, -/* AArch64 ADR instruction, holding a simple 21 bit pc-relative byte offset. */ - BFD_RELOC_AARCH64_ADR_LO21_PCREL, +/* AArch64 ADD immediate instruction, holding bits 0 to 11 of the address. +Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_ADD_LO12, + +/* AArch64 8-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST8_LO12, + +/* AArch64 14 bit pc-relative test bit and branch. +The lowest two bits must be zero and are not stored in the instruction, +giving a 16 bit signed byte offset. */ + BFD_RELOC_AARCH64_TSTBR14, /* AArch64 19 bit pc-relative conditional branch and compare & branch. The lowest two bits must be zero and are not stored in the instruction, giving a 21 bit signed byte offset. */ BFD_RELOC_AARCH64_BRANCH19, -/* AArch64 26 bit pc-relative unconditional branch and link. -The lowest two bits must be zero and are not stored in the instruction, -giving a 28 bit signed byte offset. */ - BFD_RELOC_AARCH64_CALL26, - -/* AArch64 pseudo relocation code to be used internally by the AArch64 -assembler and not (currently) written to any object files. */ - BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP, - /* AArch64 26 bit pc-relative unconditional branch. The lowest two bits must be zero and are not stored in the instruction, giving a 28 bit signed byte offset. */ BFD_RELOC_AARCH64_JUMP26, -/* AArch64 Load Literal instruction, holding a 19 bit pc-relative word -offset. The lowest two bits must be zero and are not stored in the -instruction, giving a 21 bit signed byte offset. */ - BFD_RELOC_AARCH64_LD_LO19_PCREL, - -/* Unsigned 12 bit byte offset for 64 bit load/store from the page of -the GOT entry for this symbol. Used in conjunction with -BFD_RELOC_AARCH64_ADR_GOTPAGE. */ - BFD_RELOC_AARCH64_LD64_GOT_LO12_NC, - -/* AArch64 unspecified load/store instruction, holding bits 0 to 11 of the -address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ - BFD_RELOC_AARCH64_LDST_LO12, - -/* AArch64 8-bit load/store instruction, holding bits 0 to 11 of the -address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ - BFD_RELOC_AARCH64_LDST8_LO12, +/* AArch64 26 bit pc-relative unconditional branch and link. +The lowest two bits must be zero and are not stored in the instruction, +giving a 28 bit signed byte offset. */ + BFD_RELOC_AARCH64_CALL26, /* AArch64 16-bit load/store instruction, holding bits 0 to 11 of the address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ @@ -5274,86 +5593,27 @@ address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ BFD_RELOC_AARCH64_LDST128_LO12, -/* AArch64 MOV[NZK] instruction with most significant bits 0 to 15 -of an unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G0, +/* AArch64 Load Literal instruction, holding a 19 bit PC relative word +offset of the global offset table entry for a symbol. The lowest two +bits must be zero and are not stored in the instruction, giving a 21 +bit signed byte offset. This relocation type requires signed overflow +checking. */ + BFD_RELOC_AARCH64_GOT_LD_PREL19, -/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15 -of a signed value. Changes instruction to MOVZ or MOVN depending on the -value's sign. */ - BFD_RELOC_AARCH64_MOVW_G0_S, +/* Get to the page base of the global offset table entry for a symbol as +part of an ADRP instruction using a 21 bit PC relative value.Used in +conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC. */ + BFD_RELOC_AARCH64_ADR_GOT_PAGE, -/* AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of -an address/value. No overflow checking. */ - BFD_RELOC_AARCH64_MOVW_G0_NC, +/* Unsigned 12 bit byte offset for 64 bit load/store from the page of +the GOT entry for this symbol. Used in conjunction with +BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_LD64_GOT_LO12_NC, -/* AArch64 MOV[NZK] instruction with most significant bits 16 to 31 -of an unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G1, - -/* AArch64 MOV[NZK] instruction with less significant bits 16 to 31 -of an address/value. No overflow checking. */ - BFD_RELOC_AARCH64_MOVW_G1_NC, - -/* AArch64 MOV[NZ] instruction with most significant bits 16 to 31 -of a signed value. Changes instruction to MOVZ or MOVN depending on the -value's sign. */ - BFD_RELOC_AARCH64_MOVW_G1_S, - -/* AArch64 MOV[NZK] instruction with most significant bits 32 to 47 -of an unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G2, - -/* AArch64 MOV[NZK] instruction with less significant bits 32 to 47 -of an address/value. No overflow checking. */ - BFD_RELOC_AARCH64_MOVW_G2_NC, - -/* AArch64 MOV[NZ] instruction with most significant bits 32 to 47 -of a signed value. Changes instruction to MOVZ or MOVN depending on the -value's sign. */ - BFD_RELOC_AARCH64_MOVW_G2_S, - -/* AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 -of a signed or unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G3, - -/* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLSDESC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADD, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_CALL, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LD64_PREL19, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LDR, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_OFF_G1, - -/* Unsigned 12 bit byte offset to global offset table entry for a symbols -tls_index structure. Used in conjunction with -BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ - BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC, +/* Unsigned 12 bit byte offset for 32 bit load/store from the page of +the GOT entry for this symbol. Used in conjunction with +BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */ + BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, /* 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 @@ -5361,20 +5621,43 @@ relative value. Used in conjunction with BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21, -/* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, +/* Unsigned 12 bit byte offset to global offset table entry for a symbols +tls_index structure. Used in conjunction with +BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ + BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC, /* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19, - -/* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1, /* AArch64 TLS INITIAL EXEC relocation. */ BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC, /* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1, + BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC, /* AArch64 TLS LOCAL EXEC relocation. */ BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12, @@ -5385,34 +5668,92 @@ BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ /* AArch64 TLS LOCAL EXEC relocation. */ BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD_PREL19, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_OFF_G1, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LDR, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADD, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_CALL, /* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLS_DTPMOD64, + BFD_RELOC_AARCH64_COPY, /* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLS_DTPREL64, + BFD_RELOC_AARCH64_GLOB_DAT, /* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLS_TPREL64, + BFD_RELOC_AARCH64_JUMP_SLOT, -/* AArch64 14 bit pc-relative test bit and branch. -The lowest two bits must be zero and are not stored in the instruction, -giving a 16 bit signed byte offset. */ - BFD_RELOC_AARCH64_TSTBR14, +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_RELATIVE, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_DTPMOD, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_DTPREL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_TPREL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLSDESC, + +/* AArch64 support for STT_GNU_IFUNC. */ + BFD_RELOC_AARCH64_IRELATIVE, + +/* AArch64 pseudo relocation code to mark the end of the AArch64 +relocation enumerators that have direct mapping to ELF reloc codes. +There are a few more enumerators after this one; those are mainly +used by the AArch64 assembler for the internal fixup or to select +one of the above enumerators. */ + BFD_RELOC_AARCH64_RELOC_END, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP, + +/* AArch64 unspecified load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST_LO12, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_LD_GOT_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC, /* Tilera TILEPro Relocations. */ BFD_RELOC_TILEPRO_COPY, @@ -6099,6 +6440,14 @@ struct bfd unsigned int selective_search : 1; }; +/* See note beside bfd_set_section_userdata. */ +static inline bfd_boolean +bfd_set_cacheable (bfd * abfd, bfd_boolean val) +{ + abfd->cacheable = val; + return TRUE; +} + typedef enum bfd_error { bfd_error_no_error = 0, @@ -6112,6 +6461,7 @@ typedef enum bfd_error bfd_error_no_armap, bfd_error_no_more_archived_files, bfd_error_malformed_archive, + bfd_error_missing_dso, bfd_error_file_not_recognized, bfd_error_file_ambiguously_recognized, bfd_error_no_contents, diff --git a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd.h b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd.h index a03d7322f26c..7df672416613 100644 --- a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd.h +++ b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically generated from "bfd-in.h", "init.c", "opncls.c", "libbfd.c", @@ -11,9 +11,7 @@ /* Main header file for the bfd library -- portable access to object files. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, - 2012 Free Software Foundation, Inc. + Copyright 1990-2013 Free Software Foundation, Inc. Contributed by Cygnus Support. @@ -305,9 +303,6 @@ typedef struct bfd_section *sec_ptr; #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE) -#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) -#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE) /* Find the address one past the end of SEC. */ #define bfd_get_section_limit(bfd, sec) \ (((bfd)->direction != write_direction && (sec)->rawsize != 0 \ @@ -530,8 +525,6 @@ extern void warn_deprecated (const char *, const char *, int, const char *); #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char) -#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE) - extern bfd_boolean bfd_cache_close (bfd *abfd); /* NB: This declaration should match the autogenerated one in libbfd.h. */ @@ -922,7 +915,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 *), void (*) (void)); + struct bfd_section * (*) (const char *, struct bfd_section *, unsigned int), + void (*) (void)); extern bfd_boolean elf32_arm_build_stubs (struct bfd_link_info *); @@ -944,7 +938,13 @@ extern unsigned int _bfd_elf_ppc_at_tprel_transform extern void bfd_elf64_aarch64_init_maps (bfd *); -void bfd_elf64_aarch64_set_options +extern void bfd_elf32_aarch64_init_maps + (bfd *); + +extern void bfd_elf64_aarch64_set_options + (bfd *, struct bfd_link_info *, int, int, int); + +extern void bfd_elf32_aarch64_set_options (bfd *, struct bfd_link_info *, int, int, int); /* ELF AArch64 mapping symbol support. */ @@ -955,7 +955,7 @@ void bfd_elf64_aarch64_set_options extern bfd_boolean bfd_is_aarch64_special_symbol_name (const char * name, int type); -/* AArch64 stub generation support. Called from the linker. */ +/* AArch64 stub generation support for ELF64. Called from the linker. */ extern int elf64_aarch64_setup_section_lists (bfd *, struct bfd_link_info *); extern void elf64_aarch64_next_input_section @@ -966,6 +966,18 @@ extern bfd_boolean elf64_aarch64_size_stubs void (*) (void)); extern bfd_boolean elf64_aarch64_build_stubs (struct bfd_link_info *); +/* AArch64 stub generation support for ELF32. Called from the linker. */ +extern int elf32_aarch64_setup_section_lists + (bfd *, struct bfd_link_info *); +extern void elf32_aarch64_next_input_section + (struct bfd_link_info *, struct bfd_section *); +extern bfd_boolean elf32_aarch64_size_stubs + (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, + struct bfd_section * (*) (const char *, struct bfd_section *), + void (*) (void)); +extern bfd_boolean elf32_aarch64_build_stubs + (struct bfd_link_info *); + /* TI COFF load page support. */ extern void bfd_ticoff_set_section_load_page @@ -1002,9 +1014,8 @@ struct coff_comdat_info long symbol; }; -extern struct coff_comdat_info *bfd_coff_get_comdat_section +extern struct coff_comdat_info * bfd_coff_get_comdat_section (bfd *, struct bfd_section *); - /* Extracted from init.c. */ void bfd_init (void); @@ -1017,7 +1028,7 @@ bfd *bfd_openr (const char *filename, const char *target); bfd *bfd_fdopenr (const char *filename, const char *target, int fd); -bfd *bfd_openstreamr (const char *, const char *, void *); +bfd *bfd_openstreamr (const char * filename, const char * target, void * stream); bfd *bfd_openr_iovec (const char *filename, const char *target, void *(*open_func) (struct bfd *nbfd, @@ -1053,8 +1064,16 @@ void *bfd_zalloc (bfd *abfd, bfd_size_type wanted); unsigned long bfd_calc_gnu_debuglink_crc32 (unsigned long crc, const unsigned char *buf, bfd_size_type len); +char *bfd_get_debug_link_info (bfd *abfd, unsigned long *crc32_out); + +char *bfd_get_alt_debug_link_info (bfd * abfd, + bfd_size_type *buildid_len, + bfd_byte **buildid_out); + char *bfd_follow_gnu_debuglink (bfd *abfd, const char *dir); +char *bfd_follow_gnu_debugaltlink (bfd *abfd, const char *dir); + struct bfd_section *bfd_create_gnu_debuglink_section (bfd *abfd, const char *filename); @@ -1576,6 +1595,32 @@ struct relax_table { int size; }; +/* Note: the following are provided as inline functions rather than macros + because not all callers use the return value. A macro implementation + would use a comma expression, eg: "((ptr)->foo = val, TRUE)" and some + compilers will complain about comma expressions that have no effect. */ +static inline bfd_boolean +bfd_set_section_userdata (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, void * val) +{ + ptr->userdata = val; + return TRUE; +} + +static inline bfd_boolean +bfd_set_section_vma (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, bfd_vma val) +{ + ptr->vma = ptr->lma = val; + ptr->user_set_vma = TRUE; + return TRUE; +} + +static inline bfd_boolean +bfd_set_section_alignment (bfd * abfd ATTRIBUTE_UNUSED, asection * ptr, unsigned int val) +{ + ptr->alignment_power = val; + return TRUE; +} + /* These sections are global, and are managed by BFD. The application and target back end are not permitted to change the values in these sections. */ @@ -1935,6 +1980,10 @@ enum bfd_architecture bfd_arch_k1om, /* Intel K1OM */ #define bfd_mach_k1om (1 << 6) #define bfd_mach_k1om_intel_syntax (bfd_mach_k1om | bfd_mach_i386_intel_syntax) +#define bfd_mach_i386_nacl (1 << 7) +#define bfd_mach_i386_i386_nacl (bfd_mach_i386_i386 | bfd_mach_i386_nacl) +#define bfd_mach_x86_64_nacl (bfd_mach_x86_64 | bfd_mach_i386_nacl) +#define bfd_mach_x64_32_nacl (bfd_mach_x64_32 | bfd_mach_i386_nacl) bfd_arch_we32k, /* AT&T WE32xxx */ bfd_arch_tahoe, /* CCI/Harris Tahoe */ bfd_arch_i860, /* Intel 860 */ @@ -2049,6 +2098,12 @@ enum bfd_architecture #define bfd_mach_arm_ep9312 11 #define bfd_mach_arm_iWMMXt 12 #define bfd_mach_arm_iWMMXt2 13 + bfd_arch_nds32, /* Andes NDS32 */ +#define bfd_mach_n1 1 +#define bfd_mach_n1h 2 +#define bfd_mach_n1h_v2 3 +#define bfd_mach_n1h_v3 4 +#define bfd_mach_n1h_v3m 5 bfd_arch_ns32k, /* National Semiconductors ns32000 */ bfd_arch_w65, /* WDC 65816 */ bfd_arch_tic30, /* Texas Instruments TMS320C30 */ @@ -2172,7 +2227,12 @@ enum bfd_architecture #define bfd_mach_msp14 14 #define bfd_mach_msp15 15 #define bfd_mach_msp16 16 +#define bfd_mach_msp20 20 #define bfd_mach_msp21 21 +#define bfd_mach_msp22 22 +#define bfd_mach_msp23 23 +#define bfd_mach_msp24 24 +#define bfd_mach_msp26 26 #define bfd_mach_msp31 31 #define bfd_mach_msp32 32 #define bfd_mach_msp33 33 @@ -2180,6 +2240,10 @@ enum bfd_architecture #define bfd_mach_msp42 42 #define bfd_mach_msp43 43 #define bfd_mach_msp44 44 +#define bfd_mach_msp430x 45 +#define bfd_mach_msp46 46 +#define bfd_mach_msp47 47 +#define bfd_mach_msp54 54 bfd_arch_xc16x, /* Infineon's XC16X Series. */ #define bfd_mach_xc16x 1 #define bfd_mach_xc16xl 2 @@ -2203,6 +2267,7 @@ enum bfd_architecture #define bfd_mach_tilegx32 2 bfd_arch_aarch64, /* AArch64 */ #define bfd_mach_aarch64 0 +#define bfd_mach_aarch64_ilp32 32 bfd_arch_nios2, #define bfd_mach_nios2 0 bfd_arch_last @@ -2926,6 +2991,7 @@ to compensate for the borrow when the low bits are added. */ BFD_RELOC_MICROMIPS_TLS_TPREL_HI16, BFD_RELOC_MIPS_TLS_TPREL_LO16, BFD_RELOC_MICROMIPS_TLS_TPREL_LO16, + BFD_RELOC_MIPS_EH, /* MIPS ELF relocations (VxWorks and PLT extensions). */ @@ -3090,6 +3156,8 @@ instruction. */ BFD_RELOC_X86_64_TLSDESC_CALL, BFD_RELOC_X86_64_TLSDESC, BFD_RELOC_X86_64_IRELATIVE, + BFD_RELOC_X86_64_PC32_BND, + BFD_RELOC_X86_64_PLT32_BND, /* ns32k relocations */ BFD_RELOC_NS32K_IMM_8, @@ -3188,6 +3256,8 @@ instruction. */ BFD_RELOC_PPC64_TOC16_LO_DS, BFD_RELOC_PPC64_PLTGOT16_DS, BFD_RELOC_PPC64_PLTGOT16_LO_DS, + BFD_RELOC_PPC64_ADDR16_HIGH, + BFD_RELOC_PPC64_ADDR16_HIGHA, /* PowerPC and PowerPC64 thread-local storage relocations. */ BFD_RELOC_PPC_TLS, @@ -3232,6 +3302,10 @@ instruction. */ BFD_RELOC_PPC64_DTPREL16_HIGHERA, BFD_RELOC_PPC64_DTPREL16_HIGHEST, BFD_RELOC_PPC64_DTPREL16_HIGHESTA, + BFD_RELOC_PPC64_TPREL16_HIGH, + BFD_RELOC_PPC64_TPREL16_HIGHA, + BFD_RELOC_PPC64_DTPREL16_HIGH, + BFD_RELOC_PPC64_DTPREL16_HIGHA, /* IBM 370/390 relocations */ BFD_RELOC_I370_D12, @@ -3753,6 +3827,178 @@ add3, load, and store instructions. */ BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO, +/* NDS32 relocs. +This is a 20 bit absolute address. */ + BFD_RELOC_NDS32_20, + +/* This is a 9-bit pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_9_PCREL, + +/* This is a 9-bit pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_WORD_9_PCREL, + +/* This is an 15-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_15_PCREL, + +/* This is an 17-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_17_PCREL, + +/* This is a 25-bit reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_25_PCREL, + +/* This is a 20-bit reloc containing the high 20 bits of an address +used with the lower 12 bits */ + BFD_RELOC_NDS32_HI20, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift right by 3. This is used with ldi,sdi... */ + BFD_RELOC_NDS32_LO12S3, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 2. This is used with lwi,swi... */ + BFD_RELOC_NDS32_LO12S2, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 1. This is used with lhi,shi... */ + BFD_RELOC_NDS32_LO12S1, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 0. This is used with lbisbi... */ + BFD_RELOC_NDS32_LO12S0, + +/* This is a 12-bit reloc containing the lower 12 bits of an address +then shift left by 0. This is only used with branch relaxations */ + BFD_RELOC_NDS32_LO12S0_ORI, + +/* This is a 15-bit reloc containing the small data area 18-bit signed offset +and shift left by 3 for use in ldi, sdi... */ + BFD_RELOC_NDS32_SDA15S3, + +/* This is a 15-bit reloc containing the small data area 17-bit signed offset +and shift left by 2 for use in lwi, swi... */ + BFD_RELOC_NDS32_SDA15S2, + +/* This is a 15-bit reloc containing the small data area 16-bit signed offset +and shift left by 1 for use in lhi, shi... */ + BFD_RELOC_NDS32_SDA15S1, + +/* This is a 15-bit reloc containing the small data area 15-bit signed offset +and shift left by 0 for use in lbi, sbi... */ + BFD_RELOC_NDS32_SDA15S0, + +/* This is a 16-bit reloc containing the small data area 16-bit signed offset +and shift left by 3 */ + BFD_RELOC_NDS32_SDA16S3, + +/* This is a 17-bit reloc containing the small data area 17-bit signed offset +and shift left by 2 for use in lwi.gp, swi.gp... */ + BFD_RELOC_NDS32_SDA17S2, + +/* This is a 18-bit reloc containing the small data area 18-bit signed offset +and shift left by 1 for use in lhi.gp, shi.gp... */ + BFD_RELOC_NDS32_SDA18S1, + +/* This is a 19-bit reloc containing the small data area 19-bit signed offset +and shift left by 0 for use in lbi.gp, sbi.gp... */ + BFD_RELOC_NDS32_SDA19S0, + +/* for PIC */ + BFD_RELOC_NDS32_GOT20, + BFD_RELOC_NDS32_9_PLTREL, + BFD_RELOC_NDS32_25_PLTREL, + BFD_RELOC_NDS32_COPY, + BFD_RELOC_NDS32_GLOB_DAT, + BFD_RELOC_NDS32_JMP_SLOT, + BFD_RELOC_NDS32_RELATIVE, + BFD_RELOC_NDS32_GOTOFF, + BFD_RELOC_NDS32_GOTOFF_HI20, + BFD_RELOC_NDS32_GOTOFF_LO12, + BFD_RELOC_NDS32_GOTPC20, + BFD_RELOC_NDS32_GOT_HI20, + BFD_RELOC_NDS32_GOT_LO12, + BFD_RELOC_NDS32_GOTPC_HI20, + BFD_RELOC_NDS32_GOTPC_LO12, + +/* for relax */ + BFD_RELOC_NDS32_INSN16, + BFD_RELOC_NDS32_LABEL, + BFD_RELOC_NDS32_LONGCALL1, + BFD_RELOC_NDS32_LONGCALL2, + BFD_RELOC_NDS32_LONGCALL3, + BFD_RELOC_NDS32_LONGJUMP1, + BFD_RELOC_NDS32_LONGJUMP2, + BFD_RELOC_NDS32_LONGJUMP3, + BFD_RELOC_NDS32_LOADSTORE, + BFD_RELOC_NDS32_9_FIXED, + BFD_RELOC_NDS32_15_FIXED, + BFD_RELOC_NDS32_17_FIXED, + BFD_RELOC_NDS32_25_FIXED, + +/* for PIC */ + BFD_RELOC_NDS32_PLTREL_HI20, + BFD_RELOC_NDS32_PLTREL_LO12, + BFD_RELOC_NDS32_PLT_GOTREL_HI20, + BFD_RELOC_NDS32_PLT_GOTREL_LO12, + +/* for floating point */ + BFD_RELOC_NDS32_SDA12S2_DP, + BFD_RELOC_NDS32_SDA12S2_SP, + BFD_RELOC_NDS32_LO12S2_DP, + BFD_RELOC_NDS32_LO12S2_SP, + +/* for dwarf2 debug_line. */ + BFD_RELOC_NDS32_DWARF2_OP1, + BFD_RELOC_NDS32_DWARF2_OP2, + BFD_RELOC_NDS32_DWARF2_LEB, + +/* for eliminate 16-bit instructions */ + BFD_RELOC_NDS32_UPDATE_TA, + +/* for PIC object relaxation */ + BFD_RELOC_NDS32_PLT_GOTREL_LO20, + BFD_RELOC_NDS32_PLT_GOTREL_LO15, + BFD_RELOC_NDS32_PLT_GOTREL_LO19, + BFD_RELOC_NDS32_GOT_LO15, + BFD_RELOC_NDS32_GOT_LO19, + BFD_RELOC_NDS32_GOTOFF_LO15, + BFD_RELOC_NDS32_GOTOFF_LO19, + BFD_RELOC_NDS32_GOT15S2, + BFD_RELOC_NDS32_GOT17S2, + +/* NDS32 relocs. +This is a 5 bit absolute address. */ + BFD_RELOC_NDS32_5, + +/* This is a 10-bit unsigned pc-relative reloc with the right 1 bit assumed to be 0. */ + BFD_RELOC_NDS32_10_UPCREL, + +/* If fp were omitted, fp can used as another gp. */ + BFD_RELOC_NDS32_SDA_FP7U2_RELA, + +/* relaxation relative relocation types */ + BFD_RELOC_NDS32_RELAX_ENTRY, + BFD_RELOC_NDS32_GOT_SUFF, + BFD_RELOC_NDS32_GOTOFF_SUFF, + BFD_RELOC_NDS32_PLT_GOT_SUFF, + BFD_RELOC_NDS32_MULCALL_SUFF, + BFD_RELOC_NDS32_PTR, + BFD_RELOC_NDS32_PTR_COUNT, + BFD_RELOC_NDS32_PTR_RESOLVED, + BFD_RELOC_NDS32_PLTBLOCK, + BFD_RELOC_NDS32_RELAX_REGION_BEGIN, + BFD_RELOC_NDS32_RELAX_REGION_END, + BFD_RELOC_NDS32_MINUEND, + BFD_RELOC_NDS32_SUBTRAHEND, + BFD_RELOC_NDS32_DIFF8, + BFD_RELOC_NDS32_DIFF16, + BFD_RELOC_NDS32_DIFF32, + BFD_RELOC_NDS32_DIFF_ULEB128, + BFD_RELOC_NDS32_25_ABS, + BFD_RELOC_NDS32_DATA, + BFD_RELOC_NDS32_TRAN, + BFD_RELOC_NDS32_17IFC_PCREL, + BFD_RELOC_NDS32_10IFCU_PCREL, + /* This is a 9-bit reloc */ BFD_RELOC_V850_9_PCREL, @@ -4301,12 +4547,24 @@ in .byte hlo8(symbol) */ /* 16 bit GOT offset. */ BFD_RELOC_390_GOT16, +/* PC relative 12 bit shifted by 1. */ + BFD_RELOC_390_PC12DBL, + +/* 12 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT12DBL, + /* PC relative 16 bit shifted by 1. */ BFD_RELOC_390_PC16DBL, /* 16 bit PC rel. PLT shifted by 1. */ BFD_RELOC_390_PLT16DBL, +/* PC relative 24 bit shifted by 1. */ + BFD_RELOC_390_PC24DBL, + +/* 24 bit PC rel. PLT shifted by 1. */ + BFD_RELOC_390_PLT24DBL, + /* PC relative 32 bit shifted by 1. */ BFD_RELOC_390_PC32DBL, @@ -4871,6 +5129,7 @@ a matching LO8XG part. */ BFD_RELOC_H8_DIR24A8, BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16, + BFD_RELOC_H8_DISP32A16, /* Sony Xstormy16 Relocations. */ BFD_RELOC_XSTORMY16_REL_12, @@ -4919,6 +5178,21 @@ a matching LO8XG part. */ BFD_RELOC_MSP430_16_BYTE, BFD_RELOC_MSP430_2X_PCREL, BFD_RELOC_MSP430_RL_PCREL, + BFD_RELOC_MSP430_ABS8, + BFD_RELOC_MSP430X_PCR20_EXT_SRC, + BFD_RELOC_MSP430X_PCR20_EXT_DST, + BFD_RELOC_MSP430X_PCR20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_EXT_SRC, + BFD_RELOC_MSP430X_ABS20_EXT_DST, + BFD_RELOC_MSP430X_ABS20_EXT_ODST, + BFD_RELOC_MSP430X_ABS20_ADR_SRC, + BFD_RELOC_MSP430X_ABS20_ADR_DST, + BFD_RELOC_MSP430X_PCR16, + BFD_RELOC_MSP430X_PCR20_CALL, + BFD_RELOC_MSP430X_ABS16, + BFD_RELOC_MSP430_ABS_HI16, + BFD_RELOC_MSP430_PREL31, + BFD_RELOC_MSP430_SYM_DIFF, /* Relocations used by the Altera Nios II core. */ BFD_RELOC_NIOS2_S16, @@ -5193,21 +5467,78 @@ to two words (uses imm instruction). */ to two words (uses imm instruction). */ BFD_RELOC_MICROBLAZE_64_TLSTPREL, -/* AArch64 ADD immediate instruction, holding bits 0 to 11 of the address. -Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ - BFD_RELOC_AARCH64_ADD_LO12, +/* AArch64 pseudo relocation code to mark the start of the AArch64 +relocation enumerators. N.B. the order of the enumerators is +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, -/* AArch64 Load Literal instruction, holding a 19 bit PC relative word -offset of the global offset table entry for a symbol. The lowest two -bits must be zero and are not stored in the instruction, giving a 21 -bit signed byte offset. This relocation type requires signed overflow -checking. */ - BFD_RELOC_AARCH64_GOT_LD_PREL19, +/* AArch64 null relocation code. */ + BFD_RELOC_AARCH64_NONE, -/* Get to the page base of the global offset table entry for a symbol as -part of an ADRP instruction using a 21 bit PC relative value.Used in -conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC. */ - BFD_RELOC_AARCH64_ADR_GOT_PAGE, +/* Basic absolute relocations of N bits. These are equivalent to +BFD_RELOC_N and they were added to assist the indexing of the howto +table. */ + BFD_RELOC_AARCH64_64, + BFD_RELOC_AARCH64_32, + BFD_RELOC_AARCH64_16, + +/* PC-relative relocations. These are equivalent to BFD_RELOC_N_PCREL +and they were added to assist the indexing of the howto table. */ + BFD_RELOC_AARCH64_64_PCREL, + BFD_RELOC_AARCH64_32_PCREL, + BFD_RELOC_AARCH64_16_PCREL, + +/* AArch64 MOV[NZK] instruction with most significant bits 0 to 15 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G0, + +/* AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of +an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G0_NC, + +/* AArch64 MOV[NZK] instruction with most significant bits 16 to 31 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G1, + +/* AArch64 MOV[NZK] instruction with less significant bits 16 to 31 +of an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G1_NC, + +/* AArch64 MOV[NZK] instruction with most significant bits 32 to 47 +of an unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G2, + +/* AArch64 MOV[NZK] instruction with less significant bits 32 to 47 +of an address/value. No overflow checking. */ + BFD_RELOC_AARCH64_MOVW_G2_NC, + +/* AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 +of a signed or unsigned address/value. */ + BFD_RELOC_AARCH64_MOVW_G3, + +/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G0_S, + +/* AArch64 MOV[NZ] instruction with most significant bits 16 to 31 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G1_S, + +/* AArch64 MOV[NZ] instruction with most significant bits 32 to 47 +of a signed value. Changes instruction to MOVZ or MOVN depending on the +value's sign. */ + BFD_RELOC_AARCH64_MOVW_G2_S, + +/* AArch64 Load Literal instruction, holding a 19 bit pc-relative word +offset. The lowest two bits must be zero and are not stored in the +instruction, giving a 21 bit signed byte offset. */ + BFD_RELOC_AARCH64_LD_LO19_PCREL, + +/* AArch64 ADR instruction, holding a simple 21 bit pc-relative byte offset. */ + BFD_RELOC_AARCH64_ADR_LO21_PCREL, /* AArch64 ADRP instruction, with bits 12 to 32 of a pc-relative page offset, giving a 4KB aligned page base address. */ @@ -5218,45 +5549,33 @@ offset, giving a 4KB aligned page base address, but with no overflow checking. */ BFD_RELOC_AARCH64_ADR_HI21_NC_PCREL, -/* AArch64 ADR instruction, holding a simple 21 bit pc-relative byte offset. */ - BFD_RELOC_AARCH64_ADR_LO21_PCREL, +/* AArch64 ADD immediate instruction, holding bits 0 to 11 of the address. +Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_ADD_LO12, + +/* AArch64 8-bit load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST8_LO12, + +/* AArch64 14 bit pc-relative test bit and branch. +The lowest two bits must be zero and are not stored in the instruction, +giving a 16 bit signed byte offset. */ + BFD_RELOC_AARCH64_TSTBR14, /* AArch64 19 bit pc-relative conditional branch and compare & branch. The lowest two bits must be zero and are not stored in the instruction, giving a 21 bit signed byte offset. */ BFD_RELOC_AARCH64_BRANCH19, -/* AArch64 26 bit pc-relative unconditional branch and link. -The lowest two bits must be zero and are not stored in the instruction, -giving a 28 bit signed byte offset. */ - BFD_RELOC_AARCH64_CALL26, - -/* AArch64 pseudo relocation code to be used internally by the AArch64 -assembler and not (currently) written to any object files. */ - BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP, - /* AArch64 26 bit pc-relative unconditional branch. The lowest two bits must be zero and are not stored in the instruction, giving a 28 bit signed byte offset. */ BFD_RELOC_AARCH64_JUMP26, -/* AArch64 Load Literal instruction, holding a 19 bit pc-relative word -offset. The lowest two bits must be zero and are not stored in the -instruction, giving a 21 bit signed byte offset. */ - BFD_RELOC_AARCH64_LD_LO19_PCREL, - -/* Unsigned 12 bit byte offset for 64 bit load/store from the page of -the GOT entry for this symbol. Used in conjunction with -BFD_RELOC_AARCH64_ADR_GOTPAGE. */ - BFD_RELOC_AARCH64_LD64_GOT_LO12_NC, - -/* AArch64 unspecified load/store instruction, holding bits 0 to 11 of the -address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ - BFD_RELOC_AARCH64_LDST_LO12, - -/* AArch64 8-bit load/store instruction, holding bits 0 to 11 of the -address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ - BFD_RELOC_AARCH64_LDST8_LO12, +/* AArch64 26 bit pc-relative unconditional branch and link. +The lowest two bits must be zero and are not stored in the instruction, +giving a 28 bit signed byte offset. */ + BFD_RELOC_AARCH64_CALL26, /* AArch64 16-bit load/store instruction, holding bits 0 to 11 of the address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ @@ -5274,86 +5593,27 @@ address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ BFD_RELOC_AARCH64_LDST128_LO12, -/* AArch64 MOV[NZK] instruction with most significant bits 0 to 15 -of an unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G0, +/* AArch64 Load Literal instruction, holding a 19 bit PC relative word +offset of the global offset table entry for a symbol. The lowest two +bits must be zero and are not stored in the instruction, giving a 21 +bit signed byte offset. This relocation type requires signed overflow +checking. */ + BFD_RELOC_AARCH64_GOT_LD_PREL19, -/* AArch64 MOV[NZ] instruction with most significant bits 0 to 15 -of a signed value. Changes instruction to MOVZ or MOVN depending on the -value's sign. */ - BFD_RELOC_AARCH64_MOVW_G0_S, +/* Get to the page base of the global offset table entry for a symbol as +part of an ADRP instruction using a 21 bit PC relative value.Used in +conjunction with BFD_RELOC_AARCH64_LD64_GOT_LO12_NC. */ + BFD_RELOC_AARCH64_ADR_GOT_PAGE, -/* AArch64 MOV[NZK] instruction with less significant bits 0 to 15 of -an address/value. No overflow checking. */ - BFD_RELOC_AARCH64_MOVW_G0_NC, +/* Unsigned 12 bit byte offset for 64 bit load/store from the page of +the GOT entry for this symbol. Used in conjunction with +BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in LP64 ABI only. */ + BFD_RELOC_AARCH64_LD64_GOT_LO12_NC, -/* AArch64 MOV[NZK] instruction with most significant bits 16 to 31 -of an unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G1, - -/* AArch64 MOV[NZK] instruction with less significant bits 16 to 31 -of an address/value. No overflow checking. */ - BFD_RELOC_AARCH64_MOVW_G1_NC, - -/* AArch64 MOV[NZ] instruction with most significant bits 16 to 31 -of a signed value. Changes instruction to MOVZ or MOVN depending on the -value's sign. */ - BFD_RELOC_AARCH64_MOVW_G1_S, - -/* AArch64 MOV[NZK] instruction with most significant bits 32 to 47 -of an unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G2, - -/* AArch64 MOV[NZK] instruction with less significant bits 32 to 47 -of an address/value. No overflow checking. */ - BFD_RELOC_AARCH64_MOVW_G2_NC, - -/* AArch64 MOV[NZ] instruction with most significant bits 32 to 47 -of a signed value. Changes instruction to MOVZ or MOVN depending on the -value's sign. */ - BFD_RELOC_AARCH64_MOVW_G2_S, - -/* AArch64 MOV[NZK] instruction with most signficant bits 48 to 64 -of a signed or unsigned address/value. */ - BFD_RELOC_AARCH64_MOVW_G3, - -/* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLSDESC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADD, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_CALL, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LD64_PREL19, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_LDR, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC, - -/* AArch64 TLS DESC relocation. */ - BFD_RELOC_AARCH64_TLSDESC_OFF_G1, - -/* Unsigned 12 bit byte offset to global offset table entry for a symbols -tls_index structure. Used in conjunction with -BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ - BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC, +/* Unsigned 12 bit byte offset for 32 bit load/store from the page of +the GOT entry for this symbol. Used in conjunction with +BFD_RELOC_AARCH64_ADR_GOTPAGE. Valid in ILP32 ABI only. */ + BFD_RELOC_AARCH64_LD32_GOT_LO12_NC, /* 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 @@ -5361,20 +5621,43 @@ relative value. Used in conjunction with BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21, -/* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, +/* Unsigned 12 bit byte offset to global offset table entry for a symbols +tls_index structure. Used in conjunction with +BFD_RELOC_AARCH64_TLSGD_ADR_PAGE21. */ + BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC, /* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19, - -/* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, + BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1, /* AArch64 TLS INITIAL EXEC relocation. */ BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC, /* AArch64 TLS INITIAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSIE_MOVW_GOTTPREL_G1, + BFD_RELOC_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD32_GOTTPREL_LO12_NC, + +/* AArch64 TLS INITIAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_PREL19, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0, + +/* AArch64 TLS LOCAL EXEC relocation. */ + BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC, /* AArch64 TLS LOCAL EXEC relocation. */ BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_HI12, @@ -5385,34 +5668,92 @@ BFD_RELOC_AARCH64_TLSGD_ADD_LO12_NC. */ /* AArch64 TLS LOCAL EXEC relocation. */ BFD_RELOC_AARCH64_TLSLE_ADD_TPREL_LO12_NC, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD_PREL19, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G0_NC, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADR_PREL21, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADR_PAGE21, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G1_NC, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD64_LO12_NC, -/* AArch64 TLS LOCAL EXEC relocation. */ - BFD_RELOC_AARCH64_TLSLE_MOVW_TPREL_G2, +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LD32_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADD_LO12_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_OFF_G1, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_OFF_G0_NC, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_LDR, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_ADD, + +/* AArch64 TLS DESC relocation. */ + BFD_RELOC_AARCH64_TLSDESC_CALL, /* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLS_DTPMOD64, + BFD_RELOC_AARCH64_COPY, /* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLS_DTPREL64, + BFD_RELOC_AARCH64_GLOB_DAT, /* AArch64 TLS relocation. */ - BFD_RELOC_AARCH64_TLS_TPREL64, + BFD_RELOC_AARCH64_JUMP_SLOT, -/* AArch64 14 bit pc-relative test bit and branch. -The lowest two bits must be zero and are not stored in the instruction, -giving a 16 bit signed byte offset. */ - BFD_RELOC_AARCH64_TSTBR14, +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_RELATIVE, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_DTPMOD, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_DTPREL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLS_TPREL, + +/* AArch64 TLS relocation. */ + BFD_RELOC_AARCH64_TLSDESC, + +/* AArch64 support for STT_GNU_IFUNC. */ + BFD_RELOC_AARCH64_IRELATIVE, + +/* AArch64 pseudo relocation code to mark the end of the AArch64 +relocation enumerators that have direct mapping to ELF reloc codes. +There are a few more enumerators after this one; those are mainly +used by the AArch64 assembler for the internal fixup or to select +one of the above enumerators. */ + BFD_RELOC_AARCH64_RELOC_END, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_GAS_INTERNAL_FIXUP, + +/* AArch64 unspecified load/store instruction, holding bits 0 to 11 of the +address. Used in conjunction with BFD_RELOC_AARCH64_ADR_HI21_PCREL. */ + BFD_RELOC_AARCH64_LDST_LO12, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_LD_GOT_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_TLSIE_LD_GOTTPREL_LO12_NC, + +/* AArch64 pseudo relocation code to be used internally by the AArch64 +assembler and not (currently) written to any object files. */ + BFD_RELOC_AARCH64_TLSDESC_LD_LO12_NC, /* Tilera TILEPro Relocations. */ BFD_RELOC_TILEPRO_COPY, @@ -6099,6 +6440,14 @@ struct bfd unsigned int selective_search : 1; }; +/* See note beside bfd_set_section_userdata. */ +static inline bfd_boolean +bfd_set_cacheable (bfd * abfd, bfd_boolean val) +{ + abfd->cacheable = val; + return TRUE; +} + typedef enum bfd_error { bfd_error_no_error = 0, @@ -6112,6 +6461,7 @@ typedef enum bfd_error bfd_error_no_armap, bfd_error_no_more_archived_files, bfd_error_malformed_archive, + bfd_error_missing_dso, bfd_error_file_not_recognized, bfd_error_file_ambiguously_recognized, bfd_error_no_contents, diff --git a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd_stdint.h b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd_stdint.h index 759f25170bf5..13b5c9e61990 100644 --- a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd_stdint.h +++ b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfd_stdint.h @@ -1,8 +1,8 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 for shle--netbsdelf-gcc (NetBSD nb1 20120916) 4.5.4 */ +/* generated for shle--netbsdelf-gcc (NetBSD nb1 20140527) 4.8.3 */ #ifndef GCC_GENERATED_STDINT_H #define GCC_GENERATED_STDINT_H 1 diff --git a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfdver.h b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfdver.h index 2a7908d927ae..92b6456a90ce 100644 --- a/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfdver.h +++ b/external/gpl3/gdb/lib/libbfd/arch/sh3el/bfdver.h @@ -1,8 +1,8 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ -#define BFD_VERSION_DATE 20130312 -#define BFD_VERSION 223520000 -#define BFD_VERSION_STRING "(GNU Binutils)" "2.23.52.20130312" +#define BFD_VERSION_DATE 20140505 +#define BFD_VERSION 224510000 +#define BFD_VERSION_STRING "(GNU Binutils)" "2.24.51.20140505" #define REPORT_BUGS_TO "" diff --git a/external/gpl3/gdb/lib/libbfd/arch/sh3el/config.h b/external/gpl3/gdb/lib/libbfd/arch/sh3el/config.h index d6dea5c0f562..d3e670244c5f 100644 --- a/external/gpl3/gdb/lib/libbfd/arch/sh3el/config.h +++ b/external/gpl3/gdb/lib/libbfd/arch/sh3el/config.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* config.h. Generated from config.in by configure. */ /* config.in. Generated from configure.in by autoheader. */ @@ -117,6 +117,9 @@ /* Define to 1 if you have the `getpagesize' function. */ #define HAVE_GETPAGESIZE 1 +/* Define to 1 if you have the `getrlimit' function. */ +#define HAVE_GETRLIMIT 1 + /* Define to 1 if you have the `getuid' function. */ #define HAVE_GETUID 1 @@ -239,6 +242,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_PROCFS_H */ +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_RESOURCE_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 @@ -254,6 +260,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_WCHAR_H 1 + /* Define if has win32_pstatus_t. */ /* #undef HAVE_WIN32_PSTATUS_T */ @@ -277,7 +286,7 @@ #define PACKAGE_NAME "bfd" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "bfd 2.23.52" +#define PACKAGE_STRING "bfd 2.24.51" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "bfd" @@ -286,7 +295,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2.23.52" +#define PACKAGE_VERSION "2.24.51" /* The size of `char', as computed by sizeof. */ /* #undef SIZEOF_CHAR */ @@ -359,7 +368,7 @@ /* Version number of package */ -#define VERSION "2.23.52" +#define VERSION "2.24.51" /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ diff --git a/external/gpl3/gdb/lib/libbfd/arch/sh3el/targmatch.h b/external/gpl3/gdb/lib/libbfd/arch/sh3el/targmatch.h index 6050319ee521..8fe564e100d2 100644 --- a/external/gpl3/gdb/lib/libbfd/arch/sh3el/targmatch.h +++ b/external/gpl3/gdb/lib/libbfd/arch/sh3el/targmatch.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ #ifdef BFD64 #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_littleaarch64_vec) @@ -68,7 +68,7 @@ #if !defined (SELECT_VECS) || defined (HAVE_ecoffalpha_little_vec) -{ "alpha*-*-linuxecoff*", +{ "alpha*-*-linux*ecoff*", &ecoffalpha_little_vec }, #endif @@ -1462,23 +1462,6 @@ #ifdef BFD64 -#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradlittlemips_vec) - -{ "mips64*el-*-netbsd*", -&bfd_elf32_ntradlittlemips_vec }, -#endif - - - -#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradbigmips_vec) - -{ "mips64*-*-netbsd*", -&bfd_elf32_ntradbigmips_vec }, -#endif - - - -#endif #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_vec) { "mips*el-*-netbsd*", @@ -1495,6 +1478,7 @@ +#endif #if !defined (SELECT_VECS) || defined (HAVE_ecoff_little_vec) { "mips*-dec-*", NULL },{ "mips*el-*-ecoff*", @@ -1519,7 +1503,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_nlittlemips_vec) @@ -1528,9 +1511,7 @@ #endif - -#endif #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlemips_vec) { "mips*-ps2-elf*", @@ -1547,6 +1528,7 @@ +#endif #if !defined (SELECT_VECS) || defined (HAVE_ecoff_big_vec) { "mips*-sgi-*", NULL },{ "mips*-*-bsd*", @@ -1563,6 +1545,7 @@ +#ifdef BFD64 #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradbigmips_vec) { "mips*-*-sysv4*", @@ -1571,6 +1554,7 @@ +#endif #if !defined (SELECT_VECS) || defined (HAVE_ecoff_big_vec) { "mips*-*-sysv*", NULL },{ "mips*-*-riscos*", @@ -1587,7 +1571,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_bigmips_vxworks_vec) @@ -1596,9 +1579,7 @@ #endif - -#endif #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_vec) { "mips*el-sde-elf*", @@ -1606,7 +1587,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradbigmips_vec) @@ -1615,7 +1595,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlemips_vec) @@ -1641,7 +1620,6 @@ -#ifdef BFD64 #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_tradbigmips_vec) { "mips64*-*-openbsd*", @@ -1649,9 +1627,7 @@ #endif - -#endif #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_littlemips_vec) { "mips*el-*-openbsd*", @@ -1668,7 +1644,6 @@ -#ifdef BFD64 #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradlittlemips_vec) { "mips64*el-*-linux*", @@ -1676,7 +1651,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradbigmips_vec) @@ -1685,7 +1659,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_vec) @@ -1694,7 +1667,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradbigmips_vec) @@ -1703,7 +1675,6 @@ #endif - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradlittlemips_freebsd_vec) @@ -1715,7 +1686,6 @@ - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_ntradbigmips_freebsd_vec) @@ -1727,9 +1697,7 @@ - -#endif #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradlittlemips_freebsd_vec) @@ -1740,7 +1708,6 @@ - #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_tradbigmips_freebsd_vec) @@ -1752,9 +1719,7 @@ - -#ifdef BFD64 #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_mmix_vec) { "mmix-*-*", @@ -1796,6 +1761,43 @@ &bfd_elf32_msp430_vec }, #endif + + + +#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_nds32lelin_vec) + +{ "nds32*le-*-linux*", +&bfd_elf32_nds32lelin_vec }, +#endif + + + + +#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_nds32belin_vec) + +{ "nds32*be-*-linux*", +&bfd_elf32_nds32belin_vec }, +#endif + + + + +#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_nds32le_vec) + +{ "nds32*le-*-*", +&bfd_elf32_nds32le_vec }, +#endif + + + + +#if !defined (SELECT_VECS) || defined (HAVE_bfd_elf32_nds32be_vec) + +{ "nds32*be-*-*", +&bfd_elf32_nds32be_vec }, +#endif + + #if !defined (SELECT_VECS) || defined (HAVE_pc532machaout_vec) @@ -1976,7 +1978,8 @@ #if !defined (SELECT_VECS) || defined (HAVE_bfd_elf64_powerpcle_vec) -{ "powerpc64le-*-elf*", NULL },{ "powerpcle-*-elf64*", +{ "powerpc64le-*-elf*", NULL },{ "powerpcle-*-elf64*", NULL },{ "powerpc64le-*-linux*", NULL }, +{ "powerpc64le-*-*bsd*", &bfd_elf64_powerpcle_vec }, #endif diff --git a/external/gpl3/gdb/lib/libdecnumber/arch/sh3el/gstdint.h b/external/gpl3/gdb/lib/libdecnumber/arch/sh3el/gstdint.h index 759f25170bf5..13b5c9e61990 100644 --- a/external/gpl3/gdb/lib/libdecnumber/arch/sh3el/gstdint.h +++ b/external/gpl3/gdb/lib/libdecnumber/arch/sh3el/gstdint.h @@ -1,8 +1,8 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 for shle--netbsdelf-gcc (NetBSD nb1 20120916) 4.5.4 */ +/* generated for shle--netbsdelf-gcc (NetBSD nb1 20140527) 4.8.3 */ #ifndef GCC_GENERATED_STDINT_H #define GCC_GENERATED_STDINT_H 1 diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h b/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h index 4336896b00da..39c63a00b588 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/build-gnulib/config.h @@ -1,10 +1,13 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* config.h. Generated from config.in by configure. */ /* config.in. Generated from configure.ac by autoheader. */ +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + /* Define to the number of bits in type 'ptrdiff_t'. */ /* #undef BITSIZEOF_PTRDIFF_T */ @@ -28,6 +31,19 @@ /* Define to 1 if using 'alloca.c'. */ /* #undef C_ALLOCA */ +/* Define as the bit index in the word where to find bit 0 of the exponent of + 'double'. */ +#define DBL_EXPBIT0_BIT 20 + +/* Define as the word index where to find the exponent of 'double'. */ +#define DBL_EXPBIT0_WORD 1 + +/* Define to 1 when the gnulib module frexp should be tested. */ +#define GNULIB_TEST_FREXP 1 + +/* Define to 1 when the gnulib module frexpl should be tested. */ +#define GNULIB_TEST_FREXPL 1 + /* Define to 1 when the gnulib module mbrtowc should be tested. */ #define GNULIB_TEST_MBRTOWC 1 @@ -43,6 +59,12 @@ /* Define to 1 when the gnulib module memmem should be tested. */ #define GNULIB_TEST_MEMMEM 1 +/* Define to 1 when the gnulib module strstr should be tested. */ +#define GNULIB_TEST_STRSTR 1 + +/* Define to 1 if you have the `alarm' function. */ +#define HAVE_ALARM 1 + /* Define to 1 if you have 'alloca' after including , a header that may be supplied by this distribution. */ #define HAVE_ALLOCA 1 @@ -54,7 +76,7 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_BP_SYM_H */ -/* Define to 1 if you have the 'btowc' function. */ +/* Define to 1 if you have the `btowc' function. */ #define HAVE_BTOWC 1 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you @@ -85,19 +107,34 @@ don't. */ /* #undef HAVE_DECL_TOWLOWER */ +/* Define to 1 if you have the header file. */ +#define HAVE_DIRENT_H 1 + /* Define to 1 if you have the header file. */ /* #undef HAVE_FEATURES_H */ +/* Define if the frexp() function is available and works. */ +/* #undef HAVE_FREXP */ + +/* Define if the frexpl() function is available. */ +/* #undef HAVE_FREXPL */ + /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 -/* Define to 1 if you have the 'isblank' function. */ +/* Define to 1 if you have the `isblank' function. */ #define HAVE_ISBLANK 1 -/* Define to 1 if you have the 'iswcntrl' function. */ +/* Define if the isnan(double) function is available in libc. */ +#define HAVE_ISNAND_IN_LIBC 1 + +/* Define if the isnan(long double) function is available in libc. */ +/* #undef HAVE_ISNANL_IN_LIBC */ + +/* Define to 1 if you have the `iswcntrl' function. */ #define HAVE_ISWCNTRL 1 -/* Define to 1 if you have the 'iswctype' function. */ +/* Define to 1 if you have the `iswctype' function. */ #define HAVE_ISWCTYPE 1 /* Define if you have and nl_langinfo(CODESET). */ @@ -110,13 +147,16 @@ config.h and . */ #define HAVE_MAP_ANONYMOUS 1 -/* Define to 1 if you have the 'mbrtowc' function. */ +/* Define to 1 if you have the header file. */ +#define HAVE_MATH_H 1 + +/* Define to 1 if you have the `mbrtowc' function. */ #define HAVE_MBRTOWC 1 -/* Define to 1 if you have the 'mbsinit' function. */ +/* Define to 1 if you have the `mbsinit' function. */ #define HAVE_MBSINIT 1 -/* Define to 1 if you have the 'mbsrtowcs' function. */ +/* Define to 1 if you have the `mbsrtowcs' function. */ #define HAVE_MBSRTOWCS 1 /* Define to 1 if declares mbstate_t. */ @@ -128,30 +168,324 @@ /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 -/* Define to 1 if you have the 'mempcpy' function. */ +/* Define to 1 if you have the `mempcpy' function. */ /* #undef HAVE_MEMPCPY */ -/* Define to 1 if you have the 'mprotect' function. */ +/* Define to 1 if you have the `mprotect' function. */ #define HAVE_MPROTECT 1 +/* Define to 1 if acosf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ACOSF 1 + +/* Define to 1 if acosl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ACOSL 1 + +/* Define to 1 if alphasort is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ALPHASORT 1 + +/* Define to 1 if asinf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ASINF 1 + +/* Define to 1 if asinl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ASINL 1 + +/* Define to 1 if atanf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ATANF 1 + +/* Define to 1 if atanl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ATANL 1 + /* Define to 1 if btowc is declared even after undefining macros. */ #define HAVE_RAW_DECL_BTOWC 1 +/* Define to 1 if cbrt is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CBRT 1 + +/* Define to 1 if cbrtf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CBRTF 1 + +/* Define to 1 if cbrtl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CBRTL 1 + +/* Define to 1 if ceilf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CEILF 1 + +/* Define to 1 if ceill is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CEILL 1 + +/* Define to 1 if chdir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CHDIR 1 + +/* Define to 1 if chown is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CHOWN 1 + +/* Define to 1 if closedir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_CLOSEDIR 1 + +/* Define to 1 if copysign is declared even after undefining macros. */ +#define HAVE_RAW_DECL_COPYSIGN 1 + +/* Define to 1 if copysignf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_COPYSIGNF 1 + +/* Define to 1 if copysignl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_COPYSIGNL 1 + +/* Define to 1 if cosf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_COSF 1 + +/* Define to 1 if coshf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_COSHF 1 + +/* Define to 1 if cosl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_COSL 1 + +/* Define to 1 if dirfd is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_DIRFD */ + +/* Define to 1 if dup is declared even after undefining macros. */ +#define HAVE_RAW_DECL_DUP 1 + +/* Define to 1 if dup2 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_DUP2 1 + +/* Define to 1 if dup3 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_DUP3 1 + +/* Define to 1 if endusershell is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ENDUSERSHELL 1 + +/* Define to 1 if environ is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_ENVIRON */ + +/* Define to 1 if euidaccess is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_EUIDACCESS */ + +/* Define to 1 if exp2 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXP2 1 + +/* Define to 1 if exp2f is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXP2F 1 + +/* Define to 1 if exp2l is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXP2L 1 + +/* Define to 1 if expf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXPF 1 + +/* Define to 1 if expl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXPL 1 + +/* Define to 1 if expm1 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXPM1 1 + +/* Define to 1 if expm1f is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXPM1F 1 + +/* Define to 1 if expm1l is declared even after undefining macros. */ +#define HAVE_RAW_DECL_EXPM1L 1 + +/* Define to 1 if fabsf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FABSF 1 + +/* Define to 1 if fabsl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FABSL 1 + +/* Define to 1 if faccessat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FACCESSAT 1 + +/* Define to 1 if fchdir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FCHDIR 1 + +/* Define to 1 if fchmodat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FCHMODAT 1 + +/* Define to 1 if fchownat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FCHOWNAT 1 + +/* Define to 1 if fdatasync is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FDATASYNC 1 + +/* Define to 1 if fdopendir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FDOPENDIR 1 + /* Define to 1 if ffsl is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_FFSL */ /* Define to 1 if ffsll is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_FFSLL */ +/* Define to 1 if floorf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FLOORF 1 + +/* Define to 1 if floorl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FLOORL 1 + +/* Define to 1 if fma is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FMA 1 + +/* Define to 1 if fmaf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FMAF 1 + +/* Define to 1 if fmal is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FMAL 1 + +/* Define to 1 if fmod is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FMOD 1 + +/* Define to 1 if fmodf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FMODF 1 + +/* Define to 1 if fmodl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FMODL 1 + +/* Define to 1 if frexpf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FREXPF 1 + +/* Define to 1 if frexpl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FREXPL 1 + +/* Define to 1 if fstat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FSTAT 1 + +/* Define to 1 if fstatat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FSTATAT 1 + +/* Define to 1 if fsync is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FSYNC 1 + +/* Define to 1 if ftruncate is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FTRUNCATE 1 + +/* Define to 1 if futimens is declared even after undefining macros. */ +#define HAVE_RAW_DECL_FUTIMENS 1 + +/* Define to 1 if getcwd is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETCWD 1 + +/* Define to 1 if getdomainname is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETDOMAINNAME 1 + +/* Define to 1 if getdtablesize is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETDTABLESIZE 1 + +/* Define to 1 if getgroups is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETGROUPS 1 + +/* Define to 1 if gethostname is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETHOSTNAME 1 + +/* Define to 1 if getlogin is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETLOGIN 1 + +/* Define to 1 if getlogin_r is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETLOGIN_R 1 + +/* Define to 1 if getpagesize is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETPAGESIZE 1 + +/* Define to 1 if getusershell is declared even after undefining macros. */ +#define HAVE_RAW_DECL_GETUSERSHELL 1 + +/* Define to 1 if group_member is declared even after undefining macros. */ +/* #undef HAVE_RAW_DECL_GROUP_MEMBER */ + +/* Define to 1 if hypotf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_HYPOTF 1 + +/* Define to 1 if hypotl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_HYPOTL 1 + +/* Define to 1 if ilogb is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ILOGB 1 + +/* Define to 1 if ilogbf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ILOGBF 1 + +/* Define to 1 if ilogbl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ILOGBL 1 + /* Define to 1 if imaxabs is declared even after undefining macros. */ #define HAVE_RAW_DECL_IMAXABS 1 /* Define to 1 if imaxdiv is declared even after undefining macros. */ #define HAVE_RAW_DECL_IMAXDIV 1 +/* Define to 1 if isatty is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ISATTY 1 + /* Define to 1 if iswctype is declared even after undefining macros. */ #define HAVE_RAW_DECL_ISWCTYPE 1 +/* Define to 1 if lchmod is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LCHMOD 1 + +/* Define to 1 if lchown is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LCHOWN 1 + +/* Define to 1 if ldexpf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LDEXPF 1 + +/* Define to 1 if ldexpl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LDEXPL 1 + +/* Define to 1 if link is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LINK 1 + +/* Define to 1 if linkat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LINKAT 1 + +/* Define to 1 if log is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG 1 + +/* Define to 1 if log10 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG10 1 + +/* Define to 1 if log10f is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG10F 1 + +/* Define to 1 if log10l is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG10L 1 + +/* Define to 1 if log1p is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG1P 1 + +/* Define to 1 if log1pf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG1PF 1 + +/* Define to 1 if log1pl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG1PL 1 + +/* Define to 1 if log2 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG2 1 + +/* Define to 1 if log2f is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG2F 1 + +/* Define to 1 if log2l is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOG2L 1 + +/* Define to 1 if logb is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOGB 1 + +/* Define to 1 if logbf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOGBF 1 + +/* Define to 1 if logbl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOGBL 1 + +/* Define to 1 if logf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOGF 1 + +/* Define to 1 if logl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LOGL 1 + +/* Define to 1 if lseek is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LSEEK 1 + +/* Define to 1 if lstat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_LSTAT 1 + /* Define to 1 if mbrlen is declared even after undefining macros. */ #define HAVE_RAW_DECL_MBRLEN 1 @@ -176,9 +510,123 @@ /* Define to 1 if memrchr is declared even after undefining macros. */ #define HAVE_RAW_DECL_MEMRCHR 1 +/* Define to 1 if mkdirat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKDIRAT 1 + +/* Define to 1 if mkfifo is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKFIFO 1 + +/* Define to 1 if mkfifoat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKFIFOAT 1 + +/* Define to 1 if mknod is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKNOD 1 + +/* Define to 1 if mknodat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MKNODAT 1 + +/* Define to 1 if modf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MODF 1 + +/* Define to 1 if modff is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MODFF 1 + +/* Define to 1 if modfl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_MODFL 1 + +/* Define to 1 if opendir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_OPENDIR 1 + +/* Define to 1 if pipe is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PIPE 1 + +/* Define to 1 if pipe2 is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PIPE2 1 + +/* Define to 1 if powf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_POWF 1 + +/* Define to 1 if pread is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PREAD 1 + +/* Define to 1 if pwrite is declared even after undefining macros. */ +#define HAVE_RAW_DECL_PWRITE 1 + /* Define to 1 if rawmemchr is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_RAWMEMCHR */ +/* Define to 1 if readdir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_READDIR 1 + +/* Define to 1 if readlink is declared even after undefining macros. */ +#define HAVE_RAW_DECL_READLINK 1 + +/* Define to 1 if readlinkat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_READLINKAT 1 + +/* Define to 1 if remainder is declared even after undefining macros. */ +#define HAVE_RAW_DECL_REMAINDER 1 + +/* Define to 1 if remainderf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_REMAINDERF 1 + +/* Define to 1 if remainderl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_REMAINDERL 1 + +/* Define to 1 if rewinddir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_REWINDDIR 1 + +/* Define to 1 if rint is declared even after undefining macros. */ +#define HAVE_RAW_DECL_RINT 1 + +/* Define to 1 if rintf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_RINTF 1 + +/* Define to 1 if rintl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_RINTL 1 + +/* Define to 1 if rmdir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_RMDIR 1 + +/* Define to 1 if round is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ROUND 1 + +/* Define to 1 if roundf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ROUNDF 1 + +/* Define to 1 if roundl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_ROUNDL 1 + +/* Define to 1 if scandir is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SCANDIR 1 + +/* Define to 1 if sethostname is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SETHOSTNAME 1 + +/* Define to 1 if setusershell is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SETUSERSHELL 1 + +/* Define to 1 if sinf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SINF 1 + +/* Define to 1 if sinhf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SINHF 1 + +/* Define to 1 if sinl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SINL 1 + +/* Define to 1 if sleep is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SLEEP 1 + +/* Define to 1 if sqrtf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SQRTF 1 + +/* Define to 1 if sqrtl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SQRTL 1 + +/* Define to 1 if stat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_STAT 1 + /* Define to 1 if stpcpy is declared even after undefining macros. */ #define HAVE_RAW_DECL_STPCPY 1 @@ -227,9 +675,48 @@ /* Define to 1 if strverscmp is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_STRVERSCMP */ +/* Define to 1 if symlink is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SYMLINK 1 + +/* Define to 1 if symlinkat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_SYMLINKAT 1 + +/* Define to 1 if tanf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TANF 1 + +/* Define to 1 if tanhf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TANHF 1 + +/* Define to 1 if tanl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TANL 1 + /* Define to 1 if towctrans is declared even after undefining macros. */ #define HAVE_RAW_DECL_TOWCTRANS 1 +/* Define to 1 if trunc is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TRUNC 1 + +/* Define to 1 if truncf is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TRUNCF 1 + +/* Define to 1 if truncl is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TRUNCL 1 + +/* Define to 1 if ttyname_r is declared even after undefining macros. */ +#define HAVE_RAW_DECL_TTYNAME_R 1 + +/* Define to 1 if unlink is declared even after undefining macros. */ +#define HAVE_RAW_DECL_UNLINK 1 + +/* Define to 1 if unlinkat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_UNLINKAT 1 + +/* Define to 1 if usleep is declared even after undefining macros. */ +#define HAVE_RAW_DECL_USLEEP 1 + +/* Define to 1 if utimensat is declared even after undefining macros. */ +#define HAVE_RAW_DECL_UTIMENSAT 1 + /* Define to 1 if wcpcpy is declared even after undefining macros. */ /* #undef HAVE_RAW_DECL_WCPCPY */ @@ -335,6 +822,9 @@ /* Define to 1 if wmemset is declared even after undefining macros. */ #define HAVE_RAW_DECL_WMEMSET 1 +/* Define to 1 if 'long double' and 'double' have the same representation. */ +#define HAVE_SAME_LONG_DOUBLE_AS_DOUBLE 1 + /* Define to 1 if 'sig_atomic_t' is a signed integer type. */ /* #undef HAVE_SIGNED_SIG_ATOMIC_T */ @@ -356,7 +846,7 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 -/* Define to 1 if you have the 'symlink' function. */ +/* Define to 1 if you have the `symlink' function. */ #define HAVE_SYMLINK 1 /* Define to 1 if you have the header file. */ @@ -368,9 +858,15 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_MMAN_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_SYS_TYPES_H 1 @@ -395,13 +891,13 @@ /* Define if you have the 'wint_t' type. */ #define HAVE_WINT_T 1 -/* Define to 1 if you have the 'wmemchr' function. */ +/* Define to 1 if you have the `wmemchr' function. */ #define HAVE_WMEMCHR 1 -/* Define to 1 if you have the 'wmemcpy' function. */ +/* Define to 1 if you have the `wmemcpy' function. */ #define HAVE_WMEMCPY 1 -/* Define to 1 if you have the 'wmempcpy' function. */ +/* Define to 1 if you have the `wmempcpy' function. */ /* #undef HAVE_WMEMPCPY */ /* Define to 1 if O_NOATIME works. */ @@ -413,6 +909,13 @@ /* Define to 1 if the system has the type `_Bool'. */ #define HAVE__BOOL 1 +/* Define as the bit index in the word where to find bit 0 of the exponent of + 'long double'. */ +/* #undef LDBL_EXPBIT0_BIT */ + +/* Define as the word index where to find the exponent of 'long double'. */ +/* #undef LDBL_EXPBIT0_WORD */ + /* Define to a substitute value for mmap()'s MAP_ANONYMOUS flag. */ #define MAP_ANONYMOUS MAP_ANON @@ -469,6 +972,9 @@ STACK_DIRECTION = 0 => direction of growth unknown */ /* #undef STACK_DIRECTION */ +/* Define to 1 if the `S_IS*' macros in do not work properly. */ +/* #undef STAT_MACROS_BROKEN */ + /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 @@ -480,6 +986,22 @@ 'wint_t'. */ /* #undef WINT_T_SUFFIX */ +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Define to 1 if Gnulib overrides 'struct stat' on Windows so that struct + stat.st_size becomes 64-bit. */ +/* #undef _GL_WINDOWS_64_BIT_ST_SIZE */ + /* Define to 1 if on MINIX. */ /* #undef _MINIX */ @@ -601,6 +1123,15 @@ /* Define to a type if does not define. */ /* #undef mbstate_t */ +/* Define to `int' if does not define. */ +/* #undef mode_t */ + +/* Define to the type of st_nlink in struct stat, or a supertype. */ +/* #undef nlink_t */ + +/* Define to `int' if does not define. */ +/* #undef pid_t */ + /* Define to the equivalent of the C99 'restrict' keyword, or to nothing if this is not supported. Do not define if restrict is supported directly. */ @@ -615,6 +1146,9 @@ # define __restrict__ #endif +/* Define as a signed type of the same size as size_t. */ +/* #undef ssize_t */ + /* Define as a marker that can be attached to declarations that might not be used. This helps to reduce warnings, such as from GCC -Wunused-parameter. */ diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/config.h b/external/gpl3/gdb/lib/libgdb/arch/sh3el/config.h index 48ce92b461e2..cebb95458929 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/config.h +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/config.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* config.h. Generated from config.in by configure. */ /* config.in. Generated from configure.ac by autoheader. */ @@ -42,6 +42,9 @@ language is requested. */ #define ENABLE_NLS 1 +/* The .gdbinit filename. */ +#define GDBINIT ".gdbinit" + /* look for global separate data files in this path [DATADIR/gdb] */ #define GDB_DATADIR "/usr/share/gdb" @@ -94,10 +97,6 @@ */ #define HAVE_DECL_FREE 1 -/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't. - */ -#define HAVE_DECL_GETOPT 1 - /* Define to 1 if you have the declaration of `getthrds', and to 0 if you don't. */ /* #undef HAVE_DECL_GETTHRDS */ @@ -126,14 +125,6 @@ */ #define HAVE_DECL_STRSTR 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 header file, and it defines `DIR'. - */ -#define HAVE_DIRENT_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 @@ -146,6 +137,9 @@ /* Define to 1 if your system has the etext variable. */ #define HAVE_ETEXT 1 +/* Define to 1 if you have the `fdwalk' function. */ +/* #undef HAVE_FDWALK */ + /* Define to 1 if you have the `fork' function. */ #define HAVE_FORK 1 @@ -185,6 +179,9 @@ /* Define if your file defines LC_MESSAGES. */ #define HAVE_LC_MESSAGES 1 +/* Define if you have the babeltrace library. */ +/* #undef HAVE_LIBBABELTRACE */ + /* Define to 1 if you have the `dl' library (-ldl). */ /* #undef HAVE_LIBDL */ @@ -221,9 +218,6 @@ /* Define to 1 if you have the `w' library (-lw). */ /* #undef HAVE_LIBW */ -/* Define to 1 if you have the header file. */ -#define HAVE_LINK_H 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_LINUX_PERF_EVENT_H */ @@ -260,9 +254,6 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_NCURSES_TERM_H */ -/* Define to 1 if you have the header file, and it defines `DIR'. */ -/* #undef HAVE_NDIR_H */ - /* Define to 1 if you have the header file. */ #define HAVE_NLIST_H 1 @@ -272,6 +263,9 @@ /* Define to 1 if you have the `pipe' function. */ #define HAVE_PIPE 1 +/* Define to 1 if you have the `pipe2' function. */ +#define HAVE_PIPE2 1 + /* Define to 1 if you have the `poll' function. */ #define HAVE_POLL 1 @@ -287,9 +281,6 @@ /* Define to 1 if you have the `pread64' function. */ /* #undef HAVE_PREAD64 */ -/* Define if has prfpregset32_t. */ -/* #undef HAVE_PRFPREGSET32_T */ - /* Define if has prfpregset_t. */ /* #undef HAVE_PRFPREGSET_T */ @@ -299,15 +290,9 @@ /* Define if has prgregset_t. */ /* #undef HAVE_PRGREGSET_T */ -/* Define if ioctl argument PIOCSET is available. */ -/* #undef HAVE_PROCFS_PIOCSET */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_PROC_SERVICE_H */ -/* Define if has prrun_t. */ -/* #undef HAVE_PRRUN_T */ - /* Define if has prsysent_t. */ /* #undef HAVE_PRSYSENT_T */ @@ -323,8 +308,8 @@ /* Define if has psaddr_t. */ /* #undef HAVE_PSADDR_T */ -/* Define if has pstatus_t. */ -/* #undef HAVE_PSTATUS_T */ +/* Define to 1 if you have the `ptrace64' function. */ +/* #undef HAVE_PTRACE64 */ /* Define if sys/ptrace.h defines the PTRACE_GETFPXREGS request. */ /* #undef HAVE_PTRACE_GETFPXREGS */ @@ -398,9 +383,6 @@ /* Define to 1 if the system has the type `socklen_t'. */ #define HAVE_SOCKLEN_T 1 -/* Define to 1 if you have the header file. */ -#define HAVE_STDDEF_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_STDINT_H 1 @@ -413,17 +395,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_STRING_H 1 -/* Define if has struct link_map32 */ -/* #undef HAVE_STRUCT_LINK_MAP32 */ - -/* Define if exists and defines struct link_map which has members - with an ``lm_'' prefix. (For SunOS.) */ -/* #undef HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS */ - -/* Define if exists and defines struct link_map which has members - with an ``l_'' prefix. (For Solaris, SVR4, and SVR4-like systems.) */ -#define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1 - /* Define to 1 if your system has struct lwp. */ #define HAVE_STRUCT_LWP 1 @@ -436,10 +407,6 @@ /* Define to 1 if `struct reg' is a member of `r_gs'. */ /* #undef HAVE_STRUCT_REG_R_GS */ -/* Define if exists and defines a struct so_map which has members - with an ``som_'' prefix. (Found on older *BSD systems.) */ -/* #undef HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS */ - /* Define to 1 if `struct stat' is a member of `st_blksize'. */ #define HAVE_STRUCT_STAT_ST_BLKSIZE 1 @@ -455,16 +422,9 @@ /* Define to 1 if `struct user_regs_struct' is a member of `gs_base'. */ /* #undef HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE */ -/* Define to 1 if you have the `syscall' function. */ -#define HAVE_SYSCALL 1 - /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_DEBUGREG_H */ -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -/* #undef HAVE_SYS_DIR_H */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_SYS_FAULT_H */ @@ -477,10 +437,6 @@ /* Define to 1 if you have the header file. */ #define HAVE_SYS_IOCTL_H 1 -/* Define to 1 if you have the header file, and it defines `DIR'. - */ -/* #undef HAVE_SYS_NDIR_H */ - /* Define to 1 if you have the header file. */ #define HAVE_SYS_PARAM_H 1 @@ -602,8 +558,7 @@ moved. */ #define JIT_READER_DIR_RELOCATABLE 1 -/* Define if you want to use new multi-fd /proc interface (replaces - HAVE_MULTIPLE_PROC_FDS as well as other macros). */ +/* Define if you want to use new multi-fd /proc interface. */ /* #undef NEW_PROC_API */ /* Name of this package. */ @@ -649,6 +604,9 @@ /* Define to the type of arg 3 for ptrace. */ #define PTRACE_TYPE_ARG3 void * +/* Define to the type of arg 4 for ptrace. */ +#define PTRACE_TYPE_ARG4 int + /* Define to the type of arg 5 for ptrace. */ /* #undef PTRACE_TYPE_ARG5 */ @@ -791,9 +749,6 @@ /* Define to 1 if you need to in order for `stat' and other things to work. */ /* #undef _POSIX_SOURCE */ -/* Define if has link_map32 (solaris sparc-64 target) */ -/* #undef _SYSCALL32 */ - /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/defs.mk b/external/gpl3/gdb/lib/libgdb/arch/sh3el/defs.mk index 4cb4ad149ac7..25c141d95c35 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/defs.mk +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/defs.mk @@ -1,7 +1,7 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp -# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 # -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 -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -G_LIBGDB_OBS=sh-tdep.o sh64-tdep.o shnbsd-tdep.o nbsd-tdep.o corelow.o solib.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o inf-ptrace.o fork-child.o nbsd-nat.o shnbsd-nat.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.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 py-value.o py-prettyprint.o py-auto-load.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-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 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 symmisc.o linespec.o dictionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exceptions.o filesystem.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 parse.o language.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 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 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 regset.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 inflow.o init.o +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_LIBGDB_OBS=sh-tdep.o sh64-tdep.o shnbsd-tdep.o nbsd-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o inf-ptrace.o fork-child.o nbsd-nat.o shnbsd-nat.o nbsd-thread.o remote.o dcache.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o remote-notif.o ctf.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 py-value.o py-prettyprint.o py-auto-load.o elfread.o stap-probe.o posix-hdep.o c-exp.o cp-name-parser.o ada-exp.o jv-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 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 regset.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 inflow.o init.o G_SIM_OBS= diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/init.c b/external/gpl3/gdb/lib/libgdb/arch/sh3el/init.c index 1b607cf84b5e..c7ff8159e248 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/init.c +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/init.c @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* Do not modify this file. */ /* It is created automatically by the Makefile. */ @@ -9,8 +9,6 @@ extern void initialize_all_files(void); extern initialize_file_ftype _initialize_gdbtypes; extern initialize_file_ftype _initialize_sh_tdep; extern initialize_file_ftype _initialize_shnbsd_tdep; -extern initialize_file_ftype _initialize_corelow; -extern initialize_file_ftype _initialize_solib; extern initialize_file_ftype _initialize_svr4_solib; extern initialize_file_ftype _initialize_ser_hardwire; extern initialize_file_ftype _initialize_ser_pipe; @@ -23,6 +21,7 @@ extern initialize_file_ftype _initialize_dcache; extern initialize_file_ftype _initialize_tracepoint; extern initialize_file_ftype _initialize_ax_gdb; extern initialize_file_ftype _initialize_notif; +extern initialize_file_ftype _initialize_ctf; extern initialize_file_ftype _initialize_elfread; extern initialize_file_ftype _initialize_stap_probe; extern initialize_file_ftype _initialize_annotate; @@ -32,8 +31,10 @@ extern initialize_file_ftype _initialize_auxv; extern initialize_file_ftype _initialize_agent; extern initialize_file_ftype _initialize_breakpoint; extern initialize_file_ftype _initialize_break_catch_sig; +extern initialize_file_ftype _initialize_break_catch_throw; extern initialize_file_ftype _initialize_regcache; extern initialize_file_ftype _initialize_charset; +extern initialize_file_ftype _initialize_corelow; extern initialize_file_ftype _initialize_dummy_frame; extern initialize_file_ftype _initialize_source; extern initialize_file_ftype _initialize_values; @@ -44,6 +45,7 @@ extern initialize_file_ftype _initialize_printcmd; extern initialize_file_ftype _initialize_symtab; extern initialize_file_ftype _initialize_psymtab; extern initialize_file_ftype _initialize_symfile; +extern initialize_file_ftype _initialize_symfile_debug; extern initialize_file_ftype _initialize_symmisc; extern initialize_file_ftype _initialize_infcall; extern initialize_file_ftype _initialize_infcmd; @@ -60,6 +62,7 @@ extern initialize_file_ftype _initialize_gdb_bfd; extern initialize_file_ftype _initialize_gdb_osabi; extern initialize_file_ftype _initialize_copying; extern initialize_file_ftype _initialize_mem; +extern initialize_file_ftype _initialize_target_dcache; extern initialize_file_ftype _initialize_parse; extern initialize_file_ftype _initialize_language; extern initialize_file_ftype _initialize_mem_search; @@ -106,7 +109,6 @@ extern initialize_file_ftype _initialize_utils; extern initialize_file_ftype _initialize_user_regs; extern initialize_file_ftype _initialize_frame; extern initialize_file_ftype _initialize_frame_unwind; -extern initialize_file_ftype _initialize_doublest; extern initialize_file_ftype _initialize_frame_base; extern initialize_file_ftype _initialize_gnu_v2_abi; extern initialize_file_ftype _initialize_gnu_v3_abi; @@ -114,6 +116,7 @@ extern initialize_file_ftype _initialize_cp_abi; extern initialize_file_ftype _initialize_cp_support; extern initialize_file_ftype _initialize_cp_namespace; extern initialize_file_ftype _initialize_reggroup; +extern initialize_file_ftype _initialize_solib; extern initialize_file_ftype _initialize_solib_target; extern initialize_file_ftype _initialize_xml_support; extern initialize_file_ftype _initialize_target_descriptions; @@ -148,8 +151,6 @@ initialize_all_files (void) _initialize_gdbtypes (); _initialize_sh_tdep (); _initialize_shnbsd_tdep (); - _initialize_corelow (); - _initialize_solib (); _initialize_svr4_solib (); _initialize_ser_hardwire (); _initialize_ser_pipe (); @@ -162,6 +163,7 @@ initialize_all_files (void) _initialize_tracepoint (); _initialize_ax_gdb (); _initialize_notif (); + _initialize_ctf (); _initialize_elfread (); _initialize_stap_probe (); _initialize_annotate (); @@ -171,8 +173,10 @@ initialize_all_files (void) _initialize_agent (); _initialize_breakpoint (); _initialize_break_catch_sig (); + _initialize_break_catch_throw (); _initialize_regcache (); _initialize_charset (); + _initialize_corelow (); _initialize_dummy_frame (); _initialize_source (); _initialize_values (); @@ -183,6 +187,7 @@ initialize_all_files (void) _initialize_symtab (); _initialize_psymtab (); _initialize_symfile (); + _initialize_symfile_debug (); _initialize_symmisc (); _initialize_infcall (); _initialize_infcmd (); @@ -199,6 +204,7 @@ initialize_all_files (void) _initialize_gdb_osabi (); _initialize_copying (); _initialize_mem (); + _initialize_target_dcache (); _initialize_parse (); _initialize_language (); _initialize_mem_search (); @@ -245,7 +251,6 @@ initialize_all_files (void) _initialize_user_regs (); _initialize_frame (); _initialize_frame_unwind (); - _initialize_doublest (); _initialize_frame_base (); _initialize_gnu_v2_abi (); _initialize_gnu_v3_abi (); @@ -253,6 +258,7 @@ initialize_all_files (void) _initialize_cp_support (); _initialize_cp_namespace (); _initialize_reggroup (); + _initialize_solib (); _initialize_solib_target (); _initialize_xml_support (); _initialize_target_descriptions (); diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/jit-reader.h b/external/gpl3/gdb/lib/libgdb/arch/sh3el/jit-reader.h index edf109c5a553..8c024f288695 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/jit-reader.h +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/jit-reader.h @@ -1,10 +1,10 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* JIT declarations for GDB, the GNU Debugger. - Copyright (C) 2011-2013 Free Software Foundation, Inc. + Copyright (C) 2011-2014 Free Software Foundation, Inc. This file is part of GDB. diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.h b/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.h index 8b93e73ce4cd..7b5cdb302b5e 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.h +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.h @@ -1,10 +1,10 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* GDB Notifications to Observers. - Copyright (C) 2004-2013 Free Software Foundation, Inc. + Copyright (C) 2004-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -100,6 +100,14 @@ extern struct observer *observer_attach_new_objfile (observer_new_objfile_ftype extern void observer_detach_new_objfile (struct observer *observer); extern void observer_notify_new_objfile (struct objfile *objfile); +/* free_objfile notifications. */ + +typedef void (observer_free_objfile_ftype) (struct objfile *objfile); + +extern struct observer *observer_attach_free_objfile (observer_free_objfile_ftype *f); +extern void observer_detach_free_objfile (struct observer *observer); +extern void observer_notify_free_objfile (struct objfile *objfile); + /* new_thread notifications. */ typedef void (observer_new_thread_ftype) (struct thread_info *t); diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.inc b/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.inc index dcabd87ef7b9..9e4054696197 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.inc +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/observer.inc @@ -1,10 +1,10 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* GDB Notifications to Observers. - Copyright (C) 2004-2013 Free Software Foundation, Inc. + Copyright (C) 2004-2014 Free Software Foundation, Inc. This file is part of GDB. @@ -333,6 +333,45 @@ observer_notify_new_objfile (struct objfile *objfile) generic_observer_notify (new_objfile_subject, &args); } +/* free_objfile notifications. */ + +static struct observer_list *free_objfile_subject = NULL; + +struct free_objfile_args { struct objfile *objfile; }; + +static void +observer_free_objfile_notification_stub (const void *data, const void *args_data) +{ + observer_free_objfile_ftype *notify = (observer_free_objfile_ftype *) data; + const struct free_objfile_args *args = args_data; + notify (args->objfile); +} + +struct observer * +observer_attach_free_objfile (observer_free_objfile_ftype *f) +{ + return generic_observer_attach (&free_objfile_subject, + &observer_free_objfile_notification_stub, + (void *) f); +} + +void +observer_detach_free_objfile (struct observer *observer) +{ + generic_observer_detach (&free_objfile_subject, observer); +} + +void +observer_notify_free_objfile (struct objfile *objfile) +{ + struct free_objfile_args args; + args.objfile = objfile; + + if (observer_debug) + fprintf_unfiltered (gdb_stdlog, "observer_notify_free_objfile() called\n"); + generic_observer_notify (free_objfile_subject, &args); +} + /* new_thread notifications. */ static struct observer_list *new_thread_subject = NULL; diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/version.c b/external/gpl3/gdb/lib/libgdb/arch/sh3el/version.c index 7d2f6a973f40..09a9d809e0c1 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/version.c +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/version.c @@ -1,8 +1,8 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ #include "version.h" -const char version[] = "7.6.1"; +const char version[] = "7.7.1"; const char host_name[] = "shle--netbsdelf"; const char target_name[] = "shle--netbsdelf"; diff --git a/external/gpl3/gdb/lib/libgdb/arch/sh3el/xml-builtin.c b/external/gpl3/gdb/lib/libgdb/arch/sh3el/xml-builtin.c index ae998a1c007f..2360b438bedf 100644 --- a/external/gpl3/gdb/lib/libgdb/arch/sh3el/xml-builtin.c +++ b/external/gpl3/gdb/lib/libgdb/arch/sh3el/xml-builtin.c @@ -1,11 +1,11 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ static const char xml_feature_gdb_target_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '7', '-', '2', '0', '1', '3', ' ', 'F', + '0', '0', '7', '-', '2', '0', '1', '4', ' ', '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', @@ -200,7 +200,7 @@ static const char xml_feature_gdb_target_dtd[] = { static const char xml_feature_xinclude_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '7', '-', '2', '0', '1', '3', ' ', 'F', + '0', '0', '7', '-', '2', '0', '1', '4', ' ', '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', @@ -258,7 +258,7 @@ static const char xml_feature_xinclude_dtd[] = { static const char xml_feature_library_list_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '7', '-', '2', '0', '1', '3', ' ', 'F', + '0', '0', '7', '-', '2', '0', '1', '4', ' ', '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', @@ -336,10 +336,97 @@ static const char xml_feature_library_list_dtd[] = { '#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', 0 }; +static const char xml_feature_library_list_aix_dtd[] = { + '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', + 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', + '0', '1', '3', '-', '2', '0', '1', '4', ' ', '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', + '<', '!', '-', '-', ' ', 'l', 'i', 'b', 'r', 'a', + 'r', 'y', '-', 'l', 'i', 's', 't', ':', ' ', 'R', + 'o', 'o', 't', ' ', 'e', 'l', 'e', 'm', 'e', 'n', + 't', ' ', 'w', 'i', 't', 'h', ' ', 'v', 'e', 'r', + 's', 'i', 'o', 'n', 'i', 'n', 'g', ' ', '-', '-', + '>', '\n', + '<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', '-', 'l', 'i', + 's', 't', '-', 'a', 'i', 'x', ' ', ' ', '(', 'l', + 'i', 'b', 'r', 'a', 'r', 'y', ')', '*', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', '-', 'l', 'i', + 's', 't', '-', 'a', 'i', 'x', ' ', ' ', 'v', 'e', + 'r', 's', 'i', 'o', 'n', ' ', 'C', 'D', 'A', 'T', + 'A', ' ', ' ', ' ', '#', 'F', 'I', 'X', 'E', 'D', + ' ', ' ', '"', '1', '.', '0', '"', '>', '\n', + '\n', + '<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', '(', + 'n', 'a', 'm', 'e', ',', ' ', 'm', 'e', 'm', 'b', + 'e', 'r', ',', ' ', 't', 'e', 'x', 't', '_', 'a', + 'd', 'd', 'r', ',', ' ', 't', 'e', 'x', 't', '_', + 's', 'i', 'z', 'e', ',', ' ', 'd', 'a', 't', 'a', + '_', 'a', 'd', 'd', 'r', ',', ' ', 'd', 'a', 't', + 'a', '_', 's', 'i', 'z', 'e', ')', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', 'n', + 'a', 'm', 'e', ' ', ' ', ' ', ' ', ' ', ' ', ' ', + 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', + 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', 'm', + 'e', 'm', 'b', 'e', 'r', ' ', ' ', ' ', ' ', ' ', + 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', + 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', 't', + 'e', 'x', 't', '_', 'a', 'd', 'd', 'r', ' ', ' ', + 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', + 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', 't', + 'e', 'x', 't', '_', 's', 'i', 'z', 'e', ' ', ' ', + 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', + 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', 'd', + 'a', 't', 'a', '_', 'a', 'd', 'd', 'r', ' ', ' ', + 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', + 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 'l', 'i', 'b', 'r', 'a', 'r', 'y', ' ', ' ', 'd', + 'a', 't', 'a', '_', 's', 'i', 'z', 'e', ' ', ' ', + 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', + 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '\n', + 0 }; static const char xml_feature_library_list_svr4_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '1', '-', '2', '0', '1', '3', ' ', 'F', + '0', '1', '1', '-', '2', '0', '1', '4', ' ', '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', @@ -422,7 +509,7 @@ static const char xml_feature_library_list_svr4_dtd[] = { static const char xml_feature_osdata_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '8', '-', '2', '0', '1', '3', ' ', 'F', + '0', '0', '8', '-', '2', '0', '1', '4', ' ', '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', @@ -483,7 +570,7 @@ static const char xml_feature_osdata_dtd[] = { static const char xml_feature_threads_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '0', '8', '-', '2', '0', '1', '3', ' ', 'F', + '0', '0', '8', '-', '2', '0', '1', '4', ' ', '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', @@ -535,7 +622,7 @@ static const char xml_feature_threads_dtd[] = { static const char xml_feature_traceframe_info_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '0', '-', '2', '0', '1', '3', ' ', 'F', + '0', '1', '0', '-', '2', '0', '1', '4', ' ', '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', @@ -571,7 +658,8 @@ static const char xml_feature_traceframe_info_dtd[] = { '<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ', 't', 'r', 'a', 'c', 'e', 'f', 'r', 'a', 'm', 'e', '-', 'i', 'n', 'f', 'o', ' ', ' ', '(', 'm', 'e', - 'm', 'o', 'r', 'y', ')', '*', ' ', '>', '\n', + 'm', 'o', 'r', 'y', ' ', '|', ' ', 't', 'v', 'a', + 'r', ')', '*', ' ', '>', '\n', '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', 't', 'r', 'a', 'c', 'e', 'f', 'r', 'a', 'm', 'e', '-', 'i', 'n', 'f', 'o', ' ', ' ', 'v', 'e', 'r', @@ -594,14 +682,24 @@ static const char xml_feature_traceframe_info_dtd[] = { ' ', ' ', 'C', 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', 'E', 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', + '\n', + '<', '!', 'E', 'L', 'E', 'M', 'E', 'N', 'T', ' ', + 't', 'v', 'a', 'r', ' ', ' ', ' ', ' ', ' ', ' ', + ' ', ' ', ' ', ' ', 'E', 'M', 'P', 'T', 'Y', '>', + '\n', + '<', '!', 'A', 'T', 'T', 'L', 'I', 'S', 'T', ' ', + 't', 'v', 'a', 'r', ' ', ' ', ' ', ' ', ' ', ' ', + ' ', ' ', ' ', ' ', 'i', 'd', ' ', ' ', ' ', 'C', + 'D', 'A', 'T', 'A', ' ', ' ', ' ', '#', 'R', 'E', + 'Q', 'U', 'I', 'R', 'E', 'D', '>', '\n', 0 }; static const char xml_feature_btrace_dtd[] = { '<', '!', '-', '-', ' ', 'C', 'o', 'p', 'y', 'r', 'i', 'g', 'h', 't', ' ', '(', 'C', ')', ' ', '2', - '0', '1', '3', ' ', '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', + '0', '1', '3', '-', '2', '0', '1', '4', ' ', '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', @@ -653,6 +751,7 @@ const char *const xml_builtin[][2] = { { "gdb-target.dtd", xml_feature_gdb_target_dtd }, { "xinclude.dtd", xml_feature_xinclude_dtd }, { "library-list.dtd", xml_feature_library_list_dtd }, + { "library-list-aix.dtd", xml_feature_library_list_aix_dtd }, { "library-list-svr4.dtd", xml_feature_library_list_svr4_dtd }, { "osdata.dtd", xml_feature_osdata_dtd }, { "threads.dtd", xml_feature_threads_dtd }, diff --git a/external/gpl3/gdb/lib/libiberty/arch/sh3el/config.h b/external/gpl3/gdb/lib/libiberty/arch/sh3el/config.h index 0f3aa16e0019..3271a8013a16 100644 --- a/external/gpl3/gdb/lib/libiberty/arch/sh3el/config.h +++ b/external/gpl3/gdb/lib/libiberty/arch/sh3el/config.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* config.h. Generated from config.in by configure. */ /* config.in. Generated from configure.ac by autoheader. */ @@ -169,7 +169,7 @@ #define HAVE_MEMSET 1 /* Define to 1 if you have the `mkstemps' function. */ -/* #undef HAVE_MKSTEMPS */ +#define HAVE_MKSTEMPS 1 /* Define to 1 if you have a working `mmap' system call. */ #define HAVE_MMAP 1 diff --git a/external/gpl3/gdb/lib/libiberty/arch/sh3el/defs.mk b/external/gpl3/gdb/lib/libiberty/arch/sh3el/defs.mk index bb6420913f87..204be7da5608 100644 --- a/external/gpl3/gdb/lib/libiberty/arch/sh3el/defs.mk +++ b/external/gpl3/gdb/lib/libiberty/arch/sh3el/defs.mk @@ -1,8 +1,8 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp -# Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 # G_ALLOCA= G_EXTRA_OFILES= -G_LIBOBJS=mempcpy.o mkstemps.o strverscmp.o +G_LIBOBJS=mempcpy.o strverscmp.o G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o sha1.o alloca.o argv.o choose-temp.o concat.o cp-demint.o crc32.o dwarfnames.o dyn-string.o fdmatch.o fibheap.o filename_cmp.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o safe-ctype.o simple-object.o simple-object-coff.o simple-object-elf.o simple-object-mach-o.o simple-object-xcoff.o sort.o spaces.o splay-tree.o stack-limit.o strerror.o strsignal.o timeval-utils.o unlink-if-ordinary.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o diff --git a/external/gpl3/gdb/lib/libopcodes/arch/sh3el/config.h b/external/gpl3/gdb/lib/libopcodes/arch/sh3el/config.h index 45487c2eb7e1..f10435b1a915 100644 --- a/external/gpl3/gdb/lib/libopcodes/arch/sh3el/config.h +++ b/external/gpl3/gdb/lib/libopcodes/arch/sh3el/config.h @@ -1,6 +1,6 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp */ -/* Generated from: NetBSD: mknative.common,v 1.9 2007/02/05 18:26:01 apb 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 */ /* config.h. Generated from config.in by configure. */ /* config.in. Generated from configure.in by autoheader. */ @@ -111,7 +111,7 @@ /* Version number of package */ -#define VERSION "2.23.52" +#define VERSION "2.24.51" /* Define to 1 if on MINIX. */ /* #undef _MINIX */